/* ==========================================================================
   Chemin Vert — Feuille de style
   Palette verte · glassmorphism · fonds animés · reveal au scroll · RTL
   ========================================================================== */

:root {
  /* ------------------------------------------------------------------
     CAMAÏEU DE VERTS, construit autour de #17d978 (le palier 400).
     La gamme est calculée en OKLCH, l'espace où les écarts de clarté sont
     perçus régulièrement : la teinte glisse du vert printemps (146°) à
     l'émeraude profonde (164°), et la chroma culmine au milieu de la gamme
     puis s'atténue aux extrémités pour éviter le fluo.

     Règles de lisibilité, mesurées :
       · texte sur surface claire  → palier 800 minimum
       · texte blanc sur aplat     → palier 700 minimum
       · texte sur teinte vive     → --ink (950)
     ------------------------------------------------------------------ */
  --green-50:  #f0fff0;
  --green-100: #ceffd2;
  --green-200: #83ff9b;
  --green-300: #00f671;
  --green-400: #17d978;   /* ancre de la marque */
  --green-500: #00bd66;
  --green-600: #00a05c;
  --green-700: #008651;
  --green-800: #006841;
  --green-900: #00482f;
  --green-950: #003322;

  --mint: #f0fff0;
  /* Voile des bandes de section et des boutons clairs : volontairement plus
     clair que --green-50, sinon le palier 700 tombe à 4,47 — sous le seuil. */
  --tint: #f7fff8;

  --ink:      #003322;
  --ink-soft: #00482f;
  --muted:    #007044;
  --cream:    #ffffff;
  --paper:    #ffffff;
  --line:     rgba(0, 134, 81, 0.22);

  /* Textes posés sur un aplat vert foncé */
  --on-dark:       #ceffd2;
  --on-dark-muted: #83ff9b;
  --alert:         #a83c14;

  /* Surfaces : toujours teintées, jamais du blanc translucide. */
  /* Les cartes restent blanches : c'est leur bordure, leur filet et leurs
     pastilles qui portent la couleur. Sur blanc pur, le palier 700 tient le
     seuil AA (4,64) — il ne le tiendrait pas sur une surface teintée. */
  --surface:        #ffffff;
  --surface-strong: linear-gradient(150deg, var(--green-50) 0%, var(--green-200) 100%);

  --radius:   20px;
  --radius-sm:12px;
  --shadow:   0 20px 60px -22px rgba(0, 134, 81, 0.34);
  --shadow-sm:0 8px 24px -12px rgba(0, 134, 81, 0.26);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;         /* titres émotionnels + chiffres */
  --font-ui: "Jost", "Century Gothic", "Futura", "Segoe UI", sans-serif; /* identité, labels, navigation */
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;/* corps de texte */
  --maxw: 1120px;
}

/* Arabe : substitution de police + inversion des accents directionnels */
body.rtl { --font-body: "Tajawal", "Inter", system-ui, sans-serif; }

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 92px; scrollbar-color: var(--green-400) transparent; }

/* Transitions fondues entre les pages (navigateurs compatibles) */
@view-transition { navigation: auto; }

/* Sélection de texte aux couleurs de la marque */
::selection { background: var(--green-300); color: var(--green-900); }

/* Barre de défilement fine et verte (WebKit) */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--green-300); border-radius: 999px; border: 3px solid var(--cream); }
::-webkit-scrollbar-thumb:hover { background: var(--green-500); }

/* Focus clavier visible et cohérent */
:focus-visible { outline: 2.5px solid var(--green-500); outline-offset: 3px; border-radius: 6px; }
:focus:not(:focus-visible) { outline: none; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.container { width: min(var(--maxw), 92vw); margin-inline: auto; }

/* -------------------------------------------------------------------------
   Fond animé (aurora + feuilles flottantes)
   ------------------------------------------------------------------------- */
.bg-aurora {
  position: fixed; inset: 0; z-index: -2; overflow: hidden;
  background:
    radial-gradient(1000px 560px at 86% -14%, rgba(0,246,113,.14), transparent 62%),
    radial-gradient(880px 500px at 4% 4%, rgba(23,217,120,.10), transparent 58%),
    linear-gradient(180deg, #ffffff 0%, #fbfffc 60%, var(--green-50) 100%);
}
.blob {
  position: absolute; border-radius: 50%;
  filter: blur(70px); opacity: 0.34;
  will-change: transform;
}
.blob-1 { width: 42vw; height: 42vw; left: -8vw; top: -6vw;
  background: radial-gradient(circle at 30% 30%, var(--green-200), transparent 70%);
  animation: drift1 22s ease-in-out infinite; }
.blob-2 { width: 38vw; height: 38vw; right: -6vw; top: 24vh;
  background: radial-gradient(circle at 60% 40%, var(--green-500), transparent 70%);
  animation: drift2 26s ease-in-out infinite; }
.blob-3 { width: 30vw; height: 30vw; left: 30vw; bottom: -12vw;
  background: radial-gradient(circle at 50% 50%, var(--green-300), transparent 70%);
  animation: drift3 30s ease-in-out infinite; }

@keyframes drift1 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(6vw,4vh) scale(1.12)} }
@keyframes drift2 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(-5vw,6vh) scale(1.08)} }
@keyframes drift3 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(4vw,-5vh) scale(1.15)} }

.bg-leaves { position: absolute; inset: 0; }
.leaf {
  position: absolute; top: -40px;
  color: var(--green-400); opacity: 0.35;
  animation: fall linear infinite;
  will-change: transform;
}
@keyframes fall {
  0%   { transform: translateY(-40px) rotate(0deg); opacity: 0; }
  10%  { opacity: 0.4; }
  90%  { opacity: 0.35; }
  100% { transform: translateY(105vh) rotate(360deg); opacity: 0; }
}

/* -------------------------------------------------------------------------
   Boutons & éléments partagés
   ------------------------------------------------------------------------- */
.btn {
  --pad: 0.85em 1.5em;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--font-ui); font-weight: 500; font-size: 1rem; letter-spacing: .015em;
  padding: var(--pad); border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, background .25s, color .25s;
  white-space: nowrap;
}
.btn--lg { font-size: 1.05rem; padding: 1em 1.9em; }
.btn--sm { font-size: .9rem; padding: .6em 1.1em; }
.btn--primary {
  background: linear-gradient(135deg, var(--green-700), var(--green-900));
  color: #fff; box-shadow: 0 12px 26px -12px rgba(0, 189, 102,.75), 0 0 0 3px rgba(0,246,113,.28);
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 20px 34px -12px rgba(0, 134, 81,.75); }
.btn--ghost {
  background: linear-gradient(135deg, #fff, var(--tint)); color: var(--green-700);
  border-color: var(--line);
}
.btn--ghost:hover { transform: translateY(-3px); background: var(--green-100); border-color: var(--green-400); box-shadow: var(--shadow-sm); }
.btn--primary:active, .btn--ghost:active { transform: translateY(0) scale(.97); transition-duration: .08s; }

.tag {
  display: inline-block; font-family: var(--font-ui); font-weight: 600; letter-spacing: .22em;
  text-transform: uppercase; font-size: .74rem; color: var(--green-950);
  margin-bottom: .9rem; padding: .45em 1.1em; border-radius: 999px;
  background: linear-gradient(135deg, var(--green-200), var(--green-300));
  border: 0; box-shadow: 0 6px 16px -8px rgba(0,189,102,.6);
}
.pill {
  display: inline-block; padding: .5em 1.1em; border-radius: 999px;
  background: linear-gradient(135deg, #fff, var(--tint)); border: 1px solid var(--green-300);
  font-size: .9rem; color: var(--green-700);
  font-weight: 500; box-shadow: var(--shadow-sm);
}
.link { color: var(--green-700); font-weight: 600; border-bottom: 2px solid var(--green-400); }
.link:hover { border-color: var(--green-700); }

.section { padding: clamp(4rem, 9vw, 8rem) 0; position: relative; }
.section__title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.9rem, 4.5vw, 3.1rem); line-height: 1.12;
  letter-spacing: -.01em; color: var(--green-700); max-width: 16ch;
}
.section__intro {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted);
  max-width: 62ch; margin-top: 1.1rem;
}
.prose { max-width: 64ch; margin-top: 1.4rem; }
.prose p { font-size: clamp(1.02rem,1.5vw,1.18rem); color: var(--ink-soft); margin-top: 1rem; }

/* -------------------------------------------------------------------------
   Navigation
   ------------------------------------------------------------------------- */
/* Barre flottante en capsule de verre */
.nav {
  position: fixed; top: .7rem; inset-inline: clamp(.6rem, 3vw, 1.6rem); z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .5rem .5rem .5rem 1.1rem;
  border-radius: 20px;
  background: rgba(255,255,255,.5);
  border: 1px solid rgba(255,255,255,.65);
  backdrop-filter: blur(18px) saturate(1.5);
  box-shadow: 0 12px 34px -20px rgba(0, 51, 34,.4);
  transition: background .3s, box-shadow .3s, transform .45s cubic-bezier(.2,.8,.2,1), border-radius .3s;
}
.nav--hidden { transform: translateY(-140%); }
.nav.scrolled {
  background: rgba(255,255,255,.78);
  box-shadow: 0 16px 40px -22px rgba(0, 51, 34,.55);
}
.nav__brand { display: flex; align-items: center; gap: .55rem; font-weight: 700; }
.nav__brand::before {
  content: ""; width: 11px; height: 11px; border-radius: 50%; flex: 0 0 auto;
  background: linear-gradient(135deg, var(--green-400), var(--green-700));
  box-shadow: 0 0 0 4px rgba(39,163,92,.16);
  animation: dotpulse 3.2s ease-in-out infinite;
}
@keyframes dotpulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(39,163,92,.16); }
  50%      { box-shadow: 0 0 0 7px rgba(39,163,92,.06); }
}
.nav__logo { width: 34px; height: 34px; object-fit: contain; }
.nav__name {
  font-family: var(--font-ui); font-weight: 500; text-transform: uppercase;
  font-size: .98rem; letter-spacing: .18em; color: var(--green-900);
}

