/*!
Theme Name: Le Cocon du Pont Rouge
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: le-cocon-du-pont-rouge
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/*=============================================================
SOMMAIRE
===============================================================
1. VARIABLES RESET
2. VARIABLES
3. UTILITAIRES
4. HEADER & NAVIGATION
5. FOOTER
6. INDEX 
7. LEGALE (CGV/ MENTIONS LEGALES)
8. PAGE 404
*/

/* ============================================================
   1. VARIABLES RESET
   ============================================================ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

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

main {
    margin: 0;
    padding: 0;
}

img, picture, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: var(--couleur-texte);
  transition: color var(--transition-rapide);
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 6px;
}

/* Resets ciblés pour navigation et listes structurelles */
nav ul,
.footer-colonnes ul,
.coordonnees ul,
.dots {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

/* ============================================================
   2. VARIABLES
   ============================================================ */

:root {
  /* Couleurs RGB (pour rgba) */
  --primaire-rgb: 182, 89, 59;
  --secondaire-rgb: 198, 146, 20;
  --accent-rgb: 212, 168, 71;
  --fond-sombre-rgb: 51, 63, 72;
  --fond-clair-rgb: 255, 250, 235;
  --texte-rgb: 46, 46, 46;
  --nav-rgb: 255, 253, 249;

  /* Couleurs prêtes à l'emploi */
  --couleur-primaire: rgb(var(--primaire-rgb));
  --couleur-secondaire: rgb(var(--secondaire-rgb));
  --couleur-accent: rgb(var(--accent-rgb));
  --couleur-fond-sombre: rgb(var(--fond-sombre-rgb));
  --couleur-fond-clair: rgb(var(--fond-clair-rgb));
  --couleur-texte: rgb(var(--texte-rgb));
  --couleur-nav: rgb(var(--nav-rgb));

  /* Typographie */
  --police-titre: "Cormorant Garamond", serif;
  --police-corps: "DM Sans", sans-serif;

  /* Espacements (échelle de 8) */
  --espacement-xs: 0.5rem;
  --espacement-sm: 1rem;
  --espacement-md: 2rem;
  --espacement-lg: 4rem;
  --espacement-xl: 6rem;
  --espacement-2xl: 8rem;

  /* Bordures */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  /* Ombres */
  --ombre-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --ombre-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --ombre-lg: 0 10px 30px rgba(0, 0, 0, 0.12);

  /* Transitions */
  --transition-rapide: 0.2s ease;
  --transition-douce: 0.4s ease;

  /* Largeurs */
  --largeur-max: 1200px;

  color-scheme: light;
}

/* ============================================================
   3. UTILITAIRES ET COMPOSANT GLOBAUX
   ============================================================ */

/* ============================================================
   TYPOGRAPHIE
   ============================================================ */
body {
  font-family: var(--police-corps);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--couleur-texte);
  background: var(--couleur-fond-clair);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--police-titre);
  font-weight: 400;
  margin: 0;
  text-wrap: balance;
}

h1 { font-size: clamp(2.2rem, 5vw + 1rem, 4rem); font-weight: 300; line-height: 1.1; }
h2 { font-size: clamp(1.8rem, 3vw + 1rem, 2.8rem); line-height: 1.2; }
h3 { font-size: clamp(1.4rem, 2vw + 0.8rem, 1.8rem); line-height: 1.3; }
h4 { 
  font-size: clamp(1rem, 1vw + 0.7rem, 1.2rem); 
  line-height: 1.4; 
  text-transform: uppercase; 
  letter-spacing: 0.05em; 
}

p {
  text-wrap: pretty;
}

/* ============================================================
   ACCESSIBILITÉ
   ============================================================ */
.skip-link {
  position: absolute;
  top: 0;
  left: -9999px;
  background: var(--couleur-fond-sombre);
  color: var(--couleur-fond-clair);
  padding: var(--espacement-xs) var(--espacement-sm);
  z-index: 1000;
  transition: top var(--transition-rapide);
  border-radius: 0 0 var(--radius-sm) 0;
}

.skip-link:focus {
  left: 0;
  text-decoration: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ============================================================
   SECTIONS COMMUNES
   ============================================================ */
.section-conteneur {
  padding: var(--espacement-xl) var(--espacement-sm);
}

.section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--espacement-md);
  gap: var(--espacement-sm);
}

/* Modificateurs de couleur appliqués DIRECTEMENT sur .section-header */
.section-header.section-dark {
  background-color: var(--couleur-fond-sombre);
  color: var(--couleur-fond-clair);
}

.section-header.section-light {
  background-color: var(--couleur-fond-clair);
  color: var(--couleur-texte);
}

.section-header h2 {
  position: relative;
  padding-bottom: var(--espacement-sm);
  margin: 0;
}

.section-header h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--couleur-secondaire);
  border-radius: var(--radius-sm);
}

.section-title {
  font-family: var(--police-titre);
  font-size: 1rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ============================================================
   BOUTONS
   ============================================================ */
.btn {
  display: inline-block;
  padding: 12px 24px;                /* padding par défaut */
  background: var(--couleur-primaire);
  color: white;
  border-radius: var(--radius-full);
  border: 1px solid var(--couleur-accent);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  transition: all var(--transition-douce);
  box-shadow: var(--ombre-md);
  cursor: pointer;
}

.btn:hover {
  background: var(--couleur-secondaire);
  color: var(--couleur-fond-clair);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--ombre-lg);
}

.btn:focus-visible {
  outline: 2px solid var(--couleur-accent);
  outline-offset: 3px;
}

.btn-small {
  padding: 7px 16px;
  font-size: 0.85rem;
}

.btn-large {
  padding: 14px 32px;
  margin: var(--espacement-sm) 0;
  font-size: 0.95rem;
  max-width: fit-content;
  align-self: flex-start;
}

