/* ==========================================================================
   Rochefort au vert — télétravail à Rochefort-en-Terre
   Palette : ardoise des toits, brume des Landes de Lanvaux, sarcelle des
   rideaux, lumière dorée des illuminations.
   ========================================================================== */

@font-face {
  font-family: "Young Serif";
  src: url("../fonts/YoungSerif-Regular.woff") format("woff");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/InstrumentSans-Regular.woff") format("woff");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/InstrumentSans-Bold.woff") format("woff");
  font-weight: 600 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/InstrumentSans-Italic.woff") format("woff");
  font-weight: 400; font-style: italic; font-display: swap;
}

:root {
  --ardoise: #22303A;
  --ardoise-nuit: #1A252E;
  --brume: #E8EDE9;
  --papier: #F6F7F3;
  --sarcelle: #1E5A61;
  --sarcelle-clair: #2F7A82;
  --lumiere: #F2B441;
  --lumiere-fonce: #E09F22;
  --mousse: #56704A;
  --texte: #22303A;
  --texte-doux: #4D5C64;
  --trait: rgba(34, 48, 58, .14);

  --serif: "Young Serif", Georgia, "Times New Roman", serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* échelle typographique (≈ quarte augmentée) */
  --fs-sm: .875rem;
  --fs-base: 1.0625rem;
  --fs-md: 1.25rem;
  --fs-lg: clamp(1.35rem, 1.1rem + .8vw, 1.6rem);
  --fs-h2: clamp(2rem, 1.4rem + 2.4vw, 3.25rem);
  --fs-h1: clamp(2.6rem, 1.5rem + 4.6vw, 5.4rem);

  --wrap: 1280px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --space: clamp(4.5rem, 3rem + 6vw, 9rem);
  --r-lg: 28px;
  --r-md: 16px;
  --r-sm: 10px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--texte);
  background: var(--papier);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--sarcelle); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--sarcelle-clair); }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 400; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
sup { font-size: .55em; vertical-align: super; line-height: 0; }

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

.nw { white-space: nowrap; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--ardoise); color: var(--papier); padding: .75rem 1rem; border-radius: var(--r-sm);
}
.skip:focus { top: 1rem; color: var(--papier); }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.section { padding-block: var(--space); }

.h2 {
  font-family: var(--serif);
  font-size: var(--fs-h2);
  line-height: 1.08;
  letter-spacing: -.012em;
  text-wrap: balance;
  max-width: 18ch;
  margin-bottom: .55em;
}
.h3 {
  font-family: var(--serif);
  font-size: var(--fs-lg);
  line-height: 1.2;
  margin-bottom: .4em;
}
.lead {
  font-size: var(--fs-md);
  line-height: 1.55;
  color: var(--texte-doux);
  max-width: 38em;
}

