/* XellenceReviews v3 - feuille de style
   Bleu nuit pour l'en-tête, le hero et le pied de page, or et rouge du logo,
   sections claires contrastées. */

@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  --night: #0F2233;      /* en-tête, hero, pied de page */
  --night-2: #183248;
  --blue: #0F4C75;       /* section IA */
  --white: #FFFFFF;
  --mist: #F1F4F7;       /* sections claires alternées */
  --ink: #142231;
  --ink-2: #4B5A6A;
  --line: #D8DFE6;
  --gold: #F6A800;
  --gold-soft: #FFF2CF;
  --amber: #B46A00;      /* or lisible sur fond clair */
  --red: #C62424;
  --lake: #2C6E91;

  --f: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --r: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--f);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: var(--lake); text-underline-offset: 3px; }
h1, h2, h3 { margin: 0; font-weight: 700; }
button { font: inherit; color: inherit; }
sup { font-size: .6em; line-height: 0; }

:focus-visible { outline: 3px solid var(--lake); outline-offset: 3px; border-radius: 4px; }
.hero :focus-visible, .ia :focus-visible, .nav :focus-visible, .footer :focus-visible, .final :focus-visible { outline-color: var(--gold); }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--gold); color: var(--ink); padding: 8px 14px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px;
  border-radius: 999px;
  font-weight: 650; font-size: 16px; font-stretch: 105%;
  text-decoration: none; white-space: nowrap;
  transition: background-color .15s, color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #FFBA24; }
