/* ==========================================================================
   Colloque METFP — Fakan-kevitra ETFP
   Feuille de style de référence.

   Toutes les valeurs (couleurs, tailles, espacements, rayons, ombres) sont
   reprises telles quelles du modèle « Site colloque ETFP - autonome.html »,
   qui portait ses styles en attributs `style` inline. Elles sont ici
   regroupées en classes correspondant aux composants Twig de templates/components/.

   Seule addition au modèle : le bloc « Adaptations responsive » en fin de
   fichier. Le modèle fige des grilles en minmax(320px, …) et débordait
   horizontalement sous ~715px de large ; les media queries empilent ces
   grilles sans modifier aucune valeur de la charte.
   ========================================================================== */

/* ==========================================================================
   1. Polices — Archivo (titres) et Public Sans (texte)
   Les fichiers woff2 proviennent du modèle : aucun appel réseau externe.
   ========================================================================== */

/* Archivo — variable, graisses 600 à 900 */
@font-face {
    font-family: 'Archivo';
    font-style: normal;
    font-weight: 600 900;
    font-stretch: 100%;
    font-display: swap;
    src: url("../fonts/archivo-vietnamese-WVa5dkL.woff2") format('woff2');
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
    font-family: 'Archivo';
    font-style: normal;
    font-weight: 600 900;
    font-stretch: 100%;
    font-display: swap;
    src: url("../fonts/archivo-latin-ext-wfGW6gi.woff2") format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Archivo';
    font-style: normal;
    font-weight: 600 900;
    font-stretch: 100%;
    font-display: swap;
    src: url("../fonts/archivo-latin-StE8AAs.woff2") format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Public Sans — normal, graisses 400 à 700 */
@font-face {
    font-family: 'Public Sans';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("../fonts/publicsans-vietnamese-Hosw1sk.woff2") format('woff2');
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
    font-family: 'Public Sans';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("../fonts/publicsans-latin-ext-WUY0g-4.woff2") format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Public Sans';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("../fonts/publicsans-latin-v6s8R01.woff2") format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Public Sans — italique (indices de questions) */
@font-face {
    font-family: 'Public Sans';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/publicsans-italic-vietnamese-P5R_EJB.woff2") format('woff2');
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
    font-family: 'Public Sans';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/publicsans-italic-latin-ext-S-MmZAa.woff2") format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Public Sans';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/publicsans-italic-latin-OnwlQUO.woff2") format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   2. Charte — couleurs relevées dans le modèle
   ========================================================================== */

:root {
    --green-900: #0F3D26;   /* bandeaux et fonds sombres */
    --green-700: #14532D;   /* survol des liens */
    --green-500: #1E7A4E;   /* vert d'action principal */
    --green-100: #EAF3EE;   /* fond des états sélectionnés */
    --green-pill: #4C8A66;  /* texte de la pastille « enregistré » */

    --gold-500: #C9A227;    /* or */
    --gold-300: #D9C87E;    /* or clair sur fond sombre */
    --gold-100: #F6EDD4;    /* fond sable */
    --gold-border: #E3CE8B; /* bordure sable */
    --gold-text: #8A6A12;   /* texte sur fond sable */
    --gold-text-2: #6B5B22; /* libellés des chiffres clés */

    --red-500: #C93A2E;     /* 3e avatar */

    --ink: #17251C;         /* texte principal */
    --ink-soft: #46554B;    /* texte secondaire */
    --ink-muted: #5C6B60;   /* texte tertiaire */
    --ink-faint: #8A8574;   /* mentions discrètes */
    --ink-disabled: #B9B3A4;/* état inactif */

    --paper: #F7F5EF;       /* fond de page */
    --white: #FFFFFF;
    --line: #E5E0D3;        /* filets de séparation */
    --field-border: #DDD8C9;/* bordure des champs */
    --demo-bg: #EEE9DB;     /* pastille « démo » */

    --font-title: 'Archivo', sans-serif;
    --font-body: 'Public Sans', sans-serif;
}

/* ==========================================================================
   3. Base — reprise à l'identique du modèle
   ========================================================================== */

* { box-sizing: border-box; }

body {
    margin: 0;
    background: var(--paper);
    font-family: var(--font-body);
    color: var(--ink);
}

a { color: var(--green-500); }
a:hover { color: var(--green-700); }

button { font-family: var(--font-body); cursor: pointer; }
textarea, input, select { font-family: var(--font-body); }

textarea:focus,
input:focus,
select:focus,
button:focus-visible,
a:focus-visible {
    outline: 3px solid var(--green-500);
    outline-offset: 2px;
}

/* Lien d'évitement — accessibilité clavier, masqué hors focus. */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 100;
    background: var(--green-500);
    color: var(--white);
    font-weight: 700;
    font-size: 14px;
    padding: 10px 18px;
    border-radius: 0 0 10px 0;
    text-decoration: none;
}
.skip-link:focus { left: 0; color: var(--white); }

/* ==========================================================================
   4. Bandeau ministériel et en-têtes
   ========================================================================== */

.microbar {
    background: var(--green-900);
    color: rgba(247, 245, 239, 0.85);
    font-size: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px 5vw;
    gap: 12px;
    flex-wrap: wrap;
}
.microbar__domain { letter-spacing: 0.04em; }

/* En-tête de l'accueil : logo, titre, sélecteur de langue, bouton d'action */
.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 12px 5vw;
    position: sticky;
    top: 0;
    z-index: 20;
    flex-wrap: wrap;
}
.site-header__brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}
.site-header__logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
}
.site-header__names {
    display: flex;
    flex-direction: column;
}
.site-header__title {
    font-family: var(--font-title);
    font-weight: 800;
    font-size: 16px;
    line-height: 1.1;
}
.site-header__title span { color: var(--green-500); }
.site-header__tagline {
    font-size: 11.5px;
    color: var(--ink-muted);
}
.site-header__actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 14px;
}

/* En-tête des étapes du parcours (profil, avis rapide, questionnaire) */
.step-header {
    background: var(--white);
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 5vw;
}
.step-header__back {
    border: none;
    background: none;
    color: var(--green-500);
    font-weight: 700;
    font-size: 14px;
    padding: 6px 0;
    text-decoration: none;
}
.step-header__meta {
    margin-left: auto;
    font-size: 13px;
    color: var(--ink-muted);
}
.step-header__saved {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    color: var(--green-pill);
    background: var(--green-100);
    padding: 4px 12px;
    border-radius: 999px;
}

/* ==========================================================================
   5. Sélecteur de langue
   ========================================================================== */

/* Variante compacte de l'en-tête */
.lang-switch {
    display: flex;
    border: 1.5px solid var(--field-border);
    border-radius: 8px;
    overflow: hidden;
    font-size: 12.5px;
    font-weight: 700;
}
.lang-switch__item {
    padding: 6px 11px;
    border: none;
    background: var(--white);
    color: var(--ink-muted);
    text-decoration: none;
}
.lang-switch__item.is-active {
    background: var(--ink);
    color: var(--white);
}

