/* ==========================================================================
   Villa Planes · Costa Daurada
   Palette tirée de la maison : chaux, pierre dorée, eau turquoise,
   bougainvillier, coussins moutarde, nuits bleu profond.
   ========================================================================== */

:root {
  --chaux: #f7f2ea;
  --chaux-2: #efe7da;
  --sable: #e3d3bb;
  --pierre: #b8925f;
  --or: #d29a3a;
  --eau: #1fa9b8;
  --eau-clair: #8fd8de;
  --bougain: #b13a78;
  --nuit: #10202a;
  --nuit-2: #1b3140;
  --encre: #22303a;
  --gris: #6b7680;

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1320px;
  --ease: cubic-bezier(.22, .8, .22, 1);
  --ease-in-out: cubic-bezier(.76, 0, .24, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--chaux);
  color: var(--encre);
  font-family: var(--sans);
  font-weight: 350;
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
.no-scroll { overflow: hidden; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Typo ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: .8em;
  font-family: var(--sans); font-size: 12px; font-weight: 500;
  letter-spacing: .28em; text-transform: uppercase; color: var(--pierre);
}
.kicker::before { content: ""; width: 34px; height: 1px; background: currentColor; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.1; margin: 0; letter-spacing: -.01em; }
h2 { font-size: clamp(40px, 5.6vw, 82px); }
h2 em, h1 em { font-style: italic; color: var(--or); }
h3 { font-size: clamp(26px, 2.6vw, 36px); }
.lead { font-size: clamp(18px, 1.5vw, 21px); color: var(--gris); max-width: 34em; }

/* ---------- Boutons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: .7em;
  padding: 16px 30px; border-radius: 999px;
  font-size: 13px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  overflow: hidden; isolation: isolate;
  transition: color .5s var(--ease), border-color .5s var(--ease);
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  transform: translateY(101%); transition: transform .55s var(--ease);
}
.btn:hover::after { transform: translateY(0); }
.btn svg { width: 16px; height: 16px; transition: transform .5s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-or { background: var(--or); color: #fff; }
.btn-or::after { background: var(--nuit); }
.btn-ligne { border: 1px solid rgba(255,255,255,.6); color: #fff; }
.btn-ligne::after { background: #fff; }
.btn-ligne:hover { color: var(--nuit); }
.btn-sombre { background: var(--nuit); color: #fff; }
.btn-sombre::after { background: var(--or); }

/* ---------- Rideau d'ouverture ---------- */
.rideau {
  position: fixed; inset: 0; z-index: 200; background: var(--nuit);
  display: grid; place-items: center; color: var(--chaux);
  transition: transform 1.1s var(--ease-in-out) .1s;
}
.rideau span {
  font-family: var(--serif); font-size: clamp(34px, 5vw, 60px); font-style: italic;
  opacity: 0; transform: translateY(14px); animation: rideauTxt .9s var(--ease) .1s forwards;
}
@keyframes rideauTxt { to { opacity: 1; transform: none; } }
.is-loaded .rideau { transform: translateY(-100%); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--gutter);
  color: #fff;
  transition: background .5s var(--ease), padding .5s var(--ease), color .5s var(--ease), transform .5s var(--ease);
}
.nav.is-solid {
  background: rgba(247, 242, 234, .86);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  color: var(--encre); padding-top: 14px; padding-bottom: 14px;
  box-shadow: 0 1px 0 rgba(34,48,58,.08);
}
.nav.is-hidden { transform: translateY(-100%); }
.logo { font-family: var(--serif); font-size: 28px; line-height: 1; letter-spacing: .01em; }
.logo i { color: var(--or); }
.nav-links { display: flex; gap: 34px; align-items: center; }
.nav-links a:not(.btn) {
  position: relative; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 450;
}
.nav-links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
.nav-links a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }
.nav .btn { padding: 12px 22px; }
.burger { display: none; width: 44px; height: 44px; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor; transition: transform .5s var(--ease), opacity .3s; }
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 26px; }
.menu-open .burger span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }

.menu-mobile {
  position: fixed; inset: 0; z-index: 90; background: var(--nuit); color: var(--chaux);
  display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 0 var(--gutter);
  clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease-in-out);
}
.menu-open .menu-mobile { clip-path: inset(0 0 0 0); }
.menu-mobile a { font-family: var(--serif); font-size: 44px; line-height: 1.2; opacity: 0; transform: translateY(20px); transition: opacity .5s, transform .6s var(--ease); }
.menu-open .menu-mobile a { opacity: 1; transform: none; }
.menu-open .menu-mobile a:nth-child(2) { transition-delay: .05s; }
.menu-open .menu-mobile a:nth-child(3) { transition-delay: .1s; }
.menu-open .menu-mobile a:nth-child(4) { transition-delay: .15s; }
.menu-open .menu-mobile a:nth-child(5) { transition-delay: .2s; }
.menu-open .menu-mobile a:nth-child(6) { transition-delay: .25s; }
.menu-mobile .btn { margin-top: 28px; align-self: flex-start; font-family: var(--sans); font-size: 13px; }
.menu-open .nav { color: var(--chaux); background: transparent; box-shadow: none; backdrop-filter: none; }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100svh; min-height: 560px; overflow: hidden; color: #fff; background: var(--nuit); }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; transform: scale(1.14); transition: transform 2.8s var(--ease); }
.is-loaded .hero-media img { transform: scale(1.02); }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(16,32,42,.62) 0%, rgba(16,32,42,.25) 38%, rgba(16,32,42,0) 60%),
    linear-gradient(180deg, rgba(16,32,42,.45) 0%, rgba(16,32,42,0) 30%, rgba(16,32,42,0) 50%, rgba(16,32,42,.78) 100%);
}
.hero h1 em { color: #fff; }
.hero h1, .hero-sub { text-shadow: 0 2px 30px rgba(16,32,42,.35); }
.hero-content {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 0 var(--gutter) clamp(36px, 7vh, 80px);
  display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 30px;
  max-width: 1600px; margin: 0 auto;
}
.hero .kicker { color: var(--eau-clair); }
.hero h1 { font-size: clamp(64px, 12.5vw, 196px); line-height: .9; margin: 14px 0 18px; }
.hero h1 .ligne { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .ligne > span { display: inline-block; transform: translateY(110%); transition: transform 1.3s var(--ease); }
.is-loaded .hero h1 .ligne > span { transform: none; transition-delay: .55s; }
.is-loaded .hero h1 .ligne:nth-child(2) > span { transition-delay: .7s; }
.hero-sub { font-size: clamp(17px, 1.6vw, 22px); max-width: 30em; opacity: .92; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.fade-in { opacity: 0; transform: translateY(18px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.is-loaded .fade-in { opacity: 1; transform: none; transition-delay: 1s; }
.is-loaded .fade-in.d2 { transition-delay: 1.15s; }
.scroll-hint {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-size: 11px; letter-spacing: .3em; text-transform: uppercase; writing-mode: vertical-rl;
}
.scroll-hint::after { content: ""; width: 1px; height: 70px; background: linear-gradient(#fff, transparent); animation: descend 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes descend { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- Chiffres ---------- */
.chiffres { background: var(--chaux); border-bottom: 1px solid rgba(34,48,58,.08); }
.chiffres ul {
  list-style: none; margin: 0 auto; padding: 34px var(--gutter);
  max-width: var(--maxw);
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px;
}
.chiffres li { text-align: center; }
.chiffres b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 3.4vw, 48px); line-height: 1; color: var(--encre); }
.chiffres small { display: block; margin-top: 8px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--gris); }

/* ---------- Sections ---------- */
section { position: relative; }
.pad { padding: clamp(90px, 13vw, 180px) 0; }

/* Intro */
.intro-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.intro-txt h2 { margin: 22px 0 28px; }
.intro-txt p { margin: 0 0 18px; }
.intro-imgs { position: relative; height: clamp(520px, 62vw, 820px); }
.intro-imgs figure { position: absolute; margin: 0; overflow: hidden; border-radius: 4px; }
.intro-imgs .i1 { top: 0; right: 0; width: 72%; height: 74%; }
.intro-imgs .i2 { bottom: 0; left: 0; width: 46%; height: 52%; box-shadow: 0 30px 60px -20px rgba(16,32,42,.35); border: 8px solid var(--chaux); }
.intro-imgs img { width: 100%; height: 115%; object-fit: cover; }
.signature { margin-top: 34px; font-family: var(--serif); font-style: italic; font-size: 26px; color: var(--pierre); }

/* ---------- Piscine : défilement horizontal ---------- */
.piscine { background: var(--nuit); color: var(--chaux); }
.h-pin { position: relative; }
.h-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; align-items: center; }
.h-track { display: flex; gap: clamp(16px, 2vw, 28px); padding-left: var(--gutter); padding-right: var(--gutter); will-change: transform; align-items: center; }
.h-intro { flex: 0 0 clamp(300px, 30vw, 460px); padding-right: 30px; }
.h-intro h2 { margin: 20px 0 22px; }
.h-intro p { color: rgba(247,242,234,.72); margin: 0 0 26px; }
.h-intro .kicker { color: var(--eau-clair); }
.h-card { flex: 0 0 auto; height: min(72vh, 640px); margin: 0; overflow: hidden; border-radius: 4px; position: relative; }
.h-card.l { aspect-ratio: 4 / 3; }
.h-card.p { aspect-ratio: 3 / 4; }
.h-card img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.4s var(--ease); }
.h-card:hover img { transform: scale(1.01); }
.h-card figcaption {
  position: absolute; left: 18px; bottom: 16px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  background: rgba(16,32,42,.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); padding: 7px 12px; border-radius: 99px;
}
.h-progress { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 34px; height: 1px; background: rgba(247,242,234,.18); }
.h-progress i { display: block; height: 100%; width: 100%; background: var(--eau-clair); transform-origin: left; transform: scaleX(0); }

/* ---------- Bandeau plein écran ---------- */
.bandeau { position: relative; height: 110vh; overflow: hidden; color: #fff; display: grid; place-items: center; text-align: center; }
.bandeau .bg { position: absolute; inset: -12% 0; }
.bandeau .bg img { width: 100%; height: 100%; object-fit: cover; }
.bandeau::after { content: ""; position: absolute; inset: 0; background: rgba(16,32,42,.38); }
.bandeau-txt { position: relative; z-index: 2; padding: 0 var(--gutter); }
.bandeau-txt p { font-family: var(--serif); font-size: clamp(38px, 6vw, 92px); line-height: 1.05; margin: 0; max-width: 14em; }
.bandeau-txt p em { color: var(--or); }

/* ---------- Vivre dehors : mosaïque ---------- */
.dehors-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: clamp(40px, 6vw, 80px); flex-wrap: wrap; }
.dehors-head h2 { margin-top: 18px; }
.mosaique {
  display: grid; gap: clamp(10px, 1.2vw, 18px);
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: clamp(70px, 8vw, 118px);
}
.mosaique figure { margin: 0; overflow: hidden; border-radius: 4px; position: relative; cursor: zoom-in; }
.mosaique img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.mosaique figure:hover img { transform: scale(1.05); }
.m1 { grid-column: 1 / 6; grid-row: span 6; }
.m2 { grid-column: 6 / 13; grid-row: span 4; }
.m3 { grid-column: 6 / 9; grid-row: span 3; }
.m4 { grid-column: 9 / 13; grid-row: span 3; }
.m5 { grid-column: 1 / 5; grid-row: span 3; }
.m6 { grid-column: 5 / 9; grid-row: span 4; }
.m7 { grid-column: 9 / 13; grid-row: span 4; }
.m8 { grid-column: 1 / 5; grid-row: span 3; }
.m9 { grid-column: 5 / 13; grid-row: span 3; }
.atouts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.atouts span { padding: 9px 18px; border: 1px solid rgba(34,48,58,.18); border-radius: 99px; font-size: 14px; }

/* ---------- Jardin ---------- */
.jardin { background: var(--chaux-2); }
.jardin-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: clamp(12px, 1.4vw, 20px); align-items: start; margin-top: clamp(40px, 6vw, 70px); }
.jardin-grid figure { margin: 0; overflow: hidden; border-radius: 4px; cursor: zoom-in; }
.jardin-grid img { width: 100%; height: 100%; object-fit: cover; }
.jardin-grid .j1 { aspect-ratio: 4 / 5; }
.jardin-grid .j2 { aspect-ratio: 3 / 4; margin-top: 18%; }
.jardin-grid .j3 { aspect-ratio: 3 / 4; margin-top: 6%; }
.jardin-top { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; }
.jardin-top h2 { margin-top: 18px; }

/* ---------- Appartements ---------- */
.apparts-head { text-align: center; max-width: 820px; margin: 0 auto clamp(40px, 5vw, 64px); }
.apparts-head h2 { margin: 18px 0 20px; }
.apparts-head .lead { margin: 0 auto; }
.onglets { display: inline-flex; padding: 6px; border-radius: 99px; background: var(--chaux-2); margin: 30px auto 0; position: relative; }
.onglets button { position: relative; z-index: 2; padding: 13px 28px; border-radius: 99px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; transition: color .4s; }
.onglets button[aria-selected="true"] { color: #fff; }
.onglets .pastille { position: absolute; z-index: 1; top: 6px; bottom: 6px; border-radius: 99px; background: var(--nuit); transition: left .55s var(--ease), width .55s var(--ease); }
.panneau { display: none; }
.panneau.is-active { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(30px, 5vw, 80px); align-items: start; animation: panIn .9s var(--ease); }
@keyframes panIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.panneau h3 { margin-bottom: 18px; }
.panneau ul { list-style: none; padding: 0; margin: 0 0 28px; }
.panneau li { padding: 13px 0; border-bottom: 1px solid rgba(34,48,58,.1); display: flex; gap: 14px; }
.panneau li::before { content: ""; flex: 0 0 7px; height: 7px; margin-top: 10px; border-radius: 50%; background: var(--eau); }
.panneau-galerie { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(110px, 12vw, 180px); gap: clamp(8px, 1vw, 14px); }
.panneau-galerie figure { margin: 0; overflow: hidden; border-radius: 4px; cursor: zoom-in; }
.panneau-galerie img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.panneau-galerie figure:hover img { transform: scale(1.05); }
/* 6 photos : grande à gauche, puis chambres et pièces de vie */
.panneau-galerie figure:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.panneau-galerie figure:nth-child(2) { grid-column: span 2; }
.panneau-galerie figure:nth-child(5), .panneau-galerie figure:nth-child(6) { grid-column: span 2; }
.lien-galerie { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; border-bottom: 1px solid currentColor; padding-bottom: 4px; }

/* ---------- Chambres : bande glissante ---------- */
.chambres { background: var(--nuit-2); color: var(--chaux); overflow: hidden; }
.chambres .kicker { color: var(--eau-clair); }
.chambres-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; margin-bottom: 50px; }
.chambres-head h2 { margin-top: 18px; }
.fleches { display: flex; gap: 10px; }
.fleches button { width: 56px; height: 56px; border-radius: 50%; border: 1px solid rgba(247,242,234,.35); display: grid; place-items: center; transition: background .4s, color .4s; }
.fleches button:hover { background: var(--chaux); color: var(--nuit); }
.fleches svg { width: 18px; height: 18px; }
.bande {
  display: flex; gap: clamp(14px, 1.6vw, 24px); overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 0 var(--gutter) 10px; scrollbar-width: none; cursor: grab;
}
.bande::-webkit-scrollbar { display: none; }
.bande.is-drag { cursor: grabbing; scroll-snap-type: none; }
.bande figure { flex: 0 0 clamp(270px, 34vw, 520px); aspect-ratio: 4 / 3; margin: 0; border-radius: 4px; overflow: hidden; scroll-snap-align: start; }
.bande figure.p { flex-basis: clamp(200px, 25vw, 390px); }
.bande img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; user-select: none; }
.lits { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin-top: 56px; border-top: 1px solid rgba(247,242,234,.15); padding-top: 34px; }
.lits b { display: block; font-family: var(--serif); font-weight: 400; font-size: 24px; }
.lits span { font-size: 14px; color: rgba(247,242,234,.65); }

