/* =============================================
   LANDRUCIMETIERES - Feuille de styles principale
   ============================================= */

/* Variables */
:root {
    --noir: #1a1a1a;
    --noir-doux: #2a2a2a;
    --gris-fonce: #3d3d3d;
    --gris-moyen: #636e72;
    --gris: #8a8a8a;
    --gris-clair: #f8f9fa;
    --gris-tres-clair: #fafbfc;
    --blanc: #ffffff;
    --accent: #8b7355;
    --accent-clair: #a08567;
    --accent-fonce: #6b5745;
    --ombre-legere: 0 2px 8px rgba(0,0,0,0.04);
    --ombre-moyenne: 0 4px 16px rgba(0,0,0,0.08);
    --ombre-forte: 0 8px 32px rgba(0,0,0,0.12);
}

/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--gris-tres-clair);
    color: var(--gris-fonce);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Skip to content (Accessibilité) */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--accent);
    color: var(--blanc);
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

/* =============================================
   HEADER ET NAVIGATION
   ============================================= */

/* Header avec navigation intégrée */
.site-header {
    position: relative;
}

.header-top {
    background: linear-gradient(135deg, var(--noir) 0%, var(--noir-doux) 50%, var(--gris-fonce) 100%);
    padding: 60px 20px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Image de fond avec overlay */
.header-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://www.landrucimetieres.fr/spip/IMG/jpg/tombes-fond.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.35;
    z-index: 1;
}

/* Overlay gradient pour assombrir */
.header-top::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, 
        rgba(26,26,26,0.5) 0%, 
        rgba(42,42,42,0.4) 50%, 
        rgba(61,61,61,0.3) 100%);
    z-index: 2;
}

.site-title,
.site-tagline {
    position: relative;
    z-index: 3;
}

.site-title {
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--blanc);
    font-size: clamp(2.5em, 5vw, 3.5em);
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 12px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.site-tagline {
    color: var(--accent-clair);
    font-style: italic;
    font-size: 1.15em;
    font-weight: 300;
    letter-spacing: 1px;
    opacity: 0.95;
}

/* Navigation principale */
.main-nav {
    background: linear-gradient(135deg, var(--noir-doux) 0%, var(--gris-fonce) 100%);
    border-top: 1px solid rgba(255,255,255,0.05);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.nav-list {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
}

.nav-list li {
    position: relative;
}

.nav-list a {
    display: block;
    padding: 20px 25px;
    color: var(--blanc);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
    font-size: 0.95em;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--accent);
    transition: width 0.3s;
}

.nav-list a:hover {
    background: rgba(139,115,85,0.15);
}

.nav-list a:hover::after {
    width: 60%;
}

/* Menu mobile amélioré */
.mobile-menu-toggle {
    display: none;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: none;
    border: 2px solid var(--blanc);
    border-radius: 4px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--blanc);
    margin: 5px auto;
    transition: all 0.3s;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Sticky navigation */
.sticky-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: var(--blanc);
    box-shadow: var(--ombre-moyenne);
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.sticky-nav.show {
    transform: translateY(0);
}

.sticky-nav .nav-list a {
    color: var(--gris-fonce);
    padding: 15px 20px;
    font-size: 0.9em;
}

.sticky-nav .nav-list a:hover {
    background: var(--gris-clair);
}

/* =============================================
   HERO SECTION
   ============================================= */

.hero {
    background: linear-gradient(180deg, var(--blanc) 0%, var(--gris-tres-clair) 100%);
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(139,115,85,0.03) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8em;
    margin-bottom: 24px;
    color: var(--noir);
    font-weight: 400;
}

.hero-text {
    font-size: 1.2em;
    color: var(--gris-moyen);
    margin-bottom: 40px;
    line-height: 1.8;
}

/* Barre de recherche centrale */
.search-hero {
    max-width: 600px;
    margin: 0 auto 40px;
    position: relative;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    box-shadow: var(--ombre-forte);
    border-radius: 50px;
    overflow: hidden;
    background: var(--blanc);
}

.search-hero input {
    flex: 1;
    padding: 20px 30px;
    border: none;
    font-size: 1em;
    outline: none;
}

.search-hero input::placeholder {
    font-size: 0.95em;
    color: var(--gris);
}

.search-hero button {
    padding: 20px 35px;
    background: var(--accent);
    color: var(--blanc);
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    font-size: 1.05em;
}

