/* ============================================================
   FETAGHIS AGROTECH — Design System
   Palette: Vert foncé | Bordeaux | Bleu | Ivoire | Ambre
   Signature: Barre verticale bordeaux sur titres de section
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

/* ── Tokens ─────────────────────────────────────────────── */
:root {
  --green-dark:    #1A3A2A;
  --green-mid:     #2D5A3D;
  --green-light:   #3D7A52;
  --bordeaux:      #7A1F1F;
  --bordeaux-lt:   #9A2828;
  --blue-deep:     #1A2B5A;
  --blue-mid:      #2A4080;
  --amber:         #C4860A;
  --ivory:         #F7F3EC;
  --ivory-dk:      #EDE7D9;
  --white:         #FFFFFF;
  --text-dk:       #1C1C1C;
  --text-mid:      #4A4A4A;
  --text-lt:       #7A7A7A;
  --border:        #D8D0C4;

  --font-display:  'Playfair Display', Georgia, serif;
  --font-body:     'Inter', system-ui, sans-serif;

  --radius:        6px;
  --shadow-sm:     0 2px 8px rgba(0,0,0,.08);
  --shadow-md:     0 6px 24px rgba(0,0,0,.12);
  --transition:    0.22s ease;
}

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); color: var(--text-dk); background: var(--white); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img  { max-width: 100%; display: block; }
a    { text-decoration: none; color: inherit; }
ul   { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ── Layout ──────────────────────────────────────────────── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 1.5rem; }
.section    { padding: 5rem 0; }
.section--ivory    { background: var(--ivory); }
.section--dark     { background: var(--green-dark); color: var(--white); }
.section--bordeaux { background: var(--bordeaux); color: var(--white); }
.section--blue     { background: var(--blue-deep); color: var(--white); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.75rem; }

/* ── Signature: Barre verticale bordeaux ─────────────────── */
.eyebrow {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin-bottom: .9rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--bordeaux);
}
.eyebrow::before {
  content: '';
  display: block;
  width: 3px;
  height: 1.1rem;
  background: var(--bordeaux);
  border-radius: 2px;
  flex-shrink: 0;
}
.eyebrow--light { color: var(--amber); }
.eyebrow--light::before { background: var(--amber); }

/* ── Typography ──────────────────────────────────────────── */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  line-height: 1.15;
  margin-bottom: 1.1rem;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 540px;
  line-height: 1.72;
}
.section--dark .section-sub,
.section--blue .section-sub,
.section--bordeaux .section-sub { color: rgba(255,255,255,.68); }
.section--dark .eyebrow,
.section--blue .eyebrow,
.section--bordeaux .eyebrow { color: var(--amber); }
.section--dark .eyebrow::before,
.section--blue .eyebrow::before,
.section--bordeaux .eyebrow::before { background: var(--amber); }
.text-center { text-align: center; }
.text-center .section-sub { margin: 0 auto; }

