/* Base */
:root{
  --bg:#f3eee7;            /* crème très léger */
  --ink:#151216;           /* presque noir (texte) */
  --muted:#888;
  --line:#cfc7bd;
  --accent:#151216;        /* liens façon maquette */
  --pad:28px;
  --max:1160px;
}

*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }
body{
  background:var(--bg);
  color:var(--ink);
  font-family:"Montserrat", system-ui, -apple-system, sans-serif;
  font-weight:400;
  line-height:1.55;
  letter-spacing:0.01em;
  font-size:10px; /* slightly smaller base for a more refined feel */
}

/* Global link styles: all links black, no underline */
a, a:visited{
  color: var(--ink);
  text-decoration: none;
}
a:hover, a:focus{
  color: var(--ink);
  text-decoration: none;
}

/* Typography helpers */
.cinzel{ font-family:"Cinzel", serif; letter-spacing:0.04em; font-size: 15px;}
.montserrat{ font-family:"Montserrat", sans-serif; }
.small{ font-size:.88rem; color:#333; }
.mono{ font-family:"Cinzel", serif; letter-spacing:0.2em; }
.text-center{ text-align:center; }

p{ font-size:13px; }

/* Layout */
.container{ width:100%; max-width:var(--max); margin:0 auto; padding:0 var(--pad); }
.container.narrow{ max-width:920px;}
.section{ padding:56px 0; }
.section-light{ background:var(--bg); }
.section-light.alt{ padding-top:56px; }

/* Homepage-only vertical spacing harmony */
body.home .section{
  padding-top:56px;
  padding-bottom:0;
}

/* ===== Header v2 (logo centré + barre de navigation) ===== */
.site-header{
  background:#ffffff;
  border-bottom:0;
  position:sticky; top:0; z-index:30;
}

/* Bloc logo centré */
.logo-block{
  padding:26px 0 10px;
  display:flex; flex-direction:column; align-items:center; gap:8px;
}
.uc-ring{
  font-family:"Cinzel", serif;
  font-size:28px; font-weight:600; letter-spacing:.08em;
  color:#1f191c; line-height:1;
}

.uc-mark {
  display: block;
  width: 42px;
  height: auto;
  margin: 0 auto 8px;
}

.site-logo {
  display: block;
  height: 48px;
  width: auto;
}
.logo-lines{ text-align:center; }
.logo-lines .brand-line{
  font-size:20px; font-weight:600; letter-spacing:.04em; color:#1f191c;
}
.logo-lines .brand-sub{
  font-size:11px; letter-spacing:.14em; color:#6c6769; text-transform:none;
  margin-top:2px;
}

/* Barre de navigation — version simple, tout dans .nav-bar */
.nav-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
  background: #ffffff;
  padding: 20px 40px;
  border: none;
}

/* Liens et bouton langue */
.nav-bar a,
.nav-bar .lang-btn {
  font-family: "Montserrat", sans-serif;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-decoration: none;
  color: #1f191c;
  background: none;
  border: 0;
  padding: 0 10px;
  cursor: pointer;
  text-align: center;
  transition: all 0.25s ease;
}

.nav-bar a:hover,
.nav-bar .lang-btn:hover {
  position: relative;
}
.nav-bar a:hover::after,
.nav-bar .lang-btn:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: #1f191c;
  opacity: 0.9;
}

/* Icône Instagram */
.ig-icon {
  width: 18px;
  height: 18px;
  display: inline-block;
  object-fit: contain;
  vertical-align: middle;
  background: none;
  background-color: transparent;
  mask: none;
  -webkit-mask: none;
}

/* Langue + caret */
.lang-btn span { margin-left: 6px; font-size: 11px; }

/* === Language dropdown === */

.lang { position: relative; display: inline-flex; align-items: center; }
.lang::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 12px; /* zone invisible pour éviter la fermeture en sortant du bouton */
}

/* Make the button look like a nav item but with better hit area */
.lang-btn {
  padding: 6px 10px; /* slightly larger clickable area */
  line-height: 1.2;
}
.lang-btn span { display: inline-block; margin-left: 6px; font-size: 11px; transition: transform .2s ease; }

