/* ═══════════════════════════════════════════════════════════════
   Le Raid Solaire — Hent an Heol
   style.css — généré depuis layout.php + accueil.php uniquement
   OVH cluster121 — jamais de style= dans les PHP, tout ici.
═══════════════════════════════════════════════════════════════ */


/* ── Variables ─────────────────────────────────────────────── */
:root {
    /* Neutres */
    --paper:     oklch(0.96 0.01 85);
    --paper-2:   oklch(0.93 0.012 85);
    --ink:       oklch(0.20 0.02 250);
    --ink-soft:  oklch(0.32 0.02 250);
    --ink-mute:  oklch(0.55 0.015 250);
    --rule:      oklch(0.85 0.012 85);

    /* Palette */
    --bleu:      oklch(0.50 0.22 256);
    --bleu-deep: oklch(0.40 0.22 256);
    --or-solaire: #E8A93C;
    --or-patine:  #B8841E;

    /* Sections sombre / granit */
    --dark-bg:   oklch(0.14 0.02 250);
    --granit-bg: oklch(0.18 0.02 250);
    --sable-bg:  oklch(0.94 0.013 85);

    /* Typographie */
    --ff-display: 'Cinzel', Georgia, serif;
    --ff-body:    'Inter', system-ui, sans-serif;
    --ff-mono:    'JetBrains Mono', ui-monospace, monospace;

    /* Mesures */
    --shell-max:    1280px;
    --shell-narrow: 880px;
    --shell-pad:    clamp(24px, 4vw, 56px);
}


/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--ff-body);
    background: var(--paper);
    color: var(--ink);
    line-height: 1.65;
    overflow-x: clip; /* clip au lieu de hidden : ne crée pas de BFC verticale */
    -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
::selection { background: var(--or-solaire); color: var(--ink); }


/* ── Typographie ───────────────────────────────────────────── */
h1, h2, h3, h4 {
    font-family: var(--ff-display);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -0.01em;
}
h1 { font-size: clamp(40px, 6.5vw, 84px); }
h2 { font-size: clamp(28px, 3.6vw, 44px); }
h3 { font-size: clamp(20px, 2vw, 28px); }
p  { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }


/* ── Shell ─────────────────────────────────────────────────── */
.shell {
    max-width: var(--shell-max);
    margin-inline: auto;
    padding-inline: var(--shell-pad);
}
.shell-narrow {
    max-width: var(--shell-narrow);
    margin-inline: auto;
    padding-inline: var(--shell-pad);
}


/* ── Utilitaires ───────────────────────────────────────────── */
.text-center { text-align: center; }

.eyebrow {
    font-family: var(--ff-mono);
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--or-patine);
    display: block;
    margin-bottom: 16px;
}
.eyebrow--light { color: var(--or-solaire); }

.baseline {
    font-family: var(--ff-display);
    font-style: italic;
    font-weight: 400;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--or-patine);
    display: block;
    margin-bottom: 8px;
}
.baseline--light { color: var(--or-solaire); }

.lede {
    font-size: clamp(17px, 1.4vw, 21px);
    line-height: 1.55;
    font-weight: 300;
    opacity: 0.82;
}

.link { text-decoration: underline; text-underline-offset: 3px; }
.or       { color: var(--or-patine); }
.or-bright { color: var(--or-solaire); }

.dot { color: var(--or-patine); }

/* Séparateur horizontal */
.rule {
    border: none;
    border-top: 1px solid var(--rule);
}
.rule--soft { border-top-color: rgba(184,132,30,0.25); }
.rule-full  { max-width: var(--shell-max); margin-inline: auto; }

/* Définition list (départ/arrivée) */
.dl {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 8px 24px;
    border-top: 1px solid rgba(232,169,60,0.2);
    padding-top: 20px;
    margin-top: 20px;
    font-size: 14px;
}
.dl dt {
    font-family: var(--ff-mono);
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--or-patine);
    padding-top: 2px;
}
.dl dd { color: inherit; opacity: 0.85; }


/* ── Boutons ───────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    font-family: var(--ff-body);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .01em;
    text-decoration: none;
    cursor: pointer;
    transition: transform .15s, background .2s, color .2s, border-color .2s;
    border: 1px solid transparent;
}
.btn:hover { transform: translateY(-1px); }
.btn__arrow { display: inline-block; }

.btn--primary {
    background: var(--or-solaire);
    color: var(--ink);
    border-color: var(--or-solaire);
}
.btn--primary:hover { background: #d4942a; border-color: #d4942a; color: var(--ink); }

.btn--ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: var(--paper); }

.btn--ghost-light {
    background: transparent;
    color: var(--paper);
    border-color: rgba(250,248,243,0.5);
}
.btn--ghost-light:hover { background: rgba(250,248,243,0.12); }



/* ══════════════════════════════════════════════════════════════
   HEADER
══════════════════════════════════════════════════════════════ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--ink);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    /* overflow visible pour que le logo déborde en bas */
    overflow: visible;
}

.site-header__inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    height: 64px;
    overflow: visible;
    position: relative;
}

/* ── Logo : image + texte côte à côte ─────────────────────── */
.site-logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--paper);
    justify-self: center;
    transition: opacity .2s;
    white-space: nowrap;
    /* Le logo déborde vers le bas hors du header */
    position: relative;
    z-index: 101;
}
.site-logo:hover { opacity: .75; }

.site-logo img {
    width: 92px;
    height: 92px;
    flex-shrink: 0;
    margin-bottom: -44px;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.5));
}

.site-logo__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1.15;
}
.site-logo__name {
    font-family: var(--ff-body);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--paper);
}
.site-logo__sub {
    font-family: var(--ff-display);
    font-style: italic;
    font-size: 11px;
    color: var(--or-solaire);
    letter-spacing: .04em;
}

/* ── Nav gauche ────────────────────────────────────────────── */
.site-nav {
    display: flex;
    align-items: center;
    gap: 0;
    justify-self: start;
}

.site-nav__group { position: relative; }

.site-nav__link {
    font-family: var(--ff-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(250,248,243,0.75);
    padding: 0 16px;
    height: 64px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color .15s, background .15s;
    text-decoration: none;
    white-space: nowrap;
}
.site-nav__link:hover { color: var(--paper); background: rgba(255,255,255,0.05); }
.site-nav__link[aria-current="page"] { color: var(--paper); }

/* Caret triangle */
.site-nav__caret {
    display: inline-block;
    width: 0; height: 0;
    border-left: 3px solid transparent;
    border-right: 3px solid transparent;
    border-top: 4px solid currentColor;
    transition: transform .2s;
    opacity: 0.6;
}
.site-nav__group:hover .site-nav__caret { transform: rotate(180deg); opacity: 1; }

/* Dropdown */
.site-nav__menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--ink);
    border: 1px solid rgba(255,255,255,0.1);
    border-top: 2px solid var(--or-solaire);
    box-shadow: 0 12px 32px rgba(0,0,0,.4);
    min-width: 260px;
    z-index: 200;
    padding: 8px 0;
}
.site-nav__group:hover .site-nav__menu { display: block; }

.site-nav__menu a {
    display: block;
    padding: 11px 20px;
    font-family: var(--ff-body);
    font-size: 13px;
    color: rgba(250,248,243,0.75);
    transition: color .15s, padding-left .15s;
    white-space: nowrap;
}
.site-nav__menu a:hover { color: var(--paper); padding-left: 26px; }
.site-nav__menu a[aria-current="page"] { color: var(--or-solaire); }

/* ── Droite : countdown + CTA + burger ────────────────────── */
.site-header__right {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-self: end;
}
.site-header__cta { white-space: nowrap; }

/* ── Countdown ─────────────────────────────────────────────── */
.header-countdown {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}
.header-countdown--inline { align-items: flex-start; }

.header-countdown__label {
    font-family: var(--ff-mono);
    font-size: 8px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: rgba(250,248,243,0.4);
    line-height: 1;
}

.header-countdown__time {
    display: flex;
    align-items: baseline;
    gap: 0;
    line-height: 1;
}
.header-countdown--inline .header-countdown__time { gap: 4px; }

/* Chaque unité : valeur grande + label petit */
.header-countdown__unit {
    display: inline-flex;
    align-items: baseline;
    gap: 1px;
}
.header-countdown__unit b {
    font-family: var(--ff-mono);
    font-size: 22px;
    font-weight: 700;
    color: var(--paper);
    letter-spacing: -.02em;
    font-feature-settings: "tnum";
}
.header-countdown__unit i {
    font-style: normal;
    font-family: var(--ff-mono);
    font-size: 9px;
    letter-spacing: .08em;
    text-transform: lowercase;
    color: rgba(250,248,243,0.45);
    margin-left: 1px;
    margin-right: 6px;
}

.header-countdown__sep {
    font-family: var(--ff-mono);
    font-size: 14px;
    color: rgba(250,248,243,0.2);
    padding: 0 2px;
    align-self: center;
}

/* ── CTA header ────────────────────────────────────────────── */
.btn--cta {
    background: var(--or-solaire);
    color: var(--ink);
    font-family: var(--ff-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 14px 20px;
    border: none;
    white-space: nowrap;
    transition: background .2s, transform .15s;
    border-radius: 0;
}
.btn--cta:hover { background: #d4942a; transform: none; }

/* ── Burger ────────────────────────────────────────────────── */
.site-nav__toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: .5rem;
}
.site-nav__toggle span {
    display: block;
    width: 24px; height: 2px;
    background: var(--paper);
    border-radius: 2px;
    transition: transform .25s, opacity .2s;
}
.site-nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.site-nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Extras mobile ─────────────────────────────────────────── */
.site-nav__mobile-extras { display: none; }

/* ── Responsive header ─────────────────────────────────────── */
@media (max-width: 1100px) {
    .header-countdown { display: none; }
}

@media (max-width: 768px) {
    .site-header__inner {
        grid-template-columns: 1fr auto auto;
        height: 56px;
    }
    .site-header__right .site-header__cta { display: none; }
    .site-nav__toggle { display: flex; }

    /* Logo à gauche sur mobile */
    .site-logo { justify-self: start; }
    .site-logo img { width: 36px; height: 36px; }
    .site-logo__name { font-size: 11px; }
    .site-logo__sub  { font-size: 10px; }

    /* Nav → tiroir vertical */
    .site-nav {
        display: none;
        position: fixed;
        top: 56px;
        left: 0; right: 0;
        background: var(--ink);
        border-bottom: 1px solid rgba(255,255,255,0.1);
        box-shadow: 0 8px 32px rgba(0,0,0,.5);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px 0 24px;
        z-index: 105;
        max-height: calc(100svh - 56px);
        overflow-y: auto;
    }
    .site-nav[data-open="true"] { display: flex; }

    .site-nav__link {
        height: auto;
        padding: 14px 24px;
        font-size: 12px;
        border-bottom: 1px solid rgba(255,255,255,0.07);
        width: 100%;
        justify-content: space-between;
        background: none;
    }

    /* Dropdowns statiques dans le tiroir */
    .site-nav__menu {
        display: block;
        position: static;
        box-shadow: none;
        border: none;
        border-top: none;
        border-bottom: 1px solid rgba(255,255,255,0.07);
        padding: 0;
        background: rgba(255,255,255,0.04);
        min-width: unset;
    }
    .site-nav__menu a { padding: 12px 24px 12px 36px; font-size: 13px; }
    .site-nav__caret { display: none; }

    .site-nav__mobile-extras {
        display: flex;
        flex-direction: column;
        gap: 16px;
        padding: 20px 24px 8px;
    }
    .site-nav__mobile-extras .btn--cta { justify-content: center; text-align: center; }
}

/* ══════════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════════ */
.site-footer {
    background: var(--ink);
    color: var(--paper);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 48px;
    padding-top: 64px;
    padding-bottom: 56px;
    border-bottom: 1px solid rgba(250,248,243,0.12);
}

.footer-col--brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: var(--paper);
    transition: opacity .2s;
}
.footer-logo:hover { opacity: .75; }
.footer-logo span {
    font-family: var(--ff-body);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .04em;
    line-height: 1.35;
}
.footer-logo em {
    font-family: var(--ff-display);
    font-style: italic;
    font-weight: 400;
    color: rgba(250,248,243,0.55);
}

.footer-mark {
    font-family: var(--ff-display);
    font-style: italic;
    font-size: 16px;
    line-height: 1.45;
    color: rgba(250,248,243,0.55);
}

.footer-col h4 {
    font-family: var(--ff-mono);
    font-size: 10px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: rgba(250,248,243,0.45);
    margin-bottom: 16px;
    font-weight: 500;
}
.footer-col a {
    display: block;
    padding: 5px 0;
    font-size: 14px;
    color: rgba(250,248,243,0.80);
    transition: color .15s;
}
.footer-col a:hover { color: var(--or-solaire); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    padding-bottom: 40px;
    font-family: var(--ff-mono);
    font-size: 10px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(250,248,243,0.40);
    flex-wrap: wrap;
    gap: 12px;
}
.footer-bottom a { color: inherit; }
.footer-bottom a:hover { color: var(--or-solaire); }


/* ══════════════════════════════════════════════════════════════
   SECTIONS (layout commun)
══════════════════════════════════════════════════════════════ */
.section {
    padding: 96px 0;
}
.section--sm  { padding: 56px 0; }
.section--sable  { background: var(--sable-bg); }
.section--dark   { background: var(--dark-bg);   color: var(--paper); }
.section--granit { background: var(--granit-bg);  color: var(--paper); }

.section__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 56px;
    gap: 24px;
    flex-wrap: wrap;
}
.section__head h2 { margin: 0; }


/* ══════════════════════════════════════════════════════════════
   HERO CARROUSEL
══════════════════════════════════════════════════════════════ */

/*
   Architecture :
   .hero (flex colonne)
     ├─ .hero__slides  (flex: 0 0 auto — hauteur dictée par la slide active)
     │    ├─ .hero__slide (position:absolute, invisible par défaut)
     │    └─ .hero__slide[data-current] (position:relative → dicte la hauteur)
     ├─ .hero__scene-shared (flex: 0 0 auto — hauteur fixe, jamais chevauchée)
     └─ .hero__controls (flex: 0 0 auto)
*/

.hero {
    display: flex;
    flex-direction: column;
    color: var(--paper);
    background: var(--ink);
    transition: background-color 700ms ease, color 700ms ease;
    overflow: hidden;
}

