/* ==========================================================
   CSG USL Handball : feuille de style principale
   Mobile first : styles de base pour le mobile, puis
   @media (min-width: …) pour les écrans plus larges.
   Règle : le bleu domine. Rouge : boutons d'action (.btn--cta) et petites
   touches décoratives (section 30), jamais pour du texte.
   ========================================================== */

/* ---------- 0. Polices (hébergées sur le site, licence OFL : assets/fonts/OFL.txt) ---------- */
@font-face {
    font-family: "Barlow";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/barlow-400.woff2") format("woff2");
}

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

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

@font-face {
    font-family: "Barlow Condensed";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("../fonts/barlow-condensed-500.woff2") format("woff2");
}

@font-face {
    font-family: "Barlow Condensed";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/barlow-condensed-700.woff2") format("woff2");
}

@font-face {
    font-family: "Barlow Condensed";
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url("../fonts/barlow-condensed-800.woff2") format("woff2");
}

@font-face {
    font-family: "Barlow Condensed";
    font-style: italic;
    font-weight: 800;
    font-display: swap;
    src: url("../fonts/barlow-condensed-800-italic.woff2") format("woff2");
}

/* ---------- 1. Variables (charte graphique) ---------- */
:root {
    /* Couleurs du club */
    /* Palette officielle de la charte graphique de l'entente */
    --bleu-entente: #1557FF;     /* COULEUR PRINCIPALE : header, hero, sections fortes, titres, liens, boutons */
    --bleu-nuit: #071B3D;        /* texte principal, dégradés, survols */
    --rouge-lillebonne: #F20D2F; /* CTA + petites touches décoratives (jamais de texte) */
    --blanc-craie: #F5F1E8;      /* fond des sections claires */
    --jaune-energie: #F2E600;    /* petites touches décoratives sur fond bleu uniquement (jamais de texte) */

    /* Résultats de match uniquement (exception à la règle « rouge = CTA ») */
    --vert-victoire: #157F45;
    --rouge-defaite: #C40A25;
    --vert-pale: #E2F4E9;
    --rouge-pale: #FCE5E8;

    /* Neutres complémentaires */
    --blanc: #FFFFFF;            /* cartes, texte sur fond bleu */
    --gris-parquet: #E4DFD3;     /* séparateurs, zones */
    --gris-ardoise: #56607A;     /* texte secondaire */

    /* Teintes dérivées */
    --rouge-fonce: #C40A25;                  /* survol des CTA */
    --bleu-pale: #E6EDFF;                    /* fonds d'info, placeholders */
    --bleu-lumiere: #4A7DFF;                 /* halo lumineux des fonds bleus */
    --sombre-texte: rgba(255, 255, 255, .8);   /* texte secondaire sur fond bleu */
    --sombre-bordure: rgba(255, 255, 255, .18);
    --sombre-surface: rgba(255, 255, 255, .08);

    /* Typographies */
    --police-titre: "Barlow Condensed", "Arial Narrow", sans-serif;
    --police-texte: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;

    /* Mise en page */
    --largeur-max: 1200px;
    --gouttiere: 16px;
    --rayon: 10px;
    --rayon-grand: 18px;
    --rayon-pilule: 999px;
    --ombre: 0 1px 2px rgba(7, 27, 61, .05), 0 6px 20px rgba(7, 27, 61, .06);
    --ombre-survol: 0 14px 34px rgba(7, 27, 61, .14);
    --transition: 200ms ease;

    /* Fond bleu des sections fortes : halo clair en haut à droite, bleu nuit en bas à gauche */
    --fond-bleu:
        radial-gradient(ellipse 60% 70% at 100% 0%, var(--bleu-lumiere), transparent 70%),
        radial-gradient(ellipse 65% 75% at 0% 100%, var(--bleu-nuit), transparent 70%),
        var(--bleu-entente);

    /* Fond « affiche » du hero : bleu nuit de la charte, éclairé par le bleu entente */
    --fond-affiche:
        radial-gradient(ellipse 80% 100% at 75% 40%, var(--bleu-entente), transparent 75%),
        radial-gradient(ellipse 45% 55% at 0% 100%, rgba(21, 87, 255, .55), transparent 70%),
        var(--bleu-nuit);

    /* Grain léger façon affiche imprimée */
    --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
}

@media (min-width: 600px) {
    :root { --gouttiere: 24px; }
}

/* ---------- 2. Base ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--blanc-craie);
    color: var(--bleu-nuit);
    font-family: var(--police-texte);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
}

main {
    flex: 1;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

::selection {
    background: var(--bleu-entente);
    color: var(--blanc);
}

/* ---------- 3. Typographie ---------- */
h1, h2, h3, h4 {
    margin: 0 0 .75rem;
    font-family: var(--police-titre);
    font-weight: 800;
    text-transform: uppercase;
    line-height: .95;
    letter-spacing: -.005em;
    color: var(--bleu-entente);
}

/* Grands titres penchés, comme sur les affiches de la charte */
h1, h2, h3 {
    font-style: italic;
}

h1 { font-size: clamp(2.75rem, 6vw + 1rem, 5rem); }
h2 { font-size: clamp(2rem, 3.5vw + 1rem, 3.5rem); }
h3 { font-size: 1.6rem; line-height: 1; }
h4 { font-size: 1.25rem; line-height: 1.1; }

p, ul, ol {
    margin: 0 0 1rem;
}

strong, b {
    font-weight: 600;
}

a {
    color: var(--bleu-entente);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
    transition: color var(--transition), opacity var(--transition);
}

a:hover {
    color: var(--bleu-nuit);
}

/* Petit libellé au-dessus d'un titre (« PROCHAIN MATCH ») */
.surtitre {
    display: inline-block;
    margin-bottom: .6rem;
    font-family: var(--police-texte);
    font-weight: 600;
    font-size: .8rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--bleu-entente);
}

/* Titre géant façon affiche, une ligne par <span> */
.titre-xxl {
    margin: 0 0 1.5rem;
    font-size: clamp(3.25rem, 11vw, 8.5rem);
    line-height: .86;
    letter-spacing: -.01em;
}

.titre-xxl > span {
    display: block;
}

/* Lettres évidées (contour seul) */
@supports (-webkit-text-stroke: 1px black) {
    .contour {
        color: transparent;
        -webkit-text-stroke: 2px var(--bleu-entente);
    }
}

.texte-secondaire {
    color: var(--gris-ardoise);
}

.chapeau {
    font-size: 1.15rem;
    font-weight: 500;
}

/* ---------- 4. Accessibilité ---------- */
:focus-visible {
    outline: 3px solid var(--bleu-entente);
    outline-offset: 3px;
}

.zone-sombre :focus-visible {
    outline-color: var(--blanc);
}

/* Lien « Aller au contenu », visible seulement au clavier */
.lien-evitement {
    position: absolute;
    top: -100px;
    left: var(--gouttiere);
    z-index: 200;
    padding: .75rem 1rem;
    background: var(--blanc);
    color: var(--bleu-nuit);
    font-weight: 600;
    border-radius: var(--rayon);
}

.lien-evitement:focus {
    top: .5rem;
}

/* Texte lu par les lecteurs d'écran mais invisible */
.visuellement-cache {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ---------- 5. Mise en page ---------- */
.conteneur {
    width: 100%;
    max-width: calc(var(--largeur-max) + 2 * var(--gouttiere));
    margin-inline: auto;
    padding-inline: var(--gouttiere);
}

.section {
    padding-block: 3.5rem;
}

.section--blanche {
    background: var(--blanc);
}

/* Zones à fond bleu (texte blanc) : header, hero, sections fortes, footer */
.zone-sombre {
    color: var(--blanc);
}

.zone-sombre :is(h1, h2, h3, h4),
.zone-sombre a:not(.btn) {
    color: var(--blanc);
}

.zone-sombre .surtitre,
.zone-sombre .texte-secondaire {
    color: var(--sombre-texte);
}

.zone-sombre .contour {
    -webkit-text-stroke-color: var(--blanc);
}

.section--bleue,
.section--nuit {
    position: relative;
    isolation: isolate;
}

.section--bleue { background: var(--fond-bleu); }
.section--nuit  { background: var(--bleu-nuit); }

/* Lignes du terrain en décor (sous le contenu) */
.section--bleue::before,
.section--nuit::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: url("../img/terrain.svg") center / cover no-repeat;
    pointer-events: none;
}

