* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #000;
    font-size: 1.1111111111111112vw;
    color: #fff;
    position: relative;
    min-height: 100vh;
}

/* Texture de fond en position absolute qui scroll avec la page */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100%;
    height: 100%;
    background-image: url('../images/GroundDirtRocky020_BUMP_2K.webp');
    background-size: 512px 512px;
    background-position: 0 0;
    background-repeat: repeat;
    opacity: 0.15;
    z-index: -1;
    pointer-events: none;
}

/* Images de fond discrètes par-dessus la texture */
body::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100%;
    height: 100%;
    background-image: 
        url('../images/bg-img-1.svg'),
        url('../images/bg-img-2.svg'),
        url('../images/bg-img-3.svg'),
        url('../images/bg-img-4.svg');
    background-size: 
        30% auto,
        25% auto,
        35% auto,
        28% auto;
    background-position: 
        10% 20%,
        80% 40%,
        20% 70%,
        90% 80%;
    background-repeat: no-repeat;
    opacity: 0.08;
    z-index: -1;
    pointer-events: none;
    mix-blend-mode: overlay;
}

h1 {
    font-size: 3.4375em;
    font-family: Rubik Dirt, system-ui;
    font-weight: 400;
    text-transform: uppercase;
    font-style: normal;  
}

.h1 {
    font-size: 3.4375em;
    font-family: "Rubik Dirt", system-ui;
    font-weight: 400;
    text-transform: uppercase;
    font-style: normal;  
}


h2 {
    font-size: 2.8125em;
    font-family: "Rubik Dirt", system-ui;
    font-weight: 400;
    text-transform: uppercase;
    font-style: normal; 
}   

.h2 {
    font-size: 2.8125em;
    font-family: "Rubik Dirt", system-ui;
    font-weight: 400;
    text-transform: uppercase;
    font-style: normal; 
}

h3 {
    font-size: 2.125em;
    font-family: "Rubik Dirt", system-ui;
    font-weight: 400;
    text-transform: uppercase;
    font-style: normal; 
}

.h3 {
    font-size: 2.125em;
    font-family: "Rubik Dirt", system-ui;
    font-weight: 400;
    text-transform: uppercase;
    font-style: normal; 
}

h4 {
    font-size: 1.75em;
    font-family: "Rubik Dirt", system-ui;
    font-weight: 400;
    text-transform: uppercase;
    font-style: normal; 
}

.h4 {
    font-size: 1.75em;
    font-family: "Rubik Dirt", system-ui;
    font-weight: 400;
    text-transform: uppercase;
    font-style: normal; 
}

h5 {
    font-family: "Rubik Dirt", system-ui;
    font-weight: 400;
    font-size: 1.5em;
    color: #EFEFEF;
}

p {
    font-size: 1.3125em;
    font-family: "DM Sans", system-ui;
    font-weight: 300;
    font-style: normal;
    line-height: 140%;
    letter-spacing: 0em;
}

.p-large {
    font-size: 1.5em;
    font-family: "Rubik Dirt", system-ui;
    font-weight: 400;
    font-style: normal; 
    text-transform: uppercase;
    line-height: 1;
    text-align: right;
}

a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    opacity: 0.8;
    transition: opacity 0.3s ease-out;
}
a:active {
    opacity: 0.6;
    transition: opacity 0.3s ease-out;
}
a:focus {
    outline: none;
}

/* Accessibilité: focus clavier visible (WCAG 2.1 AA) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.9);
    outline-offset: 3px;
}

/* Fallback navigateurs sans :focus-visible */
@supports not selector(:focus-visible) {
    a:focus,
    button:focus,
    input:focus,
    select:focus,
    textarea:focus,
    [tabindex]:focus {
        outline: 2px solid rgba(255, 255, 255, 0.9);
        outline-offset: 3px;
    }
}

button {
    text-decoration: none;
    color: inherit;
}

button:hover {
    opacity: 0.8;
    transition: opacity 0.3s ease-out;
}
button:active {
    opacity: 0.6;
    transition: opacity 0.3s ease-out;
}
button:focus {
    outline: none;
}

.logo-img {
    width: 100%;
    max-width: 250px;
    object-fit: contain;
}

section {
    width: 100%;
    padding: 8em 0;
    position: relative;
}

section.activity_section{
    padding: 0 0 8em 0;
    }


.c {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 4em;
}

.c.w-max {
    max-width: none;
    padding: 0 0;

}

.flexbox-v {
    display: flex;
    width: 100%;
    margin: 0 auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4em;
}

