/* ============================================================
   VILLA PINASSE - Cap Ferret
   Rythme equilibre : ratio 1.4, duree 320ms
   Palette : sable / ecume / encre marine / bleu du Bassin
   Formes : boutons pilule, cartes et images arrondies 10px
   ============================================================ */

:root {
  --sand: #F6F4EE;
  --sand-2: #EAE4D6;
  --white: #FCFBF7;
  --ink: #1C2935;
  --or: #B08A45;
  --ink-soft: #5A6570;
  --bleu: #2E566F;
  --bleu-deep: #1F3D51;
  --marine: #1C2831;
  --ligne: #DDD8CB;

  --display: 'Bricolage Grotesque', 'Avenir Next Condensed', 'Arial Narrow', sans-serif;
  --sans: 'Figtree', 'Avenir Next', 'Helvetica Neue', Arial, sans-serif;

  --ratio: 1.4;
  --duree: 320ms;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --fs-0: 1.0625rem;
  --r-img: 10px;

  --max: 1280px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: var(--fs-0);
  line-height: 1.65;
  color: var(--ink);
  background: var(--sand);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--bleu); color: var(--white); }

/* ---------- Typographie ---------- */

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.015em;
}

h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.45rem); }

p { max-width: 62ch; }
.muted { color: var(--ink-soft); }

.kicker {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--or);
  display: block;
  margin-bottom: 1rem;
}

.statement {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.55rem, 3.2vw, 2.4rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
  max-width: 30ch;
}
.statement + p { margin-top: 1.8rem; }

/* ---------- Boutons ---------- */

.btn {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1em 2.2em;
  background: var(--bleu);
  color: var(--white);
  border: 1px solid var(--bleu);
  border-radius: 999px;
  transition: background var(--duree) var(--ease),
              border-color var(--duree) var(--ease),
              transform calc(var(--duree) / 2) var(--ease);
  white-space: nowrap;
}
.btn:hover { background: var(--bleu-deep); border-color: var(--bleu-deep); }
.btn:active { transform: translateY(1px); }

.link-line {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding-bottom: 0.4em;
  border-bottom: 2px solid var(--or);
  color: var(--ink);
  transition: color var(--duree) var(--ease), border-color var(--duree) var(--ease);
}
.link-line:hover { color: var(--bleu); }

/* ---------- Navbar ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.05rem var(--gutter);
  color: var(--white);
  transition: background var(--duree) var(--ease),
              color var(--duree) var(--ease),
              box-shadow var(--duree) var(--ease),
              padding var(--duree) var(--ease);
}
.nav.solid {
  background: var(--sand);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--ligne);
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.nav-logo {
  font-family: var(--display);
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  line-height: 1.15;
}
.nav-logo small {
  display: block;
  font-family: var(--sans);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  opacity: 0.75;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.nav-links a:not(.btn) {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding-bottom: 0.25em;
  border-bottom: 2px solid transparent;
  transition: border-color var(--duree) var(--ease);
}
.nav-links a:not(.btn):hover,
.nav-links a[aria-current="page"] { border-bottom-color: currentColor; }

.nav .btn {
  padding: 0.7em 1.6em;
  background: transparent;
  border-color: currentColor;
  color: inherit;
}
.nav .btn:hover { background: var(--bleu); border-color: var(--bleu); color: var(--white); }

.lang {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  opacity: 0.8;
  transition: opacity var(--duree) var(--ease);
}
.lang:hover { opacity: 1; }

.burger {
  display: block;
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
  padding: 0.4rem;
}
.burger .bars span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  margin: 5px 0;
  transition: transform var(--duree) var(--ease), opacity var(--duree) var(--ease);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  isolation: isolate;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 140px;
  background: linear-gradient(to bottom, rgba(15, 22, 28, 0.3), transparent);
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 60%;
  background: linear-gradient(to top, rgba(15, 22, 28, 0.55), transparent);
  z-index: 0;
}
.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(3rem, 8vh, 5rem);
  text-shadow: 0 1px 26px rgba(10, 16, 22, 0.45);
}
.hero-loc {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.hero h1 {
  font-size: clamp(2.9rem, 8vw, 5.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 0.98;
  margin-bottom: 0.4em;
}
.hero .hero-sub {
  font-weight: 400;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.55;
  max-width: 46ch;
  margin-bottom: 2rem;
  opacity: 0.97;
}
.hero .btn {
  background: rgba(252, 251, 247, 0.14);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border-color: var(--white);
  color: var(--white);
  text-shadow: none;
}
.hero .btn:hover { background: var(--white); color: var(--ink); }

.hero.short { min-height: 66dvh; }
.hero.short h1 { font-size: clamp(2.3rem, 5.5vw, 4rem); }

/* ---------- Sections ---------- */

