:root {
    --site-max-size: 1300px;
}
/**{
    border: 1px solid red !important;
}*/
/* ==========================================================================
   1. Styles Globaux et Reset
   ========================================================================== */
/* ... (cette section reste inchangée) ... */
body, h1, h2, h3, p, div, form, input, a, button, ul, li, aside, main, header, footer, section, nav, span, strong { 
    margin: 0; padding: 0; box-sizing: border-box; 
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
body {
    display: flex; flex-direction: column; min-height: 100vh;
    background-color: #f4f4f4; color: #333; overflow-x: hidden;
}
main.container {
    flex: 1; max-width: var(--site-max-size); margin: 20px auto;
    width: 100%; padding: 0 15px;
}


/* ==========================================================================
   2. Header & Navigation (NOUVELLE VERSION FLEXBOX RESPONSIVE)
   ========================================================================== */
header {
    background-color: #fff;
    border-bottom: 1px solid #ddd;
    width: 100%;
    padding: 10px 30px;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease; /* Pour des transitions fluides */
}

header a.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: #333;
    flex-shrink: 0; /* Empêche le logo de rétrécir */
}
header a.logo img {
    height: 70px; /* Taille de base du logo */
}
header a.logo span.calligraphic-text {
    font-family: 'Great Vibes', cursive;
    font-size: 2.2rem;
    font-weight: normal;
}

/* Conteneur cible pour la barre de recherche dans le header */
#header-search-target {
    flex-grow: 1; /* Prend l'espace disponible au milieu */
    display: flex;
    justify-content: center;
    padding: 0 20px;
}

header nav {
    display: flex;
    align-items: center;
    flex-shrink: 0; /* Empêche la nav de rétrécir */
}
header nav a { 
    margin-left: 20px; 
    font-size: 1rem; 
    color: #555; 
}

/* Style des liens de la navigation */
header nav a {
    margin-left: 20px;
    font-size: 1rem;
    color: #555;
    text-decoration: none; /* On retire le soulignement par défaut */
    padding: 10px 0;
    position: relative;
    transition: color 0.2s;
}

header nav a:hover {
    color: #000; /* Le texte devient plus foncé au survol */
}

/* Style SPÉCIFIQUE pour le lien de la page active */
header nav a.active {
    font-weight: bold;
    color: #000;
}

/* On ajoute la barre de soulignement pour le lien actif */
header nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #000;
}
.header-content {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo .logo {
    height: 40px; /* Ajustez la hauteur selon vos besoins */
    width: auto;
    display: block; /* Supprime les espaces sous l'image */
}

.calligraphic-text {
    font-family: 'Great Vibes', cursive;
    font-size: 3rem;
    color: #3e2723;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.2);
    letter-spacing: 2px;
    background: linear-gradient(90deg, #b07f5e, #5a3e36);
    white-space: normal;
    flex-shrink: 1;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }



/* Styles pour les messages flash dans l'admin */
.flash-message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    border: 1px solid;
}
.flash-message.success {
    background-color: #d4edda;
    color: #155724;
    border-color: #c3e6cb;
}
.flash-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border-color: #f5c6cb;
}

/* ==========================================================================
   3. Barre de recherche (VERSION FINALE AVEC CLASSES)
   ========================================================================== */

   /* Positionnement de la popup pour le sélecteur de voyageurs de la barre de recherche */
#search-bar-guest-picker .guest-picker-dropdown {
    right: 0; /* S'aligne à droite de la barre de recherche */
    left: auto;
    width: 300px; /* On lui donne une largeur fixe */
}

#search-modal .search-bar-container  .guest-picker-dropdown {
    right: 0; /* S'aligne à droite de la barre de recherche */
    left: auto;
    width: 300px; /* On lui donne une largeur fixe */
}

/* ==========================================================================
   3. Barre de recherche (Version finale avec sélecteurs corrigés)
   ========================================================================== */
   .date-inputs-wrapper {
    position: relative;
}
.clear-search-btn {
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    background: #e9ecef;
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    cursor: pointer;
  font-size: 1.2rem;
      line-height: 20px;
    color: #6c757d;
}
/* --- Style commun aux deux contextes --- */
.search-bar-container form {
    display: flex;
    align-items: center;
    gap: 5px; /* Ajoute un petit espace entre les éléments */
}

