/* === HERO === */
.hero,
.banner {
    position: relative;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 0;
}

.hero__gradient,
.banner__filter {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    max-width: 100%;
    max-height: 100%;
    background: linear-gradient(to right,#A1144C 0%,#1C1B3B 60%);
    opacity: 0.8;
    z-index: 0;
    user-select: none;
}

.banner__filter {
    opacity: 1;
}

.hero__content,
.banner__content {
    position: relative;
    padding: 90px 5% 30px;
    z-index: 1;
}

.hero__title,
.banner__title {
    font-size: 30px;
    font-weight: bold;
    line-height: normal;
}

.banner__title {
    text-transform: uppercase;
    font-weight: 800;
}

.hero__subtitle,
.banner__description {
    font-size: 17px;
    margin-top: 15px;
    max-width: 700px;
}

.banner_text_align {
    text-align: center;
    margin: 0 auto;
}

/* Bouton */
.hero__btn {
    margin-top: 30px;
    display: inline-flex;
    padding: 15px 35px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 50px;
    font-family: 'Lato', sans-serif;
    font-size: 17px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    background: radial-gradient(310% 140% at -80% 0%, #7831A4 0%, #C8145C 50%, #FA1E5A 80%, #FA5354 100%);
    transition: all 0.3s ease;
}

.hero__btn:hover {
    transform: scale(1.03);
}

.banner__btn {
    margin-top: 20px;
}

/* === HOME HERO === */
.home-hero {
    position: relative;
    display: flex;
    font-family: 'Roboto', sans-serif;
    color: #fff;
    padding-top: 80px;
    transition: all 0.3s ease;
}

/* Positionnement des cercles en arrière-plan */
.home-hero__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.ellipse,
.ellipse--two,
.ellipse--three {
    position: absolute;
    border-radius: 50%;
    background-color: #9b0068;
    width: 100px;
    height: 100px;
    opacity: 0.9;
    filter: blur(30px);
    transition: all 0.3s ease;
}

/* Ajustement des tailles et positions */
.ellipse {
    top: -5%;
    right: 0%;
    box-shadow: 0 0 250px 10px #c8145c;

}

.ellipse--two {
    width: 50px;
    height: 50px;
    top: 20%;
    left: 0%;
    box-shadow: 0 0 250px 40px #c8145c;
}

.ellipse--three {
    bottom: 16%;
    left: 56%;
    box-shadow: 0 0 250px 40px #c8145c;
    filter: blur(20px);
}

/* Animations */
@keyframes typingEffect {
    0% {
        opacity: 0;
        filter: blur(5px);
        transform: translateY(10px);
    }

    30% {
        opacity: 1;
        filter: blur(0);
        transform: translateY(0);
    }

    75% {
        opacity: 1;
        filter: blur(0);
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        filter: blur(10px);
        transform: translateY(-10px);
    }
}

.home-hero__container,
.home-hero__img {
    position: relative;
    z-index: 1;
}

.home-hero__img {
    max-height: 85%;
}

.home-hero__container {
    margin: auto 0;
    padding: 5% 2%;
}

.home-hero__title {
    font-size: 30px;
    font-weight: normal;
}

.home-hero__title--change {
    display: inline-block;
    position: relative;
    font-weight: bold;
    font-size: 40px;
    width: auto;
    min-width: 6ch;
    height: 1.2em;
    margin-bottom: -0.7rem;
    white-space: nowrap;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.home-hero__title--change.typing {
    animation: typingEffect 4s ease forwards;
}

.home-hero__description {
    font-size: 17px;
    margin-top: 30px;
    font-weight: 300;
    max-width: 700px;
}

/* === RESPONSIVE === */
@media (min-width: 641px) {}

@media (max-width: 768px) {
    .home-hero {
        flex-direction: column-reverse;
        padding-top: 10%;
    }

    .home-hero__container {
        padding: 60px 5% 5%;
        max-width: 100%;
    }
}

@media (min-width: 768px) {
    .hero__title,
    .home-hero__title,
    .banner__title {
        font-size: 40px;
    }

    .home-hero__title--change {
        font-size: 50px;
    }

    .hero__subtitle,
    .home-hero__description,
    .banner__description {
        font-size: 18px;
    }

    .hero__subtitle,
    .banner__description {
        margin-top: 20px;
    }

    .home-hero__img {
        width: 40%;
    }

    .banner__btn {
        margin-top: 30px;
    }
}

@media (min-width: 1025px) {
    .hero,
    .banner {
        min-height: 600px;
    }

    .hero__content,
    .banner__content {
        padding: 100px 5% 100px;
    }

    .home-hero__img {
        width: 45%;
    }

    .hero__btn {
        font-size: 19px;
    }

    .hero__title,
    .home-hero__title,
    .banner__title {
        font-size: 50px;
    }

    .home-hero__title--change {
        font-size: 60px;
    }

    .hero__subtitle,
    .home-hero__description,
    .banner__description {
        font-size: 22px;
    }

    .ellipse,
    .ellipse--two,
    .ellipse--three {
        width: 150px;
        height: 150px;
        filter: blur(45px);
    }

    /* Ajustement des tailles et positions */
    .ellipse {
        top: -5%;
        left: 20%;
        box-shadow: 0 0 250px 50px #c8145c;
    }

    .ellipse--two {
        width: 100px;
        height: 100px;
        top: 2%;
        left: 55%;
        box-shadow: 0 0 250px 60px #c8145c;
    }

    .ellipse--three {
        bottom: 32%;
        left: 26%;
        box-shadow: 0 0 250px 100px #c8145c;
        filter: blur(25px);
    }
}

@media (min-width: 1280px) {
    .hero__content,
    .banner__content {
        padding: 150px 5% 100px;
    }
}

@media (max-width: 1280px) {
    .home-hero {
        grid-template-columns: 40% 60%;
    }
}