.section { padding: clamp(4rem, 9vw, 7.5rem) var(--gutter); }
.section.alt { background: var(--sand-2); }
.wrap { max-width: var(--max); margin: 0 auto; }
.wrap-narrow { max-width: 860px; margin: 0 auto; }

/* Split */
.split {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.split.rev { grid-template-columns: 5fr 7fr; }
.split.rev .split-media { order: 2; }
.split-media { overflow: hidden; border-radius: var(--r-img); }
.split-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  transition: transform calc(var(--duree) * 2.6) var(--ease);
}
.split-media:hover img { transform: scale(1.035); }
.split-body h2 { margin-bottom: 1.1rem; }
.split-body p { margin-bottom: 1.3rem; }

/* Faits */
.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 1.8rem 2.6rem;
  margin: 1.6rem 0 1.9rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--ligne);
}
.facts div strong {
  display: block;
  font-family: var(--display);
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--bleu);
}
.facts div span { font-size: 0.85rem; color: var(--ink-soft); }

/* Bandeau */
.band {
  position: relative;
  min-height: 76dvh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  isolation: isolate;
  overflow: hidden;
}
.band img.band-media {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -1;
}
.band::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 55%;
  background: linear-gradient(to top, rgba(15, 22, 28, 0.5), transparent);
  z-index: 0;
}
.band-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(2.5rem, 6vh, 4rem);
  text-shadow: 0 1px 26px rgba(10, 16, 22, 0.45);
}
.band-inner .band-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  max-width: 26ch;
  margin-bottom: 1.3rem;
}
.band-inner .link-line { color: var(--white); border-color: var(--white); }
.band-inner .link-line:hover { color: var(--sand-2); border-color: var(--sand-2); }

/* Cartes */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.3rem, 2.6vw, 2.2rem);
}
.card { text-decoration: none; }
.card figure { overflow: hidden; border-radius: var(--r-img); margin-bottom: 1rem; }
.card figure img {
  aspect-ratio: 4 / 3;
  width: 100%;
  object-fit: cover;
  transition: transform calc(var(--duree) * 2.6) var(--ease);
}
.card:hover figure img { transform: scale(1.045); }
.card h3 { margin-bottom: 0.3rem; }
.card p { font-size: 0.95rem; color: var(--ink-soft); }

