/* Brin de plume — feuille de style du site */

@font-face { font-family: "Bricolage Grotesque"; src: url("fonts/bricolage-grotesque-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("fonts/figtree-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("fonts/figtree-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("fonts/figtree-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("fonts/figtree-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Playwrite FR Moderne"; src: url("fonts/playwrite-fr-moderne-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --ink: #141A3C;
  --ground: #F1F2FA;
  --paper: #FFFFFF;
  --muted: #474F73;
  --accent: #2B3A9E;
  --accent-hover: #1F2C7E;
  --rule: #BFC8EC;
  --red: #D8404F;
  --red-text: #C7303F;
  --panel: #E3E6F6;
  --on-dark: #C9CFEC;
  --display: "Bricolage Grotesque", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; font-family: "Figtree", system-ui, sans-serif; font-size: 17px; line-height: 1.55; color: var(--ink); background: var(--ground); }
main { flex: 1 0 auto; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; margin: 0; }
p { margin: 0; }
a { color: var(--ink); }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

.skip { position: absolute; left: -9999px; top: 16px; padding: 12px 16px; background: #fff; z-index: 30; }
.skip:focus { left: 16px; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.wrap--narrow { max-width: 760px; }
.stack { display: flex; flex-direction: column; gap: 24px; }
.muted { color: var(--muted); }

.eyebrow { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.eyebrow--red { color: var(--red-text); }
.eyebrow--dark { color: var(--on-dark); }
.h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.08; letter-spacing: -0.025em; }
.h3 { font-size: 24px; line-height: 1.2; letter-spacing: -0.01em; }
.big { font-size: 19px; color: var(--muted); }

.icon { flex: none; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 8px 30px; border: 0; border-radius: 999px; background: var(--accent); color: #fff; font-family: inherit; font-size: 18px; font-weight: 700; line-height: 1.2; text-align: center; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--accent-hover); color: #fff; }
.btn--small { min-height: 44px; padding: 6px 22px; font-size: 16px; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--panel); color: var(--ink); }
.btn--ghost { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn--ghost:hover { background: var(--panel); color: var(--ink); }
.btn--block { display: flex; width: 100%; }

/* En-tête */
.site-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 20px; padding-bottom: 20px; }
.brand { font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: -0.02em; text-decoration: none; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; }
.site-nav a:not(.btn) { font-size: 16px; font-weight: 500; text-decoration: none; padding: 12px 0; }
@media (max-width: 600px) { .site-nav a:not(.btn) { display: none; } }

/* Accroche */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: 40px; padding-bottom: 96px; }
.hero__text { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.hero h1 { font-size: clamp(38px, 5.2vw, 64px); line-height: 1.04; letter-spacing: -0.03em; }
.underline { text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 5px; text-underline-offset: 8px; }
.lead { font-size: 20px; line-height: 1.5; color: var(--muted); max-width: 520px; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.cta-row .link { font-weight: 600; padding: 12px 0; }
.price-note { margin-top: -8px; font-size: 16px; font-weight: 600; color: var(--muted); }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 15px; font-weight: 500; color: var(--muted); }
.ticks li { display: flex; align-items: center; gap: 8px; }

.hero__visual { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.voice { align-self: flex-start; max-width: 100%; display: flex; align-items: center; gap: 14px; padding: 12px 20px 12px 12px; border-radius: 999px; background: var(--accent); color: #fff; }
.voice__play { flex: none; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--accent); display: flex; align-items: center; justify-content: center; }
.voice__bars { display: flex; align-items: center; gap: 3px; height: 32px; min-width: 0; overflow: hidden; }
.voice__bars i { flex: none; width: 3px; border-radius: 2px; background: #fff; }
.voice__time { flex: none; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.becomes { display: flex; align-items: center; gap: 10px; margin-top: 12px; }

.letter { position: relative; transform: rotate(-1.2deg); margin: 4px 6px 0; padding: 40px 28px 28px 76px; border-radius: 3px; background-color: #fff;
  background-image:
    repeating-linear-gradient(to bottom, transparent 0, transparent 31px, #BFC8EC 31px, #BFC8EC 32px),
    repeating-linear-gradient(to bottom, transparent 0, transparent 7px, #ECEEFA 7px, #ECEEFA 8px),
    repeating-linear-gradient(to right, transparent 0, transparent 23px, #DDE1F5 23px, #DDE1F5 24px, transparent 24px, transparent 32px);
  box-shadow: 0 1px 2px rgba(20, 26, 60, 0.08), 0 18px 40px rgba(20, 26, 60, 0.14); }
.letter::before { content: ""; position: absolute; top: 0; bottom: 0; left: 55px; width: 2px; background: var(--red); opacity: 0.75; }
.letter p { font-family: "Playwrite FR Moderne", cursive; font-size: 16px; line-height: 32px; color: #1F2D8A; }
.letter .sign { text-align: right; }
.letter__extras { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.drawing { width: 156px; padding: 6px; background: #fff; transform: rotate(2.5deg); box-shadow: 0 1px 3px rgba(20, 26, 60, 0.28); }
.drawing svg { display: block; width: 100%; height: auto; }
.qr { display: flex; align-items: center; gap: 10px; padding: 8px 12px 8px 8px; background: #fff; border: 1px solid #DDE1F5; border-radius: 6px; font-size: 12px; font-weight: 600; line-height: 1.35; }
.qr svg { flex: none; width: 56px; height: 56px; }
.qr span { max-width: 112px; }
.fineprint { margin-top: 12px; font-size: 13px; color: var(--muted); }
@media (max-width: 480px) {
  .letter { padding-left: 40px; padding-right: 18px; }
  .letter::before { left: 23px; }
}

/* Sections */
.section { padding: 88px 0; }
.section--white { background: #fff; }
.section--dark { background: var(--ink); color: #fff; }
@media (max-width: 600px) { .section { padding: 64px 0; } .hero { padding-bottom: 64px; gap: 40px; } }

.steps { list-style: none; margin: 48px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 40px 48px; }
.steps li { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.step__num { display: flex; align-items: center; gap: 14px; color: var(--accent); }
.step__num span { font-family: var(--display); font-weight: 800; font-size: 56px; line-height: 1; }
.step__num .icon { stroke-width: 2; }

.split { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 48px 56px; }
.split > * { flex: 1 1 400px; min-width: 0; }
.points { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 20px; }
.points strong { display: block; font-size: 18px; margin-bottom: 4px; }
.points span { color: var(--muted); }

.compare { display: flex; flex-direction: column; gap: 16px; }
.said, .written { display: flex; flex-direction: column; gap: 10px; padding: 24px 28px; border-radius: 16px; }
.said { background: var(--panel); }
.said p:last-child { font-size: 17px; line-height: 1.6; color: var(--muted); }
.written { background: #fff; box-shadow: 0 1px 2px rgba(20, 26, 60, 0.08), 0 12px 28px rgba(20, 26, 60, 0.10); }
.written p:last-child { font-size: 19px; line-height: 1.6; }
.kept { text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 3px; text-underline-offset: 5px; }

.question-band { display: flex; flex-wrap: wrap; align-items: center; gap: 32px 56px; padding: 48px; border-radius: 24px; background: var(--ink); color: #fff; }
.question-band > * { flex: 1 1 360px; min-width: 0; }
.question-band h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 16px; }
.question-band p { color: var(--on-dark); }
.chips { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.chip { padding: 12px 20px; border-radius: 20px; background: #fff; color: var(--ink); font-weight: 600; }
@media (max-width: 600px) { .question-band { padding: 32px 24px; } }

.timeline { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 20px; }
.timeline li { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.timeline strong { flex: 0 0 170px; }
.timeline span { flex: 1 1 220px; color: var(--muted); }

.offer-card { display: flex; flex-direction: column; gap: 20px; padding: 36px; border-radius: 24px; background: var(--ground); border: 2px solid var(--ink); }
.offer-card h3 { font-size: 28px; line-height: 1.15; letter-spacing: -0.015em; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.price b { font-family: var(--display); font-weight: 800; font-size: 64px; line-height: 1; letter-spacing: -0.03em; }
.price > span { font-weight: 600; color: var(--muted); }
.includes { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.includes li { display: flex; align-items: flex-start; gap: 12px; }
.includes .icon { margin-top: 3px; color: var(--accent); }
.offer-card .fineprint { margin-top: 0; font-size: 14px; }
@media (max-width: 480px) { .offer-card { padding: 24px; } .price b { font-size: 52px; } }

.faq { margin-top: 32px; border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { padding: 18px 0; font-size: 18px; font-weight: 600; cursor: pointer; }
.faq details p { padding: 0 0 20px; color: var(--muted); }

.final { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.final h2 { font-size: clamp(32px, 4.2vw, 52px); line-height: 1.05; letter-spacing: -0.03em; }
.final p { font-size: 19px; color: var(--on-dark); }

/* Pied de page */
.site-footer { background: var(--ink); color: var(--on-dark); border-top: 1px solid #343B63; font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 32px; padding-top: 28px; padding-bottom: 28px; }
.site-footer nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; }
.site-footer a, .linkbtn { display: inline-block; padding: 10px 0; color: var(--on-dark); }
.site-footer a:hover, .linkbtn:hover { color: #fff; }
.linkbtn { background: none; border: 0; font: inherit; text-decoration: underline; cursor: pointer; }
.linkbtn[hidden] { display: none; }

/* Bandeau de consentement */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 20; max-width: 560px; margin: 0 auto; padding: 20px 24px; border-radius: 16px; background: #fff; color: var(--ink); box-shadow: 0 12px 40px rgba(20, 26, 60, 0.3); display: flex; flex-direction: column; gap: 14px; font-size: 15px; }
.consent[hidden] { display: none; }
.consent__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.consent__actions .btn { flex: 1 1 140px; }

/* Pages de texte */
.legal { padding: 48px 0 88px; }
.legal h1 { font-size: clamp(32px, 4vw, 44px); line-height: 1.1; letter-spacing: -0.025em; margin-bottom: 8px; }
.legal h2 { font-size: 22px; line-height: 1.25; letter-spacing: -0.01em; margin: 40px 0 10px; }
.legal p { margin: 0 0 14px; }
.legal ul { margin: 0 0 14px; padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal .updated { color: var(--muted); font-size: 15px; }
.todo { background: #FFEFA8; color: var(--ink); padding: 1px 5px; border-radius: 3px; }

.thanks { min-height: 60vh; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 24px; padding: 72px 0 96px; }
.thanks h1 { font-size: clamp(36px, 5vw, 56px); line-height: 1.05; letter-spacing: -0.03em; }