/* ---------- Boutons & liens ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: 600 1rem/1 var(--sans);
  padding: 1.05em 1.6em;
  border-radius: 999px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: background-color .2s, transform .2s;
}
.btn--gold { background: var(--lumiere); color: var(--ardoise); }
.btn--gold:hover { background: var(--lumiere-fonce); color: var(--ardoise); }
.btn--gold:active { transform: translateY(1px); }
.btn--sm { padding: .75em 1.2em; font-size: .9375rem; }
.btn--lg { padding: 1.2em 2em; font-size: 1.0625rem; }

.link-arrow {
  font-weight: 600;
  color: var(--texte);
  text-decoration: underline;
  text-decoration-color: var(--lumiere);
  text-decoration-thickness: 2px;
  text-underline-offset: .35em;
}
.link-arrow:hover { color: var(--sarcelle); }

/* ---------- En-tête ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  transition: background-color .3s, box-shadow .3s;
}
.site-header.is-scrolled {
  background: rgba(246, 247, 243, .92);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  box-shadow: 0 1px 0 var(--trait);
}
.site-header__inner {
  height: 100%;
  width: min(100% - 2 * var(--gutter), 1440px);
  margin-inline: auto;
  display: flex; align-items: center; gap: 1.5rem;
}
.brand {
  display: inline-flex; align-items: center; gap: .6rem;
  color: var(--ardoise); text-decoration: none;
  margin: 0;
}
.brand:hover { color: var(--ardoise); }
.brand__mark { width: 28px; height: 28px; color: var(--sarcelle); flex: none; }
.brand__name { font-family: var(--serif); font-size: 1.25rem; letter-spacing: -.01em; }

.nav { margin-left: auto; }
.nav__list { display: flex; gap: 1.75rem; }
.nav__list a {
  color: var(--texte); text-decoration: none; font-weight: 500; font-size: .975rem;
  padding-block: .4rem; border-bottom: 2px solid transparent;
}
.nav__list a:hover, .nav__list a.is-current { border-bottom-color: var(--lumiere); color: var(--texte); }
.nav__toggle { display: none; }

@media (max-width: 959px) {
  .nav { order: 3; margin-left: 0; }
  .site-header .btn--sm { margin-left: auto; }
  .nav__toggle {
    display: grid; place-items: center;
    width: 44px; height: 44px; border-radius: 50%;
    background: transparent; border: 1px solid var(--trait); cursor: pointer;
  }
  .nav__toggle-bars, .nav__toggle-bars::before, .nav__toggle-bars::after {
    display: block; width: 18px; height: 2px; background: var(--ardoise); border-radius: 2px;
    transition: transform .25s, opacity .25s; content: "";
  }
  .nav__toggle-bars { position: relative; }
  .nav__toggle-bars::before { position: absolute; top: -6px; }
  .nav__toggle-bars::after { position: absolute; top: 6px; }
  .nav__toggle[aria-expanded="true"] .nav__toggle-bars { background: transparent; }
  .nav__toggle[aria-expanded="true"] .nav__toggle-bars::before { transform: translateY(6px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] .nav__toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }
  .nav__list {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; gap: 0;
    background: var(--papier);
    padding: .5rem var(--gutter) 1.5rem;
    box-shadow: 0 20px 30px -20px rgba(34, 48, 58, .35);
    display: none;
  }
  .nav__list.is-open { display: flex; }
  .nav__list a { display: block; padding: 1rem 0; font-size: 1.125rem; border-bottom: 1px solid var(--trait); }
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  background: var(--brume);
}
.hero__text {
  align-self: center;
  padding: calc(var(--header-h) + 3rem) clamp(1.5rem, 5vw, 5rem) 4rem max(var(--gutter), calc((100vw - 1440px) / 2 + var(--gutter)));
}
.hero__place {
  font-weight: 600;
  color: var(--sarcelle);
  margin-bottom: 1.4rem;
  display: flex; align-items: center; gap: .6rem;
}
.hero__place::before { content: ""; width: 2.25rem; height: 2px; background: var(--lumiere); }
.hero__text { container-type: inline-size; }
.hero__title {
  font-family: var(--serif);
  font-size: var(--fs-h1);
  font-size: min(4.6rem, 10.2cqi);
  line-height: 1.02;
  letter-spacing: -.02em;
  text-wrap: balance;
  margin-bottom: 2rem;
}
.hero__lead { font-size: var(--fs-md); line-height: 1.55; max-width: 34em; color: var(--texte-doux); margin-bottom: 2.25rem; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2rem; margin-bottom: 3rem; }
.hero__proof {
  display: flex; flex-wrap: wrap; gap: .5rem;
  font-size: var(--fs-sm);
}
.hero__proof li {
  padding: .45rem .9rem; border-radius: 999px;
  border: 1px solid var(--trait); background: rgba(255, 255, 255, .5);
}
.hero__proof strong { font-weight: 700; }

.hero__visual { position: relative; min-height: 60vh; }
.hero__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%;
  border-bottom-left-radius: 120px;
}
.clock {
  position: absolute; left: clamp(-4rem, -4vw, -1rem); bottom: clamp(2rem, 8vh, 5rem);
  width: min(320px, 80%);
  background: var(--ardoise); color: var(--papier);
  padding: 1.25rem 1.4rem 1.3rem;
  border-radius: var(--r-md);
  box-shadow: 0 30px 60px -25px rgba(26, 37, 46, .6);
}
.clock__label { font-size: var(--fs-sm); color: rgba(246, 247, 243, .72); margin-bottom: .35rem; }
.clock__time {
  font-family: var(--serif); font-size: 2.75rem; line-height: 1; color: var(--lumiere);
  font-variant-numeric: tabular-nums; margin-bottom: .6rem;
}
.clock__text { margin: 0; font-size: .975rem; line-height: 1.45; }

@media (max-width: 959px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__text { padding: calc(var(--header-h) + 2.5rem) var(--gutter) 3rem; }
  .hero__visual { min-height: 0; aspect-ratio: 4 / 3.4; margin-left: var(--gutter); }
  .hero__img { border-radius: 0 0 0 64px; }
  .clock { left: auto; right: var(--gutter); bottom: -2.5rem; width: min(300px, 78%); padding: 1rem 1.15rem; }
  .clock__time { font-size: 2.1rem; }
}

/* ---------- Bureau ---------- */
.bureau { background: var(--papier); }
.bureau__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.bureau__media { position: relative; padding-bottom: 14%; }
.bureau__main img { border-radius: var(--r-lg); width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; }
.bureau__second {
  position: absolute; right: -6%; bottom: 0; width: 44%;
  border: 8px solid var(--papier); border-radius: calc(var(--r-md) + 8px);
}
.bureau__second img { border-radius: var(--r-md); aspect-ratio: 1; object-fit: cover; }