/* Liens en pastilles segmentées */
.nav__links {
  display: flex; gap: .15rem; padding: .25rem;
  background: rgba(0, 134, 81,.06); border-radius: 999px;
}
.nav__links a {
  font-family: var(--font-ui); font-weight: 500; font-size: .9rem; letter-spacing: .02em; color: var(--ink-soft);
  padding: .5rem 1rem; border-radius: 999px; line-height: 1;
  transition: color .25s, background .25s, box-shadow .25s;
}
.nav__links a:hover { color: var(--green-700); background: rgba(255,255,255,.75); }
.nav__links a.active {
  color: #fff; background: linear-gradient(135deg, var(--green-500), var(--green-700));
  box-shadow: 0 8px 16px -8px rgba(0, 134, 81,.65);
}

.nav__actions { display: flex; align-items: center; gap: .7rem; }
.nav__cta { gap: .45em; }
.nav__cta-count {
  font-variant-numeric: tabular-nums; font-weight: 700; font-size: .82em;
  background: rgba(255,255,255,.24); color: #fff;
  padding: .05em .5em; border-radius: 999px; line-height: 1.5;
}

/* Sélecteur de langue */
.lang { position: relative; }
.lang__btn {
  display: flex; align-items: center; gap: .4rem; cursor: pointer;
  background: rgba(255,255,255,.55); border: 1px solid var(--line);
  border-radius: 999px; padding: .45rem .7rem; font-weight: 600; font-size: .85rem;
  color: var(--green-700); transition: background .2s;
}
.lang__btn:hover { background: #fff; }
.lang__flag { font-size: 1.05rem; line-height: 1; }
.lang__menu {
  position: absolute; inset-inline-end: 0; top: calc(100% + .5rem);
  list-style: none; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; box-shadow: var(--shadow); padding: .4rem;
  min-width: 172px; opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .2s, transform .2s, visibility .2s; z-index: 120;
}
.lang.open .lang__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang__menu li {
  display: flex; align-items: center; gap: .6rem; padding: .55rem .7rem;
  border-radius: 9px; cursor: pointer; font-size: .92rem; font-weight: 500;
}
.lang__menu li:hover { background: var(--green-50); }
.lang__menu li.active { background: var(--green-100); color: var(--green-700); font-weight: 700; }
.lang__menu li .flag { font-size: 1.15rem; }

.nav__burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav__burger span { width: 24px; height: 2.5px; background: var(--green-800); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav.open .nav__burger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav.open .nav__burger span:nth-child(2) { opacity: 0; }
.nav.open .nav__burger span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* -------------------------------------------------------------------------
   Hero
   ------------------------------------------------------------------------- */
.hero {
  min-height: 100vh; display: grid; align-items: center;
  grid-template-columns: 1.15fr .85fr; gap: 2rem;
  width: min(var(--maxw), 92vw); margin-inline: auto;
  padding: 7rem 0 4rem; position: relative;
}
.hero__inner { max-width: 40rem; }
.hero__title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2.4rem, 6vw, 4.4rem); line-height: 1.05;
  letter-spacing: -.02em; color: var(--green-900); margin: 1.2rem 0 1rem;
}
.hero__subtitle { font-size: clamp(1.1rem, 1.8vw, 1.35rem); color: var(--muted); max-width: 40ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }

.counter { display: flex; align-items: baseline; gap: .6rem; margin-top: 2.6rem; flex-wrap: wrap; }
.counter__num {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.2rem, 4vw, 3rem); color: var(--green-700);
  font-variant-numeric: tabular-nums; letter-spacing: -.02em;
}
.counter__label { color: var(--muted); font-size: 1.02rem; }

.hero__emblem {
  width: 100%; max-width: 460px; margin-inline: auto;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.8rem;
}
.emblem-visual { position: relative; width: min(74%, 300px); aspect-ratio: 1; display: grid; place-items: center; }
@keyframes floaty { 0%,100%{ transform: translateY(0) } 50%{ transform: translateY(-16px) } }

/* Mot-symbole « CHEMIN / VERT » — lettres justifiées, deux lignes de même largeur */
.wordmark {
  width: min(74%, 300px); text-transform: uppercase; direction: ltr;
  font-family: "Jost", "Century Gothic", "Futura", var(--font-body);
  color: var(--green-700); line-height: 1;
}
.wm-line {
  display: flex; justify-content: space-between;
  font-size: clamp(1.7rem, 3.8vw, 2.7rem);
}
.wm-line i { font-style: normal; }
.wm-line--top { font-weight: 300; }
.wm-line--bottom { font-weight: 700; color: var(--green-700); margin-top: .1em; }

.hero__scroll {
  position: absolute; bottom: 1.4rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .3rem;
  color: var(--green-700); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
}
.hero__scroll svg { animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 0%,100%{ transform: translateY(0) } 50%{ transform: translateY(5px) } }

/* -------------------------------------------------------------------------
   Forme organique abstraite (emblème provisoire, en attendant le logo)
   ------------------------------------------------------------------------- */
/* Sphère verte « glossy » (logo intermédiaire, inspiré de la plaquette) */
.blob-shape {
  display: block; width: 100%; aspect-ratio: 1; border-radius: 50%;
  position: relative; overflow: hidden; z-index: 1;
  background: radial-gradient(circle at 37% 29%, #f7fff9 0%, #83ff9b 14%, #00f671 34%, #17d978 56%, #008651 82%, #00301f 100%);
  box-shadow: inset -16px -20px 40px rgba(0, 51, 34,.5), inset 12px 14px 28px rgba(255,255,255,.28),
              0 24px 44px -22px rgba(0, 134, 81,.5);
  animation: floaty 7s ease-in-out infinite;
}
/* Halo lumineux large */
.blob-shape::before {
  content: ""; position: absolute; top: 8%; left: 18%; width: 42%; height: 32%;
  border-radius: 50%; filter: blur(4px);
  background: radial-gradient(ellipse at center, rgba(255,255,255,.9), rgba(255,255,255,0) 70%);
}
/* Point spéculaire net */
.blob-shape::after {
  content: ""; position: absolute; top: 13%; left: 31%; width: 11%; height: 8.5%;
  border-radius: 50%; filter: blur(.5px); background: #fff; opacity: .95;
}
.blob-shape--sm { width: 100%; max-width: 300px; }

/* Ombre portée douce au sol (comme sur la plaquette) */
.emblem-shadow {
  position: absolute; z-index: 0; bottom: -9%; left: 50%;
  width: 60%; height: 11%; border-radius: 50%; filter: blur(9px);
  background: radial-gradient(ellipse at center, rgba(10,50,28,.4), rgba(10,50,28,.12) 55%, transparent 72%);
  animation: shadowfloat 7s ease-in-out infinite;
}
@keyframes shadowfloat {
  0%, 100% { transform: translateX(-50%) scale(1);   opacity: .95; }
  50%      { transform: translateX(-50%) scale(.84); opacity: .6; }
}
@keyframes morph {
  0%,100% { border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%; }
  50%     { border-radius: 62% 38% 32% 68% / 55% 62% 38% 45%; }
}
@keyframes spin { to { transform: rotate(360deg); } }

/* -------------------------------------------------------------------------
   Section charte : grille de valeurs
   ------------------------------------------------------------------------- */
/* Rythme du site : les sections alternent fond de page et bandes teintées,
   pour éviter la grande étendue uniforme qui rendait les pages ternes. */
.section--charter { background:
  linear-gradient(180deg, transparent, var(--tint) 30%, transparent);
}
.section--explore { background:
  linear-gradient(180deg, transparent, var(--tint) 45%, transparent);
}
.values {
  margin-top: 2.6rem;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 1rem;
}
.value {
  position: relative; padding: 1.5rem 1.4rem 1.4rem; contain: content;
  background: var(--surface); border: 1.5px solid rgba(0, 246, 113, .45);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm); overflow: hidden; cursor: pointer;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s, border-color .35s;
  opacity: 0; transform: translateY(18px);
}
.value.in { opacity: 1; transform: translateY(0); }
.value:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--green-400); }
/* Grand numéro filigrane */
.value__idx {
  position: absolute; top: .2rem; inset-inline-end: .7rem;
  font-family: var(--font-display); font-weight: 500; font-size: 3.4rem; line-height: 1;
  color: var(--green-600); opacity: 1; transition: color .35s, transform .35s; pointer-events: none;
}
.value:hover .value__idx { color: var(--green-700); transform: scale(1.08); }
.value__name {
  position: relative; font-family: var(--font-display); font-weight: 500;
  font-size: 1.5rem; color: var(--green-700); line-height: 1.12; margin-bottom: .5rem;
}
.value__alt { font-family: var(--font-ui); font-size: .8rem; color: var(--muted); }
.value__alt span::after { content: " · "; color: var(--green-300); }
.value__alt span:last-child::after { content: ""; }
/* Icône « langues » révélée au survol */
.value__globe {
  position: absolute; bottom: .8rem; inset-inline-end: .8rem; width: 20px; height: 20px;
  color: var(--green-500); opacity: 0; transform: translateY(4px); transition: opacity .3s, transform .3s;
}
.value:hover .value__globe { opacity: .9; transform: none; }
.value__globe svg { width: 100%; height: 100%; }

