/* ==========================================================================
   Thibaut Manager — feuille de styles
   Palette : ardoise (fonds sombres), sarcelle (livrée), ambre (girouette),
   quai (fond clair). Police : Barlow, issue de la signalétique routière.
   ========================================================================== */

/* ---------- Polices (hébergées localement, aucun appel externe) ---------- */

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

/* ---------- Jetons ---------- */

:root {
    --ardoise: #1d2b33;
    --ardoise-clair: #2b3d47;
    --sarcelle: #0b6b63;
    --sarcelle-fonce: #08524c;
    --sarcelle-pale: #e2f0ed;
    --ambre: #ffb000;
    --ambre-clair: #ffc53d;
    --quai: #edf1f2;
    --blanc: #ffffff;
    --texte-doux: #536570;
    --texte-sur-sombre: #c3d0d6;
    --bordure: #cdd7db;
    --bordure-champ: #8fa2ab;
    --rouge: #b3261e;
    --rouge-pale: #fbeceb;
    --ecran: #12191d;
    --ecran-led-eteinte: #222d32;

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

    --largeur: 72rem;
    --rayon: 6px;
    --focus: var(--sarcelle);
}

/* ---------- Base ---------- */

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

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

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

body {
    margin: 0;
    background: var(--quai);
    color: var(--ardoise);
    font-family: var(--police-texte);
    font-size: 1.0625rem;
    line-height: 1.55;
}

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

h1,
h2,
h3 {
    font-family: var(--police-titre);
    font-weight: 700;
    line-height: 1.05;
    margin: 0;
}

h2 {
    font-size: clamp(2.125rem, 4.5vw, 3rem);
    letter-spacing: -0.005em;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.15;
}

p {
    margin: 0;
}

a {
    color: var(--sarcelle);
    text-underline-offset: 0.18em;
}

a:hover {
    color: var(--sarcelle-fonce);
}

:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 3px;
}

.entete,
.hero,
.pied {
    --focus: var(--ambre);
}

[hidden] {
    display: none !important;
}

.visuellement-cache {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.conteneur {
    width: min(100% - 2rem, var(--largeur));
    margin-inline: auto;
}

.lien-evitement {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 100;
    padding: 0.6rem 1rem;
    background: var(--ambre);
    color: var(--ardoise);
    font-weight: 600;
    border-radius: var(--rayon);
    text-decoration: none;
}

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

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

.bouton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.4rem;
    border: 2px solid transparent;
    border-radius: var(--rayon);
    font-family: var(--police-titre);
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.bouton--ambre {
    background: var(--ambre);
    color: var(--ardoise);
}

.bouton--ambre:hover {
    background: var(--ambre-clair);
    color: var(--ardoise);
}

.bouton--contour {
    border-color: #6d838d;
    color: var(--blanc);
}

.bouton--contour:hover {
    border-color: var(--blanc);
    color: var(--blanc);
}

.bouton--sarcelle {
    background: var(--sarcelle);
    color: var(--blanc);
}

.bouton--sarcelle:hover {
    background: var(--sarcelle-fonce);
    color: var(--blanc);
}

.bouton--petit {
    padding: 0.55rem 0.95rem;
    font-size: 1.125rem;
}

.bouton--large {
    width: 100%;
    padding-block: 1rem;
}

.bouton:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.bouton[aria-busy="true"] {
    cursor: progress;
}

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

.entete {
    position: relative;
    z-index: 10;
    background: var(--ardoise);
    color: var(--blanc);
    border-bottom: 1px solid var(--ardoise-clair);
}

.entete__barre {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1.5rem;
    min-height: 4.25rem;
    padding-block: 0.6rem;
}

.marque {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--blanc);
    text-decoration: none;
}

.marque:hover {
    color: var(--blanc);
}

.marque__logo {
    flex: none;
    width: 2.5rem;
    height: 2.5rem;
}

.marque__nom {
    font-family: var(--police-titre);
    font-size: 1.625rem;
    font-weight: 700;
    line-height: 1;
}

.menu ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1.75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.menu a:not(.bouton) {
    color: var(--texte-sur-sombre);
    font-weight: 500;
    text-decoration: none;
}

.menu a:not(.bouton):hover {
    color: var(--blanc);
    text-decoration: underline;
}

.menu-bouton {
    display: none;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.8rem;
    border: 2px solid #4a5f69;
    border-radius: var(--rayon);
    background: transparent;
    color: var(--blanc);
    font: 600 1.0625rem/1 var(--police-texte);
    cursor: pointer;
}

