/* Ranger site, design system de l'app (ranger/lib/design).
   Ivoire + encre, pétrole = identité et impact réel, ocre = spécial.
   Anton (manchettes CAPS) · Inter (lecture) · JetBrains Mono (labels). */

@font-face { font-family: 'Anton'; src: url('../assets/fonts/Anton-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('../assets/fonts/Inter-Variable.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url('../assets/fonts/JetBrainsMono-Variable.woff2') format('woff2'); font-weight: 100 800; font-display: swap; }

:root {
  /* Surfaces (AppColors) */
  --ivoire: #FBF8F3;
  --creme: #F0E9DC;
  --blanc: #FFFFFF;
  --encre-deep: #0D1C1A;
  --encre: #132523;

  /* Texte & séparation */
  --ink: #15211D;
  --ink-2: #4A5751;
  --ink-3: #9AA39D;
  --line: rgba(21, 33, 29, 0.12);

  /* Pétrole : identité, impact réel */
  --petrol: #146A60;
  --petrol-soft: rgba(20, 106, 96, 0.12);
  --petrol-deep: #0E3C37;

  /* Ocre : réservé au spécial */
  --ocre: #C77F1C;

  /* Aurora (AppBackground) */
  --aura-petrol: 58, 130, 120;
  --aura-ocre: 201, 138, 44;
  --aura-terra: 182, 96, 74;

  /* Verre */
  --glass: rgba(255, 255, 255, 0.62);
  --glass-strong: rgba(255, 255, 255, 0.84);
  --glass-border: rgba(255, 255, 255, 0.92);

  --r-lg: 16px;
  --r-xl: 24px;

  --font-display: 'Anton', 'Impact', sans-serif;
  --font-ui: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --ease: cubic-bezier(.2, .8, .2, 1);
  --gutter: clamp(20px, 5vw, 64px);

  /* Hero : ratio de l'image et taille des badges */
  --earth-ratio: 0.6641;
  --badge-h: clamp(92px, 8vw, 140px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
section[id], header[id] { scroll-margin-top: 16px; }
body {
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--ivoire);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }

.kw { color: var(--petrol); }
.wild .kw, .final .kw { color: #57BFAF; }
.display { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; line-height: 1; letter-spacing: 0.02em; }
.eyebrow { font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-2); }

/* ------- Fond de l'app : aurora + trame de points ------- */
.app-bg { position: relative; isolation: isolate; background: var(--ivoire); overflow: hidden; }
.app-bg::before {
  content: ''; position: absolute; inset: -10%; z-index: -2; pointer-events: none;
  background:
    radial-gradient(ellipse 55% 40% at 14% 8%, rgba(var(--aura-petrol), .38), rgba(var(--aura-petrol), 0) 70%),
    radial-gradient(ellipse 45% 35% at 90% 22%, rgba(var(--aura-ocre), .32), rgba(var(--aura-ocre), 0) 70%),
    radial-gradient(ellipse 50% 35% at 8% 55%, rgba(var(--aura-terra), .20), rgba(var(--aura-terra), 0) 70%),
    radial-gradient(ellipse 50% 35% at 92% 70%, rgba(var(--aura-petrol), .28), rgba(var(--aura-petrol), 0) 70%),
    radial-gradient(ellipse 60% 35% at 45% 98%, rgba(var(--aura-ocre), .26), rgba(var(--aura-ocre), 0) 70%);
  animation: drift 38s ease-in-out infinite alternate;
}
.app-bg::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(circle, rgba(21, 33, 29, .06) 0.6px, transparent 0.9px);
  background-size: 6px 6px;
  opacity: .45;
}
@keyframes drift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(2%, -1.5%, 0) scale(1.04); }
  100% { transform: translate3d(-2%, 1.5%, 0) scale(1.02); }
}

