/* =========================================================================
   LE GONDI — maquette one-page (SK Web)
   Direction : bleu pétrole dominant (issu de la salle), accent safran/ocre,
   secondaire terracotta. Motif signature : carreau de ciment (carreau.svg).
   ========================================================================= */

/* ---------- Tokens ---------- */
:root {
  --petrole-900: #142a2e;
  --petrole-800: #1a363b;
  --petrole-700: #1f3f44;
  --petrole-500: #2d5a60;
  --petrole-300: #4f8086;

  --safran: #d99a2b;
  --safran-clair: #e7b34e;
  --brique: #b0532f;
  --olive: #5d6b3a;

  --creme: #f5efe3;
  --creme-2: #efe5d3;
  --creme-3: #e7dcc6;

  --encre: #20211d;
  --encre-doux: #4a4a42;
  --craie: #f4ede1;
  --craie-doux: rgba(244, 237, 225, 0.74);
  --ligne-sombre: rgba(244, 237, 225, 0.16);
  --ligne-claire: rgba(32, 33, 29, 0.14);

  --font-display: "Bricolage Grotesque", "Trebuchet MS", sans-serif;
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-mono: "DM Mono", ui-monospace, "Courier New", monospace;

  --maxw: 1180px;
  --pad-x: clamp(1.15rem, 4vw, 3rem);
  --radius: 14px;
  --shadow: 0 18px 50px -28px rgba(20, 42, 46, 0.55);
  --shadow-soft: 0 10px 30px -22px rgba(20, 42, 46, 0.5);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 72px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-serif);
  color: var(--encre);
  background: var(--creme);
  line-height: 1.6;
  font-size: clamp(1rem, 0.96rem + 0.25vw, 1.075rem);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }

/* ---------- Accessibilité ---------- */
:focus-visible {
  outline: 3px solid var(--safran);
  outline-offset: 3px;
  border-radius: 3px;
}
.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 200;
  background: var(--petrole-900);
  color: var(--craie);
  padding: 0.7rem 1.1rem;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 1rem; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Helpers typographiques ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad-x); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--brique);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--brique);
}
.eyebrow.on-dark { color: var(--safran-clair); }
.eyebrow.on-dark::before { background: var(--safran-clair); }

h1, h2, h3 { font-family: var(--font-display); font-weight: 800; line-height: 1.04; letter-spacing: -0.015em; }
.section-title {
  font-size: clamp(2rem, 1.4rem + 2.6vw, 3.3rem);
  margin-top: 0.7rem;
  max-width: 18ch;
}
.lead {
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.35rem);
  line-height: 1.55;
  color: var(--encre-doux);
}

/* ---------- Boutons ---------- */
.btn {
  --btn-bg: var(--safran);
  --btn-fg: var(--petrole-900);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.86rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  padding: 0.92rem 1.5rem;
  border-radius: 100px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1.5px solid var(--btn-bg);
  font-weight: 500;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease), color 0.25s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -14px rgba(217, 154, 43, 0.8); background: var(--safran-clair); border-color: var(--safran-clair); }
.btn:active { transform: translateY(0); }
.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translate(3px, -3px); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--craie);
  border-color: var(--ligne-sombre);
  border-width: 1.5px;
}
.btn--ghost:hover { background: rgba(244, 237, 225, 0.08); border-color: var(--craie-doux); box-shadow: none; color: var(--craie); }

.btn--ink {
  --btn-bg: var(--petrole-700);
  --btn-fg: var(--craie);
}
.btn--ink:hover { background: var(--petrole-800); border-color: var(--petrole-800); box-shadow: 0 12px 26px -16px rgba(20, 42, 46, 0.8); color: var(--craie); }

