/* --- VARIABLES DA COMMUNE --- */
:root {
    --couleur-fond: #F4F4F0; 
    --couleur-texte: #0A0A0A; 
    --bordure-epaisse: 3px solid var(--couleur-texte);
    --bordure-fine: 1px solid var(--couleur-texte);
}

/* --- REINITIALISATION --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none;
    scroll-behavior: smooth;
}

body {
    background-color: var(--couleur-fond);
    color: var(--couleur-texte);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

/* --- CURSEUR PERSONNALISÉ --- */
.curseur-suiveur {
    position: fixed; top: 0; left: 0; width: 24px; height: 24px;
    background-color: #FFFFFF; border-radius: 50%; pointer-events: none;
    z-index: 9999; mix-blend-mode: difference;
    transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1), height 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
.curseur-suiveur.survol { width: 80px; height: 80px; }

/* --- TYPOGRAPHIE GLOBALE --- */
h1, h2, h3 { font-family: 'Archivo Black', sans-serif; text-transform: uppercase; }
a { color: inherit; text-decoration: none; }

/* --- NAVIGATION HAUTE --- */
.navigation {
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px 40px; border-bottom: var(--bordure-epaisse);
    position: sticky; top: 0; background-color: var(--couleur-fond); z-index: 100;
}
.nav-lien {
    font-weight: 900; font-size: 1rem; text-transform: uppercase;
    margin-left: 30px; transition: opacity 0.3s;
}
.nav-retour { margin-left: 0; border-bottom: 2px solid var(--couleur-texte); padding-bottom: 2px; }
.nav-lien:hover { opacity: 0.5; }