/* Bande horizontale a defilement (la journee) */
.strip {
  display: flex;
  gap: clamp(1.2rem, 2.4vw, 2rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
  -webkit-overflow-scrolling: touch;
}
.strip::-webkit-scrollbar { height: 6px; }
.strip::-webkit-scrollbar-thumb { background: var(--ligne); border-radius: 3px; }
.strip-item {
  flex: 0 0 clamp(260px, 30vw, 360px);
  scroll-snap-align: start;
}
.strip-item figure { overflow: hidden; border-radius: var(--r-img); margin-bottom: 0.9rem; }
.strip-item img {
  aspect-ratio: 4 / 5;
  width: 100%;
  object-fit: cover;
  transition: transform calc(var(--duree) * 2.6) var(--ease);
}
.strip-item:hover img { transform: scale(1.035); }
.strip-item h3 { font-size: 1.1rem; margin-bottom: 0.2rem; }
.strip-item p { font-size: 0.92rem; color: var(--ink-soft); }

/* Duo asymetrique */
.duo {
  display: grid;
  grid-template-columns: 8fr 4fr;
  gap: clamp(1.3rem, 2.6vw, 2.2rem);
  align-items: end;
}
.duo figure { overflow: hidden; border-radius: var(--r-img); margin: 0; }
.duo img {
  width: 100%;
  object-fit: cover;
  transition: transform calc(var(--duree) * 2.6) var(--ease);
}
.duo figure:hover img { transform: scale(1.035); }
.duo .d-a img { aspect-ratio: 16 / 10; }
.duo .d-b img { aspect-ratio: 3 / 4; }
figcaption { font-size: 0.82rem; color: var(--ink-soft); padding-top: 0.55rem; }

/* ---------- Avis ---------- */

.rating {
  display: inline-flex;
  align-items: baseline;
  gap: 0.6rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.3rem;
}
.rating small {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.82rem;
  color: var(--ink-soft);
}
.dark .rating small { color: var(--ligne); }

.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 2.4vw, 1.8rem);
}
.review {
  border: 1px solid var(--ligne);
  border-radius: var(--r-img);
  background: var(--white);
  padding: clamp(1.4rem, 2.4vw, 2rem);
  display: flex;
  flex-direction: column;
}
.review-head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1rem;
}
.review-head img {
  width: 46px; height: 46px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.review-head strong { display: block; font-size: 0.94rem; font-weight: 700; line-height: 1.3; }
.review-head span { font-size: 0.8rem; color: var(--ink-soft); }
.stars { display: flex; gap: 3px; color: var(--or); margin-bottom: 0.85rem; }
.stars svg { width: 13px; height: 13px; }
.stars .off { opacity: 0.22; }
.review blockquote { font-size: 0.98rem; line-height: 1.62; flex: 1; }

/* ---------- Bloc final sombre ---------- */

.dark { background: var(--marine); color: var(--sand); }
.dark .cta-final { text-align: center; max-width: 720px; margin: 0 auto; }
.dark .cta-final h2 { font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: 1.1rem; letter-spacing: -0.015em; }
.dark .cta-final p { margin: 0 auto 2.1rem; color: var(--ligne); }
.dark .cta-final .btn { background: var(--sand); color: var(--ink); border-color: var(--sand); }
.dark .cta-final .btn:hover { background: var(--ligne); border-color: var(--ligne); }
.dark .cta-final .rating { margin-top: 2rem; }

/* ---------- Footer ---------- */

.footer {
  background: var(--marine);
  color: var(--ligne);
  padding: clamp(3.2rem, 6.5vw, 5rem) var(--gutter) 2.4rem;
  border-top: 1px solid rgba(221, 216, 203, 0.14);
}
.footer .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; }
.footer h4 {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 1rem;
}
.footer ul { list-style: none; }
.footer li { margin-bottom: 0.5rem; }
.footer a { text-decoration: none; font-size: 0.92rem; transition: color var(--duree) var(--ease); }
.footer a:hover { color: var(--sand); }
.footer p { font-size: 0.92rem; }
.footer .foot-note {
  grid-column: 1 / -1;
  margin-top: 2.8rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(221, 216, 203, 0.14);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8rem;
  color: rgba(221, 216, 203, 0.65);
}
.footer .foot-note a { font-size: 0.8rem; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Listes / infos ---------- */

.spec-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(2rem, 4vw, 3.2rem); }
.spec-groups h3 {
  font-size: 1.05rem;
  margin-bottom: 0.9rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--ligne);
}
.spec-groups ul { list-style: none; }
.spec-groups li { padding: 0.32rem 0; font-size: 0.96rem; color: var(--ink-soft); }

.rooms { display: grid; gap: 0; margin-top: 1rem; }
.room {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--ligne);
  align-items: baseline;
}
.room:last-child { border-bottom: 1px solid var(--ligne); }
.room strong { font-family: var(--display); font-weight: 600; font-size: 1.08rem; }
.room span { font-size: 0.9rem; color: var(--ink-soft); text-align: right; }

.dist-table { width: 100%; border-collapse: collapse; }
.dist-table td { padding: 0.7rem 0; border-top: 1px solid var(--ligne); font-size: 0.96rem; }
.dist-table td:last-child { text-align: right; color: var(--ink-soft); }

/* ---------- Contact ---------- */

