:root {
    color-scheme: light;
    --cream: #f7efe2;
    --cream-2: #fff9ed;
    --sand: #e7d8bd;
    --ink: #17120c;
    --ink-2: #342a1d;
    --muted: #766a59;
    --line: rgba(23, 18, 12, .14);
    --line-strong: rgba(23, 18, 12, .24);
    --night: #111111;
    --night-2: #1e1b16;
    --copper: #d2642a;
    --copper-dark: #9d3f18;
    --acid: #d6ff4b;
    --mint: #49d88a;
    --amber: #f4b545;
    --red: #e64a35;
    --blue: #8fd8ff;
    --shadow: 0 28px 80px rgba(35, 27, 16, .18);
    --shadow-soft: 0 18px 48px rgba(35, 27, 16, .12);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    line-height: 1.5;
    background:
        radial-gradient(circle at 4% 0%, rgba(210, 100, 42, .22), transparent 28rem),
        radial-gradient(circle at 96% 10%, rgba(214, 255, 75, .17), transparent 30rem),
        linear-gradient(180deg, #fff6e6 0%, #f4ead8 48%, #fbf4e7 100%);
}
body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image: linear-gradient(rgba(23,18,12,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(23,18,12,.035) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,.65), transparent 72%);
}

a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
.container { width: min(1180px, calc(100% - 32px)); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 12px; z-index: 50; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 999px; }
.skip-link:focus { left: 12px; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 246, 230, .78);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(23,18,12,.1);
}
.nav { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 44px; height: 36px; border-radius: 18px 18px 9px 9px; background: var(--night); display: grid; place-items: center; position: relative; box-shadow: inset 0 -7px 0 rgba(255,255,255,.07); }
.brand-mark::before, .brand-mark::after { content: ""; position: absolute; bottom: -6px; width: 11px; height: 11px; border-radius: 50%; background: var(--night); border: 3px solid var(--cream); }
.brand-mark::before { left: 7px; }
.brand-mark::after { right: 7px; }
.brand-mark span { width: 20px; height: 10px; border-radius: 999px; background: linear-gradient(90deg, var(--acid) 0 48%, var(--copper) 48%); }
.brand-copy { display: grid; line-height: 1.02; }
.brand-copy strong { font-size: 1.22rem; font-weight: 950; letter-spacing: -.06em; }
.brand-copy small { color: var(--muted); font-weight: 850; font-size: .72rem; }
.nav-links { display: flex; align-items: center; gap: 6px; font-size: .94rem; font-weight: 850; color: var(--ink-2); }
.nav-links a { padding: 10px 12px; border-radius: 999px; }
.nav-links a:hover { background: rgba(255,255,255,.72); }