/* ── Navigation ──────────────────────────────────────────── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--green-dark);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.navbar__logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: var(--white);
}
.navbar__logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: var(--bordeaux);
  border-radius: 4px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
  letter-spacing: -.02em;
  flex-shrink: 0;
}
.navbar__brand {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  line-height: 1.2;
  color: var(--white);
}
.navbar__brand span {
  display: block;
  font-weight: 300;
  font-size: .7rem;
  letter-spacing: .08em;
  color: rgba(255,255,255,.55);
  text-transform: uppercase;
}
.navbar__links {
  display: flex;
  align-items: center;
  gap: .25rem;
}
.navbar__links a {
  padding: .45rem .85rem;
  border-radius: 4px;
  font-size: .82rem;
  font-weight: 500;
  color: rgba(255,255,255,.75);
  transition: color var(--transition), background var(--transition);
}
.navbar__links a:hover,
.navbar__links a.active { color: var(--white); background: rgba(255,255,255,.1); }
.navbar__cta {
  padding: .45rem 1.1rem !important;
  background: var(--bordeaux) !important;
  color: var(--white) !important;
  border-radius: 4px;
  font-size: .82rem;
  font-weight: 600;
  transition: background var(--transition) !important;
}
.navbar__cta:hover { background: var(--bordeaux-lt) !important; }
.navbar__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: .5rem;
}
.navbar__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.6rem;
  border-radius: var(--radius);
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .02em;
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary  { background: var(--bordeaux); color: var(--white); }
.btn-primary:hover  { background: var(--bordeaux-lt); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-green    { background: var(--green-mid); color: var(--white); }
.btn-green:hover    { background: var(--green-light); transform: translateY(-1px); }
.btn-outline  { background: transparent; border-color: var(--white); color: var(--white); }
.btn-outline:hover  { background: rgba(255,255,255,.1); }
.btn-outline-dk { background: transparent; border-color: var(--green-dark); color: var(--green-dark); }
.btn-outline-dk:hover { background: var(--green-dark); color: var(--white); }
.btn-amber    { background: var(--amber); color: var(--white); }
.btn-amber:hover    { background: #d4920e; transform: translateY(-1px); }
.btn-lg { padding: .9rem 2rem; font-size: .95rem; }

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  background: var(--green-dark);
  color: var(--white);
  padding: 6.5rem 0 5rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg, rgba(255,255,255,.025) 0 1px, transparent 1px 28px),
    repeating-linear-gradient(-45deg, rgba(255,255,255,.025) 0 1px, transparent 1px 28px);
  pointer-events: none;
}
.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(196,134,10,.15);
  border: 1px solid rgba(196,134,10,.35);
  color: var(--amber);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .35rem .85rem;
  border-radius: 20px;
  margin-bottom: 1.6rem;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.1;
  margin-bottom: 1.4rem;
  max-width: 720px;
}
.hero__title em {
  font-style: italic;
  color: var(--amber);
}
.hero__sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,.72);
  max-width: 560px;
  line-height: 1.75;
  margin-bottom: 2.5rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero__visual {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.hero--centered { text-align: center; }
.hero--centered .hero__title,
.hero--centered .hero__sub { margin-left: auto; margin-right: auto; }
.hero--centered .hero__actions { justify-content: center; }

/* ── Stats Bar ────────────────────────────────────────────── */
.stats-bar {
  background: var(--ivory-dk);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2rem 0;
}
.stats-bar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.stat-item { text-align: center; }
.stat-item__value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--green-dark);
  line-height: 1;
  margin-bottom: .3rem;
}
.stat-item__label {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-lt);
}
.stat-item__sep { width: 1px; height: 48px; background: var(--border); }

/* ── Cards ───────────────────────────────────────────────── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: all var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card__badge {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .3rem .75rem;
  border-radius: 3px;
  display: inline-block;
}
.badge-green { background: rgba(26,58,42,.1); color: var(--green-dark); }
.badge-red   { background: rgba(122,31,31,.1); color: var(--bordeaux); }
.badge-blue  { background: rgba(26,43,90,.1); color: var(--blue-deep); }
.badge-amber { background: rgba(196,134,10,.1); color: var(--amber); }
.card__body { padding: 1.6rem; }
.card__icon {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.1rem;
}
.icon-green   { background: rgba(26,58,42,.1); }
.icon-red     { background: rgba(122,31,31,.1); }
.icon-blue    { background: rgba(26,43,90,.1); }
.icon-amber   { background: rgba(196,134,10,.1); }
.card__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: .6rem;
}
.card__text { font-size: .9rem; color: var(--text-mid); line-height: 1.65; }
.card__footer {
  padding: 1rem 1.6rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.card__link {
  font-size: .82rem;
  font-weight: 600;
  color: var(--bordeaux);
  display: flex;
  align-items: center;
  gap: .3rem;
  transition: gap var(--transition);
}
.card__link:hover { gap: .6rem; }

/* ── Pillar cards (homepage) ─────────────────────────────── */
.pillar-card {
  border-radius: 8px;
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.pillar-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.pillar-card__header {
  padding: 2rem 1.75rem 1.5rem;
  color: var(--white);
}
.pillar-card--green  .pillar-card__header { background: var(--green-dark); }
.pillar-card--red    .pillar-card__header { background: var(--bordeaux); }
.pillar-card--blue   .pillar-card__header { background: var(--blue-deep); }
.pillar-card--amber  .pillar-card__header { background: var(--amber); }
.pillar-card__number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  opacity: .18;
  line-height: 1;
  margin-bottom: .75rem;
}
.pillar-card__emoji { font-size: 2rem; margin-bottom: .75rem; }
.pillar-card__name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: .4rem;
}
.pillar-card__tag {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: .7;
}
.pillar-card__body {
  padding: 1.4rem 1.75rem 1.75rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: none;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.pillar-card__desc { font-size: .9rem; color: var(--text-mid); line-height: 1.65; }

/* ── Story section ─────────────────────────────────────────  */
.story-block {
  position: relative;
  padding: 2.5rem;
  background: var(--ivory-dk);
  border-left: 4px solid var(--bordeaux);
  border-radius: 0 8px 8px 0;
}
.story-quote {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.65;
  color: var(--text-dk);
  margin-bottom: 1rem;
}
.story-attr {
  font-size: .8rem;
  font-weight: 600;
  color: var(--bordeaux);
  letter-spacing: .06em;
}
.timeline { display: flex; flex-direction: column; gap: 1.5rem; }
.timeline-item { display: flex; gap: 1.25rem; align-items: flex-start; }
.timeline-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--bordeaux);
  flex-shrink: 0;
  margin-top: .35rem;
  position: relative;
}
.timeline-dot::after {
  content: '';
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: calc(100% + 1.3rem);
  background: var(--border);
}
.timeline-item:last-child .timeline-dot::after { display: none; }
.timeline-year {
  font-size: .7rem;
  font-weight: 700;
  color: var(--bordeaux);
  letter-spacing: .08em;
  white-space: nowrap;
  margin-bottom: .2rem;
}
.timeline-text { font-size: .9rem; color: var(--text-mid); }