/* Couleur de fond par slide */
.hero[data-current="0"] { background: #1A3A4A; color: var(--paper); } /* Lever — bleu d'aube */
.hero[data-current="1"] { background: #6B8AA0; color: var(--paper); } /* Matinée — bleu-gris frais */
.hero[data-current="2"] { background: #C2D6DC; color: var(--ink);   } /* Zénith — ciel pâle */
.hero[data-current="3"] { background: #B4793A; color: var(--paper); } /* Après-midi — lumière oblique dorée */
.hero[data-current="4"] { background: #2A1A28; color: var(--paper); } /* Coucher — crépuscule profond */

/* ── Zone slides : hauteur dictée par la slide active ──────── */
.hero__slides {
    position: relative;
    flex: 0 0 auto;
    /* min-height de sécurité pour éviter l'effondrement entre deux transitions */
    min-height: 320px;
}

/* Toutes les slides : superposées, invisibles */
.hero__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 600ms ease;
    padding: clamp(32px, 5vw, 64px) 0 clamp(32px, 4vw, 48px);
}

/* Slide active : sort du flux pour dicter la hauteur */
.hero__slide[data-current="true"] {
    position: relative;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.hero__shell { width: 100%; }

.hero__top {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto 1fr;
    column-gap: clamp(32px, 5vw, 72px);
    align-items: start;
    width: 100%;
}

/* L'eyebrow s'étend sur les 2 colonnes */
.hero__eyebrow {
    grid-column: 1 / -1;
}

/* Le titre occupe la colonne gauche, s'étend sur 2 lignes */
.hero__title {
    grid-column: 1;
    grid-row: 2 / 4;
    align-self: start;
}

/* Le body (lede + CTA) occupe la colonne droite */
.hero__body {
    grid-column: 2;
    grid-row: 2;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-top: 8px;
}

/* Eyebrow (span 2 colonnes via grid dans hero__top) */
.hero__eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 0;
    font-family: var(--ff-mono);
    font-size: 11px;
    letter-spacing: .22em;
    text-transform: uppercase;
    opacity: 0.82;
}
.hero__eyebrow-dot  { color: var(--or-solaire); }
.hero__eyebrow-date { opacity: 0.75; }
.hero[data-current="2"] .hero__eyebrow-dot { color: var(--or-patine); }

.hero__act {
    font-family: var(--ff-display);
    font-style: italic;
    font-size: 13px;
    letter-spacing: .32em;
    color: var(--or-solaire);
    text-transform: uppercase;
}
.hero[data-current="2"] .hero__act { color: var(--or-patine); }

.hero__title {
    font-family: var(--ff-display);
    font-weight: 500;
    font-size: clamp(40px, 5.5vw, 80px);
    line-height: 0.97;
    letter-spacing: -0.015em;
    color: inherit;
    margin: 0;
    max-width: 12ch;
}

.hero__lede {
    font-size: clamp(15px, 1.2vw, 18px);
    line-height: 1.6;
    max-width: 44ch;
    font-weight: 300;
    opacity: 0.82;
    margin: 0;
}

.hero__cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Ghost sur slide zénith (fond clair) */
.hero[data-current="2"] .btn--ghost-light {
    border-color: var(--ink);
    color: var(--ink);
}
.hero[data-current="2"] .btn--ghost-light:hover {
    background: var(--ink);
    color: var(--paper);
}

/* ── Scène SVG — hauteur fixe, jamais chevauchée ───────────── */
.hero__scene-shared {
    position: relative;
    flex: 0 0 auto;
    /* hauteur fixe garantie : le SVG a toujours sa place */
    height: clamp(260px, 30vw, 380px);
    display: flex;
    align-items: flex-end;
    z-index: 2;
    pointer-events: none;
    color: var(--paper);
    transition: color 700ms ease;
    padding-bottom: 8px;
    overflow: hidden;
}
.hero__scene-shared > .shell { width: 100%; }
.hero[data-current="2"] .hero__scene-shared { color: var(--ink); }

.scene {
    width: 100%;
    height: auto;
    display: block;
    overflow: visible;
}

/* Dots dorés */
.scene-dots { fill: var(--or-solaire); opacity: 0.6; }
.hero[data-current="2"] .scene-dots { fill: var(--or-patine); }

/* Labels horaires */
.scene-labels text:nth-child(2),
.scene-labels text:nth-child(4) { fill: var(--or-solaire); opacity: 1; }
.hero[data-current="2"] .scene-labels text:nth-child(2),
.hero[data-current="2"] .scene-labels text:nth-child(4) { fill: var(--or-patine); }

/* ─── SOLEIL EN MOUVEMENT CONTINU ──────────────────────────────
   Le soleil n'est plus piloté par la slide active : sa position
   (x, y, scale), sa couleur et son opacité de halo sont
   contrôlées par app.js qui anime trois variables CSS :
     --sun-pos          → translate(...) scale(...)
     --sun-color        → couleur du disque et du halo
     --sun-halo-opacity → opacité du halo selon hauteur
   ─────────────────────────────────────────────────────────── */
.scene-sun {
    transform-box: fill-box;
    transform-origin: center;
    transform: var(--sun-pos, translate(155px, 298px) scale(0.68));
    /* pas de transition : la position est mise à jour à 60 fps par rAF */
    opacity: 1;
}
.scene-sun-disc { fill: var(--sun-color, #E8742C); }
.scene-sun-rays { stroke: var(--sun-color, #B8841E); }

.scene-sun-halo {
    color: var(--sun-color, #E8742C);
    opacity: var(--sun-halo-opacity, 1);
}

/* ── Contrôles prev / dots / next ──────────────────────────── */
.hero__controls {
    position: relative;
    flex: 0 0 auto;
    z-index: 6;
    padding: 16px 0;
    border-top: 1px solid rgba(184,132,30,0.22);
}
.hero[data-current="2"] .hero__controls { border-top-color: rgba(26,25,22,0.2); }

.hero__controls-shell {
    display: flex;
    align-items: center;
    gap: 16px;
}

.hero__nav {
    width: 40px; height: 40px;
    border: 1px solid currentColor;
    background: transparent;
    color: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background .15s, color .15s;
    opacity: 0.55;
    flex-shrink: 0;
    cursor: pointer;
}
.hero__nav:hover { opacity: 1; background: currentColor; }
.hero__nav:hover svg { stroke: var(--ink); }
.hero[data-current="2"] .hero__nav:hover svg { stroke: var(--paper); }

.hero__dots {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
}

.hero__dot {
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: flex-start;
    background: transparent;
    border: 0;
    padding: 10px 0 4px;
    border-top: 1px solid currentColor;
    color: inherit;
    opacity: 0.45;
    cursor: pointer;
    transition: opacity .2s, border-top-color .2s, color .2s;
    text-align: left;
    font-family: var(--ff-mono);
}
.hero__dot:hover { opacity: 0.85; }
.hero__dot[aria-current="true"] {
    opacity: 1;
    color: var(--or-solaire);
    border-top-color: var(--or-solaire);
}
.hero[data-current="2"] .hero__dot[aria-current="true"] {
    color: var(--or-patine);
    border-top-color: var(--or-patine);
}
.hero__dot-num {
    font-size: 10px;
    letter-spacing: .3em;
    text-transform: uppercase;
}
.hero__dot-lbl {
    font-family: var(--ff-display);
    font-size: 12px;
    letter-spacing: .02em;
}

/* ── Responsive hero ───────────────────────────────────────── */
@media (max-width: 900px) {
    .hero__top {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
    }
    .hero__eyebrow { grid-column: 1; }
    .hero__title   { grid-column: 1; grid-row: auto; font-size: clamp(32px, 6vw, 52px); }
    .hero__body    { grid-column: 1; grid-row: auto; padding-top: 0; }
    .hero__scene-shared { height: clamp(200px, 28vw, 300px); }
}

@media (max-width: 700px) {
    .hero__dot-lbl { display: none; }
    .hero__dot     { padding-top: 8px; }
    .hero__nav     { width: 36px; height: 36px; }
    .hero__scene-shared { height: 200px; }
    .hero__top     { grid-template-columns: 1fr; row-gap: 16px; }
    .hero__title   { font-size: clamp(28px, 8vw, 44px); grid-row: auto; }
    .hero__body    { padding-top: 0; }
    .hero__lede    { font-size: 14px; }
}

/* ══════════════════════════════════════════════════════════════
   INTRO ÉDITORIALE
══════════════════════════════════════════════════════════════ */
.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: clamp(32px, 6vw, 96px);
    align-items: start;
}
.intro-grid__col h2 { max-width: 14ch; }
.intro-grid__col--text p {
    font-size: 17px;
    line-height: 1.7;
    color: var(--ink-soft);
}
.intro-grid__col--text p.lede { color: var(--ink); margin-bottom: 24px; }
.intro-lien { margin-top: 32px; }


/* ══════════════════════════════════════════════════════════════
   CHIFFRES CLÉS
══════════════════════════════════════════════════════════════ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: 32px;
    border-top: 1px solid var(--or-patine);
}
.stat {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 32px 24px 0 0;
    border-right: 1px solid rgba(184,132,30,0.25);
    text-align: center;
}
.stat:last-child { border-right: 0; }
.stat__value {
    font-family: var(--ff-display);
    font-size: clamp(28px, 3vw, 44px);
    line-height: 1;
    color: var(--ink);
    font-feature-settings: "tnum";
}
.or-bright { color: var(--or-patine); }
.stat__label {
    font-family: var(--ff-mono);
    font-size: 11px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--ink-mute);
}


/* ══════════════════════════════════════════════════════════════
   TROIS ACTES
══════════════════════════════════════════════════════════════ */
.acts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid var(--or-patine);
}
.act {
    padding: 36px 28px 36px 0;
    border-right: 1px solid rgba(184,132,30,0.25);
}
.act:last-child { border-right: 0; padding-right: 0; }
.act:not(:first-child) { padding-left: 28px; }

.act__no {
    font-family: var(--ff-display);
    font-style: italic;
    font-size: 13px;
    letter-spacing: .3em;
    color: var(--or-patine);
    text-transform: uppercase;
}
.act__hour {
    font-family: var(--ff-mono);
    font-size: 11px;
    letter-spacing: .25em;
    color: var(--ink-mute);
    margin: 6px 0 18px;
}
.act h3 { margin: 0 0 14px; }
.act p  { color: var(--ink-soft); font-size: 15px; line-height: 1.65; }

.act__data {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--ff-mono);
    font-size: 11px;
    letter-spacing: .2em;
    color: var(--ink);
    text-transform: uppercase;
    margin-top: 24px;
}
.acts__cta { margin-top: 48px; text-align: center; }


/* ══════════════════════════════════════════════════════════════
   DÉPART / ARRIVÉE
══════════════════════════════════════════════════════════════ */
.places {
    display: grid;
    grid-template-columns: 1fr 120px 1fr;
    gap: 48px;
    align-items: start;
}
.place h2 { color: var(--paper); margin-bottom: 20px; max-width: 14ch; }
.place .lede { margin-bottom: 32px; opacity: 0.78; }

.places__sep { align-self: stretch; }
.places__sep svg { height: 100%; width: 100%; max-height: 480px; }

.place-link { margin-top: 24px; display: inline-block; }


/* ══════════════════════════════════════════════════════════════
   TÉMOIGNAGE
══════════════════════════════════════════════════════════════ */
.quote {
    margin: 32px 0 0;
    padding: 0;
    position: relative;
}
.quote::before {
    content: "«";
    position: absolute;
    font-family: var(--ff-display);
    font-size: 160px;
    line-height: 0.6;
    color: var(--or-solaire);
    top: 0; left: -64px;
    opacity: 0.85;
}
.quote p {
    font-family: var(--ff-display);
    font-size: clamp(22px, 2.4vw, 32px);
    line-height: 1.35;
    color: var(--ink);
    margin: 0 0 24px;
    font-style: italic;
}
.quote footer {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-family: var(--ff-mono);
    font-size: 11px;
    letter-spacing: .22em;
    text-transform: uppercase;
}
.quote__name { color: var(--ink); font-weight: 500; }
.quote__role { color: var(--or-patine); }

/* ── Slider de témoignages (3 slides) ──────────────────────── */
.temoignages-stage {
    position: relative;
    margin-top: 32px;
    /* Hauteur dictée par la slide active : on garde toutes les slides
       superposées en absolute, sauf la courante en relative. */
}
.temoignage-slide {
    margin: 0;
}
.temoignage-slide:not([data-current="true"]) {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}
.temoignage-slide[data-current="true"] {
    position: relative;
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    animation: temoignage-fade-in 600ms ease both;
}
.temoignage-slide .quote { margin-top: 0; }

@keyframes temoignage-fade-in {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.temoignages-dots {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 40px;
}
.temoignages-dot {
    background: transparent;
    border: 0;
    padding: 8px 4px;
    cursor: pointer;
    font-family: var(--ff-mono);
    font-size: 10px;
    letter-spacing: .3em;
    color: var(--ink-mute);
    opacity: 0.5;
    border-top: 1px solid currentColor;
    min-width: 40px;
    text-align: center;
    transition: opacity .2s, color .2s, border-top-color .2s;
}
.temoignages-dot:hover { opacity: 0.85; }
.temoignages-dot[aria-current="true"] {
    opacity: 1;
    color: var(--or-patine);
    border-top-color: var(--or-patine);
}
.temoignages-dot span { display: block; }


/* ══════════════════════════════════════════════════════════════
   PARTENAIRES
══════════════════════════════════════════════════════════════ */
.partners-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 8px;
    flex-wrap: wrap;
    gap: 12px;
}

.parten-niveau { margin-top: 40px; }

.parten-niveau__head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 0;
}
.parten-niveau__label {
    font-family: var(--ff-mono);
    font-size: 10px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--ink-mute);
    white-space: nowrap;
}
.parten-niveau__rule {
    flex: 1;
    height: 1px;
    background: rgba(184,132,30,0.25);
}

.partners-row {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0;
    border-top: 1px solid var(--or-patine);
    border-bottom: 1px solid var(--or-patine);
    margin-top: 0;
}
.partner-mark {
    font-family: var(--ff-display);
    font-size: 14px;
    text-align: center;
    color: var(--ink-mute);
    padding: 28px 16px;
    border-right: 1px solid rgba(184,132,30,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    transition: color .2s, background .2s;
    text-decoration: none;
}
.partner-mark:last-child { border-right: 0; }
.partner-mark:hover { color: var(--ink); background: var(--sable-bg); }
.partner-mark img { max-width: 100%; max-height: 52px; object-fit: contain; }


/* ══════════════════════════════════════════════════════════════
   CTA FINAL
══════════════════════════════════════════════════════════════ */
.final-cta .eyebrow { color: var(--or-solaire); }

.final-cta__title {
    font-size: clamp(28px, 3.6vw, 44px);
    max-width: 18ch;
    margin: 18px auto 0;
    color: var(--or-solaire);
}
.final-cta__lede {
    max-width: 50ch;
    margin: 24px auto 36px;
    color: rgba(250,248,243,0.78);
    opacity: 1;
}
.final-cta__btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
}


/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════════ */

/* ── Tablette large ────────────────────────────────────────── */
@media (max-width: 1100px) {
    .header-countdown { display: none; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .stat:nth-child(2n) { border-right: 0; }
    .stat:nth-child(n+3) {
        border-top: 1px solid rgba(184,132,30,0.25);
        padding-top: 32px;
    }
    .intro-grid { grid-template-columns: 1fr; }
    .places { grid-template-columns: 1fr; gap: 40px; }
    .places__sep { display: none; }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* ── Tablette ──────────────────────────────────────────────── */
@media (max-width: 900px) {
    .acts { grid-template-columns: 1fr; }
    .act { border-right: 0; border-bottom: 1px solid rgba(184,132,30,0.25); padding: 32px 0; }
    .act:not(:first-child) { padding-left: 0; }
    .act:last-child { border-bottom: 0; }
    .partners-row { grid-template-columns: repeat(3, 1fr); }
    .partner-mark:nth-child(3n) { border-right: 0; }
}

/* ── Mobile ────────────────────────────────────────────────── */
@media (max-width: 768px) {
    /* Header */
    .site-header__inner {
        grid-template-columns: auto 1fr auto;
        height: 60px;
    }
    .site-header__right .site-header__cta { display: none; }
    .site-nav__toggle { display: flex; }

    /* Nav → tiroir vertical */
    .site-nav {
        display: none;
        position: fixed;
        top: 60px;
        left: 0; right: 0;
        background: var(--paper);
        border-bottom: 1px solid var(--rule);
        box-shadow: 0 8px 32px rgba(0,0,0,.12);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px 0 24px;
        z-index: 105;
        max-height: calc(100svh - 60px);
        overflow-y: auto;
    }
    .site-nav[data-open="true"] { display: flex; }

    .site-nav__link {
        padding: 14px 24px;
        font-size: 15px;
        border-bottom: 1px solid var(--rule);
        width: 100%;
        justify-content: space-between;
    }
    /* Dropdowns toujours visibles dans le tiroir */
    .site-nav__menu {
        display: block;
        position: static;
        box-shadow: none;
        border: none;
        border-bottom: 1px solid var(--rule);
        padding: 0;
        background: var(--paper-2);
        min-width: unset;
    }
    .site-nav__menu a { padding: 12px 24px 12px 36px; font-size: 14px; }
    .site-nav__caret { display: none; }

    .site-nav__mobile-extras {
        display: flex;
        flex-direction: column;
        gap: 16px;
        padding: 20px 24px 8px;
    }
    .site-nav__mobile-extras .btn { justify-content: center; }

    /* Sections */
    .section  { padding: 56px 0; }
    .section--sm { padding: 40px 0; }

    /* Hero */
    .hero__dot-lbl { display: none; }
    .hero__dot { padding-top: 10px; }
    .hero__nav { width: 36px; height: 36px; }

    /* Quote */
    .quote::before { display: none; }

    /* Partenaires */
    .partners-row { grid-template-columns: 1fr 1fr; }
    .partner-mark:nth-child(2n) { border-right: 0; }
    .partner-mark:nth-child(3n) { border-right: 1px solid rgba(184,132,30,0.2); }

    /* Footer */
    .footer-top { grid-template-columns: 1fr; gap: 32px; padding-top: 40px; padding-bottom: 40px; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 8px; }
}

/* ── Très petit mobile ─────────────────────────────────────── */
@media (max-width: 480px) {
    .hero__controls-shell { gap: 8px; }
    .partners-row { grid-template-columns: 1fr; }
    .partner-mark { border-right: 0; }
}


/* ══════════════════════════════════════════════════════════════
   PAGE PARTENAIRES
══════════════════════════════════════════════════════════════ */

/* ── Page hero (réutilisable sur les sous-pages) ───────────── */
.page-hero {
    padding: clamp(48px, 8vw, 96px) 0 clamp(40px, 6vw, 72px);
    border-bottom: 1px solid var(--rule);
}
.page-hero__crumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--ff-mono);
    font-size: 10px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--ink-mute);
    margin-bottom: 28px;
}
.page-hero__crumbs a { color: var(--ink-mute); transition: color .15s; }
.page-hero__crumbs a:hover { color: var(--or-patine); }
.page-hero__sep { opacity: .4; }

.page-hero h1 {
    max-width: 20ch;
    margin: 0 0 20px;
}
.page-hero .lede {
    max-width: 60ch;
    opacity: 1;
    font-weight: 400;
    font-size: clamp(16px, 1.4vw, 19px);
    color: var(--ink-soft);
}

/* ── Grille générique 2 colonnes ───────────────────────────── */
.grid--2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

/* ── Blocs par niveau de partenariat ───────────────────────── */
.partner-block { margin-bottom: 64px; }
.partner-block:last-child { margin-bottom: 0; }

.partner-block__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--rule);
}
.partner-block__count {
    font-family: var(--ff-display);
    font-style: italic;
    font-size: 14px;
    letter-spacing: .3em;
    color: var(--or-patine);
}

/* Grille 6 colonnes pour la page partenaires */
.partners-row--6 {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    border-top: 1px solid var(--or-patine);
    border-bottom: 1px solid var(--or-patine);
    gap: 0;
}
.partners-row--6 .partner-mark {
    font-family: var(--ff-display);
    font-weight: 500;
    font-size: 14px;
    line-height: 1.3;
    letter-spacing: .04em;
    color: var(--ink-mute);
    padding: 30px 12px;
    min-height: 96px;
    border-right: 1px solid rgba(184,132,30,0.2);
    border-bottom: none;
}
.partners-row--6 .partner-mark:nth-child(6n),
.partners-row--6 .partner-mark:last-child { border-right: 0; }
.partners-row--6 .partner-mark:hover { color: var(--ink); background: var(--sable-bg); }

/* ── Engagements / charte ──────────────────────────────────── */
.commit {
    padding: 32px 40px 32px 0;
    border-top: 1px solid rgba(184,132,30,0.4);
}
.grid--2 .commit:nth-child(2n) {
    padding-left: 40px;
    padding-right: 0;
    border-left: 1px solid rgba(184,132,30,0.15);
}
.commit__num {
    font-family: var(--ff-display);
    font-style: italic;
    font-size: 13px;
    letter-spacing: .3em;
    color: var(--or-solaire);
    display: block;
    margin-bottom: 14px;
}
.commit h3 {
    color: var(--paper);
    margin: 0 0 12px;
    font-size: clamp(18px, 1.6vw, 22px);
}
.commit p {
    color: rgba(250,248,243,0.72);
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

/* ── CTA final partenaires ─────────────────────────────────── */
.partenaires-cta h2 {
    max-width: 22ch;
    margin-inline: auto;
    margin-top: 18px;
}
.partenaires-cta .lede {
    max-width: 55ch;
    margin: 24px auto 36px;
    opacity: 1;
    color: var(--ink-soft);
    font-weight: 400;
}

/* ── Responsive partenaires ────────────────────────────────── */
@media (max-width: 1000px) {
    .partners-row--6 { grid-template-columns: repeat(3, 1fr); }
    .partners-row--6 .partner-mark { border-bottom: 1px solid rgba(184,132,30,0.2); }
    .partners-row--6 .partner-mark:nth-child(3n) { border-right: 0; }
    .partners-row--6 .partner-mark:nth-child(6n) { border-right: 0; }
}
@media (max-width: 700px) {
    .grid--2 { grid-template-columns: 1fr; }
    .grid--2 .commit:nth-child(2n) { padding-left: 0; border-left: none; }
    .partners-row--6 { grid-template-columns: 1fr 1fr; }
    .partners-row--6 .partner-mark:nth-child(2n) { border-right: 0; }
    .partners-row--6 .partner-mark:nth-child(3n) { border-right: 1px solid rgba(184,132,30,0.2); }
    .partners-row--6 .partner-mark:nth-child(6n) { border-right: 0; }
    .commit { padding-right: 0; }
}


/* ══════════════════════════════════════════════════════════════
   BLOC SPONSORING (page partenaires)
══════════════════════════════════════════════════════════════ */

.sponsoring__head {
    margin-bottom: 56px;
}
.sponsoring__head h2 {
    margin: 8px 0 16px;
}
.sponsoring__intro {
    font-size: 16px;
    color: var(--ink-soft);
    max-width: 60ch;
    margin: 0;
}

/* ── Grille 3 tiers ────────────────────────────────────────── */
.sponsoring__tiers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border: 1px solid var(--rule);
}

/* ── Carte tier (base) ─────────────────────────────────────── */
.sponsoring__tier {
    display: flex;
    flex-direction: column;
    padding: 36px 32px 32px;
    border-right: 1px solid var(--rule);
    position: relative;
}
.sponsoring__tier:last-child { border-right: none; }

/* ── Bandes couleur en haut ────────────────────────────────── */
.tier-bronze { border-top: 3px solid #cd7f32; }
.tier-argent { border-top: 3px solid #8a9bb0; }
.tier-or     {
    border-top: 3px solid var(--or-solaire);
    background: var(--ink);
    color: var(--paper);
}

/* ── En-tête tier ──────────────────────────────────────────── */
.sponsoring__tier-head {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--rule);
}
.tier-or .sponsoring__tier-head {
    border-bottom-color: rgba(255,255,255,0.12);
}

.sponsoring__tier-badge {
    font-family: var(--ff-mono);
    font-size: 10px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--ink-mute);
}
.tier-bronze .sponsoring__tier-badge { color: #8b5a1a; }
.tier-argent .sponsoring__tier-badge { color: #5a6e84; }
.tier-or     .sponsoring__tier-badge { color: rgba(250,248,243,0.5); }

.sponsoring__tier-name {
    font-family: var(--ff-display);
    font-style: italic;
    font-size: clamp(28px, 2.5vw, 36px);
    line-height: 1;
    color: var(--ink);
}
.tier-or .sponsoring__tier-name { color: var(--paper); }

.sponsoring__tier-price {
    font-family: var(--ff-display);
    font-size: clamp(22px, 2vw, 28px);
    line-height: 1;
    margin-top: 4px;
    color: var(--ink);
}
.tier-bronze .sponsoring__tier-price { color: #cd7f32; }
.tier-argent .sponsoring__tier-price { color: #5a6e84; }
.tier-or     .sponsoring__tier-price { color: var(--or-solaire); }

.sponsoring__tier-price small {
    font-family: var(--ff-mono);
    font-size: 12px;
    opacity: .6;
    letter-spacing: .08em;
    margin-left: 4px;
}

/* ── Liste des avantages ───────────────────────────────────── */
.sponsoring__feats {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    margin: 0 0 28px;
    padding: 0;
}
.sponsoring__feats li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    line-height: 1.45;
    color: var(--ink-soft);
}
.tier-or .sponsoring__feats li { color: rgba(250,248,243,0.80); }

/* Coche verte avant chaque avantage */
.sponsoring__feats li::before {
    content: "✓";
    font-weight: 700;
    font-size: 13px;
    color: var(--or-patine);
    flex-shrink: 0;
    margin-top: 1px;
}
.tier-or .sponsoring__feats li::before { color: var(--or-solaire); }

/* Ligne "Tout Bronze +" en italique atténué */
.sponsoring__feat--inherit {
    font-family: var(--ff-display);
    font-style: italic;
    color: var(--ink-mute) !important;
    font-size: 13px !important;
}
.tier-or .sponsoring__feat--inherit { color: rgba(250,248,243,0.4) !important; }
.sponsoring__feat--inherit::before { content: "" !important; margin: 0 !important; }

.sponsoring__qty {
    font-family: var(--ff-mono);
    font-size: 11px;
    letter-spacing: .08em;
    color: var(--or-patine);
    margin-left: 2px;
}
.tier-or .sponsoring__qty { color: var(--or-solaire); }

/* ── Bouton en bas de chaque carte ────────────────────────── */
.sponsoring__cta { width: 100%; justify-content: center; margin-top: auto; }

/* Bouton ghost adapté au fond sombre du tier Or */
.tier-or .btn--ghost {
    border-color: rgba(250,248,243,0.35);
    color: var(--paper);
}
.tier-or .btn--ghost:hover {
    background: rgba(250,248,243,0.1);
}

/* ── Bloc sur-mesure ───────────────────────────────────────── */
.sponsoring__custom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    margin-top: 40px;
    padding: 32px 40px;
    border: 1px solid var(--rule);
    background: var(--paper);
    flex-wrap: wrap;
}
.sponsoring__custom-text h3 {
    font-size: clamp(18px, 1.6vw, 22px);
    margin: 0 0 8px;
}
.sponsoring__custom-text p {
    font-size: 15px;
    color: var(--ink-soft);
    max-width: 52ch;
    margin: 0;
}

/* ── Responsive sponsoring ─────────────────────────────────── */
@media (max-width: 900px) {
    .sponsoring__tiers {
        grid-template-columns: 1fr;
        border: none;
        gap: 2px;
    }
    .sponsoring__tier {
        border-right: none;
        border: 1px solid var(--rule);
    }
    .tier-or { border-top-width: 3px; }
    .sponsoring__custom { flex-direction: column; align-items: flex-start; padding: 24px; }
}


/* ══════════════════════════════════════════════════════════════
   PAGE CONTACT
══════════════════════════════════════════════════════════════ */

/* ── Grille contacts directs ───────────────────────────────── */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid var(--or-patine);
    margin-top: 40px;
}
.contact-card {
    display: flex;
    gap: 16px;
    padding: 28px 24px 28px 0;
    border-right: 1px solid rgba(184,132,30,0.2);
    border-bottom: 1px solid rgba(184,132,30,0.12);
}
.contact-card:nth-child(3n) { border-right: 0; }
.contact-card:nth-child(n+4) { border-bottom: 0; }

.contact-card__num {
    font-family: var(--ff-mono);
    font-size: 10px;
    letter-spacing: .2em;
    color: var(--or-patine);
    flex-shrink: 0;
    padding-top: 3px;
}
.contact-card__body {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.contact-card__role {
    font-family: var(--ff-mono);
    font-size: 9px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--ink-mute);
}
.contact-card__name {
    font-family: var(--ff-display);
    font-size: 17px;
    font-weight: 500;
    color: var(--ink);
    line-height: 1.2;
}
.contact-card__desc {
    font-size: 13px;
    color: var(--ink-soft);
    line-height: 1.5;
    margin: 4px 0 8px;
}
.contact-card__email {
    font-family: var(--ff-mono);
    font-size: 11px;
    letter-spacing: .04em;
    color: var(--or-patine);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color .15s, color .15s;
    align-self: flex-start;
}
.contact-card__email:hover { color: var(--ink); border-bottom-color: var(--or-patine); }

/* ── FAQ ───────────────────────────────────────────────────── */
.faq-filters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}
.faq-filter {
    cursor: pointer;
    background: transparent;
    border: 1px solid var(--rule);
    color: var(--ink-mute);
    font-family: var(--ff-mono);
    font-size: 10px;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: 6px 14px;
    transition: background .15s, color .15s, border-color .15s;
}
.faq-filter:hover { border-color: var(--or-patine); color: var(--or-patine); }
.faq-filter.is-active {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--paper);
}