.btn--ghost-ink {
  --btn-bg: transparent;
  --btn-fg: var(--petrole-700);
  border-color: var(--ligne-claire);
}
.btn--ghost-ink:hover { background: rgba(31, 63, 68, 0.06); border-color: var(--petrole-700); box-shadow: none; color: var(--petrole-700); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck {
  background: rgba(20, 42, 46, 0.94);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--ligne-sombre);
  box-shadow: 0 10px 30px -24px #000;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}
.brand {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
  text-decoration: none;
  color: var(--craie);
}
.brand b {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.01em;
}
.brand small {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--safran-clair);
  margin-top: 3px;
}
.nav { display: flex; align-items: center; gap: 1.9rem; }
.nav a {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: var(--craie-doux);
  text-decoration: none;
  position: relative;
  padding: 0.3rem 0;
  transition: color 0.2s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute; left: 0; bottom: -2px;
  width: 0; height: 2px; background: var(--safran);
  transition: width 0.25s var(--ease);
}
.nav a:hover, .nav a:focus-visible { color: var(--craie); }
.nav a:hover::after, .nav a:focus-visible::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 1rem; }
.header-tel {
  font-family: var(--font-mono);
  font-size: 0.84rem;
  color: var(--craie);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
}
.header-tel:hover { color: var(--safran-clair); }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid var(--ligne-sombre);
  border-radius: 10px;
}
.burger span { width: 20px; height: 2px; background: var(--craie); transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: clamp(560px, 92vh, 880px);
  margin-top: calc(-1 * var(--header-h));
  padding-top: var(--header-h);
  display: flex;
  align-items: center;
  color: var(--craie);
  isolation: isolate;
}
.hero__bg {
  position: absolute; inset: 0;
  z-index: -2;
  background: var(--petrole-900);
}
.hero__bg img {
  width: 100%; height: 100%; object-fit: cover; opacity: 0.55;
}
.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(20,42,46,0.78) 0%, rgba(20,42,46,0.42) 38%, rgba(20,42,46,0.86) 100%),
    radial-gradient(120% 90% at 15% 30%, rgba(20,42,46,0.55), transparent 70%);
}
.hero__inner { padding-block: clamp(3rem, 8vh, 6rem); max-width: 50rem; }
.hero h1 {
  font-size: clamp(2.7rem, 1.6rem + 5vw, 5.6rem);
  letter-spacing: -0.025em;
  margin-top: 1.1rem;
}
.hero h1 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  color: var(--safran-clair);
}
.hero__tagline {
  font-size: clamp(1.1rem, 1rem + 0.6vw, 1.45rem);
  color: var(--craie-doux);
  max-width: 40ch;
  margin-top: 1.4rem;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.2rem; }
.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.6rem;
  margin-top: 2.6rem;
  padding-top: 1.7rem;
  border-top: 1px solid var(--ligne-sombre);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--craie-doux);
}
.hero__facts li { display: inline-flex; align-items: center; gap: 0.55rem; }
.hero__facts li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--safran); }

/* bandeau carreaux de ciment en bas du hero */
.tile-band {
  height: 26px;
  background: url("img/carreau.svg") repeat-x;
  background-size: auto 100%;
  border-top: 2px solid var(--petrole-700);
  border-bottom: 2px solid var(--petrole-700);
}
.tile-band--top { position: relative; z-index: 1; }

/* ---------- Sections génériques ---------- */
.section { padding-block: clamp(3.8rem, 8vw, 7rem); position: relative; }
.section--cream { background: var(--creme); }
.section--cream-2 { background: var(--creme-2); }
.section--ink { background: var(--petrole-900); color: var(--craie); }
.section-head { max-width: 60rem; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.section--ink .section-title { color: var(--craie); }

/* ---------- Histoire ---------- */
.histoire { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.histoire__body p + p { margin-top: 1.1rem; }
.histoire__signature {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--brique);
  margin-top: 1.6rem;
}
.histoire__media { position: relative; }
.histoire__media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.histoire__badge {
  position: absolute;
  bottom: -22px; left: -22px;
  background: var(--petrole-900);
  color: var(--craie);
  border-radius: 14px;
  padding: 1rem 1.2rem;
  box-shadow: var(--shadow);
  max-width: 220px;
}
.histoire__badge .num { font-family: var(--font-display); font-weight: 800; font-size: 1.9rem; color: var(--safran-clair); display: block; line-height: 1; }
.histoire__badge .lbl { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--craie-doux); margin-top: 0.35rem; display: block; }

.pills { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 1.8rem; }
.pill {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--ligne-claire);
  border-radius: 100px;
  color: var(--encre-doux);
  background: rgba(255,255,255,0.4);
}

/* ---------- Carte (onglets) ---------- */
.menu-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem; }
.tablist {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 2.2rem;
  border-bottom: 1px solid var(--ligne-sombre);
  padding-bottom: 0;
}
.tab {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  background: transparent;
  border: none;
  color: var(--craie-doux);
  padding: 0.7rem 1.05rem 0.9rem;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
  white-space: nowrap;
}
.tab:hover { color: var(--craie); }
.tab[aria-selected="true"] { color: var(--safran-clair); border-bottom-color: var(--safran); }

