/* =====================================================================
   LA MAISON DES ARTS — Moret-sur-Loing
   Direction : rustique-chic, éditorial, chaleureux, artisanal.
   Palette (DA) : #fffbf0 fond · #764512 brun (titres/éléments) · #000 texte
   Titres : Charm · Corps éditorial : EB Garamond · Labels/UI : Montserrat
   ===================================================================== */

/* ---------- Variables ---------- */
:root {
  --cream:      #fffbf0;
  --cream-2:    #f6eedb;   /* sections "warm" */
  --paper:      #fbf4e4;
  --brown:      #764512;   /* titres & éléments */
  --brown-deep: #5c360d;
  --brown-soft: #9a6a35;
  --ink:        #221a10;   /* texte */
  --ink-soft:   #5b4a37;
  --line:       rgba(118, 69, 18, .28);
  --line-soft:  rgba(118, 69, 18, .16);

  --maxw: 1180px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --radius: 2px;

  --f-script: 'Charm', cursive;
  --f-serif:  'EB Garamond', Georgia, 'Times New Roman', serif;
  --f-sans:   'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-serif);
  color: var(--ink);
  background: var(--cream);
  font-size: 1.075rem;
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
}
/* Texture papier discrète */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: .045; mix-blend-mode: multiply;
}
img, video, iframe, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
em { font-style: italic; }

/* ---------- Layout ---------- */
.container { width: min(100% - 3rem, var(--maxw)); margin-inline: auto; position: relative; z-index: 2; }
.section { padding: clamp(4.5rem, 9vw, 8rem) 0; }
.section--warm { background: var(--cream-2); }

/* ---------- Titres / labels ---------- */
.script { font-family: var(--f-script); font-weight: 400; }

.h2 {
  font-family: var(--f-script);
  font-weight: 400;
  font-size: clamp(2.5rem, 5.4vw, 4.1rem);
  line-height: 1;
  color: var(--brown);
}

.eyebrow {
  font-family: var(--f-sans);
  font-size: .68rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--brown-soft);
  margin-bottom: 1.1rem;
}

/* Filet + ornement (détail graphique discret) */
.rule { display: block; width: 64px; height: 1px; background: var(--line); position: relative; margin-top: 1.6rem; }
.rule::after {
  content: ''; position: absolute; top: 50%; left: 50%; width: 6px; height: 6px;
  background: var(--brown); transform: translate(-50%, -50%) rotate(45deg);
}
.rule--center { margin-inline: auto; }

/* En-têtes de section */
.shead { margin-bottom: clamp(2.6rem, 5vw, 4rem); max-width: 38rem; }
.shead--center { margin-inline: auto; text-align: center; }
.shead__lead { font-size: 1.12rem; color: var(--ink-soft); margin-top: 1.6rem; }

p + p { margin-top: 1rem; }

/* ---------- Boutons (fins, presque droits) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .55rem;
  font-family: var(--f-sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding: .92rem 1.7rem;
  border: 1px solid var(--brown);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background .45s var(--ease), color .45s var(--ease), border-color .45s var(--ease);
  white-space: nowrap;
}
.btn--solid { background: var(--brown); color: var(--cream); }
.btn--solid:hover { background: var(--brown-deep); border-color: var(--brown-deep); }
.btn--line { background: transparent; color: var(--brown); }
.btn--line:hover { background: var(--brown); color: var(--cream); }

/* Bouton-lien fléché (secondaire, sobre) */
.btn--link, .link-arrow {
  border: 0; border-radius: 0; background: none; padding: .9rem .2rem;
  position: relative; color: var(--brown);
}
.btn--link::after, .link-arrow::after {
  content: ''; position: absolute; left: .2rem; bottom: .6rem; width: calc(100% - .4rem); height: 1px;
  background: var(--brown); transform-origin: right; transform: scaleX(1); transition: transform .45s var(--ease);
}
.btn--link:hover::after, .link-arrow:hover::after { transform-origin: left; transform: scaleX(0); }
.btn--link::before { content: ''; }

.link-arrow {
  font-family: var(--f-sans); font-size: .72rem; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; display: inline-block; margin-top: .7rem; padding-bottom: .35rem;
}
.link-arrow::after { bottom: 0; left: 0; width: 100%; }

/* ---------- Cadre photo (double filet artisanal) ---------- */
.frame {
  position: relative; overflow: hidden; background: var(--cream);
  border: 1px solid var(--line); outline: 1px solid var(--line-soft); outline-offset: 6px;
}
.frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* =====================================================================
   PRELOADER
   ===================================================================== */