.flexbox-h {
    display: flex;
    flex-direction: row;
    width: 100%;
    gap: 4em;
}

.block {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.gap-2 {
    gap: 2em;
}


.w-60 {
    max-width: 60%;
}

.w-80 {
    max-width: 80%;
}

.w-920 {
    max-width: 920px;
}

.w-760 {
    max-width: 760px;
}

.text-center {
    text-align: center;
}

.is-right {
    margin-left: auto;
}

header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #000;
    width: 100%;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-drag: none;
}

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





.menu-toggle-content {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #000;
    list-style: none;
    gap: 1.875em;
    text-align: center;
    right: 0;
    top: 5.125em;
    width: 90vw;
    max-width: 500px;
    min-height: 400px;
    padding: 0 3em;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    border-bottom-left-radius: 30px;
    z-index: 999;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out, opacity 0.3s ease-out, visibility 0s linear 0.5s;
}

.menu-toggle-content.active {
    max-height: 1000px;
    padding: 3em;
    opacity: 1;
    visibility: visible;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out, opacity 0.3s ease-out, visibility 0s;
}

.menu-toggle-content li {
    opacity: 0;
    transform: translateX(10px);
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

.menu-toggle-content.active li {
    opacity: 1;
    transform: translateX(0);
}

.menu-toggle-content.active li:nth-child(1) {
    transition-delay: 0.1s;
}

.menu-toggle-content.active li:nth-child(2) {
    transition-delay: 0.2s;
}

.menu-toggle-content.active li:nth-child(3) {
    transition-delay: 0.3s;
}

.menu-toggle-content.active li:nth-child(4) {
    transition-delay: 0.4s;
}

/* Animation de fermeture en stagger (ordre inverse) */
.menu-toggle-content:not(.active) button {
    transition-delay: 0s;
}

.menu-toggle-content:not(.active) li:nth-child(4) {
    transition-delay: 0.05s;
}

.menu-toggle-content:not(.active) li:nth-child(3) {
    transition-delay: 0.1s;
}

.menu-toggle-content:not(.active) li:nth-child(2) {
    transition-delay: 0.15s;
}

.menu-toggle-content:not(.active) li:nth-child(1) {
    transition-delay: 0.2s;
}

.menu-toggle-content button {
    opacity: 0;
    transform: translateX(10px);
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
    transition-delay: 0.5s;
}

.menu-toggle-content.active button {
    opacity: 1;
    transform: translateX(0);
}

.navbar_list_mobile {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.875em;
}

.menu-toggle-content a {
    text-decoration: none;
    color: #FFC000;
    font-family: "DM Sans", system-ui;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.875em;
    line-height: 140%;
    letter-spacing: 0em;
}

/* Dans le menu mobile, le bouton "Réserver" utilise un fond jaune (SVG) */
.menu-toggle-content a.btn {
    color: #000;
}

/* Appliquer aussi l'animation d'apparition au bouton .btn (pas seulement aux <button>) */
.menu-toggle-content .btn {
    opacity: 0;
    transform: translateX(10px);
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
    transition-delay: 0.5s;
}

.menu-toggle-content.active .btn {
    opacity: 1;
    transform: translateX(0);
}

.navbar_wrapper {
    width: 100%;
    height: 5.125em;
    padding: 0 1.875em;
}

.navbar {
    position: relative;
    top: 0;
    display: flex;
    flex-direction: row;
    height: 100%;
    width: 100%;
    align-items: center;
    max-width: 1440px;
    margin: 0 auto;
}

.navbar_list {
    display: flex;
    flex-direction: row;
    list-style: none;
    gap: 1.875em;
    margin-left : auto;
    margin-right: 1.875em;
    text-align: center;
}

.navbar_list a {
    text-decoration: none;
    color: #FFC000;
    font-family: "DM Sans", system-ui;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.875em;
    line-height: 140%;
    letter-spacing: 0em;
}

/* Sélecteur de langue amélioré */
.lang-switch {
    position: relative;
    margin-left: 1.875em;
}

/* Version desktop avec dropdown */
.lang-switch-desktop {
    display: block;
}

.lang-switch-button {
    display: flex;
    align-items: center;
    gap: 0.375em;
    background: transparent;
    border: none;
    color: #FFC000;
    font-family: "DM Sans", system-ui;
    font-weight: 600;
    font-size: 0.75em;
    line-height: 1;
    text-transform: uppercase;
    padding: 0.375em 0.5em;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.3s ease-out;
    position: relative;
    z-index: 10;
    width: 50px;
}

.lang-switch-button:hover {
    opacity: 0.8;
    background-color: rgba(255, 192, 0, 0.1);
}

.lang-switch-button:active {
    opacity: 0.6;
}

.lang-switch-button[aria-expanded="true"] {
    background-color: #FFC000;
    color: #000;
}

.lang-switch-button[aria-expanded="true"] .lang-switch-arrow {
    transform: rotate(180deg);
}

.lang-switch-button-text {
    display: flex;
    align-items: center;
    gap: 0.5em;
}

.lang-switch-arrow {
    transition: transform 0.3s ease-out;
    color: currentColor;
    width: 8px;
    height: 5px;
}

.lang-switch-dropdown {
    position: absolute;
    top: calc(100% + 0.375em);
    right: 0;
    background-color: #000;
    border: 1px solid rgba(255, 192, 0, 0.3);
    border-radius: 3px;
    min-width: 50px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease-out;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.lang-switch-desktop.is-open .lang-switch-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-switch-dropdown-item {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #FFC000;
    font-family: "DM Sans", system-ui;
    font-weight: 500;
    font-size: 0.75em;
    line-height: 1;
    text-transform: uppercase;
    padding: 0.5em 0.75em;
    transition: all 0.2s ease-out;
    border-bottom: 1px solid rgba(255, 192, 0, 0.1);
}

.lang-switch-dropdown-item:last-child {
    border-bottom: none;
}

.lang-switch-dropdown-item:hover {
    background-color: rgba(255, 192, 0, 0.1);
    color: #FFC000;
}

.lang-switch-dropdown-item.is-active {
    color: #000;
    background-color: #FFC000;
    font-weight: 600;
}

.lang-switch-dropdown-item.is-active:hover {
    background-color: #F8AE31;
}

.lang-switch-code {
    font-weight: 700;
    letter-spacing: 0.05em;
}

/* Cacher le nom complet dans le dropdown desktop, garder seulement l'acronyme */
.lang-switch-desktop .lang-switch-dropdown-item .lang-switch-name {
    display: none;
}

.lang-switch-name {
    font-weight: 400;
    letter-spacing: 0;
    font-size: 0.9em;
    text-transform: none;
}

/* Version mobile du sélecteur de langue */
.lang-switch-mobile {
    display: flex;
    align-items: center;
    gap: 0.5em;
    margin-top: 2em;
    padding-top: 2em;
    border-top: 1px solid rgba(255, 192, 0, 0.2);
    justify-content: center;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
    transition-delay: 0.6s;
}

.menu-toggle-content.active .lang-switch-mobile {
    opacity: 1;
    transform: translateY(0);
}

.lang-switch-mobile .lang-switch-link {
    display: flex;
    align-items: center;
    gap: 0.5em;
    text-decoration: none;
    color: #FFC000;
    font-family: "DM Sans", system-ui;
    font-weight: 500;
    font-size: 0.9375em;
    line-height: 140%;
    text-transform: uppercase;
    padding: 0.625em 1em;
    border-radius: 4px;
    transition: all 0.3s ease-out;
}

.lang-switch-mobile .lang-switch-link:hover {
    opacity: 0.8;
    background-color: rgba(255, 192, 0, 0.1);
}

.lang-switch-mobile .lang-switch-link.is-active {
    color: #000;
    background-color: #FFC000;
    font-weight: 600;
}

.lang-switch-mobile .lang-switch-link.is-active:hover {
    background-color: #F8AE31;
    opacity: 1;
}

.lang-switch-mobile .lang-switch-separator {
    color: rgba(255, 192, 0, 0.4);
    font-weight: 300;
    user-select: none;
}

.lang-switch-mobile .lang-switch-name {
    display: inline; /* Afficher le nom complet sur mobile */
}

/* Responsive : ajustements pour petits écrans */
@media (max-width: 991px) {
    .lang-switch-desktop {
        margin-left: 0.5em;
    }
    
    .lang-switch-button {
        font-size: 0.8125em;
        padding: 0.375em 0.5em;
    }
}

@media (max-width: 768px) {
    .lang-switch-desktop {
        display: none; /* Cacher sur mobile, afficher dans le menu */
    }
}

button {
    background-image: url('../images/reservation.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: transparent;
    border: none;
    padding: 0;
    margin: 0;
    font-family: "DM Sans", system-ui;
    color: #000;
    outline: none;
    cursor: pointer;
    width: 12.5em;
    height: 3.125em;
    -webkit-appearance: none;
    appearance: none;
    box-shadow: none;
    font-family: "DM Sans", system-ui;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 0.875em;
    letter-spacing: 0em;
}

.btn {
    background-image: url('../images/reservation.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: transparent;
    border: none;
    padding: 0;
    margin: 0;
    font-family: "DM Sans", system-ui;
    color: #000;
    outline: none;
    cursor: pointer;
    width: 12.5em;
    height: 3.125em;
    -webkit-appearance: none;
    appearance: none;
    box-shadow: none;
    font-family: "DM Sans", system-ui;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 0.875em;
    letter-spacing: 0em;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn.button_discover {
    background-image: url('../images/decouvrir.svg');
    width: 13.9375em;
    height: 3.125em;
}

.btn.button_infos {
    background-image: url('../images/infos.svg');
    width: 11.25em;
    height: 3.125em;
}

.btn.button_send {
    background-image: url('../images/reservation-black.svg');
    width: 11.0625em;
    height: 3.125em;
    color:#F8AE31
}


section.hero {
    height: 100svh;
    margin-top: -5.125em;
    padding-top: 5.125em;
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

section.hero_content_paragraph_section {
    padding-top: 2em;
    padding-bottom: 8em;
}

.hero_content {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: space-between;
    align-items:flex-end;
    gap: 1.875em;
    height: 100%;
    min-height: 0;
    overflow: hidden;
}

.hero_media {
    position: relative;
    flex: 1 1 0;
    width: 100%;
    min-height: 0;
    overflow: hidden;
}

.hero_content_wrapper {
    display: flex;
    flex-direction: column;
    gap: 4em;
    width: 100%;
    max-width:1440px;
    margin: 0 auto;
    padding: 0 4em;
    flex-shrink: 0;
    flex-grow: 0;
}

.hero_media .hero_image,
.hero_media .hero_video,
.hero_media .hero_fallback {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero_media .hero_image,
.hero_media .hero_video {
    object-fit: cover;
    object-position: center;
}

.hero_media .hero_fallback {
    display: block;
}

/* <picture> ne supporte pas object-fit: il faut le mettre sur l'img */
.hero_media .hero_fallback img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}


.vsc-controller {
    display: none;
}

/* Animation CSS pure pour hero--content (remplace GSAP pour meilleures performances) */
.hero--content {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: opacity, transform;
}

/* Animation déclenchée au chargement de la page */
body.hero-loaded .hero--content {
    opacity: 1;
    transform: translateY(0);
    transition-delay: calc(0.2s + var(--hero-index, 0) * 0.08s);
}

.hero_content_title {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: left;
    gap: 9em;
}

.hero_content_title_date {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 1em;
}

.p-large_green {
    color: #BBFF00;
}

.hero_content_date_text {
    text-align: right;
}

.hero_content_paragraph {
    width: auto;
    margin-left: 22em;

}

section.activity_section {
    padding: 0 0 0 0;
}

.activity_wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 4em;
}

.activity_wrapper.hero {
    height: 100%;
    justify-content: end;
    padding-bottom: 8em;


}

.activity_card_wrapper {
    display: flex;
    flex-direction: row;
    width: 100%;
    overflow: hidden;
}

.activity_swiper {
    width: 100%;
    overflow: hidden;
    pointer-events: none;
    border-radius: 1em;
}

.activity_swiper .swiper-wrapper {
    display: flex;
    align-items: stretch;
    transition-timing-function: linear !important;
}

.activity_swiper .swiper-slide {
    height: auto;
    display: flex;
    width: auto;
}

.activity_swiper .activity_card {
    width: 100%;
    min-width: 250px;
}

.activity_card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.activity_card_title {
    font-size: 1.125em;
    font-weight: 900;
}

.activity_mask {
    height: 25em;
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    /* pour Safari (préfixes) */
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    overflow: hidden;
    width: 25em;
  }
  .activity_mask_1 {
    mask-image: url("../images/mask-1.svg");
  }
  .activity_mask_2 {
    mask-image: url("../images/mask-2.svg");
  }
  .activity_mask_3 {
    mask-image: url("../images/mask-3.svg");
  }
  .activity_mask_4 {
    mask-image: url("../images/mask-4.svg");
  }

  .activity_mask img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }


 .activity_title {
    text-align: center;
 }

.activity_button_wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

section:has(.slider_wrapper) {
    overflow: hidden;
}

.slider_wrapper {
    width: 100%;
    max-width: 1440px;
    padding: 0;
    margin: 0 auto;
    position: relative;
}

.slider_wrapper .swiper {
    width: 100%;
    padding-bottom: 3em;
    border-radius: 1em;
    overflow: hidden;
}

.slider_wrapper .swiper-wrapper {
    width: 100%;
}

.slider_wrapper .swiper-slide {
    width: 100% !important;
    text-align: center;
    font-size: 1.125em;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 34em;
}

.slider_wrapper .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1em;
}

.slider_wrapper .swiper-pagination-bullet {
    position: relative;
    background-color: #FFC000;
}

.slider_wrapper .swiper-button-next,
.slider_wrapper .swiper-button-prev {
    color: #FFC000;
}

.review_wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 4em;
}

.review_slider_wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2em;
    position: relative;
}

.review_swiper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    border-radius: 1em;
    overflow: hidden;
}