/* ── Feature list ────────────────────────────────────────── */
.feat-list { display: flex; flex-direction: column; gap: .9rem; }
.feat-item {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  padding: .85rem 1rem;
  background: rgba(255,255,255,.06);
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,.1);
}
.feat-item--light {
  background: var(--ivory);
  border-color: var(--border);
}
.feat-icon {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: rgba(196,134,10,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.feat-text strong {
  display: block;
  font-size: .88rem;
  font-weight: 600;
  margin-bottom: .15rem;
  color: var(--white);
}
.feat-item--light .feat-text strong { color: var(--text-dk); }
.feat-text span { font-size: .82rem; color: rgba(255,255,255,.6); }
.feat-item--light .feat-text span { color: var(--text-mid); }

/* ── Spec Table ──────────────────────────────────────────── */
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td {
  padding: .85rem 1.1rem;
  border-bottom: 1px solid var(--border);
  font-size: .88rem;
  text-align: left;
}
.spec-table th {
  background: var(--ivory-dk);
  font-weight: 600;
  font-size: .76rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-mid);
}
.spec-table tr:last-child td { border-bottom: none; }
.spec-table td:first-child { color: var(--text-mid); font-weight: 500; }
.spec-table td:last-child  { color: var(--text-dk); font-weight: 600; }

/* ── Price card ──────────────────────────────────────────── */
.price-card {
  background: var(--green-dark);
  color: var(--white);
  border-radius: 10px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}
.price-card::after {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
}
.price-value {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: .4rem;
  color: var(--amber);
}
.price-unit { font-size: .82rem; opacity: .65; margin-bottom: 1.5rem; }

/* ── Contact form ────────────────────────────────────────── */
.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
  margin-bottom: .45rem;
  color: var(--text-mid);
}
.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  font-size: .92rem;
  color: var(--text-dk);
  background: var(--white);
  transition: border-color var(--transition);
  outline: none;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--green-dark);
  box-shadow: 0 0 0 3px rgba(26,58,42,.08);
}
.form-textarea { min-height: 130px; resize: vertical; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ── Footer ──────────────────────────────────────────────── */
.footer {
  background: var(--text-dk);
  color: rgba(255,255,255,.75);
  padding: 4rem 0 2rem;
}
.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin-bottom: 2rem;
}
.footer__logo { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: var(--white); margin-bottom: .75rem; }
.footer__desc { font-size: .85rem; line-height: 1.7; margin-bottom: 1.25rem; }
.footer__contacts { font-size: .82rem; line-height: 1.9; }
.footer__contacts a:hover { color: var(--amber); }
.footer__col-title { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--white); margin-bottom: 1rem; }
.footer__links { font-size: .85rem; display: flex; flex-direction: column; gap: .5rem; }
.footer__links a:hover { color: var(--amber); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .78rem;
  color: rgba(255,255,255,.4);
  flex-wrap: wrap;
  gap: .5rem;
}
.footer__legal { display: flex; gap: 1.25rem; }
.footer__legal a:hover { color: rgba(255,255,255,.7); }

