/*
 * Accueil de lura.fish (`/` et `/en/`). Direction « Relevé » : papier, encre, eau, une seule couleur vive.
 * Couleurs : jetons de packages/ui/src/tokens/colors.ts (palette.light, palette.dark), rien d'autre (`site.test.ts`).
 * Police Geist (SIL Open Font License, fonts/OFL.txt), servie par le site.
 *
 * Trois écrans : l'accueil (promesse et iPhone), le principe en huit étapes, l'appel final ; puis la FAQ et le pied.
 * Sans JavaScript, avec « réduire les animations » ou sur un écran étroit, les étapes s'empilent, chacune avec son
 * écran. Avec `site.js` sur un grand écran, la classe `scrolly` sur <html> fige l'iPhone au centre et fait défiler
 * les étapes à sa gauche et à sa droite.
 */

@font-face {
  font-family: 'Geist';
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/Geist_400Regular.ttf') format('truetype');
}
@font-face {
  font-family: 'Geist';
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/Geist_500Medium.ttf') format('truetype');
}
@font-face {
  font-family: 'Geist';
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/Geist_600SemiBold.ttf') format('truetype');
}

:root {
  color-scheme: light dark;
  --bg: #fbfaf7; /* bg */
  --card: #ffffff; /* card */
  --ink: #16181a; /* ink */
  --ink2: #45494c; /* ink2 */
  --muted: #6b6f72; /* muted */
  --line: rgba(22, 24, 26, 0.08); /* line */
  --line2: rgba(22, 24, 26, 0.18); /* line2 */
  --soft: #f0eee9; /* soft */
  --accent: #d9531e; /* accent */
  --accent-ink: #b2431a; /* accentInk */
  --contour: #16181a; /* ink, atténué par l'opacité */
  /* Toujours sombres (jetons paywall*, identiques en clair et en sombre) : accueil, appel final. */
  --night: #101213; /* paywallBg */
  --night-map: #15191c; /* paywallMap */
  --night-water: #1b3346; /* paywallMapWater */
  --night-ink: #f4f2ee; /* paywallInk */
  --night-ink2: #c9ccce; /* paywallInk2 */
  --night-muted: #a9adb0; /* paywallMuted */
  --night-accent: #f07a45; /* paywallAccent */
  --night-surface: rgba(255, 255, 255, 0.07); /* paywallSurface */
  --night-line: rgba(255, 255, 255, 0.14); /* heroTrack */
  --night-glow: rgba(240, 122, 69, 0.12); /* paywallPremiumSurface */
  --night-ring: rgba(240, 122, 69, 0.55); /* paywallPremiumRing */
  --night-current: #7db8f0; /* riverDot */
  --scrim: rgba(0, 0, 0, 0.45); /* scrim */
  /* L'écran de l'app reste en thème clair dans l'iPhone, quel que soit le thème de la page. */
  --app-bg: #fbfaf7; /* bg (clair) */
  --app-ink: #16181a; /* ink (clair) */
  --app-muted: #6b6f72; /* muted (clair) */
  --app-soft: #f0eee9; /* soft (clair) */
  --app-accent-soft: #fce8de; /* accentSoft (clair) */
  --app-accent-mid: #f29a6e; /* accentMid (clair) */
  --river-dot: #7db8f0; /* riverDot */
  --sea-dot: #4f8fe0; /* seaDot */
  /* Carte d'eau derrière les étapes : eau et mer à peine posées, le texte garde son contraste AA. */
  --map-water: #b9d5ea; /* water */
  --map-sea: #cfe2ef; /* sea */
  --map-water-fill: 0.16;
  --map-sea-fill: 0.25;
  /* iPhone : cadre encre, arêtes ink2. */
  --phone-edge: #45494c; /* ink2 (clair) */
  --phone-body: #16181a; /* ink (clair) */
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141617;
    --card: #1d2022;
    --ink: #f1f0ec;
    --ink2: #c9ccce;
    --muted: #9a9ea1;
    --line: rgba(255, 255, 255, 0.08);
    --line2: rgba(255, 255, 255, 0.2);
    --soft: #26292b;
    --accent: #f07a45;
    --accent-ink: #f49a70;
    --contour: #f1f0ec;
    --map-water: #1e3346;
    --map-sea: #16283a;
    --map-water-fill: 0.45;
    --map-sea-fill: 0.5;
  }
}

