.hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 100vh;
    background-color: #1a1a1a;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    overflow: hidden;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.75) 0%,
        rgba(0, 0, 0, 0.45) 40%,
        rgba(0, 0, 0, 0) 75%
    );
}

.hero .hero__inner {
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    min-height: 100vh;
    z-index: 1;
}

/* --- Variante bannière de page (sous-pages) --- */
.hero--page,
.hero--page .hero__inner {
    min-height: 56vh;
}

.hero--page .hero__inner {
    padding-top: 7rem; /* dégage le header fixe */
    padding-bottom: 3rem;
}

/* --- Contenu --- */
.hero__pill {
    display: inline-block;
    margin-bottom: 1.75rem;
    padding: 0.5rem 1.25rem;
    background-color: rgba(208, 56, 48, 0.55);
    backdrop-filter: blur(6px);
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
}

.hero__title {
    margin: 0 0 1.5rem;
    font-size: clamp(2.5rem, 5.5vw, 4rem);
    font-weight: 800;
    line-height: 1.04;
    max-width: 900px;
    font-family: 'Montserrat', sans-serif;
}

.hero__title-accent {
    color: var(--color-red, #e30613);
}

.hero__description {
    max-width: 34rem;
    margin-bottom: 2rem;
    font-size: 1.15rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.92);
}

.hero__description p {
    margin: 0;
}

.hero__cta {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 0.5rem 0.5rem 1.75rem;
    background-color: #fff;
    color: #111;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.hero__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.hero__cta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background-color: var(--color-red, #e30613);
    border-radius: 50%;
    color: #fff;
}

/* --- Chips (taxonomie pill, sous-pages) --- */
.hero__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 1.75rem 0 0;
    padding: 0;
    list-style: none;
}

.hero__tag {
    padding: 0.45rem 1.1rem;
    background-color: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* --- Encart statistiques --- */
.hero__stats {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-shrink: 0;
    gap: 2.75rem;
    padding: 1.75rem 2.5rem;
    background-color: #fff;
    border-radius: 1.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.hero__stat {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.hero__stat-value {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    color: var(--color-red, #e30613);
}

.hero__stat-label {
    font-size: 0.95rem;
    color: #333;
}

@media (max-width: 900px) {
    .hero .hero__inner {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
    }

    .hero__stats {
        left: 20px;
        right: 20px;
        justify-content: space-between;
        gap: 1rem;
        padding: 1.5rem;
    }

    .hero__stat-value {
        font-size: 2rem;
    }
}

@media (max-width: 560px) {
    .hero__stats {
        flex-wrap: wrap;
    }
}