.preloader {
  position: fixed; inset: 0; z-index: 2000; background: var(--cream);
  display: grid; place-items: center;
  transition: opacity .7s ease, visibility .7s ease;
}
.preloader__logo { width: 78px; opacity: .85; animation: pulse 1.5s ease-in-out infinite; }
.preloader.is-done { opacity: 0; visibility: hidden; }
@keyframes pulse { 0%,100% { opacity: .4; } 50% { opacity: .9; } }

/* =====================================================================
   NAVIGATION
   ===================================================================== */
.nav {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  padding: 1.1rem 0; transition: background .5s var(--ease), padding .5s var(--ease), border-color .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav__inner {
  width: min(100% - 3rem, 1320px); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between;
}
.nav__brand { display: flex; align-items: center; gap: .65rem; }
.nav__emblem { width: 42px; transition: width .4s var(--ease); }
.nav__name { display: flex; flex-direction: column; line-height: 1; }
.nav__name-top { font-family: var(--f-sans); font-size: .6rem; letter-spacing: .28em; text-transform: uppercase; font-weight: 600; color: var(--brown); }
.nav__name-script { font-family: var(--f-script); font-size: 1.45rem; color: var(--brown); line-height: .95; }

.nav--scrolled {
  background: rgba(251, 244, 228, .94);
  backdrop-filter: blur(8px);
  border-bottom-color: var(--line-soft);
  padding: .6rem 0;
}
.nav--scrolled .nav__emblem { width: 36px; }

.nav__links { display: flex; align-items: center; gap: 2.1rem; }
.nav__links a:not(.btn) {
  font-family: var(--f-sans); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 500; color: var(--ink); position: relative; padding: .25rem 0;
}
.nav__links a:not(.btn)::after {
  content: ''; position: absolute; left: 0; bottom: -1px; width: 0; height: 1px; background: var(--brown);
  transition: width .4s var(--ease);
}
.nav__links a:not(.btn):hover::after { width: 100%; }
.nav__cta { padding: .6rem 1.25rem; }

.nav__burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav__burger span { width: 25px; height: 1.5px; background: var(--brown); transition: transform .4s var(--ease), opacity .3s; }
.nav__burger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* =====================================================================
   HERO (texte / vidéo verticale)
   ===================================================================== */
.hero { padding-top: clamp(7rem, 14vh, 10rem); padding-bottom: clamp(3.5rem, 7vw, 6rem); }
.hero__grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center; min-height: calc(100svh - 12rem);
}
.hero__text { max-width: 34rem; }
.hero__emblem { width: 66px; opacity: .92; margin-bottom: 1.3rem; }
.hero__title { margin: .2rem 0 1.6rem; }
/* Bloc typographique équilibré (logique du menu) : 2 lignes Charm, même largeur */
.hero__wordmark { display: block; width: min(100%, 440px); height: auto; margin: 0; }
.hero__wordmark .wm { font-family: var(--f-script); fill: var(--brown); font-size: 76px; }
.hero__intro { font-size: 1.18rem; color: var(--ink-soft); max-width: 30rem; }
.hero__actions { display: flex; align-items: center; gap: 1.6rem; margin: 2.2rem 0; flex-wrap: wrap; }
.hero__meta {
  display: flex; gap: 2.4rem; flex-wrap: wrap;
  padding-top: 1.6rem; border-top: 1px solid var(--line-soft);
}
.hero__meta li { font-size: .98rem; color: var(--ink); }
.hero__meta span {
  display: block; font-family: var(--f-sans); font-size: .62rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--brown-soft); margin-bottom: .25rem; font-weight: 600;
}