/* ------- Boutons (CTA ocre = bouton paywall de l'app : aplat + halo) ------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding: 0 28px;
  border: 0; border-radius: 999px;
  font-family: var(--font-display); font-weight: 400; font-size: 18px; letter-spacing: 0.04em; text-transform: uppercase; line-height: 1;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .3s;
}
.btn .arrow { display: inline-block; font-family: var(--font-ui); font-weight: 600; transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn:focus-visible { outline: 3px solid var(--petrol); outline-offset: 3px; }

.btn-ocre { background: var(--ocre); color: #fff; box-shadow: 0 6px 18px rgba(199, 127, 28, .33); }
.btn-ocre:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(199, 127, 28, .42); }
.btn-glass {
  background: var(--glass); color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--glass-border), 0 6px 18px rgba(21, 33, 29, .08);
  backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%);
}
.btn-glass:hover { background: var(--glass-strong); transform: translateY(-1px); }
.btn-sm { height: 42px; padding: 0 18px; font-size: 15px; }
.btn .short { display: none; }

/* ------- Nav ------- */
.nav { position: absolute; z-index: 50; top: 14px; left: 0; right: 0; padding: 0 14px; pointer-events: none; }
.nav-inner {
  pointer-events: auto;
  max-width: 1120px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 8px 8px 8px 22px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%);
  box-shadow: 0 1px 0 rgba(255,255,255,.8) inset, 0 24px 48px -28px rgba(21,33,29,.3);
}
.wordmark { text-decoration: none; display: flex; flex-direction: column; gap: 3px; line-height: 1; }
.wordmark-main { font-family: var(--font-display); font-size: 24px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); }
.wordmark-sub { font-family: var(--font-mono); font-size: 9px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-2); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.lang-switch { display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(21,33,29,.06); }
.lang-chip {
  border: 0; background: transparent; cursor: pointer;
  font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: .1em;
  color: var(--ink-2); padding: 7px 10px; border-radius: 999px;
  transition: background .2s, color .2s;
}
.lang-chip[aria-pressed="true"] { background: var(--ink); color: var(--ivoire); }
.lang-chip:not([aria-pressed="true"]):hover { color: var(--petrol); }
.lang-chip { display: inline-flex; align-items: center; gap: 6px; }
.flag { width: 16px; height: 16px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 0 0 1px rgba(21,33,29,.14); }