/* Variante pleine largeur de l'écran profil */
.lang-switch--wide {
    border-radius: 10px;
    font-size: 14.5px;
}
.lang-switch--wide .lang-switch__item {
    flex: 1;
    padding: 13px;
    text-align: center;
}

/* ==========================================================================
   6. Boutons
   ========================================================================== */

.btn {
    border: none;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn--header {
    background: var(--green-500);
    color: var(--white);
    font-weight: 700;
    font-size: 14.5px;
    padding: 11px 20px;
    border-radius: 10px;
}

.btn--hero {
    background: var(--green-500);
    color: var(--white);
    font-family: var(--font-title);
    font-weight: 800;
    font-size: 17.5px;
    padding: 16px 30px;
    border-radius: 12px;
    box-shadow: 0 12px 24px -12px rgba(30, 122, 78, 0.6);
}

.btn--invert {
    background: var(--white);
    color: var(--green-500);
    font-family: var(--font-title);
    font-weight: 800;
    font-size: 17.5px;
    padding: 16px 34px;
    border-radius: 12px;
}

.btn--card {
    align-self: flex-start;
    background: var(--green-500);
    color: var(--white);
    font-weight: 700;
    font-size: 14px;
    padding: 11px 18px;
    border-radius: 10px;
}

.btn--submit {
    background: var(--green-500);
    color: var(--white);
    font-family: var(--font-title);
    font-weight: 800;
    font-size: 16.5px;
    padding: 16px;
    border-radius: 12px;
    width: 100%;
}

.btn--next {
    background: var(--green-500);
    color: var(--white);
    font-family: var(--font-title);
    font-weight: 800;
    font-size: 15.5px;
    padding: 14px 28px;
    border-radius: 11px;
}

.btn--prev {
    border: none;
    background: none;
    font-size: 14.5px;
    font-weight: 700;
    color: var(--ink-muted);
    padding: 8px 0;
    text-decoration: none;
}
.btn--prev.is-disabled {
    color: var(--ink-disabled);
    pointer-events: none;
}

/* Lien souligné d'or du hero */
.link-underline {
    font-size: 15px;
    font-weight: 600;
    color: var(--green-500);
    border-bottom: 2px solid var(--gold-500);
    padding-bottom: 2px;
    text-decoration: none;
}

/* ==========================================================================
   7. Hero
   ========================================================================== */

.hero {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(320px, 7fr) minmax(280px, 5fr);
    gap: 44px;
    padding: 56px 5vw 52px 5vw;
    align-items: center;
}
.hero__body {
    display: flex;
    flex-direction: column;
    gap: 22px;
}
.hero__title {
    font-family: var(--font-title);
    font-weight: 900;
    font-size: clamp(34px, 4.5vw, 56px);
    line-height: 1.03;
    letter-spacing: -0.02em;
    margin: 0;
    text-wrap: balance;
}
.hero__title span { color: var(--green-500); }
.hero__lead {
    font-size: 17.5px;
    line-height: 1.55;
    color: var(--ink-soft);
    margin: 0;
    max-width: 560px;
    text-wrap: pretty;
}
.hero__actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.hero__proof {
    display: flex;
    align-items: center;
    gap: 12px;
}
.hero__proof-text {
    font-size: 14.5px;
    color: var(--ink-soft);
}
.hero__proof-text b { color: var(--ink); }

.hero__media { position: relative; }
/* Aplat doré décalé derrière la photo */
.hero__media::before {
    content: '';
    position: absolute;
    inset: 16px -14px -14px 16px;
    background: var(--gold-500);
    border-radius: 26px;
    opacity: 0.28;
}
.hero__photo {
    position: relative;
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: 24px;
    display: block;
}
.hero__overlay {
    position: absolute;
    left: 20px;
    bottom: 20px;
    background: rgba(15, 61, 38, 0.92);
    color: var(--paper);
    border-radius: 14px;
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.hero__overlay-label {
    font-size: 11.5px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gold-300);
    font-weight: 700;
}
.hero__overlay-value {
    font-family: var(--font-title);
    font-weight: 800;
    font-size: 22px;
}

/* Pastille « Consultation nationale » */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    align-self: flex-start;
    background: var(--gold-100);
    border: 1px solid var(--gold-border);
    color: var(--gold-text);
    font-size: 13px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 999px;
}
.badge__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold-500);
}

/* Pastille « démo » accolée au compteur */
.tag-demo {
    display: inline-flex;
    background: var(--demo-bg);
    color: var(--ink-faint);
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 6px;
}

/* Trio d'avatars superposés */
.avatars { display: flex; }
.avatars__item {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2.5px solid var(--paper);
    color: var(--white);
    font-size: 12px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}
.avatars__item + .avatars__item { margin-left: -10px; }
.avatars__item--green { background: var(--green-500); }
.avatars__item--gold  { background: var(--gold-500); }
.avatars__item--red   { background: var(--red-500); }

/* ==========================================================================
   8. Emplacements d'images à fournir
   ========================================================================== */

.image-slot {
    width: 100%;
    height: 100%;
    background: #F5F5F5;
    border: 1px dashed #A7ACA8;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    text-align: center;
    color: #6B7169;
    font-size: 12px;
    line-height: 1.4;
}
.image-slot--rounded { border-radius: 20px; }
.image-slot__icon {
    width: 26px;
    height: 26px;
    opacity: 0.55;
}

/* ==========================================================================
   9. Section « Pourquoi votre avis compte »
   ========================================================================== */

.section-why {
    background: var(--white);
    border-top: 1px solid var(--line);
}
.section-why__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 64px 5vw;
    display: grid;
    grid-template-columns: minmax(280px, 5fr) minmax(320px, 6fr);
    gap: 48px;
    align-items: center;
}
.section-why__media { height: 320px; }
.section-why__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    display: block;
}
.section-why__body {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.kicker {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold-500);
}
.kicker--light { color: var(--gold-300); }

.section-title {
    font-family: var(--font-title);
    font-weight: 800;
    font-size: 34px;
    margin: 0;
}
.section-title--tight { line-height: 1.1; }
.section-title--light { color: var(--paper); }

.section-text {
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink-soft);
    margin: 0;
}

.check-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.check-list__item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.check-list__mark {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: var(--green-100);
    color: var(--green-500);
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.check-list__text {
    font-size: 15.5px;
    line-height: 1.5;
}

/* ==========================================================================
   10. Section « Comment ça marche »
   ========================================================================== */

.section-how {
    max-width: 1200px;
    margin: 0 auto;
    padding: 64px 5vw;
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.section-head__note {
    font-size: 15px;
    color: var(--ink-muted);
}

.grid-auto-260 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
}
.grid-auto-280 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
}
.grid-auto-240 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
}
.grid-auto-210 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 14px;
}
.grid-auto-260-sm {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 14px;
}