.tabpanel { padding-top: 2.4rem; }
.tabpanel[hidden] { display: none; }

.menu-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.4rem 3.5rem; }
.menu-item {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 0.4rem 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--ligne-sombre);
}
.menu-item__head { display: flex; align-items: baseline; gap: 0.6rem; flex-wrap: wrap; }
.menu-item__name { font-family: var(--font-serif); font-weight: 600; font-size: 1.18rem; color: var(--craie); }
.menu-item__tag {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--petrole-900);
  background: var(--safran);
  padding: 0.12rem 0.5rem;
  border-radius: 100px;
  transform: translateY(-2px);
}
.menu-item__desc { grid-column: 1 / 2; color: var(--craie-doux); font-size: 0.95rem; line-height: 1.5; }
.menu-item__price {
  grid-row: 1; grid-column: 2;
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--safran-clair);
  white-space: nowrap;
}
.menu-note {
  margin-top: 1.8rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--craie-doux);
  letter-spacing: 0.02em;
}

/* ---------- Bar & Cave (colonnes) ---------- */
.cave-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.6rem, 3vw, 3rem); }
.cave-col h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--encre);
  padding-bottom: 0.7rem;
  margin-bottom: 0.6rem;
  border-bottom: 2px solid var(--creme-3);
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
}
.cave-col h3 span { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brique); }
.cave-line { display: flex; align-items: baseline; gap: 0.6rem; padding: 0.42rem 0; }
.cave-line .nm { color: var(--encre-doux); }
.cave-line .dots { flex: 1; border-bottom: 1px dotted var(--creme-3); transform: translateY(-3px); min-width: 12px; }
.cave-line .pr { font-family: var(--font-mono); font-size: 0.86rem; color: var(--brique); white-space: nowrap; }
.cave-foot { margin-top: 1rem; font-family: var(--font-mono); font-size: 0.76rem; color: var(--encre-doux); }

/* ---------- Galerie ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 12px;
}
.gallery figure { position: relative; overflow: hidden; border-radius: 12px; margin: 0; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.gallery figure:hover img { transform: scale(1.06); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--craie);
  padding: 1.4rem 0.9rem 0.7rem;
  background: linear-gradient(transparent, rgba(20,42,46,0.82));
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.gallery figure:hover figcaption, .gallery figure:focus-within figcaption { opacity: 1; transform: translateY(0); }
.g-tall { grid-row: span 2; }
.g-wide { grid-column: span 2; }

/* ---------- Avis ---------- */
.avis-top { display: flex; flex-wrap: wrap; align-items: center; gap: 1.4rem 2.4rem; margin-bottom: 2.6rem; }
.rating-badge {
  display: inline-flex; align-items: center; gap: 0.9rem;
  background: rgba(244,237,225,0.06);
  border: 1px solid var(--ligne-sombre);
  border-radius: 14px;
  padding: 0.9rem 1.3rem;
}
.rating-badge .score { font-family: var(--font-display); font-weight: 800; font-size: 2rem; color: var(--safran-clair); line-height: 1; }
.rating-badge .meta { font-family: var(--font-mono); font-size: 0.74rem; color: var(--craie-doux); line-height: 1.5; }
.rating-badge .stars { color: var(--safran); letter-spacing: 2px; font-size: 0.9rem; }

.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.quote {
  background: var(--petrole-800);
  border: 1px solid var(--ligne-sombre);
  border-radius: 14px;
  padding: 1.6rem 1.5rem;
  display: flex; flex-direction: column;
}
.quote .mark { font-family: var(--font-serif); font-size: 2.6rem; line-height: 0.5; color: var(--safran); height: 0.7em; }
.quote p { font-family: var(--font-serif); font-size: 1.05rem; color: var(--craie); margin-top: 0.6rem; }
.quote footer { margin-top: auto; padding-top: 1.2rem; font-family: var(--font-mono); font-size: 0.74rem; color: var(--craie-doux); }
.quote footer b { color: var(--craie); font-weight: 500; }

/* ---------- Infos pratiques ---------- */
.infos-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.info-block + .info-block { margin-top: 2rem; }
.info-block h3 {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brique);
  margin-bottom: 0.9rem;
}
.hours { font-family: var(--font-mono); font-size: 0.92rem; }
.hours div { display: flex; justify-content: space-between; gap: 1.5rem; padding: 0.5rem 0; border-bottom: 1px solid var(--ligne-claire); }
.hours .d { color: var(--encre); }
.hours .h { color: var(--encre-doux); }
.hours .is-today { color: var(--brique); font-weight: 500; }
.hours .is-today .d::after { content: " · aujourd'hui"; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; }
.hours .closed { color: var(--olive); }