.review_swiper .swiper-wrapper {
    align-items: center;
}

.review_swiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
}

.review_card {
    background-image: url('../images/review-card.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    aspect-ratio: 304 / 380;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    padding: 2em;

}

.review_card_image {
    width: 3em;
    object-fit: cover;
    object-position: center;
}

.review_card_content_text {
    font-family: "Rubik Dirt", system-ui;
    font-size: 1.125em;
    color: #000;
    line-height: 1.2;
}

.review-button-prev,
.review-button-next {
    position: relative;
    width: 3em !important;
    height: 3em !important;
    margin: 0 0.5em;
    top: auto;
    left: auto;
    right: auto;
    transform: none;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;

}

.review-button-prev:focus,
.review-button-next:focus,
.review-button-prev:active,
.review-button-next:active {
    outline: none;
    border: none;
}

.review-button-prev-image,
.review-button-next-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    margin: 0 auto;
    object-fit: cover;
    object-position: center;
}

.review-button-prev::after,
.review-button-next::after {
    font-size: 1.2em;
    font-weight: bold;
    color: #000;
}

.review-button-prev.swiper-button-disabled,
.review-button-next.swiper-button-disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.review_slider_wrapper .swiper-button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2em;
    width: 10em;
    gap: 2em;
    position: relative;
}

