/* Polices hébergées sur le site (aucune requête vers Google, sous-ensemble latin) */
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-latin.woff") format("woff"); font-weight: 500 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces-italic-latin.woff") format("woff"); font-weight: 500; font-style: italic; font-display: swap; }

/* =========================================================
   AMKENI-MKULIMA — feuille de style commune
   Concept : forêt profonde + crème de cabosse + or du séchage.
   Palette tirée des maquettes ; thème clair assumé (choix délibéré).
   ========================================================= */
:root {
  --forest: #213f23;
  --forest-2: #2e5a2d;
  --forest-3: #3f7339;
  --leaf: #7ea24a;
  --cream: #f5efe2;
  --paper: #fbf8f1;
  --white: #ffffff;
  --sand: #ead6a6;
  --sand-2: #f3e6c4;
  --gold: #b88a3b;
  --cocoa: #4b2d1d;
  --cocoa-2: #6b4128;
  --ink: #1d2519;
  --muted: #5b6553;
  --line: #e2d9c5;
  --shadow: 0 10px 30px -12px rgba(33, 63, 35, .28);
  --shadow-lg: 0 24px 60px -20px rgba(33, 63, 35, .35);

  --f-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --f-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;   /* police du système : 0 Ko à télécharger */
  --gold-text: #8a6420;   /* or assombri pour le texte : contraste AA sur fond clair */
  --amber: #e9b44c;

  --radius: 18px;
  --radius-sm: 10px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
  --ease: cubic-bezier(.22, .8, .24, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }   /* height:auto garde les proportions malgré les attributs width/height */
picture { display: contents; }
picture > source { display: none; }   /* sinon <source> devient un élément de grille et décale la mise en page */
[hidden] { display: none !important; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 600; line-height: 1.12; margin: 0; text-wrap: balance; color: var(--forest); letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p { margin: 0; }

.container { width: 100%; max-width: 1220px; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 8vw, 96px); }
.section--cream { background: var(--cream); }
.section--tight { padding-block: clamp(40px, 6vw, 64px); }

/* ---------- Titres de section avec feuilles ---------- */
.section-head { display: grid; justify-items: center; gap: 12px; text-align: center; margin-bottom: clamp(32px, 5vw, 52px); }
.section-head p { color: var(--muted); max-width: 60ch; }
.section-title { display: flex; align-items: center; gap: 16px; }
.section-title::before, .section-title::after {
  content: ""; width: clamp(28px, 7vw, 90px); height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.section-title::after { transform: scaleX(-1); }
.eyebrow { font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); display: inline-flex; align-items: center; gap: 8px; }
.eyebrow svg { width: 18px; height: 18px; }

/* ---------- Boutons ---------- */
.btn {
  --bg: var(--forest); --fg: var(--white); --bd: var(--forest);
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 24px; border-radius: 999px; border: 1.5px solid var(--bd);
  background: var(--bg); color: var(--fg); font-weight: 700; text-decoration: none; font-size: .95rem;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s;
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .35s var(--ease); }
.btn::after { /* reflet qui balaie le bouton */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:hover::after { transform: translateX(120%); }
.btn:hover svg { transform: translateX(3px); }
.btn--sand { --bg: var(--sand); --fg: var(--forest); --bd: var(--sand); }
/* Action principale de la page : une seule par écran, couleur ambre */
.btn--primary { --bg: var(--amber); --fg: var(--forest); --bd: var(--amber); box-shadow: 0 8px 22px -12px rgba(150, 100, 20, .8); }
.btn--primary:hover { --bg: #f0c062; }
.btn--ghost { --bg: transparent; --fg: var(--forest); --bd: var(--forest); }
.btn--light { --bg: rgba(255,255,255,.12); --fg: var(--white); --bd: rgba(255,255,255,.6); backdrop-filter: blur(6px); }
.btn--sm { padding: 9px 16px; font-size: .88rem; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--forest); text-decoration: none; font-size: .9rem; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Barre de progression de lecture ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--leaf), var(--gold)); }