h1, h2, h3 { margin: 0; line-height: .98; letter-spacing: -.06em; }
h1 { font-size: clamp(3.65rem, 8.7vw, 8.8rem); max-width: 920px; }
h2 { font-size: clamp(2rem, 4.4vw, 4.35rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 2rem); }
p { margin-top: 0; }
.eyebrow-chip { display: inline-flex; width: fit-content; margin: 0 0 14px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.64); color: var(--copper-dark); font-size: .73rem; font-weight: 950; letter-spacing: .09em; text-transform: uppercase; }
.button { border: 0; border-radius: 999px; min-height: 50px; padding: 14px 20px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 950; cursor: pointer; transition: transform .16s ease, box-shadow .16s ease, opacity .16s ease; }
.button:hover { transform: translateY(-1px); }
.button:disabled { opacity: .6; cursor: wait; transform: none; }
.button-primary { color: #fffdf5; background: linear-gradient(135deg, var(--copper), var(--copper-dark)); box-shadow: 0 18px 30px rgba(157, 63, 24, .25); }
.button-secondary { background: var(--night); color: #fffdf5; }
.button-ghost { background: rgba(255,255,255,.5); border: 1px solid var(--line-strong); color: var(--ink-2); }

/* HERO: rupture visuelle, format radar produit */
.hero-radar {
    min-height: calc(100svh - 68px);
    display: grid;
    align-items: center;
    padding: clamp(24px, 4vw, 54px) 0;
    overflow: hidden;
    position: relative;
}
.hero-radar::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: clamp(14px, 3vw, 34px);
    width: min(1120px, 90vw);
    height: 18px;
    transform: translateX(-50%);
    border-radius: 999px;
    background: repeating-linear-gradient(90deg, var(--night) 0 54px, var(--acid) 54px 72px, var(--night) 72px 126px);
    opacity: .9;
}
.hero-radar-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, .82fr);
    gap: clamp(22px, 4vw, 54px);
    align-items: center;
    position: relative;
    z-index: 1;
}
.hero-copy { padding: clamp(12px, 1.2vw, 18px) 0 44px; }
.hero-lead { color: var(--ink-2); font-size: clamp(1.08rem, 1.8vw, 1.34rem); max-width: 720px; margin: 22px 0 0; }
.hero-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; max-width: 820px; margin: 34px 0 0; }
.hero-facts div {
    padding: 16px 18px;
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(255,255,255,.7), rgba(255,246,229,.52));
    box-shadow: inset 0 0 0 1px rgba(23,18,12,.09), 0 14px 30px rgba(48,37,24,.06);
    position: relative;
    overflow: hidden;
}
.hero-facts div::before {
    content: "";
    position: absolute;
    left: 0;
    top: 14px;
    bottom: 14px;
    width: 5px;
    border-radius: 999px;
    background: linear-gradient(180deg, var(--acid), var(--copper));
}
.hero-facts dt { color: var(--copper-dark); font-size: .72rem; font-weight: 950; text-transform: uppercase; letter-spacing: .08em; }
.hero-facts dd { margin: 7px 0 0; font-weight: 950; letter-spacing: -.035em; line-height: 1.08; }
.radar-device {
    min-height: min(650px, calc(100svh - 156px));
    padding: clamp(18px, 2.4vw, 28px);
    border-radius: 44px;
    background:
        radial-gradient(circle at 50% 42%, rgba(214,255,75,.18), transparent 16rem),
        linear-gradient(145deg, #111, #272018 70%, #16120e);
    color: #fff7e8;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.12);
}
.radar-device::before {
    content: "";
    position: absolute;
    inset: 16px;
    border-radius: 32px;
    border: 1px solid rgba(255,255,255,.1);
    pointer-events: none;
}
.device-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: rgba(255,247,232,.62); font-size: .76rem; font-weight: 950; text-transform: uppercase; letter-spacing: .1em; position: relative; z-index: 1; }
.device-header strong { color: var(--acid); }
.radar-screen {
    position: relative;
    margin: clamp(20px, 3vw, 34px) auto;
    width: min(390px, 100%);
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(214,255,75,.16) 0 3px, transparent 4px), radial-gradient(circle, rgba(255,255,255,.04), rgba(255,255,255,.02));
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.1), inset 0 0 80px rgba(0,0,0,.42);
    display: grid;
    place-items: center;
    overflow: hidden;
}
.radar-screen::before, .radar-screen::after { content: ""; position: absolute; inset: 50% 0 auto; height: 1px; background: rgba(214,255,75,.18); }
.radar-screen::after { transform: rotate(90deg); }
.radar-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(214,255,75,.16); }
.ring-one { inset: 17%; }
.ring-two { inset: 33%; }
.radar-sweep { position: absolute; inset: 0; background: conic-gradient(from -30deg, rgba(214,255,75,.42), transparent 46deg); animation: sweep 6.5s linear infinite; }
.radar-car { position: relative; z-index: 1; width: 138px; height: 62px; border-radius: 44px 48px 20px 20px; background: linear-gradient(135deg, var(--acid), #f8ffd6 66%, var(--blue)); box-shadow: 0 30px 60px rgba(0,0,0,.38); }
.radar-car::before { content: ""; position: absolute; left: 30px; right: 28px; top: -22px; height: 38px; border-radius: 40px 40px 10px 10px; background: rgba(255,247,232,.92); border: 6px solid var(--night); }
.radar-car::after { content: ""; position: absolute; left: 24px; right: 24px; bottom: -10px; height: 20px; background: radial-gradient(circle at 18% 50%, var(--night) 0 10px, transparent 11px), radial-gradient(circle at 82% 50%, var(--night) 0 10px, transparent 11px); }
.radar-dot { position: absolute; width: 13px; height: 13px; border-radius: 50%; box-shadow: 0 0 0 8px rgba(255,255,255,.05); z-index: 2; }
.dot-safe { background: var(--mint); left: 26%; top: 28%; }
.dot-warning { background: var(--amber); right: 18%; top: 42%; }
.dot-danger { background: var(--red); left: 56%; bottom: 21%; }
.device-readout { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; position: relative; z-index: 1; }
.device-readout div {
    padding: 15px;
    border-radius: 20px;
    background: rgba(255,255,255,.075);
    border: 1px solid rgba(255,255,255,.12);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
.device-readout span { display: block; color: rgba(214,255,75,.86); font-size: .68rem; font-weight: 950; text-transform: uppercase; letter-spacing: .09em; }
.device-readout strong { display: block; margin-top: 7px; font-size: 1.03rem; letter-spacing: -.045em; line-height: 1; }
.device-readout small { display: block; margin-top: 6px; color: rgba(255,247,232,.62); font-size: .76rem; font-weight: 850; line-height: 1.15; }
.device-caption {
    position: relative;
    z-index: 1;
    margin: 14px 0 0;
    padding: 14px 16px;
    border-radius: 20px;
    color: rgba(255,247,232,.74);
    background: rgba(0,0,0,.18);
    border: 1px solid rgba(255,255,255,.09);
    font-size: .88rem;
    font-weight: 800;
    line-height: 1.35;
}
@keyframes sweep { to { transform: rotate(360deg); } }

/* Simulateur: atelier vertical, plus de cartes flottantes à droite */
.simulator-workshop { padding: clamp(44px, 7vw, 86px) 0 48px; }
.workshop-intro { display: grid; grid-template-columns: minmax(220px, .48fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); align-items: end; margin-bottom: 22px; }
.workshop-intro h2 { max-width: 940px; }
.workshop-intro p:not(.eyebrow-chip) { color: var(--ink-2); max-width: 760px; margin: 14px 0 0; font-size: 1.08rem; }
.profile-picker {
    display: grid;
    grid-template-columns: minmax(250px, .42fr) minmax(0, 1fr);
    gap: clamp(18px, 3vw, 34px);
    margin: 0 0 18px;
    padding: clamp(18px, 3vw, 30px);
    border-radius: 38px;
    background:
        radial-gradient(circle at 8% 18%, rgba(214,255,75,.2), transparent 13rem),
        linear-gradient(135deg, rgba(255,249,237,.9), rgba(255,255,255,.58));
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
}
.profile-picker-copy { display: grid; align-content: center; gap: 10px; }
.profile-picker-copy .eyebrow-chip { margin-bottom: 4px; }
.profile-picker-copy h3 { font-size: clamp(1.55rem, 2.8vw, 2.7rem); max-width: 560px; }
.profile-picker-copy p:not(.eyebrow-chip) { color: var(--ink-2); margin: 0; }
.profile-notice {
    margin-top: 6px !important;
    padding: 12px 14px;
    border-radius: 18px;
    background: rgba(23,18,12,.06);
    color: var(--ink) !important;
    font-size: .92rem;
    font-weight: 850;
}
.profile-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.profile-card {
    min-height: 154px;
    padding: 18px;
    border: 1px solid rgba(23,18,12,.11);
    border-radius: 26px;
    background:
        linear-gradient(145deg, rgba(255,255,255,.88), rgba(255,245,229,.58));
    color: var(--ink);
    text-align: left;
    cursor: pointer;
    display: grid;
    align-content: space-between;
    gap: 10px;
    position: relative;
    overflow: hidden;
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, background .16s ease;
}
.profile-card::after {
    content: "";
    position: absolute;
    right: -34px;
    top: -34px;
    width: 104px;
    height: 104px;
    border-radius: 50%;
    background: var(--profile-glow, rgba(210,100,42,.18));
}
.profile-card:hover { transform: translateY(-2px); box-shadow: 0 18px 36px rgba(48, 37, 24, .12); }
.profile-card[aria-pressed="true"] {
    border-color: rgba(23,18,12,.7);
    background: linear-gradient(145deg, #fffdf5, #fff4df);
    box-shadow: 0 0 0 4px rgba(214,255,75,.45), 0 18px 38px rgba(48, 37, 24, .15);
}
.profile-card span, .profile-card strong, .profile-card small { position: relative; z-index: 1; }
.profile-card span { color: var(--copper-dark); font-size: .72rem; font-weight: 950; text-transform: uppercase; letter-spacing: .08em; }
.profile-card strong { display: block; font-size: 1.28rem; line-height: 1; letter-spacing: -.05em; }
.profile-card small { color: var(--muted); font-size: .82rem; line-height: 1.25; font-weight: 800; }
.profile-student { --profile-glow: rgba(143,216,255,.3); }
.profile-first { --profile-glow: rgba(214,255,75,.28); }
.profile-careful { --profile-glow: rgba(73,216,138,.24); }
.profile-family { --profile-glow: rgba(210,100,42,.22); }
.profile-road { --profile-glow: rgba(244,181,69,.27); }
.profile-lease { --profile-glow: rgba(255,94,94,.18); }
.profile-pending-state { min-height: 300px; }
.decision-form {
    display: grid;
    gap: 14px;
    padding: clamp(14px, 2vw, 22px);
    border-radius: 42px;
    background: rgba(255,249,237,.76);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
}
.decision-step {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: clamp(16px, 3vw, 34px);
    padding: clamp(22px, 3vw, 34px);
    border-radius: 32px;
    background: linear-gradient(135deg, rgba(255,255,255,.78), rgba(255,246,229,.52));
    border: 1px solid rgba(23,18,12,.11);
    position: relative;
    overflow: hidden;
}
.decision-step::after { content: ""; position: absolute; right: -40px; top: -40px; width: 150px; height: 150px; border-radius: 50%; opacity: .55; }
.step-wallet::after { background: rgba(73,216,138,.18); }
.step-car::after { background: rgba(210,100,42,.18); }
.step-road::after { background: rgba(143,216,255,.22); }
.step-number { width: 72px; height: 72px; border-radius: 24px; display: grid; place-items: center; background: var(--night); color: var(--acid); font-size: 1.45rem; font-weight: 950; letter-spacing: -.05em; box-shadow: 0 18px 34px rgba(0,0,0,.18); }
.step-body { position: relative; z-index: 1; }
.step-body p { color: var(--muted); margin: 8px 0 18px; }
.input-matrix { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 10px; }
.input-matrix-six { grid-template-columns: repeat(6, minmax(0,1fr)); }
.input-matrix-four { grid-template-columns: repeat(4, minmax(0,1fr)); }
.input-matrix label { display: grid; gap: 8px; align-content: start; }
.input-matrix label span { color: var(--ink-2); font-size: .82rem; font-weight: 950; letter-spacing: -.02em; }
.input-matrix input, .input-matrix select {
    width: 100%;
    min-height: 52px;
    border: 1px solid var(--line);
    border-radius: 17px;
    padding: 0 14px;
    background: rgba(255,255,255,.8);
    color: var(--ink);
    outline: none;
    box-shadow: inset 0 -3px 0 rgba(23,18,12,.035);
}
.input-matrix input:focus, .input-matrix select:focus { border-color: rgba(210,100,42,.7); box-shadow: 0 0 0 4px rgba(210,100,42,.12); }
.submit-dock {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 18px 20px 18px 28px;
    border-radius: 30px;
    background: var(--night);
    color: #fff7e8;
}
.submit-dock strong { display: block; font-size: 1.08rem; }
.submit-dock span { display: block; color: rgba(255,247,232,.68); margin-top: 3px; }
.submit-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.submit-dock .button-ghost { color: #fff7e8; border-color: rgba(255,255,255,.2); background: rgba(255,255,255,.08); }

/* Résultat: rapport pleine largeur, respirant */
.result-stage {
    margin-top: 26px;
    width: 100%;
    border-radius: 42px;
    background: linear-gradient(145deg, #111, #201b14 72%, #14100c);
    color: #fff7e8;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255,255,255,.12);
    overflow: hidden;
}
.result-empty-state { min-height: 390px; display: grid; place-items: center; align-content: center; text-align: center; gap: 10px; padding: clamp(34px, 6vw, 72px); }
.result-empty-state .eyebrow-chip { color: var(--acid); background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); }
.result-empty-state h2 { max-width: 760px; }
.result-empty-state p:last-child { color: rgba(255,247,232,.68); max-width: 620px; margin: 0 auto; }
.empty-dashboard { width: 180px; height: 112px; border-radius: 28px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); display: flex; align-items: end; gap: 10px; justify-content: center; padding: 18px; margin-bottom: 8px; }
.empty-dashboard span { width: 26px; border-radius: 999px; background: linear-gradient(180deg, var(--acid), var(--copper)); }
.empty-dashboard span:nth-child(1) { height: 42px; }
.empty-dashboard span:nth-child(2) { height: 72px; }
.empty-dashboard span:nth-child(3) { height: 54px; }
.result-report {
    --meter-color: var(--amber);
    display: grid;
    gap: 0;
}
.result-report.result-comfortable { --meter-color: var(--mint); }
.result-report.result-borderline { --meter-color: var(--amber); }
.result-report.result-risky { --meter-color: #ff7a3d; }
.result-report.result-danger { --meter-color: var(--red); }
.report-top {
    display: grid;
    grid-template-columns: minmax(390px, .44fr) minmax(0, 1fr);
    min-height: 360px;
    border-bottom: 1px solid rgba(255,255,255,.1);
}
.report-score {
    padding: clamp(28px, 4vw, 50px) clamp(42px, 5vw, 68px) clamp(28px, 4vw, 50px) clamp(30px, 4vw, 52px);
    display: grid;
    align-content: center;
    justify-items: start;
    gap: 18px;
    background: radial-gradient(circle at 42% 42%, rgba(214,255,75,.12), transparent 16rem), rgba(255,255,255,.035);
    border-right: 1px solid rgba(255,255,255,.1);
}
.score-orb {
    width: clamp(210px, 21vw, 270px);
    height: clamp(210px, 21vw, 270px);
    border-radius: 50%;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 50% 35%, rgba(255,255,255,.10), transparent 34%),
        linear-gradient(145deg, #171713, #090908);
    position: relative;
    isolation: isolate;
    overflow: hidden;
}
.score-orb::after { content: ""; position: absolute; z-index: 1; inset: 18px; border-radius: 50%; background: #111; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.score-orb-svg { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.score-orb-track, .score-orb-progress { fill: none; cx: 50; cy: 50; r: 43; stroke-width: 10; }
.score-orb-track { stroke: rgba(255,255,255,.12); }
.score-orb-progress { stroke: var(--meter-color); stroke-linecap: round; transition: stroke-dasharray .75s cubic-bezier(.2,.8,.2,1), stroke .25s ease; filter: drop-shadow(0 0 8px color-mix(in srgb, var(--meter-color) 50%, transparent)); }
.score-orb-content { position: relative; z-index: 2; text-align: center; display: grid; gap: 2px; }
.score-orb-content span { color: rgba(255,247,232,.62); font-size: .75rem; font-weight: 950; text-transform: uppercase; letter-spacing: .09em; }
.score-orb-content strong { font-size: clamp(4rem, 8vw, 6.6rem); line-height: .82; letter-spacing: -.1em; }
.report-score small { color: rgba(255,247,232,.58); font-weight: 850; }
.report-verdict { padding: clamp(28px, 5vw, 58px); display: grid; align-content: center; gap: 18px; }
.risk-chip { width: fit-content; display: inline-flex; align-items: center; gap: 9px; padding: 10px 14px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1); font-weight: 950; }
.risk-chip::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 6px rgba(255,255,255,.06); }
.risk-comfortable { color: var(--mint); }
.risk-borderline { color: var(--amber); }
.risk-risky, .risk-danger { color: var(--red); }
.report-title { font-size: clamp(2.4rem, 5.4vw, 5.8rem); max-width: 900px; }
.report-explanation { color: rgba(255,247,232,.76); font-size: clamp(1.04rem, 1.6vw, 1.3rem); max-width: 850px; margin: 0; }
.metric-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid rgba(255,255,255,.1); }
.metric-tile { min-height: 150px; padding: clamp(18px, 3vw, 28px); border-right: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.035); display: grid; align-content: space-between; }
.metric-tile:last-child { border-right: 0; }
.metric-tile span { color: rgba(255,247,232,.62); font-size: .86rem; font-weight: 850; }
.metric-tile strong { font-size: clamp(1.55rem, 3vw, 2.75rem); letter-spacing: -.07em; }
.report-lower { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .72fr); gap: 0; }
.breakdown-report, .fallback-plan { padding: clamp(24px, 4vw, 42px); }
.breakdown-report { border-right: 1px solid rgba(255,255,255,.1); }
.breakdown-report h3, .fallback-plan h3 { margin-bottom: 18px; }
.breakdown-line { display: grid; grid-template-columns: 140px 1fr 86px; align-items: center; gap: 16px; padding: 12px 0; color: rgba(255,247,232,.75); }
.breakdown-track { height: 15px; border-radius: 999px; background: rgba(255,255,255,.1); overflow: hidden; }
.breakdown-fill { display: block; height: 100%; width: var(--bar-width); border-radius: inherit; background: linear-gradient(90deg, var(--acid), var(--copper)); }
.fallback-plan { background: linear-gradient(160deg, rgba(214,255,75,.1), rgba(210,100,42,.09)); }
.fallback-plan p { color: rgba(255,247,232,.76); margin: 0 0 12px; }
.action-list { display: grid; gap: 9px; margin: 18px 0 0; padding-left: 20px; color: rgba(255,247,232,.78); }
.report-warning { margin: 0; padding: 18px clamp(24px, 4vw, 42px); border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,247,232,.56); font-size: .9rem; }
.result-error { border-left: 6px solid var(--red); }