/* En-tête de section : surtitre + titre (+ lien à droite) */
.entete-section {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2rem;
}

.entete-section h2 {
    margin: 0;
}

/* Grille de cartes : autant de colonnes que la largeur le permet */
.grille {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
}

.groupe-boutons {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

@media (min-width: 900px) {
    .section { padding-block: 5.5rem; }
}

/* ---------- 6. Header et menu ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(21, 87, 255, .97);
    border-bottom: 1px solid var(--sombre-bordure);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.site-header__barre {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    min-height: 68px;
}

.logo {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding-block: .6rem;
    text-decoration: none;
}

.logo img {
    width: auto;
    height: 50px;
}

/* Trait fin entre les deux logos, comme sur la charte */
.logo__separateur {
    width: 1px;
    height: 34px;
    background: rgba(255, 255, 255, .45);
}

/* Bouton burger : caché sans JS (le menu reste alors toujours affiché) */
.menu-bouton {
    display: none;
    align-items: center;
    gap: .6rem;
    min-height: 44px;
    padding: .5rem 1rem;
    background: var(--sombre-surface);
    border: 1px solid var(--sombre-bordure);
    border-radius: var(--rayon-pilule);
    color: var(--blanc);
    font: 600 .9rem var(--police-texte);
    cursor: pointer;
}

.js .menu-bouton {
    display: inline-flex;
}

/* Icône 3 barres → croix */
.menu-bouton__icone,
.menu-bouton__icone::before,
.menu-bouton__icone::after {
    display: block;
    width: 18px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: transform var(--transition), background var(--transition);
}

.menu-bouton__icone {
    position: relative;
}

.menu-bouton__icone::before,
.menu-bouton__icone::after {
    content: "";
    position: absolute;
    left: 0;
}

.menu-bouton__icone::before { top: -6px; }
.menu-bouton__icone::after { top: 6px; }

.menu-bouton[aria-expanded="true"] .menu-bouton__icone {
    background: transparent;
}

.menu-bouton[aria-expanded="true"] .menu-bouton__icone::before {
    transform: translateY(6px) rotate(45deg);
}

.menu-bouton[aria-expanded="true"] .menu-bouton__icone::after {
    transform: translateY(-6px) rotate(-45deg);
}

/* Menu mobile : grands liens pleine largeur sous la barre */
.nav-principale {
    flex-basis: 100%;
}

.js .nav-principale {
    display: none;
}

.js .nav-principale.est-ouvert {
    display: block;
}

.nav-principale ul {
    margin: 0;
    padding: .5rem 0 1.5rem;
    list-style: none;
}

.nav-principale a:not(.btn) {
    display: block;
    padding: .7rem 0;
    border-bottom: 1px solid var(--sombre-bordure);
    font-family: var(--police-titre);
    font-weight: 800;
    font-size: 2rem;
    line-height: 1.1;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--sombre-texte);
}

.nav-principale a:not(.btn):hover,
.nav-principale a[aria-current="page"] {
    color: var(--blanc);
}

.nav-principale__cta {
    padding-top: 1.25rem;
}

/* Sous-menu (ex. Le club) : sur téléphone, listé en retrait sous sa rubrique */
.nav-principale .sous-menu {
    padding: .25rem 0 .75rem 1.25rem;
}

.nav-principale .sous-menu a:not(.btn) {
    padding: .45rem 0;
    border-bottom: 0;
    font-size: 1.35rem;
}

.nav-principale__chevron {
    display: none;
}

/* Grand écran : menu horizontal, plus de burger */
@media (min-width: 900px) {
    .js .menu-bouton {
        display: none;
    }

    .nav-principale,
    .js .nav-principale {
        display: block;
        flex-basis: auto;
    }

    .nav-principale ul {
        display: flex;
        align-items: center;
        gap: .25rem;
        padding: 0;
    }

    .nav-principale a:not(.btn) {
        position: relative;
        padding: .5rem .8rem;
        border: 0;
        font-family: var(--police-texte);
        font-weight: 500;
        font-size: .95rem;
        text-transform: none;
    }

    /* Page active : petit trait bleu sous le lien */
    .nav-principale a[aria-current="page"]::after {
        content: "";
        position: absolute;
        left: .8rem;
        right: .8rem;
        bottom: .15rem;
        height: 2px;
        border-radius: 2px;
        background: var(--jaune-energie);
    }

    .nav-principale__cta {
        margin-left: 1rem;
        padding-top: 0;
    }

    /* Sous-menu : s'ouvre au survol ou quand un de ses liens a le focus clavier */
    .nav-principale__parent {
        position: relative;
    }

    .nav-principale__chevron {
        display: inline-block;
        width: .4em;
        height: .4em;
        margin-left: .45em;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        transform: translateY(-.2em) rotate(45deg);
    }

    .nav-principale .sous-menu {
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 10;
        display: block;
        min-width: 13rem;
        padding: .5rem;
        background: var(--bleu-nuit);
        border: 1px solid var(--sombre-bordure);
        border-radius: var(--rayon);
        box-shadow: 0 18px 40px rgba(7, 27, 61, .35);
        opacity: 0;
        visibility: hidden;
        transform: translateY(6px);
        transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
    }

    .nav-principale__parent:hover > .sous-menu,
    .nav-principale__parent:focus-within > .sous-menu {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .nav-principale .sous-menu a:not(.btn) {
        padding: .55rem .8rem;
        border-radius: 8px;
        font-size: .95rem;
        white-space: nowrap;
    }

    .nav-principale .sous-menu a:not(.btn):hover {
        background: var(--sombre-surface);
    }

    .nav-principale .sous-menu a[aria-current="page"]::after {
        display: none;
    }
}

/* ---------- 7. Hero (haut de page sombre) ---------- */
.hero {
    padding-block: 3.5rem 4rem;
}

.hero__texte {
    max-width: 34rem;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    color: var(--sombre-texte);
}

@media (min-width: 900px) {
    .hero {
        padding-block: 6rem 7rem;
    }
}

/* Pastille d'info (« Saison … ») */
.pastille {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    margin-bottom: 1.75rem;
    padding: .4rem .9rem;
    background: var(--sombre-surface);
    border: 1px solid var(--sombre-bordure);
    border-radius: var(--rayon-pilule);
    font-size: .85rem;
    font-weight: 600;
}

.pastille::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--jaune-energie);
    box-shadow: 0 0 0 3px rgba(242, 230, 0, .25);
}

/* ---------- 8. Footer ---------- */
.site-footer {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(ellipse 70% 90% at 50% 120%, var(--bleu-nuit), transparent 70%),
        var(--bleu-entente);
    border-top: 1px solid var(--sombre-bordure);
    color: var(--sombre-texte);
}

.site-footer__grille {
    display: grid;
    gap: 2.5rem;
    padding-block: 3.5rem 2.5rem;
}

.site-footer .logo {
    margin-bottom: .75rem;
}

.site-footer .logo img {
    height: 64px;
}

.site-footer .logo__separateur {
    height: 48px;
}

.site-footer__nom {
    margin-bottom: .75rem;
    font-family: var(--police-titre);
    font-weight: 800;
    font-size: 2.25rem;
    line-height: 1;
    text-transform: uppercase;
    color: var(--blanc);
}

.site-footer__titre {
    margin-bottom: 1rem;
    font-family: var(--police-texte);
    font-style: normal;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .16em;
    color: var(--sombre-texte);
}

.zone-sombre .site-footer__titre {
    color: var(--sombre-texte);
}