.btn-ghost-light { border: 2px solid rgba(255,255,255,.7); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--ink); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 15px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Titres ---------- */
.sec { padding: clamp(64px, 9vw, 116px) 0; }
.h2 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
  font-weight: 760;
  font-stretch: 108%;
  letter-spacing: -0.015em;
  margin-bottom: 20px;
  max-width: 26ch;
  text-wrap: balance;
}
.h2 .hl, .hero-title .hl { color: var(--amber); }
.hero .hl, .ia .hl, .final .hl { color: var(--gold); }
.h3 { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.15; font-stretch: 106%; margin-bottom: 14px; }
.lead { font-size: clamp(18px, 1.6vw, 20px); color: var(--ink-2); max-width: 62ch; }
.plan-tag {
  display: inline-block; margin-top: 6px;
  font-size: 14px; font-weight: 650;
  padding: 5px 12px; border-radius: 999px;
  background: var(--gold-soft); color: #6A4500;
}
.plan-tag.on-dark { background: rgba(246,168,0,.18); color: #FFD47A; }

/* ---------- Navigation ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: var(--night); border-bottom: 1px solid rgba(255,255,255,.08); }
.nav-inner { display: flex; align-items: center; gap: 24px; height: 70px; }
.brand img { height: 32px; width: auto; }
.nav-links { display: flex; gap: 24px; margin-left: auto; }
.nav-links a { color: #C9D4DF; text-decoration: none; font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: #fff; }
.nav-cta { display: flex; align-items: center; gap: 16px; }
.nav-login { color: #fff; text-decoration: none; font-size: 15px; font-weight: 600; }
@media (max-width: 980px) { .nav-links { display: none; } .nav-cta { margin-left: auto; } }
@media (max-width: 420px) {
  .brand img { height: 22px; }
  .nav-cta { gap: 10px; }
  .nav-login { font-size: 14px; }
  .nav-cta .btn-sm { padding: 0 14px; font-size: 14px; }
}

/* ---------- 1. Hero ---------- */
.hero {
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(246,168,0,.10), transparent 60%),
    var(--night);
  color: #fff;
  padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 110px);
}
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.kicker { display: flex; align-items: center; gap: 10px; font-weight: 650; color: var(--gold); font-size: 16px; margin-bottom: 18px; }
.kicker::before { content: ""; width: 10px; height: 10px; background: var(--gold); transform: rotate(45deg); }
.hero-title {
  font-size: clamp(38px, 5.2vw, 64px);
  line-height: 1.02;
  font-weight: 800;
  font-stretch: 106%;
  letter-spacing: -0.025em;
  margin-bottom: 22px;
  text-wrap: balance;
}
.hero-title .hl { display: block; }
.hero .lede { font-size: clamp(18px, 1.6vw, 20px); color: #C9D4DF; max-width: 50ch; margin-bottom: 30px; }
.fine { margin-top: 16px; font-size: 14px; color: #93A3B4; }

/* Chiffres clés */
.facts {
  margin: 0;
  display: grid; grid-template-columns: 1fr 1fr;
  position: relative;
}
.facts::before, .facts::after { content: ""; position: absolute; background: rgba(255,255,255,.14); }
.facts::before { left: 50%; top: 8%; bottom: 8%; width: 1px; }
.facts::after { top: 50%; left: 4%; right: 4%; height: 1px; }
.fact { padding: clamp(18px, 2.4vw, 30px); }
.fact-num {
  font-size: clamp(42px, 4.6vw, 62px);
  line-height: 1;
  font-weight: 800;
  font-stretch: 92%;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  color: var(--gold);
  margin-bottom: 12px;
  white-space: nowrap;
}
.fact-num .pre { font-weight: 500; margin-right: 2px; }
.fact-num .unit { font-size: .55em; margin-left: 2px; }
.f-revenue .fact-num { font-size: clamp(36px, 3.8vw, 52px); }
.fact-txt { font-size: 16px; line-height: 1.45; color: #E2E9F0; margin-bottom: 10px; }
.fact-txt strong { color: #fff; font-weight: 650; }
.fact-src { font-size: 12px; color: #8FA0B2; }
.f-fresh .fact-num { color: #fff; }
.f-fresh { position: relative; }
.f-fresh::before { content: ""; position: absolute; left: clamp(18px, 2.4vw, 30px); top: 0; width: 34px; height: 3px; background: var(--red); }

/* Apparition unique au chargement */
.facts.ready .fact { opacity: 0; transform: translateY(10px); }
.facts.play .fact { animation: rise .8s ease-out forwards; }
.facts.play .f-spend { animation-delay: .3s; }
.facts.play .f-auto { animation-delay: .6s; }
.facts.play .f-fresh { animation-delay: .9s; }
@keyframes rise { to { opacity: 1; transform: none; } }

@media (max-width: 560px) {
  .facts { grid-template-columns: 1fr; }
  .facts::before { display: none; }
  .facts::after { display: none; }
  .fact { padding: 20px 0; border-top: 1px solid rgba(255,255,255,.14); }
  .f-fresh::before { left: 0; }
}

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .cta-row .btn { flex: 1 1 100%; }
}

/* ---------- 2. Sources de trafic ---------- */
.flow { margin-top: 48px; display: grid; grid-template-columns: 320px 110px 1fr; align-items: stretch; }
.flow-sources { display: grid; grid-auto-rows: 1fr; gap: 12px; }
.src {
  display: flex; align-items: center; gap: 14px;
  text-align: left; cursor: pointer;
  background: var(--mist); border: 2px solid transparent;
  border-radius: var(--r); padding: 14px 16px; min-height: 76px;
  transition: border-color .15s, background-color .15s;
}
.src:hover { border-color: var(--line); }
.src b { display: block; font-size: 17px; font-weight: 700; }
.src small { display: block; font-size: 14px; color: var(--ink-2); }
.src-ico { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--ink-2); font-size: 20px; }
.src[aria-selected="true"] { background: var(--night); border-color: var(--night); color: #fff; }
.src[aria-selected="true"] small { color: #B7C4D1; }
.src[aria-selected="true"] .src-ico { background: var(--gold); color: var(--ink); }

.flow-lines { width: 100%; height: 100%; }
.flow-lines path { fill: none; stroke: var(--line); stroke-width: 2; vector-effect: non-scaling-stroke; transition: stroke .2s; }
.flow-lines path.on { stroke: var(--gold); stroke-width: 4; stroke-dasharray: 8 6; animation: flowdash 1s linear infinite; }
@keyframes flowdash { to { stroke-dashoffset: -14; } }

.flow-dest {
  align-self: center;
  background: var(--night); color: #fff;
  border-radius: 20px; padding: clamp(24px, 3vw, 36px);
}
.fd-title { font-size: clamp(24px, 2.6vw, 30px); font-weight: 780; font-stretch: 108%; margin-bottom: 4px; }
.fd-sub { color: var(--gold); font-weight: 600; font-size: 15px; margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.14); }
.fd-panel p { color: #D5DEE7; }
.fd-panel .fd-why { color: #fff; font-weight: 600; }
.fd-panel.enter { animation: fade .3s ease-out; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

@media (max-width: 960px) {
  .flow { grid-template-columns: 1fr; gap: 16px; }
  .flow-lines { display: none; }
  .flow-sources { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; }
}
@media (max-width: 520px) {
  .src { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px; }
  .src-ico { width: 34px; height: 34px; font-size: 16px; }
  .src b { font-size: 15px; }
  .src small { font-size: 13px; }
}

/* ---------- 3. IA ---------- */
.ia { background: var(--night); color: #fff; }
.ia .h2 { color: #fff; max-width: 24ch; }
.ia .lead, .ia-copy p { color: #CFE0EC; }
.ia-top, .ia-bottom { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.ia-bottom { margin-top: clamp(56px, 7vw, 88px); padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid rgba(255,255,255,.16); }
.ia-bottom .h3 { color: #fff; }

.chat-picks { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.pick {
  cursor: pointer; border: 1.5px solid rgba(255,255,255,.4); background: transparent; color: #fff;
  border-radius: 999px; padding: 8px 16px; min-height: 40px; font-size: 15px; font-weight: 600;
}
.pick:hover { border-color: #fff; }
.pick[aria-pressed="true"] { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.chat-win { background: #fff; color: var(--ink); border-radius: 20px; padding: 20px; display: flex; flex-direction: column; gap: 12px; min-height: 330px; }
.chat-q { align-self: flex-end; background: var(--night); color: #fff; padding: 10px 16px; border-radius: 18px 18px 4px 18px; max-width: 85%; margin: 0; font-weight: 500; }
.chat-a { background: var(--mist); border-radius: 18px 18px 18px 4px; padding: 14px 18px; max-width: 92%; }
.chat-a p { margin: 0 0 6px; }
.chat-a ol { margin: 0; padding-left: 22px; line-height: 1.6; }
.chat-a li.me { font-weight: 750; background: var(--gold-soft); border-radius: 4px; padding: 0 6px; margin-left: -6px; }
.chat-verdict { margin: 0; font-weight: 700; }
.chat-verdict.miss { color: var(--red); }
.chat-verdict.hit { color: #1E7A45; }
.chat-win.enter .chat-a, .chat-win.enter .chat-verdict { animation: fade .35s ease-out both; }
.chat-win.enter .chat-verdict { animation-delay: .15s; }
.chat-note { font-size: 13px; color: #A9C3D6 !important; margin-top: 10px; }

.report { background: #fff; color: var(--ink); border-radius: 18px; padding: 8px; }
.report-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 14px; font-size: 14px; }
.report-head span:first-child { font-weight: 750; font-size: 16px; }
.report-head span:last-child { color: var(--ink-2); }
.report-rows { list-style: none; margin: 0; padding: 0; }
.report-rows > li { border-top: 1px solid var(--line); }
.ai-row { width: 100%; display: flex; justify-content: space-between; align-items: center; background: none; border: 0; cursor: pointer; text-align: left; padding: 15px 14px; min-height: 56px; border-radius: 8px; }
.ai-row:hover { background: var(--mist); }
.ai-name { font-weight: 650; font-size: 17px; display: flex; align-items: center; gap: 10px; }
.ai-name::before { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: rotate(-45deg); transition: transform .2s; }
.ai-row[aria-expanded="true"] .ai-name::before { transform: rotate(45deg); }
.ai-pos { font-weight: 750; font-variant-numeric: tabular-nums; padding: 3px 12px; border-radius: 999px; font-size: 15px; }
.ai-pos.good { background: var(--gold); color: var(--ink); }
.ai-pos.mid { background: #DCEBF4; color: var(--blue); }
.ai-pos.off { background: #FBE2E2; color: var(--red); }
.ai-detail { padding: 0 14px 16px 34px; font-size: 15px; color: var(--ink-2); }
.ai-detail b { color: var(--ink); }
.ai-detail ol { margin: 0 0 10px; padding-left: 20px; }
.ai-detail li.me { font-weight: 700; color: var(--ink); }
.report-note { font-size: 13px; color: var(--ink-2); padding: 10px 14px 6px; border-top: 1px solid var(--line); margin: 0; }

@media (max-width: 960px) { .ia-top, .ia-bottom { grid-template-columns: 1fr; } }

/* ---------- 4. Moteur ---------- */
.moteur { background: var(--mist); }
.loop { margin-top: 44px; display: grid; grid-template-columns: 290px 1fr; gap: clamp(20px, 4vw, 44px); }
.loop-tabs { display: grid; gap: 6px; align-content: start; }
.loop-tab { display: grid; grid-template-columns: 40px 1fr; grid-template-rows: auto auto; column-gap: 12px; text-align: left; background: none; border: 0; cursor: pointer; padding: 14px; border-radius: var(--r); }
.loop-tab:hover { background: rgba(20,34,49,.05); }
.lt-n { grid-row: 1 / 3; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--ink-2); color: var(--ink-2); font-weight: 750; }
.lt-t { font-weight: 720; font-size: 19px; font-stretch: 106%; line-height: 1.2; }
.lt-s { color: var(--ink-2); font-size: 15px; }
.loop-tab[aria-selected="true"] { background: var(--night); color: #fff; }
.loop-tab[aria-selected="true"] .lt-s { color: #B7C4D1; }
.loop-tab[aria-selected="true"] .lt-n { background: var(--gold); border-color: var(--gold); color: var(--ink); }

.loop-panel { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(20px, 3vw, 40px); align-items: center; background: #fff; border-radius: 20px; padding: clamp(22px, 3.5vw, 40px); min-height: 420px; box-shadow: 0 1px 0 var(--line); }
.loop-panel[hidden] { display: none; }
.loop-panel.enter { animation: panelIn .3s ease-out; }
@keyframes panelIn { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }
.lp-text h3 { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.15; font-stretch: 106%; margin-bottom: 14px; text-wrap: balance; }
.lp-text p { color: var(--ink-2); }
.lp-text .plan-tag { color: #6A4500; }
.lp-mock { display: grid; gap: 12px; justify-items: center; }
.phone { width: 100%; max-width: 290px; background: var(--mist); border-radius: 28px; padding: 22px 16px; border: 8px solid var(--night); }
.ph-from { text-align: center; font-weight: 700; font-size: 14px; margin-bottom: 14px; }
.bubble { background: #fff; padding: 10px 14px; border-radius: 16px 16px 16px 4px; font-size: 15px; line-height: 1.4; }
.bubble u { color: var(--lake); }
.bubble.ghost { background: transparent; border: 1.5px dashed var(--line); color: var(--ink-2); font-size: 13px; margin-top: 14px; }
.ph-meta { font-size: 12px; color: var(--ink-2); margin: 6px 0 0 4px; }
.review { width: 100%; max-width: 360px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px; font-size: 15px; }
.rv-head { display: flex; justify-content: space-between; }
.stars, .post-stars { color: var(--gold); letter-spacing: 2px; }
.rv-reply { margin-top: 14px; padding: 12px 14px; background: var(--mist); border-radius: 10px; }
.rv-who { font-weight: 700; font-size: 13px; margin-bottom: 4px; }
.rv-time { font-size: 12px; color: var(--lake); font-weight: 600; margin-top: 8px; }
.post { width: 100%; max-width: 280px; aspect-ratio: 1; background: var(--night); color: #fff; border-radius: 14px; padding: 26px; display: flex; flex-direction: column; justify-content: center; }
.post-stars { font-size: 22px; margin-bottom: 12px; }
.post-quote { font-size: 21px; line-height: 1.25; font-weight: 650; }
.post-by { font-size: 13px; color: #B9C2CC; }
.article { width: 100%; max-width: 280px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; }
.ar-kicker { font-size: 12px; color: var(--ink-2); margin-bottom: 2px; }
.ar-title { font-weight: 700; font-size: 15px; line-height: 1.3; }
.stats { width: 100%; max-width: 340px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.stats-h { font-weight: 700; font-size: 14px; margin-bottom: 10px; }
.stats dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stats dl div { background: var(--mist); border-radius: 10px; padding: 12px; }
.stats dt { font-size: 13px; color: var(--ink-2); }
.stats dd { margin: 2px 0 0; font-size: 26px; font-weight: 750; font-stretch: 90%; font-variant-numeric: tabular-nums; }
.stats-n { font-size: 12px; color: var(--ink-2); margin-top: 10px; }
@media (max-width: 980px) {
  .loop { grid-template-columns: 1fr; }
  .loop-tabs { grid-template-columns: repeat(4, 1fr); }
  .loop-tab { grid-template-columns: 1fr; justify-items: center; text-align: center; row-gap: 6px; padding: 10px 4px; }
  .lt-n { grid-row: auto; }
  .lt-t { font-size: 15px; }
  .lt-s { display: none; }
  .loop-panel { grid-template-columns: 1fr; min-height: 0; }
}

/* ---------- 5. Démo (application réduite à 85 % pour tenir en entier) ---------- */
.demo-head { text-align: center; max-width: 760px; margin: 0 auto 36px; }
.demo-head .h2 { margin-left: auto; margin-right: auto; }
.demo-head .lead { margin: 0 auto; }
.live { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; color: #1E7A45; margin-bottom: 14px; }
.live i { width: 9px; height: 9px; border-radius: 50%; background: #2E9E5B; box-shadow: 0 0 0 4px rgba(46,158,91,.18); }
.demo-frame { border-radius: 18px; overflow: hidden; background: var(--night); padding: 0 10px 10px; box-shadow: 0 40px 80px -40px rgba(15,34,51,.55); }
.demo-bar { display: flex; align-items: center; gap: 14px; padding: 12px 6px; font-size: 14px; color: #B7C4D1; }
.demo-dots { display: flex; gap: 6px; }
.demo-dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.25); }
.demo-url { flex: 1; text-align: center; }
.demo-open { color: #fff; font-weight: 600; }
.demo-viewport { position: relative; height: 760px; border-radius: 10px; overflow: hidden; background: #fff; }
.demo-viewport iframe { position: absolute; top: 0; left: 0; width: 117.648%; height: 117.648%; transform: scale(.85); transform-origin: left top; border: 0; display: block; }
.demo-note { text-align: center; font-size: 13px; color: var(--ink-2); margin-top: 14px; }
@media (max-width: 760px) {
  .demo-viewport { height: 560px; }
  .demo-viewport iframe { width: 166.67%; height: 166.67%; transform: scale(.6); }
  .demo-url { display: none; }
  .demo-bar { justify-content: space-between; }
}

/* ---------- 6. Pour qui ---------- */
.pourqui { background: var(--mist); }
.sectors { margin-top: 40px; }
.sector-tabs { display: flex; flex-wrap: wrap; gap: 0; border-bottom: 2px solid var(--line); }
.stab { background: none; border: 0; cursor: pointer; padding: 14px 18px; font-weight: 650; font-size: 16px; color: var(--ink-2); border-bottom: 3px solid transparent; margin-bottom: -2px; min-height: 48px; }
.stab:hover { color: var(--ink); }
.stab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--gold); }
.spanel { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); padding-top: 36px; }
.spanel[hidden] { display: none; }
.spanel.enter { animation: fade .3s ease-out; }
.sp-scene { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.3; font-weight: 600; font-stretch: 102%; padding-left: 20px; border-left: 4px solid var(--gold); }
.sp-facts { margin: 0; display: grid; gap: 20px; }
.sp-facts dt { font-weight: 750; margin-bottom: 4px; }
.sp-facts dd { margin: 0; color: var(--ink-2); }
@media (max-width: 860px) {
  .sector-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); }
  .sector-tabs::-webkit-scrollbar { display: none; }
  .sector-tabs { -webkit-mask-image: linear-gradient(90deg, #000 80%, transparent); mask-image: linear-gradient(90deg, #000 80%, transparent); }
  .stab { white-space: nowrap; padding: 12px 14px; font-size: 15px; }
  .spanel { grid-template-columns: 1fr; }
}

/* ---------- 7. Après l'inscription ---------- */
.timeline { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; }
.timeline::before { content: ""; position: absolute; top: 10px; left: 0; right: 0; height: 2px; background: repeating-linear-gradient(90deg, var(--ink-2) 0 6px, transparent 6px 12px); opacity: .5; }
.timeline li { position: relative; padding-top: 36px; }
.timeline li::before { content: ""; position: absolute; top: 0; left: 0; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--night); }
.timeline li:last-child::before { background: var(--gold); border-color: var(--gold); }
.tl-when { font-weight: 750; font-size: 19px; font-stretch: 106%; margin-bottom: 6px; }
.timeline li p:not(.tl-when) { color: var(--ink-2); }
@media (max-width: 900px) {
  .timeline { grid-template-columns: 1fr; gap: 26px; padding-left: 38px; }
  .timeline::before { top: 0; bottom: 0; left: 10px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--ink-2) 0 6px, transparent 6px 12px); }
  .timeline li { padding-top: 0; }
  .timeline li::before { left: -38px; }
}

/* ---------- 8. Tarifs ---------- */
.tarifs { background: var(--mist); }
.plans-guide { display: grid; grid-template-columns: repeat(3, 1fr); margin: 40px 0 48px; border-top: 3px solid var(--night); }
.pg { padding: 20px 24px 8px 0; }
.pg + .pg { padding-left: 24px; border-left: 1px solid var(--line); }
.pg-name { font-size: 22px; font-weight: 760; font-stretch: 108%; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-bottom: 8px; }
.pg-name span { font-size: 15px; font-weight: 500; color: var(--ink-2); }
.pg p:not(.pg-name):not(.pg-flag) { color: var(--ink-2); font-size: 16px; }
.pg-flag { display: inline-block; font-size: 13px; font-weight: 650; background: var(--gold); padding: 4px 12px; border-radius: 999px; margin-top: 4px; }
.stripe-pricing { min-height: 300px; }
@media (max-width: 900px) {
  .plans-guide { grid-template-columns: 1fr; }
  .pg, .pg + .pg { padding: 18px 0; border-left: 0; border-bottom: 1px solid var(--line); }
}

/* ---------- 9. FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(24px, 5vw, 72px); align-items: start; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font-weight: 650; font-size: 18px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 400; color: var(--amber); }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { color: var(--ink-2); padding: 0 40px 22px 0; max-width: 64ch; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; } }

/* ---------- 10. Appel final ---------- */
.final { background: var(--night); color: #fff; padding: clamp(64px, 9vw, 110px) 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.final-big { font-size: clamp(30px, 4.2vw, 50px); line-height: 1.08; font-weight: 800; font-stretch: 108%; letter-spacing: -0.02em; max-width: 22ch; margin-bottom: 32px; text-wrap: balance; }
.final-big span { color: var(--gold); display: block; }

/* ---------- Pied de page ---------- */
.footer { background: var(--night); color: #B7C4D1; padding: 56px 0 28px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.footer-brand img { height: 30px; width: auto; margin-bottom: 14px; }
.footer-brand p { max-width: 32ch; }
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.fh { color: #fff; font-weight: 700; margin-bottom: 4px; }
.footer a { color: #B7C4D1; text-decoration: none; overflow-wrap: anywhere; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; color: #8494A5; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Pages légales ---------- */
.legal { padding: 48px 0 96px; background: var(--mist); }
.legal-wrap { display: grid; grid-template-columns: 260px 1fr; gap: 56px; align-items: start; }
.legal-nav { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 4px; }
.legal-nav a { color: var(--ink-2); text-decoration: none; padding: 8px 12px; border-radius: 6px; font-size: 15px; }
.legal-nav a:hover { background: rgba(20,34,49,.05); color: var(--ink); }
.legal-nav a[aria-current="page"] { background: #fff; color: var(--ink); font-weight: 650; box-shadow: inset 3px 0 0 var(--gold); }
.legal-doc { background: #fff; border-radius: 16px; padding: clamp(24px, 4vw, 56px); max-width: 780px; }
.legal-doc h1 { font-size: clamp(30px, 4vw, 42px); line-height: 1.1; font-stretch: 108%; letter-spacing: -0.015em; margin: 16px 0 8px; }
.legal-doc h2 { font-size: 21px; margin: 36px 0 10px; }
.legal-doc p, .legal-doc li { color: var(--ink-2); max-width: 70ch; }
.legal-doc strong { color: var(--ink); }
.legal-doc ul { padding-left: 22px; margin: 0 0 1em; }
.legal-doc li { margin-bottom: 6px; }
.legal-back { font-size: 15px; font-weight: 600; text-decoration: none; }
.legal-date { font-size: 14px; }
.legal-doc mark, .legal-doc .todo { background: var(--gold-soft); color: var(--ink); padding: 0 4px; border-radius: 3px; }
@media (max-width: 900px) {
  .legal-wrap { grid-template-columns: 1fr; gap: 24px; }
  .legal-nav { position: static; flex-direction: row; flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
}