/* ---------- En-tête ---------- */
.header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 100;
  background: rgba(251, 248, 241, .92); backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: transform .45s var(--ease), box-shadow .3s, border-color .3s;
}
.header.is-scrolled { box-shadow: 0 6px 24px -14px rgba(0,0,0,.25); border-color: var(--line); }
.header.is-hidden { transform: translateY(-110%); }
.header__inner { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand img { width: 46px; height: 46px; border-radius: 50%; transition: transform .8s var(--ease); }
.brand:hover img { transform: rotate(-12deg) scale(1.05); }
.brand span { font-family: var(--f-display); font-weight: 700; font-size: 1.18rem; color: var(--forest); letter-spacing: .01em; }
.nav { margin-left: auto; }
.nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.nav a {
  position: relative; display: block; padding: 8px 11px; text-decoration: none;
  font-weight: 600; font-size: .92rem; color: var(--ink); border-radius: 8px; white-space: nowrap;
}
.nav a::after {
  content: ""; position: absolute; left: 11px; right: 11px; bottom: 2px; height: 2px; border-radius: 2px;
  background: var(--forest); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.nav a.is-active { color: var(--forest); }
.nav a.nav__shop { color: var(--cocoa); }
.langs { display: flex; align-items: center; gap: 2px; font-size: .82rem; font-weight: 700; flex: none; }
.langs button { background: none; border: 0; padding: 6px 7px; color: var(--muted); border-radius: 6px; }
.langs button[aria-pressed="true"] { color: var(--forest); background: var(--cream); }
.langs i { width: 1px; height: 12px; background: var(--line); }
.header__cta { flex: none; }
.burger { display: none; background: none; border: 0; width: 44px; height: 44px; border-radius: 10px; position: relative; flex: none; }
.burger span, .burger span::before, .burger span::after {
  position: absolute; left: 11px; width: 22px; height: 2px; background: var(--forest); border-radius: 2px;
  transition: transform .35s var(--ease), opacity .2s; content: "";
}
.burger span { top: 21px; }
.burger span::before { top: -7px; left: 0; }
.burger span::after { top: 7px; left: 0; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

.header .container { max-width: 1480px; }
@media (max-width: 1520px) { .header__cta { display: none; } }
@media (max-width: 1440px) {
  .nav a { padding-inline: 8px; font-size: .9rem; }
  .nav a::after { left: 8px; right: 8px; }
}
@media (max-width: 1279px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; margin: 0; background: var(--paper);
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    clip-path: inset(0 0 100% 0); transition: clip-path .5s var(--ease); visibility: hidden;
  }
  .nav.is-open { clip-path: inset(0 0 0 0); visibility: visible; }
  .nav ul { flex-direction: column; padding: 12px var(--gutter) 22px; }
  .nav a { padding: 13px 4px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a::after { display: none; }
  .langs { margin-left: auto; }
}

@media (max-width: 520px) {
  .header__inner { gap: 10px; }
  .brand img { width: 40px; height: 40px; }
  .brand span { font-size: 1rem; }
  .langs button { padding: 5px 4px; }
  .cart-btn { width: 42px; height: 42px; }
}
@media (max-width: 440px) { .brand span { display: none; } }
@media (max-width: 520px) { .section-title::before, .section-title::after { display: none; } .hero__visual { width: min(100%, 300px); } }

/* ---------- Héros (accueil) ---------- */
.hero { position: relative; overflow: hidden; color: var(--white); background: var(--forest); }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 24s ease-in-out infinite alternate; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(20,38,20,.92) 0%, rgba(20,38,20,.72) 42%, rgba(20,38,20,.15) 75%, rgba(20,38,20,.35) 100%);
}
@keyframes kenburns { from { transform: scale(1.04) translate(0,0); } to { transform: scale(1.14) translate(-1.5%, -1%); } }
.hero__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 40px; align-items: center; padding-block: clamp(56px, 8vw, 104px); }
.hero h1 { color: var(--white); }
.hero h1 em { font-style: italic; color: var(--sand); font-weight: 500; }
.hero__lead { margin-top: 20px; font-size: 1.08rem; max-width: 54ch; color: rgba(255,255,255,.88); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero__place { display: inline-flex; align-items: center; gap: 8px; margin-top: 26px; font-size: .9rem; color: rgba(255,255,255,.8); }
.hero__place svg { width: 18px; height: 18px; color: var(--sand); }
.hero__visual { position: relative; justify-self: end; width: min(100%, 420px); }
.hero__photo { border-radius: 26px; overflow: hidden; aspect-ratio: 4/5; box-shadow: 0 30px 60px -20px rgba(0,0,0,.5); border: 6px solid rgba(255,255,255,.12); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__badge {
  position: absolute; left: -38px; bottom: 34px; background: var(--paper); color: var(--ink);
  border-radius: 16px; padding: 14px 16px; display: flex; gap: 12px; align-items: center;
  box-shadow: var(--shadow-lg); animation: floaty 6s ease-in-out infinite;
}
.hero__badge--top { left: auto; right: -22px; top: 26px; bottom: auto; animation-delay: -3s; }
.hero__badge strong { display: block; font-family: var(--f-display); font-size: 1.35rem; color: var(--forest); line-height: 1; }
.hero__badge small { color: var(--muted); font-size: .8rem; }
.icon-dot { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--forest); color: var(--sand); flex: none; }
.icon-dot svg { width: 22px; height: 22px; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Entrée animée au chargement */
.intro > * { animation: rise .9s var(--ease) both; }
.intro > *:nth-child(2) { animation-delay: .12s; }
.intro > *:nth-child(3) { animation-delay: .24s; }
.intro > *:nth-child(4) { animation-delay: .36s; }
.intro > *:nth-child(5) { animation-delay: .48s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.hero__visual { animation: rise 1.1s .25s var(--ease) both; }

/* Feuilles flottantes du héros */
.leaves { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.leaves svg { position: absolute; width: 26px; height: 26px; color: rgba(234, 214, 166, .55); animation: drift linear infinite; }
@keyframes drift {
  0% { transform: translate3d(0, -40px, 0) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  100% { transform: translate3d(80px, 110vh, 0) rotate(320deg); opacity: 0; }
}

@media (max-width: 860px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr); }
  .hero__visual { justify-self: center; width: min(100%, 360px); margin-top: 10px; }
  .hero__badge { left: -6px; }
  .hero__badge--top { right: -6px; }
  .hero__bg::after { background: linear-gradient(180deg, rgba(20,38,20,.88), rgba(20,38,20,.7)); }
}

/* ---------- Chiffres clés ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.stat {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
  display: flex; gap: 16px; align-items: flex-start; transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.stat:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.stat .icon-ring { width: 56px; height: 56px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; color: var(--forest); flex: none; background: var(--cream); }
.stat .icon-ring svg { width: 28px; height: 28px; }
.stat__num { font-family: var(--f-display); font-size: clamp(1.6rem, 2.4vw, 2rem); font-weight: 700; color: var(--forest); line-height: 1.05; font-variant-numeric: tabular-nums; }
.stat__label { font-weight: 700; font-size: .95rem; margin-top: 4px; }
.stat__note { font-size: .82rem; color: var(--muted); margin-top: 6px; }
@media (max-width: 960px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .stats { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Vision ---------- */
.vision { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, .7fr); border-radius: 24px; overflow: hidden; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.vision__text { padding: clamp(24px, 4vw, 40px); display: grid; gap: 14px; align-content: center; }
.vision__text p { color: var(--muted); }
.pillars { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 8px; }
.pillars span { display: inline-flex; align-items: center; gap: 7px; font-size: .86rem; font-weight: 700; color: var(--forest); }
.pillars svg { width: 20px; height: 20px; color: var(--forest-3); }
.vision__img { position: relative; overflow: hidden; min-height: 280px; }
.vision__img img { position: absolute; inset: -12% 0; width: 100%; height: 124%; object-fit: cover; will-change: transform; }
.vision__quote { background: var(--forest); color: var(--white); padding: clamp(24px, 3vw, 34px); display: grid; align-content: center; gap: 12px; position: relative; overflow: hidden; }
.vision__quote blockquote { margin: 0; font-family: var(--f-display); font-size: 1.15rem; line-height: 1.4; font-style: italic; }
.vision__quote svg.q { width: 34px; height: 34px; color: var(--sand); }
.vision__quote .leaf-bg { position: absolute; right: -30px; bottom: -30px; width: 150px; height: 150px; color: rgba(255,255,255,.07); }
@media (max-width: 960px) { .vision { grid-template-columns: minmax(0, 1fr); } .vision__img { min-height: 240px; } }

/* ---------- Cycle d'impact ---------- */
.cycle { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.cycle__line { position: absolute; left: 10%; right: 10%; top: 44px; height: 2px; background: var(--line); overflow: hidden; }
.cycle__line span { display: block; height: 100%; background: linear-gradient(90deg, var(--forest-3), var(--gold)); transform: scaleX(0); transform-origin: left; transition: transform 2.2s var(--ease); }
.cycle.is-in .cycle__line span { transform: scaleX(1); }
.cycle--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 900px; margin-inline: auto; }
.cycle--3 .cycle__line { left: 17%; right: 17%; }
.step { position: relative; display: grid; align-content: start; justify-items: center; text-align: center; gap: 10px; }
.step__icon {
  width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; color: var(--white);
  background: var(--forest); box-shadow: 0 0 0 8px var(--paper); position: relative;
  transition: transform .5s var(--ease);
}
.step--cocoa .step__icon { background: var(--cocoa-2); }
.step__icon svg { width: 40px; height: 40px; }
.step__icon b { position: absolute; top: -4px; right: -4px; width: 28px; height: 28px; border-radius: 50%; background: var(--sand); color: var(--forest); font-size: .85rem; display: grid; place-items: center; font-family: var(--f-display); }
.step:hover .step__icon { transform: translateY(-6px) rotate(-6deg); }
.step h3 { font-size: 1.02rem; }
.step p { font-size: .86rem; color: var(--muted); max-width: 24ch; }
.section--cream .step__icon { box-shadow: 0 0 0 8px var(--cream); }
@media (max-width: 960px) {
  .cycle, .cycle--3 { grid-template-columns: minmax(0, 1fr); gap: 26px; max-width: 520px; margin-inline: auto; }
  .cycle__line, .cycle--3 .cycle__line { left: 43px; right: auto; top: 20px; bottom: 20px; width: 2px; height: auto; }
  .cycle__line span { transform: scaleY(0); transform-origin: top; height: 100%; width: 100%; }
  .cycle.is-in .cycle__line span { transform: scaleY(1); }
  .step { grid-template-columns: 88px minmax(0, 1fr); justify-items: start; text-align: left; column-gap: 18px; row-gap: 2px; }
  .step__icon { grid-row: span 2; }
  .step h3 { align-self: end; }
  .step p { max-width: none; }
}

/* ---------- Cartes (programmes, projets) ---------- */
.cards { display: grid; gap: 22px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.card__media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--cream); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover .card__media img { transform: scale(1.08); }
.card__body { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__title { display: flex; gap: 12px; align-items: center; }
.card__title .icon-dot { width: 38px; height: 38px; }
.card__title .icon-dot svg { width: 20px; height: 20px; }
.card__body p { color: var(--muted); font-size: .92rem; flex: 1; }
.tag { position: absolute; top: 14px; left: 14px; padding: 5px 12px; border-radius: 999px; font-size: .74rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; background: var(--forest); color: var(--white); }
.tag--progress { background: var(--gold); color: var(--white); }
.tag--future { background: var(--cocoa-2); }
@media (max-width: 1060px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .cards--3 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .cards { grid-template-columns: minmax(0, 1fr); } }
.cards--3 .card { display: grid; grid-template-columns: 42% minmax(0, 1fr); }
.cards--3 .card__media { aspect-ratio: auto; min-height: 210px; }
@media (max-width: 1060px) and (min-width: 861px) { .cards--3 { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Traçabilité ---------- */
.trace { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.screen {
  background: var(--white); border-radius: 18px; border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  overflow: hidden; font-size: .82rem;
}
.screen__bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: var(--forest); color: var(--white); font-weight: 700; }
.screen__bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.35); }
.screen__bar span { margin-left: 8px; }
.screen__body { padding: 16px; display: grid; gap: 14px; }
.screen__kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.screen__kpis div { border: 1px solid var(--line); border-radius: 10px; padding: 10px; }
.screen__kpis small { color: var(--muted); display: block; }
.screen__kpis strong { font-family: var(--f-display); font-size: 1.05rem; color: var(--forest); }
.chain { display: flex; align-items: center; justify-content: space-between; position: relative; padding: 8px 4px 0; }
.chain::before { content: ""; position: absolute; left: 22px; right: 22px; top: 27px; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 10px); }
.chain__dot { position: absolute; top: 22px; left: 22px; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px rgba(184,138,59,.25); animation: travel 6s var(--ease) infinite; }
@keyframes travel { 0% { left: 22px; } 90%, 100% { left: calc(100% - 34px); } }
.chain__node { position: relative; display: grid; justify-items: center; gap: 4px; text-align: center; width: 20%; }
.chain__node span { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--cream); color: var(--forest); border: 1.5px solid var(--line); }
.chain__node svg { width: 20px; height: 20px; }
.chain__node small { font-size: .72rem; font-weight: 700; line-height: 1.2; }
.lots { width: 100%; border-collapse: collapse; }
.lots th { text-align: left; font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; padding: 6px 8px; border-bottom: 1px solid var(--line); }
.lots td { padding: 8px; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.lots tr { transition: background .3s; }
.lots tr.is-new { animation: rowIn .8s var(--ease); }
@keyframes rowIn { from { background: var(--sand-2); } to { background: transparent; } }
.ok { display: inline-flex; align-items: center; gap: 5px; color: var(--forest-3); font-weight: 700; }
.ok::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.screen__note { font-size: .72rem; color: var(--muted); font-style: italic; }
.checklist { list-style: none; padding: 0; margin: 18px 0 26px; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist svg { width: 22px; height: 22px; color: var(--forest-3); flex: none; margin-top: 2px; }
.trace__text > p { color: var(--muted); margin-top: 14px; }
@media (max-width: 960px) { .trace { grid-template-columns: minmax(0, 1fr); } .trace__text { order: -1; } }
@media (max-width: 480px) { .screen__kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } .screen__kpis div:last-child { grid-column: span 2; } .lots .hide-sm { display: none; } }

/* ---------- Équipe ---------- */
.team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(0, .9fr); gap: 22px; }
.person { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 2.4vw, 30px);
  display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "photo head" "bio bio"; grid-template-rows: 84px 1fr; column-gap: 18px; row-gap: 18px; align-items: center; align-content: start;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.person:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.person img { grid-area: photo; width: 84px; height: 84px; aspect-ratio: 1; flex: none; border-radius: 50%; object-fit: cover; object-position: 50% 20%; border: 3px solid var(--sand); box-shadow: 0 0 0 5px var(--cream); }
.person__head { grid-area: head; display: grid; gap: 4px; min-width: 0; }
.person h3 { font-size: 1.2rem; }
.person .role { color: var(--gold-text); font-weight: 800; font-size: .8rem; letter-spacing: .02em; margin: 0; }
.person__bio { grid-area: bio; align-self: start; font-size: .9rem; line-height: 1.65; color: var(--muted); padding-top: 16px; border-top: 1px solid var(--line); max-width: 60ch; }
.friday { background: var(--cocoa); color: var(--white); border-radius: var(--radius); padding: 24px; display: grid; gap: 10px; align-content: start; position: relative; overflow: hidden; }
.friday h3 { color: var(--sand); }
.friday p { color: rgba(255,255,255,.85); font-size: .92rem; }
.friday .time { font-family: var(--f-display); font-size: 2rem; color: var(--white); line-height: 1; }
.friday svg.bg { position: absolute; right: -20px; bottom: -24px; width: 140px; height: 140px; color: rgba(255,255,255,.07); }
@media (max-width: 1060px) { .team { grid-template-columns: repeat(2, minmax(0, 1fr)); } .friday { grid-column: span 2; } }
@media (max-width: 680px) { .team { grid-template-columns: minmax(0, 1fr); } .friday { grid-column: auto; } .person { grid-template-rows: 72px auto; } .person img { width: 72px; height: 72px; } }

/* ---------- Gouvernance + charte ---------- */
.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 22px; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); }
.panel h3 { font-size: 1.3rem; margin-bottom: 16px; }
.charter { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.charter li { display: flex; gap: 12px; align-items: center; font-weight: 600; }
.charter__ic { width: 30px; height: 30px; border-radius: 50%; background: var(--forest); color: var(--sand); display: grid; place-items: center; flex: none; }
.charter li svg { width: 16px; height: 16px; }
.org { display: grid; gap: 10px; }
.org__row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.org__box { border: 1.5px solid var(--line); background: var(--cream); border-radius: 12px; padding: 10px 14px; font-size: .86rem; font-weight: 700; text-align: center; color: var(--forest); transition: transform .3s var(--ease), background .3s; }
.org__box:hover { transform: translateY(-3px); background: var(--sand-2); }
.org__box--main { background: var(--forest); color: var(--white); border-color: var(--forest); }
.org__box small { display: block; font-weight: 600; color: var(--muted); font-size: .76rem; }
.org__box--main small { color: rgba(255,255,255,.75); }
.org__arrow { display: grid; place-items: center; color: var(--gold); }
.org__arrow svg { width: 20px; height: 20px; }
@media (max-width: 900px) { .duo { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Zone tampon PNKB ---------- */
.park { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 52px); align-items: center; }
.park figure img { width: 100%; height: auto; }
.park figure { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow); }
.park figcaption { font-size: .78rem; color: var(--muted); padding: 10px 14px; }
.park__text p { color: var(--muted); margin-top: 14px; }
.park__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
.park__list div { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 14px; font-size: .88rem; }
.park__list strong { display: block; color: var(--forest); font-family: var(--f-display); font-size: 1.05rem; margin-bottom: 2px; }
@media (max-width: 900px) { .park { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .park__list { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Galerie défilante ---------- */
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee__track { display: flex; gap: 14px; width: max-content; animation: scrollx 60s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes scrollx { to { transform: translateX(calc(-50% - 7px)); } }
.marquee button { border: 0; padding: 0; border-radius: 14px; overflow: hidden; width: 250px; aspect-ratio: 4/3; flex: none; background: var(--cream); }
.marquee img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .5s; }
.marquee button:hover img { transform: scale(1.08); filter: saturate(1.15); }

.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(15, 26, 14, .9); display: grid; place-items: center; padding: 24px; opacity: 0; pointer-events: none; transition: opacity .35s; }
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox figure { margin: 0; max-width: min(1100px, 100%); display: grid; gap: 10px; transform: scale(.94); transition: transform .45s var(--ease); }
.lightbox.is-open figure { transform: none; }
.lightbox img { max-height: 78vh; width: auto; margin-inline: auto; border-radius: 12px; }
.lightbox figcaption { color: rgba(255,255,255,.85); text-align: center; font-size: .92rem; }
.lightbox__close, .lightbox__nav { position: absolute; background: rgba(255,255,255,.12); color: var(--white); border: 0; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__nav--prev { left: 18px; top: 50%; }
.lightbox__nav--next { right: 18px; top: 50%; }
.lightbox svg { width: 22px; height: 22px; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 22px; max-width: 1040px; margin-inline: auto; align-items: start; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; transition: box-shadow .3s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 15px 18px; font-weight: 700; display: flex; justify-content: space-between; gap: 14px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 18px; height: 18px; flex: none; transition: transform .35s var(--ease); color: var(--forest); }
.faq details[open] summary svg { transform: rotate(180deg); }
.faq .faq__a { padding: 0 18px 16px; color: var(--muted); font-size: .93rem; }
.faq details[open] .faq__a { animation: rise .45s var(--ease); }
@media (max-width: 760px) { .faq { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Bandeau CTA ---------- */
.cta { position: relative; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr) auto; align-items: center; gap: 28px; border-radius: 24px; overflow: hidden; background: var(--sand-2); border: 1px solid var(--line); }
.cta__img { align-self: stretch; min-height: 200px; }
.cta__img img { width: 100%; height: 100%; object-fit: cover; }
.cta__text { padding-block: 24px; }
.cta__text p { color: var(--muted); margin-top: 8px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; padding: 24px 28px 24px 0; }
@media (max-width: 960px) { .cta { grid-template-columns: minmax(0, 1fr); gap: 0; } .cta__text, .cta__actions { padding: 22px 24px 0; } .cta__actions { padding-bottom: 24px; } }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 22px; }
.contact__info { background: var(--forest); color: var(--white); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); display: grid; gap: 18px; align-content: start; position: relative; overflow: hidden; }
.contact__info h2 { color: var(--white); }
.contact__info p { color: rgba(255,255,255,.82); }
.contact__line { display: flex; gap: 14px; align-items: flex-start; }
.contact__line .icon-dot { background: rgba(255,255,255,.1); }
.contact__line small { display: block; color: var(--sand); font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; }
.contact__line a, .contact__line span { color: var(--white); text-decoration: none; font-weight: 600; word-break: break-word; }
.todo { color: var(--sand) !important; font-style: italic; font-weight: 500 !important; font-size: .85rem; }
.form { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 34px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.form h3 { grid-column: 1 / -1; font-size: 1.35rem; }
.field { display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .84rem; font-weight: 700; color: var(--forest); }
.field input, .field select, .field textarea { width: 100%; font: inherit; padding: 12px 14px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); transition: border-color .25s, box-shadow .25s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--forest-3); box-shadow: 0 0 0 4px rgba(63,115,57,.15); }
.field textarea { min-height: 120px; resize: vertical; }
.form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.form__msg { font-size: .88rem; color: var(--forest-3); font-weight: 700; }
@media (max-width: 860px) { .contact { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .form { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Pied de page ---------- */
.footer { background: var(--forest); color: rgba(255,255,255,.82); padding-block: 56px 26px; position: relative; overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr 1fr; gap: 32px; }
.footer h4 { color: var(--sand); font-family: var(--f-body); font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .92rem; }
.footer a { text-decoration: none; color: inherit; transition: color .2s; }
.footer a:hover { color: var(--sand); }
.footer .brand span { color: var(--white); }
.footer__about p { margin-top: 14px; font-size: .9rem; max-width: 36ch; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); display: grid; place-items: center; transition: background .3s, transform .3s var(--ease); }
.socials a:hover { background: rgba(255,255,255,.12); transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }
.footer__bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.15); display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; font-size: .82rem; }
.footer__pod { position: absolute; left: -60px; bottom: -60px; width: 260px; height: 260px; color: rgba(255,255,255,.04); pointer-events: none; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Retour en haut ---------- */
.to-top { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 90; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--forest); color: var(--white); display: grid; place-items: center; box-shadow: var(--shadow); opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .35s, transform .35s var(--ease); }
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg { width: 22px; height: 22px; }

/* ---------- Apparition au défilement ---------- */
/* Les éléments restent visibles si le JavaScript ne tourne pas (classe .js posée par main.js) */
.js [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal="left"] { transform: translateX(-40px); }
.js [data-reveal="right"] { transform: translateX(40px); }
.js [data-reveal="zoom"] { transform: scale(.92); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* =========================================================
   BOUTIQUE
   ========================================================= */
.shop-hero { position: relative; overflow: hidden; background: var(--forest); color: var(--white); }
.shop-hero__bg { position: absolute; inset: 0; }
.shop-hero__bg img { width: 100%; height: 100%; object-fit: cover; filter: blur(2px) saturate(1.1); transform: scale(1.08); animation: kenburns 26s ease-in-out infinite alternate; }
.shop-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,38,20,.94) 0%, rgba(20,38,20,.8) 45%, rgba(20,38,20,.35) 100%); }
.shop-hero__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; padding-block: clamp(52px, 7vw, 92px); }
.shop-hero h1 { color: var(--white); }
.shop-hero .rule { width: 90px; height: 2px; background: var(--sand); margin: 24px 0; transform-origin: left; animation: grow 1.2s .4s var(--ease) both; }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.shop-hero p { color: rgba(255,255,255,.88); max-width: 50ch; font-size: 1.05rem; }
.still-life { position: relative; height: clamp(300px, 34vw, 420px); }
.still-life figure { position: absolute; margin: 0; border-radius: 20px; overflow: hidden; box-shadow: 0 26px 50px -18px rgba(0,0,0,.55); border: 5px solid rgba(255,255,255,.14); }
.still-life img { width: 100%; height: 100%; object-fit: cover; }
.still-life .sl-1 { width: 42%; height: 78%; left: 4%; top: 6%; animation: floaty 7s ease-in-out infinite; }
.still-life .sl-2 { width: 46%; height: 52%; right: 2%; top: 0; animation: floaty 8s -2s ease-in-out infinite; }
.still-life .sl-3 { width: 40%; height: 42%; right: 10%; bottom: 0; animation: floaty 6s -4s ease-in-out infinite; }
@media (max-width: 860px) { .shop-hero__inner { grid-template-columns: minmax(0, 1fr); } }