.contact-hero { padding: clamp(8.5rem, 15vh, 11rem) var(--gutter) clamp(3rem, 6vw, 5rem); }
.contact-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(2.5rem, 6vw, 6rem); }
.contact-main h1 {
  font-size: clamp(2.3rem, 5vw, 3.7rem);
  letter-spacing: -0.02em;
  margin-bottom: 1.3rem;
}
.contact-main p { margin-bottom: 1.5rem; }
.contact-aside { border-left: 1px solid var(--ligne); padding-left: clamp(1.5rem, 3vw, 3rem); }
.contact-aside h3 { margin: 1.7rem 0 0.5rem; font-size: 1.05rem; }
.contact-aside h3:first-child { margin-top: 0; }
.contact-aside p { font-size: 0.96rem; color: var(--ink-soft); }
.contact-aside a { color: var(--ink); }

/* ---------- Revelation ---------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity calc(var(--duree) * 2) var(--ease),
              transform calc(var(--duree) * 2) var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: smooth; }
  .split-media img, .card figure img, .strip-item img, .duo img { transition: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .reviews { grid-template-columns: repeat(2, 1fr); }
  .spec-groups { grid-template-columns: repeat(2, 1fr); }
  .footer .wrap { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    background: var(--sand);
    color: var(--ink);
    transform: translateY(-100%);
    transition: transform var(--duree) var(--ease);
  }
  .nav.open .nav-links { transform: none; }
  .nav.open { color: var(--ink); }
  .nav.open .burger { position: relative; z-index: 60; }
  .nav.open .bars span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav.open .bars span:nth-child(2) { opacity: 0; }
  .nav.open .bars span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .burger { display: block; }
  .nav-links a:not(.btn) { font-size: 1rem; }

  .split, .split.rev { grid-template-columns: 1fr; }
  .split.rev .split-media { order: 0; }
  .cards { grid-template-columns: 1fr; }
  .reviews { grid-template-columns: 1fr; }
  .duo { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-aside { border-left: 0; padding-left: 0; border-top: 1px solid var(--ligne); padding-top: 2rem; }
  .spec-groups { grid-template-columns: 1fr; }
  .footer .wrap { grid-template-columns: 1fr; gap: 2rem; }
  .facts { gap: 1.3rem 1.8rem; }
  .strip-item { flex-basis: 78vw; }
}

/* ============================================================
   v2 - Restructuration : squelette propre a Pinasse
   (hero-phrase + badge, immersion, room-blocks, story encadree,
   proof specs, avis vedette, contact minimal, footer ligne)
   ============================================================ */

/* Hero centre a phrase longue */
.hero.center { align-items: center; text-align: center; }
.hero.center .hero-inner {
  padding-bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero.center h1 {
  font-size: clamp(1.7rem, 3.4vw, 2.85rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.012em;
  max-width: 32ch;
  margin-bottom: 0.55em;
}
.hero.center h1 em { font-style: italic; font-weight: 600; }
.hero.center .hero-sub { margin-left: auto; margin-right: auto; max-width: 52ch; }

.badge-rating {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 1.4rem;
  padding: 0.45em 1.1em;
  border: 1px solid rgba(252, 251, 247, 0.5);
  border-radius: 999px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  background: rgba(252, 251, 247, 0.12);
}
.badge-rating svg { width: 12px; height: 12px; color: var(--or); }

/* Immersion : une phrase centree sur photo pleine hauteur */
.immersion {
  position: relative;
  min-height: 86dvh;
  display: grid;
  place-items: center;
  color: var(--white);
  isolation: isolate;
  overflow: hidden;
  text-align: center;
}
.immersion img.immersion-media {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -1;
}
.immersion::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(15, 22, 28, 0.34);
  z-index: 0;
}
.immersion p {
  position: relative;
  z-index: 1;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.45rem, 3vw, 2.35rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
  max-width: 24ch;
  padding: 0 var(--gutter);
  text-shadow: 0 1px 26px rgba(10, 16, 22, 0.5);
}

/* En-tete de page texte (sous-pages sans photo) */
.page-head {
  padding: clamp(8rem, 14vh, 10.5rem) var(--gutter) clamp(2.2rem, 4vw, 3.5rem);
}
.page-head h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.page-head .intro { max-width: 58ch; color: var(--ink-soft); font-size: 1.08rem; }
.page-head .kicker { margin-bottom: 0.8rem; }

/* Image d'ouverture pleine largeur */
.lead-img { overflow: hidden; border-radius: var(--r-img); }
.lead-img img { width: 100%; aspect-ratio: 21 / 10; object-fit: cover; }

/* Room-blocks : rangees compactes empilees */
.room-block {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(1.5rem, 3.5vw, 3.5rem);
  align-items: center;
  padding: clamp(1.8rem, 3.5vw, 2.8rem) 0;
  border-top: 1px solid var(--ligne);
}
.room-block:first-of-type { border-top: 0; }
.room-block.rev .room-media { order: -1; }
.room-media { overflow: hidden; border-radius: var(--r-img); }
.room-media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform calc(var(--duree) * 2.6) var(--ease);
}
.room-media:hover img { transform: scale(1.03); }
.room-info h3 { margin-bottom: 0.5rem; }
.room-info p { font-size: 0.99rem; color: var(--ink-soft); }

