/* =========================================================
   Maison du Soleil — feuille de style principale
   Palette : brique toulousaine, soleil, sable, bleu nuit
   ========================================================= */

/* ---------- 1. Réglages de base ---------- */
:root {
  --ink: #241f1a;
  --ink-soft: #5f564a;
  --ink-faint: #8b8175;

  --sand: #faf6f0;
  --sand-deep: #f1e9dd;
  --cream: #ffffff;

  --sun: #d9862a;
  --sun-light: #f0b562;
  --brick: #a8512f;
  --deep: #16323c;
  --deep-soft: #24505d;

  --line: rgba(36, 31, 26, 0.12);
  --line-soft: rgba(36, 31, 26, 0.07);

  --shadow-s: 0 2px 8px rgba(36, 31, 26, 0.06);
  --shadow-m: 0 10px 30px rgba(36, 31, 26, 0.10);
  --shadow-l: 0 24px 60px rgba(36, 31, 26, 0.16);

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(1.25rem, 5vw, 3.5rem);
  --radius: 3px;
  --header-h: 78px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.72;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.is-locked { overflow: hidden; }

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  color: var(--ink);
}

h1 { font-size: clamp(2.6rem, 7vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
h3 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--sun-light); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--brick);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--ink);
  color: #fff;
  padding: 0.85rem 1.4rem;
  font-size: 0.9rem;
}
.skip-link:focus { left: 0; }

/* ---------- 2. Utilitaires ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: 820px; }

.section { padding-block: clamp(4.5rem, 10vw, 8.5rem); }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section--cream { background: var(--cream); }
.section--sand { background: var(--sand-deep); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brick);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}

.lede {
  font-size: clamp(1.06rem, 1.6vw, 1.22rem);
  color: var(--ink-soft);
  line-height: 1.75;
}

.center { text-align: center; }
.center .eyebrow::before { display: none; }

.muted { color: var(--ink-soft); }
.small { font-size: 0.88rem; }

/* ---------- 3. Boutons ---------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 2.1rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 1px solid var(--btn-bg);
  border-radius: var(--radius);
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.45s var(--ease), border-color 0.45s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--sun);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.5s var(--ease-out);
}
.btn:hover { color: #fff; border-color: var(--sun); transform: translateY(-2px); box-shadow: var(--shadow-m); }
.btn:hover::after { transform: scaleX(1); transform-origin: left center; }

.btn--sun { --btn-bg: var(--sun); --btn-fg: #fff; }
.btn--sun::after { background: var(--ink); }
.btn--sun:hover { border-color: var(--ink); }

.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); border-color: currentColor; }
.btn--ghost::after { background: var(--ink); }
.btn--ghost:hover { color: #fff; border-color: var(--ink); }

.btn--light { --btn-bg: transparent; --btn-fg: #fff; border-color: rgba(255, 255, 255, 0.65); }
.btn--light::after { background: #fff; }
.btn--light:hover { color: var(--ink); border-color: #fff; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
}

/* Lien souligné animé */
.link-u {
  position: relative;
  display: inline-block;
  font-weight: 500;
  color: var(--brick);
}
.link-u::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}
.link-u:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- 4. En-tête ---------- */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.45s var(--ease), box-shadow 0.45s var(--ease), height 0.45s var(--ease);
}
.header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(16, 12, 8, 0.55), rgba(16, 12, 8, 0));
  opacity: 1;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}
.header__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
  transition: color 0.4s var(--ease);
}
.brand__mark {
  width: 30px;
  height: 30px;
  flex: none;
  animation: spin 34s linear infinite;
}
.brand__text {
  font-family: var(--serif);
  font-size: 1.28rem;
  line-height: 1.05;
  letter-spacing: 0.01em;
}
.brand__text span {
  display: block;
  font-family: var(--sans);
  font-size: 0.58rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-top: 2px;
}

@keyframes spin { to { transform: rotate(360deg); } }

.nav { display: flex; align-items: center; gap: clamp(1.1rem, 2.3vw, 2.1rem); }
.nav__link {
  position: relative;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  padding-block: 0.4rem;
  transition: color 0.4s var(--ease), opacity 0.3s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s var(--ease-out);
}
.nav__link:hover::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav__link[aria-current="page"] { color: var(--sun-light); }

