/* ==========================================================================
   LE DÉLICE ROYAL — Feuille de style
   Les couleurs et polices principales se changent dans :root ci-dessous.
   ========================================================================== */

:root {
  /* Couleurs */
  --noir: #0e0d0b;
  --noir-2: #171511;
  --noir-3: #221f19;
  --or: #c9a24b;
  --or-clair: #e6c77c;
  --or-fonce: #a8832f;
  --creme: #f7f2e8;
  --creme-2: #efe7d7;
  --texte-clair: #ece6da;
  --texte-doux: #b9b0a0;
  --texte-sombre: #2a2620;
  --texte-sombre-doux: #6b6357;
  --whatsapp: #25d366;
  --erreur: #e5776b;

  /* Polices */
  --font-titre: "Playfair Display", Georgia, serif;
  --font-texte: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Divers */
  --rayon: 14px;
  --ombre: 0 18px 40px -18px rgba(0, 0, 0, .45);
  --transition: .35s cubic-bezier(.2, .7, .2, 1);
  --header-h: 76px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-texte);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--texte-clair);
  background: var(--noir);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-titre); line-height: 1.2; margin: 0 0 .6em; font-weight: 600; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--or-clair); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--or); color: var(--noir); padding: 10px 16px; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 16px; }

.icon { width: 1.15em; height: 1.15em; flex-shrink: 0; }

