

/* =========================
   RESET & BASE
   ========================= */

/* Inclut padding et border dans les dimensions */
* {
  box-sizing: border-box; /* Applique à tous les éléments */
}

/* Empêche le scroll horizontal global */
html{
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Styles globaux du body */
body{
  overflow-x: hidden;
  padding: 0;
  margin: 0;
  width: 100%;
  height:100%;
  color: #40534d;
  background-color: #d3c2b5;

  /* Typographie principale */
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: normal;

  /* Taille de police responsive */
  font-size: clamp(12px, 1.4vw, 30px);
}

.sr-only{
   position: absolute;
   width: 1px;
   height: 1px;
   padding: 0;
   margin: -1px;
   overflow: hidden;
   clip: rect(0, 0, 0, 0);
   white-space: nowrap;
   border: 0;
}

/* =========================
   LOGO
   ========================= */

/* Logo circulaire avec image de fond */
#logo{
    position: relative;
    width: 5.5%;
    aspect-ratio: 1;
    border-radius: 50%;
    z-index: 1;

    /* Image du logo */
    background-image: url(/static/images/tourisme/logo/LOGO.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

    /* Taille minimale */
    min-width: 60px;
    min-height: 60px;
}

/* =========================
   NAVIGATION
   ========================= */

/* Barre de navigation principale */
#nav{
    position: relative;
    width: 97%;
    margin-left: 1.5%;
    height:8%;
    padding-top: 2%;
    display: flex;
}
#menu{
    display: none;
}
/* Conteneur des drapeaux */
#container_drapeau{
    display: flex;
    justify-content: center;
    gap:2%;
    position: relative;
    z-index: 9999;
}

/* Drapeaux */
.drap{
    width: 1.5vw;
    height: auto;
    min-width: 20px;
}

/* Drapeau FR légèrement plus petit */
#fr_drap{
    width: 1.4vw;
    min-width: 20px;
}

/* Titre navigation */
#titre_nav{
    width: 28%;
    letter-spacing: 3px;
    display: flex;
    justify-content: start;
    align-items: center;
}

/* Élément de navigation cliquable */
.nav_el{
    font-size: clamp(14px, 1.2vw, 30px);
    cursor: pointer;
}

/* Conteneur principal des liens */
#navigation{
    width: 72%;
    display: flex;
    gap: 2%;
    justify-content: end;
    align-items: center;
    /* Désactivation effets tactiles */
    outline: none;
    -webkit-tap-highlight-color: transparent;
}


/* */
#menu_resp{
    width: 100%;
    height:100%;
    padding-top: 10%;
    position: fixed;
    transition: transform 0.5s ease;
    transform: translateX(-100%);
    top:0;
    left:0;
    background-color: #5e706b;
    z-index: 999;
}
.appear_menu{
    transform: translateX(0%)!important;
}
.container_menu_resp{
    width: 80%;
    margin-left: 10%;
    text-align: center;
    height:20%;
}
#bottom_nav{
    height:40%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
#bottom_nav_resp{
    width: 40%;
    margin-left: 30%;
    height:40%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}



/* Groupement icône + texte */
#navigation div{
    display: flex;
    gap:5px;
    justify-content: center;
}

/* =========================
   BARRE SÉJOUR / DATE
   ========================= */

/* Bloc de sélection du séjour */
#sejour{
    position: absolute;
    width: 40%;
    height:6%;
    background-color: white;
    top:80%;
    left:5%;
    padding-left: 1%;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap:2%;
}
.sejour_esp{
    width: 45%!important;
}
/* Version fixe lors du scroll */
#sejour.is-fixed {
  position: fixed;
  top: 20px;        /* Position verticale une fois fixé */
  left: 5%;
  z-index: 1000;
}

/* Champ date */
.date{
    border: none;
    width: 30%;
    border-radius: 20px;
    background-color: rgba(255, 166, 0, 0.267);

    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;

    padding: 0.5%;
    cursor: pointer;
}
/* =========================
   FLATPICKR (CALENDRIER)
   ========================= */