.header__cta { display: inline-flex; }
.header .btn { padding: 0.75rem 1.5rem; font-size: 0.7rem; }

/* état "scrollé" */
.header.is-solid {
  background: rgba(250, 246, 240, 0.94);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  box-shadow: 0 1px 0 var(--line-soft), 0 8px 30px rgba(36, 31, 26, 0.06);
  height: 66px;
}
.header.is-solid::before { opacity: 0; }
.header.is-solid .brand,
.header.is-solid .nav__link { color: var(--ink); }
.header.is-solid .nav__link[aria-current="page"] { color: var(--brick); }
.header.is-solid .btn--light { --btn-fg: var(--ink); border-color: var(--ink); }
.header.is-solid .btn--light::after { background: var(--ink); }
.header.is-solid .btn--light:hover { color: #fff; }

/* pages intérieures : header toujours lisible dès le départ */
.header.is-static { background: rgba(250, 246, 240, 0.94); }
.header.is-static::before { opacity: 0; }
.header.is-static .brand,
.header.is-static .nav__link { color: var(--ink); }
.header.is-static .btn--light { --btn-fg: var(--ink); border-color: var(--ink); }
.header.is-static .btn--light::after { background: var(--ink); }
.header.is-static .btn--light:hover { color: #fff; }

/* burger */
.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: none;
  cursor: pointer;
  padding: 0;
  position: relative;
  z-index: 120;
}
.burger span {
  position: absolute;
  left: 11px;
  width: 22px;
  height: 1.5px;
  background: currentColor;
  color: #fff;
  transition: transform 0.4s var(--ease-out), opacity 0.25s var(--ease), background 0.4s var(--ease);
}
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 27px; }
.header.is-solid .burger span,
.header.is-static .burger span { background: var(--ink); }
.burger.is-open span { background: var(--sand) !important; }
.burger.is-open span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.is-open span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* menu plein écran (mobile) */
.menu {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: var(--deep);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem var(--gutter) 3rem;
  clip-path: circle(0% at calc(100% - 40px) 38px);
  transition: clip-path 0.75s var(--ease-out);
  pointer-events: none;
}
.menu.is-open { clip-path: circle(150% at calc(100% - 40px) 38px); pointer-events: auto; }
.menu__list { list-style: none; margin: 0; padding: 0; }
.menu__list li {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.5s var(--ease), transform 0.6s var(--ease-out);
}
.menu.is-open .menu__list li { opacity: 1; transform: none; }
.menu.is-open .menu__list li:nth-child(1) { transition-delay: 0.18s; }
.menu.is-open .menu__list li:nth-child(2) { transition-delay: 0.24s; }
.menu.is-open .menu__list li:nth-child(3) { transition-delay: 0.30s; }
.menu.is-open .menu__list li:nth-child(4) { transition-delay: 0.36s; }
.menu.is-open .menu__list li:nth-child(5) { transition-delay: 0.42s; }
.menu__link {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2.1rem, 9vw, 3.2rem);
  color: var(--sand);
  padding-block: 0.35rem;
  transition: color 0.3s var(--ease), padding-left 0.4s var(--ease-out);
}
.menu__link:hover { color: var(--sun-light); padding-left: 0.6rem; }
.menu__foot {
  margin-top: 2.6rem;
  color: rgba(250, 246, 240, 0.7);
  font-size: 0.9rem;
  opacity: 0;
  transition: opacity 0.5s var(--ease) 0.5s;
}
.menu.is-open .menu__foot { opacity: 1; }
.menu__foot a { color: var(--sun-light); }

