/*
Theme Name: Theme-Reservation-Neutre
Theme URI: https://example.com
Author: Toi
Description: Thème avec onglets sur photo, menu sticky pur CSS et effets d'ombres.
Version: 6.1
Text Domain: theme-reservation
*/

/* ============================
   VARIABLES GLOBALES
   ============================ */
:root {  
  --color-bg: #fff;  
  --color-primary: #333;  
  --color-accent: #CE0901;
  --color-accent-hover: #a50701;
  --color-menu-bg: #fff;  
  --color-border-light: #ddd;  
  --font-main: 'Montserrat', system-ui, -apple-system, sans-serif;  
  --font-title: 'Playfair Display', Georgia, serif;  
  --menu-z: 2000; /* Z-index élevé pour le menu sticky */
}

/* ============================
   RESET & BASE
   ============================ */
*, *::before, *::after { box-sizing: border-box; }

html, body {  
    margin: 0;  
    padding: 0;  
}

body {
  font-family: var(--font-main);
  color: var(--color-primary);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 { font-family: var(--font-title); font-weight: 600; margin: 0; }
a { color: inherit; text-decoration: none; }

/* ========================================
   HERO LANDSCAPE - BANDEAU PHOTO
   ======================================== */
.hero-landscape {
    position: relative;
    width: 100%;
    height: 23vh;
    min-height: 175px;
    background-image: url('https://secretdalsace.com/wp-content/uploads/2026/01/Vigne.jpg');
    background-size: cover;
    background-position: center 30%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    z-index: 1;
    /* Ombre interne qui crée un lien avec la section offre dessous */
    box-shadow: inset 0 -15px 30px rgba(0, 0, 0, 0.2); 
}

.hero-landscape::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

/* UN SEUL BLOC POUR .hero-landscape-content */
.hero-landscape-content {
    position: relative;
    z-index: 2;
    width: 95%;
    max-width: 1200px;
    margin: 0 auto 40px;
    padding: 25px 15px 0 15px; /* padding-top de 25px + marges latérales */
}

.hero-landscape-content h2 {
    font-size: clamp(1.2rem, 4.5vw, 3.5rem); 
    white-space: nowrap; 
    text-transform: none;
    line-height: 1.2;
    letter-spacing: 0px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
    margin: 0;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-top: 5px;
    font-style: italic;
}

/* Ajustement du Hero Landscape sur Mobile */  
@media (max-width: 768px) {  
    /* On réduit la taille du titre principal */  
    .hero-landscape-content h2 {  
        font-size: 1.6rem !important; /* Taille plus adaptée au mobile */  
        white-space: normal !important; /* Permet au titre de passer sur deux lignes si besoin */  
        line-height: 1.2;  
    }  
  
    /* On réduit significativement le sous-titre */  
    .hero-subtitle {  
        font-size: 0.9rem !important; /* Plus petit pour ne pas concurrencer le titre */  
        margin-top: 8px;  
        line-height: 1.4;  
        opacity: 0.9; /* Un peu plus discret */  
    }  
      
    /* On ajuste le conteneur pour que tout rentre bien */  
    .hero-landscape-content {  
        padding: 15px 10px 0 10px;  
        margin-bottom: 20px;  
    }  
}

/* ========================================
   ONGLETS - POSITIONNÉS SUR LA PHOTO
   ======================================== */
.offers-tabs-container {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    z-index: 10;
}

.tab-btn {
    padding: 14px 18px;
    border: none;
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(4px);
    color: #333;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border-radius: 14px 14px 0 0;
    position: relative;
}

.tab-btn[data-target="offer-3h"] { width: 30%; min-width: 200px; }
.tab-btn[data-target="offer-2h"] { width: 20%; min-width: 180px; }

.tab-btn.active {
    background: #ffffff;
    color: #8b0000;
    z-index: 3;
}

/* Effet de chevauchement (l'inactif passe derrière) */
.tab-btn:first-child:not(.active) { margin-right: -18px; z-index: 1; }
.tab-btn:last-child:not(.active) { margin-left: -18px; z-index: 1; }

/* ========================================
   CONTENU DES OFFRES (STRUCTURE 3 COLONNES)
   ======================================== */
.offers-contents-section {
    background: #ffffff;
    position: relative;
    z-index: 5;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Gestion de l'affichage des onglets */
.offer-content { display: none !important; }
.offer-content.active { display: block !important; }

/* Conteneur principal : Hauteur réduite */
.offer-inner-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 100%;
    margin: 0 auto;
    padding: 15px 4%; /* Hauteur réduite mais aérée */
    gap: 15px;
}

/* COLONNE GAUCHE : 40% */
.offer-left-column {
    flex: 0 0 40%;
    min-width: 0;
}

.offer-title-underlined {
    font-family: var(--font-title);
    font-size: 1.6rem; /* On garde ta taille */
    color: #333;
    margin: 0 0 15px 0;
    padding-bottom: 8px;
    border-bottom: 3px solid var(--color-accent);
    display: inline-block;
    white-space: nowrap;
}

.offer-list li {
    font-size: 1rem; /* On garde ta taille */
    line-height: 1.5;
    padding-left: 20px;
    margin-bottom: 10px;
    white-space: nowrap;
}

/* COLONNE MILIEU : PHOTO CARRÉE RÉDUITE (18%) */
.offer-center-photo {
    flex: 0 0 18%; /* Photo plus petite pour réduire la hauteur globale */
    display: flex;
    justify-content: center;
}

.offer-center-photo img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

/* COLONNE DROITE : Équilibrée */
.offer-right-column {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 12px; /* On redonne un peu d'espace entre les blocs */
    padding-left: 40px;
}

.offer-description {
    font-size: 0.95rem;
    line-height: 1.5; /* Respiration normale du texte */
    color: #333;
    margin: 0;
}

.horaire-depart {
    font-weight: 600;
    font-size: 1rem;
    color: #000;
    /* On met une petite marge de 5px en haut et en bas */
    margin: 5px 0; 
    padding: 0;
    line-height: 1.2;
}

.offer-buttons {
    display: flex;
    gap: 15px;
    margin-top: 5px; /* Petit espace avant les boutons */
}

/* BOUTONS (TES STYLES D'ORIGINE) */
.btn-reserver-inline,
.btn-en-savoir-plus {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-reserver-inline { background: var(--color-accent); color: #fff; border: 2px solid transparent; }
.btn-en-savoir-plus { background: transparent; color: var(--color-accent); border: 2px solid var(--color-accent); }

.btn-reserver-inline:hover { background: #8B0000; border-color: #8B0000; }
.btn-en-savoir-plus:hover { background: var(--color-accent); color: #fff; }

/* RESPONSIVE MOBILE */
@media (max-width: 768px) {
    .offer-inner-flex {
        flex-direction: column;
        padding: 25px 20px;
        gap: 25px;
    }
    .offer-left-column, .offer-center-photo, .offer-right-column {
        flex: 1 1 100%;
        width: 100%;
        text-align: center;
        padding-left: 0;
    }
    .offer-center-photo img { max-width: 180px; }
    .offer-list li { white-space: normal; text-align: left; }
    .offer-buttons { flex-direction: column; align-items: center; }
    .btn-reserver-inline, .btn-en-savoir-plus { width: 100%; max-width: 250px; }
}

/* ========================================
   BANDEAU MENU STICKY (PUR CSS)
   ======================================== */
.main-menu-band {
  background: var(--color-menu-bg);
  border-bottom: 1px solid var(--color-border-light);
  width: 100%;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: var(--menu-z);
  
  /* Ombres demandées : élégante vers le bas + légère vers le haut */
  box-shadow: 
    0 4px 12px rgba(0, 0, 0, 0.08),   
    0 -10px 20px rgba(0, 0, 0, 0.05); 
}

/* On désactive les anciens systèmes de placeholder/fixed JS */
.main-menu-placeholder { 
    display: none !important; 
}

/* ========================================
   RESPONSIVE MOBILE
   ======================================== */
@media (max-width: 768px) {
    .hero-landscape { height: 22vh; min-height: 160px; }
    .hero-landscape-content h1 { font-size: 1.8rem; }
    
    .tab-btn[data-target="offer-3h"],
    .tab-btn[data-target="offer-2h"] {
        width: 50%;
        min-width: auto;
        padding: 16px 10px;
        font-size: 0.75rem;
    }

    .offer-photo { display: none; }
    .offer-inner-flex { flex-direction: column; padding: 30px 20px; }
    .offer-buttons { flex-direction: column; align-items: center; }
}

/* ============================
   BANDEAU MENU STICKY (CORRIGÉ)
   ============================ */
.main-menu-band {
  margin-top: 0 !important;  
  padding-top: 0 !important;
  background: var(--color-menu-bg);
  border-bottom: 1px solid var(--color-border-light);
  width: 100%;

  /* POSITION STICKY : Se colle en haut uniquement quand on l'atteint */
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: var(--menu-z);

  /* Ombres permanentes : élégante vers le bas + légère vers le haut */
  box-shadow: 
    0 4px 12px rgba(0, 0, 0, 0.08),   /* Ombre vers le bas */
    0 -10px 20px rgba(0, 0, 0, 0.05); /* Ombre vers le haut (effet de passage dessous) */

  transition: box-shadow 0.3s ease;
}

.main-menu-band-inner {  
  width: 100%;  
  margin: 0 auto;  
  display: flex;  
  align-items: center;  
  justify-content: space-between;  
  gap: 20px;  
  padding: 12px 40px;
  max-width: 100%;
}

/* État quand le menu est "collé" (géré par ton JS qui ajoute la classe .fixed) */
.main-menu-band.fixed {
  position: sticky !important; /* On force le maintien du sticky pour éviter le saut */
  box-shadow: 
    0 8px 20px rgba(0, 0, 0, 0.12),   /* Ombre renforcée au scroll */
    0 -10px 20px rgba(0, 0, 0, 0.05);
}

/* On désactive le placeholder car le mode sticky n'en a pas besoin (pas de saut de flux) */
.main-menu-placeholder {  
  display: none !important;
}

.logo-placeholder {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.logo-link {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-decoration: none;
}

.logo-img {
  height: 40px;
  width: auto;
  display: block;
}

.logo-baseline {
  font-family: var(--font-main);
  font-style: italic;
  font-size: 0.87rem;
  color: var(--color-primary);
  letter-spacing: 0.05em;
  margin-top: 6px;
  white-space: nowrap;
}

.main-nav {
  flex: 0 0 auto;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 24px;
  align-items: center;
}

.main-nav li a {
  text-transform: uppercase;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: border-color 0.3s ease;
}

.main-nav li a:hover {
  border-color: var(--color-accent);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  gap: 5px;
  z-index: 1200;
}

.menu-toggle-bar {
  width: 30px;
  height: 4px;
  background: #000;
  border-radius: 3px;
  display: block;
}

.menu-extra-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
}

.menu-extra-buttons a {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: color 0.3s ease;
}

.menu-extra-buttons a:hover {
  color: var(--color-accent);
}

.menu-extra-buttons img {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.btn-lang span {
  line-height: 1;
}

/* ============================
   MENU - MOBILE
   ============================ */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
    flex-direction: column;
  }

  .main-menu-band-inner {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    padding: 8px 12px;
  }

  .logo-placeholder {
    flex-shrink: 0;
  }

  .logo-img {
    height: 30px;
  }

  .logo-baseline {
    font-size: 0.65rem;
    margin-top: 4px;
  }

  .btn-lang-mobile {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    margin-left: 20px;
    white-space: nowrap;
  }

  .btn-lang-mobile img {
    width: 20px;
    height: 20px;
    object-fit: contain;
  }

  .menu-toggle {
    margin-left: auto;
    position: relative;
    right: 16px;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-menu-bg);
    border-bottom: 1px solid var(--color-border-light);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }

  .main-nav.open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    padding: 12px 16px;
    gap: 12px;
  }

  .main-nav li a {
    display: block;
    padding: 8px 0;
    font-size: 0.9rem;
  }

  .menu-extra-buttons {
    display: none;
  }
}

@media (min-width: 769px) {
  .btn-lang-mobile {
    display: none;
  }
}
/* ============================
   SECTION 2 BLOCS (HOME)
   ============================ */
.home-two-columns {
  margin: 0;
  padding: 0;
}

.home-two-columns-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  gap: 0;
}

.column-block {
  position: relative;
  margin: 0;
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  overflow: hidden;
}



.column-block:first-child {  
  background-color: #000;  
  background-image: none;  
  color: #fff;  
  border-right: none;  
}

.column-block:last-child {
  background: #fff;
  color: #000;
}

.home-two-columns h2 {
  font-size: 1.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 60px;
}

.column-block:first-child h2 {
  color: #fff;
}

.column-block:last-child h2 {
  color: #000;
}

/* ============================
   BLOC "VOTRE GUIDE"
   ============================ */
.guide-content-wrapper {  
  width: 100%;  
  align-items: flex-start; /* Aligne tout à gauche (titre excepté qui est centré) */  
}

.guide-title {
  width: 100%;
  text-align: center;
  margin-bottom: 30px;
}

.guide-inner-row {  
  width: 100%;  
  display: block; /* On passe en bloc pour que le texte utilise tout l'espace */  
}

.guide-text {  
  max-width: 100% !important; /* Le texte peut maintenant prendre toute la largeur */  
  margin-right: 0 !important;  /* On supprime la marge de sécurité à droite */  
  text-align: left;  
}

.guide-heading {  
  font-family: var(--font-title);  /* Playfair Display */  
  font-size: 1.8rem;                 
  color: #fff;  
  margin-bottom: 20px;  
  font-weight: 400;                /* Écriture normale, pas de gras */  
  line-height: 1.3;  
  white-space: nowrap;  
  text-transform: none;            /* Désactive la mise en majuscules automatique */  
}

.guide-text-desktop p,
.guide-text-mobile p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 18px;
  color: #fff;
}