/* The dropdown panel */
.lang-menu {
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 180px;
  margin-top: 0;            /* supprimé l'espace qui causait le "drop" de hover */
  padding: 12px 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0;         /* look net, rectangulaire */
  box-shadow: 0 8px 22px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.05);
  backdrop-filter: saturate(120%) blur(4px);
  opacity: 0;
  transform: translateY(8px);  /* léger décalage visuel sans créer de gap physique */
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
  z-index: 40;
}

/* Items */
.lang-item {
  display: block;
  padding: 10px 12px;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  color: #1f191c;
  border-radius: 0;         /* rectangulaire */
}
.lang-item:hover,
.lang-item:focus {
  background: #f5f2ee;
  outline: none;
}
.lang-item[aria-current="true"] {
  font-weight: 600;
}

/* Open states: hover and focus-within for mouse & keyboard; .open for JS/touch */
.lang:hover .lang-menu,
.lang:focus-within .lang-menu,
.lang.open .lang-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.lang:hover .lang-btn span,
.lang:focus-within .lang-btn span,
.lang.open .lang-btn span { transform: rotate(180deg); }

/* Responsive positioning for narrow viewports */
@media (max-width: 720px){
  .lang-menu { right: 50%; transform: translate(50%, 8px); }
  .lang.open .lang-menu,
  .lang:hover .lang-menu,
  .lang:focus-within .lang-menu { transform: translate(50%, 0); }
}

/* Motion safety */
@media (prefers-reduced-motion: reduce){
  .lang-menu { transition: none; }
  .lang-btn span { transition: none; }
}

/* Ajustements responsives */
@media (max-width: 720px){
  .nav-bar{ flex-direction: column; gap: 12px; padding:14px 16px; }
}
@media (max-width: 560px){
  .nav-bar a, .nav-bar .lang-btn{ padding:0 14px; font-size:10px; }
}

/* Hero */
.hero{ background:#fff; }
.media-black{
  width:100%; background:#151216; border:1px solid #15121610;
  border-radius:2px;
}
.hero .media-black{ height:58vh; min-height:420px; display:grid; place-items:center; }
.play{
  width:72px; height:72px; border-radius:50%; border:2px solid #fff; background:transparent;
  display:grid; place-items:center; cursor:pointer;
}
.play .triangle{
  width:0; height:0; border-left:18px solid #fff; border-top:12px solid transparent; border-bottom:12px solid transparent;
  margin-left:4px;
}

/* Hero image sizing (Audevie full-width, cropped by height) */
.hero > img{
  width:100%;
  height:58vh;         /* plein écran en largeur, hauteur contrôlée */
  min-height:420px;
  object-fit:cover;    /* zoom/crop sans étirer */
  display:block;
}

/* Titles */
.title{ font-size:34px; text-align:center; margin:8px 0 4px; font-weight:400; }
.subtitle{
  text-align:center; text-transform:uppercase; letter-spacing:.16em; color:#666;
  font-size:11px; margin-top:2px; margin-bottom:26px;
}
.lead{ text-align:center; max-width:760px; margin:0 auto; color:#2d2d2d; }
.cta{ display:flex; justify-content:center; margin:28px 0 32px; }
.btn-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px 4px;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  line-height: 1.2;
}

.btn-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px; /* keep the same visual offset as before */
  height: 2px;
  background: var(--ink);
}

.btn-link span {
  display: inline-block;
  transition: transform .2s ease;
}
.btn-link:hover span {
  transform: translateX(3px);
}

/* Grids – Mas */
.grid-mas{
  margin-top:26px;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  display:grid; grid-template-columns:2fr 1fr; gap:24px;
}
.grid-mas .right{ display:flex; flex-direction:column; }
/* Two-photo layout: enforce ratios without touching HTML */
.grid-mas > img:first-child { aspect-ratio: 16/9; }
.grid-mas .right > img { aspect-ratio: 3/4; }
/* Force proper image fit and cropping */