/* ── Notification ────────────────────────────────────────── */
.notification {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  background: var(--green-dark);
  color: var(--white);
  padding: 1rem 1.4rem;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  font-size: .88rem;
  display: flex;
  align-items: center;
  gap: .75rem;
  transform: translateY(100px);
  opacity: 0;
  transition: all .35s ease;
  max-width: 340px;
}
.notification.show { transform: translateY(0); opacity: 1; }

/* ── Utility ─────────────────────────────────────────────── */
.divider { height: 1px; background: var(--border); margin: 2rem 0; }
.tag-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.tag {
  font-size: .72rem;
  font-weight: 600;
  padding: .25rem .75rem;
  border-radius: 20px;
  letter-spacing: .06em;
  background: var(--ivory-dk);
  color: var(--text-mid);
}
.tag-green { background: rgba(26,58,42,.1); color: var(--green-dark); }
.tag-red   { background: rgba(122,31,31,.1); color: var(--bordeaux); }
.tag-blue  { background: rgba(26,43,90,.1); color: var(--blue-deep); }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section  { padding: 3.5rem 0; }
  .hero     { padding: 4rem 0 3rem; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; gap: 2rem; }
  .grid-4   { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .stats-bar__inner { gap: 1rem; }
  .stat-item__sep { display: none; }
  .navbar__links { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--green-dark); flex-direction: column; align-items: stretch; padding: 1rem 1.5rem 1.5rem; gap: .25rem; border-bottom: 1px solid rgba(255,255,255,.1); }
  .navbar__links.open { display: flex; }
  .navbar__links a { padding: .6rem .75rem; }
  .navbar__burger { display: flex; }
  .navbar { position: relative; }
  .footer__top { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .hero__title { font-size: 1.9rem; }
  .btn-lg { padding: .8rem 1.4rem; font-size: .9rem; }
}

/* ── Animations ──────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp .55s ease both; }
.delay-1 { animation-delay: .1s; }
.delay-2 { animation-delay: .2s; }
.delay-3 { animation-delay: .3s; }
.delay-4 { animation-delay: .4s; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* ============================================================
   V2 — Boutique, Téléchargements, Équipe, Modal commande
   ============================================================ */

.page-hero { background: var(--green-dark); color: var(--white); padding: 4.5rem 0 3.5rem; position: relative; }

/* Filtres boutique */
.shop-filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.5rem; justify-content: center; }
.filter-btn {
  padding: .55rem 1.2rem; border-radius: 24px; font-size: .84rem; font-weight: 600;
  background: var(--white); border: 1.5px solid var(--border); color: var(--text-mid);
  transition: all var(--transition);
}
.filter-btn:hover { border-color: var(--green-dark); color: var(--green-dark); }
.filter-btn.active { background: var(--green-dark); border-color: var(--green-dark); color: var(--white); }

/* Cartes boutique */
.shop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.shop-card {
  background: var(--white); border: 1px solid var(--border); border-radius: 12px;
  overflow: hidden; transition: all var(--transition); display: flex; flex-direction: column;
}
.shop-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.shop-card--off { opacity: .55; }
.shop-card__visual {
  height: 130px; display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem; background: linear-gradient(135deg, var(--ivory), var(--ivory-dk));
  position: relative; border-bottom: 1px solid var(--border);
}
.shop-card__badge {
  position: absolute; top: .75rem; right: .75rem;
  background: var(--bordeaux); color: var(--white);
  font-size: .62rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: .25rem .65rem; border-radius: 4px;
}
.shop-card__body { padding: 1.4rem; flex: 1; display: flex; flex-direction: column; }
.shop-card__name { font-family: var(--font-display); font-size: 1.12rem; font-weight: 700; margin-bottom: .5rem; }
.shop-card__desc { font-size: .84rem; color: var(--text-mid); line-height: 1.6; flex: 1; margin-bottom: 1.1rem; }
.shop-card__pricing { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.shop-card__price { font-weight: 700; font-size: 1.02rem; color: var(--bordeaux); }
.shop-card__unit { font-size: .72rem; color: var(--text-lt); }

/* Cartes téléchargement */
.dl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.dl-card {
  background: var(--white); border: 1px solid var(--border); border-radius: 12px;
  padding: 1.6rem; transition: all var(--transition);
}
.dl-card:hover { box-shadow: var(--shadow-md); border-color: var(--green-mid); }
.dl-card__head { display: flex; align-items: center; gap: 1rem; margin-bottom: .9rem; }
.dl-card__icon {
  width: 54px; height: 54px; border-radius: 12px; background: var(--ivory-dk);
  display: flex; align-items: center; justify-content: center; font-size: 1.7rem; flex-shrink: 0;
}
.dl-card__name { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; }
.dl-card__meta { font-size: .74rem; color: var(--text-lt); }
.dl-card__price { margin-left: auto; font-weight: 700; font-size: .95rem; color: var(--bordeaux); white-space: nowrap; }
.dl-free { color: var(--green-mid) !important; }
.dl-card__desc { font-size: .85rem; color: var(--text-mid); line-height: 1.6; margin-bottom: 1.1rem; }
.dl-card__actions { display: flex; gap: .75rem; flex-wrap: wrap; }

/* Équipe */
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.team-card {
  background: var(--white); border: 1px solid var(--border); border-radius: 12px;
  overflow: hidden; display: flex; transition: all var(--transition);
}
.team-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.team-card__photo {
  width: 140px; flex-shrink: 0; background: linear-gradient(160deg, var(--green-dark), var(--green-mid));
  display: flex; align-items: center; justify-content: center; font-size: 3.2rem;
}
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card__body { padding: 1.5rem; }
.team-card__name { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; }
.team-card__role { font-size: .76rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--bordeaux); margin: .2rem 0 .7rem; }
.team-card__bio { font-size: .84rem; color: var(--text-mid); line-height: 1.65; margin-bottom: .85rem; }