/* ------- Hero (cadrage repris de l'ancien site, couleurs d'origine) ------- */
/* Titre et promesse dans le ciel ; boutons et badges posés en bas de l'image. */
.hero {
  position: relative;
  min-height: 100vh; min-height: min(100svh, calc(100vw * var(--earth-ratio)));
  overflow: clip; isolation: isolate;
  display: flex; flex-direction: column; align-items: center;
  padding: clamp(92px, 15vh, 180px) var(--gutter) 0;
  text-align: center;
  background: var(--ivoire);
}
.hero-earth {
  position: absolute; top: 0; left: 0; z-index: -1;
  width: 100%; height: auto;
  pointer-events: none;
  /* seul fondu : les 8 derniers % de l'image vers l'ivoire, comme avant */
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 90%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 0%, #000 90%, transparent 100%);
}
.hero-title { font-size: clamp(72px, 8.4vw, 128px); letter-spacing: 0.05em; color: var(--ink); }
.hero-by {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 6px; border-radius: 999px; text-decoration: none;
  font-size: 13.5px; font-weight: 600; color: var(--ink);
  background: var(--glass-strong); border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: background .2s;
}
.hero-by:hover { background: #fff; }
.hero-by img { width: 22px; height: 22px; }
.hero-sub { margin-top: clamp(14px, 1.6vw, 22px); font-size: clamp(19px, 1.75vw, 26px); font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; color: var(--ink); max-width: 36ch; text-wrap: balance; }
@media (min-width: 1100px) { .hero-sub { max-width: none; } }
.hero-ctas { margin-top: clamp(24px, 3vw, 36px); display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
/* en bas de l'image : la pastille Austral puis les badges, la Terre reste dégagée */
.hero-bas { margin-top: auto; padding: 32px 0 clamp(14px, 2vw, 30px); display: flex; flex-direction: column; align-items: center; gap: 16px; }
.hero-stores-row { display: flex; align-items: center; justify-content: center; gap: clamp(0px, 1vw, 12px); }
/* les SVG des badges ont une grande marge transparente en haut et en bas */
.hero-store-badge { height: var(--badge-h); width: auto; margin: calc(var(--badge-h) * -0.33) 0; transition: transform .25s var(--ease), opacity .25s; }
.hero-stores-row a:hover .hero-store-badge { transform: translateY(-2px); opacity: .92; }

/* ------- Miroir ------- */
.mirror { padding: clamp(90px, 12vw, 170px) var(--gutter) clamp(140px, 17vw, 240px); }
.mirror-head { max-width: 820px; margin: 0 auto; text-align: center; }
.mirror-title { font-size: clamp(34px, 4.6vw, 64px); color: var(--ink); }
.mirror-lede { margin-top: clamp(18px, 2.4vw, 28px); font-size: clamp(16px, 1.5vw, 19px); color: var(--ink-2); text-wrap: balance; }
.mirror-lede > span { display: block; text-wrap: balance; }
.mirror-lede > span > span { white-space: nowrap; }  /* on ne coupe qu'entre deux questions */

/* interrupteur Sans Ranger / Avec Ranger */
.switch {
  position: relative; display: inline-grid; grid-template-columns: 1fr 1fr;
  margin: clamp(36px, 5vw, 56px) auto clamp(40px, 5vw, 64px);
  padding: 4px; border-radius: 999px;
  background: var(--glass); border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 24px -14px rgba(21,33,29,.35);
}
.switch-wrap { text-align: center; }
.switch button {
  position: relative; z-index: 1; border: 0; background: transparent; cursor: pointer;
  padding: 11px 22px; border-radius: 999px;
  font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-2); transition: color .4s var(--ease);
}
.switch button[aria-pressed="true"] { color: #fff; }
.switch-thumb {
  position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px);
  border-radius: 999px; background: var(--ink-2);
  transition: transform .55s var(--ease), background-color .55s var(--ease);
}
.mirror.is-after .switch-thumb { transform: translateX(100%); background: var(--petrol); }
.switch button:focus-visible { outline: 2px solid var(--petrol); outline-offset: 2px; }

.cards { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 32px); }
.card {
  display: grid; align-content: start; gap: 16px;
  padding: clamp(24px, 2.6vw, 36px);
  border-radius: var(--r-xl);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%);
  box-shadow: 0 1px 2px rgba(21,33,29,.05), 0 18px 40px rgba(20,106,96,.16);
  transition: box-shadow .5s var(--ease), background-color .8s var(--ease), transform .5s var(--ease);
}
.card:hover { transform: translateY(-8px); box-shadow: 0 1px 2px rgba(21,33,29,.05), 0 28px 56px rgba(20,106,96,.30); }
.flip { display: grid; }
.flip > * { grid-area: 1 / 1; transition: opacity .7s var(--ease), filter .7s var(--ease), transform .7s var(--ease); }
.card-word { font-size: clamp(34px, 3.6vw, 52px); }
.card-word .before { color: var(--ink-3); }
.card-word .after { color: var(--petrol); }
.card-text { font-size: clamp(15px, 1.2vw, 17px); color: var(--ink-2); text-wrap: pretty; }

/* état "sans" par défaut */
.after { opacity: 0; filter: blur(10px); transform: translateY(6px); pointer-events: none; }
.before { opacity: 1; }
/* état "avec" */
.mirror.is-after .before { opacity: 0; filter: blur(10px); transform: translateY(-6px); }
.mirror.is-after .after { opacity: 1; filter: blur(0); transform: none; pointer-events: auto; }
.mirror.is-after .card { background: var(--glass-strong); box-shadow: 0 1px 2px rgba(21,33,29,.05), 0 22px 50px rgba(20,106,96,.28); }
.mirror.is-after .card:hover { box-shadow: 0 1px 2px rgba(21,33,29,.05), 0 32px 64px rgba(20,106,96,.38); }
.card:nth-child(2) .flip > * { transition-delay: .12s; }
.card:nth-child(3) .flip > * { transition-delay: .24s; }  /* le survol, lui, réagit sans délai */