.site-footer__liens {
    padding: 0;
    list-style: none;
}

.site-footer__liens li + li {
    margin-top: .4rem;
}

.site-footer a {
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
}

.site-footer__bas {
    padding-block: 1.25rem;
    border-top: 1px solid var(--sombre-bordure);
    font-size: .85rem;
}

.site-footer__bas {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: .5rem 1.5rem;
}

.site-footer__bas p {
    margin: 0;
}

@media (min-width: 900px) {
    .site-footer__grille {
        grid-template-columns: 2fr 1fr 1.5fr;
        gap: 3rem;
    }
}

/* ---------- 9. Boutons (pilules) ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    min-height: 48px;              /* zone tactile confortable */
    padding: .7rem 1.5rem;
    background: var(--bleu-entente);
    color: var(--blanc);
    border: 2px solid transparent;
    border-radius: var(--rayon-pilule);
    font-family: var(--police-texte);
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: background var(--transition), color var(--transition),
                border-color var(--transition), transform var(--transition);
}

.btn:hover {
    background: var(--bleu-nuit);
    color: var(--blanc);
}

.btn:active {
    transform: translateY(1px);
}

/* Flèche qui avance au survol : <span class="btn__fleche" aria-hidden="true">→</span> */
.btn__fleche {
    transition: transform var(--transition);
}

.btn:hover .btn__fleche {
    transform: translateX(4px);
}

/* Le seul usage du rouge */
.btn--cta {
    background: var(--rouge-lillebonne);
}

.btn--cta:hover {
    background: var(--rouge-fonce);
}

.btn--contour {
    background: transparent;
    color: var(--bleu-entente);
    border-color: var(--bleu-entente);
}

.btn--contour:hover {
    background: var(--bleu-entente);
    color: var(--blanc);
}

/* Pour fonds sombres */
.btn--clair {
    background: var(--blanc);
    color: var(--bleu-entente);
}

.btn--clair:hover {
    background: var(--bleu-pale);
    color: var(--bleu-entente);
}

.btn--contour-clair {
    background: transparent;
    color: var(--blanc);
    border-color: rgba(255, 255, 255, .8);
}

.btn--contour-clair:hover {
    background: var(--blanc);
    color: var(--bleu-entente);
}

.btn--petit {
    min-height: 38px;
    padding: .45rem 1.1rem;
    font-size: .9rem;
}

.btn:disabled,
.btn[aria-disabled="true"] {
    opacity: .45;
    cursor: not-allowed;
    transform: none;
}

/* ---------- 10. Badges ---------- */
.badge {
    display: inline-flex;
    align-items: center;
    padding: .2rem .65rem;
    background: var(--bleu-entente);
    color: var(--blanc);
    border-radius: var(--rayon-pilule);
    font-family: var(--police-texte);
    font-weight: 600;
    font-size: .72rem;
    line-height: 1.5;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.badge--neutre {
    background: var(--gris-parquet);
    color: var(--bleu-nuit);
}

.badge--contour {
    background: transparent;
    color: var(--bleu-entente);
    box-shadow: inset 0 0 0 1px currentColor;
}

.zone-sombre .badge--neutre {
    background: var(--sombre-surface);
    color: var(--blanc);
    box-shadow: inset 0 0 0 1px var(--sombre-bordure);
}

/* ---------- 11. Cartes (actualités) ---------- */
.carte {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--blanc);
    border: 1px solid var(--gris-parquet);
    border-radius: var(--rayon-grand);
    box-shadow: var(--ombre);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
}

.carte__media {
    aspect-ratio: 16 / 10;
    background: var(--gris-parquet);
    overflow: hidden;
}

.carte__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms ease;
}

.carte__corps {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: .6rem;
    padding: 1.35rem 1.35rem 1.5rem;
}

.carte__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .6rem;
    font-size: .85rem;
    color: var(--gris-ardoise);
}

.zone-sombre .carte__meta {
    color: var(--sombre-texte);
}

.carte__titre {
    margin: 0;
    font-size: 1.65rem;
}

.carte__titre a {
    color: inherit;
    text-decoration: none;
}

/* Toute la carte est cliquable grâce au lien du titre */
.carte__titre a::after {
    content: "";
    position: absolute;
    inset: 0;
}

.carte__extrait {
    margin: 0;
    color: var(--gris-ardoise);
}

.carte__suite {
    margin-top: auto;
    padding-top: .5rem;
    font-weight: 600;
    color: var(--bleu-entente);
}

.carte:has(.carte__titre a):hover {
    transform: translateY(-4px);
    box-shadow: var(--ombre-survol);
}

.carte:has(.carte__titre a):hover .carte__media img {
    transform: scale(1.04);
}

/* Carte « verre » translucide, pour les zones sombres */
.carte-verre {
    padding: 1.5rem;
    background: var(--sombre-surface);
    border: 1px solid var(--sombre-bordure);
    border-radius: var(--rayon-grand);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

/* ---------- 12. Cartes albums (titre sur l'image) ---------- */
.carte-album {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    background: var(--bleu-nuit);
    border-radius: var(--rayon-grand);
    box-shadow: var(--ombre);
    overflow: hidden;
    color: var(--blanc);
    text-decoration: none;
    transition: transform var(--transition), box-shadow var(--transition);
}

.carte-album img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms ease;
}

.carte-album__infos {
    position: absolute;
    inset: auto 0 0;
    padding: 3rem 1.35rem 1.2rem;
    background: linear-gradient(to top, rgba(7, 27, 61, .95), rgba(7, 27, 61, 0));
}

.carte-album__titre {
    margin: 0 0 .25rem;
    font-size: 1.6rem;
    color: var(--blanc);
}

.carte-album__meta {
    font-size: .85rem;
    color: var(--sombre-texte);
}

.carte-album__categorie {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 1;
}

.carte-album:hover {
    color: var(--blanc);
    transform: translateY(-4px);
    box-shadow: var(--ombre-survol);
}

.carte-album:hover img {
    transform: scale(1.05);
}

/* ---------- 13. Formulaires (admin) ---------- */
.champ {
    margin-bottom: 1.25rem;
}

.champ label {
    display: block;
    margin-bottom: .35rem;
    font-weight: 600;
}