.guide-text-desktop {
  display: block;
}

.guide-text-mobile {
  display: none;
}

.guide-photo-mobile {
  display: none;
}

.guide-photo-mobile img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  object-fit: cover;
}

.guide-photo-desktop {
  display: none;
}

.guide-photo-desktop img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 6px;
}

.btn-guide-more {
  display: inline-block;
  margin-top: 10px;
  padding: 12px 25px;
  border: 1px solid #fff;
  color: #fff;
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  border-radius: 999px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-guide-more:hover {
  background: #fff;
  color: #000;
}

@media (min-width: 769px) {
  .guide-photo-desktop {
    display: block;
    flex: 0 0 32%;
  }

  .guide-inner-row {
    align-items: flex-start;
  }

  .guide-text {
    max-width: 60%;
  }
}

@media (max-width: 768px) {
  .guide-photo-desktop {
    display: block;
    width: 100%;
    margin-top: 16px;
  }

  .guide-inner-row {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
  }

  .guide-text {
    max-width: 60%;
    margin-left: 2px;
    margin-right: 0;
    margin-bottom: 4px;
  }
  
  .guide-text-desktop {
  display: none;
}

.guide-text-mobile {
  display: block;
}

  .guide-heading {
    font-size: 0.96rem;
    white-space: normal;
    margin-bottom: 6px;
  }

  .btn-guide-more {
    display: inline-block !important;
    align-self: flex-start;
    margin-left: 6px;
    margin-top: 6px;
    margin-bottom: 2px;
    padding: 8px 18px;
    font-size: 0.78rem;
  }
}

/* ============================
   TESTIMONIALS
   ============================ */
.testimonial {
  margin-bottom: 40px;
}

.testimonial:last-child {
  margin-bottom: 0;
}

.testimonial-text {
  font-family: var(--font-main);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 15px;
  font-style: italic;
}

.testimonial-author {
  font-family: var(--font-main);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0;
  display: block;
}

@media (max-width: 768px) {
  .testimonial {
    margin-bottom: 18px;
  }

  .testimonial-text {
    font-size: 0.88rem;
    line-height: 1.5;
    margin-bottom: 8px;
  }

  .testimonial-author {
    font-size: 0.8rem;
  }
}

.testimonial {
  margin-bottom: 20px;
  min-height: 0; /* pour Firefox */
  flex-shrink: 1;
}

.testimonial-text {
  overflow-wrap: break-word;
  word-break: break-word;
}

/* Hack Firefox */
@-moz-document url-prefix() {
  .testimonial {
    min-height: 0 !important;
  }
}

/* ============================
   SECTION CONTACT & PARTENAIRES
   ============================ */
.contact-partners-section {
  border-top: 1px solid var(--color-border-light);
}

.contact-column {
  background: #fff !important;
  color: #000 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  text-align: left !important;
  padding: 60px 40px;
}

.contact-column h2 {
  color: #000 !important;
  text-align: center;
  width: 100%;
  margin-bottom: 30px;
}

.contact-form-container {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.contact-form label {
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
  color: var(--color-primary);
  text-align: left;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1.5px solid var(--color-border-light);
  border-radius: 8px;
  font-size: 1rem;
  font-family: var(--font-main);
  transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--color-accent);
  outline: none;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.phone-input-wrapper {
  display: flex;
  gap: 10px;
}

.country-code-select {
  background-repeat: no-repeat;
  background-position: 8px center;
  padding-left: 35px;
  background-size: 24px 16px;
}

.phone-input-wrapper input[type="tel"] {
  flex: 1;
}

.btn-contact-submit {
  background-color: var(--color-accent);
  color: #fff;
  padding: 14px 30px;
  border: none;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  text-transform: uppercase;
  transition: background-color 0.3s ease;
  width: 100%;
  margin-top: 10px;
}

.btn-contact-submit:hover {
  background-color: var(--color-accent-hover);
}

/* ============================
   VALIDATION VISUELLE DES CHAMPS
   ============================ */
/* couleurs (fallback si non définies dans :root) */
:root {
  --color-error: #CE0901;
  --color-success: #28a745;
  --field-bg-valid: #fff;
  --field-bg-invalid: #fff;
}

.contact-form input,
.contact-form textarea {
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
  border: 1.5px solid var(--color-border-light);
  background-color: #fff;
}

/* état invalide */
.contact-form input.invalid,
.contact-form textarea.invalid {
  border-color: var(--color-error);
  background-color: var(--field-bg-invalid);
}

/* état valide */
.contact-form input.valid,
.contact-form textarea.valid {
  border-color: var(--color-success);
  background-color: var(--field-bg-valid);
}

/* focus - prioriser visibilité (compatible avec les deux états) */
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
}

.contact-form input.invalid:focus,
.contact-form textarea.invalid:focus {
  box-shadow: 0 0 0 4px rgba(206, 9, 1, 0.08);
  border-color: var(--color-error);
}

.contact-form input.valid:focus,
.contact-form textarea.valid:focus {
  box-shadow: 0 0 0 4px rgba(40, 167, 69, 0.08);
  border-color: var(--color-success);
}

/* message d'aide / erreur sous le champ (si besoin) */
.field-help {
  font-size: 0.85rem;
  color: rgba(0,0,0,0.6);
  margin-top: 6px;
  display: none;
}
.contact-form .show-help .field-help {
  display: block;
}

/* ============================
   MESSAGE DE SUCCÈS DU FORMULAIRE
   ============================ */
.form-success-message {
  text-align: center;
  padding: 32px 18px;
  background: var(--field-bg-valid);
  border-radius: 8px;
  border: 2px solid var(--color-success);
  color: #18311b;
}

.form-success-message h3 {
  font-family: var(--font-title);
  font-size: 1.5rem;
  color: var(--color-success);
  margin: 0 0 10px;
}

.form-success-message p {
  line-height: 1.5;
  margin: 0 0 6px;
  color: #333;
}

.form-success-message strong {
  color: #000;
  font-weight: 700;
}

/* ============================
   COLONNE PARTENAIRES
   ============================ */
.partners-column {
  background: #000;
  color: #fff;
  border-radius: 0;
  padding: 60px 40px;
}

.partners-column h2 {
  color: #fff;
  margin-bottom: 36px;
  text-align: center;
}

.partners-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.partners-placeholder {
  text-align: center;
  font-style: italic;
  color: #ccc;
}

/* ============================
   RWD : CONTACT & PARTENAIRES
   ============================ */
@media (max-width: 768px) {
  .contact-column,
  .partners-column {
    padding: 36px 20px;
  }

  .phone-input-wrapper {
    flex-direction: column;
    gap: 10px;
  }

  .country-code-select {
    flex: 1;
    width: 100%;
  }
}

/* ============================
   UTILITAIRES & RÉSERVATION
   ============================ */
.info-complementaire {
  font-weight: 400;
  font-size: 0.9em;
  opacity: 0.75;
  display: inline-block;
  margin-top: 6px;
}

.light-font {
  font-weight: 300;
}

/* Page Réservation */
.reservation-page {
  padding-top: 40px;
  padding-bottom: 60px;
}

.reservation-hero {
  text-align: center;
  padding: 36px 18px 20px;
}

.reservation-hero-inner h1 {
  font-size: 2.2rem;
  margin-bottom: 14px;
}

.reservation-hero-inner p {
  max-width: 700px;
  margin: 0 auto 10px;
}

.reservation-module-placeholder {
  padding: 20px;
}

.reservation-module-inner {
  max-width: 900px;
  margin: 0 auto;
  border: 1px dashed #ccc;
  border-radius: 6px;
  padding: 28px 18px;
  text-align: center;
}

.reservation-module-inner h2 {
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.reservation-module-coming-soon p {
  margin-top: 10px;
  font-style: italic;
  color: #666;
}

/* ============================
   PAGE MON GUIDE
   ============================ */
.page-template-page-guide .home-two-columns,
.page-template-page-guide .column-block-guide-full {
  background-color: #000;
  color: #fff;
}

.page-template-page-guide .column-block {
  background-color: #000;
}

.page-template-page-guide .home-two-columns-inner {
  display: block;
}

.page-template-page-guide .column-block-guide-full {
  width: 100%;
}

body.page-template-page-guide {
  background-color: #000;
}

/* ============================
   RESPONSIVE - MOBILE GLOBAL
   ============================ */
@media (max-width: 768px) {
  .home-two-columns-inner {
    grid-template-columns: 1fr;
  }

  .column-block {
    padding: 24px 18px 28px 18px;
    height: auto;
    aspect-ratio: auto;
  }

  .home-two-columns h2 {
    font-size: 1.4rem;
    margin-bottom: 16px;
  }

  .column-block:first-child {  
    border-right: none;  
    border-bottom: none;  
    background-color: #000;  
    background-image: none;  
  }  

  .guide-content-wrapper {
    width: 100%;
    align-items: flex-start;
    padding-top: 4px;
    padding-left: 4px;
    padding-right: 0;
  }

  .guide-title {
    width: 100%;
    text-align: center;
    margin-bottom: 8px;
  }
}

/* ============================
   FIX BOUTON MOBILE + CHAMPS PAR DÉFAUT
   ============================ */
@media (max-width: 768px) {
  .btn-contact-submit {
    display: block !important;
    width: 100% !important;
    margin-top: 15px !important;
    padding: 14px 20px !important;
    font-size: 0.95rem !important;
  }
}

/* éviter les bordures rouges au chargement (état neutre) */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
  border-color: var(--color-border-light);
  background-color: #fff;
}

/* ============================
   FORCE LE BLOC PARTENAIRES EN NOIR
   ============================ */
.partners-column {
  background-color: #000 !important;
  color: #fff !important;
  padding: 60px 40px !important;
}

.partners-column h2 {
  color: #fff !important;
  margin-bottom: 36px !important;
  text-align: center !important;
}

.partners-placeholder {
  color: #ccc !important; /* Gris clair pour le texte d'attente sur fond noir */
  text-align: center !important;
  font-style: italic !important;
}

/* Ajustement mobile pour le bloc partenaires */
@media (max-width: 768px) {
  .partners-column {
    padding: 36px 20px !important;
  }
}

/* ----
   Country select custom (flag + indicatif) - CORRIGÉ
   ---- */

/* Masque le select natif mais le laisse accessible pour le formulaire */
.contact-form .country-code-select {  
  display: none !important;  
}

/* Wrapper du composant custom */
.country-select-custom {
  position: relative;
  z-index: 3000;
  user-select: none;
  cursor: pointer;
  min-width: 120px;
  border: 1.5px solid var(--color-border-light);
  border-radius: 8px;
  background: #fff;
  height: 40px;
  line-height: 40px;
  padding: 0 12px;
  display: inline-block;
  outline: none;
}

.country-select-custom:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* Bouton sélectionné : drapeau + code */
.country-select-selected {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  font-weight: 600;
  color: var(--color-primary);
}

/* Liste déroulante */
.country-select-list {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 180px;
  max-height: 200px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid var(--color-border-light);
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  z-index: 4000;
  display: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease;
}

.country-select-custom.open .country-select-list {
  display: block;
  opacity: 1;
  visibility: visible;
}

/* Item (ligne) du menu déroulant */
.country-select-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--color-primary);
  line-height: 1.3;
}