/* ——— Base ——— */

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    'Geist',
    system-ui,
    -apple-system,
    'Segoe UI',
    Roboto,
    'Helvetica Neue',
    Arial,
    sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  overflow-wrap: break-word;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: var(--accent-ink);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
a:hover {
  text-decoration-thickness: 2px;
}
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}
h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
.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: absolute;
  left: 16px;
  top: -64px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--night-ink);
  color: var(--night);
  font-weight: 600;
  text-decoration: none;
}
.skip:focus {
  top: 12px;
}
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding-inline: 16px;
}
@media (min-width: 768px) {
  .container {
    padding-inline: 40px;
  }
}

/* ——— Logo (symbole 4a : cuiller, anneau, hameçon en J) ——— */

.logo .line {
  stroke: currentColor;
}
.logo .spoon {
  fill: var(--accent);
}
.on-night .logo .spoon {
  fill: var(--night-accent);
}
.logo .shine {
  fill: #ffffff; /* card (clair) */
  opacity: 0.35;
}

/* ——— Typographie ——— */

.eyebrow {
  color: var(--accent-ink);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.title {
  font-size: clamp(32px, 3.4vw + 14px, 52px);
  line-height: 1.04;
  letter-spacing: -0.04em;
  font-weight: 600;
  text-wrap: balance;
}
.hl {
  color: var(--accent);
}
.lead {
  color: var(--ink2);
  font-size: clamp(17px, 0.5vw + 15px, 20px);
  line-height: 1.5;
  text-wrap: pretty;
}
.small {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  text-wrap: pretty;
}

/* ——— En-tête, posé sur l'accueil sombre ——— */

.top {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  color: var(--night-ink);
}
.top .container {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: inherit;
  text-decoration: none;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.brand .logo {
  width: 42px;
  height: 42px;
  margin: -4px -4px -4px -8px;
}
.top nav {
  display: none;
  margin-left: auto;
  gap: 28px;
}
.top nav a {
  color: var(--night-ink2);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}
.top nav a:hover {
  color: var(--night-ink);
}
.lang {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--night-line);
  color: var(--night-ink);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}
.lang:hover {
  background: var(--night-surface);
}
.top-cta {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--night-ink);
  color: var(--night);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}
.top-cta:hover {
  background: var(--night-accent);
}
@media (min-width: 900px) {
  .top nav {
    display: flex;
  }
  .lang {
    margin-left: 0;
  }
}

/* ——— Accueil : décor plein écran (en attendant la vidéo de pêche), promesse, iPhone ——— */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: 104px 0 56px;
  background: var(--night);
  color: var(--night-ink);
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 55% at 75% 35%, var(--night-glow), transparent 70%),
    radial-gradient(80% 70% at 10% 100%, var(--night-water), transparent 72%),
    linear-gradient(180deg, var(--night-map), var(--night));
}
/* La vidéo de fond prend toute la place, sous un voile qui garde le texte lisible. */
.hero-media video {
  z-index: 0;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Deux voiles sur la vidéo : un fond encre uniforme, puis un dégradé côté texte (contraste du titre). */
.hero-media::before,
.hero-media::after {
  content: '';
  position: absolute;
  z-index: 1;
  inset: 0;
}
.hero-media::before {
  background: var(--night);
  opacity: 0.55;
}
.hero-media::after {
  background: linear-gradient(90deg, var(--scrim), transparent 75%);
}
.contours {
  position: absolute;
  inset: -10%;
  pointer-events: none;
  background: var(--contour);
  opacity: 0.06;
  -webkit-mask: url('/assets/contours.svg') center / cover no-repeat;
  mask: url('/assets/contours.svg') center / cover no-repeat;
}
.hero .contours {
  z-index: 2;
  background: var(--night-ink);
  opacity: 0.05;
}
.cta .contours {
  background: var(--night-ink);
  opacity: 0.08;
}
.hero .container {
  display: grid;
  gap: 48px;
  align-items: center;
}
.hero-copy {
  display: grid;
  gap: 24px;
  justify-items: start;
  max-width: 660px;
}
.hero h1 {
  font-size: clamp(42px, 5.6vw + 14px, 90px);
  line-height: 0.98;
  letter-spacing: -0.045em;
  font-weight: 600;
  text-wrap: pretty;
}
.hero h1 .hl {
  color: var(--night-accent);
}
.hero .lead {
  max-width: 34ch;
  color: var(--night-ink2);
}
/* « Disponible sur iPhone et Android » : la pastille au-dessus du titre. */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 12px;
  border-radius: 999px;
  background: var(--night-surface);
  box-shadow: inset 0 0 0 1px var(--night-line);
  color: var(--night-ink);
  font-size: 14px;
  font-weight: 600;
}
.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--night-accent);
  box-shadow: 0 0 0 4px var(--night-glow);
}
.hero-stores {
  justify-content: flex-start;
  margin-top: 0;
}
/* Nos engagements : quatre sceaux sobres, vrais (UE et RGPD, spot privé, paiement des magasins, conçu à Paris). */
.trust {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: 12px 28px;
  margin: 0;
  padding: 18px 0 0;
  border-top: 1px solid var(--night-line);
  list-style: none;
}
.trust li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.trust svg {
  flex: none;
  width: 34px;
  height: 34px;
  padding: 7px;
  border-radius: 50%;
  background: var(--night-surface);
  box-shadow: inset 0 0 0 1px var(--night-ring);
  color: var(--night-accent);
}
.trust span {
  display: grid;
  line-height: 1.2;
  white-space: nowrap;
}
.trust b {
  color: var(--night-ink);
  font-size: 14px;
  font-weight: 600;
}
.trust small {
  color: var(--night-ink2);
  font-size: 12px;
}
@media (min-width: 1240px) {
  .trust {
    grid-template-columns: repeat(4, auto);
    justify-content: start;
  }
}
.hero-device {
  display: grid;
  justify-items: center;
}
@media (min-width: 960px) {
  .hero .container {
    grid-template-columns: 1fr auto;
    gap: 64px;
  }
  .hero-device {
    padding-right: 3vw;
  }
}