/* --- Style SPÉCIFIQUE quand la barre est DANS LE HEADER --- */
.search-bar-container.in-header form {
    border: 1px solid #ddd; border-radius: 40px; background: #f7f7f7; padding: 5px;
}
.search-bar-container.in-header input {
    border: none; background: transparent; padding: 8px 15px; width: 120px;
}
/* Style pour le bouton Voyageurs dans le header */
.search-bar-container.in-header .guest-picker-btn {
    border: none; background: transparent; padding: 8px 15px; cursor: pointer;
    white-space: nowrap; /* Empêche le texte de passer à la ligne */
}
/* Style pour le bouton Loupe dans le header */
.search-bar-container.in-header .search-btn {
    background-color: #e60023; color: white; width: 32px; height: 32px; 
    border-radius: 50%; border: none; cursor: pointer; 
    display: flex; align-items: center; justify-content: center;
}
.search-bar-container.in-header .search-btn svg { stroke: currentColor; height: 12px; width: 12px; stroke-width: 5; }


/* --- Style SPÉCIFIQUE quand la barre est DANS LE HERO --- */
.search-bar-container.in-hero { margin-top: 20px; }
.search-bar-container.in-hero form {
    background: #fff; border-radius: 50px; padding: 8px; border: 1px solid #ddd; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); width: 100%; max-width: 800px; margin: 0 auto;
}
.search-bar-container.in-hero .guest-picker-container {
    flex: 1; /* Permet aux sections de prendre l'espace */
    border-right: 1px solid #eee;
}
.search-bar-container.in-hero .date-inputs-wrapper{
 /*   flex: 1; *//* Permet aux sections de prendre l'espace */
    border-right: 1px solid #eee;
}
.search-bar-container.in-hero input,
.search-bar-container.in-hero .guest-picker-btn {
    border: none; background: transparent; padding: 15px; font-size: 1rem; width: 100%;
}
.search-bar-container.in-hero input {
    border: none; background: transparent; padding: 15px; font-size: 1rem; width: 48%;
}
.search-bar-container.in-hero .guest-picker-btn { text-align: left; }
/* Style pour le bouton Loupe dans le hero */
.search-bar-container.in-hero .search-btn {
    background-color: #e60023; color: white; width: 50px; height: 50px; 
    border-radius: 50%; border: none; cursor: pointer; 
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    margin: 0 5px;
}
.search-bar-container.in-hero .search-btn svg { stroke: currentColor; height: 16px; width: 16px; stroke-width: 4; }

/* --- Styles pour le sélecteur de voyageurs --- */
.guest-picker-container {
    position: relative;
}
.guest-picker-btn {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background: #fff;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.guest-picker-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    padding: 15px;
    z-index: 10;
    display: none; /* Caché par défaut */
}
.hero .guest-picker-dropdown {
    color: #333; /* On force une couleur de texte foncée */
}
.guest-picker-dropdown.is-open {
    display: block;
}
.guest-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 0;
}
.guest-counter {
    display: flex;
    align-items: center;
    gap: 15px;
}
.counter-btn {
    width: 32px;
    height: 32px;
    border: 1px solid #ccc;
    border-radius: 50%;
    background: #fff;
    font-size: 1.2rem;
    cursor: pointer;
}
.counter-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.container  .legal-static{
    background-color: white; 

}

/* ==========================================================================
   Footer
   ========================================================================== */
.container {
    max-width: var(--site-max-size); /* Définit la largeur maximale du contenu */
    margin-left: auto;  /* Centre le conteneur horizontalement */
    margin-right: auto; /* Centre le conteneur horizontalement */
    padding-left: 20px; /* Ajoute des marges intérieures pour les petits écrans */
    padding-right: 20px;
    width: 100%; /* S'assure que le conteneur prend toute la largeur disponible jusqu'à max-width */
    box-sizing: border-box; /* S'assure que padding ne fait pas déborder le conteneur */
}

