/* ════════════════════════════════════════════════════════════════
   L'Océane — feuille de style de la refonte (octobre 2026)
   Grammaire « grand hôtel » : bandeau sombre, petites capitales,
   filets laiton, photos plein cadre, aucun emoji, aucune animation
   en boucle. Couleurs tirées du logo : encre, bleu océan, laiton.
   ════════════════════════════════════════════════════════════════ */

:root {
  --encre: #0d1a21;
  --encre-2: #13242d;
  --encre-3: #1b313c;
  --ocean: #1d6e85;
  --ocean-fonce: #134b5c;
  --ocean-clair: #e3f0f3;
  --laiton: #b8975a;
  --laiton-clair: #d9c194;
  --sable: #f3ede2;
  --papier: #fbf9f5;
  --texte: #1e2a30;
  --doux: #5c6a70;
  --filet: #e2dacb;
  --blanc: #ffffff;

  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Jost', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --largeur: 1180px;
  --gouttiere: clamp(16px, 4vw, 32px);
  --entete: 96px;
  --apercu: 0px;
  --ombre: 0 18px 50px rgba(13, 26, 33, 0.14);
}
body.mode-apercu { --apercu: 30px; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--entete) + var(--apercu) + 12px); }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
  color: var(--texte);
  background: var(--papier);
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; } /* height:auto : sinon l'attribut height écrase les aspect-ratio */
a { color: var(--ocean); text-decoration: none; }
a:hover { color: var(--ocean-fonce); }
:focus-visible { outline: 2px solid var(--laiton); outline-offset: 3px; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.12; margin: 0; color: var(--encre); }
p { margin: 0 0 1em; }
.visuellement-cache { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.conteneur { width: 100%; max-width: var(--largeur); margin: 0 auto; padding: 0 var(--gouttiere); }
.conteneur-etroit { max-width: 860px; }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-sable { background: var(--sable); }
.section-encre { background: var(--encre); color: rgba(255, 255, 255, 0.82); }
.section-encre h2, .section-encre h3 { color: var(--blanc); }

/* ── Typographie éditoriale ── */
.surtitre {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--sans); font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.3em; text-transform: uppercase; color: var(--laiton);
  margin-bottom: 18px;
}
.surtitre::before { content: ''; width: 28px; height: 1px; background: currentColor; }
.centre .surtitre::after { content: ''; width: 28px; height: 1px; background: currentColor; }
.titre-section { font-size: clamp(2.1rem, 4.4vw, 3.3rem); letter-spacing: 0.005em; }
.titre-section em { font-style: italic; color: var(--ocean); }
.section-encre .titre-section em { color: var(--laiton-clair); }
.chapeau { font-size: 1.08rem; color: var(--doux); max-width: 640px; }
.centre { text-align: center; }
.centre .chapeau { margin-left: auto; margin-right: auto; }
.entete-section { margin-bottom: clamp(40px, 6vw, 64px); }
.entete-section .chapeau { margin-top: 18px; }

/* ── Boutons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 28px;
  font-family: var(--sans); font-size: 0.76rem; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  border: 1px solid transparent; border-radius: 2px;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s;
  white-space: nowrap;
}
.btn .fleche { font-size: 1.1em; line-height: 1; transition: transform 0.25s; }
.btn:hover .fleche { transform: translateX(3px); }
.btn-plein { background: var(--ocean-fonce); color: var(--blanc); }
.btn-plein:hover { background: var(--ocean); color: var(--blanc); }
.btn-laiton { background: var(--laiton); color: var(--encre); }
.btn-laiton:hover { background: var(--laiton-clair); color: var(--encre); }
.btn-contour { border-color: rgba(13, 26, 33, 0.28); color: var(--encre); background: transparent; }
.btn-contour:hover { border-color: var(--encre); color: var(--encre); }
.btn-clair { border-color: rgba(255, 255, 255, 0.55); color: var(--blanc); background: transparent; }
.btn-clair:hover { border-color: var(--blanc); background: rgba(255, 255, 255, 0.08); color: var(--blanc); }
.groupe-btn { display: flex; flex-wrap: wrap; gap: 12px; }
.centre .groupe-btn { justify-content: center; }

/* ── Bandeau d'aperçu (aperçu de travail uniquement) ── */
.bandeau-apercu {
  position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--apercu);
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--laiton); color: var(--encre);
  font-size: 0.7rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0 12px; white-space: nowrap; overflow: hidden;
}
.bandeau-apercu a { color: var(--encre); text-decoration: underline; text-underline-offset: 2px; }