/* --- EN-TÊTE PAGE (HÉROS) --- */
.entete-page {
    padding: 80px 40px;
    border-bottom: var(--bordure-epaisse);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.titre-conteneur { display: flex; flex-direction: column; text-align: center; line-height: 0.9; }
.titre-geant { font-size: clamp(3rem, 8vw, 9rem); margin: 0; letter-spacing: -2px; }
.titre-geant.contour { color: transparent; -webkit-text-stroke: 2px var(--couleur-texte); }

.sous-titre-edito { margin-top: 40px; text-align: center; border-top: var(--bordure-epaisse); padding-top: 20px; }
.sous-titre-edito p { font-weight: 900; font-size: 1.2rem; letter-spacing: 2px; }

/* --- BANDEAU DÉFILANT --- */
.bandeau-defilant {
    background-color: var(--couleur-texte); color: var(--couleur-fond);
    padding: 15px 0; overflow: hidden; white-space: nowrap; border-bottom: var(--bordure-epaisse);
}
.bandeau-piste {
    display: inline-block; animation: defilement 25s linear infinite;
    font-family: 'Archivo Black', sans-serif; font-size: 1.2rem; letter-spacing: 2px;
}
@keyframes defilement { 0% { transform: translateX(0%); } 100% { transform: translateX(-50%); } }

/* --- SECTION INTRODUCTION (Style Magazine) --- */
.contenu-principal { max-width: 1800px; margin: 0 auto; }

.section-edito {
    padding: 80px 40px; border-bottom: var(--bordure-epaisse);
}
.edito-titre {
    font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.1; margin-bottom: 40px;
    border-left: 10px solid var(--couleur-texte); padding-left: 20px;
}
.edito-colonnes {
    column-count: 2; column-gap: 60px;
    font-size: 1.2rem; line-height: 1.6; font-weight: 500;
}
.edito-colonnes p { margin-bottom: 20px; break-inside: avoid; }

/* --- GRILLE DES DOSSIERS --- */
.grille-presse { display: flex; flex-direction: column; }

.article-presse {
    display: grid;
    grid-template-columns: 200px 1.2fr 1fr;
    border-bottom: var(--bordure-epaisse);
    background-color: var(--couleur-fond);
}
.article-presse.inverse {
    grid-template-columns: 1fr 1.2fr 200px;
    background-color: #EAEAEA;
}
.article-presse.inverse .presse-meta { order: 3; border-right: none; border-left: var(--bordure-epaisse); }
.article-presse.inverse .presse-texte { order: 2; }
.article-presse.inverse .presse-visuel { order: 1; border-right: var(--bordure-epaisse); }

.presse-meta { padding: 40px 20px; border-right: var(--bordure-epaisse); display: flex; flex-direction: column; }
.presse-chapitre { font-family: 'Archivo Black', sans-serif; font-size: 1.2rem; margin-bottom: 20px; text-decoration: underline; text-decoration-thickness: 3px;}
.presse-tags { display: flex; flex-direction: column; gap: 8px; }
.presse-tags span { font-weight: 900; font-size: 0.85rem; text-transform: uppercase; border: var(--bordure-fine); padding: 5px 10px; text-align: center; border-radius: 50px;}

.presse-texte { padding: 60px 40px; display: flex; flex-direction: column; justify-content: center; }
.presse-texte h2 { font-size: clamp(2.5rem, 4vw, 4rem); line-height: 1; margin-bottom: 30px; }
.chapeau { font-weight: 900; font-size: 1.3rem; line-height: 1.4; margin-bottom: 20px; border-left: 4px solid var(--couleur-texte); padding-left: 15px; }
.presse-texte p:not(.chapeau) { font-size: 1.1rem; line-height: 1.6; font-weight: 500; }

.presse-visuel { padding: 40px; display: flex; align-items: center; justify-content: center; background-color: var(--couleur-texte); }
.article-presse.inverse .presse-visuel { background-color: transparent; }

.conteneur-media {
    width: 100%; border: var(--bordure-epaisse); background: var(--couleur-fond);
    box-shadow: 10px 10px 0px var(--couleur-texte);
    transition: transform 0.4s ease, box-shadow 0.4s ease; overflow: hidden;
}
.article-presse:not(.inverse) .conteneur-media { box-shadow: 10px 10px 0px var(--couleur-fond); border-color: var(--couleur-fond); }

.media-portrait { max-width: 450px; }
.media-paysage { max-width: 600px; }

.conteneur-media:hover { transform: translate(-5px, -5px); }
.article-presse:not(.inverse) .conteneur-media:hover { box-shadow: 15px 15px 0px var(--couleur-fond); }
.article-presse.inverse .conteneur-media:hover { box-shadow: 15px 15px 0px var(--couleur-texte); }

.media-brut {
    width: 100%; height: auto; max-height: 600px; object-fit: cover; display: block;
    filter: grayscale(100%) contrast(1.2); transition: filter 0.5s ease;
}
.conteneur-media:hover .media-brut { filter: grayscale(0%) contrast(1); }

/* --- NAVIGATION TRANSVERSALE (GROS BOUTON + LIENS RAPIDES) --- */
.navigation-transversale { 
    border-bottom: var(--bordure-epaisse); 
    display: flex; 
    flex-direction: column; 
}

.lien-transversal {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 100px 40px; text-align: center; transition: background-color 0.4s, color 0.4s;
    border-top: var(--bordure-epaisse);
}
.lien-label { font-size: 1rem; font-weight: 900; margin-bottom: 10px; }
.lien-titre { font-family: 'Archivo Black', sans-serif; font-size: clamp(3rem, 6vw, 6rem); transition: transform 0.4s; }
.lien-transversal:hover { background-color: var(--couleur-texte); color: var(--couleur-fond); }
.lien-transversal:hover .lien-titre { transform: scale(1.05); }

/* Barres de liens rapides discrètes */
.liens-rapides {
    display: flex; 
    justify-content: center; 
    align-items: center; 
    flex-wrap: wrap; 
    gap: 15px;
    padding: 20px 40px; 
    background-color: var(--couleur-fond);
    border-top: var(--bordure-epaisse);
}
.rapide-label { font-size: 0.85rem; font-weight: 900; opacity: 0.5; }
.rapide-lien { 
    font-size: 0.95rem; font-weight: 900; text-transform: uppercase; 
    transition: opacity 0.3s ease, transform 0.3s ease; display: inline-block;
}
.rapide-lien:hover { opacity: 0.5; transform: translateY(-2px); }
.rapide-sep { font-weight: 900; opacity: 0.3; font-size: 0.8rem; }

/* --- PIED DE PAGE --- */
.pied-de-page { padding: 80px 40px 40px 40px; background-color: var(--couleur-texte); color: var(--couleur-fond); }
.footer-titre-conteneur { display: flex; flex-direction: column; line-height: 0.9; margin-bottom: 60px; }
.footer-titre { font-size: clamp(3rem, 8vw, 8rem); }
.footer-titre.contour { color: transparent; -webkit-text-stroke: 2px var(--couleur-fond); }

.grille-contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; border-top: 1px solid rgba(244, 244, 240, 0.3); padding-top: 40px; }
.element-contact h3 { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; color: rgba(244, 244, 240, 0.6); }
.lien-contact { font-size: 1.5rem; font-weight: 900; position: relative; display: inline-block; }
.lien-contact:not(.statique)::after { content: ''; position: absolute; width: 0; height: 2px; bottom: -5px; left: 0; background-color: var(--couleur-fond); transition: width 0.3s ease; }
.lien-contact:not(.statique):hover::after { width: 100%; }

/* --- ANIMATIONS --- */
.anim-reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease, transform 0.8s ease; }
.anim-reveal.visible { opacity: 1; transform: translateY(0); }

/* --- RESPONSIVE --- */
@media (max-width: 1200px) {
    .article-presse, .article-presse.inverse { grid-template-columns: 1fr; }
    .presse-meta { border-right: none; border-bottom: var(--bordure-epaisse); flex-direction: row; justify-content: space-between; align-items: center; }
    .article-presse.inverse .presse-meta { order: 1; border-left: none; border-bottom: var(--bordure-epaisse); }
    .presse-tags { flex-direction: row; flex-wrap: wrap; }
    .presse-texte { order: 2; padding: 40px 20px; }
    .presse-visuel { order: 3; padding: 40px 20px; border-top: var(--bordure-epaisse); }
    .edito-colonnes { column-count: 1; }
    .navigation { flex-direction: column; gap: 20px; padding: 20px; }
    .nav-droite { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; }
    .nav-droite .nav-lien { margin-left: 0; }
    .curseur-suiveur { display: none; }
    * { cursor: auto; }
}

@media (max-width: 600px) {
    .liens-rapides { flex-direction: column; gap: 12px; padding: 20px; }
    .rapide-sep { display: none; }
}