.site-footer {
    background-color: #333;
    color: #ccc;
    padding: 40px 0 0; /* Garde 0 pour le padding latéral, car le .container gère déjà cela */
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    /* Votre configuration actuelle est 'repeat(4, 1fr)', ce qui est bien pour desktop.
       Nous allons utiliser les media queries pour l'adapter. */
    grid-template-columns: repeat(4, 1fr); /* 4 colonnes sur desktop */
    gap: 30px;
    padding-bottom: 40px;
}

.footer-column h4 {
    color: #fff;
    margin-bottom: 15px;
    margin-top: 5px;
    font-size: 1.1rem;
}
.footer-column h3 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 1.3rem;
}
.footer-column  h3:nth-of-type(2) {
     margin-top: 30px;
}

/* ==========================================================================
   Ajustements CRUCIAUX pour les paragraphes et la carte
   ========================================================================== */
.footer-column p {
    line-height: 1.6;
     color: whitesmoke;

    max-width: 100%; /* <<< AJOUT IMPORTANT : Empêche le contenu de déborder de la colonne */
    overflow-wrap: break-word; /* <<< AJOUT IMPORTANT : Permet la césure des mots longs */
    word-wrap: break-word; /* Pour la compatibilité */
    /* text-align: justify; - Ce style est défini plus bas globalement, c'est OK */
    /* hyphens: auto; - Ce style est défini plus bas globalement, c'est OK */
}

.footer-column address {
    font-style: normal;
    line-height: 1.6;
    max-width: 100%; /* <<< AJOUT IMPORTANT : Pour s'assurer que l'adresse ne déborde pas */
    overflow-wrap: break-word;
    word-wrap: break-word;
}
.footer-column address a {
    color: whitesmoke;
    word-break: break-all; /* <<< AJOUT IMPORTANT : Permet aux URLs/emails longs de se casser */
}
.footer-column address a:hover {
    color: #fff;
}

/* Ajustements pour la carte */
.footer-map {
    width: 100%; /* S'assure que le conteneur de la carte prend toute la largeur disponible */
    /* PAS DE max-width fixe ici, il doit être fluide */
}

#footer-map-container {
    height: 150px; /* Conserve la hauteur fixe */
    width: 100%; /* <<< TRÈS IMPORTANT : S'assure qu'il prend 100% de la largeur de .footer-map */
    border-radius: 8px;
    margin-top: 15px;
    /* Ajoutez un background pour déboguer si la carte ne s'affiche pas */
    background-color: #555;
    box-sizing: border-box; /* S'assure que padding ne fait pas déborder */
    min-width: 0; /* <<< AJOUT IMPORTANT pour Flex/Grid si problème persiste */
}

.footer-map .leaflet-container {
    border-radius: 8px;
    /* Assurez-vous qu'il n'y a pas de 'width' fixe ici non plus */
    width: 100%; /* S'assurer que le conteneur Leaflet s'adapte */
}

/* Fin des ajustements cruciaux */


.footer-bottom {
    background-color: #222;
    padding: 15px 0; /* Padding vertical, le container gère l'horizontal */
    text-align: center;
    font-size: 0.8rem;
    color: #888;
}

.footer-bottom p {
    text-align: center;
}

/* Responsive pour le footer */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr; /* 2 colonnes sur tablette */
        gap: 20px; /* Ajuste le gap */
    }
    .footer-column {
        margin-bottom: 20px; /* Ajoute un peu d'espace si les colonnes sont empilées */
    }
    .container {
        padding-left: 0px; /* Ajoute des marges intérieures pour les petits écrans */
        padding-right: 0px;
    }
}

@media (max-width: 480px) {
    .site-footer {
        padding: 30px 15px 0; /* Réduit le padding sur les très petits écrans, le container gère l'horizontal */
    }
    .footer-grid {
        grid-template-columns: 1fr; /* 1 colonne sur mobile */
        gap: 15px; /* Réduit l'espacement */
        padding-bottom: 20px; /* Ajuste le padding */
    }
    .footer-column {
        margin-bottom: 0; /* Pas de margin-bottom si une seule colonne */
    }
    .footer-bottom {
        padding: 10px 0;
        font-size: 0.7rem;
    }
}

