/* ============================================================
   Fluxcore · Landing diagnostic v3 (refonte design 2026-07-02)
   Charte : navy #1A1A2E + corail #FF5733, Clash Display.
   Direction : hero sombre + corps clair, typo editoriale a fort
   contraste, 1 accent discipline, profondeur par bordures 1px +
   ombres diffuses + grain, quiz facon Typeform.
   Recherche source : ../design-research-2026-07-02.md
   ============================================================ */

@font-face {
  font-family: "Clash Display";
  src: url("/assets/fonts/clash-display-600.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Clash Display";
  src: url("/assets/fonts/clash-display-700.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}

:root {
  --ink: #13121c;
  --ink-2: #1a1a2e;
  --paper: #faf8f4;
  --card: #ffffff;
  --accent: #ff5733;
  --accent-deep: #e04322;
  --green: #2e9e5b;
  --amber: #dd8f1f;
  --red: #d64545;
  --text: #23222e;
  --muted: #6b7280;
  --line: rgba(26, 26, 46, 0.1);
  --line-strong: rgba(26, 26, 46, 0.18);
  --on-dark: #f5f3ee;
  --on-dark-muted: rgba(245, 243, 238, 0.64);
  --line-dark: rgba(245, 243, 238, 0.13);
  --display: "Clash Display", system-ui, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --shadow-card: 0 1px 2px rgba(26, 26, 46, 0.04), 0 8px 24px rgba(26, 26, 46, 0.06);
  --shadow-pop: 0 2px 6px rgba(26, 26, 46, 0.08), 0 24px 60px rgba(26, 26, 46, 0.16);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body); color: var(--text); background: var(--paper);
  font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.quiz-open { overflow: hidden; }
img, video, svg { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }

/* ── Reveals au scroll (IO + fallback dans app.js) ─────────── */
.rv { opacity: 0; transform: translateY(18px); transition: opacity 0.55s var(--ease-out), transform 0.55s var(--ease-out); }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
}

/* ══ Topbar (sur le hero sombre, glass discret) ═════════════ */
.topbar {
  position: sticky; top: 0; z-index: 40;
  background: rgba(19, 18, 28, 0.74);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-dark);
}
.topbar .wrap { display: flex; align-items: center; gap: 14px; height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-family: var(--display); font-weight: 600; font-size: 19px; color: var(--on-dark); letter-spacing: 0.01em; }
.topbar-tag { display: none; }
.pill-be {
  font-size: 12.5px; color: var(--on-dark-muted);
  border: 1px solid var(--line-dark); border-radius: 999px; padding: 5px 11px;
  white-space: nowrap;
}
.topbar-tel {
  margin-left: auto; display: inline-flex; align-items: center; gap: 8px;
  color: var(--on-dark); text-decoration: none; font-weight: 600; font-size: 14.5px;
  border: 1px solid var(--line-dark); border-radius: 999px; padding: 8px 14px;
  transition: border-color 0.2s, background 0.2s;
}
.topbar-tel:hover { border-color: rgba(245, 243, 238, 0.35); background: rgba(245, 243, 238, 0.06); }
.topbar-tel .tel-full { display: none; }
@media (min-width: 560px) { .topbar-tel .tel-full { display: inline; } }
@media (min-width: 760px) { .topbar-tag { display: block; font-size: 13px; color: var(--on-dark-muted); } }

/* ══ HERO sombre ════════════════════════════════════════════ */
.hero {
  position: relative; background: var(--ink); color: var(--on-dark);
  padding: clamp(52px, 8vh, 100px) 0 0; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(900px 500px at 84% -12%, rgba(255, 87, 51, 0.17), transparent 60%),
    radial-gradient(700px 420px at -10% 34%, rgba(255, 87, 51, 0.06), transparent 55%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: var(--grain); opacity: 0.22; mix-blend-mode: overlay;
}
.hero .wrap { position: relative; z-index: 1; }
.hero-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.02em;
  color: var(--on-dark); border: 1px solid var(--line-dark);
  background: rgba(245, 243, 238, 0.05);
  border-radius: 999px; padding: 7px 14px; margin-bottom: 26px;
}
.hero-pill .dot-live { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(255, 87, 51, 0.18); }
.hero h1 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(2.45rem, 6.4vw, 4.4rem);
  line-height: 1.02; letter-spacing: -0.015em;
  max-width: 16ch;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead {
  margin-top: 22px; font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  color: var(--on-dark-muted); max-width: 52ch; line-height: 1.6;
}
.hero-cta { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--accent); color: #fff;
  font-weight: 700; font-size: 17px; letter-spacing: 0.01em;
  padding: 17px 34px; border-radius: 14px;
  box-shadow: 0 2px 6px rgba(255, 87, 51, 0.35), 0 14px 34px rgba(255, 87, 51, 0.26);
  transition: transform 0.18s var(--ease-out), box-shadow 0.18s var(--ease-out), background 0.18s;
}
.btn:hover { background: var(--accent-deep); transform: translateY(-2px); box-shadow: 0 4px 10px rgba(255, 87, 51, 0.35), 0 20px 44px rgba(255, 87, 51, 0.32); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn .arr { transition: transform 0.18s var(--ease-out); }
.btn:hover .arr { transform: translateX(3px); }
.hero-triggers {
  margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 18px;
  font-size: 14px; color: var(--on-dark-muted);
}
.hero-triggers span { display: inline-flex; align-items: center; gap: 7px; }
.hero-triggers .tick { color: var(--accent); font-weight: 700; }

/* Mini-timeline "ce qui se passe ensuite" (anti-peur n1) */
.hero-next {
  margin-top: 38px; display: grid; gap: 12px;
  grid-template-columns: 1fr; max-width: 580px;
  border: 1px solid var(--line-dark); border-radius: 16px;
  background: rgba(245, 243, 238, 0.045); padding: 18px 20px;
}
.hero-next .hn-title { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-dark-muted); }
.hero-next ol { list-style: none; display: grid; gap: 10px; }
.hero-next li { display: flex; gap: 12px; align-items: baseline; font-size: 14.5px; color: var(--on-dark-muted); line-height: 1.45; }
.hero-next li b { color: var(--on-dark); font-weight: 600; }
.hero-next .n {
  flex: none; width: 22px; height: 22px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11.5px; font-weight: 700; color: var(--ink);
  background: var(--on-dark); transform: translateY(4px);
}

/* Le mockup preuve (video Quartson) sur la couture sombre/clair */
.hero-proof { position: relative; z-index: 2; margin-top: clamp(40px, 6vh, 70px); }
.hero-proof .stage { max-width: 880px; margin-inline: auto; }
.hero-proof .cap { text-align: center; margin-top: 50px; font-size: 13.5px; color: var(--muted); }
.hero-proof .cap b { color: var(--text); font-weight: 600; }
/* La moitie basse du mockup repose sur le fond clair */
.hero-seam { position: relative; background: linear-gradient(to bottom, var(--ink) 0, var(--ink) 46%, var(--paper) 46%); padding-bottom: 8px; }
.hero-seam::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 46%; background-image: var(--grain); opacity: 0.22; mix-blend-mode: overlay; pointer-events: none; }