/* Indice cliquable sous le titre des valeurs */
.values__hint {
  display: flex; width: fit-content; max-width: 100%; align-items: center; gap: .5rem;
  margin: 1.3rem auto 0; text-align: center;
  font-family: var(--font-ui); font-size: .85rem; color: var(--green-700);
  background: var(--green-50); border: 1px solid var(--line);
  padding: .55em 1.2em; border-radius: 999px;
}
.values__hint::before { content: "🌍"; font-size: 1rem; }

.charter__note {
  margin-top: 2.4rem; font-family: var(--font-display); font-style: italic;
  font-size: clamp(1.2rem,2.4vw,1.7rem); color: var(--green-700); max-width: 30ch;
}

/* -------- Hero manifeste (page Charte) -------- */
.charte-hero { position: relative; padding: clamp(7rem,13vw,10.5rem) 0 clamp(1.5rem,4vw,3rem); text-align: center; overflow: hidden; }
.charte-hero__glow {
  position: absolute; top: -12%; left: 50%; transform: translateX(-50%);
  width: 680px; max-width: 130%; aspect-ratio: 1; z-index: -1; pointer-events: none;
  background: radial-gradient(circle, rgba(76,187,122,.22), transparent 62%);
}
.charte-hero__title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2.6rem, 7vw, 4.6rem); line-height: 1.04; letter-spacing: -.02em;
  color: var(--green-900); margin: .3rem auto 0; max-width: 16ch;
}
.manifesto {
  position: relative; max-width: 660px; margin: 2.6rem auto 0; text-align: start;
  background: var(--surface); border: 1.5px solid rgba(0, 246, 113, .45);
  border-radius: var(--radius); box-shadow: var(--shadow-sm); backdrop-filter: blur(12px);
  padding: clamp(2.2rem,5vw,3.4rem) clamp(1.8rem,4vw,3rem);
}
.manifesto__mark {
  position: absolute; top: -.25em; inset-inline-start: .35em;
  font-family: var(--font-display); font-size: 6rem; line-height: 1; color: var(--green-400);
  pointer-events: none; user-select: none;
}
.manifesto__lead {
  font-family: var(--font-display); font-weight: 400; font-style: italic;
  font-size: clamp(1.25rem,2.6vw,1.65rem); line-height: 1.42; color: var(--green-900);
}
.manifesto__body p + p { margin-top: 1rem; color: var(--ink-soft); font-size: 1.04rem; line-height: 1.7; }

/* -------------------------------------------------------------------------
   Section signature
   ------------------------------------------------------------------------- */
.section--sign { }
.sign__card {
  max-width: 720px; text-align: center;
  background: var(--surface); border: 1.5px solid rgba(0, 246, 113, .45);
  border-radius: var(--radius); box-shadow: var(--shadow);
  backdrop-filter: blur(16px); position: relative; overflow: hidden;
  padding: clamp(2rem, 5vw, 3.6rem);
}
.sign__card::before, .download::before, .vlist::before {
  content: ""; position: absolute; inset-inline: 0; top: 0; height: 4px;
  background: linear-gradient(90deg, var(--green-300), var(--green-400), var(--green-600));
}
.sign__card .tag, .sign__card .section__title, .sign__card .section__intro { margin-inline: auto; }
.sign__card .section__title { max-width: none; }
.sign__form {
  display: flex; gap: .7rem; margin: 1.8rem auto 0; max-width: 480px; flex-wrap: wrap;
}
.sign__input {
  flex: 1 1 240px; padding: 1em 1.2em; border-radius: 999px;
  border: 1.5px solid var(--line); background: #fff; font-size: 1rem;
  font-family: var(--font-body); color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.sign__input:focus { outline: none; border-color: var(--green-500); box-shadow: 0 0 0 4px rgba(39,163,92,.16); }
.sign__form .btn { flex: 0 0 auto; }
.sign__msg { min-height: 1.4em; margin-top: 1rem; font-weight: 600; font-size: .98rem; }
.sign__msg.ok { color: var(--green-700); }
.sign__msg.err { color: var(--alert); }
.sign__privacy { font-size: .84rem; color: var(--muted); margin-top: .8rem; max-width: 46ch; margin-inline: auto; }
.sign__counter { margin-top: 1.8rem; font-size: 1.05rem; color: var(--green-700); }
.sign__counter strong { font-family: var(--font-display); font-size: 1.5rem; color: var(--green-700); font-variant-numeric: tabular-nums; }
.btn.is-loading { opacity: .7; pointer-events: none; }

/* Désinscription */
.unsub { margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.unsub__toggle {
  background: none; border: 0; cursor: pointer; font-family: var(--font-ui);
  font-size: .85rem; color: var(--muted); text-decoration: underline;
  text-underline-offset: 3px; text-decoration-color: var(--green-300);
  transition: color .2s;
}
.unsub__toggle:hover { color: var(--green-700); }
.unsub__toggle.open { color: var(--green-700); }
.unsub__panel { margin-top: 1.1rem; animation: unsubIn .35s cubic-bezier(.2,.8,.2,1); }
@keyframes unsubIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.unsub__intro { font-size: .9rem; color: var(--muted); margin-bottom: .8rem; }
.unsub__panel .sign__form { margin-top: 0; }

/* -------------------------------------------------------------------------
   Boutique
   ------------------------------------------------------------------------- */
/* Bandeau « boutique pas encore ouverte » */
.shop-notice {
  display: flex; align-items: center; gap: 1.1rem;
  background: linear-gradient(135deg, var(--green-50), var(--green-100));
  border: 1px solid var(--green-300); border-radius: var(--radius);
  padding: 1.1rem 1.4rem; box-shadow: var(--shadow-sm);
}
.shop-notice__badge {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--green-500), var(--green-700));
  box-shadow: 0 8px 18px -8px rgba(0, 134, 81,.6);
}
.shop-notice__text strong { display: block; font-family: var(--font-display); font-size: 1.2rem; color: var(--green-900); }
.shop-notice__text p { color: var(--ink-soft); font-size: .95rem; margin-top: .15rem; }

/* La grille suit le nombre réel de produits : de 1 colonne sur téléphone à
   autant que la largeur le permet, sans jamais descendre sous 240 px. */
.shop__grid {
  margin-top: 1.8rem; display: grid; gap: 1.4rem;
  grid-template-columns: repeat(auto-fit, minmax(clamp(240px, 28vw, 300px), 1fr));
}
.product {
  background: var(--surface); border: 1.5px solid rgba(0, 246, 113, .45);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); contain: content;
  padding-bottom: 1.4rem; transition: transform .35s, box-shadow .35s; position: relative;
}
.product:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.product__visual {
  aspect-ratio: 4/3; display: grid; place-items: center; position: relative; overflow: hidden;
}
.product__visual--1 { background: linear-gradient(135deg, var(--green-100), var(--green-300)); }
.product__visual--2 { background: linear-gradient(135deg, var(--green-300), var(--green-500)); }
.product__visual--3 { background: linear-gradient(135deg, var(--green-500), var(--green-700)); }
.product__visual::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 25%, rgba(255,255,255,.5), transparent 55%);
}
.product__soon {
  position: absolute; top: 1rem; inset-inline-start: 1rem;
  background: rgba(255,255,255,.92); color: var(--green-700);
  font-family: var(--font-ui); font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  padding: .35em .8em; border-radius: 999px; box-shadow: var(--shadow-sm);
}
.product h3 { font-family: var(--font-display); font-size: 1.35rem; color: var(--green-700); margin: 1.1rem 1.3rem .2rem; }
.product p { color: var(--muted); margin: 0 1.3rem; font-size: .96rem; }
.shop__notify { margin-top: 2.2rem; text-align: center; }

/* -------------------------------------------------------------------------
   À propos
   ------------------------------------------------------------------------- */
.section--about { background: linear-gradient(180deg, transparent, var(--tint) 55%, transparent); }
.about__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3rem; align-items: center; }
.about__emblem { display: grid; place-items: center; }
.about__contact { margin-top: 1.4rem; color: var(--ink-soft); }

/* -------------------------------------------------------------------------
   Badges "sans ambition politique…"
   ------------------------------------------------------------------------- */
.badges { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--surface); border: 1.5px solid rgba(0, 246, 113, .45);
  border-radius: 999px; padding: .55em 1.1em; font-weight: 500; font-size: .95rem;
  color: var(--green-700);
}
.badge__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-500); }

/* -------------------------------------------------------------------------
   Pied de page
   ------------------------------------------------------------------------- */