/* Cartes chambres avec fleche */
.card .card-link {
  display: inline-block;
  margin-top: 0.55rem;
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bleu);
}
.card .card-link .arrow { transition: transform var(--duree) var(--ease); display: inline-block; }
.card:hover .card-link .arrow { transform: translateX(5px); }

/* Story : texte + image au cadre decale */
.story {
  display: grid;
  grid-template-columns: 6fr 6fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.story-img-wrap { position: relative; }
.story-img-wrap img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--r-img);
}
.story-frame {
  position: absolute;
  inset: 0;
  border: 1px solid var(--bleu);
  border-radius: var(--r-img);
  transform: translate(16px, 16px);
  pointer-events: none;
  opacity: 0.45;
}
.story-text h2 { margin-bottom: 1.1rem; }
.story-text p { margin-bottom: 1.2rem; }

/* Proof : photo + specs chiffrees */
.proof {
  display: grid;
  grid-template-columns: 6fr 6fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.proof-photo { overflow: hidden; border-radius: var(--r-img); }
.proof-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.proof h2 { margin-bottom: 1rem; }
.proof > div > p { margin-bottom: 1.6rem; }
.proof-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem 2rem;
}
.proof-spec-value {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.15;
  color: var(--bleu);
}
.proof-spec-label { font-size: 0.85rem; color: var(--ink-soft); }

/* Avis : vedette + minis */
.review-featured {
  border: 1px solid var(--ligne);
  border-radius: var(--r-img);
  background: var(--white);
  padding: clamp(1.8rem, 3.5vw, 3rem);
  margin-bottom: clamp(1.2rem, 2.4vw, 1.8rem);
}
.review-featured blockquote {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.45;
  letter-spacing: -0.005em;
  max-width: 60ch;
  margin-top: 1.1rem;
}
.reviews-mini {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.2rem, 2.4vw, 1.8rem);
}

/* Contact minimal clair */
.contact-minimal {
  background: var(--sand-2);
  text-align: center;
  padding: clamp(4.5rem, 9vw, 7.5rem) var(--gutter);
}
.contact-minimal h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  letter-spacing: -0.015em;
  max-width: 24ch;
  margin: 0 auto 1.1rem;
}
.contact-minimal p {
  max-width: 52ch;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
  color: var(--ink-soft);
}
.contact-minimal .actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.4rem;
}
.contact-minimal .tel {
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid var(--bleu);
  padding-bottom: 0.2em;
}
.contact-minimal .rating { margin-top: 2rem; }