.contenu {
  color: var(--couleur-accent);
  font-size: 1.1rem;
  font-weight: 600;
}

/* ============================================================
   SCROLL TO TOP
   ============================================================ */
#scrollTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  background: rgba(var(--fond-sombre-rgb), 0.8);
  color: white;
  border: 1px solid var(--couleur-accent);
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-douce);
  z-index: 999;
}

#scrollTop.visible {
  opacity: 1;
  visibility: visible;
}

#scrollTop:hover {
  background: rgba(var(--secondaire-rgb), 0.9);
  transform: translateY(-3px);
}

#scrollTop:focus-visible {
  outline: 2px solid var(--couleur-accent);
  outline-offset: 3px;
}

/* ============================================================
   COOKIES YES
   ============================================================ */

.cky-title {
	color: var(--couleur-texte) !important;
}

.cky-btn-customize {
	color: var(--couleur-texte) !important;
}

.cky-notice-des p {
	color: var(--couleur-texte) !important;
}

.cky-btn-reject {
	color: var(--couleur-texte) !important;
}

.cky-btn-preferences {
	color: var(--couleur-texte) !important;
}

.cky-btn {
	border: solid 1px var(--couleur-accent) !important;
	border-radius: 25px !important;
}

.cky-btn-accept {
	background-color: var(--couleur-primaire) !important;
}

/* ============================================================
   1. HEADER & NAVIGATION
   ============================================================ */

header {
  display: flex;
  flex-direction: column;
  background: rgba(var(--nav-rgb), 0.9);
  position: sticky;
  top: 0;
  z-index: 100;
}

/* --- Header top --- */
.header-top {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: flex-start;
  background-color: var(--couleur-fond-sombre);
  border-bottom: 1px solid rgba(var(--texte-rgb), 0.2);
  padding: 3px 35px;
  font-size: 0.85rem;
  font-weight: 300;
  transition: max-height var(--transition-douce), opacity var(--transition-douce), padding var(--transition-douce);
  max-height: 60px;
  overflow: hidden;
  opacity: 1;
  box-shadow: var(--ombre-sm);
}

header.scrolled .header-top {
  max-height: 0;
  opacity: 0;
  padding-top: 0;
  padding-bottom: 0;
}

.header-item {
  display: flex;
  align-items: center;
  gap: var(--espacement-xs);
  padding: 12px 20px;
  border-right: 1px solid rgba(var(--accent-rgb), 0.6);
  color: var(--couleur-primaire);
}

.header-item--last {
  border-right: none;
}

.header-item i {
  font-size: 0.85rem;
  opacity: 0.7;
}

.header-address {
  color: var(--couleur-fond-clair);
  font-size: 0.9rem;
}

.header-tel,
.header-email {
  color: var(--couleur-fond-clair);
}

.header-tel:hover,
.header-email:hover {
  color: var(--couleur-accent);
  text-decoration: underline;
}

/* --- Navbar --- */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 80px;
  padding: 0 40px;
  box-shadow: var(--ombre-sm);
  border-top: 1px solid rgba(var(--texte-rgb), 0.1);
}

.navbar .logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.navbar .logo img {
  width: 150px;
  height: auto;
}

.navbar .nav-links {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.navbar .nav-links ul {
  display: flex;
  align-items: center;
}

.navbar .nav-links ul li {
  margin: 0 15px;
  text-transform: uppercase;
  color: var(--couleur-texte);
  white-space: nowrap;
}

.navbar .nav-links a:not(.btn):hover {
  color: var(--couleur-accent);
  font-weight: 600;
  text-decoration: none;
}

.navbar .menu-hamburger {
  display: none;
  color: var(--couleur-accent);
  position: absolute;
  right: 40px;
  top: 55px;
  font-size: 1.5rem;
  cursor: pointer;
}

.nav-item-mobile {
  display: none;
}

/* ============================================================
   5. FOOTER
   ============================================================ */

.footer-section {
  background: var(--couleur-fond-sombre);
}

/* --- Footer coordonnées --- */
.footer-coordonnees {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  background: var(--couleur-fond-sombre);
  margin-top: var(--espacement-lg);
  padding: 12px;
  box-shadow: var(--ombre-md);
}

.tel {
  border-right: 2px solid rgba(var(--secondaire-rgb), 0.5);
  border-left: 2px solid rgba(var(--secondaire-rgb), 0.5);
}

.coordonnees ul {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 20px;
}

.coordonnees a,
.coordonnees ul li {
  color: var(--couleur-fond-clair);
  text-align: center;
  font-size: 0.85rem;
  font-weight: 300;
}

.coordonnees a:hover {
  color: var(--couleur-secondaire);
}

.coordonnees p {
  color: var(--couleur-secondaire);
  text-align: center;
  letter-spacing: 1.5px;
  font-size: 0.85rem;
  font-weight: 600;
}

.coordonnees i {
  color: rgba(var(--primaire-rgb), 0.65);
  font-size: 1rem;
}

/* --- Footer 3 colonnes --- */
.footer-colonnes {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  padding: 0 50px;
}

.colonnes {
  padding: 10px 20px;
}

.colonnes h3 {
  position: relative;
  color: var(--couleur-fond-clair);
  padding-bottom: 15px;
}

.colonnes h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: rgba(var(--secondaire-rgb), 0.65);
  border-radius: var(--radius-sm);
}

.colonnes:first-child {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

.colonnes ul li {
  position: relative;
  padding-left: 18px;
  padding-top: 20px;
}

.colonnes a {
  color: var(--couleur-fond-clair);
  padding: 8px;
}

.colonnes a:hover {
  color: var(--couleur-secondaire);
}

.dote {
  color: rgba(var(--primaire-rgb), 0.65);
  padding-right: 10px;
  font-size: 8px;
}

.colonnes img {
  display: block;
  height: auto;
  margin: auto;
  width: 75%;
  max-width: 500px;
}

/* Carte iframe — ciblage spécifique */
.colonnes iframe,
.carte-iframe {
  display: block;
  width: 100%;
  height: 200px;
  border-radius: var(--radius-md);
  padding-top: 20px;
  border: none;
}

/* --- Footer bottom --- */
.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(var(--secondaire-rgb), 0.5);
  padding: 20px;
  margin-top: 30px;
}

