/* ============================================================
   VILLATTES — La Brasserie · Lattes
   Noir & blanc comme la carte, la couleur vient des photos.
   ============================================================ */
:root {
  --ink: #161412;
  --ink-2: #24211e;
  --paper: #f4efe6;
  --paper-2: #ebe3d5;
  --cream: #fbf8f2;
  --muted: #6c645b;
  --muted-ink: #a39b90;
  --line: rgba(22, 20, 18, .14);
  --line-ink: rgba(244, 239, 230, .16);
  --accent: #9b3a24;          /* rouge Camargue */
  --accent-2: #c2643f;
  --ok: #3f7a4a;

  --display: 'League Gothic', 'Oswald', Impact, sans-serif;
  --script: 'Mrs Saint Delafield', 'Brush Script MT', cursive;
  --sans: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 4px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 17px/1.65 var(--sans); letter-spacing: .005em;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; }
.skip:focus { top: 12px; }

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

/* ---------- Typo ---------- */
.display { font-family: var(--display); font-weight: 400; text-transform: uppercase; line-height: .92; letter-spacing: .01em; margin: 0; }
.script { font-family: var(--script); font-weight: 400; line-height: 1; letter-spacing: 0; text-transform: none; }
.kicker {
  display: inline-flex; align-items: center; gap: .7em;
  font: 500 .76rem/1.2 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--muted);
}
.kicker::before, .kicker.both::after { content: '•'; letter-spacing: 0; }
.on-ink .kicker { color: var(--muted-ink); }
h2.display { font-size: clamp(2.8rem, 7vw, 5rem); }
h3 { font-weight: 500; }
.lead { font-size: clamp(1.08rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 36em; }
.on-ink .lead { color: var(--muted-ink); }

/* ---------- Boutons ---------- */
.btn {
  --b: var(--ink); --t: var(--paper);
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 50px; padding: 0 26px; border: 1px solid var(--b); border-radius: 999px;
  background: var(--b); color: var(--t); text-decoration: none; cursor: pointer;
  font: 500 .82rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn.accent { --b: var(--accent); --t: #fff; }
.btn.accent:hover { --b: #85301d; }
.btn.ghost { background: transparent; color: var(--b); }
.btn.ghost:hover { background: var(--b); color: var(--t); }
.btn.light { --b: var(--paper); --t: var(--ink); }
.btn.light.ghost { color: var(--paper); }
.btn.light.ghost:hover { color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link {
  font: 500 .8rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
  display: inline-flex; gap: .6em; align-items: center; padding-bottom: 6px; border-bottom: 1px solid currentColor;
}
.link:hover { color: var(--accent); }
.on-ink .link:hover { color: var(--accent-2); }

/* ---------- En-tête ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  display: flex; align-items: center; color: var(--paper);
  transition: background .3s, color .3s, box-shadow .3s;
}
.header.solid, .header.always { background: rgba(244, 239, 230, .96); color: var(--ink); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(8px); }
.header .wrap { display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand img { width: 46px; height: 46px; }
.brand span { font: 400 1.7rem/1 var(--display); letter-spacing: .08em; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { white-space: nowrap; font: 500 .78rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; padding: 8px 0; position: relative; }
.nav a:not(.btn)::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: currentColor; transition: right .25s; }
.nav a:not(.btn):hover::after, .nav a[aria-current]::after { right: 0; }
.nav .btn { min-height: 42px; padding: 0 20px; }
.tel { font: 500 .9rem/1 var(--sans); letter-spacing: .06em; text-decoration: none; white-space: nowrap; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; padding: 10px; }
.burger span { display: block; height: 1.5px; background: currentColor; margin: 6px 0; transition: transform .25s, opacity .25s; }

@media (max-width: 1100px) {
  .header .tel { display: none; }
  .burger { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); color: var(--ink); padding: 8px var(--gutter) 24px; box-shadow: 0 14px 30px rgba(0,0,0,.12);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .25s;
  }
  .nav a:not(.btn) { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: .85rem; }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 18px; min-height: 50px; }
  .menu-open .nav { transform: none; opacity: 1; visibility: visible; }
  .menu-open .header { background: var(--paper); color: var(--ink); }
  .menu-open .burger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .menu-open .burger span:nth-child(2) { opacity: 0; }
  .menu-open .burger span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
}

/* ---------- Statut ouvert / fermé ---------- */
.status { display: inline-flex; align-items: center; gap: 10px; font: 500 .78rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.status::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--muted-ink); box-shadow: 0 0 0 4px rgba(255,255,255,.12); }
.status.is-open::before { background: #6fcf7f; box-shadow: 0 0 0 4px rgba(111, 207, 127, .22); }
.status.is-closed::before { background: #e2826a; }
.status:empty { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: var(--paper); background: var(--ink); overflow: hidden; }
.hero picture, .hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,12,10,.55) 0%, rgba(14,12,10,.05) 30%, rgba(14,12,10,.25) 55%, rgba(14,12,10,.85) 100%); }
.hero .wrap { position: relative; z-index: 1; padding: calc(var(--header-h) + 40px) 0 clamp(48px, 9vh, 96px); }
.hero .script { font-size: clamp(3.4rem, 9vw, 6.4rem); display: block; margin: 0 0 -.12em .04em; }
.hero h1 { font-size: clamp(5.4rem, 21vw, 15rem); letter-spacing: .03em; }
.hero-sub { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin: 18px 0 30px; font: 500 .82rem/1.4 var(--sans); letter-spacing: .24em; text-transform: uppercase; }
.hero-sub .sep { opacity: .5; }

/* ---------- Sections ---------- */
section { position: relative; }
.pad { padding-block: clamp(72px, 11vw, 140px); }
.on-ink { background: var(--ink); color: var(--paper); }
.on-paper2 { background: var(--paper-2); }
.head { display: grid; gap: 14px; margin-bottom: clamp(36px, 5vw, 60px); }
.head.center { justify-items: center; text-align: center; }
.head .script { font-size: clamp(2.4rem, 5vw, 3.6rem); color: var(--accent); margin-bottom: -.35em; }
.on-ink .head .script { color: var(--accent-2); }

/* Intro */
.intro { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(36px, 7vw, 100px); align-items: center; }
.intro p { margin: 0 0 1.1em; }
.intro .big { font: 400 clamp(1.5rem, 2.6vw, 2.05rem)/1.3 var(--sans); font-weight: 300; color: var(--ink); max-width: 22em; margin-bottom: 1em; }
.intro .big em { font-style: normal; color: var(--accent); }
.intro figure { margin: 0; position: relative; }
.intro figure img { width: 100%; aspect-ratio: 2/3; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.intro figcaption { position: absolute; left: -28px; bottom: 28px; background: var(--paper); padding: 18px 22px; max-width: 250px; font-size: .92rem; line-height: 1.45; box-shadow: 0 10px 30px rgba(0,0,0,.08); }
.intro figcaption .script { font-size: 2.3rem; display: block; color: var(--accent); margin-bottom: 4px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 34px; border-top: 1px solid var(--line); }
.facts div { padding: 20px 16px 0 0; }
.facts b { display: block; font: 400 2.3rem/1 var(--display); letter-spacing: .02em; }
.facts span { font-size: .86rem; color: var(--muted); line-height: 1.4; display: block; margin-top: 6px; }
@media (max-width: 860px) {
  .intro { grid-template-columns: 1fr; }
  .intro figure { max-width: 440px; margin-inline: auto 0; }
  .intro figcaption { left: -16px; }
}

/* Moments */
.moments { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.5vw, 32px); }
.moment { display: flex; flex-direction: column; background: var(--cream); text-decoration: none; transition: transform .3s; }
.moment:hover { transform: translateY(-4px); }
.moment .ph { aspect-ratio: 4/5; overflow: hidden; position: relative; }
.moment .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.moment:hover .ph img { transform: scale(1.04); }
.moment .time { position: absolute; left: 16px; top: 16px; background: var(--paper); padding: 8px 12px; font: 500 .74rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; }
.moment .body { padding: 26px 24px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.moment .script { font-size: 2.6rem; color: var(--accent); margin-bottom: -.3em; }
.moment h3 { font: 400 2.2rem/1 var(--display); text-transform: uppercase; letter-spacing: .02em; margin: 0; }
.moment p { margin: 0; color: var(--muted); font-size: .98rem; flex: 1; }
.moment .link { align-self: flex-start; margin-top: 8px; }
@media (max-width: 860px) { .moments { grid-template-columns: 1fr; } .moment .ph { aspect-ratio: 16/11; } }

/* ---------- Lignes de carte ---------- */
.row { display: grid; grid-template-columns: 1fr auto; column-gap: 14px; align-items: baseline; padding: 11px 0; border-bottom: 1px dashed var(--line); }
.on-ink .row { border-color: var(--line-ink); }
.row .n { font-weight: 400; }
.row .d { grid-column: 1 / -1; font-size: .88rem; color: var(--muted); line-height: 1.45; margin-top: 2px; }
.on-ink .row .d { color: var(--muted-ink); }
.row .p { font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 500; text-align: right; }
.row .tag { font: 500 .66rem/1 var(--sans); letter-spacing: .14em; color: var(--muted); border: 1px solid var(--line); border-radius: 3px; padding: 3px 5px 2px; margin-right: 8px; vertical-align: 2px; }
.row.multi { grid-template-columns: 1fr repeat(var(--c), minmax(62px, auto)); }
.row.multi .p { min-width: 62px; }
.row.multi .p.na { color: var(--muted); font-weight: 300; opacity: .6; }
.row.multi .d { grid-column: 1; }
.cols-head { display: grid; grid-template-columns: 1fr repeat(var(--c), minmax(62px, auto)); column-gap: 14px; font: 500 .7rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.cols-head span { text-align: right; min-width: 62px; }
.notes { margin: 14px 0 0; padding: 0; list-style: none; font-size: .86rem; color: var(--muted); line-height: 1.5; }
.notes li + li { margin-top: 4px; }

/* Extrait de carte (accueil) */
.teaser { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 90px); }
.teaser h3 { font: 500 .78rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--muted-ink); margin: 0 0 6px; }
.teaser .group + .group { margin-top: 40px; }
.formules { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
.formule { border: 1px solid var(--line-ink); padding: 24px; display: grid; gap: 8px; align-content: start; }
.formule .script { font-size: 2.4rem; color: var(--accent-2); margin-bottom: -.25em; }
.formule b { font: 400 3rem/1 var(--display); }
.formule p { margin: 0; color: var(--muted-ink); font-size: .9rem; line-height: 1.5; }
.teaser-photo { position: relative; }
.teaser-photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.teaser-cta { margin-top: 48px; display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; }
@media (max-width: 860px) { .teaser { grid-template-columns: 1fr; } .formules { grid-template-columns: 1fr; } }

/* ---------- Galerie ---------- */
.gallery { display: grid; grid-auto-flow: dense; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(150px, 19vw, 250px); gap: 10px; }
.gallery button { padding: 0; border: 0; cursor: zoom-in; overflow: hidden; background: var(--paper-2); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s, filter .3s; }
.gallery button:hover img { transform: scale(1.04); }
.gallery .w2 { grid-column: span 2; }
.gallery .h2 { grid-row: span 2; }
@media (max-width: 760px) {
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 42vw; }
  .gallery .w2 { grid-column: span 2; }
}
.lightbox { position: fixed; inset: 0; z-index: 80; background: rgba(12, 10, 9, .94); display: grid; place-items: center; padding: 56px 16px; opacity: 0; visibility: hidden; transition: .25s; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img { max-height: 84vh; max-width: min(1400px, 100%); width: auto; object-fit: contain; }
.lightbox button { position: absolute; background: none; border: 0; color: var(--paper); cursor: pointer; width: 52px; height: 52px; display: grid; place-items: center; }
.lightbox button svg { width: 28px; height: 28px; }
.lb-close { top: 10px; right: 10px; }
.lb-prev { left: 6px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 6px; top: 50%; transform: translateY(-50%); }
.lb-cap { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: var(--muted-ink); font-size: .85rem; letter-spacing: .1em; }

/* ---------- Infos pratiques ---------- */
.infos { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); }
.info h3 { font: 400 2rem/1 var(--display); text-transform: uppercase; letter-spacing: .03em; margin: 0 0 16px; padding-bottom: 14px; border-bottom: 1px solid var(--ink); }
.info dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; font-size: .96rem; }
.info dt { color: var(--muted); }
.info dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.info dd small { display: block; color: var(--muted); font-size: .8rem; }
.info .sub { font: 500 .72rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin: 26px 0 12px; }
.info p { margin: 0 0 12px; font-size: .96rem; }
.info address { font-style: normal; font-size: 1.15rem; line-height: 1.45; margin-bottom: 16px; }
.info ul { list-style: none; margin: 0 0 22px; padding: 0; font-size: .94rem; }
.info li { padding: 8px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 92px 1fr; gap: 10px; }
.info li b { font-weight: 500; }
.info .btn-row .btn { min-height: 44px; padding: 0 18px; font-size: .74rem; }
.allergy { border-left: 2px solid var(--accent); padding: 4px 0 4px 14px; }
@media (max-width: 900px) { .infos { grid-template-columns: 1fr; } }

/* ---------- Réservation ---------- */
.resa { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(36px, 6vw, 90px); align-items: start; }
.resa .phone-big { display: inline-block; font: 400 clamp(2.6rem, 5vw, 3.6rem)/1 var(--display); letter-spacing: .04em; text-decoration: none; margin: 18px 0 6px; }
.resa .phone-big:hover { color: var(--accent-2); }
.resa aside p { color: var(--muted-ink); margin: 0 0 14px; max-width: 30em; }
.form { background: var(--cream); color: var(--ink); padding: clamp(24px, 4vw, 44px); display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; align-content: start; }
.field.full { grid-column: 1 / -1; }
.field label, .field legend { font: 500 .72rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  font-size: 1rem; transition: border-color .2s;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); outline: none; }
.field select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23161412' stroke-width='1.5'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 14px center; padding-right: 36px; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.choice { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.choice label { position: relative; cursor: pointer; font: 400 .95rem/1.2 var(--sans); letter-spacing: 0; text-transform: none; color: var(--ink); }
.choice input { position: absolute; opacity: 0; }
.choice span { display: inline-flex; align-items: center; min-height: 44px; min-width: 48px; justify-content: center; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: .95rem; transition: .15s; }
.choice input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.choice input:focus-visible + span { outline: 2px solid var(--accent-2); outline-offset: 2px; }
.form .hint { grid-column: 1 / -1; font-size: .82rem; color: var(--muted); margin: 0; line-height: 1.5; }
.form .btn { grid-column: 1 / -1; min-height: 56px; }
.form-msg { grid-column: 1 / -1; font-size: .92rem; padding: 12px 14px; border-radius: var(--radius); display: none; }
.form-msg.err { display: block; background: #f6e2dc; color: #7a2b1a; }
.hp { position: absolute; left: -5000px; }
@media (max-width: 900px) { .resa { grid-template-columns: 1fr; } }
/* Champs : robustes sur Safari iOS (date, select) */
.form > * { min-width: 0; }
.field input, .field select, .field textarea { min-width: 0; max-width: 100%; display: block; -webkit-appearance: none; appearance: none; line-height: 1.3; color: var(--ink); }
.field input[type="date"] { height: 50px; text-align: left; }
.field input[type="date"]::-webkit-date-and-time-value { text-align: left; margin: 0; }
.field input[type="date"]::-webkit-calendar-picker-indicator { opacity: .6; }
@media (max-width: 600px) {
  .resa { gap: 28px; }
  .resa aside p { margin-bottom: 8px; }
  .form { padding: 22px 16px 24px; gap: 16px 12px; margin-inline: calc(var(--gutter) * -1 + 8px); }
  .form .field.full, .form fieldset.field, .form .field:has(#f-nom), .form .field:has(#f-tel), .form .field:has(#f-pers) { grid-column: 1 / -1; }
  .choice { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .choice span { width: 100%; padding: 0 6px; font-size: .9rem; }
  .form .btn { min-height: 54px; }
}

/* ---------- Pied de page ---------- */
.footer { background: var(--ink); color: var(--muted-ink); padding: 64px 0 calc(28px + env(safe-area-inset-bottom)); font-size: .92rem; border-top: 1px solid var(--line-ink); }
.footer .top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid var(--line-ink); }
.footer .brand { color: var(--paper); margin-bottom: 14px; }
.footer h4 { font: 500 .72rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--paper); margin: 8px 0 16px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--paper); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer p { margin: 0 0 8px; }
.footer .bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-top: 22px; font-size: .8rem; }
.footer .legal-note { font-size: .78rem; opacity: .8; }
@media (max-width: 860px) { .footer .top { grid-template-columns: 1fr 1fr; } .footer .top > :first-child { grid-column: 1 / -1; } }

/* ---------- Barre mobile ---------- */
.mbar { display: none; }
@media (max-width: 760px) {
  .mbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: repeat(3, 1fr);
    background: var(--ink); color: var(--paper); padding-bottom: env(safe-area-inset-bottom); border-top: 1px solid var(--line-ink);
    transform: translateY(100%); transition: transform .3s;
  }
  .mbar.show { transform: none; }
  .mbar a { display: grid; justify-items: center; gap: 4px; padding: 10px 4px 11px; text-decoration: none; font: 500 .66rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; }
  .mbar a + a { border-left: 1px solid var(--line-ink); }
  .mbar a.accent { background: var(--accent); }
  .mbar svg { width: 20px; height: 20px; }
  body { padding-bottom: 62px; }
}