/* ════════ EN-TÊTE ════════ */
.entete {
  position: fixed; top: var(--apercu); left: 0; right: 0; z-index: 50;
  height: var(--entete);
  background: var(--encre);
  border-bottom: 1px solid rgba(184, 151, 90, 0.18);
  transition: box-shadow 0.3s;
}
.entete.defile { box-shadow: 0 8px 30px rgba(0, 0, 0, 0.28); }
.entete .conteneur { height: 100%; display: flex; align-items: center; gap: 24px; }
.marque { display: flex; align-items: center; gap: 14px; color: var(--blanc); flex-shrink: 0; }
.marque:hover { color: var(--blanc); }
.marque img { width: 58px; height: 58px; border-radius: 50%; }
.marque-texte { display: flex; flex-direction: column; line-height: 1; }
.marque-nom { font-family: var(--serif); font-size: 1.7rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; }
.marque-sous { margin-top: 7px; font-size: 0.6rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--laiton-clair); }

.entete-droite { margin-left: auto; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.entete-actions { display: flex; align-items: center; gap: 10px; }
.btn-icone {
  width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 2px; color: var(--blanc);
  transition: border-color 0.25s, background-color 0.25s;
}
.btn-icone:hover { border-color: var(--laiton); color: var(--blanc); background: rgba(255, 255, 255, 0.05); }
.btn-icone svg { width: 18px; height: 18px; }
.entete .btn { min-height: 42px; padding: 0 22px; font-size: 0.7rem; }

.nav-principale ul { list-style: none; display: flex; gap: clamp(14px, 1.9vw, 30px); margin: 0; padding: 0; }
.nav-principale .nav-accueil { display: none; } /* le logo ramène à l'accueil ; visible dans le menu mobile */
.nav-actions { display: none; }
.nav-principale a {
  display: block; padding: 4px 0;
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.86); position: relative;
}
.nav-principale a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px;
  background: var(--laiton); transform: scaleX(0); transform-origin: left; transition: transform 0.3s;
}
.nav-principale a:hover, .nav-principale a[aria-current="page"] { color: var(--blanc); }
.nav-principale a:hover::after, .nav-principale a[aria-current="page"]::after { transform: scaleX(1); }
.nav-principale a[aria-current="page"] { color: var(--laiton-clair); }

.btn-menu {
  display: none; width: 44px; height: 44px; margin-left: 4px;
  background: transparent; border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 2px;
  align-items: center; justify-content: center; color: var(--blanc);
}
.btn-menu span, .btn-menu span::before, .btn-menu span::after {
  display: block; width: 18px; height: 1px; background: currentColor; position: relative; transition: transform 0.3s, background 0.3s;
}
.btn-menu span::before, .btn-menu span::after { content: ''; position: absolute; left: 0; }
.btn-menu span::before { top: -6px; }
.btn-menu span::after { top: 6px; }
.menu-ouvert .btn-menu span { background: transparent; }
.menu-ouvert .btn-menu span::before { transform: translateY(6px) rotate(45deg); }
.menu-ouvert .btn-menu span::after { transform: translateY(-6px) rotate(-45deg); }

main { padding-top: calc(var(--entete) + var(--apercu)); }
body.accueil main { padding-top: 0; }

/* ════════ DIAPORAMA D'ACCUEIL ════════ */
.hero {
  position: relative; min-height: 600px; height: min(100svh, 920px);
  color: var(--blanc); overflow: hidden; background: var(--encre);
}
.hero-diapo { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
.hero-diapo.active { opacity: 1; }
.hero-diapo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 7s ease-out; }
.hero-diapo.active img { transform: scale(1); }
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(13, 26, 33, 0.72) 0%, rgba(13, 26, 33, 0.18) 34%, rgba(13, 26, 33, 0.1) 52%, rgba(13, 26, 33, 0.78) 100%);
}
.hero-contenu {
  position: absolute; z-index: 2; left: 0; right: 0;
  top: calc(var(--entete) + var(--apercu)); bottom: 150px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 0 var(--gouttiere);
}
.etoiles { color: var(--laiton-clair); letter-spacing: 0.5em; font-size: 1.05rem; margin-bottom: 18px; padding-left: 0.5em; }
.hero h1 {
  color: var(--blanc); font-size: clamp(3.2rem, 9vw, 6.6rem); font-weight: 400;
  letter-spacing: 0.12em; text-transform: uppercase; padding-left: 0.12em;
}
.hero-sous {
  margin-top: 18px; font-size: clamp(0.72rem, 1.4vw, 0.84rem); letter-spacing: 0.34em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88); padding-left: 0.34em;
}
.hero-points {
  position: absolute; z-index: 3; left: 50%; transform: translateX(-50%); bottom: 132px;
  display: flex; gap: 10px;
}
.hero-points button {
  width: 30px; height: 18px; padding: 0; background: transparent; border: 0; position: relative;
}
.hero-points button::before {
  content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(255, 255, 255, 0.45);
}
.hero-points button[aria-current="true"]::before { background: var(--laiton-clair); height: 2px; margin-top: -0.5px; }

