/* TurboPubs — interface produit, jaune signal, typo géométrique.
   Aucun outil de compilation requis : ce fichier est servi tel quel. */

:root {
    --bg: #F5F6F8;
    --surface: #FFFFFF;
    --ink: #101114;
    --muted: #5C6570;
    --line: #E6E8EE;
    --accent: #FFC21A;
    --on-accent: #101114;
    --danger: #D92D20;
    --ok: #178A4A;
    --check: #101114;
    --bar: #101114;
    --bar-ink: #F5F6F8;
    --bar-muted: #A7B0BC;
    --shadow: 0 1px 2px rgba(16, 17, 20, .04), 0 12px 32px rgba(16, 17, 20, .06);
    --font-display: "Bricolage Grotesque", "Outfit", "Helvetica Neue", Arial, sans-serif;
    --font-body: "Outfit", "Helvetica Neue", Arial, sans-serif;
    --font-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
    --radius: 16px;
    color-scheme: light;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #0C0D10;
        --surface: #16181D;
        --ink: #F4F5F7;
        --muted: #A3ABB6;
        --line: #2A2E36;
        --danger: #FF6B57;
        --ok: #4CC683;
        --check: #F4F5F7;
        --bar: #0C0D10;
        --bar-ink: #F4F5F7;
        --bar-muted: #9AA3B0;
        --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px rgba(0, 0, 0, .28);
        color-scheme: dark;
    }
}