.footer-bottom p {
  color: var(--couleur-fond-clair);
  margin: 0;
  font-size: 0.75rem;
}

/* ============================================================
   6. INDEX
   ============================================================ */

/* ============================================================
   SECTION HERO
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
  height: 100dvh;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 0.5) 50%,
    rgba(0, 0, 0, 0.2) 100%
  );
  z-index: 1;
}

.accueil-carousel {
	display: block;	
	position: relative;
	width: 100%;
	height: 100%;
}

.hero-mobile { display: none; }

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


.hero-titre {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  z-index: 2;
  width: 90%;
  max-width: 800px;
}

.hero-surtitre {
  font-family: var(--police-titre);
  font-size: 1.8rem;
  color: var(--couleur-fond-clair);
  line-height: 1.3;
}

/* ============================================================
   SECTION HERO CAROUSEL
   ============================================================ */

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
}

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

/* Boutons prev / next */
.prev,
.next {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(51, 63, 72, 0.8);
  color: white;
  border: none;
  font-size: 1.2rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 3;
  transition: background 0.3s ease;
  padding: 0;
  line-height: 1;
}

.prev { left: 20px; }
.next { right: 20px; }

.prev:hover,
.next:hover {
  background: rgba(80, 88, 99, 0.5);
}

/* Dots */
.dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 3;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(var(--fond-clair-rgb), 0.5);
  cursor: pointer;
  transition: background 0.3s ease;
}

.dot.active {
  background: var(--couleur-secondaire);
}

/* ============================================================
   SECTION PRÉSENTATION
   ============================================================ */
.presentation {
  background-color: var(--couleur-fond-sombre);
}

.presentation-contenu {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: var(--espacement-lg);
  gap: 80px;
}

.presentation-texte {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: var(--espacement-lg);
  gap: 15px;
  text-align: justify;
  font-weight: 300;
}

.presentation-texte p {
  color: var(--couleur-fond-clair);
}

.presentation-photo {
  flex: 1;
}

.presentation-photo img {
  max-width: 500px;
  width: 100%;
  border-radius: 4px;
  display: block;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

/* Infos (icônes) */
.info-contenu {
  width: 100%;
  max-width: 600px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  gap: var(--espacement-md);
  padding: 0 var(--espacement-sm) var(--espacement-sm);
}

.info-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--espacement-md);
  list-style: none;
  padding: 0;
}

.info-item li {
  display: flex;
  align-items: center;
  gap: 15px;
  color: var(--couleur-fond-clair);
  font-weight: 600;
}

.info-item i {
  color: rgba(var(--primaire-rgb), 0.6);
  font-size: 1.2rem;
}

.cta-presentation {
  display: inline-block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 50px;
  border: solid 1px rgba(var(--accent-rgb) 0.8);
  margin-top: var(--espacement-xs);
}

.cta-presentation:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* ============================================================
   GALERIE PHOTO (avec PhotoSwipe)
   ============================================================ */

.accueil-photo {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--espacement-sm);
}

/* Chaque carte photo : ratio fixé, largeur adaptative */
.lien-conteneur-photo {
  position: relative;
  display: block;
  aspect-ratio: 3 / 2;        /* ⬅️ Ratio sur le CONTENEUR */
  overflow: hidden;
  border-radius: 4px;
  cursor: pointer;
}

/* L'image remplit le cadre sans déformation */
.lien-conteneur-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}

/* Effet zoom au survol (style Airbnb) */
.lien-conteneur-photo:hover img {
  transform: scale(1.05);
}

/* Overlay au survol */
.photo-hover {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  color: var(--couleur-fond-clair);
  background-color: rgba(var(--texte-rgb), 0.7);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;       /* ⬅️ Laisse passer le clic */
  z-index: 2;
}

.photo-hover i {
  margin-right: 10px;
}

.lien-conteneur-photo:hover .photo-hover {
  opacity: 0.75;
}



/* ============================================================
   SECTION DISPONIBILITÉ
   ============================================================ */
.disponibilite {
  padding: var(--espacement-lg) var(--espacement-sm);
  background-color: var(--couleur-fond);
  text-align: center;
}

.disponibilite-contenu {
  max-width: 1000px;
  margin: 0 auto;
}

.hb-dp-cmd-wrapper  {
  background: var(--couleur-primaire);
}
/* ============================================================
   SECTION À DÉCOUVRIR
   ============================================================ */
.container-decouvrir {
  background-color: var(--couleur-fond-sombre);
}

.section-decouvrir {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1300px;
  margin: 0 auto;
  padding: var(--espacement-lg);
  align-items: stretch;
}

.section-decouvrir img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
  border-radius: 4px;
  margin-bottom: var(--espacement-md);
}

.decouvrir-titre {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3em;       
  font-size: 20px;
  text-transform: uppercase;
  color: var(--couleur-fond-clair);
}