/* ---------- Bandeau démo ---------- */
.demo-banner {
  position: relative; z-index: 120;
  background: var(--or); color: var(--noir);
  font-size: .8rem; font-weight: 500; text-align: center;
  padding: 6px 16px; line-height: 1.4;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .95em 1.7em; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 500; font-size: .95rem; letter-spacing: .02em; cursor: pointer;
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--gold { background: linear-gradient(135deg, var(--or-clair), var(--or) 55%, var(--or-fonce)); color: var(--noir); box-shadow: 0 10px 25px -12px rgba(201, 162, 75, .8); }
.btn--gold:hover { box-shadow: 0 16px 30px -12px rgba(201, 162, 75, .9); }
.btn--whatsapp { background: var(--whatsapp); color: #fff; box-shadow: 0 10px 25px -12px rgba(37, 211, 102, .8); }
.btn--whatsapp:hover { background: #1fbf5b; }
.btn--outline { border-color: var(--or); color: var(--or-fonce); background: transparent; }
.btn--outline:hover { background: var(--or); color: var(--noir); }
.btn--small { padding: .6em 1.2em; font-size: .85rem; }
.btn--block { width: 100%; white-space: normal; text-align: center; }

.link-gold { color: var(--or); font-weight: 500; border-bottom: 1px solid currentColor; transition: color var(--transition); }
.link-gold:hover { color: var(--or-clair); }

/* ---------- En-tête ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  transition: background var(--transition), box-shadow var(--transition), height var(--transition);
  background: linear-gradient(to bottom, rgba(14, 13, 11, .75), rgba(14, 13, 11, 0));
  margin-bottom: calc(var(--header-h) * -1);
}
.header.is-scrolled {
  background: rgba(14, 13, 11, .92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(201, 162, 75, .2);
  --header-h: 64px;
}
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }

.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-titre); font-size: 1.35rem; font-weight: 600; color: #fff; letter-spacing: .01em; }
.logo__icon { width: 26px; height: 26px; color: var(--or); }

.nav ul { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) { font-size: .92rem; color: var(--texte-clair); position: relative; padding: 6px 0; transition: color var(--transition); }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 100%;
  background: var(--or); transform: scaleX(0); transform-origin: left; transition: transform var(--transition);
}
.nav a:not(.btn):hover, .nav a.is-active { color: var(--or-clair); }
.nav a:not(.btn):hover::after, .nav a.is-active::after { transform: scaleX(1); }

.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; position: relative; z-index: 110; }
.nav-toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; margin: 5px 0; transition: transform var(--transition), opacity var(--transition); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Accueil (hero) ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; overflow: hidden; isolation: isolate;
  padding: calc(var(--header-h) + 40px) 0 90px;
}
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; animation: heroZoom 18s ease-out both; }
.hero__overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(14, 13, 11, .92) 0%, rgba(14, 13, 11, .7) 45%, rgba(14, 13, 11, .35) 100%),
    linear-gradient(to top, rgba(14, 13, 11, .9), transparent 40%);
}
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }

/* Apparition du texte de l'accueil au chargement */
.hero-anim { animation: fadeUp .9s cubic-bezier(.2, .7, .2, 1) both; }
.hero__title.hero-anim { animation-delay: .12s; }
.hero__slogan.hero-anim { animation-delay: .24s; }
.hero__actions.hero-anim { animation-delay: .36s; }
.hero__status.hero-anim { animation-delay: .48s; }

.hero__content { max-width: 1180px; }
.hero__kicker { color: var(--or); text-transform: uppercase; letter-spacing: .25em; font-size: .78rem; font-weight: 500; margin-bottom: 1.2em; }
.hero__title { font-size: clamp(2.8rem, 8vw, 5.8rem); font-weight: 700; color: #fff; margin-bottom: .2em; max-width: 12ch; }
.hero__slogan { font-family: var(--font-titre); font-style: italic; font-size: clamp(1.2rem, 2.6vw, 1.7rem); color: var(--or-clair); margin-bottom: 2em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__status { margin-top: 2em; font-size: .9rem; color: var(--texte-doux); }

.hero__scroll { position: absolute; left: 50%; bottom: 28px; translate: -50% 0; width: 26px; height: 42px; border: 1.5px solid rgba(255, 255, 255, .5); border-radius: 14px; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; background: var(--or); border-radius: 2px; animation: scrollDot 1.8s infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* Statut ouvert / fermé */
.status { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--erreur); box-shadow: 0 0 0 4px rgba(229, 119, 107, .2); }
.status.is-open::before { background: var(--whatsapp); box-shadow: 0 0 0 4px rgba(37, 211, 102, .2); }

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 120px) 0; position: relative; }
.section--light { background: var(--creme); color: var(--texte-sombre); }
.section--dark { background: var(--noir-2); }
.section--pattern {
  background:
    radial-gradient(circle at 15% 20%, rgba(201, 162, 75, .1), transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(201, 162, 75, .08), transparent 40%),
    var(--noir);
}
.section__header { text-align: center; max-width: 640px; margin: 0 auto clamp(36px, 5vw, 56px); }
.section__kicker {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--or); text-transform: uppercase; letter-spacing: .25em; font-size: .75rem; font-weight: 600; margin-bottom: 1em;
}
.section__kicker::before, .section__kicker::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.section--light .section__kicker { color: var(--or-fonce); }
.section__title { font-size: clamp(2rem, 4.5vw, 3rem); }
.section--light .section__title { color: var(--noir); }
.section--dark .section__title, .section--pattern .section__title { color: #fff; }
.section__intro { color: var(--texte-doux); }

/* ---------- Notre histoire ---------- */
.story { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.story__media { position: relative; }
.story__media img { border-radius: var(--rayon); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; box-shadow: var(--ombre); }
.story__media::before {
  content: ""; position: absolute; inset: -16px 16px 16px -16px; border: 1.5px solid var(--or); border-radius: var(--rayon); z-index: 0;
}
.story__media img { position: relative; z-index: 1; }
.story__badge {
  position: absolute; z-index: 2; right: -18px; bottom: 32px;
  background: var(--noir); color: #fff; border-radius: var(--rayon); padding: 18px 22px;
  display: flex; align-items: center; gap: 12px; box-shadow: var(--ombre);
}
.story__badge strong { font-family: var(--font-titre); font-size: 2.6rem; color: var(--or); line-height: 1; }
.story__badge span { font-size: .85rem; line-height: 1.35; color: var(--texte-clair); }
.story__text .section__kicker::after { display: none; }
.story__text .section__kicker::before { display: inline-block; }
.story__text > p { color: var(--texte-sombre-doux); }

.values { display: grid; gap: 18px; margin-top: 2em; }
.value { display: flex; gap: 16px; align-items: flex-start; }
.value__icon { width: 44px; height: 44px; padding: 11px; border-radius: 50%; background: var(--noir); color: var(--or); flex-shrink: 0; }
.value h3 { font-family: var(--font-texte); font-size: 1rem; font-weight: 600; margin: 0 0 2px; color: var(--noir); }
.value p { margin: 0; font-size: .92rem; color: var(--texte-sombre-doux); }

/* ---------- Menu ---------- */
.menu-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 44px; }
.menu-tab {
  background: transparent; border: 1px solid rgba(201, 162, 75, .35); color: var(--texte-clair);
  padding: .6em 1.4em; border-radius: 999px; cursor: pointer; font-size: .9rem;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.menu-tab:hover { border-color: var(--or); color: var(--or-clair); }
.menu-tab[aria-selected="true"] { background: var(--or); border-color: var(--or); color: var(--noir); font-weight: 500; }

.menu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 26px; }
.dish {
  background: var(--noir-3); border: 1px solid rgba(201, 162, 75, .12); border-radius: var(--rayon); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  animation: fadeUp .5s both;
}
.dish:hover { transform: translateY(-6px); border-color: rgba(201, 162, 75, .45); box-shadow: var(--ombre); }
.dish__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--noir); }
.dish__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.dish:hover .dish__media img { transform: scale(1.07); }
.dish__badge {
  position: absolute; top: 14px; left: 14px;
  background: rgba(14, 13, 11, .8); color: var(--or-clair); border: 1px solid rgba(201, 162, 75, .5);
  font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px;
  backdrop-filter: blur(4px);
}
.dish__body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.dish__head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; }
.dish__name { font-size: 1.2rem; color: #fff; margin: 0; }
.dish__price { font-family: var(--font-titre); color: var(--or); font-size: 1.15rem; font-weight: 600; white-space: nowrap; }
.dish__desc { color: var(--texte-doux); font-size: .9rem; margin: 0; }
.menu__cta { text-align: center; margin-top: 48px; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- Galerie ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 14px; }
.gallery__item {
  position: relative; overflow: hidden; border-radius: var(--rayon); cursor: zoom-in;
  border: 0; padding: 0; background: var(--creme-2);
}
.gallery__item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery__item:nth-child(6) { grid-column: span 2; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.gallery__item::after {
  content: attr(data-caption);
  position: absolute; inset: auto 0 0 0; padding: 40px 18px 14px;
  background: linear-gradient(to top, rgba(14, 13, 11, .85), transparent);
  color: #fff; font-size: .9rem; text-align: left;
  opacity: 0; transform: translateY(10px); transition: opacity var(--transition), transform var(--transition);
}
.gallery__item:hover img, .gallery__item:focus-visible img { transform: scale(1.06); }
.gallery__item:hover::after, .gallery__item:focus-visible::after { opacity: 1; transform: none; }

/* Visionneuse */
.lightbox {
  position: fixed; inset: 0; z-index: 300; background: rgba(8, 7, 6, .94);
  display: flex; align-items: center; justify-content: center; padding: 60px 16px;
  animation: fadeIn .25s ease;
}
.lightbox figure { margin: 0; max-width: 1100px; width: 100%; text-align: center; }
.lightbox img { max-height: 78vh; width: auto; margin: 0 auto; border-radius: 10px; }
.lightbox figcaption { margin-top: 14px; color: var(--or-clair); font-family: var(--font-titre); font-style: italic; }
.lightbox__close, .lightbox__nav {
  position: absolute; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .15); color: #fff;
  width: 48px; height: 48px; border-radius: 50%; font-size: 1.8rem; line-height: 1; cursor: pointer;
  display: grid; place-items: center; transition: background var(--transition);
}
.lightbox__close:hover, .lightbox__nav:hover { background: var(--or); color: var(--noir); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__nav--prev { left: 16px; top: 50%; translate: 0 -50%; }
.lightbox__nav--next { right: 16px; top: 50%; translate: 0 -50%; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Réservation ---------- */
.reservation { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.reservation__text .section__kicker::after { display: none; }
.reservation__text p { color: var(--texte-doux); }

.form {
  background: var(--noir-3); border: 1px solid rgba(201, 162, 75, .2); border-radius: calc(var(--rayon) + 4px);
  padding: clamp(22px, 4vw, 38px); box-shadow: var(--ombre);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.form__row--3 { grid-template-columns: 1.2fr 1fr .7fr; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: .82rem; font-weight: 500; color: var(--texte-clair); margin-bottom: 6px; letter-spacing: .02em; }
.optional { color: var(--texte-doux); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; background: var(--noir-2); border: 1px solid rgba(255, 255, 255, .12); border-radius: 10px;
  padding: .8em 1em; color: #fff; font-size: 1rem; transition: border-color var(--transition), box-shadow var(--transition);
  color-scheme: dark;
}
.field textarea { resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #7d766a; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--or); box-shadow: 0 0 0 3px rgba(201, 162, 75, .2); }
.field.has-error input, .field.has-error select { border-color: var(--erreur); }
.field__error { color: var(--erreur); font-size: .8rem; margin: 4px 0 0; min-height: 0; }
.field__error:empty { display: none; }
.form .btn { margin-top: 8px; }
.form__note { margin: 14px 0 0; font-size: .88rem; text-align: center; color: var(--or-clair); }
.form__note:empty { display: none; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 26px; align-items: stretch; }
.contact__cards { display: grid; gap: 18px; }
.card { background: #fff; border-radius: var(--rayon); padding: 24px 26px; box-shadow: 0 10px 30px -20px rgba(0, 0, 0, .3); border: 1px solid var(--creme-2); }
.card__title { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; color: var(--noir); margin-bottom: .6em; }
.card__title .icon { color: var(--or-fonce); }
.card p { color: var(--texte-sombre-doux); margin-bottom: .8em; }
.card p a { color: var(--texte-sombre); font-weight: 500; }
.card .link-gold { color: var(--or-fonce); }
.card__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.card__email { margin: 12px 0 0 !important; }

.hours { width: 100%; border-collapse: collapse; font-size: .92rem; margin-top: 6px; }
.hours td { padding: 6px 0; border-bottom: 1px dashed var(--creme-2); color: var(--texte-sombre-doux); }
.hours td:last-child { text-align: right; color: var(--texte-sombre); font-weight: 500; }
.hours tr.is-today td { color: var(--or-fonce); font-weight: 600; }
.card .status { margin-bottom: .4em; color: var(--texte-sombre); }

.contact__map { border-radius: var(--rayon); overflow: hidden; min-height: 420px; box-shadow: var(--ombre); background: var(--creme-2); }
.contact__map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; filter: grayscale(.25) contrast(1.05); }

/* ---------- Pied de page ---------- */
.footer { background: var(--noir); border-top: 1px solid rgba(201, 162, 75, .2); padding: 56px 0 24px; color: var(--texte-doux); font-size: .9rem; }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 28px; padding-bottom: 32px; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.logo--footer { margin-bottom: 8px; }
.footer__slogan { font-family: var(--font-titre); font-style: italic; color: var(--or-clair); margin: 0; }
.footer__links { display: flex; flex-wrap: wrap; gap: 24px; }
.footer__links a:hover, .footer__social a:hover { color: var(--or-clair); }
.footer__social { display: flex; gap: 12px; }
.footer__social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(201, 162, 75, .35); transition: color var(--transition), border-color var(--transition); }
.footer__social svg { width: 18px; height: 18px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 20px; font-size: .8rem; }
.footer__bottom p { margin: 0; }

/* ---------- Bouton WhatsApp flottant ---------- */
.whatsapp-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%; background: var(--whatsapp); color: #fff;
  display: grid; place-items: center; box-shadow: 0 12px 28px -8px rgba(37, 211, 102, .7);
  transition: transform var(--transition);
  animation: pulse 2.8s infinite;
}
.whatsapp-float svg { width: 30px; height: 30px; }
.whatsapp-float:hover { transform: scale(1.08); }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .45), 0 12px 28px -8px rgba(37, 211, 102, .7); } 50% { box-shadow: 0 0 0 12px rgba(37, 211, 102, 0), 0 12px 28px -8px rgba(37, 211, 102, .7); } }

/* ---------- Animations d'apparition au défilement ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Page 404 ---------- */
.error-page { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 32px 16px; }
.error-page h1 { font-size: clamp(4rem, 15vw, 8rem); color: var(--or); margin: 0; }
.error-page p { color: var(--texte-doux); margin-bottom: 2em; }

/* ==========================================================================
   ADAPTATION TABLETTE ET TÉLÉPHONE
   ========================================================================== */
@media (max-width: 1024px) {
  .gallery { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 200px; }
  .gallery__item:nth-child(6) { grid-column: span 1; }
  .contact { grid-template-columns: minmax(0, 1fr); }
  .contact__cards { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
}

@media (max-width: 900px) {
  :root { --header-h: 66px; }
  /* Sans flou ici : sinon le menu plein écran resterait coincé dans l'en-tête */
  .header.is-scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(14, 13, 11, .97); }
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: 105;
    background: rgba(14, 13, 11, .98);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: opacity var(--transition), visibility var(--transition);
  }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav ul { flex-direction: column; gap: 26px; text-align: center; }
  .nav a:not(.btn) { font-family: var(--font-titre); font-size: 1.6rem; }
  .nav .btn { margin-top: 10px; font-size: 1rem; padding: .9em 2em; }
  body.nav-open { overflow: hidden; }

  .story, .reservation { grid-template-columns: minmax(0, 1fr); }
  .story__media { max-width: 520px; margin: 0 auto 10px; width: calc(100% - 16px); }
  .story__badge { right: 8px; }
}