/* ---------- 5. Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--deep);
}
.hero__media { position: absolute; inset: 0; }
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
  animation: kenburns 22s var(--ease) infinite alternate;
}
@keyframes kenburns {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to { transform: scale(1.16) translate3d(-1.2%, -1.4%, 0); }
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(12, 9, 6, 0.82) 0%, rgba(12, 9, 6, 0.32) 42%, rgba(12, 9, 6, 0.28) 100%),
    radial-gradient(120% 80% at 80% 0%, rgba(217, 134, 42, 0.28), transparent 60%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  /* marge haute : le contenu ne passe jamais sous l'en-tête sur petit écran */
  padding: 6rem var(--gutter) clamp(4.5rem, 12vh, 8rem);
  color: #fff;
}
.hero__title {
  color: #fff;
  max-width: 15ch;
  margin-bottom: 0.35em;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.3);
}
.hero__lede {
  max-width: 46ch;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  margin-bottom: 2.2rem;
}
.hero__eyebrow { color: var(--sun-light); }
.hero__eyebrow::before { background: var(--sun-light); }

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.6rem;
  margin-top: 2.6rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 0.78rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

/* apparition en cascade — uniquement si JS est actif (voir .js-anim) */
.js-anim .rise {
  opacity: 0;
  transform: translateY(26px);
  animation: rise 1s var(--ease-out) forwards;
  animation-delay: calc(var(--d, 0) * 1ms);
}
@keyframes rise { to { opacity: 1; transform: none; } }

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 1.6rem;
  transform: translateX(-50%);
  z-index: 3;
  display: grid;
  justify-items: center;
  gap: 0.6rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.scroll-cue__line {
  width: 1px;
  height: 46px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.7), transparent);
  transform-origin: top;
  animation: cue 2.4s var(--ease) infinite;
}
@keyframes cue {
  0% { transform: scaleY(0); opacity: 0; }
  35% { opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

/* bandeau de page (pages intérieures) */
.pagehead {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(3.5rem, 9vw, 6.5rem));
  padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
  background: var(--cream);
  border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
}
.pagehead::after {
  content: "";
  position: absolute;
  top: -160px;
  right: -140px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 134, 42, 0.16), transparent 68%);
  pointer-events: none;
}
.pagehead__title { max-width: 18ch; }
.pagehead .lede { max-width: 60ch; }

/* fil d'Ariane */
.crumbs {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 1.4rem;
}
.crumbs a:hover { color: var(--brick); }
.crumbs span { opacity: 0.5; padding-inline: 0.45rem; }

/* ---------- 6. Révélation au défilement ----------
   Le contenu reste visible si le JavaScript ne s'exécute pas :
   l'état masqué n'est appliqué que sous .js-anim (classe posée par un
   script en ligne dans le <head> de chaque page).                     */
.js-anim .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s var(--ease-out), transform 1s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 1ms);
  will-change: opacity, transform;
}
.js-anim .reveal.is-in { opacity: 1; transform: none; }

.js-anim .reveal-img {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.2s var(--ease-out);
  transition-delay: calc(var(--d, 0) * 1ms);
}
.js-anim .reveal-img.is-in { clip-path: inset(0 0 0 0); }

/* ---------- 7. Grilles & cartes ---------- */
.grid { display: grid; gap: clamp(1.5rem, 3vw, 2.6rem); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.split--wide { grid-template-columns: 1.05fr 1fr; }
.split__media { position: relative; }
.split__media img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.split__media--tall img { aspect-ratio: 4 / 5; }

.frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-m);
}
.frame--offset::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
  margin: 12px;
  z-index: 2;
  pointer-events: none;
}

/* carte logement */
.room-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--cream);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-s);
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out);
}
.room-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-l); }
.room-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--sand-deep);
}
.room-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease-out);
}
.room-card:hover .room-card__media img { transform: scale(1.07); }
.room-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 9, 6, 0.55), transparent 52%);
  opacity: 0.9;
}
.room-card__tag {
  position: absolute;
  z-index: 2;
  top: 1rem;
  left: 1rem;
  background: rgba(250, 246, 240, 0.94);
  color: var(--ink);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.42rem 0.8rem;
  border-radius: 999px;
}
.room-card__price {
  position: absolute;
  z-index: 2;
  right: 1rem;
  bottom: 1rem;
  color: #fff;
  font-family: var(--serif);
  font-size: 1.7rem;
  line-height: 1;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}