/* ==========================================================================
   Styles existants que j'ai déplacés ou commentés si déjà traités ci-dessus
   ========================================================================== */

/* Ces styles sont déjà pris en compte par le .footer-column p ci-dessus, mais les garder ne nuit pas */
p {
    text-align: justify;
    hyphens: auto;       /* active la césure automatique */
    line-height: 1.6;    /* espace entre lignes pour améliorer la lisibilité */
}

/* Styles spécifiques aux liens du footer */
.footer-column .footer-links {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}

.footer-links li a {
    color: whitesmoke;
    text-decoration: none;
    display: block;
    padding: 8px 0;
    transition: all 0.2s ease-in-out;
    border-radius: 4px;
}

.footer-links li a::before {
    content: '›';
    margin-right: 8px;
    font-weight: bold;
}

.footer-links li a:hover {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.05);
    padding-left: 5px;
}


/* Section Collaborations (Partners) */
.collaboration-item {
    display: flex;
    align-items: center; /* Centre verticalement l'image et le texte */
    gap: 15px;
    margin-bottom: 20px;
}

.collab-image {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
    /* display: flex; align-items: center; justify-content: center; */ /* Plus nécessaire si img object-fit: cover */
}

.collab-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.collaboration-item h5 { /* Remplacé .collab-text h5 par .collaboration-item h5 pour cibler */
    color: #fff;
    margin: 0 0 5px;
}

.collaboration-item p { /* Remplacé .collab-text p par .collaboration-item p pour cibler */
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    max-width: 100%; /* <<< AJOUT IMPORTANT pour s'assurer que le pitch ne déborde pas */
    overflow-wrap: break-word;
    word-wrap: break-word;
}


/* Vous avez un .collab-icon qui n'est pas utilisé dans le HTML fourni, je le laisse tel quel */
.collab-icon {
    font-size: 1.5rem;
    color: #fff;
    margin-top: 5px;
}


/* 🎨 Style unifié pour tout contenu venant de TinyMCE */
.tinymce-content {
  font-family: system-ui, sans-serif;
  font-size: 16px;
  color: #333;
  line-height: 1.05;
  white-space: pre-line;
  overflow-wrap: break-word;
}

/* Titres */
.tinymce-content h1 {
  font-size: 1.8em;
  color: #2c3e50;
  margin: 1.2em 0 0.6em;
  line-height: 1.3;
}

.tinymce-content h2 {
  font-size: 1.6em;
  color: #34495e;
  margin: 1em 0 0.5em;
}

.tinymce-content h3 {
  font-size: 1.4em;
  color: #4a5568;
  margin: 0.8em 0 0.1em;
}

/* Paragraphes */
.tinymce-content p {
  margin-bottom: 0.1em;
}

/* Listes */
.tinymce-content ul,
.tinymce-content ol {
  margin: 0 0 1em 2.8em;
  padding: 0;
}

.tinymce-content li {
  margin-bottom: 0.1em;
}

/* Images */
.tinymce-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 10px auto;
}

/* Tableaux */
.tinymce-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1em 0;
}

.tinymce-content th,
.tinymce-content td {
  border: 1px solid #ccc;
  padding: 8px;
  text-align: left;
}

/* Citations stylées */
.tinymce-content blockquote {
  border-left: 4px solid #2196F3;
  padding-left: 15px;
  font-style: italic;
  color: #555;
  margin: 1em 0;
}

.tinymce-content br + br {
  display: block;
  margin-top: 1em; /* Ajuste cette valeur selon tes besoins */
}
.tinymce-content p {
  margin: 0.4em 0;
  line-height: 1.1;
}
.tinymce-content p:empty {
  margin: 0;
  line-height: 0.2;
  height: 0;
  overflow: hidden;
}

.tinymce-content p.empty-paragraph {
  margin: 0;
  padding: 0;
  line-height: 0.2;
  height: 0;
  overflow: hidden;
}