.step-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 26px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.step-card__num {
    font-family: var(--font-title);
    font-weight: 900;
    font-size: 38px;
    color: var(--green-500);
}
.step-card__title {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 18px;
}
.step-card__text {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--ink-soft);
}

/* ==========================================================================
   11. Section « Des voix de tout Madagascar »
   ========================================================================== */

.section-voices { background: var(--green-900); }
.section-voices__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 64px 5vw;
    display: flex;
    flex-direction: column;
    gap: 28px;
}
.section-voices__head {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.section-voices__note {
    font-size: 13px;
    color: rgba(247, 245, 239, 0.6);
}

.voice-card {
    background: rgba(247, 245, 239, 0.07);
    border: 1px solid rgba(247, 245, 239, 0.14);
    border-radius: 18px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.voice-card__quote {
    font-family: var(--font-title);
    font-size: 42px;
    font-weight: 900;
    color: var(--gold-500);
    line-height: 0.6;
}
.voice-card__text {
    margin: 0;
    font-size: 15.5px;
    line-height: 1.6;
    color: var(--paper);
}
.voice-card__author {
    font-size: 13px;
    color: var(--gold-300);
    font-weight: 700;
}

/* ==========================================================================
   12. Section « Qui peut participer ? »
   ========================================================================== */

.section-who {
    max-width: 1200px;
    margin: 0 auto;
    padding: 64px 5vw;
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.audience-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.audience-card__media { height: 160px; }
.audience-card__body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}
.audience-card__title {
    font-family: var(--font-title);
    font-weight: 800;
    font-size: 19px;
}
.audience-card__text {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--ink-soft);
    flex: 1;
}

/* ==========================================================================
   13. Bande de chiffres clés
   ========================================================================== */

.kpi-band {
    background: var(--gold-100);
    border-top: 1px solid var(--gold-border);
    border-bottom: 1px solid var(--gold-border);
}
.kpi-band__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 5vw;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 22px;
}
.kpi {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.kpi__value {
    font-family: var(--font-title);
    font-weight: 900;
    font-size: 36px;
}
.kpi__value span { color: var(--gold-500); }
.kpi__label {
    font-size: 14px;
    color: var(--gold-text-2);
    font-weight: 600;
}

/* ==========================================================================
   14. Appel à l'action final
   ========================================================================== */

.cta-band {
    background: var(--green-500);
    padding: 68px 5vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    text-align: center;
}
.cta-band__title {
    font-family: var(--font-title);
    font-weight: 900;
    font-size: clamp(28px, 4vw, 42px);
    margin: 0;
    color: var(--white);
    max-width: 760px;
    text-wrap: balance;
}
.cta-band__text {
    margin: 0;
    font-size: 16.5px;
    color: rgba(255, 255, 255, 0.85);
    max-width: 560px;
}
.cta-band__note {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

/* ==========================================================================
   15. Pied de page
   ========================================================================== */

.site-footer {
    background: var(--green-900);
    padding: 44px 5vw 32px 5vw;
}
.site-footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 28px;
}
.site-footer__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 36px;
}
.site-footer__brand {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.site-footer__logos {
    display: flex;
    align-items: center;
    gap: 12px;
}
.site-footer__logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    background: var(--white);
    border-radius: 10px;
    padding: 4px;
}
.site-footer__logo--round {
    border-radius: 50%;
    padding: 2px;
}
.site-footer__ministry {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.6;
    color: rgba(247, 245, 239, 0.8);
}
.site-footer__anon {
    margin: 0;
    font-size: 12.5px;
    color: rgba(247, 245, 239, 0.55);
}
.site-footer__col {
    display: flex;
    flex-direction: column;
    gap: 9px;
    font-size: 14px;
    color: rgba(247, 245, 239, 0.8);
}
.site-footer__col-title {
    font-weight: 800;
    color: var(--gold-300);
    font-size: 12.5px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.site-footer__link {
    color: rgba(247, 245, 239, 0.8);
    text-decoration: none;
}
.site-footer__link:hover { color: var(--white); }
.site-footer__partners {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.site-footer__partner-slot {
    width: 74px;
    height: 40px;
    border: 1px dashed rgba(247, 245, 239, 0.35);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9.5px;
    color: rgba(247, 245, 239, 0.5);
}
.site-footer__bottom {
    border-top: 1px solid rgba(247, 245, 239, 0.15);
    padding-top: 16px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 12.5px;
    color: rgba(247, 245, 239, 0.55);
}

/* ==========================================================================
   16. Écrans du parcours de contribution
   ========================================================================== */

.flow {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Écran profil */
.flow__profil {
    max-width: 760px;
    margin: 0 auto;
    width: 100%;
    padding: 44px 5vw 80px 5vw;
    display: flex;
    flex-direction: column;
    gap: 26px;
}
.flow__head {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.flow__title {
    font-family: var(--font-title);
    font-weight: 800;
    font-size: clamp(26px, 3.4vw, 32px);
    margin: 0;
}
.flow__subtitle {
    margin: 0;
    font-size: 15.5px;
    color: var(--ink-soft);
}
.flow__note {
    font-size: 13px;
    color: var(--ink-muted);
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.field__label {
    font-weight: 700;
    font-size: 14px;
}
.field__label--follow {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--ink-soft);
}
.field__select,
.field__input {
    background: var(--white);
    border: 1.5px solid var(--field-border);
    border-radius: 10px;
    padding: 13px 14px;
    font-size: 15px;
    color: var(--ink);
}
.field__input { padding: 12px 14px; }
.field__counter {
    font-size: 11.5px;
    color: var(--ink-faint);
    align-self: flex-end;
}

.field-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* États des champs — utilisés par le thème de formulaire templates/form/fields.html.twig */
.field--invalid .field__input,
.field--invalid .field__select,
.field--invalid .textarea {
    border-color: var(--red-500);
}
.form-error {
    font-size: 13px;
    color: #8A241B;
}
.form-help {
    font-size: 12.5px;
    color: var(--ink-faint);
}

/* Carte de choix du profil */
.profile-card {
    text-align: left;
    border: 1.5px solid var(--field-border);
    background: var(--white);
    border-radius: 14px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: relative;
    min-height: 120px;
    width: 100%;
}
/* Le modèle marquait la sélection en JS ; ici elle suit l'état du bouton radio. */
.profile-card:has(input:checked) {
    border: 2.5px solid var(--green-500);
    background: var(--green-100);
}
.profile-card:has(input:focus-visible) {
    outline: 3px solid var(--green-500);
    outline-offset: 2px;
}
.profile-card__icon { font-size: 24px; }
.profile-card__label {
    font-weight: 800;
    font-size: 15.5px;
    color: var(--ink);
}
.profile-card__sub {
    font-size: 12.5px;
    color: var(--ink-soft);
}

/* Cartes de choix du mode de contribution */
.mode-card {
    text-align: left;
    background: var(--white);
    border-radius: 14px;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 100%;
}
.mode-card--rapide { border: 2px solid var(--green-500); }
.mode-card--complet { border: 2px solid var(--ink); }
.mode-card__title {
    font-weight: 800;
    font-size: 16px;
}
.mode-card--rapide .mode-card__title { color: var(--green-500); }
.mode-card--complet .mode-card__title { color: var(--ink); }
.mode-card__text {
    font-size: 13.5px;
    color: var(--ink-soft);
    line-height: 1.5;
}

/* Écran avis rapide */
.flow__rapide {
    max-width: 640px;
    margin: 0 auto;
    width: 100%;
    padding: 40px 5vw 80px 5vw;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.flow__rapide-title {
    font-family: var(--font-title);
    font-weight: 800;
    font-size: clamp(24px, 3.2vw, 30px);
    margin: 0;
    line-height: 1.15;
}
.flow__scale {
    margin: 0;
    font-size: 14.5px;
    color: var(--ink-soft);
}

.panel {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.panel--tight { gap: 8px; }
.panel__title {
    font-weight: 700;
    font-size: 15px;
}
.panel__title small {
    font-weight: 400;
    color: var(--ink-faint);
    font-size: 12.5px;
}

.score {
    display: flex;
    gap: 8px;
}
/* Chaque note est un label enveloppant un bouton radio masqué. */
.score__item {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--white);
    border: 1.5px solid var(--field-border);
    color: var(--ink-faint);
    font-weight: 800;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}
/* Remplissage cumulatif comme dans le modèle : la note choisie et les
   précédentes sont vertes. La classe est posée au rendu et par Stimulus. */
.score__item.is-on {
    background: var(--green-500);
    border: 1.5px solid var(--green-500);
    color: var(--white);
}
.score__item:has(input:focus-visible) {
    outline: 3px solid var(--green-500);
    outline-offset: 2px;
}

.textarea {
    background: var(--white);
    border: 1.5px solid var(--field-border);
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 15px;
    resize: vertical;
}
.textarea--quick {
    background: var(--paper);
    min-height: 96px;
}
.textarea--follow { min-height: 88px; }
.textarea--open { min-height: 130px; }

/* Écran questionnaire */
.flow__quest {
    max-width: 1060px;
    margin: 0 auto;
    width: 100%;
    padding: 32px 4vw 80px 4vw;
    display: grid;
    grid-template-columns: minmax(200px, 250px) 1fr;
    gap: 32px;
    align-items: start;
}
.progress-nav {
    background: var(--green-900);
    border-radius: 16px;
    padding: 22px 18px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: 20px;
}
.progress-nav__title {
    font-family: var(--font-title);
    font-weight: 800;
    font-size: 14px;
    color: var(--paper);
}
.progress-nav__item {
    text-align: left;
    border: none;
    background: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
    text-decoration: none;
}
.progress-nav__label {
    font-size: 12.5px;
    font-weight: 700;
    color: rgba(247, 245, 239, 0.75);
}
.progress-nav__item.is-current .progress-nav__label { color: var(--gold-300); }
.progress-nav__bar {
    height: 6px;
    width: 100%;
    background: rgba(247, 245, 239, 0.15);
    border-radius: 3px;
    overflow: hidden;
}
.progress-nav__fill {
    height: 100%;
    background: var(--gold-500);
}
.progress-nav__count {
    font-size: 11px;
    color: rgba(247, 245, 239, 0.6);
}
.progress-nav__hint {
    background: rgba(247, 245, 239, 0.08);
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 11.5px;
    color: rgba(247, 245, 239, 0.75);
    line-height: 1.5;
}

.question {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.question__crumb {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--green-500);
}
.question__text {
    font-family: var(--font-title);
    font-weight: 800;
    font-size: clamp(19px, 2.4vw, 23px);
    margin: 0;
    line-height: 1.3;
}
.question__hint {
    margin: 0;
    font-size: 14px;
    color: var(--ink-muted);
    font-style: italic;
}
.question__multi-hint {
    font-size: 13px;
    color: var(--ink-faint);
}
.question__options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.question__nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
    gap: 12px;
}

/* Option à cocher (choix multiple) et choix oui/non.
   Le modèle utilisait des <button> pilotés par React ; ici ce sont de vrais
   contrôles de formulaire, l'apparence sélectionnée suit :checked. */
.option {
    text-align: left;
    border: 1.5px solid var(--field-border);
    background: var(--white);
    border-radius: 12px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    cursor: pointer;
}
.option:has(input:checked) {
    border: 2px solid var(--green-500);
    background: var(--green-100);
}
.option__control {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.option__box {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    background: var(--white);
    border: 1.5px solid var(--ink-disabled);
    color: var(--white);
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.option:has(input:checked) .option__box {
    background: var(--green-500);
    border: 1px solid var(--green-500);
}
.option:has(input:checked) .option__box::after { content: '✓'; }
.option__label {
    font-size: 15px;
    color: var(--ink);
}
.option:has(input:focus-visible) {
    outline: 3px solid var(--green-500);
    outline-offset: 2px;
}

/* Variante oui / non : pastille ronde bordée de vert */
.option--radio .option__box {
    border-radius: 50%;
    background: var(--white);
    border: 1.5px solid var(--green-500);
}
.option--radio:has(input:checked) .option__box {
    background: var(--green-500);
    border: 1.5px solid var(--green-500);
}
.option--radio:has(input:checked) .option__box::after { content: ''; }
.option--radio .option__label { font-weight: 600; }

/* Encart de glossaire */
.glossary {
    background: var(--gold-100);
    border: 1px solid var(--gold-border);
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 12.5px;
    color: var(--gold-text-2);
    line-height: 1.55;
}

/* ==========================================================================
   17. Écran de confirmation
   ========================================================================== */

.done {
    min-height: 100vh;
    background: var(--green-900);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 5vw;
}
.done__card {
    max-width: 460px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: center;
    text-align: center;
}
.done__icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(201, 162, 39, 0.18);
    border: 2.5px solid var(--gold-500);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}
.done__title {
    font-family: var(--font-title);
    font-weight: 900;
    font-size: clamp(26px, 4vw, 32px);
    margin: 0;
    color: var(--paper);
    line-height: 1.15;
}
.done__counter {
    background: rgba(247, 245, 239, 0.08);
    border: 1px solid rgba(247, 245, 239, 0.18);
    border-radius: 14px;
    padding: 16px 26px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.done__counter-label {
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold-300);
    font-weight: 700;
}
.done__counter-value {
    font-family: var(--font-title);
    font-weight: 900;
    font-size: 36px;
    color: var(--white);
}
.done__counter-region {
    font-size: 12.5px;
    color: rgba(247, 245, 239, 0.6);
}
.done__text {
    margin: 0;
    font-size: 15px;
    line-height: 1.55;
    color: rgba(247, 245, 239, 0.8);
}
.done__quote {
    width: 100%;
    background: rgba(247, 245, 239, 0.06);
    border: 1px solid rgba(247, 245, 239, 0.14);
    border-radius: 14px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: left;
}
.done__quote-label {
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold-300);
    font-weight: 700;
}
.done__quote-text {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--paper);
}
.done__actions {
    display: flex;
    gap: 10px;
    width: 100%;
}
.done__btn {
    flex: 1;
    font-size: 14.5px;
    padding: 14px;
    border-radius: 11px;
    text-decoration: none;
}
.done__btn--solid {
    background: var(--white);
    color: var(--green-900);
    font-weight: 800;
    border: none;
}
.done__btn--ghost {
    border: 1.5px solid rgba(247, 245, 239, 0.4);
    background: none;
    color: var(--paper);
    font-weight: 700;
}

/* ==========================================================================
   18. Messages flash
   ========================================================================== */

.flash {
    max-width: 1200px;
    margin: 16px auto 0 auto;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14.5px;
    border: 1px solid var(--gold-border);
    background: var(--gold-100);
    color: var(--gold-text-2);
}
.flash--success {
    border-color: var(--green-500);
    background: var(--green-100);
    color: var(--green-700);
}
.flash--error {
    border-color: var(--red-500);
    background: #FBEDEB;
    color: #8A241B;
}

/* ==========================================================================
   19. Back-office
   --------------------------------------------------------------------------
   Le modèle de référence ne couvre pas l'administration. Aucune de ses valeurs
   n'est modifiée ici : les couleurs, polices, rayons et espacements sont
   réemployés tels quels pour que le back-office appartienne au même ensemble.
   ========================================================================== */

.admin {
    display: grid;
    grid-template-columns: 250px 1fr;
    min-height: 100vh;
    align-items: start;
}
.admin__main {
    min-width: 0; /* autorise les tableaux à défiler sans pousser la grille */
}

/* ── Barre latérale ── */
.admin-nav {
    background: var(--green-900);
    min-height: 100vh;
    padding: 22px 18px;
    display: flex;
    flex-direction: column;
    gap: 22px;
    position: sticky;
    top: 0;
}
.admin-nav__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.admin-nav__logo {
    width: 36px;
    height: 36px;
    object-fit: contain;
    background: var(--white);
    border-radius: 50%;
    padding: 2px;
}
.admin-nav__names {
    display: flex;
    flex-direction: column;
}
.admin-nav__title {
    font-family: var(--font-title);
    font-weight: 800;
    font-size: 14.5px;
    color: var(--paper);
    line-height: 1.2;
}
.admin-nav__subtitle {
    font-size: 11.5px;
    color: rgba(247, 245, 239, 0.6);
}
.admin-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.admin-nav__link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    color: rgba(247, 245, 239, 0.8);
    text-decoration: none;
}
.admin-nav__link:hover {
    background: rgba(247, 245, 239, 0.08);
    color: var(--white);
}
.admin-nav__link.is-current {
    background: rgba(247, 245, 239, 0.12);
    color: var(--gold-300);
}
.admin-nav__icon { font-size: 15px; }
.admin-nav__note {
    margin: auto 0 0 0;
    background: rgba(247, 245, 239, 0.08);
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 11.5px;
    line-height: 1.5;
    color: rgba(247, 245, 239, 0.75);
}

/* ── En-tête et contenu ── */
.admin__header {
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 18px 32px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.admin__heading {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.admin__title {
    font-family: var(--font-title);
    font-weight: 800;
    font-size: 24px;
    margin: 0;
}
.admin__subtitle {
    margin: 0;
    font-size: 14px;
    color: var(--ink-muted);
}
.admin__user {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
}
.admin__user-name { font-weight: 700; }
.admin__user-role {
    background: var(--green-100);
    color: var(--green-500);
    font-weight: 700;
    font-size: 11.5px;
    padding: 3px 10px;
    border-radius: 999px;
}
.admin__logout {
    color: var(--green-500);
    font-weight: 700;
    text-decoration: none;
}
.admin__content {
    padding: 26px 32px 60px 32px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}
.admin__back { margin: 0; }

/* ── Tuiles de chiffres clés ── */
.stat-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 18px;
}
.stat-tile {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.stat-tile__label {
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-muted);
}
.stat-tile__value {
    font-family: var(--font-title);
    font-weight: 900;
    font-size: 34px;
    line-height: 1.05;
}
.stat-tile__suffix {
    font-size: 20px;
    color: var(--ink-faint);
}
.stat-tile__hint {
    font-size: 12.5px;
    color: var(--ink-faint);
    line-height: 1.45;
}

/* ── Panneaux ── */
.admin-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 22px;
    align-items: start;
}
.panel-admin {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.panel-admin__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}
.panel-admin__title {
    font-family: var(--font-title);
    font-weight: 800;
    font-size: 16.5px;
    margin: 0;
}
.panel-admin__note {
    font-size: 12.5px;
    color: var(--ink-faint);
}
.panel-admin__empty {
    margin: 0;
    font-size: 14px;
    color: var(--ink-muted);
}

/* ── Barres de répartition ──
   Une seule série, donc une seule couleur : l'identité vient du libellé, la
   valeur est toujours écrite en clair. Marque fine, extrémité arrondie de 4px
   ancrée à la ligne de base à gauche. */
.bars,
.scores {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.bars__row {
    display: grid;
    grid-template-columns: minmax(90px, 33%) 1fr auto;
    align-items: center;
    gap: 12px;
}
.bars__label,
.scores__label {
    font-size: 13.5px;
    color: var(--ink-soft);
    overflow-wrap: anywhere;
}
.bars__track,
.scores__track {
    height: 10px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 5px;
    overflow: hidden;
}
.bars__fill,
.scores__fill {
    display: block;
    height: 100%;
    background: var(--green-500);
    border-radius: 0 4px 4px 0;
    min-width: 2px;
}
.bars__value,
.scores__value {
    font-family: var(--font-title);
    font-weight: 800;
    font-size: 14px;
    font-variant-numeric: tabular-nums;
    text-align: right;
}
.scores__row {
    display: grid;
    grid-template-columns: minmax(90px, 30%) 1fr auto auto;
    align-items: center;
    gap: 12px;
}
.scores__scale {
    font-weight: 600;
    font-size: 12px;
    color: var(--ink-faint);
}
.scores__count {
    font-size: 12px;
    color: var(--ink-faint);
    white-space: nowrap;
}

/* ── Filtres ── */
.filters {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 16px 18px;
    display: flex;
    align-items: flex-end;
    gap: 14px;
    flex-wrap: wrap;
}
.filters .field { flex: 1 1 170px; }
.filters__actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}
.filters__reset,
.filters__export {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--green-500);
    text-decoration: none;
}
.filters__export { border-bottom: 2px solid var(--gold-500); }

/* ── Tableau ── */
.table-wrap {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow-x: auto; /* le tableau défile seul, la page ne déborde jamais */
}
.table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
}
.table th,
.table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--line);
    white-space: nowrap;
}
.table thead th {
    background: var(--paper);
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-muted);
}
.table tbody tr:last-child td { border-bottom: none; }
.table tbody tr:hover { background: var(--paper); }
.table__num {
    text-align: right;
    font-variant-numeric: tabular-nums;
}
.table__actions { text-align: right; }
.table__link {
    font-weight: 700;
    color: var(--green-500);
    text-decoration: none;
}
.table__ref {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 12.5px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 2px 6px;
}