/* ——— iPhone : cadre, îlot (dans la capture), boutons latéraux ——— */

.iphone {
  --w: min(72vw, 300px);
  position: relative;
  width: var(--w);
  aspect-ratio: 390 / 844;
  padding: calc(var(--w) * 0.032);
  border-radius: calc(var(--w) * 0.165);
  background: linear-gradient(
    135deg,
    var(--phone-edge),
    var(--phone-body) 22%,
    var(--phone-body) 78%,
    var(--phone-edge)
  );
  box-shadow:
    inset 0 0 0 1.5px var(--phone-edge),
    0 60px 100px -40px var(--scrim),
    0 30px 50px -30px var(--scrim);
}
.iphone::before,
.iphone::after {
  content: '';
  position: absolute;
  width: 3px;
  border-radius: 2px;
  background: var(--phone-edge);
}
.iphone::before {
  left: -3px;
  top: 19%;
  height: 7%;
  box-shadow: 0 calc(var(--w) * 0.2) 0 var(--phone-edge);
}
.iphone::after {
  right: -3px;
  top: 26%;
  height: 11%;
}
.screen {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-radius: calc(var(--w) * 0.135);
  background: var(--app-bg);
  font-size: calc(var(--w) * 0.041);
}
.screen > img,
.screen > .panel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.screen > img {
  object-fit: cover;
}
@media (min-width: 960px) {
  .iphone {
    --w: clamp(280px, 23vw, 320px);
  }
}

/* Écrans retravaillés en HTML (espèces, offres) : texte réel, traduit, à l'échelle de l'iPhone. */
.panel {
  display: grid;
  align-content: start;
  gap: 1.1em;
  padding: 3.4em 1.1em 1.2em;
  background: var(--app-bg);
  color: var(--app-ink);
  line-height: 1.3;
  text-align: left;
}
.panel .p-title {
  font-size: 1.85em;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.panel .p-sub {
  margin-top: 0.35em;
  color: var(--app-muted);
  font-size: 0.85em;
}
.panel .p-group {
  display: grid;
  gap: 0.5em;
}
.panel .p-head {
  display: flex;
  align-items: center;
  gap: 0.45em;
  font-size: 0.9em;
  font-weight: 600;
}
.panel .p-head i {
  width: 0.6em;
  height: 0.6em;
  border-radius: 50%;
  background: var(--river-dot);
}
.panel .p-head i.sea {
  background: var(--sea-dot);
}
.panel .p-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35em;
}
.panel .p-chips span {
  padding: 0.28em 0.6em;
  border-radius: 999px;
  background: var(--app-soft);
  font-size: 0.76em;
  font-weight: 500;
}

