/* ==========================================================================
   Vanosia — feuille de style
   Ergonomie reprise de si-besoin.fr, palette « Graphite, Argent & Saphir ».
   Toutes les couleurs sont des variables (:root) : changer de palette = changer ce bloc.
   Rôles : noir graphite = structure (en-tête, pied, sections sombres) ;
           argent = menu, filets, fonds alternés ; bleu saphir = actions et liens ;
           or = pointes (offre, badges) ; vert = « conforme », coches.
   ========================================================================== */

/* --- Police Schibsted Grotesk hébergée localement, réduite aux caractères latins utiles
       (SIL Open Font License, voir assets/fonts/OFL-schibsted-grotesk.txt) --- */
@font-face {
    font-family: "Schibsted Grotesk";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/schibsted-grotesk-latin-400-normal.woff2") format("woff2");
}
@font-face {
    font-family: "Schibsted Grotesk";
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/schibsted-grotesk-latin-400-italic.woff2") format("woff2");
}
@font-face {
    font-family: "Schibsted Grotesk";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("../fonts/schibsted-grotesk-latin-500-normal.woff2") format("woff2");
}
@font-face {
    font-family: "Schibsted Grotesk";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../fonts/schibsted-grotesk-latin-600-normal.woff2") format("woff2");
}
@font-face {
    font-family: "Schibsted Grotesk";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/schibsted-grotesk-latin-700-normal.woff2") format("woff2");
}

/* --- Ancienne police Poppins, conservée pour un retour arrière : il suffit de remettre
       "Poppins" en tête de --font-sans. Non téléchargée par le navigateur tant qu'elle
       n'est pas utilisée. --- */
@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/poppins-latin-400-normal.woff2") format("woff2");
}

@font-face {
    font-family: "Poppins";
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/poppins-latin-400-italic.woff2") format("woff2");
}

@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("../fonts/poppins-latin-500-normal.woff2") format("woff2");
}

@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../fonts/poppins-latin-600-normal.woff2") format("woff2");
}

@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/poppins-latin-700-normal.woff2") format("woff2");
}

:root {
    /* Graphite (structure) */
    --ink: #0E0F12;
    --ink-2: #17191E;
    --ink-3: #2A2D35;
    /* Argent */
    --silver: #C0C4CC;
    --silver-2: #9AA0AA;
    --silver-light: #F3F4F6;
    --line: #E5E7EB;
    /* Textes sur fond clair */
    --heading: #1F2937;
    --text: #4B5563;
    --muted: #6B7280;
    /* Saphir (actions) */
    --blue: #2563EB;
    --blue-dark: #1D4ED8;
    --blue-on-dark: #6B95FF;
    --blue-pale: #EEF3FF;
    /* Or (pointes) */
    --gold: #D4A63A;
    --gold-pale: #FBF4E2;
    --gold-line: #EAD9A8;
    --gold-text: #8A6A16;
    /* Vert (conforme) */
    --green: #10B981;
    --green-text: #047857;
    --green-pale: #E7F8F1;
    /* Erreur */
    --red-text: #B42318;
    --red-pale: #FDECEA;
    --white: #FFFFFF;

    --font-sans: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --radius: 6px;
    --radius-lg: 6px;
    --radius-tag: 3px;
    --radius-inner: 4px;
    --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
    --transition: color .2s ease, background-color .2s ease, border-color .2s ease,
        box-shadow .2s ease, opacity .2s ease, transform .2s var(--ease-out);
}

/* --- Base --- */
* {
    box-sizing: border-box;
}

[hidden] {
    display: none !important;
}

html {
    scroll-behavior: auto;
    -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

body {
    margin: 0;
    font-family: var(--font-sans);
    color: var(--text);
    background: var(--white);
    /* Schibsted Grotesk a des minuscules ~4 % moins hautes que Poppins : léger agrandissement
       du texte courant pour garder le même confort de lecture. */
    font-size: 1.04rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-sans);
    color: var(--heading);
    line-height: 1.22;
    margin: 0 0 .6em;
    font-weight: 700;
}

h1 {
    font-size: clamp(1.9rem, 3vw + 1rem, 2.75rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(1.5rem, 2vw + 1rem, 2.1rem);
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.2rem;
}

p {
    margin: 0 0 1em;
}

a {
    color: var(--blue);
    text-decoration: none;
}

a:hover {
    color: var(--blue-dark);
}

ul {
    padding-left: 1.2em;
}

img,
svg {
    max-width: 100%;
}

img {
    display: block;
}

sup {
    line-height: 0;
}

[id] {
    scroll-margin-top: calc(var(--header-h, 80px) + 16px);
}

:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 2px;
}

.container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 72px 0;
}

.section-alt {
    background: var(--silver-light);
}

.section-tight {
    padding-top: 0;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -60px;
    z-index: 300;
    background: var(--blue);
    color: var(--white);
    padding: 10px 16px;
    border-radius: 10px;
    font-weight: 600;
}

.skip-link:focus {
    top: 12px;
    color: var(--white);
}

/* --- Boutons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5em;
    min-height: 44px;
    padding: .8em 1.6em;
    border-radius: 999px;
    font: 600 .95rem/1.2 var(--font-sans);
    text-align: center;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 160ms var(--ease-out), background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.btn-sm {
    min-height: 40px;
    padding: .5em 1.1em;
    font-size: .9rem;
}

.btn-lg {
    min-height: 56px;
    padding: .9em 1.9em;
    font-size: 1rem;
}

.btn-primary {
    background: var(--blue);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--blue-dark);
    color: var(--white);
}

.btn-dark {
    background: var(--ink);
    color: var(--white);
}

.btn-dark:hover {
    background: #000;
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: var(--silver);
}

.btn-outline:hover {
    background: var(--silver);
    color: var(--ink);
}

.btn-outline-dark {
    background: transparent;
    color: var(--ink);
    border-color: var(--ink);
}

.btn-outline-dark:hover {
    background: var(--ink);
    color: var(--white);
}

.btn:active {
    transform: scale(0.97);
}

@media (hover: hover) and (pointer: fine) {
    .btn:hover {
        transform: translateY(-2px);
    }
}

.btn[disabled] {
    opacity: .6;
    cursor: not-allowed;
}

.link-button {
    background: none;
    border: 0;
    padding: 0;
    font: inherit;
    font-weight: 600;
    color: var(--blue);
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.link-button:hover {
    color: var(--blue-dark);
}

.pill {
    display: inline-block;
    padding: 3px 10px;
    border-radius: var(--radius-tag);
    font-size: .78rem;
    font-weight: 600;
    line-height: 1.5;
    white-space: nowrap;
}

.pill-gold {
    background: var(--gold);
    color: var(--ink);
}

.pill-silver {
    background: var(--silver-light);
    color: var(--heading);
    box-shadow: inset 0 0 0 1px var(--line);
}

.pill-soon {
    background: var(--ink);
    color: var(--white);
}

.pill-green {
    background: var(--green-pale);
    color: var(--green-text);
}

/* --- Bandeau de l'offre --- */
.offer-band {
    /* Option 2 : centre doré soutenu, bords jaune pâle adoucis */
    background: linear-gradient(90deg, #F3E5BE 0%, var(--gold) 35%, var(--gold) 65%, #F3E5BE 100%);
    /* Option 3 (en réserve) :
       background: linear-gradient(90deg, var(--gold) 0%, #F9F1D8 50%, var(--gold) 100%); */
    color: var(--ink);
    font-size: .9rem;
}

.offer-band-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 4px 20px;
    padding-top: 9px;
    padding-bottom: 9px;
    text-align: center;
}

