/* SiteConforme — « le contrôle technique de votre site »
   Police Archivo auto-hébergée (licence OFL, voir fonts/OFL.txt) : aucune requête vers Google Fonts. */
@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --bg: #f6f8fc;
  --surface: #ffffff;
  --surface-2: #eef2f9;
  --ink: #0e1a36;
  --ink-2: #4b5875;
  --line: #dde3ef;
  --brand: #2346f0;
  --brand-hover: #1a37cc;
  --brand-ink: #ffffff;
  --brand-soft: #e8edff;
  --ok: #0e9f5b;
  --warn: #d98e00;
  --bad: #e03a3e;
  --mark: #ffe58a;
  --shadow: 0 1px 2px rgba(14, 26, 54, .06), 0 12px 32px -12px rgba(14, 26, 54, .18);
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a1330; --surface: #101c40; --surface-2: #15234d; --ink: #eef2fb; --ink-2: #a7b2cc;
    --line: #24325c; --brand: #7088ff; --brand-hover: #8a9dff; --brand-ink: #0a1330; --brand-soft: #1a2a5e;
    --ok: #34d399; --warn: #fbbf24; --bad: #f87171; --mark: #6b5a12;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 16px 40px -16px rgba(0, 0, 0, .6);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -.02em; font-weight: 800; }
