@font-face{font-family:"Fraunces";font-weight:600;font-style:normal;font-display:swap;src:url(/fonts/fraunces-latin-600-normal.woff2) format("woff2")}
@font-face{font-family:"Fraunces";font-weight:700;font-style:normal;font-display:swap;src:url(/fonts/fraunces-latin-700-normal.woff2) format("woff2")}
@font-face{font-family:"Fraunces";font-weight:400;font-style:italic;font-display:swap;src:url(/fonts/fraunces-latin-400-italic.woff2) format("woff2")}
@font-face{font-family:"IBM Plex Sans";font-weight:400;font-style:normal;font-display:swap;src:url(/fonts/ibm-plex-sans-latin-400-normal.woff2) format("woff2")}
@font-face{font-family:"IBM Plex Sans";font-weight:500;font-style:normal;font-display:swap;src:url(/fonts/ibm-plex-sans-latin-500-normal.woff2) format("woff2")}
@font-face{font-family:"IBM Plex Sans";font-weight:600;font-style:normal;font-display:swap;src:url(/fonts/ibm-plex-sans-latin-600-normal.woff2) format("woff2")}

:root {
  --bg: #fbf7f0; --bg-2: #f3ede1; --surface: #fff;
  --ink: #1b2a27; --ink-2: #44544f; --ink-3: #5a6965;
  --line: #e3dac8; --line-strong: #cfc3ab;
  --primary: #1f4d45; --primary-hover: #173b35; --primary-soft: #ddebe6; --on-primary: #fff;
  --accent: #b9472f; --accent-soft: #f8e3dc; --sun: #e0795f;
  --in: #25704f; --in-soft: #dcefe4; --out: #b9472f; --pending: #855c00; --pending-soft: #f7eccf; --danger: #b42318;
  --dark: #12302b; --dark-ink: #f3ede1; --dark-ink-2: #b7c7c1;
  --font-title: "Fraunces", Georgia, "Times New Roman", serif;
  --font-text: "IBM Plex Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --radius: 12px; --radius-lg: 22px; --shadow: 0 1px 2px rgb(27 42 39 / .06), 0 8px 28px rgb(27 42 39 / .07);
  --focus: 0 0 0 3px rgb(31 77 69 / .5); --wrap: 1120px; --tap: 48px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--font-text); font-variant-numeric: tabular-nums; }
