/* =========================================================
   CFF — Congo Forest Flavors
   Design system : Sauge / olive doux + crème — premium, sobre, vivant
   ========================================================= */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { min-height: 100%; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

/* ---------- Tokens ---------- */
:root {
  /* Crèmes */
  --cream: #F7F4EB;
  --cream-2: #FBFAF3;
  --cream-3: #EFEADC;
  --sand: #E7E0CF;

  /* Verts sauge / olive */
  --sage: #A6B49A;
  --sage-soft: #C4CEB9;
  --olive: #7C8A6B;
  --olive-deep: #55643F;
  --forest: #2F3A29;
  --forest-2: #263021;

  /* Accent baie du miracle (parcimonie) */
  --berry: #B8452F;
  --berry-soft: #D98A6E;

  /* Texte */
  --ink: #2A2E24;
  --ink-soft: #555C4A;
  --ink-mute: #8A9078;
  --on-dark: #EEEBDD;
  --on-dark-soft: #B9C0A8;

  /* Lignes / ombres */
  --line: rgba(85, 100, 63, 0.16);
  --line-dark: rgba(238, 235, 221, 0.16);
  --shadow-sm: 0 1px 2px rgba(47, 58, 41, 0.06), 0 4px 16px rgba(47, 58, 41, 0.05);
  --shadow-md: 0 10px 40px rgba(47, 58, 41, 0.10);
  --shadow-lg: 0 24px 70px rgba(47, 58, 41, 0.16);

  /* Type */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  /* Layout */
  --wrap: 1180px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Base ---------- */
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-size: 17px;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--ink);
  font-optical-sizing: auto;
}

::selection { background: var(--olive-deep); color: var(--cream-2); }

/* ---------- Layout helpers ---------- */
.wrap { width: min(100% - 44px, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 44px, 800px); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 130px) 0; }
.section-sm { padding: clamp(44px, 6vw, 78px) 0; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--olive-deep);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1.5px;
  background: var(--olive);
  display: inline-block;
}
.eyebrow.on-dark { color: var(--sage); }
.eyebrow.on-dark::before { background: var(--sage); }
.eyebrow.center { justify-content: center; }

h1.display { font-size: clamp(2.6rem, 6.4vw, 5rem); }
h2.title { font-size: clamp(2rem, 4.4vw, 3.3rem); }
h3.subtitle { font-size: clamp(1.4rem, 2.6vw, 2rem); }

.lead { font-size: clamp(1.05rem, 1.6vw, 1.28rem); color: var(--ink-soft); line-height: 1.55; }
.muted { color: var(--ink-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 28px;
  border-radius: var(--radius-pill);
  font-size: 15px; font-weight: 600; letter-spacing: 0.01em;
  white-space: nowrap;
  transition: transform .35s var(--ease), background .3s var(--ease), color .3s var(--ease), box-shadow .35s var(--ease);
  will-change: transform;
}
.btn svg { width: 17px; height: 17px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn-primary { background: var(--forest); color: var(--on-dark); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--forest-2); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-olive { background: var(--olive-deep); color: var(--cream-2); }
.btn-olive:hover { background: var(--forest); transform: translateY(-2px); }

.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--olive-deep); background: rgba(85,100,63,0.05); transform: translateY(-2px); }