h1 { font-size: clamp(2.3rem, 5vw, 3.7rem); font-stretch: 118%; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-stretch: 112%; }
h3 { font-size: 1.12rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; }
a { color: inherit; text-decoration-color: color-mix(in srgb, var(--brand) 60%, transparent); text-underline-offset: 3px; }
mark { background: var(--mark); color: inherit; padding: 0 .2em; border-radius: 3px; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 6px; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 780px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--ink-2); }
.small { font-size: .86rem; }
.center { text-align: center; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-stretch: 112%; font-size: 1.18rem; letter-spacing: -.02em; }
.logo-mark { width: 32px; height: 32px; flex: none; overflow: visible; }
.lm-frame { fill: var(--ink); }
.lm-dot { fill: var(--bg); opacity: .6; }
.lm-check { fill: none; stroke: var(--ok); stroke-width: 5.2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Barre du haut ---------- */
.topbar { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 16px; }
.nav { display: flex; align-items: center; gap: 26px; font-size: .95rem; font-weight: 500; }
.nav a:not(.btn) { text-decoration: none; color: var(--ink-2); }
.nav a:not(.btn):hover { color: var(--ink); }
@media (max-width: 820px) { .nav a:not(.btn) { display: none; } }
@media (max-width: 420px) {
  .logo { font-size: 1.02rem; gap: 8px; }
  .logo-mark { width: 26px; height: 26px; }
  .btn-small { padding: 8px 12px; font-size: .84rem; }
}

/* ---------- Boutons et champs ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 650 1rem/1.2 var(--font); border: 0; border-radius: 12px; padding: 15px 24px; cursor: pointer; text-decoration: none; white-space: nowrap; transition: background-color .15s, transform .06s; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .65; cursor: progress; }
.btn-primary { background: var(--brand); color: var(--brand-ink); }
.btn-primary:hover { background: var(--brand-hover); }
.btn-small { padding: 9px 16px; font-size: .92rem; background: var(--ink); color: var(--bg); border-radius: 10px; }
.btn-small:hover { opacity: .9; }
.btn-ghost { background: var(--surface); color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink-2); }
.btn-lg { padding: 17px 28px; font-size: 1.05rem; }
.btn-block { width: 100%; }
input, select, textarea { font: inherit; font-size: 1rem; color: var(--ink); background: var(--surface); border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 15px; width: 100%; }
input::placeholder, textarea::placeholder { color: color-mix(in srgb, var(--ink-2) 70%, transparent); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 22%, transparent); }
.alert { margin-top: 14px; padding: 12px 16px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); }
.alert-error { border-color: var(--bad); color: var(--bad); background: color-mix(in srgb, var(--bad) 8%, var(--surface)); }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 84px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero-copy h1 { max-width: 15ch; }
.lead { margin-top: 22px; font-size: 1.2rem; line-height: 1.55; color: var(--ink-2); max-width: 36em; }
.scan-form { display: flex; gap: 10px; margin-top: 32px; max-width: 560px; padding: 8px; background: var(--surface); border: 1.5px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
.scan-form input { flex: 1; min-width: 0; border: 0; background: transparent; font-size: 1.08rem; padding: 12px 10px; }
.scan-form input:focus { box-shadow: none; }
.scan-form:focus-within { border-color: var(--brand); }
.hero-note { margin-top: 14px; font-size: .92rem; color: var(--ink-2); }
@media (max-width: 920px) { .hero-grid { grid-template-columns: 1fr; gap: 44px; } .hero { padding: 48px 0 64px; } }
@media (max-width: 520px) { .scan-form { flex-direction: column; } .scan-form .btn { width: 100%; } }

/* Fiche de contrôle d'exemple : le seul moment animé de la page */
.demo { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; }
.demo-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.demo-url { font-weight: 650; }
.demo-tag { font-size: .8rem; color: var(--ink-2); border: 1px solid var(--line); border-radius: 99px; padding: 2px 10px; background: var(--surface); }
.demo-rows { list-style: none; margin: 0; padding: 8px 20px; }
.demo-rows li { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.demo-rows li:last-child { border-bottom: 0; }
.demo-rows strong { display: block; font-weight: 650; }
.demo-rows span:last-child { font-size: .9rem; color: var(--ink-2); }
.dot { flex: none; width: 22px; height: 22px; border-radius: 50%; margin-top: 2px; position: relative; }
.dot::after { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: .78rem; font-weight: 800; }
.row-ok .dot { background: var(--ok); } .row-ok .dot::after { content: "✓"; }
.row-bad .dot { background: var(--bad); } .row-bad .dot::after { content: "✕"; }
.row-warn .dot { background: var(--warn); } .row-warn .dot::after { content: "!"; }
.demo-verdict { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-top: 1px solid var(--line); font-weight: 600; }
.stamp { display: inline-block; color: var(--bad); border: 2.5px solid currentColor; border-radius: 8px; padding: 3px 10px; font-weight: 800; font-stretch: 115%; letter-spacing: .02em; transform: rotate(-4deg); }
@media (prefers-reduced-motion: no-preference) {
  .demo-rows li { opacity: 0; transform: translateY(6px); animation: row-in .35s ease-out forwards; }
  .demo-rows li:nth-child(1) { animation-delay: .25s; } .demo-rows li:nth-child(2) { animation-delay: .55s; }
  .demo-rows li:nth-child(3) { animation-delay: .85s; } .demo-rows li:nth-child(4) { animation-delay: 1.15s; }
  .demo-rows li:nth-child(5) { animation-delay: 1.45s; }
  .stamp { opacity: 0; animation: stamp-in .3s cubic-bezier(.2, 1.6, .4, 1) 1.9s forwards; }
  @keyframes row-in { to { opacity: 1; transform: none; } }
  @keyframes stamp-in { from { opacity: 0; transform: rotate(-4deg) scale(1.6); } to { opacity: 1; transform: rotate(-4deg) scale(1); } }
}

/* ---------- Rapport réel ---------- */
.results { padding: 0 0 64px; }
.report { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); padding: 28px; }
.report-head { display: flex; gap: 24px; align-items: center; padding-bottom: 22px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.report-kicker { font-size: .9rem; font-weight: 600; color: var(--ink-2); }
.report-head h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 2px 0 4px; word-break: break-word; }
.score { flex: none; display: grid; justify-items: center; gap: 6px; }
.score-num { width: 104px; height: 104px; border-radius: 50%; display: grid; place-content: center; text-align: center; font-weight: 800; font-stretch: 115%; font-size: 2.3rem; line-height: 1; border: 7px solid var(--line); }
.score-num small { font-size: .8rem; font-weight: 500; color: var(--ink-2); }
.score-verdict { font-weight: 800; font-size: .85rem; border: 2px solid currentColor; border-radius: 7px; padding: 1px 8px; transform: rotate(-3deg); }
.score.good .score-num { border-color: var(--ok); } .score.good .score-verdict { color: var(--ok); }
.score.mid .score-num { border-color: var(--warn); } .score.mid .score-verdict { color: var(--warn); }
.score.bad .score-num { border-color: var(--bad); } .score.bad .score-verdict { color: var(--bad); }
.issues { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; }
.issue { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; padding: 15px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); }
.issue strong { font-weight: 650; }
.issue p { grid-column: 2; color: var(--ink-2); font-size: .94rem; }
.chip { align-self: start; font-size: .78rem; font-weight: 700; padding: 3px 10px; border-radius: 99px; white-space: nowrap; background: var(--surface-2); color: var(--ink-2); }
.chip.critical { background: var(--bad); color: #fff; }
.chip.high { background: color-mix(in srgb, var(--bad) 16%, var(--surface)); color: var(--bad); }
.chip.medium { background: color-mix(in srgb, var(--warn) 18%, var(--surface)); color: var(--warn); }
.chip.ok { background: var(--ok); color: #fff; }
.issue.locked { position: relative; user-select: none; }
.issue.locked .blur { filter: blur(5px); opacity: .7; }
.issue.locked::after { content: "🔒"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); }
.unlock-row { display: flex; gap: 18px; align-items: center; justify-content: space-between; padding: 18px; border-radius: 12px; background: var(--brand-soft); border: 1.5px solid color-mix(in srgb, var(--brand) 40%, transparent); }
.unlock-row p { font-weight: 600; }
@media (max-width: 640px) { .unlock-row { flex-direction: column; align-items: stretch; } }
.detected { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.detected .tag { font-size: .85rem; border: 1px solid var(--line); border-radius: 99px; padding: 4px 12px; color: var(--ink-2); }
.cta-box { margin-top: 16px; display: flex; gap: 24px; align-items: center; justify-content: space-between; padding: 26px 28px; border-radius: 20px; background: var(--ink); color: var(--bg); }
.cta-box h3 { font-size: 1.45rem; font-stretch: 110%; margin-bottom: 6px; }
.cta-box p { opacity: .82; max-width: 52em; }
@media (max-width: 760px) { .cta-box { flex-direction: column; align-items: stretch; } .report { padding: 20px; } .report-head { flex-direction: column; align-items: flex-start; } }

/* ---------- Commande ---------- */
.order { padding: 56px 0 72px; background: var(--surface-2); border-block: 1px solid var(--line); }
.order h2 { margin-bottom: 10px; }
.order-form { margin-top: 26px; }
.order-form fieldset { border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px 22px; margin: 0 0 16px; background: var(--surface); }
.order-form legend { font-weight: 750; font-stretch: 110%; padding: 0 6px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.grid2 label { display: grid; gap: 6px; font-size: .9rem; font-weight: 600; }
.grid2 .full { grid-column: 1 / -1; }
.hint { font-weight: 400; color: var(--ink-2); }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; cursor: pointer; }
.check input { width: 19px; height: 19px; margin-top: 3px; flex: none; accent-color: var(--brand); padding: 0; }
.consents { display: grid; gap: 12px; margin: 10px 0 22px; }
.order-form > .muted { margin-top: 12px; }
@media (max-width: 640px) { .grid2, .checks { grid-template-columns: 1fr; } }

/* ---------- Sections de contenu ---------- */
.band, .pricing, .steps-band, .risks, .faq { padding: 88px 0; }
.band { background: var(--surface); border-block: 1px solid var(--line); }
.band-head { max-width: 640px; margin-bottom: 40px; }
.band-head .muted { margin-top: 12px; font-size: 1.08rem; }

.points { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.points li { padding: 22px 22px 24px 0; border-bottom: 1px solid var(--line); }
.points li h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.points li h3::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--brand); flex: none; }
.points li p { color: var(--ink-2); font-size: .95rem; max-width: 30em; }
@media (max-width: 860px) { .points { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .points { grid-template-columns: 1fr; } }

.compare { display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: 18px; align-items: stretch; }
.option { padding: 26px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); display: flex; flex-direction: column; }
.option h3 { color: var(--ink-2); font-weight: 600; }
.option-price { font-size: 2rem; font-weight: 800; font-stretch: 115%; margin: 8px 0 16px; letter-spacing: -.02em; }
.option ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 9px; font-size: .95rem; }
.option li { padding-left: 26px; position: relative; }
.option li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 800; }
.option li.no { color: var(--ink-2); }
.option li.no::before { content: "✕"; color: var(--bad); }
.option-main { border: 2px solid var(--brand); box-shadow: var(--shadow); }
.option-main h3 { color: var(--brand); font-weight: 750; }
.option-main .option-price { font-size: 2.8rem; }
.option-main .btn { margin-top: auto; }
@media (max-width: 900px) { .compare { grid-template-columns: 1fr; } .option-main { order: -1; } }

