:root {
    --bg: #ffffff;
    --bg-soft: #f5f8fd;
    --panel: #ffffff;
    --border: #d7dfec;
    --border-soft: #e6ebf4;
    /* Texte principal : navy très sombre. Texte secondaire : volontairement
       proche du principal — un gris clair passait mal à la lecture. */
    --text: #101a2e;
    --muted: #3a4457;
    /* Accent = navy Centre Zenith, comme le favicon. Il est très proche du
       texte courant, donc les liens de contenu gardent leur soulignement :
       la couleur seule ne suffirait pas à les distinguer. Les survols passent
       au navy clair pour donner un retour visible. */
    --accent: #0a2342;
    --accent-light: #1c4b86;
    --accent-soft: #eef1f7;
    --accent-border: #c3cddd;
    --shadow: 0 1px 2px rgba(16, 26, 46, 0.05), 0 8px 24px rgba(16, 26, 46, 0.06);
    --shadow-lift: 0 2px 4px rgba(16, 26, 46, 0.06), 0 16px 34px rgba(16, 26, 46, 0.12);
    --wrap: 1060px;
    --radius: 18px;
}

* {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
}

/* `margin-inline: auto` must not be clobbered by vertical spacing rules below,
   hence margin-block everywhere for rhythm. */
.wrap {
    width: 100%;
    max-width: var(--wrap);
    margin-inline: auto;
    padding-inline: 24px;
}

a {
    color: var(--accent);
    text-underline-offset: 3px;
}

a:hover {
    color: var(--accent-light);
}

h1,
h2,
h3 {
    line-height: 1.25;
    letter-spacing: -0.02em;
}

/* ---------- header ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-soft);
    padding-block: 14px;
}

.site-header .wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    font-size: 1.5rem;
    letter-spacing: 0.03em;
    color: var(--text);
    text-decoration: none;
}

.brand-mark {
    width: 30px;
    height: 30px;
    display: block;
    flex-shrink: 0;
}

.brand-name {
    line-height: 1;
}

/* Logotype à deux graisses : le nom est un mot composé, la coupe le montre. */
.brand-a {
    font-weight: 750;
}

.brand-b {
    font-weight: 400;
}

.brand:hover .brand-name {
    color: var(--accent-light);
}

.nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    font-size: 0.94rem;
}

.nav a {
    color: var(--muted);
    text-decoration: none;
    padding: 6px 10px;
    border-radius: 8px;
}

.nav a:hover {
    color: var(--text);
    background: var(--bg-soft);
}

.lang-switch {
    margin-left: 8px;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 5px 14px !important;
}

/* ---------- rhythm ---------- */

.page section {
    margin-block: 64px;
}

/* les bandeaux gèrent leur propre espacement (ils vont bord à bord) */
.page section:first-child:not(.band) {
    margin-block-start: 72px;
}

.page section.band {
    margin-block: 0 64px;
}

.page section.cta {
    margin-block: 88px 0;
}

/* ---------- bandeaux pleine largeur ---------- */

/* Le bandeau porte le fond sur toute la largeur ; .wrap à l'intérieur garde
   le texte dans la colonne de lecture. */
.band {
    background: var(--accent);
    color: #fff;
    padding-block: 72px;
    margin-block: 0 64px;
}

.band h1,
.band h2 {
    color: #fff;
    border: none;
    padding: 0;
}

.band .lead,
.band .price-note {
    color: #c9d4e6;
}

.band a {
    color: #fff;
}

/* ---------- hero ---------- */

.hero h1 {
    font-size: clamp(32px, 5vw, 52px);
    margin: 0 0 1rem;
    max-width: 20ch;
}

.lead {
    font-size: 1.15rem;
    color: var(--muted);
    margin: 0 0 1.8rem;
    max-width: 62ch;
}

.price {
    display: inline-block;
    margin: 0;
    padding: 9px 20px;
    border: 1px solid var(--accent-border);
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent);
    font-weight: 650;
}

.band .price {
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.price-note {
    color: var(--muted);
    font-size: 0.94rem;
    margin: 0.8rem 0 0;
    max-width: 62ch;
}

/* ---------- bandeau d'appel à l'action ---------- */

.cta {
    margin-block: 88px 0;
    padding-block: 64px;
}

.cta h2 {
    font-size: 1.6rem;
    margin: 0 0 0.7rem;
}

.cta p {
    color: #c9d4e6;
    margin: 0 0 1.8rem;
    max-width: 62ch;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.btn {
    display: inline-block;
    padding: 13px 24px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
    background: #fff;
    color: var(--accent) !important;
}

.btn-primary:hover {
    background: #e7ecf5;
}

.btn-ghost {
    border-color: rgba(255, 255, 255, 0.45);
    color: #fff !important;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
}

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

/* ---------- section headings ---------- */

.page h2 {
    font-size: 1.5rem;
    margin: 0 0 1.2rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid var(--border-soft);
}

.page h3 {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted);
    margin: 2rem 0 0.7rem;
}

.page p {
    max-width: 72ch;
}

/* ---------- level cards ---------- */

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 18px;
}