.decouvrir-contenu {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.decouvrir-contenu p {
  color: var(--couleur-fond-clair);
  text-align: left;
  padding-top: 20px;
}

.btn-decouv {
  margin-top: auto;
  padding-top: 30px;
}

.btn-decouv a {
  display: inline-block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 12px 18px;
  border: 0.5px solid var(--couleur-secondaire);
  text-transform: none;
  font-size: 18px;
}

.btn-decouv a:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.img-decouv {
  display: block;
  overflow: hidden;
  border-radius: 4px;
}

.img-decouv img {
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.img-decouv:hover img {
  transform: scale(1.05);
  opacity: 0.75;
}

/* ============================================================
   SECTION TARIF
   ============================================================ */
.tarifs {
  padding: var(--espacement-lg) var(--espacement-sm);
}
.hb-rates-table {
  width: 100%;
  max-width: 1200px;
  border-collapse: collapse;
  background: #fff;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.hb-rates-table thead {
  background-color: var(--couleur-fond-sombre);
  color: var(--couleur-fond-clair);
}

.hb-rates-table thead th {
  padding: 18px 15px;
  text-align: center;
  font-family: var(--police-titre);
  font-size: 1.1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hb-rates-table tbody td {
  padding: 16px 15px;
  text-align: center;
  border-top: 1px solid rgba(var(--secondaire-rgb), 0.70);
  border-left: 1px solid rgba(var(--secondaire-rgb), 0.70);
  color: var(--couleur-fond-sombre);
  
}

.hb-rates-table tbody td:first-child:not(.hb-rate-date) {
  font-weight: 600;
  padding-left: 25px;
  text-align: left;
  vertical-align: middle;
  border-right: none;
  border-left: none;
}

.hb-rate-date {
  font-family: var(--police-corps);
  font-size: 0.95rem;
}

.hb-rate-price {
  font-family: var(--police-titre);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--couleur-secondaire);
}

/* Informations tarifaires */
.inf-price {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--espacement-lg) var(--espacement-sm) 0;
  text-align: left;
}

.inf-price h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--couleur-texte);
  position: relative;
  padding-bottom: 12px;
  display: inline-block;
}

.inf-price h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  transform: translateX(5px);
  width: 60px;
  height: 3px;
  background-color: var(--couleur-secondaire);
  border-radius: 2px;
}

.inf-price ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 30px 0 0 0;
  list-style: none;
}
.inf-price ul li .dote {
  position: absolute;
  left: 0;
  top: 8px;
}

.inf-price ul li {
  line-height: 1.6;
  position: relative;
  padding-left: 22px;
  text-align: left;
}

.inf-price span {
  font-weight: 600;
}




/* ============================================================
   SECTION CONTACT
   ============================================================ */
.contact {
  background-color: var(--couleur-fond-sombre);
  color: var(--couleur-fond-clair);
}

/* Wrapper grille 2 colonnes */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
  max-width: 1300px;
  margin: 0 auto;
  padding: var(--espacement-lg) var(--espacement-sm);
  align-items: stretch;
}

/* ============================================================
   BLOC COORDONNÉES (à remplacer par WPForms à terme)
   ============================================================ */
.contact-coords {
  background: rgba(var(--fond-clair-rgb), 0.04);
  border: 1px solid rgba(var(--accent-rgb), 0.3);
  border-radius: 12px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.contact-coords h3 {
  font-family: var(--police-titre);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--couleur-accent);
  margin: 0;
  position: relative;
  padding-bottom: 12px;
}

.contact-coords h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--couleur-secondaire);
  border-radius: 2px;
}

/* ========================================
   FORMULAIRE FORMINATOR - CONTACT
   On laisse Forminator gérer layout/espacements
   On personnalise UNIQUEMENT le style visuel
   ======================================== */

/* ========================================
   LABELS
   ======================================== */
#forminator-module-145 .forminator-label {
  display: flex;
  align-items: center;
  color: #ffffff;
  font-weight: 600;
}

#forminator-module-145 .forminator-required {
  color: var(--couleur-primaire);
}

/* Icônes Font Awesome */
#forminator-module-145 .forminator-field-name .forminator-label::before,
#forminator-module-145 .forminator-field-email .forminator-label::before,
#forminator-module-145 .forminator-field-phone .forminator-label::before,
#forminator-module-145 .forminator-field-textarea .forminator-label::before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--couleur-primaire);
  margin-right: 10px;
  flex-shrink: 0;
}

#forminator-module-145 .forminator-field-name .forminator-label::before {
  content: "\f007";
}
#forminator-module-145 .forminator-field-email .forminator-label::before {
  content: "\f0e0";
}
#forminator-module-145 .forminator-field-phone .forminator-label::before {
  content: "\f095";
}
#forminator-module-145 .forminator-field-textarea .forminator-label::before {
  content: "\f11c";
  font-weight: 400;
}

/* ========================================
   INPUTS + TEXTAREA (style visuel seulement)
   ======================================== */
#forminator-module-145 .forminator-input,
#forminator-module-145 .forminator-textarea {
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 3px;
  color: #2c2c2c;
  font-family: inherit;
  transition: border-color 0.25s, box-shadow 0.25s;
}

#forminator-module-145 .forminator-input::placeholder,
#forminator-module-145 .forminator-textarea::placeholder {
  color: #8a8a8a;
  opacity: 1;
}

#forminator-module-145 .forminator-input:focus,
#forminator-module-145 .forminator-textarea:focus {
  border-color: var(--couleur-primaire);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.25);
}

/* ========================================
   BOUTON SUBMIT (style visuel seulement)
   ======================================== */
#forminator-module-145 .forminator-button-submit {
  background: var(--couleur-primaire);
  border: solid 1px rgba(var(--accent-rgb), 0.9);
  border-radius: 6px;
  color: var(--couleur-fond-clair);
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

#forminator-module-145 .forminator-button-submit:hover {
  background: var(--couleur-accent);
  transform: translateY(-3px);
}

#forminator-module-145 .forminator-button-submit:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 2px;
}

/* ========================================
   CONSENTEMENT - Seule
   ======================================== */
.forminator-checkbox__wrapper a{
	font-family:  var(--police-corps);
	color : #FFF;
	text-decoration : underline;
}

.forminator-checkbox__wrapper a:hover{
	color : var(--couleur-accent);
	text-decoration : none; 
}

/* ============================================================
   CARTE GOOGLE MAPS
   ============================================================ */