/* ——— Le principe, en huit étapes (empilées par défaut) ——— */

.tour {
  position: relative;
  padding: 0 0 40px;
}
.tour-head {
  display: grid;
  gap: 14px;
  justify-items: center;
  padding: 88px 0 16px;
  text-align: center;
}
.tour-head .title {
  max-width: 20ch;
}
.tour-head .lead {
  max-width: 46ch;
}
.step {
  display: grid;
  gap: 32px;
  justify-items: center;
  padding: 56px 0;
  border-top: 1px solid var(--line);
}
.step:first-child {
  border-top: 0;
}
.step-copy {
  display: grid;
  gap: 16px;
  width: 100%;
  max-width: 520px;
}
.facts {
  display: grid;
  gap: 10px;
  margin-top: 4px;
}
.facts li {
  position: relative;
  padding-left: 24px;
  color: var(--ink2);
  font-size: 16px;
  text-wrap: pretty;
}
.facts li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.66em;
  width: 12px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}
.facts strong {
  color: var(--ink);
  font-weight: 600;
}
/* Quelques prises (photos Pexels, recadrées) sous l'étape des espèces. */
.catches {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 4px;
}
.catches li {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}
.catches img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 14px;
  background: var(--soft);
}
/*
 * Carte d'eau derrière les étapes, dans le dessin du paywall : une seule géographie de 2000 × 9000 (la hauteur de la
 * visite). Le grand lac en haut à droite, la rivière qui en sort et serpente d'écran en écran (du côté opposé au texte,
 * en passant derrière l'iPhone), un tributaire et un relief à chaque écran, un petit lac en bras mort, puis l'estuaire
 * qui s'ouvre sur la mer, à gauche et en bas, sous le haut des offres (`bottom: -420px`). Le dessin suit la hauteur de
 * la visite sans déformation (`aspect-ratio`) et reste centré sur l'iPhone. Sous le texte (z-index -1), jamais une
 * cible ; remplissages assez pâles pour garder `--muted` en AA.
 */
.water {
  position: absolute;
  inset: 0 0 -420px;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  /* La mer s'efface sous le haut des offres. */
  -webkit-mask-image: linear-gradient(black calc(100% - 420px), transparent);
  mask-image: linear-gradient(black calc(100% - 420px), transparent);
}
.water svg {
  position: absolute;
  top: 0;
  left: 50%;
  width: auto;
  height: 100%;
  max-width: none;
  aspect-ratio: 2 / 9;
  translate: -50% 0;
  overflow: visible;
  fill: none;
  stroke-linecap: round;
}
/* Le courant a son propre calque : ses images ne repeignent pas la carte. */
.water-flow {
  will-change: transform;
}
/* Les courbes de l'accueil, deux fois, très pâles. */
.water-hint {
  position: absolute;
  inset: 0;
  background: var(--contour);
  opacity: 0.035;
  -webkit-mask:
    url('/assets/contours.svg') right -280px top 16% / 1600px auto no-repeat,
    url('/assets/contours.svg') left -420px top 70% / 1600px auto no-repeat;
  mask:
    url('/assets/contours.svg') right -280px top 16% / 1600px auto no-repeat,
    url('/assets/contours.svg') left -420px top 70% / 1600px auto no-repeat;
}
.water .w-line {
  stroke: var(--contour);
  stroke-opacity: 0.1;
  stroke-width: 1.2;
}
.water .w-far {
  stroke-opacity: 0.06;
}
.water .w-depth {
  stroke: var(--contour);
  stroke-opacity: 0.08;
}
.water .w-shore {
  stroke: var(--contour);
  stroke-opacity: 0.16;
  stroke-width: 1.3;
}
/* La vallée : un trait large évidé par un trait du fond, d'où deux courbes à distance constante de la rivière. */
.water .w-valley {
  stroke: var(--contour);
  stroke-opacity: 0.07;
  stroke-width: 282;
}
.water .w-in {
  stroke-opacity: 0.09;
  stroke-width: 142;
}
.water .w-cut {
  stroke: var(--bg);
  stroke-opacity: 1;
  stroke-width: 280;
}
.water .w-in.w-cut {
  stroke-width: 140;
}
.water .w-lake,
.water .w-water {
  fill: var(--map-water);
  fill-opacity: var(--map-water-fill);
}
.water .w-lake {
  stroke: var(--contour);
  stroke-opacity: 0.16;
}
.water .w-river,
.water .w-stream {
  stroke: var(--map-water);
  stroke-opacity: var(--map-water-fill);
  stroke-width: 24;
}
.water .w-stream {
  stroke-width: 9;
}
.water .w-erase {
  fill: var(--bg);
}
.water .w-stop {
  stop-color: var(--map-sea);
  stop-opacity: var(--map-sea-fill);
}
.water .w-stop-deep {
  stop-opacity: 0;
}
.water .w-ripple {
  stroke: var(--contour);
  stroke-opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}