.btn-light { background: var(--cream-2); color: var(--forest); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-outline-light { border: 1.5px solid var(--line-dark); color: var(--on-dark); }
.btn-outline-light:hover { background: rgba(238,235,221,0.08); transform: translateY(-2px); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 15px; color: var(--olive-deep);
  border-bottom: 1.5px solid transparent; padding-bottom: 2px;
  transition: gap .3s var(--ease), border-color .3s var(--ease);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.link-arrow:hover { gap: 12px; border-color: var(--olive); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(247, 244, 235, 0.82);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: nowrap; gap: 20px;
  height: 78px;
}
/* Logo Proposition A : wordmark « CFF. » + signature centrée dessous */
.brand { display: inline-flex; flex-direction: column; align-items: center; width: max-content; flex: none; line-height: 1; }
.brand-cff { font-family: var(--font-body); font-weight: 800; font-size: 34px; letter-spacing: 0.01em; color: var(--forest); }
.brand-berry { display: inline-block; width: 0.15em; height: 0.15em; border-radius: 50%; background: var(--berry); vertical-align: 0.06em; margin-left: 0.05em; }
.brand-sig { font-family: var(--font-body); font-weight: 600; font-size: 7px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--olive); white-space: nowrap; margin-top: 6px; }
@media (max-width: 720px) { .brand-cff { font-size: 28px; } .brand-sig { font-size: 6px; letter-spacing: 0.1em; } }
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-name { font-family: var(--font-display); font-size: 21px; letter-spacing: 0.02em; color: var(--forest); white-space: nowrap; }
.brand-name b { font-weight: 600; }
.brand-name span { color: var(--olive); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; display: block; margin-top: -2px; font-family: var(--font-body); white-space: nowrap; }

.nav-links { display: flex; align-items: center; flex-wrap: nowrap; gap: 4px; }
.nav-links a {
  padding: 9px 14px; border-radius: var(--radius-pill);
  font-size: 15px; font-weight: 500; color: var(--ink-soft); white-space: nowrap;
  transition: color .25s var(--ease), background .25s var(--ease);
}
.nav-links a:hover { color: var(--forest); background: rgba(85,100,63,0.06); }
.nav-links a.active { color: var(--forest); font-weight: 600; }
.nav-cta { margin-left: 10px; }

.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; color: var(--forest); align-items: center; justify-content: center; }
.nav-toggle svg { width: 24px; height: 24px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; padding: 150px 0 clamp(60px, 8vw, 110px); overflow: hidden;
  background:
    radial-gradient(78% 70% at 86% -10%, rgba(166,180,154,0.40), transparent 60%),
    radial-gradient(60% 55% at 2% 114%, rgba(196,206,185,0.32), transparent 62%),
    linear-gradient(172deg, var(--cream-2) 0%, var(--cream) 58%, var(--cream-3) 100%);
}
.hero-bg { position: absolute; inset: 0; z-index: -3; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
/* Voile crème dégradé : texte lisible à gauche, image visible à droite (si présente) */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(90deg, rgba(247,244,235,0.96) 0%, rgba(247,244,235,0.84) 38%, rgba(247,244,235,0.44) 68%, rgba(247,244,235,0.24) 100%),
    linear-gradient(180deg, rgba(247,244,235,0.28) 0%, rgba(247,244,235,0.55) 72%, var(--cream) 100%);
}
/* Feuillage décoratif discret (rendu premium sans photo) */
.hero-decor { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.hero-decor svg { position: absolute; }
.hero-decor .d-tl { top: -48px; left: -56px; width: 280px; color: var(--sage); opacity: .30; }
.hero-decor .d-rt { top: 12%; right: -40px; width: 200px; color: var(--olive); opacity: .16; }
.hero-decor .d-bl { bottom: -60px; left: 34%; width: 170px; color: var(--sage); opacity: .18; }
@media (max-width: 940px) { .hero-decor .d-rt, .hero-decor .d-bl { display: none; } }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 60px; align-items: center; }
.hero h1 { margin: 22px 0 24px; }
.hero .lead { max-width: 44ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-visual { position: relative; display: grid; place-items: center; min-height: 380px; }
.hero-berry { width: 100%; max-width: 460px; height: auto; object-fit: contain; filter: drop-shadow(0 24px 40px rgba(47,58,41,0.16)); }

/* Baie du miracle en calques : flottement parallax à vitesses différentes */
.berry-stack { position: relative; width: 100%; max-width: 470px; margin-inline: auto; aspect-ratio: 900 / 1113; }
.berry-stack .bl { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.bl-berries { z-index: 2; filter: drop-shadow(0 22px 34px rgba(47,58,41,0.18)); animation: floatCore 9s ease-in-out infinite; }
.lf { z-index: 1; transform-origin: center; will-change: transform; filter: drop-shadow(0 12px 18px rgba(47,58,41,0.12)); }
.lf1 { animation: floatL1 7s   ease-in-out infinite; }
.lf2 { animation: floatL2 8.6s ease-in-out infinite; }
.lf3 { animation: floatL3 6.2s ease-in-out infinite; }
.lf4 { animation: floatL4 9.6s ease-in-out infinite; }
.lf5 { animation: floatL5 8s   ease-in-out infinite; }
@keyframes floatCore { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes floatL1 { 0%,100% { transform: translate(0,0) rotate(0); }   50% { transform: translate(-7px,-18px) rotate(-3deg); } }
@keyframes floatL2 { 0%,100% { transform: translate(0,0) rotate(0); }   50% { transform: translate(9px,-13px) rotate(3deg); } }
@keyframes floatL3 { 0%,100% { transform: translate(0,0) rotate(0); }   50% { transform: translate(12px,-21px) rotate(4.5deg); } }
@keyframes floatL4 { 0%,100% { transform: translate(0,0) rotate(0); }   50% { transform: translate(-10px,-23px) rotate(-4deg); } }
@keyframes floatL5 { 0%,100% { transform: translate(0,0) rotate(0); }   50% { transform: translate(5px,-11px) rotate(2deg); } }
@keyframes floatL6 { 0%,100% { transform: translate(0,0) rotate(0); }   50% { transform: translate(-6px,-16px) rotate(-2.5deg); } }

/* Visuel poudre en calques : coupelle + feuilles + baies flottantes */
.powder-stack { position: relative; width: 100%; max-width: 480px; margin-inline: auto; aspect-ratio: 1100 / 1366; }
.powder-stack .pl { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.pl-bowl { z-index: 2; filter: drop-shadow(0 26px 36px rgba(47,58,41,0.16)); animation: floatCore 10s ease-in-out infinite; }
.pf { z-index: 3; transform-origin: center; will-change: transform; filter: drop-shadow(0 12px 18px rgba(47,58,41,0.12)); }
.pf1 { animation: floatL1 7s   ease-in-out infinite; }
.pf2 { animation: floatL3 8.6s ease-in-out infinite; }
.pf3 { animation: floatL5 6.4s ease-in-out infinite; }
.pf4 { animation: floatL2 9.2s ease-in-out infinite; }
.pf5 { animation: floatL4 7.8s ease-in-out infinite; }
.pf6 { animation: floatL6 8.4s ease-in-out infinite; }

/* Visuel analyse (Notre expertise) : boîte de Pétri + feuille + baie flottantes */
.analyse-stack { position: relative; width: 100%; max-width: 560px; margin-inline: auto; aspect-ratio: 1244 / 589; }
.analyse-stack .pl { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.pl-core { z-index: 2; filter: drop-shadow(0 22px 32px rgba(47,58,41,0.16)); animation: floatCore 10s ease-in-out infinite; }
.pfa1 { animation: floatL2 8.4s ease-in-out infinite; }
.pfa2 { animation: floatL4 7.2s ease-in-out infinite; }

/* Visuel ingrédient (Accueil « Qui nous sommes ») : coupelle centrée + 4 feuilles + baies flottantes */
.ingredient-stack { position: relative; width: 100%; max-width: 500px; margin-inline: auto; aspect-ratio: 964 / 756; }
.ingredient-stack .pl { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.ingredient-stack .pl-core { z-index: 2; filter: drop-shadow(0 24px 34px rgba(47,58,41,0.16)); animation: floatCore 10s ease-in-out infinite; }
.pi1 { animation: floatL1 7s   ease-in-out infinite; }
.pi2 { animation: floatL3 8.6s ease-in-out infinite; }
.pi3 { animation: floatL5 6.4s ease-in-out infinite; }
.pi4 { animation: floatL2 9.2s ease-in-out infinite; }
.pi5 { animation: floatL4 7.8s ease-in-out infinite; }
.pi6 { animation: floatL6 8.4s ease-in-out infinite; }

/* Réaction douce au survol (parallax + léger lift) — se compose avec le flottement.
   L'amorti du parallax est géré en JS (interpolation continue) pour un rendu très doux. */
.berry-stack, .powder-stack { transition: transform 1.1s var(--ease); }
@media (hover: hover) {
  .berry-stack:hover, .powder-stack:hover { transform: scale(1.015); }
}

/* Feature strip under hero */
.trust-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
  padding: 26px 0; margin-top: clamp(40px, 6vw, 70px);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.trust-item { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--ink-soft); font-weight: 500; }
.trust-item svg { width: 22px; height: 22px; color: var(--olive-deep); flex: none; }

/* ---------- Cards & grids ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.card {
  background: var(--cream-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(85,100,63,0.28); }
.card h3 { font-size: 1.32rem; margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: 15.5px; }
.card-icon {
  width: 54px; height: 54px; border-radius: 15px;
  background: var(--cream-3); display: grid; place-items: center; margin-bottom: 20px;
  color: var(--olive-deep);
}
.card-icon svg { width: 27px; height: 27px; }

/* Mission mini-cards on home */
.mini-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 8px; }
.mini-card {
  background: var(--cream-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; position: relative; overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.mini-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.mini-card .num { font-family: var(--font-display); font-size: 15px; color: var(--olive); letter-spacing: 0.1em; }
.mini-card h3 { font-size: 1.25rem; margin: 14px 0 10px; }
.mini-card p { color: var(--ink-soft); font-size: 15px; }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  padding: 9px 17px; border-radius: var(--radius-pill);
  background: var(--cream-2); border: 1px solid var(--line);
  font-size: 14px; font-weight: 500; color: var(--olive-deep);
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.chip:hover { background: var(--olive-deep); color: var(--cream-2); transform: translateY(-2px); }
.chip.on-dark { background: rgba(238,235,221,0.07); border-color: var(--line-dark); color: var(--on-dark); }
.chip.on-dark:hover { background: var(--sage); color: var(--forest-2); }

/* ---------- Dark band ---------- */
.band-dark { background: var(--forest); color: var(--on-dark); position: relative; overflow: hidden; }
.band-dark h1, .band-dark h2, .band-dark h3, .band-dark h4,
.band-olive h1, .band-olive h2, .band-olive h3, .band-olive h4 { color: var(--cream-2); }
.band-dark .lead, .band-dark p,
.band-olive .lead, .band-olive p { color: var(--on-dark-soft); }
.band-olive { background: linear-gradient(160deg, var(--olive-deep), var(--forest)); color: var(--on-dark); }
.band-sage { background: var(--sage-soft); }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.stat { text-align: left; }
.stat .val { font-family: var(--font-display); font-size: clamp(2.4rem, 4vw, 3.2rem); line-height: 1; color: var(--cream-2); }
.stat .lbl { margin-top: 10px; font-size: 14px; color: var(--on-dark-soft); }
.stat.on-light .val { color: var(--forest); }
.stat.on-light .lbl { color: var(--ink-soft); }

/* ---------- Feature split (image/text) ---------- */
.media {
  border-radius: var(--radius-lg); overflow: hidden; position: relative;
  background: linear-gradient(160deg, var(--sage-soft), var(--cream-3));
  min-height: 360px; box-shadow: var(--shadow-md);
}
.media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.media-frame { border: 1px solid var(--line); }

/* Process (expertise) */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 20px; }
.process-step { position: relative; padding: 32px 26px 34px; border-right: 1px solid var(--line-dark); }
.process-step:last-child { border-right: none; }
.process-num {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1.5px solid var(--sage); color: var(--sage);
  display: grid; place-items: center; font-family: var(--font-display); font-size: 18px;
  margin-bottom: 22px;
}
.process-step h3 { font-size: 1.28rem; color: var(--cream-2); margin-bottom: 10px; }
.process-step p { font-size: 14.5px; color: var(--on-dark-soft); }
.process-step .step-ico { position: absolute; top: 30px; right: 26px; color: var(--sage); opacity: .5; }
.process-step .step-ico svg { width: 26px; height: 26px; }

/* Miraculine transform demo */
.miracle {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: clamp(16px, 3vw, 40px);
  background: var(--cream-2); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(30px, 4vw, 52px);
}
.miracle-side { text-align: center; }
.miracle-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: var(--radius-pill); font-size: 13px; font-weight: 600; letter-spacing: 0.04em;
}
.miracle-badge.acid { background: #F0E7D6; color: #9A6A2E; }
.miracle-badge.sweet { background: #E3EAD8; color: var(--olive-deep); }
.miracle-side h4 { font-size: 1.5rem; margin: 16px 0 6px; }
.miracle-side p { font-size: 14px; color: var(--ink-soft); }
.miracle-arrow { color: var(--berry); display: grid; place-items: center; }
.miracle-arrow svg { width: 56px; height: 56px; }
.miracle-arrow span { display: block; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); text-align: center; margin-top: 6px; }

/* value list (checkmarks) */
.check-list { display: grid; gap: 14px; }
.check-list li { display: flex; gap: 13px; align-items: flex-start; font-size: 15.5px; color: var(--ink-soft); }
.check-list li svg { width: 22px; height: 22px; color: var(--olive-deep); flex: none; margin-top: 1px; }
.check-list.on-dark li { color: var(--on-dark-soft); }
.check-list.on-dark li svg { color: var(--sage); }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band h2 { max-width: 16ch; margin: 16px auto 20px; }
.cta-band .actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }

/* ---------- Page header (interior) ---------- */
.page-head { padding: 150px 0 clamp(40px, 6vw, 76px); position: relative; overflow: hidden; }
.page-head::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(90% 120% at 85% 0%, rgba(198,206,185,0.5), transparent 60%);
}
.page-head h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); margin: 20px 0 20px; max-width: 18ch; }
.page-head .lead { max-width: 58ch; }
.breadcrumb { font-size: 13px; color: var(--ink-mute); letter-spacing: 0.02em; }
.breadcrumb a:hover { color: var(--olive-deep); }

/* ---------- Contact form ---------- */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--ink); letter-spacing: 0.01em; }
.field label .req { color: var(--berry); }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 15.5px; color: var(--ink);
  background: var(--cream-2); border: 1.5px solid var(--line); border-radius: 13px;
  padding: 13px 16px; transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
  width: 100%;
}
.field textarea { resize: vertical; min-height: 128px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--olive-deep); background: var(--cream-2);
  box-shadow: 0 0 0 4px rgba(85,100,63,0.10);
}
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2355643F' stroke-width='2.4'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 42px; }
.form-note { font-size: 13px; color: var(--ink-mute); margin-top: 4px; }
.form-success {
  display: none; align-items: center; gap: 12px; margin-top: 18px;
  padding: 16px 20px; border-radius: 14px; background: #E3EAD8; color: var(--olive-deep);
  font-size: 15px; font-weight: 500;
}
.form-success svg { width: 22px; height: 22px; flex: none; }
.form-success.show { display: flex; }
.form-error {
  display: none; align-items: center; gap: 12px; margin-top: 18px;
  padding: 16px 20px; border-radius: 14px; background: #F4E3DE; color: var(--berry);
  font-size: 15px; font-weight: 500;
}
.form-error svg { width: 22px; height: 22px; flex: none; }
.form-error a { text-decoration: underline; color: var(--berry); }
.form-error.show { display: flex; }
.btn[disabled] { opacity: 0.6; cursor: progress; transform: none; }
.field-error { border-color: var(--berry) !important; box-shadow: 0 0 0 4px rgba(184,69,47,0.09) !important; }

