/* Pendoor : page blanche, bandes bleu très pâle, petites interfaces animées comme illustrations. Thème clair assumé. */
:root {
  color-scheme: light;
  --bg: #ffffff;
  --ink: #0b1f3a;
  --text: #3a4a63;
  --muted: #5e6d86;
  --blue: #1f5fd6;
  --blue-dark: #174bb0;
  --blue-soft: #d6e4fb;
  --sky: #f1f6fe;
  --line: #dbe4f2;
  --ok: #0f8a5f;
  --ok-soft: #e3f5ec;
  --warn: #c2410c;
  --warn-soft: #fdeee6;
  --font-display: "Manrope", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "Plex Mono Fallback", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --radius: 16px;
  --shadow: 0 20px 50px -24px rgba(11,31,58,.30);
}
/* Polices (Google Fonts, licence OFL) hébergées sur le site : sous-ensemble latin, préchargées dans le <head>. */
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 600 800; font-display: swap; src: url(/fonts/manrope-latin-var.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 600; font-display: swap; src: url(/fonts/inter-latin-var.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/ibm-plex-mono-latin-400.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/ibm-plex-mono-latin-500.woff2) format("woff2"); }
/* Repli aux métriques d'IBM Plex Mono (chasse 0,6 em) : l'avis du hero ne se recompose pas si la police arrive tard. */
@font-face { font-family: "Plex Mono Fallback"; src: local("Courier New"), local("CourierNewPSMT"), local("Courier"); ascent-override: 102.5%; descent-override: 27.5%; line-gap-override: 0%; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3 { font-family: var(--font-display); color: var(--ink); text-wrap: balance; margin: 0; }
p { margin: 0; }
a { color: var(--blue); }
.wrap { max-width: 1140px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.btn { display: inline-flex; align-items: center; gap: 10px; font: 600 16px/1 var(--font-body); text-decoration: none; padding: 16px 24px; border-radius: 12px; border: 1px solid transparent; transition: background .2s, transform .2s, box-shadow .2s; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px -12px rgba(31,95,214,.7); }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); }
.btn-primary svg { transition: transform .2s; }
.btn-primary:hover svg { transform: translateX(3px); }
.btn:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #9cc0ff; outline-offset: 2px; }
.tag { display: inline-flex; align-items: center; gap: 8px; font: 500 13px var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 5px 10px; box-shadow: 0 2px 6px -3px rgba(11,31,58,.18); }
.tag i { width: 8px; height: 8px; border-radius: 2px; background: var(--blue); display: inline-block; }