/* Cadre vidéo vertical (9:16 — jamais tronqué ni déformé) */
.hero__media { display: flex; flex-direction: column; align-items: center; }
.vframe { width: min(100%, 360px); }
.vframe__screen {
  position: relative; aspect-ratio: 9 / 16; overflow: hidden; background: #1a120a;
  border: 1px solid var(--brown); outline: 1px solid var(--line); outline-offset: 7px;
}
.vframe__screen video { width: 100%; height: 100%; object-fit: cover; }
/* Bouton son (autoplay muet par défaut) */
.vframe__sound {
  position: absolute; right: 12px; bottom: 12px; z-index: 2;
  width: 42px; height: 42px; display: grid; place-items: center;
  background: rgba(34, 20, 8, .5); color: var(--cream); backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 251, 240, .45); border-radius: 50%; cursor: pointer;
  transition: background .3s var(--ease), transform .3s var(--ease);
}
.vframe__sound:hover { background: rgba(34, 20, 8, .72); transform: scale(1.06); }
.vframe__sound .ic--sound { display: none; }
.vframe__sound.is-on .ic--muted { display: none; }
.vframe__sound.is-on .ic--sound { display: block; }
.vframe__cap {
  margin-top: 1.5rem; font-family: var(--f-script); font-size: 1.5rem; color: var(--brown);
  text-align: center;
}

/* =====================================================================
   STORY / LA MAISON
   ===================================================================== */
.story__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.story__text p { color: var(--ink-soft); }
.story__text em { color: var(--brown); font-style: italic; }
.story__text .shead { margin-bottom: 1.8rem; }

.story__media { position: relative; }
.story__photo--main { aspect-ratio: 4 / 5; }
.story__photo--detail {
  position: absolute; right: -1.2rem; bottom: -2rem; width: 44%; aspect-ratio: 1;
  background: var(--cream); padding: 6px; border-color: var(--line); outline: none;
}
.story__photo--detail::after {
  content: ''; position: absolute; inset: 6px; border: 1px solid var(--line-soft); pointer-events: none;
}

.facts { display: flex; gap: 2.4rem; margin-top: 2.6rem; flex-wrap: wrap; }
.facts li { display: flex; flex-direction: column; font-size: .8rem; color: var(--ink-soft); max-width: 11ch; }
.facts span { font-family: var(--f-script); font-size: 2rem; color: var(--brown); line-height: 1; margin-bottom: .15rem; }

/* =====================================================================
   INTERLUDE (bandeau brun)
   ===================================================================== */
.interlude { background: var(--brown); color: var(--cream); padding: clamp(3rem, 6vw, 4.5rem) 0; text-align: center; }
.interlude__inner { display: flex; flex-direction: column; align-items: center; }
.interlude__emblem { width: 56px; opacity: .9; margin-bottom: 1.4rem; }
.interlude__quote {
  font-family: var(--f-serif); font-style: italic; font-size: clamp(1.4rem, 3.2vw, 2.1rem);
  line-height: 1.4; max-width: 24ch; color: var(--cream);
}
.interlude__sig {
  font-family: var(--f-sans); font-size: .66rem; letter-spacing: .26em; text-transform: uppercase;
  color: rgba(255, 251, 240, .7); margin-top: 1.4rem;
}

/* =====================================================================
   UNIVERS / CARDS
   ===================================================================== */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.8rem, 4vw, 3.2rem); }
.card__media { aspect-ratio: 3 / 4; margin-bottom: 1.7rem; }
.card__media img { transition: transform 1.1s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__num {
  font-family: var(--f-sans); font-size: .64rem; letter-spacing: .24em; text-transform: uppercase;
  color: var(--brown-soft); font-weight: 600; margin-bottom: .5rem;
}
.card__title { font-family: var(--f-script); font-size: 1.95rem; color: var(--brown); font-weight: 400; line-height: 1; margin-bottom: .55rem; }
.card__text { font-size: 1.02rem; color: var(--ink-soft); }

/* =====================================================================
   MENU / LA CARTE (carte imprimée)
   ===================================================================== */
.menu__frame {
  max-width: 940px; margin-inline: auto;
  border: 1px dashed var(--line); padding: clamp(2.2rem, 5vw, 4rem) clamp(1.8rem, 5vw, 4rem);
  position: relative; background: var(--paper);
}
.menu__frame::after {
  content: ''; position: absolute; inset: 9px; border: 1px solid var(--line-soft); pointer-events: none;
}
.menu__head { text-align: center; margin-bottom: clamp(2rem, 4vw, 3rem); }
.menu__title { font-size: clamp(2.4rem, 5vw, 3.6rem); color: var(--brown); line-height: 1; }
.menu__note { font-style: italic; color: var(--ink-soft); margin-top: .9rem; font-size: 1.02rem; }

.menu__grid { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem 3.4rem; }
.dish { padding: 1.05rem 0; border-bottom: 1px solid var(--line-soft); }
.dish:last-child, .menu__grid > .dish:nth-last-child(2):nth-child(odd) { }
.dish__head { display: flex; align-items: baseline; gap: .5rem; }
.dish__head h3 { font-family: var(--f-serif); font-weight: 500; font-size: 1.28rem; color: var(--ink); letter-spacing: .01em; }
.dish__dots {
  flex: 1; height: 1em; align-self: flex-end; margin-bottom: .12em;
  background-image: radial-gradient(currentColor 1px, transparent 1.4px);
  background-size: 7px 7px; background-position: bottom; background-repeat: repeat-x;
  color: var(--line); opacity: .9;
}
.dish__price { font-family: var(--f-serif); font-weight: 500; font-size: 1.22rem; color: var(--brown); }
.dish__desc { font-size: 1rem; color: var(--ink-soft); font-style: italic; margin-top: .25rem; max-width: 42ch; }

.menu__actions { display: flex; align-items: center; justify-content: center; gap: 1.8rem; margin-top: clamp(2.2rem, 5vw, 3.4rem); flex-wrap: wrap; }

/* =====================================================================
   GALERIE
   ===================================================================== */
.gallery__grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 12px; grid-auto-flow: dense; }
.gallery__item {
  overflow: hidden; cursor: pointer; position: relative;
  border: 1px solid var(--line-soft);
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gallery__item::after { content: ''; position: absolute; inset: 0; background: rgba(118, 69, 18, 0); transition: background .45s; }
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item:hover::after { background: rgba(118, 69, 18, .1); }
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }

/* =====================================================================
   INFOS PRATIQUES
   ===================================================================== */
.infos__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: stretch; }
.infos__card {
  background: var(--paper); border: 1px dashed var(--line); padding: clamp(1.8rem, 3vw, 2.6rem);
  display: flex; flex-direction: column; gap: 2rem; position: relative;
}
.infos__card::after { content: ''; position: absolute; inset: 9px; border: 1px solid var(--line-soft); pointer-events: none; }
.infos__block { position: relative; z-index: 1; }
.infos__block h3 { font-size: 1.65rem; color: var(--brown); font-weight: 400; margin-bottom: .8rem; line-height: 1; }
.hours li { display: flex; justify-content: space-between; gap: 1rem; padding: .42rem 0; border-bottom: 1px dotted var(--line-soft); font-size: 1rem; }
.hours li:last-child { border-bottom: 0; }
.hours span { color: var(--ink-soft); }
.hours em { font-weight: 500; color: var(--ink); font-style: normal; }
.infos__phone { font-family: var(--f-script); font-size: 2.1rem; color: var(--brown); }
.infos__actions { margin: 1rem 0 1.3rem; }
.infos__social { display: flex; gap: .7rem; }
.infos__social a {
  width: 40px; height: 40px; display: grid; place-items: center;
  border: 1px solid var(--brown); color: var(--brown); border-radius: var(--radius);
  transition: background .4s var(--ease), color .4s;
}
.infos__social a:hover { background: var(--brown); color: var(--cream); }

.infos__map {
  min-height: 430px; outline-offset: 5px; display: block; position: relative;
  background-image: linear-gradient(rgba(34,20,8,.42), rgba(34,20,8,.52)), url("../assets/img/terrace.jpg");
  background-size: cover; background-position: center;
}
.infos__map-overlay {
  position: absolute; inset: 0; z-index: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--cream); text-align: center; padding: 1.5rem;
}
.infos__map-pin { color: var(--cream); margin-bottom: .9rem; filter: drop-shadow(0 3px 8px rgba(0,0,0,.4)); transition: transform .45s var(--ease); }
.infos__map-place { font-family: var(--f-script); font-size: 1.9rem; line-height: 1; text-shadow: 0 2px 10px rgba(0,0,0,.4); }
.infos__map-cta {
  margin-top: 1.1rem; font-family: var(--f-sans); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase;
  font-weight: 600; padding: .7rem 1.3rem; border: 1px solid rgba(255,251,240,.7); border-radius: var(--radius);
  transition: background .4s var(--ease), color .4s var(--ease);
}
.infos__map:hover .infos__map-pin { transform: translateY(-4px); }
.infos__map:hover .infos__map-cta { background: var(--cream); color: var(--brown); border-color: var(--cream); }

/* =====================================================================
   FOOTER
   ===================================================================== */
