/* ============================================================================
   Krackup — site vitrine · feuille de style « Nuit Soleil »
   Charte (03-identite-marque.md + Charte visuelle/) :
     · fonds toujours Nuit · Craie pour les textes · Soleil pour les accents et les CTA
     · Cœur RÉSERVÉ au like (ici : uniquement l'icône cœur des maquettes)
     · jamais d’orange type Amazon · titres Baloo 2 (auto-hébergée), textes police système
   Zéro ressource externe : pas de Google Fonts, pas de CDN, pas de traceur.
   ========================================================================== */

/* ---- Baloo 2 (sous-ensemble latin, licence OFL — voir assets/fonts/OFL-LICENCE.txt) */
@font-face { font-family: 'Baloo 2'; font-weight: 400; font-style: normal; font-display: swap;
  src: url('../assets/fonts/Baloo2-Regular-latin.woff2') format('woff2'), url('../assets/fonts/Baloo2-Regular-latin.ttf') format('truetype'); }
@font-face { font-family: 'Baloo 2'; font-weight: 600; font-style: normal; font-display: swap;
  src: url('../assets/fonts/Baloo2-SemiBold-latin.woff2') format('woff2'), url('../assets/fonts/Baloo2-SemiBold-latin.ttf') format('truetype'); }
@font-face { font-family: 'Baloo 2'; font-weight: 700; font-style: normal; font-display: swap;
  src: url('../assets/fonts/Baloo2-Bold-latin.woff2') format('woff2'), url('../assets/fonts/Baloo2-Bold-latin.ttf') format('truetype'); }
@font-face { font-family: 'Baloo 2'; font-weight: 800; font-style: normal; font-display: swap;
  src: url('../assets/fonts/Baloo2-ExtraBold-latin.woff2') format('woff2'), url('../assets/fonts/Baloo2-ExtraBold-latin.ttf') format('truetype'); }

/* ---- Tokens ------------------------------------------------------------- */
:root {
  --nuit: #17171B;
  --nuit-0: #0E0E11;
  --nuit-2: #121216;
  --nuit-3: #1E1E24;
  --bordure: #2A2A31;
  --craie: #FFF8ED;
  --texte-2: #D6D0C2;
  --muted: #8E8A7E;
  --soleil: #FFC53D;
  --soleil-doux: #FFD778;
  --soleil-ombre: #E0A92A;
  --coeur: #FF5D5D;                 /* le like, rien d'autre */

  --verre: rgba(16, 16, 20, 0.55);
  --verre-fort: rgba(14, 14, 18, 0.82);
  --verre-bord: rgba(255, 248, 237, 0.10);
  --flou: 18px;

  --glow: 0 0 32px rgba(255, 197, 61, 0.35);
  --glow-fort: 0 0 70px rgba(255, 197, 61, 0.45);
  --ombre: 0 24px 60px rgba(0, 0, 0, 0.55);

  --r: 18px;
  --r-lg: 24px;
  --r-xl: 32px;
  --pill: 999px;

  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  --font-titres: 'Baloo 2', 'Trebuchet MS', system-ui, sans-serif;
  --font-texte: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  --w: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(84px, 11vw, 150px);

  color-scheme: dark;
}

/* ---- Base ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
html, body { overflow-x: hidden; overflow-x: clip; }
body {
  margin: 0;
  background: var(--nuit);
  color: var(--craie);
  font-family: var(--font-texte);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; color: var(--texte-2); }
p:last-child { margin-bottom: 0; }
strong { color: var(--craie); font-weight: 700; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-titres); font-weight: 700; line-height: 1.05; margin: 0; letter-spacing: -0.01em; color: var(--craie); }
h1 { font-size: clamp(2.7rem, 6.6vw, 5.4rem); font-weight: 800; line-height: 0.98; letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 800; letter-spacing: -0.015em; }
h3 { font-size: 1.35rem; }
:focus-visible { outline: 3px solid var(--soleil); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--soleil); color: var(--nuit); }

.container { width: min(var(--w), 100% - 2 * var(--gutter)); margin-inline: auto; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--soleil); color: var(--nuit); padding: 10px 16px; border-radius: var(--pill); font-weight: 700; }
.skip:focus { top: 12px; }

/* Grain très léger sur tout le site (texture « tactile ») */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0.035;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: screen;
}
main, header, footer { position: relative; z-index: 1; }