/* ---------- Alentours ---------- */
.alentours-head { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; margin-bottom: clamp(40px, 6vw, 80px); }
.alentours-head h2 { margin-top: 18px; }
.lieux { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.4vw, 20px); }
.lieu { position: relative; margin: 0; overflow: hidden; border-radius: 4px; aspect-ratio: 3 / 4; color: #fff; cursor: zoom-in; }
.lieu.large { grid-column: span 2; aspect-ratio: auto; }
.lieu img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.lieu:hover img { transform: scale(1.06); }
.lieu::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(16,32,42,.78)); }
.lieu figcaption { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 2; }
.lieu figcaption b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(22px, 2vw, 30px); line-height: 1.1; }
.lieu figcaption span { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; opacity: .85; }

/* ---------- Avis ---------- */
.avis { background: var(--chaux-2); }
.avis-grid { display: grid; grid-template-columns: .8fr 1.2fr 1.2fr; gap: clamp(30px, 4vw, 60px); align-items: start; }
.note b { display: block; font-family: var(--serif); font-weight: 400; font-size: clamp(90px, 10vw, 150px); line-height: .9; color: var(--encre); }
.etoiles { color: var(--or); letter-spacing: .2em; font-size: 20px; margin: 10px 0 8px; }
.note p { margin: 0; color: var(--gris); font-size: 15px; }
.badge { display: inline-block; margin-top: 18px; padding: 8px 16px; border-radius: 99px; background: var(--nuit); color: #fff; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
blockquote { margin: 0; }
blockquote p { font-family: var(--serif); font-size: clamp(22px, 2vw, 28px); line-height: 1.35; margin: 0 0 20px; }
blockquote p::before { content: "« "; color: var(--or); }
blockquote p::after { content: " »"; color: var(--or); }
blockquote cite { font-style: normal; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--gris); }