/* ------- Titres de section (partagés) ------- */
.section-head { max-width: 820px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.section-title { font-size: clamp(34px, 4.6vw, 64px); color: var(--ink); text-wrap: balance; }
.section-lede { margin-top: clamp(14px, 2vw, 20px); font-size: clamp(16px, 1.5vw, 19px); color: var(--ink-2); text-wrap: pretty; }

/* ------- Parcours : de ton téléphone au terrain ------- */
.journey { padding: 0 var(--gutter) clamp(90px, 12vw, 160px); }
.steps { list-style: none; max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); }
.step {
  display: flex; flex-direction: column;
  border-radius: var(--r-xl); overflow: hidden;
  background: var(--glass); border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%);
  box-shadow: 0 1px 2px rgba(21,33,29,.05), 0 14px 36px rgba(21,33,29,.12);
  opacity: 0; transform: translateY(18px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.step.in { opacity: 1; transform: none; }
.step:nth-child(2) { transition-delay: .1s; } .step:nth-child(3) { transition-delay: .2s; } .step:nth-child(4) { transition-delay: .3s; }

.step-art {
  position: relative; aspect-ratio: 1 / 1; overflow: hidden;
  display: flex; align-items: flex-end; justify-content: center;
  padding: 18px 18px 0;
  --tone: 20, 106, 96;
  background:
    radial-gradient(ellipse 70% 60% at 50% 62%, rgba(var(--tone), .26), rgba(var(--tone), 0) 72%),
    linear-gradient(180deg, rgba(255,255,255,.4), rgba(255,255,255,0));
}
.t-ocre .step-art  { --tone: 199, 127, 28; }
.t-petrol .step-art { --tone: 20, 106, 96; }
.t-terra .step-art { --tone: 61, 138, 85; }
.t-or .step-art    { --tone: 201, 138, 44; }
.step-art img { transition: transform .6s var(--ease); }
.step:hover .step-art img { transform: translateY(-4px); }
.fig { height: 94%; width: auto; }
.fig-b { margin-left: -12%; }
.art-tall { height: 92%; width: auto; }
.art-diorama { width: 100%; height: auto; align-self: center; margin-bottom: 8%; }
.step:hover .art-diorama { transform: translateY(-4px) scale(1.02); }

.step-body { padding: clamp(20px, 2vw, 28px); display: grid; gap: 10px; align-content: start; }
.step-num {
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-mono); font-size: 12px; font-weight: 700;
  color: var(--petrol); background: var(--petrol-soft);
}
.step-title { font-size: clamp(22px, 1.9vw, 28px); color: var(--ink); }
.step-text { font-size: 15px; color: var(--ink-2); text-wrap: pretty; }

/* ------- Wildlands (fond encre, comme le globe de l'app) ------- */
.wild {
  --on-dark: #F2EEE6; --on-dark-2: #A6B1AB; --line-dark: rgba(242,238,230,.14);
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--encre);
  color: var(--on-dark);
  padding: clamp(56px, 5vw, 72px) var(--gutter) clamp(56px, 6vw, 90px);
}
.wild::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 50% 45% at 22% 40%, rgba(var(--aura-petrol), .28), rgba(var(--aura-petrol), 0) 70%),
    radial-gradient(ellipse 40% 35% at 85% 15%, rgba(var(--aura-ocre), .12), rgba(var(--aura-ocre), 0) 70%);
}
.wild .section-title { color: var(--on-dark); }
.wild .section-lede { color: var(--on-dark-2); max-width: 720px; margin-inline: auto; }
.wild .section-head { max-width: 1040px; margin-bottom: clamp(8px, 1.5vw, 20px); }
.wild .section-title { font-size: clamp(32px, 3.8vw, 54px); }

.wl-arrow:focus-visible, .thumb:focus-visible { outline: 2px solid #57BFAF; outline-offset: 2px; }

/* globe à gauche ; à droite, la fiche en large : diorama en grand, infos à côté */
.wild-stage { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 510px) minmax(0, 1fr); gap: clamp(20px, 3vw, 48px); align-items: center; }
.globe-box { position: relative; }
.globe { width: 100%; aspect-ratio: 1 / 1; cursor: grab; touch-action: pan-y; }
.globe.grabbing { cursor: grabbing; }
.globe canvas { width: 100% !important; height: 100% !important; display: block; }
.globe-controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 4px; }
.globe-controls .eyebrow { color: var(--on-dark-2); }