.menu-bouton svg {
    width: 1.25rem;
    height: 1.25rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
}

@media (max-width: 47.99rem) {
    .js .menu-bouton {
        display: inline-flex;
    }

    .js .menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 0.25rem 1rem 1.25rem;
        background: var(--ardoise);
        border-bottom: 1px solid var(--ardoise-clair);
        box-shadow: 0 16px 24px -16px rgba(0, 0, 0, 0.5);
    }

    .js .menu.est-ouvert {
        display: block;
    }

    .js .menu ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .js .menu a:not(.bouton) {
        display: block;
        padding: 0.85rem 0;
        border-bottom: 1px solid var(--ardoise-clair);
    }

    .js .menu .bouton {
        width: 100%;
        margin-top: 1rem;
    }
}

/* ---------- Hero et girouette ---------- */

.hero {
    background: var(--ardoise);
    color: var(--blanc);
    padding-block: clamp(2rem, 6vw, 4rem) clamp(3rem, 8vw, 5.5rem);
}

/* L'écran de la girouette : fond noir mat parsemé de LED éteintes. */
.girouette {
    position: relative;
    padding: clamp(1rem, 3vw, 1.75rem) clamp(1.1rem, 4vw, 2.5rem) clamp(0.9rem, 2.6vw, 1.5rem);
    background-color: var(--ecran);
    background-image: radial-gradient(circle, var(--ecran-led-eteinte) 1px, transparent 1.4px);
    background-size: 4px 4px;
    border: clamp(6px, 1.2vw, 10px) solid #0b1013;
    border-radius: 14px;
    box-shadow: inset 0 0 0 1px #2d3a40, 0 24px 48px -28px rgba(0, 0, 0, 0.75);
    overflow: hidden;
}

/* Texte LED : le texte réel reste lisible et sélectionnable ; une trame
   de points posée par-dessus lui donne l'aspect d'une matrice de diodes. */
.led {
    --pas: 4px;
    --rayon-led: 1.55px;
    position: relative;
    display: block;
    width: fit-content;
    max-width: 100%;
    color: var(--ambre);
    text-shadow: 0 0 14px rgba(255, 176, 0, 0.45);
}

.led::after {
    content: "";
    position: absolute;
    inset: -0.15em -0.1em -0.3em; /* couvre aussi les jambages (g, p) et le halo */
    pointer-events: none;
    background-image: radial-gradient(circle, transparent var(--rayon-led), var(--ecran) calc(var(--rayon-led) + 0.45px));
    background-size: var(--pas) var(--pas);
}

.led--fine {
    --pas: 3px;
    --rayon-led: 1.15px;
}

@media (min-width: 48rem) {
    .girouette {
        background-size: 5px 5px;
    }

    .led {
        --pas: 5px;
        --rayon-led: 1.75px;
    }

    .led--fine {
        --pas: 3px;
        --rayon-led: 1.05px;
    }
}

.girouette__destination {
    font-size: clamp(2.75rem, 10.5vw, 7rem);
    line-height: 1;
    letter-spacing: 0.01em;
    overflow-wrap: anywhere;
}

.girouette__via {
    margin-top: 0.35rem;
    font-family: var(--police-titre);
    font-size: clamp(1.25rem, 2.8vw, 1.875rem);
    font-weight: 600;
    line-height: 1.1;
}

/* Allumage de la girouette au chargement, une seule fois. */
@media (prefers-reduced-motion: no-preference) {
    .girouette__destination,
    .girouette__via {
        animation: allumage 1.1s steps(1, end) both;
    }

    .girouette__via {
        animation-delay: 0.35s;
    }
}

@keyframes allumage {
    0% { opacity: 0; }
    18% { opacity: 0.85; }
    24% { opacity: 0.1; }
    40% { opacity: 1; }
    46% { opacity: 0.45; }
    56% { opacity: 1; }
    100% { opacity: 1; }
}

.hero__corps {
    max-width: 40rem;
    margin-top: clamp(1.75rem, 4vw, 2.5rem);
}

.hero__accroche {
    font-size: clamp(1.25rem, 2.4vw, 1.5rem);
    font-weight: 500;
    line-height: 1.35;
}

.hero__texte {
    margin-top: 0.75rem;
    color: var(--texte-sur-sombre);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.75rem;
}

/* ---------- Sections ---------- */

.section {
    padding-block: clamp(3.5rem, 8vw, 6rem);
    scroll-margin-top: 1rem;
}

