/* crushimmo — feuille de style minimaliste */
:root {
    --c-bg: #0e1525;
    --c-bg-soft: #161e33;
    --c-card: #1a2238;
    --c-border: #2a3552;
    --c-text: #e6ecf5;
    --c-text-soft: #a4b0c8;
    --c-accent: #6c9bff;
    --c-accent-hover: #5187ff;
    --c-success: #4ade80;
    --c-warn: #fbbf24;
    --c-danger: #f87171;
    --radius: 8px;
    --shadow: 0 4px 16px rgba(0,0,0,0.25);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, system-ui, sans-serif;
    background: var(--c-bg);
    color: var(--c-text);
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a { color: var(--c-accent); text-decoration: none; }
a:hover { color: var(--c-accent-hover); }

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* ---- Header ---- */
.site-header {
    border-bottom: 1px solid var(--c-border);
    background: var(--c-bg-soft);
    padding: 16px 0;
}
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 600;
    color: var(--c-text);
}
.brand-mark { color: var(--c-accent); font-size: 24px; }
.brand-name { letter-spacing: -0.02em; }
.main-nav { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.main-nav a { color: var(--c-text-soft); }
.main-nav a:hover { color: var(--c-text); }

/* ---- Main / Footer ---- */
.site-main { flex: 1; padding: 40px 0; }
.site-footer {
    border-top: 1px solid var(--c-border);
    padding: 24px 0;
    color: var(--c-text-soft);
    font-size: 14px;
    text-align: center;
}

/* ---- Typography ---- */
h1 { font-size: 32px; margin: 0 0 12px; letter-spacing: -0.02em; }
h2 { font-size: 22px; margin: 32px 0 12px; }
h3 { font-size: 17px; margin: 16px 0 8px; }
p  { margin: 0 0 12px; }

.text-muted { color: var(--c-text-soft); }
.text-success { color: var(--c-success); }
.text-warn    { color: var(--c-warn); }
.text-danger  { color: var(--c-danger); }
.small { font-size: 13px; }

/* ---- Boutons ---- */
.btn, .btn-primary, .btn-ghost, .btn-danger {
    display: inline-block;
    padding: 10px 18px;
    border-radius: var(--radius);
    font-size: 15px;
    font-weight: 500;
    border: 1px solid transparent;
    cursor: pointer;
    text-align: center;
    transition: background .15s, border-color .15s;
    font-family: inherit;
}
.btn-primary {
    background: var(--c-accent);
    color: #0b1120;
    border-color: var(--c-accent);
}
.btn-primary:hover { background: var(--c-accent-hover); color: #0b1120; }
.btn-ghost {
    background: transparent;
    color: var(--c-text);
    border-color: var(--c-border);
}
.btn-ghost:hover { border-color: var(--c-accent); color: var(--c-accent); }
.btn-danger {
    background: transparent;
    color: var(--c-danger);
    border-color: var(--c-danger);
}
.btn-danger:hover { background: var(--c-danger); color: #fff; }
.btn-sm { padding: 6px 12px; font-size: 14px; }

/* ---- Cards ---- */
.card {
    background: var(--c-card);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: var(--shadow);
}

/* ---- Form ---- */
.field { margin-bottom: 16px; }
.field label {
    display: block;
    font-size: 14px;
    color: var(--c-text-soft);
    margin-bottom: 6px;
    font-weight: 500;
}
.field input, .field select, .field textarea {
    width: 100%;
    padding: 10px 12px;
    background: var(--c-bg);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    color: var(--c-text);
    font-size: 15px;
    font-family: inherit;
}
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none;
    border-color: var(--c-accent);
}
.field .hint { font-size: 13px; color: var(--c-text-soft); margin-top: 4px; }
.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
@media (max-width: 600px) {
    .field-row { grid-template-columns: 1fr; }
}

/* ---- Tables ---- */
.tbl {
    width: 100%;
    border-collapse: collapse;
    background: var(--c-card);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    overflow: hidden;
}
.tbl th, .tbl td {
    padding: 12px 14px;
    text-align: left;
    border-bottom: 1px solid var(--c-border);
}
.tbl th {
    background: var(--c-bg-soft);
    font-size: 13px;
    font-weight: 600;
    color: var(--c-text-soft);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.tbl tr:last-child td { border-bottom: none; }
.tbl tr:hover { background: rgba(255,255,255,0.02); }

/* ---- Badges ---- */
.badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.badge-active { background: rgba(74,222,128,0.15); color: var(--c-success); }
.badge-pending,
.badge-provisioning { background: rgba(251,191,36,0.15); color: var(--c-warn); }
.badge-failed { background: rgba(248,113,113,0.15); color: var(--c-danger); }
.badge-deleted, .badge-disabled { background: rgba(255,255,255,0.06); color: var(--c-text-soft); }

/* ---- Hero (landing) ---- */
.hero {
    text-align: center;
    padding: 60px 0 40px;
}
.hero h1 {
    font-size: 48px;
    line-height: 1.15;
    margin-bottom: 16px;
}
.hero p.lead {
    font-size: 18px;
    color: var(--c-text-soft);
    max-width: 640px;
    margin: 0 auto 32px;
}
.hero .cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---- KPIs ---- */
.kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin-bottom: 24px;
}
.kpi {
    background: var(--c-card);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    padding: 16px;
}
.kpi .num { font-size: 28px; font-weight: 600; }
.kpi .lbl { font-size: 13px; color: var(--c-text-soft); text-transform: uppercase; letter-spacing: 0.04em; }

/* ---- Log viewer ---- */
.log-pane {
    background: #060a14;
    color: #d1e0ff;
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    padding: 14px;
    font-family: ui-monospace, SF Mono, Menlo, Consolas, monospace;
    font-size: 13px;
    line-height: 1.55;
    max-height: 460px;
    overflow: auto;
    white-space: pre-wrap;
    word-break: break-word;
}

/* ---- Alert ---- */
.alert {
    padding: 12px 16px;
    border-radius: var(--radius);
    margin-bottom: 16px;
    border: 1px solid;
}
.alert-success { background: rgba(74,222,128,0.08); border-color: rgba(74,222,128,0.3); color: var(--c-success); }
.alert-error   { background: rgba(248,113,113,0.08); border-color: rgba(248,113,113,0.3); color: var(--c-danger); }
.alert-warn    { background: rgba(251,191,36,0.08); border-color: rgba(251,191,36,0.3); color: var(--c-warn); }

/* ---- Page header (admin) ---- */
.page-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.page-head h1 { margin: 0; }

/* =============================================================================
   THÈME PREMIUM PUBLIC (override pour body.theme-light uniquement)
   Override le thème sombre par défaut. Admin / customer dashboard restent sombres.
   ============================================================================= */
body.theme-light {
    --c-bg: #fdfcf8;
    --c-bg-soft: #ffffff;
    --c-card: #ffffff;
    --c-border: #e7e5dc;
    --c-border-strong: #d8d4c5;
    --c-text: #0f172a;
    --c-text-soft: #5a6478;
    --c-accent: #c9a96e;          /* or doux, plus premium que le bleu admin */
    --c-accent-hover: #b08e54;
    --c-accent-soft: #e9d9b8;
    --c-ink: #0f172a;
    --c-ink-soft: #1f2a44;
    --shadow: 0 1px 2px rgba(15,23,42,0.04), 0 8px 24px rgba(15,23,42,0.06);
    --shadow-lg: 0 1px 2px rgba(15,23,42,0.05), 0 18px 50px rgba(15,23,42,0.08);
    background:
        radial-gradient(1100px 520px at 50% -180px, rgba(201,169,110,0.06), transparent 60%),
        radial-gradient(900px 400px at 100% 8%, rgba(15,23,42,0.015), transparent 60%),
        var(--c-bg);
    background-attachment: fixed;
    color: var(--c-text);
    font-family: -apple-system, "Segoe UI", "Inter", Roboto, system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
body.theme-light a { color: var(--c-ink); }
body.theme-light a:hover { color: var(--c-accent-hover); }

/* Header — navy profond + signature dorée. Contraste fort sur le body cream. */
body.theme-light .site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: linear-gradient(135deg, #2d3a5c 0%, #3d4d70 60%, #2d3a5c 100%);
    border-bottom: 1px solid rgba(217, 189, 135, 0.22);
    padding: 14px 0;
    box-shadow:
        0 1px 0 rgba(217, 189, 135, 0.25) inset,
        0 4px 24px rgba(45, 58, 92, 0.22);
}
body.theme-light .site-header::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, #d9bd87 25%, #b08e54 50%, #d9bd87 75%, transparent 100%);
    opacity: 0.85;
}
body.theme-light .site-header::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(600px 100px at 50% -20px, rgba(217, 189, 135, 0.10), transparent 70%);
}
body.theme-light .header-inner { gap: 28px; position: relative; z-index: 1; }

/* Brand — chip doré + nom en cream pour contraster sur le navy */
body.theme-light .brand {
    gap: 12px;
    color: #fafaf6;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.02em;
}
body.theme-light .brand-mark {
    display: inline-flex;
    align-items: center;
    height: 80px;
    background: transparent;
    overflow: visible;
    line-height: 1;
    transition: transform .3s ease, filter .3s ease;
    filter: drop-shadow(0 4px 14px rgba(0,0,0,0.25));
}
body.theme-light .brand-mark img {
    height: 100%;
    width: auto;
    object-fit: contain;
    display: block;
}
body.theme-light .brand:hover .brand-mark {
    transform: rotate(-6deg) scale(1.06);
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.28));
}
body.theme-light .brand-name {
    font-weight: 700;
    letter-spacing: -0.025em;
    color: #fafaf6;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
body.theme-light .brand-name-img {
    display: inline-flex;
    align-items: center;
    height: 36px;
    line-height: 1;
}
body.theme-light .brand-name-img img {
    height: 100%;
    width: auto;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}
body.theme-light .footer-brand .brand-name-img {
    height: 22px;
}
body.theme-light .footer-brand .brand-name-img img {
    filter: none;
}

/* Main nav — texte cream, underline doré, hover bg subtil */
body.theme-light .main-nav { gap: 4px; align-items: center; }
body.theme-light .main-nav > a {
    position: relative;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(250, 250, 246, 0.88);
    transition: color .15s ease, background-color .15s ease;
}
body.theme-light .main-nav > a:not(.btn-ghost):not(.btn-pill):not(.btn-primary)::after {
    content: '';
    position: absolute;
    left: 14px; right: 14px; bottom: 3px;
    height: 2px;
    background: linear-gradient(90deg, #d9bd87, #b08e54);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s ease;
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(217, 189, 135, 0.5);
}
body.theme-light .main-nav > a:not(.btn-ghost):not(.btn-pill):not(.btn-primary):hover {
    color: #fafaf6;
    background: rgba(255, 255, 255, 0.06);
}
body.theme-light .main-nav > a:not(.btn-ghost):not(.btn-pill):not(.btn-primary):hover::after {
    transform: scaleX(1);
}

/* Ghost button dans le header — pill bordé doré, hover fill doré */
body.theme-light .main-nav .btn-ghost {
    background: transparent;
    color: #d9bd87 !important;
    border: 1.5px solid rgba(217, 189, 135, 0.55);
    padding: 7px 18px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 13.5px;
    letter-spacing: 0.01em;
    transition: background .15s ease, color .15s ease, transform .12s ease, box-shadow .15s ease, border-color .15s ease;
}
body.theme-light .main-nav .btn-ghost:hover {
    background: linear-gradient(135deg, #d9bd87, #b08e54);
    color: #0f172a !important;
    border-color: transparent;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(217, 189, 135, 0.45);
}

/* Mobile header */
@media (max-width: 720px) {
    body.theme-light .site-header { padding: 10px 0; }
    body.theme-light .header-inner { gap: 12px; flex-wrap: wrap; }
    body.theme-light .brand { gap: 10px; min-width: 0; }
    body.theme-light .brand-mark { height: 68px; }
    body.theme-light .brand-name-img { height: 31px; }
    body.theme-light .main-nav { gap: 2px; }
    body.theme-light .main-nav > a { padding: 6px 10px; font-size: 13px; }
    body.theme-light .main-nav .btn-ghost { padding: 6px 12px; font-size: 12.5px; }
}
@media (max-width: 380px) {
    body.theme-light .brand-mark { height: 56px; }
    body.theme-light .brand-name-img { height: 26px; }
}

body.theme-light .site-footer {
    background: transparent;
    border-top: 1px solid var(--c-border);
    padding: 32px 0;
    margin-top: 80px;
    color: var(--c-text-soft);
}
body.theme-light .site-footer p { margin: 0; font-size: 13px; letter-spacing: 0.01em; }

/* Hero premium */
body.theme-light .hero-premium {
    position: relative;
    text-align: center;
    padding: 24px 24px 28px;
    max-width: 1000px;
    margin: 0 auto;
}
/* Eyebrow décoratif au-dessus du titre */
body.theme-light .hero-premium::before {
    content: '';
    display: block;
    width: 56px;
    height: 2px;
    margin: 0 auto 18px;
    background: linear-gradient(90deg, transparent, var(--c-accent), transparent);
    border-radius: 2px;
}
body.theme-light .hero-title {
    font-size: clamp(30px, 4.4vw, 50px);
    line-height: 1.12;
    letter-spacing: -0.028em;
    font-weight: 700;
    margin: 0 0 20px;
    color: var(--c-ink);
    white-space: nowrap;
}
body.theme-light .hero-title span { display: inline; }
@media (max-width: 600px) {
    body.theme-light .hero-title { white-space: normal; font-size: 30px; }
    body.theme-light .hero-premium { padding: 16px 20px 20px; }
}
body.ctx-public.theme-light .site-main { padding-top: 16px; }
body.theme-light .hero-title .accent {
    color: var(--c-accent);
    font-style: italic;
    font-weight: 600;
    background: linear-gradient(180deg, #d9bd87 0%, #b08e54 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
body.theme-light .hero-lead {
    font-size: clamp(15px, 1.5vw, 17.5px);
    line-height: 1.6;
    color: var(--c-text-soft);
    max-width: 620px;
    margin: 0 auto 32px;
}
body.theme-light .hero-cta { margin-top: 8px; }
body.theme-light .btn-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background: var(--c-ink);
    color: #fafaf6 !important;
    border-radius: 999px;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.01em;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
    box-shadow: 0 8px 22px rgba(15,23,42,0.18), inset 0 1px 0 rgba(255,255,255,0.08);
    position: relative;
}
body.theme-light .btn-pill::after {
    content: '→';
    font-size: 18px;
    line-height: 1;
    transition: transform .2s ease;
}
body.theme-light .btn-pill:hover {
    background: #1f2a44;
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(15,23,42,0.28), inset 0 1px 0 rgba(255,255,255,0.1);
    color: #fafaf6 !important;
}
body.theme-light .btn-pill:hover::after { transform: translateX(4px); }

/* Bloc intro "Que fait crushimmo" et autres sections public */
body.theme-light .intro-block {
    position: relative;
    max-width: 1100px;
    margin: 72px auto 56px;
    padding: 56px 56px;
    background: transparent;
    border: 1px solid rgba(201, 169, 110, 0.28);
    border-radius: 4px;
    box-shadow: none;
    isolation: isolate;
}
body.theme-light .intro-block::before {
    content: '';
    position: absolute;
    top: -1px; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--c-accent) 50%, transparent 100%);
}
body.theme-light .intro-block::after {
    content: '';
    position: absolute;
    bottom: -1px; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--c-accent) 50%, transparent 100%);
}
@media (max-width: 720px) {
    body.theme-light .intro-block {
        padding: 36px 24px;
        margin: 48px auto 40px;
    }
}
body.theme-light .intro-title {
    margin: 0 0 24px;
    font-size: clamp(24px, 3vw, 32px);
    letter-spacing: -0.02em;
    font-weight: 700;
    color: var(--c-ink);
}
body.theme-light .intro-content { font-size: 16px; line-height: 1.7; color: var(--c-text); }
body.theme-light .intro-content p { margin: 0 0 14px; }
body.theme-light .intro-content ul { padding-left: 22px; margin: 14px 0; }
body.theme-light .intro-content li { margin: 8px 0; color: var(--c-text); }
body.theme-light .intro-content strong { color: var(--c-ink); font-weight: 600; }