/* Conteneur principal du calendrier */
.flatpickr-calendar {
  border-radius: 20px!important;
  box-shadow: 0 20px 40px rgba(0,0,0,.15);
  font-family: Poppins, sans-serif;
}

/* Jours sélectionnés */
.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
  background: #40534d;
  border-radius: 50%;
  color: #fff;
}

/* Effet hover sur les jours */
.flatpickr-day:hover {
  background: #657a73;
  color: #fff;
}

/* En-tête mois */
.flatpickr-months {
  background: #40534d;
  color: white;
  border-radius: 20px 20px 0 0;
  font-size: 15px;
}

/* Texte mois + année */
.flatpickr-monthDropdown-months, 
.cur-year{
    color:white!important;
}

/* Flèches navigation */
.flatpickr-next-month,
.flatpickr-prev-month,
.arrowUp,
.arrowDown{
    fill:white!important;
}

/* Flèche année vers le haut */
.flatpickr-current-month .numInputWrapper span.arrowUp:after{
    border-bottom-color: rgb(246, 244, 244)!important;
}

/* Flèche année vers le bas */
.flatpickr-current-month .numInputWrapper span.arrowDown:after{
    border-top-color:  rgb(246, 244, 244)!important;
}

/* Mois courant */
.flatpickr-current-month,
.flatpickr-current-month span.cur-month {
  font-family: "Poppins", sans-serif !important;
  font-weight: 500;
  font-size: 15px!important;
}

/* Champ année (si visible) */
.flatpickr-current-month input.cur-year {
  font-family: "Poppins", sans-serif !important;
}


.is_margin{
    margin-top: 2%;
}

/* =========================
   BOUTON / INPUT
   ========================= */

/* Bouton principal (ex: réservation) */
.in_input{
    width: 20%;
    height:80%;
    margin-right: 0.6%;
    border-radius: 20px;
    margin-left: auto;
    border: none;
    background-color: rgb(11, 57, 14);
    cursor: pointer;
    color:white;
}

/* =========================
   RÉSEAUX SOCIAUX (MAST)
   ========================= */

/* Conteneur icônes réseaux */
#reso{
    width: 20%;
    height:3.4%;
    display: flex;
    position: absolute;
    bottom:5%;
    right:4%;
    justify-content: end;
    gap:4%;
}

/* Icône réseau */
.icone_reso{
    width: auto;
    height:100%;
    cursor: pointer;
    transition: transform 0.5s ease;
}

/* Effet hover icône */
.icone_reso:hover{
    transform: scale(1.1);
}

/* =========================
   TITRE MASTHEAD
   ========================= */

/* Conteneur titre principal */
#container_titre{
    position: relative;
    margin-top: 10%;
    margin-left: 5%;
    width: fit-content;
    z-index: 1;
    padding: 5px;
    color: aliceblue;
}

/* Titre principal */
#titre_mast1{
    letter-spacing: 2px;
}

/* =========================
   IMAGES
   ========================= */

/* Image en cover */
.are_cover{
    width: 100%;
    height:100%;
    object-fit: cover;
}

/* =========================
   FOOTER – ESPACEMENT
   ========================= */

/* Séparateur avant footer */
.sep_footer{
    height: 25vh;
}

/* Footer principal */
#footer{
    width: 100%;
    height:80vh;
    min-height: 500px;
    position: relative;
    background-color: #40534d;
}

/* Réseaux sociaux footer */
#section_reseau{
    width: 100%;
    height:15%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap:3%;
}

/* Largeur générique */
.div_width{
    width: 100%;
    text-align: center;
}

/* Adresse */
#adresse{
    margin-top: 1%;
}

/* =========================
   STRUCTURE FOOTER
   ========================= */

/* Conteneur global */
#container_footer{
    width: 100%;
    height:100%;
    display: flex;
}

/* Colonnes footer */
.col_footer{
    width: 33.33%;
    height:100%;
}