/* ── Pastilles d'état ── */
.pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 999px;
    white-space: nowrap;
}
.pill--green {
    background: var(--green-100);
    color: #1B6B45;
}
.pill--gold {
    background: var(--gold-100);
    color: var(--gold-text-2);
}
.pill--taupe {
    background: var(--demo-bg);
    color: #6E6A5C;
}
.pill--danger {
    background: #FBEDEB;
    color: #8A241B;
}

/* ── Pagination ── */
.pager {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}
.pager__link {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--green-500);
    text-decoration: none;
}
.pager__link.is-disabled {
    color: var(--ink-disabled);
    pointer-events: none;
}
.pager__status {
    font-size: 12.5px;
    color: var(--ink-muted);
}

/* ── Fiche de contribution ── */
.definitions {
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
}
.definitions__item {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.definitions dt {
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-muted);
}
.definitions dd {
    margin: 0;
    font-size: 14px;
}

.answers {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
    counter-reset: answer;
}
.answers__item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
}
.answers__item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}
.answers__question {
    margin: 0;
    font-weight: 700;
    font-size: 14.5px;
    line-height: 1.45;
}
.answer__value {
    margin: 0;
    display: inline-flex;
    align-self: flex-start;
    background: var(--green-100);
    color: var(--green-500);
    font-weight: 700;
    font-size: 13.5px;
    padding: 4px 12px;
    border-radius: 8px;
}
.answer__options {
    margin: 0;
    padding-left: 20px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--ink-soft);
}
.answer {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 10px 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.answer__label {
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ink-muted);
}
.answer__text {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    white-space: pre-line;
}