.cta_button_wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2em;
}

footer {
    background-color: #F8AE31;
}

/* Corriger l'espace supplémentaire sous le footer sur la homepage */
body {
    min-height: 100vh;
}

html {
    min-height: auto;
}

main {
    min-height: auto;
}

.footer_wrapper {
    display: grid;
    column-gap: 8em;
    row-gap: 2em;

    color: #000;
}


.footer_wrapper h2 {
    grid-column: 2;
}

.footer_wrapper > p {
    grid-column: 2;
}

.footer_wrapper .contact_info_wrapper {
    grid-column: 1;
    grid-row: 2 / 4;
}

.footer_wrapper .footer-form__wrapper {
    grid-column: 2;
    grid-row: 3/5;
}

.footer_wrapper .footer-legal {
    grid-column: 1;
    grid-row: 4;
    font-weight: 300;
    font-family: "DM Sans", system-ui;
    font-size: 0.875em;
}

.footer_section {
    margin-top: 4em;
    padding-top: 4em;
    padding-bottom: 2em;
}


.contact_info_wrapper {
    display: flex;
    flex-direction: column;
    gap: 1em;
    font-family: "Rubik Dirt", system-ui;
    font-size: 1.5em;
    text-transform: uppercase;
    text-align: right;
}

.contact_info_text {
    font-size: inherit;
    font-family: inherit;
}

