/**
 * Le Tour de Moi - Component: Hero
 * Section principale immersive.
 */

/* --- HERO HOME --- */

.hero-home {
    position: relative;
    width: 100%;
    min-height: 620px;
    height: calc(100vh - 140px);
    background-image: url("../../images/hero/hero-home.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    padding-top: 2rem;
    padding-bottom: 160px;
    color: white;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 1440px;
}

.hero-content {
    max-width: 640px;
}

.hero-label {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--clr-primary);
    letter-spacing: 0.3em;
    margin-bottom: 2rem;
    display: block;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.05;
    font-weight: 800;
    color: white;
    margin-bottom: 2.5rem;
    letter-spacing: -0.02em;
    text-transform: none;
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 3.5rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 520px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.hero-actions .btn--outline {
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

.hero-actions .btn--outline:hover {
    background-color: white;
    color: var(--clr-text-main);
    border-color: white;
}

/* --- RESPONSIVE --- */

@media (max-width: 768px) {
    .hero-home {
        min-height: 500px;
        height: auto;
        padding: 4rem 0 10rem 0;
        background-position: 66% 42%;
    }

    .hero-overlay {
        background: linear-gradient(
            to right,
            rgba(0, 0, 0, 0.72) 0%,
            rgba(0, 0, 0, 0.52) 55%,
            rgba(0, 0, 0, 0.10) 100%
        );
    }

    .hero-title {
        font-size: 2.5rem;
        max-width: 330px;
    }

    .hero-description {
        max-width: 340px;
        margin-bottom: 2rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

@media (max-width: 360px) {
    .hero-title,
    .hero-description {
        max-width: 100%;
    }
}
