/* ==========================================================================
   Ticassa — feuille de style unique.
   Mobile d'abord. Variables en haut, sections dans l'ordre de la page.
   ========================================================================== */

:root {
    /* Marque */
    --grad: linear-gradient(135deg, #4869E6, #C853AC);
    /* Variante assombrie : utilisée dès que du texte blanc est posé dessus,
       pour tenir le contraste AA (le rose de marque est trop clair pour ça). */
    --grad-text: linear-gradient(135deg, #3C58D8 0%, #6C4FD0 55%, #B0479A 100%);

    --ink: #1B1640;
    --ink-2: #4A4570;
    --accent: #7460D6;
    /* Teintes assombries des deux précédentes, pour le TEXTE : sur le panneau
       #F5F4FC, #7460D6 et #8A5DC8 tombent sous le 4.5:1 exigé par le niveau AA. */
    --accent-ink: #6A4FD0;
    --eyebrow: #7E4FBE;

    --bg: #FFFFFF;
    --panel: #F5F4FC;
    --pill: #EEF0FD;
    --border: #DDD8F0;

    /* États du plan de salle */
    --libre-bg: #FFFFFF;
    --encours-bg: #EEF0FD;
    --encours-line: #4869E6;
    --encours-ink: #2B45B0;
    --pret-bg: #FFF3E0;
    --pret-line: #D9821A;
    --pret-ink: #7A4300;
    --addition-bg: #FDECF6;
    --addition-line: #C853AC;
    --addition-ink: #8E2C73;

    --radius-s: 12px;
    --radius-m: 16px;
    --radius-l: 20px;
    --radius-xl: 28px;

    --shadow-s: 0 2px 8px rgba(27, 22, 64, .05);
    --shadow-m: 0 10px 30px rgba(27, 22, 64, .08);
    --shadow-l: 0 24px 60px rgba(27, 22, 64, .16);

    --head: 'Quicksand', 'Trebuchet MS', system-ui, sans-serif;
    --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--body);
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
    font-family: var(--head);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -.01em;
    margin: 0 0 .5em;
    text-wrap: balance;
}

h1 { font-size: clamp(2rem, 7vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 4.6vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 2.6vw, 1.4rem); }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

a { color: #3F5BD4; text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: #2B45B0; }

ul, ol { margin: 0 0 1rem; padding-left: 1.3em; }
li { margin-bottom: .35em; }

strong, b { font-weight: 700; }

:focus-visible {
    outline: 3px solid #3F5BD4;
    outline-offset: 2px;
    border-radius: 4px;
}

.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
    white-space: nowrap; border: 0;
}

.skip-link {
    position: absolute;
    left: 12px; top: -60px;
    z-index: 200;
    background: #fff;
    color: var(--ink);
    padding: 10px 16px;
    border-radius: 0 0 var(--radius-s) var(--radius-s);
    font-weight: 600;
    box-shadow: var(--shadow-m);
    transition: top .15s ease;
}
.skip-link:focus { top: 0; }

/* ---------- Mise en page ---------- */

.wrap {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}
.wrap--narrow { max-width: 760px; }

.section { padding: 56px 0; }
.section--panel { background: var(--panel); }
.section--panel + .section--panel { padding-top: 0; }

@media (min-width: 900px) {
    .section { padding: 88px 0; }
}

.section__head { max-width: 660px; margin-bottom: 32px; }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }

.eyebrow {
    display: block;
    font-family: var(--head);
    font-weight: 700;
    font-size: .82rem;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--eyebrow);
    margin-bottom: .6em;
}

.lead { font-size: 1.1rem; color: var(--ink-2); }
.muted { color: var(--ink-2); }
.small { font-size: .9rem; }
.tiny { font-size: .8rem; line-height: 1.6; color: var(--ink-2); }


/* ---------- Boutons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55em;
    min-height: 52px;
    padding: 14px 26px;
    border: 2px solid transparent;
    border-radius: 999px;
    font-family: var(--head);
    font-size: 1.02rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
    background-image: var(--grad-text);
    background-color: #5B4FD4;
    color: #fff;
    box-shadow: 0 8px 22px rgba(90, 60, 180, .28);
}
.btn--primary:hover { color: #fff; box-shadow: 0 12px 28px rgba(90, 60, 180, .36); }


.btn--on-grad {
    background: rgba(27, 22, 64, .20);
    border-color: rgba(255, 255, 255, .72);
    color: #fff;
}
.btn--on-grad:hover { background: rgba(27, 22, 64, .32); color: #fff; }

.btn--light { background: #fff; color: #37308a; }
.btn--light:hover { color: #241f63; }

.btn--block { width: 100%; }

.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}
@media (max-width: 420px) {
    .btn-row .btn { width: 100%; }
}

/* ---------- Logo ---------- */

.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}
/* Le verrouillage est vertical : on le dimensionne en hauteur, la largeur
   suit le rapport 596 × 478 du fichier. */
.logo__mark {
    height: 56px;
    width: auto;
    flex: none;
}
.logo__by {
    font-family: var(--body);
    font-size: .64rem;
    font-weight: 600;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--ink-2);
    padding-left: 12px;
    border-left: 1px solid var(--border);
    white-space: nowrap;
}
.logo--light .logo__by {
    color: rgba(255, 255, 255, .78);
    border-left-color: rgba(255, 255, 255, .26);
}
.logo--light .logo__mark { height: 96px; }