/* Utilise <details>/<summary> natifs */
.faq-item {
    border-bottom: 1px solid var(--rule);
}
.faq-item:first-child { border-top: 1px solid var(--ink); }

.faq-q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 20px 0;
    cursor: pointer;
    list-style: none;
    font-family: var(--ff-display);
    font-size: clamp(16px, 1.4vw, 20px);
    line-height: 1.25;
    color: var(--ink);
}
.faq-q::-webkit-details-marker { display: none; }

/* Indicateur +/× via CSS */
.faq-q__ind {
    width: 28px;
    height: 28px;
    border: 1px solid var(--ink);
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: background .2s, border-color .2s;
}
.faq-q__ind::before,
.faq-q__ind::after {
    content: '';
    position: absolute;
    background: var(--ink);
    transition: opacity .2s, transform .2s;
}
.faq-q__ind::before { width: 10px; height: 1.5px; }
.faq-q__ind::after  { width: 1.5px; height: 10px; }

details[open] .faq-q__ind {
    background: var(--ink);
    border-color: var(--ink);
}
details[open] .faq-q__ind::before,
details[open] .faq-q__ind::after { background: var(--paper); }
details[open] .faq-q__ind::after { transform: rotate(90deg); opacity: 0; }

.faq-a {
    padding: 0 40px 20px 0;
    font-size: 15px;
    line-height: 1.7;
    color: var(--ink-soft);
}
.faq-a p { margin: 0; }

/* ── Grille formulaire + infos ─────────────────────────────── */
.contact-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: clamp(40px, 7vw, 96px);
    align-items: start;
}
.contact-grid__intro {
    font-size: 16px;
    color: var(--ink-soft);
    line-height: 1.6;
    margin: 12px 0 28px;
    max-width: 50ch;
}
.contact-grid__sep { margin: 32px 0; }

/* ── Flash messages ────────────────────────────────────────── */
.form-flash {
    padding: 14px 20px;
    border-radius: 2px;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 28px;
}
.form-flash--success {
    background: color-mix(in oklab, var(--or-solaire) 10%, transparent);
    border: 1px solid rgba(184,132,30,0.4);
    color: var(--ink);
}
.form-flash--error {
    background: oklch(0.96 0.04 25);
    border: 1px solid oklch(0.80 0.10 25);
    color: oklch(0.40 0.20 25);
}

/* ── Formulaire contact ────────────────────────────────────── */
.contact-form { display: flex; flex-direction: column; gap: 20px; }

.contact-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.contact-form__field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.contact-form__field label {
    font-family: var(--ff-mono);
    font-size: 10px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ink-mute);
}
.contact-form__req { color: var(--or-patine); }

.contact-form__field input,
.contact-form__field select,
.contact-form__field textarea {
    width: 100%;
    padding: 13px 16px;
    font-size: 15px;
    font-family: var(--ff-body);
    background: var(--paper);
    border: 1px solid var(--rule);
    color: var(--ink);
    outline: none;
    transition: border-color .15s;
    appearance: none;
    -webkit-appearance: none;
    border-radius: 0;
}
.contact-form__field input:focus,
.contact-form__field select:focus,
.contact-form__field textarea:focus { border-color: var(--ink); }
.contact-form__field textarea { resize: vertical; min-height: 140px; }

/* Select caret custom */
.contact-form__field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

/* RGPD */
.contact-form__rgpd {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.contact-form__rgpd input[type="checkbox"] {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: var(--or-patine);
    cursor: pointer;
}
.contact-form__rgpd label {
    font-size: 13px;
    line-height: 1.55;
    color: var(--ink-soft);
    cursor: pointer;
}

/* ── Infos bureau ──────────────────────────────────────────── */
.contact-info { display: flex; flex-direction: column; gap: 6px; }
.contact-info h3 { margin: 8px 0 12px; font-size: 18px; }
.contact-info__addr {
    font-size: 14px;
    line-height: 1.7;
    color: var(--ink-soft);
    margin: 0 0 12px;
}
.contact-info__link {
    display: block;
    font-family: var(--ff-mono);
    font-size: 12px;
    letter-spacing: .04em;
    color: var(--or-patine);
    text-decoration: none;
    transition: color .15s;
    margin-bottom: 4px;
}
.contact-info__link:hover { color: var(--ink); }
.contact-info__hours {
    font-size: 12px;
    color: var(--ink-mute);
    line-height: 1.5;
    margin-top: 8px;
}

/* ── Réseaux sociaux ───────────────────────────────────────── */
.contact-socials { display: flex; flex-direction: column; }
.contact-socials .eyebrow { margin-bottom: 12px; }
.contact-social {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid var(--rule);
    text-decoration: none;
    color: var(--ink);
    gap: 16px;
    transition: padding-left .15s;
}
.contact-social:hover { padding-left: 6px; }
.contact-social svg { color: var(--ink-mute); flex-shrink: 0; }
.contact-social__name {
    font-family: var(--ff-display);
    font-style: italic;
    font-size: 18px;
    display: block;
    line-height: 1.1;
}
.contact-social__handle {
    font-family: var(--ff-mono);
    font-size: 10px;
    letter-spacing: .08em;
    color: var(--ink-mute);
    text-transform: uppercase;
    display: block;
    margin-top: 2px;
}

/* ── Responsive contact ────────────────────────────────────── */
@media (max-width: 1000px) {
    .contact-cards { grid-template-columns: 1fr 1fr; }
    .contact-card:nth-child(3n)   { border-right: 1px solid rgba(184,132,30,0.2); }
    .contact-card:nth-child(2n)   { border-right: 0; }
    .contact-card:nth-child(n+5)  { border-bottom: 0; }
    .contact-card:nth-child(-n+4) { border-bottom: 1px solid rgba(184,132,30,0.12); }
}
@media (max-width: 900px) {
    .contact-grid { grid-template-columns: 1fr; }
    .contact-form__row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .contact-cards { grid-template-columns: 1fr; }
    .contact-card  { border-right: 0; border-bottom: 1px solid rgba(184,132,30,0.15); }
    .contact-card:last-child { border-bottom: 0; }
}


/* ══════════════════════════════════════════════════════════════
   PAGE BÉNÉVOLES
══════════════════════════════════════════════════════════════ */

/* ── Hero ──────────────────────────────────────────────────── */
.ben-hero {
    background: var(--dark-bg);
    color: var(--paper);
    padding-top: clamp(100px, 14vw, 160px);
    padding-bottom: clamp(64px, 10vw, 120px);
    position: relative;
    overflow: hidden;
}
.ben-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 70% at 78% 40%, rgba(232,169,60,0.09) 0%, transparent 65%),
        repeating-linear-gradient(-55deg, transparent 0 14px, rgba(250,248,243,0.025) 14px 15px);
    pointer-events: none;
}