.offer-band p {
    margin: 0;
}

.offer-band-sep {
    margin: 0 .5em;
}

.offer-band a {
    color: var(--ink);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.offer-band a:hover {
    color: var(--ink);
}

/* --- En-tête noir graphite --- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--white);
    border-bottom: 1px solid var(--line);
}

.site-header .header-inner {
    max-width: none;
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 14px 32px;
}

.logo {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
    flex-shrink: 0;
    padding: 8px 18px 8px 10px;
    border-radius: 8px;
    background: var(--ink);
    border: 1px solid var(--ink-3);
    box-shadow: 0 4px 16px rgba(0, 0, 0, .22);
    transition: transform .15s ease, box-shadow .15s ease;
}

.logo:hover {
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, .32);
}

.logo-mark {
    display: inline-flex;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-text strong {
    font-size: 1.4rem;
    color: var(--white);
    letter-spacing: -.01em;
}

.logo-bubble {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    z-index: 50;
    width: max-content;
    max-width: 280px;
    padding: 10px 14px;
    background: var(--white);
    color: var(--ink);
    border: 2px solid var(--gold);
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
    font-size: .85rem;
    font-weight: 500;
    line-height: 1.4;
    opacity: 0;
    transform: translateY(-4px) scale(0.97);
    transform-origin: 22px 0;
    pointer-events: none;
    transition: opacity 120ms ease, transform 120ms ease;
}

.logo-bubble::before {
    content: "";
    position: absolute;
    top: -8px;
    left: 16px;
    border: 7px solid transparent;
    border-top: 0;
    border-bottom-color: var(--gold);
}

.logo:hover .logo-bubble {
    opacity: 1;
    transform: none;
    transition: opacity 160ms var(--ease-out) 450ms, transform 200ms var(--ease-out) 450ms;
}

.logo:focus-visible .logo-bubble {
    opacity: 1;
    transform: none;
}

@media (hover: none) {
    .logo-bubble {
        display: none;
    }
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.main-nav ul {
    display: flex;
    gap: 8px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.main-nav ul a {
    display: block;
    padding: .42em 1em;
    border-radius: 999px;
    background: var(--white);
    color: var(--heading);
    border: 1.5px solid var(--silver);
    font-weight: 500;
    font-size: .92rem;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform 160ms var(--ease-out);
}

.main-nav ul a:hover {
    background: var(--silver);
    border-color: var(--silver-2);
    color: var(--ink);
}

.main-nav ul a.is-active {
    background: var(--silver-light);
    border-color: var(--silver-2);
    color: var(--ink);
}

.main-nav ul a:active {
    transform: scale(0.97);
}

.nav-actions {
    display: flex;
    gap: 8px;
}

.nav-toggle {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.nav-toggle-label {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    margin-left: auto;
}

.nav-toggle-label span {
    width: 24px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform 240ms var(--ease-out), opacity 160ms ease;
}

@media (max-width: 1180px) {
    .nav-toggle-label {
        display: flex;
    }

    .nav-toggle:focus-visible+.nav-toggle-label {
        outline: 3px solid var(--blue);
        outline-offset: 2px;
        border-radius: 8px;
    }

    .nav-toggle:checked+.nav-toggle-label span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .nav-toggle:checked+.nav-toggle-label span:nth-child(2) {
        opacity: 0;
        transform: scaleX(0.4);
    }

    .nav-toggle:checked+.nav-toggle-label span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .main-nav {
        position: fixed;
        top: var(--header-bottom, 68px);
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--white);
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        padding: 24px;
        overflow-y: auto;
        opacity: 0;
        transform: translateY(-8px);
        pointer-events: none;
        visibility: hidden;
        transition: opacity 150ms ease, transform 150ms ease, visibility 0s linear 150ms;
    }

    .nav-toggle:checked~.main-nav {
        opacity: 1;
        transform: none;
        pointer-events: auto;
        visibility: visible;
        transition: opacity 220ms var(--ease-out), transform 280ms var(--ease-out);
    }

    .main-nav ul {
        flex-direction: column;
        margin: 0;
    }

    .main-nav ul a {
        padding: .8em 1.1em;
        font-size: 1rem;
    }

    .nav-actions {
        flex-direction: column;
    }

    .nav-actions .btn {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .site-header .header-inner {
        padding: 12px 16px;
    }

    .logo-text strong {
        font-size: 1.3rem;
    }
}

/* --- Fil d'Ariane --- */
.breadcrumb {
    background: var(--white);
    border-bottom: 1px solid var(--line);
    font-size: .85rem;
    padding: 12px 0;
}

.breadcrumb a {
    color: var(--muted);
}

.breadcrumb a:hover {
    color: var(--blue);
}

.breadcrumb span[aria-hidden] {
    margin: 0 .4em;
    color: var(--silver-2);
}

.breadcrumb [aria-current] {
    color: var(--heading);
    font-weight: 500;
}

/* --- Titres de page --- */
.page-hero {
    background:
        radial-gradient(560px 320px at 88% 12%, rgba(37, 99, 235, .07), transparent 70%),
        linear-gradient(180deg, var(--silver-light) 0%, var(--white) 100%);
    padding: 64px 0 44px;
    border-bottom: 2px solid var(--ink);
}

.page-hero h1 {
    font-size: clamp(2.2rem, 3.5vw + 1rem, 3.6rem);
    line-height: 1.12;
    max-width: 22ch;
    margin-bottom: .4em;
}

.page-hero p {
    font-size: 1.15rem;
    max-width: 62ch;
    margin: 0;
}

.page-hero .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--blue);
    letter-spacing: .03em;
    margin-bottom: 1em;
}

.page-hero .hero-actions {
    margin-top: 1.8em;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hl {
    background: var(--blue);
    color: var(--white);
    padding: .02em .16em;
    border-radius: 8px;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

/* --- Accueil : ouverture sur fond graphite --- */
.home-hero {
    position: relative;
    overflow: hidden;
    padding: 80px 0 72px;
    color: var(--silver);
    background:
        radial-gradient(600px 380px at 85% 10%, rgba(37, 99, 235, .28), transparent 70%),
        radial-gradient(420px 260px at 5% 100%, rgba(212, 166, 58, .10), transparent 70%),
        linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
}

.home-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 56px;
    align-items: center;
}

.home-hero .eyebrow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    color: var(--silver);
    font-weight: 600;
    letter-spacing: .04em;
    margin-bottom: 1.4em;
}