.room-card__price small {
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  opacity: 0.85;
  display: block;
  margin-top: 4px;
}
.room-card__name {
  position: absolute;
  z-index: 2;
  left: 1.35rem;
  bottom: 1.15rem;
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin: 0;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
}
.room-card__body {
  padding: 1.5rem 1.5rem 1.7rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
}
.room-card__body p { color: var(--ink-soft); font-size: 0.95rem; }
.room-card__more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brick);
}
.room-card__more svg { transition: transform 0.45s var(--ease-out); }
.room-card:hover .room-card__more svg { transform: translateX(6px); }
.room-card__link { position: absolute; inset: 0; z-index: 3; }
.room-card__link span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* liste d'équipements */
.features { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.85rem; }
.features li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  font-size: 0.96rem;
  color: var(--ink-soft);
}
.features li::before {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  margin-top: 0.62em;
  border-radius: 50%;
  background: var(--sun);
}
.features--2 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0.85rem 2rem; }

/* petites cartes info */
.tile {
  background: var(--cream);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 1.9rem 1.6rem;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out), border-color 0.5s var(--ease);
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); border-color: transparent; }
.tile__icon {
  width: 34px;
  height: 34px;
  color: var(--brick);
  margin-bottom: 1.1rem;
}
.tile h3 { font-size: 1.3rem; margin-bottom: 0.45rem; }
.tile p { font-size: 0.94rem; color: var(--ink-soft); margin: 0; }

/* chiffres clés */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 2rem; }
.stat__num {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  line-height: 1;
  color: var(--brick);
  display: block;
  margin-bottom: 0.35rem;
}
.stat__label {
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* ---------- 8. Galerie & lightbox ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(0.7rem, 1.6vw, 1.1rem);
}
.gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 3 / 4;
  background: var(--sand-deep);
  border: 0;
  padding: 0;
  cursor: zoom-in;
  display: block;
}
.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-out), filter 0.6s var(--ease);
}
.gallery__item:hover img { transform: scale(1.06); filter: brightness(1.04); }
.gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 9, 6, 0.35), transparent 45%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
.gallery__item:hover::after { opacity: 1; }
.gallery__item--wide { grid-column: span 2; aspect-ratio: 16 / 10; }