@media (min-width: 1000px) {
    .logo__mark { height: 72px; }
}

/* Sous 380 px, la mention cède la place au bouton Menu. */
@media (max-width: 379px) {
    .header .logo__by { display: none; }
}

/* ---------- En-tête ---------- */

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: saturate(160%) blur(10px);
    border-bottom: 1px solid var(--border);
}
.header__bar {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 84px;
}
@media (min-width: 1000px) {
    .header__bar { min-height: 100px; }
}
.header__nav { margin-left: auto; }

.nav__toggle {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 46px;
    padding: 8px 14px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 999px;
    font-family: var(--head);
    font-weight: 700;
    font-size: .95rem;
    color: var(--ink);
    cursor: pointer;
}
.nav__toggle svg { width: 20px; height: 20px; }

.nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.nav__list a {
    display: block;
    padding: 12px 8px;
    color: var(--ink);
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-s);
}
.nav__list a:hover { background: var(--pill); color: var(--ink); }
.nav__cta { margin-top: 10px; }

.header__nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-m);
    padding: 12px 20px 20px;
}
.header__nav.is-open { display: block; }

@media (min-width: 1000px) {
    .nav__toggle { display: none; }
    .header__nav {
        display: block;
        position: static;
        background: none;
        border: 0;
        box-shadow: none;
        padding: 0;
        margin-left: auto;
    }
    .nav__list { flex-direction: row; align-items: center; gap: 4px; }
    .nav__list a { padding: 8px 11px; font-size: .96rem; }
    .nav__cta { margin: 0 0 0 8px; }
    .nav__cta .btn { min-height: 46px; padding: 10px 20px; font-size: .96rem; }
}

/* ---------- Héros ---------- */

.hero {
    position: relative;
    background-image: var(--grad-text);
    background-color: #5B4FD4;
    color: #fff;
    overflow: hidden;
    padding: 44px 0 56px;
}
.hero::after {
    content: '';
    position: absolute;
    right: -140px; top: -120px;
    width: 420px; height: 420px;
    background: radial-gradient(circle, rgba(255, 255, 255, .16), transparent 68%);
    pointer-events: none;
}
.hero__grid { display: grid; gap: 36px; align-items: center; }
.hero h1 { color: #fff; margin-bottom: .35em; }
.hero__sub { font-size: 1.12rem; color: rgba(255, 255, 255, .94); max-width: 30em; }

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: .5em;
    background: rgba(27, 22, 64, .18);
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 999px;
    padding: 8px 16px;
    margin-bottom: 20px;
    font-family: var(--head);
    font-weight: 700;
    font-size: .9rem;
}
.hero__badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; flex: none; }

.hero__note {
    margin-top: 22px;
    font-size: .9rem;
    color: rgba(255, 255, 255, .86);
}

@media (min-width: 960px) {
    .hero { padding: 72px 0 84px; }
    .hero__grid { grid-template-columns: 1.02fr .98fr; gap: 48px; }
}

/* ---------- Maquette tablette ---------- */

.tablet {
    background: #221C52;
    border-radius: var(--radius-xl);
    padding: 12px;
    box-shadow: var(--shadow-l);
    position: relative;
}
.tablet__screen {
    min-width: 0;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr;
    color: var(--ink);
    font-size: 13px;
    line-height: 1.4;
}
.tablet__main { padding: 12px; min-width: 0; }
.tablet__topbar {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}
.tablet__search {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 6px 12px;
    color: var(--ink-2);
    font-size: 12px;
}
.tablet__search svg { width: 14px; height: 14px; flex: none; }

.tablet__tabs { display: flex; gap: 6px; margin-bottom: 10px; flex-wrap: wrap; }
.tablet__tab {
    padding: 4px 11px;
    border-radius: 999px;
    background: var(--panel);
    color: var(--ink-2);
    font-size: 11.5px;
    font-weight: 600;
    white-space: nowrap;
}
.tablet__tab.is-on { background: var(--grad); color: #fff; }

.tiles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}
.tile {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-s);
    padding: 9px 10px 8px;
    box-shadow: var(--shadow-s);
    min-width: 0;
}
.tile__emoji { display: block; font-size: 17px; line-height: 1; }
.tile__name {
    display: block;
    font-family: var(--head);
    font-weight: 700;
    font-size: 12px;
    line-height: 1.25;
    margin: 5px 0 1px;
}
.tile__price { display: block; font-size: 11.5px; color: var(--ink-2); font-weight: 600; }
.tile--accent { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(116, 96, 214, .18); }

