/* ================================================================
   L'Escale de Larcher — feuille de styles unique (V2)
   Une seule typo (Newsreader) + la police système pour l'interface.
   Pas d'animation décorative : seules les transitions d'état restent.
   ================================================================ */

:root {
  --paper:     #f5f1e8;
  --paper-2:   #ebe4d4;
  --ink:       #1f2a24;
  --ink-soft:  #434e47;
  --mute:      #62655c;
  --line:      rgba(31, 42, 36, 0.16);
  --forest:    #2f4a37;
  --forest-dk: #1d2d23;
  --terra:     #a4531f;
  --cream:     #f5f1e8;

  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans:  system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  --wrap: 1180px;
  --gutter: 24px;
  --radius: 4px;
  --header-h: 72px;
}

/* ── Base ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 3px; }
a:hover { color: var(--forest); }
:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; }
[id] { scroll-margin-top: calc(var(--header-h) + 12px); }
h1, h2, h3 { font-weight: 500; line-height: 1.12; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 96px 0; }
.section-alt { background: var(--paper-2); }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(32px, 4vw, 46px); }
.section-head p { margin-top: 14px; color: var(--ink-soft); font-size: 20px; }
.muted { color: var(--mute); }
.skip {
  position: absolute; left: -9999px; top: 8px;
  background: var(--ink); color: var(--paper); padding: 8px 14px; z-index: 100;
}
.skip:focus { left: 8px; }

/* ── Boutons ──────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--sans); font-size: 15px; font-weight: 600;
  padding: 12px 20px; border-radius: var(--radius);
  text-decoration: none; border: 1px solid var(--ink);
  background: var(--ink); color: var(--paper);
  transition: background-color .15s, color .15s, border-color .15s;
  cursor: pointer;
}
.btn:hover { background: var(--forest); border-color: var(--forest); color: var(--paper); }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { font-family: var(--sans); font-size: 15px; font-weight: 600; }

/* ── En-tête ──────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: var(--header-h);
}
.logo {
  font-family: var(--serif); font-size: 24px; font-weight: 600;
  text-decoration: none; white-space: nowrap; letter-spacing: -0.01em;
}
.logo em { font-weight: 400; color: var(--mute); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  font-family: var(--sans); font-size: 15px; text-decoration: none; color: var(--ink-soft);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }
.nav .btn { color: var(--paper); padding: 10px 16px; }
.nav-toggle {
  display: none; align-items: center; gap: 8px;
  font-family: var(--sans); font-size: 15px; font-weight: 600;
  background: none; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 8px 12px; color: var(--ink); cursor: pointer;
}
.nav-toggle-bars { width: 18px; height: 12px; position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after, .nav-toggle-bars span {
  content: ''; position: absolute; left: 0; right: 0; height: 2px; background: currentColor;
}
.nav-toggle-bars::before { top: 0; }
.nav-toggle-bars span { top: 5px; }
.nav-toggle-bars::after { bottom: 0; }

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 20px;
    box-shadow: 0 12px 24px rgba(31, 42, 36, 0.08);
  }
  .nav.is-open { display: flex; }
  .nav a { font-size: 17px; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
  .nav a[aria-current="page"] { text-decoration: none; font-weight: 600; }
  .nav .btn { margin-top: 16px; border-bottom: 0; padding: 14px 16px; }
  .logo { font-size: 20px; }
}

/* ── Héros accueil ────────────────────────────────────────────── */
.hero {
  position: relative; color: var(--cream);
  min-height: min(86vh, 760px);
  display: flex; align-items: flex-end;
  background: var(--forest-dk);
}
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(20, 30, 24, 0.15) 30%, rgba(20, 30, 24, 0.82) 100%);
}
.hero .wrap { position: relative; z-index: 1; padding-top: 120px; padding-bottom: 64px; width: 100%; }
.hero h1 { font-size: clamp(40px, 6vw, 72px); max-width: 16ch; }
.hero-lede { margin-top: 20px; font-size: 21px; max-width: 34em; color: rgba(245, 241, 232, 0.92); }
.hero .btn-row { margin-top: 32px; }
.hero .btn-line { color: var(--cream); border-color: rgba(245, 241, 232, 0.7); }
.hero .btn-line:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }

/* ── Bandeau d'infos pratiques ────────────────────────────────── */
.facts { background: var(--forest); color: var(--cream); }
.facts ul {
  list-style: none; margin: 0 auto; padding: 28px var(--gutter);
  max-width: var(--wrap);
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px 32px;
}
.facts li { display: flex; flex-direction: column; gap: 2px; }
.facts b { font-family: var(--sans); font-size: 13px; font-weight: 600; color: rgba(245, 241, 232, 0.72); }
.facts span { font-size: 17px; line-height: 1.35; }
@media (max-width: 1000px) { .facts ul { grid-template-columns: repeat(2, 1fr); } }

