body {
    background-color: #202020;
    margin: 0 auto;
    color: #FFF3E3;
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 14px;
    /* overflow: hidden; */
    overflow-x: hidden;

}

/* ICI c'est Nils */
img.card {
    position: absolute;
    max-width: 70%;
    right: 0;
    bottom: 13rem;
    /* gérer le petit écran (chgt de valeur bottom */
}

.landing {
    position: relative;
}

/* juxque là */

@font-face {
    font-family: 'ESNein';
    src: url(../typo/ESNein-Extrabold.woff);
}

img {
    width: 100%;
    user-select: none;
}

.carousel .slide img,
.slide video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block;
    pointer-events: none;
    user-select: none;
}

.inner {
    margin: 0;
    padding: 0;
}

.navbar {
    display: flex;
    width: 100%;
}

/* ============ boorgir */

.burger {
    /* justify-self: right; */
    position: relative;
    margin: 0;
    padding: 0;
    color: #FFF3E3;
    cursor: pointer;
    margin-left: auto;
    margin-right: 1rem;
    z-index: 4;
}

.burger hr {
    width: 25px;
}

/* menu caché */
.menu {
    position: relative;
    list-style: none;
    padding: 20px;
    margin: 0;
    background: #202020;
    width: 50%;
    display: flex;
    flex-direction: column;
    z-index: 3;
    height: 100vh;
    display: none;
}

.menu li {
    margin: 15px 0;
    padding-top: 3rem;
}

.menu a {
    color: #FFF3E3;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 2rem;
    font-weight: 600;

}

.home .menu a {
    font-weight: bold;
}

/* quand actif */
.menu.active {
    display: block;
    width: 50%;
    left: 50%;
    position: fixed;
    justify-self: end;
}

/* ============== carousel */

:root {
    --c-accent: #fff3e3;
    --c-radius: 3px;
    --c-transition: 0.55s cubic-bezier(0.77, 0, 0.18, 1);
}

/* ── Wrapper ──────────────── */

.tourne {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.carousel {
    position: relative;
    width: 100%;
    max-width: 1300px;
    margin: 100px auto 0;
    height: 300px;
}

/* ── Slide (base) ─────────── */
.carousel .slide {
    padding: 0;
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    max-width: 480px;
    aspect-ratio: 5 / 3;
    border-radius: var(--c-radius);
    overflow: hidden;
    cursor: pointer;
    transform-origin: center center;
    transition:
        transform var(--c-transition),
        opacity var(--c-transition),
        filter var(--c-transition);
}

.carousel .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
    user-select: none;
}

.carousel .slide video {
    width: 100%;
    height: auto;
    display: block;
}

/* ── ACTIVE (centre) ──────── */
.carousel .slide.c-active {
    transform: translate(-50%, -50%) scale(1);
    z-index: 1000;
    opacity: 1;
    filter: brightness(1);
    box-shadow:
        0 40px 100px rgba(0, 0, 0, 0.7),
        0 0 0 1px rgba(232, 200, 122, .15);
}

/* ── PREVIEW (gauche) ─────── */
.carousel .slide.c-preview {
    transform: translate(calc(-50% - 95%), -50%) scale(0.96);
    z-index: 500;
    opacity: 0.75;
    filter: brightness(0.6) saturate(0.7);
}

/* ── NEXT (droite) ────────── */
.carousel .slide.c-next {
    transform: translate(calc(-50% + 95%), -50%) scale(0.96);
    z-index: 500;
    opacity: 0.75;
    filter: brightness(0.6) saturate(0.7);
}

/* ── HIDDEN ───────────────── */
.carousel .slide.c-hidden {
    transform: translate(-50%, -50%) scale(0.88);
    opacity: 0;
    z-index: 0;
    pointer-events: none;
}

/* ── Caption ──────────────── */
.carousel .caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2.5rem 1.5rem 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, .85) 0%, transparent 100%);
    color: #fff;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    pointer-events: none;
}

.carousel .slide.c-active .caption {
    transform: translateY(0);
}

.carousel .caption h2 {
    display: none;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.6rem;
    letter-spacing: 0.08em;
    color: var(--c-accent);
}

.carousel .caption p {
    font-size: .85rem;
    opacity: .75;
    margin-top: .25rem;
}

/* ── Contrôles (dots + boutons) */
.c-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    margin-bottom: 2rem;
}

/* Boutons ← → */
.c-btn {
    background: transparent;
    border-color: transparent;
    color: #fff;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color .3s, background .3s, transform .2s;
    flex-shrink: 0;
}

