/* ============================================================
   Maison de village a Saint-Siffret
   Direction 2 (maison d'hotes contemporaine), presentation
   hybride validee le 10 juin 2026 : hero en diaporama,
   photo vedette par piece au ratio d'origine, rangees bento.
   Palette Fermob : beige latte, cactus, ocre rouge, brun fonce.
   ============================================================ */

:root {
  --beige-latte: #e8dcbc;
  --beige-latte-pale: #f4ecd7;
  --beige-latte-deep: #d8c8a0;
  --cactus: #8fa488;
  --cactus-deep: #7a8e72;
  --romarin: #6a7461;
  --ocre-rouge: #a04a3f;
  --ocre-rouge-sombre: #8a3e34;
  --brun-fonce: #2c2520;
  --brun-doux: #4a4038;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  font-family: "Karla", sans-serif;
  font-weight: 400;
  background: var(--beige-latte-pale);
  color: var(--brun-fonce);
  line-height: 1.6;
  font-size: 17px;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}

/* ===== Typographie ===== */

h1,
h2,
h3 {
  font-family: "Fraunces", serif;
  font-weight: 400;
  color: var(--brun-fonce);
}

h1 {
  font-variation-settings:
    "opsz" 144,
    "SOFT" 50;
  font-size: 68px;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

h1 em,
h2 em {
  font-style: italic;
  color: var(--cactus-deep);
}

h2 {
  font-variation-settings:
    "opsz" 144,
    "SOFT" 30;
  font-size: 46px;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

h3 {
  font-weight: 500;
  font-size: 28px;
  line-height: 1.25;
}

p {
  color: var(--brun-doux);
}
p + p {
  margin-top: 1.1em;
}

::selection {
  background: var(--beige-latte-deep);
}

/* Surtitre en petites capitales */
.kicker {
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--ocre-rouge);
  font-weight: 600;
  margin-bottom: 22px;
}

/* ===== Boutons et liens ===== */

.btn {
  display: inline-block;
  padding: 17px 34px;
  background: var(--ocre-rouge);
  color: var(--beige-latte-pale);
  font-family: "Karla", sans-serif;
  font-size: 14px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
  border-radius: 2px;
  transition: background-color 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  background: var(--ocre-rouge-sombre);
}

.link-question {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-size: 17px;
  color: var(--brun-fonce);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--ocre-rouge);
}

.link-question:hover {
  color: var(--ocre-rouge);
}

.hero .link-question {
  color: var(--beige-latte-pale);
}

a:focus-visible {
  outline: 2px solid var(--ocre-rouge);
  outline-offset: 3px;
}