.country-select-item:hover,
.country-select-item:focus {
  background: rgba(0,0,0,0.04);
}

/* Drapeau : conserver proportions */
.country-select-flag {
  height: 18px;
  width: auto;
  display: inline-block;
  flex: 0 0 auto;
  border-radius: 2px;
  object-fit: cover;
}

/* Icône flèche */
.country-select-arrow {  
  margin-left: 8px;  
  font-size: 12px;  
  color: #666;  
  transform: translateY(1px);  
}

/* Mobile : largeur adaptative */
@media (max-width: 480px) {
  .country-select-list {
    left: auto;
    right: 0;
    min-width: 160px;
  }
}

/* === FORMULAIRE HOMEPAGE : Harmonisation parfaite avec page Contact === */
.home-two-columns .contact-column .contact-form-container {
  max-width: 650px;
  margin: 0 auto;
  padding: 20px 0;
}

.home-two-columns .contact-column .form-group {
  margin-bottom: 20px !important;
}

.home-two-columns .contact-column label {
  display: block !important;
  margin-bottom: 6px !important;
  font-weight: 600 !important;
  color: var(--color-primary) !important;
  text-align: left !important;
}

/* Force la hauteur identique pour TOUS les éléments de saisie */
.home-two-columns .contact-column input,
.home-two-columns .contact-column textarea,
.home-two-columns .contact-column select,
.home-two-columns .contact-column .country-select-custom {
  width: 100% !important;
  padding: 12px !important;
  border: 1.5px solid var(--color-border-light) !important;
  border-radius: 8px !important;
  font-size: 1rem !important;
  font-family: var(--font-main) !important;
  box-sizing: border-box !important;
  height: 44px !important;
  line-height: normal !important;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  background: #fff !important;
}