@media (max-width: 640px) {
  body { font-size: .95rem; }
  .hero { padding-top: calc(var(--header-h) + 24px); align-items: flex-end; padding-bottom: 100px; }
  .hero__overlay { background: linear-gradient(to top, rgba(14, 13, 11, .96) 10%, rgba(14, 13, 11, .6) 60%, rgba(14, 13, 11, .45)); }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
  .hero__scroll { display: none; }

  .menu-tabs { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding-bottom: 6px; margin-inline: -16px; padding-inline: 16px; scrollbar-width: none; }
  .menu-tabs::-webkit-scrollbar { display: none; }
  .menu-tab { flex-shrink: 0; }
  .menu-grid { grid-template-columns: 1fr; }

  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; gap: 10px; }
  .gallery__item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
  .gallery__item::after { opacity: 1; transform: none; padding: 26px 12px 10px; font-size: .78rem; }

  .form__row, .form__row--3 { grid-template-columns: minmax(0, 1fr); }
  .contact__cards { grid-template-columns: minmax(0, 1fr); }
  .menu-grid { grid-template-columns: minmax(0, 1fr); }
  .contact__map, .contact__map iframe { min-height: 320px; }
  .footer__inner { flex-direction: column; }
  .whatsapp-float { width: 54px; height: 54px; right: 16px; bottom: 16px; }
}

/* Respect des préférences "réduire les animations" */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
