/* --- RESET & BASE --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { background-color: #f6f3ed; font-family: 'Georgia', serif; color: #1a1a1a; line-height: 1.6; overflow-x: hidden; }

/* --- HEADER (Structure Flexbox pour Explorer/Logo/Titre) --- */
header.bandeau-haut { 
    background: #fff; 
    border-bottom: 1px solid #ddd; 
    padding: 20px 0; 
}

.header-main-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* On donne une largeur fixe aux côtés pour forcer le titre au centre exact */
.logo-space, .explorer-space { 
    width: 250px; 
}

.titre-site-central { 
    flex: 1; 
    text-align: center; 
}

.logo-space img { 
    max-height: 80px; 
}

/* TITRE PRINCIPAL (3.2rem comme souhaité) */
.nom-site-principal { 
    font-family: 'Cinzel', serif !important; 
    color: #cc0000 !important; 
    font-size: 3.2rem !important; 
    letter-spacing: 12px !important; 
    text-transform: uppercase !important; 
    display: block;
    margin: 5px 0;
}

.slogan-site {
    text-transform: uppercase; 
    letter-spacing: 5px; 
    font-size: 0.85rem; 
    font-weight: bold; 
    color: #3320dd; 
}

/* BOUTON EXPLORER (Identique à ton ancien site) */
.explorer-space { text-align: right; }
.btn-explorer {
    display: inline-block;
    padding: 10px 22px;
    border: 1px solid #000;
    color: #000;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    font-weight: bold;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}
.btn-explorer:hover {
    background: #000;
    color: #fff;
}

/* --- NAVIGATION & DROPDOWN --- */
nav { background: #111; position: sticky; top: 0; z-index: 1000; border-bottom: 3px solid #cc0000; }
nav ul { display: flex; justify-content: center; list-style: none; }
nav li { position: relative; }
nav li a { display: block; padding: 20px 25px; color: #fff; text-decoration: none; font-family: 'Montserrat', sans-serif; font-weight: bold; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1px; }
nav li:hover > a { background: #cc0000; }

.dropdown { 
    display: none; 
    position: absolute; 
    top: 100%; 
    left: 0; 
    background: #fff; 
    min-width: 250px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.15); 
    border-top: 3px solid #cc0000; 
    padding: 0;
}
nav li:hover .dropdown { display: block; }
.dropdown li { border-bottom: 1px solid #eee; width: 100%; }
.dropdown a { 
    color: #111 !important; 
    padding: 15px 20px; 
    text-transform: none; 
    font-family: 'Georgia', serif; 
    font-size: 0.9rem; 
    letter-spacing: 0; 
    font-weight: normal;
}
.dropdown a:hover { background: #f9f9f9; color: #cc0000 !important; padding-left: 25px; }

/* --- BANDEAU DÉFILANT (TICKER) --- */
.ticker-container { background: #cc0000; overflow: hidden; white-space: nowrap; padding: 12px 0; }
.ticker-scroll { display: inline-block; animation: scroll 25s linear infinite; padding-left: 100%; }
.ticker-scroll a { color: #fff; text-decoration: none; font-family: 'Montserrat', sans-serif; font-size: 0.8rem; font-weight: bold; text-transform: uppercase; letter-spacing: 2px; }
@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } }

/* --- ACCUEIL (GRILLE ARTICLES) --- */
.container { max-width: 1400px; margin: 50px auto; padding: 0 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); gap: 40px; }
.article-card { position: relative; background: #fff; padding: 40px; border-top: 5px solid #cc0000; box-shadow: 0 10px 30px rgba(0,0,0,0.05); transition: 0.3s; }
.article-card:hover { transform: translateY(-10px); box-shadow: 0 20px 50px rgba(0,0,0,0.1); }
.full-link { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 10; cursor: pointer; }
h2 { font-family: 'Cinzel', serif; font-size: 1.6rem; margin-bottom: 20px; line-height: 1.2; }
.faux-button { color: #cc0000; font-weight: bold; text-transform: uppercase; font-size: 0.75rem; border-bottom: 2px solid #cc0000; display: inline-block; margin-top: 25px; }

/* --- FOOTER --- */
footer { background: #111; color: #888; padding: 60px 0; text-align: center; font-size: 0.8rem; margin-top: 80px; }
footer a { color: #fff; text-decoration: none; }

/* --- SÉCURITÉ IMAGES (ARTICLE) --- */
.corps-article-justifie img, .cadre-lecture-unique img { 
    max-width: 100% !important; 
    height: auto !important; 
    display: block; 
    margin: 30px auto; 
}

/* --- BOUTON RETOUR HARMONISÉ --- */
.wrapper-retour {
    margin: 60px 0;
    text-align: center;
    clear: both;
}

.btn-retour {
    display: inline-block;
    padding: 15px 35px;
    border: 1px solid #000;
    background: transparent;
    color: #000;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    transition: all 0.3s ease;
}

.btn-retour:hover {
    background: #000;
    color: #fff;
}