.ben-hero__sun {
    position: absolute;
    right: -80px;
    top: 50%;
    transform: translateY(-50%);
    width: clamp(300px, 40vw, 580px);
    height: clamp(300px, 40vw, 580px);
    opacity: 0.06;
    animation: ben-sun-spin 80s linear infinite;
    color: var(--paper);
}
@keyframes ben-sun-spin { to { transform: translateY(-50%) rotate(360deg); } }

.ben-hero__inner {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: start;
    gap: clamp(40px, 6vw, 80px);
}

.ben-hero__eyebrow {
    display: block;
    font-family: var(--ff-mono);
    font-size: 11px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--or-solaire);
    margin-bottom: 22px;
}
.ben-hero h1 {
    color: var(--paper);
    max-width: 16ch;
    margin-bottom: 28px;
}
.ben-hero h1 em {
    font-style: normal;
    color: var(--or-solaire);
}
.ben-hero .lede {
    max-width: 52ch;
    margin-bottom: 36px;
}
.ben-hero__cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
}

/* Stats hero */
.ben-hero__stats {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 36px 40px;
    border: 1px solid rgba(184,132,30,0.3);
    background: rgba(184,132,30,0.06);
    flex-shrink: 0;
}
.ben-stat__v {
    font-family: var(--ff-body);
    font-weight: 700;
    font-size: clamp(36px, 4vw, 56px);
    line-height: 1;
    letter-spacing: -0.04em;
    color: var(--or-solaire);
    font-feature-settings: "tnum";
}
.ben-stat__l {
    font-family: var(--ff-mono);
    font-size: 10px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(250,248,243,0.55);
    margin-top: 6px;
    line-height: 1.5;
}

/* ── Bande défilante ───────────────────────────────────────── */
.ben-strip {
    background: var(--or-solaire);
    color: var(--ink);
    padding: 16px 0;
    overflow: hidden;
}
.ben-strip__inner {
    display: flex;
    gap: 64px;
    white-space: nowrap;
    font-family: var(--ff-display);
    font-style: italic;
    font-size: 13px;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    animation: strip-scroll 28s linear infinite;
}
.ben-strip__inner span {
    display: inline-flex;
    align-items: center;
    gap: 64px;
}
.ben-strip__dot {
    display: inline-block;
    width: 5px; height: 5px;
    background: var(--ink);
    border-radius: 50%;
    opacity: 0.4;
    vertical-align: middle;
}

/* ── Intro ─────────────────────────────────────────────────── */
.ben-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 96px);
    align-items: start;
}

.ben-intro__quote {
    margin: 0;
    padding: 36px 40px;
    border-left: 3px solid var(--or-solaire);
    background: var(--sable-bg);
    font-family: var(--ff-display);
    font-size: clamp(18px, 2vw, 23px);
    line-height: 1.4;
    font-style: italic;
    color: var(--ink);
}
.ben-intro__quote footer {
    margin-top: 20px;
    font-family: var(--ff-mono);
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--or-patine);
    font-style: normal;
}

/* Mosaïque photos */
.ben-mosaic {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 260px 180px;
    gap: 8px;
    margin-top: 40px;
}
.ben-photo {
    background: var(--sable-bg);
    overflow: hidden;
    position: relative;
}
.ben-photo::before {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(-45deg, transparent 0 10px, rgba(107,104,99,0.06) 10px 11px);
    pointer-events: none;
}
.ben-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ben-photo--tall { grid-row: 1 / 3; }
.ben-photo--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
}
.ben-photo--placeholder span {
    font-family: var(--ff-mono);
    font-size: 10px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--ink-mute);
}

/* ── Calendrier week-end ───────────────────────────────────── */
.ben-calendrier {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.ben-cal-day {
    border: 1px solid var(--rule);
    overflow: hidden;
}
.ben-cal-day__header {
    background: var(--sable-bg);
    padding: 14px 20px;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}
.ben-cal-day__date {
    font-family: var(--ff-display);
    font-weight: 600;
    font-size: 18px;
    color: var(--ink);
}
.ben-cal-day__label {
    font-family: var(--ff-mono);
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ink-mute);
}
.ben-cal-slots { padding: 0; list-style: none; margin: 0; }
.ben-cal-slot {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 14px 20px;
    border-bottom: 1px solid var(--rule);
    font-size: 14px;
    line-height: 1.45;
}
.ben-cal-slot:last-child { border-bottom: none; }
.ben-cal-slot__time {
    font-family: var(--ff-mono);
    font-size: 11px;
    letter-spacing: 0.12em;
    color: var(--or-patine);
    flex-shrink: 0;
    padding-top: 2px;
    min-width: 56px;
}
.ben-cal-slot__desc { color: var(--ink-soft); }
.ben-cal-slot--key .ben-cal-slot__desc { color: var(--ink); font-weight: 500; }

/* ── Missions ──────────────────────────────────────────────── */
.mission-card {
    background: var(--paper);
    border: 1px solid var(--rule);
    padding: 32px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: border-color .2s, transform .2s;
}
.mission-card:hover {
    border-color: var(--or-patine);
    transform: translateY(-2px);
}
.mission-card::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--or-solaire);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s ease;
}
.mission-card:hover::after { transform: scaleX(1); }

.mission-card--feature {
    background: var(--dark-bg);
    color: var(--paper);
    border-color: var(--dark-bg);
}
.mission-card--feature:hover { border-color: var(--or-patine); }
.mission-card--feature p { color: rgba(250,248,243,0.72); }
.mission-card--feature .mission-card__num { color: var(--or-solaire); }
.mission-card--feature h3 { color: var(--or-solaire); }
.mission-card--feature .mission-meta {
    border-top-color: rgba(184,132,30,0.3);
    color: rgba(184,132,30,0.85);
}

.mission-card__num {
    font-family: var(--ff-display);
    font-size: 13px;
    font-weight: 500;
    color: var(--or-patine);
    letter-spacing: 0.15em;
}
.mission-card h3 { margin-top: 10px; margin-bottom: 12px; }
.mission-card p {
    font-size: 15px;
    line-height: 1.65;
    color: var(--ink-soft);
    flex: 1;
    margin: 0;
}

.mission-meta {
    display: flex;
    gap: 10px;
    align-items: center;
    font-family: var(--ff-mono);
    font-size: 11px;
    letter-spacing: 0.2em;
    color: var(--or-patine);
    text-transform: uppercase;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--rule);
}

/* Grille missions 3 colonnes */
.ben-missions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--rule);
    border: 1px solid var(--rule);
}
.ben-missions-grid .mission-card {
    border: none;
}
.ben-missions-grid .mission-card--span2 {
    grid-column: span 2;
}

/* ── Avantages bénévoles ───────────────────────────────────── */
.ben-avantages {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(184,132,30,0.2);
    border: 1px solid rgba(184,132,30,0.2);
    margin-top: 64px;
}
.ben-avantage {
    background: var(--dark-bg);
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.ben-avantage__icon {
    font-size: 28px;
    line-height: 1;
}
.ben-avantage__label {
    font-family: var(--ff-mono);
    font-size: 10px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--or-solaire);
}
.ben-avantage__desc {
    font-size: 14px;
    color: rgba(250,248,243,0.65);
    line-height: 1.55;
    margin: 0;
}

/* ── Témoignages ───────────────────────────────────────────── */
.ben-temoignages {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.ben-temoignage {
    padding: 32px;
    border: 1px solid rgba(184,132,30,0.25);
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.ben-temoignage__text {
    font-family: var(--ff-display);
    font-style: italic;
    font-size: 17px;
    line-height: 1.5;
    color: var(--paper);
    flex: 1;
    margin: 0;
}
.ben-temoignage__name {
    font-weight: 600;
    font-size: 14px;
    color: var(--paper);
    display: block;
}
.ben-temoignage__role {
    font-family: var(--ff-mono);
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--or-patine);
    display: block;
    margin-top: 3px;
}

/* ── Formulaire candidature ────────────────────────────────── */
.ben-form-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: clamp(40px, 6vw, 96px);
    align-items: start;
}

.ben-form-aside__title { color: var(--paper); margin-bottom: 20px; }
.ben-form-aside__title em { font-style: normal; color: var(--or-solaire); }

.ben-form-aside__text {
    color: rgba(250,248,243,0.72);
    font-size: 16px;
    line-height: 1.65;
    margin-bottom: 32px;
}

.ben-conditions {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 40px;
}
.ben-condition {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    font-size: 15px;
    color: rgba(250,248,243,0.82);
    line-height: 1.5;
}
.ben-condition__num {
    font-family: var(--ff-mono);
    font-size: 10px;
    letter-spacing: 0.2em;
    color: var(--or-patine);
    text-transform: uppercase;
    flex-shrink: 0;
    padding-top: 3px;
}

.ben-contact {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 24px;
    border: 1px solid rgba(184,132,30,0.3);
    background: rgba(184,132,30,0.06);
}
.ben-contact__icon { font-size: 22px; flex-shrink: 0; }
.ben-contact__label {
    font-family: var(--ff-mono);
    font-size: 10px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--or-patine);
    display: block;
    margin-bottom: 4px;
}
.ben-contact a {
    color: var(--paper);
    font-weight: 500;
    font-size: 15px;
    transition: color .15s;
}
.ben-contact a:hover { color: var(--or-solaire); }

/* Carte formulaire */
.ben-form-card {
    background: rgba(250,248,243,0.04);
    padding: 40px;
    border: 1px solid rgba(184,132,30,0.3);
}

/* Champs dans la carte sombre */
.ben-form-card .form-field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.ben-form-card .form-field label {
    font-family: var(--ff-mono);
    font-size: 10px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(232,169,60,0.85);
}
.ben-form-card .form-field input,
.ben-form-card .form-field textarea,
.ben-form-card .form-field select {
    font-family: var(--ff-body);
    font-size: 15px;
    padding: 13px 16px;
    background: rgba(250,248,243,0.06);
    color: var(--paper);
    border: 1px solid rgba(250,248,243,0.15);
    border-radius: 0;
    outline: none;
    transition: border-color .15s;
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
}
.ben-form-card .form-field input::placeholder,
.ben-form-card .form-field textarea::placeholder { color: rgba(250,248,243,0.4); }
.ben-form-card .form-field input:focus,
.ben-form-card .form-field textarea:focus,
.ben-form-card .form-field select:focus { border-color: var(--or-solaire); }
.ben-form-card .form-field select option { background: var(--granit-bg); color: var(--paper); }
.ben-form-card .form-field textarea { resize: vertical; min-height: 96px; }

.ben-form-card .form-field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(232,169,60,0.6)' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

/* Rangée 2 colonnes dans le formulaire */
.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* Checkboxes disponibilités */
.form-check-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.form-check {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid rgba(250,248,243,0.12);
    cursor: pointer;
    font-size: 14px;
    color: rgba(250,248,243,0.82);
    transition: border-color .15s, background .15s;
}
.form-check:hover {
    border-color: rgba(232,169,60,0.4);
    background: rgba(184,132,30,0.06);
}
.form-check input[type="checkbox"] {
    width: 16px; height: 16px;
    accent-color: var(--or-solaire);
    flex-shrink: 0;
    cursor: pointer;
}
.form-check input[type="checkbox"]:checked + span { color: var(--or-solaire); }

/* États du formulaire */
.ben-form-success {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 32px;
    background: color-mix(in oklab, oklch(0.50 0.22 256) 15%, transparent);
    border: 1px solid color-mix(in oklab, oklch(0.50 0.22 256) 40%, transparent);
}
.ben-form-success svg { flex-shrink: 0; color: var(--or-solaire); margin-top: 2px; }
.ben-form-success p { color: var(--paper); margin: 0; line-height: 1.6; }
.ben-form-success strong { color: var(--or-solaire); }

.ben-form-error {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 20px;
    background: oklch(0.25 0.06 25);
    border: 1px solid oklch(0.45 0.15 25);
    color: oklch(0.80 0.12 25);
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: 24px;
}
.ben-form-error svg { flex-shrink: 0; margin-top: 2px; }

.ben-form-card .form-legal {
    font-size: 12px;
    margin-top: 16px;
    color: rgba(250,248,243,0.45);
    line-height: 1.6;
}
.ben-form-card .form-legal a {
    color: var(--or-patine);
    border-bottom: 1px solid rgba(184,132,30,0.4);
    transition: color .15s;
}
.ben-form-card .form-legal a:hover { color: var(--or-solaire); }

/* Bouton pleine largeur dans le formulaire */
.btn--full { width: 100%; justify-content: center; padding: 16px 22px; }