/* ── Tuile cliquable ── */
.stat-tile--link {
    text-decoration: none;
    color: inherit;
    position: relative;
    transition: border-color 0.15s ease, transform 0.15s ease;
}
.stat-tile--link:hover {
    border-color: var(--green-500);
    transform: translateY(-1px);
    color: inherit;
}
.stat-tile__more {
    font-size: 12px;
    font-weight: 700;
    color: var(--green-500);
    margin-top: 2px;
}

/* ── Libellé de barre cliquable ── */
.bars__label--link {
    color: var(--green-500);
    font-weight: 600;
    text-decoration: none;
}
.bars__label--link:hover { text-decoration: underline; }

.panel-admin__link {
    font-size: 13px;
    font-weight: 700;
    color: var(--green-500);
    text-decoration: none;
}

/* ── Évolution temporelle ──
   Série unique : une seule couleur, valeurs disponibles en infobulle et dans le
   tableau replié sous le graphique. */
.spark {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 132px;
    padding-top: 6px;
    overflow-x: auto;
}
.spark__col {
    flex: 1 1 14px;
    min-width: 14px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    gap: 5px;
}
.spark__bar {
    width: 100%;
    max-width: 26px;
    background: var(--green-500);
    border-radius: 4px 4px 0 0;
    min-height: 2px;
}
.spark__tick {
    font-size: 9.5px;
    color: var(--ink-faint);
    white-space: nowrap;
    transform: rotate(-45deg);
    transform-origin: top right;
    height: 22px;
}