/* États de validation (Vert / Rouge) */
.home-two-columns .contact-column input.valid,
.home-two-columns .contact-column textarea.valid {
  border-color: #28a745 !important;
}

.home-two-columns .contact-column input.invalid,
.home-two-columns .contact-column textarea.invalid {
  border-color: #CE0901 !important;
}

/* Ajustement spécifique pour le composant d'indicatif */
.home-two-columns .contact-column .country-select-custom {
  display: flex !important;
  align-items: center !important;
  padding: 0 12px !important;
  cursor: pointer !important;
  position: relative !important;
}

.home-two-columns .contact-column .country-select-selected {
  display: flex !important;
  align-items: center !important;
  height: 100% !important;
  width: 100% !important;
}

.home-two-columns .contact-column textarea {
  height: auto !important;
  min-height: 120px !important;
}

.home-two-columns .contact-column .phone-input-wrapper {
  display: flex !important;
  gap: 10px !important;
  align-items: center !important;
}

.home-two-columns .contact-column .country-select-wrapper {
  flex: 0 0 130px !important;
}

.home-two-columns .contact-column #phone {
  flex: 1 !important;
}

/* Bouton d'envoi : Largeur ajustée */
.home-two-columns .contact-column .btn-contact-submit {
  background: var(--color-accent) !important;
  color: #fff !important;
  padding: 12px 35px !important;
  border: none !important;
  border-radius: 999px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  display: block !important;
  margin: 30px auto 0 !important;
  width: auto !important;
  min-width: 200px !important;
  text-transform: uppercase !important;
  height: auto !important;
  transition: background 0.3s ease !important;
}