/* ── CTA final ─────────────────────────────────────────────── */
.ben-cta-final {
    text-align: center;
    padding: clamp(64px, 10vw, 120px) var(--shell-pad);
    background: var(--dark-bg);
    position: relative;
    overflow: hidden;
}
.ben-cta-final::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 80% at 50% 100%, rgba(232,169,60,0.12) 0%, transparent 65%);
    pointer-events: none;
}
.ben-cta-final h2 { color: var(--paper); margin-bottom: 18px; position: relative; }
.ben-cta-final h2 em { font-style: normal; color: var(--or-solaire); }
.ben-cta-final .lede {
    position: relative;
    color: rgba(250,248,243,0.7);
    margin: 0 auto 36px;
    max-width: 52ch;
    opacity: 1;
}
.ben-cta-final__btns {
    position: relative;
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ── Responsive bénévoles ──────────────────────────────────── */
@media (max-width: 1100px) {
    .ben-avantages { grid-template-columns: repeat(2, 1fr); }
    .ben-missions-grid { grid-template-columns: repeat(2, 1fr); }
    .ben-missions-grid .mission-card--span2 { grid-column: span 2; }
}

@media (max-width: 900px) {
    .ben-hero__inner { grid-template-columns: 1fr; }
    .ben-hero__stats { flex-direction: row; flex-wrap: wrap; gap: 24px; padding: 24px 28px; }
    .ben-stat { min-width: 80px; }
    .ben-intro { grid-template-columns: 1fr; }
    .ben-temoignages { grid-template-columns: 1fr; }
    .ben-form-layout { grid-template-columns: 1fr; }
    .ben-missions-grid { grid-template-columns: 1fr; }
    .ben-missions-grid .mission-card--span2 { grid-column: span 1; }
    .ben-avantages { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .ben-calendrier { grid-template-columns: 1fr; }
    .form-row-2 { grid-template-columns: 1fr; }
    .form-check-group { grid-template-columns: 1fr; }
    .ben-avantages { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
    .ben-mosaic { grid-template-columns: 1fr; grid-template-rows: auto; }
    .ben-photo--tall { grid-row: auto; }
    .ben-photo { min-height: 180px; }
    .ben-form-card { padding: 24px 20px; }
    .ben-hero__stats { padding: 20px; }
}


/* =====================================================
   PAGE PARCOURS — à coller dans style.css
   après /* PAGE BÉNÉVOLES */

   RÈGLE ABSOLUE : chaque sélecteur qui pose une couleur
   de texte la pose explicitement. Aucune dépendance à
   l'héritage de couleur d'une section parente.
   ===================================================== */


/* ════════════════════════════════════════════════════
   HERO — extension de .page-hero (fond --encre garanti)
   ════════════════════════════════════════════════════ */

.parc-hero-ext {
  padding-bottom: 0;
}

.parc-hero-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
  margin-top: clamp(24px, 3vw, 40px);
  margin-bottom: clamp(40px, 5vw, 64px);
}

/* Bloc 4 stats sur fond --encre */
.parc-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  border: 1px solid rgba(184, 132, 30, 0.3);
  border-radius: 3px;
  overflow: hidden;
  align-self: center;
}

.parc-stat {
  padding: clamp(16px, 2.5vw, 26px) clamp(14px, 2vw, 22px);
  background: rgba(250, 248, 243, 0.04);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.parc-stat__val {
  font-family: var(--ff-display);
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 700;
  color: var(--or-solaire);        /* or sur fond sombre ✓ */
  line-height: 1;
}

.parc-stat__val small {
  font-size: 0.55em;
  vertical-align: super;
  color: var(--or-solaire);
}

.parc-stat__unit {
  font-family: var(--ff-mono);
  font-size: 12px;
  color: var(--or-patine);         /* or foncé sur fond sombre ✓ */
  letter-spacing: 0.1em;
}

.parc-stat__label {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.4;
}

@media (max-width: 860px) {
  .parc-hero-layout { grid-template-columns: 1fr; }
  .parc-stats       { grid-template-columns: 1fr 1fr; }
}


/* ════════════════════════════════════════════════════
   FRISE KILOMÉTRIQUE — flexbox, fond --encre hérité
   ════════════════════════════════════════════════════ */

.parc-frise {
  border-top: 1px solid rgba(184, 132, 30, 0.25);
  padding: clamp(24px, 3vw, 36px) 0 clamp(32px, 4vw, 48px);
}

/* Rangée étiquettes */
.parc-frise__labels {
  display: flex;
  align-items: flex-end;
  margin-bottom: 10px;
}

.parc-frise__label-dep {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 0 0 auto;
  margin-right: auto;
}

.parc-frise__label-arr {
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: flex-end;
  flex: 0 0 auto;
  margin-left: auto;
}

.parc-frise__lbl {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--paper);          /* clair sur fond sombre ✓ */
}

.parc-frise__km {
  font-family: var(--ff-mono);
  font-size: 9px;
  color: rgba(250, 248, 243, 0.45); /* clair sur fond sombre ✓ */
}

/* Numéros de département */
.parc-frise__label-dep50,
.parc-frise__label-dep35,
.parc-frise__label-dep22,
.parc-frise__label-dep29 {
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: rgba(250, 248, 243, 0.55); /* clair sur fond sombre ✓ */
  text-align: center;
}

.parc-frise__label-dep50 { flex: 5.1  0 0; }
.parc-frise__label-dep35 { flex: 30.5 0 0; }
.parc-frise__label-dep22 { flex: 37.3 0 0; }
.parc-frise__label-dep29 { flex: 27.1 0 0; }

/* Barre colorée */
.parc-frise__barre {
  position: relative;
  display: flex;
  height: 10px;
  border-radius: 2px;
  overflow: hidden;
}

.parc-frise__seg { height: 100%; }
.parc-frise__seg--50 { flex: 5.1;  background: var(--manche); }
.parc-frise__seg--35 { flex: 30.5; background: oklch(0.38 0.09 196); }
.parc-frise__seg--22 { flex: 37.3; background: oklch(0.28 0.08 196); }
.parc-frise__seg--29 { flex: 27.1; background: var(--granit-bg); }

/* Épingles */
.parc-frise__pin {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--paper);
  background: var(--or-solaire);
  z-index: 2;
}
.parc-frise__pin--dep { left: -1px;  }
.parc-frise__pin--arr { right: -1px; }


/* ════════════════════════════════════════════════════
   MISE EN PAGE COMMUNE DES ACTES
   ════════════════════════════════════════════════════ */

.parc-acte {
  padding-top:    clamp(56px, 8vw, 100px);
  padding-bottom: clamp(56px, 8vw, 100px);
}

/* En-tête d'acte : chiffre romain + bloc texte */
.parc-acte-header {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(16px, 3vw, 44px);
  align-items: start;
  margin-bottom: clamp(36px, 5vw, 64px);
}

.parc-acte-num {
  font-family: var(--ff-display);
  font-size: clamp(72px, 10vw, 128px);
  font-weight: 700;
  line-height: 0.85;
  letter-spacing: -0.04em;
  user-select: none;
  padding-top: 2px;
  /* couleur définie par contexte de section ci-dessous */
}

/* Kv altitude / azimut */
.parc-kv {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 22px;
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.parc-kv b {
  font-weight: 500;
  margin-right: 4px;
}

.parc-acte-cta {
  margin-top: clamp(28px, 4vw, 48px);
}

@media (max-width: 700px) {
  .parc-acte-header { grid-template-columns: 1fr; }
  .parc-acte-num    { font-size: 56px; }
}


/* ════════════════════════════════════════════════════
   ACTE I & III — sur fond sombre (section--dark)
   Toutes les couleurs posées explicitement.
   ════════════════════════════════════════════════════ */

.section--dark .parc-acte-num {
  color: rgba(232, 169, 60, 0.1); /* watermark or sur sombre ✓ */
}

.section--dark .parc-acte-meta h2 {
  color: var(--paper);          /* clair sur sombre ✓ */
  font-size: clamp(24px, 3.2vw, 42px);
  margin: 12px 0 16px;
  max-width: 20ch;
}

.section--dark .parc-acte-meta .lede {
  color: rgba(250, 248, 243, 0.72); /* clair sur sombre ✓ */
  max-width: 52ch;
}

.section--dark .parc-kv {
  color: rgba(250, 248, 243, 0.5);  /* clair sur sombre ✓ */
}

.section--dark .parc-kv b {
  color: var(--or-solaire);         /* or sur sombre ✓ */
}


/* ════════════════════════════════════════════════════
   ACTE II — sur fond beige (section--sable)
   h2, h3, lede : couleurs SOMBRES par défaut du body.
   On ne surcharge que ce qui en a besoin.
   ════════════════════════════════════════════════════ */

.parc-acte--villes .parc-acte-num {
  color: rgba(184, 132, 30, 0.12); /* watermark or foncé sur beige ✓ */
}

/* h2 hérite --encre du body → sombre sur beige ✓ */
/* .lede hérite --galet du body → sombre sur beige ✓ */

.parc-acte--villes .parc-acte-meta .eyebrow {
  color: var(--or-patine);          /* or foncé sur beige ✓ */
}

.parc-acte--villes .parc-acte-meta h2 {
  color: var(--ink);              /* sombre sur beige ✓ */
  font-size: clamp(24px, 3.2vw, 42px);
  margin: 12px 0 16px;
  max-width: 20ch;
}

.parc-acte--villes .parc-acte-meta .lede {
  color: var(--ink-mute);              /* sombre sur beige ✓ */
  max-width: 52ch;
}


/* ════════════════════════════════════════════════════
   CARTES DÉPARTEMENT — fond --calcaire (clair)
   TOUT le texte doit être en couleur sombre.
   Les sélecteurs sont suffisamment spécifiques pour
   battre section--granit/dark/glaz h3 { color: paper }
   ════════════════════════════════════════════════════ */

.parc-dep-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
  margin-bottom: clamp(24px, 3vw, 36px);
}

.parc-dep {
  background: var(--paper);      /* fond clair */
  border-radius: 2px;
  overflow: hidden;
}

.parc-dep--ocean { border-top: 3px solid var(--manche);          }
.parc-dep--foret { border-top: 3px solid oklch(0.38 0.09 196);            }
.parc-dep--lande { border-top: 3px solid oklch(0.28 0.08 196); }
.parc-dep--arree { border-top: 3px solid var(--granit-bg);          }

.parc-dep__header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 18px 14px;
  background: var(--sable-bg);         /* fond clair légèrement teinté */
  border-bottom: 1px solid var(--rule);
}

.parc-dep__badge {
  font-family: var(--ff-mono);
  font-size: 20px;
  font-weight: 700;
  color: var(--or-patine) !important; /* or foncé sur beige ✓ — !important contre héritage section */
  flex-shrink: 0;
}

.parc-dep__nom {
  font-family: var(--ff-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink) !important;   /* sombre sur beige ✓ — !important contre section--* h3 */
  margin: 0 0 2px;
}

.parc-dep__km {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--ink-mute) !important;   /* sombre sur beige ✓ */
}

.parc-dep__etape {
  padding: 14px 18px;
  border-bottom: 1px solid var(--rule);
  background: var(--paper);      /* fond clair */
}

.parc-dep__etape:last-child { border-bottom: 0; }

.parc-dep__etape-label {
  display: block;
  font-family: var(--ff-mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--or-patine) !important; /* or foncé sur beige ✓ */
  margin-bottom: 8px;
}

.parc-dep__liste {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.parc-dep__liste li {
  font-size: 13px;
  line-height: 1.4;
  color: var(--ink-mute) !important;   /* sombre sur beige ✓ */
  padding-left: 14px;
  position: relative;
}

.parc-dep__liste li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--or-patine);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.25;
}

/* Grande étape : Cinzel + encre */
.parc-dep__etape:first-of-type .parc-dep__liste li {
  font-family: var(--ff-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink) !important;   /* sombre sur beige ✓ */
}

/* Note ravitaillement — sur fond --sable, texte sombre */
.parc-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 20px;
  border-left: 3px solid var(--or-patine);
  background: var(--paper);
}

.parc-note svg {
  flex-shrink: 0;
  color: var(--or-patine);          /* or foncé sur blanc ✓ */
  margin-top: 2px;
}

.parc-note p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-mute);              /* sombre sur blanc ✓ */
  margin: 0;
}

@media (max-width: 920px) {
  .parc-dep-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .parc-dep-grid { grid-template-columns: 1fr; }
}


/* ════════════════════════════════════════════════════
   GALERIES PHOTOS
   ════════════════════════════════════════════════════ */

.parc-galerie {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 3px;
}

.parc-photo--principale { grid-row: 1 / 3; }

.parc-galerie--inv { grid-template-columns: 1fr 1fr 1.6fr; }
.parc-galerie--inv .parc-photo--principale {
  grid-column: 3;
  grid-row: 1 / 3;
}

.parc-photo {
  margin: 0;
  position: relative;
  overflow: hidden;
  background: var(--dark-bg);
}

.parc-photo__img {
  width: 100%;
  height: 100%;
  min-height: 190px;
  display: block;
}

.parc-photo--principale .parc-photo__img { min-height: 420px; }

.parc-photo__img svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Légende : sur SVG sombre via dégradé → clair ✓ */
.parc-photo__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 14px 12px;
  background: linear-gradient(to top, rgba(26,25,22,0.92) 0%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  transition: opacity 0.22s ease;
}

.parc-photo:hover .parc-photo__caption,
.parc-photo:focus-within .parc-photo__caption { opacity: 1; }

/* Toutes explicites : sur dégradé sombre → clair ✓ */
.parc-photo__heure {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--or-solaire);
}

.parc-photo__titre {
  font-family: var(--ff-display);
  font-size: 13px;
  color: var(--paper);
}

.parc-photo__credit {
  font-family: var(--ff-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: rgba(250, 248, 243, 0.4);
}

@media (max-width: 860px) {
  .parc-galerie,
  .parc-galerie--inv              { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .parc-photo--principale         { grid-column: 1 / -1; grid-row: auto; }
  .parc-galerie--inv .parc-photo--principale { grid-column: 1 / -1; grid-row: auto; }
  .parc-photo__caption            { opacity: 1; }
}

@media (max-width: 540px) {
  .parc-galerie,
  .parc-galerie--inv { grid-template-columns: 1fr; }
}


/* ════════════════════════════════════════════════════
   CTA FINAL — fond glaz autonome
   ════════════════════════════════════════════════════ */

.parc-cta-final {
  background: oklch(0.38 0.09 196);
  color: var(--paper);
  padding-block: clamp(64px, 10vw, 120px);
}

.parc-cta-final__inner {
  text-align: center;
}

.parc-cta-final__inner h2 {
  color: var(--paper);
  font-size: clamp(26px, 4vw, 48px);
  margin: 18px auto 22px;
  max-width: 22ch;
}

.parc-cta-final__inner h2 em {
  color: var(--or-solaire);
  font-style: italic;
}

.parc-cta-final__inner .lede {
  color: rgba(250, 248, 243, 0.72);
  max-width: 52ch;
  margin: 0 auto 36px;
}

.parc-cta-final__btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ══════════════════════════════════════════════════════════════
   404 — Page introuvable
   Le Raid Solaire / Hent an Heol
   Hero plein écran inspiré tourduboutdumonde.fr/404
   Charte : Granit & Lumière — Or Solaire sur fond Encre
   ══════════════════════════════════════════════════════════════ */

.error-404-hero {
    position: relative;
    min-height: calc(100vh - 88px); /* viewport - hauteur header sticky */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--encre, #1A1916);
    color: var(--paper, #FAF8F3);
    isolation: isolate;
}

/* ── Image de fond ──────────────────────────────────────────── */
.error-404-hero__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
    z-index: -2;
    /* désature légèrement pour laisser parler le doré */
    filter: grayscale(0.35) contrast(1.05) brightness(0.85);
}

/* ── Overlay sombre + voile doré ───────────────────────────── */
.error-404-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(
            ellipse 80% 60% at 50% 45%,
            rgba(232, 169, 60, 0.18) 0%,
            rgba(26, 25, 22, 0.55) 45%,
            rgba(26, 25, 22, 0.92) 100%
        ),
        linear-gradient(
            180deg,
            rgba(26, 25, 22, 0.55) 0%,
            rgba(26, 25, 22, 0.35) 50%,
            rgba(26, 25, 22, 0.85) 100%
        );
}

/* ── Conteneur de contenu ──────────────────────────────────── */
.error-404-hero__content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: clamp(80px, 14vh, 160px) var(--shell-pad, 24px);
    max-width: 720px;
    margin: 0 auto;
}