/* ── Barre de réservation (sur le diaporama et dans la bande « Réservez ») ── */
.barre-resa { position: relative; z-index: 3; }
.hero .barre-resa { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(13, 26, 33, 0.74); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-top: 1px solid rgba(184, 151, 90, 0.25); }
.barre-resa form {
  display: grid; grid-template-columns: 1fr 1fr 0.8fr 1.25fr auto; gap: 14px; align-items: end;
  padding: 24px 0;
}
.champ-barre label { display: block; font-size: 0.64rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--laiton-clair); margin-bottom: 8px; }
.champ-barre input, .champ-barre select {
  width: 100%; height: 48px; padding: 0 14px;
  background: transparent; color: var(--blanc);
  border: 1px solid rgba(255, 255, 255, 0.32); border-radius: 2px;
  font: inherit; font-size: 0.92rem; color-scheme: dark;
}
.champ-barre select option { color: var(--encre); background: var(--blanc); }
.champ-barre input:focus, .champ-barre select:focus { border-color: var(--laiton); outline: none; }
.barre-resa .btn { height: 48px; min-width: 180px; }

/* ════════ BANDE D'ACCROCHE ════════ */
.bande-accroche { background: var(--sable); padding: clamp(40px, 6vw, 64px) 0; border-bottom: 1px solid var(--filet); }
.bande-accroche p {
  margin: 0 auto; max-width: 900px; text-align: center;
  font-size: clamp(0.92rem, 1.6vw, 1.08rem); line-height: 1.85; letter-spacing: 0.08em; text-transform: uppercase; color: var(--encre-3);
}

/* ════════ INTRODUCTION (texte + photo) ════════ */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.duo-photo { position: relative; }
.duo-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.duo-photo::before {
  content: ''; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--laiton); z-index: -1;
}
.duo-inverse .duo-photo::before { inset: 18px 18px -18px -18px; }
.chiffres { display: flex; gap: clamp(20px, 4vw, 48px); margin: 30px 0 34px; padding-top: 26px; border-top: 1px solid var(--filet); }
.chiffre strong { display: block; font-family: var(--serif); font-size: 2.3rem; font-weight: 500; color: var(--ocean-fonce); line-height: 1; }
.chiffre span { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--doux); }

/* ════════ CARROUSEL DES LOGEMENTS (modèle Krystal : photo à gauche, texte à droite) ════════ */
.carrousel { position: relative; }
.carrousel-piste { overflow: hidden; }
.carrousel-rail { display: flex; transition: transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1); }
.carrousel-diapo { flex: 0 0 100%; min-width: 0; }
.fiche-logement { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.fiche-logement .photo { position: relative; overflow: hidden; }
.fiche-logement .photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.9s ease; }
.fiche-logement .photo:hover img { transform: scale(1.03); }
.type-logement { font-size: 0.7rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--laiton); }
.fiche-logement h3 { font-size: clamp(2rem, 3.6vw, 2.8rem); margin: 10px 0 18px; }
.caracteristiques { display: flex; flex-wrap: wrap; gap: 10px 28px; padding: 14px 0; margin-bottom: 18px; border-top: 1px solid var(--filet); border-bottom: 1px solid var(--filet); }
.caracteristiques div { font-size: 0.86rem; }
.caracteristiques dt { display: inline; font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--doux); margin-right: 8px; }
.caracteristiques dd { display: inline; margin: 0; font-weight: 500; color: var(--encre); }
.prix { font-family: var(--serif); font-size: 2rem; color: var(--ocean-fonce); line-height: 1; }
.prix small { font-family: var(--sans); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--doux); margin-left: 6px; }
.fiche-logement .groupe-btn { margin-top: 26px; }
.carrousel-nav { display: flex; align-items: center; justify-content: space-between; margin-top: 36px; }
.carrousel-fleches { display: flex; gap: 10px; }
.carrousel-fleches button {
  width: 50px; height: 50px; border: 1px solid rgba(13, 26, 33, 0.25); background: transparent; border-radius: 2px;
  color: var(--encre); display: inline-flex; align-items: center; justify-content: center; transition: border-color 0.25s, background 0.25s;
}
.carrousel-fleches button:hover { border-color: var(--encre); background: var(--blanc); }
.carrousel-fleches svg { width: 18px; height: 18px; }
.carrousel-compteur { font-family: var(--serif); font-size: 1.15rem; color: var(--doux); letter-spacing: 0.1em; }
.carrousel-compteur strong { color: var(--encre); font-weight: 500; }