/* Le courant du paywall : un point (1) tous les 13, en bleu rivière. */
.water .w-current {
  stroke: var(--river-dot);
  stroke-opacity: 0.85;
  stroke-width: 2.5;
  stroke-dasharray: 1 12;
}
.water .w-sea-current {
  stroke: var(--sea-dot);
  stroke-opacity: 0.4;
}
/* Sur un téléphone, la visite est bien plus haute que large : la carte se resserre en largeur (deux écrans) et
   s'étire en hauteur, la rivière serpente d'un bord à l'autre. */
@media (max-width: 640px) {
  .water svg {
    width: 200vw;
    aspect-ratio: auto;
  }
  /* Le texte prend toute la largeur : le courant passe dessous, plus discret. */
  .water .w-current:not(.w-sea-current) {
    stroke-opacity: 0.55;
  }
}

/* Offres : section à part, après la visite (l'iPhone fixé s'arrête avant). */
.offers {
  padding: 96px 0;
  border-top: 1px solid var(--line);
}
.offers-head {
  display: grid;
  gap: 14px;
  justify-items: center;
  margin-bottom: 40px;
  text-align: center;
}
.offers-fine {
  max-width: 70ch;
  margin: 24px auto 0;
  text-align: center;
}
.plans {
  display: grid;
  gap: 16px;
  max-width: 1080px;
  margin: 0 auto;
}
/* Une carte : nom, pour qui, les deux chiffres, ce qu'elle ajoute. Sur trois colonnes, les lignes s'alignent d'une
   carte à l'autre, les deux chiffres compris (subgrid) : l'œil lit 1 → 3 → Toutes, puis 5 → 40 → 60, sans chercher. */
.plan {
  position: relative;
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 28px 24px;
  border-radius: 24px;
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--line2);
}
.plan-name {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.plan-name span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
}
.plan-for {
  color: var(--ink2);
  font-size: 16px;
}
.plan-stats {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 16px 0;
  border-block: 1px solid var(--line);
}
.stat {
  color: var(--ink2);
  font-size: 15px;
  line-height: 1.35;
}
.stat strong {
  display: block;
  color: var(--ink);
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.05;
}
.plan-base {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.plan ul {
  display: grid;
  gap: 8px;
  align-content: start;
}
.plan li {
  position: relative;
  padding-left: 26px;
  color: var(--ink2);
  font-size: 16px;
  line-height: 1.45;
}
.plan li::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 0.45em;
  width: 9px;
  height: 5px;
  border-left: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(-45deg);
}
/* Ce qu'une offre ajoute à la précédente : un « + » plein, couleur vive. */
.plan .plus li {
  color: var(--ink);
}
.plan .plus li::before {
  content: '+';
  left: 0;
  top: 0.1em;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
  color: var(--card);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  transform: none;
}
/* Toutes les espèces : toujours sombre, comme le paywall de l'app (jetons paywall*), quel que soit le thème. */
.plan.featured {
  background:
    radial-gradient(90% 60% at 100% 0%, var(--night-glow), transparent 70%),
    radial-gradient(80% 50% at 0% 100%, var(--night-water), transparent 75%), var(--night);
  box-shadow:
    inset 0 0 0 2px var(--night-ring),
    0 24px 48px -24px var(--scrim);
  color: var(--night-ink);
}
.plan.featured .plan-name span,
.plan.featured .plan-base {
  color: var(--night-muted);
}
.plan.featured .plan-for,
.plan.featured .stat,
.plan.featured li {
  color: var(--night-ink2);
}
.plan.featured .stat strong,
.plan.featured .plus li {
  color: var(--night-ink);
}
.plan.featured .stat strong {
  color: var(--night-accent);
}
.plan.featured .plan-stats {
  border-color: var(--night-line);
}
.plan.featured .plus li::before {
  background: var(--night-accent);
  color: var(--night);
}
.plan-tag {
  position: absolute;
  top: 0;
  left: 24px;
  transform: translateY(-50%);
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--night-accent);
  color: var(--night);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.offers-notify {
  margin-top: 32px;
  text-align: center;
}
.offers-link {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 999px;
  background: var(--accent-ink);
  color: var(--card);
  font-weight: 600;
  text-decoration: none;
}
.offers-link:hover {
  text-decoration: underline;
}
/* Trois colonnes à partir d'une tablette ; une seule sur un téléphone (360 px), les offres l'une sous l'autre. */
@media (min-width: 900px) {
  .plans {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(6, auto);
    column-gap: 20px;
    row-gap: 0;
  }
  .plan {
    grid-row: span 6;
    grid-template-rows: subgrid;
    row-gap: 14px;
  }
  .plan-stats {
    grid-row: span 2;
    grid-template-rows: subgrid;
  }
  /* L'étiquette est hors du flux : elle ne prend pas une ligne de la grille. */
  .plan-tag {
    position: absolute;
  }
  .plan.featured {
    margin-top: -12px;
    padding-top: 40px;
  }
}