/* ── « 404 » — grand chiffre solaire ───────────────────────── */
.error-404-hero__code {
    font-family: var(--ff-display, "Cinzel", Georgia, serif);
    font-weight: 500;
    font-size: clamp(120px, 22vw, 260px);
    line-height: 0.85;
    letter-spacing: -0.02em;
    margin: 0 0 24px;
    color: var(--or-solaire, #E8A93C);
    /* léger glow doré pour évoquer le soleil */
    text-shadow:
        0 0 60px rgba(232, 169, 60, 0.25),
        0 0 120px rgba(232, 169, 60, 0.15);
    /* trait fin pour rappeler la gravure */
    -webkit-text-stroke: 0.5px rgba(245, 212, 154, 0.4);
}

/* ── Titre « Page introuvable » ─────────────────────────────── */
.error-404-hero__title {
    font-family: var(--ff-display, "Cinzel", Georgia, serif);
    font-weight: 400;
    font-size: clamp(28px, 4.5vw, 44px);
    line-height: 1.15;
    letter-spacing: 0.01em;
    margin: 0 0 20px;
    color: var(--paper, #FAF8F3);
}

/* ── Filet doré décoratif sous le titre ────────────────────── */
.error-404-hero__title::after {
    content: "";
    display: block;
    width: 64px;
    height: 1px;
    background: var(--or-patine, #B8841E);
    margin: 28px auto 0;
    opacity: 0.7;
}

/* ── Description ───────────────────────────────────────────── */
.error-404-hero__desc {
    font-family: var(--ff-body, "Inter", sans-serif);
    font-size: clamp(15px, 1.6vw, 17px);
    line-height: 1.65;
    color: rgba(250, 248, 243, 0.78);
    max-width: 480px;
    margin: 0 auto 40px;
}

/* ── Bouton de retour ──────────────────────────────────────── */
/* Couvre les deux conventions : btn-primary (PHP actuel) & btn--primary (BEM) */
.error-404-hero .btn,
.error-404-hero .btn-primary,
.error-404-hero .btn--primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    font-family: var(--ff-body, "Inter", sans-serif);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    background: var(--or-solaire, #E8A93C);
    color: var(--encre, #1A1916);
    border: 1px solid var(--or-solaire, #E8A93C);
    transition: transform 0.15s ease, background 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.error-404-hero .btn:hover,
.error-404-hero .btn-primary:hover,
.error-404-hero .btn--primary:hover {
    transform: translateY(-1px);
    background: #d4942a;
    border-color: #d4942a;
    box-shadow: 0 8px 24px rgba(232, 169, 60, 0.25);
}

/* Flèche ajoutée en pseudo (si pas dans le HTML) */
.error-404-hero .btn::after,
.error-404-hero .btn-primary::after,
.error-404-hero .btn--primary::after {
    content: "→";
    display: inline-block;
    transition: transform 0.2s ease;
}
.error-404-hero .btn:hover::after,
.error-404-hero .btn-primary:hover::after,
.error-404-hero .btn--primary:hover::after {
    transform: translateX(4px);
}

/* Si une flèche .btn__arrow est déjà dans le HTML, on cache la pseudo */
.error-404-hero .btn:has(.btn__arrow)::after,
.error-404-hero .btn-primary:has(.btn__arrow)::after,
.error-404-hero .btn--primary:has(.btn__arrow)::after {
    content: none;
}
.error-404-hero .btn__arrow {
    display: inline-block;
    transition: transform 0.2s ease;
}
.error-404-hero .btn:hover .btn__arrow,
.error-404-hero .btn-primary:hover .btn__arrow,
.error-404-hero .btn--primary:hover .btn__arrow {
    transform: translateX(4px);
}

/* ══════════════════════════════════════════════════════════════
   Responsive
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    .error-404-hero {
        min-height: calc(100vh - 64px);
    }
    .error-404-hero__content {
        padding: 100px 24px 80px;
    }
    .error-404-hero__title::after {
        margin: 24px auto 0;
    }
}

/* ══════════════════════════════════════════════════════════════
   Accessibilité — reduced motion
   ══════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
    .error-404-hero .btn,
    .error-404-hero .btn-primary,
    .error-404-hero .btn--primary,
    .error-404-hero .btn::after,
    .error-404-hero .btn-primary::after,
    .error-404-hero .btn--primary::after,
    .error-404-hero .btn__arrow {
        transition: none;
    }
    .error-404-hero .btn:hover,
    .error-404-hero .btn-primary:hover,
    .error-404-hero .btn--primary:hover {
        transform: none;
    }
}


/* ══════════════════════════════════════════════════════════════
   PAGE SÉCURITÉ
   Reprend les patterns du site : page-hero, intro-grid, sections
   alternées (sable / dark). N'ajoute que .principles et .sec-quote.
   ══════════════════════════════════════════════════════════════ */


/* ── Trois principes (sur section--sable) ──────────────────── */
.principles {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    border-top: 1px solid var(--or-patine);
}

.principle {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: clamp(24px, 4vw, 56px);
    padding: clamp(32px, 4vw, 44px) 0;
    border-bottom: 1px solid rgba(184, 132, 30, 0.25);
    align-items: start;
}
.principle:last-child {
    border-bottom: 0;
}

.principle__num {
    font-family: var(--ff-display);
    font-style: italic;
    font-weight: 500;
    font-size: clamp(28px, 3vw, 36px);
    color: var(--or-patine);
    letter-spacing: 0.05em;
    line-height: 1;
}

.principle__body { min-width: 0; }

.principle__body h3 {
    margin: 0 0 12px;
    font-family: var(--ff-display);
    font-weight: 500;
    font-size: clamp(20px, 2vw, 24px);
    letter-spacing: 0.005em;
    color: var(--ink);
}

.principle__body p {
    margin: 0;
    font-family: var(--ff-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--ink-soft);
    max-width: 65ch;
}

.principle__body p strong {
    color: var(--ink);
    font-weight: 600;
}


/* ── Citation (sur section--dark) ──────────────────────────── */
.sec-quote {
    margin: 24px 0 0;
    padding: 0;
    border: 0;
    position: relative;
}

.sec-quote p {
    margin: 0 0 28px;
    font-family: var(--ff-display);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(1.25rem, 2.4vw, 1.65rem);
    line-height: 1.5;
    color: var(--paper);
    max-width: 50ch;
}

.sec-quote p::before {
    content: '\201C';
    display: inline;
    margin-right: 0.1em;
    color: var(--or-solaire);
    font-weight: 500;
}

.sec-quote p::after {
    content: '\201D';
    display: inline;
    margin-left: 0.1em;
    color: var(--or-solaire);
    font-weight: 500;
}

.sec-quote__author {
    font-family: var(--ff-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--or-solaire);
    padding-top: 16px;
    border-top: 1px solid rgba(232, 169, 60, 0.25);
    display: inline-block;
}


/* ── Petit utilitaire pour le CTA de fin de page ───────────── */
.sec-cta {
    margin-top: 32px !important;
}


/* ══════════════════════════════════════════════════════════════
   Responsive
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 720px) {
    .principle {
        grid-template-columns: 60px 1fr;
        gap: 20px;
    }
}

/* ══════════════════════════════════════════════════════════════
   PAGE INFORMATIONS PRATIQUES — Le Raid Solaire
   Source : sportbreizh.com (article officiel)
   Namespace strict : .ip-*
   Charte : Granit & Lumière — Or sur Encre
   Tokens du style.css : --ink, --ink-soft, --ink-mute, --paper,
                         --paper-2, --sable-bg, --dark-bg, --rule,
                         --or-solaire, --or-patine,
                         --ff-display, --ff-mono, --ff-body
   ══════════════════════════════════════════════════════════════ */


/* ══════════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════════════ */
.ip-hero {
    position: relative;
    min-height: 540px;
    display: flex;
    align-items: flex-end;
    padding-bottom: clamp(56px, 7vw, 80px);
    overflow: hidden;
    background: var(--ink);
    color: var(--paper);
    isolation: isolate;
}

.ip-hero__bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(ellipse 80% 60% at 60% 20%,
            oklch(0.22 0.04 80 / .35) 0%,
            transparent 70%),
        radial-gradient(ellipse 50% 40% at 10% 80%,
            oklch(0.18 0.025 250 / .25) 0%,
            transparent 60%);
}

.ip-hero__noise {
    position: absolute;
    inset: 0;
    opacity: 0.5;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
}

.ip-hero__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(232, 169, 60, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(232, 169, 60, .035) 1px, transparent 1px);
    background-size: 64px 64px;
}

.ip-hero__inner {
    position: relative;
    z-index: 1;
}

.ip-hero__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
}
.ip-hero__meta-item {
    font-family: var(--ff-mono);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(250, 248, 243, 0.55);
}
.ip-hero__meta-sep {
    color: var(--or-patine);
    font-size: 10px;
    opacity: 0.7;
}

.ip-hero__title {
    font-family: var(--ff-display);
    font-weight: 500;
    font-size: clamp(2.6rem, 7vw, 5.5rem);
    line-height: 1.02;
    letter-spacing: -0.01em;
    margin: 0 0 24px;
    color: var(--paper);
}
.ip-hero__title-solid { color: var(--paper); }
.ip-hero__title-outline {
    color: transparent;
    -webkit-text-stroke: 1.2px var(--or-solaire);
}
.ip-hero__title-outline em {
    font-style: italic;
    font-weight: 400;
}

.ip-hero__sub {
    font-family: var(--ff-body);
    font-size: clamp(0.95rem, 1.6vw, 1.1rem);
    line-height: 1.65;
    color: rgba(250, 248, 243, 0.65);
    max-width: 62ch;
    margin: 0 0 36px;
}

/* ── Boutons d'ancrage ─────────────────────────────────────── */
.ip-anchors {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.ip-anchor {
    font-family: var(--ff-mono);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(250, 248, 243, 0.65);
    border: 1px solid rgba(232, 169, 60, 0.25);
    padding: 8px 16px;
    border-radius: 2px;
    text-decoration: none;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
    background: transparent;
}
.ip-anchor:hover {
    color: var(--ink);
    background: var(--or-solaire);
    border-color: var(--or-solaire);
}

/* ── Flèche scroll ─────────────────────────────────────────── */
.ip-hero__scroll {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}
.ip-hero__scroll-bar {
    display: block;
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--or-solaire), transparent);
    transform-origin: top;
    animation: ip-scroll 1.8s ease-in-out infinite;
}
@keyframes ip-scroll {
    0%, 100% { opacity: 0.2; transform: scaleY(0.4); }
    50%      { opacity: 1;   transform: scaleY(1); }
}


/* ══════════════════════════════════════════════════════════════
   SECTIONS génériques
   ══════════════════════════════════════════════════════════════ */
.ip-section {
    padding: clamp(64px, 9vw, 112px) 0;
}
.ip-section--sable { background: var(--sable-bg); }
.ip-section--dark  { background: var(--dark-bg); color: var(--paper); }


/* ── Eyebrow numérotée (extension de .eyebrow global) ──────── */
.eyebrow__num {
    display: inline-block;
    margin-right: 14px;
    padding-right: 14px;
    border-right: 1px solid currentColor;
    opacity: 0.65;
}


/* ── Titre de section ──────────────────────────────────────── */
.ip-title {
    font-family: var(--ff-display);
    font-weight: 500;
    font-size: clamp(2rem, 4.2vw, 3.2rem);
    line-height: 1.08;
    letter-spacing: -0.005em;
    margin: 0 0 28px;
    color: inherit;
    max-width: 22ch;
}
.ip-title em {
    font-style: italic;
    font-weight: 400;
    color: var(--or-patine);
}
.ip-section--dark .ip-title em { color: var(--or-solaire); }


/* ── Intro ─────────────────────────────────────────────────── */
.ip-intro {
    font-family: var(--ff-body);
    font-size: clamp(1rem, 1.4vw, 1.1rem);
    line-height: 1.7;
    color: var(--ink-soft);
    max-width: 65ch;
    margin: 0 0 48px;
}
.ip-section--dark .ip-intro {
    color: rgba(250, 248, 243, 0.72);
}


/* ══════════════════════════════════════════════════════════════
   01 — LE DÉFI (3 cartes Lever / Distance / Coucher)
   ══════════════════════════════════════════════════════════════ */
.ip-defi {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--rule);
    border: 1px solid var(--rule);
    border-radius: 4px;
    overflow: hidden;
    margin: 0 0 48px;
}

.ip-defi__card {
    background: var(--paper);
    padding: clamp(28px, 3.5vw, 40px);
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
}
.ip-defi__card--accent {
    background: var(--ink);
    color: var(--paper);
}

.ip-defi__label {
    font-family: var(--ff-mono);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--or-patine);
}
.ip-defi__card--accent .ip-defi__label { color: var(--or-solaire); }

.ip-defi__time {
    font-family: var(--ff-display);
    font-weight: 500;
    font-size: clamp(2.4rem, 4vw, 3.4rem);
    line-height: 1;
    letter-spacing: -0.01em;
    color: var(--ink);
    margin: 4px 0 12px;
}
.ip-defi__card--accent .ip-defi__time {
    color: var(--or-solaire);
}

.ip-defi__card p {
    font-family: var(--ff-body);
    font-size: 0.92rem;
    line-height: 1.6;
    color: var(--ink-soft);
    margin: 0;
}
.ip-defi__card--accent p {
    color: rgba(250, 248, 243, 0.72);
}


/* ── Citation italique ─────────────────────────────────────── */
.ip-quote {
    font-family: var(--ff-display);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(1.2rem, 2.2vw, 1.6rem);
    line-height: 1.45;
    color: var(--ink);
    max-width: 50ch;
    margin: 0;
    padding-left: 24px;
    border-left: 2px solid var(--or-solaire);
}


/* ══════════════════════════════════════════════════════════════
   02 — LES PRINCIPES (sur section--sable)
   ══════════════════════════════════════════════════════════════ */
.ip-principles {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    border-top: 1px solid var(--or-patine);
    margin-top: 8px;
}

.ip-principle {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: clamp(24px, 4vw, 56px);
    padding: clamp(28px, 3.5vw, 40px) 0;
    border-bottom: 1px solid rgba(184, 132, 30, 0.25);
    align-items: start;
}
.ip-principle:last-child { border-bottom: 0; }

.ip-principle__num {
    font-family: var(--ff-display);
    font-style: italic;
    font-weight: 500;
    font-size: clamp(28px, 3vw, 36px);
    color: var(--or-patine);
    letter-spacing: 0.05em;
    line-height: 1;
}

.ip-principle__body h3 {
    margin: 0 0 12px;
    font-family: var(--ff-display);
    font-weight: 500;
    font-size: clamp(20px, 2vw, 24px);
    letter-spacing: 0.005em;
    color: var(--ink);
}
.ip-principle__body p {
    margin: 0;
    font-family: var(--ff-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--ink-soft);
    max-width: 65ch;
}


/* ══════════════════════════════════════════════════════════════
   03 — L'ITINÉRAIRE (visuel départ → arrivée)
   ══════════════════════════════════════════════════════════════ */
.ip-route {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: clamp(24px, 4vw, 56px);
    align-items: stretch;
    margin: 0 0 48px;
    padding: clamp(32px, 4vw, 48px) 0;
}

.ip-route__point {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
    padding-top: 32px;
}

.ip-route__pin {
    position: absolute;
    top: 0;
    left: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--or-solaire);
    box-shadow: 0 0 0 4px rgba(232, 169, 60, 0.18);
}
.ip-route__pin--end {
    background: var(--or-patine);
    box-shadow: 0 0 0 4px rgba(184, 132, 30, 0.18);
}

.ip-route__label {
    font-family: var(--ff-mono);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--or-patine);
}

.ip-route__point h3 {
    margin: 0;
    font-family: var(--ff-display);
    font-weight: 500;
    font-size: clamp(22px, 2.6vw, 32px);
    line-height: 1.15;
    letter-spacing: -0.005em;
    color: var(--ink);
}

.ip-route__point p {
    margin: 0;
    font-family: var(--ff-body);
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--ink-soft);
    max-width: 36ch;
}

.ip-route__point--end {
    text-align: right;
    align-items: flex-end;
}
.ip-route__point--end .ip-route__pin {
    left: auto;
    right: 0;
}
.ip-route__point--end p {
    text-align: right;
}

/* Ligne pointillée or entre les deux points */
.ip-route__line {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    margin-top: 32px;
}
.ip-route__line::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: repeating-linear-gradient(
        to right,
        var(--or-patine) 0 6px,
        transparent 6px 12px
    );
    transform: translateY(-0.5px);
}
.ip-route__line-meta {
    position: relative;
    background: var(--paper);
    padding: 0 14px;
    font-family: var(--ff-mono);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--or-patine);
    white-space: nowrap;
}


/* ══════════════════════════════════════════════════════════════
   04 — SUR PLACE (4 features sur section--dark)
   ══════════════════════════════════════════════════════════════ */
.ip-features {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1px;
    background: rgba(232, 169, 60, 0.2);
    border: 1px solid rgba(232, 169, 60, 0.2);
    border-radius: 4px;
    overflow: hidden;
    margin-top: 24px;
}

.ip-feature {
    background: rgba(250, 248, 243, 0.04);
    padding: clamp(24px, 3vw, 32px);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ip-feature__icon {
    width: 36px;
    height: 36px;
    color: var(--or-solaire);
}
.ip-feature__icon svg { width: 100%; height: 100%; }

.ip-feature h3 {
    margin: 0;
    font-family: var(--ff-display);
    font-weight: 500;
    font-size: 1.15rem;
    letter-spacing: 0.005em;
    color: var(--paper);
}
.ip-feature p {
    margin: 0;
    font-family: var(--ff-body);
    font-size: 0.92rem;
    line-height: 1.6;
    color: rgba(250, 248, 243, 0.68);
}


/* ══════════════════════════════════════════════════════════════
   CTA FINAL
   ══════════════════════════════════════════════════════════════ */
.ip-cta {
    background: var(--or-solaire);
    padding: clamp(48px, 7vw, 80px) 0;
}
.ip-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 32px;
}
.ip-cta__copy {
    flex: 1 1 auto;
    min-width: 0;
}
.ip-cta__copy .eyebrow {
    color: var(--ink);
    opacity: 0.7;
    margin-bottom: 12px;
}
.ip-cta__copy .eyebrow__num {
    border-right-color: rgba(26, 25, 22, 0.3);
    opacity: 0.5;
}
.ip-cta__title {
    font-family: var(--ff-display);
    font-weight: 500;
    font-size: clamp(1.8rem, 4vw, 3rem);
    line-height: 1.08;
    letter-spacing: -0.005em;
    color: var(--ink);
    margin: 0 0 12px;
}
.ip-cta__title em {
    font-style: italic;
    font-weight: 400;
}
.ip-cta__sub {
    font-family: var(--ff-body);
    font-size: 0.92rem;
    line-height: 1.5;
    color: rgba(26, 25, 22, 0.65);
    margin: 0;
}