.search-hero button:hover {
    background: var(--accent-fonce);
}

/* Boutons d'action rapide */
.hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-btn {
    display: inline-block;
    padding: 15px 30px;
    background: var(--blanc);
    color: var(--gris-fonce);
    text-decoration: none;
    border-radius: 30px;
    box-shadow: var(--ombre-moyenne);
    transition: all 0.3s;
    font-weight: 500;
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--ombre-forte);
    background: var(--accent);
    color: var(--blanc);
}

/* =============================================
   CONTENU PRINCIPAL
   ============================================= */

.container {
    max-width: 1280px;
    margin: 60px auto;
    padding: 0 25px;
}

.main-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 40px;
}

/* Section À propos */
.about-full-width {
    background: var(--blanc);
    padding: 60px 0;
    margin-bottom: 40px;
    box-shadow: var(--ombre-legere);
}

.about-grid {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 25px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5em;
    margin-bottom: 30px;
    color: var(--noir);
    position: relative;
}

.about-text h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 3px;
    background: var(--accent);
}

.about-text p {
    font-size: 1.1em;
    line-height: 1.8;
    color: var(--gris-fonce);
    margin-bottom: 20px;
}

/* Image dans la section À propos */
.about-image {
    margin-top: 30px;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--ombre-moyenne);
}

/* Carte auteur */
.author-card {
    background: var(--gris-tres-clair);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--ombre-moyenne);
}

.author-img {
    width: 180px;
    height: auto;
    border-radius: 12px;
    margin: 0 auto 20px;
    display: block;
    box-shadow: var(--ombre-legere);
}

.author-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5em;
    color: var(--noir);
    margin-bottom: 5px;
}

.author-title {
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 15px;
}

.author-bio {
    font-size: 0.95em;
    color: var(--gris-moyen);
    line-height: 1.6;
}

/* Section Visites premium avec gradient élégant */
.visite-section {
    margin-bottom: 60px;
}

.visite-card-premium {
    background: linear-gradient(135deg, 
        var(--noir) 0%, 
        var(--noir-doux) 25%, 
        var(--gris-fonce) 50%, 
        var(--accent-fonce) 75%, 
        var(--accent) 100%);
    color: var(--blanc);
    padding: 60px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--ombre-forte);
    min-height: 400px;
}

/* Pattern overlay pour texture */
.visite-card-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255,255,255,0.05) 0%, transparent 50%);
    z-index: 1;
}

.visite-card-premium * {
    position: relative;
    z-index: 2;
}

.visite-card-premium h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2em;
    margin-bottom: 25px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.visite-card-premium p {
    font-size: 1.1em;
    margin-bottom: 15px;
    opacity: 0.98;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.visite-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.btn-primary,
.btn-secondary {
    padding: 15px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary {
    background: var(--blanc);
    color: var(--accent-fonce);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.btn-secondary {
    background: transparent;
    color: var(--blanc);
    border: 2px solid var(--blanc);
}

.btn-secondary:hover {
    background: var(--blanc);
    color: var(--accent-fonce);
}

/* Articles - Cards modernes */
.articles-section {
    background: var(--blanc);
    padding: 50px;
    border-radius: 16px;
    box-shadow: var(--ombre-moyenne);
}

.articles-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2em;
    margin-bottom: 40px;
    color: var(--noir);
    position: relative;
    padding-bottom: 20px;
}

.articles-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent) 0%, transparent 100%);
}

.article-card {
    display: flex;
    gap: 25px;
    padding: 25px;
    margin-bottom: 25px;
    background: var(--gris-tres-clair);
    border-radius: 12px;
    transition: all 0.3s;
    cursor: pointer;
}

.article-card:hover {
    transform: translateX(10px);
    box-shadow: var(--ombre-moyenne);
    background: var(--blanc);
}

/* Badge de date corrigé */
.article-date-badge {
    min-width: 60px;
    height: 60px;
    background: var(--accent);
    color: var(--blanc);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    padding: 8px;
}

.article-date-badge .date-day {
    font-size: 1.4em;
    line-height: 1;
    display: block;
}

.article-date-badge .date-month {
    font-size: 0.7em;
    text-transform: uppercase;
    display: block;
    margin-top: 2px;
}

.article-content {
    flex: 1;
}

.article-content h3 {
    margin-bottom: 10px;
    font-size: 1.3em;
    line-height: 1.4;
}