.contact-aside { display: grid; gap: 22px; align-content: start; }
.contact-info-card {
  background: var(--forest); color: var(--on-dark); border-radius: var(--radius-lg); padding: 36px;
}
.contact-info-card h3 { color: var(--cream-2); font-size: 1.5rem; margin-bottom: 8px; }
.contact-info-card p { color: var(--on-dark-soft); font-size: 15px; }
.contact-line { display: flex; gap: 13px; align-items: flex-start; margin-top: 22px; font-size: 15px; color: var(--on-dark-soft); }
.contact-line svg { width: 20px; height: 20px; color: var(--sage); flex: none; margin-top: 2px; }
.contact-line a:hover { color: var(--cream-2); }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest-2); color: var(--on-dark-soft); padding: clamp(56px, 7vw, 84px) 0 34px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-top > * { min-width: 0; }
.footer-brand .brand-name { color: var(--cream-2); white-space: normal; }
.footer-brand p { margin-top: 18px; font-size: 14.5px; max-width: 34ch; color: var(--on-dark-soft); }
.footer-col h4 { color: var(--sage); font-family: var(--font-body); font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; margin-bottom: 18px; }
.footer-col a { display: block; padding: 6px 0; font-size: 14.5px; color: var(--on-dark-soft); overflow-wrap: break-word; transition: color .25s var(--ease); }
.footer-col a:hover { color: var(--cream-2); }
.footer-bottom {
  margin-top: clamp(40px, 6vw, 64px); padding-top: 26px; border-top: 1px solid var(--line-dark);
  display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap;
  font-size: 13px; color: var(--on-dark-soft);
}
.footer-bottom .kw { font-size: 12px; color: rgba(185,192,168,0.6); max-width: 60ch; line-height: 1.5; }

