/* L'Est Trankil — habillage maison par-dessus Cassiopeia */

body, p, li, a, input, textarea, button {
  font-family: 'Nunito', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
h1, h2, h3, h4, .hero-slide__title, .hero-subtitle, a.brand-logo .site-description {
  font-family: 'Baloo 2', 'Nunito', system-ui, sans-serif;
}

:root {
  --et-teal: #2a9d8f;
  --et-teal-dark: #1b7a72;
  --et-terracotta: #e76f51;
  --et-sand: #e9c46a;
  --et-sky: #219ebc;
  --et-cream: #fdf6ec;
}

a.brand-logo img { max-height: 170px; width: auto; transition: max-height .25s ease; }
header.header.container-header.is-scrolled a.brand-logo img { max-height: 70px; }
header.header.container-header.is-scrolled { background: #fff !important; box-shadow: 0 2px 10px rgba(0,0,0,.12); }
body.itemid-101 header.header.container-header.is-scrolled .mod-menu > .nav-item > a { color: var(--et-teal-dark); }
body.itemid-101 header.header.container-header.is-scrolled .mod-menu > .nav-item > a:hover,
body.itemid-101 header.header.container-header.is-scrolled .mod-menu > .nav-item.current > a { background: var(--et-cream); color: var(--et-terracotta); }

/* Sélecteur de langue dans le header */
.grid-child .moduletable.langues { display: flex; align-items: center; margin-left: 12px; }
#langSwitcher ul.lang-inline { display: flex; gap: 6px; }
#langSwitcher img { width: 26px; height: 17px; border-radius: 2px; }

/* Hero slideshow (position "banner") — grand format avec fondu, titre/description/CTA par slide, comme periloc.com */
.hero-slideshow { position: relative; width: 100%; height: 100vh; min-height: 600px; overflow: hidden; background: var(--et-teal-dark); }
.hero-slide { position: absolute; inset: 0; opacity: 0; animation: heroFade 15s infinite; }
.hero-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-slide__overlay {
  position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center; padding: 24px;
  background: linear-gradient(rgba(0,0,0,.15), rgba(0,0,0,.45));
}
.hero-slide__title {
  color: #fff; font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; margin: 0 0 14px;
  text-shadow: 0 2px 12px rgba(0,0,0,.5); text-transform: uppercase; letter-spacing: .5px;
}
.hero-slide__desc {
  color: #fff; font-size: clamp(1.05rem, 2vw, 1.3rem); max-width: 640px; margin: 0 0 26px;
  text-shadow: 0 1px 6px rgba(0,0,0,.5);
}
.hero-slide__cta {
  display: inline-block; background: var(--et-terracotta); color: #fff; font-weight: 700;
  text-decoration: none; padding: 14px 40px; border-radius: 30px; font-size: 1.05rem;
  text-transform: uppercase; letter-spacing: .5px; transition: background .2s, transform .2s;
}
.hero-slide__cta:hover { background: var(--et-sand); color: #1d2228; transform: translateY(-2px); }
.hero-slide:nth-child(1) { animation-delay: 0s; }
.hero-slide:nth-child(2) { animation-delay: 5s; }
.hero-slide:nth-child(3) { animation-delay: 10s; }
/* Pas de retour à 0 en fin de cycle : chaque slide reste opaque et se fait recouvrir
   par la suivante (plus tard dans le DOM = au-dessus) — élimine le flash de la couleur
   de fond entre deux slides. */
@keyframes heroFade {
  0%   { opacity: 0; }
  5%   { opacity: 1; }
  100% { opacity: 1; }
}
.hero-subtitle {
  text-align: center; color: var(--et-teal-dark); background: var(--et-cream);
  font-size: clamp(1.1rem, 2.4vw, 1.6rem); font-weight: 700; padding: 20px 16px; margin: 0;
}

/* Grille des chambres (position "main-top") */
.chambres-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin: 8px 0 24px; }
.chambre-card { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,.1); display: flex; flex-direction: column; }
.chambre-card__link { color: inherit; text-decoration: none; display: block; }
.chambre-card__img { width: 100%; height: 200px; object-fit: cover; display: block; }
.chambre-card__body { padding: 16px; }
.chambre-card__title { margin: 0 0 8px; color: var(--et-teal-dark); font-size: 1.15rem; }
.chambre-card__desc { margin: 0; font-weight: 400; color: #555; font-size: .95rem; }
.chambre-card__actions { display: flex; gap: 8px; padding: 0 16px 16px; margin-top: auto; }
.chambre-card__cta { flex: 1; text-align: center; padding: 10px 6px; border-radius: 8px; font-weight: 600; text-decoration: none; font-size: .9rem; }
.chambre-card__cta--fiche { background: var(--et-cream); color: var(--et-teal-dark); border: 1px solid var(--et-teal); }
.chambre-card__cta--airbnb { background: #FF5A5F; color: #fff; }
.chambre-card__cta--booking { background: #003580; color: #fff; }
.chambre-card__cta--direct { background: var(--et-terracotta); color: #fff; }
.chambre-card__cta--direct:hover { background: var(--et-teal-dark); color: #fff; }
.chambres-grid-title { color: var(--et-teal-dark); text-align: center; margin-bottom: 16px; }

/* Bandeau agenda de réservation (position "agenda-full") */
.container-agenda-full { background: linear-gradient(135deg, var(--et-teal), var(--et-sky)); padding: 56px 24px; text-align: center; color: #fff; }
.agenda-banner h2 { font-size: clamp(1.4rem, 3vw, 2.2rem); margin: 0 0 12px; color: #fff; }
.agenda-banner p { max-width: 640px; margin: 0 auto; font-size: 1.05rem; opacity: .95; }
.agenda-banner .agenda-cta {
  display: inline-block; margin-top: 20px; background: var(--et-terracotta); color: #fff;
  padding: 14px 36px; border-radius: 30px; font-weight: 700; text-decoration: none; font-size: 1.05rem;
}
.agenda-banner .agenda-cta:hover { background: var(--et-sand); color: #1d2228; }

/* Menu principal horizontal et centré, langues poussées à droite */
header.header.container-header {
  display: flex !important; grid-template-columns: none !important;
  align-items: center !important; flex-wrap: nowrap !important; gap: 12px;
  padding: 10px 230px 10px 24px; position: sticky !important; top: 0; z-index: 50;
  background: #fff; transition: background .25s ease, box-shadow .25s ease, padding .25s ease;
}
header.header.container-header > .grid-child { margin: 0; flex: 0 0 auto !important; padding: 0 !important; }
/* Centrage absolu, vrai centre du header, indépendant des largeurs logo/langues */
header.header.container-header > .container-nav {
  position: absolute !important; left: 50% !important; top: 50% !important; transform: translate(-50%, -50%) !important;
  width: max-content !important; max-width: calc(100% - 420px); flex: none !important;
  display: flex !important; align-items: center; justify-content: center !important;
  padding-bottom: 0 !important; flex-wrap: nowrap !important; margin: 0 !important;
}
header.header.container-header .mod-menu { display: flex !important; flex-wrap: nowrap !important; gap: 4px; align-items: center; justify-content: center; list-style: none; margin: 0; padding: 0; white-space: nowrap; }
/* Sélecteur de langue sorti du flux flex, ancré en haut à droite du header (pas aligné au menu) */
header.header.container-header > .lang-switcher-block {
  position: absolute !important; right: 24px !important; left: auto !important; top: 50% !important; transform: translateY(-50%) !important;
  display: flex; align-items: center; margin: 0 !important; padding: 0 !important; width: max-content !important;
}
@media (max-width: 900px) {
  header.header.container-header { flex-wrap: wrap !important; padding-right: 24px; }
  header.header.container-header > .container-nav {
    position: static !important; left: auto !important; top: auto !important; transform: none !important;
    flex: 1 1 100% !important; order: 3; max-width: 100%; margin-top: 8px !important;
  }
  header.header.container-header .mod-menu { flex-wrap: wrap !important; }
  header.header.container-header > .lang-switcher-block { position: static !important; transform: none; order: 2; margin-left: auto !important; }
}
.header .mod-menu > .nav-item { position: relative; }
.header .mod-menu > .nav-item > a {
  display: block; padding: 8px 14px; color: var(--et-teal-dark); font-weight: 600; text-decoration: none; border-radius: 6px;
}
.header .mod-menu > .nav-item > a:hover,
.header .mod-menu > .nav-item.current > a { background: var(--et-cream); color: var(--et-terracotta); }
.header .mod-menu__sub {
  display: none; position: absolute; top: 100%; left: 0; min-width: 190px; background: #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,.15); border-radius: 8px; padding: 6px 0; z-index: 50; list-style: none; margin: 0;
}
.header .mod-menu > .nav-item:hover > .mod-menu__sub { display: block; }
.header .mod-menu__sub li a { display: block; padding: 8px 16px; color: var(--et-teal-dark); text-decoration: none; white-space: nowrap; }
.header .mod-menu__sub li a:hover { background: var(--et-cream); color: var(--et-terracotta); }

/* Emplacement de l'agenda Google partagé (Calendrier de disponibilités) */
.calendar-embed-placeholder {
  border: 2px dashed var(--et-teal); border-radius: 10px; background: var(--et-cream);
  padding: 40px 24px; text-align: center; color: var(--et-teal-dark); margin: 20px 0;
}

/* Accueil uniquement : header flottant transparent par-dessus le slide (comme periloc.com) */
body.itemid-101 header.header.container-header {
  position: fixed !important; top: 0; left: 0; right: 0; width: 100%;
  background: linear-gradient(rgba(0,0,0,.4), rgba(0,0,0,0)) !important;
  box-shadow: none !important;
}
body.itemid-101 header.header.container-header .mod-menu > .nav-item > a {
  color: #fff;
}
body.itemid-101 header.header.container-header .mod-menu > .nav-item > a:hover,
body.itemid-101 header.header.container-header .mod-menu > .nav-item.current > a {
  background: rgba(255,255,255,.18); color: #fff;
}
body.itemid-101 header.header.container-header.is-scrolled {
  background: #fff !important; box-shadow: 0 2px 10px rgba(0,0,0,.12) !important;
}
body.itemid-101 .hero-slideshow { margin-top: 0; }
@media (max-width: 900px) {
  body.itemid-101 header.header.container-header { position: sticky !important; top: 0; background: #fff !important; }
  body.itemid-101 header.header.container-header .mod-menu > .nav-item > a { color: var(--et-teal-dark); }
}

/* Agenda iCal (prochaines dates réservées) dans le bandeau Calendrier de disponibilités */
.container-agenda-full .agenda-ical { margin-top: 24px; }
.agenda-ical__empty { color: #fff; opacity: .9; font-style: italic; margin: 0; }
.agenda-ical__list {
  list-style: none; margin: 0 auto; padding: 0; max-width: 520px;
  background: rgba(255,255,255,.12); border-radius: 10px; overflow: hidden;
}
.agenda-ical__list li {
  color: #fff; padding: 10px 18px; text-align: left; font-size: .95rem;
  border-bottom: 1px solid rgba(255,255,255,.18);
}
.agenda-ical__list li:last-child { border-bottom: none; }

.chambres-grid-intro { text-align: center; color: #555; max-width: 640px; margin: -8px auto 24px; font-size: 1.05rem; }

/* Où nous trouver / Qui sommes-nous (sous le module Nos chambres) */
.chambres-infos { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin: 32px 0; }
.chambres-infos__col h3 { color: var(--et-teal-dark); margin: 0 0 10px; }
.chambres-infos__col p { color: #555; margin: 0 0 12px; }
.chambres-infos__map iframe { display: block; border-radius: 10px; }
@media (max-width: 760px) {
  .chambres-infos { grid-template-columns: 1fr; }
}

/* Agenda mensuel visuel (remplace la liste de lignes) */
.agenda-month {
  background: rgba(255,255,255,.95); border-radius: 14px; padding: 20px 24px 16px;
  max-width: 420px; margin: 0 auto; box-shadow: 0 6px 20px rgba(0,0,0,.15);
}
.agenda-month__title { color: var(--et-teal-dark); text-align: center; margin: 0 0 14px; font-size: 1.2rem; }
.agenda-month__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.agenda-month__weekday { text-align: center; font-size: .75rem; font-weight: 700; color: #888; padding-bottom: 4px; }
.agenda-month__day {
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
  border-radius: 8px; font-size: .9rem; color: #333; background: var(--et-cream);
}
.agenda-month__day--empty { background: transparent; }
.agenda-month__day--busy { background: var(--et-terracotta); color: #fff; font-weight: 700; }
.agenda-month__day--today { outline: 2px solid var(--et-teal); outline-offset: -2px; font-weight: 700; }
.agenda-month__legend { display: flex; justify-content: center; gap: 18px; margin-top: 14px; font-size: .8rem; color: #555; }
.agenda-month__legend-dot { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 4px; vertical-align: middle; }
.agenda-month__legend-dot--busy { background: var(--et-terracotta); }
.agenda-month__legend-dot--today { background: #fff; border: 2px solid var(--et-teal); }

/* Agenda plein largeur + navigation par mois, sur la page Calendrier de disponibilités */
.agenda-month__header { display: flex; align-items: center; justify-content: center; gap: 24px; margin-bottom: 14px; }
.agenda-month__nav {
  display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px;
  border-radius: 50%; background: var(--et-cream); color: var(--et-teal-dark); font-size: 1.4rem;
  text-decoration: none; font-weight: 700;
}
.agenda-month__nav:hover { background: var(--et-sand); }
.agenda-month--full { width: 100%; max-width: 100%; padding: 28px 40px 24px; box-sizing: border-box; }
.agenda-month--full .agenda-month__grid { max-width: 900px; margin: 0 auto; gap: 8px; }
.agenda-month--full .agenda-month__day { font-size: 1.15rem; }
.agenda-month--full .agenda-month__title { font-size: 1.6rem; }

/* Info-bulle au survol d'une date réservée (nom du bien) */
.agenda-month__day--busy { position: relative; cursor: default; }
.agenda-month__day-tip {
  display: none; position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%);
  background: #1d2228; color: #fff; padding: 6px 10px; border-radius: 6px; font-size: .78rem;
  white-space: nowrap; z-index: 20; box-shadow: 0 4px 12px rgba(0,0,0,.25);
}
.agenda-month__day-tip::after {
  content: ""; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  border: 5px solid transparent; border-top-color: #1d2228;
}
.agenda-month__day--busy:hover .agenda-month__day-tip,
.agenda-month__day--busy:focus .agenda-month__day-tip { display: block; }

/* Diaporama des chambres (page "Nos chambres", entre la description et les encarts) */
.rooms-slideshow { position: relative; width: 100%; height: 420px; overflow: hidden; border-radius: 14px; margin: 24px 0; background: var(--et-teal-dark); }
/* Pas de boucle ici : une seule passe, puis reste figé sur la 3e photo (contrairement
   au diaporama d'une chambre individuelle, qui boucle en continu) */
.rooms-slide { position: absolute; inset: 0; opacity: 0; animation: heroFade 15s infinite; }
.rooms-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rooms-slide__title {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 24px;
  background: linear-gradient(0deg, rgba(0,0,0,.6), rgba(0,0,0,0));
  color: #fff; font-size: 1.4rem; font-weight: 800; text-shadow: 0 2px 8px rgba(0,0,0,.5);
}
.rooms-slide:nth-child(1) { animation-delay: 0s; }
.rooms-slide:nth-child(2) { animation-delay: 5s; }
.rooms-slide:nth-child(3) { animation-delay: 10s; }

/* Diaporama "Nos chambres" : les 9 photos (3 par chambre), ordre mélangé par JS, délais
   recalculés pour un cycle complet de 45s (5s par photo) */
.rooms-slideshow--all .rooms-slide { animation-duration: 45s; }
.rooms-slideshow--all .rooms-slide:nth-child(1) { animation-delay: 0s; }
.rooms-slideshow--all .rooms-slide:nth-child(2) { animation-delay: 5s; }
.rooms-slideshow--all .rooms-slide:nth-child(3) { animation-delay: 10s; }
.rooms-slideshow--all .rooms-slide:nth-child(4) { animation-delay: 15s; }
.rooms-slideshow--all .rooms-slide:nth-child(5) { animation-delay: 20s; }
.rooms-slideshow--all .rooms-slide:nth-child(6) { animation-delay: 25s; }
.rooms-slideshow--all .rooms-slide:nth-child(7) { animation-delay: 30s; }
.rooms-slideshow--all .rooms-slide:nth-child(8) { animation-delay: 35s; }
.rooms-slideshow--all .rooms-slide:nth-child(9) { animation-delay: 40s; }
@media (max-width: 600px) { .rooms-slideshow { height: 300px; } }

/* Flèches de navigation mois précédent/suivant, de part et d'autre de l'agenda (page Calendrier) */
.agenda-month-wrap { position: relative; }
/* Pas de largeur fixe propre : épouse la largeur du texte de l'article au-dessus
   (même conteneur que le reste de la page Calendrier de disponibilités) */
.agenda-month-wrap--full { width: 100%; max-width: 100%; margin: 0; padding: 0 70px; box-sizing: border-box; }
.agenda-month__nav--side {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; font-size: 1.8rem; z-index: 5;
}
.agenda-month__nav--prev { left: 0; }
.agenda-month__nav--next { right: 0; }

/* Page d'une chambre individuelle : badges caractéristiques + description + boutons résa */
.room-detail__features { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0; }
.room-detail__feature {
  background: var(--et-cream); color: var(--et-teal-dark); padding: 8px 16px;
  border-radius: 20px; font-size: .9rem; font-weight: 600; border: 1px solid var(--et-teal);
}
.room-detail__actions { display: flex; gap: 12px; margin: 20px 0; max-width: 420px; }
.room-detail__actions .chambre-card__cta { flex: 1; padding: 12px 10px; font-size: 1rem; }

/* Fiche chambre individuelle : titre + boutons résa en haut, 2 colonnes 50/50 en dessous
   (photo arrondie à gauche, description + disponibilités empilées à droite) */
.room-detail__titlebar {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 16px; margin-bottom: 20px;
}
.room-detail__title { margin: 0; color: var(--et-teal-dark); }
.room-detail__titlebar .room-detail__actions { margin: 0; max-width: none; flex: 0 0 auto; }
.room-detail__titlebar .chambre-card__cta { flex: none; padding: 10px 20px; }
/* Photo (diaporama) sur sa propre ligne pleine largeur, description/disponibilités
   équilibrées côte à côte en dessous */
.room-detail__photo { border-radius: 16px; overflow: hidden; min-height: 360px; margin-bottom: 28px; }
.room-detail__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.room-detail__photo .rooms-slideshow { height: 100%; min-height: 360px; border-radius: 0; margin: 0; }
.room-detail__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: stretch; }
.room-detail__row { background: var(--et-cream); border-radius: 14px; padding: 20px 24px; }
.room-detail__row h3 { margin: 0 0 10px; color: var(--et-teal-dark); }
.room-detail__row--agenda .agenda-month {
  width: 100%; max-width: 100%; margin: 0; box-shadow: none; padding: 0; background: transparent;
  box-sizing: border-box;
}
.room-detail__row--agenda .agenda-month__grid { width: 100%; box-sizing: border-box; }
@media (max-width: 760px) {
  .room-detail__cols { grid-template-columns: 1fr; }
  .room-detail__photo { min-height: 240px; }
  .room-detail__photo .rooms-slideshow { min-height: 240px; }
}

/* Footer, dans l'esprit periloc : logo plus gros à gauche, contact à droite, lien Rényon centré en bas */
.container-footer { background: var(--et-teal-dark); padding: 40px 24px 20px; }
.site-footer__grid { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 32px; max-width: 1100px; margin: 0 auto; }
.footer-logo-col img { max-height: 110px; margin-bottom: 12px; }
.footer-logo-col p, .footer-contact-col p { color: #fff; opacity: .85; font-size: .9rem; line-height: 1.6; }
.footer-contact-col { text-align: right; }
.footer-contact-col h4 { color: #fff; margin: 0 0 8px; }
.footer-contact-col a { color: var(--et-sand); text-decoration: none; }
.footer-contact-col a:hover { text-decoration: underline; }
.site-footer__bottom {
  max-width: 1100px; margin: 24px auto 0; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.15);
  text-align: center;
}
.site-footer__bottom p { color: rgba(255,255,255,.6); font-size: .8rem; margin: 0; }
.site-footer__bottom .footer-credit { margin-top: 6px; }
.site-footer__bottom .footer-credit a { color: var(--et-sand); }
@media (max-width: 600px) {
  .site-footer__grid { flex-direction: column; justify-content: center; }
  .footer-logo-col, .footer-contact-col { width: 100%; text-align: center; }
  .footer-logo-col img { display: block; margin: 0 auto 12px; }
}

/* Page Contact : carte pleine largeur au-dessus, infos + formulaire en 2 colonnes 50% dessous */
.contact-page__title { color: var(--et-teal-dark); margin-bottom: 20px; }
.contact-page__map--full { width: 100%; height: 520px; border-radius: 14px; overflow: hidden; margin-bottom: 28px; }
.contact-page__map--full iframe { width: 100%; height: 100%; }
.contact-page__map iframe { display: block; }
.contact-page__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: stretch; }
.contact-page__info, .contact-page__form { background: var(--et-cream); border-radius: 14px; padding: 24px 28px; }
.contact-page__info h3, .contact-page__form h3 { margin-top: 0; color: var(--et-teal-dark); }
.contact-page__info a { color: var(--et-teal-dark); font-weight: 600; }
.contact-form { display: flex; flex-direction: column; gap: 12px; }
.contact-form input, .contact-form textarea {
  padding: 10px 14px; border: 1px solid rgba(0,0,0,.15); border-radius: 8px; font-family: inherit; font-size: .95rem;
}
.contact-form__submit {
  align-self: flex-start; background: var(--et-teal-dark); color: #fff; border: none; border-radius: 8px;
  padding: 10px 24px; font-weight: 600; cursor: pointer;
}
.contact-page__form-note { margin-top: 10px; font-size: .8rem; opacity: .7; }
@media (max-width: 760px) {
  .contact-page__cols { grid-template-columns: 1fr; }
  .contact-page__map--full { height: 320px; }
}

#mod-custom122 { width: 100%; }

/* Mobile : logo et drapeaux centrés */
@media (max-width: 900px) {
  header.header.container-header { justify-content: center !important; padding-left: 16px; padding-right: 16px; }
  header.header.container-header > .grid-child:not(.container-nav):not(.lang-switcher-block) { flex: 1 1 100% !important; display: flex; justify-content: center; }
  header.header.container-header .navbar-brand { margin: 0 auto; text-align: center; }
  header.header.container-header > .lang-switcher-block { flex: 1 1 100% !important; justify-content: center; margin: 0 auto !important; }
  #langSwitcher, #langSwitcher ul.lang-inline { justify-content: center; margin: 0 auto; padding: 0; }
  .grid-child .moduletable.langues { margin-left: 0; justify-content: center; }
}

/* Mobile accueil : header blanc dès le départ, l'item actif (Accueil) doit rester lisible */
@media (max-width: 900px) {
  body.itemid-101 header.header.container-header .mod-menu > .nav-item > a:hover,
  body.itemid-101 header.header.container-header .mod-menu > .nav-item.current > a { background: var(--et-cream); color: var(--et-terracotta); }
}

/* Menu sandwich mobile/tablette */
.nav-toggle { display: none; }
@media (max-width: 900px) {
  .nav-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    position: absolute; top: 14px; right: 14px; z-index: 60;
    width: 44px; height: 44px; padding: 10px; border: 0; border-radius: 8px;
    background: var(--et-cream); cursor: pointer;
  }
  .nav-toggle span { display: block; height: 3px; width: 100%; background: var(--et-teal-dark); border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }
  header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  header.header.container-header > .container-nav { display: none !important; }
  header.header.container-header.nav-open > .container-nav { display: flex !important; }
  header.header.container-header .mod-menu { flex-direction: column !important; width: 100%; }
  header.header.container-header .mod-menu > .nav-item { width: 100%; text-align: center; }
  .header .mod-menu__sub { display: block !important; position: static !important; box-shadow: none !important; background: transparent !important; }
  .header .mod-menu__sub li a { font-size: .9em; }
}

/* Réservation directe (formulaire + devis + paiement Stripe) */
.resa { margin: 40px 0 10px; padding: 28px 24px; background: var(--et-cream); border-radius: 16px; }
.resa h2 { color: var(--et-teal-dark); margin-top: 0; }
.resa-form label { display: flex; flex-direction: column; gap: 4px; font-weight: 600; color: var(--et-teal-dark); font-size: .95rem; margin-bottom: 12px; }
.resa-form input, .resa-form select, .resa-form textarea { font: inherit; font-weight: 400; padding: 10px 12px; border: 1px solid #cfd8d6; border-radius: 8px; background: #fff; width: 100%; box-sizing: border-box; }
.resa-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 16px; }
.resa-devis { margin: 4px 0 16px; }
.resa-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 8px; overflow: hidden; }
.resa-table td { padding: 8px 12px; border-bottom: 1px solid #eee; }
.resa-table td:last-child { text-align: right; white-space: nowrap; }
.resa-total td { font-weight: 700; color: var(--et-terracotta); }
.resa-msg { margin: 0 0 8px; font-weight: 600; }
.resa-msg--ok { color: var(--et-teal-dark); }
.resa-msg--err { color: #b23a2a; }
.resa-msg--info { color: var(--et-teal-dark); }
.resa-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.resa-btn { display: inline-block; border: 0; cursor: pointer; padding: 14px 28px; font-size: 1.05rem; }
.resa-btn:disabled { opacity: .5; cursor: not-allowed; }
.resa-note { font-size: .8rem; opacity: .7; margin-top: 8px; }
@media (max-width: 760px) { .resa-grid { grid-template-columns: 1fr; } .resa { padding: 20px 16px; } .resa-btn { width: 100%; } }
.agenda-banner--resa .agenda-cta { margin-top: 28px; }

/* Page Calendrier : bouton réserver + mise en page mobile */
.agenda-page-cta { text-align: center; margin: 20px 0; }
.agenda-page-cta .chambre-card__cta { display: inline-block; padding: 14px 32px; font-size: 1.05rem; }
.agenda-month__grid { grid-template-columns: repeat(7, minmax(0, 1fr)); }
@media (max-width: 760px) {
  .container-agenda-full { padding: 32px 12px; }
  .agenda-month-wrap--full { padding: 0; }
  .agenda-month--full { padding: 18px 10px 14px; }
  .agenda-month--full .agenda-month__grid { gap: 4px; }
  .agenda-month--full .agenda-month__day { font-size: .95rem; border-radius: 6px; }
  .agenda-month--full .agenda-month__title { font-size: 1.25rem; padding: 0 44px; }
  .agenda-month__weekday { font-size: .7rem; }
  .agenda-month__nav--side { top: 30px; transform: none; width: 38px; height: 38px; font-size: 1.4rem; }
  .agenda-month__nav--prev { left: 8px; }
  .agenda-month__nav--next { right: 8px; }
  .agenda-month__legend { flex-wrap: wrap; }
}
html { scroll-padding-top: var(--et-header-h, 110px); }

/* Menu sticky (après défilement) : drapeaux masqués */
header.header.container-header > .lang-switcher-block { transition: opacity .25s ease, visibility .25s; }
header.header.container-header.is-scrolled > .lang-switcher-block { opacity: 0; visibility: hidden; pointer-events: none; }
@media (max-width: 900px) {
  html, body { overflow-anchor: none; }
  header.header.container-header > .lang-switcher-block { max-height: 60px; overflow: hidden; transition: max-height .25s ease, opacity .25s ease, visibility .25s; }
  header.header.container-header.is-scrolled > .lang-switcher-block { max-height: 0; }
}

/* Mini-agenda (page Le gîte) : flèches de mois en haut, de part et d’autre du titre */
.agenda-month-wrap--mini .agenda-month__nav--side { top: 10px; transform: none; width: 36px; height: 36px; font-size: 1.4rem; }
.agenda-month-wrap--mini .agenda-month__nav--prev { left: 6px; }
.agenda-month-wrap--mini .agenda-month__nav--next { right: 6px; }
.agenda-month-wrap--mini .agenda-month__title { padding: 0 46px; }

/* Footer en 3 colonnes : informations légales (gauche) / logo + infos (centre) / contact (droite) */
.site-footer__grid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 32px; }
.footer-logo-col { text-align: center; }
.footer-logo-col img { display: block; margin: 0 auto 12px; }
.footer-legal-col { text-align: left; justify-self: start; }
.footer-contact-col { justify-self: end; }
.footer-legal-col h4 { color: #fff; margin: 0 0 8px; }
.footer-legal-col ul { list-style: none; margin: 0; padding: 0; display: block !important; }
.footer-legal-col li { margin: 0 0 4px; padding: 0; }
.footer-legal-col a { color: var(--et-sand); text-decoration: none; font-size: .9rem; padding: 0 !important; background: none !important; }
.footer-legal-col a:hover { text-decoration: underline; }
@media (max-width: 760px) {
  .site-footer__grid { grid-template-columns: 1fr; }
  .footer-legal-col, .footer-contact-col { justify-self: center; text-align: center; }
  .footer-logo-col { order: -1; }
}
/* Pages légales + case CGV du formulaire */
.legal-page h2 { font-size: 1.25rem; margin: 1.6em 0 .5em; }
.resa-cgv { display: flex; gap: 8px; align-items: flex-start; font-size: .9rem; margin: 12px 0; }
.resa-cgv input { margin-top: 4px; flex: none; }
.resa-cgv-read { margin: 16px 0 4px; border: 1px solid rgba(0,0,0,.12); border-radius: 10px; background: #fff; }
.resa-cgv-read summary { cursor: pointer; padding: 10px 14px; font-weight: 700; color: var(--et-teal-dark); }
.resa-cgv-text { max-height: 280px; overflow-y: auto; padding: 0 16px 12px; font-size: .85rem; line-height: 1.55; border-top: 1px solid rgba(0,0,0,.08); }
.resa-cgv-text h2 { font-size: 1rem; margin: 1.1em 0 .4em; }
.resa-form label.resa-cgv { flex-direction: row; align-items: center; gap: 10px; font-weight: 400; }
.resa-form .resa-cgv input[type=checkbox] { width: 18px; height: 18px; padding: 0; margin: 0; flex: none; accent-color: var(--et-teal-dark); }

/* Footer : « Suivez-nous ! » sous Nous contacter (logos Rando Aqua en attendant ceux de Kiki) */
.footer-contact-col .footer-social__title { margin-top: 18px; }
.footer-social { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.footer-social a { display: flex; align-items: center; justify-content: center; width: 92px; height: 46px; padding: 6px; background: #fff; border-radius: 8px; box-sizing: border-box; transition: transform .2s ease, box-shadow .2s ease; }
.footer-social a:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,.25); text-decoration: none; }
.footer-social img { max-width: 100%; max-height: 100%; object-fit: contain; }
@media (max-width: 760px) { .footer-social { justify-content: center; } }
.footer-social { margin-top: 16px; gap: 18px; align-items: center; }
.footer-social a { width: auto; height: 40px; padding: 0; background: none; border-radius: 0; }
.footer-social a:hover { box-shadow: none; opacity: .85; }
.footer-social img { height: 40px; width: auto; max-width: none; }
.footer-social img { height: 36px; }

/* Formulaire de contact */
.contact-form__rgpd { font-size: .8rem; color: #667; margin: 4px 0 10px; }
.contact-form__status { margin: 10px 0 0; font-size: .95rem; min-height: 1.2em; }
.contact-form__status.is-ok { color: var(--et-teal-dark); }
.contact-form__status.is-err { color: #c0392b; }

/* Vidéo de présentation du gîte (format vertical) */
.et-video { margin: 1rem auto 1.5rem; max-width: 340px; }
.et-video video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; border-radius: 12px; background: #000; box-shadow: 0 6px 20px rgba(0,0,0,.18); }
.et-video--home { max-width: 300px; }

/* Vidéo accueil pleine largeur (sous Où nous trouver / Qui sommes-nous) : bandeau flou + vidéo verticale centrée */
.et-video--wide { position: relative; max-width: none; width: 100%; margin: 2rem 0 0; overflow: hidden; border-radius: 12px; background: #1d2b22 url(/images/esttrankil/video/locations-saisonnieres-est-reunion-est-trankil.webp) center / cover; }
.et-video--wide::before { content: ""; position: absolute; inset: 0; backdrop-filter: blur(18px) brightness(.6); -webkit-backdrop-filter: blur(18px) brightness(.6); }
.et-video--wide video { position: relative; width: auto; height: min(80vh, 720px); max-width: 100%; margin: 0 auto; border-radius: 0; box-shadow: 0 0 40px rgba(0,0,0,.4); }
@media (max-width: 600px) { .et-video--wide { border-radius: 0; } .et-video--wide video { width: 100%; height: auto; } }

/* Titre + espace sous la vidéo d'accueil */
.et-video-title { text-align: center; margin: 2.5rem 0 1rem; }
.et-video--wide { margin: 0 0 3rem; }

/* Page gîte : diaporama et vidéo à la hauteur de l'écran (moins le menu sticky) */
.room-detail__photo, .room-detail__photo .rooms-slideshow { height: max(360px, calc(100vh - var(--et-header-h, 110px) - 32px)); max-height: 900px; }
.et-video--wide video { height: min(720px, calc(100vh - var(--et-header-h, 110px) - 32px)); min-height: 360px; }
@media (max-width: 600px) {
  .room-detail__photo, .room-detail__photo .rooms-slideshow { height: 60vh; min-height: 240px; }
  .et-video--wide video { height: auto; min-height: 0; }
}

/* Bouton Réserver à droite, sur la ligne du titre de page */
.page-header--actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.page-header--actions h1 { margin-right: auto; }
.page-header--actions .room-detail__actions { flex-shrink: 0; }
.room-detail__titlebar:empty, .room-detail__titlebar:not(:has(*)) { display: none; }

/* Formulaire résa : 4 champs (arrivée, départ, chambres, personnes) + note tarif */
.resa-grid:has(select[name=chambres]) { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .resa-grid:has(select[name=chambres]) { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .resa-grid:has(select[name=chambres]) { grid-template-columns: 1fr; } }
.resa-note { font-size: .9em; opacity: .8; margin: 0 0 12px; }

/* ===== Perf (PageSpeed) ===== */
/* Modules déplacés par script dans leur emplacement : masqués tant qu'ils ne sont pas en place (évite le saut de page) */
[id^="mini-agenda-"]:not(.room-detail__agenda-slot > *), [id^="room-photo-"]:not(.room-detail__photo > *) { display: none; }
.room-detail__agenda-slot { min-height: 560px; }
@media (max-width: 760px) { .room-detail__agenda-slot { min-height: 480px; } }
/* Bouton Réserver : affiché directement dans l'en-tête (déplacé par script) */
.room-detail__titlebar { display: none; }
/* Images : garder les proportions malgré width/height */
img[width][height] { height: auto; }
.rooms-slide img, .hero-slide img { height: 100%; }
.footer-social img { width: auto; }
.mod-languages img { width: 16px; height: 11px; }
.footer-logo-col img { width: auto; height: auto; }
.footer-social img { height: 36px; width: auto; }
.footer-social img[src$="google-icon.svg"] { width: 40px; }
.footer-social img[src$="youtube-icon.svg"] { width: 57px; }

/* ===== Accessibilité (PageSpeed) ===== */
/* Terracotta assombri : contraste AA du texte blanc sur les boutons et du texte orange sur fond crème */
:root { --et-terracotta: #b84a28; }
.agenda-month__weekday { color: #5f5f5f; }
.agenda-month__day--busy { color: #2b1a0e; }
/* Titres du footer : h3 (ordre des titres) avec l'apparence des anciens h4 */
.footer-contact-col h3, .footer-legal-col h3 { color: #fff; margin: 0 0 8px; font-size: 1.5rem; line-height: 1.2; }
/* Liens tactiles du footer : 24 px de haut minimum */
.footer-contact-col a, .footer-legal-col a { display: inline-block; padding: 4px 0; min-height: 24px; }
/* Footer : fond plus sombre pour le contraste du texte (AA) */
.container-footer { background: #145c56; }
.footer-logo-col p, .footer-contact-col p { opacity: 1; }
/* Accueil : « Où nous trouver / Qui sommes-nous » en h2 (ordre des titres), même apparence qu'avant */
.chambres-infos__col h2 { color: var(--et-teal-dark); margin: 0 0 10px; font-size: 1.75rem; }
.site-footer__bottom p { color: rgba(255,255,255,.85); }

/* Onepage (24/11/2026) */
html { scroll-behavior: smooth; }
#le-gite, #disponibilites, #reserver, #acces, #contact { scroll-margin-top: 90px; }
.onepage-head { margin-top: 32px; }
.onepage-head h2 { margin: 0; color: var(--et-teal-dark); font-size: clamp(1.6rem, 3vw, 2.2rem); }
body.itemid-101 .contact-page__map { display: none; }
body.itemid-101 .contact-page { margin-top: 40px; }

/* Hero : 9 slides (titres de la description), cycle 45 s */
.hero-slide { animation: heroFade9 45s infinite; }
@keyframes heroFade9 { 0% { opacity: 0; } 4% { opacity: 1; } 15.5% { opacity: 1; } 18% { opacity: 0; } 100% { opacity: 0; } }
.hero-slide:nth-child(4) { animation-delay: 15s; }
.hero-slide:nth-child(5) { animation-delay: 20s; }
.hero-slide:nth-child(6) { animation-delay: 25s; }
.hero-slide:nth-child(7) { animation-delay: 30s; }
.hero-slide:nth-child(8) { animation-delay: 35s; }
.hero-slide:nth-child(9) { animation-delay: 40s; }
.room-detail__row--desc > h2:first-child, .room-detail__row--agenda > h2:first-child { margin-top: 0; }
/* 1re slide visible dès l affichage (LCP), sans fondu d entrée au 1er cycle */
.hero-slide:first-child { opacity: 1; animation-name: heroFade9first; }
@keyframes heroFade9first { 0% { opacity: 1; } 15.5% { opacity: 1; } 18% { opacity: 0; } 96% { opacity: 0; } 100% { opacity: 1; } }
/* Hero piloté par js/hero.js (nombre de slides libre, modifiable dans l admin) */
.hero-slideshow.is-js .hero-slide { animation: none; opacity: 0; transition: opacity 1.5s ease; z-index: 0; }
.hero-slideshow.is-js .hero-slide.is-active { opacity: 1; z-index: 1; }
.hero-slideshow.is-js .hero-slide.is-top { z-index: 2; }
/* Slides 2+ masquées (donc photos lazy non chargées) jusqu au chargement complet de la page */
.hero-slideshow:not(.is-ready) .hero-slide:not(:first-child) { display: none; }
/* Hero : la photo remplit toujours le cadre (sinon height:auto de img[width][height] sur mobile) */
.hero-slideshow .hero-slide img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; margin: 0; }

/* ===== Aux alentours (slider par catégorie + carte) ===== */
.alentours { margin: 48px 0; scroll-margin-top: var(--et-header-h, 90px); }
.alentours__title { color: var(--et-teal-dark); font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 8px; }
.alentours__intro { max-width: 760px; margin: 0 0 18px; }
.alentours__tabs { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 10px; scrollbar-width: thin; }
.alentours__tab { flex: 0 0 auto; border: 2px solid var(--et-teal); background: #fff; color: var(--et-teal-dark); border-radius: 999px; padding: 7px 16px; font: inherit; font-weight: 600; cursor: pointer; white-space: nowrap; }
.alentours__tab:hover, .alentours__tab:focus-visible { background: var(--et-cream); }
.alentours__tab.is-active { background: var(--et-teal-dark); border-color: var(--et-teal-dark); color: #fff; }
.alentours__viewport { position: relative; }
.alentours__track { display: flex; align-items: flex-start; overflow-x: auto; overflow-y: hidden; transition: height .3s ease; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; gap: 24px; }
.alentours__track::-webkit-scrollbar { display: none; }
.alentours__slide { flex: 0 0 100%; scroll-snap-align: start; min-width: 0; }
.alentours__slide h3 { color: var(--et-terracotta); margin: 6px 0 4px; font-size: 1.4rem; }
.alentours__slide-intro { margin: 0 0 14px; }
.alentours__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .alentours__grid { grid-template-columns: 1fr 1fr; } }
.al-card { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,.08); display: flex; flex-direction: column; }
.al-card img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.al-card--text { background: var(--et-cream); border-left: 4px solid var(--et-teal); }
.al-card__body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.al-card__body h4 { margin: 0; font-size: 1.05rem; color: var(--et-teal-dark); }
.al-card__body p { margin: 0; font-size: .95rem; line-height: 1.45; }
.al-card__body a { margin-top: auto; align-self: flex-start; font-weight: 600; color: var(--et-teal-dark); }
.alentours__warning { margin: 16px 0 0; padding: 12px 14px; background: #fff4e5; border-left: 4px solid var(--et-terracotta); border-radius: 6px; font-size: .95rem; }
.alentours__cta { margin: 16px 0 0; font-size: .95rem; }
.alentours__nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 44px; height: 44px; box-shadow: 0 2px 8px rgba(0,0,0,.25); border-radius: 50%; border: 0; background: var(--et-teal-dark); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.alentours__nav--prev { left: -60px; }
.alentours__nav--next { right: -60px; }
@media (max-width: 1450px) { .alentours__nav--prev { left: -14px; } .alentours__nav--next { right: -14px; } }
.alentours__nav:disabled { opacity: .35; cursor: default; }
.alentours__map-wrap { margin-top: 32px; }
.alentours__map-wrap h3 { color: var(--et-teal-dark); margin: 0 0 10px; }
.alentours__map { height: 460px; border-radius: 10px; overflow: hidden; background: #e8efe9; position: relative; z-index: 0; }
.alentours__map-wait { margin: 0; padding: 20px; }
.alentours__legend { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .9rem; }
.alentours__legend li { display: flex; align-items: center; gap: 6px; }
.al-dot { width: 14px; height: 14px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.3); display: inline-block; }
.al-dot--gite { background: #b84a28; width: 18px; height: 18px; }
.al-dot--commerces { background: #6c757d; }
.al-dot--restaurants { background: #e76f51; }
.al-dot--sorties { background: #8e44ad; }
.al-dot--culture { background: #c9a227; }
.al-dot--nature { background: #2e8b57; }
.al-dot--activites { background: #219ebc; }
.alentours__map .leaflet-popup-content { font-size: .9rem; margin: 10px 12px; }
.alentours__map .leaflet-popup-content a { font-weight: 600; }
@media (max-width: 640px) {
  .alentours__nav { display: none; }
  .alentours__map { height: 360px; }
  .alentours__grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .al-card__body { padding: 9px 10px 11px; }
  .al-card__body p { font-size: .85rem; }
}
@media (max-width: 400px) { .alentours__grid, .alentours__grid:has(> *) { grid-template-columns: 1fr; } }
/* Lien livret PDF */
.livret-dl { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; background: var(--et-terracotta); color: #fff !important; font-weight: 700; text-decoration: none; }
.livret-dl::before { content: "\2193"; font-size: 1.1em; }
.livret-dl:hover { background: var(--et-teal-dark); }
.alentours__dl { margin: 6px 0 16px; }

/* ===== Galerie photos du gîte + visionneuse (1er déc. 2026) ===== */
.et-gallery-title { margin: 32px 0 14px; color: var(--et-teal-dark); text-align: center; }
.et-gallery { --g: 10px; --n: 4; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--g); margin-bottom: 32px; }
.et-gallery__item { flex: 0 0 calc((100% - (var(--n) - 1) * var(--g)) / var(--n)); display: block; border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 3; background: #e9eeec; }
.et-gallery__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.et-gallery__item:hover img, .et-gallery__item:focus-visible img { transform: scale(1.04); }
@media (max-width: 900px) { .et-gallery { --n: 3; } }
@media (max-width: 560px) { .et-gallery { --n: 2; --g: 6px; } }
html.et-lb-open { overflow: hidden; }
.et-lb { position: fixed; inset: 0; z-index: 10000; background: rgba(10, 20, 18, .92); display: none; align-items: center; justify-content: center; }
.et-lb.is-open { display: flex; }
.et-lb__fig { margin: 0; max-width: 92vw; text-align: center; }
.et-lb__fig img { max-width: 92vw; max-height: 82vh; width: auto; height: auto; border-radius: 6px; display: block; margin: 0 auto; }
.et-lb__fig figcaption { color: #fff; margin-top: 10px; font-size: .95rem; }
.et-lb button { position: absolute; background: rgba(255, 255, 255, .12); color: #fff; border: 0; cursor: pointer; font-size: 2.2rem; line-height: 1; width: 52px; height: 52px; border-radius: 50%; }
.et-lb button:hover, .et-lb button:focus-visible { background: rgba(255, 255, 255, .28); }
.et-lb__close { top: 14px; right: 14px; }
.et-lb__prev { left: 14px; top: 50%; transform: translateY(-50%); }
.et-lb__next { right: 14px; top: 50%; transform: translateY(-50%); }
@media (max-width: 560px) { .et-lb__nav { top: auto !important; bottom: 18px; transform: none !important; } }

/* ===== Calendrier de réservation (2 déc. 2026) : nuits réservées grisées ===== */
.resa-form input.resa-date { cursor: pointer; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23145c56' stroke-width='2'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E") no-repeat right 10px center; padding-right: 36px; }
.resa-cal { background: #fff; border: 1px solid #cfd8d6; border-radius: 12px; padding: 14px 16px 10px; margin: -4px 0 16px; box-shadow: 0 8px 24px rgba(0, 0, 0, .08); }
.resa-cal[hidden] { display: none; }
.resa-cal__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.resa-cal__hint { font-weight: 700; color: var(--et-teal-dark); text-align: center; }
.resa-cal__nav { border: 0; background: var(--et-sand, #f3ece1); color: var(--et-teal-dark); width: 36px; height: 36px; border-radius: 50%; font-size: 1.4rem; line-height: 1; cursor: pointer; }
.resa-cal__nav:disabled { opacity: .35; cursor: default; }
.resa-cal__months { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.resa-cal__title { text-align: center; font-weight: 700; color: var(--et-teal-dark); margin-bottom: 6px; text-transform: capitalize; }
.resa-cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.resa-cal__wd { text-align: center; font-size: .72rem; font-weight: 700; color: #888; padding: 2px 0; }
.resa-cal__day { display: flex; align-items: center; justify-content: center; height: 36px; border-radius: 6px; font: inherit; font-size: .92rem; border: 0; background: #f4f7f6; color: #222; }
button.resa-cal__day { cursor: pointer; }
button.resa-cal__day:hover, button.resa-cal__day:focus-visible { background: var(--et-teal, #1d7a72); color: #fff; outline: none; }
.resa-cal__day.is-off { color: #b9c2c0; background: transparent; }
.resa-cal__day.is-busy { background: #ecdcd6; color: #a5796c; text-decoration: line-through; }
.resa-cal__day.is-range { background: #cfe6e3; }
.resa-cal__day.is-start, .resa-cal__day.is-end { background: var(--et-teal-dark, #145c56); color: #fff; font-weight: 700; text-decoration: none; }
.resa-cal__foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 10px; font-size: .8rem; color: #555; }
.resa-cal__dot { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: middle; }
.resa-cal__dot.is-busy { background: #ecdcd6; }
.resa-cal__dot.is-sel { background: var(--et-teal-dark, #145c56); }
.resa-cal__close { margin-left: auto; border: 0; background: none; color: var(--et-teal-dark); font: inherit; font-weight: 700; cursor: pointer; text-decoration: underline; }