@media (max-width: 640px) {
  .gallery__item--wide { grid-column: span 1; aspect-ratio: 4 / 3; }
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: rgba(12, 9, 6, 0.94);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s var(--ease), visibility 0.45s;
  padding: clamp(1rem, 4vw, 3rem);
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__img {
  max-width: min(92vw, 1100px);
  max-height: 82vh;
  width: auto;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  transform: scale(0.94);
  opacity: 0;
  transition: transform 0.55s var(--ease-out), opacity 0.45s var(--ease);
}
.lightbox.is-open .lightbox__img { transform: none; opacity: 1; }
.lightbox__bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(1rem, 3vw, 2rem);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
}
.lb-btn {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: background 0.35s var(--ease), transform 0.35s var(--ease), border-color 0.35s var(--ease);
}
.lb-btn:hover { background: rgba(255, 255, 255, 0.14); border-color: #fff; transform: scale(1.06); }
.lightbox__close {
  position: absolute;
  top: clamp(1rem, 3vw, 2rem);
  right: clamp(1rem, 3vw, 2rem);
}
.lightbox__caption {
  position: absolute;
  top: clamp(1.2rem, 3vw, 2.2rem);
  left: clamp(1rem, 4vw, 3rem);
  max-width: 60ch;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.85rem;
}

/* ---------- 9. Tarifs ---------- */
.rate-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.96rem;
}
.rate-table th,
.rate-table td {
  text-align: left;
  padding: 1.05rem 1rem;
  border-bottom: 1px solid var(--line-soft);
}
.rate-table th {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.rate-table tbody tr { transition: background 0.35s var(--ease); }
.rate-table tbody tr:hover { background: var(--sand); }
.rate-table td:last-child,
.rate-table th:last-child { text-align: right; }
.rate-table .price {
  font-family: var(--serif);
  font-size: 1.32rem;
  color: var(--brick);
  white-space: nowrap;
}
.table-scroll { overflow-x: auto; }

/* ---------- 10. Avis ---------- */
.quote {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 2.4rem 2rem 2rem;
  border: 1px solid var(--line-soft);
  position: relative;
  height: 100%;
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.quote:hover { transform: translateY(-5px); box-shadow: var(--shadow-m); }
.quote__mark {
  font-family: var(--serif);
  font-size: 3.4rem;
  line-height: 0.6;
  color: var(--sun-light);
  display: block;
  margin-bottom: 0.6rem;
}
.quote p {
  font-family: var(--serif);
  font-size: 1.18rem;
  line-height: 1.55;
  color: var(--ink);
}
.quote__by {
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: 1.2rem;
  display: block;
}
.stars { color: var(--sun); letter-spacing: 0.18em; font-size: 0.9rem; }

/* ---------- 11. Bandeau d'appel ---------- */
.cta-band {
  position: relative;
  background: var(--deep);
  color: #fff;
  overflow: hidden;
  padding-block: clamp(4rem, 9vw, 7rem);
}
.cta-band::before,
.cta-band::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.cta-band::before {
  width: 620px;
  height: 620px;
  top: -260px;
  left: -180px;
  background: radial-gradient(circle, rgba(217, 134, 42, 0.30), transparent 66%);
  animation: float 18s ease-in-out infinite alternate;
}
.cta-band::after {
  width: 460px;
  height: 460px;
  right: -160px;
  bottom: -220px;
  background: radial-gradient(circle, rgba(168, 81, 47, 0.34), transparent 68%);
  animation: float 22s ease-in-out infinite alternate-reverse;
}
@keyframes float {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(40px, 30px, 0) scale(1.12); }
}
.cta-band h2, .cta-band .eyebrow { color: #fff; }
.cta-band .eyebrow { color: var(--sun-light); }
.cta-band .eyebrow::before { background: var(--sun-light); }
.cta-band p { color: rgba(255, 255, 255, 0.82); }
.cta-band .wrap { position: relative; z-index: 1; }

/* ---------- 12. Contact ---------- */
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; }
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact-list svg { width: 22px; height: 22px; flex: none; color: var(--brick); margin-top: 3px; }
.contact-list strong {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 600;
  margin-bottom: 0.15rem;
}
.contact-list a:hover { color: var(--brick); }

.map-embed {
  border: 0;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  filter: grayscale(0.25) contrast(1.02);
  box-shadow: var(--shadow-m);
}

/* accordéon FAQ */
.faq { border-top: 1px solid var(--line-soft); }
.faq details {
  border-bottom: 1px solid var(--line-soft);
  padding: 0.3rem 0;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.25rem 2.4rem 1.25rem 0;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  position: relative;
  transition: color 0.3s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--brick); }
.faq summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 11px;
  height: 11px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.45s var(--ease-out);
}
.faq details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq__body {
  padding-bottom: 1.4rem;
  color: var(--ink-soft);
  max-width: 72ch;
  animation: fadeDown 0.5s var(--ease-out);
}
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}