/* Lignes footer */
.row_footer{
    width: 100%;
    height:33.33%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

/* Champ input footer */
#input{
    border: none;
    background-color: white;
    padding: 1.5% 1.5% 1% 1.5%;
    border-radius: 15px;
    width: 60%;
    user-select: none;
    height:4.5vh;
}

/* Suppression focus par défaut */
input:focus,
textarea:focus {
  outline: none;
  border: none;
  box-shadow: none;
}

/* Sécurité focus input */
input:focus {
    outline: none;
    border: none;
}

/* Focus personnalisé */
input:focus,
textarea:focus {
  outline: none;
  border: 1px solid #40534d;
}

/* Conteneur inputs */
#container_input{
    display: flex;
    gap:2%;
    width: 100%;
    justify-content: center;
    margin-top: 2%;
    align-items: center;
}

/* Texte footer */
.text_footer{
    width: 80%;
    height:auto;
}

/* Image footer */
#img1{
    width: 40%;
    height:auto;
}

/* =========================
   RESET TEXTE
   ========================= */

/* Suppression marges titres & paragraphes */
h1, h2, h3, p{
    margin: 0;
    padding: 0;
}

/* Lien encadré */
.a_cadre{
    border: 1px solid #dc4f4f;
    border-radius: 10px;
    padding: 0.5% 1% 0.5% 1%;
    color: #dc4f4f;
    background-color: rgb(255, 223, 160);
}

/* =========================
   MASTHEAD
   ========================= */

/* Section masthead */
#masthead{
    position: relative;
    height:100vh;
    width: 100%;
    margin: 0;
    padding: 0;
    min-height: 500px;
}
#titre_in_nav_rep{
    display: none;
}
/* Variante fond clair */
.back_esp{
    background-color: #eacdb5!important;
    font-family: nunito;
}

/* Vidéo masthead */
#video_mast, #img_mast{
    position: absolute;
    top:0;
    left:0;
    padding: 0;
    margin: 0;
    width: 98%;
    height:88%;
    object-fit: cover;
    left:1%;
    top:10%;
    border-radius: 15px;
}
#img_mast{
    display: none;
}
/* Input réservé */
#input_reservee{
    min-width: 67px;
}
#input_reservee_esp{
    min-width: 220px;
}
/* =========================
   AFTER MAST
   ========================= */

/* Section après mast */
#after_mast{
    width: 98%;
    height:auto;
    position: relative;
    margin-left: 1%;
    margin-top: 5%;
}

/* Conteneur flex */
#container_after_mast{
    width: 100%;
    height:100%;
    display: flex;
}

/* Colonne gauche */
#left{
    width: 40%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Image colonne gauche */
#img1{
    width: 40%;
    height:auto;
}

/* Colonne droite */
#right{
    width: 60%;
    height:100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Conteneur texte */
#container_text{
    width: 80%;
}

/* Décalage texte */
#container_text{
    margin-top: 1%;
}

/* =========================
   AVIS FLOTTANT
   ========================= */

/* Bloc avis fixe */
#avis{
    width: 8vw;
    height:6vh;
    display: flex;
    gap:2%;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.26);
    position: fixed;
    left:1%;
    bottom: 2%;
    z-index: 2;
    justify-content: center;
    min-width: 100px;
    min-height: 40px;
}

/* Variante avis */
.avis_esp{
    border: 1px solid #dc4f4f;
    background-color: #e18686!important;
    color:white!important;
}

/* Track carousel */
#track {
    display: flex;
    transition: transform 0.4s ease;
    height:100%;
}

/* Slide carousel */
.slide {
    min-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: clamp(12px, 1vw, 20px);
    gap:3%;
}

/* Logos plateformes */
#google{
    height:60%;
    width: auto;
    cursor: pointer;
}
#air{
    height:auto;
    width: 30%;
    cursor: pointer;
}
#booking{
    height:80%;
    width: auto;
    cursor: pointer;
}
#trust{
    height:auto;
    width: 30%;
    cursor: pointer;
}