.footer {
  background: linear-gradient(160deg, var(--green-800), var(--green-900) 55%);
  color: var(--on-dark); padding: 3.5rem 0 2.5rem; margin-top: 2rem;
  border-top: 3px solid transparent;
  border-image: linear-gradient(90deg, var(--green-300), var(--green-400), var(--green-300)) 1;
}
.footer__inner { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; align-items: flex-start; }
.footer__brand { display: flex; gap: 1rem; align-items: center; max-width: 30rem; }
.footer__logo { width: 54px; height: 54px; object-fit: contain; flex: 0 0 auto; }
.footer__brand strong { font-family: var(--font-ui); font-weight: 500; text-transform: uppercase; letter-spacing: .16em; font-size: 1.05rem; color: #fff; }
.footer__brand p { color: var(--on-dark-muted); font-size: .95rem; margin-top: .2rem; }
.footer__meta { text-align: end; font-size: .9rem; color: var(--on-dark-muted); }
.footer__rights { margin-top: .4rem; }

/* -------------------------------------------------------------------------
   Reveal au scroll
   ------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* -------------------------------------------------------------------------
   RTL (arabe)
   ------------------------------------------------------------------------- */
body.rtl .hero { grid-template-columns: .85fr 1.15fr; }
body.rtl .hero__emblem { order: -1; }
body.rtl .footer__meta { text-align: start; }
body.rtl .value__alt span::after { content: " · "; }

/* -------------------------------------------------------------------------
   Responsive
   ------------------------------------------------------------------------- */
@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 6rem; }
  body.rtl .hero { grid-template-columns: 1fr; }
  .hero__inner { max-width: none; margin-inline: auto; }
  .hero__subtitle, .hero__title { margin-inline: auto; }
  .hero__cta, .counter { justify-content: center; }
  .hero__emblem { max-width: 320px; order: -1; }
  .about__grid { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .nav__links {
    position: absolute; top: calc(100% + .55rem); inset-inline: 0;
    flex-direction: column; gap: .3rem; padding: .6rem;
    background: rgba(255,255,255,.94); backdrop-filter: blur(18px);
    border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow);
    transform-origin: top; transform: translateY(-10px) scaleY(.6);
    opacity: 0; visibility: hidden;
    transition: transform .3s cubic-bezier(.2,.8,.2,1), opacity .25s, visibility .3s;
  }
  .nav__links a { text-align: center; padding: .8rem 1rem; font-size: 1.05rem; }
  .nav.open .nav__links { transform: none; opacity: 1; visibility: visible; }
  .nav__burger { display: flex; }
  .nav__cta { display: none; }
}

/* =========================================================================
   COMPOSANTS MULTI-PAGES
   ========================================================================= */

/* Le hero laisse dépasser le bandeau des valeurs au chargement */
.hero { min-height: 74vh; padding-bottom: 2rem; }

/* Titres/paragraphes centrés (utilisés sur charte, adhérer) */
.section__title--center { max-width: none; text-align: center; margin-inline: auto; }
.section__intro--center { text-align: center; margin-inline: auto; }
.section--tight { padding: clamp(3rem, 6vw, 5rem) 0; }
.prose--center { max-width: 60ch; margin-inline: auto; text-align: center; }
.prose--center p { color: var(--ink-soft); }

/* En-tête de page (charte, boutique) */
.page-head { padding: clamp(7rem, 12vw, 10rem) 0 clamp(1.5rem, 4vw, 3rem); text-align: center; }
.page-head__title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2.4rem, 6vw, 4rem); line-height: 1.06; letter-spacing: -.02em;
  color: var(--green-700); max-width: 18ch; margin: .6rem auto 0;
}

/* -------- Bandeau défilant des valeurs (accueil) -------- */
.values-band {
  display: block; overflow: hidden; cursor: pointer;
  width: 104vw; margin-inline: -2vw; transform: rotate(-1.4deg);
  padding: 1.6rem 0 1.8rem; position: relative; z-index: 1;
  background: linear-gradient(90deg, rgba(215,240,224,0), rgba(215,240,224,.5), rgba(215,240,224,0));
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.values-band__row {
  display: flex; align-items: center; gap: 2.4rem; width: max-content;
  animation: vbscroll 55s linear infinite; will-change: transform;
}
.values-band__row--alt {
  margin-top: 1.1rem; opacity: .5;
  animation-direction: reverse; animation-duration: 75s;
}
.values-band:hover .values-band__row { animation-play-state: paused; }
@keyframes vbscroll { to { transform: translateX(-50%); } }
.vb__item {
  font-family: var(--font-display); font-weight: 500; white-space: nowrap;
  font-size: clamp(1.8rem, 3.6vw, 2.8rem); line-height: 1.15; color: var(--green-700);
}
.vb__item--outline { color: var(--green-400); }
@supports (-webkit-text-stroke: 1px #000) {
  .vb__item--outline { color: transparent; -webkit-text-stroke: 1.3px var(--green-500); }
}
.vb__item--sm { font-size: clamp(1.05rem, 1.9vw, 1.5rem); font-style: italic; color: var(--green-700); }
.vb__sep { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--green-400); }

/* -------- Bandeau compteur (accueil) -------- */
.cband { padding: clamp(2rem, 5vw, 4rem) 0; }
.cband__inner {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center; background: linear-gradient(135deg, var(--green-700), var(--green-900));
  color: #fff; border-radius: var(--radius); padding: clamp(2rem, 5vw, 3.4rem);
  box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.cband__inner::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(255,255,255,.14), transparent 70%); pointer-events: none;
}
.cband__num {
  font-family: var(--font-display); font-weight: 600; line-height: .9;
  font-size: clamp(3.4rem, 11vw, 7rem); color: var(--green-200);
  font-variant-numeric: tabular-nums; letter-spacing: -.03em;
}
.cband__label { font-family: var(--font-ui); text-transform: uppercase; letter-spacing: .18em; font-size: .78rem; color: var(--green-300); font-weight: 500; }
.cband__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.4rem, 3vw, 2.1rem); margin: .3rem 0 .5rem; }
.cband__sub { color: var(--on-dark-muted); margin-bottom: 1.4rem; max-width: 44ch; }
.cband .btn--primary { background: #fff; color: var(--green-700); box-shadow: none; }
.cband .btn--primary:hover { background: var(--green-50); }

/* -------- Cartes "Explorer" (accueil) -------- */
.cards { margin-top: 2.6rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.card {
  display: block; padding: 2rem 1.8rem; border-radius: var(--radius); contain: content;
  background: var(--surface); border: 1.5px solid rgba(0, 246, 113, .45);
  box-shadow: var(--shadow-sm);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s;
}
.card:hover { transform: translateY(-8px); box-shadow: 0 26px 60px -20px rgba(0,189,102,.45); border-color: var(--green-400); }
.card__art {
  display: grid; place-items: center; position: relative; overflow: hidden;
  width: 64px; height: 64px; border-radius: 18px; margin-bottom: 1.3rem;
  box-shadow: var(--shadow-sm), 0 0 0 4px rgba(0,246,113,.35);
  transition: transform .4s cubic-bezier(.2,.8,.2,1);
}
.card__art::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 25%, rgba(255,255,255,.5), transparent 60%);
}
.card__art--1 { background: linear-gradient(135deg, var(--green-200), var(--green-400)); }
.card__art--2 { background: linear-gradient(135deg, var(--green-300), var(--green-500)); }
.card__art--3 { background: linear-gradient(135deg, var(--green-400), var(--green-600)); }
.card__art-icon {
  position: relative; z-index: 1; width: 28px; height: 28px;
  stroke: var(--green-950);        /* remplace le stroke="#fff" du balisage */
  filter: drop-shadow(0 1px 2px rgba(255,255,255,.5));
  transition: transform .4s cubic-bezier(.2,.8,.2,1);
}
.card:hover .card__art { transform: translateY(-2px) rotate(-3deg); }
.card:hover .card__art-icon { transform: scale(1.12) rotate(5deg); }
.card h3 { font-family: var(--font-display); font-size: 1.5rem; color: var(--green-700); }
.card p { color: var(--muted); margin: .5rem 0 1rem; }
.card__link { font-weight: 600; color: var(--green-700); }
.card__link::after { content: " →"; transition: margin .25s; }
.card:hover .card__link::after { margin-inline-start: .3rem; }
body.rtl .card__link::after { content: " ←"; }

/* -------- Lead + valeurs centrées (charte) -------- */
.charter__lead {
  font-family: var(--font-display); font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  line-height: 1.4; color: var(--green-900); font-weight: 400;
}
.charter__note--center { margin-inline: auto; text-align: center; }
.section__title--center + .section__intro--center { margin-bottom: 0; }

