/* Sourdine — feuille de style du site (sourdine.net)
   Couleurs et typo : Sourdine-brand-kit/brand.css (extraites de l’app). Mode nuit uniquement. */

:root {
  --bg-top: #0A1838;
  --bg-mid: #050D22;
  --bg-bottom: #02050F;
  --ink: #04122B;
  --night: #071F47;
  --night-light: #0E3470;
  --bear: #9CC7F5;
  --bear-light: #D9EAFB;
  --sky: #4A8FE7;
  --sky-deep: #2F6FD0;
  --bubble: #B9E6FF;
  --blush: #E57F95;
  --mint: #82E3C5;
  --amber: #F6C572;
  --text: #FFFFFF;
  --text-2: #B9D0EE;
  --text-3: #7F9CC7;
  --surface: rgba(255, 255, 255, 0.06);
  --surface-strong: rgba(255, 255, 255, 0.12);
  --stroke: rgba(255, 255, 255, 0.10);
  --gradient-button: linear-gradient(135deg, #D9EAFB, #9CC7F5, #4A8FE7);
  --font: "Nunito", "SF Pro Rounded", ui-rounded, system-ui, -apple-system, sans-serif;
  --radius-card: 26px;
  --radius-button: 18px;
  --radius-chip: 14px;
  --header-h: 68px;
  --phone-w: min(300px, 76vw);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg-bottom);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background: linear-gradient(180deg, var(--bg-top) 0%, var(--bg-mid) 55%, var(--bg-bottom) 100%);
}
h1, h2, h3, h4 { margin: 0 0 0.45em; line-height: 1.12; font-weight: 900; letter-spacing: -0.015em; text-wrap: balance; }
p { margin: 0 0 1em; }
a { color: var(--bear); text-underline-offset: 3px; }
a:hover { color: var(--bear-light); }
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--bubble); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(74, 143, 231, 0.45); }

.wrap { width: min(1140px, 100% - 32px); margin-inline: auto; }
@media (min-width: 720px) { .wrap { width: min(1140px, 100% - 64px); } }

.skip-link {
  position: absolute; top: -60px; left: 16px; z-index: 100;
  padding: 10px 16px; border-radius: 12px; background: var(--bear); color: var(--ink); font-weight: 800; text-decoration: none;
}
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Ciel et vagues (canvas fixés, décoratifs) ---------- */
#sky, #waves { position: fixed; left: 0; pointer-events: none; }
#sky { top: 0; width: 100%; height: 100%; z-index: -2; }
#waves { bottom: 0; width: 100%; height: 38vh; z-index: -1; opacity: 0.9; }