/* ==========================================================================
   7. Responsive Design (Media Queries) - SECTION CORRIGÉE
   ========================================================================== */

/* --- Pour les écrans de type tablette (<= 1300px) --- */
@media (max-width: 1300px) {
    header {
        height: auto; /* La hauteur s'adapte */
        flex-wrap: wrap; /* Permet aux éléments de passer à la ligne */
        justify-content: space-between;
        padding: 15px;
    }

    /* Ligne du haut : Logo et Nav */
    header a.logo, header nav {
        width: auto;
    }
    header a.logo img { height: 60px; } /* On réduit un peu le logo */

    /* Ligne du bas : Barre de recherche */
    #header-search-target {
        width: 100%;
        order: 3; /* On la place en dernier */
        margin-top: 15px;
        padding: 0;
    }
}

/* --- Pour les écrans de type mobile (<= 800px) --- */
@media (max-width: 800px) {
    
    header {
        flex-direction: column; /* On empile tout verticalement */
        gap: 20px;
    }

    /* On centre chaque bloc */
    header a.logo, #header-search-target, header nav {
        width: 100%;
        justify-content: center;
    }
    
    #header-search-target {
        order: 2; /* La recherche passe au milieu */
        margin-top: 0;
    }
    header nav {
        order: 3; /* La nav reste en bas */
        justify-content: space-around;
    }
    header nav a { margin: 0; }
    
    /* On simplifie les autres mises en page */
    .reservation-content-layout, .about-page-grid-layout, .contact-page, .split-section {
        grid-template-columns: 1fr;
        flex-direction: column;
    }
 
    .modern-apartments-grid.cols-2, .modern-apartments-grid.cols-3, .modern-apartments-grid.cols-4 {
        grid-template-columns: 1fr;
    }


    /* --- Style responsive pour la barre de recherche DANS LE HERO --- */
    .search-bar-container.in-hero form {
        flex-direction: column;
        width: 100%;
        max-width: 400px;
        padding: 15px;
        gap: 15px; /* Espace entre les lignes */
        border-radius: 20px;
    }

    /* 1. Conteneur pour les dates */
    #search-modal .search-bar-container  .date-inputs-wrapper,
    .search-bar-container.in-hero .date-inputs-wrapper {
        display: flex;
        width: 100%;
        gap: 10px;
    }
    #search-modal .search-bar-container  .date-inputs-wrapper input,
    .search-bar-container.in-hero_ .date-inputs-wrapper input {
        flex: 1; /* Les champs de date se partagent l'espace */
    }

    /* 2. Conteneur pour les voyageurs */
    #search-modal .search-bar-container  .guest-picker-container ,
    .search-bar-container.in-hero .guest-picker-container {
        width: 100%;
    }
    
    #search-modal .search-bar-container  .guest-picker-btn ,
    .search-bar-container.in-hero .guest-picker-btn {
        border: 1px solid #ccc;
        border-radius: 8px;
        padding: 12px;
        width: 100%;
        background: #fff;
    }
    
    /* On unifie le style de tous les inputs dans ce mode */
    #search-modal .search-bar-container  input,
    .search-bar-container.in-hero input {
        text-align: center;
        border: 1px solid #ccc;
        border-radius: 8px;
        padding: 12px 10px;
        font-size: 1rem;
        color: #000;
        width: 100%;
    }

    /* 3. Bouton de recherche */
    #search-modal .search-bar-container  .search-btn ,
    .search-bar-container.in-hero .search-btn {
        width: 100%;
        height: auto;
        padding: 12px;
        margin-top: 5px;
        border-radius: 25px;
    }

    /****guest picker****/
    #search-bar-guest-display{
        width:100%;
          text-align: center;           /* Centre le texte horizontalement */
    }
/***********************************************/