/* -------- Bloc téléchargement (charte) -------- */
.download {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center; background: var(--surface); border: 1.5px solid rgba(0, 246, 113, .45);
  border-radius: var(--radius); box-shadow: var(--shadow); backdrop-filter: blur(14px);
  padding: clamp(1.8rem, 4vw, 3rem); position: relative; overflow: hidden;
}
/* Vignette « mini-charte » avec profondeur */
.download__doc {
  position: relative; flex: 0 0 auto; width: 150px; height: 186px;
  perspective: 600px;
}
.dd-sheet {
  position: absolute; inset: 0; border-radius: 12px; background: #fff;
  box-shadow: 0 18px 40px -18px rgba(0, 51, 34,.4);
}
.dd-sheet--back {
  background: var(--green-50);
  transform: rotate(-6deg) translate(-8px, 6px) scale(.97);
  box-shadow: 0 10px 26px -16px rgba(0, 51, 34,.35);
}
.dd-sheet--front {
  display: flex; flex-direction: column; gap: 9px; padding: 0 0 14px;
  overflow: hidden; border: 1px solid rgba(0, 134, 81,.1);
  transform: rotate(2deg);
  transition: transform .5s cubic-bezier(.2,.8,.2,1);
  animation: docfloat 6s ease-in-out infinite;
}
.download:hover .dd-sheet--front { transform: rotate(0deg) translateY(-4px); }
@keyframes docfloat { 0%,100%{ transform: rotate(2deg) translateY(0) } 50%{ transform: rotate(2deg) translateY(-7px) } }
.dd-head {
  height: 42px; background: linear-gradient(135deg, var(--green-500), var(--green-700));
  display: flex; align-items: center; gap: 6px; padding: 0 12px; margin-bottom: 5px;
}
.dd-dot { width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,.9); flex: 0 0 auto; }
.dd-brand { height: 5px; width: 62px; border-radius: 3px; background: rgba(255,255,255,.6); }
.dd-title { height: 9px; width: 64%; margin: 2px 14px 4px; border-radius: 3px;
  background: linear-gradient(90deg, var(--green-700), var(--green-400)); }
.dd-rows { display: flex; flex-direction: column; gap: 8px; padding: 4px 14px 0; }
.dd-rows span { height: 6px; border-radius: 3px; background: var(--green-100); position: relative; }
.dd-rows span::before {
  content: ""; position: absolute; inset-inline-start: 0; top: -1px; width: 12px; height: 8px;
  border-radius: 2px; background: var(--green-300);
}
.dd-rows span { padding-inline-start: 18px; }
.dd-rows span:nth-child(1) { width: 92%; } .dd-rows span:nth-child(2) { width: 82%; }
.dd-rows span:nth-child(3) { width: 88%; } .dd-rows span:nth-child(4) { width: 74%; }
.dd-badge {
  position: absolute; bottom: -8px; inset-inline-end: -8px; z-index: 2;
  font-family: var(--font-ui); font-weight: 600; font-size: .68rem; letter-spacing: .08em;
  color: #fff; background: linear-gradient(135deg, var(--alert), #d9632f);
  padding: .4em .7em; border-radius: 8px; box-shadow: 0 8px 18px -8px rgba(180,71,31,.7);
  transform: rotate(3deg);
}
.download__body .section__title { max-width: none; }
.download__body .section__intro { margin-bottom: 1.3rem; }

/* -------- Bande CTA (charte) -------- */
.section--cta { padding-bottom: clamp(4rem, 9vw, 7rem); }
.cta-band {
  text-align: center; background: var(--surface-strong);
  border: 1px solid var(--green-300); border-radius: var(--radius); padding: clamp(2.4rem, 6vw, 4rem);
}
.cta-band .section__title { max-width: 22ch; margin-inline: auto; }
.cta-band__count { font-size: 1.1rem; color: var(--ink); margin: 1rem 0 1.6rem; }
.cta-band__count .js-counter { font-family: var(--font-display); font-size: 1.6rem; color: var(--green-950); font-weight: 700; }

/* -------- Compteur géant (adhérer) -------- */
.join-hero { padding: clamp(7rem, 13vw, 11rem) 0 clamp(2rem, 5vw, 4rem); text-align: center; }
.join-hero__pre { font-family: var(--font-ui); text-transform: uppercase; letter-spacing: .22em; font-size: .85rem; font-weight: 500; color: var(--green-700); }
.join-hero__num {
  font-family: var(--font-display); font-weight: 600; line-height: .85;
  font-size: clamp(5rem, 22vw, 15rem);
  background: linear-gradient(135deg, var(--green-600), var(--green-900));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-variant-numeric: tabular-nums; letter-spacing: -.04em; margin: .3rem 0;
}
.join-hero__post { font-size: clamp(1.1rem, 2vw, 1.4rem); color: var(--muted); }