.ip-cta__btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}
/* Sur fond or-solaire : btn--primary en encre pour contraste */
.ip-cta__btns .btn--primary {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--or-solaire);
}
.ip-cta__btns .btn--primary:hover {
    background: oklch(0.10 0.02 250);
    border-color: oklch(0.10 0.02 250);
    color: var(--paper);
}
/* btn--ghost adapté au fond or */
.ip-cta__btns .btn--ghost {
    border-color: var(--ink);
    color: var(--ink);
}
.ip-cta__btns .btn--ghost:hover {
    background: var(--ink);
    color: var(--or-solaire);
}


/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
    .ip-defi {
        grid-template-columns: 1fr;
    }

    .ip-route {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .ip-route__line {
        min-height: 24px;
        margin: 0;
    }
    .ip-route__line::before {
        left: 50%;
        right: auto;
        top: 0;
        bottom: 0;
        width: 1px;
        height: 100%;
        background: repeating-linear-gradient(
            to bottom,
            var(--or-patine) 0 6px,
            transparent 6px 12px
        );
    }
    .ip-route__line-meta {
        background: var(--paper);
        padding: 6px 14px;
    }
    .ip-route__point--end {
        text-align: left;
        align-items: flex-start;
    }
    .ip-route__point--end .ip-route__pin {
        right: auto;
        left: 0;
    }
    .ip-route__point--end p {
        text-align: left;
    }
}

@media (max-width: 720px) {
    .ip-principle {
        grid-template-columns: 60px 1fr;
        gap: 20px;
    }
}

@media (max-width: 640px) {
    .ip-hero {
        min-height: 460px;
        padding-bottom: 48px;
    }
    .ip-anchor {
        font-size: 9px;
        padding: 7px 12px;
    }
    .ip-cta__inner {
        flex-direction: column;
        align-items: flex-start;
    }
}


/* ══════════════════════════════════════════════════════════════
   Accessibilité — reduced motion
   ══════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
    .ip-hero__scroll-bar { animation: none; opacity: 0.4; }
    .ip-anchor { transition: none; }
}

/* ══════════════════════════════════════════════════════════════
   PAGE RÈGLEMENT — Le Raid Solaire
   Source : règlement officiel Sportbreizh 2026 (15 articles)
   Namespace : .reg-* (intro, méta, tarifs) + .article* (accordion)
   Charte : Granit & Lumière — Or sur fonds clairs
   ══════════════════════════════════════════════════════════════ */


/* ══════════════════════════════════════════════════════════════
   INTRO + MÉTA LATÉRALE
   ══════════════════════════════════════════════════════════════ */
.reg-intro {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: clamp(40px, 6vw, 72px);
    align-items: start;
    margin-bottom: clamp(48px, 6vw, 72px);
    padding-bottom: clamp(48px, 6vw, 72px);
    border-bottom: 1px solid var(--or-patine);
}

.reg-intro__main h2,
.reg-intro__title {
    font-family: var(--ff-display);
    font-weight: 500;
    font-size: clamp(28px, 3.6vw, 44px);
    line-height: 1.08;
    letter-spacing: -0.005em;
    margin: 0 0 24px;
    color: var(--ink);
}
.reg-intro__title em {
    font-style: italic;
    font-weight: 400;
    color: var(--or-patine);
}

.reg-intro__main p {
    margin: 0 0 16px;
    font-family: var(--ff-body);
    line-height: 1.7;
    color: var(--ink-soft);
}
.reg-intro__main p:last-child { margin-bottom: 0; }
.reg-intro__main .lede {
    font-size: clamp(16px, 1.4vw, 19px);
    color: var(--ink);
}

/* Aside méta empilée */
.reg-intro__aside {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding: clamp(24px, 3vw, 32px);
    background: var(--sable-bg);
    border-radius: 3px;
    border: 1px solid var(--rule);
}

.reg-meta .eyebrow { margin-bottom: 8px; }
.reg-meta p {
    margin: 0;
    font-family: var(--ff-body);
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--ink-soft);
}
.reg-meta p strong { color: var(--ink); }

@media (max-width: 900px) {
    .reg-intro {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}


/* ══════════════════════════════════════════════════════════════
   ACCORDION ARTICLES
   ══════════════════════════════════════════════════════════════ */
.articles {
    border-top: 1px solid var(--rule);
}

.article {
    border-bottom: 1px solid var(--rule);
}

.article summary {
    display: grid;
    grid-template-columns: 140px 1fr 32px;
    gap: 24px;
    align-items: center;
    padding: 28px 0;
    cursor: pointer;
    list-style: none;
    transition: padding 0.15s ease;
}
.article summary::-webkit-details-marker { display: none; }
.article summary:hover { padding-left: 8px; }

.article__num {
    font-family: var(--ff-display);
    font-style: italic;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.3em;
    color: var(--or-patine);
    text-transform: uppercase;
}

.article__title {
    font-family: var(--ff-display);
    font-weight: 500;
    font-size: clamp(18px, 1.7vw, 22px);
    letter-spacing: 0.005em;
    color: var(--ink);
    transition: color 0.15s ease;
}
.article summary:hover .article__title { color: var(--or-patine); }

/* Caret + / − */
.article__caret {
    position: relative;
    width: 18px;
    height: 18px;
    margin-left: auto;
    color: var(--or-patine);
}
.article__caret::before,
.article__caret::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    background: currentColor;
    transition: transform 0.2s ease, opacity 0.2s ease;
}
/* Barre horizontale */
.article__caret::before {
    width: 14px;
    height: 1.5px;
    transform: translate(-50%, -50%);
}
/* Barre verticale */
.article__caret::after {
    width: 1.5px;
    height: 14px;
    transform: translate(-50%, -50%);
}
.article[open] .article__caret::after {
    transform: translate(-50%, -50%) scaleY(0);
    opacity: 0;
}

/* Corps de l'article */
.article__body {
    padding: 0 0 32px 164px;
    max-width: 80ch;
}
.article__body p {
    font-family: var(--ff-body);
    font-size: 15px;
    line-height: 1.75;
    color: var(--ink-soft);
    margin: 0 0 14px;
}
.article__body p:last-child { margin-bottom: 0; }
.article__body p strong {
    color: var(--ink);
    font-weight: 600;
}

/* Sous-titre dans un article (ex: dans l'article 5 et 7) */
.article__subhead {
    font-family: var(--ff-display);
    font-weight: 500;
    font-style: italic;
    font-size: 16px;
    letter-spacing: 0.02em;
    color: var(--ink);
    margin: 24px 0 14px;
}

/* Alerte (en gras, fond doré pâle) */
.article__alert {
    margin-top: 18px !important;
    padding: 14px 18px;
    background: oklch(0.96 0.04 60);
    border-left: 2px solid var(--or-solaire);
    border-radius: 0 2px 2px 0;
}
.article__alert strong { color: var(--ink); }


/* ══════════════════════════════════════════════════════════════
   LISTES (.reg-list — utilisées dans articles 5 et 9)
   ══════════════════════════════════════════════════════════════ */
.reg-list {
    list-style: none;
    padding: 0;
    margin: 0 0 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.reg-list li {
    padding-left: 20px;
    position: relative;
    font-family: var(--ff-body);
    font-size: 15px;
    line-height: 1.7;
    color: var(--ink-soft);
}
.reg-list li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--or-patine);
    font-weight: 600;
}
.reg-list li strong { color: var(--ink); font-weight: 600; }
.reg-list li em { color: var(--or-patine); font-style: italic; }

/* Variante avec puces ovales (pour la charte de bonne conduite) */
.reg-list--bullets li::before {
    content: "·";
    font-size: 22px;
    line-height: 1.1;
    top: -2px;
}


/* ══════════════════════════════════════════════════════════════
   GRILLE TARIFAIRE (article 7)
   ══════════════════════════════════════════════════════════════ */
.reg-tarifs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0;
    margin: 8px 0 24px;
    border: 1px solid var(--or-patine);
    border-radius: 3px;
    overflow: hidden;
}

.reg-tarif {
    padding: 20px 22px;
    background: var(--paper);
    border-right: 1px solid rgba(184, 132, 30, 0.2);
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: background 0.15s;
}
.reg-tarif:last-child { border-right: 0; }
.reg-tarif:hover { background: var(--sable-bg); }

.reg-tarif__label {
    font-family: var(--ff-mono);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--or-patine);
    line-height: 1.35;
}
.reg-tarif__label small {
    display: block;
    font-size: 9px;
    letter-spacing: 0.1em;
    color: var(--ink-mute);
    margin-top: 3px;
    text-transform: none;
}

.reg-tarif__price {
    font-family: var(--ff-display);
    font-weight: 500;
    font-size: clamp(24px, 2.6vw, 32px);
    letter-spacing: -0.005em;
    color: var(--ink);
    line-height: 1;
}

@media (max-width: 900px) {
    .reg-tarifs { grid-template-columns: 1fr 1fr; }
    .reg-tarif:nth-child(2n) { border-right: 0; }
    .reg-tarif:nth-child(-n+2) { border-bottom: 1px solid rgba(184, 132, 30, 0.2); }
}
@media (max-width: 520px) {
    .reg-tarifs { grid-template-columns: 1fr; }
    .reg-tarif { border-right: 0; border-bottom: 1px solid rgba(184, 132, 30, 0.2); }
    .reg-tarif:last-child { border-bottom: 0; }
}


/* ══════════════════════════════════════════════════════════════
   OPTIONS À AJOUTER (article 7)
   ══════════════════════════════════════════════════════════════ */
.reg-options {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 8px 0 24px;
    border-top: 1px solid var(--rule);
}
.reg-option {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4px 24px;
    padding: 18px 0;
    border-bottom: 1px solid var(--rule);
    align-items: start;
}
.reg-option:last-child { border-bottom: 0; }

.reg-option strong {
    font-family: var(--ff-display);
    font-weight: 500;
    font-size: 15px;
    color: var(--ink);
    letter-spacing: 0.005em;
}

.reg-option__price {
    font-family: var(--ff-mono);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--or-patine);
    text-align: right;
    white-space: nowrap;
}
.reg-option__price small {
    color: var(--ink-mute);
    font-size: 11px;
}

.reg-option p {
    grid-column: 1 / -1;
    font-family: var(--ff-body);
    font-size: 13px;
    line-height: 1.55;
    color: var(--ink-mute);
    margin: 4px 0 0;
}
.reg-option p strong { color: var(--ink-soft); font-weight: 600; font-size: 13px; }

@media (max-width: 520px) {
    .reg-option {
        grid-template-columns: 1fr;
        gap: 4px;
    }
    .reg-option__price { text-align: left; }
}


/* ══════════════════════════════════════════════════════════════
   CTA acceptation en fin de page
   ══════════════════════════════════════════════════════════════ */
.reg-cta {
    margin-top: clamp(48px, 6vw, 72px);
    padding: clamp(28px, 3.5vw, 40px) clamp(32px, 4vw, 48px);
    background: var(--ink);
    color: var(--paper);
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}
.reg-cta__text {
    margin: 0;
    font-family: var(--ff-display);
    font-style: italic;
    font-weight: 400;
    font-size: clamp(16px, 1.6vw, 19px);
    line-height: 1.5;
    color: var(--paper);
    max-width: 50ch;
}
.reg-cta .btn--primary {
    flex-shrink: 0;
}


/* ══════════════════════════════════════════════════════════════
   RESPONSIVE — accordion
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 700px) {
    .article summary {
        grid-template-columns: 1fr 24px;
        gap: 8px 12px;
    }
    .article__num {
        grid-column: 1;
        grid-row: 1;
        font-size: 11px;
        letter-spacing: 0.22em;
    }
    .article__title {
        grid-column: 1 / span 2;
        grid-row: 2;
    }
    .article__caret {
        grid-column: 2;
        grid-row: 1;
    }
    .article__body {
        padding-left: 0;
    }
}


/* ══════════════════════════════════════════════════════════════
   Accessibilité — reduced motion
   ══════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
    .article summary,
    .article__caret::before,
    .article__caret::after,
    .reg-tarif {
        transition: none;
    }
    .article summary:hover {
        padding-left: 0;
    }
}

/* ══════════════════════════════════════════════════════════════
   PAGE MON CRÉNEAU — vérification email + grille de créneaux
   ══════════════════════════════════════════════════════════════ */

/* ── Hero compact, fond sombre ──────────────────────────────── */
.creneau-hero {
    background: var(--dark-bg);
    color: var(--paper);
    padding: clamp(72px, 9vw, 128px) 0 clamp(56px, 7vw, 96px);
    border-bottom: 1px solid rgba(184, 132, 30, 0.22);
    position: relative;
    overflow: hidden;
}
/* Discret arc solaire en arrière-plan (filet doré qui évoque la course) */
.creneau-hero::after {
    content: '';
    position: absolute;
    inset: auto -10% -2px -10%;
    height: 220px;
    border-top: 1px dashed rgba(232, 169, 60, 0.22);
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    pointer-events: none;
}
.creneau-hero .shell { position: relative; z-index: 1; }
.creneau-hero__eyebrow {
    font-family: var(--ff-mono);
    font-size: 11px;
    letter-spacing: .25em;
    text-transform: uppercase;
    margin-bottom: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}
.creneau-hero__eyebrow .baseline--light { font-family: var(--ff-display); font-size: 14px; letter-spacing: .05em; text-transform: none; }
.creneau-hero__sep   { color: var(--or-patine); }
.creneau-hero__date  { color: var(--paper); opacity: 0.7; }
.creneau-hero__title {
    font-family: var(--ff-display);
    font-size: clamp(40px, 6vw, 76px);
    line-height: 1.02;
    letter-spacing: -0.015em;
    margin: 0 0 32px;
    max-width: 14ch;
}
.creneau-hero__lede {
    max-width: 56ch;
    font-size: clamp(15px, 1.3vw, 17px);
    line-height: 1.65;
    opacity: 0.82;
    margin: 0;
}

/* ── Conteneur étapes ───────────────────────────────────────── */
.creneau-stage { padding: clamp(56px, 8vw, 120px) 0 clamp(80px, 10vw, 160px); }
.creneau-step + .creneau-step { margin-top: 64px; }

/* En-tête d'étape : numéro encadré + titre */
.creneau-step__head {
    display: flex;
    align-items: baseline;
    gap: 24px;
    margin-bottom: 20px;
}
.creneau-step__num {
    flex: 0 0 auto;
    font-family: var(--ff-mono);
    font-size: 10px;
    letter-spacing: .35em;
    color: var(--or-patine);
    border: 1px solid var(--or-patine);
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: center;
}
.creneau-step__num--ok {
    background: var(--or-solaire);
    border-color: var(--or-solaire);
    color: var(--ink);
    font-size: 20px;
    font-family: var(--ff-display);
}
.creneau-step__title {
    font-family: var(--ff-display);
    font-size: clamp(28px, 3.5vw, 44px);
    line-height: 1.1;
    letter-spacing: -0.01em;
    margin: 0;
}
.creneau-step__lede {
    font-size: 15px;
    line-height: 1.65;
    color: var(--ink-soft);
    margin: 0 0 32px;
    max-width: 60ch;
}

/* ── Alertes ────────────────────────────────────────────────── */
.creneau-alert {
    border-left: 3px solid;
    padding: 16px 20px;
    margin: 0 0 32px;
    font-size: 14px;
    line-height: 1.55;
    background: var(--paper);
}
.creneau-alert--error {
    border-color: #C44A1E;
    background: oklch(0.96 0.04 40);
}
.creneau-alert--error strong {
    display: block;
    font-family: var(--ff-mono);
    font-size: 11px;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: #C44A1E;
    margin-bottom: 6px;
}
.creneau-alert--error ul { margin: 0; padding-left: 20px; }
.creneau-alert--info {
    border-color: var(--or-patine);
    background: oklch(0.96 0.03 85);
}
.creneau-alert--info strong { color: var(--ink); font-weight: 600; }

/* ── Étape 1 — Formulaire email (épuré, centré, posé) ───────── */
.creneau-form { margin-top: 8px; }

.creneau-field {
    display: block;
    margin-bottom: 32px;
    max-width: 560px;
}
.creneau-field__label {
    display: block;
    font-family: var(--ff-mono);
    font-size: 11px;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: var(--ink-mute);
    margin-bottom: 12px;
}
.creneau-field input[type="email"] {
    width: 100%;
    border: 0;
    border-bottom: 1px solid var(--ink-mute);
    background: transparent;
    padding: 12px 0 14px;
    font-family: var(--ff-display);
    font-size: clamp(22px, 2.4vw, 28px);
    color: var(--ink);
    transition: border-color .2s, padding-bottom .2s;
    border-radius: 0;
}
.creneau-field input[type="email"]:focus {
    outline: none;
    border-bottom-color: var(--or-solaire);
    border-bottom-width: 2px;
    padding-bottom: 13px;
}
.creneau-field input[type="email"]::placeholder {
    color: var(--ink-mute);
    opacity: 0.45;
    font-style: italic;
}