.section--joueurs {
    background: var(--blanc);
    border-top: 1px solid var(--bordure);
}

.section--avis {
    border-top: 1px solid var(--bordure);
}

/* ---------- Le jeu : plan de ligne ---------- */

.jeu {
    display: grid;
    gap: 2.5rem;
}

.jeu__intro p {
    max-width: 34rem;
    margin-top: 1rem;
    color: var(--texte-doux);
    font-size: 1.125rem;
}

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

.ligne__arret {
    position: relative;
    padding: 0 0 2.25rem 3.25rem;
}

.ligne__arret:last-child {
    padding-bottom: 0;
}

/* Tronçon de ligne jusqu'à l'arrêt suivant. */
.ligne__arret:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 11px;
    top: 0.35rem;
    width: 8px;
    height: 100%;
    background: var(--sarcelle);
}

/* Arrêt : pastille blanche cerclée. */
.ligne__arret::before {
    content: "";
    position: absolute;
    z-index: 1;
    left: 0;
    top: 0.15rem;
    width: 30px;
    height: 30px;
    border: 7px solid var(--sarcelle);
    border-radius: 50%;
    background: var(--blanc);
}

/* Terminus : pastille pleine, plus grande. */
.ligne__arret--terminus::before {
    left: -3px;
    top: -0.05rem;
    width: 36px;
    height: 36px;
    border: 0;
    background: var(--sarcelle);
    box-shadow: inset 0 0 0 9px var(--sarcelle), inset 0 0 0 13px var(--blanc);
}

.ligne__arret h3 {
    padding-top: 0.2rem;
}

.ligne__arret p {
    max-width: 34rem;
    margin-top: 0.4rem;
    color: var(--texte-doux);
}

@media (min-width: 56rem) {
    .jeu {
        grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
        gap: 5rem;
        align-items: start;
    }

    .jeu__intro {
        position: sticky;
        top: 2rem;
    }
}

/* ---------- Avis publiés ---------- */

.joueurs__tete {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem 3rem;
    margin-bottom: 2.25rem;
}

.joueurs__tete .compteurs {
    margin: 0;
}

.liste-joueurs {
    margin: 0;
    padding: 0;
    list-style: none;
    columns: 2 22rem;
    column-gap: 1.25rem;
}

.avis-joueur {
    break-inside: avoid;
    margin-bottom: 1.25rem;
    padding: 1.25rem 1.4rem 1.4rem;
    background: var(--quai);
    border-radius: 10px;
}

.avis-joueur__tete {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.35rem 1rem;
}

.avis-joueur__pseudo {
    font-size: 1.375rem;
    overflow-wrap: anywhere;
}

.avis-joueur__infos {
    margin-top: 0.2rem;
    color: var(--texte-doux);
    font-size: 0.9375rem;
}

.avis-joueur__message {
    margin-top: 0.8rem;
    overflow-wrap: anywhere;
}

.note-etoiles {
    display: inline-flex;
    gap: 2px;
}

.note-etoiles svg {
    width: 1.15rem;
    height: 1.15rem;
    fill: var(--blanc);
    stroke: var(--ardoise);
    stroke-width: 1.6;
    stroke-linejoin: round;
}

.note-etoiles .est-pleine svg {
    fill: var(--ambre);
}

.section--joueurs .pagination {
    margin-top: 0.5rem;
}

/* ---------- Formulaire d'avis ---------- */

.avis {
    display: grid;
    gap: 2.5rem;
}

.avis__intro > p:first-of-type {
    max-width: 32rem;
    margin-top: 1rem;
    color: var(--texte-doux);
    font-size: 1.125rem;
}

.compteurs {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 2.75rem;
    margin: 2rem 0 0;
}

.compteurs__item {
    display: flex;
    flex-direction: column-reverse;
}

.compteurs dt {
    color: var(--texte-doux);
    font-size: 0.9375rem;
}