/* -------- Pourquoi adhérer -------- */
.why { margin-top: 2.4rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.why__item {
  padding: 1.8rem; background: var(--surface); border: 1.5px solid rgba(0, 246, 113, .45);
  border-radius: var(--radius-sm); box-shadow: var(--shadow-sm);
}
.why__num { font-family: var(--font-display); font-size: 1.4rem; color: var(--green-700); font-weight: 600; }
.why__item h3 { font-family: var(--font-display); font-size: 1.35rem; color: var(--green-700); margin: .3rem 0 .5rem; }
.why__item p { color: var(--muted); }

/* -------- Pied de page : navigation -------- */
.footer__nav { display: flex; flex-direction: column; gap: .5rem; }
.footer__nav a { color: var(--on-dark-muted); font-size: .95rem; transition: color .2s; }
.footer__nav a:hover { color: var(--green-200); }

/* =========================================================================
   FONCTIONNALITÉS 2027
   ========================================================================= */

/* -------- Barre de progression de défilement -------- */
.scroll-progress {
  position: fixed; top: 0; inset-inline: 0; height: 3px; z-index: 200;
  background: linear-gradient(90deg, var(--green-400), var(--green-700));
  transform: scaleX(0); transform-origin: left; will-change: transform;
}
body.rtl .scroll-progress { transform-origin: right; }

/* -------- Barre d'objectif (milestone) -------- */
.milestone { margin: 1.4rem 0; max-width: 460px; }
.milestone--wide { margin: 2.4rem auto 0; max-width: 560px; }
.milestone__head { display: flex; justify-content: space-between; font-family: var(--font-ui); font-size: .82rem; font-weight: 500; letter-spacing: .02em; margin-bottom: .5rem; }
.milestone__bar { height: 10px; border-radius: 999px; background: var(--green-100); box-shadow: inset 0 1px 3px rgba(0, 72, 47,.14); overflow: hidden; }
.milestone__fill {
  display: block; height: 100%; width: 0; border-radius: 999px;
  background: linear-gradient(90deg, var(--green-300), var(--green-500));
  box-shadow: 0 0 12px rgba(23, 217, 120,.55);
  transition: width 1.2s cubic-bezier(.2,.8,.2,1);
}
.milestone--light .milestone__head { color: var(--on-dark); }
.milestone--light .milestone__bar { background: rgba(255,255,255,.22); }
.milestone--light .milestone__fill { background: linear-gradient(90deg, var(--green-300), #fff); }
.milestone--wide .milestone__head { color: var(--green-700); }

/* Pulsation du compteur quand il atteint sa valeur */
.pop { animation: countpop .5s cubic-bezier(.2,.8,.2,1); }
@keyframes countpop { 0%{ transform: scale(1) } 35%{ transform: scale(1.06) } 100%{ transform: scale(1) } }

/* -------- Modale valeur (7 langues) -------- */
.value { cursor: pointer; }
.vmodal {
  position: fixed; inset: 0; z-index: 300; display: grid; place-items: center;
  background: rgba(0, 51, 34,.42); backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; padding: 1.2rem;
}
.vmodal.open { opacity: 1; visibility: visible; }
.vmodal__box {
  position: relative; width: min(460px, 100%); max-height: 88vh; overflow-y: auto;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: clamp(1.6rem, 4vw, 2.4rem); transform: translateY(16px) scale(.98);
  transition: transform .3s cubic-bezier(.2,.8,.2,1);
}
.vmodal.open .vmodal__box { transform: none; }
.vmodal__close {
  position: absolute; top: .8rem; inset-inline-end: .9rem; width: 34px; height: 34px;
  border: 0; border-radius: 50%; background: var(--green-50); color: var(--green-700);
  font-size: 1.4rem; line-height: 1; cursor: pointer; transition: background .2s;
}
.vmodal__close:hover { background: var(--green-100); }
.vmodal__kicker { font-family: var(--font-ui); text-transform: uppercase; letter-spacing: .2em; font-size: .74rem; font-weight: 600; color: var(--green-700); }
.vmodal__title { font-family: var(--font-display); font-size: clamp(1.8rem, 5vw, 2.6rem); color: var(--green-900); margin: .2rem 0 1.2rem; }
.vmodal__list { list-style: none; display: flex; flex-direction: column; gap: .2rem; }
.vmodal__list li {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .8rem;
  padding: .7rem .8rem; border-radius: 10px;
}
.vmodal__list li.is-current { background: var(--green-50); }
.vmodal__flag { font-size: 1.2rem; }
.vmodal__lang { color: var(--muted); font-size: .92rem; }
.vmodal__word { font-family: var(--font-display); font-size: 1.15rem; color: var(--green-700); font-weight: 500; text-align: end; }

/* -------- Boutique : produits enrichis -------- */
.product__visual { position: relative; }
.product__price {
  position: absolute; bottom: .9rem; inset-inline-end: .9rem; z-index: 1;
  background: #fff; color: var(--green-700); font-weight: 700;
  padding: .3em .8em; border-radius: 999px; box-shadow: var(--shadow-sm); font-size: .95rem;
}
.product__body { padding: 1.2rem 1.3rem 0; }
.product__body h3 { font-family: var(--font-display); font-size: 1.35rem; color: var(--green-700); }
.product__body p { color: var(--muted); margin: .4rem 0 1.1rem; font-size: .96rem; }
.product__add { width: 100%; justify-content: center; }
.product__add.added { background: var(--green-500); }

/* -------- Bouton panier flottant -------- */
.cart-fab {
  position: fixed; bottom: 1.4rem; inset-inline-end: 1.4rem; z-index: 150;
  width: 60px; height: 60px; border-radius: 50%; border: 0; cursor: pointer; color: #fff;
  background: linear-gradient(135deg, var(--green-600), var(--green-800));
  box-shadow: 0 14px 30px -10px rgba(0, 134, 81,.7); display: grid; place-items: center;
  transition: transform .25s;
}
.cart-fab:hover { transform: translateY(-3px) scale(1.04); }
.cart-fab.bump { animation: countpop .45s; }
.cart-fab__badge {
  position: absolute; top: -4px; inset-inline-end: -4px; min-width: 22px; height: 22px; padding: 0 5px;
  background: #fff; color: var(--green-700); border-radius: 999px; font-size: .78rem; font-weight: 700;
  display: none; align-items: center; justify-content: center; box-shadow: var(--shadow-sm);
}
.cart-fab__badge.show { display: flex; }

/* -------- Tiroir panier -------- */
.cart-overlay {
  position: fixed; inset: 0; z-index: 160; background: rgba(0, 51, 34,.4); backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.cart-overlay.open { opacity: 1; visibility: visible; }
.cart {
  position: fixed; top: 0; inset-inline-end: 0; z-index: 170; height: 100%;
  width: min(400px, 92vw); background: #fff; box-shadow: var(--shadow);
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .4s cubic-bezier(.2,.8,.2,1);
}
body.rtl .cart { transform: translateX(-100%); }
.cart.open { transform: translateX(0); }
.cart__head { display: flex; align-items: center; justify-content: space-between; padding: 1.4rem 1.5rem; border-bottom: 1px solid var(--line); }
.cart__head h2 { font-family: var(--font-display); font-size: 1.4rem; color: var(--green-900); }
.cart__close { border: 0; background: none; font-size: 1.8rem; line-height: 1; cursor: pointer; color: var(--muted); }
.cart__items { flex: 1; overflow-y: auto; padding: 1rem 1.5rem; }
.cart__empty { color: var(--muted); text-align: center; padding: 2rem 0; }
.cart__row { display: grid; grid-template-columns: 46px 1fr auto auto; align-items: center; gap: .8rem; padding: .8rem 0; border-bottom: 1px solid var(--green-50); }
.cart__thumb { width: 46px; height: 46px; border-radius: 10px; }
.cart__thumb--sticker { background: linear-gradient(135deg, var(--green-100), var(--green-300)); }
.cart__thumb--badge { background: linear-gradient(135deg, var(--green-300), var(--green-500)); }
.cart__thumb--tote { background: linear-gradient(135deg, var(--green-500), var(--green-700)); }
.cart__info { display: flex; flex-direction: column; }
.cart__info strong { color: var(--green-900); font-size: .98rem; }
.cart__info span { color: var(--muted); font-size: .88rem; }
.cart__qty { display: flex; align-items: center; gap: .5rem; }
.cart__qty button { width: 26px; height: 26px; border-radius: 8px; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 1rem; color: var(--green-700); }
.cart__rm { border: 0; background: none; font-size: 1.3rem; color: var(--muted); cursor: pointer; }
.cart__foot { padding: 1.4rem 1.5rem; border-top: 1px solid var(--line); }
.cart__total { display: flex; justify-content: space-between; font-size: 1.1rem; margin-bottom: 1rem; }
.cart__total strong { font-family: var(--font-display); color: var(--green-700); }
.cart__checkout { width: 100%; justify-content: center; }
.cart__msg { margin-top: .8rem; font-size: .9rem; color: var(--green-700); font-weight: 600; text-align: center; min-height: 1.2em; }

/* -------- Responsive multi-pages -------- */
@media (max-width: 920px) {
  .cband__inner { grid-template-columns: 1fr; text-align: center; }
  .cband__num { margin-inline: auto; }
  .cband__sub, .milestone--light { margin-inline: auto; }
  .cards, .why { grid-template-columns: 1fr; }
  .download { grid-template-columns: 1fr; text-align: center; justify-items: center; }
}

/* =========================================================================
   ACCUEIL FAÇON MANIFESTE (plaquette)
   ========================================================================= */
.hero__brandline {
  font-family: var(--font-ui); text-transform: uppercase; letter-spacing: .2em;
  font-size: .78rem; font-weight: 600; color: var(--green-950); margin-bottom: .8rem;
  display: inline-block; padding: .45em 1.1em; border-radius: 999px;
  background: linear-gradient(135deg, var(--green-200), var(--green-300));
  box-shadow: 0 6px 16px -8px rgba(0,189,102,.6);
}
.hero__quote {
  margin-top: 1.5rem; padding: 1.2rem 1.5rem; border-radius: var(--radius); max-width: 46ch;
  background: linear-gradient(135deg, var(--green-700), var(--green-900)); color: var(--on-dark);
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem); line-height: 1.5; box-shadow: var(--shadow-sm);
}
.hero__quote-mark { color: var(--green-300); font-size: 1.5em; font-style: normal; margin-inline-end: .1em; vertical-align: -.15em; }

/* Titre décoré (piliers) : icône + lignes latérales */
.deco-title { display: flex; align-items: center; justify-content: center; gap: 1rem; max-width: 680px; margin: 0 auto; }
.deco-title::before, .deco-title::after { content: ""; height: 1.5px; flex: 1; max-width: 90px; border-radius: 2px; }
.deco-title::before { background: linear-gradient(90deg, transparent, var(--green-500)); }
.deco-title::after { background: linear-gradient(90deg, var(--green-500), transparent); }
.deco-title__ico { width: 40px; height: 40px; color: var(--green-700); flex: 0 0 auto; }
.deco-title .section__title { font-size: clamp(1.5rem, 3.4vw, 2.2rem); max-width: none; white-space: nowrap; }

/* Ruban (valeurs) */
.ribbon-wrap { text-align: center; margin-bottom: .4rem; }
.ribbon {
  display: inline-block; font-family: var(--font-display); font-style: italic; font-weight: 500;
  font-size: clamp(1.2rem, 2.6vw, 1.7rem); color: #fff;
  background: linear-gradient(135deg, var(--green-600), var(--green-800));
  padding: .45em 1.7em; border-radius: 999px; box-shadow: 0 12px 26px -12px rgba(0, 134, 81,.55);
}

/* Piliers fondamentaux */
.pillars__grid { display: flex; justify-content: center; align-items: stretch; flex-wrap: wrap; gap: clamp(2rem, 6vw, 3.5rem); margin-top: 2.2rem; }
.pillar { display: flex; flex-direction: column; align-items: center; gap: .9rem; text-align: center; max-width: 15rem; }
.pillar__ico {
  width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--green-500), var(--green-700)); box-shadow: 0 12px 24px -12px rgba(0, 134, 81,.7);
}
.pillar__ico svg { width: 34px; height: 34px; }
.pillar p { font-family: var(--font-display); font-size: 1.2rem; color: var(--green-900); }
.pillar-sep { width: 1px; align-self: stretch; background: linear-gradient(var(--green-100), var(--green-300), var(--green-100)); }

/* Nos valeurs et principes (3 colonnes verticales + séparateurs, style plaquette) */
.vlist {
  position: relative; margin: 1.4rem auto 0; max-width: 800px;
  display: grid; grid-auto-flow: column; grid-template-rows: repeat(5, auto); grid-template-columns: repeat(3, 1fr);
  gap: .2rem clamp(1.4rem, 3vw, 2.6rem);
  background: var(--surface); border: 1.5px solid rgba(0, 246, 113, .45); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 2rem clamp(1.6rem, 3.5vw, 2.6rem) 1.8rem;
  position: relative; overflow: hidden;
}
.vlist::before, .vlist::after {
  content: ""; position: absolute; top: 1.6rem; bottom: 1.6rem; width: 1px;
  background: linear-gradient(var(--green-100), var(--green-300), var(--green-100));
}
.vlist::before { inset-inline-start: 33.33%; }
.vlist::after { inset-inline-start: 66.66%; }
.vitem { display: flex; align-items: center; gap: .7rem; padding: .52rem 0; font-size: 1.08rem; color: var(--green-900); }
.vitem__leaf { width: 18px; height: 18px; color: var(--green-500); flex: 0 0 auto; }
.vlist__cta { text-align: center; margin-top: 1.6rem; }

/* Corps du manifeste : Pourquoi / Que faire / Cet acte — en cartes */
.manifesto .container { max-width: 880px; display: flex; flex-direction: column; gap: 1.3rem; }
.mblock {
  position: relative; display: flex; gap: 1.5rem; align-items: flex-start; overflow: hidden;
  background: var(--surface); border: 1.5px solid rgba(0, 246, 113, .45); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: clamp(1.5rem, 3.2vw, 2.1rem) clamp(1.5rem, 3.5vw, 2.4rem);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s, border-color .35s;
}
.mblock::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(var(--green-400), var(--green-600));
  transform: scaleY(0); transform-origin: top; transition: transform .4s;
}
.mblock:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--green-300); }
.mblock:hover::before { transform: scaleY(1); }
.mblock__ico {
  flex: 0 0 auto; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, var(--green-500), var(--green-700));
  box-shadow: 0 12px 22px -10px rgba(0, 134, 81,.65), inset 0 0 0 5px rgba(255,255,255,.16);
}
.mblock__ico svg { width: 28px; height: 28px; }
.mblock__body h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.35rem, 2.5vw, 1.6rem); color: var(--green-900); margin-bottom: .5rem; }
.mblock__body p { color: var(--ink-soft); line-height: 1.72; font-size: 1.02rem; }
.mblock__list { list-style: none; display: flex; flex-direction: column; gap: .6rem; }
.mblock__list li { position: relative; padding-inline-start: 1.6rem; color: var(--ink-soft); line-height: 1.6; font-size: 1.02rem; }
.mblock__list li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: .28em;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--green-100); box-shadow: inset 0 0 0 2px var(--green-400);
}
.mblock__list li::after {
  content: ""; position: absolute; inset-inline-start: 6px; top: calc(.28em + 6px);
  width: 6px; height: 6px; border-radius: 50%; background: var(--green-600);
}