.cta-row {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

/* ===== Bandeau de navigation ===== */

.topbar {
  border-bottom: 1px solid var(--beige-latte-deep);
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 236, 215, 0.92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

/* Scroll-spy : la section courante soulignee en ocre */
.topbar-nav a.on {
  color: var(--ocre-rouge);
  text-decoration: underline;
  text-underline-offset: 6px;
}

/* Les ancres s'arretent sous la barre sticky */
section[id],
footer[id] {
  scroll-margin-top: 72px;
}

.topbar-inner {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 32px;
  padding-top: 20px;
  padding-bottom: 20px;
}

.brand {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-size: 19px;
  color: var(--brun-fonce);
  text-decoration: none;
  white-space: nowrap;
}

.topbar-nav {
  display: flex;
  gap: 28px;
  align-items: baseline;
}

.topbar-nav a {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--brun-doux);
  text-decoration: none;
}

.topbar-nav a:hover {
  color: var(--ocre-rouge);
}

.topbar-nav .nav-reserver {
  color: var(--ocre-rouge);
}

/* ===== Hero : diaporama pleine hauteur ===== */

.hero {
  position: relative;
  height: calc(100svh - 65px);
  min-height: 560px;
  max-height: 940px;
  overflow: hidden;
}

.hero .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero .slide.on {
  opacity: 1;
}

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

.hero .scrim {
  position: absolute;
  inset: 0;
  background: rgba(44, 37, 32, 0.34);
}

.hero-text {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8%;
  z-index: 2;
}

.hero h1 {
  color: var(--beige-latte-pale);
}

/* Option C (2 juillet 2026) : sur photo, kicker et em passent au
   beige pale pour le contraste ; la distinction tient a la typo. */
.hero .kicker,
.hero h1 em {
  color: var(--beige-latte-pale);
}

.hero-sub {
  color: var(--beige-latte-pale);
  font-size: 19px;
  line-height: 1.6;
  max-width: 560px;
  margin: 24px 0 36px;
}

.hero .dots {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 3;
  display: flex;
}

/* cible tactile de 26px, point visible de 11px */
.hero .dots button {
  width: 26px;
  height: 26px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero .dots button::after {
  content: "";
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(244, 236, 215, 0.55);
}

.hero .dots button.on::after {
  background: var(--beige-latte-pale);
}

.hero .dots button:focus-visible {
  outline: 2px solid var(--beige-latte-pale);
  outline-offset: 2px;
}

/* ===== Le pont (style bourgeois boheme, 2 juillet 2026) ===== */

.pont {
  position: relative;
  background: var(--beige-latte);
  padding: 72px 0 64px;
  text-align: center;
  overflow: hidden;
}

/* grain de papier subtil */
.pont::before,
.village-band::before,
.village-duo-band::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.5;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
}

.pont-ornement {
  position: relative;
  width: 46px;
  height: 46px;
  margin: 0 auto 24px;
  color: var(--cactus-deep);
}

.pont .pont-texte {
  position: relative;
  font-family: "Fraunces", serif;
  font-style: italic;
  font-size: 24px;
  line-height: 1.6;
  color: var(--brun-fonce);
  max-width: 680px;
  margin: 0 auto;
  font-variation-settings:
    "opsz" 60,
    "SOFT" 40;
}

.pont em {
  font-style: normal;
  color: var(--ocre-rouge-sombre);
}

/* filet ornemental partage (pont et bandeau village) */
.filet-ornement {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
}
.filet-ornement::before,
.filet-ornement::after {
  content: "";
  height: 1px;
  width: 60px;
  background: var(--romarin);
  opacity: 0.5;
}
.filet-ornement span {
  font-size: 18px;
  color: var(--ocre-rouge);
}

/* ===== Le village et Uzes ===== */

.village {
  padding-bottom: 0; /* le bandeau du duo parfait clot la section */
}

.village-band {
  position: relative;
  background: linear-gradient(
    180deg,
    var(--cactus-deep) 0%,
    var(--romarin) 100%
  );
  padding: 96px 0 88px;
  text-align: center;
  overflow: hidden;
}

.village-band h2 {
  position: relative;
  color: var(--beige-latte-pale);
  font-size: 68px;
  text-shadow: 0 1px 2px rgba(44, 37, 32, 0.25);
}

.village-band .filet-ornement::before,
.village-band .filet-ornement::after {
  background: var(--beige-latte-pale);
  opacity: 0.55;
}
.village-band .filet-ornement span {
  color: var(--beige-latte-pale);
}

/* Blocs de texte du village (Saint-Siffret, puis Uzes) :
   titre pleine largeur, prose en deux colonnes sur la grille */
.village-texte {
  padding-top: 72px;
  margin-bottom: 32px;
  columns: 2;
  column-gap: 72px;
}
.village-texte h3 {
  column-span: all;
  margin-bottom: 16px;
}
/* marges basses plutot que hautes : le haut des deux colonnes s'aligne */
.village-texte p {
  break-inside: avoid;
  margin-top: 0;
  margin-bottom: 1.1em;
}
.village-texte p:last-child {
  margin-bottom: 0;
}

/* Le duo parfait : bandeau beige au langage du pont */
.village-duo-band {
  position: relative;
  background: var(--beige-latte);
  padding: 72px 0 64px;
  text-align: center;
  overflow: hidden;
  margin-top: 96px;
}
.village-duo-texte {
  position: relative;
  font-family: "Fraunces", serif;
  font-style: italic;
  font-size: 24px;
  line-height: 1.6;
  color: var(--brun-fonce);
  max-width: 680px;
  margin: 0 auto;
  font-variation-settings:
    "opsz" 60,
    "SOFT" 40;
}
.village-duo-texte em {
  font-style: normal;
  color: var(--ocre-rouge-sombre);
}

/* ===== Rangees bento : chaque photo garde son ratio ===== */

.brow {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.brow + .brow {
  margin-top: 16px;
}

.brow img {
  height: var(--h, 420px);
  width: auto;
}

/* Paire de photos paysage, pleine largeur */
.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.duo img {
  width: 100%;
  height: auto;
}

/* Photo vedette pleine largeur, ratio d'origine */
.vedette {
  margin-bottom: 16px;
}
.vedette img {
  width: 100%;
  height: auto;
}

/* ===== La maison ===== */

.maison {
  padding: 96px 0 112px;
}

/* Intro de la maison : titre pleine largeur, prose en deux colonnes
   (integre l'ancien bloc « Cote confort », retire le 3 juillet 2026) */
.maison-intro {
  columns: 2;
  column-gap: 72px;
}

.maison-intro h2 {
  column-span: all;
  margin-bottom: 28px;
}

.maison-intro p {
  font-size: 18px;
  break-inside: avoid;
  margin-top: 0;
  margin-bottom: 1.1em;
}
.maison-intro p:last-child {
  margin-bottom: 0;
}

.piece {
  margin-top: 96px;
}

.piece-head {
  max-width: 680px;
  margin-bottom: 32px;
}

.piece-head h3 {
  margin-bottom: 16px;
}

/* Texte et photo cote a cote (salon) */
.piece-split {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 56px;
  align-items: center;
  margin-top: 16px;
}

/* ===== Une region qui s'ouvre (extrait du guide) =====
   Rangees bento a hauteur commune (--h) : chaque tuile prend
   une largeur flex proportionnelle au ratio de ses photos
   (--ratio), pour respecter les formats d'origine. Carrousels
   par destination sur le meme principe que le hero. */

.region {
  padding: 112px 0 104px;
}

.region-intro {
  max-width: 700px;
  margin-bottom: 64px;
}
.region-intro h2 {
  margin-bottom: 28px;
}
.region-intro p {
  font-size: 18px;
}

.rangee {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.rangee + .rangee {
  margin-top: 16px;
}

/* La hauteur de chaque tuile decoule de son ratio d'origine (--ar) et de
   sa largeur flex (--ratio = valeur du ratio) : quand tous les --ratio
   d'une rangee egalent les --ar, les tuiles ont exactement la meme
   hauteur, sans aucun recadrage, a toutes les largeurs d'ecran. */
.tuile {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  background: var(--beige-latte);
  aspect-ratio: var(--ar, 16 / 9);
  flex-grow: var(--ratio, 1.5);
  flex-basis: 0;
  min-width: 0;
}
.tuile picture {
  display: block;
  width: 100%;
  height: 100%;
}
.tuile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Legende en surimpression sur la photo */
.tuile .legende {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 24px 20px;
  background: linear-gradient(
    to top,
    rgba(44, 37, 32, 0.86) 0%,
    rgba(44, 37, 32, 0.4) 60%,
    rgba(44, 37, 32, 0) 100%
  );
  pointer-events: none;
  z-index: 3;
}
.tuile .legende h3 {
  color: var(--beige-latte-pale);
  font-size: 21px;
}
.tuile .legende .temps,
.legende-simple .temps {
  font-style: italic;
  color: var(--ocre-rouge);
  font-weight: 400;
}
.tuile .legende .temps {
  color: var(--beige-latte);
  font-size: 14px;
}
.tuile .legende p {
  color: rgba(244, 236, 215, 0.9);
  font-size: 14.5px;
  margin-top: 6px;
  max-width: 46ch;
}

/* Legende sous la tuile */
.legende-simple {
  padding-top: 16px;
}
.legende-simple h3 {
  margin-bottom: 6px;
  font-size: 20px;
}
.legende-simple .temps {
  font-size: 15px;
}
.legende-simple p {
  font-size: 14.5px;
}
.colonne-avec-legende {
  display: flex;
  flex-direction: column;
  flex-grow: var(--ratio, 1.5);
  flex-basis: 0;
  min-width: 0;
}

/* credit discret pour les photos empruntees */
.credit-photo {
  font-size: 12px;
  color: var(--romarin);
  margin-top: 6px;
}
.credit-photo a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.colonne-avec-legende .tuile {
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: var(--ar, 16 / 9);
}

/* Carrousel : fondu doux, points, fleches au survol */
.carrousel {
  position: relative;
}
.carrousel .diapo {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}
.carrousel .diapo.on {
  opacity: 1;
  z-index: 1;
}

.carrousel .cpoints {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  z-index: 4;
  display: flex;
  justify-content: center;
}
/* cible tactile de 26px, point visible de 6,5px */
.carrousel .cpoints button {
  width: 26px;
  height: 26px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.carrousel .cpoints button::after {
  content: "";
  width: 6.5px;
  height: 6.5px;
  border-radius: 50%;
  background: rgba(244, 236, 215, 0.55);
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}
.carrousel .cpoints button.on::after {
  background: var(--beige-latte-pale);
  transform: scale(1.25);
}
.carrousel .cpoints button:focus-visible {
  outline: 2px solid var(--beige-latte-pale);
  outline-offset: 2px;
}

.carrousel .cfleche {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 15%;
  min-width: 34px;
  display: flex;
  align-items: center;
  border: none;
  background: transparent;
  color: var(--beige-latte-pale);
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 4;
}
.carrousel .cfleche svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5));
}
.carrousel .cfleche.prev {
  left: 0;
  justify-content: flex-start;
  padding-left: 8px;
}
.carrousel .cfleche.next {
  right: 0;
  justify-content: flex-end;
  padding-right: 8px;
}
.carrousel:hover .cfleche,
.carrousel:focus-within .cfleche {
  opacity: 1;
}

/* au tactile, pas de survol : fleches toujours visibles en discret */
@media (hover: none) {
  .carrousel .cfleche {
    opacity: 0.65;
  }
}

/* Respirations entre groupes de rangees */
.rangee-avignon,
.rangee-final,
.rangee-aix {
  margin-top: 48px;
}

/* Cloture : le mot vers le guide complet */
.cloture {
  margin-top: 88px;
  background: var(--beige-latte);
  padding: 64px 56px;
  border-radius: 2px;
  text-align: center;
}
.cloture .citation-cloture {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-size: 24px;
  line-height: 1.5;
  color: var(--brun-fonce);
  max-width: 680px;
  margin: 0 auto 36px;
  font-variation-settings:
    "opsz" 60,
    "SOFT" 30;
}
.cloture .cta-row {
  justify-content: center;
}

/* ===== L'essentiel pratique (cartes thematiques + FAQ) ===== */

.pratique {
  padding: 96px 0 112px;
}

.pratique .soustitre {
  font-size: 18px;
  color: var(--brun-doux);
  max-width: 640px;
  margin-top: 22px;
}

.cartes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 64px;
}