.answer-ledger { margin-top: 38px; margin-bottom: 38px; display: grid; grid-template-columns: 210px minmax(0,1fr); border-radius: 36px; overflow: hidden; border: 1px solid var(--line); background: var(--cream-2); box-shadow: var(--shadow-soft); }
.ledger-label { padding: 28px; background: var(--night); color: var(--acid); font-weight: 950; text-transform: uppercase; letter-spacing: .08em; }
.ledger-content { padding: clamp(26px, 4vw, 46px); }
.ledger-content p { color: var(--ink-2); font-size: 1.08rem; max-width: 880px; margin: 18px 0 0; }
.difference-wall { margin-top: 38px; margin-bottom: 38px; padding: clamp(28px, 5vw, 54px); border-radius: 42px; background: var(--night); color: #fff7e8; box-shadow: var(--shadow); }
.difference-wall .eyebrow-chip { color: var(--acid); background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); }
.wall-heading { max-width: 920px; margin-bottom: 24px; }
.wall-cards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.wall-cards article { min-height: 230px; padding: 22px; border-radius: 28px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.11); display: grid; align-content: space-between; }
.wall-cards span { color: var(--acid); font-weight: 950; }
.wall-cards p { color: rgba(255,247,232,.7); }
.seo-ribbons { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; margin-top: 38px; margin-bottom: 38px; }
.seo-ribbons article { padding: 24px; border-radius: 30px; background: rgba(255,249,237,.78); border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.seo-ribbons h2 { font-size: 1.45rem; line-height: 1.08; }
.seo-ribbons p { color: var(--ink-2); margin-bottom: 0; }
.faq-zone { display: grid; grid-template-columns: minmax(0,.64fr) minmax(0,1.36fr); gap: 18px; margin-top: 38px; margin-bottom: 38px; padding: 28px; border-radius: 36px; background: rgba(255,249,237,.78); border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.faq-list { display: grid; gap: 10px; }
details { border-radius: 22px; background: rgba(255,255,255,.64); border: 1px solid var(--line); padding: 16px 18px; }
summary { cursor: pointer; font-weight: 950; }
details p { color: var(--ink-2); margin: 12px 0 0; }
.disclaimer-box { margin-top: 38px; margin-bottom: 38px; padding: 18px 22px; border: 1px solid var(--line); border-radius: 24px; background: rgba(255,255,255,.55); color: var(--ink-2); }
.disclaimer-box p { margin: 0; }

/* Pages éditoriales */
.eyebrow { margin: 0 0 12px; color: var(--copper-dark); font-weight: 950; letter-spacing: .08em; text-transform: uppercase; font-size: .78rem; }
.page-hero { margin-top: 44px; padding: clamp(28px, 6vw, 56px); border-radius: 38px; background: rgba(255,249,237,.84); border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.page-hero .lead { color: var(--ink-2); margin-bottom: 0; }
.article, .content-card, .notice, .disclaimer, .seo-intro, .answer-block { width: min(920px, calc(100% - 32px)); margin: 34px auto; padding: clamp(24px, 5vw, 44px); border-radius: 34px; background: rgba(255,249,237,.86); border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.article p, .content-card p, .notice p, .disclaimer p, .answer-block p { color: var(--ink-2); }
.content-grid, .feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 14px; width: min(1180px, calc(100% - 32px)); margin: 34px auto; }
.feature-icon { display: inline-flex; width: fit-content; padding: 6px 10px; border-radius: 999px; background: var(--night); color: white; font-weight: 950; margin-bottom: 16px; }
.notice, .disclaimer { border-left: 6px solid var(--copper); }
.article ul { color: var(--ink-2); }
.article li + li { margin-top: 8px; }

.site-footer { margin-top: 58px; padding: 34px 0; background: var(--night); color: #fff7e8; }
.footer-grid { display: flex; justify-content: space-between; gap: 22px; }
.footer-grid p { color: rgba(255,247,232,.65); max-width: 520px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px; align-content: start; }
.footer-links a { color: rgba(255,247,232,.78); font-weight: 850; }

@media (max-width: 1080px) {
    .hero-radar-grid { grid-template-columns: 1fr; }
    .hero-radar { min-height: auto; }
    .radar-device { min-height: auto; }
    .input-matrix, .input-matrix-six { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .input-matrix-four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .report-top, .report-lower, .workshop-intro, .profile-picker, .answer-ledger, .faq-zone { grid-template-columns: 1fr; }
    .profile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .report-score, .breakdown-report { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.1); }
    .metric-strip { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .wall-cards, .seo-ribbons, .content-grid, .feature-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
    .container { width: min(100% - 22px, 1180px); }
    .nav { min-height: 64px; }
    .nav-links { display: none; }
    h1 { font-size: clamp(3rem, 16vw, 4.8rem); }
    .hero-radar::after { display: none; }
    .hero-copy { padding-bottom: 0; }
    .hero-facts, .device-readout, .metric-strip, .profile-grid { grid-template-columns: 1fr; }
    .radar-device, .profile-picker, .decision-form, .result-stage, .difference-wall { border-radius: 28px; }
    .radar-screen { width: min(320px, 100%); }
    .profile-picker { padding: 18px; }
    .profile-card { min-height: 132px; border-radius: 22px; }
    .decision-step { grid-template-columns: 1fr; padding: 22px; border-radius: 24px; }
    .step-number { width: 58px; height: 58px; border-radius: 18px; font-size: 1.15rem; }
    .input-matrix, .input-matrix-six, .input-matrix-four { grid-template-columns: 1fr; }
    .submit-dock { display: grid; padding: 20px; }
    .submit-actions { justify-content: stretch; }
    .submit-actions .button { width: 100%; }
    .report-top { min-height: auto; }
    .report-title { font-size: clamp(2.25rem, 12vw, 3.7rem); }
    .breakdown-line { grid-template-columns: 96px 1fr 64px; gap: 10px; font-size: .9rem; }
    .footer-grid { display: grid; }
}

/* Ajustements ciblés: durée libre + animation de génération */
.duration-field small {
    color: var(--muted);
    font-size: .74rem;
    font-weight: 800;
    line-height: 1.25;
}
.duration-presets {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.duration-presets button {
    min-height: 30px;
    padding: 0 10px;
    border: 1px solid rgba(23,18,12,.12);
    border-radius: 999px;
    background: rgba(255,255,255,.72);
    color: var(--ink-2);
    font-size: .78rem;
    font-weight: 950;
    cursor: pointer;
    transition: transform .14s ease, border-color .14s ease, background .14s ease;
}
.duration-presets button::after { content: " mois"; font-weight: 800; color: var(--muted); }
.duration-presets button:hover {
    transform: translateY(-1px);
    border-color: rgba(210,100,42,.45);
    background: #fffaf0;
}
.result-stage[aria-busy="true"] {
    box-shadow: 0 36px 90px rgba(35, 27, 16, .22), 0 0 0 1px rgba(214,255,75,.18);
}
.result-loading-state {
    position: relative;
    overflow: hidden;
}
.result-loading-state::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 18%, rgba(214,255,75,.14), transparent 18rem),
        linear-gradient(90deg, transparent, rgba(255,255,255,.07), transparent);
    transform: translateX(-100%);
    animation: loading-panel-sweep 1.9s ease-in-out infinite;
}
.budget-scan-loader {
    width: min(360px, 74vw);
    height: 170px;
    position: relative;
    display: grid;
    place-items: center;
    margin-bottom: 8px;
    isolation: isolate;
}
.budget-scan-loader::before,
.budget-scan-loader::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    border: 1px solid rgba(214,255,75,.2);
    inset: 24px 22px;
    animation: scan-pulse 1.9s ease-in-out infinite;
}
.budget-scan-loader::after {
    inset: 46px 64px;
    animation-delay: .25s;
}
.scan-car {
    width: 142px;
    height: 58px;
    border-radius: 42px 46px 18px 18px;
    background: linear-gradient(135deg, var(--acid), #fff8cd 62%, var(--blue));
    box-shadow: 0 24px 50px rgba(0,0,0,.36), 0 0 34px rgba(214,255,75,.18);
    position: relative;
    z-index: 2;
    animation: scan-car-float 1.8s ease-in-out infinite;
}
.scan-car::before {
    content: "";
    position: absolute;
    left: 31px;
    right: 30px;
    top: -18px;
    height: 31px;
    border-radius: 30px 30px 8px 8px;
    background: rgba(255,247,232,.92);
    border: 5px solid #111;
}
.scan-car::after {
    content: "";
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: -9px;
    height: 18px;
    background:
        radial-gradient(circle at 18% 50%, #111 0 9px, transparent 10px),
        radial-gradient(circle at 82% 50%, #111 0 9px, transparent 10px);
}
.scan-beam {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 54px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, rgba(214,255,75,.42), transparent);
    filter: blur(.2px);
    z-index: 3;
    animation: scan-beam-move 1.35s ease-in-out infinite;
}
.scan-dots {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle, var(--mint) 0 4px, transparent 5px) 18% 34% / 100% 100%,
        radial-gradient(circle, var(--amber) 0 4px, transparent 5px) 76% 40% / 100% 100%,
        radial-gradient(circle, var(--red) 0 4px, transparent 5px) 58% 74% / 100% 100%;
    opacity: .9;
    animation: scan-dots-blink 1.2s steps(2, end) infinite;
}
@keyframes loading-panel-sweep {
    0% { transform: translateX(-100%); }
    55%, 100% { transform: translateX(100%); }
}
@keyframes scan-pulse {
    0%, 100% { opacity: .35; transform: scale(.97); }
    50% { opacity: 1; transform: scale(1.03); }
}
@keyframes scan-car-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}
@keyframes scan-beam-move {
    0% { transform: translateX(-170px); opacity: 0; }
    18% { opacity: 1; }
    82% { opacity: 1; }
    100% { transform: translateX(170px); opacity: 0; }
}
@keyframes scan-dots-blink {
    0%, 100% { opacity: .55; }
    50% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .result-loading-state::before,
    .budget-scan-loader::before,
    .budget-scan-loader::after,
    .scan-car,
    .scan-beam,
    .scan-dots {
        animation: none;
    }
}
.input-matrix .duration-field { display: grid; gap: 8px; align-content: start; }
.input-matrix .duration-field > label { display: block; }
.input-matrix .duration-field > label span { color: var(--ink-2); font-size: .82rem; font-weight: 950; letter-spacing: -.02em; }

/* Patch ciblé: mode de financement d'abord, champs conditionnels ensuite */
.purchase-flow {
    display: grid;
    gap: 16px;
}
.purchase-mode-panel {
    border: 0;
    margin: 0;
    padding: 0;
}
.purchase-mode-panel legend {
    margin-bottom: 10px;
    color: var(--ink-2);
    font-size: .86rem;
    font-weight: 950;
    letter-spacing: -.02em;
}
.purchase-mode-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}
.purchase-mode-card {
    position: relative;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    grid-template-areas: "icon title" "icon text";
    gap: 5px 12px;
    min-height: 116px;
    padding: 16px;
    border: 1px solid rgba(23,18,12,.11);
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(255,255,255,.86), rgba(255,247,231,.64));
    box-shadow: inset 0 -2px 0 rgba(23,18,12,.03);
    cursor: pointer;
    transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease, background .16s ease;
}
.purchase-mode-card input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}
.purchase-mode-card .mode-icon {
    grid-area: icon;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: var(--night);
    color: var(--acid);
    font-weight: 1000;
    font-size: 1rem;
}
.purchase-mode-card strong {
    grid-area: title;
    align-self: end;
    font-size: 1rem;
    line-height: 1;
    letter-spacing: -.04em;
}
.purchase-mode-card small {
    grid-area: text;
    color: var(--muted);
    font-size: .78rem;
    line-height: 1.22;
    font-weight: 800;
}
.purchase-mode-card:hover {
    transform: translateY(-1px);
    border-color: rgba(210,100,42,.32);
    box-shadow: 0 16px 34px rgba(48,37,24,.1);
}
.purchase-mode-card.is-selected {
    background: linear-gradient(145deg, #10100f, #2a2218);
    border-color: rgba(214,255,75,.72);
    box-shadow: 0 0 0 4px rgba(214,255,75,.22), 0 18px 38px rgba(23,18,12,.18);
}
.purchase-mode-card.is-selected strong { color: #fffaf0; }
.purchase-mode-card.is-selected small { color: rgba(255,250,240,.7); }
.purchase-mode-card.is-selected .mode-icon { background: var(--acid); color: var(--night); }
.input-matrix-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.input-matrix-one { grid-template-columns: minmax(180px, 320px); }
.finance-fields {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(240px, .9fr);
    gap: 12px;
    align-items: stretch;
    min-width: 0;
}
.finance-fields[data-purchase-panel="lease"] {
    grid-template-columns: minmax(0, 1.7fr) minmax(260px, .75fr);
}
.finance-fields[hidden] { display: none !important; }
.duration-card,
.lease-card,
.finance-cash-note {
    display: grid;
    gap: 12px;
    padding: 16px;
    border: 1px solid rgba(23,18,12,.1);
    border-radius: 24px;
    background: rgba(255,255,255,.64);
}
.duration-card {
    grid-template-columns: minmax(170px, .75fr) minmax(0, 1.25fr);
    align-items: center;
    min-width: 0;
}
.duration-card-compact {
    grid-template-columns: 1fr;
    align-content: center;
}
.finance-fields[data-purchase-panel="lease"] .duration-control {
    justify-content: flex-start;
}
.duration-copy label span,
.lease-card label span {
    color: var(--ink-2);
    font-size: .84rem;
    font-weight: 950;
    letter-spacing: -.02em;
}
.duration-copy small,
.lease-card small {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: .78rem;
    line-height: 1.3;
    font-weight: 800;
}
.duration-control {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    max-width: 100%;
}
.duration-input-wrap {
    position: relative;
    flex: 0 1 128px;
    min-width: 112px;
    max-width: 100%;
}
.duration-input-wrap input {
    width: 100%;
    min-height: 52px;
    padding: 0 48px 0 14px;
    border: 1px solid rgba(23,18,12,.12);
    border-radius: 18px;
    background: rgba(255,255,255,.78);
    color: var(--ink);
    font: inherit;
    font-weight: 900;
    outline: none;
}
.duration-input-wrap span {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    font-size: .75rem;
    font-weight: 950;
    pointer-events: none;
}
.duration-presets {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    overflow-x: visible;
    padding: 2px 2px 4px;
    scrollbar-width: thin;
}
.duration-presets button {
    flex: 0 0 auto;
    min-height: 36px;
    min-width: 54px;
    padding: 0 12px;
}
.duration-presets button::after { content: ""; }
.finance-fields[data-purchase-panel="lease"] .duration-card-compact .duration-copy small {
    max-width: 24ch;
}
.finance-fields[data-purchase-panel="lease"] .duration-card-compact .duration-input-wrap {
    width: min(100%, 150px);
    flex-basis: 150px;
}
.finance-fields[data-purchase-panel="lease"] .duration-card-compact .duration-presets {
    margin-top: 2px;
}
.finance-fields[data-purchase-panel="lease"] .duration-card-compact .duration-presets button {
    min-width: 46px;
}
.lease-card label {
    display: grid;
    gap: 8px;
}
.lease-card input {
    width: min(100%, 240px);
    min-height: 52px;
    padding: 0 14px;
    border: 1px solid rgba(23,18,12,.12);
    border-radius: 18px;
    background: rgba(255,255,255,.78);
    color: var(--ink);
    font: inherit;
    font-weight: 900;
    outline: none;
}
.finance-cash-note {
    grid-template-columns: 220px minmax(0,1fr);
    align-items: center;
    background: linear-gradient(145deg, rgba(214,255,75,.22), rgba(255,255,255,.62));
}
.finance-cash-note strong {
    color: var(--ink);
    font-size: 1rem;
    letter-spacing: -.03em;
}
.finance-cash-note span {
    color: var(--ink-2);
    font-weight: 800;
    line-height: 1.35;
}
.rate-row {
    align-content: stretch;
}
.rate-row label {
    height: 100%;
    padding: 16px;
    border: 1px solid rgba(23,18,12,.1);
    border-radius: 24px;
    background: rgba(255,255,255,.64);
}


@media (max-width: 920px) {
    .report-top {
        grid-template-columns: 1fr;
    }
    .report-score {
        justify-items: center;
        padding: clamp(24px, 7vw, 42px);
        border-right: 0;
        border-bottom: 1px solid rgba(255,255,255,.1);
    }
}

@media (max-width: 1080px) {
    .purchase-mode-grid,
    .finance-fields,
    .duration-card,
    .duration-card-compact,
    .finance-cash-note {
        grid-template-columns: 1fr;
    }
    .duration-control {
        align-items: flex-start;
        flex-direction: column;
    }
    .duration-input-wrap {
        flex-basis: auto;
        width: min(100%, 180px);
    }
}
@media (max-width: 680px) {
    .purchase-mode-grid,
    .input-matrix-two,
    .input-matrix-one {
        grid-template-columns: 1fr;
    }
    .purchase-mode-card {
        min-height: auto;
        border-radius: 20px;
    }
    .duration-card,
    .lease-card,
    .finance-cash-note,
    .rate-row label {
        border-radius: 20px;
        padding: 14px;
    }
    .duration-presets {
        flex-wrap: wrap;
        overflow-x: visible;
    }
}

/* Patch UX: rendre les étapes 1 et 3 plus compréhensibles sans changer la logique du formulaire */
.step-heading-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, .42fr);
    gap: 18px;
    align-items: start;
    margin-bottom: 18px;
}
.step-heading-row h3 { margin: 0; }
.step-heading-row p { margin: 8px 0 0; }
.usage-guide {
    border: 1px solid rgba(23,18,12,.1);
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(255,255,255,.72), rgba(255,247,231,.55));
    box-shadow: inset 0 -2px 0 rgba(23,18,12,.03);
}
.wallet-matrix,
.road-matrix {
    align-items: stretch;
}
.input-matrix .field-card {
    position: relative;
    display: grid;
    grid-template-rows: auto auto 1fr;
    gap: 8px;
    min-height: 138px;
    padding: 14px;
    border: 1px solid rgba(23,18,12,.1);
    border-radius: 24px;
    background: rgba(255,255,255,.58);
    box-shadow: inset 0 -2px 0 rgba(23,18,12,.025);
}
.input-matrix .field-card::before {
    content: "";
    position: absolute;
    top: 14px;
    right: 14px;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(210,100,42,.42);
}
.input-matrix .field-income::before { background: var(--mint); }
.input-matrix .field-savings::before { background: var(--acid); box-shadow: 0 0 0 5px rgba(214,255,75,.18); }
.input-matrix .field-km::before { background: var(--blue); }
.input-matrix .field-card input,
.input-matrix .field-card select {
    min-height: 50px;
    border-radius: 16px;
    background: rgba(255,255,255,.86);
}
.input-matrix .field-card small {
    color: var(--muted);
    font-size: .74rem;
    line-height: 1.22;
    font-weight: 800;
}
.usage-guide {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    background: rgba(23,18,12,.08);
}
.usage-guide span {
    min-height: 74px;
    display: grid;
    align-content: center;
    gap: 4px;
    padding: 12px;
    background: rgba(255,255,255,.7);
    color: var(--muted);
    font-size: .76rem;
    font-weight: 850;
    line-height: 1.15;
}
.usage-guide strong {
    color: var(--ink);
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.step-wallet .input-matrix,
.step-road .input-matrix {
    gap: 12px;
}

@media (max-width: 1080px) {
    .step-heading-row {
        grid-template-columns: 1fr;
    }
    .usage-guide {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .usage-guide {
        border-radius: 20px;
    }
    .usage-guide {
        grid-template-columns: 1fr;
    }
    .usage-guide span {
        min-height: auto;
    }
    .input-matrix .field-card {
        min-height: auto;
        border-radius: 20px;
        padding: 13px;
    }
}

/* Aide contextuelle au clic: tooltip détachée du flux pour ne jamais être masquée */
[data-help-title][data-help-text] {
    position: relative;
}

[data-help-title][data-help-text].is-help-active {
    z-index: 20;
}

.input-matrix label.is-help-active input,
.input-matrix label.is-help-active select,
.lease-card label.is-help-active input,
.duration-card.is-help-active input {
    border-color: rgba(214,255,75,.72);
    box-shadow: 0 0 0 4px rgba(214,255,75,.16), inset 0 -3px 0 rgba(23,18,12,.035);
}

.purchase-mode-card.is-help-active,
.duration-card.is-help-active,
.lease-card label.is-help-active,
.input-matrix label.is-help-active {
    outline: 1px solid rgba(214,255,75,.55);
    outline-offset: 3px;
}

.field-context-tooltip {
    position: fixed;
    z-index: 2147483000;
    display: grid;
    gap: 5px;
    padding: 14px 15px;
    border: 1px solid rgba(23,18,12,.1);
    border-radius: 20px;
    pointer-events: none;
    background:
        radial-gradient(circle at 10% 12%, rgba(214,255,75,.32), transparent 5rem),
        linear-gradient(145deg, rgba(255,255,255,.98), rgba(255,250,236,.96));
    box-shadow: 0 24px 60px rgba(23,18,12,.22), inset 0 -2px 0 rgba(23,18,12,.03);
    animation: help-pop .16s ease-out both;
}

.field-context-tooltip::before {
    content: "";
    position: absolute;
    left: 50%;
    width: 14px;
    height: 14px;
    transform: translateX(-50%) rotate(45deg);
    background: rgba(255,255,255,.98);
    border: 1px solid rgba(23,18,12,.08);
}

.field-context-tooltip.is-below::before {
    top: -7px;
    border-right: 0;
    border-bottom: 0;
}

.field-context-tooltip.is-above::before {
    bottom: -7px;
    border-left: 0;
    border-top: 0;
}

.field-context-tooltip strong {
    display: block;
    color: var(--ink);
    font-size: .88rem;
    font-weight: 1000;
    letter-spacing: -.03em;
    margin: 0;
}

.field-context-tooltip span {
    display: block;
    color: var(--muted);
    font-size: .78rem;
    font-weight: 820;
    line-height: 1.34;
    letter-spacing: normal;
}

@keyframes help-pop {
    from { opacity: 0; transform: translateY(-4px) scale(.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 680px) {
    .field-context-tooltip {
        max-width: calc(100vw - 24px);
        border-radius: 18px;
    }
}

/* Résultat: lecture plus claire et plan B plus actionnable */
.result-stage {
    position: relative;
    isolation: isolate;
    background:
        radial-gradient(circle at 8% 12%, rgba(214,255,75,.13), transparent 18rem),
        radial-gradient(circle at 92% 10%, rgba(241,165,35,.16), transparent 19rem),
        linear-gradient(145deg, #0e0e0b, #181510 62%, #24180f);
}
.result-stage::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(180deg, rgba(0,0,0,.85), transparent 72%);
}
.report-top {
    grid-template-columns: minmax(360px, .38fr) minmax(0, 1fr);
    min-height: 410px;
}
.report-score {
    position: relative;
    justify-items: center;
    align-content: center;
    padding: clamp(34px, 5vw, 70px) clamp(38px, 5vw, 72px);
    overflow: hidden;
}
.report-score::before {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(214,255,75,.12);
    filter: blur(38px);
    transform: translate(-30%, -28%);
}
.score-orb {
    width: clamp(220px, 22vw, 300px);
    height: clamp(220px, 22vw, 300px);
    box-shadow: 0 28px 80px rgba(0,0,0,.34), inset 0 0 0 1px rgba(255,255,255,.08);
}
.score-orb::after {
    inset: 20px;
    background: radial-gradient(circle at 50% 38%, #1b1b16, #0e0e0c 78%);
}
.report-score small {
    max-width: 250px;
    text-align: center;
    line-height: 1.35;
}
.report-verdict {
    padding: clamp(34px, 6vw, 76px);
    background: linear-gradient(90deg, rgba(255,255,255,.035), transparent 55%);
}
.report-title {
    max-width: 980px;
    text-wrap: balance;
}
.report-explanation {
    max-width: 920px;
    line-height: 1.55;
}
.metric-strip {
    background: rgba(255,255,255,.03);
}
.metric-tile {
    position: relative;
    min-height: 168px;
    background: linear-gradient(180deg, rgba(255,255,255,.062), rgba(255,255,255,.028));
    overflow: hidden;
}
.metric-tile::after {
    content: "";
    position: absolute;
    inset: auto 24px 0 24px;
    height: 4px;
    border-radius: 999px 999px 0 0;
    background: linear-gradient(90deg, var(--acid), rgba(241,165,35,.7));
    opacity: .62;
}
.metric-tile strong {
    line-height: .95;
}
.report-lower {
    grid-template-columns: minmax(0, .9fr) minmax(410px, 1.1fr);
}
.breakdown-report,
.fallback-plan {
    padding: clamp(28px, 4vw, 52px);
}
.breakdown-report h3,
.fallback-plan h3 {
    font-size: clamp(1.35rem, 2.2vw, 2rem);
    letter-spacing: -.06em;
}
.breakdown-line {
    border-bottom: 1px solid rgba(255,255,255,.07);
}
.breakdown-line:last-child {
    border-bottom: 0;
}
.fallback-plan {
    display: grid;
    gap: 22px;
    background:
        radial-gradient(circle at 88% 8%, rgba(214,255,75,.18), transparent 13rem),
        linear-gradient(160deg, rgba(214,255,75,.105), rgba(210,100,42,.10));
}
.fallback-header {
    display: grid;
    gap: 10px;
    max-width: 760px;
}
.fallback-kicker {
    width: fit-content;
    padding: 8px 11px;
    border-radius: 999px;
    color: var(--acid);
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    font-size: .76rem;
    font-weight: 1000;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.fallback-header p,
.fallback-km-note {
    color: rgba(255,247,232,.72);
    line-height: 1.5;
    margin: 0;
    font-weight: 750;
}
.fallback-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.fallback-card {
    min-height: 150px;
    display: grid;
    align-content: space-between;
    gap: 12px;
    padding: 18px;
    border-radius: 24px;
    background: rgba(9,9,7,.42);
    border: 1px solid rgba(255,255,255,.11);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
.fallback-card span {
    color: #000;
    font-size: .78rem;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .06em;
}
.fallback-card strong {
    color: #fff7e8;
    font-size: clamp(1.75rem, 3vw, 2.55rem);
    line-height: .95;
    letter-spacing: -.08em;
}
.fallback-card small {
    color: rgba(255,247,232,.62);
    font-weight: 760;
    line-height: 1.32;
}
.fallback-actions {
    padding: 20px;
    border-radius: 26px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.1);
}
.fallback-actions h4 {
    margin-bottom: 14px;
    color: #fff7e8;
    font-size: 1rem;
    letter-spacing: -.04em;
}
.action-list {
    margin: 0;
    padding-left: 0;
    list-style: none;
    counter-reset: action-counter;
    display: grid;
    gap: 10px;
}
.action-list li {
    counter-increment: action-counter;
    display: grid;
    grid-template-columns: 30px 1fr;
    gap: 10px;
    align-items: start;
    color: rgba(255,247,232,.78);
    line-height: 1.42;
}
.action-list li::before {
    content: counter(action-counter);
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #111;
    background: var(--acid);
    font-size: .82rem;
    font-weight: 1000;
}

@media (max-width: 1080px) {
    .report-lower {
        grid-template-columns: 1fr;
    }
    .breakdown-report {
        border-right: 0;
        border-bottom: 1px solid rgba(255,255,255,.1);
    }
}

@media (max-width: 920px) {
    .report-top {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .report-score {
        padding: clamp(28px, 8vw, 52px);
    }
}

@media (max-width: 680px) {
    .result-stage {
        border-radius: 30px;
    }
    .metric-strip,
    .fallback-cards {
        grid-template-columns: 1fr;
    }
    .metric-tile {
        min-height: 126px;
    }
    .breakdown-line {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .breakdown-track {
        order: 3;
    }
    .fallback-card {
        min-height: 132px;
    }
}

/* Rapport résultat v2 : plus lisible, modulaire et cohérent avec le plan de recul */
.result-report-v2 {
    --result-line: rgba(255, 247, 232, .11);
    --result-surface: rgba(255, 255, 255, .055);
    --result-surface-strong: rgba(255, 255, 255, .09);
    overflow: hidden;
    border-radius: inherit;
    background:
        radial-gradient(circle at 12% 0%, color-mix(in srgb, var(--meter-color) 24%, transparent), transparent 24rem),
        radial-gradient(circle at 90% 18%, rgba(214, 255, 75, .10), transparent 24rem),
        linear-gradient(140deg, rgba(255,255,255,.035), transparent 42%);
}

.result-hero-v2 {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
    gap: clamp(18px, 3vw, 34px);
    align-items: stretch;
    padding: clamp(22px, 4vw, 46px);
    border-bottom: 1px solid var(--result-line);
}

.result-verdict-v2 {
    min-height: 340px;
    display: grid;
    align-content: center;
    gap: 16px;
    padding: clamp(22px, 4vw, 44px);
    border: 1px solid var(--result-line);
    border-radius: 34px;
    background:
        linear-gradient(135deg, rgba(255,255,255,.09), rgba(255,255,255,.025)),
        radial-gradient(circle at 0% 0%, color-mix(in srgb, var(--meter-color) 18%, transparent), transparent 18rem);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 24px 80px rgba(0,0,0,.20);
}

.result-mini-label {
    margin: 4px 0 -8px;
    color: rgba(255,247,232,.52);
    font-size: .8rem;
    font-weight: 1000;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.result-verdict-v2 .report-title {
    max-width: 920px;
    font-size: clamp(2.35rem, 5.2vw, 5.25rem);
    line-height: .9;
}

.result-verdict-v2 .report-explanation {
    max-width: 760px;
    color: rgba(255,247,232,.78);
    font-size: clamp(1rem, 1.35vw, 1.22rem);
}

.result-score-panel {
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 18px;
    min-height: 340px;
    padding: clamp(22px, 3vw, 34px);
    border-radius: 34px;
    border: 1px solid var(--result-line);
    background:
        radial-gradient(circle at 50% 18%, color-mix(in srgb, var(--meter-color) 22%, transparent), transparent 13rem),
        linear-gradient(180deg, rgba(255,255,255,.085), rgba(255,255,255,.025));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.09);
}

.score-orb-v2 {
    width: clamp(190px, 19vw, 250px);
    height: clamp(190px, 19vw, 250px);
    margin: 0;
    box-shadow: 0 26px 70px rgba(0,0,0,.32), 0 0 34px color-mix(in srgb, var(--meter-color) 20%, transparent);
}

.score-orb-v2 .score-orb-content strong {
    font-size: clamp(3.9rem, 6.2vw, 5.4rem);
}

.score-plain-text {
    max-width: 260px;
    margin: 0;
    color: rgba(255,247,232,.72);
    text-align: center;
    font-weight: 820;
    line-height: 1.4;
}

.score-scale {
    width: min(260px, 100%);
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 10px;
    align-items: center;
    color: rgba(255,247,232,.48);
    font-size: .72rem;
    font-weight: 1000;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.score-scale i {
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(90deg, #da3b2f, #f1a523, #2fbd72);
    box-shadow: 0 0 24px color-mix(in srgb, var(--meter-color) 28%, transparent);
}

.result-decision-map {
    display: grid;
    grid-template-columns: minmax(300px, .72fr) minmax(0, 1.28fr);
    grid-template-areas:
        "metrics metrics"
        "breakdown plan";
    gap: 0;
}

.metric-strip-v2 {
    grid-area: metrics;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-bottom: 1px solid var(--result-line);
    background: rgba(0,0,0,.11);
}

.metric-tile-v2 {
    min-height: 176px;
    padding: clamp(18px, 2.5vw, 30px);
    border-right: 1px solid var(--result-line);
    background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.02));
    align-content: start;
    gap: 8px;
}

.metric-tile-v2:last-child { border-right: 0; }
.metric-tile-v2::after { display: none; }

.metric-tile-v2 .metric-index {
    width: fit-content;
    padding: 6px 9px;
    border-radius: 999px;
    color: var(--ink);
    background: color-mix(in srgb, var(--meter-color) 78%, #fff 22%);
    font-size: .72rem;
    font-weight: 1000;
    letter-spacing: .04em;
}

.metric-tile-v2 small {
    margin-top: 6px;
    color: rgba(255,247,232,.58);
    font-size: .82rem;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.metric-tile-v2 strong {
    color: #fff7e8;
    font-size: clamp(1.65rem, 3.1vw, 2.95rem);
    line-height: .96;
}

.metric-tile-v2 p {
    max-width: 230px;
    margin: 2px 0 0;
    color: rgba(255,247,232,.55);
    font-size: .86rem;
    font-weight: 750;
    line-height: 1.35;
}

.breakdown-report-v2 {
    grid-area: breakdown;
    display: grid;
    align-content: start;
    gap: 22px;
    padding: clamp(24px, 4vw, 48px);
    border-right: 1px solid var(--result-line);
    background: rgba(255,255,255,.025);
}

.result-section-heading {
    display: grid;
    gap: 8px;
}

.result-section-heading span {
    color: color-mix(in srgb, var(--meter-color) 82%, #fff 18%);
    font-size: .78rem;
    font-weight: 1000;
    text-transform: uppercase;
    letter-spacing: .1em;
}

.result-section-heading h3,
.fallback-header-v2 h3 {
    margin: 0;
    color: #fff7e8;
    font-size: clamp(1.45rem, 2.2vw, 2.15rem);
    letter-spacing: -.07em;
}

.breakdown-list-v2 {
    display: grid;
    gap: 14px;
}

.breakdown-line-v2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 11px;
    padding: 0 0 16px;
    border-bottom: 1px solid rgba(255,255,255,.075);
}

.breakdown-line-v2:last-child { border-bottom: 0; padding-bottom: 0; }

.breakdown-label-v2 {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: baseline;
}

.breakdown-label-v2 span {
    color: rgba(255,247,232,.72);
    font-weight: 900;
}

.breakdown-label-v2 strong {
    color: #fff7e8;
    font-size: 1.15rem;
    letter-spacing: -.04em;
}

.breakdown-track-v2 {
    width: 100%;
    height: 12px;
    border-radius: 999px;
    background: rgba(255,255,255,.085);
    overflow: hidden;
}

.breakdown-track-v2 .breakdown-fill {
    display: block;
    width: var(--bar-width);
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--meter-color), var(--acid));
    box-shadow: 0 0 24px color-mix(in srgb, var(--meter-color) 34%, transparent);
}

.fallback-plan-v2 {
    grid-area: plan;
    display: grid;
    gap: clamp(24px, 3vw, 34px);
    padding: clamp(30px, 4.4vw, 58px);
    background:
        radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--meter-color) 18%, transparent), transparent 17rem),
        linear-gradient(160deg, rgba(214,255,75,.085), rgba(241,165,35,.055) 48%, rgba(255,255,255,.025));
}

.fallback-header-v2 {
    max-width: 780px;
}

.fallback-header-v2 p {
    max-width: 720px;
    color: rgba(255,247,232,.72);
    font-weight: 760;
    line-height: 1.55;
}

.fallback-route {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(18px, 2.4vw, 26px);
    align-items: stretch;
}

.fallback-card-v2 {
    min-height: 168px;
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas:
        "step label"
        "value value"
        "hint hint";
    align-content: start;
    gap: 12px 16px;
    padding: clamp(22px, 2.6vw, 30px);
    border-radius: 28px;
    background: rgba(7, 7, 5, .46);
    border: 1px solid rgba(255,255,255,.115);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.09);
}

.fallback-step {
    grid-area: step;
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: var(--ink);
    background: color-mix(in srgb, var(--meter-color) 80%, #fff 20%);
    font-size: .78rem;
    font-weight: 1000;
}

.fallback-card-v2 small {
    grid-area: label;
    align-self: center;
    color: rgba(255,247,232,.58);
    font-size: .74rem;
    font-weight: 1000;
    text-transform: uppercase;
    letter-spacing: .055em;
}

.fallback-card-v2 strong {
    grid-area: value;
    color: #fff7e8;
    font-size: clamp(1.8rem, 3.2vw, 3rem);
    line-height: .94;
    letter-spacing: -.075em;
}

.fallback-card-v2 p {
    grid-area: hint;
    max-width: 360px;
    margin: 0;
    color: rgba(255,247,232,.66);
    font-size: .9rem;
    font-weight: 760;
    line-height: 1.42;
}

.fallback-km-note-v2 {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 18px;
    align-items: center;
    margin: 0;
    padding: 18px 22px;
    border-radius: 26px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.1);
}

.fallback-km-note-v2 span {
    min-width: 88px;
    color: var(--ink);
    background: var(--acid);
    border-radius: 999px;
    padding: 10px 12px;
    text-align: center;
    font-weight: 1000;
    letter-spacing: -.04em;
}

.fallback-km-note-v2 p {
    margin: 0;
    color: rgba(255,247,232,.72);
    font-weight: 760;
    line-height: 1.35;
}

.fallback-actions-v2 {
    padding: clamp(22px, 3vw, 30px);
    border-radius: 30px;
    background: rgba(255,255,255,.075);
    border: 1px solid rgba(255,255,255,.11);
}

.fallback-actions-v2 h4 {
    margin: 0 0 14px;
    color: #fff7e8;
    font-size: 1.04rem;
    letter-spacing: -.04em;
}

.action-list-v2 {
    gap: 16px;
}

.action-list-v2 li {
    grid-template-columns: 34px 1fr;
    color: rgba(255,247,232,.78);
}

.action-list-v2 li::before {
    width: 34px;
    height: 34px;
    background: color-mix(in srgb, var(--meter-color) 78%, var(--acid) 22%);
}

.result-report-v2 .report-warning {
    border-top: 1px solid var(--result-line);
    background: rgba(0,0,0,.12);
}

@media (min-width: 1540px) {
    .fallback-route {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fallback-card-v2 {
        min-height: 170px;
    }
}

@media (max-width: 980px) {
    .result-hero-v2,
    .result-decision-map {
        grid-template-columns: 1fr;
    }

    .result-decision-map {
        grid-template-areas:
            "metrics"
            "breakdown"
            "plan";
    }

    .breakdown-report-v2 {
        border-right: 0;
        border-bottom: 1px solid var(--result-line);
    }

    .metric-strip-v2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .metric-tile-v2:nth-child(2n) {
        border-right: 0;
    }

    .result-score-panel,
    .result-verdict-v2 {
        min-height: auto;
    }
}

@media (max-width: 680px) {
    .result-hero-v2 {
        padding: 14px;
        gap: 14px;
    }

    .result-verdict-v2,
    .result-score-panel {
        border-radius: 24px;
    }

    .metric-strip-v2,
    .fallback-route {
        grid-template-columns: 1fr;
    }

    .metric-tile-v2,
    .metric-tile-v2:nth-child(2n) {
        min-height: auto;
        border-right: 0;
        border-bottom: 1px solid var(--result-line);
    }

    .metric-tile-v2:last-child {
        border-bottom: 0;
    }

    .fallback-km-note-v2 {
        grid-template-columns: 1fr;
    }
}

/* Contenu SEO hors simulateur : lisible, scannable et orienté intention de recherche */
.seo-answer .ledger-content p + p {
    margin-top: 12px;
}

.seo-decision-guide,
.intent-clusters,
.comparison-strip {
    margin-top: 38px;
    margin-bottom: 38px;
}

.seo-decision-guide {
    display: grid;
    gap: 20px;
    padding: clamp(28px, 5vw, 56px);
    border-radius: 42px;
    background:
        radial-gradient(circle at 12% 0%, rgba(214,255,75,.18), transparent 18rem),
        linear-gradient(145deg, rgba(255,249,237,.86), rgba(255,255,255,.62));
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
}

.seo-guide-intro {
    max-width: 860px;
}

.seo-guide-intro h2,
.intent-heading h2,
.comparison-strip h2 {
    margin: 0;
    letter-spacing: -.06em;
    text-wrap: balance;
}

.seo-guide-intro p,
.intent-heading p,
.comparison-strip p {
    color: var(--ink-2);
}

.seo-guide-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.seo-guide-grid article {
    min-height: 245px;
    display: grid;
    align-content: space-between;
    gap: 18px;
    padding: 22px;
    border-radius: 28px;
    background: rgba(255,255,255,.68);
    border: 1px solid rgba(23,18,12,.08);
    box-shadow: inset 0 -2px 0 rgba(23,18,12,.025);
}

.seo-guide-grid span {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    color: var(--ink);
    background: var(--acid);
    font-weight: 1000;
    letter-spacing: -.04em;
}

.seo-guide-grid h3,
.intent-grid h3 {
    margin: 0;
    letter-spacing: -.045em;
    line-height: 1.05;
}

.seo-guide-grid p,
.intent-grid p {
    margin: 0;
    color: var(--muted);
    font-weight: 760;
    line-height: 1.42;
}

.intent-clusters {
    display: grid;
    grid-template-columns: minmax(260px, .42fr) minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.intent-heading {
    position: sticky;
    top: 96px;
    padding: 28px;
    border-radius: 34px;
    background: var(--night);
    color: #fff7e8;
    box-shadow: var(--shadow-soft);
}

.intent-heading .eyebrow-chip {
    color: var(--acid);
    background: rgba(255,255,255,.08);
    border-color: rgba(255,255,255,.12);
}

.intent-heading p {
    color: rgba(255,247,232,.72);
}

.intent-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.intent-grid article {
    min-height: 190px;
    display: grid;
    align-content: start;
    gap: 12px;
    padding: 24px;
    border-radius: 30px;
    background: rgba(255,249,237,.76);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
}

.intent-grid article::before {
    content: "";
    width: 28px;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--acid), var(--orange));
}

.comparison-strip {
    display: grid;
    gap: 20px;
    padding: clamp(26px, 5vw, 46px);
    border-radius: 38px;
    background: rgba(255,249,237,.82);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
}

.comparison-table {
    display: grid;
    overflow: hidden;
    border: 1px solid rgba(23,18,12,.08);
    border-radius: 28px;
    background: rgba(255,255,255,.58);
}

.comparison-row {
    display: grid;
    grid-template-columns: minmax(150px, .55fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 1px;
    background: rgba(23,18,12,.07);
}

.comparison-row > * {
    padding: 18px;
    background: rgba(255,255,255,.72);
    color: var(--ink-2);
    font-weight: 760;
    line-height: 1.38;
}

.comparison-row strong {
    color: var(--ink);
    font-weight: 1000;
}

.comparison-head > * {
    color: var(--ink);
    background: rgba(214,255,75,.32);
    font-size: .78rem;
    font-weight: 1000;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.seo-faq-zone > div:first-child p:not(.eyebrow-chip) {
    color: var(--muted);
    font-weight: 760;
}

@media (max-width: 1080px) {
    .seo-guide-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .intent-clusters {
        grid-template-columns: 1fr;
    }

    .intent-heading {
        position: static;
    }
}

@media (max-width: 760px) {
    .seo-guide-grid,
    .intent-grid {
        grid-template-columns: 1fr;
    }

    .seo-guide-grid article,
    .intent-grid article {
        min-height: auto;
    }

    .comparison-row,
    .comparison-head {
        grid-template-columns: 1fr;
    }

    .comparison-head {
        display: none;
    }

    .comparison-row {
        border-bottom: 1px solid rgba(23,18,12,.08);
    }

    .comparison-row:last-child {
        border-bottom: 0;
    }
}
