/* ============================================================
   FakeOrFact — site vitrine
   Une page courte, en défilement normal : hero avec le téléphone
   (la partie s'y joue toute seule, en boucle), les trois temps du jeu,
   quatre raisons de revenir, la confidentialité, le téléchargement.
   Couleurs et typographie : charte FakeOrFact (thème sombre).
   ============================================================ */

/* ---------- Polices (auto-hébergées : aucune requête vers un tiers) ---------- */
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(fonts/inter-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(fonts/inter-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-0130, U+0132-0151, U+0154-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: dark;
  /* Jetons de la charte (thème sombre) */
  --fof-bleu-vif: #4D8FFF;
  --fof-vert-fact-vif: #3DD46B;
  --fof-corail-fake-vif: #FF5A5F;
  --fof-or: #FFC800;
  --fof-logo-fakeor: #F4F4F6;
  --fof-surface: #161718;
  /* Couleurs du site, dérivées de la charte. Le fond reste un noir très légèrement adouci (#08080a). */
  --paper: #08080a;
  --surface: var(--fof-surface);
  --ink: var(--fof-logo-fakeor);
  --ink-2: #b6b6be;
  --mute: #84848d;
  --black: #0e0e10;
  --blue: var(--fof-bleu-vif);
  --green: var(--fof-vert-fact-vif);
  --green-soft: #8df2ab;            /* surlignage « vrai » des titres, repris de la vidéo */
  --red: var(--fof-corail-fake-vif);
  --yellow: var(--fof-or);
  /* UI de l'app (mode sombre) */
  --ui-bg: #000;
  --ui-card: #1c1c1e;
  --ui-line: rgba(255,255,255,.08);
  --ui-text: #f3f3f5;
  --ui-mute: #8c8c94;
  --ui-track: #26262a;
  --ui-sub: #76767e;
  --ui-label: #d6d6da;
  /* Typographie : Inter (charte, supports hors app). Écritures non latines : polices du système. */
  --display: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --text: var(--display);
  /* Mesures */
  --nav-h: 85px;
  --gutter-l: max(clamp(20px, 5vw, 64px), env(safe-area-inset-left, 0px));
  --gutter-r: max(clamp(20px, 5vw, 64px), env(safe-area-inset-right, 0px));
  --ph: min(72svh, 700px);              /* hauteur du téléphone (desktop) */
  --pw: calc(var(--ph) * 420 / 872);
  --ease: cubic-bezier(.2,.7,.2,1);
}
@supports not (height: 1svh) { :root { --ph: min(72vh, 700px); } }
html[lang="ja"] { --display: "Inter", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", Meiryo, "Noto Sans JP", "Noto Sans CJK JP", system-ui, sans-serif; }
html[lang="ar"] { --display: "Inter", "SF Arabic", "Geeza Pro", "Segoe UI", "Noto Sans Arabic", Tahoma, system-ui, sans-serif; }
html[lang="hi"] { --display: "Inter", "Kohinoor Devanagari", "Nirmala UI", "Noto Sans Devanagari", Mangal, system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
html, body { overflow-x: clip; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--paper); }
img, svg { max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -.04em; line-height: 1.02; text-wrap: balance; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
/* Cibles d'ancre (sections) : le focus y est déplacé sans contour */
[tabindex="-1"]:focus { outline: none; }
.wrap { max-width: 1328px; margin-inline: auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Lien d'évitement : invisible jusqu'au premier Tab */
.skip-link { position: absolute; inset-inline-start: 16px; top: -100px; z-index: 300; padding: 10px 18px; border-radius: 999px; background: #fff; color: var(--black); font-weight: 600; font-size: 15px; }
.skip-link:focus { top: 12px; }

/* ---------- Vocabulaire visuel de la marque ---------- */
/* Mots surlignés, comme les sous-titres de la vidéo */
.hl { display: inline-block; padding: 0 .13em; margin: 0 -.02em; border-radius: .16em; line-height: 1.08; }
.hl-red { background: var(--red); color: #fff; }
.hl-green { background: var(--green-soft); color: var(--black); }
.hl-blue { background: var(--blue); color: #fff; }
.ic { width: 18px; height: 18px; flex: none; }
.ic-stroke { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ic-fill { fill: currentColor; }

/* Logo : mot-symbole officiel (SVG de la charte). La pupille est un tracé à part : au survol, Coco regarde « fake ». */
.logo { display: block; height: auto; aspect-ratio: 1947 / 295; overflow: visible; }
.logo-pupil { fill: var(--paper); transition: transform .35s var(--ease); }

/* Voile des transitions (ancres, langue) : fondu au noir rapide */
.veil { position: fixed; inset: 0; z-index: 40; pointer-events: none; background: var(--paper); opacity: 0; visibility: hidden; transition: opacity .22s var(--ease), visibility .22s; }
.veil.on { opacity: 1; visibility: visible; }

/* ---------- Boutons des stores (boutons maison : à remplacer par les badges officiels au lancement) ---------- */
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.store {
  display: inline-flex; align-items: center; gap: 12px; height: 60px; padding-block: 0; padding-inline: 18px 24px; border-radius: 16px;
  text-align: start; white-space: nowrap; cursor: pointer;
  transition: background-color .25s;
}
.store-ic { width: 28px; height: 28px; flex: none; }
.store-t { display: flex; flex-direction: column; gap: 3px; line-height: 1; }
.store-t small { font-size: 11.5px; font-weight: 500; opacity: .72; letter-spacing: .01em; }
.store-t b { font-family: var(--display); font-size: 21px; font-weight: 700; letter-spacing: -.025em; }
.store-apple { background: #fff; color: var(--black); box-shadow: 0 12px 30px rgba(0,0,0,.4), inset 0 -2px 0 rgba(0,0,0,.08); }
.store-apple:hover { background: #e8e8ec; }
.store-apple .store-ic { fill: var(--black); margin-top: -3px; }
.store-google { background: rgba(255,255,255,.09); color: #fff; box-shadow: 0 12px 30px rgba(0,0,0,.35); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.store-google:hover { background: rgba(255,255,255,.14); }
/* Avant le lancement : « Bientôt sur », simple étiquette (span), non cliquable */
span.store { cursor: default; }
span.store-apple:hover { background: #fff; }
span.store-google:hover { background: rgba(255,255,255,.09); }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 24px; border-radius: 999px;
  font-weight: 600; font-size: 16px; line-height: 1; white-space: nowrap;
  transition: background-color .2s;
}
.btn-ink { background: #fff; color: var(--black); }
.btn-ink:hover { background: #e8e8ec; }
.btn-sm { height: 42px; padding: 0 18px; font-size: 14px; }
.btn-lg { height: 58px; padding: 0 28px; font-size: 17px; }

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  height: var(--nav-h);
  background: var(--paper);
}
/* Liens à égale distance du logo et des boutons */
.nav-in { position: relative; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand .logo { width: 132px; }
.brand:hover .logo-pupil { transform: translate(-72px, 13px); }
.nav-links { display: flex; gap: 26px; font-weight: 500; font-size: 15px; color: var(--ink-2); }
.nav-links a { padding: 8px 0; position: relative; white-space: nowrap; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; border-radius: 2px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
html[dir="rtl"] .nav-links a::after { transform-origin: right; }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-end { display: flex; align-items: center; gap: 12px; }
.burger { display: none; width: 42px; height: 42px; border-radius: 999px; position: relative; background: rgba(255,255,255,.07); transition: background-color .2s; }
.burger:hover { background: rgba(255,255,255,.12); }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.8px; background: var(--ink); border-radius: 2px; transition: transform .32s cubic-bezier(.2,.8,.2,1), top .32s cubic-bezier(.2,.8,.2,1); }
.burger span:first-child { top: 16.5px; } .burger span:last-child { top: 23.5px; }
.burger[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }
/* Sans JavaScript : ni burger ni sélecteur de langue (ils ne feraient rien) */
html:not(.js) .burger, html:not(.js) .lang, .js-failed .burger, .js-failed .lang, .js-failed .demo-toggle { display: none; }
/* Sans JavaScript, sur mobile : le bouton de téléchargement reste dans la navbar */
@media (max-width: 900px) { html:not(.js) .nav-cta { display: block; } }
.menu {
  position: fixed; inset: calc(var(--nav-h) + env(safe-area-inset-top, 0px)) 0 0 0; z-index: 45;
  background: var(--paper); padding: 24px var(--gutter-r) 32px var(--gutter-l);
  display: flex; flex-direction: column; justify-content: center; gap: 10px; padding-bottom: calc(var(--nav-h) + 32px); overscroll-behavior: contain;
  visibility: hidden; opacity: 0; pointer-events: none;
  transition: opacity .2s ease, visibility 0s linear .2s;
}
.menu.leaving { transition: opacity .3s ease, visibility 0s linear .3s; }
.menu.leaving > * { opacity: 1; transform: none; transition: none; }
.menu.leaving a::after { transition: none; }
.menu.open { visibility: visible; opacity: 1; pointer-events: auto; transition: opacity .25s ease, visibility 0s; }
.menu > * { opacity: 0; transform: translateY(14px); transition: opacity .15s ease, transform .15s ease; }
.menu > :nth-child(2) { --i: 1; } .menu > :nth-child(3) { --i: 2; } .menu > :nth-child(4) { --i: 3; }
.menu.open > * { opacity: 1; transform: none; transition: opacity .35s ease, transform .45s cubic-bezier(.2,.8,.2,1); transition-delay: calc(70ms + var(--i, 0) * 55ms); }
@media (prefers-reduced-motion: reduce) { .menu > *, .menu.open > * { transform: none; transition-duration: .01s; transition-delay: 0s; } }
.menu a:not(.btn) { position: relative; align-self: center; font-family: var(--display); font-weight: 800; font-size: clamp(26px, 8.4vw, 36px); letter-spacing: -.035em; padding: 10px 0; color: var(--ink); text-align: center; text-wrap: balance; }
.menu a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 3px; border-radius: 3px; background: var(--ink); transform: scaleX(0); transform-origin: center; transition: transform .3s var(--ease); }
.menu a:not(.btn):hover::after, .menu a:not(.btn):focus-visible::after, .menu a:not(.btn):active::after { transform: scaleX(1); }
.menu .btn { margin-top: 28px; align-self: center; }
/* Le défilement se bloque sur html et non sur body : html ayant overflow-x: clip, un overflow: hidden
   sur body en ferait un conteneur de défilement et la navbar sticky partirait hors de l'écran. */
html.menu-open { overflow: hidden; scrollbar-gutter: stable; overscroll-behavior: none; }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; display: flex; align-items: center;
  min-height: calc(100vh - var(--nav-h)); min-height: calc(100svh - var(--nav-h)); padding-block: 32px 72px;
  overflow-x: hidden; overflow-x: clip; }   /* « hidden » d'abord : iOS 15 ne connaît pas « clip » */
.hero-in { width: 100%; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 5vw, 88px); }
.hero-copy { width: max-content; max-width: 100%; }
.h1 { font-size: clamp(42px, 5vw, 76px); font-weight: 800; }
.lead { margin-top: 24px; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.55; color: var(--ink-2); max-width: 40ch; text-wrap: balance; }
.hero-phone { position: relative; display: grid; place-items: center; }

/* Fond : deux halos très doux derrière le téléphone, rouge (Fake) et vert (Fact), qui respirent lentement.
   Seule l'opacité est animée : le navigateur n'a rien à redessiner. */
.halo { position: absolute; z-index: -1; left: 50%; top: 50%; width: calc(var(--pw) * 2.9); aspect-ratio: 1; transform: translate(-50%, -50%); pointer-events: none; }
.halo i { position: absolute; inset: 0; border-radius: 50%; animation: drift 14s ease-in-out infinite; }
.halo-fake { background: radial-gradient(closest-side, rgba(255,90,95,.36), rgba(255,90,95,.13) 42%, rgba(255,90,95,0) 70%); transform: translate(-18%, 12%); }
.halo-fact { background: radial-gradient(closest-side, rgba(61,212,107,.32), rgba(61,212,107,.12) 42%, rgba(61,212,107,0) 70%); transform: translate(18%, -10%); animation-delay: -7s; }
html[dir="rtl"] .halo-fake { transform: translate(18%, 12%); }
html[dir="rtl"] .halo-fact { transform: translate(-18%, -10%); }
@keyframes drift { 0%, 100% { opacity: .75; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .halo i { animation: none; } }
.motion-paused .halo i, .motion-paused .glow { animation-play-state: paused; }

/* Bouton pause / lecture de la démo (WCAG 2.2.2) */
.demo-toggle {
  position: absolute; z-index: 2; bottom: 0; inset-inline-end: calc(50% - var(--pw) / 2 - 44px);
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 999px;
  background: none; color: var(--ink-2); opacity: .65; transition: color .2s, opacity .2s;
}
.demo-toggle:hover, .demo-toggle:focus-visible { color: var(--ink); opacity: 1; }
.demo-toggle svg { width: 12px; height: 12px; fill: currentColor; }
.demo-toggle .i-play-on { display: none; }
.demo-toggle[aria-pressed="true"] .i-play-on { display: block; }
.demo-toggle[aria-pressed="true"] .i-pause-on { display: none; }
html:not(.js) .demo-toggle { display: none; }
@media (prefers-reduced-motion: reduce) { .demo-toggle { display: none; } }

/* Téléphone */
.phone { --r: calc(var(--pw) * .165); position: relative; width: var(--pw); height: var(--ph); flex: none; }
/* Châssis titane : dégradé métallique + liserés de lumière */
.phone-body {
  position: absolute; inset: 0; border-radius: var(--r);
  background: linear-gradient(150deg, #9a9aa1 0%, #4a4a50 14%, #26262a 34%, #1b1b1e 55%, #2c2c31 76%, #6c6c73 92%, #a3a3aa 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.28),
    inset 0 1.5px 1px rgba(255,255,255,.35),
    inset 0 -1.5px 1px rgba(0,0,0,.6),
    inset 0 0 0 3px rgba(0,0,0,.35),
    0 50px 90px -24px rgba(0,0,0,.85), 0 18px 40px rgba(0,0,0,.45);
}
/* L'écran de l'app remplit tout l'écran du téléphone */
.screen > .ui { height: calc(100% / var(--s, 1)); }
.phone-inner { position: absolute; inset: calc(var(--pw) * .016); border-radius: calc(var(--r) - var(--pw) * .016); background: #030304; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06), inset 0 0 6px rgba(0,0,0,.9); }
.screen { position: absolute; inset: calc(var(--pw) * .028); border-radius: calc(var(--r) - var(--pw) * .044); overflow: hidden; background: #000; isolation: isolate; box-shadow: 0 0 0 1px rgba(0,0,0,.9); }
.pbtn { position: absolute; width: calc(var(--pw) * .014); background: linear-gradient(90deg, #77777e, #2c2c31 60%, #4a4a50); border-radius: 3px; box-shadow: 0 0 0 .5px rgba(0,0,0,.5); }
.pbtn-action { left: calc(var(--pw) * -.012); top: 17%; height: 3.4%; }
.pbtn-vol1 { left: calc(var(--pw) * -.012); top: 23.5%; height: 6.8%; }
.pbtn-vol2 { left: calc(var(--pw) * -.012); top: 32%; height: 6.8%; }
.pbtn-power { right: calc(var(--pw) * -.012); top: 26%; height: 10.5%; }
.island { position: absolute; z-index: 5; top: 1.3%; left: 50%; width: 32%; height: 4.3%; transform: translateX(-50%); background: #000; border-radius: 999px; }
.glare { position: absolute; z-index: 4; inset: 0; pointer-events: none; background: linear-gradient(115deg, rgba(255,255,255,.11) 0%, rgba(255,255,255,.035) 26%, rgba(255,255,255,0) 40%, rgba(255,255,255,0) 78%, rgba(255,255,255,.04) 100%); }

/* ---------- Écrans de l'app (dans le téléphone) ---------- */
.ui {
  position: absolute; top: 0; left: 0; width: 393px; height: 852px;
  transform-origin: 0 0; transform: scale(var(--s, 1));
  background: var(--ui-bg); color: var(--ui-text);
  font-family: var(--text); font-size: 14px; line-height: 1.3; letter-spacing: 0;
}
.ui .s { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ui .f { fill: currentColor; }
.ui-feed, .ui-stats { will-change: opacity; }
.ui-stats { opacity: 0; }
/* Écran « Jouer » : reproduit la capture de l'app sur iPhone (393 × 852 pt, coordonnées en pt) */
.sb { position: absolute; top: 0; left: 0; right: 0; height: 54px; display: flex; align-items: center; justify-content: space-between; padding-top: 4px; padding-inline: 51px 33px; font-weight: 600; font-size: 17px; letter-spacing: -.01em; }
.sb-icons { display: flex; gap: 7px; align-items: center; }
.sb-icons svg { height: 12px; width: auto; fill: #fff; }
.home-ind { position: absolute; z-index: 3; bottom: 7px; left: 50%; width: 134px; height: 5px; margin-left: -67px; border-radius: 3px; background: #fff; opacity: .92; }

.goal { position: absolute; top: 66px; left: 16px; right: 16px; display: flex; justify-content: space-between; font-size: 15.5px; color: #a3a3a8; }
.goal-bar { position: absolute; top: 91px; left: 16px; right: 16px; height: 6px; border-radius: 3px; background: #2c2c2e; overflow: hidden; }
.goal-bar i { display: block; width: 70%; height: 100%; background: #4b7ff0; border-radius: 3px; }
.chips { position: absolute; top: 109px; left: 16px; right: 16px; height: 36px; display: flex; gap: 8px; align-items: center; }
.chip { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 12px; border-radius: 999px; font-size: 15px; font-weight: 500; white-space: nowrap; }
.chip-y { background: #3a3114; color: #f7c64a; }
.chip-y svg { width: 14px; height: 14px; fill: currentColor; }
.chip-filter { margin-inline-start: auto; width: 36px; height: 36px; border-radius: 50%; background: #1c1c1e; display: grid; place-items: center; color: #9a9aa0; }
.chip-filter svg { width: 19px; height: 19px; stroke-width: 1.5; }

/* Bannière après le vote */
.banner { position: absolute; top: 157px; left: 16px; right: 16px; height: 56px; border-radius: 999px; background: #1c1c1e; box-shadow: inset 0 0 0 1.5px #f2c230; display: flex; align-items: center; gap: 0; padding-inline: 16px 13px; opacity: 0; transform: translateY(-10px); will-change: opacity, transform; }
.banner-coco { width: 29px; height: 31px; flex: none; margin-inline-end: 17px; }
.banner-t { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.banner-t b { color: #f7c64a; font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.banner-t span { color: #a3a3a8; font-size: 13.5px; }
.banner .chip { margin-inline-start: auto; height: 30px; padding: 0 12px; font-size: 15.5px; }

/* Carte du post, centrée entre la bannière et les boutons, avec la carte suivante dessous */
.post-area { position: absolute; top: 216px; left: 16px; right: 16px; bottom: 196px; display: flex; align-items: center; }
.post-slot { position: relative; width: 100%; display: grid; isolation: isolate; }
.post-slot > .post { grid-area: 1 / 1; align-self: end; }
/* Carte suivante, complète, sous la carte du dessus : on n'en voit que le bas, puis elle prend la place */
.post.post-next { z-index: 1; transform: translateY(8px) scale(.93); transform-origin: 50% 100%; }
/* Troisième carte : n'apparaît que par son bas, quand la deuxième passe devant (le fil continue) */
.post.post-third { z-index: 0; height: 140px; opacity: 0; transform: translateY(14px) scale(.88); transform-origin: 50% 100%; }
.av-2 { background: linear-gradient(145deg, #2fae7a, #145a43); }
.post { position: relative; z-index: 2; background: #182030; border-radius: 16px; padding: 12px 16px 15px; box-shadow: inset 0 0 0 1px #3a4352; transform-origin: 50% 85%; will-change: transform; }
.post-head { display: flex; align-items: flex-start; gap: 4px; }
.avatar { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(145deg, #3d6fd6, #1d3a7a); display: grid; place-items: center; font-weight: 700; font-size: 15px; color: #fff; flex: none; margin-inline-end: 1px; }
.who { display: flex; flex-direction: column; line-height: 1.25; padding-top: 3px; min-width: 0; }
.who b { font-size: 16px; font-weight: 700; }
.who > span { font-size: 15px; color: #8b95a5; white-space: nowrap; }
.who > span > span { unicode-bidi: isolate; direction: ltr; }
.who em { font-style: normal; font-weight: 700; color: #5aa9f2; }
.xlogo { margin-inline-start: auto; width: 21px; height: 20px; fill: #fff; flex: none; margin-top: 3px; }
.post-text { margin: 12px 0 0; font-size: 19px; line-height: 1.27; letter-spacing: -.005em; color: #fff; }
.post-meta { margin-top: 13px; display: flex; align-items: center; justify-content: space-between; font-size: 15px; color: #8b95a5; }
.post-meta svg { width: 17px; height: 17px; stroke-width: 1.6; color: #a7afbb; }
.post-foot { margin-top: 10px; padding-top: 10px; border-top: 1px solid #343d4b; display: flex; align-items: center; gap: 22px; font-size: 15px; font-weight: 600; color: #8b95a5; white-space: nowrap; }
.post-foot > span { display: inline-flex; align-items: center; gap: 10px; }
.post-foot svg { width: 18px; height: 18px; flex: none; }
.pf-like svg { fill: #f2427f; }
.pf-reply svg { fill: #3d8ef0; }
.pf-link svg { stroke-width: 1.8; }
.post-more { margin-top: 10px; height: 30px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px #3a4352; display: grid; place-items: center; font-size: 15px; font-weight: 600; color: #5aa9f2; }

/* Boutons Fake / Fact */
.verdict { position: absolute; bottom: 138px; left: 16px; right: 16px; display: flex; gap: 13px; }
.v { flex: 1; height: 55px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 14px; font-size: 19.5px; font-weight: 600; box-shadow: inset 0 0 0 1px var(--vb); transition: background-color .25s, box-shadow .25s, color .25s, transform .25s; }
.v svg { width: 19px; height: 19px; stroke-width: 2; }
.v-fake { --vb: #5a2a2d; background: #3a1d20; color: #ff5b60; }
.v-fact { --vb: #2a4a33; background: #1b2f21; color: #5fd47e; }
/* Glissé vers « Fake » : toute la carte se teinte de rouge (piloté par l'opacité seule) */
.post-tint { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; background: rgba(214,62,74,.30); box-shadow: inset 0 0 0 1px rgba(255,120,128,.32); will-change: opacity; }
.post > *:not(.post-tint) { position: relative; }
.ui-skip { position: absolute; bottom: 100px; left: 0; right: 0; height: 24px; display: flex; justify-content: center; gap: 13px; align-items: center; font-size: 16.5px; color: #a3a3a8; }
.ui-skip svg { width: 18px; height: 18px; stroke-width: 1.6; }
html[dir="rtl"] .ui-skip svg { transform: scaleX(-1); }

/* Barre d'onglets flottante « Liquid Glass » (iOS 26) */
.ui-chrome { background: none; pointer-events: none; z-index: 3; }
.tabbar { position: absolute; z-index: 2; left: 22px; right: 21px; bottom: 21px; height: 61px; border-radius: 999px; display: flex; align-items: center; padding: 0 9px;
  background: linear-gradient(180deg, rgba(58,58,62,.62), rgba(30,30,33,.72));
  -webkit-backdrop-filter: blur(14px) saturate(170%); backdrop-filter: blur(14px) saturate(170%);
  box-shadow: inset 0 1px .5px rgba(255,255,255,.22), inset 0 -1px .5px rgba(255,255,255,.06), inset 0 0 0 1px rgba(255,255,255,.07), 0 8px 24px rgba(0,0,0,.5); }
.tab-glass { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(120% 90% at 50% -30%, rgba(255,255,255,.10), rgba(255,255,255,0) 60%); }
.tab-pill { position: absolute; top: 3.5px; bottom: 3.5px; inset-inline-start: 3px; width: 95px; border-radius: 999px; background: rgba(0,0,0,.6); box-shadow: inset 0 1px .5px rgba(255,255,255,.08), inset 0 0 0 .5px rgba(255,255,255,.05); will-change: transform; }
.tab { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; height: 54px; font-size: 12.5px; font-weight: 600; color: #f2f2f4; transition: color .2s; }
.tab svg { width: 28px; height: 28px; }
.tab .s { stroke-width: 1.7; }
.tab .ic-on, .tab.on .ic-off { display: none; }
.tab.on .ic-on { display: block; }
.tab.on { color: #3f86f5; }

/* Écran « Stats » : calé sur la capture de l'app (393 × 852 pt) */
.ttl { position: absolute; top: 120px; inset-inline-start: 16px; font-size: 34px; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.lvl { position: absolute; top: 178px; left: 16px; right: 16px; height: 111px; background: #1c1d20; border-radius: 22px; padding: 18px 17px 0; }
.lvl-h { display: flex; justify-content: space-between; align-items: center; }
.lvl-h b { font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
.lvl-h span { font-size: 15px; color: #a3a3a8; }
.lvl-bar { margin-top: 13px; height: 10px; border-radius: 5px; background: #2c2c2e; overflow: hidden; }
.lvl-bar i { display: block; height: 100%; width: 38%; background: #f5c842; border-radius: 5px; transform: scaleX(var(--k, 1)); transform-origin: left; }
html[dir="rtl"] .lvl-bar i { transform-origin: right; }
.lvl-s { margin-top: 12px; font-size: 15.5px; color: #98989d; }
.tiles { position: absolute; top: 302px; left: 16px; right: 16px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.tile-s { min-height: 94px; background: #1a1b1e; border-radius: 20px; padding: 11px 13px 9px; }
.tile-s svg { width: 20px; height: 20px; }
.tile-s .s { stroke-width: 1.8; }
.tile-s svg { display: block; }
.tile-s b { display: block; font-size: 27px; font-weight: 700; margin-top: 5px; line-height: 1.1; letter-spacing: -.01em; }
.tile-s span { display: block; margin-top: 1px; line-height: 1.25; font-size: 15.5px; color: #98989d; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c-y { color: #f5c842; } .c-g { color: #6ad07a; } .c-b { color: #5b8ff5; }
.wk-l { position: absolute; top: 426px; inset-inline-start: 16px; font-size: 20px; font-weight: 600; }
.wk { position: absolute; top: 462px; left: 16px; right: 16px; height: 152px; background: #161719; border-radius: 22px; padding: 16px 16px 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.wk div { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.wk i { display: block; width: 100%; height: 97px; background: #2c2d31; border-radius: 6px; position: relative; overflow: hidden; }
.wk i::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: calc(var(--h) * 1%); background: #5b8ff5; border-radius: 6px; transform: scaleY(var(--k, 1)); transform-origin: bottom; }
.wk div:nth-child(1) i { --h: 52; } .wk div:nth-child(2) i { --h: 96; } .wk div:nth-child(3) i { --h: 38; } .wk div:nth-child(4) i { --h: 62; }
.wk div:nth-child(5) i { --h: 90; } .wk div:nth-child(6) i { --h: 56; } .wk div:nth-child(7) i { --h: 100; }
.wk span { font-size: 15.5px; color: #8e8e93; }
.dom-l { position: absolute; top: 645px; inset-inline-start: 16px; font-size: 20px; font-weight: 600; }
/* Anneaux par domaine : la première rangée passe sous la barre d'onglets en verre, comme dans l'app */
.rings { position: absolute; top: 681px; left: 16px; right: 16px; display: grid; grid-template-columns: repeat(3, 1fr); row-gap: 20px; background: #161719; border-radius: 22px; padding: 16px 12px; }
.ring { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 18px; line-height: 1.2; color: #fff; --c: #f5c842; }
.ring.hi { --c: #6ad07a; }
.ring-w { position: relative; width: 84px; height: 84px; margin-bottom: 14px; }
.ring-w svg.r { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-w circle { fill: none; stroke-width: 5.6; }
.ring-w .trk { stroke: #2c2d31; }
.ring-w .val { stroke: var(--c); stroke-linecap: round; stroke-dasharray: 150.8; stroke-dashoffset: calc(150.8px * (1 - var(--pct) * var(--k, 1))); }
.ring-w .ico { position: absolute; left: 50%; top: 50%; width: 26px; height: 26px; stroke-width: 1.6; transform: translate(-50%, -50%); color: var(--c); }
.ring em { font-style: normal; font-size: 17px; color: var(--c); }
.ring:nth-child(1) { --pct: .78; } .ring:nth-child(2) { --pct: .84; } .ring:nth-child(3) { --pct: .91; }
.ring:nth-child(4) { --pct: .73; } .ring:nth-child(5) { --pct: .66; } .ring:nth-child(6) { --pct: .94; }
.ring:nth-child(7) { --pct: .81; } .ring:nth-child(8) { --pct: .58; } .ring:nth-child(9) { --pct: .88; }

/* ---------- Sections ---------- */
.section { position: relative; padding-block: 110px; }
.sec-title { font-size: clamp(32px, 3.6vw, 52px); text-align: center; max-width: 22ch; margin-inline: auto; }

/* Apparition douce à l'arrivée dans l'écran (une seule fois) */
.js .rv { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .rv.in, .js .rv:focus-within, .js-failed .rv { opacity: 1; transform: none; }
.rv.d1 { --d: 1; } .rv.d2 { --d: 2; } .rv.d3 { --d: 3; } .rv.d4 { --d: 4; }
@media (prefers-reduced-motion: reduce) { .js .rv { opacity: 1; transform: none; transition: none; } }

/* Cartes (étapes et fonctionnalités) : surface de la charte, sans effet de flou inutile */
.card { padding: 30px 28px 32px; border-radius: 28px; background: var(--surface); }
.tile-ic { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 16px; }
.tile-ic .ic { width: 23px; height: 23px; }
.tile-ic.t-blue { background: rgba(77,143,255,.16); color: #8ab4ff; }
.tile-ic.t-red { background: rgba(255,90,95,.15); color: #ff8a8d; }
.tile-ic.t-yellow { background: rgba(255,200,0,.13); color: var(--yellow); }

/* Les trois temps du jeu */
.steps { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.steps li { position: relative; counter-increment: step; padding: 30px 30px 34px; }
/* Numéro décoratif : texte alternatif vide pour ne pas doubler la numérotation de la liste */
.steps li::after { content: "0" counter(step); content: "0" counter(step) / ""; position: absolute; top: 30px; inset-inline-end: 30px; font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: .02em; color: var(--mute); }
.steps h3 { margin-top: 30px; font-size: clamp(21px, 1.75vw, 26px); letter-spacing: -.028em; line-height: 1.12; }
.steps p { margin-top: 10px; font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }

/* Dans l'app : quatre raisons de revenir */
.feats { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feats h3 { margin-top: 30px; font-size: clamp(19px, 1.5vw, 22px); letter-spacing: -.025em; line-height: 1.18; }
.feats p { margin-top: 10px; font-size: 15px; line-height: 1.55; color: var(--ink-2); }

/* Confidentialité */
.trust { text-align: center; }
.trust-in { max-width: 860px; margin-inline: auto; }
.trust h2 { font-size: clamp(32px, 3.9vw, 56px); }
.trust p { margin: 20px auto 0; font-size: clamp(16px, 1.25vw, 19px); line-height: 1.55; color: var(--ink-2); max-width: 48ch; }
/* Le surlignage bleu se dessine à l'arrivée */
.js .trust .hl-blue { background: linear-gradient(var(--blue), var(--blue)) no-repeat; background-size: 0% 100%; transition: background-size .9s var(--ease) .35s; }
.js .trust .hl-blue ~ .hl-blue { transition-delay: .6s; }
.js .trust .in .hl-blue, .js-failed .trust .hl-blue { background-size: 100% 100%; }
html[dir="rtl"] .trust .hl-blue { background-position: right; }
@media (prefers-reduced-motion: reduce) { .js .trust .hl-blue { background-size: 100% 100%; transition: none; } }

/* ---------- Téléchargement ---------- */
.final { position: relative; overflow: hidden; padding-block: 150px 140px; text-align: center; }
/* Fond : deux halos Fake (rouge) / Fact (vert). Dégradés déjà doux : pas de flou à recalculer, seule l'opacité bouge. */
.final-bg { position: absolute; inset: 0; pointer-events: none; }
.glow { position: absolute; top: 50%; width: 70vw; max-width: 900px; aspect-ratio: 1; border-radius: 50%; opacity: .5; transform: translateY(-50%); animation: breathe 9s ease-in-out infinite; }
.glow-fake { inset-inline-start: -22%; background: radial-gradient(circle closest-side, rgba(255,90,95,.5), rgba(255,90,95,.17) 45%, rgba(255,90,95,0) 100%); }
.glow-fact { inset-inline-end: -22%; background: radial-gradient(circle closest-side, rgba(61,212,107,.4), rgba(61,212,107,.13) 45%, rgba(61,212,107,0) 100%); animation-delay: -4.5s; }
@keyframes breathe { 0%, 100% { opacity: .38; } 50% { opacity: .62; } }
@media (prefers-reduced-motion: reduce) { .glow { animation: none; } }
.final-in { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.final .stores { justify-content: center; }
.final-icon { display: block; width: 96px; height: 96px; filter: drop-shadow(0 22px 40px rgba(30,95,232,.32)); }
.final h2 { margin-top: 32px; font-size: clamp(38px, 5.2vw, 76px); max-width: 14ch; }
.final p { margin-top: 20px; font-size: clamp(16px, 1.25vw, 19px); line-height: 1.55; color: var(--ink-2); max-width: 46ch; }

/* ---------- Pied de page ---------- */
.foot { padding-block: 36px 40px; font-size: 14px; color: var(--mute); }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 36px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot a { color: var(--mute); }
.foot a:hover { color: var(--ink-2); }
.foot .op b { color: inherit; font-weight: inherit; text-decoration: underline; text-underline-offset: 3px; }
.foot .copy { unicode-bidi: isolate; direction: ltr; }

/* ---------- Sélecteur de langue ---------- */
.lang { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 6px; height: 42px; padding-inline: 9px 10px; border-radius: 999px; background: rgba(255,255,255,.07); color: var(--ink); transition: background-color .2s; }
.lang-btn:hover { background: rgba(255,255,255,.12); }
.flag { width: 22px; height: 22px; flex: none; clip-path: circle(50% at 50% 50%); }
.chev { width: 15px; height: 15px; color: var(--ink-2); transition: transform .25s var(--ease); }
.lang-btn[aria-expanded="true"] .chev { transform: rotate(180deg); }
.lang-menu {
  position: absolute; top: calc(100% + 10px); left: 50%; z-index: 70; min-width: 236px; margin: 0; padding: 6px; list-style: none;
  background: #141417; border-radius: 16px; box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 20px 50px rgba(0,0,0,.55);
  transform-origin: top center; visibility: hidden; opacity: 0; transform: translate(-50%, -4px) scale(.97); pointer-events: none;
  max-height: calc(100vh - var(--nav-h) - 16px); max-height: calc(100dvh - var(--nav-h) - 16px); overflow-y: auto; overscroll-behavior: contain;
  will-change: opacity, transform; backface-visibility: hidden;
  transition: opacity .12s ease-in, transform .12s ease-in, visibility 0s linear .12s;
}
.lang-menu.open { visibility: visible; opacity: 1; transform: translate(-50%, 0); pointer-events: auto;
  transition: opacity .16s ease-out, transform .18s cubic-bezier(.2,.8,.2,1), visibility 0s; }
@media (prefers-reduced-motion: reduce) { .lang-menu, .lang-menu.open { transition-duration: .01s; transition-delay: 0s; } }
.lang-menu a { display: flex; align-items: center; gap: 10px; width: 100%; height: 40px; padding-inline: 10px; border-radius: 10px; font-size: 14px; font-weight: 500; color: var(--ink-2); text-align: start; white-space: nowrap; }
.lang-menu a:hover, .lang-menu a:focus-visible { background: rgba(255,255,255,.07); color: var(--ink); }
.lang-menu a[aria-current="true"] { color: var(--ink); }
/* Les entrées du menu gardent la même disposition dans toutes les langues, y compris en arabe. */
html[dir="rtl"] .lang-menu a { direction: ltr; }
.lang-menu .chk { width: 15px; height: 15px; margin-inline-start: auto; opacity: 0; color: var(--green); }
.lang-menu a[aria-current="true"] .chk { opacity: 1; }

/* Changement de langue : les textes de la navbar sortent vers le haut puis entrent par le bas, en cascade */
.nav .tx { display: inline-block; transition: opacity .22s var(--ease), transform .22s var(--ease), filter .22s var(--ease); transition-delay: calc(var(--i, 0) * 45ms); }
.nav-links a:nth-child(2) { --i: 1; } .nav-links a:nth-child(3) { --i: 2; } .lang-btn .flag { --i: 3; } .nav-cta .tx { --i: 4; }
.nav.tx-out .tx { opacity: 0; transform: translateY(-9px); filter: blur(3px); }
.nav.tx-prep .tx { opacity: 0; transform: translateY(9px); filter: blur(3px); transition: none; }
/* Largeurs qui changent avec la langue : glissement doux au lieu d'un saut */
.nav .morph { overflow: hidden; white-space: nowrap; transition: width .55s cubic-bezier(.22,.8,.24,1), opacity .22s var(--ease), transform .22s var(--ease), filter .22s var(--ease), background-color .2s; }
/* Passage gauche-droite ↔ droite-gauche (arabe) : toute la barre se dissout puis se recompose en miroir */
.nav-in { transition: opacity .26s var(--ease), filter .26s var(--ease), transform .26s var(--ease); }
.nav.dir-out .nav-in { opacity: 0; filter: blur(6px); transform: scaleX(.96); }
.nav.dir-prep .nav-in { opacity: 0; filter: blur(6px); transform: scaleX(.96); transition: none; }
.nav.dir-prep .tx, .nav.dir-out .tx { transition: none; }
.nav.dir-in .tx { opacity: 0; transform: translateY(9px); filter: blur(3px); transition: none; }

/* ---------- Affichage du premier écran ----------
   Pas d'écran de chargement : la page reste invisible le temps que la police et les images soient prêtes
   (au plus 1,2 s, voir site.js et boot.js), puis apparaît d'un seul coup, déjà complète. */
.js .nav, .js main, .js .foot { transition: opacity .35s var(--ease); }
.js:not(.ready) .nav, .js:not(.ready) main, .js:not(.ready) .foot { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .js .nav, .js main, .js .foot { transition: none; } }

/* Entrée du hero : léger glissement vers le haut pendant l'apparition */
.js .hero-copy > *, .js .hero-phone { transform: translateY(18px); }
.js.ready .hero-copy > *, .js.ready .hero-phone { transform: none; transition: transform 1s var(--ease); }
.js.ready .hero-copy > :nth-child(2) { transition-delay: .08s; }
.js.ready .hero-copy > :nth-child(3) { transition-delay: .16s; }
.js.ready .hero-phone { transition-delay: .12s; }
@media (prefers-reduced-motion: reduce) { .js .hero-copy > *, .js .hero-phone { transform: none; } }

/* ---------- Réglages par langue ---------- */
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3, html[lang="ar"] .menu a:not(.btn), html[lang="ar"] .ttl,
html[lang="hi"] h1, html[lang="hi"] h2, html[lang="hi"] h3, html[lang="hi"] .menu a:not(.btn), html[lang="hi"] .ttl { letter-spacing: 0; line-height: 1.3; }
html[lang="ja"] h1, html[lang="ja"] h2, html[lang="ja"] h3, html[lang="ja"] .menu a:not(.btn) { letter-spacing: -.01em; line-height: 1.22; }
html[lang="ar"] .hl, html[lang="hi"] .hl { line-height: 1.35; padding: 0 .12em; }
html[lang="ja"] .hl { line-height: 1.2; }
html[lang="ar"] .h1, html[lang="hi"] .h1, html[lang="ja"] .h1 { font-size: clamp(36px, 4.3vw, 66px); }
html[lang="pt-BR"] .h1, html[lang="id"] .h1 { font-size: clamp(40px, 4.4vw, 66px); }
html[lang="ja"] .tab, html[lang="hi"] .tab, html[lang="ar"] .tab { font-size: 11px; }
.tab span { white-space: nowrap; }
html[lang="ar"] .tab { font-size: 10.5px; letter-spacing: 0; }
html[lang="ja"] .lead, html[lang="ja"] .steps p, html[lang="ja"] .feats p, html[lang="ja"] .trust p, html[lang="ja"] .final p { line-height: 1.75; }
html[lang="ar"] .store-t b, html[lang="hi"] .store-t b, html[lang="ja"] .store-t b { letter-spacing: 0; }
/* Japonais : les retours à la ligne tombent entre deux groupes de mots, pas au milieu */
html[lang="ja"] h1, html[lang="ja"] h2, html[lang="ja"] h3, html[lang="ja"] main p { word-break: auto-phrase; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .feats { grid-template-columns: repeat(2, 1fr); }
}
/* Petites fenêtres desktop : la navbar reste sur une ligne */
@media (min-width: 901px) and (max-width: 1080px) {
  .nav-in { gap: 20px; }
  .nav-links { gap: 18px; font-size: 14px; }
}
@media (min-width: 901px) and (max-width: 1000px) {
  .nav-in { gap: 14px; }
  .nav-links { gap: 14px; font-size: 13.5px; }
  .nav-end { gap: 8px; }
  .nav-cta .btn { padding: 0 14px; }
}
.nav-end, .lang { flex: none; }
@media (min-width: 901px) and (max-width: 1180px) {
  .h1 { font-size: clamp(44px, 5.2vw, 60px); }
  .steps li { padding: 26px 24px 30px; }
}
@media (min-width: 901px) and (max-height: 760px) {
  :root { --ph: 70vh; }
  .h1 { font-size: clamp(40px, 5vw, 64px); }
}
@supports (height: 1svh) { @media (min-width: 901px) and (max-height: 760px) { :root { --ph: 70svh; } } }
@media (max-width: 900px) {
  :root { --nav-h: 60px; --pw: min(66vw, 290px); --ph: calc(var(--pw) * 872 / 420); }
  .nav-links, .nav-cta { display: none; }
  .burger { display: block; }
  /* Le menu des langues s'aligne sur le bouton pour ne pas sortir de l'écran */
  .lang-menu { left: auto; inset-inline-end: 0; transform: translateY(-4px) scale(.97); transform-origin: top right; }
  .lang-menu.open { transform: none; }
  html[dir="rtl"] .lang-menu { transform-origin: top left; }
  .hero { min-height: 0; padding-block: 36px 56px; }
  .hero-in { grid-template-columns: minmax(0, 1fr); justify-items: center; gap: 48px; }
  .hero-copy { width: auto; text-align: center; }
  .h1 { font-size: clamp(36px, 9.6vw, 50px); }
  html[lang="ar"] .h1, html[lang="hi"] .h1, html[lang="ja"] .h1 { font-size: clamp(30px, 8vw, 42px); }
  html[lang="pt-BR"] .h1, html[lang="id"] .h1 { font-size: clamp(34px, 9vw, 46px); }
  .lead { margin: 14px auto 0; font-size: 16px; line-height: 1.5; max-width: 32ch; }
  .stores { justify-content: center; margin-top: 24px; gap: 10px; }
  .store { height: 54px; padding-inline: 13px 16px; gap: 9px; border-radius: 14px; }
  .store-ic { width: 24px; height: 24px; }
  .store-t small { font-size: 10px; }
  .store-t b { font-size: 17px; }
  .btn-lg { height: 50px; font-size: 15px; padding: 0 20px; }
  .demo-toggle { bottom: -44px; inset-inline-end: calc(50% - 16px); }
  .section { padding-block: 72px; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 36px; max-width: 520px; margin-inline: auto; }
  .card { border-radius: 24px; }
  .steps li, .feats li { padding: 24px 24px 28px; }
  .steps li::after { top: 24px; inset-inline-end: 24px; }
  .steps h3 { margin-top: 22px; font-size: 22px; }
  .feats { margin-top: 36px; gap: 12px; max-width: 520px; margin-inline: auto; }
  .feats h3 { margin-top: 22px; font-size: 21px; }
  .final { padding-block: 100px 90px; }
  .final-icon { width: 84px; height: 84px; }
  .foot-in { flex-direction: column; text-align: center; }
  .foot-links { justify-content: center; }
}
/* Tablettes en portrait (iPad, iPad mini, iPad Air) : même mise en page que le mobile, à plus grande échelle */
@media (min-width: 600px) and (max-width: 900px) and (min-height: 501px) {
  :root { --nav-h: 72px; --pw: min(42vw, 330px); }
  .hero { padding-block: 56px 72px; }
  .h1 { font-size: clamp(52px, 8vw, 68px); }
  html[lang="ar"] .h1, html[lang="hi"] .h1, html[lang="ja"] .h1 { font-size: clamp(44px, 6.6vw, 58px); }
  .lead { font-size: 18px; max-width: 40ch; margin-top: 18px; }
  .stores { margin-top: 28px; gap: 12px; }
  .store { height: 60px; padding-inline: 18px 22px; gap: 12px; border-radius: 16px; }
  .store-ic { width: 28px; height: 28px; }
  .store-t small { font-size: 11.5px; }
  .store-t b { font-size: 20px; }
  .section { padding-block: 96px; }
  .sec-title { font-size: clamp(40px, 6vw, 52px); }
  .feats, .steps { max-width: 720px; }
  .trust h2 { font-size: clamp(40px, 6vw, 52px); }
  .trust p, .final p { font-size: 18px; }
  .final h2 { font-size: clamp(48px, 7vw, 64px); }
}
/* Téléphone en paysage : le titre et les boutons tiennent dans le premier écran */
@media (max-height: 500px) and (orientation: landscape) {
  :root { --nav-h: 56px; }
  .hero { padding-block: 16px 40px; }
  .h1 { font-size: clamp(28px, 7.5vh, 40px); }
  html[lang="ar"] .h1, html[lang="hi"] .h1, html[lang="ja"] .h1 { font-size: clamp(26px, 6.8vh, 36px); }
  .lead { margin-top: 10px; font-size: 15px; max-width: 46ch; }
  .stores { margin-top: 16px; }
  .store { height: 48px; }
}
@media (max-width: 599px) {
  .feats { grid-template-columns: minmax(0, 1fr); }
}
/* Petits téléphones (iPhone SE) */
@media (max-width: 380px) {
  .h1 { font-size: clamp(30px, 9.4vw, 36px); }
  .lead { font-size: 15px; }
  .stores { flex-wrap: nowrap; gap: 8px; }
  .store { height: 48px; padding-inline: 10px 12px; gap: 7px; border-radius: 12px; }
  .store-ic { width: 20px; height: 20px; }
  .store-t small { font-size: 10px; }
  .store-t b { font-size: 14.5px; }
  html[lang="pt-BR"] .h1, html[lang="id"] .h1 { font-size: clamp(28px, 8.6vw, 33px); }
}

/* ---------- Impression : tout le contenu, sans effets ---------- */
@media print {
  html { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .js .rv, .js .hero-copy > *, .js .hero-phone { opacity: 1 !important; transform: none !important; }
  .veil, .halo, .final-bg, .demo-toggle, .skip-link, .burger, .lang, .menu { display: none !important; }
  .nav { position: static; }
  .logo-pupil { fill: #fff; }
}

/* ---------- Page « Mentions légales » ---------- */
.legal-page .nav-in { justify-content: flex-start; }
.legal-lang { margin-inline-start: auto; padding: 8px 12px; border-radius: 999px; color: var(--ink-2); font-size: 14px; font-weight: 500; transition: color .2s, background-color .2s; }
.legal-lang:hover { color: var(--ink); background: rgba(255,255,255,.07); }
.legal { max-width: 760px; margin-inline: auto; padding-block: 48px 96px; }
.legal h1 { font-size: clamp(34px, 4vw, 52px); }
.legal h2 { margin-top: 48px; font-size: 24px; letter-spacing: -.02em; line-height: 1.2; }
.legal p, .legal li { margin-top: 12px; color: var(--ink-2); font-size: 16px; line-height: 1.65; }
.legal ul { padding-inline-start: 22px; margin: 0; }
.legal a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.legal .updated { margin-top: 16px; color: var(--mute); font-size: 14px; }
.notfound { min-height: calc(100vh - var(--nav-h)); display: grid; place-items: center; text-align: center; padding-block: 48px; }
.notfound p { margin-top: 16px; color: var(--ink-2); }
.notfound .btn { margin-top: 32px; }