/* En-tête */
header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.logo { display: flex; align-items: center; gap: 10px; font: 800 19px var(--font-display); color: var(--ink); text-decoration: none; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a:not(.btn) { color: var(--text); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav-links a:not(.btn):hover { color: var(--blue); }
.nav .btn { padding: 11px 16px; font-size: 15px; }
@media (max-width: 760px) { .nav-links a:not(.btn) { display: none; } }

/* Hero */
.hero { position: relative; padding-block: 76px 92px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 380px at 85% 40%, var(--sky), transparent 70%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(36px, 5vw, 58px); line-height: 1.06; letter-spacing: -0.025em; font-weight: 800; }
.hero h1 .hl, .hero h1 .hl span { color: var(--blue); }
.hero .lead { margin-top: 24px; font-size: 19px; max-width: 32em; }
.hero .lead b { color: var(--ink); font-weight: 600; }
.hero .actions { margin-top: 34px; }
.hero .reassure { margin-top: 18px; font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px 20px; }
.hero .reassure span { display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 920px) { .hero-grid { grid-template-columns: 1fr; gap: 56px; } .hero { padding-block: 44px 64px; } }

/* Avis animé */
.stage { position: relative; min-width: 0; padding: 26px 30px; }
.notice { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.notice-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; padding: 16px 20px; border-bottom: 1px solid var(--line); background: var(--sky); }
.notice-head b { font: 500 14px var(--font-mono); color: var(--ink); }
.notice-head small { font-size: 13px; color: var(--muted); }
.notice-amount { padding: 18px 20px 4px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.notice-amount span { font-size: 14px; color: var(--muted); }
.notice-amount strong { font: 800 30px var(--font-display); color: var(--ink); font-variant-numeric: tabular-nums; }
.checks { list-style: none; margin: 0; padding: 6px 20px 14px; }
.checks li { display: grid; grid-template-columns: 22px 1fr auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 15px; transition: background .3s; }
.checks li:last-child { border-bottom: 0; }
.checks .st { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--ok); }
.checks .st.bad { background: var(--warn); }
.checks .v { font: 500 14px var(--font-mono); color: var(--ink); text-align: right; font-variant-numeric: tabular-nums; }
.checks .v.bad { color: var(--warn); }
.checks li.pending .st { background: var(--line); }
.checks li.pending .st svg { display: none; }
.checks li.pending .v { color: transparent; background: linear-gradient(90deg, var(--line), #eef3fb, var(--line)); background-size: 200% 100%; border-radius: 4px; animation: shimmer 1s linear infinite; }
.checks li.pending { color: var(--muted); }
.verdict { margin: 0 20px 20px; padding: 13px 15px; border-radius: 10px; background: var(--ok-soft); color: #0b5c40; display: flex; gap: 12px; align-items: center; font-size: 15px; transition: opacity .4s, transform .4s; }
.verdict b { color: #064a33; }
.verdict .send { margin-left: auto; flex: none; font: 600 13px var(--font-body); color: #fff; background: var(--ok); border-radius: 8px; padding: 7px 10px; }
.notice.scanning .verdict { opacity: .25; transform: translateY(4px); }
.scanline { position: absolute; left: 0; right: 0; height: 60px; top: -60px; background: linear-gradient(180deg, transparent, rgba(31,95,214,.10), transparent); pointer-events: none; }
.notice.scanning .scanline { animation: scan 2.6s ease-in-out infinite; }
.fig-note { margin-top: 12px; font-size: 12px; color: var(--muted); text-align: right; }
.float { position: absolute; z-index: 2; display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 9px 12px; font-size: 13px; font-weight: 600; color: var(--ink); box-shadow: 0 14px 30px -16px rgba(11,31,58,.35); animation: bob 5s ease-in-out infinite; }
.float small { display: block; font-weight: 400; color: var(--muted); font-size: 12px; }
.float .fi { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--sky); flex: none; }
.float.f1 { top: -6px; left: -6px; }
.float.f2 { bottom: 52px; right: -8px; animation-delay: -2.5s; }
@media (max-width: 520px) { .stage { padding: 30px 0 10px; } .float.f1 { left: 4px; top: 0; } .float.f2 { right: 4px; bottom: 40px; } }

/* Sections */
section { padding-block: 96px; }
.band { background: var(--sky); }
.sec-head { max-width: 760px; }
.sec-title { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.12; letter-spacing: -0.02em; font-weight: 800; }
.sec-intro { margin-top: 16px; font-size: 18px; max-width: 40em; }
.center { text-align: center; margin-inline: auto; }
@media (max-width: 700px) { section { padding-block: 64px; } }

/* Cartes illustrées (problème) */
.cards { margin-top: 52px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px 22px 28px; display: flex; flex-direction: column; align-items: center; text-align: center; min-width: 0; box-shadow: 0 16px 40px -30px rgba(11,31,58,.4); transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -28px rgba(11,31,58,.45); }
.card .illu { width: 100%; height: 190px; margin: 18px 0 20px; position: relative; display: grid; place-items: center; }
.card p { font-size: 17px; color: var(--ink); max-width: 24em; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }

/* Illustration 1 : sources éparpillées */
.src-tile { position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 10px 24px -16px rgba(11,31,58,.4); padding: 10px 12px; display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink); animation: bob 6s ease-in-out infinite; }
.src-tile .dot { width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; background: var(--sky); flex: none; }
.src-tile.t1 { top: 14px; left: 8%; }
.src-tile.t2 { top: 74px; right: 6%; animation-delay: -2s; }
.src-tile.t3 { bottom: 12px; left: 16%; animation-delay: -4s; }
.lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.lines path { stroke: var(--blue-soft); stroke-width: 2; fill: none; stroke-dasharray: 5 6; animation: dash 1.4s linear infinite; }

/* Illustration 2 : frise de délais */
.timeline { width: 92%; display: grid; gap: 14px; }
.tl-bar { position: relative; height: 8px; border-radius: 99px; background: var(--line); overflow: hidden; }
.tl-bar span { position: absolute; inset: 0 auto 0 0; width: 100%; background: linear-gradient(90deg, var(--blue-soft), var(--blue)); border-radius: 99px; transform-origin: left; animation: grow 4s ease-in-out infinite; }
.tl-pts { display: grid; grid-template-columns: repeat(3, 1fr); font-size: 12px; color: var(--muted); }
.tl-pts div:nth-child(2) { text-align: center; }
.tl-pts div:nth-child(3) { text-align: right; }
.tl-pts b { display: block; font: 500 14px var(--font-mono); color: var(--ink); }
.tl-pts .late b { color: var(--warn); }
.tl-card { justify-self: center; display: flex; gap: 8px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; font-size: 13px; color: var(--ink); box-shadow: 0 10px 24px -16px rgba(11,31,58,.4); }

/* Illustration 3 : payées par défaut */
.paylist { width: 88%; display: grid; gap: 8px; }
.payrow { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; }
.payrow .bar { height: 7px; border-radius: 99px; background: var(--line); }
.pill { font: 600 12px var(--font-body); padding: 3px 9px; border-radius: 99px; background: #eef1f6; color: var(--muted); }
.payrow.hot { border-color: #f4c7ae; animation: pulse 2.4s ease-in-out infinite; }
.payrow.hot .pill { background: var(--warn-soft); color: var(--warn); }

/* Fonctionnement : liste d'actions + écran */
.flow { margin-top: 52px; display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.acc { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); position: relative; }
.acc-btn { width: 100%; display: flex; align-items: center; gap: 14px; padding: 18px 0; background: none; border: 0; cursor: pointer; text-align: left; font: 700 19px var(--font-display); color: var(--muted); transition: color .2s; }
.acc-btn .who { margin-left: auto; flex: none; font: 500 11px var(--font-mono); letter-spacing: .06em; text-transform: uppercase; padding: 4px 8px; border-radius: 6px; background: var(--sky); color: var(--blue); }
.acc-btn .who.you { background: var(--ok-soft); color: #0b5c40; }
.acc-btn .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--sky); flex: none; transition: background .2s; }
.acc-btn .ic svg { stroke: var(--blue); }
.acc-item.on .acc-btn { color: var(--ink); }
.acc-item.on .acc-btn .ic { background: var(--blue); }
.acc-item.on .acc-btn .ic svg { stroke: #fff; }
.acc-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.acc-body > div { overflow: hidden; }
.acc-body p { padding: 0 0 20px 48px; font-size: 16px; max-width: 34em; }
.acc-item.on .acc-body { grid-template-rows: 1fr; }
.acc-prog { position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: var(--blue); }
.acc-item.on .acc-prog { animation: prog var(--dur, 6s) linear forwards; }
.flow.paused .acc-item.on .acc-prog { animation: none; width: 100%; }

.screen { min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; }
.screen-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--sky); }
.screen-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--blue-soft); }
.screen-bar span { margin-left: 10px; font: 500 12px var(--font-mono); color: var(--muted); }
.panels { position: relative; height: 360px; }
.panel { position: absolute; inset: 0; padding: 26px; display: flex; flex-direction: column; justify-content: center; gap: 12px; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .4s, transform .4s, visibility .4s; }
.panel.on { opacity: 1; visibility: visible; transform: none; }
.panel .cap { font: 500 12px var(--font-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.row { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 11px 14px; font-size: 14px; color: var(--ink); }
.row .mono { font: 500 13px var(--font-mono); }
.row .sub { color: var(--muted); font-size: 12px; display: block; }
.badge { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: var(--sky); }
.panel.on .row { animation: rise .5s both; }
.panel.on .row:nth-of-type(2) { animation-delay: .25s; }
.panel.on .row:nth-of-type(3) { animation-delay: .5s; }
.panel.on .row:nth-of-type(4) { animation-delay: .75s; }
.panel.on .row:nth-of-type(5) { animation-delay: 1s; }
.ok { color: var(--ok); font-weight: 600; }
.ko { color: var(--warn); font-weight: 600; }

/* Panneau lecture */
.doc { position: relative; border: 1px solid var(--line); border-radius: 12px; padding: 16px; background: #fff; display: grid; gap: 9px; }
.doc .l { height: 8px; border-radius: 99px; background: #eef2f8; }
.doc .field { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; padding: 6px 8px; border-radius: 6px; }
.doc .field b { font: 500 13px var(--font-mono); color: var(--ink); }
.panel.on .doc .field { animation: hl 3.2s both; }
.panel.on .doc .field:nth-of-type(2) { animation-delay: .5s; }
.panel.on .doc .field:nth-of-type(3) { animation-delay: 1s; }
.panel.on .doc .field:nth-of-type(4) { animation-delay: 1.5s; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: 12px; padding: 4px 10px; border-radius: 99px; background: var(--sky); color: var(--blue); font-weight: 600; }
.panel.on .chips .chip { animation: rise .4s both; animation-delay: 2s; }

/* Panneau rapprochement */
.match { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mdoc { border: 1px solid var(--line); border-radius: 12px; padding: 12px; text-align: center; font-size: 12px; color: var(--muted); background: #fff; }
.mdoc b { display: block; font: 500 18px var(--font-mono); color: var(--ink); margin-top: 6px; }
.mdoc.bad b { color: var(--warn); }
.mdoc .k { font-weight: 600; color: var(--ink); font-size: 13px; }
.panel.on .mdoc { animation: rise .5s both; }
.panel.on .mdoc:nth-child(2) { animation-delay: .3s; }
.panel.on .mdoc:nth-child(3) { animation-delay: .6s; }
.link { height: 26px; position: relative; }
.link svg { width: 100%; height: 100%; }
.link path { stroke: var(--blue); stroke-width: 2; fill: none; stroke-dasharray: 300; stroke-dashoffset: 300; }
.panel.on .link path { animation: draw 1.2s .8s forwards; }
.result { border-radius: 12px; padding: 12px 14px; background: var(--warn-soft); color: #8a2f0a; font-size: 14px; }
.panel.on .result { animation: rise .5s 1.6s both; }

/* Panneau validation */
.decide { border: 1px solid var(--line); border-radius: 14px; padding: 16px; display: grid; gap: 12px; position: relative; }
.decide .top { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 14px; color: var(--ink); }
.decide .top b { font-family: var(--font-display); font-size: 20px; }
.letter { background: var(--sky); border-radius: 10px; padding: 12px; font-size: 13px; color: var(--text); line-height: 1.5; }
.btns { display: flex; gap: 8px; }
.btns span { flex: 1; text-align: center; padding: 10px; border-radius: 10px; font-weight: 600; font-size: 14px; border: 1px solid var(--line); color: var(--muted); }
.btns .go { background: var(--blue); color: #fff; border-color: var(--blue); position: relative; }
.panel.on .btns .go { animation: press 3s 1.4s both; }
.cursor { position: absolute; width: 22px; height: 22px; right: 22%; bottom: -30px; opacity: 0; }
.panel.on .cursor { animation: point 3s .6s both; }

/* Panneau suivi */
.track { display: grid; gap: 0; }
.tstep { display: grid; grid-template-columns: 26px 1fr auto; gap: 12px; align-items: start; padding-bottom: 18px; position: relative; font-size: 14px; color: var(--ink); }
.tstep::before { content: ""; position: absolute; left: 12px; top: 24px; bottom: 0; width: 2px; background: var(--line); }
.tstep:last-child::before { display: none; }
.tstep .dot { width: 26px; height: 26px; border-radius: 50%; background: var(--ok); display: grid; place-items: center; }
.tstep small { display: block; color: var(--muted); font-size: 12px; }
.tstep .mono { font: 500 13px var(--font-mono); color: var(--muted); }
.panel.on .tstep { animation: rise .5s both; }
.panel.on .tstep:nth-child(2) { animation-delay: .5s; }
.panel.on .tstep:nth-child(3) { animation-delay: 1s; }
.won { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 12px; background: var(--ok-soft); color: #0b5c40; font-weight: 600; }
.won b { font: 800 24px var(--font-display); color: #064a33; }
.panel.on .won { animation: rise .5s 1.5s both; }
@media (max-width: 920px) { .flow { grid-template-columns: 1fr; gap: 32px; } .screen { order: -1; } }
@media (max-width: 520px) { .panels { height: 390px; } .panel { padding: 18px; } .acc-btn { font-size: 17px; } .acc-btn .who { display: none; } .acc-body p { padding-left: 0; } }

/* Promesses */
.promises { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.promise { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px; min-width: 0; }
.promise .tile { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(145deg, #3b7bf0, var(--blue-dark)); box-shadow: 0 12px 24px -12px rgba(31,95,214,.8), inset 0 1px 0 rgba(255,255,255,.3); margin-bottom: 20px; }
.promise h3 { font-size: 19px; margin-bottom: 8px; }
.promise p { font-size: 16px; }
@media (max-width: 900px) { .promises { grid-template-columns: 1fr; } }

/* Cadre légal */
.law { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 44px; }
.law div { border-top: 2px solid var(--blue); padding-top: 16px; }
.law b { display: block; font: 800 18px var(--font-display); color: var(--ink); margin-bottom: 6px; }
.law p { font-size: 15px; }
.law-note { margin-top: 26px; font-size: 13px; color: var(--muted); }
@media (max-width: 900px) { .law { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .law { grid-template-columns: 1fr; } }

/* FAQ */
.faq { margin-top: 36px; max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font: 700 18px var(--font-display); color: var(--ink); display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--blue); font-weight: 600; font-size: 22px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 20px; max-width: 44em; }

/* Appel final */
.cta { position: relative; overflow: hidden; background: var(--ink); color: #c9d6ea; border-radius: 24px; padding: 60px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.cta::after { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -160px; border-radius: 50%; background: radial-gradient(closest-side, rgba(59,123,240,.45), transparent); pointer-events: none; }
.cta h2 { color: #fff; font-size: clamp(28px, 3.2vw, 40px); line-height: 1.12; }
.cta p { margin-top: 14px; }
.cta .actions { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.cta .btn-primary { background: #fff; color: var(--ink); }
.cta .btn-primary:hover { background: #dce8fb; }
.cta .mail { font: 500 15px var(--font-mono); color: #fff; }
.cta .mail { text-decoration: underline; text-decoration-color: rgba(255,255,255,.35); text-underline-offset: 4px; }
.cta .mail:hover { text-decoration-color: #fff; }
@media (max-width: 860px) { .cta { grid-template-columns: 1fr; padding: 38px 24px; } }

/* Pied */
footer { border-top: 1px solid var(--line); padding-block: 28px; font-size: 14px; color: var(--muted); }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes scan { 0% { top: -60px; } 100% { top: 100%; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes dash { to { stroke-dashoffset: -22; } }
@keyframes grow { 0% { transform: scaleX(.05); } 60%, 100% { transform: scaleX(1); } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(194,65,12,.0); } 50% { box-shadow: 0 0 0 6px rgba(194,65,12,.12); } }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes hl { 0% { background: transparent; } 20%, 60% { background: #e4edfd; } 100% { background: var(--sky); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes prog { from { width: 0; } to { width: 100%; } }
@keyframes press { 0%, 40% { transform: scale(1); } 46% { transform: scale(.95); } 52%, 100% { transform: scale(1); box-shadow: 0 0 0 6px rgba(31,95,214,.18); } }
@keyframes point { 0% { opacity: 0; transform: translate(60px, 30px); } 30% { opacity: 1; } 45% { transform: translate(0, -58px); } 55% { transform: translate(0, -54px); } 100% { opacity: 1; transform: translate(0, -58px); } }
footer a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); }
footer a:hover { color: var(--blue); }

/* Effets d'entrée et de scroll (ajout 26 nov.) */
.progress { position: fixed; left: 0; top: env(safe-area-inset-top, 0px); height: 3px; width: 100%; transform-origin: left; transform: scaleX(0); background: linear-gradient(90deg, var(--blue), #3b7bf0); z-index: 20; pointer-events: none; }
header { transition: box-shadow .3s, background .3s; }
header.scrolled { box-shadow: 0 8px 24px -18px rgba(11,31,58,.45); }
.js-anim .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.js-anim .reveal.in { opacity: 1; transform: none; }
.js-anim .hero h1 .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.js-anim .hero h1 .w > span { display: inline-block; transform: translateY(105%); animation: wordup .9s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: var(--d, 0s); }
.hero h1 .hl .dot { color: var(--ink); } /* point final collé au dernier mot bleu, mais en couleur encre */
.js-anim .hero .lead, .js-anim .hero .actions, .js-anim .hero .reassure { opacity: 0; animation: fadeup .8s cubic-bezier(.2,.7,.2,1) forwards; }
.js-anim .hero .lead { animation-delay: .55s; } .js-anim .hero .actions { animation-delay: .7s; } .js-anim .hero .reassure { animation-delay: .85s; }
.js-anim .stage { opacity: 0; animation: fadeup 1s .4s cubic-bezier(.2,.7,.2,1) forwards; }
.notice { transition: transform .4s ease-out; will-change: transform; }
.js-anim .law div { border-top-color: transparent; position: relative; }
.js-anim .law div::before { content: ""; position: absolute; left: 0; top: -2px; height: 2px; width: 100%; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform 1s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.js-anim .law div.in::before { transform: scaleX(1); }
@keyframes wordup { to { transform: none; } }
@keyframes fadeup { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .acc-item.on .acc-prog { width: 100%; }
}