.home-hero h1 {
    color: var(--white);
    font-size: clamp(2.4rem, 3.6vw + 1rem, 4.1rem);
    line-height: 1.12;
    letter-spacing: -0.03em;
    margin-bottom: .5em;
}

.home-hero h1 .hl {
    display: inline-block;
    transform: rotate(-1.2deg);
}

.home-hero .lead {
    font-size: 1.2rem;
    color: var(--silver);
    max-width: 34em;
    margin-bottom: 2em;
}

.hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    margin: 1.8em 0 0;
    padding: 0;
    list-style: none;
    font-size: .9rem;
    color: var(--silver);
}

.hero-proof li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-proof svg {
    color: var(--green);
    flex-shrink: 0;
}

@media (max-width: 980px) {
    .home-hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Maquette de l'application (dessinée en CSS, aucune capture) */
.app-mock {
    margin: 0;
}

.app-mock figcaption {
    margin-top: 10px;
    font-size: .78rem;
    color: var(--silver-2);
    text-align: right;
}

.app-window {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 255, 255, .08);
    color: var(--heading);
    font-size: .8rem;
    line-height: 1.35;
}

.app-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: var(--silver-light);
    border-bottom: 1px solid var(--line);
}

.app-dots {
    display: flex;
    gap: 6px;
}

.app-dots i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--silver);
}

.app-title {
    font-weight: 600;
    color: var(--muted);
    font-size: .75rem;
}

.app-body {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    min-height: 300px;
}

.app-side {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 12px 10px;
    background: #12305A;
    color: #C9D6EA;
}

.app-side-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: var(--white);
}

.app-side span:not(.app-side-logo) {
    padding: 6px 8px;
    border-radius: 6px;
}

.app-side .is-on {
    background: rgba(255, 255, 255, .14);
    color: var(--white);
    font-weight: 600;
}

.app-main {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

.app-kpis {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.app-kpis div {
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 8px 10px;
}

.app-kpis small {
    display: block;
    color: var(--muted);
    font-size: .68rem;
}

.app-kpis b {
    font-size: 1.35rem;
}

.app-kpis .kpi-late {
    background: var(--gold-pale);
    border-color: var(--gold-line);
}

.app-kpis .kpi-ok b {
    color: var(--green-text);
}

.app-chart {
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 8px 10px;
}

.app-chart small {
    color: var(--muted);
    font-size: .68rem;
}

.app-bars {
    display: flex;
    align-items: flex-end;
    gap: 5px;
    height: 64px;
    margin-top: 6px;
}

.app-bars i {
    flex: 1;
    height: var(--h);
    background: var(--blue);
    border-radius: 3px 3px 0 0;
    opacity: .85;
}

.app-bars i:last-child {
    background: var(--gold);
    opacity: 1;
}

.app-list {
    list-style: none;
    margin: 0;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 10px;
}

.app-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    border-top: 1px solid var(--line);
}

.app-list li:first-child {
    border-top: 0;
}

.app-list span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.app-list em {
    font-style: normal;
    font-size: .68rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: var(--radius-tag);
    flex-shrink: 0;
}

.st-late {
    background: var(--gold);
    color: var(--ink);
}

.st-run {
    background: var(--blue-pale);
    color: var(--blue-dark);
}

.st-done {
    background: var(--green-pale);
    color: var(--green-text);
}

@media (max-width: 520px) {
    .app-body {
        grid-template-columns: 1fr;
    }

    .app-side {
        display: none;
    }
}

@media (prefers-reduced-motion: no-preference) {

    .home-hero-text>*,
    .home-hero .app-mock {
        animation: vn-rise 640ms var(--ease-out) both;
    }

    .home-hero-text> :nth-child(2) {
        animation-delay: 70ms;
    }

    .home-hero-text> :nth-child(3) {
        animation-delay: 140ms;
    }

    .home-hero-text> :nth-child(4) {
        animation-delay: 210ms;
    }

    .home-hero-text> :nth-child(5) {
        animation-delay: 260ms;
    }

    .home-hero .app-mock {
        animation-delay: 240ms;
    }

    .app-bars i {
        transform-origin: bottom;
        animation: vn-grow 700ms var(--ease-out) both;
        animation-delay: calc(500ms + var(--i) * 40ms);
    }
}

@keyframes vn-rise {
    from {
        opacity: 0;
        translate: 0 12px;
    }
}

@keyframes vn-grow {
    from {
        transform: scaleY(0);
    }
}

/* --- Bandeau défilant clair, liserés gris --- */
.ticker-wrap {
    overflow-x: clip;
    overflow-y: visible;
}

.ticker {
    position: relative;
    background: var(--white);
    border-top: 3px solid var(--silver);
    border-bottom: 3px solid var(--silver);
    overflow: hidden;
    padding: 15px 0;
    margin: 0;
}

.ticker-track {
    display: flex;
    gap: 36px;
    width: max-content;
    animation: vn-ticker 36s linear infinite;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--ink);
    white-space: nowrap;
}

.ticker-track .sep {
    color: var(--blue);
    font-size: 2rem;
    line-height: 1;
    align-self: center;
}

.ticker::before,
.ticker::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 1;
    width: clamp(48px, 8vw, 120px);
    pointer-events: none;
}

.ticker::before {
    left: 0;
    background: linear-gradient(90deg, var(--white) 25%, rgba(255, 255, 255, 0));
}

.ticker::after {
    right: 0;
    background: linear-gradient(270deg, var(--white) 25%, rgba(255, 255, 255, 0));
}

@keyframes vn-ticker {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .ticker-track {
        animation: none;
    }
}

@media (hover: hover) and (pointer: fine) {
    .ticker:hover .ticker-track {
        animation-play-state: paused;
    }
}

/* --- Chiffres clés --- */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    border-top: 2px solid var(--ink);
    border-bottom: 2px solid var(--ink);
}

.stat {
    padding: 30px 24px;
    border-right: 1px solid var(--line);
    transition: background-color 200ms ease;
}

.stat:last-child {
    border-right: 0;
}

@media (hover: hover) and (pointer: fine) {
    .stat:hover {
        background-color: var(--gold-pale);
    }

    .stats-dark .stat:hover {
        background-color: rgba(255, 255, 255, 0.04);
    }
}

.stat strong {
    display: block;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--blue);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.stat strong small {
    display: block;
    font-size: 1.1rem;
    margin-top: .25em;
    color: var(--heading);
}

.stat span {
    display: block;
    margin-top: 12px;
}

.stats-dark {
    border-color: var(--ink-3);
}