.contact-map {
  border-radius: 12px;
  overflow: hidden;
  min-height: 400px;
  box-shadow: rgba(0, 0, 0, 0.3) 0px 7px 29px 0px;
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: 0;
}

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

.section-testimonial{
  height: 100%;
  margin: 0;
  padding: 80px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  
}

.testimonial-container {
  width: 100%;
  max-width: 1200px;
  padding: 2rem;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
}

.image-container {
  position: relative;
  width: 100%;
  height: 24rem;
  perspective: 1000px;
}

.testimonial-image {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.testimonial-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px 0;
  border-bottom: solid 1px rgba(var(--accent-rgb), 0.80);
  border-top: solid 1px rgba(var(--accent-rgb), 0.80);
  margin: 0 80px;
}

.name {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--couleur-texte);
  margin-bottom: 0.25rem;
}

.designation {
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(var(--texte-rgb), 0.5);
  margin-bottom: 2rem;
}

.quote {
  font-size: 1.125rem;
  color: rgba(var(--texte-rgb), 0.7);
  line-height: 1.75;
}

.arrow-buttons {
  display: flex;
  gap: 1rem;
  padding-top: 3rem;
}

.arrow-button {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background-color: rgba(var(--primaire-rgb), 0.90);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s;
}

.arrow-button:hover {
  background-color: rgba(var(--accent-rgb), 0.85);
}

.arrow-button svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: #f1f1f7;
  transition: transform 0.3s;
}

.arrow-button:hover svg {
  fill: #ffffff;
}

.prev-button:hover svg {
  transform: rotate(-12deg);
}

.next-button:hover svg {
  transform: rotate(12deg);
}

/* ============================================================
   SECTION RÉSERVATION
   ============================================================ */
.reservation {
  padding: 80px 20px;
  background-color: var(--couleur-fond-clair);
}

.reservation .section-header {
  text-align: center;
  margin-bottom: 50px;
}

.reservation .section-title {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--couleur-texte);
  margin-bottom: 15px;
}

.reservation h2 {
  font-size: 2.5rem;
  font-family: var(--police-titre);
  color: var(--couleur-texte);
  margin: 0;
  position: relative;
  padding-bottom: 20px;
}

/* Trait doré sous le titre */
.reservation h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--couleur-secondaire);
}
/*======formulaire Hbook ======*/

.hb-title{
  font-family: var(--police-corps);
  font-size: 1.3rem;
  padding: var(--espacement-sm) 0;
  border-bottom: solid 3px rgba(var(--accent-rgb), 0.50);
  margin: var(--espacement-sm) 0;
}

.hb-search-form-title {
  padding-left: 0; /* aligner avec les champs */
}

.hb-search-fields {
  margin-top: 30px;
}

.hb-input-datepicker,
.hb-accom-number,
.hb-adults,
.hb-children {
  border-width: 1.5px; 
}

.hb-column-half, .hb-explanation {
  padding: 15px 0;
}

.hb-search-fields select,
.hb-search-fields .hb-input-datepicker, 
.hb-detail-field {
  border: 1.5px solid var(--couleur-primaire);
  border-radius: 8px;
  padding: 12px 15px;
  color: var(--couleur-texte);
  background-color: var(--couleur-fond-clair);
}

.hb-adults:focus,
.hb-children:focus,
.hb-accom-number:focus,
.hb-input-datepicker:focus, 
.hb-detail-field:focus {
  border-color: var(--couleur-accent);
  outline: none;
}

/* ===== Fix Safari : forcer le style des select ===== */
.hb-search-fields select,
.hb-adults,
.hb-children,
.hb-accom-number {
  -webkit-appearance: none;   /* Safari : coupe le style natif */
  -moz-appearance: none;
  appearance: none;

  /* On réapplique TA bordure exacte */
  border: 1.5px solid var(--couleur-primaire);
  border-radius: 8px;
  padding: 12px 40px 12px 15px; /* +espace à droite pour la flèche */
  background-color: var(--couleur-fond-clair);
  color: var(--couleur-texte);
  height: auto;

  /* Flèche personnalisée (car appearance:none la supprime) */
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8'><path d='M1 1l5 5 5-5' fill='none' stroke='%23333333' stroke-width='2'/></svg>");
  background-repeat: no-repeat;
  background-position: right 15px center;
}

/* ========== FIX SELECTIZE - Supprime double bordure pays ========== */
/* Ciblage du conteneur Selectize généré */
.selectize-control.single.hb-country-iso-select {
  border: none;
  background: none;
  padding: 0;
}

.selectize-control.single.hb-country-iso-select .selectize-input {
  border: 1.5px solid var(--couleur-primaire);
  border-radius: 8px;
  padding: 12px 15px;
  color: var(--couleur-texte);
  background-color: var(--couleur-fond-clair);
  line-height: 1.5;
  font-size: 1rem;
}

.selectize-control.single.hb-country-iso-select .selectize-input:focus-within {
  border-color: var(--couleur-accent);
  outline: none;
}

.selectize-control.single.hb-country-iso-select .selectize-input.input-active {
  border-color: var(--couleur-accent);
}

/* Alternative si le sélecteur ci-dessus ne marche pas */
.hb-country-iso-select.selectized + .selectize-control .selectize-input {
  border: 1.5px solid var(--couleur-primaire);
  border-radius: 8px;
  padding: 12px 15px;
  color: var(--couleur-texte);
  background-color: var(--couleur-fond-clair);
}
/* ========== FIX SELECTIZE ========== */

/* ========== FIX SELECTIZE DROPDOWN SCROLL ========== */

/* S'assurer que le dropdown se montre correctement */
.selectize-control.hb-country-iso-select.open .selectize-dropdown {
  display: block !important;
  z-index: 9999 !important;
}