.footer_address {
    display: block;
    margin-top: 0.8em;
}


.footer-form__wrapper {
    display: flex;
    flex-direction: column;
    gap: 1em;
}

input { 
    background-color: rgba(217, 217, 217, 0.5);
    border-radius: 1em;
    height: 3.125em;
    border: none;
    padding: 0 1em;
    font-family: "DM Sans", system-ui;
    font-size: 1em;
}

input:focus {
    outline: none;
    background-color: rgba(217, 217, 217, 0.6);
    box-shadow: 0 0 0 2px #0000002c;
}




.real-select {
    display: none;
  }
  
  .select-wrapper {
    position: relative;
    width: 100%;
    cursor: pointer;
 
  }
  
  .select-display {
    cursor: pointer;
    background-color: rgba(217, 217, 217, 0.5);
    border-radius: 1em;
    height: 3.125em;
    border: none;
    padding: 0 1em;
    color: rgba(0, 0, 0, 0.46);
    margin: 0;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .select-display:focus {
    outline: none;
    background-color: rgba(217, 217, 217, 0.6);
    box-shadow: 0 0 0 2px #0000002c;
}
  
  .select-options {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #e9c485;
    border: none;
    border-radius: 1em;
    color: rgba(0, 0, 0, 0.5);
    margin-top: 6px;
    display: none;
    overflow: hidden;
  }
  
  .select-options.open {
    display: block;
  }
  
  .select-options li {
    padding: 12px 16px;
  }
  
  .select-options li:hover {
    background: #f0d5a5;
  }





 
textarea { 
    background-color: rgba(217, 217, 217, 0.5);
    border-radius: 1em;
    min-height: 10em;
    border: none;
    padding: 1em;
    font-family: "DM Sans", system-ui;
    font-size: 1em;
}

textarea:focus {
    outline: none;
    background-color: rgba(217, 217, 217, 0.6);
    box-shadow: 0 0 0 2px #0000002c;
}
.footer-form__wrapper button {
    align-self: flex-end;
}

/* Messages de formulaire */
.form-message {
    padding: 1em;
    border-radius: 1em;
    font-family: "DM Sans", system-ui;
    font-size: 1em;
    margin-bottom: 1em;
    animation: slideIn 0.3s ease-out;
}

.form-message--success {
    background-color: rgba(76, 175, 80, 0.2);
    color: #2e7d32;
    border: 1px solid rgba(76, 175, 80, 0.5);
}

.form-message--error {
    background-color: rgba(244, 67, 54, 0.2);
    color: #c62828;
    border: 1px solid rgba(244, 67, 54, 0.5);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer-legal {
    display: flex;
    flex-direction: column;
    text-align: right;
}


/* Activités */

.activity-list__wrapper {
    display: flex;
    flex-direction: column;
    gap: 15em;
}

.activity_card_secondary {
    display: flex;
    flex-direction: row;
    gap: 1em;
    width: 100%;
    justify-content: start;
}

.activity_card_secondary.is-right {
    flex-direction: row-reverse;
}

.activity_card_secondary_content {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1em;
    padding: 2em;
}

.activity_mask_secondary {
    width: 100%;
    height: auto;
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    /* pour Safari (préfixes) */
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    overflow: hidden;
    position: relative;
}

.activity_mask_secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    aspect-ratio: 16/9;
}

.activity_mask_secondary_1 {
    mask-image: url("../images/activity-1.svg");
    -webkit-mask-image: url("../images/activity-1.svg");
}

.activity_mask_secondary_2 {
    mask-image: url("../images/activity-2.svg");
    -webkit-mask-image: url("../images/activity-2.svg");
}

.activity_mask_secondary_3 {
    mask-image: url("../images/activity-3.svg");
    -webkit-mask-image: url("../images/activity-3.svg");
}

.activity_mask_secondary_4 {
    mask-image: url("../images/activity-4.svg");
    -webkit-mask-image: url("../images/activity-4.svg");
}

.activity_card_secondary_text {
    font-size: 1.5em;
}

.activity_card_secondary_text p {
    font-size: 1.5rem;
    margin: 0 0 1em;
}

.activity_card_secondary_text p:last-child {
    margin-bottom: 0;
}

.list {
    display: flex;
    flex-direction: column;
    gap: 0;
    font-family: "Rubik Dirt", system-ui;
    color: #ffffffdd;
    font-size: 1.3125em;
    padding-left: 1em;
    list-style: none;
}

.list li::before {
    content: "•";
    color: #ffffffdd;
    margin-right: 0.5em;
    font-size: 1.3125em;
    vertical-align: middle;
    line-height: 1;
    display: inline-block;
}

/* Contenu riche (Markdown rendu via ->kt()) */
.richtext p {
    margin: 0 0 1em;
}
.richtext ul,
.richtext ol {
    /* Même style que les anciennes listes (.list) */
    list-style: none;
    margin: 0 0 1em;
    padding-left: 1em;
    font-family: "Rubik Dirt", system-ui;
    color: #ffffffdd;
    font-size: 1.3125em;
}
.richtext li {
    margin: 0.25em 0;
}
/* Puce personnalisée, identique à .list li::before */
.richtext ul li::before,
.richtext ol li::before {
    content: "•";
    color: #ffffffdd;
    margin-right: 0.5em;
    font-size: 1.3125em;
    vertical-align: middle;
    line-height: 1;
    display: inline-block;
}

/* =======================
   TICKETS MODAL (Infomaniak)
======================= */
#ticketModal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .7);
    display: none;
    z-index: 9999;
    padding: 16px;
    box-sizing: border-box;
}