.about-band { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 28px; align-items: center; background: var(--cream); border: 1px solid var(--line); border-radius: 22px; padding: clamp(20px, 3vw, 32px); }
.about-band__seal { width: 120px; height: 120px; border-radius: 50%; background: var(--white); display: grid; place-items: center; border: 1px solid var(--line); }
.about-band__seal img { width: 96px; height: 96px; animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.about-band p { color: var(--ink); }
@media (max-width: 600px) { .about-band { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; } }

.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 30px; }
.chip { border: 1.5px solid var(--line); background: var(--white); color: var(--forest); padding: 9px 18px; border-radius: 999px; font-weight: 700; font-size: .9rem; transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease); }
.chip:hover { transform: translateY(-2px); border-color: var(--forest-3); }
.chip[aria-pressed="true"] { background: var(--forest); color: var(--white); border-color: var(--forest); }

.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.product { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .45s var(--ease), box-shadow .45s var(--ease), opacity .4s; }
.product:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.product.is-hiding { opacity: 0; transform: scale(.95); }
.product__media { position: relative; aspect-ratio: 5/4; overflow: hidden; background: var(--cream); cursor: zoom-in; border: 0; padding: 0; width: 100%; }
.product__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.product:hover .product__media img { transform: scale(1.07); }
.product__badge { position: absolute; left: 12px; top: 12px; background: rgba(251,248,241,.94); color: var(--forest); font-size: .72rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: .05em; }
.product__badge--warn { left: auto; right: 12px; background: rgba(75,45,29,.85); color: var(--sand); text-transform: none; letter-spacing: 0; }
.product__body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product__body h3 { font-size: 1.22rem; }
.product__body p { color: var(--muted); font-size: .92rem; flex: 1; }
.product__meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.price { font-weight: 800; color: var(--cocoa); font-size: .92rem; }
.product__icon { position: absolute; right: 18px; top: -24px; width: 48px; height: 48px; border-radius: 50%; background: var(--forest); color: var(--sand); display: grid; place-items: center; box-shadow: 0 0 0 5px var(--white); transition: transform .5s var(--ease); }
.product:hover .product__icon { transform: rotate(-14deg) scale(1.08); }
.product__icon svg { width: 22px; height: 22px; }
.product__body { position: relative; }
.add-btn.is-added { --bg: var(--forest-3); --bd: var(--forest-3); }
@media (min-width: 1100px) { .products { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } .product .add-btn { font-size: .84rem; padding: 9px 12px; white-space: nowrap; } }
@media (max-width: 1099px) { .products { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .products { grid-template-columns: minmax(0, 1fr); } }

.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--cream); border: 1px solid var(--line); border-radius: 22px; padding: clamp(22px, 3vw, 34px); }
.value { padding: 6px clamp(14px, 2vw, 24px); display: grid; gap: 10px; align-content: start; }
.value + .value { border-left: 1px solid var(--line); }
.value__head { display: flex; gap: 14px; align-items: center; }
.value__head .icon-dot { width: 60px; height: 60px; transition: transform .6s var(--ease); }
.value:hover .icon-dot { transform: rotateY(180deg); }
.value__head .icon-dot svg { width: 30px; height: 30px; }
.value p { font-size: .9rem; color: var(--muted); }
@media (max-width: 980px) { .values { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; } .value:nth-child(3) { border-left: 0; } }
@media (max-width: 560px) { .values { grid-template-columns: minmax(0, 1fr); } .value + .value { border-left: 0; border-top: 1px solid var(--line); padding-top: 20px; } }

