/* CroqPark v4 : « la rue à l'heure bleue »
   Lecture : landing grand public avant lancement, pour les conducteurs parisiens.
   Langage : photos vues du volant (heure bleue, asphalte mouillé, lampadaires safran),
   identité V1.2 (forêt, safran, disque P bleu), typographie de marque.
   Réglages : variance 8, mouvement 7, densité 3.
   Thème : auto (système) + bouton. Les photos restent des médias sombres dans les deux thèmes.
   Accent unique : safran. Bleu = disque P uniquement. Vert/ambre/rouge/gris = fraîcheur des places.
   Formes : pilule pour tout ce qui se clique, 32px pour les médias, 24px pour les blocs, 14px pour les champs.
   Type (charte V1.2) : Audiowide pour les titres, Space Grotesk pour l'interface, Inter pour le texte.
   Couches : contenu 0, carte 1 à 5, navigation 50, lien d'évitement 60. */

@font-face { font-family: "Audiowide"; src: url("../fonts/audiowide-latin.woff2?v=1") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("../fonts/space-grotesk-latin.woff2?v=1") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin.woff2?v=1") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

/* ---------- Jetons ---------- */
:root {
  --forest: #065F46;
  --forest-deep: #022C22;
  --forest-light: #10B981;
  --saffron: #FBBF24;
  --saffron-deep: #F59E0B;
  --p-blue: #2563EB;
  --ink: #11201B;
  --mist: #F2F7F1;

  --st-green: #22A559;
  --st-amber: #F59E0B;
  --st-red: #E0483E;
  --st-grey: #8FA39A;

  /* Thème clair */
  --bg: #F2F7F1;
  --bg-2: #E6EFE8;
  --surface: #FFFFFF;
  --surface-2: #E1ECE4;
  --text: #11201B;
  --muted: #4A6158;
  --line: rgba(17, 32, 27, .13);
  --line-strong: rgba(17, 32, 27, .34);
  --hover: rgba(17, 32, 27, .07);
  --accent: #F59E0B;
  --accent-hover: #FBBF24;
  --on-accent: #11201B;
  --accent-text: #065F46;
  --croq: #F59E0B;
  --focus: #2563EB;
  --word-dim: rgba(17, 32, 27, .2);
  --shadow-tint: rgba(6, 60, 45, .5);
  --show-dark: none; --me-x: 50.7%; --me-y: 51%;
  --map-dx: 0%; --map-dy: 0%; --cm-x: 52.3%; --cm-y: 66.9%;
  --show-light: block;

  /* Alias repris par les animations officielles et la carte (v3) */
  --safran: var(--saffron-deep); --safran-2: var(--saffron); --plaque: var(--p-blue); --night: var(--forest-deep);
  --pm-mpac: #F59E0B; --pm-dot: #F59E0B; --pm-wall: #065F46; --pm-wall-fill: .12; --pm-spot-free: #22C55E;

  --f-display: "Audiowide", "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --f-ui: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --f-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --r-xl: 32px;
  --r-lg: 24px;
  --r-field: 14px;
  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --pad: clamp(72px, 10vw, 140px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --z-nav: 50;
  --z-skip: 60;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0B1714; --bg-2: #0E1D19; --surface: #13241F; --surface-2: #1A3029;
    --text: #F2F7F1; --muted: #A3BBB0; --line: rgba(242, 247, 241, .13); --line-strong: rgba(242, 247, 241, .36);
    --hover: rgba(242, 247, 241, .09);
    --accent: #FBBF24; --accent-hover: #FCD34D; --accent-text: #FBBF24; --croq: #FBBF24; --focus: #FBBF24;
    --word-dim: rgba(242, 247, 241, .2); --shadow-tint: rgba(0, 0, 0, .8);
    --show-dark: block; --show-light: none; --me-x: 50.5%; --me-y: 51.8%;
    --map-dx: -1.8%; --map-dy: -.15%; --cm-x: 49.4%; --cm-y: 67.5%;
    --pm-mpac: #FBBF24; --pm-dot: #FBBF24; --pm-wall: #10B981; --pm-wall-fill: .18;
  }
}
:root[data-theme="dark"] {
  --bg: #0B1714; --bg-2: #0E1D19; --surface: #13241F; --surface-2: #1A3029;
  --text: #F2F7F1; --muted: #A3BBB0; --line: rgba(242, 247, 241, .13); --line-strong: rgba(242, 247, 241, .36);
  --hover: rgba(242, 247, 241, .09);
  --accent: #FBBF24; --accent-hover: #FCD34D; --accent-text: #FBBF24; --croq: #FBBF24; --focus: #FBBF24;
  --word-dim: rgba(242, 247, 241, .2); --shadow-tint: rgba(0, 0, 0, .8);
  --show-dark: block; --show-light: none; --me-x: 50.5%; --me-y: 51.8%;
    --map-dx: -1.8%; --map-dy: -.15%; --cm-x: 49.4%; --cm-y: 67.5%;
  --pm-mpac: #FBBF24; --pm-dot: #FBBF24; --pm-wall: #10B981; --pm-wall-fill: .18;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 104px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 1.0625rem/1.6 var(--f-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0; text-wrap: pretty; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
h1, h2 { font-family: var(--f-display); font-weight: 400; letter-spacing: -.012em; }
h2 { font-size: clamp(1.7rem, 3.5vw, 3rem); line-height: 1.1; }
h3 { font: 700 clamp(1.18rem, 1.55vw, 1.4rem)/1.22 var(--f-ui); letter-spacing: -.015em; }
sup { font-size: .6em; line-height: 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--saffron); color: var(--ink); }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.section { padding-block: var(--pad); }
.lead { margin-top: 18px; max-width: 60ch; font-size: clamp(1.08rem, 1.45vw, 1.28rem); line-height: 1.5; color: var(--muted); }
.small { font-size: .9rem; color: var(--muted); }
.muted { color: var(--muted); }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip { position: fixed; z-index: var(--z-skip); left: 16px; top: -80px; padding: 12px 18px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font: 600 1rem/1 var(--f-ui); text-decoration: none; transition: top .2s; }
.skip:focus { top: 16px; }
.i { width: 1.25em; height: 1.25em; fill: currentColor; flex: none; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px;
  border: 0; border-radius: 999px; font: 600 1rem/1 var(--f-ui); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .2s, box-shadow .2s, transform .3s var(--spring);
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: .94rem; }

/* ---------- Navigation flottante + rail du Croq ---------- */
.nav { position: fixed; z-index: var(--z-nav); top: 12px; left: 0; right: 0; display: grid; justify-items: center; padding-inline: 12px; pointer-events: none; }
.nav-pill {
  pointer-events: auto; width: min(100%, 1120px); height: 60px; display: flex; align-items: center; gap: 6px; padding: 0 9px 0 22px;
  border-radius: 999px; background: color-mix(in srgb, var(--surface) 80%, transparent);
  backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px);
  box-shadow: inset 0 0 0 1px var(--line), 0 14px 34px -22px var(--shadow-tint);
}
.brand { display: flex; align-items: center; min-height: 44px; }
.logo { height: 24px; width: auto; }
/* Fichier image du logo : cadre plus haut que le logo en ligne (place pour le jambage du q), lettres de meme taille */
img.logo { height: 27px; }
.logo-dark { display: var(--show-dark); }
.logo-light { display: var(--show-light); }
.nav-links { margin-inline: auto; }
.nav-links ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: block; padding: 11px 14px; border-radius: 999px; font: 500 .95rem/1 var(--f-ui); text-decoration: none; transition: background-color .2s; }
.nav-links a:hover { background: var(--hover); }
.icon-btn { width: 42px; height: 42px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: var(--text); cursor: pointer; transition: background-color .2s; }
.icon-btn:hover { background: var(--hover); }
.icon-btn .i-sun { display: var(--show-dark); }
.icon-btn .i-moon { display: var(--show-light); }
@media (max-width: 880px) { .nav-links { display: none; } .brand { margin-right: auto; } .nav-pill { padding-left: 18px; } }
@media (max-width: 390px) { .nav .icon-btn { display: none; } .logo { height: 21px; } img.logo { height: 24px; } }

/* ---------- Logo en ligne : tracés et animation de marque de la charte V1.2 ---------- */
.wm { display: block; overflow: visible; }
.wm .fr { fill: var(--croq); }
.wm .fk { fill: var(--text); }
.wm .fd { fill: var(--p-blue); }
.wm .pel { fill: var(--croq); transform-box: fill-box; transform-origin: center; transform: scale(0); opacity: 0; }
.wm .jaw { fill: none; stroke: var(--croq); stroke-linecap: round; stroke-linejoin: round; transform-box: view-box; transform-origin: 0 0; }
.wm .pzoom, .wm .cgulp { transform-box: fill-box; transform-origin: center; }
/* Une lecture : le Croq mâche, les lettres s'effacent, il gobe deux pastilles puis le P, le nom se reforme.
   12 demi-coups de mâchoire de 0,36 s : la bouche retrouve son angle de repos à la fin. */