.champ input,
.champ textarea,
.champ select {
    width: 100%;
    min-height: 48px;
    padding: .65rem .9rem;
    background: var(--blanc);
    color: var(--bleu-nuit);
    border: 1px solid #CFC8B8;
    border-radius: var(--rayon);
    font: inherit;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.champ textarea {
    min-height: 140px;
    resize: vertical;
}

.champ input:focus,
.champ textarea:focus,
.champ select:focus {
    outline: none;
    border-color: var(--bleu-entente);
    box-shadow: 0 0 0 3px rgba(21, 87, 255, .2);
}

.champ__aide {
    display: block;
    margin-top: .3rem;
    font-size: .875rem;
    color: var(--gris-ardoise);
}

/* Erreur : bordure épaisse + message en gras (pas de rouge, réservé aux CTA) */
.champ--erreur input,
.champ--erreur textarea,
.champ--erreur select {
    border: 2px solid var(--bleu-entente);
}

.champ__erreur {
    display: block;
    margin-top: .3rem;
    font-size: .875rem;
    font-weight: 600;
    color: var(--bleu-entente);
}

.champ__erreur::before {
    content: "⚠ ";
}

/* ---------- 14. Alertes (messages) ---------- */
.alerte {
    margin-bottom: 1.25rem;
    padding: 1rem 1.25rem;
    border: 1px solid;
    border-left-width: 5px;
    border-radius: var(--rayon);
}

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

.alerte--succes { background: var(--bleu-pale);  border-color: var(--bleu-entente); }
.alerte--erreur { background: var(--bleu-pale); border-color: var(--bleu-nuit); }
.alerte--info   { background: var(--blanc);      border-color: var(--gris-ardoise); }

/* ---------- 15. Contenu à compléter (placeholders) ---------- */
.placeholder {
    padding: .1rem .45rem;
    background: repeating-linear-gradient(-45deg, var(--bleu-pale) 0 8px, var(--blanc) 8px 16px);
    outline: 2px dashed var(--bleu-entente);
    outline-offset: -2px;
    border-radius: 4px;
    color: var(--bleu-nuit);
    font-family: var(--police-texte);
    font-size: 1rem;
    font-style: normal;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

/* Zone vide en attendant une vraie image */
.media-vide {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(-45deg, var(--gris-parquet) 0 12px, #DAD4C6 12px 24px);
    color: var(--gris-ardoise);
    font-weight: 600;
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .1em;
}

.zone-sombre .media-vide,
.carte-album .media-vide {
    background: repeating-linear-gradient(-45deg, #0F4AE0 0 12px, #1250EE 12px 24px);
    color: var(--sombre-texte);
}

/* ==========================================================
   16. Animations communes
   ========================================================== */

/* Apparition au défilement : uniquement si le JS est actif */
.js [data-apparition] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 700ms ease, transform 700ms ease;
}

.js [data-apparition].est-visible {
    opacity: 1;
    transform: none;
}

/* Défilement horizontal infini (bandeau résultats, partenaires) */
.defilant {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.defilant__piste {
    display: flex;
    width: max-content;
    animation: defiler var(--duree-defilement, 45s) linear infinite;
}

.defilant__groupe {
    display: flex;
    flex-shrink: 0;
    align-items: center;
}

.defilant:hover .defilant__piste {
    animation-play-state: paused;
}

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

@media (prefers-reduced-motion: reduce) {
    .defilant { overflow-x: auto; }
    .defilant__piste { animation: none; }
}

/* Libellé de section avec petit trait (« — ACTUALITÉS ») */
.zone-sombre .surtitre--trait::before {
    background: var(--jaune-energie);
}

.surtitre--trait::before {
    content: "";
    display: inline-block;
    width: 22px;
    height: 2px;
    margin-right: .6rem;
    vertical-align: middle;
    background: currentColor;
}

/* Lien texte avec flèche (« Toutes les actualités → ») */
.lien-fleche {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-weight: 600;
    text-decoration: none;
}

.lien-fleche::after {
    content: "→";
    transition: transform var(--transition);
}

.lien-fleche:hover::after {
    transform: translateX(4px);
}

/* ==========================================================
   17. Page d'accueil
   ========================================================== */

/* ---------- Hero ---------- */
.hero-accueil__grille {
    display: grid;
    gap: 3rem;
}

@media (min-width: 1000px) {
    .hero-accueil__grille {
        grid-template-columns: 1.45fr 1fr;
        align-items: end;
    }
}

/* Carte « Prochain match » */
.carte-match__entete {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.carte-match__entete > span:last-child {
    color: var(--sombre-texte);
}

.carte-match__equipes {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: .75rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.carte-match__logo {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    margin: 0 auto .6rem;
    border-radius: 50%;
    background: var(--sombre-surface);
    border: 1px solid var(--sombre-bordure);
    font-family: var(--police-titre);
    font-weight: 800;
    font-size: 1.1rem;
}

.carte-match__logo--club {
    background: var(--blanc);
    color: var(--bleu-entente);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, .25);
}

.carte-match__nom {
    font-weight: 600;
    font-size: .95rem;
    line-height: 1.3;
}

.carte-match__vs {
    font-family: var(--police-titre);
    font-weight: 800;
    font-size: 2rem;
}

.compte {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: .5rem;
    margin-bottom: 1.25rem;
}

.compte__case {
    padding: .65rem .25rem;
    border-radius: var(--rayon);
    background: rgba(7, 27, 61, .35);
    border: 1px solid var(--sombre-bordure);
    text-align: center;
}

.compte__valeur {
    display: block;
    font-family: var(--police-titre);
    font-weight: 800;
    font-size: 2rem;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.compte__unite {
    font-size: .65rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--sombre-texte);
}

.carte-match__date {
    margin: 0;
    font-size: .9rem;
    color: var(--sombre-texte);
}

/* ---------- Bandeau des derniers résultats ---------- */
.bandeau-resultats {
    padding-block: .9rem;
    background: var(--blanc);
    border-bottom: 1px solid var(--gris-parquet);
}

.resultat {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    padding-inline: 1.5rem;
    white-space: nowrap;
}

.resultat::after {
    content: "◆";
    margin-left: 1.5rem;
    font-size: .6rem;
    color: var(--bleu-entente);
    opacity: .4;
}

.resultat__equipe {
    font-family: var(--police-titre);
    font-weight: 800;
    font-size: 1.35rem;
    text-transform: uppercase;
    color: var(--bleu-entente);
}

.resultat__score {
    padding: .1rem .6rem;
    border-radius: 6px;
    background: var(--bleu-entente);
    color: var(--blanc);
    font-family: var(--police-titre);
    font-weight: 800;
    font-size: 1.35rem;
}

/* ---------- Actualités : une grande + trois petites ---------- */
.actus-une {
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 900px) {
    .actus-une {
        grid-template-columns: 1.35fr 1fr;
    }
}

.actu-vedette {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 420px;
    padding: 1.75rem;
    border-radius: var(--rayon-grand);
    background: var(--fond-bleu);
    color: var(--blanc);
    overflow: hidden;
    isolation: isolate;
    transition: transform var(--transition), box-shadow var(--transition);
}

/* Grand mot en contour en filigrane */
.actu-vedette__filigrane {
    position: absolute;
    right: -.1em;
    top: 28%;
    z-index: -1;
    font-family: var(--police-titre);
    font-weight: 800;
    font-size: clamp(6rem, 14vw, 11rem);
    line-height: 1;
    text-transform: uppercase;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, .16);
    pointer-events: none;
}

.actu-vedette__titre {
    margin: .9rem 0 .75rem;
    font-size: clamp(1.9rem, 3vw, 2.6rem);
}

.actu-vedette:hover {
    transform: translateY(-4px);
    box-shadow: var(--ombre-survol);
}

.actus-liste {
    display: grid;
    gap: 1.25rem;
}

.actu-ligne {
    position: relative;
    display: grid;
    grid-template-columns: 38% 1fr;
    background: var(--blanc);
    border: 1px solid var(--gris-parquet);
    border-radius: var(--rayon-grand);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
}

.actu-ligne:hover {
    transform: translateY(-3px);
    box-shadow: var(--ombre-survol);
}

.actu-ligne__media {
    min-height: 130px;
}

.actu-ligne__corps {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    padding: 1rem 1.1rem;
}

.actu-ligne__titre {
    margin: 0;
    font-family: var(--police-texte);
    font-style: normal;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.3;
    text-transform: none;
    color: var(--bleu-nuit);
}

.actu-ligne__titre a {
    color: inherit;
    text-decoration: none;
}

.actu-ligne__titre a::after,
.actu-vedette__titre a::after {
    content: "";
    position: absolute;
    inset: 0;
}

.actu-vedette__titre a {
    text-decoration: none;
}

/* ---------- Bienvenue : grille de tuiles ---------- */
.entete-section__texte {
    max-width: 22rem;
    margin: 0;
    color: var(--gris-ardoise);
}

.tuiles {
    display: grid;
    gap: 1rem;
}

.tuile {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2rem;
    min-height: 200px;
    padding: 1.4rem;
    border-radius: var(--rayon-grand);
    text-decoration: none;
    overflow: hidden;
    isolation: isolate;
    transition: transform var(--transition), box-shadow var(--transition);
}

.tuile:hover {
    transform: translateY(-4px);
    box-shadow: var(--ombre-survol);
}

.tuile__numero {
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .08em;
}

.tuile__fleche {
    position: absolute;
    top: 1.1rem;
    right: 1.1rem;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid currentColor;
    opacity: .7;
    transition: transform var(--transition), opacity var(--transition);
}

.tuile:hover .tuile__fleche {
    transform: rotate(45deg);
    opacity: 1;
}

.tuile__titre {
    margin: 0 0 .4rem;
    font-size: clamp(1.9rem, 3vw, 2.5rem);
    color: inherit;
}

.tuile__texte {
    margin: 0;
    font-size: .9rem;
    opacity: .85;
}

.tuile--bleue    { background: var(--fond-bleu); color: var(--blanc); }
.tuile--terrain  { background: var(--bleu-entente); color: var(--blanc); }
.tuile--claire   { background: var(--blanc); color: var(--bleu-entente); border: 1px solid var(--gris-parquet); }
.tuile--pale     { background: var(--bleu-pale); color: var(--bleu-entente); }

.tuile--terrain::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: url("../img/terrain.svg") center / cover no-repeat;
}

.zone-sombre .tuile__titre,
.tuile--bleue .tuile__titre,
.tuile--terrain .tuile__titre {
    color: var(--blanc);
}

@media (min-width: 700px) {
    .tuiles {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1000px) {
    .tuiles {
        grid-template-columns: repeat(4, 1fr);
        grid-template-areas:
            "club  club  albums actus"
            "contact contact albums actus";
    }

    .tuile--club    { grid-area: club; }
    .tuile--albums  { grid-area: albums; }
    .tuile--actus   { grid-area: actus; }
    .tuile--contact { grid-area: contact; }
}

/* ---------- L'entente en chiffres ---------- */
.chiffres__haut {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (min-width: 900px) {
    .chiffres__haut {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }
}

.chiffres {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-top: 1px solid var(--sombre-bordure);
}

.chiffre {
    padding: 1.5rem 1rem 1.5rem 0;
    border-bottom: 1px solid var(--sombre-bordure);
}

.chiffre__valeur {
    display: block;
    margin-bottom: .35rem;
    font-family: var(--police-titre);
    font-weight: 800;
    font-size: clamp(3rem, 6vw, 4.5rem);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.chiffre__suffixe {
    font-size: .5em;
    vertical-align: super;
}

.chiffre__libelle {
    font-size: .85rem;
    color: var(--sombre-texte);
}

@media (min-width: 900px) {
    .chiffres {
        grid-template-columns: repeat(4, 1fr);
    }

    .chiffre {
        padding-left: 1.5rem;
        border-bottom: 0;
        border-left: 1px solid var(--sombre-bordure);
    }

    .chiffre:first-child {
        padding-left: 0;
        border-left: 0;
    }
}

/* ---------- Matchs : onglets + liste ---------- */
.section--separee {
    border-top: 1px solid var(--sombre-bordure);
}

.onglets {
    display: inline-flex;
    padding: 4px;
    border-radius: var(--rayon-pilule);
    background: var(--sombre-surface);
    border: 1px solid var(--sombre-bordure);
}

.onglets__bouton {
    min-height: 38px;
    padding: .4rem 1.1rem;
    border: 0;
    border-radius: var(--rayon-pilule);
    background: transparent;
    color: var(--sombre-texte);
    font: 600 .9rem var(--police-texte);
    cursor: pointer;
    transition: background var(--transition), color var(--transition);
}

.onglets__bouton[aria-selected="true"] {
    background: var(--blanc);
    color: var(--bleu-entente);
}

.matchs {
    display: grid;
    gap: .75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.match {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem;
    padding: .9rem 1.1rem;
    border-radius: var(--rayon);
    background: var(--sombre-surface);
    border: 1px solid var(--sombre-bordure);
    transition: background var(--transition);
}

.match:hover {
    background: rgba(255, 255, 255, .12);
}

.match__date {
    min-width: 3rem;
    text-align: center;
    line-height: 1;
}

.match__jour {
    display: block;
    font-family: var(--police-titre);
    font-weight: 800;
    font-size: 1.8rem;
}

.match__mois {
    font-size: .65rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--sombre-texte);
}

.match__affiche {
    margin: 0 0 .3rem;
    font-weight: 600;
}

.match__vs {
    margin-inline: .35rem;
    font-size: .8rem;
    color: var(--sombre-texte);
}

.match__infos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
    font-size: .8rem;
    color: var(--sombre-texte);
}

.match__heure {
    font-family: var(--police-titre);
    font-weight: 800;
    font-size: 1.5rem;
}

/* ---------- Appel à rejoindre ---------- */
.bandeau-cta {
    position: relative;
    display: grid;
    gap: 1.5rem;
    padding: 2.5rem 1.75rem;
    border-radius: var(--rayon-grand);
    background: var(--fond-bleu);
    overflow: hidden;
    isolation: isolate;
}

.bandeau-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: url("../img/terrain.svg") center / cover no-repeat;
}

.bandeau-cta h2 {
    margin: 0;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
}

@media (min-width: 900px) {
    .bandeau-cta {
        grid-template-columns: 1.5fr 1fr;
        align-items: center;
        padding: 3.5rem;
    }

    .bandeau-cta .groupe-boutons {
        justify-content: flex-end;
    }
}

/* ---------- Partenaires ---------- */
.partenaires__entete {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.partenaire {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    margin-right: .9rem;
    padding: .7rem 1.1rem;
    border-radius: var(--rayon);
    background: var(--blanc);
    border: 1px solid var(--gris-parquet);
    font-weight: 600;
    font-size: .9rem;
    white-space: nowrap;
    color: var(--bleu-entente);
}

.partenaire__initiale {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 6px;
    background: var(--bleu-pale);
    font-family: var(--police-titre);
    font-weight: 800;
}

/* ==========================================================
   18. Footer complet
   ========================================================== */
.site-footer__reseaux {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin: 1.25rem 0 0;
    padding: 0;
    list-style: none;
}

/* Grand nom du club en filigrane au pied de page */
.site-footer__filigrane {
    margin: 0;
    padding-inline: var(--gouttiere);
    font-family: var(--police-titre);
    font-weight: 800;
    font-size: clamp(4.5rem, 19vw, 17rem);
    line-height: .8;
    text-align: center;
    text-transform: uppercase;
    white-space: nowrap;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, .22);
    user-select: none;
    transform: translateY(.12em);
}

@media (min-width: 900px) {
    .site-footer__grille {
        grid-template-columns: 1.6fr 1fr 1.3fr;
    }
}

/* ==========================================================
   19. Motifs de la charte (à doser avec parcimonie)
   ========================================================== */

/* Hero façon affiche : fond bleu nuit éclairé de bleu entente */
.section--affiche {
    position: relative;
    isolation: isolate;
    background: var(--fond-affiche);
}

/* Double arc + diagonales « vitesse » + lignes de terrain */
.section--affiche::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        url("../img/arcs.svg") right bottom / min(42vw, 460px) no-repeat,
        linear-gradient(112deg,
            transparent 0 66%,
            rgba(7, 27, 61, .2) 66% 72%,
            transparent 72% 74%,
            rgba(255, 255, 255, .035) 74% 77%,
            transparent 77% 77.6%,
            rgba(242, 13, 47, .85) 77.6% 78.1%,
            transparent 78.1% 78.6%,
            rgba(242, 230, 0, .4) 78.6% 78.8%,
            transparent 78.8%),
        url("../img/terrain.svg") center / cover no-repeat;
    pointer-events: none;
}

/* Trame / grain sur les fonds bleus */
.section--affiche::after,
.section--bleue::after,
.section--nuit::after,
.bandeau-cta::after,
.site-footer::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--grain);
    opacity: .22;
    mix-blend-mode: soft-light;
    pointer-events: none;
}

/* ==========================================================
   20. Pages intérieures (Le club, Contact, Mentions légales)
   ========================================================== */

/* Accroche du club dans le hero */
.hero__accroche {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--blanc);
}

