/**
 * Fichier  : /pages/homepage/header/assets/css/style.css
 * Fonction : style de l'en-tête
 */


/* ==================================================
   HERO SECTION
================================================== */

.welcome {
    position: relative;
    overflow: hidden;
}

.welcome {
    width: auto;
}

.welcome {
    height: 100svh;
    min-height: 100svh;
}

.welcome {
    background: var(--main-background);
}

.welcome {
    display: grid;
    grid-template-columns: 40% 1fr;
    align-items: center;
    justify-items: center;
    gap: 3em;
}

.welcome {
    box-sizing: border-box;
    padding:
        2em
        clamp(3em, 8vw, 12em);
}


/* ==================================================
   BACKGROUND ACCENT
================================================== */

.welcome::before {
    content: "";
}

.welcome::before {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.welcome::before {
    pointer-events: none;
}

.welcome::before {
    background:
        radial-gradient(
            circle at 72% 44%,
            rgba(233, 64, 27, .10) 0%,
            rgba(233, 64, 27, .04) 22%,
            transparent 46%
        );
}


/* ==================================================
   INTRO
================================================== */

.welcome .intro {
    position: relative;
    z-index: 3;
}


/* ==================================================
   CTA
================================================== */

.welcome .cta {
    position: relative;
    z-index: 3;
}

.welcome .cta {
    width: 100%;
    max-width: 480px;
}

.welcome .cta {
    display: flex;
    flex-direction: column;
    gap: 1.2em;
}


/* ==================================================
   TABLETTE
================================================== */

@media screen and (max-width: 1024px) {

    .welcome {
        grid-template-columns: 1fr;
        align-content: center;
        align-items: start;
        gap: 2.5em;
    }

    .welcome {
        height: auto;
        min-height: 100svh;
    }

    .welcome {
        padding:
            6em
            2em
            2em
            2em;
    }

    .welcome::before {
        background:
            radial-gradient(
                circle at 60% 35%,
                rgba(233, 64, 27, .08) 0%,
                transparent 42%
            );
    }

    .welcome .cta {
        max-width: 620px;
        justify-self: start;
    }

}


/* ==================================================
   MOBILE
================================================== */

@media screen and (max-width: 640px) {

    .welcome {
        gap: 2em;
    }

}