.segmented {
    display: flex;
    border: 1.5px solid var(--field-border);
    border-radius: 8px;
    overflow: hidden;
    font-size: 12px;
    font-weight: 700;
}
.segmented__item {
    padding: 5px 10px;
    background: var(--white);
    color: var(--ink-muted);
    text-decoration: none;
}
.segmented__item.is-active {
    background: var(--ink);
    color: var(--white);
}

.data-table > summary {
    cursor: pointer;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--green-500);
}
.data-table[open] > summary { margin-bottom: 10px; }

/* ── Barre d'actions d'une liste ── */
.actions-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}
.actions-bar__count {
    font-size: 13px;
    color: var(--ink-muted);
}
.actions-bar__buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--white);
    border: 1.5px solid var(--field-border);
    border-radius: 9px;
    padding: 7px 13px;
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
    text-decoration: none;
    cursor: pointer;
}
.action-btn:hover {
    border-color: var(--green-500);
    color: var(--green-500);
}

/* ── Pastilles et jetons ── */
.chips {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.chip {
    display: inline-flex;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 4px 12px;
    font-size: 12.5px;
    color: var(--ink-soft);
    text-decoration: none;
}
.chip:hover {
    border-color: var(--green-500);
    color: var(--green-500);
}
.chip--role {
    background: var(--green-100);
    border-color: transparent;
    color: #1B6B45;
    font-weight: 700;
    font-size: 11.5px;
    margin: 1px 2px 1px 0;
}

/* ── Tri des colonnes ──
   Le lien est produit par KnpPaginatorBundle : on cible donc les ancres de
   l'en-tête plutôt qu'une classe. */
.table thead a {
    color: inherit;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}
.table thead a:hover { color: var(--gold-300); }
.table__sort-arrow {
    font-size: 11px;
    opacity: 0.75;
}

/* Cellules à contenu long : le texte passe à la ligne au lieu de déborder.
   Sélecteur volontairement aussi spécifique que « .table td », sans quoi le
   nowrap général l'emporterait. */
.table td.table__wrap,
.table th.table__wrap {
    white-space: normal;
    overflow-wrap: anywhere;
}

/* Tableau des réponses : neuf colonnes dont deux de texte long. En largeur
   automatique, le contenu des colonnes Question et Réponse débordait sur ses
   voisines ; les largeurs sont donc fixées et le tableau défile s'il le faut. */
.table--answers {
    table-layout: fixed;
    min-width: 1330px;
}
.table--answers td { vertical-align: top; }
/* En largeur fixe, une cellule qui ne peut pas se couper est tronquée
   proprement plutôt que de recouvrir sa voisine. */
.table--answers td,
.table--answers th {
    overflow: hidden;
    text-overflow: ellipsis;
}
.table--answers th:nth-child(1), .table--answers td:nth-child(1) { width: 142px; }
.table--answers th:nth-child(2), .table--answers td:nth-child(2) { width: 140px; }
.table--answers th:nth-child(3), .table--answers td:nth-child(3) { width: 112px; }
.table--answers th:nth-child(4), .table--answers td:nth-child(4) { width: 136px; }
.table--answers th:nth-child(5), .table--answers td:nth-child(5) { width: 118px; }
.table--answers th:nth-child(6), .table--answers td:nth-child(6) { width: 252px; }
.table--answers th:nth-child(7), .table--answers td:nth-child(7) { width: 246px; }
.table--answers th:nth-child(8), .table--answers td:nth-child(8) { width: 108px; }
.table--answers th:nth-child(9), .table--answers td:nth-child(9) { width: 82px; }
/* La référence et la date ne doivent pas être rognées : on les laisse
   respirer plutôt que de les tronquer. */
.table--answers td:nth-child(1),
.table--answers td:nth-child(2) { overflow: visible; }
.table__options,
.table__extra {
    display: block;
    font-size: 13px;
    color: var(--ink-soft);
    margin-top: 3px;
}

/* ── Pagination : numéros de page ── */
.pager__pages {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}
.pager__page {
    min-width: 30px;
    text-align: center;
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--green-500);
    text-decoration: none;
}
.pager__page.is-current {
    background: var(--green-500);
    color: var(--white);
}