/* Cartes formulaires (signup, login, forgot, reset, cgv, etc.) en thème public */
body.theme-light .card {
    background: var(--c-bg-soft);
    border: 1px solid var(--c-border);
    border-radius: 18px;
    padding: 28px;
    box-shadow: var(--shadow-lg);
    color: var(--c-text);
    transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
body.theme-light .card:hover {
    border-color: var(--c-border-strong);
}

/* KPIs premium (admin) */
body.theme-light .kpi {
    background: var(--c-bg-soft);
    border: 1px solid var(--c-border);
    border-radius: 16px;
    padding: 18px 20px;
    box-shadow: var(--shadow);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
body.theme-light .kpi:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: var(--c-border-strong);
}
body.theme-light .kpi .num { color: var(--c-ink); font-weight: 700; letter-spacing: -0.02em; }
body.theme-light .kpi .lbl { color: var(--c-text-soft); }

/* Tables premium */
body.theme-light .tbl {
    background: var(--c-bg-soft);
    border: 1px solid var(--c-border);
    border-radius: 14px;
    box-shadow: var(--shadow);
}
body.theme-light .tbl th {
    background: #f5f3ec;
    color: var(--c-text-soft);
    border-bottom: 1px solid var(--c-border);
    font-size: 12px;
    letter-spacing: 0.06em;
}
body.theme-light .tbl td { border-bottom: 1px solid var(--c-border); color: var(--c-text); }
body.theme-light .tbl tr:hover { background: rgba(201, 169, 110, 0.04); }

/* Badges premium */
body.theme-light .badge {
    border: 1px solid transparent;
    backdrop-filter: blur(4px);
}
body.theme-light .badge-active { background: #ecfdf5; color: #047857; border-color: #a7f3d0; }
body.theme-light .badge-pending,
body.theme-light .badge-provisioning { background: #fef9c3; color: #92400e; border-color: #fde68a; }
body.theme-light .badge-failed { background: #fef2f2; color: #b91c1c; border-color: #fecaca; }
body.theme-light .badge-deleted, body.theme-light .badge-disabled { background: #f1f5f9; color: #64748b; border-color: #e2e8f0; }

/* Page-head admin */
body.theme-light .page-head h1 {
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--c-ink);
}
body.theme-light .card h1, body.theme-light .card h2 { color: var(--c-ink); }
body.theme-light .field { margin-bottom: 14px; }
body.theme-light .field label { display: block; margin-bottom: 6px; font-size: 13px; color: var(--c-text-soft); font-weight: 500; }
body.theme-light .field input,
body.theme-light .field select {
    width: 100%; padding: 11px 14px;
    background: #fff; color: var(--c-ink);
    border: 1px solid var(--c-border); border-radius: 10px;
    font: inherit; font-size: 15px;
    transition: border-color .12s ease, box-shadow .12s ease;
}
body.theme-light .field input:focus, body.theme-light .field select:focus {
    outline: 0; border-color: var(--c-ink); box-shadow: 0 0 0 3px rgba(15,23,42,0.06);
}
body.theme-light .btn-primary {
    background: var(--c-accent); color: var(--c-ink);
    border: 0; padding: 11px 22px; border-radius: 10px;
    font: inherit; font-weight: 600; cursor: pointer;
    transition: background .15s ease, transform .12s ease, box-shadow .15s ease;
    box-shadow: 0 4px 12px rgba(201,169,110,0.25);
    text-decoration: none;
}
body.theme-light .btn-primary:hover {
    background: var(--c-accent-hover); color: var(--c-ink);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(201,169,110,0.35);
}
body.theme-light .btn-ghost {
    border: 1px solid var(--c-border); padding: 8px 16px; border-radius: 8px;
    background: transparent; color: var(--c-ink); cursor: pointer; font: inherit;
}
body.theme-light .alert { padding: 12px 16px; border-radius: 10px; margin-bottom: 16px; font-size: 14px; }
body.theme-light .alert-info { background: #eff5ff; color: #1d4ed8; border: 1px solid #bfd4ff; }
body.theme-light .alert-error { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
body.theme-light .alert-success { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }

body.theme-light textarea {
    width: 100%; padding: 11px 14px;
    background: #fff; color: var(--c-ink);
    border: 1px solid var(--c-border); border-radius: 10px;
    font: inherit; font-size: 15px;
    line-height: 1.5;
    resize: vertical;
    min-height: 140px;
    transition: border-color .12s ease, box-shadow .12s ease;
}
body.theme-light textarea:focus {
    outline: 0; border-color: var(--c-ink); box-shadow: 0 0 0 3px rgba(15,23,42,0.06);
}

/* =============================================================================
   FOOTER PREMIUM
   ============================================================================= */
body.theme-light .site-footer {
    position: relative;
    background: linear-gradient(180deg, #f6f3ea 0%, #efeadb 100%);
    border-top: 1px solid var(--c-border-strong);
    padding: 28px 0 14px;
    margin-top: 48px;
    color: var(--c-text-soft);
}
@media (max-width: 600px) {
    body.theme-light .site-footer { padding: 22px 0 12px; margin-top: 36px; }
}
body.theme-light .site-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--c-accent) 30%, var(--c-accent) 70%, transparent 100%);
    opacity: 0.55;
}
body.theme-light .footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1fr 1.5fr;
    gap: 32px;
    align-items: start;
    margin-bottom: 18px;
}
@media (max-width: 980px) {
    body.theme-light .footer-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 24px 22px;
    }
    body.theme-light .footer-brand-col      { grid-column: 1 / 4; }
    body.theme-light .footer-newsletter-col { grid-column: 4 / 7; }
    body.theme-light .footer-grid > .footer-col:not(.footer-newsletter-col):not(.footer-brand-col) {
        grid-column: span 2;
    }
}
@media (max-width: 600px) {
    body.theme-light .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 22px 18px;
    }
    body.theme-light .footer-newsletter-col,
    body.theme-light .footer-brand-col { grid-column: 1 / -1; }
    body.theme-light .footer-grid > .footer-col:not(.footer-newsletter-col):not(.footer-brand-col) {
        grid-column: auto;
    }
}
body.theme-light .footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 700;
    color: var(--c-ink);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
}
body.theme-light .footer-brand .brand-name {
    color: var(--c-ink);
    text-shadow: none;
    font-weight: inherit;
    letter-spacing: inherit;
}
body.theme-light .footer-brand .brand-mark {
    display: inline-flex;
    align-items: center;
    height: 44px;
    background: transparent;
    line-height: 1;
}
body.theme-light .footer-brand .brand-mark img {
    height: 100%;
    width: auto;
    object-fit: contain;
    display: block;
}
body.theme-light .footer-tagline {
    margin: 0 0 10px;
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--c-text-soft);
    max-width: 360px;
}
body.theme-light .footer-tagline em { color: var(--c-accent); font-style: italic; font-weight: 600; }
body.theme-light .footer-contact { margin: 0; font-size: 14px; }
body.theme-light .footer-contact a { color: var(--c-ink); font-weight: 600; }
body.theme-light .footer-contact a:hover { color: var(--c-accent-hover); }

