* {
    --blue: #020042;
    --dark-blue: #020042;
    --dark-blue-50: rgba(6, 36, 63, 0.5);
    --grey: #535353;
}

body {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    font-family: 'Gotham', sans-serif;
    overflow-x: hidden;
}


textarea, input {
    font-family: 'Mona Sans', sans-serif;
}

textarea {
    width: calc(100% - 60px);
    height: 40px;
    margin: 10px 0 20px 0;
    padding: 20px;
    font-family: 'Mona Sans', sans-serif;
    font-size: 17px;
    border-radius: 21px;
    border: 2px solid var(--dark-blue);
    position: relative;
    resize: vertical;

    &::placeholder {
        color: var(--dark-blue);
        font-family: 'Mona Sans', sans-serif;
        font-size: 17px;
        font-weight: 600;
        opacity: 0.5;
    }
}

blockquote {
    font-style: italic;
    font-size: 1.5em;
    font-weight: 600;
    color: var(--dark-blue);
    padding: 20px 20px 0px 20px;
    border-left: 5px solid var(--blue);
    background-color: #f9f9f9;
    margin: 20px 0;

    &::before {
        content: " ";
        display: block;
        position: relative;
        width: 50px;
        height: 50px;
        background-image: url('../../index.html');
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
        opacity: 0.25;
        z-index: 1;
    }
}

blockquote span {
    position: relative;
    top: -30px;
    margin-left: 20px;
    margin-bottom: 20px;
    z-index: 5;
}

a {
    color: var(--blue);
}

.button {
    display: flex;
    gap: 20px;
    font-size: 1em;
    font-weight: 800;
    width: fit-content;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--dark-blue);
    background-color: white;
    padding: 15px 30px;
    border-radius: 99999999px;
    cursor: pointer;
    transition: background 0.2s ease-in-out;
}

.button.button-secondary {
    color: white !important;
    background-color: transparent!important;
    border: 2px solid white;

}

.button.button-secondary:hover {
    background-color: #113E88 !important;

}

.button.button-color-white {
    color: var(--dark-blue);
    background-color: white;

    &:hover {
        background-color: var(--dark-blue);
    }
}

.accordion {
    display: flex;
    gap: 10px;
    justify-content: space-between;
    align-items: center;
    background-color: transparent;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    text-align: left;
    border: none;
    border-top: 1px solid var(--dark-blue);
    outline: none;
    transition: 0.3s ease-in-out;
    user-select: none;
}

/* Version rouge */
.accordion.red {
    border-bottom: 1px solid var(--dark-blue);
}

/* Texte */
.accordion .title {
    font-size: 2em;
    font-weight: 800;
    color: var(--dark-blue);
    transition: color 0.2s ease-in-out;
}

/* Hover */
.accordion:hover .title {
    color: #2cb3ff;
}

/* Accordions rouges */
.accordion.red .title {
    color: #c00d2d;
}

.accordion.red:hover .title {
    color: #f10e1a;
}

/* + couleur fixe (par défaut bleu) */
.accordion .cross {
    color: #2cb3ff !important;
    font-size: 4em;
    font-weight: 700;
    transition: none;
}

/* ✅ + spécifique UNIQUEMENT pour les accordions rouges */
.accordion.red .cross {
    color: #c00d2d !important; /* change ici si tu veux une autre couleur */
}

/* Panels cachés par défaut */
.accordion-panel {
    padding: 0 18px;
    font-size: 1.25em;
    display: none;
    overflow: hidden;
}

header {
    display: flex;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
    color: white;
    background: var(--blue); /* Fond solide pour une navbar fixe */
    z-index: 99999;
    transition: background 0.5s ease-in-out;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header#home.scrolled {
    background: var(--blue);
}

nav {
    width: 100%;
    max-width: 1400px; /* Largeur max pour centrer le contenu */
    margin: 0 auto;
	padding: 25px 0; /* 👈 augmente la hauteur */
}

nav ul {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: center; /* Centrage du contenu */
    gap: 30px; /* Réduit de 50px à 30px pour rapprocher les éléments */
    list-style: none;
    margin:0;padding:0;
}

nav ul .logo {
    height: auto;
    margin: 0; /* Réduit de 0 20px à 0 pour rapprocher */
}

.group-nav-items {
    display: flex;
    gap: 30px; /* Réduit de 50px à 30px */
    align-items: center;
}

.menu-item {
    display: inline-block;
    font-weight: 850;
    font-size: 1.3em;
    text-transform: uppercase;
    color: white;
    cursor: pointer;
    position: relative;
    list-style: none;
    padding: 15px 0;
    height: fit-content;
}