/* Badges de certification (bande sombre sous le hero texte) */
.trustbar { background: var(--ink); padding: 30px 0 8px; position: relative; }
.trustbar::after { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: 0.22; mix-blend-mode: overlay; pointer-events: none; }
.trustbar ul { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 12px; width: min(1120px, 100% - 40px); margin-inline: auto; position: relative; z-index: 1; }
.trustbar li {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13px; font-weight: 600; color: var(--on-dark-muted);
  border: 1px solid var(--line-dark); border-radius: 999px; padding: 8px 15px;
}
.tb-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* ══ Sections claires ═══════════════════════════════════════ */
.blk { padding: clamp(64px, 9vh, 108px) 0; }
.blk.alt { background: #f2eee7; }
.blk.dark { background: var(--ink-2); color: var(--on-dark); position: relative; overflow: hidden; }
.blk.dark::after { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: 0.18; mix-blend-mode: overlay; pointer-events: none; }
.blk.dark .wrap { position: relative; z-index: 1; }
.eyebrow {
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.sec-t {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(1.7rem, 3.4vw, 2.6rem); line-height: 1.08; letter-spacing: -0.01em;
  max-width: 26ch;
}
.sec-s { margin-top: 14px; color: var(--muted); max-width: 58ch; }
.blk.dark .sec-s { color: var(--on-dark-muted); }

/* Comment ca se passe : 3 cartes + reassurance humaine */
.steps { display: grid; gap: 14px; margin-top: 40px; grid-template-columns: 1fr; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step {
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  padding: 26px 24px; box-shadow: var(--shadow-card);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-pop); }
.step .n {
  width: 34px; height: 34px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 700; font-size: 16px;
  background: var(--ink-2); color: var(--on-dark); margin-bottom: 16px;
}
.step h3 { font-family: var(--display); font-weight: 600; font-size: 19px; line-height: 1.25; }
.step p { margin-top: 8px; color: var(--muted); font-size: 15px; }
.step .s-sub { margin-top: 12px; font-size: 13.5px; color: var(--muted); border-top: 1px dashed var(--line-strong); padding-top: 11px; }
.steps-note { margin-top: 22px; text-align: center; color: var(--muted); font-size: 15px; font-style: italic; }

/* Pour qui / pas pour qui */
.fit { display: grid; gap: 14px; margin-top: 40px; grid-template-columns: 1fr; }
@media (min-width: 820px) { .fit { grid-template-columns: 1fr 1fr; } }
.fit .col { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 28px 26px; box-shadow: var(--shadow-card); }
.fit .col.yes { border-top: 3px solid var(--green); }
.fit .col.no { border-top: 3px solid var(--line-strong); }
.fit h3 { font-family: var(--display); font-weight: 600; font-size: 19px; margin-bottom: 16px; }
.fit ul, .offer-list, .own-list { list-style: none; display: grid; gap: 12px; }
.fit li, .offer-list li, .own-list li { display: flex; gap: 12px; align-items: baseline; font-size: 15.5px; }
.ic { flex: none; font-weight: 700; }
.fit .yes .ic { color: var(--green); }
.fit .no .ic { color: var(--muted); }

/* Offre (section sombre navy) */
.offer-list { margin-top: 30px; max-width: 640px; }
.offer-list .ic { color: var(--accent); }
.offer-list li { font-size: 16.5px; }

/* Realisations */
.shows { display: grid; gap: clamp(52px, 7vh, 88px); margin-top: 48px; }
.stage { position: relative; }
.browser {
  border-radius: 16px; overflow: hidden; background: var(--card);
  border: 1px solid var(--line-strong); box-shadow: var(--shadow-pop);
}
.bar { display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 16px; border-bottom: 1px solid var(--line); background: #fbfaf7; }
.dots { display: flex; gap: 7px; }
.dot { width: 11px; height: 11px; border-radius: 50%; background: #ddd9d0; }
.addr { flex: 1; display: flex; align-items: center; gap: 8px; height: 24px; padding: 0 12px; background: #f0ede7; border-radius: 999px; max-width: 460px; margin-inline: auto; }
.lock { width: 8px; height: 7px; border-radius: 2px; background: #bdb9b0; position: relative; }
.lock::before { content: ""; position: absolute; left: 1.2px; top: -3.5px; width: 5.6px; height: 5.6px; border: 1.5px solid #bdb9b0; border-bottom: none; border-radius: 4px 4px 0 0; }
.screen { line-height: 0; background: #0f0f12; }
.screen video, .screen .show-fallback { width: 100%; height: auto; }
.phone {
  position: absolute; right: -2%; bottom: -7%;
  width: 21.5%; min-width: 92px;
  border-radius: 18px; overflow: hidden; background: #0f0f12;
  box-shadow: 0 24px 52px rgba(19, 18, 28, 0.34);
  border: 1px solid rgba(19, 18, 28, 0.2);
}
.pscreen { position: relative; aspect-ratio: 9 / 19.5; }
.phone video, .phone .show-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.show .cap { margin-top: 56px; }
.show .cap h3 { font-family: var(--display); font-weight: 600; font-size: 20px; }
.show .cap p { color: var(--muted); font-size: 14.5px; margin-top: 3px; }

/* Temoignage */
.quote {
  margin-top: clamp(56px, 8vh, 90px); background: var(--card);
  border: 1px solid var(--line); border-left: 3px solid var(--accent);
  border-radius: 18px; padding: 32px 34px; box-shadow: var(--shadow-card);
  max-width: 780px; margin-inline: auto;
}
.quote .stars { color: var(--amber); letter-spacing: 2px; margin-bottom: 12px; font-size: 15px; }
.quote blockquote { font-size: clamp(1.02rem, 1.6vw, 1.18rem); line-height: 1.6; font-weight: 500; }
.quote figcaption { margin-top: 16px; font-size: 14px; color: var(--muted); }
.quote figcaption b { color: var(--text); }

/* Anti-location */
.own-list { margin-top: 32px; max-width: 720px; }
.own-list .ic { color: var(--green); }
.own-list li { font-size: 16px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; box-shadow: var(--shadow-card); }

/* FAQ */
.faq { margin-top: 36px; max-width: 760px; display: grid; gap: 10px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-card); overflow: hidden; }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 19px 22px; font-weight: 600; font-size: 16.5px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--display); font-size: 22px; color: var(--accent); transition: transform 0.25s var(--ease-out); flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 22px 20px; color: var(--muted); font-size: 15.5px; }

/* CTA final */
.final { text-align: center; }
.final .sec-t { margin-inline: auto; }
.final .btn { margin-top: 30px; }
.final small { display: block; margin-top: 14px; color: var(--muted); font-size: 14px; }

footer { background: var(--ink); color: var(--on-dark-muted); padding: 44px 0 120px; font-size: 14px; }
footer .wrap { display: grid; gap: 8px; }
footer .brand { font-size: 17px; margin-bottom: 6px; }
footer a { color: var(--on-dark); text-decoration: none; }

/* Barre sticky mobile */
.stickybar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(250, 248, 244, 0.88);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform 0.3s var(--ease-out);
}
.stickybar.on { transform: none; }
.stickybar .btn { width: 100%; padding: 15px 20px; }
@media (min-width: 820px) { .stickybar { display: none; } footer { padding-bottom: 44px; } }

/* ══ QUIZ : mini-plateforme dédiée ══════════════════════════ */
.quiz {
  position: fixed; inset: 0; z-index: 100;
  /* Fond légèrement plus riche que la page : donne la sensation « autre lieu ». */
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(255, 87, 51, 0.06), transparent 60%),
    var(--paper);
  display: flex; flex-direction: column; overflow-y: auto;
  /* Hauteur dynamique : en webview IG/FB, dvh suit la barre d'outils native
     pour que le submit + Turnstile de Q6 ne tombent jamais sous la barre. */
  height: 100vh; height: 100dvh;
}
.quiz[hidden] { display: none; }
.quiz-head { position: sticky; top: 0; z-index: 5; background: rgba(250, 248, 244, 0.9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.quiz-head .row { display: flex; align-items: center; justify-content: space-between; padding: 13px 20px 10px; }
.quiz-head .brand { color: var(--text); font-size: 17px; }
.quiz-close {
  width: 40px; height: 40px; border-radius: 50%; font-size: 22px; color: var(--muted);
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); background: var(--card);
  transition: background 0.2s, color 0.2s;
}
.quiz-close:hover { background: #f0ede7; color: var(--text); }
.q-prog { height: 3px; background: rgba(26, 26, 46, 0.08); }
.q-prog-bar { height: 100%; width: 0; background: var(--accent); border-radius: 0 999px 999px 0; transition: width 0.45s var(--ease-out); }
/* Progression : rangée de points + compteur minimal, une seule ligne. */
.q-progwrap { display: flex; align-items: center; gap: 12px; padding: 9px 20px 8px; }
.q-dots { display: flex; align-items: center; gap: 7px; flex: 1; min-width: 0; }
.q-dot {
  width: 7px; height: 7px; border-radius: 50%; flex: none;
  background: rgba(26, 26, 46, 0.16);
  transition: background 0.3s var(--ease-out), transform 0.3s var(--ease-out), width 0.3s var(--ease-out);
}
.q-dot.done { background: var(--accent); }
.q-dot.now { background: var(--accent); width: 22px; border-radius: 999px; box-shadow: 0 0 0 3px rgba(255, 87, 51, 0.14); }
.q-prog-label { font-size: 12px; color: var(--muted); white-space: nowrap; flex: none; font-variant-numeric: tabular-nums; }
.q-prog-label b { color: var(--text); font-weight: 700; }

.quiz-body {
  width: min(600px, 100% - 44px); margin: 0 auto; flex: 1;
  display: flex; flex-direction: column; justify-content: center;
  /* Réserve la place de la nav bas persistante (+ safe-area). */
  padding: 26px 0 calc(96px + env(safe-area-inset-bottom));
}
/* Écrans hauts (coordonnées, analyse, score) : on scrolle depuis le haut,
   jamais de centrage vertical qui clippe le contenu au-dessus du viewport. */
.quiz[data-screen="coordonnees"] .quiz-body,
.quiz[data-screen="analyze"] .quiz-body,
.quiz[data-screen="score"] .quiz-body { justify-content: flex-start; }
/* Transition « changement de page » : sortie + entrée nettes, sens selon dir. */
.q-step { display: flex; flex-direction: column; }
.q-step.q-in-fwd { animation: qInFwd 0.34s var(--ease-out); }
.q-step.q-in-back { animation: qInBack 0.34s var(--ease-out); }
.q-step.q-out-fwd { animation: qOutFwd 0.18s ease forwards; }
.q-step.q-out-back { animation: qOutBack 0.18s ease forwards; }
@keyframes qInFwd { from { opacity: 0; transform: translateX(34px); } to { opacity: 1; transform: none; } }
@keyframes qInBack { from { opacity: 0; transform: translateX(-34px); } to { opacity: 1; transform: none; } }
@keyframes qOutFwd { to { opacity: 0; transform: translateX(-24px); } }
@keyframes qOutBack { to { opacity: 0; transform: translateX(24px); } }
@media (prefers-reduced-motion: reduce) {
  .q-step.q-in-fwd, .q-step.q-in-back { animation: qFade 0.15s ease; }
  .q-step.q-out-fwd, .q-step.q-out-back { animation: none; }
}
@keyframes qFade { from { opacity: 0; } }

.q-title {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(1.6rem, 4.4vw, 2.2rem); line-height: 1.14; letter-spacing: -0.01em;
  margin-bottom: 24px; text-wrap: balance;
}
/* Focus programmatique (tabindex -1) : pas d'outline navigateur */
.q-title:focus, .cf-title:focus, .q-fill h2:focus { outline: none; }
.q-hint { font-size: 14.5px; color: var(--muted); margin: -16px 0 24px; }
.q-opts { display: grid; gap: 11px; }
@media (min-width: 640px) { .q-opts.two-col { grid-template-columns: 1fr 1fr; } }
/* grid-2 : 2 colonnes à TOUTES les largeurs (chips secteur). Le min-height du
   .q-opt garde les chips lisibles même serrées en mobile. */
.q-opts.grid-2 { grid-template-columns: 1fr 1fr; }
.q-opt {
  display: flex; align-items: center; gap: 13px; text-align: left;
  min-height: 58px; padding: 15px 18px;
  background: var(--card); border: 2px solid var(--line); border-radius: 14px;
  font-size: 16px; font-weight: 500; color: var(--text);
  transition: border-color 0.15s ease-out, background 0.15s ease-out, transform 0.15s ease-out, box-shadow 0.15s ease-out;
}
.q-opt:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 6px 16px rgba(26, 26, 46, 0.07); }
.q-opt:active { transform: scale(0.98); }
.q-opt.sel {
  border-color: var(--accent);
  background: #fff4f0;
  box-shadow: 0 0 0 1px var(--accent);
}
.q-opt .em { font-size: 21px; flex: none; }
.q-opt .kbd {
  flex: none; width: 26px; height: 26px; border: 1.5px solid var(--line-strong); border-radius: 6px;
  display: none; align-items: center; justify-content: center;
  font-size: 12.5px; font-weight: 700; color: var(--muted);
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
@media (min-width: 820px) { .q-opt .kbd { display: inline-flex; } }
.q-opt.sel .kbd { background: var(--accent); border-color: var(--accent); color: #fff; }
.q-opt .chk { margin-left: auto; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); display: none; align-items: center; justify-content: center; }
.q-opt.sel .chk { display: inline-flex; animation: pop 0.2s cubic-bezier(0.34, 1.56, 0.64, 1); }
.q-opt .chk svg { width: 12px; height: 12px; stroke: #fff; stroke-width: 3; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 24; }
.q-opt.sel .chk svg { animation: draw 0.22s ease-out 0.05s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { 50% { transform: scale(1.18); } }

/* Un écran = un écran, sans scroll (Q1-Q5) : compacte titre + options sur
   les viewports courts pour que tout tienne au-dessus de la nav bas.
   Q6 (form) et l'écran score gardent leur scroll (voir plus bas). */
@media (max-height: 740px) {
  .quiz-body { padding-top: 16px; justify-content: flex-start; }
  .q-title { font-size: clamp(1.35rem, 4.4vw, 1.75rem); margin-bottom: 16px; }
  .q-opts { gap: 9px; }
  .q-opt { min-height: 50px; padding: 12px 16px; font-size: 15.5px; border-radius: 12px; }
  .q-hint { margin: -10px 0 16px; }
}
@media (max-height: 620px) {
  .q-opt { min-height: 44px; padding: 10px 14px; }
  .q-opts.grid-2 { gap: 8px; }
}

/* Bouton (mini-confirmation de fermeture réutilise .btn) */
.q-back {
  font-size: 14px; color: var(--muted);
  text-decoration: underline; text-underline-offset: 3px;
  min-height: 40px; display: inline-flex; align-items: center; padding: 6px 2px;
}
.q-back:hover { color: var(--text); }

/* ── Barre de nav bas persistante : Reculer (discret) + Suivant (accent) ── */
.q-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 12;
  padding: 22px 0 calc(14px + env(safe-area-inset-bottom));
  /* Voile pour décoller la nav du contenu qui scrolle dessous. */
  background: linear-gradient(180deg, rgba(250, 248, 244, 0), var(--paper) 44%);
  pointer-events: none;
}
.q-nav.hidden { display: none; }
.q-nav-in {
  width: min(600px, 100% - 44px); margin: 0 auto;
  display: flex; align-items: center; gap: 12px;
  pointer-events: auto;
}
.q-nav-back {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 15px; font-weight: 600; color: var(--muted);
  padding: 13px 16px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--card); transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.q-nav-back:hover { color: var(--text); border-color: var(--line-strong); }
.q-nav-next {
  margin-left: auto; display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--display); font-weight: 600; font-size: 16px; color: #fff;
  background: var(--accent); padding: 14px 26px; border-radius: 12px;
  box-shadow: 0 10px 26px rgba(255, 87, 51, 0.28);
  transition: transform 0.16s var(--ease-out), box-shadow 0.16s, background 0.16s, opacity 0.16s;
}
.q-nav-next:hover { transform: translateY(-1px); background: var(--accent-deep); }
.q-nav-next .arr { transition: transform 0.16s var(--ease-out); }
.q-nav-next:hover .arr { transform: translateX(3px); }
.q-nav-next:disabled { opacity: 0.4; cursor: not-allowed; box-shadow: none; transform: none; background: var(--accent); }
.q-submit-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: reduce) {
  .q-nav-next, .q-nav-next .arr, .q-nav-back { transition: none; }
  .q-nav-next:hover { transform: none; }
  .q-nav-next:hover .arr { transform: none; }
}

/* ── Pop-up « c'est noté » : ✓ qui se dessine, centré, bref ── */
.q-ack {
  position: fixed; inset: 0; z-index: 20;
  display: flex; align-items: center; justify-content: center;
  background: rgba(250, 248, 244, 0.55); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
  opacity: 0; transition: opacity 0.18s var(--ease-out);
  pointer-events: none;
}
.q-ack.show { opacity: 1; }
.q-ack.out { opacity: 0; }
.q-ack-card {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  background: var(--card); border: 1px solid var(--line); border-radius: 20px;
  padding: 26px 30px; box-shadow: var(--shadow-pop);
  transform: scale(0.9); transition: transform 0.24s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.q-ack.show .q-ack-card { transform: scale(1); }
.q-ack-txt { font-family: var(--display); font-weight: 600; font-size: 17px; color: var(--text); text-align: center; }
.ack-ring { display: block; width: 58px; height: 58px; }
.ack-ring svg { width: 58px; height: 58px; overflow: visible; }
.ack-circle {
  fill: none; stroke: var(--green); stroke-width: 3; opacity: 0.28;
  stroke-dasharray: 151; stroke-dashoffset: 151;
  animation: ackCircle 0.42s var(--ease-out) forwards;
}
.ack-check {
  fill: none; stroke: var(--green); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 44; stroke-dashoffset: 44;
  animation: ackCheck 0.34s ease-out 0.16s forwards;
}
@keyframes ackCircle { to { stroke-dashoffset: 0; opacity: 1; } }
@keyframes ackCheck { to { stroke-dashoffset: 0; } }
/* Reduced-motion : le ✓ apparaît sans dessin, délai réduit géré en JS. */
.q-ack.no-anim { transition: opacity 0.1s linear; }
.q-ack.no-anim .q-ack-card { transition: none; transform: none; }
.q-ack.no-anim .ack-circle { animation: none; stroke-dashoffset: 0; opacity: 1; }
.q-ack.no-anim .ack-check { animation: none; stroke-dashoffset: 0; }

.q-label { display: block; font-size: 14px; font-weight: 600; margin: 18px 0 7px; }
.q-label small { font-weight: 400; color: var(--muted); }
.q-microcopy { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
.q-field {
  width: 100%; height: 54px; padding: 0 16px;
  font: inherit; font-size: 16px; color: var(--text);
  background: var(--card); border: 2px solid var(--line); border-radius: 12px;
  transition: border-color 0.15s, box-shadow 0.15s;
  /* Champ invalide centré sous le header sticky lors du scrollIntoView */
  scroll-margin-top: 90px;
}
.q-field:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255, 87, 51, 0.14); }
.q-field[aria-invalid="true"] { border-color: var(--red); }
/* Champ valide : bord vert discret + coche en fond (aucune couleur crie) */
.q-field.ok {
  border-color: var(--green);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%232e9e5b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  padding-right: 40px;
}
.q-area { width: 100%; min-height: 84px; padding: 13px 16px; font: inherit; font-size: 16px; background: var(--card); border: 2px solid var(--line); border-radius: 12px; resize: vertical; }
.q-area:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255, 87, 51, 0.14); }
.q-err { display: none; font-size: 13px; color: var(--red); margin-top: 5px; }
.q-err.on { display: block; }
.q-note { margin-top: 14px; font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.hp-field { position: absolute; left: -9999px; top: -9999px; height: 1px; width: 1px; overflow: hidden; }

/* ── Téléphone : sélecteur de pays + numéro (Q6) ───────────── */
.q-tel { display: flex; gap: 10px; align-items: stretch; }
.q-tel-country {
  flex: 0 0 auto; width: 128px; max-width: 44%;
  padding-right: 30px;
  -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
  font-size: 15px;
}
.q-tel-numwrap { flex: 1 1 auto; min-width: 0; position: relative; }
.q-tel-dial { position: absolute; left: 14px; top: 0; bottom: 0; display: flex; align-items: center; font-size: 16px; font-weight: 600; color: var(--muted); pointer-events: none; }
.q-tel-num { width: 100%; padding-left: 52px; }

/* ── Mini-confirmation de fermeture ─────────────────────────── */
.q-confirm {
  background: var(--card); border: 1px solid var(--line-strong); border-radius: 12px;
  padding: 14px 16px; margin-bottom: 18px; box-shadow: var(--shadow-card);
  font-size: 14.5px; color: var(--text);
}
.q-confirm-actions { display: flex; gap: 10px; margin-top: 12px; }
.q-confirm-actions button { font-size: 14px; font-weight: 600; padding: 9px 16px; border-radius: 10px; }
.q-confirm-actions .qc-stay { background: var(--accent); color: #fff; }
.q-confirm-actions .qc-stay:hover { background: var(--accent-deep); }
.q-confirm-actions .qc-leave { border: 1px solid var(--line-strong); color: var(--muted); }
.q-confirm-actions .qc-leave:hover { color: var(--text); }

/* ── Écran « dossier qui se remplit » (remplace l'ancien interstitiel) ── */
.q-fill { text-align: center; padding: 12px 0 20px; }
.q-fill h2 { font-family: var(--display); font-weight: 600; font-size: clamp(1.4rem, 3.4vw, 1.9rem); margin-bottom: 26px; text-wrap: balance; }
.df-card {
  max-width: 380px; margin: 0 auto; text-align: left;
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: 22px 22px 20px; box-shadow: var(--shadow-card); position: relative;
}
/* Onglet de dossier (languette en haut à gauche) */
.df-tab {
  position: absolute; top: -9px; left: 24px; width: 62px; height: 12px;
  background: var(--card); border: 1px solid var(--line); border-bottom: none;
  border-radius: 8px 8px 0 0;
}
.df-rows { list-style: none; display: grid; gap: 13px; margin: 0 0 20px; }
.df-row {
  display: flex; align-items: center; gap: 12px;
  font-size: 15.5px; font-weight: 500; color: var(--muted);
  opacity: 0.4; transition: opacity 0.35s var(--ease-out), color 0.35s var(--ease-out);
}
.df-row.on { opacity: 1; color: var(--text); }
.df-check {
  width: 24px; height: 24px; border-radius: 50%; flex: none;
  border: 2px solid var(--line-strong); background: transparent;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}
.df-check svg { width: 14px; height: 14px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 22; stroke-dashoffset: 22; }
.df-row.on .df-check { background: var(--green); border-color: var(--green); animation: pop 0.28s cubic-bezier(0.34, 1.56, 0.64, 1); }
.df-row.on .df-check svg { animation: draw 0.3s ease-out 0.06s forwards; }
.df-bar { height: 7px; background: rgba(26, 26, 46, 0.08); border-radius: 999px; overflow: hidden; }
.df-bar-fill { height: 100%; width: 0; border-radius: 999px; background: var(--accent); transition: width 0.4s var(--ease-out); }
/* Confirmation finale du transfert */
.df-done {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 24px; font-family: var(--display); font-weight: 600; font-size: 16px; color: var(--text);
  opacity: 0; transform: translateY(6px); transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
.df-done.on { opacity: 1; transform: none; }
.df-done-ring {
  width: 26px; height: 26px; border-radius: 50%; flex: none;
  background: var(--green); display: inline-flex; align-items: center; justify-content: center;
}
.df-done.on .df-done-ring { animation: pop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); }
.df-done-ring svg { width: 15px; height: 15px; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
/* Reduced-motion : tout apparaît sans dessin ni transition. */
.q-fill.no-anim .df-row, .q-fill.no-anim .df-done { transition: none; }
.q-fill.no-anim .df-check, .q-fill.no-anim .df-done-ring { animation: none; }
.q-fill.no-anim .df-check svg, .q-fill.no-anim .df-row.on .df-check svg { animation: none; stroke-dashoffset: 0; }
.q-fill.no-anim .df-bar-fill { transition: none; }

/* ── Écran de confirmation (remplace l'écran score) ─────────── */
.cf-check { width: 72px; height: 72px; margin: 6px 0 22px; }
.cf-check svg { width: 72px; height: 72px; overflow: visible; }
.cf-check-ring {
  fill: none; stroke: var(--green); stroke-width: 3; opacity: 0.3;
  stroke-dasharray: 182; stroke-dashoffset: 182;
  animation: cfRing 0.5s var(--ease-out) 0.05s forwards;
}
.cf-check-mark {
  fill: none; stroke: var(--green); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 48; stroke-dashoffset: 48;
  animation: cfMark 0.36s ease-out 0.3s forwards;
}
@keyframes cfRing { to { stroke-dashoffset: 0; opacity: 1; } }
@keyframes cfMark { to { stroke-dashoffset: 0; } }
.cf-title { font-family: var(--display); font-weight: 600; font-size: clamp(1.5rem, 3.8vw, 2.1rem); line-height: 1.14; letter-spacing: -0.01em; margin-bottom: 16px; text-wrap: balance; }
.cf-body { font-size: 16.5px; color: var(--muted); line-height: 1.6; max-width: 52ch; margin-bottom: 30px; }
.cf-tips {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: 22px 24px; box-shadow: var(--shadow-card);
}
.cf-tips-title { font-family: var(--display); font-weight: 600; font-size: 16px; color: var(--text); margin-bottom: 18px; }
.cf-blk-list { list-style: none; display: grid; gap: 15px; margin: 0; padding: 0; }
.cf-blk { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; font-weight: 500; color: var(--text); line-height: 1.4; }
.cf-blk-ico { flex: none; width: 22px; height: 22px; color: var(--accent); margin-top: 1px; }
.cf-blk-ico svg { width: 100%; height: 100%; display: block; }

/* CTA de fin (voir réalisations + lire le blog) */
.cf-cta { margin-top: 30px; display: flex; flex-direction: column; gap: 16px; }
.cf-cta-main { width: 100%; }
@media (min-width: 640px) { .cf-cta-main { width: auto; align-self: flex-start; } }
.cf-cta-sec { align-self: center; font-size: 14.5px; font-weight: 600; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 640px) { .cf-cta-sec { align-self: flex-start; } }
.cf-cta-sec:hover { color: var(--text); }
@media (prefers-reduced-motion: reduce) {
  .cf-check-ring, .cf-check-mark { animation: none; stroke-dashoffset: 0; opacity: 1; }
}

/* ── Bloc fondateur (qui vous appelle) ─────────────────────── */
.founder { display: grid; gap: 28px; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 760px) { .founder { grid-template-columns: 264px 1fr; gap: 44px; } }
.f-photo { position: relative; width: 220px; }
@media (min-width: 760px) { .f-photo { width: 264px; } }
.f-photo img { width: 100%; height: auto; border-radius: 18px; border: 1px solid var(--line-strong); box-shadow: var(--shadow-pop); }
.f-photo .f-fallback { display: none; }
.f-photo.noimg img { display: none; }
.f-photo.noimg .f-fallback {
  display: flex; align-items: center; justify-content: center;
  width: 176px; aspect-ratio: 3 / 4; border-radius: 18px;
  background: var(--ink-2); color: var(--on-dark);
  font-family: var(--display); font-weight: 700; font-size: 64px;
  border: 1px solid var(--line-strong); box-shadow: var(--shadow-card);
}
.f-body p { max-width: 54ch; }
.f-body .sec-t { margin-bottom: 12px; }
.f-body .s-sub { margin-top: 14px; font-size: 14px; color: var(--muted); border-top: 1px dashed var(--line-strong); padding-top: 12px; max-width: 54ch; }

/* ── CTA intermédiaire ─────────────────────────────────────── */
.mid-cta { text-align: center; margin-top: clamp(44px, 6vh, 64px); }
.mid-cta small { display: block; margin-top: 12px; color: var(--muted); font-size: 13.5px; }

/* ── Bandeau consentement (sobre, non bloquant) ────────────── */
.consent {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90;
  max-width: 560px; margin-inline: auto;
  background: var(--card); border: 1px solid var(--line-strong); border-radius: 16px;
  box-shadow: var(--shadow-pop); padding: 16px 18px;
  font-size: 13.5px; color: var(--muted); line-height: 1.5;
}
.consent[hidden] { display: none; }
.consent a { color: var(--text); }
.consent-top { display: flex; gap: 12px; align-items: center; }
.consent-top p { margin: 0; }
.ck-ico { flex: none; width: 40px; height: 40px; filter: drop-shadow(0 2px 3px rgba(26, 26, 46, 0.16)); }
.consent-actions { display: flex; gap: 10px; margin-top: 12px; }
.consent-actions button { font-size: 14px; font-weight: 600; padding: 9px 16px; border-radius: 10px; }
.consent-actions .c-ok { background: var(--ink-2); color: var(--on-dark); }
.consent-actions .c-ok:hover { background: var(--ink); }
.consent-actions .c-no { border: 1px solid var(--line-strong); color: var(--muted); }
.consent-actions .c-no:hover { color: var(--text); }
@media (max-width: 819px) {
  /* au-dessus de la stickybar mobile */
  .consent { bottom: 84px; }
}

/* ══ v4 : sections long-form (awareness) ══════════════════════ */

/* Topbar CTA (remplace le téléphone) */
.topbar-cta {
  margin-left: auto; display: inline-flex; align-items: center;
  background: var(--accent); color: #fff; font-weight: 700; font-size: 14px;
  padding: 9px 16px; border-radius: 10px; text-decoration: none;
  box-shadow: 0 6px 16px rgba(255, 87, 51, 0.28); transition: background 0.18s, transform 0.15s;
}
.topbar-cta:hover { background: var(--accent-deep); transform: translateY(-1px); }
.topbar-cta:active { transform: scale(0.97); }

/* Agitation du problème */
.problem .sec-s { color: var(--muted); }
.leaks-list { list-style: none; display: grid; gap: 12px; margin-top: 34px; max-width: 760px; }
.leaks-list li {
  display: flex; gap: 14px; align-items: baseline; font-size: 16.5px;
  background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--accent);
  border-radius: 14px; padding: 17px 20px; box-shadow: var(--shadow-card);
}
.leaks-list .lk { color: var(--accent); font-weight: 700; flex: none; }
.problem-close { margin-top: 26px; font-size: 17px; font-weight: 600; max-width: 620px; }

/* Carousel réalisations */
.reals { margin-top: 42px; }
.reals-viewport { overflow: visible; }
.reals-track {
  display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 6px max(20px, calc((100vw - 1120px) / 2)) 12px;
  scrollbar-width: none;
}
.reals-track::-webkit-scrollbar { display: none; }
.real-card { flex: 0 0 min(560px, 86vw); scroll-snap-align: center; }
@media (max-width: 640px) { .real-card { flex-basis: 90vw; } }
.real-cap { margin-top: 58px; }
.real-cap h3 { font-family: var(--display); font-weight: 600; font-size: 20px; }
.real-meta { color: var(--muted); font-size: 14px; margin-top: 3px; }
.real-tag { display: inline-block; margin-top: 10px; font-size: 12.5px; font-weight: 600; color: var(--accent-deep); background: #fff4f0; border: 1px solid rgba(255, 87, 51, 0.24); border-radius: 999px; padding: 4px 11px; }
.real-desc { font-size: 15px; margin-top: 11px; color: var(--text); max-width: 42ch; }
.real-quote {
  margin-top: 15px; padding: 15px 17px; background: var(--card);
  border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 12px;
  font-size: 15.5px; font-weight: 500; box-shadow: var(--shadow-card);
}
.real-quote cite { display: block; margin-top: 9px; font-size: 13px; color: var(--muted); font-style: normal; }
.reals-nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 14px; }
.reals-arrow {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-strong);
  background: var(--card); font-size: 24px; line-height: 1; color: var(--text);
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-card);
  transition: background 0.2s, transform 0.15s;
}
.reals-arrow:hover { background: #f0ede7; }
.reals-arrow:active { transform: scale(0.94); }
.reals-dots { display: flex; gap: 8px; }
.reals-dot { width: 8px; height: 8px; border-radius: 999px; background: var(--line-strong); border: 0; padding: 0; transition: background 0.2s, width 0.2s; }
.reals-dot.on { background: var(--accent); width: 24px; }

/* Méthode : piliers (section navy) */
.pillars { display: grid; gap: 16px; margin-top: 42px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .pillars { grid-template-columns: 1fr 1fr; } }
.pillar {
  background: rgba(245, 243, 238, 0.045); border: 1px solid var(--line-dark);
  border-radius: 18px; padding: 26px 24px;
}
.pillar .p-n { font-family: var(--display); font-weight: 700; font-size: 15px; color: var(--accent); }
.pillar h3 { font-family: var(--display); font-weight: 600; font-size: 19px; margin: 10px 0 8px; color: var(--on-dark); }
.pillar p { color: var(--on-dark-muted); font-size: 15px; }

/* Offres + prix */
.offers { display: grid; gap: 16px; margin-top: 40px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .offers { grid-template-columns: 1fr 1fr; } }
.offer-card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 28px 26px; box-shadow: var(--shadow-card); }
.offer-card h3 { font-family: var(--display); font-weight: 600; font-size: 20px; }
.offer-card .price { margin-top: 14px; font-size: 17px; color: var(--muted); }
.offer-card .price b { font-family: var(--display); font-weight: 700; font-size: 26px; color: var(--text); }
.offer-card .price-alt { margin-top: 8px; font-size: 15px; color: var(--muted); }
.offers-note { margin-top: 24px; font-size: 15.5px; color: var(--muted); max-width: 64ch; }

/* Comparatif */
.compare-scroll { margin-top: 40px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare { width: 100%; min-width: 640px; border-collapse: separate; border-spacing: 0; }
.compare th, .compare td { padding: 15px 16px; text-align: left; font-size: 14.5px; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare thead th { font-family: var(--display); font-weight: 600; font-size: 15px; }
.compare tbody th[scope="row"] { font-weight: 600; color: var(--text); width: 150px; }
.compare td { color: var(--muted); }
.compare .us { background: color-mix(in srgb, var(--accent) 6%, #fff); color: var(--text); font-weight: 500; }
.compare thead .us { color: var(--accent-deep); border-top-left-radius: 12px; border-top-right-radius: 12px; }
.compare tbody tr:last-child .us { border-bottom-left-radius: 12px; border-bottom-right-radius: 12px; }
.compare-close { margin-top: 22px; font-size: 16px; font-weight: 600; max-width: 640px; }

/* CTA final sombre */
.final-cta { padding: clamp(64px, 9vh, 110px) 0; text-align: center; }
.final-cta::after { content: none; }
.final-cta .fc-title { font-family: var(--display); font-weight: 700; font-size: clamp(1.9rem, 4.6vw, 3rem); line-height: 1.06; letter-spacing: -0.015em; max-width: 20ch; margin-inline: auto; }
.final-cta .lead { margin-inline: auto; }
.final-cta .hero-cta { justify-content: center; }
.final-cta .hero-reassure { color: var(--on-dark-muted); font-size: 14px; margin-top: 16px; }

footer .foot-fine { margin-top: 6px; opacity: 0.7; font-size: 13px; }

/* ══════════════════════════════════════════════════════════════
   v5 : logos, toggle réalisations, avis, bille méthode, leasing
   ══════════════════════════════════════════════════════════════ */

/* ── Bandeau confiance : logos reconnus + note Google + TVA ── */
.trustbar { padding: 28px 0 8px; }
.trustbar ul { justify-content: center; gap: 10px 12px; }
.trustbar li.tb-chip {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13px; font-weight: 600; color: var(--on-dark);
  border: 1px solid var(--line-dark); border-radius: 999px; padding: 8px 15px;
  background: rgba(245, 243, 238, 0.06);
}
.tb-chip b { font-weight: 700; }
.tb-ico { flex: none; display: block; }
.tb-chip.tb-reviews .tb-stars { color: #FFC043; letter-spacing: 1px; }
.tb-chip.tb-vat { color: var(--on-dark-muted); font-weight: 500; }

/* ── Preuve héro : mention "opportunité" ── */
.hero-proof .cap-live {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 700; color: var(--accent-deep); text-transform: uppercase;
  letter-spacing: 0.05em; font-size: 11px; margin-right: 7px;
}
.cap-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px rgba(255, 87, 51, 0.2); flex: none; }

/* ── Toggle Ordinateur / Téléphone ── */
.reals-toggle { display: inline-flex; gap: 4px; margin-top: 24px; padding: 4px; background: #efeae2; border: 1px solid var(--line); border-radius: 12px; }
.rt-btn { display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px; border-radius: 9px; font-weight: 600; font-size: 14px; color: var(--muted); transition: background 0.18s, color 0.18s, box-shadow 0.18s; }
.rt-btn svg { opacity: 0.85; }
.rt-btn.on { background: var(--card); color: var(--text); box-shadow: var(--shadow-card); }

/* ── Cartes réalisations : agrandies + dual-frame PC/mobile ── */
.real-card { flex: 0 0 min(680px, 88vw); scroll-snap-align: center; transition: flex-basis 0.3s var(--ease-out); }
@media (max-width: 640px) { .real-card { flex-basis: 90vw; } }
.reals[data-view="mobile"] .real-card { flex-basis: min(360px, 84vw); }
.reals[data-view="pc"] .frame-mobile { display: none; }
.reals[data-view="mobile"] .frame-pc { display: none; }
.frame-mobile { display: flex; justify-content: center; }
.phone-lg { width: min(320px, 74vw); border-radius: 30px; overflow: hidden; background: #0f0f12; border: 8px solid #0e0e13; box-shadow: var(--shadow-pop); }
/* Ratio calé sur les enregistrements mobiles de Bryan (≈500x828) pour ne rien couper */
.phone-lg .pscreen { position: relative; aspect-ratio: 3 / 5; }
.phone-lg video, .phone-lg .show-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.real-cap { margin-top: 28px; }

/* ── Avis Google : note + ruban de noms + avis vedette ── */
.rev-rating { display: inline-flex; align-items: center; gap: 9px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; box-shadow: var(--shadow-card); margin-bottom: 16px; }
.rev-num { font-family: var(--display); font-weight: 700; font-size: 19px; }
.rev-rating .rev-stars { color: #FFB400; letter-spacing: 1px; font-size: 15px; }
.rev-count { color: var(--muted); font-size: 13px; }
.rev-marquee { margin: 34px 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.rev-track { display: flex; gap: 14px; width: max-content; animation: revscroll 34s linear infinite; }
.rev-marquee:hover .rev-track { animation-play-state: paused; }
@keyframes revscroll { to { transform: translateX(-50%); } }
.rev-chip { display: inline-flex; flex-direction: column; gap: 3px; flex: none; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 13px 20px; box-shadow: var(--shadow-card); }
.rev-chip-stars { color: #FFB400; letter-spacing: 1px; font-size: 13px; }
.rev-chip-name { font-weight: 600; font-size: 15px; }
.rev-chip-src { color: var(--muted); font-size: 12px; }
.rev-featured { margin-top: 4px; margin-inline: 0; }
@media (prefers-reduced-motion: reduce) { .rev-track { animation: none; } .rev-marquee { overflow-x: auto; } }

/* ── Méthode : bille animée (pin desktop / sweep mobile) ── */
.method { position: relative; background: var(--ink-2); color: var(--on-dark); min-height: 220vh; }
.method::after { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: 0.18; mix-blend-mode: overlay; pointer-events: none; }
.method-pin { position: sticky; top: 0; min-height: 100vh; display: flex; align-items: center; z-index: 1; padding: 40px 0; }
.method .wrap { position: relative; z-index: 1; }
.method-rail { position: relative; margin-top: 54px; isolation: isolate; }
.rail-svg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; overflow: visible; pointer-events: none; }
.rail-path-track { fill: none; stroke: rgba(245, 243, 238, 0.26); stroke-width: 2.5; stroke-linecap: round; }
.rail-path-fill { fill: none; stroke: var(--accent); stroke-width: 4; stroke-linecap: round; }
/* Glow réduit : la bille + son halo tiennent DANS le carré de l'icône (rien ne dépasse derrière) */
.rail-ball { position: absolute; left: 0; top: 0; width: 18px; height: 18px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(255, 87, 51, 0.22), 0 0 11px 1px rgba(255, 87, 51, 0.5); transform: translate(-50%, -50%); z-index: 2; will-change: left, top; transition: opacity 0.2s var(--ease-out); }
.method-nodes { position: relative; z-index: 3; }
/* Carré opaque, clairement au premier plan (masque la ligne + la bille derrière) */
.m-ico { width: 56px; height: 56px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; background: #262637; border: 1px solid rgba(245, 243, 238, 0.16); color: var(--on-dark); position: relative; z-index: 2; transform: scale(1); box-shadow: 0 6px 18px rgba(8, 8, 14, 0.5); transition: background 0.3s var(--ease-out), border-color 0.3s, transform 0.3s var(--ease-out), box-shadow 0.3s; }
.m-node.on .m-ico { background: var(--accent); border-color: var(--accent); color: #fff; transform: scale(1.06); box-shadow: 0 6px 18px rgba(8, 8, 14, 0.4), 0 0 26px rgba(255, 87, 51, 0.5); }
.m-n { display: block; font-family: var(--display); font-weight: 700; font-size: 13px; color: var(--accent); letter-spacing: 0.1em; }
.m-node h3 { font-family: var(--display); font-weight: 600; font-size: 18px; color: var(--on-dark); margin: 6px 0 6px; }
.m-node p { color: var(--on-dark-muted); font-size: 14.5px; line-height: 1.5; }
.method-anim .m-node { opacity: 0.4; transition: opacity 0.45s var(--ease-out); }
.method-anim .m-node.on { opacity: 1; }

/* Mobile : rail vertical, icône à gauche, sweep au scroll */
.method-nodes { display: grid; gap: 30px; }
.m-node { display: grid; grid-template-columns: 56px 1fr; column-gap: 16px; align-items: center; text-align: left; }
.m-ico { grid-column: 1; grid-row: 1 / span 3; align-self: start; margin: 0; }
.m-n { grid-column: 2; grid-row: 1; }
.m-node h3 { grid-column: 2; grid-row: 2; }
.m-node p { grid-column: 2; grid-row: 3; }

/* Desktop : pin + rail horizontal */
@media (min-width: 760px) {
  .method-pin { padding: 0; }
  .method-nodes { grid-template-columns: repeat(4, 1fr); gap: 26px; }
  .m-node { display: flex; flex-direction: column; align-items: center; text-align: center; }
  .m-ico { margin: 0 auto; }
  .m-n { margin-top: 18px; }
}
/* Mobile : pin compact pour tenir en 100vh + rail vertical */
@media (max-width: 759px) {
  .method-pin { padding: 20px 0; }
  .method .sec-t { font-size: clamp(1.5rem, 6vw, 1.85rem); }
  .method .sec-s { font-size: 14px; margin-top: 9px; }
  .method-rail { margin-top: 22px; }
  /* Nœuds étalés pour remplir l'écran : segments plus longs = ligne + bille bien visibles */
  .method-nodes { min-height: 66vh; align-content: space-between; gap: 14px; }
  .m-node { grid-template-columns: 50px 1fr; column-gap: 13px; }
  .m-ico { width: 50px; height: 50px; border-radius: 14px; }
  .m-ico svg { width: 23px; height: 23px; }
  .m-node h3 { font-size: 15.5px; margin: 2px 0 3px; }
  .m-node p { font-size: 13px; line-height: 1.4; }
}

/* ── Tarifs : Formule Leasing + explication ── */
.offer-card.feature { border: 2px solid var(--accent); position: relative; box-shadow: 0 2px 6px rgba(255, 87, 51, 0.12), 0 24px 56px rgba(255, 87, 51, 0.12); }
.offer-badge { display: inline-block; background: var(--accent); color: #fff; font-weight: 700; font-size: 12px; padding: 5px 12px; border-radius: 999px; margin-bottom: 12px; }
.price-hero { margin-top: 6px; font-size: 15px; color: var(--muted); display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.price-hero b { font-family: var(--display); font-weight: 700; font-size: clamp(2.2rem, 5vw, 2.7rem); color: var(--text); line-height: 1; }
.price-hero span { font-size: 17px; font-weight: 600; color: var(--muted); }
.price-sub { margin-top: 10px; font-size: 15px; color: var(--muted); }
.price-or { margin-top: 13px; font-size: 14.5px; color: var(--muted); border-top: 1px dashed var(--line-strong); padding-top: 12px; }
.price-or b { color: var(--text); font-weight: 700; }
.lease-why { margin-top: 28px; max-width: 780px; background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 16px; padding: 24px 26px; box-shadow: var(--shadow-card); }
.lease-why h3 { font-family: var(--display); font-weight: 600; font-size: 19px; margin-bottom: 12px; }
.lease-why p { color: var(--text); font-size: 15.5px; margin-bottom: 10px; }
.lease-why p:last-child { margin-bottom: 0; color: var(--muted); }

/* ══════════════════════════════════════════════════════════════
   v6 : header épuré, avis en cartes commentaires
   ══════════════════════════════════════════════════════════════ */

/* Header : Fluxcore · Agence digitale (sans CTA) */
.topbar .wrap { gap: 11px; }
.brand-name { font-family: var(--display); font-weight: 600; font-size: 19px; color: var(--on-dark); letter-spacing: 0.01em; }
.brand-sep { width: 1px; height: 17px; background: var(--line-dark); display: inline-block; }
.brand-tag { font-family: var(--body); font-size: 13.5px; font-weight: 500; color: var(--on-dark-muted); letter-spacing: 0.01em; white-space: nowrap; }

/* Avis clients : cartes commentaires (façon Google) */
.rev-grid { display: grid; gap: 16px; margin-top: 34px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .rev-grid { grid-template-columns: repeat(3, 1fr); } }
.rev-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 22px; box-shadow: var(--shadow-card); display: flex; flex-direction: column; }
.rev-card-top { display: flex; align-items: center; gap: 12px; }
.rev-av { flex: none; width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-family: var(--display); font-weight: 700; font-size: 18px; }
.rev-who { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.rev-who b { font-size: 15px; }
.rev-who span { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rev-src { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--muted); flex: none; }
.rev-card-stars { color: #FFB400; letter-spacing: 1px; font-size: 14px; margin: 15px 0 9px; }
.rev-card blockquote { font-size: 14.8px; line-height: 1.55; color: var(--text); }
.rev-more { display: flex; align-items: center; gap: 14px; margin-top: 26px; flex-wrap: wrap; }
.rev-stack { display: inline-flex; }
.rev-stack span { width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 13px; font-family: var(--display); background: var(--c); border: 2px solid #f2eee7; margin-left: -10px; }
.rev-stack span:first-child { margin-left: 0; }
.rev-more p { font-size: 14.5px; color: var(--muted); }
.rev-more a { color: var(--accent-deep); font-weight: 600; white-space: nowrap; }

/* ══════════════════════════════════════════════════════════════
   v8 : toggle par carte, carte "le vôtre", avis carousel photos, comparatif mobile
   ══════════════════════════════════════════════════════════════ */

/* Réalisations : toggle Ordinateur/Téléphone PAR carte (icônes au-dessus de l'écran) */
.real-toggle { display: inline-flex; gap: 4px; margin-bottom: 14px; padding: 4px; background: #efeae2; border: 1px solid var(--line); border-radius: 11px; }
.rt2 { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 32px; border-radius: 8px; color: var(--muted); transition: background 0.18s, color 0.18s, box-shadow 0.18s; }
.rt2.on { background: var(--card); color: var(--text); box-shadow: var(--shadow-card); }
.real-card[data-view="pc"] .frame-mobile { display: none; }
.real-card[data-view="mobile"] .frame-pc { display: none; }
.real-card[data-view="mobile"] .real-stage { display: flex; justify-content: center; }

/* Carte "Le vôtre ?" : maquette placeholder, même design en PC et téléphone */
.real-card.special .screen-votre {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  color: var(--on-dark); text-align: center; padding: 24px;
  background:
    linear-gradient(var(--line-dark) 1px, transparent 1px) 0 0 / 100% 30px,
    linear-gradient(90deg, var(--line-dark) 1px, transparent 1px) 0 0 / 30px 100%,
    radial-gradient(130% 120% at 50% 0%, #211f31, var(--ink) 72%);
}
.real-card.special .frame-pc .screen-votre { aspect-ratio: 4 / 3; }
/* Version téléphone : l'écran remplit la maquette (ratio 3/5 porté par .pscreen) */
.real-card.special .phone-lg .pscreen { background: var(--ink); }
.real-card.special .phone-lg .screen-votre { position: absolute; inset: 0; padding: 18px; gap: 6px; }
.real-card.special .phone-lg .votre-title { font-size: clamp(1.5rem, 9vw, 2rem); }
.real-card.special .phone-lg .votre-cta { font-size: 12.5px; padding: 9px 15px; }
.votre-tag { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.votre-title { font-family: var(--display); font-weight: 700; font-size: clamp(1.9rem, 4.4vw, 2.8rem); color: #fff; line-height: 1; }
.votre-sub { font-size: 13px; color: var(--on-dark-muted); }
.votre-cta { margin-top: 12px; display: inline-flex; align-items: center; gap: 8px; background: var(--accent); color: #fff; font-weight: 700; font-size: 13.5px; padding: 10px 18px; border-radius: 10px; box-shadow: 0 10px 26px rgba(255, 87, 51, 0.3); }
.real-card.special .real-cap h3 { color: var(--accent-deep); }

/* Bloc "Nos engagements" de la carte "Le vôtre ?" (remplace la citation client des autres cartes) */
.real-values { margin-top: 15px; padding: 15px 18px; background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 12px; box-shadow: var(--shadow-card); }
.rv-title { display: block; font-family: var(--display); font-weight: 600; font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: 11px; }
.real-values ul { list-style: none; display: grid; gap: 9px; margin: 0; padding: 0; }
.real-values li { display: flex; align-items: flex-start; gap: 9px; font-size: 15px; font-weight: 500; color: var(--text); }
.rv-check { flex: none; margin-top: 2px; color: var(--accent); }

/* Indice de swipe (mobile) : bouton "Glissez" au-dessus du nom, masqué après le 1er déplacement */
.real-swipe { display: none; }
@media (max-width: 760px) {
  .real-swipe {
    display: flex; width: fit-content; max-width: 100%; align-items: center; gap: 9px;
    margin: 20px auto 0; padding: 10px 17px;
    background: var(--card); border: 1px solid var(--line-strong); border-radius: 999px;
    color: var(--text); font-size: 12.5px; font-weight: 600; line-height: 1.25; text-align: left;
    box-shadow: var(--shadow-card);
  }
}
.real-swipe .rs-ico { flex: none; display: inline-flex; color: var(--accent); animation: swipeNudge 1.5s var(--ease-out) infinite; }
@keyframes swipeNudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-5px); } }
.reals.moved .real-swipe { display: none; }
.real-card:last-child .real-swipe { display: none; }
@media (prefers-reduced-motion: reduce) { .real-swipe .rs-ico { animation: none; } }

/* Avis clients : carousel swipe avec vraies photos de profil */
.revs { margin-top: 30px; }
.revs-track { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding: 6px max(20px, calc((100vw - 1120px) / 2)) 12px; scrollbar-width: none; }
.revs-track::-webkit-scrollbar { display: none; }
.revs-track .rev-card { flex: 0 0 min(90vw, 960px); scroll-snap-align: center; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 28px clamp(28px, 5vw, 64px); box-shadow: var(--shadow-card); display: flex; flex-direction: column; }
@media (max-width: 640px) { .revs-track .rev-card { flex-basis: 88vw; } }
.revs-track .rev-card-top { display: flex; align-items: center; gap: 13px; }
.rev-photo { flex: none; width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line); background: #eee; }
.rev-photo.logo { object-fit: contain; background: #fff; padding: 7px; }
.rev-sub { font-size: 12.5px; color: var(--muted); }
.revs-track .rev-who { display: flex; flex-direction: column; gap: 2px; }
.revs-track .rev-who b { font-size: 16px; line-height: 1.2; }
/* Étoiles recollées au nom : on annule le margin hérité de l'ancienne grille (.rev-card-stars) */
.revs-track .rev-card-stars { color: #FFB400; letter-spacing: 1px; font-size: 14px; line-height: 1.15; margin: 0; }
.revs-track .rev-sub { margin-top: 1px; }
.revs-track .rev-src { margin-left: auto; }
.revs-track blockquote { margin-top: 16px; font-size: 15.5px; line-height: 1.6; color: var(--text); }
.revs-nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 16px; }

/* Comparatif : lisible sur téléphone (table reflow en cartes) */
@media (max-width: 700px) {
  .compare-scroll { overflow: visible; }
  .compare { min-width: 0; display: block; }
  .compare thead { display: none; }
  .compare tbody { display: block; }
  .compare tbody tr { display: block; background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-card); padding: 15px 17px; margin-bottom: 12px; }
  .compare tbody th[scope="row"] { display: block; width: auto; font-family: var(--display); font-weight: 600; font-size: 16px; color: var(--text); padding: 0 0 8px; border: 0; }
  .compare tbody td { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border: 0; border-top: 1px solid var(--line); font-size: 13.5px; text-align: right; color: var(--muted); }
  .compare tbody td::before { content: attr(data-label); color: var(--muted); font-weight: 600; text-align: left; flex: none; max-width: 40%; }
  .compare tbody td.us { color: var(--text); font-weight: 600; background: none; border-radius: 0; }
  .compare tbody td.us::before { color: var(--accent-deep); }
}

/* ══════════════════════════════════════════════════════════════
   v7 : header brandé, réalisations par carte + lightbox, safe-areas ads
   ══════════════════════════════════════════════════════════════ */

/* Header : navy Fluxcore (fini le gris translucide) + touche corail */
.topbar {
  background: var(--ink-2);
  -webkit-backdrop-filter: none; backdrop-filter: none;
  border-bottom: 1px solid rgba(255, 87, 51, 0.28);
  padding-top: env(safe-area-inset-top);
}
.brand-sep { background: rgba(255, 87, 51, 0.4); }

/* Hero : CTA secondaire fantôme (vers les réalisations) */
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--on-dark); font-weight: 600; font-size: 15.5px; text-decoration: none;
  padding: 15px 22px; border-radius: 14px; border: 1px solid var(--line-dark);
  background: rgba(245, 243, 238, 0.05); transition: background 0.18s, border-color 0.18s, transform 0.15s;
}
.btn-ghost:hover { background: rgba(245, 243, 238, 0.1); border-color: rgba(245, 243, 238, 0.3); transform: translateY(-1px); }
.btn-ghost .arr-d { transition: transform 0.18s var(--ease-out); }
.btn-ghost:hover .arr-d { transform: translateY(2px); }

/* Réalisations : une carte à la fois (mobile-first) + version mobile cliquable */
.real-card { flex: 0 0 min(90vw, 900px); scroll-snap-align: center; }
@media (max-width: 640px) { .real-card { flex-basis: 90vw; } }
.real-stage { position: relative; }
.real-pc .browser { border-radius: 16px; overflow: hidden; }
.real-pc .screen video, .real-pc .screen .show-fallback { width: 100%; height: auto; display: block; }
.real-mobile {
  position: absolute; right: -1%; bottom: -7%;
  width: 22%; min-width: 88px; max-width: 148px;
  padding: 0; border: 0; background: none; cursor: pointer; z-index: 3;
  transition: transform 0.2s var(--ease-out);
}
.real-mobile:hover { transform: translateY(-3px); }
.real-mobile:active { transform: scale(0.97); }
.phone-frame { display: block; border-radius: 20px; overflow: hidden; background: #0f0f12; box-shadow: 0 20px 46px rgba(19, 18, 28, 0.38); border: 2px solid #0e0e13; }
.phone-frame .pscreen { position: relative; aspect-ratio: 9 / 19.5; }
.phone-frame video, .phone-frame .show-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.tap-hint {
  position: absolute; left: 50%; bottom: -22px; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 5px; white-space: nowrap;
  font-size: 11px; font-weight: 600; color: var(--muted);
}
.real-cap { margin-top: 54px; }

/* Lightbox version mobile */
.real-lb {
  position: fixed; inset: 0; z-index: 120;
  background: rgba(10, 10, 16, 0.86);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.real-lb[hidden] { display: none; }
.real-lb-inner { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lb-phone { width: min(300px, 74vw); border-radius: 34px; border-width: 9px; }
.real-lb-name { color: var(--on-dark); font-weight: 600; font-size: 15px; }
.real-lb-close {
  position: absolute; top: calc(16px + env(safe-area-inset-top)); right: 18px;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.12); color: #fff; font-size: 26px;
  display: flex; align-items: center; justify-content: center; transition: background 0.2s;
}
.real-lb-close:hover { background: rgba(255, 255, 255, 0.2); }

/* ══════════════════════════════════════════════════════════════
   v9 : lecture à la demande (poster-first) + accessibilité
   ══════════════════════════════════════════════════════════════ */

/* Bouton lecture des réalisations : le poster (capture du site) reste affiché,
   la vidéo ne se charge qu'au clic. */
.screen { position: relative; }
.real-play {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  background: linear-gradient(180deg, rgba(10,10,16,0.10), rgba(10,10,16,0.34));
  color: #fff; cursor: pointer; z-index: 3; transition: background 0.2s;
}
.real-play:hover { background: linear-gradient(180deg, rgba(10,10,16,0.16), rgba(10,10,16,0.44)); }
.rp-ico { width: 62px; height: 62px; border-radius: 50%; background: var(--accent); box-shadow: 0 12px 32px rgba(255,87,51,0.45); position: relative; flex: none; }
.rp-ico::after { content: ""; position: absolute; top: 50%; left: 54%; transform: translate(-50%,-50%); border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent #fff; }
.rp-txt { font-weight: 700; font-size: 13.5px; text-shadow: 0 1px 6px rgba(0,0,0,0.45); }
.frame.playing .real-play { display: none; }
.frame-mobile .rp-txt { display: none; }
.frame-mobile .rp-ico { width: 50px; height: 50px; }
.frame-mobile .rp-ico::after { border-width: 9px 0 9px 15px; }

/* Accessibilité : focus clavier visible sur tout ce qui est tabbable */
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible,
.q-opt:focus-visible, .reals-arrow:focus-visible, .reals-dot:focus-visible, .rt2:focus-visible, .real-play:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 8px;
}
/* Accessibilité : zone tactile >= 40px pour les points de carrousel (visuel 8px conservé) */
.reals-dot { position: relative; }
.reals-dot::before { content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 40px; height: 40px; }
.rt2 { min-height: 38px; }