.wm.is-playing { --wm-d: 4.32s; }
.wm.is-playing .jaw--top { animation: cp-ba-jt .36s ease-in-out 12 alternate; }
.wm.is-playing .jaw--bot { animation: cp-ba-jb .36s ease-in-out 12 alternate; }
.wm.is-playing .lt { animation: cp-ba-lt var(--wm-d) linear; }
.wm.is-playing .train { animation: cp-ba-tr var(--wm-d) linear; }
.wm.is-playing .pzoom { animation: cp-ba-pz var(--wm-d) linear; }
.wm.is-playing .pel1 { animation: cp-ba-e1 var(--wm-d) linear; }
.wm.is-playing .pel2 { animation: cp-ba-e2 var(--wm-d) linear; }
.wm.is-playing .cmove { animation: cp-ba-cm var(--wm-d) linear; }
.wm.is-playing .cgulp { animation: cp-ba-gu var(--wm-d) linear; }
/* Trois coups de mâchoire quand le nom s'allume dans le manifeste */
.wm.is-chomp .jaw--top { animation: cp-ba-jt .2s ease-in-out 6 alternate; }
.wm.is-chomp .jaw--bot { animation: cp-ba-jb .2s ease-in-out 6 alternate; }
@keyframes cp-ba-jt{to{transform:rotate(24deg)}}
@keyframes cp-ba-jb{to{transform:rotate(-24deg)}}
@keyframes cp-ba-lt{0%,10%{opacity:1}16%,86%{opacity:0}94%,100%{opacity:1}}
@keyframes cp-ba-tr{0%,24%{transform:translateX(0)}64%{transform:translateX(129.3px)}70%,86%{transform:translateX(-315.3px)}87%,100%{transform:translateX(0)}}
@keyframes cp-ba-pz{0%,64%{transform:scale(1);opacity:1}70%{transform:scale(0);opacity:1}86%{transform:scale(0);opacity:0}87%{transform:scale(1);opacity:0}94%,100%{transform:scale(1);opacity:1}}
@keyframes cp-ba-e1{0%,16%{transform:scale(0);opacity:0}17.5%,36.8%{transform:scale(1);opacity:1}37.3%,100%{transform:scale(0);opacity:0}}
@keyframes cp-ba-e2{0%,18%{transform:scale(0);opacity:0}19.5%,46.1%{transform:scale(1);opacity:.55}46.6%,100%{transform:scale(0);opacity:0}}
@keyframes cp-ba-cm{0%,24%{transform:translateX(0);opacity:1}64%,84%{transform:translateX(4893.0px);opacity:1}86%{transform:translateX(4893.0px);opacity:0}86.5%{transform:translateX(0);opacity:0}92%,100%{transform:translateX(0);opacity:1}}
@keyframes cp-ba-gu{0%,67%{transform:scale(1)}71%{transform:scale(1.12)}75%,100%{transform:scale(1)}}