.audiences { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.aud { position: relative; border-radius: 20px; overflow: hidden; color: var(--white); min-height: 300px; display: flex; align-items: flex-end; isolation: isolate; text-decoration: none; }
.aud img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.aud::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.05) 10%, var(--aud, rgba(33,63,35,.95)) 78%); }
.aud--cocoa { --aud: rgba(75,45,29,.96); }
.aud--gold { --aud: rgba(110, 80, 30, .95); }
.aud:hover img { transform: scale(1.08); }
.aud__body { padding: 24px; display: grid; gap: 8px; }
.aud__body h3 { color: var(--white); font-size: 1.45rem; display: flex; align-items: center; gap: 12px; }
.aud__ic { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--sand); display: grid; place-items: center; }
.aud__body h3 svg { width: 22px; height: 22px; }
.aud__body p { color: rgba(255,255,255,.88); font-size: .93rem; }
@media (max-width: 900px) { .audiences { grid-template-columns: minmax(0, 1fr); } }

/* Fenêtre produit */
.modal { position: fixed; inset: 0; z-index: 210; display: grid; place-items: center; padding: 16px; background: rgba(15,26,14,.6); opacity: 0; pointer-events: none; transition: opacity .3s; }
.modal.is-open { opacity: 1; pointer-events: auto; }
.modal__card { background: var(--paper); border-radius: 22px; width: min(880px, 100%); max-height: calc(100vh - 32px); overflow: auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); transform: translateY(30px) scale(.97); transition: transform .45s var(--ease); position: relative; }
.modal.is-open .modal__card { transform: none; }
.modal__img { min-height: 300px; background: var(--cream); }
.modal__img img { width: 100%; height: 100%; object-fit: cover; }
.modal__body { padding: 28px; display: grid; gap: 14px; align-content: start; }
.modal__body p { color: var(--muted); }
.modal__body ul { margin: 0; padding-left: 18px; color: var(--ink); font-size: .92rem; display: grid; gap: 4px; }
.modal__close { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--white); display: grid; place-items: center; box-shadow: var(--shadow); z-index: 2; }
.modal__close svg { width: 20px; height: 20px; }
.variants { display: flex; flex-wrap: wrap; gap: 8px; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--white); }
.qty button { width: 38px; height: 38px; border: 0; background: none; font-size: 1.1rem; color: var(--forest); }
.qty output, .qty span { min-width: 30px; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; }
@media (max-width: 720px) { .modal__card { grid-template-columns: minmax(0, 1fr); } .modal__img { min-height: 220px; max-height: 260px; } }

