/* Importation d'une police moderne */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;0,600;0,800;1,900&display=swap');

/* --- DESIGN MODERNE DU HERO --- */
.hero {
    background-color: var(--rouge-unaf);
    padding: 1rem 1rem;
    text-align: center;
    color: white;
    margin-bottom: 1rem;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- CONTENEUR GLOBAL POUR TOUTES LES PAGES --- */
.site-container {
    max-width: 1100px;
    margin: 3rem auto;
    padding: 2rem;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}

/* Correction pour les listes WordPress */
.texte-wordpress ul {
    margin-top: 1.5rem;
    line-height: 1.8;
    list-style-position: inside;
}

/* On harmonise les titres dans les pages */
.site-container h1 { color: var(--rouge-unaf); margin-bottom: 2rem; }
.site-container h2 { color: #333; margin-bottom: 1.5rem; }
.site-container p { line-height: 1.8; color: #444; margin-bottom: 1rem; }

:root {
    --rouge-unaf: #D32F2F;
    --rouge-fonce: #b71c1c;
    --bleu-unaf: #1976D2;
    --bleu-fonce: #0d47a1;
    --gris-fonce: #1a1a1a;
    --gris-clair: #f4f6f9;
    --blanc: #FFFFFF;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 15px 35px rgba(211, 47, 47, 0.2);
}

* { font-family: 'Poppins', sans-serif; box-sizing: border-box; margin: 0; padding: 0; }

/* --- HEADER  --- */
header.main-header {
    background-color: var(--blanc);
    color: var(--gris-fonce);
    box-shadow: var(--shadow-soft);
    padding: 0.8rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    gap: 1.5rem;
}

/* --- AJUSTEMENT DU LOGO --- */
.logo img {
    width: 180px;
    height: auto;
    display: block;
    transition: width 0.3s ease;
}

/* --- NAVIGATION --- */
nav.main-nav ul {
    display: flex;
    list-style: none;
    gap: 1.2rem;
    margin: 0;
    padding: 0;
    align-items: center;
}

nav.main-nav a {
    color: var(--gris-fonce);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    padding-bottom: 5px;
    white-space: nowrap;
}

nav.main-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 0;
    background-color: var(--rouge-unaf);
    transition: width 0.3s ease;
}
nav.main-nav a:hover::after { width: 100%; }

/* --- BOUTON LOGIN --- */
.btn-login {
    background: linear-gradient(90deg, var(--bleu-unaf), var(--bleu-fonce));
    color: white;
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    font-weight: bold;
    font-size: 0.95rem;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(25, 118, 210, 0.3);
    white-space: nowrap;
    text-align: center;
    display: inline-block;
}
.btn-login:hover { transform: scale(1.05); }

/* --- BANDEAU HERO ACCUEIL --- */
.hero-accueil {
    background: linear-gradient(135deg, var(--rouge-fonce) 0%, var(--rouge-unaf) 100%);
    padding: 4rem 1rem;
    color: white;
    text-align: center;
}

/* --- ARTICLES --- */
article {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
}
article:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.single article, 
.single article:hover {
    transform: none !important;
    box-shadow: none !important;
    cursor: default;
}

/* --- SECTION PARTENAIRES --- */
.partners { 
    margin: 4rem 0; 
    text-align: center; 
    overflow: hidden; 
    padding: 2rem 0;
}

.partners-track {
    display: flex !important;
    gap: 3rem;
    width: max-content; 
    animation: defilement 20s linear infinite; 
}

.partners-track:hover { 
    animation-play-state: paused; 
}

.partner-logo {
    background: var(--blanc, #ffffff);
    padding: 1rem;
    border-radius: 8px;
    font-weight: bold;
    color: #555;
    min-width: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    white-space: nowrap;
    border: 3px solid transparent; 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-logo img {
    max-width: 120px;
    height: 120px;
    object-fit: contain;
}

.partner-logo:hover {
    transform: translateY(-5px);
}

.tier-gold { border-color: #FFD700; box-shadow: 0 4px 15px rgba(255, 215, 0, 0.2); }
.tier-silver { border-color: #C0C0C0; box-shadow: 0 4px 15px rgba(192, 192, 192, 0.2); }
.tier-bronze { border-color: #CD7F32; box-shadow: 0 4px 15px rgba(205, 127, 50, 0.2); }

@keyframes defilement {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 1.5rem)); }
}

/* --- RESPONSIVE DESIGN GLOBALE --- */
@media screen and (max-width: 1150px) {
    header.main-header { flex-direction: column; padding: 1rem; }
    nav.main-nav ul { flex-wrap: wrap; justify-content: center; margin: 1rem 0; }
}

@media screen and (max-width: 900px) {
    header.main-header { flex-direction: column; padding: 1rem; gap: 1rem; }
    nav.main-nav ul { gap: 1rem; flex-wrap: wrap; justify-content: center; }
    .hero-accueil h1 { font-size: 1.8rem; }
    .home-layout { grid-template-columns: 1fr; }
}

@media screen and (max-width: 600px) {
    .partner-logo { min-width: 120px; padding: 1rem; font-size: 0.8rem; }
    .btn-login { width: 100%; text-align: center; margin-top: 1rem; }
    .logo img { width: 150px; }
}

/* --- STRUCTURE ACCUEIL --- */
.home-layout { 
    display: grid; 
    grid-template-columns: 2fr 1fr; 
    gap: 2.5rem; 
    max-width: 95%; 
    margin: 3rem auto; 
    padding: 0 2rem; 
}
.psg-layout { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 1.5rem; 
    align-items: stretch; 
}
.psg-main-article { grid-column: 1 / -1; }
.psg-side { 
    grid-column: 1 / -1; 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 1.5rem; 
}

@media screen and (max-width: 1000px) {
    .home-layout { grid-template-columns: 1fr; }
    .psg-main-article { min-height: 350px !important; }
}
@media screen and (max-width: 600px) {
    .psg-side { grid-template-columns: 1fr; }
}

/* --- BOUTONS LIENS UTILES (Sidebar) --- */
.lien-externe {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 1.5rem;
    border-radius: 8px;
    color: var(--blanc);
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lien-externe.district { background-color: #D32F2F; }
.lien-externe.ligue-pdl { background-color: var(--bleu-fonce); }
.lien-externe.unaf-nat { background-color: var(--bleu-unaf); }
.lien-externe.ifab { background-color: var(--gris-fonce); }
.lien-externe.safe { background-color: #2e7d32; }
.lien-externe:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    color: var(--blanc);
}

/* --- STYLE DU FORMULAIRE FORMINATOR --- */
.forminator-custom-form * { font-family: 'Poppins', sans-serif !important; }
.forminator-custom-form .forminator-label { font-weight: 700 !important; color: var(--gris-fonce) !important; margin-bottom: 8px !important; font-size: 0.95rem !important; }
.forminator-custom-form .forminator-required { color: var(--rouge-unaf) !important; }
.forminator-custom-form .forminator-input, .forminator-custom-form .forminator-textarea { border: 1px solid #ddd !important; border-radius: 8px !important; padding: 12px 15px !important; font-size: 1rem !important; background-color: #fcfcfc !important; transition: border-color 0.3s ease, box-shadow 0.3s ease !important; }
.forminator-custom-form .forminator-input:focus, .forminator-custom-form .forminator-textarea:focus { border-color: var(--bleu-unaf) !important; box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.15) !important; outline: none !important; }
.forminator-custom-form .forminator-file-upload { border: 2px dashed var(--bleu-unaf) !important; background-color: rgba(25, 118, 210, 0.05) !important; border-radius: 8px !important; padding: 2rem !important; }
.forminator-custom-form .forminator-file-upload span { color: var(--bleu-unaf) !important; font-weight: bold !important; }
.forminator-custom-form .forminator-button-submit { background: linear-gradient(90deg, var(--bleu-unaf), var(--bleu-fonce)) !important; color: white !important; padding: 1rem 2rem !important; border-radius: 30px !important; font-weight: bold !important; font-size: 1.1rem !important; border: none !important; box-shadow: 0 4px 15px rgba(25, 118, 210, 0.3) !important; transition: transform 0.3s ease !important; cursor: pointer !important; width: 100% !important; margin-top: 1rem !important; }
.forminator-custom-form .forminator-button-submit:hover { transform: scale(1.02) !important; }


/* --- 1. On cache définitivement le bouton cassé de Forminator --- */
.forminator-custom-form .forminator-radio input[type="radio"] {
    display: none !important;
}

/* --- 2. On aligne proprement la ligne entière --- */
.forminator-custom-form .forminator-radio {
    display: flex !important;
    align-items: center !important;
    cursor: pointer !important;
    margin-bottom: 12px !important;
}

/* --- 3. On dessine un beau cercle rouge (vide par défaut) --- */
.forminator-custom-form .forminator-radio-bullet {
    display: block !important;
    width: 20px !important;
    height: 20px !important;
    border: 2px solid #D32F2F !important; /* Rouge UNAF */
    border-radius: 50% !important;
    margin-right: 12px !important;
    background-color: #ffffff !important;
    position: relative !important;
    flex-shrink: 0 !important;
}

/* --- 4. On dessine le point rouge au centre QUAND on clique dessus --- */
.forminator-custom-form .forminator-radio input[type="radio"]:checked + .forminator-radio-bullet::after {
    content: "" !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 10px !important;
    height: 10px !important;
    background-color: #D32F2F !important; /* Point rouge interne */
    border-radius: 50% !important;
}

/* --- RÉPARATION DU MENU DÉROULANT (SELECT) --- */

/* --- RÉPARATION DU MENU DÉROULANT (Ciblage global hors formulaire) --- */

/* 1. Assigner un fond opaque et un z-index maximal au conteneur volant Select2 */
.select2-dropdown,
.select2-container--default .select2-dropdown,
.select2-container--open {
    background-color: #ffffff !important;
    z-index: 999999 !important; /* Assure de passer au-dessus du champ "Match" */
    border: 1px solid #ddd !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1) !important;
}

/* 2. Forcer le fond blanc strict sur les options générées dynamiquement */
.select2-results__option,
.select2-container--default .select2-results > .select2-results__options {
    background-color: #ffffff !important;
    color: #1a1a1a !important;
}

/* 3. Ajouter un effet de survol pour l'ergonomie */
.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option:hover {
    background-color: #1976D2 !important;
    color: #ffffff !important;
}


/* ==========================================================================
   ESPACE ADHERENT V2 - TABLEAU DE BORD
   ========================================================================== */
.dashboard-unaf {
    max-width: 1100px;
    margin: 3rem auto;
    padding: 0 1.5rem;
    font-family: 'Poppins', sans-serif;
}
.dash-welcome {
    background: linear-gradient(135deg, #0d47a1 0%, #1976d2 100%);
    border-radius: 16px;
    padding: 3rem 2rem;
    color: white;
    box-shadow: 0 10px 30px rgba(25, 118, 210, 0.2);
    margin-bottom: 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}
.dash-welcome h1 { margin: 0; font-size: 2.2rem; font-weight: 800; color: white; }
.dash-welcome p { margin: 0.5rem 0 0; font-size: 1.1rem; opacity: 0.9; }
.dash-logout { background: rgba(255,255,255,0.15); color: white; padding: 10px 20px; border-radius: 8px; text-decoration: none; font-weight: 600; transition: 0.3s; border: 1px solid rgba(255,255,255,0.3); }
.dash-logout:hover { background: white; color: #d32f2f; }

.dash-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
}
.dash-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid #eaeaea;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}
.dash-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.08);
}
.card-full-width { grid-column: 1 / -1; }

.card-header { display: flex; align-items: center; gap: 1.2rem; margin-bottom: 1.5rem; }
.icon-badge {
    width: 55px; height: 55px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem;
}
.icon-blue { background: rgba(25, 118, 210, 0.1); color: #1976d2; }
.icon-green { background: rgba(76, 175, 80, 0.1); color: #4caf50; }
.icon-red { background: rgba(211, 47, 47, 0.1); color: #d32f2f; }
.card-header h3 { margin: 0; font-size: 1.3rem; color: #333; font-weight: 700; }
.card-desc { margin: 0 0 1.5rem; color: #666; font-size: 0.95rem; line-height: 1.6; flex-grow: 1; }

.btn-dash { display: inline-block; padding: 12px 24px; border-radius: 8px; font-weight: 700; text-decoration: none; border: none; cursor: pointer; transition: 0.3s; text-align: center; width: max-content; }
.btn-blue { background: #1976d2; color: white; box-shadow: 0 4px 12px rgba(25,118,210,0.2); }
.btn-blue:hover { background: #0d47a1; color: white; transform: scale(1.03); }
.btn-green { background: #4caf50; color: white; box-shadow: 0 4px 12px rgba(76,175,80,0.2); }
.btn-green:hover { background: #388e3c; color: white; transform: scale(1.03); }
.btn-red { background: #d32f2f; color: white; box-shadow: 0 4px 12px rgba(211,47,47,0.2); }
.btn-red:hover { background: #b71c1c; color: white; transform: scale(1.03); }

.promo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.promo-item { background: #f8faff; border: 1px solid #e3f2fd; border-radius: 12px; padding: 1.5rem; display: flex; flex-direction: column; }
.promo-item h4 { margin: 0 0 0.5rem; color: #1976d2; font-size: 1.1rem; }
.promo-item p { margin: 0 0 1rem; color: #555; font-size: 0.9rem; line-height: 1.5; }
.promo-codes-area { background: white; padding: 1rem; border-radius: 8px; border: 1px dashed #ccc; margin-bottom: 1.5rem; }
.promo-label { font-size: 0.8rem; color: #666; display: block; margin-bottom: 0.3rem; text-transform: uppercase; font-weight: 700; }
.code-val { display: inline-block; font-family: monospace; font-size: 1.1rem; font-weight: bold; color: #333; }

/* Responsive Espace Adhérent */
@media (max-width: 850px) {
    .dash-grid { grid-template-columns: 1fr; }
    .dash-welcome { text-align: center; justify-content: center; }
    .btn-dash { width: 100%; }
}


/* ==========================================================================
   CORRECTIFS DOWNLOAD MANAGER (Documents & Formulaires de filtre)
   ========================================================================== */

/* Structure Générale du WPDM (Pages classiques) */
.w3eden .row, .wpdm-page-template .row {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: flex-start !important;
    gap: 4rem !important;
    flex-wrap: wrap !important;
}
.w3eden .col-md-4, .wpdm-page-template .col-md-4 { width: 350px !important; max-width: 100% !important; flex: none !important; padding: 0 !important; }
.w3eden .col-md-8, .wpdm-page-template .col-md-8 { width: 350px !important; max-width: 100% !important; flex: none !important; padding: 0 !important; text-align: left !important; }
.w3eden .col-md-8 h3, .w3eden .col-md-8 h2, .w3eden .col-md-8 .page-title, .w3eden .col-md-8 .media-heading { word-break: normal !important; white-space: normal !important; font-size: 2.2rem !important; margin-top: 0 !important; line-height: 1.3 !important; }
.w3eden .list-group-item, .wpdm-page-template .list-group-item { display: flex !important; justify-content: space-between !important; align-items: center !important; padding: 12px 15px !important; }
.w3eden .list-group-item .badge, .wpdm-page-template .list-group-item .badge { background-color: #D32F2F !important; border-radius: 6px !important; padding: 6px 10px !important; font-size: 0.85rem !important; color: white !important; float: none !important; position: relative !important; }
.w3eden .btn-primary, .w3eden .btn, .wpdm-page-template .btn-primary { background: linear-gradient(135deg, #b71c1c, #D32F2F) !important; border: none !important; border-radius: 30px !important; font-weight: bold !important; padding: 12px 25px !important; box-shadow: 0 4px 10px rgba(211, 47, 47, 0.3) !important; color: white !important; width: 100% !important; display: block !important; text-align: center !important; margin-bottom: 1.5rem !important; }

/* Correctifs spécifiques pour le Tableau de Bord (Grille des Documents Utiles) */
.docs-container .row { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important; gap: 1.5rem !important; margin: 0 !important; }
.docs-container [class*="col-"] { width: 100% !important; max-width: 100% !important; padding: 0 !important; }
.docs-container .list-group-item { border-radius: 12px !important; border: 1px solid #eaeaea !important; padding: 1.5rem !important; box-shadow: 0 4px 10px rgba(0,0,0,0.02) !important; height: 100% !important; background: #ffffff !important; display: flex !important; flex-direction: column !important; justify-content: center !important; }

/* On force l'intérieur des documents à s'empiler proprement */
.docs-container .media { display: flex !important; flex-direction: column !important; align-items: center !important; text-align: center !important; gap: 1rem !important; }
.docs-container .pull-left, .docs-container .pull-right, .docs-container .media-body { float: none !important; width: 100% !important; padding: 0 !important; display: flex !important; justify-content: center !important; flex-direction: column !important; }

/* Réparation spécifique du texte */
.docs-container .wpdm-link-template h3 { font-size: 1.15rem !important; margin: 0 0 0.5rem !important; word-break: normal !important; white-space: normal !important; line-height: 1.4 !important; }
.docs-container .media-body span { font-size: 0.85rem !important; color: #888 !important; }

/* Bouton de téléchargement dans la grille */
.docs-container .btn-primary { background: linear-gradient(90deg, #1976d2, #0d47a1) !important; border: none !important; border-radius: 8px !important; width: 100% !important; margin-top: 0.5rem !important; padding: 10px !important; }

/* Correction Ultime : Alignement parfait de la barre de recherche et de filtres */
.docs-container form .row { display: flex !important; flex-direction: row !important; align-items: center !important; flex-wrap: wrap !important; gap: 1rem !important; }
.docs-container form [class*="col-"] { flex: 1 1 auto !important; width: auto !important; min-width: 130px !important; padding: 0 !important; margin: 0 !important; display: flex !important; align-items: center !important; }

/* On force TOUS les champs et le bouton à avoir exactement les mêmes dimensions */
.docs-container form input, 
.docs-container form select,
.docs-container form .btn { width: 100% !important; height: 45px !important; margin: 0 !important; box-sizing: border-box !important; }
.docs-container form .btn { display: flex !important; align-items: center !important; justify-content: center !important; line-height: 1 !important; padding: 0 20px !important; }




/* --- HEADER SUR ORDINATEUR --- */
header.main-header {
    background-color: var(--blanc);
    color: var(--gris-fonce);
    box-shadow: var(--shadow-soft);
    padding: 0.8rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo img {
    width: 180px;
    height: auto;
    display: block;
}

/* Le bouton Burger est caché par défaut sur PC */
.burger-icon {
    display: none;
    font-size: 32px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--bleu-unaf);
}

nav.main-nav ul {
    display: flex;
    list-style: none;
    gap: 1.2rem;
    margin: 0;
    padding: 0;
    align-items: center;
}

nav.main-nav a {
    color: var(--gris-fonce);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    padding-bottom: 5px;
    white-space: nowrap;
}

nav.main-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 0;
    background-color: var(--rouge-unaf);
    transition: width 0.3s ease;
}

nav.main-nav a:hover::after { 
    width: 100%; 
}

.btn-login {
    background: linear-gradient(90deg, var(--bleu-unaf), var(--bleu-fonce));
    color: white;
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    font-weight: bold;
    font-size: 0.95rem;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(25, 118, 210, 0.3);
    white-space: nowrap;
    text-align: center;
    display: inline-block;
}

.btn-login:hover { 
    transform: scale(1.05); 
}

/* --- RESPONSIVE HEADER : MENU BURGER (Mobile) --- */
@media screen and (max-width: 900px) {
    header.main-header { 
        flex-direction: row; 
        flex-wrap: wrap; 
        padding: 1rem; 
    }

    .logo img { 
        width: 150px; 
    }

    .burger-icon {
        display: block;
        order: 2; /* Place l'icône à droite */
    }

    nav.main-nav {
        display: none; /* Cache le menu complet par défaut */
        width: 100%;
        order: 3; /* Le place sous le logo et le burger */
        margin-top: 1rem;
    }

    nav.main-nav ul { 
        flex-direction: column; 
        gap: 1.5rem; 
        width: 100%;
        text-align: center;
    }

    .btn-login {
        order: 4;
        display: none; /* Cache le bouton par défaut */
        width: 100%;
        margin-top: 1rem;
    }

    /* --- Classes Javascript pour l'affichage au clic --- */
    nav.main-nav.show {
        display: block;
        animation: fadeIn 0.3s ease;
    }
    
    .btn-login.show {
        display: block;
        animation: fadeIn 0.3s ease;
    }
    
    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }
}



/* --- SECTION STATISTIQUES (HERO) --- */
.stats-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat-separator {
    width: 2px;
    height: 40px;
    background-color: rgba(255,255,255,0.3);
}

/* --- RESPONSIVE : Affichage sur Téléphone --- */
@media screen and (max-width: 768px) {
    .stats-container {
        flex-direction: column; /* Force l'affichage vertical */
        gap: 1.5rem; /* Réduit un peu l'espacement */
    }

    .stat-separator {
        /* Transforme les barres verticales en jolies petites lignes horizontales */
        width: 60px;
        height: 2px; 
    }
}