.steps-band h2 { margin-bottom: 36px; }
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.steps li { counter-increment: step; padding-top: 18px; border-top: 3px solid var(--ink); }
.steps li::before { content: counter(step); display: block; font-size: 2.6rem; font-weight: 800; font-stretch: 120%; line-height: 1; color: var(--brand); margin-bottom: 12px; }
.steps h3 { margin-bottom: 6px; }
.steps p { color: var(--ink-2); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; gap: 26px; } }

.risks { background: var(--surface); border-block: 1px solid var(--line); }
.risks h2 { margin-bottom: 32px; }
.risk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.risk-grid .big { font-size: 2.2rem; font-weight: 800; font-stretch: 118%; color: var(--bad); letter-spacing: -.02em; margin-bottom: 6px; }
.risk-grid p:not(.big) { color: var(--ink-2); }
@media (max-width: 760px) { .risk-grid { grid-template-columns: 1fr; gap: 22px; } }

.faq h2 { margin-bottom: 20px; }
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
summary { cursor: pointer; font-weight: 650; font-size: 1.06rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--brand); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--ink-2); margin-top: 10px; max-width: 46em; }

.final-cta { padding: 80px 0; background: var(--ink); color: var(--bg); }
.final-inner { display: grid; justify-items: center; text-align: center; }
.final-cta h2 { max-width: 18ch; }
.final-cta .scan-form { width: 100%; box-shadow: none; border-color: transparent; }
.final-cta .scan-form input { color: var(--ink); }