/* Pills paiement */
.pay-pill {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--white); border: 1px solid var(--border);
  padding: .5rem 1rem; border-radius: 8px; font-size: .82rem; font-weight: 600;
}

/* Modal commande */
.order-modal {
  position: fixed; inset: 0; z-index: 999; display: none;
  align-items: center; justify-content: center;
  background: rgba(10,15,12,.6); backdrop-filter: blur(3px); padding: 1.5rem;
}
.order-modal.open { display: flex; }
.order-modal__box {
  background: var(--white); border-radius: 14px; padding: 2.25rem;
  max-width: 440px; width: 100%; position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
  animation: fadeUp .3s ease;
}
.order-modal__close {
  position: absolute; top: 1rem; right: 1rem;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--ivory-dk); font-size: .9rem; color: var(--text-mid);
  display: flex; align-items: center; justify-content: center;
}
.order-modal__close:hover { background: var(--bordeaux); color: var(--white); }

@media (max-width: 1024px) { .shop-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px) {
  .shop-grid, .dl-grid, .team-grid { grid-template-columns: 1fr; }
  .team-card { flex-direction: column; }
  .team-card__photo { width: 100%; height: 120px; }
}

/* ============================================================
   V3 — THÈME LUMIÈRE + MICRO-INTERACTIONS PREMIUM
   Heros clairs, panneaux sombres = contraste intentionnel
   ============================================================ */