.croq-rail {
  width: min(100% - 48px, 1040px); height: 22px; margin-top: 6px; padding: 0 5px 0 8px; border-radius: 999px;
  display: grid; grid-template-columns: minmax(0, 1fr) 14px; align-items: center; gap: 8px;
  background: color-mix(in srgb, var(--surface) 72%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 0 0 1px var(--line); opacity: 0; transition: opacity .45s var(--ease);
}
.nav.is-past .croq-rail.is-ready { opacity: 1; }
.rail-track { position: relative; height: 14px; }
.rail-dots { position: absolute; inset: 0 0 0 16px; display: flex; align-items: center; justify-content: space-between; }
.rail-dots i { width: 4px; height: 4px; border-radius: 50%; background: var(--croq); transition: opacity .25s, transform .25s; }
.rail-dots i.eaten { opacity: 0; transform: scale(.2); }
.rail-croq { position: absolute; left: 0; top: 0; width: 14px; height: 14px; color: var(--croq); will-change: transform; }
.rail-croq svg { width: 100%; height: 100%; overflow: visible; }
.rail-croq .jaw { fill: none; stroke: currentColor; stroke-width: 12; stroke-linecap: round; stroke-linejoin: round; transform-origin: 0 0; }
.rail-p { width: 14px; height: 14px; transition: transform .45s var(--spring); }
.croq-rail.is-done .rail-p { transform: scale(1.3); }
@media (prefers-reduced-motion: no-preference) {
  .croq-rail.is-chomping .jaw-top { animation: chomp-t .2s ease-in-out infinite alternate; }
  .croq-rail.is-chomping .jaw-bottom { animation: chomp-b .2s ease-in-out infinite alternate; }
}
@keyframes chomp-t { to { transform: rotate(24deg); } }
@keyframes chomp-b { to { transform: rotate(-24deg); } }

/* ---------- Hero : la rue vue du volant ---------- */
.hero {
  position: relative; isolation: isolate; min-height: 100dvh; display: grid; align-items: end;
  padding: 112px 0 clamp(36px, 6vh, 64px); color: #F2F7F1; overflow: clip;
  border-radius: 0 0 var(--r-xl) var(--r-xl); background: #07130F;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(3, 14, 11, .92) 0%, rgba(3, 14, 11, .66) 36%, rgba(3, 14, 11, .14) 70%, rgba(3, 14, 11, .34) 100%),
    linear-gradient(0deg, rgba(3, 14, 11, .82) 0%, rgba(3, 14, 11, 0) 46%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(24px, 5vw, 72px); align-items: end; }
.hero-copy { padding-bottom: clamp(0px, 3vh, 36px); }
.hero-tag { margin-bottom: 20px; font: 500 .98rem/1.3 var(--f-ui); color: rgba(242, 247, 241, .84); }
.hero h1 { color: #F2F7F1; }
.h1-main { display: block; overflow: hidden; padding-bottom: .1em; font-size: clamp(2.5rem, 5.9vw, 5.1rem); line-height: 1; letter-spacing: -.02em; }
.h1-main > span { display: inline-block; }
.h1-next { display: block; margin-top: 12px; font: 600 clamp(1.3rem, 2.3vw, 2rem)/1.18 var(--f-ui); letter-spacing: -.022em; text-wrap: balance; }
.hero-sub { margin-top: 18px; max-width: 47ch; font-size: clamp(1.04rem, 1.3vw, 1.18rem); color: rgba(242, 247, 241, .86); }
/* Les boutiques du hero (.hero-stores, .hero-store) sont décrites avec la section Boutiques, plus bas */
.hero-note { margin-top: 16px; max-width: 60ch; font-size: .95rem; line-height: 1.5; color: rgba(242, 247, 241, .84); }
.hero-note a { display: block; width: fit-content; margin-top: 8px; color: #F2F7F1; font-weight: 600; text-underline-offset: 3px; }
.hero-note a:hover { text-decoration-thickness: 2px; }

.hero-phone { position: relative; margin: 0; justify-self: center; display: grid; justify-items: center; }
.phone {
  position: relative; width: min(clamp(228px, 22vw, 312px), calc((100dvh - 200px) * .445)); padding: 8px;
  border-radius: 13.5% / 6.1%; background: #050A08;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .16), 0 60px 90px -40px rgba(0, 0, 0, .85), 0 24px 40px -28px rgba(0, 0, 0, .7);
}
.phone-screen { position: relative; overflow: hidden; border-radius: 11.5% / 5.2%; background: #0B1714; }
.shot { width: 100%; }
.shot-dark { display: var(--show-dark); }
.shot-light { display: var(--show-light); }
/* Repères posés en pourcentage sur la capture (891 x 2000) */
.ping { position: absolute; z-index: 2; border-radius: 50%; pointer-events: none; translate: -50% -50%; }
.ping-me { left: var(--me-x); top: var(--me-y); width: 13%; aspect-ratio: 1; border: 2px solid var(--saffron-deep); }
/* Le bouton « Je libère ma place », à droite du Radar */
.ping-free { left: 80.5%; top: 75.9%; width: 26%; height: 6.4%; border-radius: 14px; border: 3px solid var(--saffron); }
@media (prefers-reduced-motion: no-preference) {
  .ping-me { animation: ping-out 2.4s var(--ease) infinite; }
  .ping-free { animation: ping-rect 2.4s var(--ease) 1.2s infinite; }
}
@keyframes ping-out { 0% { opacity: .9; scale: .6; } 100% { opacity: 0; scale: 1.7; } }
@keyframes ping-rect { 0% { opacity: .95; scale: 1; } 100% { opacity: 0; scale: 1.3; } }
.free-hit { position: absolute; z-index: 3; left: 80.5%; top: 75.9%; width: 25%; height: 6.2%; translate: -50% -50%; border: 0; border-radius: 14px; background: transparent; cursor: pointer; }

/* Notification de l'app, posée à cheval sur le téléphone */
.ios-banner {
  position: absolute; z-index: 5; right: 74%; top: 13%; width: 292px;
  display: flex; gap: 11px; align-items: flex-start; padding: 12px 14px; border-radius: 22px;
  background: color-mix(in srgb, #F4F6F5 84%, transparent); color: #0F1A16;
  backdrop-filter: saturate(180%) blur(22px); -webkit-backdrop-filter: saturate(180%) blur(22px);
  box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .7);
  transform: translateY(-22px) scale(.95); opacity: 0;
  transition: transform .75s var(--spring), opacity .4s var(--ease);
}
:root[data-theme="dark"] .ios-banner { background: color-mix(in srgb, #1E2623 84%, transparent); color: #EEF5F0; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ios-banner { background: color-mix(in srgb, #1E2623 84%, transparent); color: #EEF5F0; } }
.ios-banner.is-in { transform: none; opacity: 1; }
.ios-banner img { width: 36px; height: 36px; border-radius: 9px; flex: none; }
.ios-banner > div { flex: 1; min-width: 0; }
.ios-banner p { line-height: 1.25; }
.ios-top { display: flex; justify-content: space-between; gap: 8px; font-size: .7rem; opacity: .72; }
.ios-title { font-weight: 700; font-size: .86rem; }
.ios-body { font-size: .84rem; }
.demo-note { margin-top: 14px; max-width: 30ch; text-align: center; font-size: .85rem; line-height: 1.4; color: rgba(242, 247, 241, .8); }

@media (prefers-reduced-motion: no-preference) {
  .hero-bg { animation: hero-zoom 2.6s var(--ease) both; }
  .h1-main > span { animation: line-up 1.15s var(--ease) .15s both; }
  .hero-tag, .h1-next, .hero-sub, .hero-stores, .hero-note { animation: rise .95s var(--ease) both; }
  .hero-tag { animation-delay: .05s; }
  .h1-next { animation-delay: .38s; }
  .hero-sub { animation-delay: .5s; }
  .hero-stores { animation-delay: .62s; }
  .hero-note { animation-delay: .72s; }
  .hero-phone { animation: phone-in 1.35s var(--ease) .3s both; }
}
@keyframes hero-zoom { from { transform: scale(1.12); } }
@keyframes line-up { from { transform: translateY(112%); } }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }
@keyframes phone-in { from { opacity: 0; transform: translateY(64px) rotate(3deg); } }

@media (max-width: 860px) {
  .hero { padding-top: 104px; align-items: start; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero::before { background: linear-gradient(180deg, rgba(3, 14, 11, .9) 0%, rgba(3, 14, 11, .72) 55%, rgba(3, 14, 11, .86) 100%); }
  .phone { width: min(248px, 64vw); }
  .ios-banner { right: auto; left: 50%; top: -20px; translate: -50% 0; width: min(310px, 88vw); }
}

/* ---------- Manifeste ---------- */
.manifesto { padding-block: clamp(80px, 12vw, 170px) clamp(48px, 7vw, 96px); }
.statement { max-width: 25em; font: 500 clamp(1.5rem, 3.4vw, 3rem)/1.17 var(--f-ui); letter-spacing: -.026em; }
/* Le nom de la marque s'écrit avec son logo, calé sur la ligne de base du texte */
.st-brand { white-space: nowrap; }
.st-brand .wm { display: inline-block; height: 1em; width: auto; vertical-align: -.11em; margin: 0 -.09em 0 -.07em; }

/* ---------- Problèmes : le tour du pâté de maisons ---------- */
.pb { padding-block: clamp(40px, 6vw, 72px) var(--pad); }
.pb-head { padding-bottom: clamp(28px, 4vw, 44px); }
.pb-track { display: grid; gap: clamp(48px, 8vw, 88px); width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.scene { display: grid; gap: 22px; }
.scene figure { margin: 0; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--r-xl); background: var(--surface-2); }
.scene img { width: 100%; height: 100%; object-fit: cover; }
.scene-copy h3 { font-size: clamp(1.45rem, 2.2vw, 2rem); line-height: 1.13; letter-spacing: -.024em; }
.scene-copy p { margin-top: 14px; max-width: 44ch; color: var(--muted); }
.scene-copy .fact { color: var(--text); font-weight: 500; }
.scene-copy .result { display: flex; align-items: center; gap: 10px; margin-top: 22px; font: 600 1.02rem/1.2 var(--f-ui); color: var(--accent-text); }
/* Scènes filmées (le tour du pâté de maisons, puis la place trouvée) : l'image fixe reste dessous et la vidéo
   la recouvre dès qu'elle tourne. Sans script, ou si les animations sont réduites, seule l'image s'affiche. */
.clip { position: relative; }
.clip picture { display: contents; }
.clip video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s var(--ease); }
.clip.is-live video { opacity: 1; }
/* Une animation qui tourne toute seule doit pouvoir être mise en pause */
.clip-toggle { position: absolute; z-index: 3; right: 12px; bottom: 12px; width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: rgba(6, 20, 16, .68); color: #F2F7F1; cursor: pointer; transition: background .2s var(--ease), transform .2s var(--ease); }
.clip-toggle[hidden] { display: none; }
.clip-toggle:hover { background: rgba(6, 20, 16, .88); }
.clip-toggle:active { transform: scale(.94); }
.clip-toggle .i { width: 18px; height: 18px; }
.clip-toggle .i-play, .clip.is-paused .clip-toggle .i-pause { display: none; }
.clip.is-paused .clip-toggle .i-play { display: block; }
/* La notification arrive quand la place se libère dans la vidéo (classe is-in posée par le script) */
/* Largeur : jamais sous le bouton pause (44 px + marges), qui partage le bas de l'image.
   Sélecteur renforcé (.clip .clip-notif) : la règle .notif, plus bas dans la feuille, fixe aussi largeur et marges. */
.clip .clip-notif { position: absolute; z-index: 2; left: clamp(10px, 3%, 20px); bottom: clamp(10px, 3%, 20px); width: min(300px, calc(100% - 84px)); box-shadow: 0 0 0 1px var(--line), 0 22px 40px -20px var(--shadow-tint); transition: opacity .4s var(--ease), transform .6s var(--spring); }
.clip.is-timed .clip-notif:not(.is-in) { opacity: 0; transform: translateY(16px) scale(.96); }
/* Étiquette à cheval sur le haut de la notification : à qui est le téléphone (attribut data-who).
   Décorative : le libellé complet est dans l'aria-label de la notification. */
.clip-notif[data-who]::before { content: attr(data-who); position: absolute; left: 14px; bottom: calc(100% - 9px); padding: 3px 10px 4px; border-radius: 999px; background: rgba(6, 20, 16, .9); color: #F2F7F1; font: 600 .68rem/1.25 var(--f-ui); white-space: nowrap; box-shadow: 0 0 0 1px rgba(242, 247, 241, .18); }
/* Première scène : les quatre rues servent à l'action, la notification se pose donc au centre, sur les toits */
.clip .clip-notif.is-center { left: 50%; bottom: auto; top: 52%; translate: -50% -50%; width: min(290px, 64%); }
/* Petit écran : notification plus compacte, pour laisser voir la rue où la voiture se gare */
@media (max-width: 560px) {
  .clip-notif[data-who]::before { left: 10px; font-size: .62rem; padding: 2px 8px 3px; }
  .clip .clip-notif { gap: 9px; padding: 9px 11px; border-radius: 18px; }
  .clip .clip-notif img { width: 30px; height: 30px; border-radius: 8px; }
  .clip-notif .ios-top { font-size: .64rem; }
  .clip-notif .ios-title { font-size: .78rem; }
  .clip-notif .ios-body { font-size: .76rem; }
  .clip-toggle { right: 10px; bottom: 10px; }
}
.more-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 22px 36px; }
.more-list li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 4px 14px; align-items: start; }
.more-list .i { width: 26px; height: 26px; margin-top: 1px; color: var(--accent-text); grid-row: span 2; }
.more-list b { font: 700 1.06rem/1.25 var(--f-ui); }
.more-list span { grid-column: 2; font-size: .96rem; line-height: 1.45; color: var(--muted); }
@media (min-width: 620px) { .more-list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) {
  .scene { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: center; gap: clamp(28px, 4vw, 56px); }
  .scene-more { grid-template-columns: 1fr; padding: clamp(28px, 3vw, 44px); border-radius: var(--r-xl); background: var(--bg-2); }
}
/* Mode panoramique : activé par le script quand l'écran et les préférences le permettent */
.pb-pin.is-pan { --scene-h: clamp(290px, calc(100dvh - 366px), 600px); height: 100dvh; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); padding: 126px 0 clamp(24px, 4vh, 48px); overflow: hidden; }
.is-pan .pb-head { padding-bottom: clamp(20px, 3vh, 36px); }
.is-pan .pb-track { display: flex; align-items: center; gap: clamp(48px, 6vw, 104px); width: max-content; margin: 0; padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); will-change: transform; }
.is-pan .scene { flex: none; grid-template-columns: auto clamp(300px, 27vw, 400px); }
.is-pan .scene figure { height: var(--scene-h); width: calc(var(--scene-h) * 1.5); }
.is-pan .scene-more { grid-template-columns: clamp(620px, 58vw, 860px); height: var(--scene-h); align-content: center; padding: clamp(24px, 3.4vw, 56px); }
.is-pan .scene-more h3 { font-size: clamp(1.45rem, 2.2vw, 2rem); }
@media (min-height: 760px) { .is-pan .more-list b { font-size: 1.2rem; } .is-pan .more-list span { font-size: 1.02rem; } .is-pan .more-list { gap: 28px 44px; margin-top: 28px; } }
.is-pan .more-list { gap: 16px 32px; margin-top: 16px; }

/* ---------- Comment ça marche ---------- */
/* Le trajet d'une place en quatre temps. Chaque photo porte, à cheval sur son bord bas,
   la preuve côté app : vraie capture en gros plan, alerte, ou libellé affiché par l'app. */
.story { --gap: clamp(64px, 9vw, 120px); list-style: none; padding: 0; margin-top: clamp(40px, 6vw, 72px); display: grid; gap: var(--gap); }
.beat { position: relative; display: grid; gap: 22px; }
/* Entre deux temps, un bout de ligne discontinue, comme au milieu de la chaussée */
.beat + .beat::before { content: ""; position: absolute; left: 2px; top: calc(var(--gap) * -.5 - 20px); height: 40px; border-left: 3px dashed var(--line-strong); }
.step-n { display: block; font: 400 1.55rem/1 var(--f-display); color: var(--accent-text); }
.beat-copy h3 { margin-top: 14px; font-size: clamp(1.45rem, 2.2vw, 2rem); line-height: 1.13; letter-spacing: -.024em; }
.beat-copy p { margin-top: 12px; max-width: 46ch; color: var(--muted); }
.beat-media { position: relative; margin: 0 0 clamp(60px, 7vw, 84px); }
.beat-media .ph { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-xl); background: var(--surface-2); }
@media (min-width: 900px) {
  .beat { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(36px, 5vw, 76px); align-items: center; }
  .beat-flip { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .beat-flip .beat-media { order: 2; }
  .beat-fork { grid-template-columns: minmax(0, 1fr); row-gap: 36px; }
  .beat + .beat::before { left: 50%; }
}

.sticker { position: absolute; z-index: 2; left: clamp(12px, 3%, 24px); bottom: 0; translate: 0 50%; margin: 0; box-shadow: 0 0 0 1px var(--line), 0 22px 40px -20px var(--shadow-tint); }
.sticker.is-right { left: auto; right: clamp(12px, 3%, 24px); }
/* Gros plan sur la capture d'accueil (795 x 276) : le bouton touché est entouré */
.ui-zoom { width: min(72%, 360px); overflow: hidden; border-radius: 20px; background: var(--surface); }
/* Même gros plan, posé sous le texte au lieu d'être à cheval sur la photo (fiche d'une place, 810 x 494) */
.ui-inline { position: relative; width: min(100%, 340px); margin-top: 22px; box-shadow: 0 0 0 1px var(--line), 0 22px 40px -24px var(--shadow-tint); }
.ui-zoom .shot { width: 100%; height: auto; }
.tap { position: absolute; border: 3px solid var(--text); pointer-events: none; }
.tap-radar { left: 50%; top: 35.8%; width: 25.5%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; }
.tap-free { left: 69.9%; top: 10.4%; width: 29.3%; height: 46.6%; border-radius: 16px; }
.tap-go { left: 1.4%; top: 67%; width: 97.2%; height: 30.4%; border-radius: 999px; }
.tap::after { content: ""; position: absolute; inset: -3px; border: 3px solid var(--text); border-radius: inherit; opacity: 0; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; background: var(--surface); color: var(--text); font: 600 clamp(.92rem, 1.2vw, 1.02rem)/1.2 var(--f-ui); }
.notif { width: min(84%, 310px); display: flex; gap: 11px; align-items: flex-start; padding: 12px 14px; border-radius: 22px; background: color-mix(in srgb, var(--surface) 90%, transparent); color: var(--text); backdrop-filter: saturate(180%) blur(22px); -webkit-backdrop-filter: saturate(180%) blur(22px); }
.notif img { width: 36px; height: 36px; border-radius: 9px; flex: none; }
.notif > div { flex: 1; min-width: 0; }
.notif p { line-height: 1.25; }
/* Alerte de départ : deux réponses dans la notification */
.notif-ask { width: min(80%, 300px); }
.notif-actions { display: flex; gap: 8px; margin-top: 10px; }
.na { flex: 1; padding: 9px 0; border-radius: 999px; text-align: center; background: var(--hover); color: var(--text); font: 600 .84rem/1 var(--f-ui); }
.na-yes { background: var(--accent); color: var(--on-accent); }
@media (prefers-reduced-motion: no-preference) {
  .tap::after { animation: tap-out 2s var(--ease) infinite; }
}
@keyframes tap-out { 0% { opacity: .85; scale: 1; } 70%, 100% { opacity: 0; scale: 1.26; } }

/* Deux façons de libérer une place, côte à côte */
.fork { position: relative; display: grid; gap: 36px; container-type: inline-size; }
.way .beat-media { margin-bottom: clamp(82px, 7.5vw, 96px); }
.way-tag { font: 600 .95rem/1 var(--f-ui); color: var(--accent-text); }
.way h4 { margin: 10px 0 0; font: 700 clamp(1.18rem, 1.55vw, 1.4rem)/1.22 var(--f-ui); letter-spacing: -.015em; }
.way > p:last-child { margin-top: 8px; max-width: 46ch; color: var(--muted); }
.fork-or { justify-self: center; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--surface-2); color: var(--text); font: 600 1rem/1 var(--f-ui); }
@media (min-width: 760px) {
  .fork { --fork-gap: clamp(28px, 4vw, 56px); grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--fork-gap); }
  /* « ou » se pose entre les deux photos, à mi-hauteur (photo en 3/2 : demi-hauteur = largeur / 3) */
  .fork-or { position: absolute; z-index: 3; left: 50%; top: calc((50cqw - var(--fork-gap) / 2) / 3); translate: -50% -50%; box-shadow: 0 0 0 7px var(--bg); }
}

.tagline { margin-top: clamp(64px, 9vw, 120px); }
.tg-row { display: grid; gap: 2px 40px; align-items: baseline; padding-block: clamp(12px, 1.8vw, 20px); }
.tg-row + .tg-row { border-top: 1px solid var(--line); }
@media (min-width: 820px) { .tg-row { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); } }
.tg-word { --fill: 100%; position: relative; justify-self: start; font: 400 clamp(2.7rem, 9vw, 7rem)/1.06 var(--f-display); letter-spacing: -.02em; color: transparent; -webkit-text-stroke: 1.5px var(--line-strong); }
.tg-fill { position: absolute; inset: 0; color: var(--text); -webkit-text-stroke: 0; clip-path: inset(-10% calc(100% - var(--fill)) -10% 0); }
.tg-desc { font: 500 clamp(1.05rem, 1.55vw, 1.32rem)/1.35 var(--f-ui); color: var(--muted); }

/* ---------- Carte honnête ---------- */
.map-grid { display: grid; gap: 28px; margin-top: clamp(28px, 4vw, 48px); }
@media (min-width: 960px) { .map-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(36px, 4vw, 56px); align-items: center; } }