.grid-mas img,
.grid-south img {
  width: 100%;
  height: 100%;
  object-fit: cover;      /* crop edges evenly */
  display: block;
}
/* South: behave like Mas (keep intrinsic ratio instead of forcing height) */
.grid-south{
  margin-top:26px;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  display:grid; grid-template-columns:2fr 1fr; gap:24px;
}
.grid-south .right{ display:flex; flex-direction:column; }
/* Two-photo layout: enforce ratios without touching HTML */
.grid-south > img:first-child { aspect-ratio: 16/9; }
.grid-south .right > img { aspect-ratio: 3/4; }
.ratio-16x9{ aspect-ratio:16/9; }
.ratio-4x3{ aspect-ratio:4/3; }
.ratio-3x4{ aspect-ratio:3/4; }
.ratio-21x9{ aspect-ratio:21/9; }
.ratio-1x1{ aspect-ratio:1/1; }
.ratio-3x2{ aspect-ratio:3/2; }

/* Align carousels same max width as homepage grids */
.carousel {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}


/* Grid – South */
/* Grid – South */
.grid-south{
  margin-top:26px;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  display:grid;
  grid-template-columns:2fr 1fr;
  gap:24px;
}
.grid-south .right{ display:flex; flex-direction:column; }
.grid-south > img:first-child { aspect-ratio: 16/9; }
.grid-south .right > img { aspect-ratio: 3/4; }

/* Cards */
.cards{
  margin-top:34px; display:grid; grid-template-columns:1fr 1fr; gap:26px;
}
.card{
  border:1px solid var(--line); padding:32px 28px; background:#fff; min-height:170px;
}
.card h3{ margin:0 0 10px; font-weight:400; letter-spacing:.08em; }

/* Comments */
.comments-title{
  text-align:center;
  font-size:17px;
  margin:50px 0 22px;
  letter-spacing:.18em;
  font-weight:400;
}
.comments{
  display:grid; grid-template-columns:repeat(3,1fr); gap:26px; margin-bottom:26px;
}

/* Items individuels de commentaires */
.comment-item{
}

/* Ligne "maison — prénom" */
.comment-meta{
  margin: 0 0 8px;
  font-family: "Cinzel", serif;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #444;
}

.comment-house{
  font-weight: 600;
}

.comment-name{
  font-weight: 400;
  text-transform: capitalize;
}

.comment-sep{
  margin: 0 6px;
}

/* Texte du commentaire */
.comment-text{
  margin: 0;
  font-size: 12.5px;
  line-height: 1.65;
}


/* ==== Cards — Reservation & Services (homepage only) ==== */
#about .cards {
  gap: 26px;
  margin-top: 40px; /* more space after the CTA (Découvrir) */
}

/* Extra vertical rhythm on homepage sections */
#about .comments-title {
  margin: 64px 0 22px; /* more space between cards and the "COMMENTAIRES" subtitle */
}

#about .ig-center {
  margin: 42px 0 28px; /* more space above (from comments) and below (before the 4 squares) */
}


#reservation.section.section-light.alt{
  padding-top: 40px; /* reduce space above reservation block */
}

/* Audevie carousels: reduce space above the UC mark */
#pieces-de-vie.section.section-light.alt,
#chambres.section.section-light,
#maison-jardin.section.section-light.alt,
#jardin-terrasses.section.section-light{
  padding-top: 20px; /* was 56px via .section */
}

/* Audevie reservation section: smaller heading */
#reservation .title{
  font-size: 22px;        /* was 34px globally */
  letter-spacing: .18em;  /* keep elegant spacing */
  margin: 6px 0 8px;      /* slightly tighter */
  font-weight: 400;
  text-align: center;
}

#about .card{
  background: transparent;              /* no white box, keep page beige */
  border: 1.5px solid var(--ink);       /* dark fine frame like the mockup */
  border-radius: 0;
  text-align: center;                   /* center title and texts */
  padding: 32px 28px;
}

#about .card h3{
  margin: 0 0 12px;
  text-align: center;
  font-weight: 400;
  letter-spacing: .08em;
  font-size: 20px;
  line-height: 1.25;
}

@media (max-width: 720px){
  #about .card h3{ font-size: 18px; }
}

#about .card p{
  margin: 6px 0;
  text-align: center;
}

#about .card p.services-text{
  text-align: left;
  padding-left: 20px;
  padding-right: 20px;
}

/* IG Grid */
.ig-center{ display:flex; justify-content:center; margin:28px 0 18px; }
.ig-follow{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  text-decoration: none;
}
.ig-follow:hover,
.ig-follow:focus{
  color: var(--ink);
  text-decoration: none;
  opacity: .9;
}
.ig-grid{
  display:grid; grid-template-columns:repeat(4,1fr); gap:18px;
}