/* ════════ TUILES « EXPÉRIENCE » ════════ */
.tuiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tuile { position: relative; display: block; overflow: hidden; color: var(--blanc); aspect-ratio: 3 / 4; background: var(--encre); }
.tuile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s ease, opacity 0.4s; opacity: 0.92; }
.tuile:hover img { transform: scale(1.05); opacity: 1; }
.tuile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 26, 33, 0) 40%, rgba(13, 26, 33, 0.86) 100%); }
.tuile-texte { position: absolute; z-index: 2; left: 28px; right: 28px; bottom: 26px; }
.tuile-texte span { font-size: 0.66rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--laiton-clair); }
.tuile-texte h3 { color: var(--blanc); font-size: 2rem; margin: 8px 0 10px; }
.tuile-texte p { font-size: 0.92rem; color: rgba(255, 255, 255, 0.82); margin: 0; }
.tuile:hover { color: var(--blanc); }

/* ════════ AVIS ════════ */
.avis-grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 8px; }
.avis-carte { background: var(--blanc); border: 1px solid var(--filet); padding: 30px; display: flex; flex-direction: column; }
.avis-carte .etoiles-avis { color: var(--laiton); letter-spacing: 0.2em; font-size: 0.9rem; }
.avis-carte blockquote { margin: 14px 0 20px; font-family: var(--serif); font-size: 1.22rem; line-height: 1.5; color: var(--encre); flex: 1; }
.avis-auteur { display: flex; align-items: center; gap: 12px; font-size: 0.84rem; }
.avis-auteur img { width: 36px; height: 36px; border-radius: 50%; }
.avis-auteur a { color: var(--encre); font-weight: 500; }
.avis-auteur small { display: block; color: var(--doux); font-size: 0.76rem; }
.avis-note { display: flex; align-items: center; justify-content: center; gap: 18px; margin-bottom: 36px; }
.avis-note strong { font-family: var(--serif); font-size: 3.4rem; font-weight: 500; color: var(--ocean-fonce); line-height: 1; }
.avis-note span { text-align: left; font-size: 0.8rem; color: var(--doux); line-height: 1.5; }
.avis-mention { margin-top: 26px; font-size: 0.74rem; color: var(--doux); text-align: center; }
[data-avis-direct] { display: none; }
.avis-charges [data-avis-direct] { display: block; }
.avis-charges .avis-grille[data-avis-direct] { display: grid; }
.avis-charges .avis-note[data-avis-direct] { display: flex; }

/* ════════ BANDE « RÉSERVEZ » ════════ */
.bande-resa { background: var(--encre-2); padding: clamp(48px, 7vw, 76px) 0 clamp(36px, 5vw, 52px); color: var(--blanc); }
.bande-resa h2 { color: var(--blanc); text-align: center; font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 6px; }
.bande-resa .chapeau { color: rgba(255, 255, 255, 0.7); text-align: center; margin: 0 auto 12px; }

/* ════════ CARTE + CONTACT ════════ */
.carte-contact { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(28px, 5vw, 60px); align-items: stretch; }
.carte-contact iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; filter: saturate(0.85); }
.bloc-contact h3 { font-size: 1.9rem; margin-bottom: 16px; }
.bloc-contact address { font-style: normal; color: var(--doux); margin-bottom: 22px; }
.lignes-info { list-style: none; padding: 0; margin: 0 0 28px; border-top: 1px solid var(--filet); }
.lignes-info li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--filet); font-size: 0.92rem; }
.lignes-info span:first-child { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--doux); padding-top: 3px; }
.lignes-info span:last-child { text-align: right; color: var(--encre); font-weight: 500; }

/* ════════ PIED DE PAGE ════════ */
.pied { background: var(--encre); color: rgba(255, 255, 255, 0.66); padding: 72px 0 0; font-size: 0.9rem; }
.pied-grille { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; }
.pied h4 { font-family: var(--sans); font-size: 0.68rem; font-weight: 500; letter-spacing: 0.28em; text-transform: uppercase; color: var(--laiton-clair); margin-bottom: 20px; }
.pied ul { list-style: none; margin: 0; padding: 0; }
.pied li { margin-bottom: 10px; }
.pied a { color: rgba(255, 255, 255, 0.78); }
.pied a:hover { color: var(--blanc); }
.pied .marque { margin-bottom: 20px; }
.pied .marque img { width: 52px; height: 52px; }
.pied-bas {
  border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 22px 0;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 0.78rem; color: rgba(255, 255, 255, 0.5);
  padding-right: 84px; /* place du bouton flottant */
}
.pied-bas a { color: rgba(255, 255, 255, 0.66); }