.stats-dark .stat {
    border-color: var(--ink-3);
}

.stats-dark .stat strong {
    color: var(--blue-on-dark);
}

.stats-dark .stat strong small {
    color: var(--white);
}

.stats-dark .stat span {
    color: var(--silver);
}

@media (max-width: 520px) {
    .stat {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .stat:last-child {
        border-bottom: 0;
    }
}

/* --- En-têtes de section --- */
.section-head {
    max-width: 760px;
    margin: 0 0 2.4em;
}

.section-head .kicker {
    display: block;
    color: var(--blue);
    font-weight: 600;
    font-size: .95rem;
    letter-spacing: .03em;
    margin-bottom: .6em;
}

.section-head p {
    font-size: 1.1rem;
    margin: 0;
}

.big-title {
    font-size: clamp(2.1rem, 2.5vw + 1rem, 3.4rem);
    letter-spacing: -0.02em;
    line-height: 1.08;
    margin-bottom: .6em;
}

.section-dark {
    background: var(--ink);
    color: var(--silver);
}

.section-dark h2,
.section-dark h3 {
    color: var(--white);
}

.section-dark .section-head .kicker {
    color: var(--blue-on-dark);
}

.section-dark a:not(.btn) {
    color: var(--blue-on-dark);
}

/* --- Cartes --- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

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

.card-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 1100px) {
    .card-grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {

    .card-grid,
    .card-grid-2,
    .card-grid-4 {
        grid-template-columns: 1fr;
    }
}

.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 2px solid var(--ink);
    border-radius: var(--radius-lg);
    padding: 30px 28px;
    transition: border-color .2s ease, transform 220ms var(--ease-out);
}

.service-card h3 {
    margin-bottom: .45em;
}

.service-card h3 a {
    color: var(--heading);
}

.service-card p {
    color: var(--text);
}

.service-card .more {
    margin-top: auto;
    font-weight: 600;
}

.service-card h3 a::after,
.service-card>a.more::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
}

@media (hover: hover) and (pointer: fine) {
    .service-card:has(a):hover {
        transform: translateY(-4px);
        border-color: var(--blue);
    }

    .service-card:has(a):hover h3 a {
        color: var(--blue);
    }
}

.service-card:has(a):active {
    transform: scale(0.98);
}

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-inner);
    background: var(--blue-pale);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    flex-shrink: 0;
}

.card-tag {
    align-self: flex-start;
    display: inline-block;
    padding: 3px 10px;
    border-radius: var(--radius-tag);
    background: var(--silver-light);
    box-shadow: inset 0 0 0 1px var(--line);
    color: var(--heading);
    font-size: .8rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.card-tag.gold {
    background: var(--gold-pale);
    box-shadow: inset 0 0 0 1px var(--gold-line);
}

.card-tag.blue {
    background: var(--blue-pale);
    box-shadow: none;
    color: var(--blue-dark);
}

.module-price {
    margin-top: auto;
    margin-bottom: 0;
    font-weight: 700;
    color: var(--heading);
}

.soon-card {
    background: var(--silver-light);
    border-color: var(--silver);
}

.soon-card .service-icon {
    background: var(--white);
    color: var(--muted);
}

/* --- Fonctions phares --- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

@media (max-width: 860px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    border-radius: var(--radius-lg);
    background: var(--silver-light);
    padding: 26px;
    display: flex;
    flex-direction: column;
}

.feature-card h3 {
    font-size: 1.35rem;
    margin: 22px 0 .4em;
}

.feature-card p {
    margin-bottom: .8em;
}

.feature-visual {
    background: var(--ink);
    border-radius: var(--radius-inner);
    min-height: 196px;
    padding: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.feature-norm {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    margin: auto 0 0;
    padding-top: 10px;
    font-size: .88rem;
    font-weight: 600;
    color: var(--green-text);
}

.feature-norm svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.section-dark .feature-card {
    background: var(--ink-2);
    box-shadow: inset 0 0 0 1.5px var(--silver-2);
}

.section-dark .feature-card p {
    color: var(--silver);
}

.section-dark .feature-norm {
    color: var(--green);
}

.section-dark .feature-visual {
    background: var(--ink-3);
}

.mock {
    width: 100%;
    max-width: 330px;
    background: var(--white);
    color: var(--heading);
    border-radius: var(--radius-inner);
    padding: 16px 18px;
    font-size: .85rem;
    box-shadow: 0 16px 40px rgba(0, 0, 0, .35);
}

.mock p {
    margin: 0;
}

.mm-from {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted);
    font-size: .75rem;
}

.mm-subject {
    font-weight: 700;
    font-size: 1rem;
    margin: 8px 0 4px !important;
}

.mm-line {
    color: var(--muted);
    font-size: .8rem;
    border-left: 3px solid var(--gold);
    padding-left: 8px;
}

.mock-review .mr-title {
    font-weight: 700;
    margin-bottom: 8px;
}

.mock-review ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 6px;
}

.mock-review li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 8px;
    border-radius: 8px;
    background: var(--silver-light);
}

.mock-review svg {
    color: var(--green);
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.mv-doc {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    margin-bottom: 14px !important;
}

.mv-doc svg {
    width: 20px;
    height: 20px;
    color: var(--blue);
}

.mock-versions ol {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 0;
}

.mock-versions li {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: var(--muted);
    font-size: .75rem;
}

.mock-versions li::before {
    content: "";
    position: absolute;
    top: 17px;
    left: -50%;
    right: 50%;
    height: 2px;
    background: var(--line);
    z-index: 0;
}

.mock-versions li:first-child::before {
    display: none;
}

.mock-versions b {
    position: relative;
    z-index: 1;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--silver-light);
    box-shadow: inset 0 0 0 2px var(--line);
    color: var(--muted);
}

.mock-versions .is-current b {
    background: var(--green);
    color: var(--white);
    box-shadow: none;
}

.mock-versions .is-current {
    color: var(--green-text);
    font-weight: 600;
}

.mock-history ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mock-history li {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 8px;
    padding: 7px 8px;
    border-radius: 8px;
    font-size: .8rem;
}

.mock-history time {
    color: var(--muted);
    font-variant-numeric: tabular-nums;
}

.mock-history .is-new {
    background: var(--blue-pale);
    color: var(--blue-dark);
    font-weight: 600;
}

/* Animations des maquettes : une seule fois, quand la carte apparaît (et seulement si les animations sont acceptées). */
@media (prefers-reduced-motion: no-preference) {
    .reveal-ready .feature-card.is-revealed .mock-mail {
        animation: vn-slide-in 600ms var(--ease-out) 250ms both;
    }

    .reveal-ready .feature-card.is-revealed .mock-review li {
        animation: vn-check 360ms var(--ease-out) both;
    }

    .reveal-ready .feature-card.is-revealed .mock-review li:nth-child(1) {
        animation-delay: 250ms;
    }

    .reveal-ready .feature-card.is-revealed .mock-review li:nth-child(2) {
        animation-delay: 380ms;
    }

    .reveal-ready .feature-card.is-revealed .mock-review li:nth-child(3) {
        animation-delay: 510ms;
    }

    .reveal-ready .feature-card.is-revealed .mock-review li:nth-child(4) {
        animation-delay: 640ms;
    }

    .reveal-ready .feature-card.is-revealed .mock-review li:nth-child(5) {
        animation-delay: 770ms;
    }

    .reveal-ready .feature-card.is-revealed .mock-versions .is-current b {
        animation: vn-pop 420ms var(--ease-out) 450ms both;
    }

    .reveal-ready .feature-card.is-revealed .mock-history .is-new {
        animation: vn-row 520ms var(--ease-out) 350ms both;
    }
}

@keyframes vn-slide-in {
    from {
        opacity: 0;
        transform: translateX(28px);
    }
}

@keyframes vn-check {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
}

@keyframes vn-pop {
    from {
        opacity: 0;
        transform: scale(.6);
    }
}

@keyframes vn-row {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
}

/* Avant / avec Vanosia */
.before-after {
    border: 2px solid var(--ink);
    border-radius: var(--radius-lg);
    padding: 26px 28px;
    margin: 0 0 20px;
}

.before-after h3 {
    font-size: 1.3rem;
}

.ba-cols {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 4px;
}

@media (max-width: 700px) {
    .ba-cols {
        grid-template-columns: 1fr;
    }
}

.ba-cols>div {
    border-radius: var(--radius-inner);
    padding: 16px 18px;
}

.ba-cols p {
    margin: 0;
}

.ba-before {
    background: var(--silver-light);
}

.ba-after {
    background: var(--blue-pale);
    color: var(--heading);
}

.ba-label {
    display: block;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-bottom: 6px;
    color: var(--muted);
}

.ba-after .ba-label {
    color: var(--blue-dark);
}

/* --- Sélecteur de modules (accueil) --- */
.picker {
    background: var(--ink);
    color: var(--silver);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.picker-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 0 .2em;
    color: var(--white);
}

.picker-sub {
    margin: 0 0 1.2em;
}

.picker-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
}