.carte {
  background: var(--beige-latte);
  border-radius: 2px;
  padding: 30px 28px;
}

.carte svg {
  width: 36px;
  height: 36px;
  margin-bottom: 16px;
  display: block;
}

.carte h3 {
  font-size: 20px;
  line-height: 1.3;
  margin-bottom: 10px;
}

.carte p {
  font-size: 15.5px;
}

.carte p + p {
  margin-top: 8px;
}

/* FAQ en accordeon natif */
.faq-wrap {
  max-width: 700px;
  margin: 88px auto 0;
}

.faq-titre {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-weight: 400;
  font-size: 21px;
  color: var(--cactus-deep);
  text-align: center;
  margin-bottom: 36px;
}

.pratique details {
  border-top: 1px solid var(--beige-latte-deep);
}
.pratique details:last-of-type {
  border-bottom: 1px solid var(--beige-latte-deep);
}

.pratique summary {
  list-style: none;
  cursor: pointer;
  padding: 21px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-family: "Fraunces", serif;
  font-size: 19px;
  color: var(--brun-fonce);
}
.pratique summary::-webkit-details-marker {
  display: none;
}

.pratique .chevron {
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--ocre-rouge);
  border-bottom: 2px solid var(--ocre-rouge);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  margin-top: -4px;
}
.pratique details[open] summary .chevron {
  transform: rotate(-135deg);
  margin-top: 4px;
}