.c-btn:hover {
    border-color: transparent;
    background: transparent;
    transform: scale(1.3);
}

.c-btn:active {
    transform: scale(0.96);
}

/* Dots */
.c-dots {
    display: flex;
    gap: .6rem;
    align-items: center;
}

.c-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, .25);
    cursor: pointer;
    transition: background .3s, transform .3s;
    padding: 0;
}

.c-dot.c-dot--active {
    background-color: #FFF3E3;
    transform: scale(1.2);
}


/* ================= Prize wheels Home*/

.prize-wheel {
    display: none;
}

.swiper {
    all: initial;
}

.swiper-button-next,
.swiper-button-prev {
    all: initial;
    cursor: pointer;
    width: var(--swiper-navigation-size);
    z-index: 10;
}

.swiper-horizontal {

    .swiper-button-next,
    .swiper-button-prev,
    ~.swiper-button-next,
    ~.swiper-button-prev {
        all: initial;
        color: #FFF3E3;
        cursor: pointer;
        height: var(--swiper-navigation-size);
        width: var(--swiper-navigation-size);
        z-index: 10;
    }
}

.swiper-horizontal {

    &.swiper-rtl .swiper-button-prev,
    &.swiper-rtl~.swiper-button-prev,
    &~.swiper-button-next,
    .swiper-button-next {
        all: initial;
        right: var(--swiper-navigation-sides-offset, 4px);
        color: #FFF3E3;
        cursor: pointer;
        height: var(--swiper-navigation-size);
        width: var(--swiper-navigation-size);
        z-index: 10;
    }
}

@media (max-width:934px) {

    .swiper-container {
        width: 50%;
        display: flex;
        justify-content: center;
        margin: 0 auto;
        padding: 0;
    }

    .swiper-prizes {
        margin: 0 auto;
        padding: 0;
    }

    .swiper-nav-container {
        width: 100%;
        margin: 0 auto;
    }

    .swiper-nav {
        position: relative;
        display: flex;
        flex-direction: row;
        width: 60%;
        justify-content: space-between;
        margin: 1vh auto;
    }

    .swiper-prizes {
        width: 100%;
        display: flex;
        flex-direction: column;
        text-align: center;
        /* border: 1px solid blue; */
        margin-top: 5vh;
    }
}



@media (min-width:935px) {

    .swiper-container {
        margin-top: 15rem;
        height: 100vh;
        display: flex;
        flex-direction: row-reverse;
    }

    .swiper-prize {
        padding: 25vh 0 10vh 0;
        margin-top: auto;
        margin-bottom: auto;
    }

    .swiper-prize .swiper-slide a {
        display: none;
    }

    .prize-wheel {
        box-sizing: border-box;
        position: absolute;
        transform: rotateY(-180deg);
        align-self: center;
        display: flex;
        justify-self: center;
        width: 100%;
        align-items: center;
        height: 100%;
        translate: -60%;
    }

    .prize-wheel a {
        position: absolute;
        transform-origin: right center;
        transform-origin: 175% center;

    }

    .prize-wheel img {
        width: 17vw;
        aspect-ratio: 1/1;
        object-fit: cover;
    }

    .paragraph--type-view .views-element-container {
        display: flex;
        align-items: center;
    }

    .swiper-nav-container {
        width: 100%;
        margin-bottom: 15vh;
    }

    .swiper-nav {
        position: relative;
        display: flex;
        flex-direction: row;
        width: 33%;
        justify-content: space-between;
        margin-bottom: 15vh;
    }

    .swiper-prizes {
        width: 30%;
        align-self: center;
        margin: auto;
        padding-left: 15vw;
        padding-bottom: 5vh;
        /* border: 1px solid blue; */

    }
}



.swiper-prizes a {
    font-family: 'ESnein';
    color: #FFF3E3;
    text-transform: uppercase;
    font-size: 5rem;
    margin: 0;
    text-decoration: none;
}

/* ============== home page */

@media (min-width: 1540px) {
    h1 {
        font-family: 'ESNein';
        font-size: clamp(27rem, 24vw, 27rem);
        text-transform: uppercase;
        line-height: clamp(20rem, 18vw, 20rem);
        font-weight: normal;
        margin: 0;
        pointer-events: none;
    }

    /* img.card {
        position: absolute;
        max-width: 110vh;

    left: 45vh;
    bottom: 3vh;
}*/


}

@media screen and (max-width: 1539px) and (min-width: 936px) {
    h1 {
        font-family: 'ESNein';
        font-size: 27rem;
        text-transform: uppercase;
        line-height: 20rem;
        font-weight: normal;
        margin: 0;
        pointer-events: none;
    }

    /* img.card {
        position: absolute;
        max-width: 110vh;
        left: 45vh;
        bottom: 3vh;
    } */
}