.picker-chips button {
    min-height: 44px;
    padding: 0 18px;
    border-radius: var(--radius-tag);
    font: 600 .92rem var(--font-sans);
    cursor: pointer;
    background: transparent;
    color: var(--silver);
    border: 2px solid var(--ink-3);
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms var(--ease-out);
}

.picker-chips button[aria-pressed="true"] {
    background: var(--silver);
    color: var(--ink);
    border-color: var(--silver);
}

.picker-chips button:active {
    transform: scale(0.96);
}

@media (hover: hover) and (pointer: fine) {
    .picker-chips button[aria-pressed="false"]:hover {
        border-color: var(--silver);
        color: var(--white);
    }
}

.picker-panels {
    display: grid;
}

.picker-panels>.picker-panel {
    grid-area: 1 / 1;
    display: flex;
    flex-direction: column;
}

.picker-panels>.picker-panel[hidden] {
    display: none;
}

.picker-panel {
    background: var(--white);
    color: var(--text);
    border-radius: var(--radius-inner);
    padding: 26px;
}

.picker-panel .step-label {
    margin: 0 0 .3em;
    font-size: .85rem;
    font-weight: 600;
    color: var(--blue);
}

.picker-panel .step-title {
    margin: 0 0 .5em;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--heading);
}

.picker-panel .panel-foot {
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding-top: 12px;
}

.picker-panel .panel-price {
    font-weight: 700;
    color: var(--heading);
    margin: 0;
}

.picker-js .picker-panel {
    transition: opacity 220ms ease, translate 260ms var(--ease-out), visibility 0s;
}

.picker-js .picker-panel:not(.is-active) {
    opacity: 0;
    translate: 0 6px;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 140ms ease, translate 140ms ease, visibility 0s linear 140ms;
}

@media (prefers-reduced-motion: reduce) {

    .picker-js .picker-panel,
    .picker-js .picker-panel:not(.is-active) {
        translate: none;
    }
}

.check-list {
    list-style: none;
    margin: 0 0 1em;
    padding: 0;
    display: grid;
    gap: 8px;
}

.check-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.check-list svg {
    color: var(--green);
    flex-shrink: 0;
    margin-top: 3px;
}

.check-list-cols {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    column-gap: 24px;
}

/* --- Étapes --- */
.path-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 16px;
}

.path-steps li {
    padding: 28px;
    border-radius: var(--radius-lg);
    background: var(--silver-light);
}

.path-steps li:last-child {
    background: var(--gold-pale);
    box-shadow: inset 0 0 0 1px var(--gold-line);
}

.path-steps .dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--ink);
    color: var(--white);
    font-weight: 700;
    margin-bottom: 16px;
}

.path-steps li:last-child .dot {
    background: var(--blue);
}

.path-steps strong {
    display: block;
    font-size: 1.2rem;
    color: var(--heading);
    margin-bottom: 4px;
}

/* --- Tarifs --- */
.billing-toggle {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 5px;
    border-radius: 999px;
    background: var(--silver-light);
    box-shadow: inset 0 0 0 1px var(--line);
    margin-bottom: 28px;
}

.billing-toggle button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 18px;
    border-radius: 999px;
    border: 0;
    background: transparent;
    color: var(--heading);
    font: 600 .95rem var(--font-sans);
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease;
}

.billing-toggle button[aria-pressed="true"] {
    background: var(--ink);
    color: var(--white);
}

.price-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

@media (max-width: 980px) {
    .price-grid {
        grid-template-columns: 1fr;
        max-width: 520px;
    }
}

.price-card {
    position: relative;
    display: flex;
    flex-direction: column;
    border: 2px solid var(--ink);
    border-radius: var(--radius-lg);
    padding: 30px 26px;
    background: var(--white);
}

.price-card.is-featured {
    border-color: var(--blue);
    box-shadow: 0 20px 50px rgba(37, 99, 235, .14);
}

.price-badge {
    position: absolute;
    top: -14px;
    left: 24px;
    background: var(--gold);
    color: var(--ink);
    font-size: .8rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: var(--radius-tag);
}

.price-card h3 {
    font-size: 1.5rem;
    margin-bottom: .1em;
}

.price-norms {
    font-weight: 600;
    color: var(--blue);
    margin-bottom: .4em;
}

.price-for {
    min-height: 3.2em;
}

.price-main {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin: 0 0 .2em;
    color: var(--heading);
}

.price-main b {
    font-size: 2.6rem;
    line-height: 1;
    letter-spacing: -.02em;
    font-variant-numeric: tabular-nums;
}

.price-detail {
    margin-bottom: .4em;
    font-size: .95rem;
}

.price-detail s {
    color: var(--muted);
}