.wl-detail {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center;
  border-radius: var(--r-xl); overflow: hidden;
  background: rgba(28, 51, 48, .72);
  border: 1px solid var(--line-dark);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
}
.wl-detail.swap { animation: swap .6s var(--ease); }
@keyframes swap { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.wl-art {
  aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 7%;
  background: radial-gradient(ellipse 62% 58% at 50% 55%, color-mix(in srgb, var(--eco) 32%, transparent), transparent 72%);
}
.wl-art img { width: 100%; height: 100%; object-fit: contain; }
.wl-info { padding: clamp(24px, 3vw, 40px) clamp(24px, 3vw, 40px) clamp(24px, 3vw, 40px) 0; display: grid; gap: 12px; justify-items: start; }
.wl-country { color: var(--on-dark-2); }
.wl-name { font-size: clamp(28px, 2.7vw, 40px); color: var(--on-dark); }
.wl-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.wl-tag {
  font-size: 12.5px; font-weight: 700; padding: 5px 11px; border-radius: 999px;
  color: var(--on-dark-2); background: rgba(242,238,230,.06); border: 1px solid var(--line-dark);
}
.wl-tag.wl-cause { color: var(--eco); background: color-mix(in srgb, var(--eco) 16%, transparent); border-color: color-mix(in srgb, var(--eco) 40%, transparent); }
.wl-text { font-size: 15.5px; color: var(--on-dark-2); text-wrap: pretty; min-height: 4.5em; }
.wl-arrow {
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--line-dark); background: rgba(242,238,230,.06); color: var(--on-dark);
  font-size: 18px; transition: background .2s;
}
.wl-arrow:hover { background: rgba(242,238,230,.16); }

/* bandeau infini, d'un bord à l'autre de l'écran */
.strip {
  position: relative;
  margin: clamp(16px, 2vw, 28px) calc(-1 * var(--gutter)) 0;
  display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain;
  padding: 4px 0 6px; cursor: grab;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent);
          mask-image: linear-gradient(90deg, transparent, #000 40px, #000 calc(100% - 40px), transparent);
}
.strip::-webkit-scrollbar { display: none; }
.strip.dragging { cursor: grabbing; }
.thumb {
  flex: 0 0 160px; cursor: pointer; user-select: none; -webkit-user-select: none;
  display: grid; gap: 6px; justify-items: center; padding: 10px 8px 12px;
  border-radius: var(--r-lg); border: 1px solid transparent; background: rgba(242,238,230,.04);
  color: var(--on-dark-2); font-family: var(--font-ui);
  transition: background .25s, border-color .25s, color .25s, transform .25s var(--ease);
}
.strip.dragging .thumb { cursor: grabbing; }
.thumb img { width: 100%; height: 104px; object-fit: contain; transition: transform .35s var(--ease); -webkit-user-drag: none; }
.thumb:hover { background: rgba(242,238,230,.08); color: var(--on-dark); }
.thumb:hover img { transform: translateY(-3px); }
.thumb[aria-current="true"] { border-color: var(--eco); background: color-mix(in srgb, var(--eco) 12%, transparent); color: var(--on-dark); }
.thumb-name { font-size: 12.5px; font-weight: 600; line-height: 1.25; text-align: center; }