.faq-reponse {
  padding: 0 0 24px;
  font-size: 16px;
  max-width: 620px;
}

.pratique .cta-row {
  margin-top: 88px;
  justify-content: center;
}

/* ===== Reserver ou poser une question ===== */

.reserver {
  padding: 96px 0 112px;
}

.reserver-intro {
  max-width: 680px;
  margin-bottom: 56px;
}
.reserver-intro p {
  font-size: 18px;
}

/* deux tuiles d'egale hauteur, gouttiere alignee sur la grille des cartes */
.reserver-grille {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.calendrier-bloc,
.form-bloc {
  background: var(--beige-latte);
  border-radius: 2px;
  padding: 32px;
}

.reserver button:focus-visible,
.reserver input:focus-visible,
.reserver textarea:focus-visible {
  outline: 2px solid var(--ocre-rouge);
  outline-offset: 3px;
}

.reserver button.btn {
  border: none;
  cursor: pointer;
}
.reserver .btn[disabled] {
  opacity: 0.6;
  cursor: default;
}

/* ----- Calendrier ----- */

.cal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.cal-nav button {
  width: 40px;
  height: 40px;
  border: none;
  background: var(--beige-latte-pale);
  color: var(--brun-fonce);
  border-radius: 2px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}
.cal-nav button:hover {
  background: var(--beige-latte-deep);
}
.cal-nav button svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
}

