:root {
  --primary: #D1432A; --primary-dark: #B8341B; --primary-tint: #F6B8AB; --primary-soft: #FDEDE9;
  --ink: #2B1A16; --muted: #6B5B56; --line: #EADFDB; --bg: #FBF7F5; --card: #FFFFFF; --band: #FFF3EF;
  --radius: 16px; --max: 1080px;
}
@media (prefers-color-scheme: dark) {
  :root { --ink: #F5ECE8; --muted: #B9A9A3; --line: #3D2B26; --bg: #1B1210; --card: #251914; --band: #221612; --primary-soft: #3A1F18; }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: var(--primary-dark); }
@media (prefers-color-scheme: dark) { a { color: var(--primary-tint); } }
.wrap { width: min(var(--max), 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 8px; top: 8px; background: #fff; color: #000; padding: 8px 12px; border-radius: 8px; z-index: 10; }
:focus-visible { outline: 3px solid var(--primary-tint); outline-offset: 2px; border-radius: 6px; }

/* En-tête */
header.top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; color: var(--ink); text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
nav.main { display: flex; gap: 22px; margin-left: auto; }
nav.main a { color: var(--muted); text-decoration: none; font-size: 15px; }
nav.main a:hover { color: var(--ink); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 12px; background: var(--primary); color: #fff; font: inherit; font-weight: 600; text-decoration: none; border: 0; cursor: pointer; }
.btn:hover { background: var(--primary-dark); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn.ghost:hover { background: var(--primary-soft); }
.btn.small { padding: 9px 14px; font-size: 15px; }
.btn[aria-disabled="true"] { opacity: .75; cursor: default; }
@media (max-width: 760px) { nav.main { display: none; } header.top .wrap { justify-content: space-between; } }

/* Hero */
.hero { padding: 64px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.eyebrow { display: inline-block; background: var(--primary-soft); color: var(--primary-dark); font-weight: 600; font-size: 14px; padding: 5px 12px; border-radius: 999px; }
@media (prefers-color-scheme: dark) { .eyebrow { color: var(--primary-tint); } }
h1 { font-size: clamp(32px, 5vw, 52px); line-height: 1.1; margin: 16px 0; letter-spacing: -.02em; }
.lead { font-size: 19px; color: var(--muted); max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 14px; }
.fine { font-size: 14px; color: var(--muted); }
.desktop-note { display: none; margin-top: 18px; padding: 14px 16px; border-radius: 12px; background: var(--primary-soft); border-left: 4px solid var(--primary); }
.desktop-note p { margin: 0 0 10px; }
@media (hover: none) and (pointer: coarse), (max-width: 760px) { .desktop-note { display: block; } }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } }

/* Aperçu */
.mock { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 18px; box-shadow: 0 20px 50px rgba(43,26,22,.12); }
.mock-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; font-weight: 600; }
.mock-head small { color: var(--muted); font-weight: 400; }
.mock-row { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.mock-thumb { width: 44px; height: 44px; border-radius: 8px; background: linear-gradient(135deg, var(--primary-tint), var(--primary-soft)); }
.mock-name { font-weight: 600; font-size: 15px; }
.mock-meta { font-size: 13px; color: var(--muted); }
.mock-btn { background: var(--primary); color: #fff; border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.mock-note { margin: 12px 0 0; font-size: 12px; color: var(--muted); }

/* Sections */
section { padding: 56px 0; }
section.band { background: var(--band); border-block: 1px solid var(--line); }
h2 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.2; margin: 0 0 12px; letter-spacing: -.01em; }
.sub { color: var(--muted); max-width: 40em; margin: 0 0 32px; }
.grid { display: grid; gap: 16px; }
.steps { grid-template-columns: repeat(3, 1fr); counter-reset: step; }
.features { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { margin: 0 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 700; margin-bottom: 12px; }
.ico { width: 40px; height: 40px; border-radius: 10px; background: var(--primary-soft); display: grid; place-items: center; margin-bottom: 12px; color: var(--primary-dark); }
@media (prefers-color-scheme: dark) { .ico { color: var(--primary-tint); } }
@media (max-width: 860px) { .steps, .features { grid-template-columns: 1fr; } }
@media (min-width: 861px) and (max-width: 1000px) { .features { grid-template-columns: repeat(2, 1fr); } }

/* Tarifs */
.pricing { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
.plan { display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--primary); box-shadow: 0 10px 30px rgba(209,67,42,.15); position: relative; }
.plan .tag { position: absolute; top: -13px; left: 20px; background: var(--primary); color: #fff; font-size: 13px; font-weight: 600; padding: 3px 12px; border-radius: 999px; }
.price { font-size: 36px; font-weight: 700; margin: 6px 0 0; line-height: 1.1; }
.price small { font-size: 16px; font-weight: 500; color: var(--muted); }
.alt-price { color: var(--muted); font-size: 15px; margin: 4px 0 0; }
.plan ul { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 8px; flex: 1; }
.plan li { padding-left: 26px; position: relative; font-size: 16px; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--primary); font-weight: 700; }
@media (max-width: 860px) { .pricing { grid-template-columns: 1fr; } }

/* FAQ */
details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 0 18px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 600; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--primary); }
details[open] summary::after { content: "–"; }
details p { margin: 0 0 16px; color: var(--muted); }

/* Bande finale */
.final { text-align: center; }
.final .cta-row { justify-content: center; }

/* Pied de page */
footer { border-top: 1px solid var(--line); padding: 32px 0 48px; color: var(--muted); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; }
footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
footer a { color: var(--muted); }
footer a:hover { color: var(--ink); }

/* Pages de texte (légal, merci…) */
.doc { padding: 40px 0 64px; }
.doc .wrap { max-width: 780px; }
.doc h1 { font-size: clamp(28px, 4vw, 40px); }
.doc h2 { font-size: 22px; margin: 32px 0 8px; }
.doc p, .doc li { color: var(--ink); }
.doc .upd { color: var(--muted); font-size: 15px; }
.doc table { border-collapse: collapse; width: 100%; margin: 12px 0; font-size: 16px; }
.doc th, .doc td { text-align: left; border: 1px solid var(--line); padding: 8px 12px; vertical-align: top; }
.doc th { background: var(--band); }
.todo { background: #FFF3C4; color: #5A4500; padding: 0 4px; border-radius: 4px; }
@media (prefers-color-scheme: dark) { .todo { background: #5A4500; color: #FFF3C4; } }
.center { text-align: center; padding: 96px 0; }
.center .logo { width: 72px; height: 72px; border-radius: 18px; margin-bottom: 16px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.mt { margin-top: 16px; }
.mx { margin-inline: auto; }