.ig-post{
  position: relative;
  overflow: hidden;
  display: block;
  background: #d9d3ca;              /* léger fond chaud en attendant le chargement */
  border-radius: 2px;
  border: 1px solid #15121610;      /* même logique que les autres blocs visuels */
}

.ig-post img{
  width: 100%;
  height: 100%;
  object-fit: cover;                /* recadre proprement en carré */
  display: block;
  transition: transform .25s ease, opacity .25s ease;
}

/* léger zoom au survol pour rappeler l’univers premium du site */
.ig-post:hover img,
.ig-post:focus-visible img{
  transform: scale(1.04);
}

.ig-post::after{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(21,18,22,.05);
  opacity: 0;
  transition: opacity .25s ease;
}

.ig-post:hover::after,
.ig-post:focus-visible::after{
  opacity: 1;
}

/* Footer */
.site-footer{ 
  padding:20px 0 28px; 
  text-align:center; 
  color:#666; 
  background:#fff;
}

.site-footer a{
  margin: 0 14px;       /* add comfortable spacing between links */
}

.site-footer p {
  font-size: 11px;
  line-height: 1.4;
  margin: 0;
}

.site-footer p + p {
  margin-top: 16px; 
}

@media (max-width: 560px){
  .site-footer a{ margin: 0 10px; }  /* slightly tighter spacing on small screens */
}

