/* SwimtoFly · bon cadeau (gift.swimtofly.com, premium.swimtofly.com, activate.swimtofly.com)
   Système de la maquette de Nicolas (PropositionRendu/swimtofly-gift-maquette.html) : marine #061A33, aqua #19C6E0,
   sable #F6EFE2, doré #C9A86A réservé au ruban de la carte, fond #FBFAF7 ; titres Bricolage Grotesque 800, corps
   Plus Jakarta Sans, auto-hébergées (fonts/). Les styles en ligne de la maquette sont ici, classe par classe.
   Règles « natif sur mobile » : pas de surbrillance au toucher, champs à 16 px sur écran tactile (pas de zoom iOS),
   survol réservé aux pointeurs fins, retour d'appui sur :active, hauteur svh, zones sûres, mouvement réduit respecté,
   animations courtes en ease-out, jamais « transition: all ». */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("fonts/BricolageGrotesque-variable.ttf") format("truetype");
  font-weight: 500 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("fonts/PlusJakartaSans-variable.ttf") format("truetype");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("fonts/PlusJakartaSans-Italic-variable.ttf") format("truetype");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}

:root {
  --navy: #061A33;
  --navy-2: #0B2A4F;
  --aqua: #19C6E0;
  --aqua-dark: #0FB3CC;
  --sand: #F6EFE2;
  --sand-2: #F2EEE4;
  --gold: #C9A86A;
  --gold-text: #8C6B2F;
  --bg: #FBFAF7;
  --link: #0A7C92;
  --link-dark: #065C6D;
  --ink: #0F1B2D;
  --ink-2: #334155;
  --muted: #51607A;
  --muted-2: #8A94A6;
  --pale: #C9D6E6;
  --pale-aqua: #9FEAF3;
  --soft-aqua: #E6F8FB;
  --grey: #A9B8CC;
  --grey-2: #8FA3BC;
  --line: #E6E2D8;
  --line-2: #D8D3C8;
  --err: #D92D20;
  --font: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-head: "Bricolage Grotesque", "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease: cubic-bezier(.4, 0, .2, 1);
  --max: 1240px;
  --gutter: 32px;
}
@media (max-width: 900px) { :root { --gutter: 20px; } }

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-tap-highlight-color: transparent;
  -webkit-text-size-adjust: 100%;
  color-scheme: light;
  scroll-behavior: smooth;
  background: var(--bg);
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); }
p { margin: 0; }
h1, h2, h3 { margin: 0; }
h2 { font-family: var(--font-head); font-weight: 800; letter-spacing: -.02em; line-height: 1.05; text-wrap: balance; }
h3 { font-weight: 700; }
.muted { color: var(--muted); }
.section-pad { padding-left: var(--gutter); padding-right: var(--gutter); }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--link); }
.visually-hidden, .chip input, .model-tile input {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}
svg { flex: none; }
@media (hover: hover) and (pointer: fine) { a:hover { color: var(--link-dark); } }

