/* ============================================
   Bloc : Hero Banner
   Chemin : template-parts/blocs/hero-banner.css
   ============================================ */

.hero-banner-block {
    margin-top: 0;
    margin-bottom: 0;
}

.hero-banner {
    position: relative;
    width: 100%;
    min-height: 420px;
    border-radius: 32px;
    background-color: #e8edf2;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-banner__inner {
    width: 100%;
}

.hero-banner__content {
    width: 100%;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    text-align: center;
}

.hero-banner__text,
.hero-banner__text p,
.hero-banner__text h1,
.hero-banner__text h2,
.hero-banner__text h3 {
    color: #000000;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 4rem;
    font-weight: 900;
    letter-spacing: -0.063em;
    line-height: 1.2;
    max-width: 760px;
    margin: 0 auto;
}

.hero-banner__text p,
.hero-banner__text h1,
.hero-banner__text h2,
.hero-banner__text h3 {
    margin-top: 0;
    margin-bottom: 0;
}

.hero-banner__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background-color: #1a1a1a;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: background-color 0.25s ease;
}

.hero-banner__cta:hover {
    background-color: #333333;
    color: #ffffff;
    text-decoration: none;
}

@media (max-width: 768px) {
    .hero-banner {
        min-height: 280px;
        border-radius: 22px;
    }

    .hero-banner__content {
        padding: 40px 20px;
        gap: 20px;
    }

    .hero-banner__text,
    .hero-banner__text p,
    .hero-banner__text h1,
    .hero-banner__text h2,
    .hero-banner__text h3 {
        font-size: 1.6rem;
    }
}