#ticketModal.is-open {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ticketModal__content {
    position: relative;
    width: min(900px, calc(100vw - 32px));
    height: min(700px, calc(100dvh - 32px));
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
}

.ticketModal__body {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    padding-top: 56px; /* réserve l’espace pour le bouton fermer */
    box-sizing: border-box;
}

.ticketModal__body iframe {
    width: 100%;
    height: 100%;
    min-height: 100%;
    border: 0;
    flex: 1 1 auto;
}

#closeTickets {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 24px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    cursor: pointer;
    z-index: 2;
    color: #111;
    pointer-events: auto;
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 999px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.18);
}

/* Infos */

.infos_wrapper {
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 100%;
    padding-right: 4em;
    margin: 0 auto;
    align-items: center;
    gap: 4em;
}

.infos_image-hero {
    max-width: 55%;
    object-fit: contain;
    object-position: center;
}

.infos_content {
    width: 100%;
    padding-top: 8em;
    display: flex;
    flex-direction: column;
    gap: 2em;
    max-width: 45%;
    margin-left: auto;
}

/* FAQ */
.faq_wrapper {
    display: flex;
    flex-direction: column;
    gap: 2em;
    width: 100%;
}

.faq_card {
    width: 100%;
}

.faq_card_content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    width: 100%;
}