.menu-item.logo-bg a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 150%;
    top: 0;
    left: 0;
    background-image: url('../img/party42.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 1%;
    z-index: -1;
}

.menu-item div {
    margin-right: 10px;
}

.menu-item div, .menu-item::after {
    display: inline-block;
}

.menu-item.dropdown::after {
    content: '';
    position: relative;
    width: 13px;
    height: 14px;
    top: -1px;
    background-image: url('../img/arrow_down.svg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.2s ease-in-out;
}

.menu-item.dropdown:hover::after {
    transform: rotate(180deg);
}

.menu-item a {
    display: block;
    color: #ffffff;
    max-width: 369px;
    text-align: center;
    text-decoration: none;
}

.menu-item:hover div, .menu-item:hover a {
    color: #ea424a;
}

.submenu {
    display: none;
    position: absolute;
    list-style: none;
    margin:0;padding:0;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    width: fit-content;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease-in-out;
}

.submenu li {
    padding: 20px;
    border-bottom: #E0E5EF solid 2px;
    text-align: center;
    transition: all 0.2s ease-in-out;
}

.submenu li:last-of-type {
    border: none;
}

.submenu li a {
    color: var(--dark-blue)!important;
    white-space: nowrap;
    font-size: 1.2em;
    font-weight: 800;
    font-size: 13px;
    padding: 5px 20px;
    background-color: transparent;
}

.submenu li a:hover {
    color: var(--dark-blue);
    background-color: transparent;
}

.submenu li:hover {
    background-color: #E0E5EF;
}

.menu-item.dropdown:hover .submenu {
    display: block;
}

.menu-mobile {
    display: none;
}

footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 50px;
    background-color: var(--blue);
    color: white;
    font-size: 0.8em;
    text-align: center;
}

footer img {
    width: 25%;
    max-width: 350px;
    height: auto;
}

footer .disclaimer {
    border: 2px solid white;
    padding: 10px;
    max-width: 350px;
    border-radius: 10px;
}

/* STYLES POUR LA VIDÉO DE FOND */
section#top {
    position: relative;
    width: 100vw;
    height: 80vh;
    overflow: hidden;
    margin-top: -100px; /* Compense le padding du body */
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.video-background iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw; /* ratio 16:9 */
    min-height: 100vh;
    min-width: 177.78vh; /* ratio 16:9 */
    transform: translate(-50%, -50%);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(90deg, rgba(2, 0, 66, 0.8) 0%, rgba(2, 0, 66, 0) 30%, rgba(2, 0, 66, 0) 70%, rgba(2, 0, 66, 0.8) 100%),
        rgba(0, 0, 0, 0.3);
    z-index: 2;
}

section#top .main-content {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: calc(50% - 200px);
    max-width: 1000px;
    height: calc(100% - 150px);
    padding: 100px 100px 50px 100px;
    z-index: 3;
}

section#top .main-content img {
    width: 100%;
    margin: 20px 0;
}

section#top .main-content .subtitle {
    font-size: 5em;
    font-weight: 800;
    font-style: italic;
    line-height: .8em;
    color: white;
    margin: 20px 0;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
}

section#top .main-content h1 {
    font-size: 3em;
    font-weight: 800;
    color: white;
    margin: 20px 0;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
}

section#top .main-content .redirect-title::after {
    display: block;
    content: '';
    position: relative;
    width: 50%;
    height: 100px;

    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    margin: 20px 0;
}

section#promote {
    display: flex;
    gap: 300px;
    justify-content: center;
    padding-top: 70px;
    padding-bottom: 70px;
    background-color: #ffffff ;
    padding-left: 150px;
    padding-right: 150px;
}

section#promote .left, section#promote .plyr {
    width: 40%!important;
}

section#promote .plyr {
    border-radius: 10px;
}

section#promote .title {
    font-size: 2.5em;
    font-weight: 800;
    color: var(--dark-blue);
    margin-bottom: 20px;
}

section#promote .desc {
    font-weight: 400;
    color: var(--dark-blue);
    margin-bottom: 20px;
}

section#promote .left {
    display: flex;
    flex-direction: column;
}

section#promote .plyr__poster {
    position: absolute;
}

section#promote .plyr__poster::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #00000080;
    pointer-events: none;
}

section#promote .plyr--video .plyr__controls {
    background: transparent;
}

section#promote .plyr--video.plyr--playing .plyr__controls {
    background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.5));
}

section#prog-pres {
    display: flex;
    flex-direction: column;
}