.cal-mois {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-size: 21px;
  color: var(--brun-fonce);
  text-transform: capitalize;
}

.cal-jours-entete {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 6px;
}
.cal-jours-entete span {
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brun-doux);
  padding-bottom: 6px;
}

.cal-grille {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.cal-jour {
  position: relative;
  min-width: 40px;
  min-height: 40px;
  aspect-ratio: 1 / 1;
  border: none;
  background: var(--beige-latte-pale);
  color: var(--brun-fonce);
  font-family: "Karla", sans-serif;
  font-size: 14px;
  border-radius: 2px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background-color 0.15s ease,
    color 0.15s ease;
}
.cal-jour:hover:not(:disabled) {
  background: var(--cactus);
  color: var(--beige-latte-pale);
}
.cal-jour:disabled {
  cursor: default;
  opacity: 0.4;
  background: transparent;
}
.cal-jour.vide {
  background: transparent;
  cursor: default;
}
.cal-jour.reserve {
  background: var(--beige-latte-deep);
  color: var(--brun-doux);
  text-decoration: line-through;
  cursor: not-allowed;
  opacity: 1;
}
.cal-jour.reserve:hover {
  background: var(--beige-latte-deep);
  color: var(--brun-doux);
}
/* Jour d'arrivée d'une réservation existante, cliquable comme départ
   (la nuit précédente est libre : départ le matin, arrivée l'après-midi) */
.cal-jour.reserve.depart-possible {
  cursor: pointer;
}
.cal-jour.reserve.depart-possible:hover {
  background: var(--cactus);
  color: var(--beige-latte-pale);
}
/* Une borne de départ choisie sur un jour réservé garde son
   surlignage de sélection, au survol comme au repos : la sélection
   ne doit jamais paraître annulée. */
.cal-jour.reserve.selection-borne,
.cal-jour.reserve.selection-borne:hover {
  background: var(--cactus-deep);
  color: var(--beige-latte-pale);
  text-decoration: none;
  cursor: pointer;
  opacity: 1;
}
.cal-jour.selection {
  background: var(--cactus);
  color: var(--beige-latte-pale);
}
.cal-jour.selection-borne {
  background: var(--cactus-deep);
  color: var(--beige-latte-pale);
  font-weight: 600;
  text-decoration: none;
}
.cal-jour.aujourdhui::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--ocre-rouge);
}
.cal-jour.selection.aujourdhui::after,
.cal-jour.reserve.aujourdhui::after {
  background: var(--beige-latte-pale);
}