.compteurs dd {
    margin: 0;
    font-family: var(--police-titre);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.compteurs__sur {
    font-size: 1.375rem;
    color: var(--texte-doux);
}

.compteurs__vide {
    margin-top: 0.75rem;
    color: var(--texte-doux);
}

.mention-donnees {
    max-width: 32rem;
    margin-top: 2rem;
    padding-left: 1rem;
    border-left: 3px solid var(--bordure);
    color: var(--texte-doux);
    font-size: 0.9375rem;
}

@media (min-width: 60rem) {
    .avis {
        grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
        gap: 5rem;
        align-items: start;
    }
}

/* ---------- Formulaire ---------- */

.formulaire {
    padding: clamp(1.25rem, 3.5vw, 2.25rem);
    background: var(--blanc);
    border: 1px solid var(--bordure);
    border-radius: 12px;
}

.formulaire__retour:focus {
    outline: none;
}

.formulaire__ligne {
    display: grid;
    gap: 0 1.25rem;
}

@media (min-width: 38rem) {
    .formulaire__ligne {
        grid-template-columns: 1fr 1fr;
    }
}

.champ {
    min-width: 0;
    margin: 0 0 1.35rem;
    padding: 0;
    border: 0;
}

.champ > label,
.champ > legend {
    display: block;
    margin-bottom: 0.4rem;
    padding: 0;
    font-weight: 600;
    line-height: 1.3;
}

.facultatif {
    color: var(--texte-doux);
    font-weight: 400;
}

.champ input[type="text"],
.champ input[type="email"],
.champ select,
.champ textarea {
    display: block;
    width: 100%;
    padding: 0.7rem 0.85rem;
    border: 1.5px solid var(--bordure-champ);
    border-radius: var(--rayon);
    background: var(--blanc);
    color: var(--ardoise);
    font: inherit;
    line-height: 1.4;
}

.champ textarea {
    min-height: 10rem;
    resize: vertical;
}

.champ select {
    appearance: none;
    padding-right: 2.5rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%231d2b33' stroke-width='2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.9rem center;
    background-size: 0.75rem;
    cursor: pointer;
}

.champ input:focus-visible,
.champ select:focus-visible,
.champ textarea:focus-visible {
    outline: 3px solid var(--sarcelle);
    outline-offset: 1px;
    border-color: var(--sarcelle);
}

.champ [aria-invalid="true"],
.champ--erreur input[type="text"],
.champ--erreur input[type="email"],
.champ--erreur select,
.champ--erreur textarea {
    border-color: var(--rouge);
}

.champ__aide {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.25rem 1rem;
    margin-top: 0.4rem;
    color: var(--texte-doux);
    font-size: 0.9375rem;
}

.compteur {
    font-variant-numeric: tabular-nums;
}

.compteur--limite {
    color: var(--rouge);
    font-weight: 600;
}

.champ__erreur {
    margin-top: 0.4rem;
    color: var(--rouge);
    font-size: 0.9375rem;
    font-weight: 600;
}

/* Note en étoiles */

.etoiles {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.15rem;
}

.etoiles input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.etoiles label {
    padding: 0.15rem;
    border-radius: var(--rayon);
    color: var(--blanc);
    cursor: pointer;
}

.etoiles svg {
    width: 2.25rem;
    height: 2.25rem;
    fill: currentColor;
    stroke: var(--ardoise);
    stroke-width: 1.4;
    stroke-linejoin: round;
    transition: transform 0.12s ease;
}

.etoiles input:focus-visible + label {
    outline: 3px solid var(--sarcelle);
    outline-offset: 0;
}

.etoiles:has(#note-1:checked) label:nth-of-type(-n + 1),
.etoiles:has(#note-2:checked) label:nth-of-type(-n + 2),
.etoiles:has(#note-3:checked) label:nth-of-type(-n + 3),
.etoiles:has(#note-4:checked) label:nth-of-type(-n + 4),
.etoiles:has(#note-5:checked) label:nth-of-type(-n + 5) {
    color: var(--ambre);
}

@media (hover: hover) {
    .etoiles:hover label {
        color: var(--ambre-clair);
    }

    .etoiles label:hover ~ label {
        color: var(--blanc);
    }

    .etoiles label:hover svg {
        transform: scale(1.08);
    }
}

.champ--erreur .etoiles svg {
    stroke: var(--rouge);
}

.etoiles__libelle {
    margin-left: 0.6rem;
    font-family: var(--police-titre);
    font-size: 1.25rem;
    font-weight: 600;
}

/* Case à cocher */

.champ--case {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.25rem 0.75rem;
    align-items: start;
}

.champ--case input {
    width: 1.25rem;
    height: 1.25rem;
    margin: 0.15rem 0 0;
    accent-color: var(--sarcelle);
    cursor: pointer;
}

.champ--case > label {
    margin: 0;
    font-weight: 400;
    cursor: pointer;
}

.champ--case .champ__erreur {
    grid-column: 2;
    margin-top: 0;
}

/* Pot de miel : invisible pour les humains. */
.piege {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Messages */

.alerte {
    margin-bottom: 1.5rem;
    padding: 0.9rem 1rem;
    border-left: 6px solid;
    border-radius: var(--rayon);
    font-weight: 500;
}

.alerte--succes {
    background: var(--sarcelle-pale);
    border-color: var(--sarcelle);
    color: #0a4740;
}

.alerte--erreur {
    background: var(--rouge-pale);
    border-color: var(--rouge);
    color: #7a1a14;
}

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

.pied {
    background: var(--ardoise);
    color: var(--texte-sur-sombre);
    padding-block: 3rem 1.5rem;
}

.pied__grille {
    display: grid;
    gap: 2rem;
}

.pied__marque p {
    max-width: 24rem;
    margin-top: 0.85rem;
}

.pied__liens {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pied a:not(.marque) {
    color: var(--texte-sur-sombre);
}

.pied a:not(.marque):hover {
    color: var(--blanc);
}

.pied__bas {
    margin-top: 2.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--ardoise-clair);
    font-size: 0.9375rem;
}

@media (min-width: 48rem) {
    .pied__grille {
        grid-template-columns: 1fr auto;
        align-items: start;
    }
}

/* ---------- Administration ---------- */

.admin-main {
    padding-block: clamp(2rem, 5vw, 3.5rem);
}

.admin-panneau {
    max-width: 30rem;
    padding: clamp(1.25rem, 3.5vw, 2rem);
    background: var(--blanc);
    border: 1px solid var(--bordure);
    border-radius: 12px;
}

.admin-panneau h1,
.admin-tete h1 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.admin-panneau p + p {
    margin-top: 0.75rem;
}

.admin-panneau code {
    display: block;
    margin-top: 0.5rem;
    padding: 0.6rem 0.75rem;
    background: var(--quai);
    border-radius: var(--rayon);
    font-size: 0.875rem;
    overflow-wrap: anywhere;
}

.admin-tete {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem 2rem;
    margin-bottom: 1.5rem;
}

.admin-tete h1 {
    margin-bottom: 0;
}

.admin-tete p {
    color: var(--texte-doux);
}

.liste-avis {
    display: grid;
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.carte-avis {
    padding: 1.25rem 1.4rem;
    background: var(--blanc);
    border: 1px solid var(--bordure);
    border-radius: 10px;
}

.carte-avis--nouveau {
    border-left: 6px solid var(--ambre);
}

.carte-avis__tete {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.25rem 1rem;
}

.carte-avis__pseudo {
    font-family: var(--police-titre);
    font-size: 1.5rem;
    font-weight: 700;
}

.carte-avis__note {
    color: #8a5a00;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.carte-avis__etat {
    padding: 0.1rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8125rem;
    font-weight: 600;
}

.carte-avis__etat--en-ligne {
    background: var(--sarcelle-pale);
    color: #0a4740;
}

.carte-avis__etat--attente {
    background: #fdecc8;
    color: #6b4500;
}

.carte-avis__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1.5rem;
}

.filtres {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
    margin-bottom: 1.25rem;
}

.filtres [aria-current="page"] {
    color: var(--ardoise);
    font-weight: 700;
    text-decoration: none;
}

.carte-avis__badge {
    padding: 0.1rem 0.5rem;
    background: var(--ambre);
    border-radius: 4px;
    color: var(--ardoise);
    font-size: 0.8125rem;
    font-weight: 600;
}

.carte-avis__infos {
    margin-top: 0.2rem;
    color: var(--texte-doux);
    font-size: 0.9375rem;
}

.carte-avis__message {
    margin-top: 0.85rem;
    max-width: 70ch;
    overflow-wrap: anywhere;
}

.carte-avis__pied {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 1rem;
    padding-top: 0.85rem;
    border-top: 1px solid var(--bordure);
    font-size: 0.9375rem;
}

.bouton-lien {
    padding: 0;
    border: 0;
    background: none;
    color: var(--rouge);
    font: inherit;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 0.18em;
    cursor: pointer;
}

.bouton-lien--neutre {
    color: var(--ardoise);
}

.bouton-deconnexion {
    padding: 0.45rem 0.85rem;
    border: 2px solid #4a5f69;
    border-radius: var(--rayon);
    background: transparent;
    color: var(--blanc);
    font: 600 1rem/1 var(--police-texte);
    cursor: pointer;
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.vide {
    padding: 2rem 1.4rem;
    background: var(--blanc);
    border: 1px dashed var(--bordure-champ);
    border-radius: 10px;
    color: var(--texte-doux);
}