/* Le dropdown lui-même */
.selectize-control.hb-country-iso-select .selectize-dropdown {
  max-height: 300px !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  border: 1.5px solid var(--couleur-primaire);
  border-radius: 8px;
  margin-top: 5px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Contenu du dropdown scrollable */
.selectize-control.hb-country-iso-select .selectize-dropdown.single .selectize-dropdown-content {
  overflow-y: auto !important;
  max-height: 280px !important;
  padding: 5px 0;
}

/* Les options du dropdown */
.selectize-control.hb-country-iso-select .selectize-dropdown .option {
  padding: 10px 15px !important;
  cursor: pointer !important;
  border-bottom: 1px solid rgba(var(--primaire-rgb), 0.1);
}

.selectize-control.hb-country-iso-select .selectize-dropdown .option:hover {
  background-color: rgba(var(--accent-rgb), 0.2) !important;
  color: var(--couleur-texte) !important;
}

.selectize-control.hb-country-iso-select .selectize-dropdown .option.selected {
  background-color: rgba(var(--accent-rgb), 0.3) !important;
  color: var(--couleur-texte) !important;
  font-weight: 500;
}

/* Scrollbar personnalisée */
.selectize-control.hb-country-iso-select .selectize-dropdown::-webkit-scrollbar {
  width: 8px;
}

.selectize-control.hb-country-iso-select .selectize-dropdown::-webkit-scrollbar-track {
  background: rgba(var(--fond-clair-rgb), 0.5);
  border-radius: 4px;
}

.selectize-control.hb-country-iso-select .selectize-dropdown::-webkit-scrollbar-thumb {
  background: var(--couleur-primaire);
  border-radius: 4px;
  border: 2px solid rgba(var(--fond-clair-rgb), 0.5);
}

.selectize-control.hb-country-iso-select .selectize-dropdown::-webkit-scrollbar-thumb:hover {
  background: var(--couleur-accent);
}

/* Pour Firefox */
.selectize-control.hb-country-iso-select .selectize-dropdown {
  scrollbar-color: var(--couleur-primaire) rgba(var(--fond-clair-rgb), 0.5);
  scrollbar-width: thin;
}

/* ========== FIX SELECTIZE DROPDOWN SCROLL ========== */

.hb-button-wrapper input {
  font-size: 1rem;
  font-family: var(--police-corps); /* ✅ CORRIGÉ */
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: 40px;
  height: 45px;
  padding: 10px 32px;
  border: solid 1px var(--couleur-accent);
  background: var(--couleur-primaire);
  color: var(--couleur-fond-clair);
  box-shadow: rgba(0, 0, 0, 0.2) 0px 4px 12px;
  cursor: pointer;  
  transition: all 0.3s ease;
}

.hb-button-wrapper input:hover{
  background: var(--couleur-accent);
  transform: translateY(-2px); 
  box-shadow: rgba(0, 0, 0, 0.3) 0px 6px 16px;
}

.hb-button-wrapper input:active {
  transform: translateY(0);      
}

.hb-check-dates-wrapper label, 
.hb-accom-number-wrapper label, 
.hb-people-wrapper label, 
.hb-search-submit-wrapper label{
  margin-bottom: 8px;
}

.hb-price-breakdown{
  border-left: solid 3px var(--couleur-primaire);
  padding-left: 18px;
  margin-bottom: 20px;
  margin-top: 5px;
}

.hb-multi-accom-choices {
  padding: var(--espacement-sm) 0;
}

.hb-details-fields label{
  padding: var(--espacement-xs) 0;
}

.hb-confirm-button {
  padding: var(--espacement-sm) 0;
}

.hb-accom-desc .gallery-1 {
    display: flex;
    margin: 15px -6px 0;
}
.hb-accom-desc .gallery-column {
    width: 33.33%;
    padding-bottom: 33.33%;
    position: relative;
}
.hb-accom-desc .gallery-item {
    position: absolute;
    inset: 6px;
    overflow: hidden;
    border-radius: 4px;
    display: block;
}
.hb-accom-desc .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.hb-accom-desc .gallery-item:hover img {
    transform: scale(1.08);
}

/*---Résumé paiement hbook*/
.hb-accom-price-total {
  margin-top: 30px;
}

.hb-resa-summary-title {
  border-bottom: solid 2px var(--couleur-accent);
  padding-bottom: 8px;
}

.hb-resa-summary p{
  padding-bottom: 12px;
}

.hb-resa-summary-content {
  border: solid 1px rgba(var(--accent-rgb), 0.50);
}

.hb-payment-type-explanation-deposit_amount {
    font-weight: 800;
}

.hb-payment-form-stripe {
    margin-top: 12px;
}

/*======================
  Page réservation
 =======================*/
.form-hb section {
    padding-left: 20px;
    padding-right: 20px;
}

.hb-terms-and-cond a {
    text-decoration: none !important;
    font-weight: 900 !important;
    color: var(--couleur-primaire) !important;
}

.hb-terms-and-cond a:hover {
    color: var(--couleur-accent) !important;
	text-decoration: underline;
}
/* ============================================================
   7. LEGALE (CGV/ MENTIONS LEGALES)
   ============================================================ */

/* ============================================================
   PAGES LÉGALES (CGV / MENTIONS LÉGALES)
   ============================================================ */
.section-conteneur {
  padding: 60px 20px 80px;
  background: var(--couleur-fond-clair);
}

.section-conteneur .section-header {
  text-align: center;
  margin-bottom: 40px;
}

.last-update {
  font-size: 0.9rem;
  color: #777;
  font-style: italic;
  margin-top: 10px;
}

.last-update time {
  font-weight: 600;
  color: var(--couleur-texte);
}

/* ============================================================
   TABLE DES MATIÈRES
   ============================================================ */
.cgv-toc {
  max-width: 950px;
  margin: 0 auto 60px;
  padding: 25px 30px;
  background: rgba(var(--accent-rgb), 0.05);
  border-left: 3px solid var(--couleur-accent);
  border-radius: 4px;
}

.cgv-toc h3 {
  margin: 0 0 15px;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--couleur-texte);
}