.home-two-columns .contact-column .btn-contact-submit:hover {
  background: var(--color-accent-hover) !important;
}

/* Menu déroulant des pays */
.home-two-columns .contact-column .country-select-list {
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  right: 0 !important;
  background: #fff !important;
  border: 1px solid var(--color-border-light) !important;
  max-height: 200px !important;
  overflow-y: auto !important;
  z-index: 9999 !important;
  border-radius: 8px !important;
  margin-top: 5px !important;
  display: none;
}

.home-two-columns .contact-column .country-select-custom.open .country-select-list {
  display: block !important;
}

.home-two-columns .contact-column .country-select-item {
  display: flex !important;
  align-items: center !important;
  padding: 10px !important;
  cursor: pointer !important;
  font-size: 0.9rem !important;
}

.home-two-columns .contact-column .country-select-item:hover {
  background: #f1f1f1 !important;
}

.home-two-columns .contact-column .country-select-item img {
  width: 20px !important;
  margin-right: 8px !important;
}

@media (max-width: 768px) {
  .home-two-columns .contact-column .phone-input-wrapper {
    flex-direction: row !important;
  }
  .home-two-columns .contact-column .btn-contact-submit {
    width: 100% !important;
  }
}

/* ================================
   ONGLET OFFRES – VISIBILITÉ
   ================================ */