/* Bandeau de titre en haut de page */
.entete-page {
    padding-block: 3rem;
}

.entete-page h1 {
    margin: 0;
}

.entete-page__texte {
    max-width: 40rem;
    margin: 1rem 0 0;
    font-size: 1.1rem;
    color: var(--sombre-texte);
}

@media (min-width: 900px) {
    .entete-page {
        padding-block: 4.5rem;
    }
}

/* Texte long : largeur de ligne confortable */
.texte-long {
    max-width: 44rem;
}

.texte-long h2 {
    margin-top: 2.5rem;
    font-size: clamp(1.6rem, 2vw + 1rem, 2.2rem);
}

.texte-long h2:first-child {
    margin-top: 0;
}

/* Accroche en trois temps (page Le club) */
.accroche-club {
    display: grid;
    gap: .25rem;
    margin: 0;
    font-family: var(--police-titre);
    font-weight: 800;
    font-style: italic;
    font-size: clamp(2.25rem, 5vw, 4rem);
    line-height: .95;
    text-transform: uppercase;
}

/* Deux colonnes égales à partir de la tablette */
.deux-colonnes {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 800px) {
    .deux-colonnes {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }
}

/* Bureau d'un club */
.bureau {
    padding: 1.5rem;
    background: var(--blanc);
    border: 1px solid var(--gris-parquet);
    border-radius: var(--rayon-grand);
    box-shadow: var(--ombre);
}