/* Masque carousel */
.carousel {
    width: 100%;
    overflow: hidden;
}

/* =========================
   INDICATEURS CAROUSEL
   ========================= */

/* Conteneur cercles */
.container_circle{
    position: absolute;
    width: 100%;
    margin-left: auto;
    height:5vh;
    display: flex;
    gap:3%;
    justify-content: center;
    align-items: center;
    bottom: -8%;
}

/* Cercle indicateur */
.circle_in{
    width: 2vh;
    height:2vh;
    min-height: 10px;
    min-width: 10px;
    aspect-ratio: 1;
    background-color: white;
    border-radius: 50%;
    cursor: pointer;
}

/* Cercle actif */
.circle_in_black{
    background-color: #40534d;
}



/* =========================
   SECTION GALERIE
   ========================= */

/* Section principale de la galerie */
.section_gallerie{
    background-color: #40534d;
    width: 100%;
    height:110vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding-top: 5%;
    min-height: 550px;
}

/* Titre de la galerie */
#gallerie_titre{
    width: 60%;
    height: auto;
    text-align: center;
}

/* Conteneur global du slider */
.gallerie{
    width: 80%;
    height:100%;
    position: relative;
    overflow: hidden;
    margin-top: 3%;
    border-bottom-right-radius: 25%;
}

/* Track du slider horizontal */
.are_slider {
    width: auto;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    cursor: grab;
    display: flex;
    gap:0.5%;
}

/* Slide individuelle */
.in_slider{
    width: 20vw;
    height:100%;
    background-color: #d3c2b5;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
    padding: 0% 0% 2% 0%;
    touch-action: pan-y;
}
#slider{
    touch-action: pan-y;
}

/* Masquage scrollbar (Webkit) */
.in_slider::-webkit-scrollbar {
    display: none;
}
.is_fiexed{
    position: fixed!important;
}
/* Image du slide */
.image_slider{
    width: 100%;
    height: 55vh;
    min-height: 325px;
}
/* Contenu texte du slide */
.info_slider{
    height:auto;
    width: 100%;
    color: #40534d;
    padding-top: 5vh;
    padding: 0% 4% 15% 4%;
}
/* Image responsive */
.img_slide{
    width: 100%;
    height:100%;
    object-fit: cover;
    object-position: center;
}

/* Titre du slide */
.titre_slide{
    font-weight: bold;
    padding-top: 2vh;
    text-align: center;
}

/* Texte du slide */
.text_slide{
    margin-top: 0.5vh;
}

/* Bouton sous le slider */
.slider_btn{
    width: 100%;
    text-align: center;
    margin-top: 3vh;
    height:10vh;
}

/* =========================
   BOUTON GALERIE
   ========================= */

/* Section bouton galerie */
#section_button_gallery{
    width: 100%;
    padding-top: 5vh;
    text-align: center;
    background-color: #40534d;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Conteneur bouton */
#container_btn_gal{
    width: 40%;
    text-align: center;
}

/* =========================
   SECTION AVIS
   ========================= */

/* Section avis principale */
#avis_house{
    width: 100%;
    height:70vh;
    position: relative;
    z-index: 1;
    margin-top: 10vh;
    display: flex;
    align-items: center;
    flex-direction: column;
    min-height: 400px;
}

/* Conteneur avis */
#container_avis{
    width: 60%;
    text-align: center;
    border: 1px solid #40534d46;
    border-radius: 25px;
    padding: 2%;
    position: relative;
}

/* Logo plateforme avis */
#logo_avis{
    position: absolute;
    bottom: -15%;
    right: -5%;
    width: 15%;
    min-width: 80px;
}

/* Zone carousel avis */
#avis_home{
    width: 100%;
}

/* Track carousel avis */
#track_avis{
    display: flex;
    transition: transform 1s ease;
    height:100%;
}

/* Slide avis */
.slide_avis {
    min-width: 100%;
    display: flex;
    justify-content: center;
    align-items: start;
    font-size: clamp(12px, 1vw, 20px);
    gap:3%;
    padding: 3%;
    flex-direction: column;
}