.ticket {
    background: var(--panel);
    border-top: 1px solid var(--border);
    padding: 12px;
    display: flex;
    flex-direction: column;
}
.ticket__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
}
.ticket__title { font-family: var(--head); font-weight: 700; font-size: 14px; }
.ticket__seats { font-size: 11px; color: var(--ink-2); }
.ticket__lines { list-style: none; margin: 0 0 10px; padding: 0; }
.ticket__lines li {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    padding: 5px 0;
    border-bottom: 1px dashed var(--border);
    font-size: 12.5px;
    margin: 0;
}
.ticket__lines .qty { color: var(--accent-ink); font-weight: 700; margin-right: 4px; }
.ticket__note { font-size: 11px; color: var(--ink-2); font-style: italic; }
.ticket__total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-family: var(--head);
    font-weight: 700;
    margin: 4px 0 10px;
}
.ticket__total .big { font-size: 20px; }
.ticket__pay {
    display: block;
    text-align: center;
    background: var(--grad-text);
    color: #fff;
    font-family: var(--head);
    font-weight: 700;
    font-size: 13.5px;
    padding: 11px;
    border-radius: var(--radius-s);
}

@media (min-width: 560px) {
    .tablet__screen { grid-template-columns: minmax(0, 1fr) 190px; }
    .ticket { border-top: 0; border-left: 1px solid var(--border); }
    .tiles { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Grille d'avantages ---------- */

.cards {
    display: grid;
    gap: 16px;
    grid-template-columns: 1fr;
}
@media (min-width: 620px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } }

.card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-l);
    padding: 24px;
    box-shadow: var(--shadow-s);
}
.card h3 { margin-bottom: .35em; }
.card p { color: var(--ink-2); font-size: .98rem; }

.icon-badge {
    width: 50px; height: 50px;
    border-radius: 14px;
    background: var(--pill);
    display: grid;
    place-items: center;
    margin-bottom: 14px;
}
.icon-badge svg { width: 26px; height: 26px; }

/* Icônes : trait fin arrondi, remplissage dégradé via currentColor impossible,
   on applique le dégradé avec un stroke référencé dans le sprite SVG. */
.ico {
    width: 26px; height: 26px;
    fill: none;
    stroke: url(#tg-ico);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.ico--ink { stroke: var(--accent); }
.ico--light { stroke: #fff; }

/* ---------- Blocs fonctionnels (texte + visuel) ---------- */

.feature {
    display: grid;
    gap: 28px;
    align-items: center;
    padding: 28px 0;
}
.feature + .feature { border-top: 1px solid var(--border); }
/* Sans min-width, un enfant de grille garde sa largeur minimale de contenu
   et la maquette de tablette déborde de sa colonne. */
.feature > * { min-width: 0; }
@media (min-width: 900px) {
    .feature { grid-template-columns: 1fr 1fr; gap: 48px; padding: 44px 0; }
    .feature--flip .feature__visual { order: -1; }
}

.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li {
    position: relative;
    padding-left: 30px;
    margin-bottom: .6em;
    color: var(--ink-2);
}
.checklist li::before {
    content: '';
    position: absolute;
    left: 0; top: .42em;
    width: 18px; height: 18px;
    border-radius: 50%;
    background: var(--grad);
}
.checklist li::after {
    content: '';
    position: absolute;
    left: 5px; top: .72em;
    width: 8px; height: 4px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg);
}
.checklist strong { color: var(--ink); }

/* ---------- Plan de salle ---------- */

.room {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-l);
    padding: 16px;
    box-shadow: var(--shadow-m);
}
.room__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
}
.room__title { font-family: var(--head); font-weight: 700; font-size: 1rem; }
.room__zone {
    font-size: .76rem;
    font-weight: 600;
    color: var(--ink-2);
    background: var(--panel);
    border-radius: 999px;
    padding: 4px 10px;
}
.room__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
@media (min-width: 420px) { .room__grid { grid-template-columns: repeat(4, 1fr); } }

.table-dot {
    border: 2px solid var(--border);
    border-radius: var(--radius-s);
    background: var(--libre-bg);
    padding: 10px 6px;
    text-align: center;
    min-height: 74px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
}
.table-dot__n { font-family: var(--head); font-weight: 700; font-size: 1rem; }
.table-dot__s { font-size: .68rem; font-weight: 600; line-height: 1.25; }
.table-dot--libre { color: var(--ink-2); }
.table-dot--encours { background: var(--encours-bg); border-color: var(--encours-line); color: var(--encours-ink); }
.table-dot--pret { background: var(--pret-bg); border-color: var(--pret-line); color: var(--pret-ink); }
.table-dot--addition { background: var(--addition-bg); border-color: var(--addition-line); color: var(--addition-ink); }
.table-dot--ronde { border-radius: 50%; }

.legend {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin: 16px 0 0;
    padding: 0;
    font-size: .84rem;
    color: var(--ink-2);
}
.legend li { display: flex; align-items: center; gap: 7px; margin: 0; }
.legend .sw {
    width: 14px; height: 14px;
    border-radius: 4px;
    border: 2px solid var(--border);
    flex: none;
}
.legend .sw--encours { background: var(--encours-bg); border-color: var(--encours-line); }
.legend .sw--pret { background: var(--pret-bg); border-color: var(--pret-line); }
.legend .sw--addition { background: var(--addition-bg); border-color: var(--addition-line); }

/* ---------- Écran cuisine ---------- */