.faq_card_content_button {
    cursor: pointer;
    user-select: none;
    font-family: "Rubik Dirt", system-ui;
    font-size: 2em;
    line-height: 1;
    transition: transform 0.5s ease;
}

.faq_card_content_answer {
    height: 0;
    overflow: hidden;
    transition: height 0.2s ease-out;
}

.faq_card_content_answer.active {
    transition: height 0.2s ease-out;
}

.faq_card_content_button.active {
    transform:rotateZ(180deg);
}




@media screen and (min-width:1440px) {
    body {font-size: 16px;}
   }


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

    body {
        font-size: 16px;
    }
    section {
        padding: 4em 0;
    }

    section.hero {
        padding-bottom: 2em;
    }
    section.hero_content_paragraph_section {
        padding-top: 0em;
        padding-bottom: 4em;
    }

    .c {
        padding: 0 2em;
    }

    .w-60 {
        max-width: 100%;
    }

    .menu-toggle {
        display: block;
        margin-left: auto;
    }

    .navbar_list {
        display: none;
    }

    .navbar button {
        display: none;
    }

    /* Sur mobile, on enlève le bouton "Réserver" de la barre du haut */
    .btn-reserve--desktop {
        display: none;
    }

    .hero_content_wrapper {
        padding: 0 2em;
    }

    .hero_content_title {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 2em;
    }

    .hero_content_title_date {
        align-items: flex-start;
        justify-content: center;
        gap: 1em;
    }

    .hero_content_date_text {
        text-align: left;
    }

    .hero_content_paragraph {
        margin-left: 0;
    }

    .review_card {
        max-width: 80%;
        padding: 1em;
    }

    .activity_wrapper.hero {
        padding-bottom: 4em;
    }
    .activity_card_secondary {
        width: 60%;
        flex-direction: column;
    }

    .activity_card_secondary.is-right {
        flex-direction: column;
    }

    .infos_wrapper {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: 1fr auto;
        padding: 0 2em;
    }

    .infos_image-hero {
        max-width: 100%;
        width: 100%;
        object-fit: cover;
        object-position: center;
        grid-row: 1;
        height: 100%;
        min-height: 0;
    }

    .infos_content {
        padding-top: 0;
        grid-row: 2;
        gap: 1em;
        width: 100%;
        max-width: 100%;
        margin-left: 0;
    }

    .flexbox-h {
        flex-direction: column;
        gap: 8em;
    }

    .hero {
        padding-bottom: 4em;
    }

    .footer_wrapper {
        column-gap: 4em;
    }

    .p-large {
        text-align: left;
    }

   }

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

    h1 {
        font-size: 34px;
    }
    
    .h1 {
        font-size: 34px;
    }
    
    
    h2 {
        font-size: 28px;
    }   
    
    .h2 {
        font-size: 28px;
    }
    
    h3 {
        font-size: 24px;
    }
    
    .h3 {
        font-size: 24px;
    }
    
    h4 {
        font-size: 20px;
    }
    
    .h4 {
        font-size: 20px;
    }
    
    h5 {
        font-size: 18px;
    }
    
    p {
        font-size: 18px;
    }
    
    .logo-img {
        max-width: 180px;
    }
    
    .c {
        padding: 0 1em;
    }

    .hero_content_wrapper {
        padding: 0 1em;
    }

    .activity_mask {
        width: 100%;
        max-width: 300px;
        height: 15em;
    }

    .review_card {
        max-width: 325px;
    }

    .activity_card_secondary {
        width: 100%;
    }

    .footer_wrapper {
        grid-template-columns: 1fr; /* Une seule colonne */
    }

    .footer_wrapper h2 {
        grid-column: 1; /* Première colonne */
        grid-row: 1; /* Première ligne */
    }

    .footer_wrapper > p {
        grid-column: 1; /* Première colonne */
        grid-row: 2; /* Deuxième ligne */
    }

    .footer_wrapper .footer-form__wrapper {
        grid-column: 1; /* Première colonne */
        grid-row: 3; /* Quatrième ligne */
    }

    .footer_wrapper .contact_info_wrapper {
        grid-column: 1; /* Première colonne */
        grid-row: 4; /* Troisième ligne */
        text-align: left;
    }

  
    .footer_wrapper .footer-legal {
        grid-column: 1; /* Première colonne */
        grid-row: 5;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 1em;
    }

    .footer-legal a {
        text-align: center;
    }
}