/* Titre avis */
.titre_avis{
    width: 100%;
    text-align: center;
}

/* Texte avis */
.text_avis{
    text-align: justify;
}

/* Zone après avis */
#container_after_avis{
    width: 100%;
    height:auto;
    text-align: center;
    margin-top: 1vh;
}

/* Conteneur bouton avis */
#btn_container{
    width: 50%;
    height:100%;
    margin: auto;
    text-align: center;
}

/* =========================
   SECTIONS UTILITAIRES
   ========================= */

/* Fond vert générique */
.back_green{
    margin-top: 0!important;
    background-color: #40534d;
    color:white;
    padding-top: 10vh;
}

/* Texte en gras */
.bold{
    font-weight: bold;
}

/* Liens génériques */
a{
    color:inherit;
    text-decoration: none;
    font-size: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

/* Boutons */
button{
    cursor: pointer;
    font-size: clamp(12px, 1.4vw, 30px);
}

/* Bouton vert */
.btn_green{
    width: fit-content;
    padding: 2% 5%;
    background-color: transparent;
    color:white;
    border-radius: 20px;
    border: 1px solid white;
}

/* Bouton rose */
.btn_pink{
    width: fit-content;
    padding: 2% 5%;
    background-color: transparent;
    color: #40534d;
    border-radius: 20px;
    border: 1px solid #40534d;
}

/* =========================
   TYPOGRAPHIE
   ========================= */

/* Inputs & textarea */
input{
    font-size: clamp(12px, 1.1vw, 30px);
}
textarea{
    font-size: clamp(12px, 1.2vw, 30px);
}

/* Titres */
.is_titre1{ font-size: clamp(30px, 4.5vw, 200px); }
.is_titre2{ font-size: clamp(25px, 3.5vw, 50px); }
.is_titre3{ font-size: clamp(20px, 3vw, 50px); }
.is_titre4{ font-size: clamp(18px, 2vw, 50px); }
.is_titre5{ font-size: clamp(16px, 1.5vw, 50px); }

/* Texte secondaire */
.mini_text{
    font-size: clamp(12px, 1vw, 50px);
}

/* Couleurs utilitaires */
.is_orange{ color: rgb(233, 191, 114); }
.is_white{ color:white; }
.is_green{ color: #40534d; }
.is_green2{ color:rgb(157, 209, 192); }
.is_green_1{ color : #d8dfbe; }
.is_green_2{ color: rgb(11, 57, 14); }

/* Marges texte */
.text_margin{ margin-top: 1%; }
.text_margin2{ margin-top: 2%; }

/* =========================
   MEDIA QUERIES
   ========================= */

/* ≤ 1366px */
@media (max-width: 1366px){
    .section_gallerie{
        padding-top: 0%;
    }
    #input_reservee_esp{
        min-width: 180px;
    }
}

/* ≤ 1280px & hauteur ≤ 1024px */
@media (max-width: 1280px) and (max-height: 1024px){
    .section_gallerie{ height: 90vh; }
    #avis_house{ height:60vh; }
    .sejour_esp{
        width: 60%!important;
    }
}
/* ≤ 1280px & hauteur ≤ 1024px */
@media (max-width: 1280px) and (max-height: 960px){
    input, textarea{
        font-size: clamp(20px, 1.5vw, 50px);
    }
}
/* ≤ 1280px & hauteur ≤ 800px */
@media (max-width: 1280px) and (max-height: 800px){
    .section_gallerie{ height: 110vh; }
    #avis_house{
        margin-top: 20vh;
    }
    input, textarea, button{
        font-size: clamp(16px, 1.2vw, 50px);
    }
}

/* ≤ 1280px */
@media (max-width: 1280px){
    #container_input{
        flex-direction: column;
    }
    #validate_footer{
        margin-top: 3%;
    }
    #input{
        width: 80%;
    }
}
/* ≤ 1152px */
@media (max-width: 1176px){

    #sejour{
     width: 60%;
    }
}