.price-saving {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    font-weight: 600;
    color: var(--green-text);
    font-size: .92rem;
    margin-bottom: .4em;
}

.price-saving svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.price-alt {
    font-size: .88rem;
    color: var(--muted);
}

.module-price-note {
    margin: .4em 0 0;
}

/* Offre spéciale : séparée du prix catalogue, pour ne pas le brouiller. */
.price-offer {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: .2em 0 .6em;
    padding: 8px 12px;
    border-left: 3px solid var(--gold);
    border-radius: 0 10px 10px 0;
    background: var(--gold-pale);
    font-size: .9rem;
    color: var(--heading);
}

.price-offer span {
    font-size: .82rem;
    color: var(--text);
}

.price-nudge {
    font-size: .92rem;
    background: var(--gold-pale);
    box-shadow: inset 0 0 0 1px var(--gold-line);
    border-radius: 12px;
    padding: 10px 12px;
    color: var(--heading);
}

.price-list {
    list-style: none;
    padding: 16px 0 0;
    margin: 4px 0 24px;
    border-top: 1px solid var(--line);
    display: grid;
    gap: 8px;
    font-size: .95rem;
}

.price-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.price-list svg {
    color: var(--green);
    flex-shrink: 0;
    margin-top: 3px;
}

.price-card .btn {
    margin-top: auto;
}

.pricing[data-billing="annuel"] [data-show="mensuel"],
.pricing[data-billing="mensuel"] [data-show="annuel"] {
    display: none;
}

.options-table td:last-child,
.options-table th:last-child {
    white-space: nowrap;
}

.compare-table td:not(:first-child),
.compare-table th:not(:first-child) {
    text-align: center;
}

.compare-table .yes {
    color: var(--green-text);
    font-weight: 700;
}

.compare-table .no {
    color: var(--silver-2);
}

/* Configurateur */
.configurator {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
    gap: 32px;
    align-items: start;
    border: 2px solid var(--ink);
    border-radius: var(--radius-lg);
    padding: 32px;
}

@media (max-width: 900px) {
    .configurator {
        grid-template-columns: 1fr;
        padding: 24px;
    }
}

.configurator fieldset {
    border: 0;
    padding: 0;
    margin: 0 0 22px;
}

.configurator legend {
    font-weight: 700;
    color: var(--heading);
    margin-bottom: 10px;
}

.config-total {
    position: sticky;
    top: calc(var(--header-h, 80px) + 16px);
    background: var(--ink);
    color: var(--silver);
    border-radius: var(--radius-inner);
    padding: 26px;
}

.config-total h3 {
    color: var(--white);
    font-size: 1.1rem;
}

.config-total .total-main {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
    margin: 0 0 .2em;
    font-variant-numeric: tabular-nums;
}

.config-total .total-line {
    margin: 0 0 .5em;
    font-size: .95rem;
}

.config-total .total-saving {
    color: var(--green);
    font-weight: 600;
}

.config-total .btn {
    width: 100%;
    margin-top: 12px;
}

.config-note {
    font-size: .85rem;
    color: var(--silver-2);
    margin: 10px 0 0;
}

/* --- Encadrés --- */
.callout {
    border-radius: var(--radius-lg);
    padding: 36px 40px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px 40px;
}

.callout>div {
    flex: 1 1 520px;
    min-width: 0;
}

.callout h2 {
    margin: .5em 0 .4em;
    font-size: clamp(1.4rem, 1vw + 1rem, 1.9rem);
}

.callout p {
    margin: 0;
}

.callout-dark {
    background: var(--ink);
    color: var(--silver);
}

.callout-dark h2 {
    color: var(--white);
}

.callout-gold {
    background: var(--gold-pale);
    box-shadow: inset 0 0 0 1px var(--gold-line);
    color: var(--heading);
}

.definition-box {
    background: var(--silver-light);
    border-radius: var(--radius);
    padding: 22px 26px;
    margin: 1.6em 0;
}

.definition-box p:last-child {
    margin-bottom: 0;
}

.note-box {
    background: var(--blue-pale);
    border-radius: var(--radius);
    padding: 20px 24px;
    margin: 1.6em 0;
    color: var(--heading);
}

.note-box p:last-child {
    margin-bottom: 0;
}

/* --- Contenu rédactionnel --- */
.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 48px;
    align-items: start;
}

@media (max-width: 980px) {
    .article-layout {
        grid-template-columns: 1fr;
    }
}

.article-body {
    font-size: 1.05rem;
}

.article-body h2 {
    font-size: clamp(1.45rem, 1vw + 1rem, 1.9rem);
    margin-top: 1.8em;
}

.article-body h2:first-child {
    margin-top: 0;
}

.article-body h3 {
    margin-top: 1.4em;
}

.article-body .lead {
    font-size: 1.2rem;
    color: var(--heading);
}

.article-body li {
    margin-bottom: .4em;
}

.narrow {
    max-width: 820px;
}

.clause-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 16px;
    margin: 1.6em 0;
}

.clause-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px 20px;
}

.clause-card strong {
    display: block;
    color: var(--blue);
    margin-bottom: .3em;
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.table-wrap {
    overflow-x: auto;
    margin: 1.6em 0;
    border-radius: 14px;
    box-shadow: inset 0 0 0 1px var(--line);
}

.article-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .94rem;
}

.article-table th,
.article-table td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.article-table thead th {
    background: var(--ink);
    color: var(--white);
    font-weight: 600;
}

.article-table tbody tr:nth-child(even) {
    background: #FAFAFB;
}

.article-table tbody tr:last-child td {
    border-bottom: 0;
}

.article-date {
    display: block;
    font-size: .85rem;
    color: var(--muted);
    margin-bottom: .6em;
}

.author-box {
    background: var(--silver-light);
    border-radius: var(--radius);
    padding: 20px 24px;
    margin-top: 2.4em;
    font-size: .95rem;
}

.author-box strong {
    color: var(--heading);
}

/* --- Barres latérales --- */
aside {
    position: sticky;
    top: calc(var(--header-h, 80px) + 16px);
}

@media (max-width: 980px) {
    aside {
        position: static;
    }
}

.sidebar-box {
    border: 2px solid var(--ink);
    border-radius: var(--radius-lg);
    padding: 26px;
    margin-bottom: 24px;
    background: var(--white);
}

.sidebar-box h3 {
    font-size: 1.05rem;
    margin-bottom: .8em;
}

.sidebar-box .btn {
    width: 100%;
    margin-top: .4em;
}

.sidebar-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-contact li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: .7em;
}

.sidebar-dark {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--silver);
}

.sidebar-dark h3 {
    color: var(--white);
}

.sidebar-gold {
    background: var(--gold-pale);
    border-color: var(--gold-line);
}

/* --- FAQ dépliable --- */
.faq-list {
    display: grid;
    gap: 12px;
}