/* Blocs repris de la v3 : animations officielles (rencontre, radar) et carte vivante */
/* Animation officielle du splash (M-Pac + pastilles + plaque P) */
.pm-logo { width: clamp(180px, 22vw, 260px); }
.pm-logo svg, .pm-meet svg { width: 100%; height: auto; overflow: visible; }
.pm-jaw { fill: none; stroke: var(--pm-mpac); stroke-linecap: round; stroke-linejoin: round; transform-box: view-box; transform-origin: 0 0; }
.pm-pellet { fill: var(--pm-dot); transform-box: fill-box; transform-origin: center; }
.pm-plate, .pm-plate-r { transform-box: fill-box; transform-origin: center; }
.pm-plate-disc { fill: var(--plaque); }
.pm-plate-p { fill: #fff; font: 700 36px var(--f-display); }
.pm-plate-p--sm { font-size: 26px; }
.pm-plate-p--xs { font-size: 17px; }
.pm-logo .pm-pellet:nth-child(2), .pm-meet .pm-pellet:nth-child(2) { opacity: .7; }
.pm-logo .pm-pellet:nth-child(3), .pm-meet .pm-pellet:nth-child(3) { opacity: .45; }
@media (prefers-reduced-motion: no-preference) {
  .pm-logo .pm-jaw--top, .pm-meet .pm-jaw--top { animation: pm-sp-t .36s ease-in-out infinite alternate; }
  .pm-logo .pm-jaw--bot, .pm-meet .pm-jaw--bot { animation: pm-sp-b .36s ease-in-out infinite alternate; }
  .pm-logo .pm-mpac { animation: pm-sp-mpac 3.6s linear infinite; }
  .pm-logo .pm-train { animation: pm-sp-train 3.6s linear infinite; }
  .pm-logo .pm-pellet { animation: 3.6s linear infinite; }
  .pm-logo .pm-pellet:nth-child(1) { animation-name: pm-sp-p1; }
  .pm-logo .pm-pellet:nth-child(2) { animation-name: pm-sp-p2; }
  .pm-logo .pm-pellet:nth-child(3) { animation-name: pm-sp-p3; }
  .pm-logo .pm-plate { animation: pm-sp-plate 3.6s linear infinite; }
  .pm-meet .pm-mpac { animation: pm-mt-mpac 3.2s linear infinite; }
  .pm-meet .pm-train { animation: pm-mt-train 3.2s linear infinite; }
  .pm-meet .pm-pellet { animation: 3.2s linear infinite; }
  .pm-meet .pm-pellet:nth-child(1) { animation-name: pm-mt-p1; }
  .pm-meet .pm-pellet:nth-child(2) { animation-name: pm-mt-p2; }
  .pm-meet .pm-pellet:nth-child(3) { animation-name: pm-mt-p3; }
  .pm-meet .pm-plate { animation: pm-mt-plate 3.2s linear infinite; }
}
@keyframes pm-sp-t { to { transform: rotate(24deg); } }
@keyframes pm-sp-b { to { transform: rotate(-24deg); } }
@keyframes pm-sp-mpac { 0%, 14% { transform: translateX(0); opacity: 1; } 58% { transform: translateX(78px); opacity: 1; } 66% { transform: translateX(78px); opacity: 1; } 72% { transform: translateX(78px); opacity: 0; } 74% { transform: translateX(0); opacity: 0; } 86%, 100% { transform: translateX(0); opacity: 1; } }
@keyframes pm-sp-train { 0%, 14% { transform: translateX(0); opacity: 1; } 58% { transform: translateX(-74px); opacity: 1; } 72% { transform: translateX(-74px); opacity: 0; } 74% { transform: translateX(0); opacity: 0; } 86%, 100% { transform: translateX(0); opacity: 1; } }
@keyframes pm-sp-p1 { 0%, 30% { transform: scale(1); } 32%, 72% { transform: scale(0); } 80%, 100% { transform: scale(1); } }
@keyframes pm-sp-p2 { 0%, 37% { transform: scale(1); } 39%, 72% { transform: scale(0); } 82%, 100% { transform: scale(1); } }
@keyframes pm-sp-p3 { 0%, 44% { transform: scale(1); } 46%, 72% { transform: scale(0); } 84%, 100% { transform: scale(1); } }
@keyframes pm-sp-plate { 0%, 45% { transform: scale(1); } 58% { transform: scale(.3); } 63% { transform: scale(.05); } 72% { transform: scale(.05); } 74% { transform: scale(0); } 88%, 100% { transform: scale(1); } }
@keyframes pm-mt-mpac { 0%, 12% { transform: translateX(0); opacity: 1; } 56% { transform: translateX(56px); opacity: 1; } 66% { transform: translateX(56px); opacity: 1; } 72% { transform: translateX(56px); opacity: 0; } 74% { transform: translateX(0); opacity: 0; } 86%, 100% { transform: translateX(0); opacity: 1; } }
@keyframes pm-mt-train { 0%, 12% { transform: translateX(0); opacity: 1; } 56% { transform: translateX(-52px); opacity: 1; } 72% { transform: translateX(-52px); opacity: 0; } 74% { transform: translateX(0); opacity: 0; } 86%, 100% { transform: translateX(0); opacity: 1; } }
@keyframes pm-mt-p1 { 0%, 28% { transform: scale(1); } 30%, 72% { transform: scale(0); } 80%, 100% { transform: scale(1); } }
@keyframes pm-mt-p2 { 0%, 35% { transform: scale(1); } 37%, 72% { transform: scale(0); } 82%, 100% { transform: scale(1); } }
@keyframes pm-mt-p3 { 0%, 42% { transform: scale(1); } 44%, 72% { transform: scale(0); } 84%, 100% { transform: scale(1); } }
@keyframes pm-mt-plate { 0%, 44% { transform: scale(1); } 56% { transform: scale(.3); } 61% { transform: scale(.05); } 72% { transform: scale(.05); } 74% { transform: scale(0); } 88%, 100% { transform: scale(1); } }

/* Carte : captures réelles de l'app. La capture « Boussole allumée » recouvre l'autre et apparaît en fondu (is-heat). */
.app-map { position: relative; justify-self: center; width: min(100%, 520px); border-radius: var(--r-xl); overflow: hidden; background: var(--surface-2); isolation: isolate; box-shadow: 0 0 0 1px var(--line), 0 50px 80px -50px var(--shadow-tint); }
.app-map .shot { height: auto; }
.app-map .heat { position: absolute; inset: 0; height: 100%; opacity: 0; transition: opacity .7s var(--ease); }
.app-map.is-heat .heat { opacity: 1; }
/* Zone cliquable sur l'interrupteur « Boussole » de la capture */
.heat-hit { position: absolute; z-index: 3; left: 55.9%; top: .9%; width: 39.9%; height: 9.2%; padding: 0; border: 0; border-radius: 999px; background: transparent; cursor: pointer; }
/* Ma position : un anneau qui s'élargit autour du Croq de la capture */
.app-me { left: var(--cm-x); top: var(--cm-y); width: 9%; aspect-ratio: 1; border: 2px solid var(--saffron-deep); }
@media (prefers-reduced-motion: no-preference) { .app-me { animation: ping-out 2.4s var(--ease) infinite; } }
@media (prefers-reduced-motion: reduce) { .app-me { display: none; } }
/* Places : posées en pourcentage de l'image ; le calque suit le petit décalage entre la capture claire et la sombre */
.app-spots { position: absolute; inset: 0; z-index: 2; translate: var(--map-dx) var(--map-dy); pointer-events: none; }
.app-spots .spot { position: absolute; width: clamp(26px, 7.2%, 38px); height: auto; aspect-ratio: 1; translate: -50% -50%; filter: drop-shadow(0 2px 5px rgba(0, 0, 0, .35)); }
.app-spots .spot .ring-bg { stroke: color-mix(in srgb, var(--text) 24%, transparent); }
/* Interrupteur accessible de la température des rues */
.switch { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; margin-top: 18px; padding: 8px 18px 8px 9px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); color: var(--text); font: 600 .95rem/1.1 var(--f-ui); cursor: pointer; transition: background-color .2s, scale .3s var(--spring); }
.switch:hover { background: var(--hover); }
.switch:active { scale: .97; }
.switch-track { position: relative; flex: none; width: 48px; height: 30px; border-radius: 999px; background: var(--st-grey); transition: background-color .25s; }
.switch-track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); transition: translate .35s var(--spring); }
.switch[aria-checked="true"] .switch-track { background: var(--forest); }
.switch[aria-checked="true"] .switch-track::after { translate: 18px 0; }
/* Annonces : sous la rangée d'interrupteurs de la capture, entre les boutons ronds de gauche et de droite */
.map-toasts { position: absolute; z-index: 4; top: 11.5%; left: 19%; right: 19%; display: grid; justify-items: center; gap: 8px; pointer-events: none; }
.map-toast {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 16px; font-size: .84rem; line-height: 1.3;
  background: color-mix(in srgb, var(--surface) 86%, transparent); border: 1px solid var(--line); color: var(--text);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.map-toast .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--st-green); flex: none; box-shadow: 0 0 0 4px rgba(34, 165, 89, .22); }