/* ≤ 1152px */
@media (max-width: 1152px){
    .section_gallerie{ height:90vh; }
}

/* ≤ 1100px */
@media (max-width: 1024px){
   .el_nav_undis{
    display: none!important;
   }
   #titre_nav{
    width: 90%;
   }
   #navigation{
    width: 10%;
   }
   #menu{
    display: block;
   }
    #sejour{ 
        flex-direction: column;
        height: auto;
        align-items: start;
        top:auto;
        background-color: transparent;
    }
    .date{
        width: auto;
        background-color: rgba(255, 166, 0, 0.961);
    }
    .res_disp_none{
        color:white;
        margin-top: 1.5%;
        font-size: clamp(12px, 1.5vw, 50px);
    }
    #input_reservee,
    #input_reservee_esp{
        margin-right: auto;
        margin-left: 0;
        margin-top: 5%;
        height:30px;
    }
    #input{
        height:3.5vh;
    }
}



/* ≤ 800px */
@media (max-width: 800px){
   #container_avis{ width: 70%; }
   .text_footer{ width: 90%; }
   #masthead{ min-height: 400px; }
   #avis_house{ min-height: 300px; }
   #sejour{
    width: 65%;
   }
    .sejour_esp{
        width: 55%!important;
    }
    input, textarea, button, body{
        font-size: clamp(12px, 1.2vw, 50px);
    }
}

/* ≤ 700px (mobile) */
@media (max-width: 700px){

    /* Titres agrandis */
    .is_titre1{ font-size: clamp(35px, 7vw, 200px); }
    .is_titre2{ font-size: clamp(30px, 6vw, 50px); }
    .is_titre3{ font-size: clamp(25px, 5.5vw, 50px); }
    .is_titre4{ font-size: clamp(22px, 4.5vw, 50px); }
    .is_titre5{ font-size: clamp(18px, 3.5vw, 50px); }

    .mini_text{ font-size: clamp(15px, 1.5vw, 50px); }

    button, a, input{
        font-size: clamp(16px, 2.5vw, 50px);
    }
    textarea{
        font-size: clamp(16px, 2.6vw, 50px);
    }
    body, button{
        font-size: clamp(16px, 2.5vw, 30px);
    }


    #input_reservee{ min-width: 100px; }
    .nav_el{ display: none; }

    /* Vidéo mast */
    #video_mast{
        top:8%;
        height:93%;
    }

    /* After mast responsive */
    #container_after_mast #left{ display: none; }
    #container_after_mast #right{
        width: 100%;
        padding: 5%;
    }
    #container_text{ width: 100%; }

    #container_avis{ width: 90%; }



    /* Footer responsive */
    #footer{
        min-height: auto;
        height:auto;
    }
    #container_footer{
        flex-direction: column;
        align-items: center;
    }

    /* Slider mobile */
    .in_slider{
        width: 35vw;
        min-width: 200px;
    }
    .col_footer{
        width: 100%;
        text-align: center;
        margin-top: 5%;
    }
    #img1{
        width: 20%;
    }
    #new_container{
        padding-bottom: 30px;
    }
    #container_input{
        flex-direction: column;
    }
    #validate_footer{
        margin-top: 3%;
    }
    #input{
        height:4vh;
    }
    #video_mast{
        display: none;
    }
    #img_mast{
        display: block;
    }
    /* */
    #bottom_nav_resp{
        width: 60%;
        margin-left: 20%;
    }
    #titre_in_nav{
        font-size: 13px;
    }
}

/* ≤ 500px */
@media (max-width: 500px){
    #sejour{
        width: 90%;
        margin-top: 10%;
    }
    #img_mast{
        object-position: 70% 0%;
    }
    #titre_in_nav_rep{
        display: flex;
    }
    #titre_in_nav{
        display: none;
    }
}

@media (max-width: 380px){
    #logo_avis{
        position: absolute;
        bottom: -10%;
        right: -10%;
    }
}