.kds {
    background: #1B1640;
    border-radius: var(--radius-l);
    padding: 16px;
    color: #fff;
    box-shadow: var(--shadow-m);
}
.kds__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--head);
    font-weight: 700;
    font-size: .95rem;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, .9);
}
.kds__grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(135px, 1fr)); }
.kds__card {
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: var(--radius-s);
    padding: 10px 12px;
    font-size: .82rem;
}
.kds__card--hot { border-color: #E59B3C; background: rgba(229, 155, 60, .16); }
.kds__card--done { border-color: #5BD6A4; background: rgba(91, 214, 164, .14); }
.kds__card h4 {
    font-size: .88rem;
    margin: 0 0 6px;
    display: flex;
    justify-content: space-between;
    gap: 8px;
    color: #fff;
}
.kds__card ul { list-style: none; margin: 0; padding: 0; color: rgba(255, 255, 255, .86); }
.kds__card li { margin: 0 0 2px; }
.kds__chip {
    font-family: var(--body);
    font-size: .7rem;
    font-weight: 600;
    background: rgba(255, 255, 255, .16);
    border-radius: 999px;
    padding: 2px 8px;
    white-space: nowrap;
}

/* ---------- Pastilles ---------- */

.pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.pills li { margin: 0; }
.pill {
    display: inline-flex;
    align-items: center;
    gap: .5em;
    background: var(--pill);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 8px 16px;
    font-size: .92rem;
    font-weight: 600;
    color: var(--ink);
}
.pill--white { background: #fff; }
.pill svg { width: 17px; height: 17px; flex: none; }

/* ---------- Jauges de stock ---------- */

.gauges {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-l);
    padding: 20px;
    box-shadow: var(--shadow-m);
}
.gauge + .gauge { margin-top: 16px; }
.gauge__top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    font-size: .92rem;
    margin-bottom: 6px;
}
.gauge__name { font-weight: 600; }
.gauge__val { color: var(--ink-2); font-size: .85rem; white-space: nowrap; }
.gauge__bar {
    height: 10px;
    border-radius: 999px;
    background: var(--pill);
    overflow: hidden;
}
.gauge__fill { display: block; height: 100%; border-radius: 999px; background: var(--grad); }
.gauge__fill--low { background: linear-gradient(135deg, #E0761A, #C8431F); }
.gauge__fill--mid { background: linear-gradient(135deg, #D9A41A, #D9821A); }
.gauge__alert {
    display: inline-flex;
    align-items: center;
    gap: .4em;
    margin-top: 7px;
    background: #FFF3E0;
    border: 1px solid var(--pret-line);
    color: var(--pret-ink);
    border-radius: 999px;
    padding: 3px 10px;
    font-size: .76rem;
    font-weight: 700;
}

/* ---------- Fiche produit scannée ---------- */

.scan {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-l);
    padding: 18px;
    box-shadow: var(--shadow-s);
    margin-top: 16px;
}
.scan__code {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 44px;
    margin-bottom: 12px;
}
.scan__code i { display: block; width: 3px; height: 100%; background: var(--ink); border-radius: 1px; }
.scan__code i:nth-child(3n) { width: 5px; opacity: .75; }
.scan__code i:nth-child(4n) { height: 76%; }
.scan__rows { display: grid; gap: 8px; }
.scan__row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: .9rem;
    padding-bottom: 7px;
    border-bottom: 1px dashed var(--border);
}
.scan__row:last-child { border-bottom: 0; padding-bottom: 0; }
.scan__row span:first-child { color: var(--ink-2); }
.scan__row span:last-child { font-weight: 700; }
.scan__filled { color: var(--accent-ink); }

/* ---------- Téléphone « app patron » ---------- */

.phone {
    width: min(290px, 100%);
    margin: 0 auto;
    background: #221C52;
    border-radius: 34px;
    padding: 10px;
    box-shadow: var(--shadow-l);
}
.phone__screen { background: #fff; border-radius: 26px; overflow: hidden; }
.phone__top {
    background-image: var(--grad-text);
    background-color: #5B4FD4;
    color: #fff;
    padding: 20px 18px 22px;
    text-align: center;
}
.phone__notch {
    width: 58px; height: 5px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .5);
    margin: 0 auto 14px;
}
.phone__label { display: block; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; opacity: .9; }
.phone__big { display: block; font-family: var(--head); font-weight: 700; font-size: 2.1rem; line-height: 1.1; margin: 4px 0 2px; }
.phone__delta { display: block; font-size: .8rem; opacity: .95; }
.phone__body { padding: 14px; }
.phone__row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 0;
    border-bottom: 1px solid var(--border);
    font-size: .86rem;
}
.phone__row:last-child { border-bottom: 0; }
.phone__row .k { color: var(--ink-2); }
.phone__row .v { margin-left: auto; font-weight: 700; white-space: nowrap; }
.phone__flag {
    width: 9px; height: 9px;
    border-radius: 50%;
    flex: none;
    background: var(--accent);
}
.phone__flag--warn { background: var(--pret-line); }
.phone__flag--ok { background: #1C9E6B; }

/* ---------- Encadré « Bientôt » ---------- */

.soon {
    background: var(--pill);
    border: 1px dashed var(--accent);
    border-radius: var(--radius-l);
    padding: 20px 22px;
    margin-top: 24px;
}
.soon h3 {
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: .5em;
    margin-bottom: .5em;
}
.soon__tag {
    background: var(--grad);
    color: #fff;
    font-family: var(--body);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    border-radius: 999px;
    padding: 3px 10px;
}
.soon ul { margin: 0; padding-left: 1.2em; color: var(--ink-2); font-size: .96rem; }

/* ---------- Pour qui ---------- */

.sectors {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
}
@media (min-width: 620px) { .sectors { grid-template-columns: repeat(4, 1fr); } }
.sectors li { margin: 0; }
.sector {
    height: 100%;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-m);
    padding: 16px 14px;
    text-align: center;
    box-shadow: var(--shadow-s);
}
.sector__emoji { display: block; font-size: 1.6rem; line-height: 1; }
.sector__name {
    display: block;
    font-family: var(--head);
    font-weight: 700;
    font-size: .98rem;
    margin-top: 8px;
}
.sector__what { display: block; font-size: .78rem; color: var(--ink-2); margin-top: 2px; }

/* ---------- Offre ---------- */

.pack {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-l);
    padding: 24px;
    box-shadow: var(--shadow-m);
    margin-bottom: 24px;
}
.pack h3 { display: flex; align-items: center; gap: .5em; }
.pack__list {
    list-style: none;
    margin: 14px 0 0;
    padding: 0;
    display: grid;
    gap: 10px;
}
@media (min-width: 780px) { .pack__list { grid-template-columns: repeat(2, 1fr); gap: 10px 28px; } }
.pack__list li {
    position: relative;
    padding-left: 28px;
    margin: 0;
    font-size: .96rem;
    color: var(--ink-2);
}
.pack__list li::before {
    content: '';
    position: absolute;
    left: 0; top: .45em;
    width: 16px; height: 16px;
    border-radius: 50%;
    background: var(--grad);
}
.pack__list li::after {
    content: '';
    position: absolute;
    left: 4.5px; top: .72em;
    width: 7px; height: 3.5px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg);
}
.pack__list strong { color: var(--ink); font-weight: 600; }