/* ============================================================
   PAGE CARTE
   ============================================================ */
.carte-hero { background: var(--ink); color: var(--paper); padding: calc(var(--header-h) + clamp(48px, 8vw, 96px)) 0 clamp(48px, 7vw, 80px); overflow: hidden; position: relative; }
.carte-hero::before { content: ''; position: absolute; right: 0; top: 0; bottom: 0; width: min(46%, 560px); background: url(../img/taureau-600.webp) center 30% / cover; opacity: .55; -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); mask-image: linear-gradient(90deg, transparent, #000 60%); }
.carte-hero .wrap { position: relative; }
.carte-hero .script { font-size: clamp(3rem, 7vw, 5rem); display: block; margin-bottom: -.15em; color: var(--paper); }
.carte-hero h1 { font-size: clamp(4.4rem, 13vw, 9rem); }
.carte-hero p { color: var(--muted-ink); max-width: 30em; margin: 16px 0 26px; }

.tabs { position: sticky; top: var(--header-h); z-index: 30; background: rgba(244, 239, 230, .97); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.tabs .wrap { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-block: 10px; }
.tabs .wrap::-webkit-scrollbar { display: none; }
.tabs a { flex: none; text-decoration: none; padding: 11px 18px; border-radius: 999px; font: 500 .76rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); border: 1px solid transparent; transition: .2s; }
.tabs a:hover { color: var(--ink); }
.tabs a.active { background: var(--ink); color: var(--paper); }

.part { padding-block: clamp(56px, 8vw, 100px) 20px; }
.part + .part { border-top: 1px solid var(--line); }
.part-head { display: grid; justify-items: center; text-align: center; gap: 4px; margin-bottom: clamp(36px, 5vw, 60px); }
.part-head .script { font-size: clamp(2.4rem, 5vw, 3.4rem); color: var(--accent); margin-bottom: -.3em; }
.part-head h2 { font-size: clamp(3.2rem, 8vw, 5.6rem); }
.sections { columns: 2; column-gap: clamp(36px, 6vw, 88px); }
.msec { break-inside: avoid; margin: 0 0 clamp(40px, 5vw, 60px); }
.msec > h3 { text-align: center; font: 500 .82rem/1.3 var(--sans); letter-spacing: .26em; text-transform: uppercase; margin: 0 0 4px; }
.msec > h3::before, .msec > h3::after { content: ' • '; color: var(--accent); }
.msec > .script { display: block; text-align: center; font-size: 2.2rem; color: var(--muted); margin-bottom: 4px; }
.msec > .cols-head { margin-top: 14px; }
@media (max-width: 860px) { .sections { columns: 1; } }

.carte-foot { text-align: center; padding: 30px 0 80px; color: var(--muted); font-size: .9rem; }
.carte-foot p { margin: 0 0 6px; }
.carte-foot .allergy-box { display: inline-block; margin: 0 0 22px; border: 1px solid var(--ink); color: var(--ink); padding: 14px 22px; font-weight: 500; }

/* ---------- Pages simples ---------- */
.simple { padding: calc(var(--header-h) + 64px) 0 96px; min-height: 70vh; }
.simple .prose { max-width: 720px; }
.simple h1 { font-size: clamp(3.2rem, 9vw, 5.6rem); margin-bottom: 26px; }
.simple h2 { font: 500 .8rem/1.3 var(--sans); letter-spacing: .22em; text-transform: uppercase; margin: 38px 0 12px; }
.simple p, .simple li { color: var(--ink-2); }
.center-page { text-align: center; display: grid; justify-items: center; align-content: center; gap: 18px; }
.center-page .script { font-size: clamp(3rem, 8vw, 5rem); color: var(--accent); margin-bottom: -.4em; }

/* ---------- Apparition au défilement ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Impression de la carte ---------- */
@media print {
  .header, .tabs, .mbar, .footer, .carte-hero .btn-row, .carte-hero::before { display: none !important; }
  body { background: #fff; font-size: 11pt; padding: 0; }
  .carte-hero { background: #fff; color: #000; padding: 0 0 20px; }
  .part { break-before: page; padding-top: 0; }
  .reveal { opacity: 1; transform: none; }
}
@media (max-width: 600px) {
  .hero-sub { gap: 10px 14px; letter-spacing: .18em; }
  .hero-sub .sep { display: none; }
  .hero-sub .status { flex-basis: 100%; }
  .hero .btn-row .btn { flex: 1 1 100%; }
}
@media (max-width: 600px) {
  .row.multi.c2, .row.multi.c3, .cols-head { grid-template-columns: 1fr repeat(var(--c), 64px); }
  .row.multi.c2 .n, .row.multi.c3 .n, .row.multi.c2 .d, .row.multi.c3 .d { grid-column: 1 / -1; }
  .row.multi.c2 .d, .row.multi.c3 .d { order: 1; margin-bottom: 4px; }
  .row.multi.c2 .p, .row.multi.c3 .p { order: 2; min-width: 0; margin-top: 4px; }
  .row.multi.c2 .n + .p, .row.multi.c3 .n + .p { grid-column-start: 2; }
  .cols-head span { min-width: 0; }
}