/* ---------- Infos pratiques ---------- */
.infos-grid { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(40px, 6vw, 100px); }
.infos-grid h2 { margin-top: 18px; }
.infos-liste { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 50px; }
.info { display: flex; gap: 18px; padding: 22px 0; border-bottom: 1px solid rgba(34,48,58,.1); }
.info svg { flex: 0 0 26px; width: 26px; height: 26px; stroke: var(--eau); fill: none; stroke-width: 1.4; margin-top: 2px; }
.info b { display: block; font-weight: 500; }
.info span { color: var(--gris); font-size: 15px; }

/* ---------- Réserver ---------- */
.reserver { position: relative; min-height: 100vh; display: grid; place-items: center; text-align: center; color: #fff; overflow: hidden; }
.reserver .bg { position: absolute; inset: -10% 0; }
.reserver .bg img { width: 100%; height: 100%; object-fit: cover; }
.reserver::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(16,32,42,.25), rgba(16,32,42,.65)); }
.reserver-txt { position: relative; z-index: 2; padding: 120px var(--gutter); max-width: 900px; }
.reserver h2 { font-size: clamp(50px, 8vw, 120px); margin: 20px 0 24px; }
.reserver .kicker { color: var(--eau-clair); }
.reserver-txt p { font-size: 19px; opacity: .9; margin: 0 auto 38px; max-width: 30em; }
.reserver .hero-cta { justify-content: center; }