/* Panier de demande */
.cart-btn { position: relative; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--white); color: var(--forest); display: grid; place-items: center; flex: none; transition: transform .3s var(--ease); }
.cart-btn svg { width: 22px; height: 22px; }
.cart-btn b { position: absolute; top: -4px; right: -4px; min-width: 21px; height: 21px; padding: 0 5px; border-radius: 999px; background: var(--gold); color: var(--white); font-size: .74rem; display: grid; place-items: center; }
.cart-btn.bump { animation: bump .6s var(--ease); }
@keyframes bump { 0% { transform: scale(1); } 30% { transform: scale(1.25) rotate(-8deg); } 60% { transform: scale(.95); } 100% { transform: scale(1); } }
.fly { position: fixed; z-index: 300; width: 54px; height: 54px; border-radius: 50%; overflow: hidden; pointer-events: none; box-shadow: var(--shadow); border: 3px solid var(--white); }
.fly img { width: 100%; height: 100%; object-fit: cover; }

.drawer { position: fixed; inset: 0; z-index: 220; pointer-events: none; overflow: hidden; }
.drawer__shade { position: absolute; inset: 0; background: rgba(15,26,14,.5); opacity: 0; transition: opacity .35s; }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--paper); transform: translateX(100%); transition: transform .5s var(--ease); display: flex; flex-direction: column; padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
.drawer.is-open { pointer-events: auto; }
.drawer.is-open .drawer__shade { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.drawer__list { flex: 1; overflow: auto; padding: 14px 22px; display: grid; gap: 12px; align-content: start; }
.line { display: grid; grid-template-columns: 60px minmax(0, 1fr) auto; gap: 12px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 8px; animation: rise .5s var(--ease); }
.line img { width: 60px; height: 60px; border-radius: 8px; object-fit: cover; }
.line strong { display: block; font-size: .92rem; }
.line small { color: var(--muted); }
.line .qty button { width: 30px; height: 30px; }
.drawer__empty { text-align: center; color: var(--muted); padding: 40px 10px; display: grid; gap: 10px; justify-items: center; }
.drawer__empty svg { width: 46px; height: 46px; color: var(--line); }
.drawer__foot { padding: 18px 22px 22px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.drawer__foot p { font-size: .84rem; color: var(--muted); }
.drawer__foot .btn { width: 100%; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--cream); display: grid; place-items: center; color: var(--forest); }
.icon-btn svg { width: 20px; height: 20px; }

.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 320; transform: translate(-50%, 30px); opacity: 0; background: var(--forest); color: var(--white); padding: 12px 20px; border-radius: 999px; font-weight: 700; font-size: .9rem; box-shadow: var(--shadow-lg); transition: opacity .3s, transform .4s var(--ease); pointer-events: none; max-width: calc(100% - 32px); text-align: center; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .leaves { display: none; }
  .marquee__track { animation: none; overflow-x: auto; }
}