.article-content h3 a {
    color: var(--noir);
    text-decoration: none;
    transition: color 0.3s;
}

.article-content h3 a:hover {
    color: var(--accent);
}

.article-intro {
    color: var(--gris-moyen);
    font-size: 0.95em;
    line-height: 1.6;
    margin-bottom: 10px;
}

.article-meta {
    display: flex;
    gap: 20px;
    align-items: center;
    font-size: 0.85em;
    color: var(--gris);
}

.comments-count {
    color: var(--gris-moyen);
    font-style: italic;
}

.lire-suite {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.lire-suite:hover {
    color: var(--accent-fonce);
}

/* =============================================
   SIDEBAR
   ============================================= */

.sidebar {
    position: relative;
}

.widget {
    background: var(--blanc);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--ombre-legere);
    margin-bottom: 25px;
}

.widget h3 {
    font-family: 'Playfair Display', serif;
    color: var(--noir);
    margin-bottom: 20px;
    font-size: 1.3em;
    position: relative;
    padding-bottom: 15px;
}

.widget h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent);
}

.widget h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.widget h3 a:hover {
    color: var(--accent);
}

/* Recherche avec tabs */
.search-tabs {
    display: flex;
    gap: 5px;
    margin-bottom: 15px;
}

.search-tab {
    flex: 1;
    padding: 10px;
    background: var(--gris-clair);
    border: none;
    border-radius: 8px 8px 0 0;
    cursor: pointer;
    font-size: 0.9em;
    font-weight: 500;
    color: var(--gris-moyen);
    transition: all 0.3s;
}

.search-tab.active {
    background: var(--accent);
    color: var(--blanc);
}

.search-tab:hover:not(.active) {
    background: var(--gris-tres-clair);
}

.search-content {
    padding-top: 10px;
}

.search-advanced {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.search-advanced input,
.search-advanced select {
    padding: 12px;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 8px;
    font-size: 0.95em;
}

.search-advanced button {
    padding: 12px;
    background: var(--accent);
    color: var(--blanc);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s;
}

.search-advanced button:hover {
    background: var(--accent-fonce);
}

/* Alphabet selector moderne */
.alphabet-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.alphabet-selector a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gris-clair);
    color: var(--gris-fonce);
    text-decoration: none;
    border-radius: 50%;
    transition: all 0.3s;
    font-weight: 600;
    font-size: 0.9em;
}

.alphabet-selector a:hover {
    background: var(--accent);
    color: var(--blanc);
    transform: scale(1.1);
}

/* Brèves */
.breve-item {
    padding: 20px 0;
    border-bottom: 1px solid rgba(0,0,0,0.04);
}

.breve-item:last-child {
    border-bottom: none;
}

.breve-item h4 {
    margin-bottom: 8px;
}

.breve-item h4 a {
    color: var(--noir);
    text-decoration: none;
    font-size: 1.05em;
    transition: color 0.3s;
}

.breve-item h4 a:hover {
    color: var(--accent);
}

.breve-date {
    display: inline-block;
    color: var(--accent);
    font-size: 0.85em;
    margin-bottom: 8px;
}

.breve-excerpt {
    color: var(--gris-moyen);
    font-size: 0.9em;
    line-height: 1.5;
}

/* Stats détaillées avec police réduite */
.stats-info {
    margin-top: 20px;
}