.cgv-toc ol {
  margin: 0;
  padding-left: 20px;
  columns: 2;
  column-gap: 30px;
}

.cgv-toc li {
  margin-bottom: 6px;
  break-inside: avoid;
}

.cgv-toc a {
  color: var(--couleur-texte);
  text-decoration: none;
  transition: color 0.2s;
}

.cgv-toc a:hover {
  color: var(--couleur-accent);
}

/* ============================================================
   PARAGRAPHES & TITRES
   ============================================================ */
.paragraphe {
  max-width: 950px;
  margin: 0 auto;
  text-align: left;
  line-height: 1.7;     /* ✅ lisibilité texte long */
  color: var(--couleur-texte);
}

.paragraphe h3 {
  margin: 50px 0 15px;  /* ✅ marge propre au lieu de padding-left arbitraire */
	padding-bottom: 10px;
  font-family: var(--police-titre);
  font-weight: 600;
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 2px solid var(--couleur-secondaire);
  scroll-margin-top: 100px; /* ✅ pour les ancres avec header fixe */
}

.paragraphe h4 {
  margin: 25px 0 10px;
  padding-left: 40px;   /* ✅ légère indentation au lieu de 90px */
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--couleur-texte);
  text-transform: none;
}

.paragraphe p {
  margin: 0 0 15px;
}

.paragraphe span,
.paragraphe strong {
  font-weight: 600;
  color: var(--couleur-texte);
}

.paragraphe em {
  color: #666;
  font-size: 0.95rem;
}

/* ============================================================
   LIENS
   ============================================================ */
.paragraphe a {
  color: var(--couleur-texte);
  font-weight: 900;
  border-bottom: 1px solid var(--couleur-texte);
  transition: color 0.2s, border-color 0.2s;
}

.paragraphe a:hover {
  color: var(--couleur-secondaire);
  text-decoration: none;
  border-bottom-color: var(--couleur-secondaire);
}

/* ============================================================
   LISTES
   ============================================================ */
.paragraphe ul {
  list-style: none;
  margin: 15px 0;
  padding-left: 25px;
}

.paragraphe ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  font-weight: 400;     /* ✅ corrigé : pas de gras par défaut */
  line-height: 1.6;
}

/* Listes ordonnées (numérotées dans la TDM par ex.) */
.paragraphe ol li {
  margin-bottom: 8px;
  padding-left: 5px;
}

/* ============================================================
   LIEN RETOUR
   ============================================================ */
.back-link {
  max-width: 950px;
  margin: 50px auto 0;
  padding-top: 30px;
  border-top: solid 1px rgba(var(--fond-sombre-rgb), 0.4)	
}

