/* =========================================
   1. FORCE LE BLANC PUR SUR TOUTE LA PAGE
   ========================================= */
   
   
html, body {
    background-color: #ffffff !important;
    background-image: none !important;
}    /* SUPPRIME LE DÉGRADÉ */
    background: #ffffff !important;       /* SÉCURITÉ SUPPLÉMENTAIRE */
    margin: 0;
    padding: 0;
    width: 100vw;
    min-height: 100vh;
    overflow-x: hidden;
    color: #1a1a1a !important;           /* TEXTE SOMBRE POUR ÊTRE LISIBLE */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* =========================================
   2. HEADER (Noir pour trancher avec le blanc)
   ========================================= */
header {
    background-color: #111111 !important;
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header nav a {
    background-color: #cc001f;
    color: #ffffff !important;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    margin-left: 1rem;
    transition: 0.3s;
}

/* =========================================
   3. SECTIONS (Belles boîtes sombres sur fond blanc)
   ========================================= */
section {
    position: relative;
    background-color: #1a1a1a !important; /* Fond de boîte noir */
    color: #ffffff !important;            /* Texte de boîte blanc */
    margin: 3rem auto;
    padding: 2.5rem;
    max-width: 1000px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

/* Le petit liseré rouge (Néon fixe) */
section::before {
    content: "";
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    border-radius: 17px;
    background: #cc001f; 
    z-index: -1;
}

/* =========================================
   4. ÉLÉMENTS DE CONTENU
   ========================================= */
h1 {
    color: #b3001b !important;
    text-align: center;
    font-size: 3rem;
    font-weight: 900;
    margin-top: 2.5rem;
}

.card {
    background-color: #f8f9fa !important; /* Gris très clair pour les cartes */
    color: #111111 !important;
    border: 1px solid #e0e0e0 !important;
    padding: 1.5rem;
    border-radius: 12px;
}

/* =========================================
   5. FOOTER & FORMULAIRES
   ========================================= */
footer {
    background-color: #000000 !important;
    color: #ffffff !important;
    padding: 3rem 1rem;
    text-align: center;
    border-top: 6px solid #cc001f;
}

trix-editor {
    background: #ffffff !important;
    color: #000000 !important;
    border: 1px solid #ccc !important;
}

@media (max-width: 768px) {
    h1 { font-size: 2rem !important; }
    section { margin: 1rem; padding: 1.5rem; }
}