section#prog-pres .content {
    display: flex;
    justify-content: flex-start;   /* ← important */
    align-items: center;
    flex-direction: column;
    gap: 60px;
    color: var(--dark-blue);
    padding: 120px 20px 80px 20px; /* padding contrôlé */
    background-color: var(--blue);
}

section#prog-pres .title {
    font-size: 1.2em;
    text-align: center;
    text-transform: uppercase;
    line-height: 2em;

    & span {
        font-weight: 800;
        font-size: 2em;
    }
}

section#prog-pres .underline {
    font-family: 'Times New Roman', Times, serif;
    font-size: 2em;
    font-weight: 800;
    font-style: italic;

    & span {
        text-shadow: 6px 2px var(--dark-blue), -7px 4px var(--dark-blue), 9px 2px var(--dark-blue), -10px 4px var(--dark-blue), 2px -2px var(--dark-blue);
    }

    &::after {
        content: '';
        display: block;
        width: 65%;
        height: 2px;
        background-color: white;
        margin-top: -5px;
    }
}


.carousel-container {
    position: relative;
    width: 100%;
    margin: auto;
    color: #ffffff;
    overflow: hidden;

    &::before {
        content: '';
        position: absolute;
        width: 10%;
        height: 100%;

        pointer-events: none;
        z-index: 1;
    }

    &::after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 10%;
        height: 100%;

        pointer-events: none;
        z-index: 1;
    }
}

.carousel-container .hidde-content {
    overflow: hidden;
    padding: 0;
}

.carousel {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease-in-out;
    padding: 0 115px;
}

.carousel-item {
    display: flex;
    min-width: 20%;
    padding: 20px;
    transition: opacity 0.5s ease;
    background-color: #113E88;
    overflow: hidden;
}

.carousel-item img {
    width: 50%;
    height: 100%;
    object-fit: contain;
}

.carousel-item-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
    width: 50%;
}

.carousel-item-content h1 {
    font-size: 2em;
    font-weight: 800;
    font-style: italic;
}

.prev-btn,
.next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background-color: #020042;
    border: 3px solid white;
    border-radius: 50%;
    cursor: pointer;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0; /* 🔥 important */
}

.prev-btn::before,
.next-btn::before {
    content: '';
    width: 22px;
    height: 22px;
    background-image: url('../img/arrow_solid.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.prev-btn {
    left: 30px;
}

.prev-btn::before {
    transform: rotate(180deg);
}

.next-btn {
    right: 30px;  /* au lieu de 115px */
}

section#cover-top {
    display: flex;
    color: white;

    & .text, & img {
        width: 50vw;
    }
}

section#content-prog {
    color: var(--dark-blue);
    max-width: 800px;
    margin: 0 auto;
    padding: 50px 0;
}

section#content-prog .title {
    font-size: 2.5em;
    font-weight: 800;
    text-transform: uppercase;
    margin: 20px 0;
}

section#content-prog .subtitle {
    font-size: 1.25em;
    font-weight: 400;
    line-height: 1.25em;
    margin: 20px 0;
}