.contact-list a, .contact-list span { display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--font-mono); font-size: 0.95rem; color: var(--encre); text-decoration: none; }
.contact-list li { padding: 0.45rem 0; }
.contact-list a:hover { color: var(--brique); }
.info-cta { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.6rem; }
.map-card { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); border: 1px solid var(--creme-3); }
.map-card iframe { display: block; width: 100%; height: 100%; min-height: 360px; border: 0; filter: saturate(0.9); }
.services { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.2rem; }
.service-chip { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-mono); font-size: 0.78rem; color: var(--encre); background: var(--creme); border: 1px solid var(--creme-3); padding: 0.5rem 0.85rem; border-radius: 100px; }
.service-chip svg { color: var(--brique); }

/* ---------- Footer ---------- */
.site-footer { background: var(--petrole-900); color: var(--craie-doux); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; padding-block: clamp(3rem, 6vw, 4.5rem); }
.footer-brand b { font-family: var(--font-display); font-weight: 800; font-size: 1.8rem; color: var(--craie); display: block; }
.footer-brand small { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.34em; text-transform: uppercase; color: var(--safran-clair); }
.footer-brand p { margin-top: 1rem; max-width: 32ch; font-size: 0.98rem; }
.footer-col h4 { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--craie); margin-bottom: 1rem; }
.footer-col a { display: block; padding: 0.32rem 0; color: var(--craie-doux); text-decoration: none; font-size: 0.95rem; }
.footer-col a:hover { color: var(--safran-clair); }
.socials { display: flex; gap: 0.7rem; margin-top: 0.4rem; }
.socials a { width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--ligne-sombre); border-radius: 50%; color: var(--craie); transition: background 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease); }
.socials a:hover { background: var(--safran); color: var(--petrole-900); border-color: var(--safran); transform: translateY(-2px); }
.footer-bottom { border-top: 1px solid var(--ligne-sombre); padding-block: 1.4rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.8rem; font-family: var(--font-mono); font-size: 0.74rem; }
.footer-bottom a { color: var(--craie-doux); }

/* ---------- Animations au scroll ----------
   Le masquage initial n'est appliqué que si JS est actif (classe .js).
   Sans JS, tout le contenu reste visible (progressive enhancement). */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }

/* page-load du hero */
.hero__inner > * { animation: rise 0.9s var(--ease) backwards; }
.hero__inner > *:nth-child(1) { animation-delay: 0.05s; }
.hero__inner > *:nth-child(2) { animation-delay: 0.16s; }
.hero__inner > *:nth-child(3) { animation-delay: 0.27s; }
.hero__inner > *:nth-child(4) { animation-delay: 0.38s; }
.hero__inner > *:nth-child(5) { animation-delay: 0.49s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .histoire { grid-template-columns: 1fr; }
  .histoire__media { order: -1; max-width: 440px; }
  .cave-grid { grid-template-columns: 1fr 1fr; }
  .quotes { grid-template-columns: 1fr 1fr; }
  .infos-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 800px) {
  .nav, .header-tel { display: none; }
  .burger { display: inline-flex; }
  .site-header.is-stuck, .nav.is-open ~ * { }
  /* menu mobile déroulant */
  .nav.is-open {
    display: flex;
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
    background: var(--petrole-900);
    padding: 1rem var(--pad-x) 1.6rem;
    border-bottom: 1px solid var(--ligne-sombre);
    box-shadow: var(--shadow);
  }
  .nav.is-open a { font-size: 1.05rem; padding: 0.7rem 0; width: 100%; border-bottom: 1px solid var(--ligne-sombre); }
  .nav.is-open a::after { display: none; }
}

@media (max-width: 720px) {
  .menu-grid { grid-template-columns: 1fr; gap: 0; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .g-wide { grid-column: span 2; }
  .g-tall { grid-row: span 1; }
}

@media (max-width: 540px) {
  .cave-grid { grid-template-columns: 1fr; }
  .quotes { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .hero__cta .btn { flex: 1 1 100%; justify-content: center; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .g-wide, .g-tall { grid-column: auto; grid-row: auto; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .gallery figure:hover img { transform: none; }
}