.footer { background: var(--brown); color: var(--cream); padding: clamp(3rem, 6vw, 4.5rem) 0 1.6rem; }
.footer__inner { display: grid; grid-template-columns: 1fr auto 1fr; gap: 2.5rem; align-items: center; }
.footer__brand { display: flex; flex-direction: column; align-items: flex-start; }
.footer__emblem { width: 56px; margin-bottom: .7rem; opacity: .92; }
.footer__script { font-family: var(--f-script); font-size: 1.85rem; line-height: .9; }
.footer__loc { font-family: var(--f-sans); font-size: .64rem; letter-spacing: .3em; text-transform: uppercase; opacity: .8; margin-top: .2rem; }
.footer__nav { display: flex; flex-direction: column; gap: .55rem; text-align: center; }
.footer__nav a { font-family: var(--f-sans); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; opacity: .85; transition: opacity .3s; }
.footer__nav a:hover { opacity: 1; }
.footer__meta { text-align: right; font-size: 1rem; opacity: .9; }
.footer__meta a:hover { text-decoration: underline; }
.footer__bottom {
  width: min(100% - 3rem, var(--maxw)); margin: 2.6rem auto 0; padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 251, 240, .18);
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
  font-family: var(--f-sans); font-size: .72rem; letter-spacing: .05em; opacity: .82;
}
.footer__top:hover { text-decoration: underline; }

/* =====================================================================
   LIGHTBOX
   ===================================================================== */
.lightbox {
  position: fixed; inset: 0; z-index: 1500; background: rgba(20, 12, 4, .95);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity .4s ease, visibility .4s ease;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 90vw; max-height: 86vh; border: 1px solid rgba(255,251,240,.2); }
.lightbox__close, .lightbox__nav {
  position: absolute; background: none; border: 0; color: var(--cream); cursor: pointer;
  line-height: 1; opacity: .8; transition: opacity .3s, transform .3s;
}
.lightbox__close:hover, .lightbox__nav:hover { opacity: 1; }
.lightbox__close { top: 1.4rem; right: 1.8rem; font-size: 2.6rem; }
.lightbox__nav { top: 50%; transform: translateY(-50%); font-size: 3rem; padding: 0 1.2rem; }
.lightbox__nav--prev { left: .4rem; }
.lightbox__nav--next { right: .4rem; }
.lightbox__nav:hover { transform: translateY(-50%) scale(1.12); }

/* =====================================================================
   REVEAL (sobre)
   ===================================================================== */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; gap: 3rem; min-height: 0; text-align: center; }
  .hero__text { max-width: 40rem; margin-inline: auto; }
  .hero__wordmark { margin-inline: auto; }
  .hero__intro { margin-inline: auto; }
  .hero__actions, .hero__meta { justify-content: center; }
  .hero__media { order: -1; }
  .story__grid { grid-template-columns: 1fr; }
  .story__media { max-width: 460px; margin: 0 auto; width: 100%; }
  .story__text .shead { margin-inline: 0; }
  .cards { grid-template-columns: 1fr 1fr; }
  .cards .card:nth-child(3) { grid-column: 1 / -1; max-width: 460px; margin-inline: auto; }
  .infos__grid { grid-template-columns: 1fr; }
  .infos__map { min-height: 340px; }
}

@media (max-width: 760px) {
  body { font-size: 1.02rem; }
  .nav__links {
    position: fixed; inset: 0 0 0 auto; width: min(82%, 330px);
    background: var(--cream); flex-direction: column; align-items: flex-start; justify-content: center;
    gap: 1.7rem; padding: 3rem 2.4rem; transform: translateX(100%); transition: transform .5s var(--ease);
    border-left: 1px solid var(--line-soft);
  }
  .nav__links.is-open { transform: translateX(0); }
  .nav__links a:not(.btn) { font-size: .85rem; }
  .nav__burger { display: flex; z-index: 1100; }
  .cards { grid-template-columns: 1fr; gap: 2.6rem; }
  .cards .card { max-width: 420px; margin-inline: auto; }
  .card__media { aspect-ratio: 16 / 11; }
  .menu__grid { grid-template-columns: 1fr; gap: 0; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 165px; }
  .gallery__item--tall { grid-row: span 1; }
  .footer__inner { grid-template-columns: 1fr; text-align: center; justify-items: center; gap: 2rem; }
  .footer__brand { align-items: center; }
  .footer__meta { text-align: center; }
  .story__photo--detail { width: 42%; right: 0; bottom: -1.4rem; }
}