.spec { margin: 2.25rem 0 0; border-top: 1px solid var(--trait); }
.spec > div {
  display: grid; grid-template-columns: 9.5rem 1fr; gap: 1rem;
  padding: .95rem 0; border-bottom: 1px solid var(--trait);
}
.spec dt { font-weight: 600; color: var(--sarcelle); }
.spec dd { margin: 0; }

@media (max-width: 959px) {
  .bureau__grid { grid-template-columns: 1fr; }
  .bureau__second { right: 0; width: 42%; }
}
@media (max-width: 520px) {
  .spec > div { grid-template-columns: 1fr; gap: .15rem; }
}

/* ---------- Journée (jour → nuit) ---------- */
.day {
  --day-bg: #E8EDE9;
  --day-fg: #22303A;
  background: var(--day-bg);
  color: var(--day-fg);
  padding-block: var(--space);
  transition: background-color .9s ease, color .9s ease;
}
.day .lead { color: inherit; opacity: .78; }
.day__intro { margin-bottom: clamp(2rem, 5vw, 4rem); }
.day__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.day__media {
  position: sticky; top: calc(var(--header-h) + 4vh);
  height: calc(100vh - var(--header-h) - 8vh);
  max-height: 760px;
  display: flex; flex-direction: column; gap: 1rem;
}
.day__frame {
  position: relative; flex: 1;
  border-radius: 999px 999px var(--r-lg) var(--r-lg);
  overflow: hidden;
  background: rgba(34, 48, 58, .08);
}
.day__frame img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.04);
  transition: opacity .8s ease, transform 1.4s ease;
}
.day__frame img.is-active { opacity: 1; transform: scale(1); }
.day__track { height: 3px; background: currentColor; opacity: .18; border-radius: 3px; position: relative; overflow: hidden; }
.day__track span {
  position: absolute; inset: 0 auto 0 0; width: var(--p, 14%);
  background: var(--lumiere); transition: width .6s ease;
}
.day__track { opacity: 1; background: rgba(127, 140, 148, .3); }