/* Salut final */
.salut {
  text-align: center; font-family: var(--font-display); font-style: italic;
  font-size: clamp(1.2rem, 2.4vw, 1.6rem); color: var(--green-700);
  padding: 2.5rem 1.2rem 3.5rem;
}

@media (max-width: 700px) { .pillar-sep { display: none; } }
@media (max-width: 640px) {
  .vlist {
    grid-auto-flow: row; grid-template-rows: none; grid-template-columns: repeat(2, 1fr);
    gap: .1rem 1.4rem;
  }
  .vlist::before, .vlist::after { display: none; }
  .mblock { gap: 1rem; }
  .mblock__ico { width: 48px; height: 48px; }
  .deco-title::before, .deco-title::after { display: none; }
  .deco-title .section__title { white-space: normal; }
}
@media (max-width: 380px) { .vlist { grid-template-columns: 1fr; } }

/* =========================================================================
   BOUTIQUE (catalogue Printful)
   ========================================================================= */
/* `display:flex` du bandeau l'emporterait sur l'attribut [hidden] : on rétablit. */
.shop-notice[hidden] { display: none; }

/* Avec un ou deux articles seulement, chaque fiche garde une largeur normale
   et le bloc est centré : sinon une fiche unique s'étire sur toute la page et
   son visuel devient démesuré. */
.shop__grid--few {
  grid-template-columns: repeat(auto-fit, minmax(240px, 320px));
  justify-content: center;
}

/* Squelettes de chargement : moins brutal qu'un texte « Chargement… » */
.product--skeleton { pointer-events: none; }
.sk { background: linear-gradient(90deg, var(--green-50) 25%, #f7fefa 37%, var(--green-50) 63%);
  background-size: 400% 100%; animation: skwave 1.4s ease infinite; border-radius: 8px; }
.sk--visual { aspect-ratio: 4/3; border-radius: 0; }
.sk--line { height: 1rem; margin-bottom: .6rem; }
.sk--title { height: 1.4rem; width: 70%; }
.sk--short { width: 35%; }
.sk--pills { height: 2rem; width: 80%; margin: .9rem 0 1.1rem; border-radius: 999px; }
.sk--btn { height: 2.8rem; border-radius: 999px; }
@keyframes skwave { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
@media (prefers-reduced-motion: reduce) { .sk { animation: none; } }

/* Bandeau de réassurance */
.shop-trust {
  list-style: none; margin: 2.4rem 0 0; display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.shop-trust[hidden] { display: none; }
.shop-trust li {
  display: flex; gap: .9rem; align-items: flex-start;
  background: var(--surface); border: 1.5px solid rgba(0, 246, 113, .45);
  border-radius: var(--radius); padding: 1.1rem 1.2rem;
}
.shop-trust__icon {
  flex: 0 0 auto; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--green-500), var(--green-700)); color: #fff;
}
.shop-trust__icon svg { width: 19px; height: 19px; }
.shop-trust strong { display: block; font-family: var(--font-ui); font-weight: 600; color: var(--green-900); font-size: .98rem; }
.shop-trust p { color: var(--muted); font-size: .88rem; line-height: 1.5; margin-top: .15rem; }

/* Visuel photo réel du produit */
.product__visual--photo {
  background: linear-gradient(135deg, var(--green-50), var(--green-100));
  display: grid; place-items: center; padding: 1.2rem;
}
.product__img {
  width: 100%; height: 100%; object-fit: contain; max-height: 240px;
  filter: drop-shadow(0 10px 20px rgba(0, 51, 34,.18));
  transition: transform .4s cubic-bezier(.2,.8,.2,1);
}
.product:hover .product__img { transform: scale(1.05); }

/* Le titre est déjà décalé par le padding de .product__body */
.product__body h3 { margin: 0 0 .45rem; }

/* Sélecteur de taille */
.product__sizelabel {
  font-family: var(--font-ui); text-transform: uppercase; letter-spacing: .14em;
  font-size: .7rem; color: var(--green-700); font-weight: 600; margin: 0 0 .5rem;
}
.sizes { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1.1rem; }
.size { position: relative; cursor: pointer; }
.size input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.size span {
  display: block; padding: .45em .9em; border-radius: 999px;
  border: 1.5px solid var(--line); background: #fff;
  font-family: var(--font-ui); font-size: .86rem; color: var(--green-700);
  transition: background .2s, border-color .2s, color .2s, transform .2s;
}
.size:hover span { border-color: var(--green-400); }
.size.is-checked span {
  background: linear-gradient(135deg, var(--green-600), var(--green-700));
  border-color: transparent; color: #fff;
  box-shadow: 0 6px 14px -6px rgba(0, 134, 81,.6);
}
.size input:focus-visible + span { outline: 2.5px solid var(--green-500); outline-offset: 3px; }

/* Le visuel est cliquable : c'est un vrai bouton, donc on neutralise ses
   styles natifs sans perdre la sémantique ni le focus clavier. */
.product__visual--photo {
  appearance: none; border: 0; width: 100%; font: inherit; color: inherit;
  cursor: zoom-in; text-align: inherit;
}
.product__visual--photo:focus-visible { outline: 3px solid var(--green-500); outline-offset: -3px; }
.product__zoom {
  position: absolute; top: .8rem; inset-inline-start: .8rem;
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.94); color: var(--green-700); box-shadow: var(--shadow-sm);
  opacity: 0; transform: scale(.85); transition: opacity .25s, transform .25s;
}
.product__zoom svg { width: 17px; height: 17px; }
.product:hover .product__zoom,
.product__visual--photo:focus-visible .product__zoom { opacity: 1; transform: scale(1); }
/* Sur écran tactile il n'y a pas de survol : l'indice reste visible. */
@media (hover: none) { .product__zoom { opacity: 1; transform: scale(1); } }

/* -------- Fiche produit agrandie -------- */
.pmodal {
  position: fixed; inset: 0; z-index: 300; display: grid; place-items: center;
  background: rgba(0, 51, 34,.42); backdrop-filter: blur(6px); padding: 1.2rem;
  opacity: 0; visibility: hidden;
  /* À la fermeture, `visibility` n'est retardée que pour laisser le fondu se
     jouer. À l'ouverture elle bascule immédiatement : un élément encore
     `hidden` refuserait le focus, et le clavier resterait dehors. */
  transition: opacity .3s, visibility 0s linear .3s;
}
.pmodal.open { opacity: 1; visibility: visible; transition: opacity .3s, visibility 0s; }
.pmodal__box {
  position: relative; width: min(880px, 100%); max-height: 90vh; overflow-y: auto;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.2rem, 3vw, 2.4rem);
  padding: clamp(1.4rem, 3vw, 2rem);
  transform: translateY(16px) scale(.98); transition: transform .3s cubic-bezier(.2,.8,.2,1);
}
.pmodal.open .pmodal__box { transform: none; }
.pmodal__media {
  background: linear-gradient(135deg, var(--green-50), var(--green-100));
  border-radius: 16px; display: grid; place-items: center; padding: 1.6rem; min-height: 260px;
}
.pmodal__img {
  width: 100%; max-height: 48vh; object-fit: contain;
  filter: drop-shadow(0 14px 26px rgba(0, 51, 34,.2));
}
.pmodal__info { display: flex; flex-direction: column; justify-content: center; padding-inline-end: 2rem; }
.pmodal__title { font-family: var(--font-display); font-size: clamp(1.5rem, 3.4vw, 2.1rem); color: var(--green-900); }
.pmodal__price {
  font-family: var(--font-display); font-size: 1.6rem; font-weight: 600;
  color: var(--green-700); margin: .3rem 0 1.3rem;
}
.pmodal__note { color: var(--muted); font-size: .85rem; margin-top: 1rem; line-height: 1.5; }

@media (max-width: 720px) {
  .pmodal__box { grid-template-columns: 1fr; }
  .pmodal__media { min-height: 0; padding: 1.1rem; }
  .pmodal__img { max-height: 32vh; }
  .pmodal__info { padding-inline-end: 0; }
}