/* ── Barre d'action mobile (remplace le bouton flottant) ── */
.barre-mobile { display: none; }
.bouton-flottant {
  position: fixed; right: 22px; bottom: 22px; z-index: 40;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--encre); border: 1px solid var(--laiton); color: var(--blanc);
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(13, 26, 33, 0.3); transition: background 0.25s;
}
.bouton-flottant:hover { background: var(--ocean-fonce); color: var(--blanc); }
/* Accueil : le bouton n'apparaît qu'après le diaporama, pour ne pas couvrir la barre de réservation */
.accueil .bouton-flottant { opacity: 0; visibility: hidden; transition: opacity 0.35s, visibility 0.35s; }
.accueil.apres-hero .bouton-flottant { opacity: 1; visibility: visible; }
.bouton-flottant svg { width: 24px; height: 24px; }

/* ════════ PAGES INTÉRIEURES ════════ */
.banniere {
  position: relative; height: clamp(300px, 46vh, 460px); overflow: hidden; background: var(--encre);
  display: flex; align-items: flex-end; color: var(--blanc);
}
.banniere img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.78; }
.banniere::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 26, 33, 0.25), rgba(13, 26, 33, 0.78)); }
.banniere .conteneur { position: relative; z-index: 2; padding-bottom: clamp(32px, 5vw, 56px); }
.banniere h1 { color: var(--blanc); font-size: clamp(2.6rem, 6vw, 4.4rem); font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase; }
.banniere .surtitre { color: var(--laiton-clair); }
.fil { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); margin-top: 14px; }
.fil a { color: rgba(255, 255, 255, 0.86); }
.fil a:hover { color: var(--blanc); }

/* Liste des logements (une rangée par logement, filet entre chaque) */
.rangee { padding: clamp(40px, 6vw, 64px) 0; border-bottom: 1px solid var(--filet); }
.rangee:first-child { padding-top: 0; }
.rangee:last-child { border-bottom: 0; padding-bottom: 0; }
.rangee:nth-child(even) .fiche-logement { grid-template-columns: 1fr 1.15fr; }
.rangee:nth-child(even) .fiche-logement .photo { order: 2; }
.mini-galerie { position: relative; }
.mini-galerie .carrousel-rail img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.mini-fleches { position: absolute; inset: auto 14px 14px auto; display: flex; gap: 6px; z-index: 2; }
.mini-fleches button {
  width: 40px; height: 40px; border: 0; border-radius: 2px; background: rgba(13, 26, 33, 0.72); color: var(--blanc);
  display: inline-flex; align-items: center; justify-content: center;
}
.mini-fleches button:hover { background: var(--encre); }
.mini-fleches svg { width: 16px; height: 16px; }
.mini-compteur { position: absolute; left: 14px; bottom: 14px; z-index: 2; background: rgba(13, 26, 33, 0.72); color: var(--blanc); font-size: 0.72rem; letter-spacing: 0.12em; padding: 6px 10px; }

/* Fiche détaillée d'un logement */
.logement-detail { display: grid; grid-template-columns: 1.55fr 1fr; gap: clamp(30px, 5vw, 64px); align-items: start; }
.galerie-principale { position: relative; }
.galerie-principale > button { padding: 0; border: 0; background: none; display: block; width: 100%; }
.galerie-principale > button img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.vignettes { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 10px; margin-top: 10px; }
.vignettes button { padding: 0; border: 1px solid transparent; background: none; opacity: 0.7; transition: opacity 0.25s, border-color 0.25s; }
.vignettes button[aria-current="true"], .vignettes button:hover { opacity: 1; border-color: var(--laiton); }
.vignettes img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.encart-prix {
  position: sticky; top: calc(var(--entete) + var(--apercu) + 24px);
  background: var(--blanc); border: 1px solid var(--filet); padding: 32px; box-shadow: var(--ombre);
}
.encart-prix h1 { font-size: clamp(2.2rem, 3.6vw, 3rem); margin: 8px 0 14px; }
.encart-prix .prix { font-size: 2.3rem; margin: 18px 0 6px; }
.encart-prix .btn { width: 100%; margin-top: 12px; }
.liste-coches { list-style: none; padding: 0; margin: 0; }
.liste-coches li { position: relative; padding: 9px 0 9px 26px; border-bottom: 1px solid var(--filet); }
.liste-coches li::before { content: ''; position: absolute; left: 2px; top: 19px; width: 10px; height: 5px; border-left: 1.5px solid var(--laiton); border-bottom: 1.5px solid var(--laiton); transform: rotate(-45deg); }
.deux-colonnes { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); }
.note-douce { font-size: 0.86rem; color: var(--doux); }
.a-venir {
  border: 1px dashed var(--laiton); background: rgba(184, 151, 90, 0.07); padding: 18px 20px; font-size: 0.9rem; color: var(--encre-3);
}
.a-venir strong { display: block; font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--laiton); margin-bottom: 6px; font-weight: 500; }

