/* =========================================================
   CARNAVAL DE MOUSCRON
   HOME.CSS

   UNIQUEMENT LA PAGE D'ACCUEIL
   Le style général reste dans style.css
   ========================================================= */


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

.home-hero {
    position: relative;

    min-height: 100vh;

    display: flex;
    align-items: center;

    padding: 150px 8vw 100px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 78% 45%,
            #292929 0%,
            #171717 32%,
            #0a0a0a 70%
        );

    color: #ffffff;
}


/* Texture/lumière discrète */

.home-hero-background {
    position: absolute;
    inset: 0;

    pointer-events: none;

    background:
        linear-gradient(
            100deg,
            rgba(0, 0, 0, 0.15),
            transparent 60%
        );
}


/* Contenu */

.home-hero-content {
    position: relative;

    z-index: 2;

    width: 100%;
    max-width: 1050px;
}


.home-hero h1 {
    margin: 0 0 30px;

    font-family: "Anton", Impact, sans-serif;

    font-size: clamp(4.5rem, 10vw, 9rem);

    font-weight: 400;

    line-height: 0.9;

    letter-spacing: -0.025em;

    text-transform: uppercase;
}


.home-hero h1 span {
    color: #cf2a22;
}


/* Date */

.home-hero-date {
    display: inline-block;

    margin: 0 0 25px;

    padding: 10px 16px;

    border-left: 4px solid #f4c527;

    font-size: 1rem;

    font-weight: 800;

    letter-spacing: 0.12em;
}


/* Intro */

.home-hero-intro {
    max-width: 600px;

    margin: 0;

    color: #d9d6cf;

    font-size: 1.1rem;

    line-height: 1.7;
}


/* Boutons */

.home-actions {
    display: flex;

    flex-wrap: wrap;

    gap: 15px;

    margin-top: 35px;
}


/* Scroll en bas */

.home-scroll {
    position: absolute;

    right: 5vw;
    bottom: 40px;

    z-index: 2;

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 10px;

    color: rgba(255, 255, 255, 0.7);

    font-size: 0.65rem;

    font-weight: 700;

    letter-spacing: 0.15em;
}


.home-scroll span:last-child {
    font-size: 1.4rem;

    animation: homeScroll 1.5s infinite;
}


@keyframes homeScroll {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(8px);
    }

}


/* =========================================================
   RETOUR APRÈS 33 ANS
   ========================================================= */

.home-return {
    position: relative;

    overflow: hidden;
}


/* énorme 33 en arrière-plan */

.home-big-number {
    position: absolute;

    right: 3vw;

    top: 50%;

    transform: translateY(-50%);

    font-family: "Anton", Impact, sans-serif;

    font-size: clamp(15rem, 33vw, 36rem);

    line-height: 0.8;

    color: rgba(0, 0, 0, 0.035);

    pointer-events: none;

    user-select: none;
}


/* contenu au-dessus du 33 */

.home-return .split {
    position: relative;

    z-index: 2;
}


.home-text-link {
    display: inline-flex;

    align-items: center;

    margin-top: 25px;

    color: #cf2a22;

    font-size: 0.8rem;

    font-weight: 800;

    letter-spacing: 0.07em;

    text-decoration: none;

    text-transform: uppercase;

    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}


.home-text-link:hover {
    transform: translateX(5px);

    opacity: 0.75;
}


/* =========================================================
   PROGRAMME / 3 JOURS
   ========================================================= */

.home-programme {
    position: relative;
}


.home-programme > h2 {
    max-width: 900px;

    margin-bottom: 55px;
}


.home-programme > h2 span {
    color: #f4c527;
}


/* Grille */

.home-days {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    max-width: 1200px;

    margin: 50px 0 45px;

    border-top: 1px solid rgba(255, 255, 255, 0.22);

    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}


/* Chaque jour */

.home-day {
    display: flex;

    align-items: center;

    gap: 22px;

    min-height: 150px;

    padding: 25px 30px;

    border-right: 1px solid rgba(255, 255, 255, 0.22);

    transition:
        background 0.25s ease,
        color 0.25s ease;
}


.home-day:first-child {
    border-left: 1px solid rgba(255, 255, 255, 0.22);
}


.home-day:hover {
    background: rgba(255, 255, 255, 0.06);
}


/* Numéro */

.home-day-number {
    font-family: "Anton", Impact, sans-serif;

    font-size: clamp(4rem, 7vw, 6rem);

    line-height: 1;

    color: #ffffff;
}


/* Informations */

.home-day-info {
    display: flex;

    flex-direction: column;
}


.home-day-info small {
    margin-bottom: 5px;

    color: #f4c527;

    font-size: 0.65rem;

    font-weight: 800;

    letter-spacing: 0.12em;
}


.home-day-info h3 {
    margin: 0;

    font-size: 1.2rem;
}


/* =========================================================
   CONFRÉRIES
   ========================================================= */

.home-confreries {
    position: relative;
}


.home-confreries .big-text {
    line-height: 1.25;
}


/* petite ligne décorative */

.home-confreries::after {
    content: "";

    position: absolute;

    right: 8vw;
    bottom: 0;

    width: 120px;
    height: 5px;

    background: #f4c527;
}


/* =========================================================
   PETIT HURLU
   ========================================================= */