/* ---------- En-tête ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(5, 13, 34, 0.55);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background .3s;
}
body.scrolled .site-header { background: rgba(5, 13, 34, 0.8); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 900; font-size: 1.2rem; letter-spacing: -0.01em; }
.brand img { width: 34px; height: 34px; border-radius: 10px; box-shadow: 0 0 0 1px var(--stroke), 0 6px 18px rgba(74, 143, 231, 0.25); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { padding: 8px 12px; border-radius: 12px; color: var(--text-2); text-decoration: none; font-weight: 700; font-size: 0.95rem; transition: background .25s, color .25s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); background: var(--surface); }
.nav .nav-cta { margin-left: 8px; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--surface); cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; top: calc(var(--header-h) + 8px); left: 16px; right: 16px;
    flex-direction: column; align-items: stretch; gap: 2px; padding: 10px;
    border-radius: 20px; background: rgba(7, 31, 71, 0.94); border: 1px solid var(--stroke);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
    opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .25s var(--ease), transform .25s var(--ease);
  }
  .nav.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { padding: 12px 14px; font-size: 1.05rem; }
  .nav .nav-cta { margin: 6px 0 0; }
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 22px; border-radius: var(--radius-button);
  font-weight: 800; font-size: 1rem; text-decoration: none; cursor: pointer; border: 0;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--gradient-button); color: var(--ink); box-shadow: 0 10px 30px rgba(74, 143, 231, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.6); }
.btn-primary:hover { color: var(--ink); transform: translateY(-2px); box-shadow: 0 16px 40px rgba(74, 143, 231, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.6); }
.btn-ghost { background: var(--surface); color: var(--text); border: 1px solid var(--stroke); }
.btn-ghost:hover { background: var(--surface-strong); color: var(--text); transform: translateY(-2px); }
.btn-small { min-height: 40px; padding: 8px 16px; font-size: 0.9rem; border-radius: 14px; }

.store-badge {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  min-height: 56px; padding: 8px 20px 8px 16px; border-radius: 16px;
  background: #000; color: #fff; text-decoration: none; border: 1px solid rgba(255, 255, 255, 0.18);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.store-badge:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0, 0, 0, 0.5); }
.store-badge svg { width: 26px; height: 26px; flex: none; }
.store-badge span { display: flex; flex-direction: column; line-height: 1.05; }
.store-badge .top { font-size: 0.72rem; font-weight: 600; opacity: 0.85; }
.store-badge .main { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.01em; }
.store-badge.placeholder::after {
  content: "bientôt"; position: absolute; top: -10px; right: -8px;
  padding: 3px 9px; border-radius: 999px; background: var(--amber); color: var(--ink);
  font-size: 0.68rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.05em;
}

/* ---------- Typo utilitaires ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; color: var(--bear); font-weight: 800; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--sky); }
.lead { color: var(--text-2); font-size: clamp(1.05rem, 1.5vw, 1.25rem); max-width: 56ch; }
.gradient-text { background: linear-gradient(90deg, #D9EAFB, #9CC7F5 50%, #82E3C5); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section { position: relative; padding: clamp(72px, 10vw, 140px) 0; }
.section-head { max-width: 680px; margin: 0 auto clamp(36px, 5vw, 64px); text-align: center; }
.section-head .lead { margin-inline: auto; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }

/* ---------- Héros ---------- */
.hero { position: relative; padding: calc(var(--header-h) + clamp(56px, 9vw, 110px)) 0 clamp(60px, 8vw, 110px); }
.hero .wrap { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .hero .wrap { grid-template-columns: 1.05fr 0.95fr; gap: 32px; } }
.hero h1 { font-size: clamp(2.5rem, 6.4vw, 4.6rem); line-height: 1.02; margin-bottom: 0.5em; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 28px 0 18px; }
.hero-note { display: inline-flex; align-items: center; gap: 10px; color: var(--text-2); font-weight: 700; font-size: 0.95rem; margin: 0; }
.hero-note svg { width: 20px; height: 20px; color: var(--mint); flex: none; }
.hero-visual { position: relative; display: grid; place-items: center; min-height: calc(var(--phone-w) * 2.1); }
.hero-glow {
  position: absolute; width: min(130%, 88vw); aspect-ratio: 1; border-radius: 50%; z-index: 0;
  background: radial-gradient(circle, rgba(74, 143, 231, 0.42) 0%, rgba(74, 143, 231, 0.16) 32%, rgba(2, 5, 15, 0) 68%);
  filter: blur(6px);
}
.hero-scroll { position: absolute; left: 50%; bottom: -20px; transform: translateX(-50%); display: none; color: var(--text-3); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; text-align: center; }
.hero-scroll svg { width: 18px; height: 18px; margin: 4px auto 0; }
@media (min-width: 900px) { .hero-scroll { display: block; } }

/* ---------- iPhone ---------- */
.phone-stage { perspective: 1400px; display: grid; place-items: center; }
.phone {
  position: relative; z-index: 1;
  width: var(--phone-w); aspect-ratio: 1206 / 2622;
  padding: calc(var(--phone-w) * 0.033);
  border-radius: calc(var(--phone-w) * 0.175);
  background: linear-gradient(160deg, #1a1d26, #07080c 60%, #15181f);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.14),
    0 0 0 calc(var(--phone-w) * 0.008) #0b0d12,
    0 40px 90px rgba(0, 0, 0, 0.6),
    0 0 80px rgba(74, 143, 231, 0.18);
  transform-style: preserve-3d;
  will-change: transform;
}
.phone::before, .phone::after {
  content: ""; position: absolute; width: 3px; border-radius: 2px; background: #1c2029;
}
.phone::before { left: -4px; top: 22%; height: 9%; }
.phone::after { right: -4px; top: 26%; height: 15%; }
.screen {
  position: relative; width: 100%; height: 100%; overflow: hidden;
  border-radius: calc(var(--phone-w) * 0.142);
  background: var(--bg-mid);
  container-type: inline-size;
}
.screen > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.island { position: absolute; top: 3.2%; left: 50%; width: 29%; height: 3.3%; transform: translateX(-50%); background: #000; border-radius: 999px; z-index: 5; }
.screen .glass { position: absolute; inset: 0; z-index: 4; pointer-events: none; background: linear-gradient(115deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0) 35%); }

/* ---------- Temps forts ---------- */
.moments { display: grid; gap: clamp(72px, 12vw, 160px); }
.moment { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) {
  .moment { grid-template-columns: 1fr 1fr; gap: 56px; }
  .moment.flip .moment-copy { order: 2; }
}
.moment-copy h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.moment-copy .lead { margin-bottom: 0; }
.moment-copy .num { display: inline-grid; place-items: center; width: 42px; height: 42px; margin-bottom: 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--stroke); color: var(--bear); font-weight: 900; font-size: 0.95rem; }
.moment-visual { position: relative; display: grid; place-items: center; }