.map-toast.karma .dot { background: var(--safran); box-shadow: 0 0 0 4px rgba(245, 158, 11, .25); }
@media (prefers-reduced-motion: no-preference) {
  .map-toast { animation: toast-in .6s var(--spring) both; }
  .map-toast.out { animation: toast-out .4s ease-in both; }
}
@keyframes toast-in { from { opacity: 0; transform: translateY(-12px) scale(.96); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(-8px); } }
.release-btn {
  position: absolute; z-index: 4; left: 50%; bottom: 16px; translate: -50% 0;
  display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 7px 20px 7px 7px; border: 0; border-radius: 999px;
  background: var(--safran); color: var(--ink); font: 700 1rem/1 var(--f-body); cursor: pointer; white-space: nowrap;
  transition: background-color .2s, scale .3s var(--spring);
}
.release-btn:hover { background: var(--safran-2); }
.release-btn:active { scale: .94; }
.p-disc { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--plaque); color: #fff; font: 800 1.1rem/1 var(--f-display); }
.spot { width: 38px; height: 38px; }
.spot svg { width: 100%; height: 100%; overflow: visible; }
.spot .ring-bg { fill: none; stroke: rgba(255, 255, 255, .25); stroke-width: 6; }
.spot .ring { fill: none; stroke-width: 6; stroke-linecap: round; transform: rotate(-90deg); transition: stroke-dasharray .6s linear, stroke .6s; }
.spot .core { stroke: #fff; stroke-width: 3; transition: fill .6s; }
.spot[data-s="green"] .ring { stroke: var(--st-green); } .spot[data-s="green"] .core { fill: var(--st-green); }
.spot[data-s="amber"] .ring { stroke: var(--st-amber); } .spot[data-s="amber"] .core { fill: var(--st-amber); }
.spot[data-s="red"] .ring { stroke: var(--st-red); } .spot[data-s="red"] .core { fill: var(--st-red); }
.spot[data-s="grey"] .ring { stroke: var(--st-grey); } .spot[data-s="grey"] .core { fill: var(--st-grey); }
.spot.gone { opacity: 0; transition: opacity .6s; }
@media (prefers-reduced-motion: no-preference) { .spot.born svg { animation: pop .7s var(--spring) both; } }
@keyframes pop { from { transform: scale(0); } }
.fresh-legend { display: flex; flex-wrap: wrap; gap: 8px 16px; list-style: none; padding: 0; margin: 18px 0 0; font-size: .92rem; font-weight: 600; }
.fresh-legend li { display: inline-flex; align-items: center; gap: 8px; }
.sw { width: 12px; height: 12px; border-radius: 50%; }
.sw-green { background: var(--st-green); } .sw-amber { background: var(--st-amber); } .sw-red { background: var(--st-red); } .sw-grey { background: var(--st-grey); }

.heat-scale { margin-top: auto; padding-top: 26px; display: flex; justify-content: space-between; font-size: .85rem; font-weight: 600; color: var(--muted); position: relative; }
.heat-scale::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 14px; border-radius: 999px; background: linear-gradient(90deg, var(--st-red), var(--st-amber) 50%, var(--st-green)); }
.rules-live { display: flex; align-items: center; gap: 12px; font: 800 clamp(1.6rem, 3vw, 2.3rem)/1.1 var(--f-display); letter-spacing: -.02em; color: var(--text) !important; margin: 8px 0 14px !important; }
.rules-live .i { color: var(--accent-text); width: 1em; height: 1em; }