.bureau__entete {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.bureau__entete img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.bureau__entete h3 {
    margin: 0;
}

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

.membre {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .35rem 1rem;
    padding: .7rem 0;
    border-top: 1px solid var(--gris-parquet);
}

.membre__nom {
    font-weight: 600;
}

/* Sous-titre dans une carte (ex. Masculins / Féminines des entraînements) */
.bureau__sous-titre {
    margin: 1.25rem 0 .5rem;
    font-family: var(--police-texte, inherit);
    font-size: .8rem;
    font-style: normal;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--bleu-entente);
}

.bureau__entete + .bureau__sous-titre {
    margin-top: 0;
}

/* Variante : les deux informations l'une sous l'autre (créneaux d'entraînement) */
.membre--pile {
    flex-direction: column;
    align-items: flex-start;
}

/* Équipe : entraîneurs sous le titre (page Le club) */
.equipe__encadrement {
    margin: 0;
}

.equipe__encadrement + .equipe__encadrement {
    margin-top: .35rem;
}

/* Gymnase : adresse sous le titre */
.gymnase__adresse {
    margin: 0;
    font-style: normal;
    color: var(--gris-ardoise);
}

/* Liste de coordonnées (page Contact) */
.coordonnees {
    display: grid;
    gap: 1rem;
    margin: 0;
}

.coordonnees dt {
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--bleu-entente);
}

.coordonnees dd {
    margin: .25rem 0 0;
    font-size: 1.1rem;
}

/* Grille dont les cartes s'étirent pour occuper toute la largeur */
.grille--remplie {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}

/* ==========================================================
   21. Espace admin
   ========================================================== */
.admin-barre {
    background: var(--bleu-nuit);
}

.admin-barre__contenu {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .75rem 1.5rem;
    padding-block: .75rem;
}

.admin-barre__titre {
    font-family: var(--police-titre);
    font-weight: 800;
    font-size: 1.5rem;
    text-transform: uppercase;
    text-decoration: none;
}

.admin-barre__nav {
    display: flex;
    flex: 1;
    flex-wrap: wrap;
    gap: .25rem 1.25rem;
}

.admin-barre__nav a {
    padding: .4rem 0;
    font-weight: 500;
    text-decoration: none;
    color: var(--sombre-texte);
}

.admin-barre__nav a:hover,
.admin-barre__nav a[aria-current="page"] {
    color: var(--blanc);
}

.admin h1 {
    font-size: clamp(2.25rem, 4vw + 1rem, 3.5rem);
    margin-bottom: 2rem;
}

/* Titres de rubrique de l'admin : même taille sur toutes les pages */
.admin h2 {
    font-size: 2rem;
}

/* Page de connexion : carte centrée sur le fond « affiche » */
.connexion {
    display: grid;
    place-items: center;
    min-height: 100vh;
    padding: 2rem var(--gouttiere);
}

.connexion__carte {
    width: 100%;
    max-width: 26rem;
    padding: 2rem;
    background: var(--blanc);
    border-radius: var(--rayon-grand);
    box-shadow: var(--ombre-survol);
    color: var(--bleu-nuit);
}

.connexion__carte .logo {
    justify-content: center;
    margin-bottom: 1rem;
}

.connexion__carte .logo img {
    height: 64px;
}

.connexion__carte .logo__separateur {
    height: 48px;
    background: var(--gris-parquet);
}

.connexion__carte h1 {
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--bleu-entente);
}

.connexion__carte a {
    color: var(--bleu-entente);
}

.connexion__bouton {
    width: 100%;
}

.connexion__retour {
    margin: 1.5rem 0 0;
    text-align: center;
    font-size: .9rem;
}

/* ==========================================================
   22. Actualités (liste, article, accueil)
   ========================================================== */

/* Image de remplacement : les logos du club sur fond bleu pâle */
.media-logo {
    width: 100%;
    height: 100%;
    min-height: 130px;
    background:
        url("../img/logo-csg-128.webp") center / auto 46% no-repeat,
        var(--bleu-pale);
}

.actu-ligne__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Actualité à la une avec photo : image en fond, voile bleu nuit pour la lisibilité */
.actu-vedette__image {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.actu-vedette:has(.actu-vedette__image)::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(to top, rgba(7, 27, 61, .92) 15%, rgba(7, 27, 61, .55) 60%, rgba(7, 27, 61, .35));
}

.actus-une--seule {
    grid-template-columns: 1fr;
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;
}

.pagination__etat {
    font-weight: 600;
    color: var(--gris-ardoise);
}

/* Page d'un article */
.article__entete {
    max-width: calc(52rem + 2 * var(--gouttiere));
}

.lien-retour {
    display: block;
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-decoration: none;
}

.lien-retour:hover {
    text-decoration: underline;
}

.article__titre {
    font-size: clamp(2.25rem, 4vw + 1rem, 4rem);
}

.article__corps {
    max-width: calc(46rem + 2 * var(--gouttiere));
}

.article__image {
    width: 100%;
    margin-bottom: 2.5rem;
    border-radius: var(--rayon-grand);
    box-shadow: var(--ombre);
}

/* Texte saisi dans l'éditeur */
.article__contenu {
    font-size: 1.1rem;
    line-height: 1.7;
    overflow-wrap: break-word;
}

.article__contenu h2,
.article__contenu h3 {
    margin: 2.25rem 0 .75rem;
}

.article__contenu h2 { font-size: 2rem; }
.article__contenu h3 { font-size: 1.5rem; }

.article__contenu ul,
.article__contenu ol {
    padding-left: 1.4rem;
}

.article__contenu li + li {
    margin-top: .35rem;
}

.article__contenu blockquote {
    margin: 1.75rem 0;
    padding: .25rem 0 .25rem 1.25rem;
    border-left: 4px solid var(--bleu-entente);
    font-size: 1.2rem;
    font-weight: 500;
}

.article__pied {
    margin: 3rem 0 0;
    padding-top: 2rem;
    border-top: 1px solid var(--gris-parquet);
}

/* ==========================================================
   23. Admin : tableaux et formulaires
   ========================================================== */
.tableau-defilant {
    overflow-x: auto;
    background: var(--blanc);
    border: 1px solid var(--gris-parquet);
    border-radius: var(--rayon-grand);
    box-shadow: var(--ombre);
}

.tableau {
    width: 100%;
    border-collapse: collapse;
}

.tableau th,
.tableau td {
    padding: .9rem 1.1rem;
    text-align: left;
    vertical-align: middle;
}

.tableau th {
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--gris-ardoise);
    border-bottom: 1px solid var(--gris-parquet);
}

.tableau tbody tr + tr td {
    border-top: 1px solid var(--gris-parquet);
}

.tableau__titre {
    font-weight: 600;
    text-decoration: none;
}

.tableau__titre:hover {
    text-decoration: underline;
}