/* 01 — la nuit : anneaux d’écoute */
.listen-rings { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; z-index: 0; }
.listen-rings span { position: absolute; width: calc(var(--phone-w) * 1.1); aspect-ratio: 1; border-radius: 50%; border: 1.5px solid rgba(156, 199, 245, 0.45); opacity: 0; }
.screen .night-pulse { position: absolute; left: 50%; top: 55%; width: 48%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(185, 230, 255, 0.35), rgba(185, 230, 255, 0) 70%); z-index: 3; mix-blend-mode: screen; opacity: 0.8; pointer-events: none; }
.screen img.after { opacity: 0; }
.rec-dot { position: absolute; z-index: 6; top: 9.5%; left: 6.8%; width: 2.2%; aspect-ratio: 1; border-radius: 50%; background: var(--blush); box-shadow: 0 0 8px var(--blush); opacity: 0; }

/* 02 — le matin : écran construit en HTML */
.screen-ui { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 16cqw 6cqw 0; font-size: 3.6cqw; line-height: 1.3; color: var(--text); background: linear-gradient(180deg, #0A1838, #050D22 55%, #02050F); }
.ui-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 2cqw; }
.ui-top b { font-size: 5cqw; font-weight: 900; }
.ui-top span { color: var(--text-3); font-weight: 700; font-size: 3.2cqw; }
.gauge { position: relative; width: 70%; margin: 1cqw auto 0; }
.gauge svg { width: 100%; overflow: visible; }
.gauge .track { fill: none; stroke: rgba(255, 255, 255, 0.08); stroke-width: 14; stroke-linecap: round; }
.gauge .fill { fill: none; stroke: url(#gaugeGrad); stroke-width: 14; stroke-linecap: round; stroke-dasharray: 251.4; stroke-dashoffset: 55.3; filter: drop-shadow(0 0 6px rgba(130, 227, 197, 0.45)); }
.gauge .score { position: absolute; left: 0; right: 0; bottom: 0; text-align: center; line-height: 1; }
.gauge .score b { display: block; font-size: 15cqw; font-weight: 900; letter-spacing: -0.03em; }
.gauge .score small { display: block; margin-top: 1cqw; color: var(--mint); font-weight: 900; font-size: 2.9cqw; letter-spacing: 0.14em; text-transform: uppercase; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 2.4cqw; margin-top: 4cqw; }
.tile { padding: 3cqw 3.4cqw; border-radius: 5cqw; background: var(--surface); border: 1px solid var(--stroke); }
.tile b { display: block; font-size: 5.2cqw; font-weight: 900; letter-spacing: -0.02em; }
.tile > span { color: var(--text-3); font-weight: 700; font-size: 2.9cqw; }
.curve-card { margin-top: 3cqw; padding: 3cqw 3.4cqw 2cqw; border-radius: 5cqw; background: var(--surface); border: 1px solid var(--stroke); }
.curve-card header { display: flex; justify-content: space-between; font-weight: 800; font-size: 3.2cqw; margin-bottom: 1.5cqw; }
.curve-card header span { color: var(--text-3); font-weight: 700; }
.curve-card svg { width: 100%; height: auto; overflow: visible; }
.curve-line { fill: none; stroke: url(#curveStroke); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.curve-area { fill: url(#curveFill); }
.curve-dot { stroke: #050D22; stroke-width: 1.5; transform-box: fill-box; transform-origin: center; }
.curve-axis { display: flex; justify-content: space-between; margin-top: 1cqw; color: var(--text-3); font-size: 2.6cqw; font-weight: 800; letter-spacing: 0.06em; }
.recs { list-style: none; margin: 3cqw 0 0; padding: 0; display: grid; gap: 1.8cqw; }
.rec { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 2.6cqw; padding: 2.4cqw 3cqw; border-radius: 4.4cqw; background: var(--surface); border: 1px solid var(--stroke); }
.rec i { width: 2.6cqw; height: 2.6cqw; border-radius: 50%; background: var(--sky); box-shadow: 0 0 8px currentColor; color: var(--sky); }
.rec.loud i { background: var(--blush); color: var(--blush); }
.rec.mid i { background: var(--amber); color: var(--amber); }
.rec.talk i { background: var(--bear); color: var(--bear); }
.rec b { display: block; font-size: 3.2cqw; font-weight: 800; }
.rec span { color: var(--text-3); font-size: 2.7cqw; font-weight: 700; }
.wave { display: flex; align-items: center; gap: 0.7cqw; height: 5cqw; }
.wave em { width: 0.9cqw; border-radius: 1cqw; background: var(--bear); opacity: 0.75; }
.tabbar { margin: auto -6cqw 0; padding: 2.6cqw 4cqw 6cqw; display: grid; grid-template-columns: 1fr 1fr 1.2fr 1fr 1fr; align-items: end; gap: 1cqw; background: rgba(7, 31, 71, 0.75); border-top: 1px solid var(--stroke); color: var(--text-3); font-size: 2.5cqw; font-weight: 800; text-align: center; }
.tabbar div { display: grid; justify-items: center; gap: 1cqw; }
.tabbar svg { width: 6cqw; height: 6cqw; }
.tabbar .on { color: var(--bear); }
.tabbar .moon { width: 15cqw; height: 15cqw; margin-top: -5cqw; display: grid; place-items: center; border-radius: 4.5cqw; background: linear-gradient(145deg, #4A8FE7, #0E3470); box-shadow: 0 6px 18px rgba(74, 143, 231, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
.tabbar .moon svg { width: 8cqw; height: 8cqw; color: #fff; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.4)); }

/* 03 — les exercices : nœuds et niveaux */
.node-ring { position: absolute; z-index: 3; width: 22%; aspect-ratio: 1; border-radius: 50%; border: 2px solid var(--mint); box-shadow: 0 0 18px rgba(130, 227, 197, 0.7); transform: translate(-50%, -50%) scale(0.7); opacity: 0; pointer-events: none; }
.levels { --grow: 1; position: relative; list-style: none; margin: 28px 0 0; padding: 0 0 0 34px; display: grid; gap: 14px; }
.levels::before { content: ""; position: absolute; left: 9px; top: 10px; bottom: 10px; width: 2px; border-radius: 2px; background: linear-gradient(180deg, var(--bear-light), var(--sky) 50%, rgba(14, 52, 112, 0.6)); transform-origin: top; transform: scaleY(var(--grow)); }
.levels li { position: relative; display: flex; align-items: center; gap: 12px; font-weight: 800; color: var(--text-2); }
.levels li::before { content: ""; position: absolute; left: -34px; top: 50%; width: 20px; height: 20px; border-radius: 50%; transform: translateY(-50%); background: var(--c, var(--sky)); box-shadow: 0 0 0 4px rgba(5, 13, 34, 0.9), 0 0 14px var(--c, var(--sky)); }
.levels li small { color: var(--text-3); font-weight: 700; font-size: 0.85rem; }
.levels li:last-child { color: var(--text); }
.study { margin-top: 28px; padding: 16px 18px; border-radius: 18px; border: 1px solid var(--stroke); background: var(--surface); color: var(--text-2); font-size: 0.92rem; }
.study b { color: var(--mint); font-size: 1.6rem; font-weight: 900; margin-right: 6px; }

/* ---------- Polo ---------- */
.polo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 820px) { .polo-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.polo-card { position: relative; padding: 22px 18px 20px; border-radius: var(--radius-card); background: var(--surface); border: 1px solid var(--stroke); text-align: center; overflow: hidden; transition: transform .35s var(--ease), background .35s, border-color .35s; }
.polo-card::before { content: ""; position: absolute; left: 50%; top: 30%; width: 90%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(74, 143, 231, 0.35), rgba(74, 143, 231, 0) 65%); }
.polo-card:hover { transform: translateY(-6px); background: var(--surface-strong); border-color: rgba(255, 255, 255, 0.18); }
.polo-card img { position: relative; width: min(100%, 190px); aspect-ratio: 1; margin: 0 auto 10px; object-fit: contain; animation: float 5s ease-in-out infinite; }
.polo-card:nth-child(2) img { animation-delay: -1.2s; }
.polo-card:nth-child(3) img { animation-delay: -2.4s; }
.polo-card:nth-child(4) img { animation-delay: -3.6s; }
.polo-card img.masked { -webkit-mask-image: radial-gradient(circle closest-side at 50% 50%, #000 58%, rgba(0, 0, 0, 0) 100%); mask-image: radial-gradient(circle closest-side at 50% 50%, #000 58%, rgba(0, 0, 0, 0) 100%); }
.polo-card h3 { font-size: 1.15rem; margin-bottom: 4px; }
.polo-card p { color: var(--text-3); font-size: 0.92rem; font-weight: 700; margin: 0; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- Confidentialité ---------- */
.privacy { text-align: center; }
.privacy-card { padding: clamp(36px, 6vw, 72px) clamp(20px, 4vw, 56px); border-radius: 32px; background: linear-gradient(180deg, rgba(14, 52, 112, 0.45), rgba(7, 31, 71, 0.35)); border: 1px solid rgba(156, 199, 245, 0.18); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08); }
.privacy h2 { font-size: clamp(2rem, 5vw, 3.4rem); }
.privacy .lead { margin: 0 auto 36px; }
.privacy-items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 760px; margin: 0 auto; }
.privacy-items div { display: grid; justify-items: center; gap: 10px; font-weight: 800; font-size: 0.95rem; color: var(--text-2); }
.privacy-items i { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: rgba(2, 5, 15, 0.5); border: 1px solid var(--stroke); color: var(--bubble); box-shadow: 0 0 30px rgba(74, 143, 231, 0.25); }
.privacy-items svg { width: 28px; height: 28px; }
@media (max-width: 520px) { .privacy-items { grid-template-columns: 1fr; gap: 18px; } .privacy-items div { grid-template-columns: auto 1fr; justify-items: start; text-align: left; align-items: center; } }

/* ---------- Offre ---------- */
.plans { display: grid; gap: 18px; max-width: 900px; margin: 0 auto; }
@media (min-width: 760px) { .plans { grid-template-columns: 1fr 1fr; gap: 22px; align-items: stretch; } }
.plan { position: relative; display: flex; flex-direction: column; padding: 30px 26px; border-radius: var(--radius-card); background: var(--surface); border: 1px solid var(--stroke); }
.plan.pro { background: linear-gradient(170deg, rgba(14, 52, 112, 0.7), rgba(7, 31, 71, 0.55)); border-color: rgba(156, 199, 245, 0.35); box-shadow: 0 30px 80px rgba(74, 143, 231, 0.18); }
.plan .tag { position: absolute; top: 18px; right: 18px; padding: 5px 11px; border-radius: 999px; background: var(--mint); color: var(--ink); font-size: 0.72rem; font-weight: 900; letter-spacing: 0.06em; text-transform: uppercase; }
.plan h3 { font-size: 1.3rem; margin-bottom: 6px; }
.price { display: flex; align-items: baseline; gap: 6px; margin: 6px 0 4px; }
.price b { font-size: clamp(2.2rem, 4vw, 2.8rem); font-weight: 900; letter-spacing: -0.03em; }
.price span { color: var(--text-3); font-weight: 700; }
.plan .sub { color: var(--text-2); font-weight: 700; font-size: 0.95rem; margin-bottom: 18px; }
.plan ul { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 10px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; color: var(--text-2); font-weight: 600; }
.plan li svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--mint); }
.plan .btn { margin-top: auto; }
.plan .fine { margin: 14px 0 0; color: var(--text-3); font-size: 0.85rem; font-weight: 600; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 0 auto; display: grid; gap: 10px; }
.faq-list details { border-radius: 20px; background: var(--surface); border: 1px solid var(--stroke); overflow: hidden; transition: background .3s; }
.faq-list details[open] { background: var(--surface-strong); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; cursor: pointer; font-weight: 800; font-size: 1.05rem; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 2.5px solid var(--bear); border-bottom: 2.5px solid var(--bear); transform: rotate(45deg); transition: transform .3s var(--ease); margin-top: -4px; }
.faq-list details[open] summary::after { transform: rotate(225deg); margin-top: 4px; }
.faq-list .answer { padding: 0 22px 20px; color: var(--text-2); }
.faq-list .answer p:last-child { margin-bottom: 0; }

/* ---------- Appel final ---------- */
.final { text-align: center; padding-bottom: clamp(60px, 8vw, 100px); }
.final h2 { font-size: clamp(2rem, 5vw, 3.2rem); }
.final .polo-final { width: min(240px, 60vw); margin: 0 auto 12px; animation: float 6s ease-in-out infinite; }
.final .hero-actions { justify-content: center; }

/* ---------- Pied de page ---------- */
.site-footer { position: relative; padding: 56px 0 40px; border-top: 1px solid var(--stroke); background: linear-gradient(180deg, rgba(2, 5, 15, 0) 0%, rgba(2, 5, 15, 0.85) 30%); }
.site-footer .cols { display: grid; gap: 32px; margin-bottom: 36px; }
@media (min-width: 760px) { .site-footer .cols { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer h3 { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--text-2); text-decoration: none; font-weight: 700; }
.site-footer a:hover { color: var(--text); text-decoration: underline; }
.site-footer p { color: var(--text-2); }
.site-footer .disclaimer { color: var(--text-3); font-size: 0.85rem; line-height: 1.6; padding-top: 24px; border-top: 1px solid var(--stroke); margin: 0; }

/* ---------- Pages légales ---------- */
.legal { padding: calc(var(--header-h) + clamp(40px, 6vw, 72px)) 0 60px; }
.legal article { max-width: 760px; }
.legal h1 { font-size: clamp(2rem, 5vw, 2.8rem); }
.legal .updated { color: var(--text-3); font-weight: 700; font-size: 0.9rem; margin-bottom: 32px; }
.legal h2 { font-size: 1.45rem; margin-top: 2.2em; color: var(--bear); }
.legal h3 { font-size: 1.1rem; margin-top: 1.6em; }
.legal p, .legal li { color: var(--text-2); }
.legal strong { color: var(--text); }
.legal ul { padding-left: 1.3em; }
.legal li { margin-bottom: 0.4em; }
.legal table { width: 100%; border-collapse: collapse; margin: 1em 0 1.5em; font-size: 0.95rem; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--stroke); vertical-align: top; color: var(--text-2); }
.legal th { color: var(--text); font-weight: 800; }
.legal .summary-box { padding: 22px 26px; border-radius: 22px; background: linear-gradient(180deg, rgba(14, 52, 112, 0.45), rgba(7, 31, 71, 0.35)); border: 1px solid rgba(156, 199, 245, 0.2); margin-bottom: 30px; }
.legal .summary-box h2 { margin-top: 0; color: var(--mint); font-size: 1.2rem; }
.legal .summary-box ul { margin: 0; }
.legal .toc { padding: 18px 22px; border-radius: 18px; background: var(--surface); border: 1px solid var(--stroke); margin-bottom: 30px; }
.legal .toc ol { margin: 0; padding-left: 1.3em; columns: 1; }
@media (min-width: 640px) { .legal .toc ol { columns: 2; column-gap: 32px; } }
.legal .toc a { text-decoration: none; }
.legal .toc a:hover { text-decoration: underline; }
mark.todo { background: rgba(246, 197, 114, 0.22); color: var(--amber); padding: 1px 6px; border-radius: 6px; font-weight: 700; }
.legal .back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 24px; font-weight: 800; text-decoration: none; }
.legal .back svg { width: 18px; height: 18px; }

/* 404 */
.notfound { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: calc(var(--header-h) + 40px) 0 60px; }
.notfound img { width: min(260px, 60vw); margin: 0 auto 16px; animation: float 6s ease-in-out infinite; }
.notfound h1 { font-size: clamp(2rem, 5vw, 3rem); }

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .listen-rings, .node-ring, .night-pulse { display: none; }
  .screen img.after { opacity: 1; }
  .rec-dot { opacity: 1; }
}

/* ---------- Impression ---------- */
@media print {
  body { background: #fff; color: #000; }
  body::before, #sky, #waves, .site-header, .site-footer, .skip-link { display: none !important; }
  .legal { padding-top: 0; }
  .legal p, .legal li, .legal th, .legal td, .legal h2, .legal h1 { color: #000; }
  a { color: #000; }
}