.stat-update,
.stat-publication,
.stat-visites {
    padding: 15px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.stat-visites {
    border-bottom: none;
}

.stats-info strong {
    display: block;
    color: var(--accent);
    margin-bottom: 8px;
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-update p {
    color: var(--gris-moyen);
    margin: 0;
    font-size: 0.85em;
}

.stat-details {
    list-style: none;
    color: var(--gris-moyen);
    font-size: 0.85em;
    line-height: 1.6;
}

.stat-details li {
    padding: 2px 0;
}

.stat-details li span {
    font-weight: 600;
    color: var(--noir);
}

.visitors-online {
    color: var(--accent);
    font-weight: 600;
}

.visitors-online span {
    color: var(--accent-fonce);
}

/* Quick links */
.quick-links {
    list-style: none;
}

.quick-links li {
    margin-bottom: 12px;
}

.quick-links a {
    color: var(--gris-fonce);
    text-decoration: none;
    display: block;
    padding: 10px;
    border-radius: 8px;
    transition: all 0.3s;
    font-size: 0.95em;
}

.quick-links a:hover {
    background: var(--gris-clair);
    padding-left: 15px;
    color: var(--accent);
}

/* Newsletter */
.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.newsletter-form input {
    padding: 12px;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 8px;
}

.newsletter-form button {
    padding: 12px;
    background: var(--noir);
    color: var(--blanc);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s;
}

.newsletter-form button:hover {
    background: var(--noir-doux);
}

/* =============================================
   FOOTER
   ============================================= */

.site-footer {
    background: linear-gradient(135deg, var(--noir) 0%, var(--gris-fonce) 100%);
    color: var(--blanc);
    padding: 60px 0 40px;
    margin-top: 80px;
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 25px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-section h4 {
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
    font-size: 1.3em;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 10px;
}

.footer-section a {
    color: var(--gris-clair);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--accent-clair);
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* =============================================
   RESPONSIVE AMÉLIORÉ
   ============================================= */

@media (max-width: 968px) {
    /* Mobile menu */
    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: fixed;
        top: 20px;
        right: 20px;
        z-index: 10002;
    }

    .nav-list {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--noir);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        z-index: 10001;
        padding-top: 80px;
        overflow-y: auto;
    }

    .nav-list.active {
        display: flex;
    }

    .nav-list li {
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .nav-list a {
        font-size: 1.1em;
        padding: 20px 30px;
        text-align: left;
    }

    .nav-list a:hover {
        background: rgba(139,115,85,0.2);
    }

    .nav-list a::after {
        display: none;
    }

    /* Grilles */
    .main-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    /* Hero responsive */
    .hero {
        padding: 60px 20px;
    }

    .hero h2 {
        font-size: 2.2em;
    }

    .hero-text {
        font-size: 1.1em;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-btn {
        width: 100%;
        text-align: center;
    }

    /* Articles responsive */
    .article-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .article-date-badge {
        align-self: flex-start;
    }

    /* Visites responsive */
    .visite-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 640px) {
    /* Header mobile */
    .header-top {
        padding: 40px 20px 30px;
    }

    .site-title {
        font-size: 2em;
        letter-spacing: 1px;
    }

    .site-tagline {
        font-size: 1em;
    }

    /* Hero mobile */
    .hero h2 {
        font-size: 1.8em;
    }

    .hero-text {
        font-size: 1em;
        margin-bottom: 30px;
    }

    /* Recherche mobile */
    .search-hero input {
        padding: 15px 20px;
        font-size: 0.9em;
    }

    .search-hero button {
        padding: 15px 25px;
        font-size: 0.95em;
    }

    /* Sidebar mobile */
    .sidebar {
        grid-template-columns: 1fr;
    }

    /* Sections mobile */
    .presentation-section,
    .articles-section,
    .visite-card-premium {
        padding: 30px 20px;
    }

    .about-text h2,
    .articles-section h2 {
        font-size: 1.8em;
    }

    /* Footer mobile */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    /* Alphabet selector mobile */
    .alphabet-selector {
        gap: 6px;
    }

    .alphabet-selector a {
        width: 32px;
        height: 32px;
        font-size: 0.85em;
    }
}

@media (max-width: 480px) {
    /* Container mobile */
    .container {
        padding: 0 15px;
    }

    /* Article cards mobile */
    .article-card {
        padding: 20px 15px;
    }

    /* Widget mobile */
    .widget {
        padding: 25px 20px;
    }

    /* Author photo mobile */
    .author-img {
        width: 150px;
    }
}

/* =============================================
   ANIMATIONS
   ============================================= */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.article-card,
.widget {
    animation: fadeInUp 0.6s ease backwards;
}

.widget:nth-child(1) { animation-delay: 0.1s; }
.widget:nth-child(2) { animation-delay: 0.2s; }
.widget:nth-child(3) { animation-delay: 0.3s; }
.widget:nth-child(4) { animation-delay: 0.4s; }
.widget:nth-child(5) { animation-delay: 0.5s; }

/* =============================================
   SCROLLBAR PERSONNALISÉE
   ============================================= */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--gris-clair);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, 
        var(--accent) 0%, 
        var(--accent-fonce) 100%);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-fonce);
}

/* =============================================
   JAVASCRIPT TOGGLE pour le menu mobile
   ============================================= */
.nav-list.active {
    display: flex;
}