/* --- Boutons : retour d'appui dès le toucher, pilule, 44 px au moins ----------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: 999px; border: 0; font-family: inherit; font-weight: 700; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  touch-action: manipulation; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none;
  transition: transform 140ms var(--ease-out), background-color 160ms var(--ease), border-color 160ms var(--ease), color 160ms var(--ease);
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--aqua); color: var(--navy); font-size: 14px; padding: 12px 18px; min-height: 44px; gap: 8px; }
.btn-lg { font-size: 17px; padding: 16px 28px; min-height: 52px; gap: 10px; }
.btn-ghost { background: transparent; color: #fff; font-weight: 600; font-size: 16px; padding: 15px 22px; min-height: 52px; border: 1px solid rgba(255, 255, 255, .28); }
.btn-dark { background: var(--navy); color: #fff; font-size: 17px; height: 56px; width: 100%; padding: 0 24px; }
.btn-outline { background: #fff; color: var(--navy); font-size: 15px; min-height: 48px; padding: 0 20px; border: 1.5px solid var(--line-2); }
.btn-wide { width: 100%; }
.btn[disabled] { opacity: .55; cursor: default; }
.btn[disabled]:active { transform: none; }
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { background: var(--aqua-dark); color: var(--navy); }
  .btn-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }
  .btn-dark:hover { background: var(--navy-2); color: #fff; }
  .btn-outline:hover { border-color: var(--navy); color: var(--navy); }
}

/* --- Barre de navigation (sur fond marine) -------------------------------------------------------------------- */
.nav {
  position: relative; z-index: 2; max-width: var(--max); margin: 0 auto; padding: 22px var(--gutter);
  padding-top: calc(22px + env(safe-area-inset-top, 0px));
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 30px; width: auto; }
.nav-right { display: flex; align-items: center; gap: 20px; }
.nav-lang { display: flex; gap: 4px; font-size: 13px; font-weight: 600; }
.nav-lang a {
  color: var(--grey); padding: 8px 12px; border-radius: 999px; text-decoration: none;
  touch-action: manipulation; transition: color 160ms var(--ease), background-color 160ms var(--ease);
}
.nav-lang a[aria-current] { color: #fff; background: rgba(255, 255, 255, .14); }
.nav-lang a:active { background: rgba(255, 255, 255, .2); }
@media (hover: hover) and (pointer: fine) { .nav-lang a:hover { color: #fff; } }
@media (max-width: 900px) { .nav-lang { display: none; } .nav { gap: 12px; } }

/* --- Haut de page (marine) ------------------------------------------------------------------------------------- */
.hero { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
/* Plongée (retour de Nicolas du 4 novembre) : entre le hero et la suite, on descend dans l'eau. Zone en dégradé
   vertical (marine du hero → bleu profond → aqua → aqua clair → fond clair) ; pendant qu'elle entre à l'écran
   (progression 0 → 1), le contenu du hero s'enfonce et s'efface, la ligne de surface monte et disparaît, des bulles
   montent à trois vitesses, des rayons de lumière apparaissent à mi-parcours, puis les preuves et le titre émergent.
   Animation CSS liée à la position de la zone (view-timeline, portée par timeline-scope pour le hero) quand le
   navigateur la connaît ; sinon le script écrit --plongee (0 à 1) sur la zone seule, ses enfants la lisent en calc().
   Seulement transform et opacity, aucun filtre. Sans JavaScript ou en mouvement réduit : état fixe. */
.landing { timeline-scope: --plongee; }
.plongee {
  position: relative; overflow: hidden; min-height: 90svh; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 36svh 0 48px; view-timeline: --plongee block;
  background: linear-gradient(180deg, #061A33 0%, #0B2A4F 20%, #19C6E0 42%, #9FEAF3 58%, #FBFAF7 78%, #FBFAF7 100%);
}
.plongee-decor { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.surface { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 80px; display: block; will-change: transform, opacity; }
.bulles { position: absolute; inset: 0; }
.bulle-c { position: absolute; }
.bulle {
  display: block; position: relative; width: 100%; height: 100%; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .35);
  background: rgba(255, 255, 255, .06); opacity: .6; will-change: transform, opacity;
}
.bulle::before { content: ""; position: absolute; left: 20%; top: 14%; width: 30%; height: 18%; border-radius: 50%; background: rgba(255, 255, 255, .55); transform: rotate(-35deg); }
/* Boucle autonome, indépendante du défilement : l'eau vit même quand on s'arrête. Quatre variantes à valeurs fixes
   (aucun var() dans les keyframes : l'animation reste sur le compositeur), durée et délai propres à chaque bulle. */
@keyframes flotte-1 { 0% { transform: translate(0, 0); opacity: 0; } 15% { opacity: .9; } 25% { transform: translate(6px, -12px); } 50% { transform: translate(-6px, -25px); } 75% { transform: translate(6px, -37px); } 85% { opacity: .9; } 100% { transform: translate(0, -50px); opacity: 0; } }
@keyframes flotte-2 { 0% { transform: translate(0, 0); opacity: 0; } 15% { opacity: .9; } 25% { transform: translate(-9px, -20px); } 50% { transform: translate(9px, -40px); } 75% { transform: translate(-9px, -60px); } 85% { opacity: .9; } 100% { transform: translate(0, -80px); opacity: 0; } }
@keyframes flotte-3 { 0% { transform: translate(0, 0); opacity: 0; } 15% { opacity: .9; } 25% { transform: translate(12px, -27px); } 50% { transform: translate(-12px, -55px); } 75% { transform: translate(12px, -82px); } 85% { opacity: .9; } 100% { transform: translate(0, -110px); opacity: 0; } }
@keyframes flotte-4 { 0% { transform: translate(0, 0); opacity: 0; } 15% { opacity: .9; } 25% { transform: translate(-6px, -30px); } 50% { transform: translate(8px, -60px); } 75% { transform: translate(-8px, -90px); } 85% { opacity: .9; } 100% { transform: translate(0, -120px); opacity: 0; } }
html.js .bulle { animation: flotte-1 9s ease-in-out infinite; }
html.js .bulle.f2 { animation-name: flotte-2; }
html.js .bulle.f3 { animation-name: flotte-3; }
html.js .bulle.f4 { animation-name: flotte-4; }
.rayon {
  position: absolute; top: -10%; height: 120%; width: 160px; transform: skewX(-14deg); opacity: var(--op); will-change: opacity;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #fff 45%, rgba(255, 255, 255, 0) 100%);
}
.r1 { left: 18%; --op: .08; }
.r2 { left: 46%; width: 220px; --op: .16; }
.r3 { left: 74%; --op: .06; }
.plongee-bas { position: relative; display: flex; flex-direction: column; gap: 44px; }
.plongee .kicker { color: var(--link-dark); }
@media (max-width: 900px) {
  .plongee { min-height: 70svh; padding: 22svh 0 40px; }
  .plongee-bas { gap: 32px; }
  .bulles .bulle-c:nth-child(n+21) { display: none; }
  .rayon { width: 90px; }
  .r2 { width: 120px; }
}
/* Repli sans animation liée au défilement : le script écrit --plongee sur la zone, le hero est écrit directement */
@supports not (animation-timeline: view()) {
  html.js .surface { transform: translateY(calc(-80px * var(--plongee, 0))); opacity: calc(1 - var(--plongee, 0)); }
  html.js .bulle-c { opacity: calc(min(1, var(--plongee, 0) * 8)); }
  html.js .bulle-c.v1 { transform: translateY(calc(-108svh * var(--plongee, 0))); }
  html.js .bulle-c.v2 { transform: translateY(calc(-81svh * var(--plongee, 0))); }
  html.js .bulle-c.v3 { transform: translateY(calc(-54svh * var(--plongee, 0))); }
  html.js .rayon { opacity: calc(max(0, var(--plongee, 0) * 2 - 1) * var(--op)); }
  html.js .plongee-bas { opacity: calc(max(0, var(--plongee, 0) * 2.5 - 1.5)); transform: translateY(calc(12px * (1 - max(0, var(--plongee, 0) * 2.5 - 1.5)))); }
}
@keyframes plongee-hero { to { transform: translateY(40px); opacity: 0; } }
@keyframes plongee-surface { to { transform: translateY(-80px); opacity: 0; } }
/* Montée liée au défilement : 120, 90 et 60 % de la zone (90 svh sur bureau) ; aucun var() dans les keyframes */
@keyframes monte-1 { 0% { opacity: 0; } 12% { opacity: 1; } 100% { opacity: 1; transform: translateY(-108svh); } }
@keyframes monte-2 { 0% { opacity: 0; } 12% { opacity: 1; } 100% { opacity: 1; transform: translateY(-81svh); } }
@keyframes monte-3 { 0% { opacity: 0; } 12% { opacity: 1; } 100% { opacity: 1; transform: translateY(-54svh); } }
@media (max-width: 900px) {
  @keyframes monte-1 { 0% { opacity: 0; } 12% { opacity: 1; } 100% { opacity: 1; transform: translateY(-84svh); } }
  @keyframes monte-2 { 0% { opacity: 0; } 12% { opacity: 1; } 100% { opacity: 1; transform: translateY(-63svh); } }
  @keyframes monte-3 { 0% { opacity: 0; } 12% { opacity: 1; } 100% { opacity: 1; transform: translateY(-42svh); } }
}
@keyframes plongee-rayon { 0%, 50% { opacity: 0; } 100% { opacity: var(--op); } }
@keyframes plongee-emerge { 0%, 60% { opacity: 0; transform: translateY(12px); } 100% { opacity: 1; transform: none; } }
@supports (animation-timeline: view()) {
  /* Progression 0 quand le haut de la zone entre par le bas de l'écran, 1 quand la zone est entièrement entrée */
  html.js .landing .hero-grid { animation: plongee-hero linear both; animation-timeline: --plongee; animation-range: entry 0% entry 100%; will-change: transform, opacity; }
  html.js .surface { animation: plongee-surface linear both; animation-timeline: --plongee; animation-range: entry 0% entry 100%; }
  html.js .bulle-c { animation: monte-1 linear both; animation-timeline: --plongee; animation-range: entry 0% entry 100%; }
  html.js .bulle-c.v2 { animation-name: monte-2; }
  html.js .bulle-c.v3 { animation-name: monte-3; }
  html.js .rayon { animation: plongee-rayon linear both; animation-timeline: --plongee; animation-range: entry 0% entry 100%; }
  html.js .plongee-bas { animation: plongee-emerge linear both; animation-timeline: --plongee; animation-range: entry 0% entry 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html.js .landing .hero-grid, html.js .surface, html.js .bulle-c, html.js .bulle, html.js .rayon, html.js .plongee-bas { animation: none; transform: none; }
  html.js .surface, html.js .plongee-bas, html.js .bulle-c { opacity: 1; }
  html.js .bulle { opacity: .6; transform: translateY(-40px); }
  html.js .rayon { opacity: var(--op); transform: skewX(-14deg); }
}
/* Apparition des blocs au défilement (IntersectionObserver, une seule fois) ; sans JavaScript, tout est visible */
html.js .reveal { opacity: 0; transform: translateY(10px); transition: opacity 450ms var(--ease-out), transform 450ms var(--ease-out); }
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { transform: none; transition: opacity 200ms var(--ease); }
}
.hero-glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(900px 520px at 78% 20%, rgba(25, 198, 224, .28), rgba(25, 198, 224, 0) 70%),
              radial-gradient(700px 400px at 10% 110%, rgba(11, 42, 79, .9), rgba(11, 42, 79, 0) 70%);
}
.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 90px; display: block; }
/* Le bas du hero revient au marine pur : la zone de plongée commence exactement de cette couleur, sans bord visible */
.landing .hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 140px; z-index: 0; pointer-events: none; background: linear-gradient(180deg, rgba(6, 26, 51, 0), var(--navy)); }
.hero-grid {
  position: relative; z-index: 1; max-width: var(--max); margin: 0 auto; padding: 56px var(--gutter) 150px;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center;
}
.hero-copy { display: flex; flex-direction: column; gap: 26px; min-width: 0; }
.hero-kicker {
  display: inline-flex; align-items: flex-start; gap: 10px; align-self: flex-start;
  font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--pale-aqua);
}
.hero-kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--aqua); display: inline-block; flex: none; margin-top: 6px; }
.h1 { font-family: var(--font-head); font-weight: 800; font-size: 68px; line-height: 1; letter-spacing: -.025em; text-wrap: balance; }
.h1 .accent { color: var(--pale-aqua); }
.hero-lead { font-size: 19px; line-height: 1.55; color: var(--pale); max-width: 540px; text-wrap: pretty; }
.hero-price { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.price-now { font-family: var(--font-head); font-weight: 700; font-size: 40px; letter-spacing: -.02em; line-height: 1; }
.price-ref { font-size: 17px; color: var(--grey-2); text-decoration: line-through; }
.price-note { font-size: 14px; color: var(--pale); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-trust { display: flex; gap: 22px; flex-wrap: wrap; font-size: 13px; color: var(--grey); }
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust svg { stroke: var(--pale-aqua); }
.hero-card-wrap { position: relative; min-width: 0; display: flex; justify-content: center; padding: 24px 0; }
.hero-photo {
  position: absolute; right: 0; top: 0; width: 300px; height: 300px; border-radius: 32px; overflow: hidden;
  transform: rotate(6deg); box-shadow: 0 30px 60px rgba(0, 0, 0, .35); background: var(--navy-2);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
/* Axe fratrie : Mika (pose « réussite », au ras de l'eau) remonté dans la partie de la tuile que la carte ne couvre pas */
.hero-photo.is-mika { background: linear-gradient(160deg, #0FB3CC, var(--navy-2)); }
.hero-photo.is-mika img { object-fit: contain; width: 82%; height: 82%; margin: 4% auto 0; }
body[data-axe="coach"] .hero-photo img { object-position: 22% 12%; }
body[data-axe="derniere-minute"] .hero-photo img { object-position: 72% 18%; }
body[data-axe="ete"] .hero-photo img { object-position: 50% 40%; }
.hero-card-wrap .hero-card { width: 100%; max-width: 440px; height: auto; margin-top: 170px; margin-right: 60px; transform: rotate(-3deg); border-radius: 18px; box-shadow: 0 40px 80px rgba(0, 0, 0, .45); }
/* Mika (pose « montrer ») au pied de la carte, à gauche de ce qu'il désigne, sans couvrir le code */
.hero-mika { position: absolute; left: -104px; bottom: -64px; width: 150px; height: 150px; z-index: 2; pointer-events: none; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); padding-top: 28px; padding-bottom: 128px; gap: 32px; }
  .hero-copy { gap: 20px; }
  .h1 { font-size: 44px; line-height: 1.02; }
  .hero-lead { font-size: 17px; }
  .price-now { font-size: 34px; }
  .hero-card-wrap { margin-top: 16px; padding: 12px 0 8px; justify-content: flex-start; }
  .hero-photo { width: 220px; height: 220px; border-radius: 26px; }
  .hero-card-wrap .hero-card { margin-top: 118px; margin-right: 36px; max-width: 420px; }
  .hero-mika { width: 110px; height: 110px; left: -46px; bottom: -72px; }
}

/* --- Aperçu de la carte (image dessinée par le serveur) et image du bon --------------------------------------- */
.pv-img {
  position: relative; aspect-ratio: 720 / 507; border-radius: 18px; overflow: hidden; background: var(--sand);
  box-shadow: 0 40px 80px rgba(0, 0, 0, .45);
}
.pv-img img { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 250ms var(--ease-out); }
.pv-img img.is-on { opacity: 1; }
.carte-png { width: 100%; height: auto; border-radius: 18px; box-shadow: 0 30px 70px rgba(6, 26, 51, .35); }
.ok-mika { width: 72px; height: 72px; border-radius: 50%; }
.head-avec-mika { flex-direction: row; align-items: center; justify-content: space-between; gap: 24px; }
.head-avec-mika > div { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.head-mika { width: 112px; height: 112px; flex: none; }
@media (max-width: 900px) { .head-mika { width: 84px; height: 84px; } }
@media print {
  @page { size: A5 landscape; margin: 6mm; }
  body, .page { background: #fff; min-height: 0; }
  .page .head, .no-print, .footer, .sticky-cta { display: none !important; }
  .card-page { margin: 0; padding: 0; max-width: none; gap: 0; }
  .carte-png { width: 100%; height: auto; border-radius: 0; box-shadow: none; page-break-inside: avoid; }
}

/* --- Rangée de preuves ---------------------------------------------------------------------------------------- */
.proof { max-width: var(--max); margin: 0 auto; width: 100%; }
.proof-row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 16px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 0;
}
.proof-row > div { display: flex; flex-direction: column; gap: 2px; }
.proof-row .n { font-family: var(--font-head); font-weight: 700; font-size: 26px; letter-spacing: -.02em; }
.proof-row .l { font-size: 13px; color: var(--muted); }
@media (max-width: 900px) { .proof-row { grid-template-columns: 1fr 1fr; gap: 18px 16px; } }

/* --- Pourquoi (trois promesses) ------------------------------------------------------------------------------- */
.why { max-width: var(--max); margin: 0 auto; padding-top: 8px; padding-bottom: 40px; width: 100%; display: flex; flex-direction: column; gap: 36px; }
.why-head { max-width: var(--max); margin: 0 auto; width: 100%; }
.why-head > * { display: block; max-width: 680px; }
.why-head .kicker { margin-bottom: 12px; }
.why-head h2 { font-size: 44px; margin-bottom: 12px; }
.why-head p { font-size: 17px; line-height: 1.6; color: var(--muted); text-wrap: pretty; }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 20px; }
.why-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.icon-box { width: 44px; height: 44px; border-radius: 12px; background: var(--soft-aqua); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.why-card h3 { font-size: 20px; letter-spacing: -.01em; }
.why-card p { font-size: 15px; line-height: 1.6; color: var(--muted); }

/* --- Comment ça marche ---------------------------------------------------------------------------------------- */
.how { max-width: var(--max); margin: 0 auto; padding-top: 56px; padding-bottom: 56px; width: 100%; display: flex; flex-direction: column; gap: 32px; }
.how-intro { display: flex; flex-direction: column; gap: 10px; }
.how-intro h2 { font-size: 38px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 20px; }
.steps li { display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: 20px; background: var(--navy); color: #fff; }
.steps li:nth-child(2) { background: var(--navy-2); }
.steps li:nth-child(3) { background: var(--link); }
.steps .n { font-family: var(--font-head); font-weight: 800; font-size: 40px; color: var(--aqua); line-height: 1; }
.steps li:nth-child(3) .n { color: var(--pale-aqua); }
.steps h3 { font-size: 19px; }
.steps p { font-size: 15px; line-height: 1.6; color: var(--pale); }
.steps li:nth-child(3) p { color: var(--soft-aqua); }

/* --- Ce qu'il y a dedans -------------------------------------------------------------------------------------- */
.inside { background: var(--sand-2); padding-top: 80px; padding-bottom: 80px; }
.two-col { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.inside-copy { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.inside-copy h2 { font-size: 40px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(130px, 100%), 1fr)); gap: 10px; }
.tile { background: #fff; border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; }
.tile .t { font-weight: 700; font-size: 15px; }
.tile .d { font-size: 12px; color: var(--muted); }
.tile-first { background: var(--navy); color: #fff; grid-column: 1 / -1; }
.tile-first .d { color: var(--pale-aqua); }
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 16px; line-height: 1.5; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks svg { margin-top: 2px; }
.checks .mika-inline { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.checks .mika-inline img { width: 44px; height: 44px; flex: none; }
.inside-figure { position: relative; min-width: 0; }
.inside-figure .frame { border-radius: 28px; overflow: hidden; box-shadow: 0 30px 60px rgba(6, 26, 51, .18); background: var(--navy-2); aspect-ratio: 4 / 3; }
.inside-figure .frame img { width: 100%; height: 100%; object-fit: cover; }
.badge {
  position: absolute; left: 24px; bottom: -22px; background: #fff; border-radius: 16px; padding: 14px 18px;
  box-shadow: 0 16px 40px rgba(6, 26, 51, .16); display: flex; align-items: center; gap: 12px;
}
.badge .icon-box { width: 36px; height: 36px; border-radius: 10px; }
.badge > div { display: flex; flex-direction: column; }
.badge .t { font-size: 14px; font-weight: 700; }
.badge .d { font-size: 12px; color: var(--muted); }
@media (max-width: 900px) {
  .two-col { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .inside { padding-top: 56px; padding-bottom: 64px; }
  .inside-copy h2 { font-size: 32px; }
  .why { padding-top: 8px; }
  .why-head h2, .offer-intro h2 { font-size: 34px; }
  .how-intro h2, .faq h2, .coach-copy h2 { font-size: 30px; }
  .inside-figure { margin-bottom: 22px; }
  .badge { left: 12px; }
}

/* --- Ce que votre enfant verra : quatre captures de l'app dans des cadres de téléphone (section partagée) -------
   Bureau : quatre colonnes. Téléphone : piste qui défile au doigt, un écran et demi visible, accroche par écran
   (scroll-snap), rebond contenu dans la piste ; le défilement est natif (aucun script, aucun touch-action). */
.phone { position: relative; border-radius: 36px; padding: 8px; background: var(--navy-2); box-shadow: 0 24px 50px rgba(6, 26, 51, .22), inset 0 0 0 1px rgba(255, 255, 255, .1); }
.phone::before { content: ""; position: absolute; z-index: 1; left: 50%; top: 16px; width: 64px; height: 18px; margin-left: -32px; border-radius: 999px; background: var(--navy); }
.phone img { display: block; width: 100%; height: auto; border-radius: 28px; background: #0195E5; }
.screens { background: #fff; padding-top: 80px; padding-bottom: 80px; }
.screens-in { max-width: var(--max); margin: 0 auto; display: flex; flex-direction: column; gap: 40px; }
.screens-head { display: flex; flex-direction: column; gap: 12px; max-width: 680px; }
.screens-head h2 { font-size: 40px; }
.screens-head p { font-size: 17px; line-height: 1.6; color: var(--muted); text-wrap: pretty; }
.screens-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.screen { margin: 0; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.screen figcaption { font-size: 14px; line-height: 1.5; color: var(--muted); text-wrap: pretty; }
@media (max-width: 900px) {
  .screens { padding: 56px 0; }
  .screens-head { padding: 0 var(--gutter); }
  .screens-head h2 { font-size: 30px; }
  .screens-row {
    display: flex; gap: 16px; padding: 6px var(--gutter) 14px; overflow-x: auto; overflow-y: hidden;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .screens-row::-webkit-scrollbar { display: none; }
  .screen { flex: 0 0 64%; scroll-snap-align: start; }
  .phone { border-radius: 30px; padding: 7px; }
  .phone::before { top: 13px; width: 54px; height: 15px; margin-left: -27px; }
  .phone img { border-radius: 23px; }
}

/* --- Le coach ------------------------------------------------------------------------------------------------- */
.coach { max-width: var(--max); margin: 0 auto; padding-top: 96px; padding-bottom: 64px; width: 100%; }
.coach-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.coach-photo { position: relative; border-radius: 28px; overflow: hidden; height: 440px; background: var(--navy-2); }
.coach-photo > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.video-card {
  position: absolute; left: 20px; right: 20px; bottom: 20px; max-width: 360px;
  background: rgba(6, 26, 51, .86); color: #fff; border-radius: 16px; padding: 10px; text-decoration: none;
  display: flex; align-items: center; gap: 12px; min-height: 44px;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  touch-action: manipulation; user-select: none; -webkit-user-select: none;
  transition: transform 140ms var(--ease-out), background-color 160ms var(--ease);
}
.video-card:active { transform: scale(.98); }
@media (hover: hover) and (pointer: fine) { .video-card:hover { background: rgba(6, 26, 51, .96); color: #fff; } }
.video-thumb { position: relative; width: 112px; height: 63px; border-radius: 8px; overflow: hidden; flex: none; background: #000; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; }
.video-play {
  position: absolute; left: 50%; top: 50%; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%;
  background: #FF0033; display: inline-flex; align-items: center; justify-content: center;
}
.video-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.video-text .t { font-size: 14px; font-weight: 600; line-height: 1.3; }
.video-text .d { font-size: 12px; color: var(--pale-aqua); }
.coach-copy { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.coach-copy h2 { font-size: 40px; }
.coach-copy > p { font-size: 17px; line-height: 1.6; color: var(--muted); text-wrap: pretty; }
.quote { margin: 0; padding: 20px 24px; border-radius: 16px; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.quote p { font-size: 16px; line-height: 1.55; font-style: italic; }
.quote footer { font-size: 13px; color: var(--muted); font-weight: 600; }
@media (max-width: 900px) {
  .coach { padding-top: 64px; padding-bottom: 40px; }
  .coach-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .coach-photo { height: 320px; }
  .video-card { left: 12px; right: 12px; bottom: 12px; }
}

/* --- Offrir : formulaire et aperçu en direct ------------------------------------------------------------------ */
.offer { background: var(--navy); color: #fff; padding-top: 88px; padding-bottom: 88px; }
.offer-in { max-width: var(--max); margin: 0 auto; display: flex; flex-direction: column; gap: 40px; }
.offer-intro { display: flex; flex-direction: column; gap: 10px; max-width: 640px; }
.offer-intro .kicker { color: var(--pale-aqua); }
.offer-intro h2 { font-size: 44px; }
.offer-intro p { font-size: 17px; color: var(--pale); }
.offer-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.gift-form { background: #fff; color: var(--ink); border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.form-grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label, .field legend, .label { font-size: 13px; font-weight: 700; padding: 0; }
.field fieldset, fieldset.field { border: 0; margin: 0; padding: 0; }
.field legend { margin-bottom: 8px; }
.opt { font-weight: 500; color: var(--muted); }
.counter { font-size: 12px; color: var(--muted); align-self: flex-end; }
.hint { font-size: 12px; color: var(--muted); line-height: 1.5; }
.error { font-size: 13px; color: var(--err); }
.alert { background: #FFF4F2; color: #8A1C12; border: 1px solid #F9C8C1; border-radius: 12px; padding: 12px 14px; font-size: 14px; }
.input, select.input {
  width: 100%; height: 48px; border: 1.5px solid var(--line-2); border-radius: 12px; padding: 0 14px;
  font: 500 15px/1.4 var(--font); color: var(--ink); background: #fff; outline: none;
  -webkit-appearance: none; appearance: none;
  transition: border-color 140ms var(--ease);
}
textarea.input { height: auto; min-height: 92px; padding: 12px 14px; resize: vertical; line-height: 1.5; }
.input::placeholder { color: var(--muted-2); }
.input:focus { outline: 2px solid var(--aqua); outline-offset: 1px; border-color: var(--aqua); }
.input[aria-invalid="true"] { border-color: var(--err); }
@media (pointer: coarse) { .input, select.input, .cur select { font-size: 16px; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: inline-flex; }
.chip span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px;
  font-size: 14px; font-weight: 600; color: var(--ink); background: #fff; border: 1.5px solid var(--line-2);
  cursor: pointer; touch-action: manipulation; user-select: none; -webkit-user-select: none; text-align: left;
  transition: transform 120ms var(--ease-out), background-color 140ms var(--ease), border-color 140ms var(--ease), color 140ms var(--ease);
}
.chip:active span { transform: scale(.97); }
.chip input:checked + span { background: var(--navy); color: #fff; border-color: var(--navy); }
.chip input:focus-visible + span { outline: 2px solid var(--aqua); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .chip input:not(:checked) + span:hover { border-color: var(--navy); } }
.when-date { margin-top: 10px; max-width: 260px; }
.when-date[hidden] { display: none; }
.send-note { font-size: 13px; color: var(--muted); line-height: 1.5; margin-top: 8px; min-height: 1.5em; }
.send-note strong { color: var(--ink); font-weight: 600; }
#field-email[hidden] { display: none; }
.models { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.model-tile { position: relative; display: block; cursor: pointer; touch-action: manipulation; user-select: none; -webkit-user-select: none; }
.model-art {
  display: block; position: relative; aspect-ratio: 720 / 507; border-radius: 10px; overflow: hidden;
  border: 1.5px solid var(--line-2); background: var(--sand);
  transition: transform 120ms var(--ease-out), border-color 140ms var(--ease), box-shadow 140ms var(--ease);
}
.model-art img { display: block; width: 100%; height: 100%; object-fit: contain; }
.model-tile:active .model-art { transform: scale(.97); }
.model-tile input:checked + .model-art { border-color: var(--aqua); box-shadow: 0 0 0 2px var(--aqua); }
.model-tile input:focus-visible + .model-art { outline: 2px solid var(--navy); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .model-tile input:not(:checked) + .model-art:hover { border-color: var(--aqua); } }
.model-name { display: block; margin-top: 6px; font-size: 13px; font-weight: 600; text-align: center; color: var(--ink); }
.summary { border-top: 1px solid var(--line); padding-top: 18px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.summary > div:first-child { display: flex; flex-direction: column; gap: 4px; }
.summary-item { font-size: 15px; font-weight: 700; }
.cur { font-size: 13px; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.cur select {
  height: 32px; border: 1.5px solid var(--line-2); border-radius: 8px; padding: 0 26px 0 8px; font: 500 13px var(--font);
  color: var(--ink); background: #fff no-repeat right 8px center;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%2351607A' stroke-width='1.8' stroke-linecap='round'/></svg>");
  -webkit-appearance: none; appearance: none; cursor: pointer;
}
.cur select:focus { outline: 2px solid var(--aqua); outline-offset: 1px; border-color: var(--aqua); }
.summary-price { display: flex; align-items: baseline; gap: 8px; }
.summary-price .amount { font-family: var(--font-head); font-weight: 700; font-size: 30px; letter-spacing: -.02em; }
.summary-price .ref { font-size: 14px; color: var(--muted-2); text-decoration: line-through; }
.pay-note { font-size: 13px; line-height: 1.5; color: var(--muted); text-align: center; }
.pay-notes { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; font-size: 12px; color: var(--muted); text-align: center; }
.preview { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 24px; min-width: 0; }
.pv-kicker { font-size: 13px; font-weight: 600; color: var(--pale-aqua); letter-spacing: .04em; text-transform: uppercase; }
.pv-note { font-size: 13px; color: var(--grey); line-height: 1.5; }
@media (max-width: 900px) {
  .offer { padding-top: 56px; padding-bottom: 72px; }
  .offer-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .gift-form { padding: 22px 18px; border-radius: 20px; gap: 18px; }
  .preview { position: static; }
  .models { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .model-name { font-size: 12px; }
}

/* --- Page directe (premium.swimtofly.com) : téléphone du hero, encadré « et ensuite », lien croisé ------------
   Le parent achète pour ses propres enfants : à la place de la carte inclinée, l'app elle-même (écran d'accueil)
   dans un cadre de téléphone, Mika au ras de l'eau à côté ; dans « Obtenir », les trois étapes à la place de l'aperçu. */
.hero-cross { font-size: 13px; color: var(--grey); line-height: 1.5; }
.hero-cross a { color: var(--pale-aqua); font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(159, 234, 243, .45); touch-action: manipulation; }
@media (hover: hover) and (pointer: fine) { .hero-cross a:hover { color: #fff; border-bottom-color: #fff; } }
.hero-phone-wrap { position: relative; min-width: 0; display: flex; justify-content: center; align-items: flex-end; padding: 8px 0 24px; }
.phone-hero { width: 100%; max-width: 320px; border-radius: 46px; padding: 10px; box-shadow: 0 40px 80px rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(255, 255, 255, .12); }
.phone-hero::before { top: 20px; width: 76px; height: 20px; margin-left: -38px; }
.phone-hero img { border-radius: 37px; }
.hero-mika-f { position: absolute; left: calc(50% - 262px); bottom: 4px; width: 150px; height: 150px; z-index: 2; pointer-events: none; }
.direct .hero-trust { max-width: 540px; }
.next-box {
  position: sticky; top: 24px; display: flex; flex-direction: column; gap: 20px; min-width: 0;
  padding: 28px; border-radius: 24px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14);
}
.next-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.next-steps li { display: flex; gap: 14px; align-items: flex-start; font-size: 16px; line-height: 1.5; color: var(--pale); }
.next-steps .n {
  flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--aqua); color: var(--navy);
  font-family: var(--font-head); font-weight: 800; font-size: 16px; display: inline-flex; align-items: center; justify-content: center;
}
.next-mika { width: 120px; height: 120px; align-self: flex-end; margin-top: -4px; }
.prefill { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: var(--link-dark); background: var(--soft-aqua); border-radius: 12px; padding: 10px 14px; }
.prefill svg { flex: none; margin-top: 3px; }
@media (max-width: 900px) {
  .hero-phone-wrap { margin-top: 8px; padding: 4px 0 12px; }
  .phone-hero { max-width: 240px; border-radius: 36px; padding: 8px; }
  .phone-hero::before { top: 15px; width: 58px; height: 16px; margin-left: -29px; }
  .phone-hero img { border-radius: 28px; }
  .hero-mika-f { width: 104px; height: 104px; left: calc(50% - 194px); bottom: 0; }
  .next-box { position: static; padding: 22px 18px; }
  .next-mika { width: 96px; height: 96px; }
}

/* --- Questions : accordéon (boutons aria-expanded), hauteur animée par grid-template-rows ------------------- */
.faq { max-width: 880px; margin: 0 auto; padding-top: 88px; padding-bottom: 88px; width: 100%; display: flex; flex-direction: column; gap: 28px; }
.faq h2 { font-size: 38px; }
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-top: 1px solid var(--line); display: flex; flex-direction: column; }
.faq-end { border-top: 1px solid var(--line); }
.faq-h { margin: 0; font-size: inherit; }
.faq-q {
  width: 100%; background: none; border: 0; padding: 18px 0; font-family: inherit; font-size: 17px; font-weight: 700; color: var(--ink);
  text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 16px; cursor: pointer; min-height: 56px;
  touch-action: manipulation; user-select: none; -webkit-user-select: none; transition: color 160ms var(--ease);
}
.faq-q:focus-visible { outline: 2px solid var(--aqua); outline-offset: 2px; border-radius: 6px; }
@media (hover: hover) and (pointer: fine) { .faq-q:hover { color: var(--link); } }
.faq-icon { display: inline-flex; color: var(--link); transition: transform 200ms var(--ease-out); }
.faq-q[aria-expanded="true"] .faq-icon { transform: rotate(180deg); }
.faq-a { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows 200ms var(--ease-out), visibility 0s 200ms; }
.faq-a.open { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows 200ms var(--ease-out), visibility 0s; }
.faq-a-in { overflow: hidden; min-height: 0; }
.faq-a p { padding: 0 0 20px; font-size: 16px; line-height: 1.6; color: var(--muted); max-width: 720px; }
@media (max-width: 900px) { .faq { padding-top: 56px; padding-bottom: 56px; } .faq-q { font-size: 16px; } }

/* --- Pied de page --------------------------------------------------------------------------------------------- */
.footer { background: var(--navy); color: var(--grey); padding-top: 40px; padding-bottom: calc(40px + env(safe-area-inset-bottom, 0px)); margin-top: auto; }
.footer-grid { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: center; font-size: 13px; }
.footer-brand { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-brand img { height: 22px; width: auto; }
.footer-links, .footer-lang { display: flex; gap: 20px; flex-wrap: wrap; }
.footer a { color: var(--grey); text-decoration: none; touch-action: manipulation; transition: color 160ms var(--ease); }
.footer a[aria-current] { color: #fff; }
@media (hover: hover) and (pointer: fine) { .footer a:hover { color: #fff; } }
.footer-lang { display: none; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } .footer-lang { display: flex; } }
.landing .footer { padding-bottom: calc(40px + env(safe-area-inset-bottom, 0px)); }

/* --- Barre « Offrir » collée en bas sur téléphone ------------------------------------------------------------ */
.sticky-cta {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  background: rgba(251, 250, 247, .96); border-top: 1px solid var(--line);
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom, 0px));
  align-items: center; justify-content: space-between; gap: 12px;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transform: translateY(110%); transition: transform 260ms var(--ease-out);
}
.sticky-cta.show { transform: translateY(0); }
.sticky-cta > div { display: flex; flex-direction: column; min-width: 0; }
.sticky-price { font-weight: 700; font-size: 15px; }
.sticky-sub { font-size: 12px; color: var(--muted); }
.sticky-cta .btn-primary { font-size: 15px; padding: 12px 20px; }
@media (max-width: 900px) { .sticky-cta { display: flex; } }
@media (prefers-reduced-motion: reduce) { .sticky-cta { transition: none; } }

/* --- Apparition au chargement (CSS seul), désactivée si l'utilisateur réduit les animations ------------------ */
.rise { opacity: 1; transform: translateY(0); transition: opacity 500ms var(--ease-out), transform 600ms var(--ease-out); }
@starting-style { .rise { opacity: 0; transform: translateY(10px); } }
.rise.d1 { transition-delay: 60ms; } .rise.d2 { transition-delay: 120ms; } .rise.d3 { transition-delay: 180ms; } .rise.d4 { transition-delay: 240ms; }
@media (prefers-reduced-motion: reduce) {
  .rise { transition: opacity 200ms var(--ease); transform: none; }
  .btn, .chip span, .model-art, .video-card, .faq-icon { transition-duration: 0s; }
  .faq-a, .faq-a.open { transition: none; }
  .btn:active, .chip:active span, .model-tile:active .model-art, .video-card:active { transform: none; }
}

/* --- Pages simples (merci, carte, activation, démo, conditions) : en-tête marine court, carte blanche ------- */
.page { display: flex; flex-direction: column; min-height: 100svh; }
.page .head { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.page .head .hero-wave { height: 60px; }
.head-in { position: relative; max-width: var(--max); margin: 0 auto; padding: 24px var(--gutter) 110px; display: flex; flex-direction: column; gap: 12px; max-width: 760px; }
.head-in h1 { font-family: var(--font-head); font-weight: 800; font-size: 44px; line-height: 1.05; letter-spacing: -.02em; text-wrap: balance; }
.head-in p { font-size: 17px; line-height: 1.55; color: var(--pale); max-width: 40em; text-wrap: pretty; }
.head-in .ok-icon { width: 56px; height: 56px; border-radius: 50%; background: rgba(25, 198, 224, .18); display: inline-flex; align-items: center; justify-content: center; }
.page-body { width: 100%; max-width: 760px; margin: -60px auto 0; padding-bottom: 64px; position: relative; flex: 1; }
.card { background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 24px; padding: 32px; box-shadow: 0 20px 50px rgba(6, 26, 51, .08); display: flex; flex-direction: column; gap: 18px; }
.card h3 { font-size: 17px; margin-top: 10px; }
.card .btn-dark, .card .btn-primary.btn-wide { margin-top: 4px; }
.code-box {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--navy); color: #fff; border-radius: 12px; padding: 14px 18px;
}
.code-box .code { font-family: var(--mono); font-size: clamp(18px, 5vw, 26px); letter-spacing: .1em; white-space: nowrap; user-select: all; -webkit-user-select: all; }
.code-box .btn-outline { min-height: 40px; padding: 0 16px; font-size: 14px; background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.stores { display: flex; flex-wrap: wrap; gap: 10px; }
.stack { display: flex; flex-direction: column; gap: 10px; }
ol.plain { padding-left: 1.2em; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.spinner { width: 22px; height: 22px; border: 3px solid rgba(25, 198, 224, .3); border-top-color: var(--aqua); border-radius: 50%; animation: spin 700ms linear infinite; display: inline-block; vertical-align: middle; margin-right: 10px; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation-duration: 1400ms; } }
@media (max-width: 900px) {
  .head-in { padding-top: 8px; padding-bottom: 96px; }
  .head-in h1 { font-size: 34px; }
  .card { padding: 24px 18px; border-radius: 20px; }
}

/* --- Page de la carte : la carte cadeau en grand, étapes, téléchargements ------------------------------------ */
.card-page { width: 100%; max-width: 720px; margin: -60px auto 0; padding-bottom: 56px; position: relative; display: flex; flex-direction: column; gap: 22px; flex: 1; }
.card-steps { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px 24px; display: flex; flex-direction: column; gap: 12px; }
.card-steps h3 { font-size: 15px; letter-spacing: .02em; text-transform: uppercase; color: var(--link); }
.card-steps ol { padding-left: 1.2em; margin: 0; display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.card-steps .valid { font-size: 13px; color: var(--muted); }

/* --- Back office minimal ------------------------------------------------------------------------------------- */
.bo { font-size: .9rem; padding: 20px; display: block; }
.bo h2 { font-size: 24px; margin-bottom: 12px; }
.bo table { border-collapse: collapse; width: 100%; }
.bo th, .bo td { text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.bo form.inline { display: inline; }
.bo .input { width: auto; display: inline-block; }
.bo .btn { background: var(--navy); color: #fff; min-height: 40px; padding: 0 16px; font-size: 14px; }
.bo .btn.ghost { background: #fff; color: var(--navy); border: 1.5px solid var(--line-2); }
.bo .tag { display: inline-block; padding: 2px 8px; border-radius: 999px; background: var(--sand-2); font-size: .8rem; }
.bo .tag.payee, .bo .tag.active { background: #E7F7EC; color: #166534; }
.bo .tag.remboursee, .bo .tag.litige, .bo .tag.alerte, .bo .tag.annule, .bo .tag.annulee { background: #FDECEA; color: #8A1C12; }
.bo .tag.direct { background: var(--soft-aqua); color: var(--link-dark); }
.bo .alert { margin: 10px 0; }