/* ── Couverture des établissements ── */
.coverage {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 360px;
    overflow-y: auto;
}
.coverage__item {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 10px;
}
.coverage__name { font-size: 13.5px; }
.coverage__meta {
    grid-column: 2;
    font-size: 12px;
    color: var(--ink-faint);
}

/* ── Fils d'activité ── */
.feed {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.feed__item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line);
    font-size: 13px;
}
.feed__item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}
.feed__link {
    text-decoration: none;
    font-weight: 700;
    color: var(--ink);
}
.feed__meta { color: var(--ink-muted); }
.feed__date {
    color: var(--ink-faint);
    font-size: 12px;
    white-space: nowrap;
}

/* ── Impression : ne garder que la donnée ── */
@media print {
    .admin-nav,
    .filters,
    .actions-bar,
    .pager,
    .admin__back,
    .admin__user,
    .segmented,
    .sf-toolbar {
        display: none !important;
    }
    .admin { grid-template-columns: 1fr; }
    .admin__header { border-bottom: 2px solid #1E7A4E; }
    .admin__content { padding: 0; }
    .panel-admin,
    .table-wrap,
    .stat-tile {
        border-color: #999;
        break-inside: avoid;
    }
    .table-wrap { overflow: visible; }
    .table__wrap { max-width: none; }
    .coverage { max-height: none; overflow: visible; }
    .data-table > summary { display: none; }
    .data-table[open] { display: block; }
    a { text-decoration: none; color: inherit; }
}

/* Contenu réservé aux lecteurs d'écran */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* ==========================================================================
   20. Forum
   --------------------------------------------------------------------------
   Espace authentifié, distinct du parcours de contribution anonyme. Reprend
   les mêmes teintes et composants (site-header, panel, field, btn, pill,
   chip) plutôt que d'introduire une palette ou des motifs propres.
   ========================================================================== */

/* ── Barre supérieure du forum : variante de .site-header avec navigation ── */
.forum-header {
    background: var(--white);
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 12px 5vw;
    position: sticky;
    top: 0;
    z-index: 20;
    flex-wrap: wrap;
}
.forum-header__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
    font-family: var(--font-title);
    font-weight: 800;
    font-size: 15px;
}
.forum-header__brand span { color: var(--green-500); }
.forum-header__nav {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: 12px;
}
.forum-header__link {
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--ink-soft);
    text-decoration: none;
}
.forum-header__link:hover { color: var(--green-500); }
.forum-header__link.is-current {
    background: var(--green-100);
    color: var(--green-700);
}
.forum-header__actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 14px;
}
.forum-header__bell {
    position: relative;
    text-decoration: none;
    font-size: 18px;
    color: var(--ink-soft);
    padding: 4px;
}
.forum-header__bell-count {
    position: absolute;
    top: -2px;
    right: -2px;
    background: var(--red-500);
    color: var(--white);
    font-size: 10px;
    font-weight: 800;
    line-height: 1;
    padding: 3px 5px;
    border-radius: 999px;
    min-width: 16px;
    text-align: center;
}
.forum-header__account {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: inherit;
    font-size: 13.5px;
}
.forum-header__avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--green-500);
    color: var(--white);
    font-weight: 800;
    font-size: 11.5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.forum-header__name { font-weight: 700; }

/* ── Structure à deux colonnes (sidebar sombre + contenu) ── */
.forum-layout {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 28px 5vw 60px 5vw;
    display: grid;
    grid-template-columns: minmax(220px, 260px) 1fr;
    gap: 28px;
    align-items: start;
}
.forum-sidebar {
    background: var(--green-900);
    border-radius: 16px;
    padding: 20px 18px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: 88px;
    color: rgba(247, 245, 239, 0.85);
}
.forum-sidebar__cta { width: 100%; }
.forum-sidebar__count {
    font-size: 12.5px;
    color: rgba(247, 245, 239, 0.75);
}
.forum-sidebar__count b { color: var(--paper); font-family: var(--font-title); }
.forum-sidebar__search {
    background: rgba(247, 245, 239, 0.08);
    border: 1px solid rgba(247, 245, 239, 0.15);
    border-radius: 10px;
    padding: 10px 12px;
    color: var(--paper);
    font-size: 13.5px;
}
.forum-sidebar__search::placeholder { color: rgba(247, 245, 239, 0.5); }
.forum-sidebar__note {
    background: rgba(247, 245, 239, 0.08);
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 11.5px;
    line-height: 1.5;
    color: rgba(247, 245, 239, 0.7);
}

/* ── Colonne liste + fil, côte à côte sur la page d'un sujet ── */
.forum-split {
    display: grid;
    grid-template-columns: minmax(240px, 300px) 1fr;
    gap: 24px;
    align-items: start;
}
.forum-split__list {
    position: sticky;
    top: 88px;
    max-height: calc(100vh - 108px);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ── Liste des sujets ── */
.forum-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}
.forum-toolbar__count {
    font-size: 13.5px;
    color: var(--ink-muted);
}
.topic-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.topic-card {
    display: block;
    background: var(--white);
    border: 1.5px solid var(--field-border);
    border-radius: 14px;
    padding: 16px 18px;
    text-decoration: none;
    color: inherit;
}
.topic-card:hover { border-color: var(--green-500); }
.topic-card.is-active { border: 2px solid var(--green-500); background: var(--green-100); }
.topic-card.is-unread { border-left: 4px solid var(--gold-500); }
.topic-card__top {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}
.topic-card__title {
    font-weight: 800;
    font-size: 15.5px;
    color: var(--ink);
}
.topic-card__meta {
    margin-top: 4px;
    font-size: 12.5px;
    color: var(--ink-faint);
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.topic-card__avatars {
    display: flex;
}
.topic-card__avatars .avatar-mini { margin-left: -8px; }
.topic-card__avatars .avatar-mini:first-child { margin-left: 0; }
.avatar-mini {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--green-500);
    color: var(--white);
    font-weight: 800;
    font-size: 10.5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--white);
    flex-shrink: 0;
}
.avatar-mini--deleted { background: var(--ink-disabled); }
.empty-state {
    background: var(--white);
    border: 1px dashed var(--field-border);
    border-radius: 14px;
    padding: 32px;
    text-align: center;
    color: var(--ink-muted);
    font-size: 14.5px;
}