@media (max-width: 935px) {
    h1 {
        font-family: 'ESNein';
        font-size: 12rem;
        text-transform: uppercase;
        line-height: 9rem;
        font-weight: normal;
        margin: 0;
        padding: 1rem;
        pointer-events: none;
    }

    img.card {
        bottom: 4rem;
    }


}


.me h2 {
    font-family: 'ESNein';
    font-size: clamp(5rem, 10vw, 10rem);
    text-transform: uppercase;
    font-weight: normal;
    margin: 25vh 10vw 0 10vw;
    pointer-events: none;
}

.me p {
    margin: 0 10vw 25vh 10vw;
    padding: 0;
}

/* =============== Page femme et sports */

.projtitle {
    font-family: 'ESNein';
    font-size: 25em;
    text-transform: uppercase;
    line-height: 17rem;
    margin: 0;
    font-weight: 500;
}

img.obj {
    aspect-ratio: 5/3;
    max-width: 100%;
    width: 800px;
    object-fit: cover;
    display: block;
    pointer-events: none;
    user-select: none;
    border-radius: var(--c -radius);
    z-index: 1000;
    opacity: 1;
    filter: brightness(1);
    box-shadow:
        0 40px 100px rgba(0, 0, 0, 0.7),
        0 0 0 1px rgba(232, 200, 122, .15);
}

.txt-container {
    max-width: 100%;
}

.objtxt {
    max-width: 100%;
    max-width: 35em;
    margin: 0 auto;

}

p.objtxt {
    font-size: clamp(1rem, 1.5vw, 1.5rem);

    max-width: 30em;
    padding: 3vh 3vh 0 3vh;
    margin: 0;

}



.ex {
    display: flex;
    flex-direction: column;
    max-width: 90%;
    margin: 0 auto;
    margin-top: 5vh;
}



.objtxt:nth-last-of-type(even) {
    justify-self: end;
}

@media screen and (max-width: 1539px) and (min-width: 936px) {
    .objtxt {
        max-width: 80%;
    }

    p.objtxt {
        /* font-size: 1.5vw; */
        padding: 3vh 3vh 0 3vh;
        margin: 0;

    }

    .ex {
        display: flex;
        flex-direction: row;
        max-width: 90%;
        margin: 0 auto;
        margin-top: 5vh;
    }

    .ex:nth-last-child(odd) {
        flex-direction: row-reverse;
        text-align: right;
        padding: 0;

    }

    img.obj {
        aspect-ratio: 5/3;
        max-width: 49%;
        width: 800px;
        object-fit: cover;
        display: block;
        pointer-events: none;
        user-select: none;
        border-radius: var(--c-radius);
        z-index: 1000;
        opacity: 1;
        filter: brightness(1);
        box-shadow:
            0 40px 100px rgba(0, 0, 0, 0.7),
            0 0 0 1px rgba(232, 200, 122, .15);
    }
}

@media (min-width:1540px) {

    /* p.objtxt {
        color: #FFF3E3;
        font-family: helvetica;
        font-size: .9rem;
        line-height: 1.1rem;
        font-weight: 300;
        padding: 3vh 3vh 0 3vh;
        margin: 0;

    } */

    .ex {
        display: flex;
        flex-direction: row;
        max-width: 90%;
        margin: 0 auto;
        margin-top: 5vh;
    }

    .ex:nth-last-child(odd) {
        flex-direction: row-reverse;
        text-align: right;
        padding: 0;

    }

    img.obj {
        aspect-ratio: 5/3;
        max-width: 49%;
        width: 800px;
        object-fit: cover;
        display: block;
        pointer-events: none;
        user-select: none;
        border-radius: var(--c-radius);
        z-index: 1000;
        opacity: 1;
        filter: brightness(1);
        box-shadow:
            0 40px 100px rgba(0, 0, 0, 0.7),
            0 0 0 1px rgba(232, 200, 122, .15);
    }
}


/* ================ projects */

.wall {
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;

}

.wall img {
    aspect-ratio: 5/3;
    max-width: 33%;
    width: 800px;
    object-fit: cover;
    display: block;
    pointer-events: none;
    user-select: none;
    border-radius: var(--c -radius);
    z-index: 1000;
    opacity: 1;
    filter: brightness(1);
    box-shadow:
        0 40px 100px rgba(0, 0, 0, 0.7),
        0 0 0 1px rgba(232, 200, 122, .15);
    margin: 1rem;
}