/* ---------- Réservation directe : calendrier + formulaire ---------- */
.reserver { display: block; min-height: 0; padding: clamp(110px, 12vw, 170px) var(--gutter) clamp(70px, 8vw, 120px); }
.reserver .reserver-txt { padding: 0; margin: 0 auto clamp(40px, 5vw, 64px); max-width: 860px; }
.reserver .reserver-txt p { margin-bottom: 0; }
.resa {
  position: relative; z-index: 2; max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr 1fr; text-align: left;
  background: var(--chaux); color: var(--encre); border-radius: 6px; overflow: hidden;
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.55);
}
.cal { padding: clamp(24px, 3vw, 40px); border-right: 1px solid rgba(34,48,58,.1); }
.cal-tete { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.cal-etape { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; color: var(--pierre); text-align: center; }
.cal-nav { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(34,48,58,.18); display: grid; place-items: center; transition: background .3s, color .3s, opacity .3s; }
.cal-nav:hover:not(:disabled) { background: var(--nuit); color: #fff; }
.cal-nav:disabled { opacity: .3; cursor: default; }
.cal-nav svg { width: 16px; height: 16px; }
.cal-mois { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.mois h4 { margin: 0 0 12px; font-family: var(--serif); font-weight: 500; font-size: 22px; text-align: center; text-transform: capitalize; }
.jours { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.jours .js { font-size: 11px; text-align: center; color: var(--gris); padding-bottom: 6px; letter-spacing: .06em; }
.jour {
  aspect-ratio: 1; display: grid; place-items: center; font-size: 14px; border-radius: 50%;
  position: relative; transition: background .2s, color .2s;
}
button.jour:hover { background: var(--chaux-2); }
.jour.passe, .jour.pris { color: rgba(34,48,58,.28); cursor: default; }
.jour.pris { text-decoration: line-through; background: repeating-linear-gradient(135deg, transparent 0 4px, rgba(34,48,58,.06) 4px 6px); border-radius: 0; }
.jour.dans { background: rgba(31,169,184,.16); border-radius: 0; }
.jour.debut, .jour.fin { background: var(--eau); color: #fff; font-weight: 500; border-radius: 50%; }
.jour.aujourdhui::after { content: ""; position: absolute; bottom: 5px; width: 4px; height: 4px; border-radius: 50%; background: var(--or); }
.cal-legende { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 18px; font-size: 13px; color: var(--gris); }
.cal-legende i { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 8px; vertical-align: -1px; }
.l-libre { border: 1px solid rgba(34,48,58,.3); }
.l-pris { background: repeating-linear-gradient(135deg, transparent 0 2px, rgba(34,48,58,.35) 2px 3px); }
.l-choix { background: var(--eau); }

.form { padding: clamp(24px, 3vw, 40px); }
.form h3 { font-size: clamp(26px, 2.4vw, 34px); margin-bottom: 18px; }
.sejour { display: grid; grid-template-columns: 1fr 1fr .7fr; gap: 10px; margin-bottom: 20px; }
.sejour div { background: var(--chaux-2); border-radius: 4px; padding: 10px 14px; }
.sejour small { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gris); }
.sejour b { font-weight: 500; font-size: 15px; }
.sejour.manque div:not(:last-child) { box-shadow: inset 0 0 0 1px var(--bougain); }
.champs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; }
.champs label { display: flex; flex-direction: column; gap: 5px; }
.champs .plein { grid-column: 1 / -1; }
.champs span { font-size: 12px; letter-spacing: .08em; color: var(--gris); }
.champs input, .champs select, .champs textarea {
  font: inherit; font-size: 15px; color: var(--encre); background: #fff;
  border: 1px solid rgba(34,48,58,.16); border-radius: 4px; padding: 11px 12px; width: 100%;
  transition: border-color .2s, box-shadow .2s;
}
.champs textarea { resize: vertical; min-height: 80px; }
.champs input:focus, .champs select:focus, .champs textarea:focus { outline: none; border-color: var(--eau); box-shadow: 0 0 0 3px rgba(31,169,184,.15); }
.champs .erreur { border-color: var(--bougain); }
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.accord { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0 18px; font-size: 13px; color: var(--gris); line-height: 1.5; cursor: pointer; }
.accord input { margin-top: 3px; accent-color: var(--eau); flex: 0 0 auto; }
.accord.erreur span { color: var(--bougain); }
.envoyer { width: 100%; justify-content: center; }
.envoyer:disabled { opacity: .6; cursor: wait; }
.etat { min-height: 1.4em; margin: 12px 0 0; font-size: 14px; }
.etat.ok { color: #1b7a5a; }
.etat.ko { color: var(--bougain); }
.form .nb { margin: 6px 0 0; font-size: 13px; color: var(--gris); }
.form.envoye .champs, .form.envoye .accord, .form.envoye .envoyer { display: none; }

/* Légendes des photos d'appartements et des chambres */
.panneau-galerie figure, .bande figure { position: relative; }
.panneau-galerie figcaption, .bande figcaption {
  position: absolute; left: 10px; bottom: 10px; z-index: 2;
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #fff;
  background: rgba(16,32,42,.62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  padding: 6px 11px; border-radius: 99px; pointer-events: none;
}
.lits small { display: block; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--eau-clair); margin-bottom: 4px; }

footer { background: var(--nuit); color: rgba(247,242,234,.7); padding: 60px 0 40px; font-size: 14px; }
.foot { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; align-items: end; }
.foot .logo { color: var(--chaux); font-size: 40px; margin-bottom: 10px; }
.foot a { border-bottom: 1px solid rgba(247,242,234,.3); }

/* ---------- Galerie complète + visionneuse ---------- */
.galerie {
  position: fixed; inset: 0; z-index: 150; background: var(--chaux); overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(30px);
  transition: opacity .6s var(--ease), transform .7s var(--ease), visibility 0s .7s;
}
.galerie.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.galerie-top {
  position: sticky; top: 0; z-index: 3; background: rgba(247,242,234,.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px var(--gutter);
  border-bottom: 1px solid rgba(34,48,58,.08);
}
.filtres { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.filtres::-webkit-scrollbar { display: none; }
.filtres button { white-space: nowrap; padding: 9px 16px; border-radius: 99px; border: 1px solid rgba(34,48,58,.18); font-size: 13px; transition: background .3s, color .3s; }
.filtres button.is-on { background: var(--nuit); color: #fff; border-color: var(--nuit); }
.fermer { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--nuit); color: #fff; }
.fermer svg { width: 18px; height: 18px; }
.galerie-grille {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 42vw), 1fr));
  grid-auto-rows: clamp(140px, 18vw, 250px); grid-auto-flow: dense; gap: 12px; padding: 24px var(--gutter) 60px;
}
.galerie-grille figure { margin: 0; border-radius: 4px; overflow: hidden; cursor: zoom-in; animation: panIn .7s var(--ease) both; background: var(--chaux-2); }
.galerie-grille figure.p { grid-row: span 2; }
.galerie-grille img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.galerie-grille figure:hover img { transform: scale(1.04); }

.visio {
  position: fixed; inset: 0; z-index: 160; background: rgba(10,20,27,.96); color: #fff;
  display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity .4s, visibility 0s .4s;
  touch-action: pan-y;
}
.visio.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.visio img { max-width: 92vw; max-height: 84vh; width: auto; height: auto; border-radius: 3px; transition: opacity .35s, transform .5s var(--ease); }
.visio img.is-out { opacity: 0; transform: scale(.97); }
.visio .fermer { position: absolute; top: 18px; right: 18px; background: rgba(255,255,255,.12); }
.visio .prec, .visio .suiv { position: absolute; top: 50%; transform: translateY(-50%); width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,.1); display: grid; place-items: center; transition: background .3s; }
.visio .prec:hover, .visio .suiv:hover { background: rgba(255,255,255,.25); }
.visio .prec { left: 18px; } .visio .suiv { right: 18px; }
.visio svg { width: 20px; height: 20px; }
.visio .compteur { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; font-size: 13px; letter-spacing: .2em; opacity: .7; }

/* ---------- Animations d'apparition ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1.1s var(--ease), transform 1.2s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; } .reveal.d3 { transition-delay: .3s; } .reveal.d4 { transition-delay: .4s; }
/* Le masque est porté par l'image : un élément observé entièrement masqué ne serait jamais détecté. */
.reveal-img img { clip-path: inset(100% 0 0 0); scale: 1.25; transition: clip-path 1.4s var(--ease-in-out), scale 2s var(--ease), transform 1.2s var(--ease); }
.reveal-img.d1 img { transition-delay: .12s; } .reveal-img.d2 img { transition-delay: .24s; } .reveal-img.d3 img { transition-delay: .36s; }
.reveal-img.is-in img { clip-path: inset(0 0 0 0); scale: 1; }
.reveal-img.is-in:hover img { transition-delay: 0s; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-links a:not(.btn) { display: none; }
  .burger { display: block; }
  .chiffres ul { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
  .intro-grid, .jardin-top, .alentours-head, .infos-grid { grid-template-columns: 1fr; gap: 40px; }
  .panneau.is-active { grid-template-columns: 1fr; }
  .avis-grid { grid-template-columns: 1fr 1fr; }
  .avis-grid .note { grid-column: 1 / -1; }
  .lieux { grid-template-columns: repeat(2, 1fr); }
  .lits { grid-template-columns: repeat(3, 1fr); }
}
/* ---------- Éléments propres au téléphone (masqués sur ordinateur) ---------- */
.glisser, .cta-mobile { display: none; }
.horaires { margin: -6px 0 18px; font-size: 13px; color: var(--gris); }
.horaires b { color: var(--encre); font-weight: 500; }
.avis-lien { grid-column: 2 / -1; }
.avis-lien svg { width: 14px; height: 14px; }
@media (max-width: 1080px) { .avis-lien { grid-column: 1 / -1; } }

/* ==========================================================================
   TÉLÉPHONE
   Règle d'or : aucune photo recadrée. Chaque photo garde ses proportions,
   la mise en page s'adapte aux photos (colonnes « maçonnerie », bandes
   à largeur fixe et hauteur naturelle). Pas de parallaxe (elle recadre).
   ========================================================================== */
@media (max-width: 900px) {
  body { font-size: 16px; }
  .pad { padding: 84px 0; }
  .nav { padding-top: 14px; padding-bottom: 14px; }
  .nav .btn { display: none; }
  .logo { font-size: 26px; }
  [data-parallax] { transform: none !important; }

  /* Toutes les photos de contenu : proportions d'origine */
  .intro-imgs img, .mosaique img, .jardin-grid img, .panneau-galerie img, .lieu img,
  .h-card img, .bande img, .galerie-grille img, .bandeau .bg img, .reserver .bg img {
    width: 100%; height: auto !important; object-fit: initial;
  }

  /* --- Hero téléphone : la maison en grand, son nom au centre de la photo, la description dessous ---
     La photo est cadrée en 5:4 (toute la façade reste visible) et se fond dans le fond bleu nuit. */
  .hero {
    height: auto; min-height: 100svh; padding: 70px 0 26px;
    display: grid; grid-template-columns: 1fr; align-content: center; justify-items: center; text-align: center;
    background: radial-gradient(ellipse 90% 45% at 50% 40%, rgba(210,154,58,.16), transparent 70%), var(--nuit);
  }
  .hero::after { display: none; }
  .hero-content, .hero-content > div { display: contents; }
  .hero-media { position: relative; inset: auto; grid-row: 1; grid-column: 1; width: 100%; aspect-ratio: 5 / 4; overflow: hidden;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 9%, #000 78%, transparent 100%);
            mask-image: linear-gradient(180deg, transparent 0, #000 9%, #000 78%, transparent 100%); }
  .hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 52% 50%; transform: scale(1.12); }
  .is-loaded .hero-media img { transform: scale(1); }
  /* voile doux au centre pour que le nom se lise sur la façade éclairée */
  .hero-media::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 38% at 50% 50%, rgba(16,32,42,.55), transparent 75%); }
  .hero h1 {
    grid-row: 1; grid-column: 1; align-self: center; z-index: 3; margin: 0; padding: 0 12px;
    font-size: clamp(48px, 14.5vw, 72px); line-height: 1; white-space: nowrap;
    text-shadow: 0 2px 18px rgba(16,32,42,.65), 0 0 2px rgba(16,32,42,.4);
  }
  .hero h1 .ligne { display: inline-block; padding-bottom: .08em; }
  .hero h1 .ligne:first-child { margin-right: .22em; }
  .hero-sub { grid-row: 2; max-width: 22em; margin: 4px var(--gutter) 0; font-family: var(--serif); font-size: 21px; line-height: 1.35; opacity: .95; }
  .hero-cta { grid-row: 3; width: calc(100% - 2 * var(--gutter)); margin-top: 26px; gap: 10px; flex-wrap: nowrap; }
  .hero-cta .btn { flex: 1 1 0; justify-content: center; padding: 15px 10px; letter-spacing: .14em; }
  .sur-grand { display: none; }
  .scroll-hint { grid-row: 4; display: flex; writing-mode: horizontal-tb; margin-top: 26px; font-size: 10px; letter-spacing: .3em; opacity: .7; }
  .scroll-hint::after { height: 34px; }

  .chiffres ul { grid-template-columns: repeat(2, 1fr); padding-top: 30px; padding-bottom: 30px; row-gap: 24px; }

  /* --- La maison : grande photo, petite photo en décalé --- */
  .intro-grid { gap: 44px; }
  .intro-imgs { height: auto; }
  .intro-imgs figure { position: relative; inset: auto; }
  .intro-imgs .i1 { width: 100%; height: auto; }
  .intro-imgs .i2 { width: 54%; height: auto; margin: -20vw 0 0 auto; border-width: 6px; }

  /* --- Piscine : bande à faire glisser, photos entières --- */
  .h-pin { height: auto !important; }
  .h-sticky { position: relative; height: auto; display: block; padding: 84px 0 50px; }
  .h-track {
    transform: none !important; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    align-items: center; scroll-padding: 0 var(--gutter); -webkit-overflow-scrolling: touch; gap: 12px;
  }
  .h-track::-webkit-scrollbar { display: none; }
  .h-intro { flex: 0 0 82vw; padding-right: 10px; scroll-snap-align: start; }
  .h-card, .h-card.l, .h-card.p { height: auto; aspect-ratio: auto; scroll-snap-align: center; }
  .h-card.l { width: 84vw; }
  .h-card.p { width: 64vw; }
  .h-card img { transform: none !important; }
  .h-card figcaption { left: 10px; bottom: 10px; font-size: 10px; }
  .h-progress { display: none; }
  .glisser { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 20px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: rgba(247,242,234,.62); }
  .glisser i { position: relative; width: 34px; height: 1px; background: currentColor; animation: glisse 1.8s var(--ease) infinite; }
  .glisser i::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }

  /* --- Bandeau : photo verticale entière, texte sur le ciel --- */
  .bandeau { height: auto; display: block; }
  .bandeau .bg { position: relative; inset: auto; }
  /* texte au centre de la photo, voile plus sombre au milieu pour la lisibilité */
  .bandeau::after { background: radial-gradient(ellipse 95% 42% at 50% 50%, rgba(16,32,42,.62), rgba(16,32,42,.18) 80%); }
  .bandeau-txt { position: absolute; inset: 0; display: grid; place-items: center; padding: 0 var(--gutter); }
  .bandeau-txt p { font-size: clamp(30px, 8.6vw, 42px); }

  /* --- Vivre dehors : grande photo puis colonnes « maçonnerie » --- */
  .dehors-head { margin-bottom: 36px; gap: 18px; }
  .mosaique { display: block; columns: 2; column-gap: 10px; }
  .mosaique figure { display: block; break-inside: avoid; margin: 0 0 10px; }
  .mosaique .m1 { column-span: all; }

  /* --- Jardin --- */
  .jardin-top { gap: 18px; }
  .jardin-grid { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 36px; }
  .jardin-grid .j1 { grid-column: 1 / -1; aspect-ratio: auto; }
  .jardin-grid .j2, .jardin-grid .j3 { aspect-ratio: auto; margin-top: 0; }

  /* --- Appartements --- */
  .onglets { margin-top: 26px; }
  .onglets button { padding: 12px 18px; font-size: 12px; }
  .panneau.is-active { gap: 26px; }
  .panneau-galerie { display: block; columns: 2; column-gap: 10px; }
  .panneau-galerie figure { display: block; break-inside: avoid; margin: 0 0 10px; }
  .panneau-galerie figure:nth-child(1) { column-span: all; }
  .panneau-galerie figcaption, .bande figcaption { font-size: 10px; left: 8px; bottom: 8px; padding: 5px 9px; }

  /* --- Chambres : bande à faire glisser, photos entières --- */
  .chambres-head { margin-bottom: 30px; }
  .bande { align-items: center; scroll-padding: 0 var(--gutter); gap: 12px; }
  .bande figure, .bande figure.p { height: auto; aspect-ratio: auto; flex: 0 0 84vw; }
  .bande figure.p { flex-basis: 60vw; }
  .fleches { display: none; }
  .lits { grid-template-columns: 1fr 1fr; gap: 22px 16px; margin-top: 40px; padding-top: 28px; }
  .lits b { font-size: 21px; }

  /* --- Alentours --- */
  .alentours-head { margin-bottom: 36px; gap: 18px; }
  .lieux { display: block; columns: 2; column-gap: 10px; }
  .lieu, .lieu.large { display: block; aspect-ratio: auto; break-inside: avoid; margin: 0 0 10px; }
  .lieu.large { column-span: all; }
  .lieu figcaption { left: 12px; right: 12px; bottom: 10px; }
  .lieu figcaption b { font-size: 19px; }
  .lieu figcaption span { font-size: 10px; letter-spacing: .14em; }

  .avis-grid { grid-template-columns: 1fr; }
  .infos-liste { grid-template-columns: 1fr; }

  /* --- Réserver : photo entière en tête, puis titre et formulaire --- */
  .reserver { background: var(--nuit); padding: 0 0 60px; }
  .reserver::after { display: none; }
  .reserver .bg { position: relative; inset: auto; }
  .reserver .bg::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 65%; background: linear-gradient(transparent, var(--nuit)); }
  .reserver .reserver-txt { position: relative; z-index: 2; margin: -42vw auto 28px; padding: 0 var(--gutter); }
  .reserver h2 { font-size: clamp(40px, 12vw, 56px); }
  .resa { grid-template-columns: 1fr; margin: 0 12px; }
  .cal { border-right: 0; border-bottom: 1px solid rgba(34,48,58,.1); padding: 22px 16px; }
  .cal-mois { grid-template-columns: 1fr; }
  .cal-mois .mois:nth-child(2) { display: none; }
  .form { padding: 26px 18px; }
  .sejour { grid-template-columns: 1fr 1fr; }
  .sejour div:last-child { grid-column: 1 / -1; }
  .champs { grid-template-columns: 1fr; }
  /* 16 px minimum : évite le zoom automatique de l'iPhone sur les champs */
  .champs input, .champs select, .champs textarea { font-size: 16px; }

  /* --- Bouton Réserver flottant --- */
  .cta-mobile {
    display: flex; position: fixed; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 80;
    align-items: center; justify-content: center; gap: 10px; height: 54px; border-radius: 99px;
    background: var(--or); color: #fff; font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
    box-shadow: 0 14px 34px -10px rgba(0,0,0,.5); transform: translateY(150%); transition: transform .6s var(--ease);
  }
  .cta-mobile svg { width: 16px; height: 16px; }
  .cta-mobile.is-visible { transform: none; }
  footer { padding-bottom: 100px; }

  /* --- Galerie complète : colonnes, photos entières --- */
  .galerie-top { padding: 12px; gap: 12px; }
  .galerie-grille { display: block; columns: 2; column-gap: 8px; padding: 14px 12px 60px; }
  .galerie-grille figure, .galerie-grille figure.p { display: block; break-inside: avoid; margin: 0 0 8px; }
  .visio .prec, .visio .suiv { display: none; }
}
@keyframes glisse { 0%, 100% { transform: translateX(-6px); opacity: .5; } 50% { transform: translateX(6px); opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal, .fade-in { opacity: 1; transform: none; }
  .reveal-img img { clip-path: none; scale: 1; }
  .hero-media img { transform: none; }
}

/* Fond de la réservation : photo du dîner au crépuscule, assombrie */
.reserver::after { background: linear-gradient(180deg, rgba(16,32,42,.72), rgba(16,32,42,.55) 40%, rgba(16,32,42,.8)); }

/* Légendes et dégradés : n'apparaissent qu'avec la photo (pas d'étiquette dans le vide pendant le chargement) */
.reveal-img figcaption, .lieu.reveal-img::after { opacity: 0; transition: opacity .8s ease .5s; }
.reveal-img.is-in figcaption, .lieu.reveal-img.is-in::after { opacity: 1; }

/* Bouton « Photos » de l'ouverture */
.btn-photos svg { width: 17px; height: 17px; }
.hero .btn-photos:hover svg { transform: none; }

/* Transition douce vers la page Photos (navigateurs récents) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-sortie .35s ease both; }
::view-transition-new(root) { animation: vt-entree .55s cubic-bezier(.22,.8,.22,1) both; }
@keyframes vt-sortie { to { opacity: 0; } }
@keyframes vt-entree { from { opacity: 0; transform: translateY(18px); } }
.nav .logo { view-transition-name: logo; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }

/* ==========================================================================
   Retours du 27/11 : localisation, carte, tarifs, plateformes
   ========================================================================== */
.hero-lieu { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; font-size: 15px; letter-spacing: .04em; color: var(--eau-clair); }
.hero-lieu svg { width: 18px; height: 18px; flex: 0 0 auto; }

/* Carte */
.carte-bloc { display: grid; grid-template-columns: 1.6fr 1fr; gap: 0; margin: 0 0 clamp(40px, 6vw, 70px); border-radius: 6px; overflow: hidden; background: var(--chaux-2); box-shadow: 0 30px 60px -36px rgba(16,32,42,.45); }
.carte { min-height: 420px; background: #dfe7e8; z-index: 0; }
.carte .leaflet-tile-pane { filter: saturate(.8) sepia(.08); }
.carte-infos { padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 14px; }
.carte-infos h3 { font-size: clamp(28px, 2.6vw, 36px); }
.carte-infos p { margin: 0; color: var(--gris); }
.carte-infos ul { list-style: none; margin: 4px 0 6px; padding: 0; }
.carte-infos li { display: flex; gap: 14px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid rgba(34,48,58,.1); }
.carte-infos li b { flex: 0 0 92px; font-family: var(--serif); font-weight: 500; font-size: 22px; color: var(--pierre); white-space: nowrap; }
.carte-infos .lien-galerie { align-self: flex-start; }
.carte-infos .lien-galerie svg { width: 15px; height: 15px; }
.carte-infos small { font-size: 12px; color: var(--gris); }
.pin-villa span, .pin-lieu span { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%); border-radius: 50%; }
.pin-villa span { width: 20px; height: 20px; background: var(--or); border: 3px solid #fff; box-shadow: 0 0 0 0 rgba(210,154,58,.6); animation: pin-pulse 2.2s infinite; }
@keyframes pin-pulse { 70% { box-shadow: 0 0 0 16px rgba(210,154,58,0); } 100% { box-shadow: 0 0 0 0 rgba(210,154,58,0); } }
.pin-lieu span { width: 10px; height: 10px; background: var(--nuit); border: 2px solid #fff; }
.pin-villa b, .pin-lieu b { position: absolute; left: 0; top: 0; transform: translate(-50%, -150%); white-space: nowrap; font-family: var(--sans); font-weight: 500; border-radius: 99px; }
.pin-villa b { font-size: 13px; padding: 5px 11px; background: var(--nuit); color: #fff; transform: translate(-50%, -175%); box-shadow: 0 6px 16px -6px rgba(0,0,0,.4); }
.pin-lieu b { font-size: 11px; padding: 3px 8px; background: rgba(255,255,255,.92); color: var(--encre); }

/* Tarifs */
.tarifs { background: var(--chaux-2); }
.tarifs-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.tarifs-head h2 { margin: 18px 0 18px; }
.formules { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 28px); align-items: start; }
.formule { background: var(--chaux); border-radius: 8px; padding: clamp(22px, 3vw, 36px); box-shadow: 0 24px 50px -34px rgba(16,32,42,.45); display: flex; flex-direction: column; gap: 20px; }
.formule header small { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--eau); font-weight: 500; }
.formule h3 { font-size: clamp(32px, 3vw, 42px); margin: 6px 0 4px; }
.formule header p { margin: 0; color: var(--gris); font-size: 15px; }
.formule table { width: 100%; border-collapse: collapse; font-size: 15px; }
.formule th { text-align: left; font-weight: 500; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gris); padding: 0 0 10px; border-bottom: 1px solid rgba(34,48,58,.15); }
.formule td { padding: 13px 0; border-bottom: 1px solid rgba(34,48,58,.08); }
.formule th:not(:first-child), .formule td:not(:first-child) { text-align: right; white-space: nowrap; }
.formule td:nth-child(2) { font-weight: 500; }
.formule td:nth-child(3) { color: var(--gris); padding-left: 14px; }
.formule tr.haute td { background: rgba(210,154,58,.1); }
.formule tr.haute td:first-child { box-shadow: inset 3px 0 0 var(--or); padding-left: 10px; }
.formule tr.ferme td { color: var(--gris); font-style: italic; }
.formule tr.ferme td:last-child { text-align: right; }
.formule .btn { align-self: flex-start; }
.btn-ligne-sombre { border: 1px solid var(--nuit); color: var(--nuit); }
.btn-ligne-sombre::after { background: var(--nuit); }
.btn-ligne-sombre:hover { color: #fff; }
.tarifs-nb { margin: 26px 0 0; font-size: 14px; color: var(--gris); }

/* Plateformes */
.plateformes { position: relative; z-index: 2; max-width: 1180px; margin: 22px auto 0; display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; text-align: center; color: rgba(247,242,234,.85); font-size: 15px; }
.plateformes div { display: flex; gap: 10px; }
.plateformes .btn { padding: 12px 24px; }

@media (max-width: 1180px) and (min-width: 901px) { .nav-links { gap: 22px; } }
@media (max-width: 900px) {
  .hero-lieu { grid-row: 3; justify-content: center; margin: 12px var(--gutter) 0; font-size: 14px; }
  .hero-cta { grid-row: 4; }
  .scroll-hint { grid-row: 5; }
  .carte-bloc { grid-template-columns: 1fr; border-radius: 0; margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); }
  .carte { min-height: 320px; }
  .formules { grid-template-columns: 1fr; }
  .formule { padding: 22px 18px; }
  .formule table { font-size: 14px; }
  .formule td:nth-child(3) { padding-left: 10px; }
  .formule .btn { align-self: stretch; justify-content: center; }
  .plateformes { flex-direction: column; margin: 22px 12px 0; }
}
.pin-lieu.dir-d b { transform: translate(10px, -50%); }
.pin-lieu.dir-g b { transform: translate(calc(-100% - 10px), -50%); }
.pin-lieu.dir-b b { transform: translate(-50%, 10px); }

/* .btn impose display:inline-flex : sans cette règle, l'attribut hidden est ignoré */
[hidden] { display: none !important; }