/* ---------- Reveal animations ---------- */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .08s; }
[data-reveal-delay="2"] { transition-delay: .16s; }
[data-reveal-delay="3"] { transition-delay: .24s; }
[data-reveal-delay="4"] { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* floating leaf ambient */
.leaf-float { animation: floaty 7s ease-in-out infinite; transform-origin: center; }
.leaf-float.d2 { animation-duration: 9s; animation-delay: -2s; }
.leaf-float.d3 { animation-duration: 8s; animation-delay: -4s; }
@keyframes floaty { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-14px) rotate(3deg); } }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-visual { min-height: 300px; order: -1; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3, .grid-4, .mini-cards, .stats { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .process-step { border-bottom: 1px solid var(--line-dark); }
  .process-step:nth-child(2) { border-right: none; }
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 28px; }
  .contact-layout { grid-template-columns: 1fr !important; }
  .miracle { grid-template-columns: 1fr; text-align: center; gap: 26px; }
  .miracle-arrow { transform: rotate(90deg); }
}
/* Menu hamburger : dès que la nav horizontale n'a plus la place */
@media (max-width: 1000px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-header.menu-open { background: var(--cream); border-bottom: 1px solid var(--line); }
  .site-header.menu-open .nav-links {
    display: flex; position: absolute; top: 78px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--cream); padding: 14px 22px 26px; box-shadow: var(--shadow-md);
    border-top: 1px solid var(--line);
  }
  .site-header.menu-open .nav-links a { padding: 13px 14px; font-size: 16px; }
  .nav-cta { margin-left: 0; }
}
@media (max-width: 720px) {
  .trust-strip { grid-template-columns: 1fr 1fr; gap: 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
  .footer-brand { max-width: none; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .grid-3, .grid-4, .mini-cards, .stats { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .process-step { border-right: none; }
  .trust-strip { grid-template-columns: 1fr; }
}

/* ---------- Écosystème / partenaires ---------- */
.ecosystem-head {
  max-width: 720px;
  margin: 0 auto clamp(36px, 5vw, 52px);
  text-align: center;
}
.ecosystem-head .eyebrow { margin-inline: auto; }
.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.5vw, 28px);
  align-items: stretch;
}
.partner-card {
  margin: 0;
  min-height: 150px;
  background: #FFFFFF;
  border: 1px solid var(--sand);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 34px) clamp(24px, 3.5vw, 40px);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  transition: transform .55s var(--ease), box-shadow .55s var(--ease);
}
.partner-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.partner-card img {
  width: auto;
  height: auto;
  max-height: 116px;
  max-width: 82%;
  object-fit: contain;
  display: block;
}
@media (max-width: 820px) {
  .partner-grid { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
}