.tableau__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .5rem;
}

.formulaire {
    max-width: 52rem;
}

.formulaire__apercu {
    max-width: 320px;
    margin-bottom: .75rem;
    border-radius: var(--rayon);
    border: 1px solid var(--gris-parquet);
}

.champ .case {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: .75rem;
    font-weight: 400;
}

.champ .case input {
    width: 1.15rem;
    min-height: 0;
    height: 1.15rem;
    padding: 0;
}

.champ input[type="file"] {
    padding: .5rem;
}

/* Éditeur de texte (Quill) habillé aux couleurs du site */
.admin .ql-toolbar.ql-snow,
.admin .ql-container.ql-snow {
    border-color: #CFC8B8;
    background: var(--blanc);
    font-family: var(--police-texte);
}

.admin .ql-toolbar.ql-snow {
    border-radius: var(--rayon) var(--rayon) 0 0;
}

.admin .ql-container.ql-snow {
    border-radius: 0 0 var(--rayon) var(--rayon);
    font-size: 1.05rem;
}

.admin .ql-editor {
    min-height: 320px;
    line-height: 1.7;
}

/* L'éditeur reprend la mise en forme de l'article publié (.article__contenu) */
.admin .ql-editor p,
.admin .ql-editor ul,
.admin .ql-editor ol,
.admin .ql-editor blockquote {
    margin-bottom: 1rem;
}

.admin .ql-editor h2,
.admin .ql-editor h3 {
    margin: 2.25rem 0 .75rem;
    line-height: 1;
}

.admin .ql-editor h2 { font-size: 2rem; }
.admin .ql-editor h3 { font-size: 1.5rem; }

.admin .ql-editor > :first-child {
    margin-top: 0;
}

.champ--erreur .ql-toolbar.ql-snow,
.champ--erreur .ql-container.ql-snow {
    border-color: var(--bleu-entente);
    border-width: 2px;
}

/* Barre admin sur petit écran : le menu passe sur sa propre ligne */
@media (max-width: 699px) {
    .admin-barre__contenu {
        justify-content: space-between;
    }

    .admin-barre__nav {
        order: 3;
        flex-basis: 100%;
    }
}

/* ==========================================================
   24. Albums : galerie et visionneuse
   ========================================================== */
.galerie {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(46%, 220px), 1fr));
    gap: .75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.galerie a {
    display: block;
    aspect-ratio: 4 / 3;
    border-radius: var(--rayon);
    background: var(--gris-parquet);
    overflow: hidden;
}

.galerie img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 400ms ease;
}

.galerie a:hover img,
.galerie a:focus-visible img {
    transform: scale(1.06);
}

.sans-defilement {
    overflow: hidden;
}

.visionneuse {
    width: 100vw;
    max-width: none;
    height: 100dvh;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: rgba(7, 27, 61, .96);
    color: var(--blanc);
}

.visionneuse::backdrop {
    background: var(--bleu-nuit);
}

.visionneuse__figure {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    height: 100%;
    margin: 0;
    padding: 3.5rem .75rem 3rem;
}

.visionneuse__figure img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    min-height: 0;
    object-fit: contain;
    border-radius: 6px;
}

.visionneuse figcaption {
    max-width: 44rem;
    text-align: center;
}

.visionneuse__bouton {
    position: absolute;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 1px solid var(--sombre-bordure);
    border-radius: 50%;
    background: rgba(7, 27, 61, .7);
    color: var(--blanc);
    font-size: 1.25rem;
    cursor: pointer;
    transition: background var(--transition);
}

.visionneuse__bouton:hover {
    background: var(--bleu-entente);
}

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

.visionneuse__fermer     { top: .75rem; right: .75rem; }
.visionneuse__precedente { top: 50%; left: .75rem; transform: translateY(-50%); }
.visionneuse__suivante   { top: 50%; right: .75rem; transform: translateY(-50%); }

.visionneuse__compteur {
    position: absolute;
    bottom: .75rem;
    left: 0;
    right: 0;
    margin: 0;
    text-align: center;
    font-size: .9rem;
    color: var(--sombre-texte);
}

@media (min-width: 900px) {
    .visionneuse__figure {
        padding-inline: 5rem;
    }
}

/* ==========================================================
   25. Admin : albums
   ========================================================== */
.bloc-admin {
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--gris-parquet);
}

.bloc-admin h2 {
    font-size: 2rem;
}

.tableau__vignette {
    width: 84px;
    height: 63px;
    border-radius: 6px;
    object-fit: cover;
    font-size: .6rem;
}

.progression {
    margin-bottom: 1rem;
}

.progression__barre {
    height: 10px;
    border-radius: var(--rayon-pilule);
    background: var(--gris-parquet);
    overflow: hidden;
}

.progression__remplissage {
    width: 0;
    height: 100%;
    background: var(--bleu-entente);
    transition: width 200ms ease;
}

.progression__texte {
    margin: .5rem 0 0;
    font-weight: 600;
}

.progression__erreurs {
    margin-bottom: 1rem;
    padding: 1rem 1rem 1rem 2.25rem;
    border: 1px solid var(--bleu-nuit);
    border-left-width: 5px;
    border-radius: var(--rayon);
    background: var(--bleu-pale);
}

.case--couverture {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: 1.25rem;
}

.photos-admin {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr));
    gap: 1rem;
    margin: 0 0 1.5rem;
    padding: 0;
    list-style: none;
}

.photo-admin {
    background: var(--blanc);
    border: 1px solid var(--gris-parquet);
    border-radius: var(--rayon);
    overflow: hidden;
}

.photo-admin img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.photo-admin__champs {
    display: grid;
    gap: .6rem;
    padding: .75rem;
}

.photo-admin__champs input[type="text"],
.photo-admin__champs input[type="number"] {
    min-height: 40px;
    padding: .4rem .6rem;
    border: 1px solid #CFC8B8;
    border-radius: 8px;
    font: inherit;
    color: var(--bleu-nuit);
}

.photo-admin__champs input[type="text"] {
    width: 100%;
}

.photo-admin__champs input[type="number"] {
    width: 4.5rem;
}

.photo-admin__ligne {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    font-size: .9rem;
}

.photo-admin .case {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
}

/* ==========================================================
   26. Calendrier des matchs
   ========================================================== */
.carte-match__vide {
    margin: 0 0 1.25rem;
    font-size: 1.1rem;
    color: var(--sombre-texte);
}

/* Lignes de match sur fond clair (page Calendrier) */
.matchs--clair .match {
    background: var(--blanc);
    border-color: var(--gris-parquet);
    box-shadow: var(--ombre);
}

.matchs--clair .match:hover {
    background: var(--blanc);
}

.matchs--clair .match__jour,
.matchs--clair .match__heure {
    color: var(--bleu-entente);
}

.matchs--clair .match__mois,
.matchs--clair .match__vs,
.matchs--clair .match__infos {
    color: var(--gris-ardoise);
}

.calendrier__titre {
    margin-top: 3.5rem;
}

.filtre {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .75rem;
    margin-bottom: 2.5rem;
}

.filtre label {
    font-weight: 600;
}

.filtre select {
    min-height: 44px;
    padding: .5rem 2.25rem .5rem .9rem;
    border: 1px solid #CFC8B8;
    border-radius: var(--rayon-pilule);
    background-color: var(--blanc);
    color: var(--bleu-nuit);
    font: inherit;
}

/* Le menu principal a une entrée de plus : il passe en ligne un peu plus tard */
@media (min-width: 900px) and (max-width: 1079px) {
    .nav-principale a:not(.btn) {
        padding-inline: .5rem;
        font-size: .9rem;
    }

    .nav-principale__cta {
        margin-left: .5rem;
    }
}

/* ==========================================================
   27. Admin : matchs et équipes
   ========================================================== */
.formulaire--ligne {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    gap: 1rem;
}

.formulaire--ligne .champ {
    flex: 1 1 16rem;
    margin: 0;
}