/* Footer une ligne */
.footer-line {
  background: var(--marine);
  color: var(--ligne);
  padding: 1.5rem var(--gutter);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem 2rem;
  font-size: 0.85rem;
}
.footer-line nav { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.footer-line a { text-decoration: none; transition: color var(--duree) var(--ease); }
.footer-line a:hover { color: var(--sand); }
.footer-line .fl-brand { font-family: var(--display); font-weight: 700; color: var(--sand); letter-spacing: 0.02em; }
.footer-line .fl-note { color: rgba(221, 216, 203, 0.6); font-size: 0.78rem; }

@media (max-width: 900px) {
  .story, .proof { grid-template-columns: 1fr; }
  .room-block, .room-block.rev { grid-template-columns: 1fr; }
  .room-block.rev .room-media { order: 0; }
  .reviews-mini { grid-template-columns: 1fr; }
  .footer-line { flex-direction: column; align-items: flex-start; }
}

/* Voile plein cadre pour le hero centre (lisibilite de la phrase) */
.hero.center::after {
  inset: 0;
  height: auto;
  background: rgba(15, 22, 28, 0.3);
}

/* ============================================================
   v3 - Menu panneau lateral (structure Chantarams),
   fleches du strip, ancres sous navbar, contact refondu
   ============================================================ */

section[id] { scroll-margin-top: 92px; }

.nav-right { display: flex; align-items: center; gap: 1.6rem; }
.nav-right .menu-word {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.burger { display: flex; align-items: center; gap: 0.75rem; }
.burger .bars span {
  display: block;
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  margin: 5px 0;
  transition: transform var(--duree) var(--ease), opacity var(--duree) var(--ease);
}

/* Panneau lateral */
.menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 22, 28, 0.42);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duree) var(--ease);
  z-index: 80;
}
body.menu-open .menu-backdrop { opacity: 1; pointer-events: auto; }

.menu-panel {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: min(430px, 90vw);
  background: var(--sand);
  color: var(--ink);
  z-index: 90;
  transform: translateX(-102%);
  transition: transform calc(var(--duree) * 1.6) var(--ease);
  display: flex;
  flex-direction: column;
  padding: clamp(1.6rem, 4vh, 2.6rem) clamp(1.6rem, 5vw, 3rem);
  overflow-y: auto;
}
body.menu-open .menu-panel { transform: none; }

.menu-close {
  align-self: flex-end;
  background: none;
  border: 0;
  color: var(--ink);
  cursor: pointer;
  padding: 0.4rem;
  margin-bottom: 1.2rem;
}
.menu-close svg { width: 26px; height: 26px; }

.menu-groups { flex: 1; display: flex; flex-direction: column; gap: clamp(1.6rem, 3.5vh, 2.6rem); }
.menu-groups h4 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bleu);
  margin-bottom: 0.7rem;
}
.menu-groups a {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.6vh, 1.55rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  padding: 0.28em 0;
  transition: color var(--duree) var(--ease), transform var(--duree) var(--ease);
}
.menu-groups a:hover { color: var(--bleu); transform: translateX(6px); }

.menu-foot {
  display: flex;
  gap: 1.6rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--ligne);
  font-size: 0.85rem;
}
.menu-foot a { text-decoration: none; color: var(--ink-soft); }
.menu-foot a:hover { color: var(--ink); }

/* Strip : scrollbar masquee + fleches */
.strip { scrollbar-width: none; padding-bottom: 0.2rem; }
.strip::-webkit-scrollbar { display: none; }
.strip-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.2rem;
}
.strip-nav { display: flex; gap: 0.7rem; flex-shrink: 0; }
.strip-btn {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background var(--duree) var(--ease), color var(--duree) var(--ease), opacity var(--duree) var(--ease);
}
.strip-btn:hover { background: var(--ink); color: var(--sand); }
.strip-btn:disabled { opacity: 0.3; pointer-events: none; }
.strip-btn svg { width: 18px; height: 18px; }

/* Contact refondu */
.page-head.center { text-align: center; }
.page-head.center .intro { margin-left: auto; margin-right: auto; }
.page-head.center .kicker { margin-left: auto; margin-right: auto; }
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.4rem;
  margin-bottom: 1.4rem;
}
.contact-cols { text-align: left; }

@media (max-width: 768px) {
  .nav-right { gap: 1rem; }
  .nav-right .btn { display: none; }
  .strip-head { flex-direction: column; align-items: flex-start; gap: 1rem; }
}

/* ============================================================
   v3 effets - loader pinasse, lettre-par-lettre, conversation
   ============================================================ */