.contact-promo-block { display: block; align-items: center; gap: 40px; background-color: #e9ecef; padding: 40px; border-radius: 12px; }
   /* AJOUT : On s'assure que les sections à 2 colonnes de la page d'accueil s'empilent verticalement */
   .split-section,
   .contact-promo-block {
       flex-direction: column;
       gap: 25px;
   }
   
   .contact-promo-block {
       padding: 25px; /* On ajuste le padding pour les petits écrans */
   }
   
   /* On peut aussi centrer le texte pour un meilleur rendu sur mobile */
   .split-section-text,
   .contact-promo-text {
       text-align: center;
   }

   /* Section "Qui sommes-nous" (Accueil) */
.split-section { 
    display: flex; 
    gap: 40px; 
    align-items: stretch; /* On force les colonnes à avoir la même hauteur */
    margin-top: 40px;
    background-color: #fff; /* On peut ajouter un fond blanc */
    border-radius: 12px;
    overflow: hidden; /* Important pour les coins arrondis de l'image */
}

.split-section > div { 
    flex: 1; /* Chaque colonne prend 50% de l'espace */
}

/* On s'assure que l'image remplit sa colonne */
.split-section-image {
    line-height: 0; /* Retire un petit espace sous l'image */
}
.split-section-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* L'image remplit l'espace sans se déformer */
}

/* On ajoute du padding au texte pour l'aérer */
.split-section-text {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
/*.offer-page .offers-grid {
grid-template-columns:none !important; 
}*/

/* --- Dans la media query @media (max-width: 768px) --- */

/* On cache les flèches de navigation sur mobile */
.offers-header .carousel-nav {
    display: none;
}

/* Chaque "slide" prend toute la largeur */
.offer-page .offers-grid {
    grid-template-columns: 1fr;
}
.offer-slide {
    width: 100%;
    flex-shrink: 0;
    padding: 0 10px; /* Ajoute un peu d'espace sur les côtés */
}

/* Style pour les points de pagination */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}
.carousel-dots .dot {
    width: 24px;
    height: 24px;
    font-size: 24px;
    border-radius: 50%;
    background-color: #ccc;
    transition: background-color 0.3s;
}
.carousel-dots .dot.active {
    background-color: #333;
}
/*modale photo*/

.lightbox-nav {
    font-size: 2rem;
    height: 50px;
    padding: 0 10px;
}
.lightbox-nav.prev { left: 5px; }
.lightbox-nav.next { right: 5px; }
.lightbox-close { top: 10px; right: 15px; }
}



.search-modal-overlay

/* --- Styles pour le menu Hamburger --- */
.hamburger-btn {
    display: none; /* Caché par défaut */
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1010;
}
.hamburger-btn svg {
    height: 24px;
    width: 24px;
    fill: #333;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: white;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    z-index: 9000;
}
.mobile-menu.is-open {
    display: flex; /* Affiché par JavaScript */
}
.mobile-menu a {
    font-size: 1.5rem;
    color: #333;
    text-decoration: none;
}


/* --- Dans la media query @media (max-width: 800px) --- */

@media (max-width: 800px) {
    header {
        flex-direction: row;
        gap: 15px;
    }
    
    header a.logo {
        padding-left: 0px;
        width: auto;
    }
    
    header nav.desktop-nav{
        display: none;
    }
    
    .hamburger-btn {
        display: block;
        margin-left: auto; 
    }

    .hamburger-btn svg {
        height: 30px;
        width: 30px;
    }
}

/* --- Styles pour la recherche mobile --- */
.mobile-search-btn {
    display: none; 
    background: none; border: none; cursor: pointer;
    font-size: 24px;  
}
.mobile-search-btn svg {height: 34px;width: 34px; padding-bottom:10px; border:brown    ;  color: #e60023;}

.search-modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: white; z-index: 1100;
    display: none; 
    padding: 20px;
}
.search-modal-overlay.is-visible { display: block; }
.search-modal-content .search-bar-container.in-header form,
.search-modal-content .search-bar-container.in-hero form {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    box-shadow: none;
    border: none;
    gap: 15px;
}

.search-modal-content .date-inputs-wrapper {
    display: flex;
    width: 100%;
    gap: 10px;
}

.search-modal-content input {
    width: 100%;
    text-align: left;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 15px;
    font-size: 1rem;
}