/* Responsive */
@media (max-width: 1100px){
  .grid-mas{ grid-template-columns:1.5fr 1fr; }
  .grid-south{ grid-template-columns:1fr; }
  .grid-south img{ height:auto; }
}
@media (max-width: 820px){
  .brand-line{ font-size:16px; }
  .grid-mas{ grid-template-columns:1fr; }
  .cards{ grid-template-columns:1fr; }
  .comments{ grid-template-columns:1fr; }
  .ig-grid{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width: 560px){
  .hero .media-black{ min-height:320px; }
  .hero > img{ min-height:320px; }
}

/* Carousel — full layout & controls */
.carousel {
  position: relative;
  width: 100%;
  max-width: 900px;          
  margin: 0 auto;
}
.carousel-viewport {
  overflow: hidden;
  width: 100%;
}
.carousel-track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 0;
  transform: translateX(0);
  transition: transform .4s ease;
  will-change: transform;
}
.carousel-slide {
  flex: 0 0 100%;              /* chaque slide occupe 100% du viewport */
  max-width: 100%;
}
.carousel img {
  width: 100%;
  height: auto;                 /* laisse l’aspect-ratio gouverner la hauteur */
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}
/* Flèches de navigation */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.6);
  background: rgba(21,18,22,.45);
  cursor: pointer;
  backdrop-filter: blur(2px);
  z-index: 5;
}
.carousel-btn[disabled] {
  opacity: .7;            /* render it still clearly visible */
  cursor: default;
}
.carousel-prev { left: 14px; }
.carousel-next { right: 14px; }
.carousel-btn span { display:block; width:10px; height:10px; border-top:2px solid #fff; border-right:2px solid #fff; }
.carousel-prev span { transform: rotate(-135deg); }

.carousel-next span { transform: rotate(45deg); }

/* ===== Carousel info (title + text under carousels) ===== */
/* The white strip should be exactly the same width as the image,
   flush against it (no top margin/padding), and centered. */
.carousel-info{
  width: 100%;
  max-width: 900px;     /* match .carousel max-width */
  margin: 0 auto;       /* stick to the image width and center */
  background: #fff;
  padding: 32px 28px 32px; /* no top padding to be glued to the image */
  text-align: center;
  border: none;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.carousel-title{
  margin: 0 0 8px;
  font-family: "Cinzel", serif;
  font-weight: 400;          /* no bold */
  font-size: 20px;           /* slightly bigger */
  letter-spacing: .04em;
  line-height: 1.25;
}

@media (max-width: 720px){
  .carousel-title{ font-size: 18px; }
}
.carousel-text{ 
  margin: 0; 
  padding-left: 60px;
  padding-right: 60px;
}
@media (max-width: 720px){
  .carousel-info{
    max-width: 100%;
    margin: 0 auto;
    padding: 18px 18px 18px; /* padding uniforme sur mobile */
  }

  .carousel-title{
    margin: 0 0 8px; /* plus d'air sous le titre */
  }

  .carousel-text{
    margin: 0;
    padding-left: 0;  /* annule les 60px desktop */
    padding-right: 0;
  }
}

/* ===== Carousel Tabs (buttons above carousels) ===== */
.carousel-tabs{ 
  display:flex; 
  justify-content:center; 
  align-items:flex-end; 
  flex-wrap:nowrap;                 /* une seule ligne en desktop */
  gap: 26px; 
  margin: 22px 0 20px; 
  /* Débordement contrôlé hors du padding du container, sans 100vw pour éviter le rognage */
  white-space: nowrap;
  width: calc(100% + (2 * var(--pad)));
  margin-left: calc(-1 * var(--pad));
  margin-right: calc(-1 * var(--pad));
  padding: 0 var(--pad);
  overflow: visible;
}

/* Removed the previous .carousel-tabs::-webkit-scrollbar{ display:none; } */

.carousel-tabs span{ 
  color:#1f191c; 
  opacity:.45; 
  user-select:none; 
}
.carousel-tabs [role="tab"]{
  appearance:none; 
  -webkit-appearance:none; 
  background:transparent; 
  border:0; 
  padding:6px 0; 
  line-height: 1;
  margin-top:20px; 
  font-family:"Montserrat", sans-serif; 
  font-size:11px; 
  letter-spacing:.16em; 
  text-transform:uppercase; 
  color:#1f191c; 
  cursor:pointer; 
  position:relative; 
  white-space:nowrap; 
}
.carousel-tabs [role="tab"]::after{ 
  content:""; 
  position:absolute; 
  left:0; right:0; bottom:-6px; 
  height:2px; 
  background:transparent; 
  transition: background .18s ease; 
}
.carousel-tabs [role="tab"][aria-selected="true"]{ font-weight:600; }
.carousel-tabs [role="tab"][aria-selected="true"]::after{ background:#1f191c; }
.carousel-tabs [role="tab"]:hover::after{ background:#1f191c66; }
.carousel-tabs [role="tab"]:focus-visible{ outline:2px solid #1f191c33; outline-offset:3px; }

.carousel-tabs [role="tab"] + [role="tab"]::before{
  content: "";
  position: absolute;
  left: -13px;             /* half of the 26px gap */
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 16px;
  background: #1f191c66;
}

/* Small screens: tighten spacing */
@media (max-width: 720px){
  .carousel-tabs{ gap:6px 16px; margin:8px 0 14px; flex-wrap:wrap; width:auto; margin-left:0; margin-right:0; padding:0; white-space: normal; }
}

#about.section.section-light{
  padding-top: 12px;   
}
#about .cards{
  margin-top: 16px;    
}

body.home #about.section.section-light{
  padding-top:56px;
  padding-bottom:56px;
}

/* 2) Augmenter l'espace entre le logo et le h3 dans chaque carte */
#about .card .uc-mark{
  margin-bottom: 18px;  
}

/* garde-fous */
#about .card h3{
  margin-top: 0;    
}

/* === Escapades Provençales : espace entre le sous-titre et le 1er h3 === */
#escapades-provençales .lead {
  margin-bottom: 36px;           /* augmente l'espace sous le sous-titre */
}

#escapades-provençales h3.cinzel {
  margin-top: 24px;              /* sécurité pour garantir le gap, sans toucher les autres h3 */
  font-weight: 400;
  font-size: 20px;               /* titres plus grands pour les sous-parties */
  line-height: 1.4;
}

/* === Escapades Provençales — centrage global du texte === */
#escapades-provençales .container{ text-align: center; }
#escapades-provençales h2.title{ text-align: center; }
#escapades-provençales h3{ text-align: center; }
#escapades-provençales p{ text-align: center; margin-left: auto; margin-right: auto; }

/* Alignement à droite des paragraphes juste sous les h3 */
#escapades-provençales h3 + p.montserrat {
  text-align: justify;
}

#the-unic-collection.section.section-light {
  padding-top: 48px;   /* un peu plus d'air au-dessus du titre */
}