/* Par défaut : TOUT est caché */
.offer-content {
    display: none !important;
}

/* Seule l'offre active est visible */
.offer-content.active {
    display: block !important;
}

/* Harmonisation des titres de blocs */  
.column-block h2,   
.contact-column h2,   
.partners-column h2 {  
  font-family: var(--font-title) !important; /* Playfair Display */  
  font-size: 2rem !important;               /* Taille unique pour tous */  
  text-transform: uppercase !important;      /* Tout en majuscules */  
  letter-spacing: 0.1em !important;          /* Un peu d'espace entre les lettres */  
  margin-bottom: 50px !important;            /* Marge identique sous le titre */  
  font-weight: 600 !important;               /* Semi-gras pour l'impact */  
  width: 100%;  
  text-align: center;  
}  
  
/* Ajustement pour le titre "VOTRE GUIDE" qui est dans un wrapper */  
.guide-title {  
  margin-bottom: 50px !important;  
}

/* Titre du bloc VOTRE GUIDE : en blanc sur fond noir */  
.column-block.guide-block .guide-title {  
  color: #fff !important;  
}

/* Uniformisation de la marge haute de tous les blocs */
.column-block, 
.contact-column, 
.partners-column {
  padding-top: 50px !important;    /* Espace entre le bord haut et le titre */
  padding-bottom: 50px !important; /* Espace en bas pour l'équilibre */
  padding-left: 40px;
  padding-right: 40px;
}

/* On s'assure que le wrapper interne du guide ne rajoute pas de marge parasite */
.guide-content-wrapper {
  padding-top: 0 !important;
  margin-top: 0 !important;
}