fieldset.champ {
    min-width: 0;
    padding: 0;
    border: 0;
}

fieldset.champ legend {
    margin-bottom: .35rem;
    padding: 0;
    font-weight: 600;
}

.champ--choix .case {
    display: inline-flex;
    margin: .6rem 1.5rem 0 0;
}

.champ--score__ligne {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .75rem;
}

.champ--score__ligne label {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    margin: 0;
}

.champ--score__ligne input {
    width: 5rem;
    text-align: center;
    font-family: var(--police-titre);
    font-weight: 800;
    font-size: 1.5rem;
}

.tableau__champ {
    width: 100%;
    min-width: 10rem;
    min-height: 40px;
    padding: .4rem .6rem;
    border: 1px solid #CFC8B8;
    border-radius: 8px;
    font: inherit;
    color: var(--bleu-nuit);
}

.tableau__champ--court {
    width: 5rem;
    min-width: 0;
}

/* ==========================================================
   28. Résultats : fond vert (victoire) ou rouge (défaite)
   L'issue est toujours écrite aussi en toutes lettres dans la ligne.
   ========================================================== */

/* Sur fond bleu (accueil) : fond plein, texte blanc */
.match--victoire,
.match--victoire:hover {
    background: var(--vert-victoire);
    border-color: rgba(255, 255, 255, .25);
}

.match--defaite,
.match--defaite:hover {
    background: var(--rouge-defaite);
    border-color: rgba(255, 255, 255, .25);
}

.match--victoire :is(.match__mois, .match__vs, .match__infos),
.match--defaite :is(.match__mois, .match__vs, .match__infos) {
    color: rgba(255, 255, 255, .9);
}

.match--victoire .badge,
.match--defaite .badge {
    background: rgba(255, 255, 255, .2);
    color: var(--blanc);
    box-shadow: none;
}

/* Sur fond clair (page Calendrier) : fond pâle, liseré et score de couleur */
.matchs--clair .match--victoire,
.matchs--clair .match--victoire:hover {
    background: var(--vert-pale);
    border-color: var(--vert-victoire);
    border-left-width: 6px;
}

.matchs--clair .match--defaite,
.matchs--clair .match--defaite:hover {
    background: var(--rouge-pale);
    border-color: var(--rouge-defaite);
    border-left-width: 6px;
}

.matchs--clair .match--victoire :is(.match__jour, .match__heure, .match__infos strong) { color: var(--vert-victoire); }
.matchs--clair .match--defaite :is(.match__jour, .match__heure, .match__infos strong)  { color: var(--rouge-defaite); }

.matchs--clair :is(.match--victoire, .match--defaite) :is(.match__mois, .match__vs, .match__infos) {
    color: var(--bleu-nuit);
}

.matchs--clair .match--victoire .badge { background: var(--vert-victoire); }
.matchs--clair .match--defaite .badge  { background: var(--rouge-defaite); }

/* ==========================================================
   29. Partenaires (logos, liens) et leur gestion dans l'admin
   ========================================================== */
.partenaire {
    min-height: 60px;
    text-decoration: none;
    transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

a.partenaire:hover {
    border-color: var(--bleu-entente);
    box-shadow: var(--ombre);
    color: var(--bleu-entente);
    transform: translateY(-2px);
}

.partenaire__logo {
    width: auto;
    max-width: 110px;
    height: 36px;
    object-fit: contain;
}

.tableau__logo {
    width: auto;
    max-width: 110px;
    height: 40px;
    object-fit: contain;
}

.formulaire__apercu--logo {
    max-width: 200px;
    max-height: 120px;
    padding: .75rem;
    background: var(--blanc);
    object-fit: contain;
}

/* ==========================================================
   30. Touches de rouge (décor uniquement, le bleu reste dominant)
   Jamais de texte rouge : seulement traits, filets et flèches.
   ========================================================== */

/* Trait des surtitres sur fond clair (le jaune reste sur fond bleu) */
.surtitre--trait::before {
    background: var(--rouge-lillebonne);
}

.zone-sombre .surtitre--trait::before {
    background: var(--jaune-energie);
}

/* Bandeau de titre des pages et pied de page : filet rouge */
.entete-page {
    border-bottom: 4px solid var(--rouge-lillebonne);
}

.site-footer {
    border-top: 4px solid var(--rouge-lillebonne);
}

/* Flèche des liens « … → » sur fond clair */
.lien-fleche::after {
    color: var(--rouge-lillebonne);
}

.zone-sombre .lien-fleche::after {
    color: inherit;
}

/* Cartes cliquables : barre rouge en haut au survol */
.carte::before,
.carte-album::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    z-index: 2;
    height: 4px;
    background: var(--rouge-lillebonne);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 300ms ease;
}

.carte:has(.carte__titre a):hover::before,
.carte-album:hover::before {
    transform: scaleX(1);
}

/* Cartes d'entraînement et de bureau : petit trait rouge sous le titre */
.bureau__entete h3::after {
    content: "";
    display: block;
    width: 32px;
    height: 3px;
    margin-top: .5rem;
    border-radius: 2px;
    background: var(--rouge-lillebonne);
}

/* ==========================================================
   31. Carrousel (entraînements de l'accueil)
   Sans JS : bande qui défile au doigt ou à la molette.
   Avec JS : flèches précédent / suivant (main.js, [data-carrousel]).
   ========================================================== */
.carrousel {
    margin-inline: -1rem;
    padding: .5rem 1rem 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 1rem;
    scrollbar-width: thin;
    overscroll-behavior-x: contain;
}

.carrousel:focus-visible {
    outline: 3px solid var(--bleu-entente);
    outline-offset: 2px;
}

.carrousel .grille {
    display: flex;
    align-items: flex-start;   /* chaque carte garde sa hauteur (pas d'étirement sur la plus longue) */
    gap: 1.25rem;
}

.carrousel .grille > * {
    flex: 0 0 min(82%, 300px);
    scroll-snap-align: start;
}

/* Les cartes déjà hors écran ne doivent pas rester invisibles */
.js .carrousel [data-apparition] {
    opacity: 1;
    transform: none;
}

.carrousel__pied {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1rem;
}

.carrousel__fleches {
    display: flex;
    gap: .6rem;
}

.carrousel__fleche {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 2px solid var(--bleu-entente);
    border-radius: 50%;
    background: var(--blanc);
    color: var(--bleu-entente);
    font-size: 1.25rem;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--transition), color var(--transition), opacity var(--transition);
}

.carrousel__fleche:hover:not(:disabled) {
    background: var(--bleu-entente);
    color: var(--blanc);
}

.carrousel__fleche:disabled {
    opacity: .35;
    cursor: default;
}

@media (min-width: 900px) {
    .carrousel {
        margin-inline: 0;
        padding-inline: 0;
        scroll-padding-inline: 0;
    }

    .carrousel .grille > * {
        flex-basis: calc((100% - 3 * 1.25rem) / 4);
    }
}

/* ==========================================================
   32. Page d'attente (app/EN-ATTENTE) et bandeau de rappel admin
   ========================================================== */
.attente {
    display: grid;
    place-items: center;
    min-height: 100vh;
    min-height: 100dvh;
    padding: 3rem var(--gouttiere);
}

.attente__contenu {
    width: 100%;
    max-width: 44rem;
}

.attente__logos {
    margin-bottom: 2.5rem;
}

.attente__logos img {
    height: 72px;
}

.attente h1 {
    margin: 1rem 0 1.5rem;
    color: var(--blanc);
}

.attente__texte {
    max-width: 32rem;
    margin-bottom: 2rem;
    font-size: 1.15rem;
    color: var(--sombre-texte);
}

.bandeau-attente {
    padding: .6rem var(--gouttiere);
    background: var(--bleu-nuit);
    border-bottom: 3px solid var(--rouge-lillebonne);
    color: var(--blanc);
    font-size: .9rem;
    font-weight: 600;
    text-align: center;
}