.cal-legende {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
  font-size: 12.5px;
  color: var(--brun-doux);
}
.cal-legende span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.cal-legende i {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 2px;
}
.cal-legende .puce-reserve {
  background: var(--beige-latte-deep);
}
.cal-legende .puce-selection {
  background: var(--cactus);
}

.cal-plage {
  margin-top: 18px;
  font-size: 15px;
  font-weight: 600;
  color: var(--cactus-deep);
  min-height: 22px;
}
.cal-total {
  margin-top: 8px;
  font-size: 14px;
  color: var(--brun-doux);
  min-height: 20px;
}
.cal-erreur {
  margin-top: 8px;
  font-size: 14px;
  color: var(--ocre-rouge-sombre);
  min-height: 20px;
}

/* ----- Formulaire ----- */

.champ {
  margin-bottom: 20px;
}
.champ label {
  display: block;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--brun-fonce);
  font-weight: 600;
  margin-bottom: 7px;
}
.champ input[type="text"],
.champ input[type="email"],
.champ input[type="tel"],
.champ input[type="number"],
.champ textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: "Karla", sans-serif;
  font-size: 15px;
  color: var(--brun-fonce);
  background: var(--beige-latte-pale);
  border: 1px solid var(--beige-latte-deep);
  border-radius: 2px;
}
.champ textarea {
  resize: vertical;
  min-height: 90px;
}
.champ-erreur {
  margin-top: 6px;
  font-size: 13px;
  color: var(--ocre-rouge-sombre);
}

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

.interrupteur-ligne {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.interrupteur-ligne > span {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--brun-fonce);
  font-weight: 600;
}
.interrupteur {
  position: relative;
  display: inline-flex;
  width: 52px;
  height: 30px;
  border-radius: 999px;
  border: none;
  background: var(--beige-latte-deep);
  cursor: pointer;
  padding: 3px;
  transition: background-color 0.2s ease;
}
.interrupteur .poignee {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--beige-latte-pale);
  transition: transform 0.2s ease;
}
.interrupteur[aria-checked="true"] {
  background: var(--cactus-deep);
}
.interrupteur[aria-checked="true"] .poignee {
  transform: translateX(22px);
}

/* honeypot anti-pourriel, hors ecran */
.cache-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-pied {
  margin-top: 8px;
}
.form-message {
  margin-top: 16px;
  padding: 16px 18px;
  border-radius: 2px;
  font-size: 15px;
  display: none;
}
.form-message.succes {
  display: block;
  background: var(--cactus-deep);
  color: var(--beige-latte-pale);
}
.form-message.erreur {
  display: block;
  background: var(--beige-latte-pale);
  border: 1px solid var(--ocre-rouge);
  color: var(--ocre-rouge-sombre);
}

.porte-question {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--beige-latte-deep);
  font-size: 15px;
  color: var(--brun-doux);
}
.porte-question a {
  color: var(--brun-fonce);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--ocre-rouge);
}
.porte-question a:hover {
  color: var(--ocre-rouge);
}

/* ===== Pied de page provisoire ===== */

.footer {
  padding: 88px 0 96px;
  text-align: center;
  border-top: 1px solid var(--beige-latte-deep);
}

.footer-mark {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-size: 24px;
  color: var(--cactus-deep);
  margin-bottom: 12px;
}

.footer a {
  color: var(--brun-doux);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--ocre-rouge);
}

.footer a:hover {
  color: var(--ocre-rouge);
}

.footer-meta {
  margin-top: 10px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brun-doux);
}

/* ===== Responsive ===== */