.creneau-form__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    margin-top: 32px;
}
.creneau-form__back {
    color: var(--ink-mute);
    font-family: var(--ff-mono);
    font-size: 11px;
    letter-spacing: .25em;
    text-transform: uppercase;
    text-decoration: none;
    border-bottom: 1px solid currentColor;
    padding-bottom: 2px;
    transition: color .15s;
}
.creneau-form__back:hover { color: var(--ink); }

/* ── Étape 2 — Plaque identité coureur ──────────────────────── */
.creneau-coureur {
    background: var(--paper);
    border-left: 3px solid var(--or-solaire);
    padding: 24px 28px;
    margin: 24px 0 40px;
}
.creneau-coureur__dl {
    display: grid;
    grid-template-columns: max-content 1fr;
    column-gap: 32px;
    row-gap: 10px;
    margin: 0;
    font-size: 14px;
}
.creneau-coureur__dl dt {
    font-family: var(--ff-mono);
    font-size: 10px;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--ink-mute);
    align-self: center;
}
.creneau-coureur__dl dd {
    margin: 0;
    color: var(--ink);
    font-size: 15px;
}

/* ── Étape 2 — Grille des créneaux, groupés par heure ───────── */
.creneau-grid-wrap {
    margin: 24px 0 8px;
    display: flex;
    flex-direction: column;
    gap: 36px;
}
.creneau-hour {
    border-top: 1px solid var(--rule);
    padding-top: 20px;
}
.creneau-hour__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 16px;
    gap: 16px;
}
.creneau-hour__label {
    font-family: var(--ff-display);
    font-size: clamp(22px, 2.4vw, 32px);
    letter-spacing: -0.01em;
    color: var(--ink);
}
.creneau-hour__count {
    font-family: var(--ff-mono);
    font-size: 11px;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--ink-mute);
}

.creneau-hour__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(86px, 1fr));
    gap: 6px;
}

/* Le slot lui-même : grand, monospace, sans relief */
.creneau-slot {
    border: 1px solid var(--rule);
    background: var(--paper);
    color: var(--ink);
    font-family: var(--ff-mono);
    font-size: 15px;
    letter-spacing: .04em;
    padding: 14px 4px;
    cursor: pointer;
    transition: background .12s, color .12s, border-color .12s, transform .08s;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1px;
    line-height: 1;
}
.creneau-slot__h { font-weight: 500; }
.creneau-slot__sep { color: var(--ink-mute); margin: 0 1px; font-size: 10px; }
.creneau-slot__m { font-weight: 500; }

.creneau-slot:hover:not(:disabled) {
    background: var(--ink);
    color: var(--paper);
    border-color: var(--ink);
}
.creneau-slot:hover:not(:disabled) .creneau-slot__sep { color: var(--or-solaire); }

.creneau-slot.is-selected {
    background: var(--or-solaire);
    color: var(--ink);
    border-color: var(--or-solaire);
}
.creneau-slot.is-selected .creneau-slot__sep { color: var(--ink); }

.creneau-slot.is-mine {
    border-color: var(--or-patine);
    border-width: 2px;
    padding: 13px 4px; /* compensation du border-width */
    color: var(--or-patine);
}
.creneau-slot.is-mine .creneau-slot__sep { color: var(--or-patine); }
.creneau-slot.is-mine.is-selected {
    background: var(--or-solaire);
    color: var(--ink);
    border-color: var(--or-solaire);
}

.creneau-slot.is-taken,
.creneau-slot:disabled {
    background: transparent;
    color: var(--ink-mute);
    border-style: dashed;
    border-color: var(--rule);
    cursor: not-allowed;
    opacity: 0.5;
}
.creneau-slot.is-taken .creneau-slot__sep { color: var(--ink-mute); }

/* ── Légende sous la grille ─────────────────────────────────── */
.creneau-legende {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin: 28px 0 8px;
    font-family: var(--ff-mono);
    font-size: 11px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--ink-mute);
}
.creneau-legende__item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.creneau-legende__chip {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 1px solid var(--rule);
}
.creneau-legende__chip--mine     { border-color: var(--or-patine); border-width: 2px; }
.creneau-legende__chip--selected { background: var(--or-solaire); border-color: var(--or-solaire); }
.creneau-legende__chip--taken    { border-style: dashed; opacity: 0.5; }

/* ── Barre de soumission ────────────────────────────────────── */
.creneau-form__actions--submit {
    margin-top: 40px;
    padding-top: 28px;
    border-top: 1px solid var(--rule);
}

/* ── Étape 3 — Confirmation, traitement typographique fort ──── */
.creneau-step--confirme {
    text-align: left;
}

.creneau-recap {
    margin: 32px 0 40px;
    background: var(--paper);
    border-left: 3px solid var(--or-solaire);
    padding: clamp(32px, 5vw, 56px) clamp(28px, 4vw, 48px);
    position: relative;
}

.creneau-recap__label {
    font-family: var(--ff-mono);
    font-size: 11px;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--or-patine);
    display: block;
    margin-bottom: 12px;
}

.creneau-recap__hh {
    font-family: var(--ff-display);
    font-size: clamp(72px, 14vw, 156px);
    line-height: 0.95;
    color: var(--ink);
    letter-spacing: -0.04em;
    display: block;
    margin: 0 0 4px;
    font-weight: 400;
    /* Soulignement décoratif : trace de lever de soleil */
    position: relative;
}
.creneau-recap__hh::after {
    content: '';
    display: block;
    width: 80px;
    height: 2px;
    background: var(--or-solaire);
    margin-top: 16px;
}

.creneau-recap__sub {
    font-family: var(--ff-mono);
    font-size: 12px;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--ink-mute);
    display: block;
    margin-top: 20px;
}

.creneau-recap__dl {
    display: grid;
    grid-template-columns: max-content 1fr;
    column-gap: 32px;
    row-gap: 10px;
    margin: 28px 0 0;
    padding-top: 24px;
    border-top: 1px solid var(--rule);
    font-size: 14px;
}
.creneau-recap__dl dt {
    font-family: var(--ff-mono);
    font-size: 10px;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--ink-mute);
    align-self: center;
}
.creneau-recap__dl dd {
    margin: 0;
    color: var(--ink);
    font-size: 15px;
}

/* ── Responsive : mobile ────────────────────────────────────── */
@media (max-width: 700px) {
    .creneau-step__head {
        gap: 16px;
        margin-bottom: 16px;
    }
    .creneau-step__num {
        width: 36px;
        height: 36px;
        font-size: 9px;
    }
    .creneau-hour__grid {
        grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
        gap: 5px;
    }
    .creneau-slot {
        font-size: 13px;
        padding: 12px 2px;
    }
    .creneau-coureur,
    .creneau-recap {
        padding: 22px 20px;
    }
    .creneau-coureur__dl,
    .creneau-recap__dl {
        grid-template-columns: 1fr;
        row-gap: 4px;
    }
    .creneau-coureur__dl dt,
    .creneau-recap__dl dt {
        margin-top: 12px;
    }
    .creneau-coureur__dl dt:first-of-type,
    .creneau-recap__dl dt:first-of-type {
        margin-top: 0;
    }
    .creneau-form__actions {
        gap: 14px;
    }
    .creneau-form__actions .btn {
        flex: 1 1 100%;
        justify-content: center;
    }
    .creneau-recap__hh::after {
        width: 56px;
    }
}


/* ══════════════════════════════════════════════════════════════
   PAGE IMPORT-INSCRITS — outil d'administration
   ══════════════════════════════════════════════════════════════ */

/* ── Cartouche statistique sous l'eyebrow étape 2 ───────────── */
.import-totaux {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 24px 0 32px;
    padding: 24px;
    background: var(--paper);
    border-left: 3px solid var(--or-patine);
}
.import-totaux__bloc {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.import-totaux__num {
    font-family: var(--ff-display);
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1;
    color: var(--ink);
    letter-spacing: -0.02em;
}
.import-totaux__lbl {
    font-family: var(--ff-mono);
    font-size: 10px;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--ink-mute);
}

/* ── Zone de dépôt du fichier ───────────────────────────────── */
.import-dropzone {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: clamp(40px, 6vw, 64px) 24px;
    margin: 24px 0;
    border: 2px dashed var(--ink-mute);
    background: var(--paper);
    cursor: pointer;
    text-align: center;
    transition: border-color .15s, background .15s, transform .1s;
    position: relative;
}
.import-dropzone:hover,
.import-dropzone.is-hover {
    border-color: var(--or-solaire);
    background: oklch(0.97 0.025 85);
}
.import-dropzone.has-file {
    border-color: var(--or-patine);
    border-style: solid;
    background: oklch(0.97 0.025 85);
}
.import-dropzone input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}
.import-dropzone__icon {
    font-family: var(--ff-display);
    font-size: 48px;
    line-height: 1;
    color: var(--or-patine);
    margin-bottom: 4px;
}
.import-dropzone__label {
    font-family: var(--ff-display);
    font-size: clamp(18px, 2vw, 22px);
    color: var(--ink);
}
.import-dropzone__hint {
    font-family: var(--ff-mono);
    font-size: 11px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--ink-mute);
}
.import-dropzone__filename {
    margin-top: 12px;
    font-family: var(--ff-mono);
    font-size: 13px;
    color: var(--or-patine);
    word-break: break-all;
}
.import-dropzone__filename:empty { display: none; }

/* ── Aide repliable « Quelles colonnes » ────────────────────── */
.import-help {
    margin-top: 32px;
    border-top: 1px solid var(--rule);
    padding-top: 20px;
    font-size: 14px;
    color: var(--ink-soft);
    line-height: 1.6;
}
.import-help summary {
    cursor: pointer;
    font-family: var(--ff-mono);
    font-size: 11px;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--ink);
    padding: 6px 0;
}
.import-help summary:hover { color: var(--or-patine); }
.import-help ul {
    list-style: '— ';
    padding-left: 20px;
    margin: 12px 0;
}
.import-help code {
    font-family: var(--ff-mono);
    font-size: 0.9em;
    background: var(--paper);
    border: 1px solid var(--rule);
    padding: 1px 6px;
}

/* ── Récap résultat ──────────────────────────────────────────── */
.import-recap {
    background: var(--paper);
    border-left: 3px solid var(--or-solaire);
    padding: clamp(28px, 4vw, 40px);
    margin: 24px 0 32px;
}
.import-recap__chiffres {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--rule);
}
.import-recap__bloc {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.import-recap__num {
    font-family: var(--ff-display);
    font-size: clamp(48px, 7vw, 72px);
    line-height: 1;
    color: var(--ink);
    letter-spacing: -0.03em;
}
.import-recap__bloc--ins .import-recap__num   { color: var(--or-patine); }
.import-recap__bloc--warn .import-recap__num  { color: #C44A1E; }
.import-recap__lbl {
    font-family: var(--ff-mono);
    font-size: 11px;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--ink-mute);
}
.import-recap__total {
    font-family: var(--ff-mono);
    font-size: 12px;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--ink-mute);
}
.import-recap__total strong { color: var(--ink); font-weight: 600; }
.import-recap__total code {
    font-family: var(--ff-mono);
    color: var(--or-patine);
}

/* ── Détail des avertissements ──────────────────────────────── */
.import-messages {
    margin: 24px 0;
    border-top: 1px solid var(--rule);
    padding-top: 16px;
}
.import-messages summary {
    cursor: pointer;
    font-family: var(--ff-mono);
    font-size: 11px;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: #C44A1E;
    padding: 6px 0;
}
.import-messages ul {
    margin: 12px 0 0;
    padding-left: 24px;
    font-size: 13px;
    color: var(--ink-soft);
    line-height: 1.6;
    max-height: 280px;
    overflow-y: auto;
}

/* ── Bouton « Quitter la session » sobre ────────────────────── */
.creneau-form__back[type="submit"] {
    background: none;
    border: 0;
    border-bottom: 1px solid currentColor;
    padding: 0 0 2px;
    cursor: pointer;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 700px) {
    .import-totaux {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 20px;
    }
    .import-recap__chiffres {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ── Formulaire « Quitter la session », sobre, séparé ─────── */
.import-logout {
    margin-top: 20px;
    text-align: right;
}

/* =====================================================
   liste-creneaux.php — Vue admin « inscrits par créneau »
   Namespace : lc-   ·   Tokens réels uniquement
   ===================================================== */

.lc-body { background: var(--calcaire); }

/* ── Masthead admin ── */
.lc-head {
  background: var(--encre);
  color: var(--calcaire);
  padding-block: clamp(32px, 5vw, 56px);
  border-bottom: 3px solid var(--or-solaire);
}
.lc-title {
  font-family: var(--ff-display);
  font-weight: 600;
  color: var(--calcaire);
  margin: 10px 0 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
}
.lc-sub {
  font-family: var(--ff-mono);
  font-size: 13px;
  color: rgba(250, 248, 243, 0.6);
  margin: 12px 0 0;
}
.lc-code { color: var(--or-solaire); }

.lc-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 30px;
}
.lc-stat {
  padding: 4px 28px;
  border-left: 1px solid rgba(184, 132, 30, 0.4);
}
.lc-stat:first-child { padding-left: 0; border-left: 0; }
.lc-stat__num {
  display: block;
  font-family: var(--ff-mono);
  font-weight: 500;
  font-size: clamp(26px, 3vw, 34px);
  color: var(--or-solaire);
  line-height: 1;
}
.lc-stat__lbl {
  display: block;
  margin-top: 8px;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(250, 248, 243, 0.55);
}

/* ── Corps ── */
.lc-main { padding-block: clamp(40px, 6vw, 80px); }
.lc-section + .lc-section { margin-top: clamp(48px, 7vw, 88px); }
.lc-section__head { margin-bottom: 28px; }
.lc-h2 {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: clamp(22px, 3vw, 32px);
  margin: 8px 0 0;
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.lc-h2__n {
  font-family: var(--ff-mono);
  font-size: 14px;
  color: var(--bruyere);
}
.lc-empty {
  color: var(--schiste);
  font-style: italic;
  margin: 0;
}
.lc-section--wait { border-top: 1px solid var(--sable); padding-top: clamp(40px, 6vw, 72px); }

/* ── Bloc d'heure ── */
.lc-hour + .lc-hour { margin-top: 44px; }
.lc-hour__title {
  font-family: var(--ff-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--or-patine);
  border-bottom: 1px solid var(--sable);
  padding-bottom: 10px;
  margin: 0 0 4px;
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.lc-hour__count {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--ardoise);
}

/* ── Tableau ── */
.lc-tablewrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.lc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.lc-table__th {
  text-align: left;
  font-family: var(--ff-mono);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--schiste);
  padding: 12px 16px;
  border-bottom: 1px solid var(--brouillard);
  white-space: nowrap;
}
.lc-table__th--time,
.lc-table__th--cat { width: 1%; }
.lc-table__td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--sable);
  vertical-align: middle;
  color: var(--encre);
}
.lc-table__tr:hover { background: rgba(232, 169, 60, 0.07); }

.lc-table__td--time {
  font-family: var(--ff-mono);
  font-weight: 500;
  font-size: 15px;
  color: var(--or-patine);
  white-space: nowrap;
}
.lc-table__td--mut {
  font-family: var(--ff-mono);
  font-size: 12px;
  color: var(--ardoise);
  white-space: nowrap;
}
.lc-name strong { font-weight: 600; }
.lc-mail {
  color: var(--galet);
  border-bottom: 1px solid transparent;
}
.lc-mail:hover {
  color: var(--or-patine);
  border-bottom-color: currentColor;
}
.lc-cat {
  font-size: 10px;
  letter-spacing: 0.12em;
  padding: 3px 8px;
  color: var(--schiste);
}

/* ── Impression (race-day) ── */
@media print {
  .lc-head { background: none; color: var(--encre); border-bottom-color: var(--encre); }
  .lc-title, .lc-stat__num { color: var(--encre); }
  .lc-sub, .lc-stat__lbl { color: var(--schiste); }
  .lc-table__tr:hover { background: none; }
  .lc-section { break-inside: avoid; }
  .lc-hour { break-inside: avoid; }
}