.faq-item {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--white);
    transition: border-color .2s ease, box-shadow .2s ease;
}

@media (hover: hover) and (pointer: fine) {
    .faq-item:not([open]):hover {
        border-color: var(--silver);
    }
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 18px 56px 18px 22px;
    font-weight: 600;
    color: var(--heading);
    position: relative;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--blue);
    transition: transform 200ms var(--ease-out);
}

.faq-item[open] summary::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-item[open] {
    border-color: var(--blue);
    box-shadow: 0 8px 24px rgba(37, 99, 235, .08);
}

.faq-answer {
    padding: 0 22px 18px;
}

.faq-answer p:last-child {
    margin: 0;
}

/* --- Formulaires --- */
.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    gap: 48px;
    align-items: start;
}

@media (max-width: 980px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }
}

.form-card {
    border: 2px solid var(--ink);
    border-radius: var(--radius-lg);
    padding: 32px;
}

@media (max-width: 600px) {
    .form-card {
        padding: 22px;
    }
}

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

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-group label,
.form-group legend {
    display: block;
    font-weight: 600;
    margin-bottom: .4em;
    font-size: .92rem;
    color: var(--heading);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    min-height: 48px;
    padding: .75em 1em;
    border: 1.5px solid #D1D5DB;
    border-radius: 10px;
    font: 1rem var(--font-sans);
    color: var(--heading);
    background: var(--white);
    transition: var(--transition);
}

.form-group textarea {
    resize: vertical;
    min-height: 130px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .18);
}

.form-group input[readonly] {
    background: var(--silver-light);
}

.form-group fieldset {
    border: 0;
    padding: 0;
    margin: 0;
}

.form-hint {
    display: block;
    font-weight: 400;
    color: var(--muted);
    font-size: .85rem;
    margin-top: .35em;
}

.form-hint.is-ok {
    color: var(--green-text);
    font-weight: 600;
}

.form-hint.is-error {
    color: var(--red-text);
    font-weight: 600;
}

.form-hp {
    position: absolute !important;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.choice-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px;
}

.choice-list label.choice {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 12px 14px;
    border: 1.5px solid #D1D5DB;
    border-radius: 10px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.choice-list label.choice:has(input:checked) {
    border-color: var(--blue);
    background: var(--blue-pale);
}

.choice-list label.choice:has(input:disabled) {
    cursor: not-allowed;
    opacity: .55;
}

@media (hover: hover) and (pointer: fine) {
    .choice-list label.choice:hover {
        border-color: var(--blue);
    }
}

.choice small {
    display: block;
    color: var(--muted);
    font-weight: 400;
    font-size: .82rem;
}

.form-group input[type="radio"],
.form-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    min-height: 0;
    padding: 0;
    margin: 0;
    flex-shrink: 0;
    accent-color: var(--blue);
}

.form-group label.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-weight: 400;
    color: var(--text);
}

.form-group label.checkbox input {
    margin-top: .25em;
}

.form-legal {
    font-size: .85rem;
    color: var(--muted);
    margin-top: 1em;
}

.siret-result {
    margin-top: 8px;
    padding: 12px 14px;
    border-radius: 10px;
    background: var(--green-pale);
    color: var(--heading);
    font-size: .9rem;
}

.siret-result strong {
    color: var(--green-text);
}

.alert {
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 24px;
    font-weight: 500;
}

.alert ul {
    margin: 0;
    padding-left: 1.2em;
}

.alert-success {
    background: var(--green-pale);
    color: var(--green-text);
    border: 1px solid #A7E3CB;
}

.alert-error {
    background: var(--red-pale);
    color: var(--red-text);
    border: 1px solid #F3BCBC;
}

/* --- Pied de page tripartite : CTA graphite, zone centrale claire aérée, mentions graphite --- */
.site-footer {
    background: var(--ink);
    color: var(--silver);
}

.footer-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    justify-content: space-between;
    align-items: flex-end;
    padding-top: 64px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--ink-3);
}

.footer-cta-text {
    flex: 1 1 480px;
    min-width: 0;
}

.footer-cta-title {
    margin: 0;
    font-size: clamp(2rem, 2vw + 1rem, 3rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: var(--white);
}

.footer-cta-sub {
    margin: .8em 0 0;
    max-width: 62ch;
    font-size: 1.1rem;
    color: var(--silver);
}

/* Zone centrale des liens sur fond clair argenté avec lueur saphir subtile en bas à gauche */
.footer-main {
    background:
        radial-gradient(560px 380px at 0% 100%, rgba(37, 99, 235, 0.07), transparent 70%),
        linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
    color: var(--text);
    border-top: 1px solid var(--ink-3);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
    padding-top: 56px;
    padding-bottom: 48px;
}

@media (max-width: 980px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.footer-brand,
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 18px 8px 10px;
    border-radius: 8px;
    background: var(--ink);
    border: 1px solid var(--ink-3);
    box-shadow: 0 4px 16px rgba(0, 0, 0, .22);
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease;
}

.footer-brand:hover,
.footer-logo:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, .32);
}

.footer-brand strong,
.footer-logo strong {
    color: var(--white);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -.01em;
}

.footer-about p {
    margin: 14px 0;
    font-size: .92rem;
    color: var(--muted);
}

.footer-col h2,
.footer-col .footer-title {
    color: var(--heading);
    font-size: 1rem;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 1em;
    letter-spacing: 0;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col li {
    margin-bottom: .7em;
}

.footer-col a {
    color: var(--text);
    text-decoration: none;
    transition: color .2s ease;
}

.footer-col a:hover {
    color: var(--blue);
}

/* Téléphone détaché de la liste des liens, horaires en dessous */
.footer-phone {
    margin: 1.4em 0 0;
    padding-top: 1.1em;
    border-top: 1px solid var(--line);
    line-height: 1.5;
}

.footer-col .footer-phone a {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--heading);
}

.footer-col .footer-phone a:hover {
    color: var(--blue);
}

.footer-phone span {
    display: block;
    margin-top: .3em;
    font-size: .88rem;
    color: var(--muted);
}

.footer-main .social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-main .social-link {
    display: inline-flex;
    align-items: center;
    padding: .45em .95em;
    border: 1.5px solid var(--blue);
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 600;
    color: var(--blue) !important;
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease;
}

.footer-main .social-link:hover {
    background: var(--blue);
    color: var(--white) !important;
}

.footer-bottom {
    background: var(--ink);
    border-top: 1px solid var(--line);
    border-bottom: 6px solid var(--blue);
    box-shadow: inset 0 1.5px 0 #E2E8F0;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 20px;
    padding-bottom: 20px;
    font-size: .82rem;
    color: var(--silver-2);
}

.footer-bottom-inner p {
    margin: 0;
}

.footer-bottom-inner a {
    color: var(--silver);
    text-decoration: none;
    transition: color .2s ease;
}