/* ---------- 13. Pied de page ---------- */
.footer {
  background: var(--ink);
  color: rgba(250, 246, 240, 0.72);
  padding-block: clamp(3.5rem, 7vw, 5.5rem) 2rem;
  font-size: 0.92rem;
}
.footer h4 {
  color: #fff;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.footer a { transition: color 0.3s var(--ease); }
.footer a:hover { color: var(--sun-light); }
.footer__grid {
  display: grid;
  /* auto-fit ne peut pas cohabiter avec une piste en fr : colonnes explicites */
  grid-template-columns: 1.7fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer__brand { color: #fff; }
.footer__brand .brand { color: #fff; margin-bottom: 1rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
/* panonceau officiel du classement : reproduit tel quel, sans recadrage ni arrondi */
.footer__classement {
  display: block;
  width: 120px;
  height: auto;
  margin-top: 1.6rem;
}
.footer__bottom {
  padding-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.6rem;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(250, 246, 240, 0.5);
}

/* bouton retour en haut */
.to-top {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 90;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--cream);
  color: var(--ink);
  cursor: pointer;
  box-shadow: var(--shadow-m);
  opacity: 0;
  transform: translateY(14px) scale(0.9);
  pointer-events: none;
  transition: opacity 0.4s var(--ease), transform 0.5s var(--ease-out), background 0.3s var(--ease), color 0.3s var(--ease);
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--sun); color: #fff; border-color: var(--sun); }

/* séparateur soleil */
.sun-rule {
  display: grid;
  place-items: center;
  gap: 0;
  color: var(--sun);
  margin-block: clamp(2rem, 5vw, 3.2rem);
}
.sun-rule svg { width: 42px; height: 42px; animation: spin 48s linear infinite; }

/* ---------- 14. Responsive ---------- */
@media (max-width: 940px) {
  .split--wide { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 780px) {
  .grid--2 { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .nav, .header__cta { display: none; }
  .burger { display: block; }
  :root { --header-h: 66px; }
  .header { height: 66px; }
}

@media (max-width: 560px) {
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero__meta { gap: 0.5rem 1rem; font-size: 0.7rem; }
  .btn { padding: 0.95rem 1.6rem; }
}

/* ---------- 15. Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal, .rise { opacity: 1 !important; transform: none !important; }
  .reveal-img { clip-path: none !important; }
  .hero__media img { animation: none; transform: scale(1.02); }
}

/* ---------- 16. Impression ---------- */
@media print {
  .header, .menu, .to-top, .scroll-cue, .lightbox, .cta-band { display: none !important; }
  body { background: #fff; }
  .reveal, .rise { opacity: 1 !important; transform: none !important; }
}

/* =========================================================
   17. Pied de page enrichi
   ========================================================= */
.footer__top {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem 2.5rem;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 2.6rem;
  margin-bottom: 2.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer__phone {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  line-height: 1.1;
  margin: 0.1rem 0 0.3rem;
}
.footer__phone a { color: #fff; }
.footer__phone a:hover { color: var(--sun-light); }

.socials { display: flex; gap: 0.6rem; margin-top: 1.3rem; }
.social {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(250, 246, 240, 0.8);
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.social svg { width: 19px; height: 19px; }
.social:hover {
  background: var(--sun);
  border-color: var(--sun);
  color: #fff;
  transform: translateY(-2px);
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.3rem;
  align-items: center;
}
.footer__legal a,
.footer__legal .linklike { color: rgba(250, 246, 240, 0.55); }
.footer__legal a:hover,
.footer__legal .linklike:hover { color: var(--sun-light); }

.linklike {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* =========================================================
   18. Bandeau cookies
   ========================================================= */
.cookie {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  transform: translate(-50%, 140%);
  z-index: 150;
  width: min(1080px, calc(100vw - 2rem));
  background: var(--cream);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-l);
  transition: transform 0.65s var(--ease-out), opacity 0.45s var(--ease);
  opacity: 0;
}
.cookie.is-shown { transform: translate(-50%, 0); opacity: 1; }
.cookie__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 1.4rem;
}
.cookie__text { margin: 0; font-size: 0.92rem; max-width: 68ch; color: var(--ink-soft); }
.cookie__text a { color: var(--brick); text-decoration: underline; text-underline-offset: 3px; }
.cookie__actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.btn--sm { padding: 0.7rem 1.25rem; font-size: 0.7rem; }

@media (max-width: 620px) {
  .cookie__inner { padding: 1.1rem; }
  .cookie__actions { width: 100%; }
  .cookie__actions .btn { flex: 1; }
}

/* =========================================================
   19. Pages de texte (mentions légales, CGV…)
   ========================================================= */
.prose { font-size: 1.02rem; }
.prose h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  margin-top: 2.6rem;
  margin-bottom: 0.7rem;
}
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-soft); }
.prose ul { padding-left: 1.1rem; margin-bottom: 1.2rem; }
.prose li { margin-bottom: 0.5rem; }
.prose table {
  margin-block: 1.4rem;
  /* un tableau large défile dans son cadre au lieu d'élargir la page */
  display: block;
  max-width: 100%;
  overflow-x: auto;
}
.prose code {
  background: var(--sand-deep);
  padding: 0.15em 0.45em;
  border-radius: 3px;
  font-size: 0.88em;
}
.prose a { color: var(--brick); text-decoration: underline; text-underline-offset: 3px; }
.prose .rate-table td:last-child,
.prose .rate-table th:last-child { text-align: left; }

/* =========================================================
   20. Formulaires (paiement, administration)
   ========================================================= */
.pay-form {
  margin-top: 2.5rem;
  background: var(--cream);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.6rem);
  box-shadow: var(--shadow-s);
}
.field { margin-bottom: 1.3rem; }
.field label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 0.5rem;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--sand);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.field textarea { min-height: 130px; resize: vertical; line-height: 1.6; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--sun);
  box-shadow: 0 0 0 3px rgba(217, 134, 42, 0.15);
}
.field input:invalid:not(:placeholder-shown) { border-color: var(--brick); }
.field__hint { font-size: 0.84rem; color: var(--ink-faint); margin: 0.5rem 0 0; }
.field__error {
  color: #a3231b;
  background: #fdf1ef;
  border: 1px solid #f0cfc9;
  border-radius: var(--radius);
  padding: 0.8rem 1rem;
  font-size: 0.92rem;
  margin-bottom: 1rem;
}
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 1.2rem; }

.btn[aria-busy="true"] { opacity: 0.65; pointer-events: none; }

.notice {
  background: var(--cream);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 4vw, 2.6rem);
  text-align: center;
}
.notice p { max-width: 60ch; margin-inline: auto; }

