/* =============================================================================
   WildScore — feuille de style du site public.
   -----------------------------------------------------------------------------
   Une seule feuille pour tout le site : accueil, pages de contenu et documents
   légaux partagent l'en-tête, le pied de page et la charte. En séparer une, c'est
   accepter qu'un jour la politique de confidentialité n'ait plus la même
   navigation que l'accueil.

   Couleurs et rythme repris de `src/theme.v2.ts` (charte claire turquoise de
   l'app) : quelqu'un qui arrive du site et installe l'app doit reconnaître le
   même produit. Le site pousse seulement les contrastes un cran plus loin — un
   écran de 27 pouces supporte des titres et des blancs qu'un téléphone ne
   supporte pas.

   ZÉRO JAVASCRIPT, ZÉRO RESSOURCE TIERCE. Les polices sont servies en local
   (copiées depuis node_modules par le script de build) : un `<link>` vers
   fonts.googleapis.com enverrait l'adresse IP de chaque visiteur à Google, alors
   que notre politique de confidentialité énumère nos sous-traitants un par un et
   ne le mentionne pas. Conséquence heureuse : aucun cookie, aucun bandeau de
   consentement, et une politique de sécurité (CSP) qui peut rester la plus
   stricte possible.
   ============================================================================= */

@font-face { font-family: "Bricolage"; src: url("/assets/fonts/BricolageGrotesque_800ExtraBold.ttf") format("truetype"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Bricolage"; src: url("/assets/fonts/BricolageGrotesque_600SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url("/assets/fonts/PlusJakartaSans_400Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url("/assets/fonts/PlusJakartaSans_500Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url("/assets/fonts/PlusJakartaSans_600SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url("/assets/fonts/PlusJakartaSans_700Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --bg: #f4f7f5;
  --paper: #ffffff;
  --paper-alt: #eaf1ee;
  --ink: #08211e;
  --text: #0e1a17;
  --muted: #5d716c;
  --teal: #0c7c73;
  --teal-dark: #0a5a54;
  --teal-light: #10968b;
  --amber: #f4a52a;
  --gold: #f2c14e;
  --diamond: #2ba6d6;
  --line: rgba(8, 33, 30, 0.09);
  --line-strong: rgba(8, 33, 30, 0.16);
  --radius: 18px;
  --radius-lg: 26px;
  --shadow: 0 2px 4px rgba(8, 33, 30, 0.03), 0 12px 32px -12px rgba(8, 33, 30, 0.12);
  --shadow-lift: 0 4px 8px rgba(8, 33, 30, 0.04), 0 28px 60px -20px rgba(8, 33, 30, 0.22);
  --title: "Bricolage", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --body: "Jakarta", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --page: 1140px;
  --gutter: clamp(20px, 5vw, 40px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { font-family: var(--title); font-weight: 800; line-height: 1.1; margin: 0; letter-spacing: -0.025em; color: var(--ink); }
h1 { font-size: clamp(2.4rem, 5.6vw, 4rem); }
h2 { font-size: clamp(1.85rem, 3.8vw, 2.85rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.015em; }
h4 { font-size: 1rem; font-weight: 600; }
p { margin: 0; }
strong { font-weight: 700; color: var(--ink); }

a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--teal-light); outline-offset: 3px; border-radius: 8px; }
img { max-width: 100%; display: block; }

/* Le lien d'évitement : invisible jusqu'à ce qu'on le focalise au clavier. */
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 0 0 12px 0;
}
.skip:focus { left: 0; }

.wrap { width: 100%; max-width: var(--page); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 10vw, 128px) 0; }
.section-sm { padding: clamp(48px, 7vw, 88px) 0; }
.narrow { max-width: 760px; }
.section-head { max-width: 680px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* Surtitre : une courte règle, puis le mot. C'est le détail qui distingue une
   page « propre » d'une page « composée ». */
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.76rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; flex: none; }
.center .eyebrow, .eyebrow.center { justify-content: center; }

.lead { color: var(--muted); font-size: 1.1rem; line-height: 1.7; margin-top: 20px; }
.lead-lg { font-size: 1.22rem; }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }

/* --------------------------------------------------------------- en-tête --- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(244, 247, 245, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 74px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--title); font-size: 1.18rem; color: var(--ink); letter-spacing: -0.02em; }
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 10px; }
.nav { display: flex; gap: 30px; margin-left: auto; font-size: 0.96rem; font-weight: 500; }
.nav a { color: var(--muted); position: relative; padding: 4px 0; }
.nav a:hover { color: var(--ink); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--teal); border-radius: 2px;
}

/* Menu mobile : un <details>, donc aucun script. Le panneau se pose sous la
   barre et s'y comporte comme un tiroir. */
.menu { display: none; margin-left: auto; position: relative; }
.menu summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: grid; align-content: center; gap: 5px; justify-items: end; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary span { display: block; width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s ease; }
.menu[open] summary span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu[open] summary span:nth-child(2) { opacity: 0; }
.menu[open] summary span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.menu-panel {
  position: fixed; left: 0; right: 0; top: 74px;
  background: var(--paper); border-bottom: 1px solid var(--line);
  padding: 20px var(--gutter) 28px; display: grid; gap: 16px;
  box-shadow: var(--shadow);
}
.menu-nav { display: grid; gap: 4px; }
.menu-nav a { color: var(--ink); font-family: var(--title); font-size: 1.35rem; padding: 10px 0; border-bottom: 1px solid var(--line); }
.menu-nav a:hover { text-decoration: none; color: var(--teal); }

@media (max-width: 940px) {
  .nav, .header-cta { display: none; }
  .menu { display: block; }
  .site-header .wrap { gap: 12px; }
}

/* --------------------------------------------------------------- boutons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 28px; border-radius: 999px;
  font-family: var(--body); font-weight: 600; font-size: 1rem; letter-spacing: -0.01em;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--teal-light), var(--teal-dark)); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { box-shadow: var(--shadow-lift); }
.btn-ghost { background: var(--paper); color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn-outline-light:hover { background: rgba(255,255,255,.1); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 0.94rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.center .btn-row, .btn-row.center { justify-content: center; }

/* Badges de téléchargement — images OFFICIELLES d'Apple et de Google, servies
   telles qu'elles sont fournies (web/src/assets/badge-*). Leurs règles d'usage
   interdisent de les redessiner, de les recolorer, de les déformer ou de les
   traduire : on ne fixe donc QUE la hauteur, la largeur suit.

   Les deux fichiers ne se cadrent pas pareil. Le SVG d'Apple est le badge nu
   (126,5 × 40). Le PNG de Google réserve sa zone de respiration DANS l'image
   (646 × 250, dont 29 px transparents en haut et en bas, soit un badge utile de
   192). À hauteur d'image égale, le badge Google paraîtrait donc plus petit :
   le rapport 250/192 remet les deux à la même taille optique, et la marge
   rendue à Apple garde les deux liens de même hauteur dans la ligne. */
.stores { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 32px; }
.stores.center { justify-content: center; }
.store-badge { display: inline-block; border-radius: 9px; transition: transform .18s ease; }
.store-badge:hover { text-decoration: none; transform: translateY(-2px); }
.store-badge:focus-visible { outline: 3px solid var(--teal); outline-offset: 4px; }
.store-badge img { display: block; width: auto; }
.store-badge-apple img { height: 46px; margin: 7px 0; }
.store-badge-play img { height: 60px; }
@media (max-width: 480px) {
  .store-badge-apple img { height: 40px; margin: 6px 0; }
  .store-badge-play img { height: 52px; }
}

/* Tant qu'aucune fiche n'existe, on n'affiche AUCUN badge : « Télécharger dans
   l'App Store » sous un lien mort est deux fautes à la fois — un lien cassé et
   une promesse fausse. Cette phrase tient la place, et surtout l'ancre
   #telecharger, visée par le bouton d'en-tête de toutes les pages. */
.stores-soon {
  margin: 0; display: inline-flex; align-items: center; min-height: 46px;
  padding: 0 20px; border-radius: 999px;
  border: 1px dashed var(--line-strong); background: var(--paper);
  font-family: var(--title); font-weight: 600; font-size: 1rem;
  color: var(--ink); letter-spacing: -0.01em;
}
/* Sur la bande turquoise, la même pastille, en négatif. Sans cette règle,
   `.band p` la repeindrait en blanc translucide sur fond blanc. */
.band .stores-soon {
  border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.07); color: #fff;
}