@media (min-width: 960px) {
  .step {
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: center;
    padding: 96px 0;
  }
  .step-copy {
    justify-self: end;
  }
  .step.right .step-copy {
    order: 2;
    justify-self: start;
  }
}

.step.intro {
  justify-items: center;
  padding: 96px 0 24px;
  text-align: center;
}
.step.intro .step-copy {
  justify-items: center;
  justify-self: center;
  max-width: 640px;
}
@media (min-width: 960px) {
  .step.intro {
    grid-template-columns: 1fr;
  }
}

/* Mode « scrolly » (posé par site.js) : un seul iPhone fixé, qui glisse de l'accueil au centre. */
.rail {
  display: none;
}
html.scrolly .scroller {
  position: relative;
}
html.scrolly .rail {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: none;
}
html.scrolly .rail-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  place-items: center;
}
html.scrolly .rail .iphone {
  transform: translateX(calc((1 - var(--p, 0)) * var(--shift, 0px)));
}
html.scrolly .rail .screen > * {
  opacity: 0;
  transition: opacity 0.45s ease;
}
html.scrolly .rail .screen > .on {
  opacity: 1;
}
html.scrolly .hero-device .iphone {
  visibility: hidden;
}
/* Les écrans des étapes passent dans l'iPhone fixé ; ils restent lus par les lecteurs d'écran. */
html.scrolly .step-shot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
html.scrolly .step.intro {
  min-height: 70vh;
}
html.scrolly .step {
  grid-template-columns: 1fr clamp(280px, 23vw, 320px) 1fr;
  gap: 80px;
  min-height: 100vh;
  padding: 0;
  border-top: 0;
}
html.scrolly .step .step-copy {
  order: 0;
  grid-column: 1;
  justify-self: end;
  max-width: 430px;
  opacity: 0.12;
  transform: translateY(24px);
  transition:
    opacity 0.5s ease,
    transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
html.scrolly .step.right .step-copy {
  grid-column: 3;
  justify-self: start;
}
html.scrolly .step.on .step-copy {
  opacity: 1;
  transform: none;
}

/* ——— Appel final ——— */

.cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 112px 0;
  background:
    radial-gradient(60% 70% at 50% 110%, var(--night-glow), transparent 70%),
    radial-gradient(50% 60% at 0% 0%, var(--night-water), transparent 70%), var(--night);
  color: var(--night-ink);
  text-align: center;
}
.cta .container {
  display: grid;
  gap: 24px;
  justify-items: center;
}
.cta .big-logo {
  width: 104px;
  height: 104px;
  color: var(--night-ink);
}
.cta .title .hl {
  color: var(--night-accent);
}
.cta .lead {
  max-width: 38ch;
  color: var(--night-ink2);
}
.stores {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 4px;
  margin-top: 8px;
}
/* Badges officiels des magasins, jamais retouchés. Le badge d'Apple fait 40 px de haut ; le PNG de Google contient son
   espace de protection (badge de 168 px sur 250), donc 60 px de haut pour un badge visible de 40 px, et cet espace
   (environ 10 px, un quart de la hauteur) tient lieu de marge entre les deux. */