/* =========================================================
   Audit : accessibilité, formulaires, confidentialité, pages annexes
   ========================================================= */
.skip { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--forest); color: var(--white); padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; transition: top .2s; }
.skip:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }

.footer__h4-2 { margin-top: 22px; }
.footer__link { background: none; border: 0; padding: 0; color: inherit; font: inherit; font-size: .92rem; text-align: left; cursor: pointer; }
.footer__link:hover { color: var(--sand); }

/* Formulaires : erreurs, compteur, piège à robots, information */
.field__err { color: #9b2c23; font-size: .8rem; font-weight: 700; min-height: 0; }
.field__err:empty { display: none; }
.field__meta { display: flex; justify-content: space-between; gap: 10px; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #b8463a; background: #fdf3f1; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__notice { display: flex; gap: 8px; align-items: flex-start; font-size: .8rem; color: var(--muted); margin: 0; grid-column: 1 / -1; }
.form__notice svg { width: 16px; height: 16px; flex: none; margin-top: 2px; }
.form__msg.is-error { color: #9b2c23; }
.form { position: relative; }

/* Galerie : bouton pause */
.marquee.is-paused .marquee__track { animation-play-state: paused; }
.marquee__ctl { display: flex; justify-content: flex-end; margin-top: 12px; }
.marquee__ctl .map-btn { border: 1px solid var(--line); background: var(--white); }
.map-btn { display: inline-flex; align-items: center; gap: 6px; border: 0; background: rgba(251,248,241,.96); border-radius: 10px; padding: 8px 12px; font-weight: 700; font-size: .82rem; color: var(--forest); cursor: pointer; }
.map-btn svg { width: 16px; height: 16px; }

/* Préférences de confidentialité */
.privacy-banner { position: fixed; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 950; max-width: 640px; margin-inline: auto; background: var(--forest); color: var(--white); border-radius: 16px; padding: 16px 18px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; box-shadow: var(--shadow-lg); animation: rise .5s var(--ease); }
.privacy-banner p { font-size: .92rem; }
.privacy-banner a { color: var(--sand); }
.privacy-banner__btns { display: flex; flex-wrap: wrap; gap: 8px; }
.privacy-banner .btn--ghost { --fg: var(--white); --bd: rgba(255,255,255,.6); }
.privacy-panel { position: fixed; inset: 0; z-index: 960; display: grid; place-items: center; padding: 16px; background: rgba(15,26,14,.55); }
.privacy-panel__card { background: var(--paper); border-radius: 20px; width: min(560px, 100%); max-height: calc(100vh - 32px); overflow: auto; padding: 24px; display: grid; gap: 14px; position: relative; }
.privacy-panel__card h2 { font-size: 1.4rem; padding-right: 40px; }
.pv-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 16px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.pv-row p { grid-column: 1 / -1; font-size: .86rem; color: var(--muted); }
.pv-row strong { font-size: .96rem; }
.pv-switch { display: inline-flex; align-items: center; gap: 8px; font-size: .84rem; font-weight: 700; color: var(--forest); cursor: pointer; }
.pv-switch input { width: 42px; height: 24px; appearance: none; background: var(--line); border-radius: 999px; position: relative; cursor: pointer; transition: background .25s; }
.pv-switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: transform .25s var(--ease); box-shadow: 0 1px 3px rgba(0,0,0,.3); }
.pv-switch input:checked { background: var(--forest-3); }
.pv-switch input:checked::after { transform: translateX(18px); }
.pv-switch input:disabled { opacity: .6; cursor: default; }
.pv-close { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--cream); display: grid; place-items: center; color: var(--forest); cursor: pointer; }
.pv-close svg { width: 18px; height: 18px; }

/* Pages légales */
.legal__hero { background: var(--cream); border-bottom: 1px solid var(--line); padding-block: clamp(36px, 6vw, 64px); }
.legal__hero .container { display: grid; gap: 10px; }
.legal__body { max-width: 860px; padding-block: 40px 80px; display: grid; gap: 14px; }
.legal__body h2 { font-size: 1.35rem; margin-top: 22px; scroll-margin-top: calc(var(--header-h) + 16px); }
.legal__body p, .legal__body li { color: var(--ink); max-width: 72ch; }
.legal__body ul { padding-left: 20px; display: grid; gap: 6px; margin: 0; }
.legal__toc { display: flex; flex-wrap: wrap; gap: 8px; }
.legal__toc a { font-size: .84rem; font-weight: 700; color: var(--forest); background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; text-decoration: none; }
.legal__toc a:hover { border-color: var(--forest-3); }
.legal__table { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; font-size: .92rem; }
.legal__table th { text-align: left; vertical-align: top; width: 30%; padding: 10px 14px; background: var(--cream); color: var(--forest); border-bottom: 1px solid var(--line); }
.legal__table td { padding: 10px 14px; border-bottom: 1px solid var(--line); }
.todo-mark { background: #fff1c2; color: #6b4a00; padding: 0 4px; border-radius: 4px; font-weight: 700; }
@media (max-width: 600px) { .legal__table th, .legal__table td { display: block; width: auto; } }

/* Page 404 */
.nf { background: var(--cream); }
.nf__inner { min-height: 60vh; display: grid; justify-items: center; align-content: center; text-align: center; gap: 16px; padding-block: 64px; }
.nf__art { display: flex; align-items: center; gap: 10px; font-family: var(--f-display); font-size: clamp(4rem, 14vw, 8rem); font-weight: 700; color: var(--forest); line-height: 1; }
.nf__art svg { width: .8em; height: .8em; color: var(--cocoa-2); animation: spin 18s linear infinite; }
.nf__inner p { color: var(--muted); max-width: 46ch; }
.nf__h2 { font-size: 1.05rem; margin-top: 18px; }
.nf__links { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; padding: 0; margin: 0; }

/* Bandeau d'appel à l'action du SIG */
.cta--sig .cta__img { min-height: 180px; }