.plans { display: grid; gap: 20px; }
@media (min-width: 860px) { .plans { grid-template-columns: repeat(2, 1fr); } }

.plan {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-l);
    padding: 26px 24px;
    box-shadow: var(--shadow-m);
}
.plan--feature { border: 2px solid var(--accent); box-shadow: 0 20px 50px rgba(116, 96, 214, .2); }
.plan__badge {
    position: absolute;
    top: -14px; left: 24px;
    background: var(--grad-text);
    color: #fff;
    font-family: var(--head);
    font-weight: 700;
    font-size: .8rem;
    border-radius: 999px;
    padding: 5px 14px;
}
.plan__name {
    font-family: var(--head);
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0;
}
.plan__for { color: var(--ink-2); font-size: .92rem; margin: 2px 0 16px; }

.plan__price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.plan__amount {
    font-family: var(--head);
    font-weight: 700;
    font-size: 2.6rem;
    line-height: 1;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.plan__unit { font-weight: 600; color: var(--ink-2); font-size: .95rem; }
.plan__was { color: var(--ink-2); font-size: 1rem; }
.plan__was s { text-decoration-thickness: 2px; }
.plan__founder {
    display: inline-block;
    margin-top: 10px;
    background: var(--pill);
    border-radius: 999px;
    padding: 4px 12px;
    font-size: .82rem;
    font-weight: 600;
    color: #3B3470;
}

.plan__sols { margin-top: 20px; display: grid; gap: 12px; }
.sol {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius-m);
    padding: 14px 16px;
}
.sol__name {
    font-family: var(--head);
    font-weight: 700;
    font-size: 1rem;
    margin: 0 0 6px;
    display: flex;
    align-items: center;
    gap: .5em;
}
.sol__num {
    width: 22px; height: 22px;
    flex: none;
    border-radius: 50%;
    background: var(--grad);
    color: #fff;
    font-size: .74rem;
    display: grid;
    place-items: center;
}
.sol dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; font-size: .9rem; }
.sol dt { color: var(--ink-2); }
.sol dd { margin: 0; font-weight: 700; text-align: right; }
.plan .btn { margin-top: auto; }
.plan__cta { margin-top: 20px; }

.referral {
    margin-top: 24px;
    background-image: var(--grad-text);
    background-color: #5B4FD4;
    color: #fff;
    border-radius: var(--radius-l);
    padding: 22px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.referral svg { width: 38px; height: 38px; flex: none; }
.referral p { margin: 0; font-family: var(--head); font-weight: 700; font-size: 1.1rem; }
.referral span { display: block; font-family: var(--body); font-weight: 400; font-size: .92rem; opacity: .92; margin-top: 2px; }

.options-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 780px) { .options-list { grid-template-columns: repeat(2, 1fr); } }
.options-list li { margin: 0; }
.opt {
    height: 100%;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-m);
    padding: 16px;
}
.opt__ico { width: 40px; height: 40px; flex: none; border-radius: 12px; background: var(--pill); display: grid; place-items: center; }
.opt__ico svg { width: 22px; height: 22px; }
.opt__text { display: block; min-width: 0; }
.opt__name { display: block; font-family: var(--head); font-weight: 700; font-size: 1rem; }
.opt__detail { display: block; font-size: .85rem; color: var(--ink-2); }
.opt__price { margin-left: auto; text-align: right; font-weight: 700; font-size: .95rem; white-space: nowrap; }
@media (max-width: 520px) {
    .opt { flex-wrap: wrap; }
    .opt__price { margin-left: 54px; text-align: left; width: 100%; }
}