.day__steps { counter-reset: none; }
.day__step {
  min-height: 72vh;
  display: flex; flex-direction: column; justify-content: center;
  padding-block: 2rem;
  opacity: .32;
  transition: opacity .5s ease;
}
.day__step.is-active { opacity: 1; }
.day__step:first-child { min-height: 52vh; justify-content: flex-start; padding-top: 6vh; }
.day__step:last-child { min-height: 66vh; }
.day__hour {
  font-family: var(--serif);
  font-size: clamp(3.2rem, 2rem + 4vw, 5.6rem);
  line-height: 1;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
  margin-bottom: 1.25rem;
}
.day__hour time { display: inline-block; }
.day__step.is-active .day__hour { color: var(--hour-color, var(--sarcelle)); }
.day.is-night .day__step.is-active .day__hour { --hour-color: var(--lumiere); }
.day__title { font-family: var(--sans); font-weight: 700; font-size: var(--fs-md); margin-bottom: .6rem; }
.day__step p:not(.day__hour) { max-width: 30em; font-size: 1.0625rem; }
.day__inline { display: none; }

@media (max-width: 959px) {
  .day__grid { grid-template-columns: 1fr; }
  .day__media { display: none; }
  .day__step, .day__step:first-child, .day__step:last-child {
    min-height: 0; opacity: 1; padding: 0 0 3.5rem; justify-content: flex-start;
  }
  .day__hour { color: var(--sarcelle); }
  .day.is-night .day__hour { color: var(--lumiere); }
  .day__inline {
    display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
    border-radius: var(--r-md); margin-top: 1.25rem;
  }
}

/* ---------- Appartement ---------- */
.appart { background: var(--papier); padding-bottom: 0; }
.appart__head { margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.appart__head .h2 { max-width: 20ch; }

.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: clamp(120px, 11vw, 160px);
  gap: clamp(.5rem, 1vw, 1rem);
}
.gallery__item {
  position: relative; overflow: hidden; border-radius: var(--r-md);
  background: var(--brume);
  cursor: zoom-in;
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gallery__item:hover img { transform: scale(1.035); }
.gallery__item--a { grid-column: 1 / 8; grid-row: span 4; border-radius: var(--r-lg); }
.gallery__item--b { grid-column: 8 / 13; grid-row: span 2; }
.gallery__item--c { grid-column: 8 / 13; grid-row: span 2; }
.gallery__item--d { grid-column: 1 / 4; grid-row: span 2; }
.gallery__item--e { grid-column: 4 / 7; grid-row: span 2; }
.gallery__item--f { grid-column: 7 / 10; grid-row: span 2; }
.gallery__item--g { grid-column: 10 / 13; grid-row: span 2; }
.gallery__item--h { display: none; }

@media (max-width: 759px) {
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; }
  .gallery__item--a { grid-column: 1 / -1; grid-row: span 2; }
  .gallery__item--b, .gallery__item--c, .gallery__item--d, .gallery__item--e,
  .gallery__item--f, .gallery__item--g { grid-column: span 1; grid-row: span 1; }
}

.appart__details {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem);
  padding-block: clamp(3rem, 6vw, 5.5rem);
}
.rooms__list li {
  padding: .9rem 0 .9rem 1.6rem; border-bottom: 1px solid var(--trait); position: relative;
}
.rooms__list li::before {
  content: ""; position: absolute; left: 0; top: 1.45rem;
  width: 8px; height: 8px; border-radius: 2px; background: var(--mousse); transform: rotate(45deg);
}
@media (max-width: 759px) { .appart__details { grid-template-columns: 1fr; } }

.pool { background: linear-gradient(var(--papier) 50%, var(--brume) 50%); }
.pool__images {
  width: min(100% - 2 * var(--gutter), 1440px); margin-inline: auto;
  display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: clamp(.5rem, 1vw, 1rem);
}
.pool__images img { width: 100%; height: clamp(220px, 30vw, 420px); object-fit: cover; border-radius: var(--r-md); }
.pool__images img:first-child { border-radius: var(--r-lg) var(--r-md) var(--r-md) var(--r-lg); }
@media (max-width: 759px) {
  .pool__images { grid-template-columns: 1fr 1fr; }
  .pool__images img:first-child { grid-column: 1 / -1; }
  .pool__images img { height: 200px; }
}