@media (max-width: 980px) {
  .container {
    padding: 0 28px;
  }

  h1 {
    font-size: 46px;
  }
  h2 {
    font-size: 36px;
  }
  h3 {
    font-size: 25px;
  }

  .village-band h2 {
    font-size: 50px;
  }

  .village-texte {
    padding-top: 56px;
  }
  .village-duo-band {
    margin-top: 72px;
  }

  .piece-split {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  /* les proses en deux colonnes repassent a une colonne */
  .village-texte,
  .maison-intro {
    columns: 1;
  }

  .cartes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  body {
    font-size: 16px;
  }

  .container {
    padding: 0 20px;
  }

  .topbar-inner {
    gap: 16px;
    padding-top: 18px;
    padding-bottom: 18px;
  }
  .brand {
    font-size: 16px;
  }
  .topbar-nav {
    gap: 16px;
  }
  .topbar-nav a {
    font-size: 11px;
    letter-spacing: 0.12em;
  }
  .topbar-nav a:not(.nav-reserver) {
    display: none;
  }

  h1 {
    font-size: 40px;
  }

  .hero {
    height: 80svh;
    min-height: 480px;
  }
  .hero-sub {
    font-size: 16.5px;
    margin-bottom: 28px;
  }
  .hero .dots {
    right: 16px;
    bottom: 16px;
  }

  .pont {
    padding: 52px 0 48px;
  }
  .pont .pont-texte {
    font-size: 20px;
  }

  .village-band {
    padding: 64px 0 56px;
  }
  .village-band h2 {
    font-size: 38px;
  }
  .village {
    padding-bottom: 0;
  }

  /* bentos : les rangees passent en pleine largeur empilee */
  .brow {
    flex-wrap: wrap;
  }
  .brow img {
    height: auto;
    width: 100%;
  }
  .brow.paire img {
    width: calc(50% - 8px);
    height: auto;
  }

  .duo {
    gap: 10px;
  }
  .vedette {
    margin-bottom: 10px;
  }
  .brow + .brow {
    margin-top: 10px;
  }

  .maison {
    padding-top: 72px;
    padding-bottom: 80px;
  }
  .piece {
    margin-top: 72px;
  }

  /* region : rangees empilees, chaque tuile garde son ratio */
  .region {
    padding: 80px 0 76px;
  }
  .region-intro {
    margin-bottom: 40px;
  }
  .rangee {
    flex-direction: column;
  }
  .rangee .tuile,
  .rangee .colonne-avec-legende {
    height: auto;
    flex: none;
    width: 100%;
  }
  .rangee .tuile,
  .rangee .colonne-avec-legende .tuile {
    aspect-ratio: var(--ar, 16 / 9);
  }
  .rangee + .rangee,
  .rangee-avignon,
  .rangee-final {
    margin-top: 10px;
  }
  .colonne-avec-legende + .colonne-avec-legende,
  .rangee .tuile + .tuile {
    margin-top: 10px;
  }
  .legende-simple {
    padding-top: 12px;
    padding-bottom: 8px;
  }

  .cloture {
    margin-top: 56px;
    padding: 44px 24px;
  }
  .cloture .citation-cloture {
    font-size: 20px;
  }

  .reserver {
    padding: 64px 0 80px;
  }
  .reserver-intro {
    margin-bottom: 36px;
  }
  .reserver-grille {
    grid-template-columns: 1fr;
  }
  .ligne-deux {
    grid-template-columns: 1fr;
  }
  .calendrier-bloc,
  .form-bloc {
    padding: 24px 20px;
  }

  .pratique {
    padding-top: 64px;
    padding-bottom: 80px;
  }
  .cartes-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 40px;
  }
  .faq-wrap {
    margin-top: 64px;
  }
  .pratique .cta-row {
    margin-top: 56px;
  }

  .btn {
    padding: 15px 26px;
    font-size: 13px;
  }
  .cta-row {
    gap: 20px;
  }
}

/* ===== Sélecteur de langue (menu et pied de page) ===== */

.lang-switch {
  display: flex;
  gap: 10px;
  align-items: baseline;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
}

.lang-switch a {
  color: var(--brun-doux);
  text-decoration: none;
}

.lang-switch a:hover {
  color: var(--ocre-rouge);
}

.lang-switch a[aria-current="true"] {
  color: var(--ocre-rouge);
  text-decoration: underline;
  text-underline-offset: 6px;
}

.lang-switch span {
  color: var(--brun-doux);
}

.footer .lang-switch {
  justify-content: center;
  margin-top: 18px;
  text-transform: none;
  letter-spacing: 0.08em;
}