.fineprint {
    margin-top: 28px;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius-m);
    padding: 16px 18px;
}
.fineprint p { font-size: .82rem; line-height: 1.6; color: var(--ink-2); }

/* ---------- Simulateur ---------- */

.sim { display: grid; gap: 20px; }
/* Sans min-width, les enfants de grille gardent leur largeur minimale de
   contenu : sous 360 px, le panneau d'options débordait de l'écran. */
.sim > * { min-width: 0; }
@media (min-width: 940px) { .sim { grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: start; } }

.sim__panel {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-l);
    padding: 22px;
    box-shadow: var(--shadow-s);
}
.sim fieldset { border: 0; margin: 0 0 22px; padding: 0; }
.sim fieldset:last-of-type { margin-bottom: 0; }
.sim legend {
    font-family: var(--head);
    font-weight: 700;
    font-size: 1.02rem;
    padding: 0;
    margin-bottom: 10px;
}

.choices { display: grid; gap: 10px; }
@media (min-width: 520px) { .choices--2 { grid-template-columns: repeat(2, 1fr); } }

.choice { position: relative; display: block; }
.choice input { position: absolute; opacity: 0; width: 0; height: 0; }
.choice__box {
    display: block;
    height: 100%;
    background: var(--panel);
    border: 2px solid var(--border);
    border-radius: var(--radius-m);
    padding: 13px 16px;
    cursor: pointer;
    transition: border-color .15s ease, background-color .15s ease;
}
.choice__box:hover { border-color: var(--accent); }
.choice__t { font-family: var(--head); font-weight: 700; display: block; }
.choice__d { font-size: .82rem; color: var(--ink-2); display: block; }
.choice input:checked + .choice__box {
    background: #fff;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(116, 96, 214, .16);
}
.choice input:focus-visible + .choice__box { outline: 3px solid #3F5BD4; outline-offset: 2px; }

.opt-row {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius-m);
    padding: 12px 14px;
}
.opt-row + .opt-row { margin-top: 10px; }
.opt-row__text { min-width: 0; }
.opt-row__t { font-weight: 600; display: block; overflow-wrap: break-word; }
.opt-row__d { font-size: .82rem; color: var(--ink-2); display: block; }
.opt-row__side { margin-left: auto; display: flex; align-items: center; gap: 10px; }