/* Animation officielle du Radar (labyrinthe) */
.pm-maze { width: 150px; }
.pm-maze svg { width: 100%; height: auto; overflow: visible; }
.pm-maze .pm-wall { fill: var(--pm-wall); fill-opacity: var(--pm-wall-fill); stroke: var(--pm-wall); stroke-width: 2.5; stroke-opacity: .9; }
.pm-maze .pm-outer-track { fill: none; stroke: var(--pm-wall); stroke-opacity: .25; stroke-width: 4; }
.pm-maze .pm-outer-progress { fill: none; stroke: var(--safran-2); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 1000; stroke-dashoffset: 120; }
.pm-maze .pm-dot { fill: var(--pm-dot); transform-box: fill-box; transform-origin: center; }
.pm-maze .pm-dot--static { fill-opacity: .4; }
.pm-maze .pm-mpac--idle { offset-path: path("M40 40 L200 40 L200 120 L360 120 L360 360 L200 360 L200 280 L40 280 L40 40"); offset-rotate: auto; transition: opacity .25s; }
.pm-maze .pm-mpac--found { offset-path: path("M120 120 L120 200 L200 200"); offset-rotate: auto; opacity: 0; }
.pm-maze .pm-dot--found { opacity: 0; }
.pm-maze .pm-plate-r { opacity: 0; }
.pm-maze .pm-halo { fill: none; stroke: var(--pm-spot-free); stroke-width: 3; }
.pm-maze .pm-blip { fill: none; stroke: var(--pm-spot-free); stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.pm-maze .pm-guide { fill: none; stroke: var(--pm-spot-free); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 6 10; opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .pm-maze .pm-dot--idle { animation: none 9s linear infinite; }
  .pm-maze .pm-jaw--top { animation: pm-mz-t .24s ease-in-out infinite alternate; }
  .pm-maze .pm-jaw--bot { animation: pm-mz-b .24s ease-in-out infinite alternate; }
  .pm-maze .pm-mpac--idle { animation: pm-mz-loop 9s linear infinite; }
  .pm-maze .pm-halo { animation: pm-mz-halo 1s ease-in-out infinite alternate; }
  .pm-maze.is-found .pm-mpac--idle { opacity: 0; animation-play-state: paused; }
  .pm-maze.is-found .pm-dot--idle { animation-play-state: paused; opacity: 0; transition: opacity .3s; }
  .pm-maze.is-found .pm-blip { animation: pm-mz-blip 1s ease-out 2; }
  .pm-maze.is-found .pm-plate-r { animation: pm-mz-plate 2.9s var(--spring) forwards; }
  .pm-maze.is-found .pm-guide { animation: pm-mz-guide 2.7s linear forwards; }
  .pm-maze.is-found .pm-dot--found { opacity: 1; animation: pm-mz-fd .3s ease-in forwards; }
  .pm-maze.is-found .pm-mpac--found { animation: pm-mz-run 1.8s linear .25s forwards; }
}
@keyframes pm-mz-t { to { transform: rotate(26deg); } }
@keyframes pm-mz-b { to { transform: rotate(-26deg); } }
@keyframes pm-mz-loop { to { offset-distance: 100%; } }
@keyframes pm-mz-halo { from { stroke-opacity: .3; } to { stroke-opacity: 1; } }
@keyframes pm-mz-blip { 0% { opacity: .9; transform: scale(.3); } 100% { opacity: 0; transform: scale(2.6); } }
@keyframes pm-mz-plate { 0% { opacity: 0; transform: scale(.2); } 12% { opacity: 1; transform: scale(1.18); } 20%, 70% { opacity: 1; transform: scale(1); } 82%, 100% { opacity: 0; transform: scale(.1); } }
@keyframes pm-mz-guide { 0% { opacity: 0; } 12%, 80% { opacity: .7; } 100% { opacity: 0; } }
@keyframes pm-mz-fd { 0% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(.2); } }
@keyframes pm-mz-run { 0% { opacity: 1; offset-distance: 0%; } 100% { opacity: 1; offset-distance: 100%; } }
@keyframes pm-mz-i0{0%,2.12%{opacity:1;transform:scale(1)}3.92%{opacity:0;transform:scale(.2)}45.12%{opacity:0;transform:scale(.2)}48.12%,100%{opacity:1;transform:scale(1)}}@keyframes pm-mz-i1{0%,5.25%{opacity:1;transform:scale(1)}7.05%{opacity:0;transform:scale(.2)}48.25%{opacity:0;transform:scale(.2)}51.25%,100%{opacity:1;transform:scale(1)}}@keyframes pm-mz-i2{0%,8.38%{opacity:1;transform:scale(1)}10.18%{opacity:0;transform:scale(.2)}51.38%{opacity:0;transform:scale(.2)}54.38%,100%{opacity:1;transform:scale(1)}}@keyframes pm-mz-i3{0%,11.50%{opacity:1;transform:scale(1)}13.30%{opacity:0;transform:scale(.2)}54.50%{opacity:0;transform:scale(.2)}57.50%,100%{opacity:1;transform:scale(1)}}@keyframes pm-mz-i4{0%,14.62%{opacity:1;transform:scale(1)}16.43%{opacity:0;transform:scale(.2)}57.62%{opacity:0;transform:scale(.2)}60.62%,100%{opacity:1;transform:scale(1)}}@keyframes pm-mz-i5{0%,17.75%{opacity:1;transform:scale(1)}19.55%{opacity:0;transform:scale(.2)}60.75%{opacity:0;transform:scale(.2)}63.75%,100%{opacity:1;transform:scale(1)}}@keyframes pm-mz-i6{0%,20.88%{opacity:1;transform:scale(1)}22.68%{opacity:0;transform:scale(.2)}63.88%{opacity:0;transform:scale(.2)}66.88%,100%{opacity:1;transform:scale(1)}}@keyframes pm-mz-i7{0%,24.00%{opacity:1;transform:scale(1)}25.80%{opacity:0;transform:scale(.2)}67.00%{opacity:0;transform:scale(.2)}70.00%,100%{opacity:1;transform:scale(1)}}@keyframes pm-mz-i8{0%,27.12%{opacity:1;transform:scale(1)}28.93%{opacity:0;transform:scale(.2)}70.12%{opacity:0;transform:scale(.2)}73.12%,100%{opacity:1;transform:scale(1)}}@keyframes pm-mz-i9{0%,30.25%{opacity:1;transform:scale(1)}32.05%{opacity:0;transform:scale(.2)}73.25%{opacity:0;transform:scale(.2)}76.25%,100%{opacity:1;transform:scale(1)}}@keyframes pm-mz-i10{0%,33.38%{opacity:1;transform:scale(1)}35.17%{opacity:0;transform:scale(.2)}76.38%{opacity:0;transform:scale(.2)}79.38%,100%{opacity:1;transform:scale(1)}}@keyframes pm-mz-i11{0%,36.50%{opacity:1;transform:scale(1)}38.30%{opacity:0;transform:scale(.2)}79.50%{opacity:0;transform:scale(.2)}82.50%,100%{opacity:1;transform:scale(1)}}@keyframes pm-mz-i12{0%,39.62%{opacity:1;transform:scale(1)}41.42%{opacity:0;transform:scale(.2)}82.62%{opacity:0;transform:scale(.2)}85.62%,100%{opacity:1;transform:scale(1)}}@keyframes pm-mz-i13{0%,42.75%{opacity:1;transform:scale(1)}44.55%{opacity:0;transform:scale(.2)}85.75%{opacity:0;transform:scale(.2)}88.75%,100%{opacity:1;transform:scale(1)}}@keyframes pm-mz-i14{0%,45.88%{opacity:1;transform:scale(1)}47.67%{opacity:0;transform:scale(.2)}88.88%{opacity:0;transform:scale(.2)}91.88%,100%{opacity:1;transform:scale(1)}}@keyframes pm-mz-i15{0%,49.00%{opacity:1;transform:scale(1)}50.80%{opacity:0;transform:scale(.2)}92.00%{opacity:0;transform:scale(.2)}95.00%,100%{opacity:1;transform:scale(1)}}@keyframes pm-mz-i16{0%,52.12%{opacity:1;transform:scale(1)}53.92%{opacity:0;transform:scale(.2)}95.12%{opacity:0;transform:scale(.2)}98.12%,100%{opacity:1;transform:scale(1)}}@keyframes pm-mz-i17{0%,-1.75%{opacity:0;transform:scale(.2)}1.25%,55.25%{opacity:1;transform:scale(1)}57.05%,100%{opacity:0;transform:scale(.2)}}@keyframes pm-mz-i18{0%,1.38%{opacity:0;transform:scale(.2)}4.38%,58.38%{opacity:1;transform:scale(1)}60.17%,100%{opacity:0;transform:scale(.2)}}@keyframes pm-mz-i19{0%,4.50%{opacity:0;transform:scale(.2)}7.50%,61.50%{opacity:1;transform:scale(1)}63.30%,100%{opacity:0;transform:scale(.2)}}@keyframes pm-mz-i20{0%,7.62%{opacity:0;transform:scale(.2)}10.62%,64.62%{opacity:1;transform:scale(1)}66.42%,100%{opacity:0;transform:scale(.2)}}@keyframes pm-mz-i21{0%,10.75%{opacity:0;transform:scale(.2)}13.75%,67.75%{opacity:1;transform:scale(1)}69.55%,100%{opacity:0;transform:scale(.2)}}@keyframes pm-mz-i22{0%,13.88%{opacity:0;transform:scale(.2)}16.88%,70.88%{opacity:1;transform:scale(1)}72.67%,100%{opacity:0;transform:scale(.2)}}@keyframes pm-mz-i23{0%,17.00%{opacity:0;transform:scale(.2)}20.00%,74.00%{opacity:1;transform:scale(1)}75.80%,100%{opacity:0;transform:scale(.2)}}@keyframes pm-mz-i24{0%,20.12%{opacity:0;transform:scale(.2)}23.12%,77.12%{opacity:1;transform:scale(1)}78.92%,100%{opacity:0;transform:scale(.2)}}@keyframes pm-mz-i25{0%,23.25%{opacity:0;transform:scale(.2)}26.25%,80.25%{opacity:1;transform:scale(1)}82.05%,100%{opacity:0;transform:scale(.2)}}@keyframes pm-mz-i26{0%,26.38%{opacity:0;transform:scale(.2)}29.38%,83.38%{opacity:1;transform:scale(1)}85.17%,100%{opacity:0;transform:scale(.2)}}@keyframes pm-mz-i27{0%,29.50%{opacity:0;transform:scale(.2)}32.50%,86.50%{opacity:1;transform:scale(1)}88.30%,100%{opacity:0;transform:scale(.2)}}@keyframes pm-mz-i28{0%,32.62%{opacity:0;transform:scale(.2)}35.62%,89.62%{opacity:1;transform:scale(1)}91.42%,100%{opacity:0;transform:scale(.2)}}@keyframes pm-mz-i29{0%,35.75%{opacity:0;transform:scale(.2)}38.75%,92.75%{opacity:1;transform:scale(1)}94.55%,100%{opacity:0;transform:scale(.2)}}@keyframes pm-mz-i30{0%,38.88%{opacity:0;transform:scale(.2)}41.88%,95.88%{opacity:1;transform:scale(1)}97.67%,100%{opacity:0;transform:scale(.2)}}
@media (prefers-reduced-motion: reduce) {
  .pm-maze .pm-mpac--idle { offset-distance: 0%; }
}