/* ---- Typo utilitaires ------------------------------------------------------ */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-titres); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--soleil); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--soleil); box-shadow: 0 0 14px rgba(255, 197, 61, 0.7); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.32rem); line-height: 1.55; color: var(--texte-2); max-width: 46ch; }
.sun-word { color: var(--soleil); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head p { margin-top: 18px; }
.center { text-align: center; margin-inline: auto; }
.center .lead { margin-inline: auto; }

/* ---- Boutons ----------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 26px; border-radius: var(--pill);
  font-family: var(--font-titres); font-weight: 700; font-size: 1.05rem; line-height: 1;
  transition: transform 0.25s var(--spring), box-shadow 0.25s var(--ease), background-color 0.2s var(--ease), color 0.2s;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn--sun { background: linear-gradient(180deg, var(--soleil-doux), var(--soleil)); color: var(--nuit); box-shadow: var(--glow); }
.btn--sun:hover { transform: translateY(-2px); box-shadow: var(--glow-fort); }
.btn--ghost { background: var(--verre); color: var(--craie); border: 1px solid var(--verre-bord); -webkit-backdrop-filter: blur(var(--flou)); backdrop-filter: blur(var(--flou)); }
.btn--ghost:hover { border-color: rgba(255, 248, 237, 0.28); transform: translateY(-2px); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 0.95rem; }
.btn svg { width: 20px; height: 20px; flex: none; }

/* Badges stores — volontairement neutres (les badges officiels Apple / Google ne peuvent
   être utilisés qu'avec les fichiers fournis par les stores, une fois l'app publiée). */
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 18px 10px 14px; min-height: 58px; border-radius: 16px;
  background: var(--nuit-2); border: 1px solid var(--bordure); color: var(--craie);
  transition: transform 0.25s var(--spring), border-color 0.2s;
}
.store:hover { transform: translateY(-2px); border-color: rgba(255, 248, 237, 0.3); }
.store svg { width: 26px; height: 26px; color: var(--craie); }
.store__txt { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.store__txt small { font-size: 0.7rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.store__txt b { font-family: var(--font-titres); font-size: 1.15rem; font-weight: 700; }
.store__soon {
  position: absolute; top: -9px; right: 12px; padding: 2px 8px; border-radius: var(--pill);
  background: var(--soleil); color: var(--nuit); font-family: var(--font-titres); font-weight: 700; font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase;
}

/* ---- Navigation --------------------------------------------------------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background-color 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(23, 23, 27, 0.72); -webkit-backdrop-filter: blur(var(--flou)) saturate(1.3); backdrop-filter: blur(var(--flou)) saturate(1.3); border-color: var(--verre-bord); }
.nav__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 72px; }
.nav__logo { display: inline-flex; align-items: center; height: 100%; flex: none; }
.nav__logo img { height: 34px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__links a {
  white-space: nowrap;
  padding: 10px 14px; border-radius: var(--pill); color: var(--texte-2); font-weight: 600; font-size: 0.95rem;
  transition: color 0.2s, background-color 0.2s;
}
.nav__links a:hover { color: var(--craie); background: rgba(255, 248, 237, 0.06); }
.nav__right { display: flex; align-items: center; gap: 12px; }

.lang { display: inline-flex; padding: 4px; border-radius: var(--pill); background: rgba(255, 248, 237, 0.06); border: 1px solid var(--verre-bord); }
.lang button { padding: 6px 12px; border-radius: var(--pill); font-family: var(--font-titres); font-weight: 700; font-size: 0.85rem; color: var(--muted); transition: color 0.2s, background-color 0.2s; }
.lang button[aria-pressed="true"] { background: var(--craie); color: var(--nuit); }
.lang button:hover:not([aria-pressed="true"]) { color: var(--craie); }

.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--verre-bord); background: var(--verre); position: relative; }
.burger span { position: absolute; left: 14px; right: 14px; height: 2px; background: var(--craie); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.2s; }
.burger span:nth-child(1) { top: 16px; } .burger span:nth-child(2) { top: 22px; } .burger span:nth-child(3) { top: 28px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 72px 0 auto 0; z-index: 99; padding: 12px var(--gutter) 28px;
  background: rgba(18, 18, 22, 0.96); border-bottom: 1px solid var(--bordure);
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.mobile-menu.is-open { transform: none; opacity: 1; pointer-events: auto; }
.mobile-menu a { display: block; padding: 14px 6px; font-family: var(--font-titres); font-size: 1.4rem; font-weight: 700; border-bottom: 1px solid var(--bordure); }
.mobile-menu .btn { margin-top: 18px; width: 100%; }

@media (max-width: 960px) {
  .nav__links, .nav__right .btn { display: none; }
  .burger { display: block; }
  .nav__links--legal { display: flex; }
}
@media (max-width: 640px) { .nav__links--legal { display: none; } }

/* ---- Hero ------------------------------------------------------------------------ */
.hero { position: relative; padding: calc(72px + clamp(56px, 9vw, 120px)) 0 clamp(60px, 8vw, 110px); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__bg .smile { position: absolute; left: 50%; top: 50%; width: 120vw; max-width: 1900px; height: auto; transform: translate(-48%, -46%); opacity: 0.95; }
.hero__bg .glow-a { position: absolute; width: 60vw; height: 60vw; max-width: 900px; max-height: 900px; right: -18vw; top: -22vw; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 197, 61, 0.22), rgba(255, 197, 61, 0.06) 40%, transparent 68%); filter: blur(10px); }
.hero__bg .glow-b { position: absolute; width: 50vw; height: 50vw; max-width: 700px; max-height: 700px; left: -20vw; bottom: -30vw; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 197, 61, 0.10), transparent 65%); }
.hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: clamp(32px, 5vw, 72px); }
.hero__copy { position: relative; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 10px; border-radius: var(--pill);
  background: var(--verre); border: 1px solid var(--verre-bord); -webkit-backdrop-filter: blur(var(--flou)); backdrop-filter: blur(var(--flou));
  font-size: 0.9rem; font-weight: 600; color: var(--texte-2); margin-bottom: 26px;
}
.hero__badge .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--soleil); box-shadow: 0 0 0 0 rgba(255, 197, 61, 0.6); animation: pulse 2.2s var(--ease) infinite; }
.hero h1 { max-width: 12ch; }
.hero h1 .line { display: block; }
.hero .lead { margin-top: 26px; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 34px; }
.hero__note { margin-top: 22px; font-size: 0.95rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px 18px; }
.hero__note span { display: inline-flex; align-items: center; gap: 7px; }
.hero__note svg { width: 16px; height: 16px; color: var(--soleil); }

.hero__visual { position: relative; display: flex; justify-content: flex-start; padding-left: 2%; }
.hero__visual .phone { transform: rotate(-4deg); }
.float-card {
  position: absolute; z-index: 3; padding: 14px 16px; border-radius: 20px; max-width: 250px;
  background: var(--verre-fort); border: 1px solid var(--verre-bord); -webkit-backdrop-filter: blur(var(--flou)); backdrop-filter: blur(var(--flou));
  box-shadow: var(--ombre);
}
.float-card p { color: var(--craie); font-size: 0.93rem; line-height: 1.4; margin: 0; }
.float-card small { display: block; margin-top: 8px; color: var(--muted); font-size: 0.78rem; }
.float-card .flags { display: flex; gap: 6px; margin-top: 10px; }
.float-card--a { top: 8%; left: -6%; }
.float-card--b { bottom: 10%; right: -2%; max-width: 232px; }
.float-card--a::before, .float-card--b::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 1px rgba(255, 197, 61, 0.15) inset; pointer-events: none; }
.float-card .sun-ic { width: 22px; height: 22px; border-radius: 50%; background: var(--soleil); box-shadow: var(--glow); display: inline-block; vertical-align: middle; margin-right: 8px; }

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: none; }
  .hero__visual { margin-top: 24px; justify-content: center; padding-left: 0; }
  .float-card--a { left: 0; top: 4%; } .float-card--b { right: 0; bottom: 6%; }
}
@media (max-width: 520px) { .float-card { max-width: 200px; padding: 12px; } .float-card p { font-size: 0.85rem; } }

@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 197, 61, 0.55); } 70% { box-shadow: 0 0 0 12px rgba(255, 197, 61, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 197, 61, 0); } }
@keyframes floaty { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-14px) rotate(-4deg); } }
.hero__visual .phone { animation: floaty 7s var(--ease) infinite; }

