/* --- HERO CAROUSEL --- */
.hero-carousel {
    position: relative;
    height: 85vh; /* Hauteur ajustée pour un bel impact */
    width: 100%;
    overflow: hidden;
    background-color: var(--primary-blue); /* Fond de secours */
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    display: flex;
    align-items: center;
    z-index: 1;
}

.carousel-item.active {
    opacity: 1;
    z-index: 2;
}

.carousel-item img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* LE VOILE BLEU (Votre couleur à 50% d'opacité) */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Application de #1a3a7a avec 0.5 d'opacité */
    background: rgba(26, 58, 122, 0.5); 
    z-index: 2;
}

/* --- CONTENU --- */
.hero-carousel .container {
    position: relative;
    z-index: 3;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content {
    max-width: 750px;
    text-align: left; /* Aligné à gauche comme demandé */
    color: #ffffff;
    padding-left: 20px;
    /* Animation d'entrée du texte */
    transform: translateX(-50px);
    transition: all 0.8s ease-out;
    opacity: 0;
}

.carousel-item.active .hero-content {
    transform: translateX(0);
    opacity: 1;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--gold); /* Or du logo */
    letter-spacing: 4px;
    margin-bottom: 15px;
    font-weight: 600;
    text-transform: uppercase;
}

.hero-title {
    font-size: clamp(2.2rem, 6vw, 4rem); /* Responsive : s'adapte à la taille de l'écran */
    line-height: 1.1;
    margin-bottom: 30px;
    font-weight: 800;
}

.btn-don {
    display: inline-block;
    padding: 16px 45px;
    background-color: var(--gold);
    color: #000;
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px; /* Forme pilule moderne */
    transition: 0.3s ease;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-don:hover {
    background-color: #ffffff;
    transform: scale(1.05);
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .hero-carousel {
        height: 70vh;
    }
    .hero-content {
        text-align: center; /* On centre sur mobile pour plus d'équilibre */
        padding-left: 0;
        margin: 0 auto;
    }
}