/* ---------- Village ---------- */
.village { background: var(--brume); }
.village__intro {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 6vw, 6rem); align-items: center;
  margin-bottom: clamp(3.5rem, 7vw, 6rem);
}
.village__hero img { border-radius: var(--r-lg); width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.village__hero figcaption { font-size: var(--fs-sm); color: var(--texte-doux); margin-top: .75rem; }
.village__text p { max-width: 34em; }
.village__text strong { font-weight: 600; color: var(--sarcelle); }
@media (max-width: 959px) { .village__intro { grid-template-columns: 1fr; } }

.around {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem) clamp(1rem, 2.5vw, 2rem);
}
.around__item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-md); margin-bottom: 1.1rem; }
.around__item--tall { grid-row: span 2; }
.around__item--tall img { aspect-ratio: auto; height: clamp(320px, 38vw, 560px); object-position: 50% 60%; }
.around__meta { font-size: var(--fs-sm); font-weight: 600; color: var(--mousse); margin-bottom: .5rem; }
.around__body p:last-child { color: var(--texte-doux); margin: 0; }
@media (max-width: 959px) {
  .around { grid-template-columns: 1fr 1fr; }
  .around__item--tall { grid-row: auto; grid-column: 1 / -1; }
  .around__item--tall img { height: auto; aspect-ratio: 4 / 3; }
}
@media (max-width: 599px) { .around { grid-template-columns: 1fr; } }

/* ---------- Illuminations ---------- */
.lights { background: var(--ardoise-nuit); color: var(--papier); padding-block: var(--space); overflow: hidden; }
.lights__collage {
  width: min(100% - 2 * var(--gutter), 1440px); margin: 0 auto clamp(2.5rem, 5vw, 4rem);
  display: grid; grid-template-columns: 1.5fr 1fr; grid-template-rows: 1fr 1fr;
  gap: clamp(.5rem, 1vw, 1rem);
  height: clamp(420px, 52vw, 720px);
}
.lights__collage img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-md); }
.lights__collage img:first-child { grid-row: 1 / 3; border-radius: var(--r-lg); }
.lights__text { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem clamp(2rem, 6vw, 6rem); align-items: start; }
.lights__text .h2 { color: var(--lumiere); grid-row: span 2; }
.lights__text p { font-size: var(--fs-md); color: rgba(246, 247, 243, .85); max-width: 32em; }
.lights__text .btn { justify-self: start; }
@media (max-width: 759px) {
  .lights__collage { grid-template-columns: 1fr 1fr; grid-template-rows: 1.4fr 1fr; height: 520px; }
  .lights__collage img:first-child { grid-row: auto; grid-column: 1 / -1; }
  .lights__text { grid-template-columns: 1fr; }
  .lights__text .h2 { grid-row: auto; }
}

/* ---------- Accès ---------- */
.access { background: var(--papier); }
.access__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.access__list { margin: 0; border-top: 1px solid var(--trait); }
.access__list > div {
  display: flex; justify-content: space-between; gap: 1.5rem;
  padding: 1.05rem 0; border-bottom: 1px solid var(--trait);
}
.access__list dt { font-weight: 600; }
.access__list dd { margin: 0; color: var(--texte-doux); text-align: right; }
@media (max-width: 759px) {
  .access__grid { grid-template-columns: 1fr; }
  .access__list > div { flex-direction: column; gap: .1rem; }
  .access__list dd { text-align: left; }
}