.search-modal-content .guest-picker-container {
    width: 100%;
}
.search-modal-content .guest-picker-btn {
    
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 15px;
    width: 100%;
    background: #fff;
}

.search-modal-content .search-btn {
    width: 100%;
    height: auto;
    padding: 15px;
    border-radius: 8px;
    margin-top: 10px;
}

.mobile-header-buttons{
    display: none;
}
.mobile-search-btn, .hamburger-btn {
    display: none; 
}


 .mobile-menu.is-open a.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-direction: column;
    text-decoration: none;
    color: #333;
    flex-shrink: 0; /* Empêche le logo de rétrécir */
    width: fit-content;
}
 .mobile-menu.is-open a.logo img {
    height: 140px; /* Taille de base du logo */
}
 .mobile-menu.is-open a.logo span.calligraphic-text {
    font-family: 'Great Vibes', cursive;
    font-size: 2.2rem;
    font-weight: normal;
    margin-top: 20px;
    display: inline-block;
    vertical-align: middle;
    line-height:normal;
}
.mobile-menu a {
    display: block;              
    font-size: 1.5rem;
    color: #333;
    text-decoration: none;
    width: 100%,  !important;;
      text-align: center;  
     /* height: 0%;
  line-height: 0%; */
}
.mobile-menu > a {
  padding: 20px;
  background-color: none;
  border-bottom: 2px solid #0000000f; /* le trait */
}

/* Retirer le trait sous le dernier bloc */
.mobile-menu > a:last-child {
  border-bottom: none;
}
.mobile-menu > a:first-child {
  border-bottom: none;
  height: 40%;
  line-height: 190%; 
}
/* --- Responsive --- */
@media (max-width: 768px) {
    #header-search-target, .desktop-nav {
        display: none; /* On cache les versions bureau */
    }
    .mobile-search-btn, .hamburger-btn {
        display: block; /* On affiche les boutons mobiles */
        font-size: 24px;  
    }

    .mobile-header-buttons{
        display: block;
    }
}

/* Images dans les sections avec texte et image */
.split-section-image,
.contact-promo-image {
  position: relative;
  overflow: hidden;
  border-radius: 12px; /* optionnel, pour un rendu harmonieux */
}

/* Images à taille fixe et responsive */
/* Images à taille fixe et responsive */
.split-section-image img{
  width: 100%;
  height: 100%;
  object-fit: cover; /* coupe proprement au lieu d’étirer */
  display: block;
  transition: transform 0.4s ease;
}

.contact-promo-image img {
  width: 100%;
  height: 164%;
  object-fit: cover; /* coupe proprement au lieu d’étirer */
  display: block;
  transition: transform 0.4s ease;
}


/* Optionnel : léger zoom au survol */
.split-section-image:hover img,
.contact-promo-image:hover img {
  transform: scale(1.05);
}

/* Hauteur par défaut sur bureau */
.split-section-image,
.contact-promo-image {
  height: 400px;
}