@media (max-width: 460px) {
  .cards { grid-template-columns: 1fr; }
  .cards .card { max-width: 380px; margin-inline: auto; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn--solid { width: 100%; }
  .gallery__grid { grid-template-columns: 1fr; grid-auto-rows: 230px; }
  .gallery__item--wide { grid-column: span 1; }
  .facts, .hero__meta { gap: 1.4rem; }
}

/* ---------- Accessibilité ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* =====================================================================
   PAGES LÉGALES
   ===================================================================== */
.legal-body { background: var(--cream); }
.legal-topbar {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: .9rem clamp(1.2rem, 4vw, 3rem);
  background: rgba(251, 244, 228, .94); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line-soft);
}
.legal-brand { display: flex; align-items: center; gap: .55rem; font-family: var(--f-script); font-size: 1.35rem; color: var(--brown); }
.legal-brand img { width: 32px; }
.legal-back { font-family: var(--f-sans); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brown); font-weight: 500; }
.legal-back:hover { text-decoration: underline; }
.legal { width: min(100% - 2.4rem, 740px); margin: clamp(2.2rem, 6vw, 4.5rem) auto; }
.legal h1 { font-family: var(--f-script); font-weight: 400; font-size: clamp(2.3rem, 6vw, 3.4rem); color: var(--brown); line-height: 1; margin-bottom: .3rem; }
.legal .legal-sub { font-family: var(--f-sans); font-size: .68rem; letter-spacing: .28em; text-transform: uppercase; color: var(--brown-soft); margin-bottom: 2.4rem; }
.legal h2 { font-family: var(--f-script); font-weight: 400; font-size: 1.85rem; color: var(--brown); margin: 2.1rem 0 .5rem; }
.legal p, .legal li { color: var(--ink-soft); font-size: 1.02rem; }
.legal ul { padding-left: 1.2rem; margin: .4rem 0; }
.legal li { list-style: disc; margin: .2rem 0; }
.legal a { color: var(--brown); text-decoration: underline; }
.legal strong { color: var(--ink); font-weight: 600; }
.legal dl { margin: .3rem 0 1rem; }
.legal dt { font-family: var(--f-sans); font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--brown-soft); font-weight: 600; margin-top: .9rem; }
.legal dd { color: var(--ink); font-size: 1.02rem; }
.legal-footer { border-top: 1px solid var(--line-soft); padding: 2rem 1.2rem; text-align: center; font-family: var(--f-sans); font-size: .74rem; color: var(--ink-soft); }
.legal-footer nav { display: flex; gap: 1.2rem; justify-content: center; flex-wrap: wrap; margin-bottom: .7rem; }
.legal-footer a { color: var(--brown); letter-spacing: .08em; text-transform: uppercase; }
.footer__legal { display: flex; gap: 1.1rem; flex-wrap: wrap; justify-content: center; }
.footer__legal a { font-family: var(--f-sans); font-size: .72rem; letter-spacing: .05em; opacity: .82; }
.footer__legal a:hover { opacity: 1; text-decoration: underline; }

/* =====================================================================
   BANNIÈRE COOKIES (RGPD)
   ===================================================================== */
.cookie-banner {
  position: fixed; left: 50%; bottom: 1.3rem; transform: translateX(-50%);
  z-index: 1400; width: min(100% - 2rem, 660px);
  background: var(--cream); border: 1px solid var(--brown); border-radius: 4px;
  box-shadow: 0 22px 55px -22px rgba(60, 34, 8, .55);
  padding: 1.1rem 1.35rem;
  display: flex; align-items: center; gap: 1.3rem; flex-wrap: wrap;
  animation: cookieUp .6s var(--ease) both;
}
.cookie-banner[hidden] { display: none; }
@keyframes cookieUp { from { opacity: 0; transform: translate(-50%, 14px); } to { opacity: 1; transform: translate(-50%, 0); } }
.cookie-banner__text { flex: 1 1 260px; margin: 0; font-family: var(--f-sans); font-size: .86rem; line-height: 1.55; color: var(--ink-soft); }
.cookie-banner__text a { color: var(--brown); text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: .6rem; flex-shrink: 0; }
.cookie-banner__btn { padding: .62rem 1.15rem; font-size: .64rem; }
@media (max-width: 540px) {
  .cookie-banner { left: 0; bottom: 0; width: 100%; transform: none; border-radius: 0; border-left: 0; border-right: 0; }
  @keyframes cookieUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
  .cookie-banner__actions { width: 100%; }
  .cookie-banner__btn { flex: 1; }
}