.store {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  opacity: 0.55;
  cursor: default;
}
.store img {
  display: block;
  width: auto;
  max-width: 100%;
}
.store[data-store='appStore'] img {
  height: 40px;
}
.store[data-store='googlePlay'] img {
  height: 60px;
}
a.store[href] {
  opacity: 1;
  cursor: pointer;
}

/* ——— FAQ, mentions légales, pied ——— */

.faq {
  padding: 96px 0 72px;
}
.faq .container {
  display: grid;
  gap: 32px;
}
.faq-list {
  display: grid;
  border-top: 1px solid var(--line2);
}
.faq details {
  border-bottom: 1px solid var(--line2);
}
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 64px;
  padding: 16px 0;
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--soft);
  color: var(--ink);
  font-size: 20px;
  font-weight: 500;
}
.faq details[open] summary::after {
  content: '−';
}
.faq details p {
  max-width: 70ch;
  padding: 0 0 20px;
  color: var(--ink2);
  text-wrap: pretty;
}
@media (min-width: 960px) {
  .faq .container {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 64px;
    align-items: start;
  }
}
/* Compteur des pêcheurs, en chiffres qui défilent comme un compteur kilométrique. */
.community {
  padding: 88px 0 96px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.community .container {
  display: grid;
  gap: 32px;
  justify-items: center;
}
.figures {
  display: grid;
  gap: 32px;
}
.figure {
  display: grid;
  gap: 10px;
  justify-items: center;
}
.figure-label {
  max-width: 30ch;
  color: var(--ink2);
  font-size: 17px;
}
.community .title {
  max-width: 22ch;
}
.community .next {
  max-width: 40ch;
  color: var(--ink);
  font-size: clamp(18px, 1vw + 14px, 22px);
  font-weight: 600;
  letter-spacing: -0.01em;
}
@media (min-width: 960px) {
  /* « Lura commence par la France… » tient sur une ligne sur grand écran. */
  .community .next {
    max-width: none;
    font-size: 20px;
    white-space: nowrap;
  }
}
.community .next .hl {
  color: var(--accent-ink);
}
.community .small {
  max-width: 70ch;
}
.odometer {
  display: inline-flex;
  gap: 4px;
  color: var(--ink);
  font-size: clamp(44px, 6vw + 12px, 80px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.odometer .d {
  display: inline-block;
  height: 1.1em;
  overflow: hidden;
  padding: 0 0.06em;
  border-radius: 0.12em;
  background: var(--soft);
  box-shadow: inset 0 0 0 1px var(--line);
}
.odometer .strip {
  display: flex;
  flex-direction: column;
  transform: translateY(calc(var(--d) * -1.1em));
}
.odometer .strip span {
  height: 1.1em;
  line-height: 1.1;
  text-align: center;
}
.odometer .sep {
  width: 0.2em;
}
@media (min-width: 960px) {
  .figures {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
}

.foot {
  padding: 64px 0 40px;
  border-top: 1px solid var(--line);
  background: var(--card);
  color: var(--muted);
  font-size: 14px;
}
.foot .container {
  display: grid;
  gap: 40px;
}
.foot-top {
  display: grid;
  gap: 40px;
}
.foot-brand {
  display: grid;
  gap: 12px;
  justify-items: start;
}
.foot .brand {
  color: var(--ink);
}
.foot .brand .logo {
  margin-left: -8px;
}
.foot-brand p {
  color: var(--ink2);
  font-size: 16px;
}
.foot-lang {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line2);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}
.foot-cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 24px;
}
.foot-cols h2 {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.foot-cols ul {
  display: grid;
  gap: 4px;
}
.foot-cols a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: var(--ink2);
  font-size: 15px;
  text-decoration: none;
}
.foot-cols a:hover {
  color: var(--ink);
  text-decoration: underline;
}
.foot-bottom {
  display: grid;
  gap: 8px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
@media (min-width: 900px) {
  .foot-top {
    grid-template-columns: 1fr 2fr;
  }
  .foot-cols {
    grid-template-columns: repeat(3, 1fr);
  }
  .foot-bottom {
    grid-template-columns: 1fr auto;
    gap: 32px;
    align-items: end;
  }
}

/* ——— Mouvement (seulement sans « réduire les animations ») ——— */

@media (prefers-reduced-motion: no-preference) {
  .hero .contours {
    animation: drift 50s ease-in-out infinite alternate;
  }
  .hero-copy > *,
  .hero-device {
    animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }
  .hero-copy > :nth-child(2) {
    animation-delay: 0.08s;
  }
  .hero-copy > :nth-child(3) {
    animation-delay: 0.16s;
  }
  .hero-device {
    animation-delay: 0.2s;
  }
  .cta .big-logo {
    transform-origin: 36% 15%;
    animation: wobble 2.6s ease-in-out infinite;
  }
  .cta .contours {
    animation: drift 60s ease-in-out infinite alternate-reverse;
  }
  /* La carte d'eau : le courant coule comme au paywall (motion.currentLoopMs), une ride s'élargit sur le lac, la houle
     de l'estuaire dérive lentement. */
  .water .w-current {
    animation: flow 1.4s linear infinite;
  }
  .water .w-slow {
    animation-duration: 5.6s;
  }
  .water .w-sea-current {
    animation-duration: 4.2s;
  }
  .water .w-ripple {
    animation: ripple 9s ease-out infinite;
  }
  .water-swell {
    animation: swell 18s ease-in-out infinite alternate;
  }
  .water-swell.w-alt {
    animation-duration: 23s;
    animation-direction: alternate-reverse;
  }
  a.store[href] {
    transition: transform 0.2s ease;
  }
  a.store[href]:hover {
    transform: translateY(-2px);
  }
  /* Apparition au défilement des étapes empilées et de l'appel final, par le CSS seul. */
  @supports (animation-timeline: view()) {
    html:not(.scrolly) .step,
    .cta .container > * {
      animation: reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 45%;
    }
  }
}

html.odo .odometer .strip {
  animation: roll 2.4s cubic-bezier(0.15, 0.7, 0.15, 1) both paused;
  animation-delay: calc(var(--i) * 90ms);
}
html.odo .odometer.go .strip {
  animation-play-state: running;
}
@keyframes roll {
  from {
    transform: translateY(0);
  }
}
@keyframes drift {
  to {
    transform: translate3d(-3%, 2%, 0) rotate(2.5deg) scale(1.04);
  }
}
/* Deux périodes du pointillé (1 + 12) : la boucle reprend sans saut, comme au paywall. */
@keyframes flow {
  to {
    stroke-dashoffset: -26;
  }
}
@keyframes swell {
  to {
    transform: translate3d(-36px, 10px, 0);
  }
}
@keyframes ripple {
  from {
    transform: scale(0.3);
    stroke-opacity: 0.16;
  }
  to {
    transform: scale(1);
    stroke-opacity: 0;
  }
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
}
@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(36px);
  }
}
/* La cuiller oscille au bout de son anneau, comme à la récupération. */
@keyframes wobble {
  0%,
  100% {
    transform: rotate(-7deg);
  }
  50% {
    transform: rotate(7deg);
  }
}

html.scrolly .step.intro {
  justify-items: stretch;
  text-align: left;
}
html.scrolly .step.intro .step-copy {
  justify-items: start;
}
html.scrolly .step .title {
  font-size: clamp(32px, 2.2vw + 12px, 44px);
}
.panel.pay {
  font-size: 1.12em;
}

/* ——— Sources : un astérisque, une infobulle (site.js) ; sans script, une note en bas de la section ——— */

.src {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin-left: 3px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--soft);
  color: var(--accent-ink);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  vertical-align: 0.35em;
  text-decoration: none;
  cursor: help;
}
.tip-wrap {
  position: relative;
  display: inline-block;
}
.tip {
  position: absolute;
  z-index: 30;
  bottom: calc(100% + 8px);
  left: 50%;
  display: none;
  width: max-content;
  max-width: min(280px, calc(100vw - 32px));
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--bg);
  box-shadow: 0 16px 40px -16px var(--scrim);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0;
  text-align: left;
  text-transform: none;
  transform: translateX(calc(-50% + var(--nudge, 0px)));
}
.tip-wrap:hover .tip,
.tip-wrap:focus-within .tip,
.tip-wrap.open .tip {
  display: block;
}
.tip-wrap.dismissed .tip {
  display: none;
}
.notes {
  display: grid;
  gap: 6px;
  max-width: 820px;
  margin: 24px auto 0;
  padding: 16px 0 0 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  list-style: decimal;
  text-align: left;
}
.notes .back {
  text-decoration: none;
}
html.tips .notes {
  display: none;
}