*, *::before, *::after { box-sizing: border-box; }
@keyframes tp-autofill { from {} to {} }
input:-webkit-autofill { animation-name: tp-autofill; animation-duration: 0.01s; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background:
        radial-gradient(820px 380px at 92% -8%, color-mix(in srgb, var(--accent) 42%, transparent), transparent 62%),
        var(--bg);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.5;
    overflow-x: hidden;
}
img { max-width: 100%; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* ─── Structure ─────────────────────────────── */
.container {
    max-width: 1120px;
    margin: 0 auto;
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.narrow { max-width: 760px; }
.page { padding-block: 36px 72px; display: flex; flex-direction: column; gap: 48px; }
.stack { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.between { justify-content: space-between; }
.figures { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 16px 20px; }
.note-spend { display: grid; gap: 12px; justify-items: start; min-width: 0; }
.note-spend .field { width: min(200px, 100%); min-width: 0; }
.note-spend .input { min-width: 0; }
@media (min-width: 720px) {
    .note-spend { grid-template-columns: 200px 160px auto; align-items: end; }
}
@media (max-width: 640px) {
    .page-head { flex-direction: column; align-items: flex-start; }
}
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.week { display: grid; gap: 16px; min-width: 0; grid-template-columns: 1fr; }
@media (min-width: 700px) {
    .week { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
    .week { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.split { display: grid; gap: 24px; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }

.checker { display: none; }

/* ─── Barre de navigation ───────────────────── */
.topbar {
    position: sticky; top: 0; z-index: 20;
    background: color-mix(in srgb, var(--surface) 84%, transparent);
    color: var(--ink);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(16px);
}
.topbar .container { display: flex; align-items: center; gap: 20px; min-height: 64px; flex-wrap: wrap; padding-block: 10px; }
.logo {
    font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 1;
    text-decoration: none; letter-spacing: -.03em; color: inherit;
}
.brand-logo { display: inline-flex; align-items: center; gap: .38em; }
.logo-mark { width: 1.05em; height: .76em; flex: none; display: block; }
.logo-name {
    font-family: Archivo, var(--font-display);
    font-style: italic; font-weight: 800; letter-spacing: -.045em; line-height: .8;
}
.logo-name .pub { color: var(--accent); }
.nav { display: flex; gap: 4px; flex-wrap: wrap; flex: 1; }
.nav a {
    text-decoration: none; font-weight: 500; font-size: 15px; padding: 6px 12px; border-radius: 999px; color: var(--muted);
}
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); background: color-mix(in srgb, var(--accent) 45%, transparent); }
.topbar .nav a { color: var(--muted); }
.topbar .nav a:hover,
.topbar .nav a[aria-current="page"] { color: var(--ink); }
.nav-right { display: flex; gap: 10px; align-items: center; margin-left: auto; }
.nav-right .nav { flex: none; }
.nav-right > .btn-dark { margin-left: 18px; }

.side-toggle { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.side-open { display: none; }
.app-shell { display: grid; grid-template-columns: 240px minmax(0, 1fr); align-items: start; }
.side {
    position: sticky; top: 65px; height: calc(100vh - 65px); overflow: auto;
    background: var(--surface); border-right: 1px solid var(--line); padding: 18px 12px 28px;
}
.side-nav { display: flex; flex-direction: column; gap: 2px; }
.side-label {
    margin: 18px 12px 6px; font-size: 12px; font-weight: 700; color: var(--muted);
}
.side-nav > a, .side-nav [role="group"] a {
    display: flex; align-items: center; min-height: 38px; padding: 7px 12px; border-radius: 10px;
    text-decoration: none; color: var(--ink); font-weight: 500; font-size: 15px;
}
.side-nav a:hover { background: var(--bg); }
.side-nav a[aria-current="page"] {
    background: color-mix(in srgb, var(--accent) 62%, var(--surface)); font-weight: 700;
}
.side-nav > a { margin-bottom: 4px; }
.app-main { min-width: 0; }
.app-main .page { padding-top: 28px; }

/* ─── Typo ─────────────────────────────────── */
h1, h2, h3 { margin: 0; text-wrap: balance; }
.h1 { font-family: Archivo, var(--font-display); font-weight: 700; letter-spacing: -.04em; font-size: clamp(40px, 6vw, 56px); line-height: 1.05; }
.h2 { font-family: Archivo, var(--font-display); font-weight: 700; letter-spacing: -.03em; font-size: 28px; line-height: 1.15; }
.h3 { font-family: Archivo, var(--font-display); font-weight: 700; letter-spacing: -.02em; font-size: 18px; line-height: 1.3; }
.label { font-family: var(--font-body); font-size: 13px; font-weight: 600; letter-spacing: -.01em; color: var(--muted); }
.page-kicker { font-family: Archivo, var(--font-display); font-weight: 500; font-size: 15px; letter-spacing: -.015em; color: var(--muted); }
.eyebrow {
    font-family: var(--font-body); font-size: 13px; font-weight: 600; color: var(--ink);
    display: inline-flex; width: fit-content; padding: 4px 10px; border-radius: 999px;
    background: color-mix(in srgb, var(--accent) 55%, var(--surface));
}
.muted { color: var(--muted); }
.small { font-size: 14px; }
p { margin: 0; }
.lead { font-size: 19px; color: var(--muted); max-width: 52ch; }
.num { font-variant-numeric: tabular-nums; }

/* ─── Boutons ──────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font: 600 15px var(--font-body); text-decoration: none; cursor: pointer;
    border: 1px solid var(--line); background: var(--surface); color: var(--ink);
    border-radius: 999px; padding: 10px 16px;
}
.btn:hover { border-color: var(--ink); }
.btn-dark { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn-dark:hover { filter: brightness(1.12); }
.btn-turbo {
    font: 600 15px var(--font-body); background: var(--accent); color: var(--on-accent);
    border: 0; padding: 12px 18px; border-radius: 999px;
}
.btn-turbo:hover { filter: brightness(1.05); }
.topbar .btn { background: transparent; color: var(--ink); border-color: var(--line); }
.topbar .btn:hover { border-color: var(--ink); }
.topbar .btn-dark { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn-danger { color: var(--danger); }
.btn-link { background: none; border: 0; padding: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font: inherit; }
.btn[disabled], .btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-sm { padding: 5px 10px; font-size: 13px; }

/* ─── Cartes et formulaires ───────────────── */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; min-width: 0; box-shadow: var(--shadow); }
.field { display: flex; flex-direction: column; gap: 6px; }
.input, select.input, textarea.input {
    font: inherit; color: var(--ink); background: var(--bg); border: 1px solid var(--line);
    border-radius: 8px; padding: 10px 12px; width: 100%;
}
.input:focus, select.input:focus, textarea.input:focus {
    outline: none; border-color: var(--ink);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 65%, transparent);
}
textarea.input { min-height: 90px; resize: vertical; }
.error { color: var(--danger); font-size: 14px; }
.hint { font-size: 13px; color: var(--muted); }
.check { display: flex; gap: 8px; align-items: center; font-size: 15px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
    display: inline-block; font: 500 14px var(--font-body); border: 1px solid var(--line);
    border-radius: 999px; padding: 7px 14px; cursor: pointer;
}
.chip input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }

.flash { border-left: 4px solid var(--accent); background: var(--surface); padding: 12px 16px; border-radius: 0 4px 4px 0; }
.flash-error { border-left-color: var(--danger); }

.badge {
    display: inline-block; font-size: 12px; font-weight: 600;
    border: 1px solid var(--line); padding: 3px 8px; border-radius: 999px; color: var(--muted);
}
.badge-accent { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }

/* ─── Jauge de quota ──────────────────────── */
.meter { height: 10px; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.meter > span { display: block; height: 100%; background: var(--accent); }
.meter.full > span { background: var(--danger); }

/* ─── Affiche ─────────────────────────────── */
.stage { position: relative; }
.stage-note {
    position: absolute; right: 22px; top: -14px; margin: 0;
    background: var(--surface); color: var(--ink); border: 1px solid var(--line);
    border-radius: 14px; padding: 10px 14px; box-shadow: var(--shadow);
    display: flex; flex-direction: column; gap: 2px; font-size: 13px;
}
.stage-note span { color: var(--muted); }
.poster {
    background: var(--ink); color: #F5F6F8; border-radius: 28px;
    padding: 36px 32px; display: flex; flex-direction: column; gap: 16px;
    position: relative; overflow: hidden; min-height: 320px;
    box-shadow: inset 0 3px 0 var(--accent), 0 30px 60px rgba(16, 17, 20, .18);
}
.poster::after { content: none; }
.poster .num { font-family: var(--font-body); font-size: 13px; font-weight: 600; letter-spacing: 0; color: var(--accent); }
.poster h3 {
    font-family: var(--font-display); font-weight: 600; letter-spacing: -.03em;
    font-size: clamp(28px, 4vw, 40px); line-height: 1.08; max-width: 16ch; overflow-wrap: anywhere;
}
.poster-empty h3 { max-width: 16em; overflow-wrap: break-word; }
.poster p { max-width: 32ch; font-weight: 400; color: #C5CAD3; }
.poster .cta {
    align-self: flex-start; background: var(--accent); color: var(--on-accent); font-weight: 600;
    font-size: 14px; padding: 8px 14px; border-radius: 999px; margin-top: auto;
}

.slogans { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.slogans li { display: flex; gap: 12px; align-items: baseline; justify-content: space-between; }
.slogans .s { font-family: var(--font-display); font-weight: 600; font-size: 20px; letter-spacing: -.02em; line-height: 1.25; min-width: 0; overflow-wrap: anywhere; }
.pre { white-space: pre-wrap; overflow-wrap: anywhere; min-width: 0; max-width: 100%; }
.paste { word-break: break-all; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--font-mono); font-size: 13px; color: var(--muted); }
.shot { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 10px; border-top: 1px solid var(--line); padding-top: 10px; }
.shot .t { font-family: var(--font-mono); font-size: 13px; color: var(--muted); }

/* ─── Listes ──────────────────────────────── */
.ad-card { display: flex; flex-direction: column; gap: 8px; text-decoration: none; }
.ad-card .strip { height: 6px; background: var(--accent); border-radius: 3px; width: 48px; }
.ad-card strong { font-family: var(--font-display); font-weight: 620; letter-spacing: -.02em; font-size: 18px; line-height: 1.25; overflow-wrap: anywhere; }
.ad-card:hover strong { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; }
.meta { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }

.empty { text-align: left; padding: 32px 20px; border: 1px dashed var(--line); border-radius: var(--radius); display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }

/* ─── Tarifs ──────────────────────────────── */
.plans { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); align-items: stretch; }
.plan { display: flex; flex-direction: column; gap: 14px; height: 100%; }
.plan .h2 { font-family: Archivo, var(--font-display); font-weight: 700; letter-spacing: -.03em; }
.plan .row { min-height: 34px; }
.plan.featured { border-color: var(--ink); box-shadow: var(--shadow); }
.plan > .muted { min-height: 3em; }
.price { font-family: Archivo, var(--font-display); font-weight: 700; letter-spacing: -.03em; font-size: 48px; line-height: 1; display: flex; align-items: baseline; gap: 6px; }
.price small { font-family: Archivo, var(--font-body); font-weight: 500; font-size: 16px; color: var(--muted); }
.plan ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 4px; }
.plan .btn { margin-top: auto; width: 100%; }

/* ─── Accueil ─────────────────────────────── */
.hero-bleed {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-top: -36px;
    padding: 36px max(20px, calc(50vw - 540px)) 40px;
    background:
        radial-gradient(520px 280px at 80% 20%, color-mix(in srgb, var(--accent) 28%, transparent), transparent 70%),
        #101114;
    color: #F5F6F8;
}
.hero-bleed .h1 {
    color: #fff; font-family: Archivo, var(--font-display); font-style: normal; font-weight: 700;
    font-size: clamp(46px, 5.6vw, 78px); max-width: 12ch;
}
.hero-bleed .h1 em { font-style: normal; font-weight: 700; color: var(--accent); }
.hero-bleed .lead { color: #B7BEC8; font-size: 18px; max-width: 100%; min-width: 0; overflow-wrap: break-word; }
.hero .stack > * { min-width: 0; max-width: 100%; }
.hero-bleed .btn { background: transparent; color: #fff; border-color: rgba(255,255,255,.22); }
.hero-bleed .btn:hover { border-color: #fff; }
.hero-bleed .btn-turbo { background: var(--accent); color: var(--on-accent); border-color: transparent; }
.hero-bleed .btn-turbo:hover { filter: brightness(1.06); border-color: transparent; }
.hero { padding: 0; display: grid; gap: 56px; grid-template-columns: minmax(0, 1.05fr) minmax(280px, .9fr); align-items: center; }
.hero > * { min-width: 0; }
.formats { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.formats span {
    font-size: 13px; font-weight: 500; color: #D5DAE2;
    border: 1px solid rgba(255,255,255,.16); border-radius: 999px; padding: 5px 10px;
}
.mock {
    background: #fff; color: #101114; border-radius: 28px; padding: 14px 14px 16px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, .35);
}
.mock-top { display: flex; align-items: center; gap: 10px; padding: 6px 8px 14px; }
.mock-top strong { display: block; font-size: 14px; }
.mock-top span span { display: block; font-size: 12px; color: #6B7280; }
.mock-avatar { width: 38px; height: 38px; border-radius: 50%; background: #101114; flex: none; }
.mock-visual {
    background: var(--accent); color: #101114; border-radius: 18px; min-height: 148px;
    padding: 22px; display: flex; align-items: flex-end;
}
.mock-visual p {
    margin: 0; font-family: var(--font-display); font-weight: 700; letter-spacing: -.045em;
    font-size: clamp(30px, 3vw, 42px); line-height: .95; max-width: 12ch;
}
.mock-copy { margin: 14px 8px 12px; font-size: 15px; color: #3A4150; }
.mock-cta {
    display: inline-flex; margin-left: 8px; background: #101114; color: var(--accent);
    font-weight: 600; font-size: 14px; border-radius: 999px; padding: 8px 14px;
}
.product {
    background: #fff; color: #101114; border-radius: 28px; padding: 12px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, .35);
    display: flex; flex-direction: column; gap: 10px;
}
.product-pane { border: 1px solid #E6E8EE; border-radius: 18px; padding: 16px 16px 14px; }
.product-kicker { margin: 0; font-size: 13px; font-weight: 600; color: #5C6570; }
.product-time {
    background: var(--accent); color: var(--on-accent); font-weight: 800; font-size: 13px;
    border-radius: 999px; padding: 3px 9px; width: fit-content; flex: none;
}
.product-where { margin: 10px 0 0; font-size: 13px; line-height: 1.4; color: #5C6570; overflow-wrap: break-word; }
.product-line { margin: 12px 0 0; font-family: Archivo, var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: -.03em; line-height: 1.15; overflow-wrap: break-word; }
.product-sub { margin: 6px 0 0; font-size: 14px; color: #5C6570; overflow-wrap: break-word; }
.product-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.product-stats p { margin: 0; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.product-stats strong { font-family: Archivo, var(--font-display); font-weight: 700; font-size: 26px; letter-spacing: -.04em; line-height: 1; }
.product-stats span { font-size: 12px; color: #5C6570; }
.product-stats p:last-child strong { color: #101114; background: var(--accent); border-radius: 8px; padding: 2px 6px; width: fit-content; }
.mock-search { padding: 22px 22px 20px; display: flex; flex-direction: column; gap: 8px; }
.mock-note { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .01em; color: #6B7280; }
.mock-url { margin: 0; font-size: 13px; color: #188038; }
.mock-url span {
    display: inline-block; margin-right: 6px; padding: 1px 6px; border-radius: 4px;
    background: #188038; color: #fff; font-weight: 700; font-size: 11px; letter-spacing: .02em;
}
.mock-title { margin: 0; color: #1a0dab; font-size: 22px; font-weight: 500; line-height: 1.25; }
.mock-search .mock-copy { margin: 0; color: #3c4043; font-size: 14px; line-height: 1.45; }
@media (max-width: 860px) {
    .hero-bleed { margin-left: -16px; margin-right: -16px; padding: 28px 20px 32px; }
    .hero { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .hero-bleed .h1 { max-width: none; }
}
.flow {
    list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
    background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 24px; overflow: hidden;
    box-shadow: var(--shadow);
}
.flow li { display: flex; flex-direction: column; gap: 14px; padding: 22px 22px 24px; min-width: 0; }
.flow li + li { border-left: 1px solid var(--line); }
.flow li > span {
    font-family: Archivo, var(--font-display); font-weight: 800; font-size: 15px; line-height: 1;
    width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px;
    background: var(--accent); color: #101114;
}
.flow .h3 { font-family: Archivo, var(--font-display); font-weight: 700; }
.flow .muted { margin: 4px 0 0; }
.explain {
    list-style: none; margin: 0; padding: 0; max-width: 760px;
    display: flex; flex-direction: column;
    background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 24px; overflow: hidden;
    box-shadow: var(--shadow);
}
.explain li {
    display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 16px; align-items: start;
    padding: 22px; min-width: 0;
}
.explain li + li { border-top: 1px solid var(--line); }
.explain li > span {
    font-family: Archivo, var(--font-display); font-weight: 800; font-size: 15px; line-height: 1;
    width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px;
    background: var(--accent); color: #101114;
}
.explain .h3 { font-family: Archivo, var(--font-display); font-weight: 700; }
.explain .muted { margin: 4px 0 0; overflow-wrap: break-word; }
.perks {
    list-style: none; margin: 0; padding: 0;
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px;
}
.perks li {
    background: var(--surface); border: 1px solid var(--line); border-radius: 20px;
    padding: 18px 18px 16px; display: flex; flex-direction: column; gap: 6px; box-shadow: var(--shadow); min-width: 0;
}
.perks li:nth-child(1) { background: #FFC21A; border-color: transparent; color: #101114; }
.perks li:nth-child(1) span, .perks li:nth-child(1) a { color: #3E4650; }
.perks li:nth-child(4) { background: #101114; color: #F5F6F8; border-color: transparent; }
.perks li:nth-child(4) span { color: #C5CAD3; }
.perks li:nth-child(4) a { color: #FFC21A; }
.perks strong { font-family: Archivo, var(--font-display); font-weight: 700; letter-spacing: -.03em; font-size: 17px; }
.perks span { color: var(--muted); font-size: 14px; line-height: 1.45; }
.perks a { margin-top: auto; padding-top: 10px; color: var(--ink); font-weight: 700; font-size: 14px; text-underline-offset: 3px; }
@media (prefers-color-scheme: dark) {
    .perks li:nth-child(1) span { color: #3E4650; }
    .perks li:nth-child(4) { background: #F4F5F7; color: #101114; }
    .perks li:nth-child(4) span { color: #5C6570; }
    .perks li:nth-child(4) a { color: #101114; }
}
@media (max-width: 800px) {
    .flow { grid-template-columns: 1fr; }
    .flow li + li { border-left: 0; border-top: 1px solid var(--line); }
    .perks { grid-template-columns: 1fr 1fr; }
}
.band { background: var(--ink); color: #F5F6F8; border: 0; box-shadow: 0 18px 40px rgba(16, 17, 20, .12); }
.band .muted { color: #C5CAD3; }
.band .btn-dark { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
@media (prefers-reduced-motion: reduce) { .steps .card { transition: none; } }

footer.site {
    background: #101114; color: #C5CAD3; border-top: 1px solid #2A2E36;
    padding: 32px 0 20px; font-size: 14px;
}
footer.site a { color: #F5F6F8; text-decoration: none; }
footer.site a:hover { color: var(--accent); }
footer.site .logo { color: #fff; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.footer-brand { display: flex; flex-direction: column; gap: 8px; max-width: 46ch; }
.footer-brand p { margin: 0; color: #A7B0BC; line-height: 1.45; }
.footer-copy { margin: 0; color: #8B939E; font-size: 13px; flex: none; display: flex; gap: 16px; align-items: center; }
footer.site .footer-copy a { color: #C5CAD3; text-decoration: underline; text-underline-offset: 3px; }
.legal { max-width: 68ch; display: flex; flex-direction: column; gap: 14px; }
.legal h2 { margin-top: 12px; }
.legal p, .legal li { line-height: 1.5; }
.legal ul { margin: 0; padding-left: 1.15em; display: flex; flex-direction: column; gap: 8px; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 640px) {
    .perks { grid-template-columns: 1fr; }
    .formats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .formats span { text-align: center; }
    .logo { font-size: 26px; }
    .topbar .container { display: flex; flex-wrap: wrap; width: 100%; }
    .topbar .nav-right { flex: 1 1 100%; margin-left: 0; }
    .topbar .nav-right .btn { flex: 1; }
    .topbar .container:has(.nav-right > .nav) {
        display: flex; flex-wrap: wrap; width: 100%; max-width: 100%;
        padding-bottom: 36px;
    }
    .topbar .nav-right:has(> .nav) {
        flex: 1 1 100%; width: 100%; max-width: 100%; min-width: 0; margin-left: 0;
        justify-content: flex-end; flex-wrap: wrap;
    }
    .topbar .nav-right:has(> .nav) .nav { flex: 0 1 auto; min-width: 0; justify-content: flex-end; }
    .topbar .nav-right:has(> .nav) .btn { flex: none; }
    body.app .topbar .nav-right { flex: 0 1 auto; margin-left: auto; }
    body.app .topbar .nav-right .btn { flex: none; }
    .side-open {
        display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px;
        border-radius: 999px; background: var(--ink); color: var(--bg); font-weight: 700; font-size: 13px; cursor: pointer;
    }
    .side { display: none; position: static; height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
    .app-shell { grid-template-columns: 1fr; }
    .side-toggle:checked ~ .app-shell .side { display: block; }
    .hero .stack > .row { display: grid; grid-template-columns: minmax(0, 1fr); }
    .hero .stack > .row .btn { width: 100%; min-width: 0; }
    .btn-turbo { font-size: 15px; }
    .footer-inner { flex-direction: column; align-items: flex-start; }
    .footer-copy { align-self: flex-end; }
}

.auth { min-height: 100%; display: flex; flex-direction: column; }
.auth .container { padding-block: 40px; }
.auth .card { max-width: 440px; margin: 0 auto; width: 100%; }

.spin { width: 18px; height: 18px; border: 3px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(1turn); } }
@media (prefers-reduced-motion: reduce) { .spin { animation: none; } }

.pagination { display: flex; gap: 6px; flex-wrap: wrap; }

/* ─── Marketing : tableaux, statuts, indicateurs ─── */
.table-wrap { overflow-x: auto; max-width: 100%; min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table.data { width: 100%; border-collapse: collapse; font-size: 14px; }
table.data th, table.data td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.data th { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
table.data td.num, table.data th.num { text-align: right; font-variant-numeric: tabular-nums; }
table.data tr:last-child td { border-bottom: 0; }
table.data td.wrap { white-space: normal; min-width: 180px; }
table.data tr.best td { background: color-mix(in srgb, var(--ok) 8%, transparent); }
.only-phone { display: none; }
.only-phone a { color: inherit; text-decoration: none; }
@media (max-width: 640px) {
    .only-wide { display: none; }
    .only-phone { display: flex; flex-direction: column; gap: 10px; }
}

.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; padding: 2px 10px; border-radius: 999px; border: 1px solid var(--line); white-space: nowrap; }
.pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); }
.pill.s-active::before, .pill.s-won::before, .pill.s-approved::before, .pill.s-scheduled::before { background: var(--ok); }
.pill.s-pending_approval::before, .pill.s-qualified::before, .pill.s-contacted::before { background: var(--accent); }
.pill.s-paused::before, .pill.s-draft::before, .pill.s-new::before { background: var(--muted); }
.pill.s-rejected::before, .pill.s-lost::before { background: var(--danger); }
.pill.s-completed::before { background: var(--ink); }

.kpis { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; }
.kpi strong { font-family: Archivo, var(--font-display); font-weight: 700; font-size: 30px; line-height: 1; font-variant-numeric: tabular-nums; }
.kpi.key { border: 2px solid var(--ink); }

.compare { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.compare .card dl { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; margin: 0; }
.compare .card dt { color: var(--muted); }
.compare .card dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.compare .card dd.key { font-family: Archivo, var(--font-display); font-size: 22px; font-weight: 700; }

.rec { border-left: 4px solid var(--accent); }
.rec.invalid { border-left-color: var(--line); opacity: .8; }
.rec.insight { border-left-color: var(--ink); }
.change { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; font-variant-numeric: tabular-nums; }
.change .from { text-decoration: line-through; color: var(--muted); }
.change .to { font-weight: 700; }

.danger-zone { border: 2px solid var(--danger); }
select.input.select-sm {
    width: auto; max-width: 100%; flex: 0 0 auto;
    padding: 8px 32px 8px 12px; font-size: 15px;
    background: var(--surface); color: var(--ink);
}
.toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.toolbar > input[type="search"] { width: min(280px, 100%); flex: 1 1 200px; }
.share-link { display: flex; gap: 12px; align-items: center; min-width: 0; }
.share-link .input { flex: 1; min-width: 0; font-family: var(--font-mono); font-size: 13px; }
@media (max-width: 640px) {
    .share-link { flex-direction: column; align-items: stretch; }
    .share-link .btn { width: 100%; }
    .toolbar { flex-direction: column; align-items: stretch; }
    .toolbar > input[type="search"],
    .toolbar > select { width: 100%; flex: none; }
}
.input-sm { padding: 4px 8px; font-size: 13px; width: 110px; }
.timeline { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.timeline li { border-left: 2px solid var(--line); padding-left: 12px; }

.capture { max-width: 520px; margin: 48px auto 72px; padding-inline: 16px; min-width: 0; }
.capture .card { min-width: 0; max-width: 100%; }
.capture .stack { display: block; max-width: 100%; }
.capture .stack > * + * { margin-top: 16px; }
.capture .h1 { display: block; font-size: clamp(32px, 8vw, 48px); line-height: 1.1; overflow-wrap: anywhere; text-wrap: wrap; max-width: 100%; min-width: 0; }
.capture p { overflow-wrap: break-word; max-width: 100%; }
.capture form .btn { width: 100%; }
.capture-note { margin: 16px 0 0; text-align: center; color: var(--muted); font-size: 13px; }
.capture-note a { color: inherit; }
.hp { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