/* ---------- Avis ---------- */
.reviews { background: var(--brume); }
.reviews__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.reviews__big { font-size: var(--fs-md); margin-bottom: 1.25rem; }
.reviews__big span {
  display: block;
  font-family: var(--serif); font-size: clamp(4.5rem, 3rem + 6vw, 8rem); line-height: .95;
  color: var(--sarcelle); letter-spacing: -.03em; margin-bottom: .2em;
}
.reviews__themes { color: var(--texte-doux); }
.bars { display: grid; gap: 1.1rem; }
.bars li { display: grid; grid-template-columns: 8.5rem 1fr 2.5rem; align-items: center; gap: 1rem; }
.bars b { font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.bars__track { height: 8px; background: rgba(34, 48, 58, .1); border-radius: 8px; overflow: hidden; }
.bars__track span {
  display: block; height: 100%; border-radius: 8px; background: var(--sarcelle);
  width: calc(var(--v) / 5 * 100%);
}
@media (max-width: 759px) {
  .reviews__grid { grid-template-columns: 1fr; }
  .bars li { grid-template-columns: 7.5rem 1fr 2.25rem; gap: .75rem; }
}

/* ---------- FAQ ---------- */
.faq { background: var(--papier); }
.faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.faq__head { position: sticky; top: calc(var(--header-h) + 2rem); }
.faq__head p { color: var(--texte-doux); max-width: 26em; }
.faq__list { border-top: 1px solid var(--trait); }
.faq__item { border-bottom: 1px solid var(--trait); }
.faq__item summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.35rem 0;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; flex: none; width: 14px; height: 14px;
  background:
    linear-gradient(var(--sarcelle), var(--sarcelle)) center / 100% 2px no-repeat,
    linear-gradient(var(--sarcelle), var(--sarcelle)) center / 2px 100% no-repeat;
  transition: transform .3s ease;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__q { font-family: var(--sans); font-weight: 600; font-size: 1.125rem; line-height: 1.4; }
.faq__item p { padding: 0 2.5rem 1.5rem 0; margin: 0; color: var(--texte-doux); max-width: 40em; }
@media (max-width: 959px) {
  .faq__grid { grid-template-columns: 1fr; }
  .faq__head { position: static; }
}

/* ---------- CTA final ---------- */
.final { position: relative; color: var(--papier); isolation: isolate; overflow: hidden; }
.final__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.final::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(26, 37, 46, .92) 0%, rgba(26, 37, 46, .7) 50%, rgba(26, 37, 46, .25) 100%);
}
.final__inner { padding-block: clamp(6rem, 14vw, 11rem); }
.final__title {
  font-family: var(--serif); font-size: var(--fs-h2); line-height: 1.08; letter-spacing: -.012em;
  max-width: 16ch; margin-bottom: .6em; text-wrap: balance;
}
.final p { font-size: var(--fs-md); max-width: 30em; color: rgba(246, 247, 243, .88); margin-bottom: 2rem; }