#the-unic-collection .uc-mark {
  margin-bottom: 12px;
}
#the-unic-collection .title {
  font-size: 30px;
  margin-top: 16px;      /* plus d'espace entre le logo et le titre */
  margin-bottom: 10px;   /* légère respiration au-dessus du sous-titre */
}
#the-unic-collection .subtitle {
  font-size: 13px;
  color: #444;
  text-align: center;          /* force le centrage sous le titre */
  text-transform: uppercase;   /* cohérent avec le style global des sous-titres */
  letter-spacing: .16em;
  margin-top: 4px;
  margin-bottom: 40px;         /* plus d'air avant le 1er paragraphe */
}

#the-unic-collection p {
  font-size: 13.5px;
  line-height: 1.65;
  color: #2d2d2d;
  text-align: justify;
  margin-bottom: 16px;
}
#the-unic-collection .lead {
  text-align: justify;
  max-width: none;
  margin: 0 0 16px;
}

/* Met le portrait à droite du texte, cohérent avec les autres grilles */
#the-unic-collection .grid-mas {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 36px;
  align-items: start;
  margin-top: 26px;
}

/* Image portrait */
#the-unic-collection .grid-mas img {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  object-fit: cover;
}

/* Derniers paragraphes un peu aérés */
#the-unic-collection p:last-of-type {
  margin-bottom: 0;
}

/* Responsive */
@media (max-width: 820px) {
  #the-unic-collection .grid-mas {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  #the-unic-collection .grid-mas img {
    max-width: 70%;
    margin: 0 auto;
    display: block;
  }
  #the-unic-collection p {
    text-align: left;
  }
}

/* === Triptyque pleine largeur (Escapades Provençales) === */
.hero-triptych {
  width: 100vw;
  margin-left: 50%;
  transform: translateX(-50%);
  background: #fff;
  padding: 0;
  overflow: hidden;
}

.hero-triptych .triptych-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;                 /* images jointives, comme le hero */
  width: 100%;
}

.hero-triptych .triptych-grid img {
  width: 100%;
  height: 58vh;           /* même logique que le hero */
  min-height: 360px;
  object-fit: cover;
  display: block;
}

/* Responsive */
@media (max-width: 980px){
  .hero-triptych .triptych-grid img{ height: 46vh; min-height: 280px; }
}
@media (max-width: 720px){
  .hero-triptych .triptych-grid{ grid-template-columns: 1fr; }
  .hero-triptych .triptych-grid img{ height: 44vh; min-height: 240px; }
}
/* =====================
   Contact & Réservation
   ===================== */

/* Container grid */
.contact-form{
  max-width: 720px;
  margin: 26px auto 0;
  display: grid;
  grid-template-columns: 1fr; /* simple column layout */
  gap: 14px;
}

/* Labels */
.contact-form label{
  font-family: "Montserrat", sans-serif;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #444;
  margin-top: 10px;  /* plus d'espace au-dessus de chaque titre du formulaire */
}

