/* ══ Evidiq · feuille de style du site ══
   La même voix que la page de vérification (le « certificat ») : un visiteur
   qui clique un lien de preuve doit reconnaître la maison. Aucune ressource
   tierce : polices en /fonts, images en /img, CSP « default-src 'self' ». */

:root {
  --ink:          #101d16;
  --paper:        #f6f7f4;
  --card:         #ffffff;
  --line:         #e2e6df;
  --muted:        #5b675e;
  --verified:     #1e7a4e;
  --verified-bg:  #eaf4ee;
  --failed:       #9b2c2c;
  --failed-bg:    #f9ecec;
  --navy:         #1a2942;   /* la marque : le carré du logo, les bandes */
  --navy-ink:     #d8dfea;
  --navy-accent:  #9fd6b7;
  --amber-bg:     #f8f1e2;
  --amber-ink:    #7d5615;

  --radius: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgba(16,29,22,.05);
  --shadow-md: 0 10px 32px -12px rgba(16,29,22,.18), 0 2px 8px -2px rgba(16,29,22,.06);
  --ease: cubic-bezier(.22,.61,.36,1);

  --serif: 'Roboto Serif', Georgia, 'Times New Roman', serif;
  --sans:  'Roboto Flex', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono:  'Roboto Mono', ui-monospace, 'SF Mono', Consolas, monospace;
  --maxw: 1080px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.6;
  color: var(--ink); background: var(--paper);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; margin: 0; color: var(--ink); text-wrap: balance; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
::selection { background: var(--verified-bg); color: var(--ink); }

section[id], div[id], article[id] { scroll-margin-top: 82px; }
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(20px, 5vw, 40px); }
.eyebrow { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--verified); margin-bottom: 16px; }
.mono { font-family: var(--mono); letter-spacing: -.02em; }
.txt-link { color: var(--verified); text-decoration: underline; text-underline-offset: 3px; }
.txt-link:hover { color: var(--ink); }

a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--verified); outline-offset: 3px; border-radius: 6px; }
/* Sur le navy, le vert ne contraste pas assez : l’anneau passe au vert clair. */
.b2b a:focus-visible, .stat-band a:focus-visible, .door-b2b a:focus-visible { outline-color: var(--navy-accent); }
.skip { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 0 0 8px 0; font-weight: 600; font-size: 14px; }
.skip:focus { left: 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px; border-radius: 10px;
  font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; border: 1px solid transparent;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease), border-color .18s var(--ease);
  white-space: nowrap;
}
.btn-filled { background: var(--ink); color: #fff; box-shadow: var(--shadow-sm); }
.btn-filled:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-line { background: var(--card); color: var(--ink); border-color: var(--muted); }
.btn-line:hover { transform: translateY(-2px); }
.btn-verified { background: var(--verified); color: #fff; box-shadow: var(--shadow-sm); }
.btn-verified:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
/* Badge Google Play, selon les règles de Google : illustration non modifiée
   (ni ombre, ni recoloration), hauteur ≥ 28 px, marge libre ≥ un quart de la
   hauteur. Les deux images sont recadrées au ras du badge, sans marge
   transparente : sans cela l'anglais, livré avec la sienne, s'affichait un
   tiers plus petit que le français. 50 px = la hauteur mesurée des boutons
   voisins (48 + 2 de bordure) ; la marge libre (12,5 px) est tenue par l'écart
   des rangées .ctas, 14 à 16 px. */
/* Both stores at one height: Apple lists the App Store first, Google wants Play no smaller than any other badge */
.play-badge, .app-store-badge { --badge-h: 50px; display: inline-block; line-height: 0; flex: none; transition: transform .18s var(--ease); }
.play-badge img, .app-store-badge img { height: var(--badge-h); width: auto; display: block; }
.play-badge:hover, .app-store-badge:hover { transform: translateY(-2px); }
.arw { display: inline-block; transition: transform .2s var(--ease); }
a:hover .arw { transform: translateX(4px); }

/* ══ Header ══ */
header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--paper) 86%, transparent); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 26px; height: 66px; }
/* Le logotype s’écrit en capitales par le thème, jamais dans la chaîne
   (wording.md §6) : le texte source reste « evidiq ». */
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-weight: 600; font-size: 18px; color: var(--ink); flex: none; text-transform: uppercase; letter-spacing: .09em; }
.logo { width: 30px; height: 30px; flex: none; }
.nav-links { margin-left: auto; display: flex; align-items: center; gap: 24px; }
.nav-links .lnk { color: var(--muted); font-size: 14.5px; font-weight: 500; padding: 6px 0; position: relative; transition: color .2s var(--ease); white-space: nowrap; }
.nav-links .lnk::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 100%; background: var(--verified); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav-links .lnk:hover, .nav-links .lnk[aria-current="page"] { color: var(--ink); }
.nav-links .lnk:hover::after, .nav-links .lnk[aria-current="page"]::after { transform: scaleX(1); }
.lang { font-size: 12.5px; font-weight: 600; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 6px 13px; transition: border-color .2s var(--ease), color .2s var(--ease); flex: none; }
.lang:hover { border-color: var(--verified); color: var(--verified); }
.nav-cta { min-height: 40px; padding: 8px 18px; font-size: 14px; border-radius: 8px; flex: none; }