img, svg { max-width: 100%; }
h1, h2, h3 { font-family: var(--font-title); font-weight: 600; line-height: 1.08; letter-spacing: -.015em; margin: 0; }
h2 { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.1rem); max-width: 22ch; }
h3 { font-size: 1.35rem; line-height: 1.2; }
p { margin: 0; }
em { font-style: italic; font-weight: 400; color: var(--accent); }
a { color: inherit; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 8px; }
button, input, select, textarea { font: inherit; color: inherit; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: 20px; }
section { padding-block: clamp(56px, 8vw, 112px); position: relative; }
.eyebrow { font: 600 .8125rem/1 var(--font-text); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; display: block; }
.lead { font-size: clamp(1.05rem, .95rem + .5vw, 1.3rem); color: var(--ink-2); max-width: 56ch; margin-top: 18px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: var(--tap); padding: 0 24px; border-radius: 99px; border: 1.5px solid var(--primary); background: transparent; color: var(--primary); font-weight: 600; text-decoration: none; cursor: pointer; transition: background .15s, color .15s, transform .15s; }
.btn:hover { background: var(--primary-soft); }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--primary); color: var(--on-primary); }
.btn.primary:hover { background: var(--primary-hover); }
.btn.sm { min-height: 40px; padding: 0 16px; font-size: .9375rem; }
.btn.light { border-color: var(--dark-ink); color: var(--dark-ink); }
.btn.light:hover { background: rgb(255 255 255 / .1); }
.btn.sun { background: var(--sun); border-color: var(--sun); color: #1b0f0a; }
.btn.sun:hover { background: #ec9078; }
.row { display: flex; flex-wrap: wrap; gap: 12px; }

/* En-tête */
.top { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top, 0px); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.top svg.logo { height: 34px; width: auto; display: block; }
.top nav { display: none; gap: 28px; font-weight: 500; }
.top nav a { text-decoration: none; color: var(--ink-2); padding: 8px 0; }
.top nav a:hover { color: var(--primary); }
@media (min-width: 820px) { .top nav { display: flex; } }

/* 1. Ouverture */
.hero { padding-top: clamp(40px, 6vw, 88px); overflow: hidden; }
.hero .grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .hero .grid { grid-template-columns: 1.05fr 1fr; } }
.hero h1 { font-size: clamp(2.7rem, 1.4rem + 5.4vw, 5.2rem); line-height: .98; letter-spacing: -.025em; }
.proofs { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 10px; color: var(--ink-2); font-size: .9875rem; }
.proofs li { display: flex; gap: 12px; align-items: baseline; }
.proofs li::before { content: ""; flex: none; width: 22px; border-top: 2px solid var(--primary); transform: translateY(-4px); }
.proofs li:nth-child(2)::before { border-top-style: dashed; border-color: var(--accent); }
.horizon { width: 100%; height: auto; display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.hz-solid { stroke-dasharray: 520; stroke-dashoffset: 520; animation: draw 1.6s .2s cubic-bezier(.2, .7, .2, 1) forwards; }
.hz-dash { opacity: 0; animation: fade .8s 1.6s forwards; }
.hz-sun { transform-origin: 50% 50%; opacity: 0; animation: fade .6s 1.3s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }

/* 2. Pour qui */
.who { background: var(--bg-2); border-block: 1px solid var(--line); }
.cards3 { display: grid; gap: 16px; margin-top: 44px; }
@media (min-width: 860px) { .cards3 { grid-template-columns: repeat(3, 1fr); } }
.pain { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.pain .tag { align-self: flex-start; font: 600 .75rem/1 var(--font-text); letter-spacing: .08em; text-transform: uppercase; padding: 6px 12px; border-radius: 99px; background: var(--accent-soft); color: var(--accent); }
.pain .tag.eq { background: var(--primary-soft); color: var(--primary); }
.pain h3 { font-size: 1.45rem; }
.pain .fix { border-top: 2px dashed var(--line-strong); padding-top: 14px; color: var(--ink-2); font-size: .975rem; margin-top: auto; }
.pain .fix b { color: var(--primary); }

/* 3. Démo en direct */
.demo { background: var(--dark); color: var(--dark-ink); }
.demo h2 { color: var(--dark-ink); } .demo .lead { color: var(--dark-ink-2); } .demo .eyebrow { color: var(--sun); }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0 16px; }
.tabs button { min-height: var(--tap); padding: 0 22px; border-radius: 99px; border: 1.5px solid var(--dark-ink-2); background: transparent; color: var(--dark-ink); font-weight: 600; cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--dark-ink); color: var(--dark); border-color: var(--dark-ink); }
.dev { margin-left: auto; display: none; gap: 8px; }
@media (min-width: 720px) { .dev { display: flex; } }
.dev button { min-height: 40px; padding: 0 16px; border-radius: 99px; border: 1.5px solid var(--dark-ink-2); background: transparent; color: var(--dark-ink); cursor: pointer; font-weight: 500; }
.dev button[aria-pressed="true"] { background: rgb(255 255 255 / .16); }
.stage { display: flex; justify-content: center; background: #0b211d; border-radius: var(--radius-lg); padding: clamp(10px, 2vw, 22px); }
.frame { width: 100%; background: var(--bg); border-radius: 14px; overflow: hidden; box-shadow: 0 24px 60px rgb(0 0 0 / .45); transition: max-width .3s ease; }
.frame.phone { max-width: 392px; border-radius: 30px; border: 8px solid #060f0d; }
.frame .bar { display: flex; gap: 6px; padding: 10px 14px; background: #e8e0cf; }
.frame.phone .bar { display: none; }
.frame .bar i { width: 11px; height: 11px; border-radius: 50%; background: #c9bea4; display: block; }
.frame iframe { display: block; width: 100%; height: 640px; border: 0; background: var(--bg); }
.frame.phone iframe { height: 700px; }
.tour { margin-top: 18px; display: grid; gap: 16px; }
@media (min-width: 900px) { .tour { grid-template-columns: 1.4fr 1fr; align-items: start; } }
.cap { background: rgb(255 255 255 / .07); border: 1px solid rgb(255 255 255 / .16); border-radius: var(--radius); padding: 18px 20px; min-height: 120px; }
.cap small { color: var(--sun); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: .75rem; }
.cap p { font-family: var(--font-title); font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem); line-height: 1.3; margin-top: 8px; }
.ctrl { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.ctrl label { display: inline-flex; align-items: center; gap: 8px; color: var(--dark-ink-2); min-height: 40px; }
.ctrl input[type=checkbox] { width: 20px; height: 20px; accent-color: var(--sun); }
.steps { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.steps button { width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--dark-ink-2); background: transparent; color: var(--dark-ink); font-weight: 600; cursor: pointer; }
.steps button[aria-current="step"] { background: var(--sun); border-color: var(--sun); color: #1b0f0a; }
.demo :focus-visible { box-shadow: 0 0 0 3px rgb(224 121 95 / .7); }

/* 4. Comment ça marche */
.how .cards3 { counter-reset: s; }
.step { position: relative; padding: 28px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); }
.step::before { counter-increment: s; content: counter(s); font: 600 3.4rem/1 var(--font-title); color: var(--line-strong); display: block; margin-bottom: 8px; }
.step h3 { margin-bottom: 10px; } .step p { color: var(--ink-2); }
.step svg { display: block; margin-top: 18px; width: 100%; height: 56px; }
.rv { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.rv.in { opacity: 1; transform: none; }
.rv:nth-child(2) { transition-delay: .12s; } .rv:nth-child(3) { transition-delay: .24s; }

/* 5. Plein / pointillé */
.pd { background: var(--bg-2); border-block: 1px solid var(--line); }
.pd .grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .pd .grid { grid-template-columns: 1fr 1fr; } }
.try { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); }
.try .item { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 20px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.try .item b { font-size: 1.15rem; }
.chip { display: inline-block; font-size: .8125rem; font-weight: 600; padding: 3px 12px; border-radius: 99px; background: #ebe5d6; color: var(--ink-2); }
.chip.pl { border: 1.5px dashed var(--line-strong); background: transparent; } .chip.re { background: var(--accent-soft); color: var(--accent); }
.nums { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.num { border-radius: var(--radius); padding: 16px; min-width: 0; }
@media (max-width: 520px) { .num { padding: 12px; } .num strong { font-size: 1.2rem; } }
.num.re { background: var(--primary-soft); border-left: 5px solid var(--in); }
.num.pl { border: 2px dashed var(--line-strong); }
.num small { display: block; font-weight: 600; font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.num strong { display: block; font: 600 clamp(1.4rem, 1rem + 1.6vw, 2rem)/1.15 var(--font-title); margin-top: 6px; transition: color .3s; }
.num.pl strong span { border-bottom: 2px dotted currentColor; }
.flash { animation: flash .8s; } @keyframes flash { from { background: #cfe8da; } }
.try .note { margin-top: 16px; color: var(--ink-2); font-size: .9375rem; min-height: 3.2em; }

/* 6. Formules */
.plans { display: grid; gap: 20px; margin-top: 28px; }
@media (min-width: 980px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.pricebar { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 36px; }
.seg2 { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border: 1.5px solid var(--line-strong); border-radius: 99px; background: var(--surface); }
.seg2 button { min-height: 44px; padding: 0 18px; border: 0; border-radius: 99px; background: transparent; font-weight: 600; cursor: pointer; color: var(--ink-2); }
.seg2 button[aria-pressed="true"] { background: var(--primary); color: #fff; }
.plan .amount { font: 600 clamp(2rem, 1.4rem + 2vw, 2.9rem)/1.05 var(--font-title); letter-spacing: -.02em; }
.plan .amount small { font: 500 1rem var(--font-text); letter-spacing: 0; opacity: .85; margin-left: 6px; }
.plan .sub { display: block; font-size: .9rem; opacity: .85; margin-top: 4px; min-height: 1.3em; }
.plan .price { min-height: 9.2rem; }
.plan .btn { text-align: center; }
@media (max-width: 520px) { .seg2 { border-radius: 24px; } .seg2 button { padding: 0 12px; font-size: .9rem; white-space: nowrap; } }
.langsw { display: inline-flex; gap: 2px; padding: 3px; border: 1.5px solid var(--line-strong); border-radius: 99px; background: var(--surface); }
.langsw button { min-width: 44px; min-height: 44px; border: 0; border-radius: 99px; background: transparent; font-weight: 600; cursor: pointer; color: var(--ink-2); }
.langsw button[aria-pressed="true"] { background: var(--primary); color: #fff; }
@media (max-width: 520px) { .top .wrap > .btn { display: none; } }
.fine { margin-top: 18px; color: var(--ink-2); font-size: .875rem; max-width: 80ch; }
.plan { border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 18px; border: 1px solid var(--line); background: var(--surface); }
.plan.eq { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }
.plan .tag { font: 600 .75rem/1 var(--font-text); letter-spacing: .1em; text-transform: uppercase; opacity: .85; }
.plan h3 { font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.3rem); }
.plan p.who-for { opacity: .88; }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.plan li { display: flex; gap: 12px; align-items: baseline; }
.plan li::before { content: ""; flex: none; width: 14px; height: 8px; border-left: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: rotate(-45deg) translateY(-3px); }
.plan .price { margin-top: auto; padding-top: 18px; border-top: 2px dashed currentColor; opacity: .95; font-weight: 500; }
.plan.eq .btn { border-color: var(--on-primary); color: var(--on-primary); }
.plan.eq .btn.primary { background: var(--on-primary); color: var(--primary); }
.plan.eq .btn:hover { background: rgb(255 255 255 / .14); } .plan.eq .btn.primary:hover { background: #eaf2ef; }
.wait { margin-top: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; display: grid; gap: 14px; }
.wait form { display: flex; flex-wrap: wrap; gap: 10px; }
.wait input[type=email] { flex: 1 1 260px; min-height: var(--tap); border: 1.5px solid var(--line-strong); border-radius: 99px; padding: 0 20px; background: var(--bg); }
.wait select { min-height: var(--tap); border: 1.5px solid var(--line-strong); border-radius: 99px; padding: 0 16px; background: var(--bg); }
.msg { min-height: 1.6em; font-weight: 500; color: var(--primary); } .msg.err { color: var(--danger); }

/* 7. Diagnostic */
.diag .grid { display: grid; gap: 28px; margin-top: 40px; }
@media (min-width: 960px) { .diag .grid { grid-template-columns: 1.3fr 1fr; align-items: start; } }
.q { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin: 0 0 12px; }
.q legend { font-weight: 600; padding: 0 6px; margin-left: -6px; }
.q .opts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.q label { flex: 1 1 100px; }
.q input { position: absolute; opacity: 0; }
.q label span { display: flex; align-items: center; justify-content: center; min-height: var(--tap); border: 1.5px solid var(--line-strong); border-radius: 99px; cursor: pointer; font-weight: 500; transition: background .15s; }
.q input:checked + span { background: var(--primary); color: #fff; border-color: var(--primary); }
.q input:focus-visible + span { box-shadow: var(--focus); }
.res { background: var(--surface); border: 2px dashed var(--line-strong); border-radius: var(--radius-lg); padding: 28px; position: sticky; top: 90px; }
.res.done { border-style: solid; border-color: var(--primary); }
.score { font: 600 clamp(3.4rem, 2rem + 6vw, 5.4rem)/1 var(--font-title); }
.score small { font-size: .3em; color: var(--ink-2); font-weight: 400; }
.meter { height: 12px; border-radius: 99px; background: #ebe5d6; margin: 14px 0; overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--primary); border-radius: 99px; width: 0; transition: width .7s ease; }
.res ol { padding-left: 20px; display: grid; gap: 12px; margin: 14px 0 0; }
.res ol b { display: block; }

/* 8. FAQ */
.faq { background: var(--bg-2); border-top: 1px solid var(--line); }
.faq details { border-top: 1px solid var(--line-strong); padding: 6px 0; max-width: 820px; }
.faq details:last-of-type { border-bottom: 1px solid var(--line-strong); }
.faq summary { min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; font: 600 1.2rem/1.3 var(--font-title); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 1.8rem/1 var(--font-text); color: var(--accent); flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-2); padding: 0 0 20px; max-width: 64ch; }
.faq h2 { margin-bottom: 32px; }

/* 9. Appel final */
.final { background: var(--dark); color: var(--dark-ink); text-align: left; overflow: hidden; }
.final h2 { color: var(--dark-ink); max-width: 16ch; font-size: clamp(2.4rem, 1.2rem + 5vw, 4.6rem); }
.final .lead { color: var(--dark-ink-2); }
.final .hz { position: absolute; left: 0; right: 0; bottom: 0; height: 120px; opacity: .55; pointer-events: none; }
.final .wrap { position: relative; padding-bottom: 80px; }
footer { background: #0b211d; color: var(--dark-ink-2); padding-block: 36px; font-size: .9rem; }
footer .wrap { display: grid; gap: 14px; }
footer a { color: var(--dark-ink); }
.wm { text-transform: none; letter-spacing: 0; font-family: var(--font-title); font-weight: 600; font-size: 1.15em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wait .consent { flex: 1 1 100%; display: flex; gap: 10px; align-items: flex-start; font-size: .875rem; color: var(--ink-2); cursor: pointer; }
.wait .consent input { width: 22px; height: 22px; margin-top: 1px; flex: none; accent-color: var(--primary); }