body.theme-light .footer-col h4 {
    margin: 0 0 10px;
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--c-ink);
}
body.theme-light .footer-col ul {
    list-style: none;
    margin: 0; padding: 0;
}
body.theme-light .footer-col li { margin: 0 0 6px; }
body.theme-light .footer-col a {
    font-size: 14px;
    color: var(--c-text-soft);
    transition: color .15s ease, padding-left .15s ease;
    display: inline-block;
}
body.theme-light .footer-col a:hover {
    color: var(--c-ink);
    padding-left: 4px;
}

body.theme-light .footer-bottom {
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    padding-top: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    text-align: center;
}
body.theme-light .footer-bottom p {
    margin: 0;
    font-size: 13px;
    color: var(--c-text-soft);
    letter-spacing: 0.01em;
}
body.theme-light .footer-bottom-meta { font-size: 12.5px !important; opacity: 0.85; }
body.theme-light .footer-bottom-sep { color: var(--c-text-soft); opacity: 0.5; margin: 0 4px; }
body.theme-light .footer-cookie-link {
    background: none;
    border: 0;
    padding: 0;
    margin: 0;
    color: var(--c-text-soft);
    font: inherit;
    font-size: 13px;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(15,23,42,0.2);
    transition: color .15s, text-decoration-color .15s;
}
body.theme-light .footer-cookie-link:hover {
    color: var(--c-accent-hover);
    text-decoration-color: var(--c-accent);
}

/* =============================================================================
   COOKIE BANNER
   ============================================================================= */