/* ---- Maquette téléphone -------------------------------------------------------------- */
.tilt { transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transform-style: preserve-3d; transition: transform 0.25s var(--ease); will-change: transform; }
section[id], .wait { scroll-margin-top: 84px; }
.phone {
  position: relative; width: min(300px, 66vw); aspect-ratio: 9 / 19.2; border-radius: 46px; padding: 11px;
  background: linear-gradient(160deg, #2B2B33, #0B0B0E 60%);
  box-shadow: var(--ombre), 0 0 0 1px rgba(255, 248, 237, 0.12), 0 0 90px rgba(255, 197, 61, 0.12);
}
.phone__screen { position: relative; height: 100%; border-radius: 36px; overflow: hidden; background: var(--nuit-0); isolation: isolate; }
.phone__island { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; border-radius: 16px; background: #000; z-index: 6; }

/* écran d'échauffement */
.app-segments { position: absolute; top: 46px; left: 14px; right: 14px; display: flex; gap: 4px; z-index: 5; }
.app-segments span { flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 248, 237, 0.22); }
.app-segments span.done { background: var(--soleil); }
.app-segments span.live { background: linear-gradient(90deg, var(--soleil) 60%, rgba(255, 248, 237, 0.22) 60%); }
.app-topbar { position: absolute; top: 60px; left: 14px; right: 14px; display: flex; justify-content: space-between; align-items: center; z-index: 5; }
.app-pill {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 11px; border-radius: var(--pill);
  background: rgba(14, 14, 18, 0.6); border: 1px solid var(--verre-bord); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  font-size: 0.8rem; font-weight: 700; color: var(--craie);
}
.app-video { position: absolute; inset: 0; overflow: hidden;
  background:
    radial-gradient(120% 70% at 50% 62%, rgba(255, 197, 61, 0.28), transparent 55%),
    radial-gradient(80% 50% at 30% 30%, rgba(255, 248, 237, 0.10), transparent 60%),
    linear-gradient(180deg, #1B1A22, #0E0E11);
}
.app-video .ha {
  position: absolute; font-family: var(--font-titres); font-weight: 800; color: var(--craie); opacity: 0; letter-spacing: -0.02em;
  animation: ha-rise 5.5s var(--ease) infinite;
}
.app-video .ha--still { animation: none; opacity: 0.16; }
.app-video .ha--still.ha-5 { left: 8%; top: 22%; font-size: 5.2rem; transform: rotate(-8deg); }
.app-video .ha--still.ha-6 { right: 6%; top: 40%; font-size: 3.6rem; transform: rotate(6deg); }
.ha-1 { left: 12%; bottom: 40%; font-size: 3.4rem; animation-delay: 0s; }
.ha-2 { left: 48%; bottom: 46%; font-size: 4.6rem; animation-delay: 1.4s; }
.ha-3 { left: 28%; bottom: 55%; font-size: 2.6rem; animation-delay: 2.8s; }
.ha-4 { left: 60%; bottom: 36%; font-size: 3rem; animation-delay: 4.1s; }
@keyframes ha-rise { 0% { transform: translateY(30px) scale(0.9); opacity: 0; } 15% { opacity: 0.85; } 60% { opacity: 0.35; } 100% { transform: translateY(-110px) scale(1.08); opacity: 0; } }
.app-scrim { position: absolute; inset: auto 0 0 0; height: 55%; background: linear-gradient(0deg, rgba(10, 10, 13, 0.92), rgba(10, 10, 13, 0)); }
.app-bottom { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 16px 22px; display: flex; flex-direction: column; align-items: center; gap: 10px; z-index: 5; }
.app-hint { font-family: var(--font-titres); font-weight: 700; font-size: 0.95rem; color: var(--craie); text-align: center; margin: 0; }
.app-sub { font-size: 0.72rem; color: var(--muted); margin: 0; }
.app-heart { position: absolute; right: 16px; bottom: 150px; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 0.78rem; font-weight: 700; color: var(--craie); z-index: 5; }
.app-heart svg { width: 30px; height: 30px; fill: var(--coeur); filter: drop-shadow(0 4px 12px rgba(255, 93, 93, 0.45)); animation: heartbeat 2.6s var(--spring) infinite; }
@keyframes heartbeat { 0%, 100% { transform: scale(1); } 12% { transform: scale(1.18); } 24% { transform: scale(1); } }

/* anneau soleil (dans la maquette et en grand) */
.sunring { position: relative; width: 74px; height: 74px; display: grid; place-items: center; }
.sunring svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.sunring .track { fill: none; stroke: rgba(255, 248, 237, 0.16); stroke-width: 6; }
.sunring .fill { fill: none; stroke: var(--soleil); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 30; }
.sunring .core { width: 46%; height: 46%; border-radius: 50%; background: radial-gradient(circle at 40% 35%, var(--soleil-doux), var(--soleil) 70%); box-shadow: 0 0 22px rgba(255, 197, 61, 0.6); }
.sunring.is-live .fill { animation: ringfill 4.8s var(--ease) infinite; }
.sunring.is-live .core { animation: sunflash 4.8s var(--ease) infinite; }
@keyframes ringfill { 0% { stroke-dashoffset: 100; } 62% { stroke-dashoffset: 0; } 80% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 100; } }
@keyframes sunflash { 0%, 55% { transform: scale(0.88); box-shadow: 0 0 10px rgba(255, 197, 61, 0.35); opacity: 0.8; } 64% { transform: scale(1.25); box-shadow: 0 0 60px rgba(255, 197, 61, 0.95); opacity: 1; } 80% { transform: scale(1.05); } 100% { transform: scale(0.88); opacity: 0.8; } }

/* écran « envol » */
.app-envol { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 18px 26px; z-index: 4;
  background: radial-gradient(90% 60% at 50% 20%, rgba(255, 197, 61, 0.18), transparent 60%), linear-gradient(180deg, #14141A, #0E0E11); }
.app-envol h4 { font-family: var(--font-titres); font-size: 1.35rem; line-height: 1.1; margin: 0 0 8px; }
.app-envol p { font-size: 0.82rem; color: var(--texte-2); margin: 0 0 16px; }
.app-envol .dest { display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
.app-envol .btnrow { display: grid; gap: 8px; }
.app-btn { display: flex; align-items: center; justify-content: center; min-height: 46px; border-radius: 14px; font-family: var(--font-titres); font-weight: 700; font-size: 0.95rem; }
.app-btn--sun { background: linear-gradient(180deg, var(--soleil-doux), var(--soleil)); color: var(--nuit); box-shadow: var(--glow); }
.app-btn--ghost { background: var(--verre); border: 1px solid var(--verre-bord); color: var(--texte-2); }
.app-toast {
  position: absolute; top: 52px; left: 12px; right: 12px; z-index: 6; display: flex; gap: 10px; align-items: center;
  padding: 10px 12px; border-radius: 16px; background: var(--verre-fort); border: 1px solid var(--verre-bord);
  -webkit-backdrop-filter: blur(var(--flou)); backdrop-filter: blur(var(--flou)); font-size: 0.8rem; line-height: 1.3;
}
.app-toast .sun-ic { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--soleil); box-shadow: var(--glow); }
.app-toast b { color: var(--craie); }
.envol-sky { position: absolute; inset: 0 0 45% 0; pointer-events: none; }
.envol-sky .orb { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--soleil); box-shadow: 0 0 14px rgba(255, 197, 61, 0.9); animation: orb 4s var(--ease) infinite; }
.envol-sky .orb:nth-child(1) { left: 22%; top: 58%; animation-delay: 0s; }
.envol-sky .orb:nth-child(2) { left: 50%; top: 62%; animation-delay: 0.6s; }
.envol-sky .orb:nth-child(3) { left: 74%; top: 55%; animation-delay: 1.2s; }
@keyframes orb { 0% { transform: translateY(0) scale(1); opacity: 0; } 20% { opacity: 1; } 100% { transform: translateY(-160px) scale(0.4); opacity: 0; } }

/* ---- Drapeaux en CSS (aucune dépendance, rendu identique partout) --------------------------- */
.flag { display: inline-block; width: 20px; height: 14px; border-radius: 3px; flex: none; box-shadow: 0 0 0 1px rgba(255, 248, 237, 0.14) inset; background-color: #888; vertical-align: -2px; }
.flag--lg { width: 34px; height: 24px; border-radius: 5px; }
.flag-fr { background: linear-gradient(90deg, #0055A4 33.4%, #fff 33.4% 66.7%, #EF4135 66.7%); }
.flag-it { background: linear-gradient(90deg, #009246 33.4%, #fff 33.4% 66.7%, #CE2B37 66.7%); }
.flag-ng { background: linear-gradient(90deg, #008751 33.4%, #fff 33.4% 66.7%, #008751 66.7%); }
.flag-mx { background: linear-gradient(90deg, #006847 33.4%, #fff 33.4% 66.7%, #CE1126 66.7%); }
.flag-sn { background: radial-gradient(circle at 50% 50%, #00853F 0 2px, transparent 2.6px), linear-gradient(90deg, #00853F 33.4%, #FDEF42 33.4% 66.7%, #E31B23 66.7%); }
.flag-de { background: linear-gradient(180deg, #000 33.4%, #DD0000 33.4% 66.7%, #FFCE00 66.7%); }
.flag-eg { background: linear-gradient(180deg, #CE1126 33.4%, #fff 33.4% 66.7%, #000 66.7%); }
.flag-id { background: linear-gradient(180deg, #CE1126 50%, #fff 50%); }
.flag-pl { background: linear-gradient(180deg, #fff 50%, #DC143C 50%); }
.flag-es { background: linear-gradient(180deg, #AA151B 25%, #F1BF00 25% 75%, #AA151B 75%); }
.flag-th { background: linear-gradient(180deg, #A51931 16.7%, #F4F5F8 16.7% 33.4%, #2D2A4A 33.4% 66.7%, #F4F5F8 66.7% 83.4%, #A51931 83.4%); }
.flag-ar { background: radial-gradient(circle at 50% 50%, #F6B40E 0 2px, transparent 2.6px), linear-gradient(180deg, #74ACDF 33.4%, #fff 33.4% 66.7%, #74ACDF 66.7%); }
.flag-co { background: linear-gradient(180deg, #FCD116 50%, #003893 50% 75%, #CE1126 75%); }
.flag-in { background: radial-gradient(circle at 50% 50%, #000080 0 2px, transparent 2.6px), linear-gradient(180deg, #FF9933 33.4%, #fff 33.4% 66.7%, #138808 66.7%); }
.flag-jp { background: radial-gradient(circle at 50% 50%, #BC002D 0 4px, transparent 4.6px), #fff; }
.flag-kr { background: radial-gradient(circle at 50% 50%, transparent 4px, #fff 4.6px), linear-gradient(180deg, #CD2E3A 50%, #0047A0 50%); }
.flag-cg { background: linear-gradient(to top right, #009543 0 42%, #FBDE4A 42% 58%, #DC241F 58%); }
.flag-br { background:
  radial-gradient(circle at 50% 50%, #002776 0 2.4px, transparent 3px),
  linear-gradient(to bottom right, transparent 50%, #FEDF00 50%) top left / 50% 50% no-repeat,
  linear-gradient(to bottom left, transparent 50%, #FEDF00 50%) top right / 50% 50% no-repeat,
  linear-gradient(to top right, transparent 50%, #FEDF00 50%) bottom left / 50% 50% no-repeat,
  linear-gradient(to top left, transparent 50%, #FEDF00 50%) bottom right / 50% 50% no-repeat,
  #009C3B; }
.flag-us { background: linear-gradient(#3C3B6E, #3C3B6E) top left / 42% 54% no-repeat, repeating-linear-gradient(180deg, #B22234 0 7.7%, #fff 7.7% 15.4%); }
.flag-gb { background:
  linear-gradient(#C8102E, #C8102E) center / 100% 22% no-repeat, linear-gradient(#C8102E, #C8102E) center / 18% 100% no-repeat,
  linear-gradient(#fff, #fff) center / 100% 36% no-repeat, linear-gradient(#fff, #fff) center / 30% 100% no-repeat, #012169; }
.flag-ca { background: radial-gradient(circle at 50% 50%, #FF0000 0 3px, transparent 3.6px), linear-gradient(90deg, #FF0000 25%, #fff 25% 75%, #FF0000 75%); }
.flag-ma { background: radial-gradient(circle at 50% 50%, #006233 0 2px, transparent 2.6px), #C1272D; }
.flag-tr { background: radial-gradient(circle at 42% 50%, #fff 0 3px, transparent 3.6px), #E30A17; }
.flag-vn { background: radial-gradient(circle at 50% 50%, #FFFF00 0 2.4px, transparent 3px), #DA251D; }
.flag-ke { background: linear-gradient(180deg, #000 30%, #fff 30% 36%, #BB0000 36% 64%, #fff 64% 70%, #006600 70%); }
.flag-au { background: linear-gradient(#fff, #fff) top left / 40% 8% no-repeat, linear-gradient(#fff, #fff) 18% 0 / 6% 50% no-repeat, #00008B; }
.flag-pt { background: radial-gradient(circle at 40% 50%, #FFE500 0 3px, transparent 3.6px), linear-gradient(90deg, #006600 40%, #FF0000 40%); }
.flag-se { background: linear-gradient(#FECC02, #FECC02) 30% 0 / 14% 100% no-repeat, linear-gradient(#FECC02, #FECC02) 0 50% / 100% 20% no-repeat, #006AA7; }
.flag-ru { background: linear-gradient(180deg, #fff 33.4%, #0039A6 33.4% 66.7%, #D52B1E 66.7%); }
.flag-cn { background: radial-gradient(circle at 25% 35%, #FFDE00 0 2.4px, transparent 3px), #DE2910; }
.flag-cl { background: linear-gradient(#0039A6, #0039A6) top left / 33% 50% no-repeat, linear-gradient(180deg, #fff 50%, #D52B1E 50%); }

/* ---- Marquee onomatopées -------------------------------------------------------------- */
.marquee { position: relative; padding: 26px 0; border-top: 1px solid var(--bordure); border-bottom: 1px solid var(--bordure); overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; width: max-content; gap: 0; animation: marquee 48s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; gap: 44px; padding-right: 44px; }
.marquee__item { display: inline-flex; align-items: center; gap: 14px; font-family: var(--font-titres); font-weight: 800; font-size: clamp(1.5rem, 2.6vw, 2.2rem); color: var(--craie); white-space: nowrap; letter-spacing: -0.01em; }
.marquee__item small { font-family: var(--font-texte); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.marquee__item .flag { width: 26px; height: 18px; border-radius: 4px; }
.marquee__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--soleil); box-shadow: 0 0 12px rgba(255, 197, 61, 0.6); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---- Sections génériques ------------------------------------------------------------- */
.section { position: relative; padding: var(--section) 0; overflow: hidden; }
.section--tight { padding-top: calc(var(--section) * 0.6); }
.section--panel { background: var(--nuit-2); border-top: 1px solid var(--bordure); border-bottom: 1px solid var(--bordure); }
.glow-spot { position: absolute; pointer-events: none; border-radius: 50%; background: radial-gradient(circle, rgba(255, 197, 61, 0.14), transparent 65%); filter: blur(6px); }

/* « Le rire est le bouton » */
.signature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.signature h2 { max-width: 14ch; }
.signature .big { font-family: var(--font-titres); font-size: clamp(1.4rem, 2.2vw, 1.75rem); font-weight: 700; color: var(--craie); line-height: 1.25; margin: 22px 0 18px; }
.checks { display: grid; gap: 14px; margin-top: 26px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; color: var(--texte-2); }
.checks svg { flex: none; width: 26px; height: 26px; color: var(--soleil); margin-top: 2px; }
.checks b { color: var(--craie); }

.ring-stage { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 30px; min-height: 440px; padding: 72px 20px 32px; border-radius: var(--r-xl); background: radial-gradient(circle at 50% 42%, rgba(255, 197, 61, 0.10), transparent 55%), var(--nuit-0); border: 1px solid var(--bordure); overflow: hidden; }
.ring-stage .ring-wrap { position: relative; display: grid; place-items: center; }
.ring-stage .sunring { width: min(250px, 58vw); height: min(250px, 58vw); }
.ring-stage .sunring .track, .ring-stage .sunring .fill { stroke-width: 4; }
.ring-stage .bars { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; gap: 6px; align-items: center; height: 60px; z-index: 2; }
.ring-stage .bars i { width: 6px; border-radius: 3px; background: var(--nuit); height: 14px; animation: bar 1.1s var(--ease) infinite; }
.ring-stage .bars i:nth-child(1) { animation-delay: 0s; } .ring-stage .bars i:nth-child(2) { animation-delay: 0.15s; } .ring-stage .bars i:nth-child(3) { animation-delay: 0.3s; }
.ring-stage .bars i:nth-child(4) { animation-delay: 0.45s; } .ring-stage .bars i:nth-child(5) { animation-delay: 0.6s; } .ring-stage .bars i:nth-child(6) { animation-delay: 0.75s; } .ring-stage .bars i:nth-child(7) { animation-delay: 0.9s; }
@keyframes bar { 0%, 100% { height: 10px; } 50% { height: 40px; } }
.ring-stage .caption { text-align: center; font-family: var(--font-titres); font-weight: 700; color: var(--craie); font-size: 1.1rem; padding: 0 12px; }
.ring-stage .caption small { display: block; font-family: var(--font-texte); font-weight: 500; font-size: 0.85rem; color: var(--muted); margin-top: 4px; }
.ring-stage .tag { position: absolute; top: 20px; left: 20px; }
.tag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: var(--pill); background: rgba(255, 197, 61, 0.12); border: 1px solid rgba(255, 197, 61, 0.35); color: var(--soleil); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.tag--craie { background: rgba(255, 248, 237, 0.06); border-color: var(--verre-bord); color: var(--texte-2); }
@media (max-width: 900px) { .signature { grid-template-columns: 1fr; } .ring-stage { min-height: 380px; } }

/* Comment ça marche */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; counter-reset: step; }
.step { position: relative; padding: 28px 24px 26px; border-radius: var(--r-lg); background: var(--nuit-2); border: 1px solid var(--bordure); transition: transform 0.35s var(--spring), border-color 0.3s; }
.step:hover { transform: translateY(-6px); border-color: rgba(255, 197, 61, 0.45); }
.step__num { font-family: var(--font-titres); font-size: 3.2rem; font-weight: 800; line-height: 1; color: var(--soleil); letter-spacing: -0.03em; }
.step h3 { margin: 14px 0 10px; font-size: 1.45rem; }
.step p { font-size: 0.98rem; }
.step .flags { display: flex; gap: 6px; margin-top: 16px; }
.step__ico { position: absolute; top: 22px; right: 22px; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 248, 237, 0.05); border: 1px solid var(--verre-bord); color: var(--craie); }
.step__ico svg { width: 22px; height: 22px; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(210px, auto); gap: 16px; }
.tile { position: relative; overflow: hidden; padding: 26px; border-radius: var(--r-lg); background: var(--nuit-2); border: 1px solid var(--bordure); display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; transition: transform 0.35s var(--spring), border-color 0.3s, box-shadow 0.3s; }
.tile:hover { transform: translateY(-4px); border-color: rgba(255, 248, 237, 0.22); }
.tile h3 { font-size: 1.4rem; }
.tile p { font-size: 0.97rem; margin: 0; }
.tile--2 { grid-column: span 2; } .tile--3 { grid-column: span 3; } .tile--4 { grid-column: span 4; } .tile--6 { grid-column: span 6; }
.tile--sun { background: linear-gradient(160deg, rgba(255, 197, 61, 0.16), rgba(255, 197, 61, 0.03) 60%), var(--nuit-2); border-color: rgba(255, 197, 61, 0.35); }
.tile__art { flex: 1; display: flex; align-items: center; margin-bottom: 14px; min-height: 64px; }
.tile__ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 248, 237, 0.06); border: 1px solid var(--verre-bord); color: var(--soleil); margin-bottom: auto; }
.tile__ico svg { width: 24px; height: 24px; }
@media (max-width: 1000px) { .bento { grid-template-columns: repeat(2, 1fr); } .tile--2, .tile--3, .tile--4, .tile--6 { grid-column: span 1; } .tile--w { grid-column: span 2; } }
@media (max-width: 600px) { .bento { grid-template-columns: 1fr; } .tile--w { grid-column: span 1; } .bento { grid-auto-rows: auto; } .tile { min-height: 190px; } }

/* petits visuels des tuiles */
.streak { display: flex; gap: 10px; align-items: center; }
.streak i { width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 248, 237, 0.08); border: 1px solid var(--verre-bord); position: relative; }
.streak i.on { background: radial-gradient(circle at 40% 35%, var(--soleil-doux), var(--soleil) 70%); border-color: transparent; box-shadow: 0 0 16px rgba(255, 197, 61, 0.5); }
.streak i.off::after { content: ""; position: absolute; inset: 9px; border-radius: 50%; border: 2px dashed var(--muted); }
.streak b { margin-left: 8px; font-family: var(--font-titres); font-size: 1.6rem; color: var(--soleil); }
.duo { display: flex; align-items: center; }
.duo .card { width: 64px; height: 92px; border-radius: 14px; border: 1px solid var(--verre-bord); background: linear-gradient(180deg, #24232B, #14141A); display: grid; place-items: end center; padding-bottom: 8px; box-shadow: var(--ombre); }
.duo .card + .card { margin-left: -18px; transform: rotate(8deg) translateY(6px); }
.duo .card:first-child { transform: rotate(-6deg); }
.duo .arrow { margin-left: 12px; color: var(--soleil); width: 30px; height: 30px; }
.anon { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.anon .chip { padding: 6px 10px; font-size: 0.8rem; }
.anon .no { text-decoration: line-through; text-decoration-thickness: 2px; text-decoration-color: var(--soleil); color: var(--muted); font-family: var(--font-titres); font-weight: 700; font-size: 1rem; }
.podium { display: flex; align-items: flex-end; gap: 10px; height: 92px; width: 100%; max-width: 240px; }
.podium div { flex: 1; border-radius: 10px 10px 0 0; background: rgba(255, 248, 237, 0.06); border: 1px solid var(--verre-bord); border-bottom: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 6px; padding-top: 8px; font-size: 0.75rem; font-weight: 700; color: var(--texte-2); }
.podium div:nth-child(1) { height: 66%; } .podium div:nth-child(2) { height: 100%; background: rgba(255, 197, 61, 0.14); border-color: rgba(255, 197, 61, 0.4); } .podium div:nth-child(3) { height: 50%; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 12px; background: rgba(255, 248, 237, 0.06); border: 1px solid var(--verre-bord); font-size: 0.85rem; font-weight: 600; color: var(--texte-2); }
.chip svg { width: 16px; height: 16px; color: var(--soleil); }
.notif { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: 18px; background: var(--verre-fort); border: 1px solid var(--verre-bord); }
.notif .app-ic { flex: none; width: 40px; height: 40px; border-radius: 12px; overflow: hidden; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45), 0 0 0 1px var(--verre-bord); }
.notif .app-ic img { width: 40px; height: 40px; }
.notif b { display: block; color: var(--craie); font-size: 1rem; line-height: 1.35; }
.notif small { color: var(--muted); font-size: 0.8rem; }
.notif .flags { display: flex; gap: 6px; margin-top: 8px; }
.mini-constellation { width: 100%; max-width: 220px; height: auto; }
.mini-constellation line { stroke: rgba(255, 248, 237, 0.25); stroke-width: 1.2; }
.mini-constellation circle { fill: var(--craie); }
.mini-constellation circle.sun { fill: var(--soleil); filter: drop-shadow(0 0 6px rgba(255, 197, 61, 0.8)); }
.breath { display: flex; align-items: center; gap: 12px; }
.breath .ten { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; }
.breath .ten i { width: 12px; height: 12px; border-radius: 3px; background: var(--soleil); opacity: 0.9; }
.breath .pause { width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--soleil); display: grid; place-items: center; color: var(--soleil); font-family: var(--font-titres); font-weight: 800; animation: breathe 4s var(--ease) infinite; }
@keyframes breathe { 0%, 100% { transform: scale(0.94); } 50% { transform: scale(1.06); box-shadow: 0 0 24px rgba(255, 197, 61, 0.4); } }

/* Contagion */
.contagion { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.constellation { width: 100%; height: auto; }
.constellation .lnk { stroke: rgba(255, 248, 237, 0.28); stroke-width: 1.4; stroke-dasharray: 600; stroke-dashoffset: 600; }
.in .constellation .lnk { animation: draw 2.2s var(--ease) forwards; }
.constellation .lnk:nth-of-type(2) { animation-delay: 0.15s; } .constellation .lnk:nth-of-type(3) { animation-delay: 0.3s; } .constellation .lnk:nth-of-type(4) { animation-delay: 0.45s; }
.constellation .lnk:nth-of-type(5) { animation-delay: 0.6s; } .constellation .lnk:nth-of-type(6) { animation-delay: 0.75s; } .constellation .lnk:nth-of-type(7) { animation-delay: 0.9s; } .constellation .lnk:nth-of-type(8) { animation-delay: 1.05s; }
.constellation .lnk:nth-of-type(9) { animation-delay: 1.2s; } .constellation .lnk:nth-of-type(10) { animation-delay: 1.35s; } .constellation .lnk:nth-of-type(11) { animation-delay: 1.5s; } .constellation .lnk:nth-of-type(12) { animation-delay: 1.65s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.constellation .node { fill: var(--craie); opacity: 0; }
.in .constellation .node { animation: pop 0.6s var(--spring) forwards; }
.constellation .node:nth-of-type(odd) { animation-delay: 1s; } .constellation .node:nth-of-type(even) { animation-delay: 1.4s; }
@keyframes pop { from { opacity: 0; transform: scale(0.2); transform-box: fill-box; transform-origin: center; } to { opacity: 1; transform: scale(1); transform-box: fill-box; transform-origin: center; } }
.constellation .you { fill: var(--soleil); filter: drop-shadow(0 0 16px rgba(255, 197, 61, 0.9)); }
.constellation text { font-family: var(--font-texte); font-size: 11px; font-weight: 600; fill: var(--muted); letter-spacing: 0.04em; }
.constellation .you-label { fill: var(--soleil); font-family: var(--font-titres); font-size: 13px; font-weight: 700; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: clamp(40px, 5vw, 64px); }
.stat { display: flex; gap: 16px; align-items: flex-start; padding: 22px 24px; border-radius: 20px; background: var(--nuit); border: 1px solid var(--bordure); }
.stat .stat__ico { flex: none; width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: rgba(255, 197, 61, 0.12); border: 1px solid rgba(255, 197, 61, 0.3); color: var(--soleil); }
.stat .stat__ico svg { width: 22px; height: 22px; }
.stat b { display: block; font-family: var(--font-titres); font-size: 1.2rem; color: var(--craie); line-height: 1.2; margin-bottom: 4px; }
.stat small { color: var(--texte-2); font-size: 0.92rem; line-height: 1.5; }
@media (max-width: 900px) { .contagion { grid-template-columns: 1fr; } .stat-row { grid-template-columns: 1fr; } }

/* Manifeste */
.manifesto { text-align: center; }
.manifesto h2 { max-width: 20ch; margin-inline: auto; }
.never { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 14px; margin-top: 40px; }
.never li { position: relative; font-family: var(--font-titres); font-weight: 800; font-size: clamp(1.25rem, 2.6vw, 2rem); color: var(--muted); padding: 10px 22px; border-radius: var(--pill); border: 1px solid var(--bordure); background: var(--nuit-2); }
.never li::after { content: ""; position: absolute; left: 16px; right: 16px; top: 50%; height: 3px; border-radius: 3px; background: var(--soleil); transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease); transition-delay: calc(var(--i, 0) * 0.12s); }
.in .never li::after { transform: scaleX(1); }
.manifesto .promise { margin-top: 40px; font-family: var(--font-titres); font-size: clamp(1.3rem, 2.2vw, 1.7rem); color: var(--craie); font-weight: 700; }
.manifesto .promise span { color: var(--soleil); }

/* Krackup+ */
.plans { display: grid; grid-template-columns: 1fr 1.15fr; gap: 20px; align-items: stretch; }
.plan { position: relative; padding: 34px 32px; border-radius: var(--r-xl); background: var(--nuit-2); border: 1px solid var(--bordure); display: flex; flex-direction: column; }
.plan--plus { background: linear-gradient(170deg, rgba(255, 197, 61, 0.14), rgba(255, 197, 61, 0.02) 55%), var(--nuit-2); border-color: rgba(255, 197, 61, 0.45); box-shadow: 0 0 0 1px rgba(255, 197, 61, 0.15), 0 30px 80px rgba(255, 197, 61, 0.08); }
.plan__name { font-family: var(--font-titres); font-size: 1.9rem; font-weight: 800; display: flex; align-items: center; gap: 12px; }
.plus-pill { display: inline-flex; align-items: center; padding: 2px 10px; border-radius: var(--pill); background: var(--soleil); color: var(--nuit); font-size: 0.95rem; font-weight: 800; }
.plan__price { margin-top: 18px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.plan__price .amount { font-family: var(--font-titres); font-size: clamp(2.6rem, 5vw, 3.6rem); font-weight: 800; line-height: 1; color: var(--craie); letter-spacing: -0.02em; }
.plan--plus .plan__price .amount { color: var(--soleil); }
.plan__price .when { color: var(--texte-2); font-weight: 600; }
.plan__sub { margin-top: 8px; color: var(--muted); font-size: 0.95rem; }
.plan__list { margin-top: 26px; display: grid; gap: 12px; }
.plan__list li { display: flex; gap: 12px; align-items: flex-start; color: var(--texte-2); font-size: 0.98rem; }
.plan__list svg { flex: none; width: 22px; height: 22px; color: var(--soleil); margin-top: 1px; }
.plan__list b { color: var(--craie); }
.plan__foot { margin-top: auto; padding-top: 26px; }
.plan__foot .btn { width: 100%; }
.founder { position: absolute; top: -16px; right: 24px; padding: 8px 14px; border-radius: var(--pill); background: var(--soleil); color: var(--nuit); font-family: var(--font-titres); font-weight: 800; font-size: 0.85rem; letter-spacing: 0.04em; text-transform: uppercase; box-shadow: var(--glow); }
.legal-note { margin-top: 22px; font-size: 0.85rem; color: var(--muted); }
.legal-note a { color: var(--texte-2); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }

/* Confiance */
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.trust__item { padding: 26px 24px; border-radius: var(--r-lg); background: var(--nuit-2); border: 1px solid var(--bordure); transition: border-color 0.3s, transform 0.35s var(--spring); }
.trust__item:hover { border-color: rgba(255, 197, 61, 0.4); transform: translateY(-4px); }
.trust__item svg { width: 30px; height: 30px; color: var(--soleil); margin-bottom: 16px; }
.trust__item h3 { font-size: 1.25rem; margin-bottom: 8px; }
.trust__item p { font-size: 0.95rem; }
.trust__item a { color: var(--soleil); font-weight: 600; }
.trust__item a:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) { .trust { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .trust { grid-template-columns: 1fr; } }

/* Fondateurs */
.founders { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.founders blockquote { margin: 0; font-family: var(--font-titres); font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 700; line-height: 1.25; color: var(--craie); }
.founders blockquote span { color: var(--soleil); }
.founders cite { display: block; margin-top: 16px; font-style: normal; color: var(--muted); font-size: 0.95rem; }
@media (max-width: 900px) { .founders { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 10px; }
.faq details { border-radius: 20px; background: var(--nuit-2); border: 1px solid var(--bordure); overflow: hidden; transition: border-color 0.3s; }
.faq details[open] { border-color: rgba(255, 197, 61, 0.4); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 24px; font-family: var(--font-titres); font-weight: 700; font-size: 1.12rem; color: var(--craie); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--verre-bord); display: grid; place-items: center; transition: transform 0.35s var(--spring), background-color 0.3s; }
.faq summary .plus svg { width: 16px; height: 16px; }
.faq details[open] summary .plus { transform: rotate(45deg); background: var(--soleil); color: var(--nuit); border-color: transparent; }
.faq .answer { padding: 0 24px 22px; color: var(--texte-2); }
.faq .answer a { color: var(--soleil); font-weight: 600; }

/* Liste d'attente */
.wait { position: relative; overflow: hidden; border-radius: var(--r-xl); padding: clamp(40px, 6vw, 80px) clamp(24px, 5vw, 72px); text-align: center;
  background: radial-gradient(90% 90% at 50% 110%, rgba(255, 197, 61, 0.30), transparent 60%), var(--nuit-2); border: 1px solid rgba(255, 197, 61, 0.35); }
.wait h2 { max-width: 18ch; margin-inline: auto; }
.wait .lead { margin: 18px auto 0; }
.wait__form { margin: 34px auto 0; max-width: 560px; display: flex; gap: 10px; padding: 8px; border-radius: var(--pill); background: var(--nuit); border: 1px solid var(--bordure); }
.wait__form:focus-within { border-color: var(--soleil); box-shadow: var(--glow); }
.wait__form input { flex: 1; min-width: 0; background: transparent; border: 0; color: var(--craie); font: inherit; font-size: 1.05rem; padding: 0 18px; outline: none; }
.wait__form input::placeholder { color: var(--muted); }
.wait__form .btn { flex: none; }
.wait__consent { margin: 16px auto 0; max-width: 560px; font-size: 0.85rem; color: var(--muted); }
.wait__consent a { color: var(--texte-2); text-decoration: underline; text-underline-offset: 3px; }
.wait__ok { display: none; margin: 30px auto 0; max-width: 560px; padding: 20px 24px; border-radius: 20px; background: rgba(255, 197, 61, 0.12); border: 1px solid rgba(255, 197, 61, 0.4); color: var(--craie); font-family: var(--font-titres); font-weight: 700; font-size: 1.15rem; }
.wait.is-done .wait__form, .wait.is-done .wait__consent { display: none; }
.wait.is-done .wait__ok { display: block; }
.wait__stores { margin-top: 30px; display: flex; justify-content: center; }
@media (max-width: 560px) { .wait__form { flex-direction: column; border-radius: 24px; padding: 10px; } .wait__form input { padding: 14px 12px; } .wait__form .btn { width: 100%; } }

/* Footer */
.footer { position: relative; padding: clamp(56px, 8vw, 96px) 0 calc(28px + 76px); border-top: 1px solid var(--bordure); background: var(--nuit-0); }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; }
.footer__brand img { height: 38px; width: auto; }
.footer__brand p { margin-top: 18px; max-width: 34ch; font-size: 0.95rem; }
.footer__brand .mission { font-family: var(--font-titres); font-size: 1.15rem; font-weight: 700; color: var(--craie); margin-top: 10px; }
.footer h4 { font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-family: var(--font-texte); font-weight: 700; margin-bottom: 18px; }
.footer li { margin: 0 0 10px; }
.footer li a { color: var(--texte-2); font-size: 0.95rem; transition: color 0.2s; }
.footer li a:hover { color: var(--soleil); }
.footer__bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--bordure); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; font-size: 0.85rem; color: var(--muted); }
.footer__bottom .lang { margin: 0; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }
@media (min-width: 761px) { .footer { padding-bottom: 28px; } }

/* Barre CTA mobile */
.sticky-cta { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90; display: none; padding: 8px; border-radius: var(--pill); background: rgba(18, 18, 22, 0.9); border: 1px solid var(--verre-bord); -webkit-backdrop-filter: blur(var(--flou)); backdrop-filter: blur(var(--flou)); box-shadow: var(--ombre); transform: translateY(120%); transition: transform 0.4s var(--spring); }
.sticky-cta .btn { width: 100%; }
.sticky-cta.is-visible { transform: none; }
@media (max-width: 760px) { .sticky-cta { display: block; } }

/* ---- Révélation au défilement ---------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.reveal.in { opacity: 1; transform: none; }
.hero .word { display: inline-block; opacity: 0; transform: translateY(0.6em) rotate(2deg); animation: word-in 0.9s var(--spring) forwards; animation-delay: calc(var(--i) * 80ms + 120ms); }
@keyframes word-in { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; }
  .reveal { opacity: 1; transform: none; }
  .hero .word { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
  .app-video .ha { opacity: 0.35; transform: none; }
  .constellation .lnk { stroke-dashoffset: 0; } .constellation .node { opacity: 1; }
  .never li::after { transform: scaleX(1); }
}

/* ============================================================================
   Pages juridiques
   ========================================================================== */
.legal-page { padding-top: 72px; }
.legal-hero { padding: clamp(44px, 6vw, 80px) 0 clamp(28px, 4vw, 48px); border-bottom: 1px solid var(--bordure); position: relative; overflow: hidden; }
.legal-hero .crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 0.9rem; color: var(--muted); margin-bottom: 22px; }
.legal-hero .crumbs a { color: var(--texte-2); }
.legal-hero .crumbs a:hover { color: var(--soleil); }
.legal-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); max-width: 22ch; }
.legal-hero .version { margin-top: 14px; color: var(--muted); font-size: 0.95rem; }
.legal-hero .en-note { margin-top: 18px; display: inline-flex; gap: 10px; align-items: flex-start; padding: 12px 16px; border-radius: 14px; background: rgba(255, 248, 237, 0.05); border: 1px solid var(--verre-bord); color: var(--texte-2); font-size: 0.9rem; max-width: 70ch; }
.legal-hero .en-note svg { flex: none; width: 18px; height: 18px; color: var(--soleil); margin-top: 2px; }
.legal-body { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); padding: clamp(36px, 5vw, 64px) 0 var(--section); align-items: start; }
.toc { position: sticky; top: 96px; max-height: calc(100vh - 120px); overflow: auto; padding-right: 8px; }
.toc h2 { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-family: var(--font-texte); font-weight: 700; margin-bottom: 14px; }
.toc li { margin: 0; }
.toc a { display: block; padding: 7px 12px; border-left: 2px solid var(--bordure); color: var(--texte-2); font-size: 0.9rem; line-height: 1.35; transition: color 0.2s, border-color 0.2s; }
.toc a:hover, .toc a.is-active { color: var(--craie); border-color: var(--soleil); }
.toc .toc-more { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--bordure); }
.toc .toc-more a { border: 0; padding: 6px 0; color: var(--muted); }
.toc .toc-more a:hover { color: var(--soleil); }
@media (max-width: 900px) { .legal-body { grid-template-columns: 1fr; } .toc { position: static; max-height: none; padding: 18px 20px; border-radius: 18px; background: var(--nuit-2); border: 1px solid var(--bordure); } }

.article { max-width: 74ch; font-size: 1.02rem; line-height: 1.7; }
.article h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); margin: 2.2em 0 0.7em; scroll-margin-top: 96px; letter-spacing: 0; }
.article h2:first-child { margin-top: 0; }
.article h3 { font-size: 1.2rem; margin: 1.8em 0 0.6em; scroll-margin-top: 96px; }
.article p { margin: 0 0 1.05em; }
.article ul, .article ol { margin: 0 0 1.2em 1.3em; color: var(--texte-2); }
.article ul { list-style: disc; } .article ol { list-style: decimal; }
.article li { margin: 0.35em 0; }
.article li::marker { color: var(--soleil); }
.article a { color: var(--soleil); text-decoration: underline; text-decoration-color: rgba(255, 197, 61, 0.4); text-underline-offset: 3px; }
.article a:hover { text-decoration-color: var(--soleil); }
.article em { color: var(--texte-2); }
.article hr { border: 0; border-top: 1px solid var(--bordure); margin: 2.5em 0; }
.article code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.9em; background: rgba(255, 248, 237, 0.07); border: 1px solid var(--verre-bord); border-radius: 6px; padding: 1px 6px; color: var(--craie); }
.article blockquote { margin: 0 0 1.6em; padding: 20px 22px 20px 26px; border-radius: 18px; background: linear-gradient(160deg, rgba(255, 197, 61, 0.14), rgba(255, 197, 61, 0.03)); border: 1px solid rgba(255, 197, 61, 0.35); position: relative; }
.article blockquote::before { content: ""; position: absolute; left: 22px; top: -11px; width: 22px; height: 22px; border-radius: 50%; background: var(--soleil); box-shadow: var(--glow); }
.article blockquote p { color: var(--craie); font-size: 1.02rem; }
.article blockquote p:last-child { margin: 0; }
.article .table-wrap { overflow-x: auto; margin: 0 0 1.6em; border-radius: 14px; border: 1px solid var(--bordure); }
.article table { width: 100%; border-collapse: collapse; font-size: 0.93rem; min-width: 560px; }
.article th, .article td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--bordure); color: var(--texte-2); }
.article th { background: rgba(255, 248, 237, 0.05); color: var(--craie); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.04em; text-transform: uppercase; }
.article tr:last-child td { border-bottom: 0; }
/* Crochets à compléter — volontairement visibles : rien ne doit partir en ligne avec un crochet */
.article .todo { display: inline; padding: 1px 8px; border-radius: 8px; background: rgba(255, 197, 61, 0.16); border: 1px dashed rgba(255, 197, 61, 0.6); color: var(--soleil); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.86em; }
.article .todo::before { content: "⚠ "; }

.legal-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.legal-card { display: flex; flex-direction: column; gap: 10px; padding: 26px 24px; border-radius: var(--r-lg); background: var(--nuit-2); border: 1px solid var(--bordure); transition: transform 0.35s var(--spring), border-color 0.3s; }
.legal-card:hover { transform: translateY(-4px); border-color: rgba(255, 197, 61, 0.45); }
.legal-card .kicker { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--soleil); font-weight: 700; }
.legal-card h3 { font-size: 1.3rem; }
.legal-card p { font-size: 0.95rem; flex: 1; }
.legal-card .go { color: var(--craie); font-weight: 700; display: inline-flex; align-items: center; gap: 8px; }
.legal-card .go svg { width: 18px; height: 18px; color: var(--soleil); transition: transform 0.3s var(--spring); }
.legal-card:hover .go svg { transform: translateX(4px); }
@media (max-width: 900px) { .legal-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .legal-cards { grid-template-columns: 1fr; } }

.steps-inline { counter-reset: n; display: grid; gap: 14px; margin: 1.4em 0 1.8em; padding: 0; list-style: none !important; margin-left: 0 !important; }
.steps-inline li { position: relative; padding: 18px 20px 18px 66px; border-radius: 16px; background: var(--nuit-2); border: 1px solid var(--bordure); color: var(--texte-2); }
.steps-inline li::before { counter-increment: n; content: counter(n); position: absolute; left: 18px; top: 16px; width: 32px; height: 32px; border-radius: 50%; background: var(--soleil); color: var(--nuit); font-family: var(--font-titres); font-weight: 800; display: grid; place-items: center; }

/* Impression : les textes légaux s'impriment souvent */
@media print {
  body::before, .nav, .mobile-menu, .sticky-cta, .toc, .footer, .legal-hero .en-note, .skip { display: none !important; }
  body { background: #fff; color: #111; font-size: 11pt; }
  .legal-page { padding-top: 0; }
  .legal-body { display: block; padding: 0; }
  .article, .article p, .article li, .article td, .article th, h1, h2, h3, .legal-hero .version { color: #111 !important; }
  .article a { color: #111; text-decoration: underline; }
  .article blockquote { border: 1px solid #999; background: none; }
  .article .todo { background: none; border: 1px dashed #999; color: #111; }
  .article th { background: #f0f0f0; }
}