.home-hurlu {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    min-height: 720px;

    background: #f1ede5;

    overflow: hidden;
}


/* Texte */

.home-hurlu-content {
    display: flex;

    flex-direction: column;

    justify-content: center;

    padding: 100px 8vw;
}


.home-hurlu-content h2 {
    margin: 0 0 35px;

    font-family: "Anton", Impact, sans-serif;

    font-size: clamp(3.8rem, 6vw, 6.5rem);

    font-weight: 400;

    line-height: 0.95;

    text-transform: uppercase;
}


.home-hurlu-content h2 span {
    color: #cf2a22;
}


.home-hurlu-content > p:not(.eyebrow) {
    max-width: 530px;

    margin-bottom: 15px;

    color: #333333;

    font-size: 1rem;

    line-height: 1.75;
}


/* Partie visuelle */

.home-hurlu-visual {
    position: relative;

    display: flex;

    align-items: flex-end;

    justify-content: center;

    min-height: 720px;

    overflow: hidden;

    background: #e8e3d9;
}


/* Cercle discret derrière le Hurlu */

.home-hurlu-visual::before {
    content: "";

    position: absolute;

    top: 50%;
    left: 50%;

    width: min(38vw, 550px);
    height: min(38vw, 550px);

    transform: translate(-50%, -48%);

    border: 1px solid rgba(207, 42, 34, 0.25);

    border-radius: 50%;
}


.home-hurlu-visual::after {
    content: "";

    position: absolute;

    top: 50%;
    left: 50%;

    width: min(30vw, 430px);
    height: min(30vw, 430px);

    transform: translate(-50%, -48%);

    border: 1px solid rgba(207, 42, 34, 0.12);

    border-radius: 50%;
}


/* Mascotte */

.home-hurlu-visual img {
    position: relative;

    z-index: 2;

    display: block;

    width: auto;

    max-width: 88%;

    max-height: 680px;

    object-fit: contain;
}


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

.home-final {
    position: relative;

    min-height: 620px;

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

    overflow: hidden;
}


.home-final-content {
    position: relative;

    z-index: 2;

    width: 100%;

    max-width: 1000px;

    margin: 0 auto;
}


.home-final h2 {
    margin: 0 0 30px;

    font-size: clamp(4rem, 9vw, 8rem);

    line-height: 0.92;
}


.home-final .big-text {
    max-width: 700px;

    margin-left: auto;

    margin-right: auto;
}


.home-final .home-actions {
    justify-content: center;
}


/* petit accent derrière */

.home-final::before {
    content: "2027";

    position: absolute;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    font-family: "Anton", Impact, sans-serif;

    font-size: clamp(14rem, 35vw, 35rem);

    line-height: 1;

    color: rgba(255, 255, 255, 0.025);

    pointer-events: none;
}


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

@media (max-width: 950px) {

    .home-hero {
        padding:
            140px 6vw
            90px;
    }


    .home-days {
        grid-template-columns: 1fr;
    }


    .home-day {
        border-right: 0;

        border-bottom:
            1px solid rgba(255, 255, 255, 0.22);
    }


    .home-day:first-child {
        border-left: 0;
    }


    .home-day:last-child {
        border-bottom: 0;
    }


    .home-hurlu {
        grid-template-columns: 1fr;
    }


    .home-hurlu-content {
        padding: 90px 7vw;
    }


    .home-hurlu-visual {
        min-height: 600px;
    }


    .home-hurlu-visual::before {
        width: 500px;
        height: 500px;
    }


    .home-hurlu-visual::after {
        width: 390px;
        height: 390px;
    }

}


/* =========================================================
   SMARTPHONE
   ========================================================= */

@media (max-width: 650px) {

    /* HERO */

    .home-hero {
        min-height: 100svh;

        padding:
            120px 22px
            70px;
    }


    .home-hero h1 {
        font-size: clamp(
            4rem,
            19vw,
            6rem
        );
    }


    .home-hero-date {
        font-size: 0.75rem;

        letter-spacing: 0.08em;
    }


    .home-hero-intro {
        font-size: 1rem;
    }


    .home-actions {
        flex-direction: column;

        align-items: flex-start;
    }


    .home-scroll {
        display: none;
    }


    /* 33 */

    .home-big-number {
        right: -25px;

        font-size: 16rem;
    }


    /* PROGRAMME */

    .home-days {
        margin-top: 35px;
    }


    .home-day {
        min-height: 120px;

        padding: 20px 10px;
    }


    .home-day-number {
        min-width: 90px;

        font-size: 4.5rem;
    }


    /* HURLU */

    .home-hurlu-content {
        padding: 80px 22px;
    }


    .home-hurlu-content h2 {
        font-size: clamp(
            3.5rem,
            16vw,
            5rem
        );
    }


    .home-hurlu-visual {
        min-height: 500px;
    }


    .home-hurlu-visual img {
        max-height: 480px;
    }


    .home-hurlu-visual::before {
        width: 380px;
        height: 380px;
    }


    .home-hurlu-visual::after {
        width: 290px;
        height: 290px;
    }


    /* FINAL */

    .home-final {
        min-height: 550px;
    }


    .home-final h2 {
        font-size: clamp(
            4rem,
            18vw,
            6rem
        );
    }

}