.footer-bottom-inner a:hover {
    color: var(--white);
}

/* --- Petits écrans --- */
@media (max-width: 600px) {
    section {
        padding: 52px 0;
    }

    /* Marges latérales seulement : un « padding: 0 16px » effacerait le haut et le bas
       des blocs .container qui en ont (bandeau d'appel, zone des liens, mentions du pied de page). */
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .page-hero {
        padding: 44px 0 32px;
    }

    .home-hero {
        padding: 56px 0 52px;
    }

    .callout {
        padding: 28px 22px;
    }

    .picker {
        padding: 22px;
    }
}

/* --- Apparition au défilement ---
   La classe reveal-ready n'est posée que si JavaScript tourne et que l'utilisateur accepte les animations :
   sans elle, tout reste visible. Liste à garder identique à REVEAL dans assets/js/site.js. */
.reveal-ready :is(.path-steps > li, .stats > .stat, .card-grid > *, .feature-grid > *, .price-grid > *):not(.is-revealed) {
    opacity: 0;
}

/* Transition entre les pages : simple fondu, l'en-tête reste en place. */
@media (prefers-reduced-motion: no-preference) {
    @view-transition {
        navigation: auto;
    }
}

.site-header {
    view-transition-name: site-header;
}

::view-transition-old(root) {
    animation-duration: 140ms;
}

::view-transition-new(root) {
    animation-duration: 220ms;
    animation-timing-function: var(--ease-out);
}

/* --- Deux colonnes : texte à gauche, bloc à droite --- */
.split {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 48px;
    align-items: start;
}

.split .section-head {
    margin-bottom: 1.4em;
}

@media (max-width: 980px) {
    .split {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

.more-link {
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.more-link svg {
    width: 18px;
    height: 18px;
}

.head-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 28px;
}

.head-row .section-head {
    margin: 0;
}

/* Maquettes sur fond sombre : leur texte garde les couleurs d'un écran clair. */
.feature-card .feature-visual .mock p,
.feature-card .feature-visual .mock li {
    color: var(--heading);
}

.feature-card .feature-visual .mock .mm-from,
.feature-card .feature-visual .mock .mm-line,
.feature-card .feature-visual .mock time,
.feature-card .feature-visual .mock-versions li {
    color: var(--muted);
}

.feature-card .feature-visual .mock-versions .is-current {
    color: var(--green-text);
}

.feature-card .feature-visual .mock-history .is-new {
    color: var(--blue-dark);
}

.section-dark .feature-card .feature-norm {
    color: var(--green);
}

/* Bandeau de l'offre sur mobile : une ligne d'accroche et le lien, sans le compte des jours. */
@media (max-width: 600px) {
    .offer-band {
        font-size: .82rem;
    }

    .offer-band-inner {
        gap: 2px 12px;
        padding-top: 7px;
        padding-bottom: 7px;
    }

    .offer-band-sep,
    .offer-band p>span:not(.offer-band-sep) {
        display: none;
    }
}

/* --- Le concepteur (accueil) --- */
.founder {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 28px 48px;
    align-items: center;
    background: var(--white);
    box-shadow: inset 0 0 0 1px var(--line);
    border-radius: var(--radius-lg);
    padding: 48px;
}

.founder-photo {
    display: block;
    width: 148px;
    height: 148px;
    border-radius: var(--radius-inner);
    object-fit: cover;
    box-shadow: 0 0 0 5px var(--white), 0 0 0 7px var(--gold);
}

.founder-monogram {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, var(--ink-3), var(--ink));
    color: var(--silver);
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: .02em;
}

.founder .kicker {
    display: block;
    color: var(--blue);
    font-weight: 600;
    font-size: .95rem;
    letter-spacing: .03em;
    margin-bottom: .8em;
}

.founder blockquote {
    margin: 0 0 1.2em;
    padding-left: 22px;
    border-left: 3px solid var(--gold);
}

.founder blockquote p {
    margin: 0;
    font-size: clamp(1.15rem, .5vw + 1rem, 1.4rem);
    line-height: 1.55;
    font-weight: 500;
    color: var(--heading);
}

.founder-name {
    margin: 0;
    font-weight: 700;
    color: var(--heading);
}

.founder-role {
    margin: .2em 0 0;
    font-size: .95rem;
    color: var(--muted);
}

.founder-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 10px;
    margin: 1.3em 0 0;
    padding: 0;
    list-style: none;
}

.founder-trust li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px 5px 9px;
    border-radius: var(--radius-tag);
    background: var(--silver-light);
    box-shadow: inset 0 0 0 1px var(--line);
    font-size: .85rem;
    font-weight: 600;
    color: var(--heading);
}

.founder-trust svg {
    width: 16px;
    height: 16px;
    color: var(--green);
    flex-shrink: 0;
}

.founder-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 28px;
    margin-top: 1.6em;
}

@media (max-width: 760px) {
    .founder {
        grid-template-columns: 1fr;
        padding: 32px 22px;
        border-radius: var(--radius-lg);
    }

    .founder-photo {
        width: 104px;
        height: 104px;
        font-size: 2rem;
    }
}

/* --- Petits titres de section : pastille or pâle (l'or plein reste réservé à l'offre) --- */
.section-head .kicker,
.founder .kicker {
    display: flex;
    width: fit-content;
    align-items: center;
    gap: 8px;
    padding: 5px 14px 5px 11px;
    border-radius: var(--radius-tag);
    background: var(--gold-pale);
    box-shadow: inset 0 0 0 1px var(--gold-line);
    color: var(--gold-text);
    font-size: .85rem;
    font-weight: 600;
    letter-spacing: .02em;
    line-height: 1.4;
    margin-bottom: 1em;
}

.section-head .kicker::before,
.founder .kicker::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--gold);
    flex-shrink: 0;
}

.section-dark .section-head .kicker {
    background: rgba(212, 166, 58, .12);
    box-shadow: inset 0 0 0 1px rgba(212, 166, 58, .38);
    color: var(--gold);
}

/* Bloc sombre encadré dans la largeur du conteneur (comme l'encadré « Facturation électronique ») */
.dark-box {
    border-radius: var(--radius-lg);
    padding: 56px 48px;
}

.dark-box .section-head .kicker {
    padding: 5px 14px;
}

.dark-box .section-head .kicker::before {
    content: none;
}

@media (max-width: 720px) {
    .dark-box {
        padding: 32px 20px;
    }
}

/* --- Liens LinkedIn : contour or --- */
.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.social-link {
    border: 1.5px solid var(--gold);
    font-weight: 600;
    transition: background-color .2s ease, color .2s ease;
}

.social-link:hover {
    background: var(--gold);
    color: var(--ink) !important;
}

.social-link-light {
    color: var(--ink) !important;
}

.footer-about .social-links {
    gap: 8px;
}

.footer-about .social-link {
    padding: .45em .95em;
    font-size: .78rem;
}