/* ---------- Pied de page ---------- */
.footer { background: var(--ardoise-nuit); color: rgba(246, 247, 243, .8); padding-block: 3.5rem 6rem; font-size: .975rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem 4rem; }
.footer .brand { color: var(--papier); margin-bottom: 1rem; }
.footer .brand__mark { color: var(--sarcelle-clair); }
.footer p { max-width: 34em; }
.footer__links { display: grid; gap: .6rem; }
.footer a { color: var(--papier); }
.footer a:hover { color: var(--lumiere); }
.footer__small { grid-column: 1 / -1; font-size: var(--fs-sm); color: rgba(246, 247, 243, .55); border-top: 1px solid rgba(246, 247, 243, .12); padding-top: 1.5rem; margin: 0; max-width: none !important; }
@media (min-width: 960px) { .footer { padding-bottom: 3.5rem; } }
@media (max-width: 759px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Barre de réservation mobile ---------- */
.mobile-cta {
  position: fixed; left: .75rem; right: .75rem; bottom: .75rem; z-index: 40;
  display: none; justify-content: space-between; align-items: center; gap: 1rem;
  padding: .9rem 1rem .9rem 1.25rem;
  background: var(--ardoise); color: var(--papier);
  border-radius: 999px; text-decoration: none; font-size: .9375rem;
  box-shadow: 0 16px 40px -12px rgba(26, 37, 46, .55);
  transform: translateY(150%); transition: transform .35s ease;
}
.mobile-cta strong { background: var(--lumiere); color: var(--ardoise); padding: .6rem 1.1rem; border-radius: 999px; font-weight: 700; }
.mobile-cta:hover { color: var(--papier); }
.mobile-cta.is-visible { transform: translateY(0); }
@media (max-width: 959px) { .mobile-cta { display: flex; } }

/* ---------- Lightbox ---------- */
.lightbox {
  width: 100vw; height: 100vh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: rgba(17, 25, 31, .96); color: var(--papier);
}
.lightbox::backdrop { background: rgba(17, 25, 31, .96); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox__figure { display: grid; justify-items: center; gap: 1rem; padding: 4rem 4.5rem; max-width: 100%; }
.lightbox__figure img { max-width: min(1400px, 100%); max-height: calc(100vh - 10rem); width: auto; height: auto; border-radius: var(--r-sm); }
.lightbox__figure figcaption { font-size: .975rem; color: rgba(246, 247, 243, .8); text-align: center; }
.lightbox__btn {
  position: absolute; width: 52px; height: 52px; border-radius: 50%;
  background: rgba(246, 247, 243, .1); color: var(--papier); border: 1px solid rgba(246, 247, 243, .2);
  font-size: 1.8rem; line-height: 1; cursor: pointer; display: grid; place-items: center;
}
.lightbox__btn:hover { background: rgba(246, 247, 243, .2); }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 1rem; top: 50%; transform: translateY(-50%); }
@media (max-width: 759px) {
  .lightbox__figure { padding: 4rem .75rem 5.5rem; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 1rem; transform: none; }
}

/* ---------- Entrée du hero (unique moment orchestré) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero__text > * { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
  .hero__text > :nth-child(2) { animation-delay: .08s; }
  .hero__text > :nth-child(3) { animation-delay: .16s; }
  .hero__text > :nth-child(4) { animation-delay: .24s; }
  .hero__text > :nth-child(5) { animation-delay: .32s; }
  .hero__img { animation: unveil 1.4s cubic-bezier(.2, .7, .2, 1) both; }
  .clock { animation: rise .9s .55s cubic-bezier(.2, .7, .2, 1) both; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
  @keyframes unveil { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; animation: none !important; }
}

/* ---------- Ajustements des titres longs ---------- */
/* Plafond en vw : « Rochefort-en-Terre » (insécable) tient toujours dans l'écran */
.h2, .final__title { font-size: min(var(--fs-h2), 8.4vw); }
.faq__head .h2 { font-size: min(clamp(2rem, 1.3rem + 1.7vw, 2.85rem), 8.4vw); }

/* ---------- Mobile : photo d'abord ---------- */
.brand__name { white-space: nowrap; }
@media (max-width: 959px) {
  .site-header { background: rgba(246, 247, 243, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--trait); }
  .hero__visual { order: -1; margin: var(--header-h) 0 0 var(--gutter); aspect-ratio: 4 / 3; }
  .hero__text { padding-top: 4.5rem; }
}

/* ---------- Correctif largeur mobile (tous navigateurs, y compris iOS < 16) ---------- */
html, body { overflow-x: clip; }
.hero > * { min-width: 0; }
@media (max-width: 959px) {
  /* colonne = 100vw - 2 marges ; le mot « Rochefort-en-Terre » mesure ~9,4 em */
  .hero__title { font-size: min(4rem, 8.6vw); }
}
/* En-tête compact sur téléphone : logo + Réserver + menu tiennent toujours */
@media (max-width: 480px) {
  .site-header__inner { gap: .6rem; }
  .brand { gap: .45rem; }
  .brand__mark { width: 24px; height: 24px; }
  .brand__name { font-size: 1.1rem; }
  .site-header .btn--sm { padding: .65em 1em; font-size: .875rem; }
  .nav__toggle { width: 42px; height: 42px; }
}
@media (max-width: 379px) {
  .brand__name { font-size: .98rem; }
  .site-header .btn--sm { padding: .6em .85em; font-size: .8125rem; }
}
@media (max-width: 349px) {
  .site-header .btn--sm { display: none; }
  .nav { margin-left: auto; }
}