.cookie-banner {
    position: fixed;
    bottom: 16px;
    left: 16px;
    right: 16px;
    z-index: 200;
    max-width: 720px;
    margin: 0 auto;
    background: rgba(15, 23, 42, 0.96);
    color: #fafaf6;
    border-radius: 14px;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.35), 0 2px 6px rgba(15, 23, 42, 0.18);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: cookie-rise .35s ease;
}
@keyframes cookie-rise {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
.cookie-banner-inner {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 14px 18px;
    flex-wrap: wrap;
}
.cookie-banner p {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.5;
    flex: 1;
    min-width: 240px;
    color: #e6ecf5;
}
.cookie-banner code {
    background: rgba(255, 255, 255, 0.08);
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 12.5px;
}
.cookie-banner a,
body.theme-light .cookie-banner a { color: #d9bd87; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.cookie-banner a:hover,
body.theme-light .cookie-banner a:hover { color: #e9d9b8; }
.btn-pill-sm {
    background: #fafaf6;
    color: #0f172a;
    border: 0;
    padding: 9px 22px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 13.5px;
    cursor: pointer;
    transition: transform .12s ease, background .15s ease;
    white-space: nowrap;
}
.btn-pill-sm:hover { background: #d9bd87; transform: translateY(-1px); }

/* Bannière cookies : actions multiples (Personnaliser / Tout refuser / Tout accepter) */
.cookie-banner-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.cookie-banner-actions .btn-ghost,
body.theme-light .cookie-banner-actions .btn-ghost {
    background: transparent;
    color: #e6ecf5;
    border: 1px solid rgba(255,255,255,0.25);
    padding: 8px 14px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: border-color .15s, color .15s, background .15s;
    white-space: nowrap;
}
.cookie-banner-actions .btn-ghost:hover,
body.theme-light .cookie-banner-actions .btn-ghost:hover { border-color: #d9bd87; color: #d9bd87; background: rgba(217,189,135,0.06); }
@media (max-width: 520px) {
    .cookie-banner-inner { flex-direction: column; align-items: flex-start; gap: 10px; }
    .cookie-banner-actions { width: 100%; justify-content: flex-end; }
    .btn-pill-sm { align-self: flex-end; }
}

/* Modal préférences cookies */
.cookie-modal {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.cookie-modal[hidden] { display: none; }
.cookie-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    animation: cookie-backdrop-fade .25s ease;
}
@keyframes cookie-backdrop-fade { from { opacity: 0; } to { opacity: 1; } }
.cookie-modal-panel {
    position: relative;
    background: #fff;
    color: #0f172a;
    border-radius: 16px;
    max-width: 560px;
    width: 100%;
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    box-shadow: 0 30px 80px rgba(15,23,42,0.4);
    animation: cookie-modal-rise .3s cubic-bezier(.2,.7,.3,1);
}
@keyframes cookie-modal-rise {
    from { opacity: 0; transform: translateY(16px) scale(.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
.cookie-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 24px 0;
}
.cookie-modal-head h2 {
    margin: 0;
    font-size: 19px;
    font-weight: 700;
    color: #0f172a;
}
.cookie-modal-x {
    background: transparent;
    border: 0;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: #5a6478;
    padding: 4px 10px;
    border-radius: 8px;
    transition: background .15s, color .15s;
}
.cookie-modal-x:hover { background: rgba(15,23,42,0.05); color: #0f172a; }
.cookie-modal-intro {
    margin: 12px 24px 18px;
    font-size: 13.5px;
    color: #5a6478;
    line-height: 1.55;
}
.cookie-pref-row {
    margin: 0 24px 12px;
    background: #fafaf6;
    border: 1px solid #e7e5dc;
    border-radius: 12px;
    padding: 14px 16px;
}
.cookie-pref-label {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    cursor: pointer;
}
.cookie-pref-text { flex: 1; line-height: 1.5; }
.cookie-pref-text strong { display: inline-block; color: #0f172a; font-size: 14px; font-weight: 700; margin-right: 8px; }
.cookie-pref-text small { display: block; margin-top: 4px; font-size: 12.5px; color: #5a6478; }
.cookie-pref-text small em { color: #c9a96e; font-style: italic; font-weight: 600; }
.cookie-pref-text code { font-size: 11.5px; background: rgba(15,23,42,0.06); padding: 1px 5px; border-radius: 3px; }
.cookie-pref-tag {
    display: inline-block;
    background: rgba(201,169,110,0.15);
    color: #b08e54;
    padding: 2px 8px;
    border-radius: 99px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.cookie-pref-switch {
    position: relative;
    width: 38px;
    height: 22px;
    flex-shrink: 0;
    margin-top: 1px;
}
.cookie-pref-switch input {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    cursor: pointer;
}
.cookie-pref-slider {
    position: absolute;
    inset: 0;
    background: #d8d4c5;
    border-radius: 999px;
    transition: background .2s;
}
.cookie-pref-slider::before {
    content: '';
    position: absolute;
    top: 3px; left: 3px;
    width: 16px; height: 16px;
    background: #fff;
    border-radius: 50%;
    transition: transform .2s;
    box-shadow: 0 1px 3px rgba(15,23,42,0.2);
}
.cookie-pref-switch input:checked + .cookie-pref-slider { background: linear-gradient(135deg, #d9bd87, #b08e54); }
.cookie-pref-switch input:checked + .cookie-pref-slider::before { transform: translateX(16px); }
.cookie-pref-switch.is-locked .cookie-pref-slider { background: linear-gradient(135deg, #d9bd87, #b08e54); opacity: .8; cursor: not-allowed; }
.cookie-pref-switch.is-locked .cookie-pref-slider::before { transform: translateX(16px); }
.cookie-modal-foot {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 16px 24px 22px;
    border-top: 1px solid #e7e5dc;
    margin-top: 8px;
}
.cookie-modal-foot .btn-ghost {
    background: transparent;
    border: 1px solid #d8d4c5;
    color: #0f172a;
    padding: 8px 16px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
}
.cookie-modal-foot .btn-ghost:hover { border-color: #c9a96e; color: #b08e54; }
.cookie-modal-foot .btn-pill-sm { padding: 9px 20px; }
@media (max-width: 520px) {
    .cookie-modal-foot { flex-direction: column-reverse; }
    .cookie-modal-foot button { width: 100%; }
}

/* =============================================================================
   PAGES LÉGALES (cgv, mentions, cookies, confidentialité) + contact
   ============================================================================= */
body.theme-light .legal-page,
body.theme-light .content-page,
body.theme-light .contact-page {
    max-width: 820px;
    margin: 28px auto 40px;
}
body.theme-light .contact-page { max-width: 1060px; }
body.theme-light .legal-head,
body.theme-light .content-head {
    margin-bottom: 36px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--c-border);
}
body.theme-light .legal-eyebrow,
body.theme-light .content-eyebrow {
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--c-accent-hover);
}
body.theme-light .legal-page h1,
body.theme-light .content-page h1,
body.theme-light .contact-page h1 {
    margin: 0 0 8px;
    font-size: clamp(28px, 3.6vw, 38px);
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--c-ink);
}
body.theme-light .legal-updated,
body.theme-light .content-lead {
    margin: 0;
    font-size: 15px;
    color: var(--c-text-soft);
    line-height: 1.6;
}
body.theme-light .legal-updated { font-size: 13px; }
body.theme-light .legal-page section,
body.theme-light .content-section { margin: 0 0 32px; }
body.theme-light .legal-page section h2,
body.theme-light .content-section h2 {
    margin: 0 0 12px;
    font-size: 22px;
    font-weight: 700;
    color: var(--c-ink);
    letter-spacing: -0.015em;
}
body.theme-light .content-section h3 {
    margin: 0 0 10px;
    font-size: 16px;
    font-weight: 700;
    color: var(--c-ink);
}
body.theme-light .legal-page section p,
body.theme-light .content-section p {
    margin: 0 0 12px;
    font-size: 15.5px;
    line-height: 1.7;
    color: var(--c-text);
}
body.theme-light .legal-page section ul,
body.theme-light .content-section ul { padding-left: 22px; margin: 12px 0 16px; }
body.theme-light .legal-page section li,
body.theme-light .content-section li {
    margin: 6px 0;
    font-size: 15px;
    line-height: 1.6;
    color: var(--c-text);
}
body.theme-light .legal-page section strong,
body.theme-light .content-section strong { color: var(--c-ink); }

/* Comparatif tableau */
body.theme-light .compare-table-wrap { overflow-x: auto; margin: 16px 0 8px; }
body.theme-light .compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    min-width: 600px;
}
body.theme-light .compare-table th,
body.theme-light .compare-table td {
    padding: 12px 14px;
    text-align: left;
    border-bottom: 1px solid var(--c-border);
    vertical-align: top;
}
body.theme-light .compare-table thead th {
    background: #f5f3ec;
    font-size: 13px;
    font-weight: 700;
    color: var(--c-text-soft);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-bottom: 2px solid var(--c-border);
}
body.theme-light .compare-table th.us { color: var(--c-ink); }
body.theme-light .compare-table td.us {
    background: linear-gradient(180deg, rgba(201,169,110,0.10) 0%, rgba(201,169,110,0.04) 100%);
    font-weight: 600;
    color: var(--c-ink);
}
body.theme-light .compare-table tbody tr:hover { background: rgba(201,169,110,0.04); }
body.theme-light .compare-table tbody tr:hover td.us { background: linear-gradient(180deg, rgba(201,169,110,0.16) 0%, rgba(201,169,110,0.08) 100%); }
body.theme-light .legal-page section em {
    color: var(--c-accent-hover);
    font-style: italic;
    background: rgba(201, 169, 110, 0.08);
    padding: 0 4px;
    border-radius: 3px;
}
body.theme-light .legal-page section a { color: var(--c-ink); text-decoration: underline; text-decoration-color: var(--c-accent); text-underline-offset: 3px; }
body.theme-light .legal-page section a:hover { color: var(--c-accent-hover); }
body.theme-light .legal-back { margin-top: 40px; }

/* Tableau cookies */
body.theme-light .cookie-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    margin: 14px 0 18px;
    font-size: 14px;
}
body.theme-light .cookie-table th,
body.theme-light .cookie-table td {
    padding: 12px 14px;
    text-align: left;
    border-bottom: 1px solid var(--c-border);
    vertical-align: top;
}
body.theme-light .cookie-table th {
    background: #f5f3ec;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--c-text-soft);
}
body.theme-light .cookie-table tr:last-child td { border-bottom: 0; }
body.theme-light .cookie-table code {
    background: rgba(15, 23, 42, 0.06);
    color: var(--c-ink);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12.5px;
    font-weight: 600;
}

/* Page contact : grid 2 cols (info + form) */
body.theme-light .contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.4fr;
    gap: 32px;
    align-items: start;
}
@media (max-width: 760px) {
    body.theme-light .contact-grid { grid-template-columns: 1fr; gap: 24px; }
}
body.theme-light .contact-info {
    padding: 8px 4px;
}
body.theme-light .contact-info h3 {
    margin: 0 0 18px;
    font-size: 16px;
    font-weight: 700;
    color: var(--c-ink);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
body.theme-light .contact-info p {
    margin: 0 0 16px;
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--c-text);
}
body.theme-light .contact-info p strong { color: var(--c-ink); font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; }
body.theme-light .contact-info a { color: var(--c-ink); font-weight: 600; }
body.theme-light .contact-info hr { border: 0; border-top: 1px solid var(--c-border); margin: 22px 0; }
body.theme-light .contact-card {
    position: relative;
    padding: 32px;
}

/* =============================================================================
   LANDING — MOCKUP BROWSER + SECTIONS
   ============================================================================= */

/* Mockup browser (sous le hero) */
body.theme-light .hero-mockup-wrap {
    position: relative;
    max-width: 1100px;
    margin: 24px auto 0;
    padding: 0 24px 80px;
}
body.theme-light .browser-mockup {
    position: relative;
    background: #fff;
    border: 1px solid var(--c-border-strong);
    border-radius: 14px;
    overflow: hidden;
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.06),
        0 30px 80px rgba(15, 23, 42, 0.18),
        0 12px 30px rgba(15, 23, 42, 0.08);
    transform: translateZ(0);
    transition: transform .4s ease, box-shadow .4s ease;
    display: block;
    text-decoration: none;
    color: inherit;
}
body.theme-light .browser-mockup.is-clickable { cursor: pointer; }
body.theme-light .browser-mockup:hover {
    transform: translateY(-4px);
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.08),
        0 40px 100px rgba(15, 23, 42, 0.22),
        0 16px 40px rgba(15, 23, 42, 0.1);
}
body.theme-light .mockup-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15,23,42,0) 72%, rgba(15,23,42,0.25) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0 0 24px;
    opacity: 0;
    transition: opacity .3s ease;
    pointer-events: none;
}
body.theme-light .browser-mockup:hover .mockup-overlay { opacity: 1; }
body.theme-light .mockup-overlay-cta {
    background: #fafaf6;
    color: #0f172a;
    padding: 10px 22px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 8px 20px rgba(15,23,42,0.25);
}
body.theme-light .mockup-hint {
    margin: 18px auto 0;
    text-align: center;
    font-size: 13.5px;
    color: var(--c-text-soft);
    max-width: 640px;
}
@media (max-width: 760px) {
    body.theme-light .mockup-overlay {
        opacity: 1;
        background: linear-gradient(180deg, rgba(15,23,42,0) 75%, rgba(15,23,42,0.22) 100%);
        padding: 0 14px 14px;
    }
    body.theme-light .mockup-overlay-cta {
        font-size: 12px;
        padding: 7px 14px;
        line-height: 1.3;
        max-width: 100%;
        text-align: center;
    }
}
body.theme-light .mockup-hint::before { content: '↑ '; color: var(--c-accent-hover); font-weight: 700; }
body.theme-light .browser-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 11px 14px;
    background: linear-gradient(180deg, #f6f3ea 0%, #ede9d9 100%);
    border-bottom: 1px solid var(--c-border);
}
body.theme-light .browser-dot {
    width: 11px; height: 11px; border-radius: 50%;
    box-shadow: inset 0 -1px 0 rgba(0,0,0,0.08);
}
body.theme-light .dot-r { background: #ed6a5e; }
body.theme-light .dot-y { background: #f5bf4f; }
body.theme-light .dot-g { background: #62c554; }
body.theme-light .browser-url {
    margin-left: 14px;
    flex: 1;
    background: rgba(255,255,255,0.7);
    padding: 4px 14px;
    border-radius: 999px;
    border: 1px solid rgba(15,23,42,0.06);
    font-family: ui-monospace, SF Mono, Menlo, Consolas, monospace;
    font-size: 12px;
    color: var(--c-text-soft);
    text-align: center;
    max-width: 360px;
    margin-right: auto;
}
body.theme-light .browser-mockup img {
    display: block;
    width: 100%;
    height: auto;
}
body.theme-light .mockup-glow {
    position: absolute;
    left: 50%; top: 0;
    transform: translateX(-50%);
    width: 60%; height: 100%;
    background: radial-gradient(50% 60% at 50% 50%, rgba(201,169,110,0.18), transparent 70%);
    z-index: -1;
    filter: blur(20px);
    pointer-events: none;
}
@media (max-width: 720px) {
    body.theme-light .hero-mockup-wrap { padding: 0 16px 40px; }
    body.theme-light .browser-url { font-size: 10.5px; max-width: 220px; }
}

/* Section header partagé */
body.theme-light .section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 48px;
}
body.theme-light .section-eyebrow {
    margin: 0 0 12px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--c-accent-hover);
}
body.theme-light .section-head h2 {
    margin: 0 0 14px;
    font-size: clamp(26px, 3.4vw, 36px);
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--c-ink);
    line-height: 1.2;
}
body.theme-light .section-lead {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    color: var(--c-text-soft);
}

/* Section générique : padding + bornes */
body.theme-light .features-section,
body.theme-light .how-section,
body.theme-light .pricing-section,
body.theme-light .final-cta {
    max-width: 1100px;
    margin: 80px auto 0;
    padding: 0 24px;
}
@media (max-width: 600px) {
    body.theme-light .features-section,
    body.theme-light .how-section,
    body.theme-light .pricing-section,
    body.theme-light .final-cta { margin-top: 56px; }
}

/* Features grid */
body.theme-light .features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
@media (max-width: 880px) { body.theme-light .features-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
    body.theme-light .features-grid { grid-template-columns: 1fr; }
    body.theme-light .feature-card {
        display: grid;
        grid-template-columns: auto 1fr;
        column-gap: 14px;
        row-gap: 0;
        align-items: center;
        padding: 22px 20px;
    }
    body.theme-light .feature-icon { grid-column: 1; grid-row: 1; margin-bottom: 0; width: 38px; height: 38px; }
    body.theme-light .feature-card h3 { grid-column: 2; grid-row: 1; margin: 0; }
    body.theme-light .feature-card p  { grid-column: 1 / -1; grid-row: 2; margin-top: 10px; }
}
body.theme-light .feature-card {
    background: var(--c-bg-soft);
    border: 1px solid var(--c-border);
    border-radius: 18px;
    padding: 28px 24px;
    box-shadow: var(--shadow);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
body.theme-light .feature-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--c-border-strong);
}
body.theme-light .feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    background: linear-gradient(135deg, rgba(217,189,135,0.18), rgba(176,142,84,0.12));
    color: var(--c-accent-hover);
    border-radius: 12px;
    margin-bottom: 16px;
}
body.theme-light .feature-card h3 {
    margin: 0 0 8px;
    font-size: 17px;
    font-weight: 700;
    color: var(--c-ink);
    letter-spacing: -0.01em;
}
body.theme-light .feature-card p {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--c-text-soft);
}

/* How it works — 3 steps */
body.theme-light .steps-grid {
    list-style: none;
    margin: 0; padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    counter-reset: step;
}
@media (max-width: 760px) {
    body.theme-light .steps-grid { grid-template-columns: 1fr; }
    body.theme-light .step {
        display: grid;
        grid-template-columns: auto 1fr;
        column-gap: 14px;
        row-gap: 0;
        align-items: center;
        padding: 22px 20px;
    }
    body.theme-light .step-num { grid-column: 1; grid-row: 1; margin-bottom: 0; font-size: 28px; }
    body.theme-light .step h3   { grid-column: 2; grid-row: 1; margin: 0; }
    body.theme-light .step p    { grid-column: 1 / -1; grid-row: 2; margin-top: 10px; }
}
body.theme-light .step {
    position: relative;
    background: var(--c-bg-soft);
    border: 1px solid var(--c-border);
    border-radius: 18px;
    padding: 28px 24px 26px;
    box-shadow: var(--shadow);
}
body.theme-light .step-num {
    font-family: "Inter", system-ui, sans-serif;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #d9bd87, #b08e54);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
    line-height: 1;
}
body.theme-light .step h3 {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 700;
    color: var(--c-ink);
    letter-spacing: -0.01em;
}
body.theme-light .step p {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--c-text-soft);
}

/* Pricing */
body.theme-light .pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
body.theme-light .pricing-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 760px;
    margin: 0 auto;
    gap: 22px;
}
@media (max-width: 980px) { body.theme-light .pricing-grid:not(.pricing-grid-2) { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { body.theme-light .pricing-grid:not(.pricing-grid-2) { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
    body.theme-light .pricing-section {
        margin-left: -20px;
        margin-right: -20px;
        padding: 0 4px;
    }
    body.theme-light .pricing-grid.pricing-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    body.theme-light .pricing-grid-2 .plan-card { padding: 18px 11px 14px; border-radius: 14px; }
    body.theme-light .pricing-grid-2 .plan-name { font-size: 14px; }
    body.theme-light .pricing-grid-2 .plan-desc { font-size: 11.5px; min-height: 0; margin-bottom: 10px; line-height: 1.4; }
    body.theme-light .pricing-grid-2 .plan-price-num { font-size: 24px; }
    body.theme-light .pricing-grid-2 .plan-price-cycle { font-size: 11.5px; }
    body.theme-light .pricing-grid-2 .plan-equiv { font-size: 11px; }
    body.theme-light .pricing-grid-2 .plan-setup { font-size: 11px; }
    body.theme-light .pricing-grid-2 .plan-features { margin: 8px 0 4px; padding-top: 10px; }
    body.theme-light .pricing-grid-2 .plan-features li { font-size: 11.5px; padding: 3px 0 3px 18px; line-height: 1.4; }
    body.theme-light .pricing-grid-2 .plan-features li::before { width: 12px; height: 12px; top: 7px; }
    body.theme-light .pricing-grid-2 .plan-features .plan-feature-sub { font-size: 10.5px; }
    body.theme-light .pricing-grid-2 .plan-badge,
    body.theme-light .pricing-grid-2 .plan-popular-badge { font-size: 9px; padding: 3px 8px; letter-spacing: 0.05em; }
    body.theme-light .pricing-grid-2 .plan-featured { transform: none; }
    body.theme-light .pricing-grid-2 .plan-ribbon {
        top: 12px;
        right: -32px;
        width: 120px;
        font-size: 8.5px;
        letter-spacing: 0.14em;
        padding: 4px 0;
    }
    body.theme-light .pricing-grid-2 .plan-launch .plan-name,
    body.theme-light .pricing-grid-2 .plan-launch .plan-desc { padding-right: 36px; }
    body.theme-light .pricing-cta-wrap { margin-top: 22px; padding: 0 16px; gap: 8px; }
    body.theme-light .pricing-cta {
        padding: 13px 20px;
        font-size: 14px;
        gap: 6px;
        flex-wrap: wrap;
        justify-content: center;
        max-width: 100%;
        line-height: 1.3;
    }
    body.theme-light .pricing-cta-price { font-size: 13px; }
    body.theme-light .pricing-cta-hint { font-size: 12px; padding: 0 4px; line-height: 1.4; }
    body.theme-light .founding-fineprint { padding: 0 16px; font-size: 12px; line-height: 1.5; }
}

/* =============================================================================
   Founding members — punchy launch banners
   ============================================================================= */

/* Section pricing avec halo doré radial pendant le lancement */
body.theme-light .pricing-section:has(.founding-eyebrow-wrap) {
    position: relative;
    isolation: isolate;
}
body.theme-light .pricing-section:has(.founding-eyebrow-wrap)::before {
    content: '';
    position: absolute;
    inset: -40px -40px auto -40px;
    height: 280px;
    background: radial-gradient(700px 260px at 50% 0%, rgba(217,189,135,0.12), transparent 70%);
    pointer-events: none;
    z-index: -1;
    border-radius: 36px;
}

/* Eyebrow line — version sobre, sans sparkles ni animation */
body.theme-light .founding-eyebrow-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 12px;
}
body.theme-light .founding-eyebrow {
    display: inline-block;
    background: linear-gradient(135deg, #d9bd87 0%, #b08e54 100%);
    color: #fff;
    padding: 8px 20px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(176,142,84,0.25);
    margin: 0;
}
body.theme-light .founding-sparkle { display: none; }

/* Headline avec mot accent en italique gradient */
body.theme-light .founding-headline em {
    font-style: italic;
    background: linear-gradient(135deg, #d9bd87, #b08e54 60%, #8d6f3f);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}
body.theme-light .founding-life {
    background: linear-gradient(135deg, #d9bd87, #b08e54);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    font-style: italic;
}

/* Compteur dramatique : grand chiffre + emoji + barre */
body.theme-light .founding-counter {
    margin: 28px auto 0;
    max-width: 480px;
    text-align: center;
}
body.theme-light .founding-counter-num {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 14px;
}
body.theme-light .founding-fire {
    font-size: 24px;
    filter: drop-shadow(0 2px 4px rgba(255,140,0,0.2));
}
body.theme-light .founding-counter-big {
    font-size: 56px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.04em;
    background: linear-gradient(135deg, #d9bd87 0%, #b08e54 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 8px 24px rgba(176,142,84,0.25);
}
body.theme-light .founding-counter-label {
    text-align: left;
    line-height: 1.2;
    font-weight: 700;
    color: var(--c-ink);
    font-size: 16px;
}
body.theme-light .founding-counter-label small {
    display: block;
    font-size: 12px;
    color: var(--c-text-soft);
    font-weight: 500;
    margin-top: 2px;
}
body.theme-light .founding-counter-bar {
    display: block;
    width: 100%;
    height: 14px;
    background: rgba(15,23,42,0.06);
    border-radius: 999px;
    overflow: hidden;
    border: 1px solid rgba(176,142,84,0.25);
    box-shadow: inset 0 2px 4px rgba(15,23,42,0.06);
    position: relative;
}
body.theme-light .founding-counter-fill {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #d9bd87 0%, #b08e54 100%);
    border-radius: 999px;
    transition: width .8s ease;
    min-width: 14px;
}

/* Plan-launch — glow doré statique + ruban d'angle */
body.theme-light .plan-launch {
    position: relative;
    border-color: var(--c-accent);
    box-shadow:
        0 1px 2px rgba(15,23,42,0.06),
        0 18px 40px rgba(176,142,84,0.18),
        0 0 0 1px rgba(217,189,135,0.3);
    overflow: hidden;
}
body.theme-light .plan-launch.plan-featured { transform: translateY(-6px); }

/* Ruban d'angle "LANCEMENT" sur les cartes launch — rouge crimson premium */
body.theme-light .plan-ribbon {
    position: absolute;
    top: 18px; right: -38px;
    width: 160px;
    transform: rotate(45deg);
    background: linear-gradient(135deg, #c1272d 0%, #991b1b 60%, #7a1414 100%);
    color: #fff;
    text-align: center;
    padding: 6px 0;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.18em;
    box-shadow:
        0 4px 12px rgba(193,39,45,0.45),
        inset 0 1px 0 rgba(255,255,255,0.18);
    z-index: 2;
    text-shadow: 0 1px 1px rgba(0,0,0,0.25);
}
body.theme-light .plan-ribbon::before,
body.theme-light .plan-ribbon::after {
    content: '';
    position: absolute;
    top: 100%;
    border: 4px solid #5a0e0e;
}
body.theme-light .plan-ribbon::before { left: 0; border-color: #5a0e0e #5a0e0e transparent transparent; }
body.theme-light .plan-ribbon::after  { right: 0; border-color: #5a0e0e transparent transparent #5a0e0e; }

body.theme-light .plan-equiv {
    margin: -2px 0 14px;
    font-size: 13px;
    color: var(--c-accent-hover);
    font-weight: 600;
}

/* Fineprint plus marqué */
body.theme-light .founding-fineprint {
    margin: 32px auto 0;
    max-width: 720px;
    text-align: center;
    font-size: 13.5px;
    color: var(--c-text);
    line-height: 1.65;
    padding: 18px 26px;
    background: linear-gradient(135deg, rgba(217,189,135,0.10), rgba(217,189,135,0.04));
    border: 1.5px dashed var(--c-accent);
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(176,142,84,0.10);
}
body.theme-light .founding-fineprint strong {
    color: var(--c-ink);
    background: rgba(217,189,135,0.18);
    padding: 1px 6px;
    border-radius: 4px;
}

/* (reduced-motion non nécessaire : aucune animation continue dans la section pricing depuis la désaturation) */

body.theme-light .plan-card {
    position: relative;
    background: var(--c-bg-soft);
    border: 1px solid var(--c-border);
    border-radius: 20px;
    padding: 28px 22px 24px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
body.theme-light .plan-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
body.theme-light .plan-featured {
    border-color: var(--c-accent);
    box-shadow: 0 1px 2px rgba(15,23,42,0.06), 0 22px 50px rgba(176,142,84,0.18);
    transform: translateY(-6px);
}
@media (max-width: 980px) { body.theme-light .plan-featured { transform: none; } }
body.theme-light .plan-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #d9bd87, #b08e54);
    color: #fff;
    padding: 4px 14px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 6px 16px rgba(176,142,84,0.4);
    white-space: nowrap;
}
body.theme-light .plan-name {
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: 700;
    color: var(--c-ink);
    letter-spacing: -0.01em;
}
body.theme-light .plan-desc {
    margin: 0 0 18px;
    font-size: 13.5px;
    color: var(--c-text-soft);
    line-height: 1.45;
    min-height: 38px;
}
body.theme-light .plan-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 4px;
}
body.theme-light .plan-price-num {
    font-size: 36px;
    font-weight: 700;
    color: var(--c-ink);
    letter-spacing: -0.025em;
    line-height: 1;
}
body.theme-light .plan-price-cycle {
    font-size: 14px;
    color: var(--c-text-soft);
    font-weight: 500;
}
body.theme-light .plan-setup {
    margin: 0 0 18px;
    font-size: 12.5px;
    color: var(--c-text-soft);
    font-style: italic;
}
body.theme-light .plan-card .plan-features,
body.theme-light .plan-features {
    list-style: none;
    margin: 14px 0 24px;
    padding: 16px 0 0;
    border-top: 1px solid var(--c-border);
    flex: 1;
}
body.theme-light .plan-features li {
    position: relative;
    padding: 5px 0 5px 22px;
    font-size: 13.5px;
    color: var(--c-text);
    line-height: 1.45;
}
body.theme-light .plan-features li::before {
    content: '';
    position: absolute;
    left: 0; top: 9px;
    width: 14px; height: 14px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23b08e54' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='M3 8l3.5 3.5L13 5'/></svg>");
    background-size: contain;
    background-repeat: no-repeat;
}
body.theme-light .plan-features .plan-feature-sub {
    display: block;
    font-size: 12px;
    color: var(--c-text-soft);
    font-style: italic;
    margin-top: 1px;
}
body.theme-light .plan-cta {
    display: block;
    text-align: center;
    padding: 11px 18px;
    border-radius: 10px;
    background: transparent;
    color: var(--c-ink) !important;
    border: 1.5px solid var(--c-ink);
    font-weight: 600;
    font-size: 14px;
    transition: all .15s ease;
    text-decoration: none;
}
body.theme-light .plan-cta:hover {
    background: var(--c-ink);
    color: #fafaf6 !important;
    transform: translateY(-1px);
}
body.theme-light .plan-cta-featured {
    background: linear-gradient(135deg, #d9bd87, #b08e54);
    color: #fff !important;
    border-color: transparent;
    box-shadow: 0 6px 18px rgba(176,142,84,0.35);
}
body.theme-light .plan-cta-featured:hover {
    background: linear-gradient(135deg, #b08e54, #8d6f3f);
    color: #fff !important;
    box-shadow: 0 10px 24px rgba(176,142,84,0.45);
}

/* ===== Pricing sélectionnable (cards radio + CTA unique) ===== */
body.theme-light .pricing-form { display: block; }

/* Pill "Le plus choisi" — eyebrow vert sur le plan featured */
body.theme-light .plan-popular-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    align-self: flex-start;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 11px;
    border-radius: 999px;
    letter-spacing: .05em;
    text-transform: uppercase;
    margin-bottom: 12px;
    box-shadow: 0 4px 14px rgba(22,163,74,0.32);
    position: relative;
    z-index: 1;
}
body.theme-light .plan-popular-badge::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(34,197,94,0.4), rgba(22,163,74,0.4));
    filter: blur(6px);
    opacity: 0.6;
    z-index: -1;
}
body.theme-light .plan-selectable { cursor: pointer; user-select: none; }
body.theme-light .plan-selectable .plan-radio {
    position: absolute; opacity: 0; pointer-events: none;
}
body.theme-light .plan-selectable .plan-check {
    position: absolute;
    top: 22px;
    right: 22px;
    width: 26px;
    height: 26px;
    border: 2px solid var(--c-border);
    border-radius: 50%;
    background: #fff;
    transition: all .15s ease;
    z-index: 2;
}
body.theme-light .plan-selectable .plan-check::after {
    content: '';
    position: absolute;
    inset: 4px;
    background: linear-gradient(135deg, #d9bd87, #b08e54);
    border-radius: 50%;
    opacity: 0;
    transform: scale(0.4);
    transition: opacity .15s ease, transform .2s cubic-bezier(.34,1.56,.64,1);
}
body.theme-light .plan-selectable.is-selected {
    border-color: #16a34a;
    box-shadow:
        0 0 0 3px rgba(22,163,74,0.18),
        0 0 24px rgba(22,163,74,0.22),
        0 22px 50px rgba(22,163,74,0.16),
        0 1px 2px rgba(15,23,42,0.06);
    animation: plan-glow-pulse 2.6s ease-in-out infinite;
}
@keyframes plan-glow-pulse {
    0%, 100% {
        box-shadow:
            0 0 0 3px rgba(22,163,74,0.18),
            0 0 24px rgba(22,163,74,0.22),
            0 22px 50px rgba(22,163,74,0.16),
            0 1px 2px rgba(15,23,42,0.06);
    }
    50% {
        box-shadow:
            0 0 0 4px rgba(22,163,74,0.26),
            0 0 38px rgba(22,163,74,0.32),
            0 22px 50px rgba(22,163,74,0.20),
            0 1px 2px rgba(15,23,42,0.06);
    }
}
@media (prefers-reduced-motion: reduce) {
    body.theme-light .plan-selectable.is-selected { animation: none; }
}
body.theme-light .plan-selectable.is-selected .plan-check {
    border-color: #16a34a;
}
body.theme-light .plan-selectable.is-selected .plan-check::after {
    opacity: 1;
    transform: scale(1);
    background: linear-gradient(135deg, #22c55e, #16a34a);
}
body.theme-light .plan-selectable:hover:not(.is-selected) .plan-check {
    border-color: rgba(201,169,110,0.5);
}
body.theme-light .plan-selectable:focus-within {
    outline: 0;
}
/* Le pricing card sélectionnable ne porte plus le décalage featured statique :
   on garde uniquement l'état "selected" comme marqueur visuel */
body.theme-light .plan-featured.plan-selectable { transform: none; }
body.theme-light .plan-featured.plan-selectable.is-selected { transform: translateY(-4px); }
@media (max-width: 980px) {
    body.theme-light .plan-featured.plan-selectable.is-selected { transform: none; }
}

/* CTA unique sous les 2 cards */
body.theme-light .pricing-cta-wrap {
    margin-top: 32px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
body.theme-light .pricing-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 999px;
    background: var(--c-ink);
    color: #fafaf6;
    border: 0;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
    box-shadow: 0 8px 24px rgba(15,23,42,0.25);
    text-decoration: none;
}
body.theme-light .pricing-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(15,23,42,0.32);
    background: #1e293b;
    color: #fafaf6;
}
body.theme-light .pricing-cta-price {
    color: #d9bd87;
    font-weight: 500;
    font-size: 15px;
}
body.theme-light .pricing-cta-hint {
    font-size: 13px;
    color: var(--c-text-soft);
    margin: 0;
}

/* FAQ */
body.theme-light .faq-section {
    max-width: 880px;
    margin: 80px auto 0;
    padding: 0 24px;
}
body.theme-light .faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 36px;
}
body.theme-light .faq-item {
    background: #fff;
    border: 1px solid var(--c-border);
    border-radius: 14px;
    overflow: hidden;
    transition: border-color .15s ease, box-shadow .15s ease;
}
body.theme-light .faq-item[open] {
    border-color: rgba(201,169,110,0.45);
    box-shadow: 0 8px 24px rgba(15,23,42,0.06);
}
body.theme-light .faq-item summary {
    cursor: pointer;
    padding: 18px 22px;
    font-weight: 600;
    font-size: 15.5px;
    color: var(--c-ink);
    position: relative;
    padding-right: 50px;
    list-style: none;
    transition: background .15s ease;
}
body.theme-light .faq-item summary::-webkit-details-marker { display: none; }
body.theme-light .faq-item summary::after {
    content: '+';
    position: absolute;
    right: 22px; top: 50%;
    transform: translateY(-50%);
    width: 26px; height: 26px;
    border-radius: 50%;
    background: rgba(201,169,110,0.12);
    color: var(--c-accent);
    display: flex; align-items: center; justify-content: center;
    font-weight: 400; font-size: 20px; line-height: 1;
    transition: transform .25s ease, background .15s ease;
}
body.theme-light .faq-item[open] summary::after {
    transform: translateY(-50%) rotate(45deg);
    background: linear-gradient(135deg, #d9bd87, #b08e54);
    color: #fff;
}
body.theme-light .faq-item summary:hover { background: rgba(201,169,110,0.04); }
body.theme-light .faq-item > .faq-answer,
body.theme-light .faq-item > p {
    padding: 0 22px 22px;
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--c-text-soft);
}
body.theme-light .faq-item .faq-answer p,
body.theme-light .faq-item > p { margin: 0 0 10px; }
body.theme-light .faq-item .faq-answer p:last-child { margin-bottom: 0; }
body.theme-light .faq-item .faq-answer strong,
body.theme-light .faq-item > p strong { color: var(--c-ink); font-weight: 600; }
body.theme-light .faq-item .faq-answer a,
body.theme-light .faq-item > p a { color: var(--c-accent); font-weight: 500; }
body.theme-light .faq-item .faq-answer code,
body.theme-light .faq-item > p code { background: rgba(201,169,110,0.08); color: var(--c-ink); padding: 1px 6px; border-radius: 4px; font-size: 13px; }
body.theme-light .faq-item .faq-answer ul,
body.theme-light .faq-item .faq-answer ol { padding-left: 22px; margin: 10px 0; }
body.theme-light .faq-more {
    text-align: center;
    margin-top: 28px;
    color: var(--c-text-soft);
    font-size: 14px;
}
body.theme-light .faq-more a { color: var(--c-accent); font-weight: 500; }
@media (max-width: 540px) {
    body.theme-light .faq-section { padding: 0 20px; margin-top: 60px; }
    body.theme-light .faq-item summary { font-size: 14.5px; padding: 16px 20px; padding-right: 46px; }
    body.theme-light .faq-item p { padding: 0 20px 18px; font-size: 14px; }
}

/* Newsletter footer */
body.theme-light .footer-newsletter-col { display: flex; flex-direction: column; gap: 8px; }
body.theme-light .footer-newsletter-pitch { font-size: 13px; color: var(--c-text-soft); line-height: 1.5; margin: 0; }
body.theme-light .footer-newsletter-form { margin: 4px 0 2px; }
body.theme-light .footer-newsletter-row { display: flex; align-items: stretch; border: 1px solid var(--c-border); border-radius: 999px; overflow: hidden; background: #fff; transition: border-color .15s; }
body.theme-light .footer-newsletter-row:focus-within { border-color: var(--c-accent); box-shadow: 0 0 0 3px rgba(108,155,255,0.15); }
body.theme-light .footer-newsletter-row input[type="email"] { flex: 1; min-width: 0; border: 0; padding: 10px 14px; font: inherit; font-size: 13.5px; background: transparent; color: var(--c-ink); outline: 0; }
body.theme-light .footer-newsletter-row button { background: linear-gradient(135deg, #d9bd87, #b08e54); color: #fff; border: 0; padding: 0 18px; cursor: pointer; font-size: 16px; font-weight: 700; transition: filter .15s; }
body.theme-light .footer-newsletter-row button:hover { filter: brightness(1.08); }
body.theme-light .footer-newsletter-finehint { font-size: 11.5px; color: var(--c-text-soft); margin: 0; opacity: .8; }
body.theme-light .footer-newsletter-ok { font-size: 13px; color: #15803d; margin: 0; padding: 8px 12px; background: rgba(22,163,74,0.08); border-radius: 8px; }
body.theme-light .footer-newsletter-err { font-size: 13px; color: #b91c1c; margin: 0; padding: 8px 12px; background: rgba(220,38,38,0.06); border-radius: 8px; }

/* Final CTA */
body.theme-light .final-cta {
    margin-top: 100px;
    margin-bottom: 80px;
}
body.theme-light .final-cta-inner {
    position: relative;
    background: linear-gradient(135deg, #1d2640 0%, #4a5d85 100%);
    border-radius: 28px;
    padding: 64px 48px;
    text-align: center;
    overflow: hidden;
    color: #fafaf6;
    box-shadow: 0 30px 70px rgba(45, 58, 92, 0.28);
}
/* halos dorés retirés — gradient navy seul */
body.theme-light .final-cta-inner > * { position: relative; z-index: 1; }
body.theme-light .final-cta-inner h2 {
    margin: 0 0 14px;
    font-size: clamp(26px, 3.6vw, 38px);
    font-weight: 700;
    letter-spacing: -0.025em;
    color: #fafaf6;
    line-height: 1.15;
}
body.theme-light .final-cta-inner h2 .accent {
    background: linear-gradient(180deg, #f0d9a5 0%, #d9bd87 50%, #b08e54 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
    font-style: italic;
    font-weight: 700;
}
body.theme-light .final-cta-inner p {
    margin: 0 0 28px;
    font-size: 17px;
    line-height: 1.55;
    color: rgba(250,250,246,0.92);
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
}
body.theme-light .final-cta-inner p strong {
    color: #f0d9a5;
    font-weight: 700;
}
body.theme-light .btn-pill-light {
    background: linear-gradient(180deg, #f0d9a5 0%, #d9bd87 50%, #b08e54 100%);
    color: #2d3a5c !important;
    box-shadow:
        0 1px 0 rgba(255,255,255,0.3) inset,
        0 10px 28px rgba(176,142,84,0.45),
        0 0 0 1px rgba(217,189,135,0.5);
    font-weight: 800;
    transition: transform .2s ease, box-shadow .2s ease;
}
body.theme-light .btn-pill-light:hover {
    transform: translateY(-2px);
    background: linear-gradient(180deg, #f5e1b3 0%, #d9bd87 50%, #b08e54 100%);
    color: #2d3a5c !important;
    box-shadow:
        0 1px 0 rgba(255,255,255,0.4) inset,
        0 14px 36px rgba(176,142,84,0.55),
        0 0 0 1px rgba(217,189,135,0.65);
}
@media (max-width: 600px) {
    body.theme-light .final-cta-inner { padding: 44px 24px; border-radius: 20px; }
}