/* Ajustements v4 des blocs repris */
.release-btn { font: 600 1rem/1 var(--f-ui); }
.p-disc { font: 700 1.1rem/1 var(--f-ui); }
.pm-plate-p { font-family: var(--f-ui); }
.map-side .block + .block { margin-top: 32px; padding-top: 30px; border-top: 1px solid var(--line); }
.map-side h3 + p { margin-top: 10px; color: var(--muted); }
.map-side .heat-scale { margin-top: 22px; }
.map-side .small { margin-top: 26px; }

/* ---------- Fonctions (bento) ---------- */
.bento { display: grid; gap: 16px; margin-top: clamp(28px, 4vw, 48px); }
.cell { display: flex; flex-direction: column; gap: 10px; padding: clamp(22px, 2.4vw, 32px); border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.cell p { color: var(--muted); }
.cell .i-lg { width: 34px; height: 34px; margin-bottom: 10px; color: var(--accent-text); }
.cell-radar { justify-content: space-between; background: var(--forest-deep); color: #F2F7F1; --pm-mpac: #FBBF24; --pm-dot: #FBBF24; --pm-wall: #10B981; --pm-wall-fill: .18; }
.cell-radar p { color: rgba(242, 247, 241, .8); min-height: 3.2em; }
.cell-radar .pm-maze { width: min(100%, 290px); margin: 6px auto 22px; }
.cell-rules { background: var(--saffron); color: var(--ink); box-shadow: none; }
.cell-rules p { color: rgba(17, 32, 27, .84); }
.cell-rules .rules-live { margin: 6px 0 10px !important; font: 400 clamp(1.6rem, 3vw, 2.6rem)/1.12 var(--f-display); letter-spacing: -.01em; color: var(--ink) !important; }
.cell-rules .rules-live .i { color: var(--ink); }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: auto 0 0; padding: 14px 0 0; }
.chips li { padding: 10px 15px; border-radius: 999px; background: var(--surface-2); font: 600 .95rem/1 var(--f-ui); }
.also { margin-top: 24px; max-width: 72ch; color: var(--muted); }
@media (min-width: 720px) {
  .bento { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .cell-radar, .cell-rules { grid-column: span 6; }
  .cell-leave, .cell-car { grid-column: span 3; }
  .cell-pmr, .cell-fair, .cell-seen { grid-column: span 2; }
}
@media (min-width: 1040px) {
  .bento { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .cell-radar { grid-column: 1 / span 5; grid-row: 1 / span 2; }
  .cell-rules { grid-column: 6 / span 7; }
  .cell-leave { grid-column: 6 / span 4; }
  .cell-car { grid-column: 10 / span 3; }
  .cell-pmr, .cell-fair, .cell-seen { grid-column: span 4; }
}

/* ---------- Karma ---------- */
.karma-grid { display: grid; gap: 48px; }
@media (min-width: 900px) { .karma-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(48px, 7vw, 96px); align-items: end; } }
.points { list-style: none; margin: 28px 0 22px; padding: 0; }
.points li { display: grid; grid-template-columns: 5.2rem minmax(0, 1fr); gap: 12px; align-items: baseline; padding-block: 9px; font: 500 1.1rem/1.3 var(--f-ui); }
.points b { font: 400 1.7rem/1 var(--f-display); color: var(--accent-text); font-variant-numeric: tabular-nums; }
.levels { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
/* Six niveaux (ceux de l'app) : la barre du niveau n vaut n sixièmes de la largeur, la dernière est en safran */
.levels li { --n: 1; display: grid; grid-template-columns: 7.4rem minmax(0, 1fr); gap: 12px; align-items: center; font: 600 .95rem/1.1 var(--f-ui); }
.levels li::after { content: ""; height: 26px; width: calc(100% / 6 * var(--n)); border-radius: 8px; background: color-mix(in srgb, var(--forest-light) calc(15% * var(--n)), var(--surface-2)); transform-origin: left; }
.levels li:nth-child(2) { --n: 2; } .levels li:nth-child(3) { --n: 3; } .levels li:nth-child(4) { --n: 4; } .levels li:nth-child(5) { --n: 5; } .levels li:nth-child(6) { --n: 6; }
.levels li:last-child::after { background: var(--accent); }
@media (min-width: 560px) {
  .levels { grid-template-columns: repeat(6, minmax(0, 1fr)); align-items: end; height: clamp(250px, 28vw, 340px); gap: 8px; }
  .levels li { display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch; gap: 10px; height: 100%; text-align: center; font-size: clamp(.76rem, .95vw, .92rem); }
  .levels li::after { width: auto; height: calc(14.4% * var(--n)); border-radius: 14px 14px 6px 6px; transform-origin: bottom; }
}
/* Deux colonnes de page et six marches : c'est là que les colonnes sont le plus serrées. Un peu moins d'écart et de corps,
   pour que « Croq'Star », « Croq'Hero » et « Croq'Boss » tiennent tous les trois sur une ligne. */
@media (min-width: 900px) and (max-width: 1179px) { .levels { gap: 6px; } .levels li { font-size: .74rem; } }
@media (prefers-reduced-motion: no-preference) {
  .js .levels li::after { transition: transform .9s var(--ease) calc(var(--n) * 90ms); }
  .js .levels:not(.in) li::after { transform: scaleX(0); }
  @media (min-width: 560px) { .js .levels:not(.in) li::after { transform: scaleY(0); } }
}

/* ---------- Engagements ---------- */
.promises { margin-inline: clamp(8px, 1.5vw, 20px); border-radius: var(--r-xl); background: var(--bg-2); }
.big-say { max-width: 21ch; font: 400 clamp(1.7rem, 3.5vw, 3rem)/1.12 var(--f-display); letter-spacing: -.012em; text-wrap: balance; }
.prom-grid { display: grid; gap: 30px 56px; margin-top: clamp(36px, 5vw, 64px); }
@media (min-width: 760px) { .prom-grid { grid-template-columns: 1fr 1fr; } }
.prom-grid article { padding-top: 22px; border-top: 1px solid var(--line-strong); }
.prom-grid h3 { display: flex; align-items: center; gap: 12px; }
.prom-grid h3 .i { width: 26px; height: 26px; color: var(--accent-text); }
.prom-grid p { margin-top: 10px; max-width: 46ch; color: var(--muted); }

/* ---------- Zone ---------- */
.zone-grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .zone-grid { grid-template-columns: auto minmax(0, 1fr); gap: clamp(48px, 8vw, 120px); } }
.zone-num { font: 400 clamp(6.5rem, 21vw, 16.5rem)/.82 var(--f-display); letter-spacing: -.04em; color: var(--accent-text); }
.zone-num sup { position: relative; top: .14em; font-size: .36em; line-height: 1; vertical-align: top; letter-spacing: 0; }
.zone-copy p { margin-top: 16px; max-width: 52ch; color: var(--muted); }
.quartiers { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; padding: 0; }
.quartiers li { padding: 10px 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-strong); font: 500 .95rem/1 var(--f-ui); }

/* ---------- En bref ---------- */
.facts { padding-top: 0; }
.facts-grid { display: grid; gap: 36px; }
@media (min-width: 900px) { .facts-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(48px, 6vw, 88px); } }
.facts-intro p { margin-top: 18px; max-width: 52ch; font-size: 1.12rem; }
.facts-list { margin: 0; display: grid; gap: 0 40px; }
@media (min-width: 560px) { .facts-list { grid-template-columns: 1fr 1fr; } }
.facts-list > div { padding-block: 16px; border-top: 1px solid var(--line); }
.facts-list dt { font: 600 .92rem/1.2 var(--f-ui); color: var(--accent-text); }
.facts-list dd { margin: 6px 0 0; }

/* ---------- FAQ ---------- */
.faq { padding-top: 0; }
.faq-grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .faq-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(48px, 6vw, 88px); align-items: start; } .faq-head { position: sticky; top: 120px; } }
.faq-head p { margin-top: 16px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 2px; list-style: none; cursor: pointer; font: 600 1.08rem/1.3 var(--f-ui); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--surface-2); font: 500 1.25rem/1 var(--f-ui); transition: transform .35s var(--ease), background-color .2s; }
.faq-list summary:hover::after { background: var(--accent); color: var(--on-accent); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details > p { padding: 0 2px 22px; max-width: 64ch; color: var(--muted); }
.faq-list details a { color: var(--accent-text); font-weight: 600; }

/* ---------- Boutiques : App Store / Google Play (bientôt) et point de départ, le 17e ---------- */
.stores-grid { display: grid; gap: clamp(32px, 5vw, 48px); }
.stores-list { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 12px; max-width: 480px; }
.store-link {
  display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 58px; padding: 10px 20px;
  border-radius: 16px; background: var(--text); color: var(--bg); text-decoration: none;
  transition: transform .2s var(--ease), background-color .2s;
}
.store-link:where(a):hover { background: color-mix(in srgb, var(--text) 86%, var(--bg)); }
.store-link:where(a):active { transform: scale(.98); }
/* Tant que l'app n'est pas sortie, les boutiques de la section sont des étiquettes : rien à ouvrir, donc pas l'allure d'un bouton */
.store-link.is-soon { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--text) 26%, transparent); cursor: default; }
.store-link .i { width: 30px; height: 30px; }
.store-link span { display: grid; gap: 3px; text-align: left; }
.store-link small { font: 500 .76rem/1 var(--f-ui); opacity: .82; }
.store-link b { font: 700 1.14rem/1.1 var(--f-ui); letter-spacing: -.012em; }
@media (min-width: 480px) { .stores-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }

