/**
 * Hero Banner — Page d'accueil
 *
 * Section pleine largeur avec image de fond, titre h1,
 * et deux boutons CTA (vert plein + outline blanc).
 */

/* =============================================================================
   Layout
   ============================================================================= */
.hero-banner {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    color: var(--color-blanc);
}

.hero-banner__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.55) 0%,
        rgba(0, 0, 0, 0.25) 100%
    );
    z-index: 1;
}

.hero-banner__inner {
    position: relative;
    z-index: 2;
    padding-top: var(--space-3xl);
    padding-bottom: var(--space-3xl);
    max-width: var(--container-width);
}

/* =============================================================================
   Title
   ============================================================================= */
.hero-banner__title {
    font-size: clamp(2.6rem, 2rem + 3.9vw, 4.875rem);
    font-weight: 500;
    line-height: 1.15;
    max-width: 800px;
    margin-bottom: var(--space-xl);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

/* =============================================================================
   CTA Buttons
   ============================================================================= */
.hero-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
}

/* =============================================================================
   Responsive
   ============================================================================= */
@media (max-width: 768px) {
    .hero-banner {
        min-height: 100vh;
    }

    .hero-banner__inner {
        padding-top: var(--space-2xl);
        padding-bottom: var(--space-2xl);
    }

    .hero-banner__title {
        max-width: 100%;
        font-size: clamp(1.75rem, 1.2rem + 3vw, 2.6rem);
    }

    .hero-banner__actions {
        flex-direction: column;
        align-items: flex-start;
    }

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

@media (min-width: 1024px) {
    .hero-banner {
        min-height: 100vh;
    }
}