.booking-embed {
  background: var(--cream);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 420px;
  box-shadow: var(--shadow-s);
}
.booking-embed iframe { width: 100%; min-height: 620px; border: 0; display: block; }

.tile__price {
  font-family: var(--serif);
  font-size: 3rem;
  line-height: 1;
  color: var(--brick);
  margin-bottom: 0.4rem;
}

/* =========================================================
   21. Avis : badges de plateforme, notes, filtres
   ========================================================= */

/* badge « source » d'un avis */
.src {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  white-space: nowrap;
}
.src svg { width: 17px; height: 17px; flex: none; }
.src--booking svg { color: #003b95; }
.src--airbnb svg { color: #ff5a5f; }
.src--google svg { color: #4285f4; }
.src--direct svg { color: var(--sun); }

/* note en étoiles */
.rating { display: inline-flex; align-items: baseline; gap: 0.45rem; white-space: nowrap; }
.rating__stars { color: var(--sun); letter-spacing: 0.06em; font-size: 0.92rem; }
.rating__value { font-size: 0.78rem; color: var(--ink-faint); font-variant-numeric: tabular-nums; }

.quote__head {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  margin-bottom: 0.4rem;
  border-bottom: 1px solid var(--line-soft);
}
.quote__by a { color: var(--brick); }

/* bandeau des notes globales */
.scores {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: clamp(0.8rem, 2vw, 1.4rem);
  margin-top: 3rem;
}
.score {
  display: grid;
  gap: 0.5rem;
  justify-items: center;
  text-align: center;
  padding: 1.6rem 1.2rem;
  background: var(--cream);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out), border-color 0.4s var(--ease);
}
a.score:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); border-color: transparent; }
.score__value {
  font-family: var(--serif);
  font-size: 2.5rem;
  line-height: 1;
  color: var(--brick);
}
.score__value small { font-family: var(--sans); font-size: 0.9rem; color: var(--ink-faint); }
.score__value--empty { font-size: 1.5rem; }
.score__count { font-size: 0.8rem; color: var(--ink-faint); }
.score__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brick);
}
.score__link svg { transition: transform 0.4s var(--ease-out); }
a.score:hover .score__link svg { transform: translateX(5px); }

/* filtres de la page avis */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 2.5rem;
}
.filter {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.6rem 1.1rem;
  font: inherit;
  font-size: 0.82rem;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.filter:hover { border-color: var(--sun); }
.filter.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.filter.is-active .src { color: #fff; }
.filter .src { pointer-events: none; }

/* l'attribut hidden doit primer sur tout display déclaré ici */
[hidden] { display: none !important; }