.switch { position: relative; display: inline-flex; align-items: center; flex: none; }
.switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.switch__track {
    width: 50px; height: 28px;
    border-radius: 999px;
    background: #CFCADF;
    display: block;
    cursor: pointer;
    transition: background-color .15s ease;
    flex: none;
}
.switch__track::after {
    content: '';
    position: absolute;
    left: 3px; top: 3px;
    width: 22px; height: 22px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .25);
    transition: transform .15s ease;
}
.switch input:checked + .switch__track { background-image: var(--grad-text); background-color: #5B4FD4; }
.switch input:checked + .switch__track::after { transform: translateX(22px); }
.switch input:focus-visible + .switch__track { outline: 3px solid #3F5BD4; outline-offset: 2px; }

.stepper { display: inline-flex; align-items: center; gap: 4px; flex: none; }
@media (max-width: 359px) {
    .opt-row { flex-wrap: wrap; }
    .opt-row__side { margin-left: 0; }
}
.stepper button {
    width: 34px; height: 34px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--ink);
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
}
.stepper button:hover { border-color: var(--accent); }
.stepper button[disabled] { opacity: .4; cursor: not-allowed; }
.stepper input {
    width: 46px;
    height: 34px;
    text-align: center;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-family: var(--head);
    font-weight: 700;
    font-size: .98rem;
    color: var(--ink);
    background: #fff;
    -moz-appearance: textfield;
}
.stepper input::-webkit-outer-spin-button,
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.sim__result {
    background-image: var(--grad-text);
    background-color: #5B4FD4;
    color: #fff;
    border-radius: var(--radius-l);
    padding: 24px;
    box-shadow: var(--shadow-m);
}
/* Le récapitulatif suit le défilement à partir de deux colonnes seulement. */
@media (min-width: 940px) {
    .sim__result { position: sticky; top: 118px; }
}
.sim__result h3 { color: #fff; font-size: 1.15rem; margin-bottom: 16px; }
.sim__figure { padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .26); }
.sim__figure:last-of-type { border-bottom: 0; }
.sim__k { display: block; font-size: .84rem; opacity: .92; }
.sim__v { display: block; font-family: var(--head); font-weight: 700; font-size: 1.9rem; line-height: 1.15; }
.sim__v--sm { font-size: 1.2rem; }
.sim__hint { display: block; font-size: .78rem; opacity: .95; margin-top: 2px; }
.sim__total {
    margin-top: 14px;
    background: rgba(27, 22, 64, .20);
    border: 1px solid rgba(255, 255, 255, .34);
    border-radius: var(--radius-m);
    padding: 14px 16px;
}
.sim__result .btn { margin-top: 18px; }
.sim__result .btn--light { color: #37308a; }

/* ---------- Comparatif ---------- */

.compare {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    font-size: .95rem;
}
.compare th, .compare td { padding: 14px 12px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.compare thead th { background: var(--panel); font-family: var(--head); font-size: .95rem; }
.compare thead th:nth-child(2) { color: #37308a; }
.compare tbody th { font-weight: 600; color: var(--ink-2); }
.compare td:nth-child(2) { font-weight: 700; color: var(--ink); background: rgba(238, 240, 253, .55); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare__wrap {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-l);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
@media (max-width: 560px) { .compare { font-size: .88rem; } .compare th, .compare td { padding: 11px 9px; } }

/* Comparatif nominatif : une ligne par solution, Ticassa en tête. */
.market { margin-bottom: 28px; }
.market .card--nous { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(116, 96, 214, .14); }
.market h3 { font-size: 1.08rem; }

.compare--marche { font-size: .9rem; }
.compare--marche th, .compare--marche td { padding: 14px 12px; vertical-align: top; }
.compare--marche thead th { white-space: nowrap; }
.compare--marche tbody th { font-weight: 400; min-width: 150px; }
.compare--marche td { color: var(--ink-2); }
.compare--marche td strong { color: var(--ink); font-weight: 700; display: block; }
.compare--marche td:nth-child(2) { font-weight: 400; background: none; }
.compare--marche .is-nous th, .compare--marche .is-nous td { background: rgba(238, 240, 253, .7); }
.compare--marche .is-nous td { color: var(--ink); }

.compare__nom { display: block; font-family: var(--head); font-weight: 700; font-size: 1rem; color: var(--ink); }
.compare__origine { display: block; font-size: .78rem; color: var(--ink-2); margin: 1px 0 6px; }
.compare__note { display: block; font-size: .78rem; color: var(--ink-2); margin-top: 2px; }

.tag {
    display: inline-block;
    font-family: var(--body);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    border-radius: 999px;
    padding: 3px 9px;
    background: var(--pill);
    color: #3B3470;
}
.tag--nous { background-image: var(--grad-text); background-color: #5B4FD4; color: #fff; }
.tag--leader { background: #1B1640; color: #fff; }

.sce {
    display: inline-block;
    font-size: .8rem;
    font-weight: 700;
    border-radius: 999px;
    padding: 4px 11px;
    white-space: nowrap;
}
.sce--oui { background: #E8F7F0; color: #0E5F40; }
.sce--non { background: var(--pill); color: #3B3470; }
.sce--encours { background: #FFF3E0; color: var(--pret-ink); }

.compare__pourquoi td {
    background: #fff;
    border-left: 4px solid var(--accent);
    color: var(--ink);
    font-size: .92rem;
    line-height: 1.55;
    padding: 12px 16px 16px;
}
.compare__pourquoi-k {
    display: block;
    font-family: var(--head);
    font-weight: 700;
    font-size: .92rem;
    color: #37308a;
    margin-bottom: 3px;
}

/* Sous 900 px, chaque solution devient une fiche : l'intitulé de colonne
   est rejoué devant chaque valeur via data-label. */
@media (max-width: 899px) {
    .compare--marche, .compare--marche tbody, .compare--marche tr, .compare--marche th, .compare--marche td { display: block; }
    .compare--marche thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .compare--marche tr { border-bottom: 8px solid var(--panel); }
    .compare--marche tr:last-child { border-bottom: 0; }
    .compare--marche tbody th { border-bottom: 1px solid var(--border); padding: 16px 16px 12px; min-width: 0; }
    .compare--marche td {
        display: grid;
        grid-template-columns: 112px 1fr;
        gap: 10px;
        padding: 9px 16px;
        border-bottom: 1px dashed var(--border);
    }
    .compare--marche td:last-child { border-bottom: 0; padding-bottom: 14px; }
    .compare--marche .compare__pourquoi td { display: block; grid-template-columns: none; border-bottom: 0; }
    .compare--marche .compare__pourquoi td::before { content: none; }
    .compare--marche td::before {
        content: attr(data-label);
        font-size: .76rem;
        font-weight: 600;
        color: var(--ink-2);
        padding-top: 2px;
    }
    .compare--marche td > * { grid-column: 2; }
    .compare--marche td::before { grid-column: 1; grid-row: 1 / span 3; }
    .compare__wrap { overflow: visible; }
}

/* ---------- FAQ ---------- */

.faq { max-width: 820px; }
.faq__item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-m);
    margin-bottom: 12px;
    overflow: hidden;
}
.faq__item summary {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    cursor: pointer;
    font-family: var(--head);
    font-weight: 700;
    font-size: 1.04rem;
    list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
    content: '';
    margin-left: auto;
    flex: none;
    width: 11px; height: 11px;
    border-right: 2.5px solid var(--accent);
    border-bottom: 2.5px solid var(--accent);
    transform: rotate(45deg) translateY(-3px);
    transition: transform .18s ease;
}
.faq__item[open] summary::after { transform: rotate(225deg) translateY(-3px); }
.faq__item summary:hover { background: var(--panel); }
.faq__a { padding: 0 18px 18px; color: var(--ink-2); }

/* ---------- Contact ---------- */

.contact { display: grid; gap: 24px; }
@media (min-width: 940px) { .contact { grid-template-columns: .85fr 1.15fr; gap: 40px; align-items: start; } }

.form {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-l);
    padding: 24px;
    box-shadow: var(--shadow-m);
}
.field { margin-bottom: 16px; }
.field > label, .field__legend {
    display: block;
    font-weight: 600;
    font-size: .94rem;
    margin-bottom: 6px;
}
.field__hint { font-weight: 400; color: var(--ink-2); font-size: .85rem; }

.input, .select, .textarea {
    width: 100%;
    min-height: 50px;
    padding: 12px 14px;
    background: #fff;
    border: 1px solid #C9C2E2;
    border-radius: var(--radius-s);
    font-family: var(--body);
    font-size: 1rem;
    color: var(--ink);
}
.textarea { min-height: 120px; resize: vertical; }
.select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%234A4570' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 6.5l4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
    padding-right: 42px;
}
.input:focus, .select:focus, .textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(116, 96, 214, .18);
    outline: none;
}
.input[aria-invalid="true"], .select[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: #B3261E; }

.error {
    display: block;
    margin-top: 6px;
    color: #9A1C15;
    font-size: .86rem;
    font-weight: 600;
}

.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.captcha { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 8px; }
.captcha__img {
    border: 1px solid var(--border);
    border-radius: var(--radius-s);
    background: var(--pill);
    overflow: hidden;
    line-height: 0;
}
.captcha__img img { display: block; width: 100%; max-width: 230px; height: auto; }
.captcha__reload {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: 0;
    padding: 6px 2px;
    color: #3F5BD4;
    font-family: var(--body);
    font-size: .88rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
}
.captcha__reload svg { width: 16px; height: 16px; }
.captcha-input { max-width: 200px; letter-spacing: .18em; font-weight: 700; text-transform: uppercase; }

.alert {
    border-radius: var(--radius-m);
    padding: 16px 18px;
    margin-bottom: 20px;
    font-size: .96rem;
    border: 1px solid;
}
.alert--ok { background: #E8F7F0; border-color: #1C9E6B; color: #0E5F40; }
.alert--ko { background: #FDEDEC; border-color: #B3261E; color: #7F1A14; }
.alert strong { display: block; font-family: var(--head); font-size: 1.05rem; margin-bottom: 2px; }

.contact-aside .card { height: 100%; }
.contact-steps { list-style: none; margin: 18px 0 0; padding: 0; counter-reset: step; }
.contact-steps li {
    position: relative;
    counter-increment: step;
    padding-left: 44px;
    margin-bottom: 16px;
    color: var(--ink-2);
    font-size: .96rem;
}
.contact-steps li::before {
    content: counter(step);
    position: absolute;
    left: 0; top: -1px;
    width: 30px; height: 30px;
    border-radius: 50%;
    background: var(--grad);
    color: #fff;
    font-family: var(--head);
    font-weight: 700;
    font-size: .95rem;
    display: grid;
    place-items: center;
}
.contact-steps strong { display: block; color: var(--ink); }

/* ---------- Pied de page ---------- */

.footer {
    background: var(--ink);
    color: rgba(255, 255, 255, .82);
    padding: 44px 0 28px;
    margin-top: 0;
    font-size: .94rem;
}
.footer__grid { display: grid; gap: 28px; }
@media (min-width: 760px) { .footer__grid { grid-template-columns: 1.3fr 1fr 1fr; gap: 36px; } }
.footer h2, .footer h3 {
    color: #fff;
    font-size: .98rem;
    letter-spacing: .02em;
    margin-bottom: .8em;
}
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: .55em; }
.footer__sign { margin-top: 14px; max-width: 34em; }
.footer__legal {
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, .18);
    font-size: .85rem;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    align-items: center;
}
.footer__legal p { margin: 0; }

/* ---------- Pages de texte ---------- */

.page-head {
    background: var(--panel);
    border-bottom: 1px solid var(--border);
    padding: 40px 0;
}
.page-head h1 { font-size: clamp(1.8rem, 5vw, 2.7rem); margin-bottom: .2em; }
.page-head p { color: var(--ink-2); margin: 0; }

.prose h2 { font-size: 1.35rem; margin-top: 2em; }
.prose h3 { font-size: 1.08rem; margin-top: 1.6em; }
.prose > :first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-2); }
.prose dl { margin: 0 0 1.2em; }
.prose dt { font-weight: 700; color: var(--ink); margin-top: .9em; }
.prose dd { margin: 0; color: var(--ink-2); }

.notice {
    background: var(--pill);
    border: 1px solid var(--accent);
    border-left-width: 5px;
    border-radius: var(--radius-m);
    padding: 20px 22px;
    margin: 0 0 28px;
}
.notice h2 { margin-top: 0; font-size: 1.15rem; }
.notice p:last-child { margin-bottom: 0; }

/* ---------- Divers ---------- */

.mt-l { margin-top: 32px; }

@media print {
    .header, .footer, .nav__toggle, .sim, .form { display: none !important; }
    body { font-size: 12pt; }
}