/* Quantité + ajout au panier */
.product__buy { display: flex; gap: .6rem; align-items: stretch; }
.product__buy .product__add { flex: 1; width: auto; }
.qty {
  display: flex; align-items: center; border: 1.5px solid var(--line);
  border-radius: 999px; background: #fff; overflow: hidden; flex: 0 0 auto;
}
.qty button {
  width: 34px; height: 100%; min-height: 42px; border: 0; background: none; cursor: pointer;
  font-size: 1.05rem; line-height: 1; color: var(--green-700); transition: background .2s;
}
.qty button:hover { background: var(--green-50); }
.qty button:focus-visible { outline: 2.5px solid var(--green-500); outline-offset: -2px; }
.qty output {
  min-width: 1.6rem; text-align: center; font-family: var(--font-ui);
  font-weight: 600; color: var(--green-900); font-variant-numeric: tabular-nums;
}

/* Miniature panier avec image */
.cart__thumb { overflow: hidden; background: var(--green-50); }
.cart__thumb img { width: 100%; height: 100%; object-fit: contain; }

/* Tiroir panier : détails de finition */
body.no-scroll { overflow: hidden; }
.cart__head h2 { display: flex; align-items: baseline; gap: .45rem; }
.cart__count { font-family: var(--font-ui); font-size: .95rem; color: var(--muted); font-weight: 500; }
.cart__empty { display: grid; justify-items: center; gap: .9rem; padding: 3rem 0; color: var(--muted); }
.cart__empty svg { width: 44px; height: 44px; color: var(--green-300); }
.cart__shipnote { color: var(--muted); font-size: .84rem; margin: -.4rem 0 .9rem; }
.cart__secure {
  display: flex; align-items: center; justify-content: center; gap: .4rem;
  margin-top: .7rem; color: var(--muted); font-size: .82rem;
}
.cart__secure svg { width: 14px; height: 14px; }
.cart__checkout.is-loading { pointer-events: none; opacity: .75; }
.cart__checkout.is-loading::after {
  content: ""; width: 15px; height: 15px; margin-inline-start: .6rem; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.45); border-top-color: #fff;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Message éphémère « ajouté au panier » */
.toast {
  position: fixed; z-index: 200; bottom: 6.4rem; inset-inline-end: 1.4rem;
  max-width: min(320px, calc(100vw - 2.8rem));
  background: var(--green-900); color: #fff; font-size: .9rem; line-height: 1.4;
  padding: .8rem 1.1rem; border-radius: 14px; box-shadow: 0 16px 34px -14px rgba(0, 51, 34,.75);
  opacity: 0; transform: translateY(10px); transition: opacity .3s, transform .3s;
}
.toast.show { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .toast { transition: none; } }

/* =========================================================================
   PAGE MERCI
   ========================================================================= */
.merci { padding-top: clamp(7rem, 13vw, 10rem); }
.merci__card {
  max-width: 620px; text-align: center;
  background: var(--surface); border: 1.5px solid rgba(0, 246, 113, .45);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: clamp(2.2rem, 5vw, 3.4rem);
}
.merci__check {
  display: grid; place-items: center; width: 74px; height: 74px; margin: 0 auto 1.2rem;
  border-radius: 50%; color: #fff;
  background: linear-gradient(135deg, var(--green-500), var(--green-700));
  box-shadow: 0 14px 28px -12px rgba(0, 134, 81,.7);
}
.merci__check svg { width: 36px; height: 36px; }
.merci__card .section__title { max-width: none; margin-inline: auto; }
.merci__card .section__intro { margin-inline: auto; }
.merci__cta { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin-top: 1.8rem; }

/* -------- Bouton « retour en haut » -------- */
.to-top {
  position: fixed; bottom: 1.4rem; inset-inline-start: 1.4rem; z-index: 140;
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line);
  background: rgba(255,255,255,.85); backdrop-filter: blur(8px); color: var(--green-700);
  display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow-sm);
  opacity: 0; visibility: hidden; transform: translateY(12px) scale(.9);
  transition: opacity .3s, transform .3s, visibility .3s, background .2s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: #fff; transform: translateY(-2px); color: var(--green-700); }

/* =========================================================================
   PRÉ-PAGE : sélection de la langue (la fleur)
   ========================================================================= */
/* Pré-page : tient en un seul écran, sans défilement */
body.welcome { overflow: hidden; }
.welcome__stage {
  height: 100vh; height: 100dvh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: clamp(.5rem, 2.2vh, 1.3rem);
  padding: clamp(.8rem, 3vh, 2.2rem) 1.2rem; text-align: center; overflow: hidden;
}
.welcome__brand { width: min(50vw, 210px); flex: 0 0 auto; }
.welcome__choose {
  font-family: var(--font-ui); text-transform: uppercase; letter-spacing: .24em;
  font-size: clamp(.68rem, 1.6vh, .8rem); font-weight: 500; color: var(--green-700);
}

.flower {
  position: relative; width: min(86vw, 62vh, 430px); aspect-ratio: 1;
  margin: 0 auto; flex: 0 0 auto;
}

/* Pétales : base au centre, rayonnent vers l'extérieur */
.pet {
  position: absolute; left: 50%; top: 50%;
  width: 30%; height: 50%;
  transform: translate(-50%, -100%) rotate(var(--a));
  transform-origin: 50% 100%;
  background: none; border: 0; padding: 0; cursor: pointer;
  animation: petbloom .7s cubic-bezier(.2,.9,.3,1) backwards;
  animation-delay: calc(var(--i) * .07s);
}
@keyframes petbloom {
  from { transform: translate(-50%, -100%) rotate(var(--a)) scale(.2); opacity: 0; }
  to   { transform: translate(-50%, -100%) rotate(var(--a)) scale(1); opacity: 1; }
}
.pet__shape {
  position: absolute; inset: 0; border-radius: 50%;
  background: linear-gradient(180deg, var(--green-300), var(--green-600));
  box-shadow: inset 0 -10px 22px rgba(0, 51, 34,.18), 0 10px 22px -12px rgba(0, 134, 81,.5);
  opacity: .82;
  transition: transform .4s cubic-bezier(.2,.8,.2,1), opacity .3s, filter .3s, box-shadow .3s;
  transform-origin: 50% 100%;
}
.pet:hover .pet__shape { opacity: 1; transform: scale(1.05); }
.pet.is-active .pet__shape {
  opacity: 1; filter: saturate(1.12) brightness(1.05);
  background: linear-gradient(180deg, var(--green-400), var(--green-700));
  box-shadow: inset 0 -10px 22px rgba(0, 51, 34,.2), 0 14px 26px -10px rgba(0, 134, 81,.7),
              0 0 0 2px rgba(255,255,255,.5);
  transform: scaleY(1.07) scaleX(1.03);
}
.pet__label {
  position: absolute; top: 15%; left: 50%;
  transform: translateX(-50%) rotate(calc(-1 * var(--a)));
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  /* Le libellé est posé sur la POINTE du pétale, c'est-à-dire son extrémité
     claire : en blanc il tombait à 1,4:1, illisible. En vert profond il monte
     à 9,3:1 au repos et 6,9:1 sur le pétale actif. */
  color: var(--green-900); pointer-events: none;
  text-shadow: 0 1px 3px rgba(255,255,255,.6);
}
.pet__flag { font-size: 1.5rem; line-height: 1; }
.pet__name {
  font-family: var(--font-ui); font-weight: 500; font-size: .72rem;
  letter-spacing: .04em; white-space: nowrap;
}

/* Cœur de la fleur : la langue choisie + Entrer */
.bloom {
  position: absolute; left: 50%; top: 50%; z-index: 3;
  transform: translate(-50%, -50%);
  width: 40%; aspect-ratio: 1; border-radius: 50%; cursor: pointer;
  border: 0; background: radial-gradient(circle at 42% 34%, #fff, var(--green-50));
  box-shadow: 0 20px 46px -18px rgba(0, 51, 34,.55), inset 0 0 0 7px rgba(255,255,255,.6);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  transition: transform .3s, box-shadow .3s;
  animation: petbloom .7s cubic-bezier(.2,.9,.3,1) .5s backwards;
}
.bloom:hover { box-shadow: 0 26px 54px -18px rgba(0, 51, 34,.6), inset 0 0 0 7px rgba(255,255,255,.8); }
.bloom.pulse { animation: bloompulse .5s cubic-bezier(.2,.8,.2,1); }
@keyframes bloompulse {
  0%,100% { transform: translate(-50%,-50%) scale(1); }
  40%     { transform: translate(-50%,-50%) scale(1.07); }
}
.bloom__flag { font-size: clamp(1.7rem, 4.5vw, 2.6rem); line-height: 1; }
.bloom__lang { font-family: var(--font-display); font-weight: 500; font-size: clamp(1rem, 2.6vw, 1.45rem); color: var(--green-900); }
.bloom__enter {
  font-family: var(--font-ui); text-transform: uppercase; letter-spacing: .16em;
  font-size: .64rem; font-weight: 600; color: #fff; margin-top: .35rem;
  background: linear-gradient(135deg, var(--green-600), var(--green-800));
  padding: .4em 1em; border-radius: 999px; box-shadow: 0 8px 18px -8px rgba(0, 134, 81,.6);
}

.welcome__skip {
  background: none; border: 0; cursor: pointer; margin-top: .6rem;
  font-family: var(--font-ui); font-size: .82rem; color: var(--muted);
  text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--green-300);
  transition: color .2s;
}
.welcome__skip:hover { color: var(--green-700); }

@media (max-width: 420px) {
  .pet__name { font-size: .62rem; }
  .pet__flag { font-size: 1.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .value { opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; }
}