/* ---------- Pied de page ---------- */
.footer { padding: 32px 0 40px; font-size: .9rem; color: var(--ink-2); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink); }
.footer-brand .logo-mark { width: 24px; height: 24px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--ink); text-decoration: underline; }

/* ---------- Pages de contenu (guides, légal, livraison) ---------- */
.article { padding: 56px 0 80px; }
.article .wrap { max-width: 780px; }
.article h1 { font-size: clamp(2rem, 5vw, 3rem); margin: 10px 0 18px; }
.article h2 { font-size: 1.5rem; font-stretch: 108%; margin: 1.8em 0 .5em; }
.article p, .article li { color: color-mix(in srgb, var(--ink) 88%, var(--ink-2)); }
.article p + p { margin-top: .8em; }
.article ul, .article ol { padding-left: 1.3em; }
.article li + li { margin-top: .35em; }
.article table, .doc-preview table { width: 100%; border-collapse: collapse; font-size: .92rem; margin: 1.2em 0; background: var(--surface); border-radius: 12px; overflow: hidden; }
.article th, .article td, .doc-preview th, .doc-preview td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.article th, .doc-preview th { background: var(--surface-2); font-weight: 650; }
.crumbs { font-size: .88rem; color: var(--ink-2); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.inline-cta { margin: 2.2em 0; padding: 24px; border-radius: 16px; background: var(--ink); color: var(--bg); display: grid; gap: 14px; }
.inline-cta p { color: inherit !important; }
.inline-cta form { display: flex; gap: 10px; background: var(--surface); border-radius: 14px; padding: 6px; }
.inline-cta input { flex: 1; min-width: 0; border: 0; background: transparent; }
.inline-cta input:focus { box-shadow: none; }
@media (max-width: 520px) { .inline-cta form { flex-direction: column; } }
.sample { border: 1px dashed var(--line); border-radius: 16px; padding: 6px 24px 20px; background: var(--surface); font-size: .94rem; }
.guide-list { list-style: none; padding: 0 !important; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.guide-list li + li { margin-top: 0; }
.guide-list a { display: block; height: 100%; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); text-decoration: none; }
.guide-list a:hover { border-color: var(--brand); }
.guide-list small { display: block; color: var(--ink-2); margin-top: 6px; font-size: .88rem; line-height: 1.45; }
@media (max-width: 640px) { .guide-list { grid-template-columns: 1fr; } }

/* Livraison */
.delivery-head h1 { margin-top: 6px; }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; border-bottom: 1px solid var(--line); margin: 26px 0 0; }
.tab { font: 600 .95rem var(--font); background: transparent; color: var(--ink-2); border: 1px solid transparent; border-bottom: 0; padding: 11px 15px; border-radius: 12px 12px 0 0; cursor: pointer; }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { background: var(--surface); color: var(--ink); border-color: var(--line); margin-bottom: -1px; }
.doc-panel { background: var(--surface); border: 1px solid var(--line); border-top: 0; border-radius: 0 0 16px 16px; padding: 22px 26px; }
.doc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 18px; }
.doc-actions .btn { padding: 11px 18px; font-size: .94rem; }
.doc-preview { border-top: 1px solid var(--line); padding-top: 10px; }
.doc-preview h1 { font-size: 1.9rem; margin: 14px 0; }
.doc-preview h2 { font-size: 1.25rem; margin: 1.5em 0 .5em; }
.doc-preview p + p { margin-top: .7em; }
.spinner { width: 44px; height: 44px; border: 4px solid var(--line); border-top-color: var(--brand); border-radius: 50%; animation: spin 1s linear infinite; margin: 28px 0; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation-duration: 3s; } html { scroll-behavior: auto; } }