/* Le point de départ. Carte forêt aux couleurs fixes : elle ferme la page de la même façon dans les deux thèmes */
.stores-start { padding: clamp(28px, 4.6vw, 60px); border-radius: var(--r-xl); background: var(--forest-deep); color: #F2F7F1; }
.start-say { display: grid; font: 500 clamp(1.08rem, 1.5vw, 1.3rem)/1.3 var(--f-ui); }
.start-say b { margin: 14px 0 12px; font: 400 clamp(6rem, 14vw, 11rem)/.82 var(--f-display); letter-spacing: -.04em; color: #FBBF24; }
.start-say sup { position: relative; top: .14em; font-size: .36em; line-height: 1; vertical-align: top; letter-spacing: 0; }
.start-next { margin-top: 24px; max-width: 38ch; color: rgba(242, 247, 241, .84); }
.start-next span { white-space: nowrap; } /* « Plaine-Monceau » ne se coupe pas au trait d'union */
/* Sur tablette la carte prend toute la largeur : les quartiers passent à droite du chiffre plutôt que de laisser un vide */
@media (min-width: 620px) and (max-width: 899px) {
  .stores-start { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: end; gap: clamp(32px, 6vw, 56px); }
  .start-next { margin-top: 0; }
}
@media (min-width: 900px) {
  .stores-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: center; gap: clamp(40px, 6vw, 88px); }
}

/* Les mêmes boutiques dans le hero : le produit, c'est l'app, donc elles ouvrent la page.
   Le hero reste sombre dans les deux thèmes, d'où des couleurs fixes. */
.hero-stores { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-stores li { flex: 1 1 210px; display: flex; }
.hero-store { background: #F2F7F1; color: #11201B; }
.hero-store:hover { background: #FFFFFF; }
@media (min-width: 1120px) { .hero-stores li { flex: 0 1 236px; } }

/* ---------- Pionniers ----------
   Section retirée de la page le 15 novembre 2026 (copie dans CroqParkWeb-archives/sections/pionniers.html).
   Ses styles restent ici pour pouvoir la remettre telle quelle. */
.pioneers { padding-top: 0; }
.pioneer-card { position: relative; isolation: isolate; overflow: hidden; display: grid; border-radius: var(--r-xl); background: var(--forest-deep); color: #F2F7F1; }
.pioneer-body { padding: clamp(28px, 5vw, 64px); }
.pioneer-body > p { margin-top: 16px; max-width: 50ch; color: rgba(242, 247, 241, .84); }
.pioneer-photo { margin: 0; min-height: 240px; }
.pioneer-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
@media (min-width: 900px) { .pioneer-card { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); } }
.signup { margin-top: 28px; display: grid; gap: 18px; max-width: 460px; }
.field { margin: 0; padding: 0; border: 0; display: grid; gap: 8px; min-width: 0; }
.field label, .field legend { padding: 0; font: 600 .95rem/1.2 var(--f-ui); }
.field legend { margin-bottom: 8px; }
.signup input[type="email"] {
  width: 100%; min-height: 52px; padding: 0 16px; border-radius: var(--r-field); border: 1.5px solid rgba(242, 247, 241, .5);
  background: rgba(242, 247, 241, .08); color: #F2F7F1; font: 400 1.05rem/1 var(--f-body); transition: border-color .2s, background-color .2s;
}
.signup input[type="email"]:hover { border-color: rgba(242, 247, 241, .8); }
.signup input[type="email"]:focus-visible { outline: 3px solid var(--saffron); outline-offset: 2px; border-color: #F2F7F1; }
.signup input[type="email"]:user-invalid { border-color: #FCA5A5; }
.error-msg { display: none; align-items: center; gap: 8px; font-size: .9rem; color: #FCA5A5; }
.signup input:user-invalid ~ .error-msg { display: flex; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choices label { position: relative; display: inline-flex; align-items: center; min-height: 46px; padding: 0 20px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px rgba(242, 247, 241, .5); font: 600 .98rem/1 var(--f-ui); cursor: pointer; transition: background-color .2s, color .2s, box-shadow .2s; }
.choices input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.choices label:hover { box-shadow: inset 0 0 0 1.5px #F2F7F1; }
.choices label:has(input:checked) { background: #F2F7F1; color: var(--forest-deep); box-shadow: none; }
.choices label:has(input:focus-visible) { outline: 3px solid var(--saffron); outline-offset: 3px; }
.signup .btn { justify-self: start; background: var(--saffron); color: var(--ink); }
.signup .btn:hover { background: #FCD34D; }
.signup .btn:disabled { opacity: .6; cursor: progress; }
.fine { font-size: .88rem; color: rgba(242, 247, 241, .76); }
.form-status { min-height: 1.5em; font-weight: 600; color: var(--saffron); }

/* ---------- Pages légales (confidentialite.html, mentions-legales.html) ----------
   Des pages à lire : une seule colonne étroite, les mêmes jetons que le reste du site, aucune animation. */
.legal { padding: clamp(118px, 15vw, 172px) 0 var(--pad); }
.legal-wrap { width: min(100% - 2 * var(--gutter), 740px); margin-inline: auto; }
.legal h1 { font-size: clamp(1.9rem, 5.4vw, 3.3rem); line-height: 1.06; overflow-wrap: break-word; }
.legal-version { margin-top: 18px; font: 500 .95rem/1.3 var(--f-ui); color: var(--muted); }
.legal-intro { margin-top: 20px; font-size: clamp(1.08rem, 1.45vw, 1.22rem); line-height: 1.55; color: var(--muted); }
.legal h2 { margin-top: clamp(52px, 7vw, 76px); font-size: clamp(1.3rem, 2.4vw, 1.7rem); line-height: 1.2; }
.legal h3 { margin-top: 30px; }
.legal p, .legal ul, .legal ol { margin-top: 14px; }
.legal ul, .legal ol { margin-bottom: 0; padding-left: 1.25em; }
.legal li + li { margin-top: 8px; }
.legal li::marker { color: var(--accent-text); }
.legal a { color: var(--accent-text); font-weight: 600; text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal a:hover { text-decoration-thickness: 2px; }
.legal address { margin-top: 14px; font-style: normal; }
/* L'essentiel en tête de page, puis le sommaire */
.legal-key { margin-top: 32px; padding: clamp(20px, 3vw, 30px); border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.legal-key h2 { margin-top: 0; }
.legal-toc { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.legal-toc h2 { margin-top: 0; font: 600 .92rem/1.2 var(--f-ui); letter-spacing: 0; color: var(--muted); }
.legal-toc ol { list-style: none; padding: 0; columns: 2 240px; column-gap: 32px; }
.legal-toc li { break-inside: avoid; margin: 0; }
.legal-toc a { display: inline-block; padding: 5px 0; font: 500 .98rem/1.35 var(--f-ui); text-decoration: none; }
.legal-toc a:hover { text-decoration: underline; }
/* Un usage des données = une carte, avec les mêmes rubriques dans le même ordre */
.legal-card { margin-top: 18px; padding: clamp(18px, 2.8vw, 28px); border-radius: var(--r-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.legal-card h3 { margin-top: 0; }
.legal-card dl { display: grid; gap: 4px 24px; margin: 16px 0 0; }
.legal-card dt { margin-top: 10px; font: 600 .9rem/1.4 var(--f-ui); color: var(--accent-text); }
.legal-card dd { margin: 0; }
@media (min-width: 640px) {
  .legal-card dl { grid-template-columns: 9.5rem minmax(0, 1fr); gap: 12px 24px; }
  .legal-card dt { margin-top: 0; padding-top: .16em; }
}
.legal-back { margin-top: clamp(52px, 7vw, 76px); padding-top: 24px; border-top: 1px solid var(--line); font: 600 1rem/1.3 var(--f-ui); }
/* Page 404 : même gabarit, un seul bouton. Il garde les couleurs d'un bouton, pas celles d'un lien de texte. */
.legal-short { min-height: 64vh; }
.legal a.btn { margin-top: 18px; color: var(--on-accent); text-decoration: none; }

/* ---------- Pied de page ---------- */
.site-footer { padding: clamp(40px, 6vw, 72px) 0 32px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 820px) { .footer-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 56px; } }
.footer-brand p { margin-top: 16px; max-width: 34ch; color: var(--muted); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.site-footer nav a { display: inline-block; padding: 6px 0; text-decoration: none; font: 500 .98rem/1.3 var(--f-ui); }
.site-footer nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.credits { font-size: .88rem; color: var(--muted); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .92rem; color: var(--muted); }
.heart { font-style: normal; }

/* ---------- Préférences ---------- */
@media (prefers-reduced-transparency: reduce) {
  .nav-pill, .croq-rail { background: var(--surface); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .ios-banner, .notif { backdrop-filter: none; -webkit-backdrop-filter: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