/* ══ Héros ══ */
.hero { position: relative; padding: clamp(52px, 8vw, 96px) 0 clamp(36px, 5vw, 56px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 5.2vw, 3.7rem); }
.hero .sub { margin-top: 20px; font-size: clamp(1.02rem, 1.4vw, 1.17rem); color: var(--muted); max-width: 40ch; }
.hero .sub b { color: var(--ink); font-weight: 600; }
.hero .ctas { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero .microline { margin-top: 16px; font-size: 13.5px; color: var(--muted); max-width: 44ch; }
.hero .microline b { color: var(--ink); font-weight: 600; }
/* Héros des pages intérieures : une colonne, plus court. */
.hero-page { padding-bottom: clamp(24px, 4vw, 40px); }
.hero-page .hero-grid { grid-template-columns: 1fr; }
.hero-page h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); max-width: 22ch; }
.hero-page .sub { max-width: 58ch; }

/* ── La carte de preuve : reflet de la page de vérification. Toute la carte
   est un lien vers la vraie page ; /verify refuse d’être encadrée, et c’est
   voulu. Trois contrôles nommés, aucun chiffre. ── */
.proof { justify-self: center; width: 100%; max-width: 420px; }
.proof-card {
  display: block; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); padding: 24px; color: var(--ink);
  animation: cardIn .8s var(--ease) both;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease);
}
.proof-card:hover { transform: translateY(-3px); border-color: #b5cabb; }
.pc-head { display: flex; align-items: center; gap: 16px; }
.seal { width: 62px; height: 62px; flex: none; }
.seal .ring { fill: none; stroke: var(--verified); stroke-width: 3; stroke-dasharray: 245; stroke-dashoffset: 245; animation: draw 1s var(--ease) .3s forwards; }
.seal .ring-in { fill: none; stroke: var(--verified); stroke-width: 1; opacity: .45; }
.seal .mark { fill: none; stroke: var(--verified); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .45s var(--ease) 1.15s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.pc-verdict { font-family: var(--serif); font-weight: 600; font-size: 21px; color: var(--ink); }
.pc-sub { font-size: 13px; color: var(--muted); margin-top: 2px; }
.pc-facts { margin: 18px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pc-facts div { font-size: 12.5px; color: var(--muted); }
.pc-facts b { display: block; color: var(--ink); font-weight: 600; font-size: 13px; }
.pc-facts small { display: block; font-size: 11.5px; }
.pc-checks { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.pc-check { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px;
  opacity: 0; animation: fadeUp .5s var(--ease) both; }
.pc-check:nth-child(1){ animation-delay: 1.2s; }
.pc-check:nth-child(2){ animation-delay: 1.35s; }
.pc-check:nth-child(3){ animation-delay: 1.5s; }
.pc-check .st { margin-left: auto; font-size: 11.5px; font-weight: 600; color: var(--verified); background: var(--verified-bg); padding: 3px 9px; border-radius: 999px; }
.pc-check .tick { width: 17px; height: 17px; flex: none; color: var(--verified); }
.pc-foot { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 12px; color: var(--muted); opacity: 0; animation: fadeUp .5s var(--ease) 1.65s both; }
.pc-foot .open { color: var(--verified); font-weight: 600; }
@keyframes cardIn { from { opacity: 0; transform: translateY(18px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ══ Les deux portes : marine pour l’entreprise, papier pour le particulier.
   Le fond dit à qui on parle. Même poids, même hauteur. ══ */
.doors { padding-top: 0; }
.doors-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.door { display: flex; flex-direction: column; gap: 12px; border-radius: var(--radius-lg); padding: clamp(24px, 3.5vw, 36px); box-shadow: var(--shadow-md); }
.door .who { font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; }
.door h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
.door p { font-size: 1rem; max-width: 42ch; }
.door .go { margin-top: auto; padding-top: 10px; font-weight: 600; font-size: 1.02rem; display: inline-flex; align-items: center; gap: 8px; }
.door-b2b { background: var(--navy); color: #fff; }
.door-b2b .who { color: var(--navy-accent); }
.door-b2b h2 { color: #fff; }
.door-b2b p { color: var(--navy-ink); }
.door-b2b .go { color: var(--navy-accent); }
.door-b2c { background: var(--card); border: 1px solid var(--line); }
.door-b2c .who { color: var(--verified); }
.door-b2c p { color: var(--muted); }
.door-b2c .go { color: var(--verified); }
/* La porte particuliers porte l'installation, au deuxième écran : sans elle le
   seul badge de l'accueil était au pied de page. Le héros garde son unique CTA
   (ADR-0051 §2.2). La rangée remplace le margin-top:auto du lien pour que les
   deux portes restent alignées par le bas. */
.door-actions { margin-top: auto; padding-top: 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.door .ios-note { margin-top: -4px; font-size: .85rem; }
/* Le badge est l'action de la porte ; ce lien-ci mène à une page de
   présentation, il ne scelle rien — il le dit (wording.md §5) et se tient en
   retrait. */
.door .go-quiet { margin-top: 0; padding-top: 2px; font-size: .95rem; font-weight: 500; }
/* QR d'installation : un visiteur sur ordinateur peut cliquer le badge, pas
   installer. Affiché seulement avec une souris et des portes côte à côte ;
   sur téléphone, un QR à scanner sur son propre écran n'a pas de sens.
   Généré localement (evidiq-mobile/scripts/generate-store-qr.swift), relu
   avant écriture — aucun service tiers ne voit le visiteur. Masqué pour les
   lecteurs d'écran : le badge porte déjà le lien. */
/* Sur la même ligne que le badge : passé à la ligne, le QR allongeait la
   porte particuliers et creusait un vide dans la porte entreprises, qui
   partage sa hauteur (ADR-0051 §2.2, portes à égalité). Le QR mène à
   /installer/, qui envoie un iPhone vers l'App Store et un Android vers
   Google Play : un seul code pour deux boutiques. 74 px = exactement 2 px par
   module sur 37 (4 en Retina) : une taille fractionnaire floute les bords des
   modules. Relu sur rendu de page. La légende reste courte. */
/* The two store badges side by side on a phone; stacked beside the QR on a
   desktop, where badges + QR + caption on one row overflowed the door. */
.store-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; }
.store-qr { display: none; align-items: center; gap: 10px; }
.store-qr img { width: 74px; height: 74px; flex: none; }
.store-qr span { font-size: .8rem; line-height: 1.35; color: var(--muted); max-width: 11ch; }
@media (hover: hover) and (pointer: fine) and (min-width: 921px) {
  .door-actions { flex-wrap: nowrap; gap: 20px; }
  .store-badges { flex-direction: column; align-items: flex-start; gap: 10px; }
  .store-qr { display: flex; }
}

/* ══ Bandeau et lignes de confiance ══ */
.strip { border-block: 1px solid var(--line); background: var(--card); }
.strip .wrap { display: flex; flex-wrap: wrap; gap: 12px 30px; align-items: center; justify-content: center; padding-block: 18px; }
.strip span, .strip a { font-size: 13px; font-weight: 500; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.strip a:hover { color: var(--ink); }
.trust-line { margin-top: 26px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; font-size: 13px; color: var(--muted); }
.trust-line span::before { content: "•"; color: var(--verified); margin-right: 8px; }
.trust-line a { color: var(--verified); text-decoration: underline; text-underline-offset: 3px; }

/* ══ Sections ══ */
section { padding-block: clamp(52px, 7.5vw, 96px); }
section.tight { padding-block: clamp(36px, 5vw, 64px); }
.sec-head { max-width: 50ch; margin-bottom: clamp(28px, 5vw, 52px); }
.sec-head h2 { font-size: clamp(1.65rem, 3.2vw, 2.35rem); }
.sec-head p { margin-top: 14px; color: var(--muted); font-size: 1.04rem; }
.sec-head .more { display: inline-block; margin-top: 14px; }
.sec-foot { margin-top: clamp(22px, 3vw, 32px); color: var(--muted); font-size: .97rem; max-width: 64ch; }

.stat-band { background: var(--navy); color: #fff; border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 46px);
  display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 4vw, 44px); align-items: center; box-shadow: var(--shadow-md); }
.stat-band .big { font-family: var(--serif); font-size: clamp(2.4rem, 5.5vw, 3.4rem); font-weight: 600; line-height: 1; white-space: nowrap; }
.stat-band .big small { display: block; font-family: var(--sans); font-size: 12.5px; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; color: var(--navy-accent); margin-top: 10px; }
.stat-band p { color: var(--navy-ink); font-size: clamp(.97rem, 1.4vw, 1.1rem); max-width: 58ch; }
.stat-band .src { display: inline-block; margin-top: 10px; font-size: 12px; color: var(--navy-ink); opacity: .75; text-decoration: underline; text-underline-offset: 3px; transition: opacity .2s var(--ease); }
.stat-band .src:hover { opacity: 1; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  box-shadow: var(--shadow-sm); transition: transform .22s var(--ease), box-shadow .22s var(--ease), border-color .22s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #c9d4cb; }
.card h3 { font-size: 1.16rem; margin: 8px 0 10px; }
.card p { color: var(--muted); font-size: .95rem; }
.card p + p { margin-top: 10px; }
.card em, .card b { color: var(--ink); font-style: normal; font-weight: 600; }
.card .who { font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--verified); }
.card .go { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; color: var(--verified); font-weight: 600; font-size: .95rem; }

/* ── Les trois canaux ── */
.chan { display: flex; flex-direction: column; }
.chan h3 { margin: 10px 0 10px; font-size: 1.18rem; }
.chan .note { margin-top: auto; padding-top: 14px; font-size: .86rem; color: var(--muted); }
.chan .note b { color: var(--ink); font-weight: 600; }
.chan .proves { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: .86rem; color: var(--muted); }
.chan .proves b { color: var(--ink); }

/* ── En trois gestes : une vraie séquence, donc numérotée. ── */
.gestures { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.gesture { display: flex; flex-direction: column; gap: 14px; }
.gesture .n { font-family: var(--mono); font-size: 12px; color: var(--verified); letter-spacing: .04em; }
.gesture h3 { font-size: 1.25rem; }
.gesture p { color: var(--muted); font-size: .96rem; max-width: 34ch; }
.gesture figure { margin: 0; order: -1; }
.gesture img { width: 100%; border-radius: 16px; border: 1px solid var(--line); box-shadow: var(--shadow-md); background: var(--card); }
.gesture .wide img { border-radius: 12px; }

/* ── Sections illustrées ── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 56px); align-items: center; }
.split h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.split .lead { margin-top: 14px; color: var(--muted); }
.feat-list { margin: 22px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.feat-list li { display: flex; gap: 11px; align-items: flex-start; font-size: .97rem; color: var(--ink); }
.feat-list .tick { width: 19px; height: 19px; flex: none; color: var(--verified); margin-top: 2px; }
.feat-list span b { font-weight: 600; }
figure.shot { margin: 0; }
figure.shot img { width: 100%; border-radius: 12px; border: 1px solid var(--line); box-shadow: var(--shadow-md); background: var(--card); }
figure.shot figcaption { margin-top: 10px; font-size: .86rem; color: var(--muted); text-align: center; }
figure.shot.phone { max-width: 320px; margin-inline: auto; }
figure.shot.phone img { border-radius: 18px; }
.shots { display: flex; gap: 14px; justify-content: center; }
.shots figure { margin: 0; flex: 1 1 0; max-width: 232px; }
.shots img { width: 100%; border-radius: 18px; border: 1px solid var(--line); box-shadow: var(--shadow-md); }
.shots figcaption { margin-top: 10px; font-size: .84rem; color: var(--muted); text-align: center; }
.shots .lift { transform: translateY(-14px); }

/* ── Ce qu’il y a dans une preuve : la carte dépliée. Trois états, jamais
   de points. Les états ne sont pas la couleur d’accent : ils disent un fait. ── */
.exploded { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.layers { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.layer { display: grid; grid-template-columns: 1fr auto; gap: 6px 14px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.layer b { font-weight: 600; font-size: .98rem; }
.layer span { grid-column: 1; color: var(--muted); font-size: .88rem; }
.layer .state { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
.state { display: inline-block; font-size: 11.5px; font-weight: 600; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.state-ok { color: var(--verified); background: var(--verified-bg); }
.state-fail { color: var(--failed); background: var(--failed-bg); }
.state-na { color: var(--amber-ink); background: var(--amber-bg); }
.state-wait { color: var(--muted); background: var(--paper); border: 1px solid var(--line); }
.layer-fact { border-style: dashed; }
.layer-fact .state { color: var(--muted); background: transparent; border: 1px solid var(--line); }
.legend { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: .86rem; color: var(--muted); align-items: center; }
.aside-note { color: var(--muted); font-size: .95rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; }
.aside-note b { color: var(--ink); }
.aside-note + .aside-note { margin-top: 12px; }

/* ── Ce que dit une preuve ── */
.scope-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.scope-col { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.scope-col h3 { font-size: 1.1rem; display: flex; align-items: center; gap: 10px; }
.scope-col h3 .sg { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-family: var(--sans); font-size: 14px; font-weight: 700; flex: none; }
.scope-yes h3 .sg { background: var(--verified-bg); color: var(--verified); }
.scope-no h3 .sg { background: var(--amber-bg); color: var(--amber-ink); }
.scope-col ul { margin: 14px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 9px; }
.scope-col li { color: var(--muted); font-size: .95rem; padding-left: 18px; position: relative; }
.scope-col li b { color: var(--ink); font-weight: 600; }
.scope-col li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 50%; }
.scope-yes li::before { background: var(--verified); }
.scope-no li::before { background: #b98a2e; }
.scope-note { grid-column: 1 / -1; font-size: .95rem; color: var(--muted); background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; }
.scope-note b { color: var(--ink); }

/* ── Secteurs : quatre lignes, un scénario, un résultat. ── */
.sectors { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.sectors li { border-bottom: 1px solid var(--line); }
.sectors a { display: grid; grid-template-columns: 200px 1fr auto; gap: 18px; align-items: baseline; padding: 18px 4px; transition: background .2s var(--ease); }
.sectors a:hover { background: var(--card); }
.sectors b { font-family: var(--serif); font-weight: 600; font-size: 1.12rem; }
.sectors span { color: var(--muted); font-size: .97rem; }
.sectors .arw { color: var(--verified); font-weight: 600; }
.sector { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 48px); padding-block: clamp(22px, 3vw, 32px); border-top: 1px solid var(--line); }
.sector h3 { font-size: 1.3rem; }
.sector p { color: var(--muted); }
.sector .result { color: var(--ink); font-weight: 600; margin-top: 10px; }

/* ── La demande de preuve, de bout en bout : une frise, un vrai ordre. ── */
.timeline { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; counter-reset: step; }
.timeline li { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 12px 16px; position: relative; counter-increment: step; }
.timeline li::before { content: counter(step); font-family: var(--mono); font-size: 11.5px; color: var(--verified); display: block; margin-bottom: 8px; }
.timeline b { display: block; font-weight: 600; font-size: .93rem; line-height: 1.3; }
.timeline span { display: block; margin-top: 6px; color: var(--muted); font-size: .84rem; line-height: 1.4; }

/* ── Le poste de pilotage ── */
.pilot { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.pilot .card h3 { margin-top: 0; font-size: 1.05rem; }
.rule-box { margin-top: 16px; background: var(--navy); color: #fff; border-radius: var(--radius-lg); padding: clamp(24px, 3.5vw, 36px); box-shadow: var(--shadow-md); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 40px); }
.rule-box h3 { color: #fff; font-size: 1.25rem; }
.rule-box p { color: var(--navy-ink); margin-top: 10px; font-size: .96rem; }
.rule-box b { color: #fff; font-weight: 600; }

/* ── Développeurs : le code à gauche, ce qu’il veut dire à droite. ── */
.code { margin: 0; background: var(--navy); color: var(--navy-ink); border-radius: var(--radius); padding: 20px 22px; font-family: var(--mono); font-size: 13px; line-height: 1.6; overflow-x: auto; box-shadow: var(--shadow-md); }
.code .c { color: #8fa3bf; }
.code .k { color: var(--navy-accent); }
.code .s { color: #f1d59a; }
.code-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(20px, 4vw, 40px); align-items: start; }
.code-grid .side p { color: var(--muted); font-size: .96rem; }
.code-grid .side p + p { margin-top: 12px; }
.code-grid .side b { color: var(--ink); font-weight: 600; }
.levels { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.levels li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.levels .tag { display: inline-block; font-family: var(--mono); font-size: 11.5px; letter-spacing: .05em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; margin-bottom: 10px; }
.tag-now { color: var(--verified); background: var(--verified-bg); }
.tag-pilot { color: var(--amber-ink); background: var(--amber-bg); }
.levels h3 { font-size: 1.08rem; }
.levels p { color: var(--muted); font-size: .94rem; margin-top: 8px; }

/* ── Sécurité : une garantie, sa preuve. ── */
.guarantees { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.guarantees > div { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.guarantees dt { font-family: var(--serif); font-weight: 600; font-size: 1.1rem; }
.guarantees dd { margin: 8px 0 0; color: var(--muted); font-size: .94rem; }
.guarantees dd b { color: var(--ink); font-weight: 600; }
.guarantees dd + dd { margin-top: 6px; font-size: .86rem; }
.guarantees dd .txt-link { color: var(--verified); }

/* ── L’application ── */
.app-band { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: clamp(28px, 4vw, 48px); display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.app-band h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.app-band .lead { margin-top: 12px; color: var(--muted); }
.price-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.price-card .free { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; }
.price-card .free em { font-style: normal; color: var(--verified); }
.price-card .renew { font-size: .9rem; color: var(--muted); margin-top: 4px; }
.packs { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 16px; display: flex; flex-direction: column; gap: 9px; }
.pack { display: flex; justify-content: space-between; align-items: baseline; font-size: .96rem; }
.pack .n { color: var(--ink); }
.pack .p { font-family: var(--mono); font-weight: 600; font-variant-numeric: tabular-nums; }
.pack .best { font-size: 11px; font-weight: 600; color: var(--verified); background: var(--verified-bg); border-radius: 999px; padding: 2px 8px; margin-left: 8px; }
.price-card .nosub { margin-top: 16px; font-size: .85rem; color: var(--muted); }
.app-ctas { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.ios-note { font-size: .85rem; color: var(--muted); }

/* ── Bandes navy ── */
.b2b { background: var(--navy); color: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: clamp(30px, 4.5vw, 56px); }
.b2b .eyebrow { color: var(--navy-accent); }
.b2b h2 { color: #fff; font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
.b2b .lead { margin-top: 14px; color: var(--navy-ink); max-width: 60ch; }
.b2b-grid { margin-top: 30px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.b2b-item { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.13); border-radius: var(--radius); padding: 20px; }
.b2b-item b { display: block; color: #fff; font-weight: 600; font-size: .98rem; margin-bottom: 6px; }
.b2b-item span { color: var(--navy-ink); font-size: .9rem; }
.b2b .ctas { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn-onnavy { background: #fff; color: var(--navy); }
.btn-onnavy:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-navyghost { background: transparent; color: var(--navy-accent); border-color: rgba(255,255,255,.45); }
.btn-navyghost:hover { border-color: var(--navy-accent); transform: translateY(-2px); }

/* ── Texte long (comprendre une preuve) ── */
.prose { max-width: 68ch; }
.prose h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-top: clamp(30px, 4vw, 44px); }
.prose h3 { font-size: 1.15rem; margin-top: 24px; }
.prose p { margin-top: 12px; color: var(--muted); }
.prose p b { color: var(--ink); font-weight: 600; }
.prose ul { margin: 12px 0 0; padding-left: 20px; color: var(--muted); }
.prose li + li { margin-top: 6px; }
.prose li b { color: var(--ink); font-weight: 600; }
.prose .state { vertical-align: middle; }

/* FAQ */
.faq { max-width: 780px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; box-shadow: var(--shadow-sm); transition: border-color .2s var(--ease); }
.faq details[open] { border-color: #b5cabb; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 20px; font-weight: 600; color: var(--ink); font-size: .98rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; color: var(--verified); font-size: 1.3rem; line-height: 1; transition: transform .2s var(--ease); flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > p { padding: 0 20px 18px; color: var(--muted); font-size: .95rem; max-width: 64ch; }
.faq details a { color: var(--verified); text-decoration: underline; text-underline-offset: 2px; }

/* Final */
.final { text-align: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 68px) 24px; box-shadow: var(--shadow-sm); }
.final h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
.final p { color: var(--muted); margin: 16px auto 28px; max-width: 54ch; font-size: 1.04rem; }
.final .ctas { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; align-items: center; }

footer { padding: 36px 0 52px; color: var(--muted); font-size: 13px; border-top: 1px solid var(--line); margin-top: clamp(40px, 6vw, 64px); }
.foot { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }
.foot .brand-sm { display: inline-flex; align-items: center; gap: 8px; font-family: var(--serif); font-weight: 600; color: var(--ink); text-transform: uppercase; letter-spacing: .09em; }
.foot a { color: var(--muted); transition: color .2s var(--ease); }
.foot a:hover { color: var(--ink); }
.foot .legal-line { width: 100%; font-size: 12px; color: var(--muted); }

@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .reveal { animation: revealIn linear both; animation-timeline: view(); animation-range: entry 4% cover 24%; }
    @keyframes revealIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
  }
}
@media print {
  /* Sans défilement, animation-timeline ne se déclenche pas : les sections
     révélées sortiraient blanches sur une page imprimée pour circuler. */
  .reveal { opacity: 1 !important; animation: none !important; }
  header, .play-badge, .app-store-badge { display: none; }
  .card, .b2b, .stat-band, .final, .door, .proof-card { box-shadow: none; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 11px; color: #555; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-delay: 0s !important; transition-duration: .001ms !important; scroll-behavior: auto; }
  .seal .ring, .seal .mark { stroke-dashoffset: 0 !important; }
  .pc-check, .pc-foot { opacity: 1 !important; }
  .shots .lift { transform: none; }
}

@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero .sub { max-width: 50ch; }
  .proof { max-width: 400px; }
  .grid-3, .b2b-grid, .gestures { grid-template-columns: repeat(2, 1fr); }
  .gestures { gap: 28px; }
  .stat-band { grid-template-columns: 1fr; gap: 18px; }
  .stat-band .big { white-space: normal; }
  .app-band, .split, .exploded, .code-grid, .rule-box, .sector { grid-template-columns: 1fr; }
  .scope-grid, .doors-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: repeat(4, 1fr); }
  .sectors a { grid-template-columns: 150px 1fr auto; }
  .shots .lift { transform: none; }
}
@media (max-width: 620px) {
  /* Pas de menu déroulant : la barre défile. Masquer les liens, comme
     avant, privait le téléphone de toute navigation et du bouton d’essai. */
  .nav { gap: 12px; height: 62px; }
  .nav-links { gap: 16px; overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; padding-block: 4px; }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links .lnk { font-size: 13.5px; padding-block: 10px; }
  .foot a { padding-block: 10px; }
  .nav-cta { padding: 8px 14px; font-size: 13px; }
  .grid-3, .grid-2, .b2b-grid, .gestures, .pilot, .levels, .guarantees { grid-template-columns: 1fr; }
  .hero .ctas, .final .ctas { flex-direction: column; align-items: stretch; }
  .hero .ctas .btn, .final .ctas .btn { width: 100%; }
  .pc-facts { grid-template-columns: 1fr; gap: 8px; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .sectors a { grid-template-columns: 1fr; gap: 4px; }
  .sectors .arw { display: none; }
  .shots { flex-direction: column; align-items: center; gap: 12px; }
  .shots figure { max-width: 260px; }
  .shots .lift { transform: none; }
}