@media (max-width: 768px) {
    body {
        padding-top: 110px; /* Ajusté pour mobile */
    }

    nav {
        display: none;
    }

    header {
        width: 100%;
        height: 100px;
        padding: 0;
        background: var(--blue);
    }

    header.header-mobile-toggle {
        background-color: var(--blue);
        height: 100vh;
    }

    nav.nav-mobile-toggle {
        display: flex;
        width: calc(100% - 20px);
        height: 100%;
        padding: 0;
        margin: 165px 0 0 0;
        background-color: var(--blue);
    }

    nav.nav-mobile-toggle ul {
        display: flex;
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    nav ul .logo {
        display: none;
    }

    .group-nav-items {
        width: 100%;
        height: 100%;
        gap: 20px;
        flex-direction: column;
    }

    .menu-mobile {
        display: block;
        position: absolute;
        top: 20px;
        left: 10px;
        padding: 10px;
        width: 100%;
    }

    .menu-mobile .button-mobile {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-direction: column;
        width: 30px;
        height: 25px;
        gap: 0px;
        padding: 10px;
        background-color: white;
        color: white;
        border-radius: 10px;
        cursor: pointer;
        user-select: none;

        & span {
            width: 100%;
            height: 2px;
            background-color: var(--dark-blue);
        }
    }

    .menu-mobile img {
        width: auto;
        height: 50px;
        position: absolute;
        top: 10px;
        left: calc(50% - 20px);
        transform: translateX(-50%);
    }

    .menu-item.dropdown::after {
        display: none;
    }

    .menu-item {
        display: inline-block;
        font-weight: 800;
        font-size: 1em;
        text-transform: uppercase;
        color: white;
        cursor: pointer;
        position: relative;
        list-style: none;
        padding: 15px 0;
        height: fit-content;
    }

    .menu-item.dropdown div {
        width: 100%;
        text-align: center;
    }

    .submenu {
        position: relative;
        list-style: none;
        margin:0;
        padding:10px 0 0 0;
        top: 0;
        left: 0;
        gap: 0;
        background-color: transparent;
        width: fit-content;
        box-shadow: none;
        transition: all 0.2s ease-in-out;
    }

    .submenu li {
        color: white;
        border-bottom: none;
        padding: 0;
    }

    .submenu li a {
        color: white!important;
        white-space: nowrap;
        font-size: 1.2em;
        font-weight: 800;
        font-size: 13px;
        padding: 5px 20px;
        background-color: transparent;
    }

    .carousel {
        padding: 0;
    }

    .carousel-container .hidde-content {
        padding: 0;
    }
    
    .carousel {
        gap: 0;
    }

    .carousel-item {
        min-width: 100%;
        flex-direction: column;
    }

    .carousel-item img {
        width: 100%;
        height: auto;
    }

    .carousel-item-content {
        width: 100%;
        padding: 10px;
    }

    .carousel-item-content h1 {
        font-size: 1.5em;
    }

    .prev-btn, .next-btn {
        display: block;
    }

    .carousel-container::before,
    .carousel-container::after {
        display: none;
    }

    footer img {
        width: 100%;
        max-width: 350px;
        height: auto;
    }

    section#top {
        margin-top: -110px;
    }

    section#top .main-content {
        width: calc(100% - 80px);
        height: calc(100% - 80px);
        padding: 40px;
    }

    section#top .main-content h1 {
        font-size: 2.5em;
    }

    section#top .main-content .subtitle {
        font-size: 4em;
    }

    section#promote {
        gap: 20px;
        padding: 20px;
        flex-direction: column;
    }

    section#promote .left, section#promote .plyr {
        width: 100%!important;
    }

    section#prog-pres .content {
        padding: 20px;
        gap: 20px;
    }

    section#prog-pres img {
        width: auto;
        height: 200px;
        object-fit: cover;
    }

    section#prog-pres .title {
        font-size: 1em;
        line-height: 1.5em;
    }

    section#prog-pres .title span {
        font-size: 1.6em;
    }

    section#cover-top {
        flex-direction: column-reverse;
        background-color: var(--blue);
        height: calc(100vh - 110px);
        padding-top: 110px;

        & .text, & img {
            width: 100%;
        }
    }

    section#cover-top .text {
        width: calc(100% - 100px);
        height: 100%;
        padding: 50px;
    }

    section#cover-top .text .title {
        font-size: 2.7em;
    }

    section#content-prog {
        padding: 20px;
    }
}

.hero {
    position: relative;
    width: 50%;
    height: 50vh; /* 🔥 plein écran */
    overflow: hidden;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 50%;
    height: 50%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

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

.hero-title {
    font-weight: 700;
    font-size: clamp(32px, 4vw, 56px);
    line-height: 1.2;
    margin-bottom: 40px;
}

.hero-title .highlight {
    background-color: #d32f2f;
    padding: 6px 16px;
    border-radius: 4px;
    display: inline-block;
}

.hero {
    background: none !important;
}

.hero-banner {
  position: relative;
  height: 65vh;
  background-image: url("image.jpg"); /* ton image ici */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  width: 100%;
  height: 100%;
  background: linear-gradient(
    rgba(0, 0, 60, 0.8),
    rgba(0, 0, 60, 0.6)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  padding: 0 20px;
  color: white;
  font-family: 'Inter', sans-serif;
}

.hero-content h1 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 18px;
}

.hero-content p {
  font-size: 15px;
  line-height: 1.7;
  font-weight: 400;
}

/* ===== FIX STABILITÉ CAROUSEL ===== */

section#prog-pres .carousel {
    align-items: stretch;
}

section#prog-pres .carousel-item {
    height: 420px; /* hauteur fixe */
}

section#prog-pres .carousel-item img {
    height: 100%;
    object-fit: cover;
}

/* ===== NAVBAR HIDE ON SCROLL ===== */

header {
    transition: transform 0.4s cubic-bezier(.4,0,.2,1);
}

header.nav-hidden {
    transform: translateY(-110%);
}