/* Inputs */
.contact-form input,
.contact-form select,
.contact-form textarea{
  width: 100%;
  padding: 12px 14px;
  background: #fff;                /* contraste sur fond crème */
  border: 1px solid var(--ink);    /* cadre un peu plus fin autour des réponses */
  border-radius: 0;
  font-size: 13px;
  color: var(--ink);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

/* Focus state */
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus{
  border-color: var(--ink);
  box-shadow: 0 0 0 2px rgba(21,18,22,.08);
}

/* Placeholder tone */
.contact-form ::placeholder{ color:#777; opacity:1; }

/* Select look (keep it simple, platform-native, but clean) */
.contact-form select{
  appearance: none;
  -webkit-appearance: none;
  background-image: none; /* pas de caret custom pour rester sobre */
}


/* Utility: visually hide an element but keep it accessible */
.visually-hidden{
  position:absolute !important;
  width:1px !important;
  height:1px !important;
  padding:0 !important;
  margin:-1px !important;
  overflow:hidden !important;
  clip:rect(0 0 0 0) !important;
  white-space:nowrap !important;
  border:0 !important;
}

/* Champ technique combiné des dates : on le sort de la grille pour éviter un espacement inutile */
#dates{
  display: none;
}

/* Inline calendar container */
.calendar-inline{
  width: 100%;              /* même largeur que les autres champs du formulaire */
  max-width: none;          /* ne pas limiter artificiellement la largeur */
  margin: 6px 0 0;          /* aligné à gauche sous le label, comme un input */
  background:#fff;
  border:1px solid var(--ink);
  border-radius:0;
  padding:16px 14px 12px;   /* padding cohérent avec les champs texte */
  text-align: center;   /* centre le calendrier à l'intérieur de la box */
}

/* Dual calendar wrapper: two calendars side by side on desktop */
  .calendar-row{
    display:flex;
    flex-wrap:wrap;
    justify-content:space-between;
    align-items:flex-start;
    gap:24px;
    margin-top:6px;
  }

/* Espace entre les libellés Arrivée / Départ et les calendriers */
.calendar-col span.montserrat.small{
  display: block;
  margin-bottom: 8px; /* ajuste la valeur si tu veux plus ou moins d'espace */
}

/* Each column (Arrivée / Départ) */
  .calendar-col{
    flex:0 0 calc(50% - 12px);   /* deux colonnes 50/50 avec le gap */
    max-width:calc(50% - 12px);
  }

  .calendar-col label{
    display:block;
    margin-bottom:6px;
  }

  /* Quand les calendriers sont dans les colonnes, on enlève le recentrage auto
     et on les laisse prendre toute la largeur disponible de la colonne */
  .calendar-col .calendar-inline{
    margin:0;
    max-width:100%;
  }

  /* Stack nicely on small screens */
  @media (max-width:720px){
    .calendar-row{
      flex-direction:column;
      gap:16px;
    }
    .calendar-col{
      flex:1 1 100%;
      max-width:100%;
    }
  }

/* Flatpickr inline calendar overrides (no floating panel look) */
.flatpickr-calendar.inline{
  position: static;
  box-shadow: none;
  border: 0;
  display: inline-block;      /* permet le centrage via text-align du parent */
  width: auto;               /* laisse la largeur au conteneur */
  max-width: 100%;
  margin: 0 auto;
}

/* Typography for calendar headers */
.flatpickr-months{
  position: relative;            /* permet de placer les flèches en absolu */
  display:flex;
  align-items:center;
  justify-content:center;        /* le bloc mois/année est vraiment centré */
  margin-bottom:6px;
}

/* Bloc mois/année centré entre les flèches */
.flatpickr-month{
  flex: 0 0 auto;
  text-align:center;
}

.flatpickr-weekdays{
  font-family:"Montserrat", sans-serif;
  letter-spacing:.04em;
}

.flatpickr-current-month{
  font-weight:500;
  font-size:15px;
}

.flatpickr-current-month .cur-month{
  text-transform:uppercase;
  letter-spacing:.16em;
  font-size:11px;
}

.flatpickr-weekdays{ margin-top:4px; }

.flatpickr-weekday{
  color:#777;
  font-weight:500;
  font-size:11px;
}

/* Flèches mois précédent / suivant */
.flatpickr-prev-month,
.flatpickr-next-month{
  position: absolute;
  top: 0;
  bottom: 0;              /* occupe toute la hauteur de la barre d'entête */
  transform: none;        /* plus de recentrage via translateY */
  width:24px;
  display:flex;
  align-items:center;     /* centre verticalement par rapport au texte mois/année */
  justify-content:center;
  cursor:pointer;
  z-index: 2;
}

.flatpickr-prev-month{ left:12px; }
.flatpickr-next-month{ right:12px; }

.flatpickr-prev-month::before,
.flatpickr-next-month::before{
  font-size:18px;
  line-height:1;
  color:#1f191c;
  content:"";
}

.flatpickr-prev-month::before{ content:"‹"; }
.flatpickr-next-month::before{ content:"›"; }

/* On masque les éventuels SVG par défaut pour garder un look propre */
.flatpickr-prev-month svg,
.flatpickr-next-month svg{
  display:none;
}

/* Grid padding */
.flatpickr-days{ padding:8px 4px 4px; }

/* Day cells look & selection */
.flatpickr-day{
  width:36px;
  height:34px;
  line-height:34px;
  border-radius:0;                 /* base carrée */
  border:1px solid transparent;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}

.flatpickr-day:hover{
  background:#f3eee7;              /* soft hover, consistent with theme */
  border-color:#e6e0d8;
}

/* Today */
.flatpickr-day.today{
  border-color:#b9afa3;
}

/* Selected range styling */
.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange{
  background:var(--ink);
  color:#fff;
  border-color:var(--ink);
}

/* Pastille arrondie au début et à la fin de la plage */
.flatpickr-day.startRange,
.flatpickr-day.endRange{
  border-radius:999px;
}

/* Bande plus douce pour les jours au milieu de la plage */
.flatpickr-day.inRange{
  background:rgba(21,18,22,.08);
  color:var(--ink);
  border-color:transparent;
}

/* Disabled days (booked) */
.flatpickr-day.disabled,
.flatpickr-day.disabled:hover{
  color:#b7b1aa;
  background:#f5f2ee;
  cursor:not-allowed;
}


/* Flatpickr input specifics */
.flatpickr-input[readonly]{
  background: #fff;
  cursor: pointer;
}

/* Button spacing */

.contact-form .btn-link{ margin-top: 8px; }

.contact-form .btn-link::after{
  display: none;
}

/* Keep btn underline exactly under content incl. arrow */
.btn-link{ display:inline-flex; }
.btn-link::after{ left:0; right:0; }

/* Spécifique à la page réservation : bouton ENVOYER minimaliste, comme les autres CTA texte */
#reservation-form .btn-link{
  background: transparent;   /* supprime le fond gris du bouton natif */
  border: 0;                 /* aucun encadrement */
  padding: 6px 10px;         /* donne un peu d'air pour que le trait dépasse légèrement */
  margin-top: 18px;          /* un peu plus d'air au-dessus */
  align-self: center;        /* centre le bouton dans la grille du formulaire */
  justify-self: center;      /* évite l'étirement en largeur dans la grille */
  width: auto;               /* largeur calée sur le contenu (texte + chevron) */
}