/* ── Heros : passage au clair ─────────────────────────────── */
.hero, .page-hero, .contact-hero,
.nova-hero, .gp-hero, .cc-hero {
  background:
    radial-gradient(ellipse 60% 50% at 85% 10%, rgba(196,134,10,.10), transparent 60%),
    radial-gradient(ellipse 50% 60% at 5% 90%, rgba(26,58,42,.07), transparent 55%),
    linear-gradient(180deg, #FDFBF7 0%, var(--ivory) 100%);
  color: var(--text-dk);
}
.nova-hero {
  background:
    radial-gradient(ellipse 55% 50% at 88% 8%, rgba(26,43,90,.08), transparent 60%),
    radial-gradient(ellipse 50% 55% at 4% 92%, rgba(26,58,42,.09), transparent 55%),
    linear-gradient(180deg, #FDFBF7, var(--ivory));
}
.gp-hero {
  background:
    radial-gradient(ellipse 55% 50% at 88% 8%, rgba(26,43,90,.10), transparent 60%),
    radial-gradient(ellipse 45% 55% at 6% 90%, rgba(196,134,10,.08), transparent 55%),
    linear-gradient(180deg, #FDFBF7, var(--ivory));
}
.cc-hero {
  background:
    radial-gradient(ellipse 55% 50% at 88% 10%, rgba(122,31,31,.09), transparent 60%),
    radial-gradient(ellipse 45% 55% at 6% 90%, rgba(196,134,10,.10), transparent 55%),
    linear-gradient(180deg, #FDFBF7, var(--ivory));
}
.hero::before {
  background-image:
    repeating-linear-gradient(45deg, rgba(26,58,42,.03) 0 1px, transparent 1px 28px),
    repeating-linear-gradient(-45deg, rgba(26,58,42,.03) 0 1px, transparent 1px 28px);
}
.hero__title { color: var(--green-dark); }
.hero__title em { color: var(--bordeaux); }
.hero__sub { color: var(--text-mid); }
.hero__tag {
  background: rgba(196,134,10,.10);
  border-color: rgba(196,134,10,.4);
  color: #9a690a;
}
.hero .eyebrow, .page-hero .eyebrow, .contact-hero .eyebrow {
  color: var(--bordeaux) !important;
}
.hero .eyebrow::before, .page-hero .eyebrow::before, .contact-hero .eyebrow::before {
  background: var(--bordeaux) !important;
}
/* Boutons outline blancs → version sombre sur fond clair */
.hero .btn-outline, .page-hero .btn-outline, .contact-hero .btn-outline {
  border-color: var(--green-dark);
  color: var(--green-dark);
}
.hero .btn-outline:hover, .page-hero .btn-outline:hover, .contact-hero .btn-outline:hover {
  background: var(--green-dark);
  color: var(--white);
}

/* ── Barre de progression de lecture ─────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--bordeaux), var(--amber));
  z-index: 1000;
  transition: width .1s linear;
}

/* ── Navbar intelligente au scroll ───────────────────────── */
.navbar { transition: box-shadow .3s ease, background .3s ease; }
.navbar.scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,.25);
  background: rgba(20,44,32,.97);
  backdrop-filter: blur(8px);
}
.navbar__links a { position: relative; }
.navbar__links a:not(.navbar__cta)::after {
  content: '';
  position: absolute;
  left: .85rem; right: .85rem; bottom: .2rem;
  height: 2px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
  border-radius: 2px;
}
.navbar__links a:not(.navbar__cta):hover::after,
.navbar__links a.active:not(.navbar__cta)::after { transform: scaleX(1); }

/* ── Boutons premium ─────────────────────────────────────── */
.btn { position: relative; overflow: hidden; }
.btn::after {
  content: '';
  position: absolute;
  top: 0; left: -80%;
  width: 50%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.25), transparent);
  transform: skewX(-20deg);
  transition: left .5s ease;
}
.btn:hover::after { left: 130%; }
.btn-primary, .btn-amber, .btn-green { box-shadow: 0 2px 10px rgba(0,0,0,.12); }
.btn-primary:hover { box-shadow: 0 8px 22px rgba(122,31,31,.32); }
.btn-amber:hover   { box-shadow: 0 8px 22px rgba(196,134,10,.32); }

/* ── Cartes : accent au survol ───────────────────────────── */
.card:hover, .shop-card:hover, .dl-card:hover, .module-card:hover {
  border-color: var(--green-mid);
}
.pillar-card { border-radius: 10px; }
.pillar-card:hover { box-shadow: 0 14px 34px rgba(26,58,42,.16); }

/* ── Stats bar raffinée ──────────────────────────────────── */
.stats-bar {
  background: linear-gradient(180deg, #FBF8F2, var(--ivory-dk));
}
.stat-item__value { position: relative; }

/* ── Bouton retour en haut ───────────────────────────────── */
.back-top {
  position: fixed;
  bottom: 1.5rem; right: 1.5rem;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--green-dark);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow-md);
  opacity: 0; pointer-events: none;
  transform: translateY(16px);
  transition: all .3s ease;
  z-index: 900;
  border: 2px solid rgba(255,255,255,.15);
}
.back-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-top:hover { background: var(--bordeaux); transform: translateY(-3px); }

/* ── Révélations en cascade ──────────────────────────────── */
.reveal { will-change: opacity, transform; }

/* ── Sections sombres : plus de respiration ──────────────── */
.section--dark, .section--blue { 
  background-image: radial-gradient(ellipse 70% 60% at 90% 0%, rgba(196,134,10,.06), transparent 60%);
}
.section--dark { background-color: #16311F; }

/* ── Focus visible (accessibilité pro) ───────────────────── */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .btn::after { display: none; }
  .scroll-progress { display: none; }
}

/* Mockups sombres = écrans posés sur fond clair */
.screen-mockup {
  border-color: #2a2a45 !important;
  box-shadow: 0 18px 44px rgba(20,20,45,.25);
}
