/* Correction de l'espacement global pour éviter les espaces blancs */

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

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Page d'accueil - Carrousel en plein écran */
.home .hero-carousel {
    margin-top: 0 !important;
    padding-top: 0;
    height: 100vh;
    position: relative;
}

.home .hero-carousel .slide-content {
    padding-top: 80px;
    height: 100vh;
    display: flex;
    align-items: center;
}

/* Autres pages */
.page-hero {
    margin-top: 0 !important;
    padding-top: 160px;
    min-height: 400px;
}

.article-hero {
    margin-top: 0 !important;
    padding-top: 200px;
}

/* Header transparent sur la home */
.home .header {
    background: rgba(255, 255, 255, 0.1) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.home .header.scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    border-bottom: 1px solid rgba(30, 58, 138, 0.1);
}

.home .header .site-title,
.home .header .nav-menu a {
    color: white;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.home .header.scrolled .site-title,
.home .header.scrolled .nav-menu a {
    color: #1e3a8a;
    text-shadow: none;
}

/* Responsive */
@media (max-width: 768px) {
    .home .hero-carousel .slide-content {
        padding-top: 70px;
    }
    
    .page-hero {
        padding-top: 140px;
    }
    
    .article-hero {
        padding-top: 170px;
    }
}