#reservation-form .btn-link::after{
  display: block;            /* soulignement visible en permanence */
  left: -4px;                /* fait dépasser légèrement le trait à gauche */
  right: -4px;               /* et à droite, comme les autres CTA texte */
  bottom: -6px;
  height: 2px;
  background: var(--ink);    /* trait noir sous le texte */
}

/* Responsive calendar sizing */
@media (max-width:560px){
  .calendar-inline{ padding:14px 12px 10px; }
  .flatpickr-day{ width:32px; height:30px; line-height:30px; }
  .flatpickr-current-month{ font-size:15px; }
  .flatpickr-weekday{ font-size:11px; }
}

/* Small screens */
@media (max-width: 560px){
  .contact-form{ gap: 12px; }
.contact-form input,
.contact-form select,
.contact-form textarea{ padding: 10px 12px; font-size: 12.5px; }
}

/* ===== Tarifs & Conditions (Reservation page) ===== */

#tarifs-container{
  margin-top: 10px;              /* petit espace après le select maison */
}

.tarifs{
  margin-top: 6px;
  padding: 18px 18px 14px;
  background: transparent;      /* pas de fond propre, on garde le beige global */
  border: 1px solid var(--ink);
  border-radius: 0;
}

.tarifs h3{
  margin: 0 0 10px;
  font-family: "Cinzel", serif;
  font-weight: 400;
  font-size: 14px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.tarifs p{
  margin: 4px 0;
  font-size: 12.5px;
  line-height: 1.5;
}

.tarifs ul{
  margin: 8px 0 0;
  padding-left: 0;
  list-style: none;
}

.tarifs li{
  margin: 2px 0;
  font-size: 12.5px;
  line-height: 1.5;
}

/* Mobile only — Flatpickr: show a single month (JS will set showMonths: 1) */
@media (max-width: 720px){
  /* Prevent any horizontal overflow caused by Flatpickr internals */
  .calendar-inline{
    overflow-x: hidden;
  }

  /* Ensure the inline calendar always fits the form width */
  .flatpickr-calendar.inline{
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Make month/day containers fluid */
  .flatpickr-rContainer,
  .flatpickr-days,
  .dayContainer,
  .flatpickr-weekdays{
    width: 100% !important;
    max-width: 100% !important;
  }
}