/* ------------------------------------------------------------------ hero --- */
.hero { position: relative; overflow: hidden; padding: clamp(52px, 7vw, 96px) 0 clamp(60px, 8vw, 104px); }
.hero::before {
  content: ""; position: absolute; inset: -30% 25% auto -15%; height: 700px; pointer-events: none;
  background: radial-gradient(circle at 32% 42%, rgba(16,150,139,.18), transparent 62%);
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-top: 4px; }
.hero .lead { max-width: 31em; }
.hero-note { margin-top: 22px; font-size: 0.88rem; color: var(--muted); }
.tagline { font-family: var(--title); font-weight: 600; color: var(--teal); font-size: 1.02rem; letter-spacing: -0.01em; }
@media (max-width: 940px) { .hero .wrap { grid-template-columns: 1fr; } }

/* ------------------------------------------------------- maquettes d'écran -- */
/* Dessinées en HTML/CSS et non capturées : nettes sur tous les écrans, quelques
   kilo-octets, et surtout corrigeables en une ligne le jour où l'app change. */
.phone {
  position: relative; width: min(300px, 100%); margin: 0 auto;
  aspect-ratio: 9 / 16.8; border-radius: 44px; background: #0b1c1a; padding: 10px;
  box-shadow: var(--shadow-lift);
}
.phone-screen { position: relative; height: 100%; border-radius: 35px; overflow: hidden; background: var(--paper); display: flex; flex-direction: column; }
.phone-notch { position: absolute; top: 9px; left: 50%; transform: translateX(-50%); width: 88px; height: 22px; border-radius: 999px; background: #0b1c1a; z-index: 3; }
.phone-photo { position: relative; height: 46%; background: var(--paper-alt); }
.phone-photo img { width: 100%; height: 100%; object-fit: cover; }
/* Variante « viseur » : de l'eau schématique et une silhouette, plutôt qu'une
   photo de prise mise en scène. */
.phone-photo.shot { background: linear-gradient(165deg, #1e6371, #0d3b45 58%, #07272f); display: grid; place-items: center; }
.shot-fish { width: 58%; height: 58%; fill: rgba(255, 255, 255, .2); }
/* Viseur : quatre coins, quatre éléments. Un cadre plein masquerait le poisson,
   et un masque CSS pour n'en garder que les angles serait illisible. */
.scan-frame { position: absolute; inset: 15% 13%; }
.scan-frame i { position: absolute; width: 26px; height: 26px; border: 2.5px solid rgba(255,255,255,.92); }
.scan-frame i:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; border-radius: 10px 0 0 0; }
.scan-frame i:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; border-radius: 0 10px 0 0; }
.scan-frame i:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; border-radius: 0 0 0 10px; }
.scan-frame i:nth-child(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; border-radius: 0 0 10px 0; }
.phone-body { flex: 1; padding: 18px 16px; display: flex; flex-direction: column; gap: 12px; }
.phone-head { padding: 30px 16px 6px; }
.phone-title { font-family: var(--title); font-size: 1.28rem; }
.phone-sub { font-size: .78rem; color: var(--muted); }
.chip {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px; border-radius: 999px; background: rgba(12,124,115,.1);
  color: var(--teal-dark); font-size: .72rem; font-weight: 700;
}
.phone-species { font-family: var(--title); font-size: 1.38rem; line-height: 1.08; }
.phone-latin { font-size: .8rem; color: var(--muted); font-style: italic; margin-top: 2px; }
.phone-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stat { background: var(--paper-alt); border-radius: 13px; padding: 10px 12px; }
.stat span { display: block; font-size: .66rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.stat strong { font-family: var(--title); font-size: 1.22rem; color: var(--ink); }
.phone-points {
  margin-top: auto; border-radius: 15px; padding: 12px 14px;
  background: linear-gradient(135deg, var(--teal-light), var(--teal-dark)); color: #fff;
  display: flex; align-items: center; justify-content: space-between;
}
.phone-points span { font-size: .76rem; opacity: .85; display: block; }
.phone-points strong { font-family: var(--title); font-size: 1.5rem; color: #fff; }
.phone-points em { font-style: normal; font-weight: 700; font-size: .78rem; background: rgba(255,255,255,.18); padding: 6px 10px; border-radius: 999px; }

/* Fishdex : grille de vignettes, dont certaines encore verrouillées. */
.dex-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; padding: 0 16px 16px; }
.dex-cell { aspect-ratio: 1; border-radius: 14px; background: var(--paper-alt); display: grid; place-items: center; position: relative; overflow: hidden; }
.dex-cell svg { width: 60%; height: 60%; }
.dex-cell.on { background: linear-gradient(150deg, #d8ece8, #eff6f4); }
.dex-cell.on svg { fill: var(--teal); }
.dex-cell.off svg { fill: #c3d2ce; }
.dex-cell.on::after {
  content: ""; position: absolute; right: 7px; top: 7px; width: 7px; height: 7px;
  border-radius: 50%; background: var(--teal);
}

/* Journal : lignes de prises. */
.log-list { display: grid; gap: 9px; padding: 0 16px 16px; }
.log-row { display: flex; align-items: center; gap: 11px; background: var(--paper-alt); border-radius: 14px; padding: 9px 11px; }
.log-thumb { width: 38px; height: 38px; border-radius: 11px; flex: none; display: grid; place-items: center; }
.log-thumb svg { width: 22px; height: 22px; fill: #fff; }
.log-name { font-weight: 700; font-size: .82rem; color: var(--ink); line-height: 1.2; }
.log-meta { font-size: .7rem; color: var(--muted); }
.log-pts { margin-left: auto; font-family: var(--title); font-size: .92rem; color: var(--teal); }

/* Classement : podium sobre. */
.rank-list { display: grid; gap: 8px; padding: 0 16px 16px; }
.rank-row { display: flex; align-items: center; gap: 11px; padding: 9px 11px; border-radius: 14px; background: var(--paper-alt); }
.rank-row.me { background: rgba(12,124,115,.1); border: 1px solid rgba(12,124,115,.22); }
.rank-pos { font-family: var(--title); font-size: .92rem; width: 20px; color: var(--muted); }
.rank-av { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: .76rem; flex: none; }
.rank-name { font-weight: 600; font-size: .82rem; color: var(--ink); }
.rank-score { margin-left: auto; font-family: var(--title); font-size: .88rem; color: var(--ink); }

/* Carte : fond stylisé + épingles. */
.map-mock { position: relative; flex: 1; background:
  radial-gradient(circle at 22% 28%, #cfe6e1 0 62px, transparent 63px),
  radial-gradient(circle at 74% 58%, #cfe6e1 0 88px, transparent 89px),
  radial-gradient(circle at 45% 86%, #cfe6e1 0 54px, transparent 55px),
  linear-gradient(160deg, #eaf3f0, #dfece8);
}
.map-mock::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(8,33,30,.045) 1px, transparent 1px) 0 0 / 34px 34px,
    linear-gradient(rgba(8,33,30,.045) 1px, transparent 1px) 0 0 / 34px 34px;
}
.pin { position: absolute; width: 26px; height: 26px; border-radius: 50% 50% 50% 4px; transform: rotate(-45deg); box-shadow: 0 6px 12px rgba(8,33,30,.2); z-index: 2; }
.pin::after { content: ""; position: absolute; inset: 7px; background: #fff; border-radius: 50%; }
.pin.a { background: var(--teal); top: 26%; left: 24%; }
.pin.b { background: var(--teal-light); top: 52%; left: 62%; }
.pin.c { background: var(--amber); top: 74%; left: 38%; }

/* Barre d'onglets de l'app, reprise dans les maquettes « liste ». Elle remplit le
   bas de l'écran — sans elle, une liste de cinq lignes laisse un grand vide qui
   fait tout de suite « faux » — et rappelle la navigation réelle. */
.phone-tabs {
  margin-top: auto; display: flex; align-items: center; justify-content: space-around;
  padding: 11px 12px 18px; border-top: 1px solid var(--line); background: var(--paper);
}
.phone-tabs .tab { display: grid; place-items: center; width: 30px; height: 30px; }
.phone-tabs svg { width: 19px; height: 19px; stroke: #9aaaa6; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.phone-tabs .fab {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--teal-light), var(--teal-dark));
  box-shadow: 0 6px 14px rgba(10, 90, 84, .35); margin-top: -20px;
}
.phone-tabs .fab svg { stroke: #fff; width: 21px; height: 21px; }

/* Les listes occupent la hauteur disponible mais restent collées en haut : sans
   `align-content`, une grille de trois rangées s'étirerait en bandes molles. */
.log-list, .dex-grid, .rank-list { flex: 1; align-content: start; }

/* Vitrine du héros : le téléphone, et une carte détachée posée par-dessus. La
   carte porte le seul argument qui compte (la note d'une prise) ; la laisser
   dans l'écran du téléphone la réduirait à un détail de maquette. */
.showcase { position: relative; padding-bottom: 24px; }
.float-card {
  position: absolute; left: -4%; bottom: 4%; width: min(268px, 78%);
  background: var(--paper); border: 1px solid var(--line); border-radius: 20px;
  padding: 18px 18px 16px; box-shadow: var(--shadow-lift);
  display: flex; flex-direction: column; gap: 10px;
}
.float-card .phone-stats { margin-top: 2px; }
.float-card .phone-points { margin-top: 4px; }
@media (max-width: 1100px) { .float-card { left: -2%; } }
/* Sous 940 px la colonne fait toute la largeur : la carte sortirait de l'écran.
   Elle repasse donc sous le téléphone, dans le flux. */
@media (max-width: 940px) {
  .showcase { display: grid; justify-items: center; gap: 20px; padding-bottom: 0; }
  .float-card { position: static; width: min(300px, 100%); }
}

/* --------------------------------------------------------------- piliers --- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.pillar { background: var(--paper); padding: 34px 30px; }
.pillar-k { font-family: var(--title); font-size: 2.4rem; color: var(--teal); line-height: 1; }
.pillar h3 { margin-top: 14px; }
.pillar p { color: var(--muted); margin-top: 8px; font-size: .96rem; }
@media (max-width: 820px) { .pillars { grid-template-columns: 1fr; } }

/* ----------------------------------------------------------------- cartes -- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cards, .cards-2 { grid-template-columns: 1fr; } }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 28px; box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.card p { color: var(--muted); margin-top: 10px; font-size: .98rem; }
.card-icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(12,124,115,.09); color: var(--teal); margin-bottom: 18px; }
.card-icon svg { width: 23px; height: 23px; stroke: currentColor; fill: none; stroke-width: 1.85; stroke-linecap: round; stroke-linejoin: round; }

/* ------------------------------------------------------------ alternance --- */
/* Bloc « texte + maquette », en quinconce. Le modificateur `.flip` inverse
   l'ordre visuel sans toucher à l'ordre du DOM (donc sans casser la lecture
   d'un lecteur d'écran ni l'ordre de tabulation). */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split + .split { margin-top: clamp(64px, 9vw, 120px); }
.split.flip .split-visual { order: -1; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  /* Sur une colonne, le texte repasse toujours avant l'image. */
  .split.flip .split-visual { order: 0; }
}
.split h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.tick { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.tick li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); }
.tick li::before { content: "✓"; color: var(--teal); font-weight: 700; flex: none; }
.tick strong { color: var(--ink); }

/* ------------------------------------------------------ bandeaux sombres --- */
.band { background: linear-gradient(150deg, #0a5a54, #04302c 62%, #052a27); color: #fff; position: relative; overflow: hidden; }
.band::before { content: ""; position: absolute; inset: auto -10% -40% 40%; height: 520px; background: radial-gradient(circle, rgba(16,150,139,.28), transparent 65%); pointer-events: none; }
.band > .wrap { position: relative; }
.band h1, .band h2, .band h3, .band h4, .band strong { color: #fff; }
.band .eyebrow { color: #74d3c8; }
.band p, .band .lead { color: rgba(255,255,255,.76); }
.band a:not(.btn):not(.store-badge) { color: #9ce4da; }
.band-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 900px) { .band-grid { grid-template-columns: 1fr; } }
.pill-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pill-list li { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 16px 20px; font-size: .97rem; }

/* Manifeste : une phrase, en grand. Utilisé une seule fois par page, sinon plus
   rien n'est important. */
.manifesto { text-align: center; }
.manifesto p {
  font-family: var(--title); font-weight: 800; letter-spacing: -0.03em; line-height: 1.15;
  font-size: clamp(1.7rem, 4.2vw, 3rem); color: #fff; max-width: 18em; margin: 0 auto;
}
.manifesto .sign { margin-top: 28px; font-family: var(--body); font-size: .95rem; color: rgba(255,255,255,.6); letter-spacing: .02em; }

/* --------------------------------------------------------------- mascotte -- */
.mascot { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.mascot img { margin: 0 auto; max-width: 320px; filter: drop-shadow(0 24px 34px rgba(8,33,30,.18)); }
@media (max-width: 820px) { .mascot { grid-template-columns: 1fr; } .mascot img { max-width: 220px; } }

/* --------------------------------------------------------------- bannière -- */
.scene { position: relative; min-height: 340px; display: grid; place-items: center; overflow: hidden; text-align: center; }
.scene img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scene::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4,32,29,.72), rgba(4,32,29,.86)); }
.scene .wrap { position: relative; z-index: 2; padding-top: 64px; padding-bottom: 64px; }
.scene h2, .scene p { color: #fff; }
.scene p { color: rgba(255,255,255,.8); margin-left: auto; margin-right: auto; max-width: 34em; }

/* ------------------------------------------------------------ abonnements -- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
@media (max-width: 980px) { .plans { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; } }
.plan { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 28px; box-shadow: var(--shadow); position: relative; }
.plan-featured { border-color: rgba(242,193,78,.85); box-shadow: var(--shadow-lift); }
.plan-flag { position: absolute; top: -14px; left: 28px; background: var(--gold); color: #3a2c05; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; }
.plan-price { font-family: var(--title); font-size: 2.3rem; color: var(--ink); margin: 16px 0 2px; letter-spacing: -0.03em; }
.plan-price small { font-family: var(--body); font-size: .95rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan-sub { font-size: .89rem; color: var(--muted); min-height: 3.2em; }
.plan ul { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 11px; font-size: .96rem; }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li::before { content: "✓"; color: var(--teal); font-weight: 700; flex: none; }
.plan-note { margin-top: 32px; font-size: .89rem; color: var(--muted); }
.plan-note.center { text-align: center; max-width: 700px; margin-left: auto; margin-right: auto; }

/* Tableau comparatif */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); }
table { border-collapse: collapse; width: 100%; min-width: 620px; font-size: .95rem; }
th, td { text-align: left; padding: 15px 20px; border-bottom: 1px solid var(--line); }
thead th { font-family: var(--title); font-size: .95rem; color: var(--ink); background: var(--paper-alt); }
tbody tr:last-child td { border-bottom: 0; }
td.yes { color: var(--teal); font-weight: 700; }
td.no { color: var(--muted); }

/* ------------------------------------------------------------------ FAQ ---- */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; }
.faq details[open] { border-color: var(--line-strong); }
.faq summary { cursor: pointer; font-weight: 600; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 18px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--teal); font-size: 1.5rem; line-height: 1; font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--muted); margin-top: 14px; font-size: .98rem; }
.faq p + p { margin-top: 10px; }

/* ------------------------------------------------------------------ pied --- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.62); padding: clamp(52px, 7vw, 84px) 0 44px; font-size: .93rem; }
.site-footer a { color: rgba(255,255,255,.84); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-family: var(--title); font-size: .95rem; margin: 0 0 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer-brand { display: flex; align-items: center; gap: 11px; color: #fff; font-family: var(--title); font-size: 1.14rem; margin-bottom: 16px; }
.footer-brand img { width: 32px; height: 32px; border-radius: 10px; }
.footer-legal { margin-top: 40px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.12); font-size: .84rem; display: grid; gap: 10px; }

/* ------------------------------------------------------- pages « document » */
.legal { padding: clamp(44px, 6vw, 80px) 0 clamp(60px, 8vw, 104px); }
.legal .wrap { max-width: 740px; }
.legal-kicker { font-size: .76rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--teal); margin-bottom: 16px; }
.legal h1 { font-size: clamp(2rem, 4.5vw, 2.9rem); }
.legal-updated { font-size: .85rem; color: var(--muted); margin-top: 12px; }
.legal-lead { color: var(--muted); font-size: 1.08rem; margin-top: 22px; padding-bottom: 28px; border-bottom: 1px solid var(--line-strong); }
.legal section { margin-top: 44px; }
.legal section h2 { font-size: 1.24rem; }
.legal section p { margin-top: 15px; }
.legal section ul { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 11px; }
.legal section li { display: flex; gap: 12px; }
.legal section li::before { content: "•"; color: var(--teal); font-weight: 700; flex: none; }
.legal-switch { margin-top: 60px; padding: 22px 26px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); font-size: .95rem; color: var(--muted); }

.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }

/* ------------------------------------------------------------ apparitions -- */
/* Animation au défilement SANS JavaScript : `animation-timeline: view()` lie
   l'animation à l'entrée de l'élément dans la fenêtre. Là où ce n'est pas
   supporté (Firefox à ce jour), le @supports n'attrape rien et le contenu
   s'affiche normalement — c'est un ornement, jamais une condition de lecture.
   C'est aussi pour ça que l'état « invisible » n'est JAMAIS posé par défaut. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      animation: rise linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 22%;
    }
  }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

@media print {
  .site-header, .site-footer, .btn, .stores { display: none !important; }
  body { background: #fff; font-size: 12pt; }
}