/* Cartes de prix « façon menu » (excursions, formules, carte) */
.carte-prix { list-style: none; padding: 0; margin: 0; }
.carte-prix li { padding: 22px 0; border-bottom: 1px solid var(--filet); }
.carte-prix li:first-child { border-top: 1px solid var(--filet); }
.ligne-prix { display: flex; align-items: baseline; gap: 14px; }
.ligne-prix h3 { font-size: 1.6rem; white-space: nowrap; }
.ligne-prix .points { flex: 1; border-bottom: 1px dotted rgba(13, 26, 33, 0.3); transform: translateY(-6px); min-width: 24px; }
.ligne-prix .montant { font-family: var(--serif); font-size: 1.4rem; color: var(--ocean-fonce); white-space: nowrap; }
.carte-prix p { margin: 6px 0 0; color: var(--doux); font-size: 0.94rem; }
.sous-prix { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 8px; font-size: 0.9rem; }
.sous-prix span { color: var(--doux); }
.sous-prix strong { font-weight: 500; color: var(--ocean-fonce); }

/* Colonnes « inclus / payant » */
.colonnes-services { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.panneau { background: var(--blanc); border: 1px solid var(--filet); padding: clamp(26px, 4vw, 40px); }
.panneau h3 { font-size: 1.8rem; margin-bottom: 6px; }
.panneau > p { color: var(--doux); font-size: 0.92rem; }
.panneau-encre { background: var(--encre-2); border-color: var(--encre-2); color: rgba(255, 255, 255, 0.8); }
.panneau-encre h3 { color: var(--blanc); }
.panneau-encre > p { color: rgba(255, 255, 255, 0.62); }
.liste-services { list-style: none; margin: 18px 0 0; padding: 0; }
.liste-services li { padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.liste-services strong { display: block; color: var(--blanc); font-weight: 500; }
.liste-services span { font-size: 0.9rem; color: rgba(255, 255, 255, 0.66); }

/* Galerie */
.filtres { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 36px; }
.filtres button {
  border: 1px solid var(--filet); background: transparent; color: var(--doux); border-radius: 2px;
  padding: 10px 18px; font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
}
.filtres button[aria-pressed="true"] { background: var(--encre); border-color: var(--encre); color: var(--blanc); }
.mosaique { columns: 3 280px; column-gap: 14px; }
.mosaique button { display: block; width: 100%; padding: 0; border: 0; background: none; margin-bottom: 14px; break-inside: avoid; overflow: hidden; }
.mosaique img { width: 100%; transition: transform 0.8s ease, opacity 0.3s; }
.mosaique button:hover img { transform: scale(1.03); }
.mosaique button[hidden] { display: none; }

/* Visionneuse */
.visionneuse { position: fixed; inset: 0; z-index: 90; background: rgba(8, 15, 19, 0.94); display: none; align-items: center; justify-content: center; padding: 60px 70px; }
.visionneuse.ouverte { display: flex; }
.visionneuse figure { margin: 0; max-width: min(1100px, 100%); max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.visionneuse img { max-height: calc(100vh - 150px); width: auto; object-fit: contain; }
.visionneuse figcaption { color: rgba(255, 255, 255, 0.75); font-size: 0.86rem; margin-top: 14px; text-align: center; }
.visionneuse button { position: absolute; background: transparent; border: 1px solid rgba(255, 255, 255, 0.3); color: var(--blanc); width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; border-radius: 2px; }
.visionneuse button:hover { border-color: var(--laiton); }
.visionneuse svg { width: 18px; height: 18px; }
.vis-fermer { top: 18px; right: 18px; }
.vis-prec { left: 14px; top: 50%; margin-top: -24px; }
.vis-suiv { right: 14px; top: 50%; margin-top: -24px; }

/* ════════ FORMULAIRE DE RÉSERVATION ════════ */
.resa-grille { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
.formulaire { background: var(--blanc); border: 1px solid var(--filet); padding: clamp(24px, 4vw, 44px); }
.formulaire fieldset { border: 0; padding: 0; margin: 0 0 28px; }
.formulaire legend { font-family: var(--serif); font-size: 1.5rem; color: var(--encre); margin-bottom: 18px; padding: 0; }
.rang { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.champ { margin-bottom: 18px; }
.champ label { display: block; font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--doux); margin-bottom: 8px; }
.champ label .requis { color: var(--laiton); }
.champ input, .champ select, .champ textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; font: inherit; font-size: 0.98rem; color: var(--texte);
  background: var(--papier); border: 1px solid var(--filet); border-radius: 2px; transition: border-color 0.2s, background 0.2s;
}
.champ textarea { min-height: 110px; resize: vertical; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; border-color: var(--ocean); background: var(--blanc); }
.tel { display: grid; grid-template-columns: 150px 1fr; gap: 10px; }
.estimation { display: none; background: var(--ocean-clair); border-left: 2px solid var(--ocean); padding: 16px 18px; margin: 4px 0 22px; }
.estimation.visible { display: block; }
.estimation strong { font-family: var(--serif); font-size: 1.7rem; font-weight: 500; color: var(--ocean-fonce); display: block; line-height: 1.1; }
.estimation span { font-size: 0.86rem; color: var(--doux); }
.erreur-formulaire { display: none; border-left: 2px solid #b4442f; background: #fbeeea; color: #7c2a1b; padding: 12px 16px; font-size: 0.92rem; margin-bottom: 18px; }
.erreur-formulaire.visible { display: block; }
.formulaire .btn { width: 100%; height: 56px; }
.formulaire .btn[disabled] { opacity: 0.6; cursor: wait; }
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.encart-resa { position: sticky; top: calc(var(--entete) + var(--apercu) + 24px); }
.etapes { list-style: none; counter-reset: etape; padding: 0; margin: 0; }
.etapes li { counter-increment: etape; position: relative; padding: 0 0 22px 52px; }
.etapes li::before {
  content: counter(etape); position: absolute; left: 0; top: -2px; width: 34px; height: 34px; border: 1px solid var(--laiton);
  border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 1.1rem; color: var(--laiton);
}
.etapes strong { display: block; color: var(--blanc); font-weight: 500; }
.etapes span { font-size: 0.9rem; color: rgba(255, 255, 255, 0.64); }

.fenetre { position: fixed; inset: 0; z-index: 95; background: rgba(8, 15, 19, 0.7); display: none; align-items: center; justify-content: center; padding: 20px; }
.fenetre.ouverte { display: flex; }
.fenetre-boite { background: var(--blanc); max-width: 480px; width: 100%; padding: 40px 34px 32px; text-align: center; border-top: 3px solid var(--laiton); }
.fenetre-boite h2 { font-size: 2rem; margin-bottom: 12px; }
.fenetre-boite p { color: var(--doux); }
.fenetre-boite .btn { width: 100%; margin-top: 10px; }

/* ════════ PAGES LÉGALES ════════ */
.texte-legal h1 { margin-bottom: 8px; }
.texte-legal h2 { font-size: 1.55rem; margin: 38px 0 12px; }
.texte-legal p { color: var(--texte); }
.a-completer { background: rgba(184, 151, 90, 0.16); border-bottom: 1px dashed var(--laiton); padding: 0 4px; font-style: italic; }

/* ════════ FICHE DE VALIDATION (aperçu uniquement) ════════ */
.validation table { width: 100%; border-collapse: collapse; font-size: 0.9rem; background: var(--blanc); }
.validation th, .validation td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--filet); vertical-align: top; }
.validation th { font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--doux); font-weight: 500; background: var(--sable); }
.pastille { display: inline-block; font-size: 0.64rem; letter-spacing: 0.14em; text-transform: uppercase; padding: 3px 8px; border-radius: 2px; white-space: nowrap; }
.pastille-cahier { background: #e3efe6; color: #2d5a3a; }
.pastille-equipe { background: var(--ocean-clair); color: var(--ocean-fonce); }
.pastille-photo { background: #ecebf3; color: #45406b; }
.pastille-ancien { background: #f7ead2; color: #7a5413; }
.pastille-manque { background: #f6e1dc; color: #8a2f1e; }
.pastille-calcul { background: #eceae6; color: #4f4a42; }

/* ════════ APPARITION AU DÉFILEMENT (une seule fois, jamais en boucle) ════════ */
.js .apparition { opacity: 0; transform: translateY(22px); transition: opacity 0.9s ease, transform 0.9s ease; }
.js .apparition.visible { opacity: 1; transform: none; }

/* ════════ ADAPTATION ÉCRANS ════════ */
@media (max-width: 1100px) {
  .nav-principale ul { gap: 16px; }
  .nav-principale a { font-size: 0.66rem; letter-spacing: 0.16em; }
}
@media (max-width: 980px) {
  :root { --entete: 72px; }
  .marque img { width: 46px; height: 46px; }
  .marque-nom { font-size: 1.35rem; }
  .marque-sous { font-size: 0.54rem; letter-spacing: 0.26em; }
  .entete-droite { flex-direction: row; align-items: center; }
  .btn-menu { display: inline-flex; }
  .nav-principale {
    position: fixed; top: calc(var(--entete) + var(--apercu)); left: 0; right: 0; bottom: 0;
    background: var(--encre); padding: 28px var(--gouttiere) 40px; overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-10px); transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
  }
  .menu-ouvert .nav-principale { visibility: visible; opacity: 1; transform: none; }
  .nav-principale ul { flex-direction: column; gap: 0; }
  .nav-principale .nav-accueil { display: list-item; }
  .nav-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 30px; }
  .nav-actions .btn { padding: 0 12px; }
  .nav-principale li { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  .nav-principale a { padding: 18px 0; font-size: 0.8rem; letter-spacing: 0.24em; }
  .nav-principale a::after { display: none; }
  .barre-resa form { grid-template-columns: 1fr 1fr; }
  .barre-resa .champ-logement, .barre-resa .btn { grid-column: span 2; }
  .hero-contenu { bottom: 330px; }
  .hero-points { bottom: 312px; }
  .duo, .fiche-logement, .rangee:nth-child(even) .fiche-logement, .logement-detail, .carte-contact, .resa-grille, .colonnes-services, .deux-colonnes { grid-template-columns: 1fr; }
  .rangee:nth-child(even) .fiche-logement .photo { order: 0; }
  .duo-photo { max-width: 560px; }
  .tuiles { grid-template-columns: 1fr 1fr; }
  .avis-grille { grid-template-columns: 1fr; }
  .pied-grille { grid-template-columns: 1fr 1fr; }
  .encart-prix, .encart-resa { position: static; }
}
@media (max-width: 640px) {
  :root { --entete: 64px; }
  body { font-size: 15.5px; }
  .marque { gap: 10px; }
  .marque img { width: 40px; height: 40px; }
  .marque-nom { font-size: 1.15rem; letter-spacing: 0.12em; }
  .marque-sous { display: none; }
  .entete .btn-reserver-entete, .entete .btn-icone { display: none; }
  .bandeau-apercu { font-size: 0.6rem; letter-spacing: 0.08em; }
  .bandeau-apercu .long { display: none; }
  /* Le diaporama s'arrête au-dessus de la barre d'action fixe */
  .hero { min-height: 560px; height: calc(100svh - 68px); }
  .hero-sous { letter-spacing: 0.22em; font-size: 0.66rem; padding-left: 0.22em; }
  .hero-sous .long { display: none; }
  /* Barre compacte : dates, puis personnes + bouton ; le logement se choisit à l'étape suivante */
  .barre-resa form { grid-template-columns: 1fr 1fr; padding: 14px 0 16px; gap: 10px; }
  .barre-resa .champ-logement { display: none; }
  .barre-resa .btn { grid-column: auto; min-width: 0; height: 44px; }
  .champ-barre label { margin-bottom: 5px; }
  .champ-barre input, .champ-barre select { height: 44px; padding: 0 10px; font-size: 0.88rem; }
  .hero-contenu { bottom: 190px; }
  .hero-points { bottom: 176px; }
  .tuiles { grid-template-columns: 1fr; }
  .tuile { aspect-ratio: 4 / 3; }
  .banniere h1 { font-size: clamp(1.9rem, 8.4vw, 2.6rem); letter-spacing: 0.05em; }
  .pied-grille { grid-template-columns: 1fr; gap: 30px; }
  .rang, .tel { grid-template-columns: 1fr; }
  .tel { grid-template-columns: 120px 1fr; }
  .ligne-prix h3 { font-size: 1.3rem; white-space: normal; }
  .chiffres { gap: 22px; }
  .chiffre strong { font-size: 1.9rem; }
  .bouton-flottant { display: none; }
  .pied-bas { padding-right: 0; }
  .barre-mobile {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    background: var(--encre); border-top: 1px solid rgba(184, 151, 90, 0.3);
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); gap: 10px;
  }
  .barre-mobile .btn { min-height: 46px; padding: 0 12px; font-size: 0.68rem; letter-spacing: 0.16em; }
  body { padding-bottom: 68px; }
  .visionneuse { padding: 60px 10px; }
  .vis-prec, .vis-suiv { top: auto; bottom: 18px; margin: 0; }
  .vis-prec { left: calc(50% - 56px); }
  .vis-suiv { right: calc(50% - 56px); }
  .carrousel-nav { margin-top: 26px; }
  .validation table { font-size: 0.82rem; }
  .validation th, .validation td { padding: 9px 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .js .apparition { opacity: 1; transform: none; }
}