/* ── Fil de discussion ── */
.thread {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
/* Zone de défilement interne (façon Messenger/Discord) : seul ce panneau
   défile, pas la page entière — c'est ce qui rend possible de préserver la
   position de lecture au chargement de l'historique (cf. forum_thread_
   controller.js) et de savoir si l'utilisateur est "en bas" du fil pour
   décider d'un défilement automatique ou d'un indicateur de nouveaux
   messages. */
.thread__scroll {
    position: relative;
    max-height: calc(100vh - 300px);
    min-height: 320px;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--white);
    border: 1.5px solid var(--field-border);
    border-radius: 14px;
    padding: 6px 16px;
}
.thread__new-indicator {
    position: sticky;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: fit-content;
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--ink);
    color: var(--white);
    font-weight: 700;
    font-size: 13px;
    padding: 9px 16px;
    border-radius: 999px;
    border: none;
    box-shadow: 0 8px 20px -8px rgba(23, 37, 28, 0.5);
    cursor: pointer;
}
.thread__new-indicator:hover { background: var(--green-700); }
/* Élément-sentinelle "charger plus" — fil de discussion (historique) et
   liste des sujets (défilement infini), cf. forum_thread_controller.js et
   forum_topics_controller.js. */
.load-more-item {
    text-align: center;
    list-style: none;
    padding: 10px 0;
}
.thread__head {
    background: var(--white);
    border: 1.5px solid var(--field-border);
    border-radius: 14px;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.thread__title {
    font-family: var(--font-title);
    font-weight: 800;
    font-size: clamp(20px, 2.6vw, 25px);
    margin: 0;
}
.thread__meta {
    font-size: 13px;
    color: var(--ink-muted);
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.thread__actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 4px;
}
.thread__messages {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.thread__date-sep {
    text-align: center;
    font-size: 12px;
    color: var(--ink-faint);
    margin: 10px 0;
}
.post-bubble {
    display: flex;
    gap: 12px;
    padding: 10px 0;
}
.post-bubble__author-badge {
    background: var(--gold-100);
    color: var(--gold-text-2);
    font-size: 10.5px;
    font-weight: 800;
    padding: 1px 7px;
    border-radius: 6px;
    margin-left: 6px;
}
.post-bubble__body {
    flex: 1;
    min-width: 0;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 10px 14px;
}
.post-bubble__top {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 4px;
}
.post-bubble__author {
    font-weight: 700;
    font-size: 13.5px;
}
.post-bubble__time {
    font-size: 11.5px;
    color: var(--ink-faint);
}
.post-bubble__quote {
    border-left: 3px solid var(--field-border);
    padding-left: 10px;
    margin: 0 0 6px 0;
    font-size: 13px;
    color: var(--ink-muted);
    font-style: italic;
}
.post-bubble__text {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.55;
    white-space: pre-line;
    overflow-wrap: anywhere;
}
.post-bubble__actions {
    margin-top: 6px;
    display: flex;
    gap: 12px;
}
.post-bubble__action {
    font-size: 12px;
    font-weight: 700;
    color: var(--ink-faint);
    text-decoration: none;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}
.post-bubble__action:hover { color: var(--green-500); }
.post-bubble--hidden .post-bubble__body { opacity: 0.55; }

.composer {
    background: var(--white);
    border: 1.5px solid var(--field-border);
    border-radius: 14px;
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.composer__hint {
    font-size: 12px;
    color: var(--ink-faint);
}
.load-older {
    align-self: center;
    background: none;
    border: 1.5px solid var(--field-border);
    border-radius: 999px;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 700;
    color: var(--green-500);
    text-decoration: none;
}

/* ── Fils de compte (connexion, inscription, mot de passe, profil) ── */
.forum-auth {
    max-width: 460px;
    margin: 0 auto;
    width: 100%;
    padding: 48px 5vw 80px 5vw;
    display: flex;
    flex-direction: column;
    gap: 22px;
}
.forum-auth__head {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: center;
}
.forum-auth__title {
    font-family: var(--font-title);
    font-weight: 800;
    font-size: clamp(22px, 3vw, 27px);
    margin: 0;
}
.forum-auth__intro {
    margin: 0;
    font-size: 14px;
    color: var(--ink-soft);
}
.forum-auth__footer {
    text-align: center;
    font-size: 13.5px;
    color: var(--ink-muted);
}

/* ── Réutilise .flow pour les écrans "compte" (profil, mot de passe) ── */
.forum-account {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
    padding: 40px 5vw 80px 5vw;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.forum-account__danger {
    border-color: #E9C6C1;
    background: #FBEDEB;
}
.forum-account__danger .panel__title { color: #8A241B; }

/* ==========================================================================
   21. Adaptations responsive
   --------------------------------------------------------------------------
   Seul ajout au modèle. Celui-ci figeait ses grilles principales en
   minmax(320px, …) / minmax(280px, …) et débordait horizontalement sous
   environ 715px de large. Les règles ci-dessous empilent ces grilles en
   dessous du seuil, sans changer aucune couleur, taille ni espacement.
   Au-dessus de 720px, le rendu est celui du modèle.
   ========================================================================== */

@media (max-width: 720px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .section-why__inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .flow__quest {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    /* La navigation de progression cesse d'être collante une fois empilée. */
    .progress-nav { position: static; }
}

@media (max-width: 520px) {
    .done__actions { flex-direction: column; }
    .score__item { width: 40px; height: 40px; }
}

/* Back-office : la barre latérale passe au-dessus du contenu sur petit écran. */
@media (max-width: 900px) {
    .admin {
        grid-template-columns: 1fr;
    }
    .admin-nav {
        min-height: 0;
        position: static;
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
        gap: 14px;
    }
    .admin-nav__list {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .admin-nav__note { display: none; }
    .admin__header,
    .admin__content {
        padding-left: 5vw;
        padding-right: 5vw;
    }
    /* Une fois à l'étroit : libellé et valeur sur la même ligne, barre dessous. */
    .bars__row,
    .scores__row {
        grid-template-columns: 1fr auto;
    }
    .bars__label,
    .scores__label {
        grid-row: 1;
        grid-column: 1;
    }
    .bars__value,
    .scores__value {
        grid-row: 1;
        grid-column: 2;
    }
    .bars__track,
    .scores__track {
        grid-row: 2;
        grid-column: 1 / -1;
    }
    .scores__count {
        grid-row: 3;
        grid-column: 1 / -1;
    }
}

/* Forum : la barre latérale sombre s'empile au-dessus de la liste des sujets. */
@media (max-width: 720px) {
    .forum-layout {
        grid-template-columns: 1fr;
    }
    .forum-sidebar {
        position: static;
    }
    .forum-split {
        grid-template-columns: 1fr;
    }
    .forum-split__list {
        position: static;
        max-height: none;
    }
}
@media (max-width: 640px) {
    .forum-header__nav { order: 3; width: 100%; }
}