.card {
    position: relative;
    display: block;
    padding: 26px 26px 30px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--panel);
    box-shadow: var(--shadow);
    text-decoration: none;
    color: var(--text);
    transition: border-color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}

.card:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lift);
}

.card:hover .card-code {
    color: var(--accent-light);
}

.card-code {
    display: block;
    font-size: 2.1rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 0.7rem;
    color: var(--accent);
}

.card-line {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: var(--muted);
    font-size: 0.88rem;
    padding-block: 6px;
    border-top: 1px solid var(--border-soft);
}

.card-line span:last-child {
    color: var(--text);
    font-weight: 600;
    white-space: nowrap;
}

.card-go {
    position: absolute;
    top: 26px;
    right: 26px;
    color: var(--muted);
    transition: transform 0.16s ease, color 0.16s ease;
}

.card:hover .card-go {
    color: var(--accent);
    transform: translateX(3px);
}

/* ---------- lists ---------- */

.reasons {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 14px;
}

.reasons li {
    position: relative;
    padding: 16px 20px 16px 46px;
    border: 1px solid var(--border-soft);
    border-radius: 14px;
    background: var(--bg-soft);
    color: var(--muted);
    max-width: 78ch;
}

.reasons li::before {
    content: "";
    position: absolute;
    left: 20px;
    top: 27px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
}

.plan {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 2px;
    max-width: 52ch;
}

.plan li {
    border-bottom: 1px solid var(--border-soft);
}

/* Soulignés en permanence : l'accent navy est trop proche du texte courant
   pour signaler un lien à lui seul. */
.plan a {
    display: block;
    padding: 11px 4px;
    text-decoration: underline;
    text-decoration-color: var(--accent-border);
}

.plan a:hover {
    text-decoration-color: currentColor;
}

.small {
    font-size: 0.9rem;
    margin-top: 1.6rem;
}

/* Indice visuel "lien sortant" + équivalent pour les lecteurs d'écran. */
.ext {
    display: inline-block;
    margin-left: 4px;
    font-size: 0.82em;
    opacity: 0.65;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.steps {
    list-style: none;
    counter-reset: step;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 16px;
}

.steps li {
    counter-increment: step;
    position: relative;
    padding: 20px 24px 20px 68px;
    border: 1px solid var(--border-soft);
    border-radius: 14px;
    background: var(--bg-soft);
}

.steps li::before {
    content: counter(step);
    position: absolute;
    left: 22px;
    top: 20px;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--accent-border);
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 700;
}

.steps li h2 {
    font-size: 1.05rem;
    margin: 0 0 0.3rem;
    padding: 0;
    border: none;
}

.steps li p {
    margin: 0;
    color: var(--muted);
}

/* ---------- tables ---------- */

.table-scroll {
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--panel);
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 420px;
}

th,
td {
    text-align: left;
    padding: 13px 18px;
    border-bottom: 1px solid var(--border-soft);
}

tbody tr:last-child td {
    border-bottom: none;
}

th {
    color: var(--muted);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: var(--bg-soft);
}

td:first-child {
    font-weight: 550;
}

tr.total td {
    font-weight: 700;
    background: var(--bg-soft);
}

/* ---------- footer ---------- */

.cta-soon {
    display: inline-block;
    padding: 12px 22px;
    border: 1px dashed var(--border);
    border-radius: 12px;
    color: var(--muted);
    font-size: 0.94rem;
    background: var(--bg-soft);
}

.site-footer {
    border-top: 1px solid var(--border-soft);
    margin-top: 88px;
    padding-block: 48px;
    font-size: 0.94rem;
    background: var(--bg-soft);
}

.disclaimer {
    padding: 22px 26px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--panel);
    margin-bottom: 40px;
}

.disclaimer h2 {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--muted);
    margin: 0 0 0.8rem;
}

.disclaimer p {
    color: var(--muted);
    margin: 0 0 0.7rem;
    max-width: 82ch;
}

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

.footer-cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 28px;
}

.footer-cols h3 {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--muted);
    margin: 0 0 0.8rem;
}

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

.footer-cols li {
    margin-bottom: 8px;
}

.footer-cols a {
    text-decoration: underline;
    text-decoration-color: var(--accent-border);
}

.footer-cols a:hover {
    text-decoration-color: currentColor;
}

.copyright {
    margin-top: 40px;
    margin-bottom: 0;
    color: var(--muted);
    font-size: 0.86rem;
}

@media (max-width: 620px) {
    body {
        font-size: 16px;
    }

    .page section {
        margin-block: 48px;
    }

    .nav {
        font-size: 0.88rem;
    }

    /* Le menu passe sur deux lignes en petit écran : collé en haut il mangeait
       près d'un cinquième de la hauteur utile. On le laisse défiler. */
    .site-header {
        position: static;
    }

    .brand-mark {
        width: 26px;
        height: 26px;
    }

    .band {
        padding-block: 48px;
    }

    .cta {
        padding-block: 48px;
    }
}