/* ── Cartes hébergements ──────────────────────────────────────── */
.stays { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.stay { display: flex; flex-direction: column; }
.stay-img { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--paper-2); }
.stay-img img { width: 100%; height: 100%; object-fit: cover; }
.stay h3 { font-size: 28px; margin-top: 20px; }
.stay-meta { font-family: var(--sans); font-size: 14px; color: var(--mute); margin-top: 6px; }
.stay p { margin-top: 12px; color: var(--ink-soft); }
.stay-list {
  list-style: none; padding: 0; margin: 16px 0 0;
  font-family: var(--sans); font-size: 14px; color: var(--ink-soft);
  display: flex; flex-wrap: wrap; gap: 4px 0;
}
.stay-list li:not(:last-child)::after { content: '·'; margin: 0 8px; color: var(--mute); }
.stay .btn-row { margin-top: auto; padding-top: 24px; }
@media (max-width: 1000px) { .stays { grid-template-columns: 1fr; gap: 56px; max-width: 640px; } }

/* ── Le domaine ───────────────────────────────────────────────── */
.domain { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.features { margin: 0; display: grid; gap: 22px; }
.features div { border-top: 1px solid var(--line); padding-top: 14px; }
.features dt { font-weight: 600; font-size: 19px; }
.features dd { margin: 4px 0 0; color: var(--ink-soft); }
.animals { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.animals figure { margin: 0; cursor: zoom-in; }
.animals img { aspect-ratio: 4 / 5; width: 100%; object-fit: cover; border-radius: var(--radius); }
.animals figcaption, .photo-caption {
  font-family: var(--sans); font-size: 14px; color: var(--mute); margin-top: 8px;
}
.wide-photo { margin: 64px 0 0; }
.wide-photo img { width: 100%; max-height: 560px; object-fit: cover; border-radius: var(--radius); }
@media (max-width: 1000px) { .domain { grid-template-columns: 1fr; gap: 40px; } }

/* ── À table (accueil) ────────────────────────────────────────── */
.tables { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.table-card {
  display: grid; grid-template-rows: auto 1fr;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; text-decoration: none;
}
.table-card:hover { border-color: var(--ink); color: inherit; }
.table-card img { aspect-ratio: 3 / 2; width: 100%; object-fit: cover; }
.table-card-body { padding: 24px 28px 28px; display: flex; flex-direction: column; gap: 10px; }
.table-card h3 { font-size: 30px; }
.table-card .hours { font-family: var(--sans); font-size: 14px; font-weight: 600; color: var(--forest); }
.table-card p { color: var(--ink-soft); }
.table-card .link-arrow { margin-top: auto; padding-top: 8px; }
@media (max-width: 800px) { .tables { grid-template-columns: 1fr; } }

/* ── Histoire ─────────────────────────────────────────────────── */
.story { display: grid; grid-template-columns: 6fr 5fr; gap: 64px; align-items: center; }
.story-text { display: grid; gap: 18px; font-size: 20px; }
.story-text h2 { font-size: clamp(32px, 4vw, 46px); margin-bottom: 6px; }
.story-sign { font-style: italic; color: var(--mute); }
.story-photos { display: grid; grid-template-columns: 3fr 2fr; gap: 16px; align-items: end; }
.story-photos figure { margin: 0; cursor: zoom-in; }
.story-photos img { width: 100%; object-fit: cover; border-radius: var(--radius); }
.story-photos figure:first-child img { aspect-ratio: 3 / 4; }
.story-photos figure:last-child img { aspect-ratio: 2 / 3; }
@media (max-width: 1000px) { .story { grid-template-columns: 1fr; gap: 40px; } }

/* ── Citation ─────────────────────────────────────────────────── */
.quote { margin: 0 auto; max-width: 820px; text-align: center; }
.quote p { font-size: clamp(26px, 3.2vw, 36px); line-height: 1.3; font-style: italic; }
.quote footer { margin-top: 18px; font-family: var(--sans); font-size: 14px; color: var(--mute); }

/* ── Avis ─────────────────────────────────────────────────────── */
.rating { display: flex; align-items: baseline; gap: 12px; margin-top: 16px; font-family: var(--sans); color: var(--ink-soft); }
.rating strong { font-family: var(--serif); font-size: 44px; font-weight: 500; color: var(--ink); }
.reviews { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.review {
  margin: 0; padding: 28px; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius);
  display: flex; flex-direction: column; gap: 16px;
}
.review blockquote { margin: 0; font-size: 18px; color: var(--ink-soft); }
.review figcaption { margin-top: auto; font-family: var(--sans); font-size: 14px; color: var(--mute); }
.review figcaption b { color: var(--ink); font-weight: 600; }
.reviews-more { margin-top: 32px; }
@media (max-width: 800px) { .reviews { grid-template-columns: 1fr; } }

/* ── Alentours ────────────────────────────────────────────────── */
.around { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; }
.around li {
  display: grid; grid-template-columns: 1fr auto; gap: 4px 16px;
  padding: 18px 0; border-top: 1px solid var(--line);
}
.around h3 { font-size: 21px; font-weight: 600; }
.around .dist { font-family: var(--sans); font-size: 14px; color: var(--mute); white-space: nowrap; }
.around p { grid-column: 1 / -1; color: var(--ink-soft); font-size: 17px; }
@media (max-width: 800px) { .around { grid-template-columns: 1fr; } }

/* ── Contact ──────────────────────────────────────────────────── */
.contact { background: var(--forest-dk); color: var(--cream); }
.contact a:hover { color: #fff; }
.contact-grid { display: grid; grid-template-columns: 6fr 6fr; gap: 64px; }
.contact h2 { font-size: clamp(32px, 4vw, 46px); }
.contact-list { margin: 32px 0 0; display: grid; gap: 20px; }
.contact-list div { border-top: 1px solid rgba(245, 241, 232, 0.2); padding-top: 14px; }
.contact-list dt { font-family: var(--sans); font-size: 13px; font-weight: 600; color: rgba(245, 241, 232, 0.65); }
.contact-list dd { margin: 4px 0 0; font-size: 21px; }
.contact-list dd a { text-decoration: none; display: block; }
.contact .btn-row { margin-top: 32px; }
.contact .btn-line { color: var(--cream); border-color: rgba(245, 241, 232, 0.5); }
.contact .btn-line:hover { background: var(--cream); color: var(--ink); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }

/* Carte Google Maps chargée au clic (pas de traceur tiers sans action) */
.map {
  aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden;
  background: #2a3a30; display: grid; place-items: center; text-align: center;
}
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-consent { padding: 32px; max-width: 360px; display: grid; gap: 16px; justify-items: center; }
.map-consent p { font-family: var(--sans); font-size: 14px; color: rgba(245, 241, 232, 0.75); }
@media (max-width: 900px) { .map { aspect-ratio: 4 / 3; } }

/* ── Pages carte : pizzeria / restaurant ──────────────────────── */
.page-hero { padding: 72px 0 64px; }
.page-hero .wrap { display: grid; grid-template-columns: 6fr 5fr; gap: 56px; align-items: center; }
.page-hero h1 { font-size: clamp(40px, 5.5vw, 64px); }
.page-hero-lede { margin-top: 18px; font-size: 21px; color: var(--ink-soft); max-width: 32em; }
.page-hero .btn-row { margin-top: 28px; }
.page-hero-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
@media (max-width: 900px) {
  .page-hero { padding: 40px 0 48px; }
  .page-hero .wrap { grid-template-columns: 1fr; gap: 32px; }
}

.hours-box {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 24px 0; margin-top: 36px;
}
.hours-box b { display: block; font-family: var(--sans); font-size: 13px; font-weight: 600; color: var(--mute); }
.hours-box span, .hours-box a { font-size: 19px; }
@media (max-width: 640px) { .hours-box { grid-template-columns: 1fr; gap: 14px; } }

.menu { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 64px; }
.menu-3 { grid-template-columns: repeat(3, 1fr); gap: 16px 48px; }
.menu h3 {
  font-size: 24px; font-style: italic; font-weight: 400; color: var(--forest);
  margin: 0 0 8px; padding-bottom: 8px; border-bottom: 2px solid var(--ink);
}
.menu h3:not(:first-child) { margin-top: 40px; }
.menu-note { font-family: var(--sans); font-size: 14px; color: var(--mute); margin: -2px 0 8px; }
.item { padding: 12px 0; border-bottom: 1px solid var(--line); }
.item-top { display: flex; align-items: baseline; gap: 10px; }
.item-n { font-family: var(--sans); font-size: 13px; color: var(--mute); min-width: 1.6em; font-variant-numeric: tabular-nums; }
.item-name { font-size: 20px; font-weight: 500; }
.item-top::after { content: ''; flex: 1; order: 2; border-bottom: 1px dotted rgba(31, 42, 36, 0.35); transform: translateY(-5px); }
.item-price { order: 3; font-size: 19px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.item-desc { font-size: 16px; color: var(--ink-soft); margin-top: 2px; }
.veg { font-family: var(--sans); font-size: 12px; font-weight: 600; color: var(--forest); border: 1px solid currentColor; border-radius: 3px; padding: 0 5px; margin-left: 6px; vertical-align: 2px; }
.menu-foot { margin-top: 40px; font-family: var(--sans); font-size: 15px; color: var(--ink-soft); }
@media (max-width: 1000px) { .menu-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .menu, .menu-3 { grid-template-columns: 1fr; } }

.photo-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.photo-strip figure { margin: 0; cursor: zoom-in; }
.photo-strip img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
@media (max-width: 800px) { .photo-strip { grid-template-columns: repeat(2, 1fr); } }

.reserve {
  background: var(--forest); color: var(--cream); border-radius: var(--radius);
  padding: 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
}
.reserve h2 { font-size: clamp(28px, 3.4vw, 38px); }
.reserve p { margin-top: 8px; color: rgba(245, 241, 232, 0.8); }
.reserve a:not(.btn) { color: var(--cream); }

/* ── Galerie ──────────────────────────────────────────────────── */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.chip {
  font-family: var(--sans); font-size: 14px; font-weight: 600;
  background: transparent; color: var(--ink); border: 1px solid var(--line);
  border-radius: 999px; padding: 8px 16px; cursor: pointer;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.masonry { columns: 3; column-gap: 16px; }
.masonry figure { break-inside: avoid; margin: 0 0 20px; cursor: zoom-in; }
.masonry img { width: 100%; border-radius: var(--radius); }
.masonry figure[hidden] { display: none; }
@media (max-width: 1000px) { .masonry { columns: 2; } }
@media (max-width: 560px) { .masonry { columns: 1; } }

/* ── Pages légales ────────────────────────────────────────────── */
.legal { max-width: 760px; }
.legal h1 { font-size: clamp(34px, 4.5vw, 48px); margin-bottom: 32px; }
.legal h2 { font-size: 22px; font-weight: 600; margin: 32px 0 8px; }
.legal p { color: var(--ink-soft); }
.todo { background: #fff3cd; padding: 0 4px; }

/* ── Pied de page ─────────────────────────────────────────────── */
.site-footer { background: var(--ink); color: rgba(245, 241, 232, 0.85); padding: 64px 0 32px; font-family: var(--sans); font-size: 15px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 2fr 1.4fr 1fr 1fr; gap: 40px; }
.footer-grid h2 { font-family: var(--sans); font-size: 13px; font-weight: 600; color: rgba(245, 241, 232, 0.55); margin-bottom: 12px; letter-spacing: 0; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-logo { font-family: var(--serif); font-size: 26px; color: var(--cream); margin-bottom: 12px; }
.footer-logo em { font-weight: 400; color: rgba(245, 241, 232, 0.6); }
.footer-bottom {
  margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(245, 241, 232, 0.15);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: 13px; color: rgba(245, 241, 232, 0.5);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ── Lightbox ─────────────────────────────────────────────────── */
.lb {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(14, 20, 16, 0.95);
  display: none; align-items: center; justify-content: center;
  padding: 64px 72px;
}
.lb.is-open { display: flex; }
.lb figure { margin: 0; display: grid; gap: 12px; justify-items: center; }
.lb img { max-width: 100%; max-height: calc(100vh - 160px); width: auto; object-fit: contain; }
.lb figcaption { font-family: var(--sans); font-size: 14px; color: rgba(245, 241, 232, 0.75); text-align: center; }
.lb button {
  position: absolute; background: rgba(245, 241, 232, 0.08); color: var(--cream);
  border: 1px solid rgba(245, 241, 232, 0.3); border-radius: 50%;
  width: 48px; height: 48px; font-size: 22px; line-height: 1; cursor: pointer;
  font-family: var(--sans);
}
.lb button:hover { background: rgba(245, 241, 232, 0.2); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
body.no-scroll { overflow: hidden; }
@media (max-width: 640px) {
  .lb { padding: 64px 12px; }
  .lb-prev, .lb-next { top: auto; bottom: 16px; transform: none; }
}

/* ── Mobile : rythme vertical ─────────────────────────────────── */
@media (max-width: 640px) {
  :root { --gutter: 20px; }
  body { font-size: 17px; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 32px; }
  .hero .wrap { padding-bottom: 40px; }
  .hero-lede { font-size: 19px; }
  .btn-row .btn { flex: 1 1 auto; }
  .reserve { padding: 28px 22px; }
}