/* ------- Où va l'argent (registre gestion : euros autorisés ici) ------- */
.money { padding: clamp(80px, 11vw, 140px) var(--gutter) clamp(40px, 5vw, 60px); }
.money-card {
  max-width: 980px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: clamp(24px, 4vw, 56px); align-items: center;
  padding: clamp(24px, 4vw, 48px);
  border-radius: var(--r-xl); background: var(--glass); border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
.price { display: grid; gap: 4px; }
.price-amount { font-size: clamp(52px, 6vw, 80px); color: var(--ink); }
.price-per { font-weight: 700; color: var(--ink); }
.price-note { font-size: 14px; color: var(--ink-2); }
.split { display: grid; gap: 18px; }
.split-bar { display: flex; height: 18px; border-radius: 999px; overflow: hidden; background: rgba(21,33,29,.08); }
.seg-field { width: 70%; background: linear-gradient(90deg, #1B8577, var(--petrol)); }
.seg-run { width: 30%; background: var(--ink-3); opacity: .55; }
.split-legend { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; }
.leg { display: grid; gap: 2px; align-content: start; }
.leg-pct { font-size: clamp(30px, 3vw, 40px); }
.leg-field .leg-pct { color: var(--petrol); }
.leg-run .leg-pct { color: var(--ink-2); }
.leg-amount { font-family: var(--font-mono); font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--ink-2); }
.leg strong { font-size: 15px; color: var(--ink); margin-top: 4px; }
.leg p { font-size: 14px; color: var(--ink-2); }

/* ------- Encart Austral ------- */
.austral { padding: clamp(24px, 3vw, 40px) var(--gutter); }
.austral-card {
  max-width: 980px; margin: 0 auto;
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: center;
  padding: clamp(28px, 4vw, 52px);
  border-radius: 30px; color: #fff;
  background:
    radial-gradient(circle at 12% 0%, #6AAECA, transparent 60%),
    radial-gradient(circle at 90% 100%, #59C6B8, transparent 60%),
    linear-gradient(135deg, #255071 0%, #2F6F6A 100%);
  border: 1px solid rgba(255,255,255,0.25);
}
.austral-logo { width: clamp(72px, 8vw, 96px); height: auto; }
.austral-body { display: grid; gap: 12px; justify-items: start; }
.austral-title { font-size: clamp(26px, 2.6vw, 34px); }
.austral-body p { color: rgba(255,255,255,.88); font-size: 16px; text-wrap: pretty; }
.austral-title { color: #fff; }
.austral-logo { background: rgba(255,255,255,.14); border-radius: 50%; padding: 10px; }

/* ------- FAQ (à plat : lecture courte, pas d'accordéon) ------- */
.faq { padding: clamp(70px, 9vw, 120px) var(--gutter) clamp(90px, 12vw, 150px); }
.faq-list { max-width: 1040px; margin: 0 auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(22px, 3vw, 36px) clamp(28px, 4vw, 56px); }
.faq-item { padding-top: 18px; border-top: 1px solid var(--line); }
.faq-item dt { font-weight: 700; font-size: 17px; color: var(--ink); }
.faq-item dd { margin-top: 8px; color: var(--ink-2); font-size: 15.5px; text-wrap: pretty; }

/* ------- Bloc final ------- */
.final {
  position: relative; isolation: isolate; overflow: hidden; text-align: center;
  background: linear-gradient(180deg, var(--encre) 0%, #16302C 100%); color: #F2EEE6;
  padding: clamp(90px, 11vw, 140px) var(--gutter) 0;
  display: grid; justify-items: center; gap: 18px;
}
.lineup {
  display: flex; align-items: flex-end; justify-content: center;
  margin-top: clamp(28px, 4vw, 48px); width: 100%; max-width: 980px;
}
.lineup img { height: clamp(170px, 22vw, 280px); width: auto; margin: 0 -1.6%; transition: transform .5s var(--ease); }
.lineup img:nth-child(odd) { height: clamp(160px, 20.5vw, 262px); }
.lineup img:hover { transform: translateY(-8px); }
.final-title { font-size: clamp(38px, 5.4vw, 76px); max-width: 16ch; }
.final-lede { color: #A6B1AB; font-size: clamp(16px, 1.6vw, 19px); max-width: 44ch; margin-bottom: 8px; }
.final-meta { font-size: 13px; color: #8A968F; }

/* ------- Pied de page ------- */
.footer { background: var(--encre-deep, #0D1C1A); color: #A6B1AB; padding: 36px var(--gutter); }
.footer-inner { max-width: 1120px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; }
.footer-brand { display: flex; align-items: baseline; gap: 14px; }
.footer .wordmark-main { color: #F2EEE6; }
.footer-motto { font-size: 14px; }
.footer-links { display: flex; gap: 22px; }
.footer-links a { text-decoration: none; font-size: 14px; font-weight: 600; color: #F2EEE6; }
.footer-links a:hover { color: #57BFAF; }
.footer-copy { font-size: 13px; color: #6B7771; width: 100%; }

/* ------- Liens de navigation (bureau) ------- */
.nav-links { display: none; gap: 26px; }
.nav-links a { text-decoration: none; font-size: 14px; font-weight: 600; color: var(--ink-2); transition: color .2s; }
.nav-links a:hover { color: var(--petrol); }
@media (min-width: 1100px) { .nav-links { display: flex; } }

/* ------- Apparition du hero ------- */
.rise { opacity: 0; transform: translateY(14px); animation: rise .9s var(--ease) forwards; }
.rise.d1 { animation-delay: .1s; } .rise.d2 { animation-delay: .25s; } .rise.d3 { animation-delay: .4s; } .rise.d4 { animation-delay: .55s; } .rise.d5 { animation-delay: .7s; }
@keyframes rise { to { opacity: 1; transform: none; } }

@media (max-width: 1020px) {
  .wild-stage { grid-template-columns: 1fr; max-width: 720px; }
  .globe { max-width: 480px; margin: 0 auto; }
}
@media (max-width: 600px) {
  .wl-detail { grid-template-columns: 1fr; }
  .wl-art { padding: 8% 10% 2%; }
  .wl-info { padding: 4px 22px 24px; }
}
@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; }
}
@media (max-width: 900px) {
  .money-card { grid-template-columns: 1fr; }
  .faq-list { grid-template-columns: 1fr; max-width: 640px; }
}
@media (max-width: 560px) {
  .austral-card { grid-template-columns: 1fr; }
  .lineup img:nth-child(1), .lineup img:nth-child(7) { display: none; }
  .split-legend { grid-template-columns: 1fr 1fr; }
  .thumb { flex-basis: 132px; }
  .thumb img { height: 88px; }
}
@media (max-width: 900px) {
  .cards { grid-template-columns: 1fr; max-width: 560px; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; max-width: 440px; }
  .step-art { aspect-ratio: 4 / 3; }
}
@media (max-width: 760px), (orientation: portrait) {
  .hero { min-height: 100vh; min-height: 100svh; }
  .hero-earth { height: 100%; object-fit: cover; object-position: center center; -webkit-mask-image: none; mask-image: none; }
  .hero-bas { padding-bottom: clamp(20px, 4vw, 40px); }
  .hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 12%; z-index: -1; background: linear-gradient(180deg, rgba(251,248,243,0), var(--ivoire)); }
}
@media (max-width: 520px) {
  .wordmark-sub { display: none; }
  .hero-ctas .btn { width: 100%; max-width: 340px; }
  .nav-inner { padding-left: 16px; }
  .nav .btn-sm { height: 38px; padding: 0 14px; font-size: 14px; }
  .nav .btn .long { display: none; }
  .nav .btn .short { display: inline; }
  .lang-chip { padding: 6px 8px; }
  .lang-code { display: none; }  /* petits écrans : le drapeau seul */
  .switch button { padding: 10px 16px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise { animation: none; opacity: 1; transform: none; }
  .step { opacity: 1; transform: none; }
  .wl-detail.swap { animation: none; }
  .app-bg::before { animation: none; }
  * { transition-duration: .01ms !important; transition-delay: 0s !important; }
}

/* ------- Pages légales (mentions, confidentialité, support) ------- */
.legal-page { max-width: 780px; margin: 0 auto; padding: 140px var(--gutter) 100px; }
.legal-page h1 { font-size: clamp(40px, 5vw, 64px); margin-bottom: 10px; }
.legal-page .updated { display: block; margin-bottom: 36px; }
.legal-page h2 { font-size: 20px; font-weight: 700; margin: 36px 0 10px; color: var(--ink); }
.legal-page h3 { font-size: 16px; font-weight: 700; margin: 20px 0 6px; }
.legal-page p, .legal-page li { color: var(--ink-2); font-size: 16px; }
.legal-page p + p { margin-top: 10px; }
.legal-page ul { margin: 8px 0 0 20px; display: grid; gap: 6px; }
.legal-page a { color: var(--petrol); font-weight: 600; }
.legal-page table { width: 100%; border-collapse: collapse; margin-top: 10px; font-size: 14.5px; }
.legal-page th, .legal-page td { text-align: left; vertical-align: top; padding: 10px 8px; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.legal-page th { color: var(--ink); font-weight: 700; }
.legal-card { margin-top: 18px; padding: 20px 22px; border-radius: var(--r-lg); background: var(--blanc); border: 1px solid var(--line); }
.back { display: inline-block; margin-bottom: 26px; font-weight: 600; font-size: 14px; color: var(--ink-2); text-decoration: none; }
.back:hover { color: var(--petrol); }
html[lang="fr"] [data-l="en"], html[lang="en"] [data-l="fr"] { display: none; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-legal a { color: #A6B1AB; text-decoration: none; font-size: 13px; }
.footer-legal a:hover { color: #F2EEE6; }