#loader {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--sand);
  display: grid;
  place-items: center;
  transition: opacity 0.6s var(--ease);
}
#loader.hide { opacity: 0; pointer-events: none; }
#loader .motif { text-align: center; transition: transform 0.6s var(--ease); }
#loader.hide .motif { transform: translateY(14px); }
#loader svg { width: 130px; height: 84px; overflow: visible; }
#loader .bateau { animation: tangue 2.6s ease-in-out infinite; transform-origin: 65px 46px; }
@keyframes tangue {
  0%, 100% { transform: translateY(0) rotate(-2.5deg); }
  50% { transform: translateY(-4px) rotate(2.5deg); }
}
#loader .vague {
  stroke-dasharray: 26 14;
  animation: coule 1.6s linear infinite;
}
@keyframes coule { to { stroke-dashoffset: -40; } }
#loader .nom {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  margin-top: 0.9rem;
}
body.loading { overflow: hidden; }

.txt-reveal .tr-mot { display: inline-block; white-space: nowrap; }
.txt-reveal .tr-ch { opacity: 0.14; transition: opacity 0.22s linear; }
.txt-reveal .tr-ch.on { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .txt-reveal .tr-ch { opacity: 1; transition: none; }
  #loader { display: none; }
}

main .link-line::after { content: '\2192'; display: inline-block; margin-left: 0.4em; transition: transform var(--duree) var(--ease); }
main .link-line:hover::after { transform: translateX(5px); }

/* ============================================================
   v4 - Or laiton, wipe images, ken burns, lightbox, prix
   ============================================================ */

.rating { color: var(--bleu); }
.hero .badge-rating svg { color: var(--sand); }

/* Zoom lent du hero */
@media (prefers-reduced-motion: no-preference) {
  .hero-media img { animation: kenburns 16s var(--ease) both; }
  @keyframes kenburns { from { transform: scale(1.07); } to { transform: scale(1); } }
}

/* Images qui se decouvrent */
.wipe { overflow: hidden; }
.wipe img {
  clip-path: inset(0 96% 0 0);
  transform: scale(1.1);
  transition: clip-path 0.9s var(--ease), transform 1.4s var(--ease);
}
.wipe.in img { clip-path: inset(0 0 0 0); transform: none; }
.wipe.in:hover img { transform: scale(1.035); }
@media (prefers-reduced-motion: reduce) {
  .wipe img { clip-path: none; transform: none; transition: none; }
}

/* Lightbox */
main figure img, main .split-media img, main .room-media img, main .lead-img img { cursor: zoom-in; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(20, 28, 36, 0.94);
  display: none;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
}
.lightbox.open { display: grid; }
.lightbox img {
  max-width: min(1200px, 92vw);
  max-height: 82vh;
  object-fit: contain;
  border-radius: var(--r-img);
}
.lightbox .lb-cap {
  position: absolute;
  bottom: clamp(0.8rem, 3vh, 2rem);
  left: 50%;
  transform: translateX(-50%);
  color: var(--sand);
  font-size: 0.88rem;
  text-align: center;
  max-width: 80ch;
  padding: 0 1rem;
  opacity: 0.9;
}
.lightbox button {
  position: absolute;
  background: rgba(252, 251, 247, 0.1);
  border: 1px solid rgba(252, 251, 247, 0.45);
  color: var(--sand);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background var(--duree) var(--ease);
}
.lightbox button:hover { background: rgba(252, 251, 247, 0.25); }
.lightbox button svg { width: 20px; height: 20px; }
.lb-close { top: 1.2rem; right: 1.2rem; }
.lb-prev { left: 1.2rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1.2rem; top: 50%; transform: translateY(-50%); }
@media (max-width: 768px) {
  .lb-prev, .lb-next { top: auto; bottom: 4.2rem; transform: none; }
  .lb-prev { left: 28%; }
  .lb-next { right: 28%; }
  .lightbox .lb-cap { bottom: 1rem; }
}

.prix-ligne { font-weight: 600; margin-top: 1.1rem; color: var(--bleu); }
.dark .prix-ligne, .contact-minimal .prix-ligne { color: inherit; }