/* Section erreur 404 */
.error-section {
    padding: 8em 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.error-content {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 2em;
    text-align: center;
}

.error-code {
    margin-bottom: 2em;
}

.error-code h1 {
    font-size: 8em;
    font-weight: 900;
    line-height: 1;
    color: #d4a574;
    margin: 0;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.1);
}

.error-content h2 {
    font-size: 2.5em;
    font-weight: 900;
    margin-bottom: 1.5em;
    color: #1a1a1a;
}

.error-content .richtext {
    font-size: 1.25em;
    line-height: 1.8;
    margin-bottom: 3em;
    color: #4a4a4a;
}

.error-content .richtext p {
    margin-bottom: 1em;
}

.error-content .richtext a {
    color: #d4a574;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.error-content .richtext a:hover {
    color: #b8905a;
}

.error-actions {
    display: flex;
    gap: 1.5em;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 3em;
}

.error-actions .button {
    display: inline-block;
    padding: 1em 2.5em;
    background-color: #1a1a1a;
    color: #fff;
    text-decoration: none;
    border-radius: 0.5em;
    font-weight: 700;
    font-size: 1.125em;
    transition: all 0.3s ease;
    border: 2px solid #1a1a1a;
}

.error-actions .button:hover {
    background-color: #d4a574;
    border-color: #d4a574;
    color: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 165, 116, 0.3);
}

.error-actions .button-secondary {
    background-color: transparent;
    color: #1a1a1a;
    border-color: #1a1a1a;
}

.error-actions .button-secondary:hover {
    background-color: #1a1a1a;
    color: #fff;
    border-color: #1a1a1a;
}

@media (max-width: 768px) {
    .error-section {
        padding: 4em 0;
    }

    .error-content {
        padding: 0 1em;
    }

    .error-code h1 {
        font-size: 5em;
    }

    .error-content h2 {
        font-size: 2em;
        margin-bottom: 1em;
    }

    .error-content .richtext {
        font-size: 1.125em;
        margin-bottom: 2em;
    }

    .error-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .error-actions .button {
        width: 100%;
        text-align: center;
    }

    .slider_wrapper .swiper-slide {
        height: 40vh;
    }
}

/* Section légale */
.legal-section {
    padding: 8em 0;
    min-height: 60vh;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2em;
}

.legal-content h1 {
    font-size: 2.5em;
    font-weight: 900;
    margin-bottom: 2em;
    text-align: center;
}

.legal-content .richtext {
    line-height: 1.8;
    font-size: 1.125em;
}

.legal-content .richtext h2 {
    font-size: 1.75em;
    font-weight: 900;
    margin-top: 2em;
    margin-bottom: 1em;
}

.legal-content .richtext h3 {
    font-size: 1.5em;
    font-weight: 700;
    margin-top: 1.5em;
    margin-bottom: 0.75em;
}

.legal-content .richtext p {
    margin-bottom: 1.5em;
}

.legal-content .richtext ul,
.legal-content .richtext ol {
    margin: 1.5em 0;
    padding-left: 2em;
}

.legal-content .richtext li {
    margin-bottom: 0.75em;
}

.legal-content .richtext a {
    color: inherit;
    text-decoration: underline;
}

.legal-content .richtext a:hover {
    opacity: 0.7;
}

@media (max-width: 768px) {
    .legal-section {
        padding: 4em 0;
    }

    .legal-content {
        padding: 0 1em;
    }

    .legal-content h1 {
        font-size: 2em;
        margin-bottom: 1.5em;
    }

    .legal-content .richtext {
        font-size: 1em;
    }

    .legal-content .richtext h2 {
        font-size: 1.5em;
    }

    .legal-content .richtext h3 {
        font-size: 1.25em;
    }
}