:root {
    --bg: #030303;
    --gold: #ffcc00;
    --glass: rgba(255, 255, 255, 0.04);
    --glass-border: rgba(255, 255, 255, 0.12);
    --radius: 16px; /* Réduit de 24px */
}

* { box-sizing: border-box; }
body { background: var(--bg); color: #fff; font-family: 'Poppins', sans-serif; margin: 0; overflow-x: hidden; font-size: 14px; } /* Taille de base réduite */

/* ORBES DYNAMIQUES */
.glass-bg { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.1; }
.orb-1 { width: 350px; height: 350px; background: var(--gold); top: -100px; right: -50px; }
.orb-2 { width: 250px; height: 250px; background: #fff; bottom: -50px; left: -50px; }

/* HEADER PLUS FIN */
header {
    display: flex; justify-content: space-between; align-items: center; padding: 12px 6%;
    position: sticky; top: 0; z-index: 1000; background: rgba(3, 3, 3, 0.85);
    backdrop-filter: blur(15px); border-bottom: 1px solid var(--glass-border);
}
.logo { font-family: 'Playfair Display', serif; color: var(--gold); font-size: 1.4rem; letter-spacing: 1px; }
nav ul { list-style: none; display: flex; gap: 20px; }
nav ul li a { color: #fff; text-decoration: none; font-size: 0.75rem; text-transform: uppercase; }

/* HERO COMPACT */
.hero { text-align: center; padding: 60px 20px; }
.hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(1.8rem, 5vw, 2.8rem); margin-bottom: 15px; }
.highlight { color: var(--gold); }
.hero p { color: #aaa; margin-bottom: 30px; font-size: 0.95rem; max-width: 500px; margin-inline: auto; }

/* BOUTONS MOYENS */
.btn-liquid-gold {
    display: inline-block; padding: 12px 28px; border-radius: 10px;
    background: rgba(255, 204, 0, 0.85); color: #000; text-decoration: none; 
    font-weight: 600; text-transform: uppercase; font-size: 0.75rem;
    transition: 0.3s; backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.2);
}
.btn-liquid-gold:hover { transform: translateY(-3px); background: var(--gold); }

/* GRILLE ET CARTES RÉDUITES */
.articles-container { 
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 25px; padding: 0 6% 60px; 
}
.card { 
    background: var(--glass); backdrop-filter: blur(10px); border: 1px solid var(--glass-border); 
    border-radius: var(--radius); overflow: hidden; transition: 0.4s;
}
.card-image { width: 100%; height: 160px; overflow: hidden; } /* Hauteur réduite */
.card-image img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.6); }
.card-content { padding: 20px; } /* Padding réduit */

.section-title { text-align: center; font-family: 'Playfair Display', serif; font-size: 1.8rem; margin-bottom: 40px; color: var(--gold); }

/* TEXTES CARTES */
.card-content h2 { font-size: 1.2rem; margin: 10px 0; line-height: 1.3; }
.badge { border: 1px solid var(--gold); color: var(--gold); padding: 3px 10px; font-size: 0.65rem; border-radius: 40px; text-transform: uppercase; margin-bottom: 10px; display: inline-block; }
.date { color: #666; font-size: 0.7rem; margin-bottom: 8px; }
.excerpt { color: #bbb; margin-bottom: 20px; font-size: 0.85rem; line-height: 1.5; }

/* ANIMATIONS */
.reveal { opacity: 0; transform: translateY(20px); transition: 0.8s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }

footer { text-align: center; padding: 30px; border-top: 1px solid var(--glass-border); color: #444; font-size: 0.8rem; }

/* MOBILE AJUSTEMENTS */
@media (max-width: 768px) {
    .hero { padding: 40px 15px; }
    .hero h1 { font-size: 1.8rem; }
    .articles-container { padding: 0 4% 40px; gap: 20px; }
/* AJUSTEMENTS POUR LES PAGES ARTICLES */
.article-container-small {
    max-width: 700px; /* Largeur de lecture optimale, pas trop large */
    margin: 40px auto;
    padding: 0 20px;
}

.glass-card-article {
    background: var(--glass);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 30px; /* Espacement interne réduit */
}

.glass-card-article h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem; /* Taille moyenne */
    color: var(--gold);
    margin: 15px 0;
}

.article-inner-content {
    font-size: 0.95rem; /* Lecture confortable mais compacte */
    line-height: 1.6;
    color: #ccc;
}

.article-inner-content h3 {
    color: #fff;
    margin-top: 25px;
}
/* 1. L'en-tête doit rester tout en haut mais ne pas être trop massif */
header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000; /* Toujours au premier plan pour naviguer */
    background: rgba(3, 3, 3, 0.95); /* Fond bien opaque pour ne pas mélanger les textes */
    backdrop-filter: blur(10px);
    padding: 10px 5%;
    box-sizing: border-box;
}

/* 2. Les orbes (bulles de couleur) doivent être TOUT AU FOND */
.glass-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Indispensable pour que ça reste derrière le texte */
    pointer-events: none; /* Empêche de cliquer sur les orbes par erreur */
}

/* 3. Le contenu de l'article doit être au milieu */
.article-container-small {
    position: relative;
    z-index: 10; /* Plus haut que les orbes, plus bas que le header */
    margin-top: 20px;
    padding-bottom: 50px;
}

/* 4. On s'assure que le texte est bien lisible */
.glass-card-article {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 15px;
}


}

