
/* ==========================================================================
   BLOCK HERO AVEC PARALLAXE FIXE AU SCROLL
   ========================================================================== */
.hero-section {
    position: relative;
    /* height: 50vh; */
    min-height: 300px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-top: 120px; /* Conserver de l'espace pour le header à deux niveaux */
}
.hero-section-home {
     height: 80vh; 
}

/* Arrière-plan parallaxe générique pour les pages intérieures */
/*.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 1;
}*/

/* Superposition dégradé noir requis */
.hero-overlay { /* Pour l'index (Page d'Accueil) */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.75), rgba(0,0,0,0.75));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 0 20px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-transform: uppercase;
    line-height: 1.2;
}

.hero-title span {
    color: var(--accent-red);
}

.hero-title-page {
    font-size: 2.3rem;
    font-weight: 500;
    margin-bottom: 2px;
    text-transform: capitalize;
    line-height: 1.2;
}

.hero-title-page span:first-child{
    color: var(--accent-red);
}

.hero-title-page span:last-child{
}

.hero-desc {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: rgba(255,255,255,0.9);
}

.hero-ctas {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-hero-primary {
    background-color: var(--accent-red);
    color: var(--white);
    padding: 15px 35px;
    font-weight: 700;
    border-radius: 20px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(229, 9, 20, 0.4);
}

.btn-hero-primary:hover {
    background-color: var(--accent-red-hover);
    transform: translateY(-3px);
}

.btn-hero-secondary {
    background-color: var(--primary-blue);
    color: var(--white);
    border: 2px solid var(--white);
    padding: 13px 23px;
    font-weight: 700;
    border-radius: 20px;
    text-transform: uppercase;
}

.btn-hero-secondary:hover {
    background-color: var(--white);
    color: var(--primary-blue);
    transform: translateY(-3px);
}

.badge {
    background-color: var(--color-secondary-red);
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

/* SLIDER PARALLAXE - EXCLUSIF PAGE ACCUEIL */
.slider-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}