.back-link a {
  color: var(--couleur-accent);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.back-link a:hover {
  color: var(--couleur-secondaire);
}

/* ============================================================
   8. PAGE COOKIE YES
   ============================================================ */
.cookie-policy-h1{display: none;}

.cookie-policy-date-container{ display: none;}

.paragraphe h2 {
  margin: 50px 0 15px;  /* ✅ marge propre au lieu de padding-left arbitraire */
  padding-bottom: 10px;
  font-family: var(--police-titre);
  font-weight: 600;
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 2px solid var(--couleur-secondaire);
  scroll-margin-top: 100px; /* ✅ pour les ancres avec header fixe */
}

.paragraphe a.cky-banner-element {
  display: block;          /* ✅ passe en bloc → seul sur sa ligne */
  width: fit-content;      /* ✅ largeur = contenu, pas 100% */
  margin: 20px 0 35px;     /* ✅ espace au-dessus ET en dessous */
  padding: 12px 30px !important;
  background: var(--couleur-primaire) !important;
  color: #fff !important;
  border: none !important;
  border-radius: var(--radius-full) !important;
  font-family: var(--police-corps);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

.paragraphe a.cky-banner-element:hover {
  background: var(--couleur-secondaire) !important;
  transform: translateY(-2px);
  border-bottom: none;
}

.paragraphe a.cky-banner-element + br {
  display: none;
}

/* ============================================================
   8. PAGE 404
   ============================================================ */

.page-404 {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
}

.erreur-container h1 {
  font-size: 8rem;
  color: var(--couleur-principale);
  margin: 0;
  line-height: 1;
}

.erreur-container h2 {
  font-size: 2rem;
  margin: 20px 0;
}

.erreur-liens {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}

/* ============================================================
   9. RESPONSIVE
   ============================================================ */

/* ============================================================
RESPONSIVE — MENU HAMBURGER (≤ 1024px)
   Mutualisé pour tablette + mobile
============================================================ */

/*---STYLE CSS---*/

@media (max-width: 1024px) {
  .navbar {
    padding: 0;
  }

  .navbar .logo img {
    position: absolute;
    left: 30px;
    top: 0;
  }

  .navbar .nav-links {
    position: absolute;
    background-color: rgba(var(--fond-clair-rgb), 0.7);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px); /* Safari */
    width: 100%;
    height: 100dvh;                      /* ✅ dvh au lieu de vh */
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    margin-left: -100%;
    transition: margin-left var(--transition-douce);
  }

  .navbar .nav-links.mobile-menu {
    margin-left: 0;
  }

  .navbar .nav-links ul {
    flex-direction: column;
    align-items: center;
  }

  .navbar .nav-links ul li {
    margin: 25px 0;
    font-size: 1.5rem;
  }

  .navbar .menu-hamburger {
    display: block;
  }

  .nav-item-mobile { display: block; }
  .header-top      { display: none; }
  .btn-small       { display: none; }

  /*---INDEX CSS---*/

   .accueil-photo {
    grid-template-columns: repeat(3, 1fr);
  }

  .presentation-contenu {
    flex-direction: column-reverse;
  }

  .presentation-texte {
    width: 100%;
    padding: 0;
    margin: 0 auto;
  }

  .avis-wrapper { padding: 0 30px; }
  .avis-card    { padding: 45px 30px 35px; }


/*--Section Contact*/
.contact-wrapper {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 15px 10px;
  }
}

/* ============================================================
   RESPONSIVE — TABLETTE (768px → 1024px)
   Ajustements spécifiques tablette
   ============================================================ */
@media (min-width: 768px) and (max-width: 1024px) {

  .accueil-photo {
    grid-template-columns: repeat(3, 1fr);
  }

  .presentation-contenu {
    flex-direction: column-reverse;
  }

  .presentation-texte {
    width: 100%;
    padding: 0;
    margin: 0 auto;
  }

  .avis-wrapper { padding: 0 30px; }
  .avis-card    { padding: 45px 30px 35px; }


  /* Footer grille 2 colonnes */
  .footer-colonnes {
    grid-template-columns: 1fr 1fr;
  }

  .colonnes:first-child {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(var(--accent-rgb), 0.6);
  }

  .colonnes img {
    width: 60%;
  }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤ 767px)
   ============================================================ */
@media (max-width: 767px) {
	
   .hb-rates-table thead th {
    padding: 8px 4px;
    font-size: 0.6rem;
    letter-spacing: 0;
  }

  .hb-rates-table tbody td {
    padding: 8px 4px;
    font-size: 0.7rem;
  }

  .hb-rates-table tbody td:first-child:not(.hb-rate-date) {
    padding-left: 6px;
    font-size: 0.7rem;
  }

    .section-conteneur {
    padding: var(--espacement-lg) var(--espacement-sm);
  }

  .contact-wrapper {
    grid-template-columns: 1fr; /* ✅ empilement vertical */
    gap: 30px;
  }

  .contact-coords {
    padding: 30px 25px;
  }

  .cf7-layout {
    flex-direction: column;
  }

  /* Hero */
	
.accueil-carousel { display: none; }

	.hero {
		height: 60vh;
	}
	
  .hero-mobile {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
  }

  .hero-titre { 
	  font-size: 2.2rem;
	  font-family: var(--police-titre);
}
  .hero-surtitre     { font-size: 1.2rem; }


  /* Présentation */
  .presentation-contenu {
    flex-direction: column-reverse;
    padding: var(--espacement-sm);
  }

  .presentation-texte {
    width: 100%;
    padding: var(--espacement-sm);
  }

  /* Galerie */
  .accueil-photo {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  /* À découvrir */
  .section-decouvrir {
    display: flex;
    flex-direction: column;
    padding: var(--espacement-sm);
  }

  .decouvrir-contenu {
    margin-bottom: 40px;
    border-bottom: solid 1px rgba(var(--accent-rgb), 0.5);
    padding-bottom: 30px;
  }

  /* Tarifs */
  .tarifs { padding: var(--espacement-sm); }

  .hb-rates-table {
    width: 100%;
    margin: 40px 0;
  }

  .hb-rates-table thead th {
    padding: 10px 6px;
    font-size: 0.65rem;
  }

  .hb-rates-table tbody td {
    padding: 10px 6px;
    font-size: 0.75rem;
  }

  .hb-rates-table tbody td:first-child:not(.hb-rate-date) {
    padding-left: 8px;
    font-size: 0.75rem;
  }

  .inf-price { padding: var(--espacement-sm); }

  .contact-wrapper {
    grid-template-columns: 1fr; /* ✅ empilement vertical */
    gap: 30px;
  }

  .contact-coords {
    padding: 30px 25px;
  }

  .contact-map {
    min-height: 350px;
  }

  /*----- Avis -----------*/
  .testimonial-grid {
    grid-template-columns: 1fr;
    margin: 0
  }

  .testimonial-content {
    margin: 90px 0 0;
  }

  .arrow-buttons {
    margin-top: 2px;
  }

  .hb-rates-table tbody td {
    padding: 8px 4px;
    font-size: 0.70rem;
  }

  .hb-rates-table tbody td:first-child:not(.hb-rate-date) {
    padding-left: 6px;
    font-size: 0.70rem;
  }
	
/*======================
  Page réservation
 =======================*/
.form-hb section {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .reservation-content {
        padding: 0 5px;
    }

  /*---Formulaire de recherche HBOOK----*/
  .hb-button-wrapper{
    margin-top: 15px;
  }

  .reservation-content {
    padding: 20px;
}

  .paragraphe h3 {
    font-size: 1.1rem;
    margin-top: 35px;
  }

  .paragraphe h4 {
    font-size: 1rem;
    padding-left: 12px;
  }

  .cgv-toc {
    padding: 20px;
  }

  .cgv-toc ol {
    columns: 1;          /* ✅ une seule colonne sur mobile */
  }

  /* Footer */
  .footer-coordonnees {
    display: flex;
    flex-direction: column;
    box-shadow: none;
    border-bottom: 1px solid rgba(var(--accent-rgb), 0.6);
  }

  .coordonnees {
    padding: 8px 0;
    width: 100%;
  }

  .tel {
    border: none;
  }

  .footer-colonnes {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 15px 0;
    margin-bottom: 8px;
  }

  .colonnes {
    width: 100%;
    padding: 30px 20px;
    border-bottom: 1px solid rgba(var(--accent-rgb), 0.6);
  }

  .colonnes:last-child {
    border-bottom: none;
  }

  .colonnes h3::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .colonnes iframe {
    width: 75%;
    margin: 0 auto;
  }

  #scrollTop {
    bottom: 20px;
    right: 20px;
  }

  .btn-large {
    width: auto;
    font-size: 0.85rem;
    white-space: nowrap;
    padding: 16px 20px;
    align-self: center;
  }
  .erreur-container h1 { font-size: 5rem; }
  .erreur-container h2 { font-size: 1.5rem; }
}
 