/* Tablette */
@media (max-width: 992px) {
  .split-section-image,
  .contact-promo-image {
    height: 300px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .split-section-image,
  .contact-promo-image {
    height: 220px;
  }
}
/*.split-section-image,
.contact-promo-image {
  aspect-ratio: 16 / 9;
}*/

.footer-column .tinymce-content li {color:white;line-height: 1.0;}

/* Listes */
.footer-column .tinymce-content ul,
.footer-column .tinymce-content ol {
  margin: -1em -10px 0.1em 1.1em;
  padding: 0;
}

.modal-close-btn {
  /* Taille et forme */
  width: 40px;
  height: 40px;
  border-radius: 50%;
  
  /* Style visuel */
  background-color: #f3f4f6;
  border: none;
  color: #1a1a1a;
  font-size: 24px;
  
  /* Centrage du "×" */
  display: flex;
  align-items: center;
  justify-content: center;
  
  /* Interaction */
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
  -webkit-tap-highlight-color: transparent; /* Enlever le flash bleu sur mobile */
}

.modal-close-btn:active {
  transform: scale(0.9); /* Effet d'appui */
  background-color: #e5e7eb;
}

.date-error {
    opacity: 0;
    transition: opacity 0.2s ease;
}

.date-error.visible {
    opacity: 1;
}



.btn,
.btn-small {
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
    transition: all .2s ease;
    font-weight: 500;
    margin:5px;
}

.btn-primary {
    background: #4a80ff !important;
    color: #fff !important;
}

.btn-primary:hover {
    background: #3a6ae6 !important;
}




.bt-wero-container{
    text-align:center;
    margin-top:25px;
}

.bt-wero-qr svg{
    width:180px;
    height:180px;
    margin:15px auto;
}

.bt-wero-description{
    opacity:0.8;
}

.bt-wero-instructions{
    font-size:0.9rem;
    opacity:0.7;
}


.payment-container{
max-width:820px;
margin:auto;
padding:25px;
font-family:system-ui,-apple-system,BlinkMacSystemFont,sans-serif;
}


.payment-card{
background:rgba(255,255,255,0.9);
border-radius:14px;
padding:22px;
margin-bottom:18px;
border:1px solid rgba(255,255,255,0.98);
backdrop-filter:blur(10px);
}


.summary-grid{
display:grid;
grid-template-columns:1fr 1fr 1fr;
gap:16px;
}


.total-price{
font-size:1.6rem;
font-weight:600;
grid-column:span 2;
}


.qr-wrapper{
text-align:center;
margin-top:15px;
}

.qr-wrapper img{
max-width:200px;
border-radius:8px;
}


.bank-row{
display:flex;
justify-content:space-between;
padding:10px 0;
border-bottom:1px solid rgba(255,255,255,0.06);
font-size:15px;
}


.copy-field{
display:flex;
gap:8px;
align-items:center;
}


.copy-btn{
background:none;
border:none;
cursor:pointer;
font-size:16px;
padding:4px;
}


.reference-badge{
background:#222;
color:white;
padding:6px 10px;
border-radius:6px;
font-family:monospace;
font-size:14px;
}


.payment-steps{
display:flex;
flex-direction:column;
gap:8px;
font-size:14px;
}


.step{
opacity:0.9;
}





.timeline-horizontal{
display:flex;
justify-content:space-between;
align-items:flex-start;
position:relative;
margin-top:20px;
}

.timeline-horizontal::before{
content:"";
position:absolute;
top:16px;
left:0;
right:0;
height:3px;
background:rgba(255,255,255,0.15);
z-index:0;
}

.timeline-h-step{
position:relative;
text-align:center;
flex:1;
z-index:1;
}

.timeline-h-icon{
width:34px;
height:34px;
margin:auto;
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
background:#555;
font-size:16px;
transition:0.25s;
}

.timeline-h-label{
margin-top:8px;
font-size:13px;
opacity:0.8;
padding:0 6px;
}

.timeline-h-step.done .timeline-h-icon{
background:#4CAF50;
box-shadow:0 0 0 6px rgba(76,175,80,0.15);
}

.timeline-h-step.active .timeline-h-icon{
background:#2196F3;
box-shadow:0 0 0 6px rgba(33,150,243,0.18);
transform:scale(1.1);
}

.timeline-h-step.pending .timeline-h-icon{
background:#555;
opacity:0.6;
}

@media(max-width:600px){

.timeline-h-label{
font-size:11px;
}

.timeline-h-icon{
width:28px;
height:28px;
font-size:14px;
}

}






.security-badge{
background:rgba(76,175,80,0.08);
border:1px solid rgba(76,175,80,0.25);
padding:12px;
border-radius:10px;
font-size:14px;
margin-bottom:15px;
}


.countdown-modern{
font-size:1.6rem;
font-weight:600;
letter-spacing:2px;
text-align:center;
margin-top:10px;
}


.payment-action{
margin-top:20px;
}


.confirm-btn{
width:100%;
padding:15px;
font-size:16px;
border-radius:10px;
border:none;
background:#4CAF50;
color:white;
cursor:pointer;
transition:0.2s;
}

.confirm-btn:hover{
opacity:0.9;
transform:translateY(-1px);
}




