/* IL SEGRETO · Trattoria · Aperitivo Bar
   Palette noir / beige / doré, reprise du menu imprimé.
   Polices : Bodoni Moda (titres), Newsreader (texte, plats, prix), Jost (rubriques). */

:root {
  --noir: #0e0c0a;
  --noir-2: #16130f;
  --noir-3: #1f1b16;
  --beige: #f3ebdb;
  --beige-2: #d9cdb6;
  --beige-3: #a89c86;
  --or: #c9a45c;
  --or-2: #e2c27f;
  --or-line: rgba(201, 164, 92, .35);
  --verde: #1f7a45;
  --rosso: #c0272d;
  --f-title: "Bodoni Moda", "Didot", Georgia, serif;
  --f-text: "Newsreader", Georgia, serif;
  --f-label: "Jost", "Futura", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
  --nav-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--noir);
  color: var(--beige);
  font: 400 1.125rem/1.65 var(--f-text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
::selection { background: var(--or); color: var(--noir); }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--or); color: var(--noir); padding: .6rem 1rem; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--or-2); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }
.section--alt { background: var(--noir-2); }
.section__head { text-align: center; margin-bottom: clamp(40px, 6vw, 72px); }
.section__sub { max-width: 560px; margin: 1.1rem auto 0; color: var(--beige-2); font-style: italic; text-align: center; }

/* ---------- Typo ---------- */
.kicker {
  display: flex; align-items: center; gap: 14px;
  font: 500 .78rem/1 var(--f-label); letter-spacing: .32em; text-transform: uppercase;
  color: var(--or); margin-bottom: 1.2rem;
}
.kicker::before { content: ""; width: 34px; height: 1px; background: var(--or); }
.kicker--center { justify-content: center; }
.kicker--center::after { content: ""; width: 34px; height: 1px; background: var(--or); }
.title {
  font: 400 clamp(2.3rem, 5.4vw, 4.1rem)/1.05 var(--f-title);
  letter-spacing: -.01em; color: var(--beige);
}
.title em, .menu-page__title em { font-style: italic; color: var(--or); }
.title--center { text-align: center; }
.lead { font-size: 1.25rem; color: var(--beige-2); margin-top: 1.5rem; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: .8rem 1.7rem;
  font: 500 .8rem/1.2 var(--f-label); letter-spacing: .22em; text-transform: uppercase; text-align: center;
  text-decoration: none; border: 1px solid var(--or); border-radius: 0;
  transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease);
}
.btn--gold { background: var(--or); color: var(--noir); }
.btn--gold:hover { background: var(--or-2); border-color: var(--or-2); }
.btn--ghost { color: var(--beige); background: transparent; }
.btn--ghost:hover { background: var(--or); color: var(--noir); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h);
  transition: border-color .4s; isolation: isolate;
  border-bottom: 1px solid transparent;
}
.nav::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s; background: rgba(14, 12, 10, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.nav.is-solid::before { opacity: 1; }
.nav.is-solid { border-bottom-color: var(--or-line); }
.nav__inner { height: 100%; max-width: 1320px; margin: 0 auto; padding: 0 clamp(16px, 3vw, 40px); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__brand img { height: 46px; width: auto; transition: opacity .4s; }
.nav:not(.is-solid) .nav__brand img { opacity: 0; pointer-events: none; }
.nav__links { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 34px); }
.nav__links a:not(.btn) {
  font: 500 .76rem/1 var(--f-label); letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
  color: var(--beige); position: relative; padding: 6px 0;
}
.nav__links a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--or); transform: scaleX(0); transition: transform .35s var(--ease); }
.nav__links a:not(.btn):hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav__cta { min-height: 42px; padding: .6rem 1.2rem; }
.nav__burger { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; padding: 10px; }
.nav__burger span { display: block; height: 1px; background: var(--beige); margin: 6px 0; transition: transform .3s, opacity .3s; }

@media (max-width: 960px) {
  .nav { border-bottom-color: var(--or-line); }
  .nav::before { opacity: 1; }
  .nav:not(.is-solid) .nav__brand img { opacity: 1; pointer-events: auto; }
  .nav__brand img { height: 40px; }
  .nav__burger { display: block; }
  .nav__links {
    position: fixed; inset: var(--nav-h) 0 0; flex-direction: column; justify-content: center; gap: 30px;
    background: var(--noir); opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s;
  }
  .nav__links a:not(.btn) { font-size: .95rem; }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; }
  .nav.is-open .nav__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.is-open .nav__burger span:nth-child(2) { opacity: 0; }
  .nav.is-open .nav__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; overflow: hidden; isolation: isolate; text-align: center; }
.hero__bg, .hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero__bg img { animation: heroZoom 18s var(--ease) both; }
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero__veil { position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse at center, rgba(14,12,10,.55) 0%, rgba(14,12,10,.82) 70%),
    linear-gradient(to bottom, rgba(14,12,10,.6), rgba(14,12,10,.2) 40%, rgba(14,12,10,1)); }
.hero__content { padding: calc(var(--nav-h) + 30px) 16px 110px; width: 100%; max-width: 820px; }
.hero__logo { margin: 0 auto; width: min(640px, 88vw); filter: drop-shadow(0 10px 40px rgba(0,0,0,.6)); animation: rise 1.4s .2s var(--ease) both; }
.hero__logo img { width: 100%; }
.hero__baseline { margin-top: 1.6rem; font: 500 clamp(.8rem, 1.8vw, 1rem)/1 var(--f-label); letter-spacing: .42em; text-transform: uppercase; color: var(--beige); animation: rise 1.4s .45s var(--ease) both; }
.hero__baseline span { color: var(--or); margin: 0 .3em; }
.hero__lead { margin: 1.8rem auto 0; max-width: 520px; font-style: italic; font-size: clamp(1.1rem, 2.2vw, 1.35rem); color: var(--beige-2); animation: rise 1.4s .6s var(--ease) both; }
.hero__actions { margin-top: 2.6rem; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; animation: rise 1.4s .75s var(--ease) both; }
.hero .kicker { animation: rise 1.4s .05s var(--ease) both; }
.hero__scroll { position: absolute; bottom: 28px; left: 50%; translate: -50% 0; width: 26px; height: 44px; border: 1px solid var(--or-line); border-radius: 14px; }
.hero__scroll span { position: absolute; left: 50%; top: 9px; width: 2px; height: 8px; margin-left: -1px; background: var(--or); border-radius: 2px; animation: scrollDot 2s infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ---------- Concept ---------- */
.concept__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.concept__media { margin: 0; position: relative; }
.concept__media img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.concept__media::before { content: ""; position: absolute; inset: -18px 18px 18px -18px; border: 1px solid var(--or-line); z-index: -1; }
.pillars { list-style: none; margin: 2.6rem 0 0; padding: 0; display: grid; gap: 1.6rem; }
.pillars li { display: grid; grid-template-columns: 54px 1fr; gap: 18px; padding-top: 1.6rem; border-top: 1px solid var(--or-line); }
.pillars__n { font: italic 400 1.9rem/1 var(--f-title); color: var(--or); }
.pillars h3 { font: 500 .82rem/1.3 var(--f-label); letter-spacing: .26em; text-transform: uppercase; margin-bottom: .4rem; }
.pillars p { color: var(--beige-2); font-size: 1.05rem; }
@media (max-width: 900px) {
  .concept__grid { grid-template-columns: 1fr; }
  .concept__media { order: -1; margin: 0 18px 0 18px; }
  .concept__media img { aspect-ratio: 4 / 3; }
}

/* ---------- Histoire ---------- */
.story__grid { display: grid; grid-template-columns: minmax(220px, 340px) 1fr; gap: clamp(36px, 6vw, 90px); align-items: start; max-width: 1040px; margin: 0 auto; }
.story__photo { margin: 0; position: sticky; top: calc(var(--nav-h) + 30px); padding: 12px; border: 1px solid var(--or-line); background: var(--noir); }
.story__photo img { width: 100%; filter: grayscale(1) contrast(1.05); }
.story__text p { margin-bottom: 1.25rem; color: var(--beige-2); }
.quote { margin: 2.6rem 0 0; padding: 2rem 0 0; border-top: 1px solid var(--or-line); }
.quote p { font: italic 400 clamp(1.35rem, 2.6vw, 1.75rem)/1.4 var(--f-title); color: var(--beige); margin: 0; }
.quote cite { display: block; margin-top: 1.1rem; font: 500 .78rem/1 var(--f-label); letter-spacing: .3em; text-transform: uppercase; color: var(--or); font-style: normal; }
@media (max-width: 760px) {
  .story__grid { grid-template-columns: 1fr; }
  .story__photo { position: relative; top: 0; max-width: 260px; margin: 0 auto; }
}

/* ---------- Carte ---------- */
.menu-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: clamp(40px, 6vw, 64px); }
.menu-tabs__btn {
  appearance: none; cursor: pointer; background: transparent; color: var(--beige-2);
  border: 1px solid var(--or-line); padding: .85rem 1.3rem; min-height: 46px;
  font: 500 .76rem/1 var(--f-label); letter-spacing: .2em; text-transform: uppercase;
  transition: background .3s, color .3s, border-color .3s;
}
.menu-tabs__btn:hover { border-color: var(--or); color: var(--beige); }
.menu-tabs__btn[aria-selected="true"] { background: var(--or); border-color: var(--or); color: var(--noir); }
@media (max-width: 720px) {
  .menu-tabs { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin-inline: -16px; padding: 0 16px 6px; scrollbar-width: none; scroll-snap-type: x mandatory; }
  .menu-tabs::-webkit-scrollbar { display: none; }
  .menu-tabs__btn { flex: 0 0 auto; scroll-snap-align: start; }
}
.js .menu-panel[data-hidden] { display: none; }
.menu-panel { animation: fadeIn .5s var(--ease); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.menu-page + .menu-page { margin-top: clamp(64px, 9vw, 110px); }
.menu-page__head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 12px 40px; padding-bottom: 1.6rem; margin-bottom: 2.6rem; border-bottom: 1px solid var(--or-line); }
.menu-page__head .kicker { grid-column: 1 / -1; margin-bottom: .2rem; }
.menu-page__title { font: 400 clamp(2rem, 4.4vw, 3.2rem)/1.05 var(--f-title); }
.menu-page__sub { font-style: italic; color: var(--beige-3); max-width: 320px; padding-left: 18px; border-left: 1px solid var(--or); }
@media (max-width: 720px) { .menu-page__head { grid-template-columns: 1fr; } }

.menu-grid { display: grid; gap: 2.8rem; }
.menu-cols { display: grid; gap: 0 clamp(40px, 6vw, 80px); }
.menu-cols--2 { grid-template-columns: 1fr 1fr; }
.menu-cols--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1000px) { .menu-cols--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 820px) { .menu-cols--2, .menu-cols--3 { grid-template-columns: 1fr; } }
.menu-col { min-width: 0; }
.menu-sec { margin-bottom: 2.8rem; }
.menu-col .menu-sec:last-child, .menu-grid > .menu-sec { margin-bottom: 0; }
.menu-sec--wide .menu-sec__list, .menu-sec--panel .menu-sec__list { columns: 2; column-gap: clamp(40px, 6vw, 80px); }
.menu-sec--panel { border: 1px solid var(--or-line); padding: clamp(22px, 3.5vw, 40px); background: linear-gradient(180deg, rgba(201,164,92,.06), rgba(201,164,92,.02)); }
@media (max-width: 820px) { .menu-sec--wide .menu-sec__list, .menu-sec--panel .menu-sec__list { columns: 1; } }
.menu-sec__head { display: flex; align-items: center; gap: 16px; font: 500 .8rem/1.2 var(--f-label); letter-spacing: .32em; text-transform: uppercase; color: var(--or); margin-bottom: 1.4rem; }
.menu-sec__head::before { content: ""; width: 12px; height: 12px; border: 1px solid var(--or); transform: rotate(45deg); flex: none; }
.menu-sec__head::after { content: ""; flex: 1; height: 1px; background: var(--or-line); }
.menu-sec__note { font-style: italic; color: var(--beige-3); margin: -.6rem 0 1.2rem; }
.menu-sec__list { list-style: none; margin: 0; padding: 0; }
.dish { break-inside: avoid; padding: .55rem 0 .75rem; }
.menu-sec--drink .dish { padding: .35rem 0 .45rem; }
.dish__line { display: flex; align-items: baseline; gap: 10px; }
.dish__name { font: 500 1.2rem/1.3 var(--f-text); color: var(--beige); }
.dish__suffix { font-style: italic; font-weight: 400; font-size: .95rem; color: var(--beige-3); white-space: nowrap; }
.dish__dots { flex: 1; min-width: 18px; border-bottom: 1px dotted rgba(201,164,92,.45); transform: translateY(-5px); }
.dish__price { font: 500 1.15rem/1.3 var(--f-text); color: var(--or-2); white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }
.dish__desc { font-style: italic; color: var(--beige-2); font-size: 1rem; line-height: 1.5; margin-top: .25rem; max-width: 36em; }
.dish__al { margin-top: .3rem; font: 400 .74rem/1.4 var(--f-label); letter-spacing: .06em; color: var(--beige-3); }
.dish__al span { text-transform: uppercase; letter-spacing: .18em; color: var(--or); margin-right: .4em; font-size: .68rem; }
.menu-info { padding-top: .4rem; }
.menu-info p { color: var(--beige-2); font-style: italic; max-width: 760px; }
.carte__pdf { text-align: center; margin-top: clamp(40px, 6vw, 64px); }

/* ---------- Galerie ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: clamp(180px, 22vw, 290px); gap: 12px; }
.gallery__item { position: relative; overflow: hidden; display: block; background: var(--noir-3); }
.gallery__item--wide { grid-column: span 2; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; filter: saturate(.9) brightness(.92); }
.gallery__item:hover img { transform: scale(1.06); filter: saturate(1) brightness(1); }
.gallery__item::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(226,194,127,0); transition: border-color .5s; pointer-events: none; }
.gallery__item:hover::after { border-color: rgba(226,194,127,.6); }
@media (max-width: 720px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; gap: 8px; }
  .gallery__item--wide { grid-column: span 2; grid-row: span 1; }
}
.lightbox { padding: 0; border: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(8,7,6,.94); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox img { max-width: min(92vw, 1400px); max-height: 86vh; object-fit: contain; }
.lightbox button { position: absolute; background: none; border: 0; color: var(--beige); cursor: pointer; font: 300 2.6rem/1 var(--f-text); width: 56px; height: 56px; }
.lightbox button:hover { color: var(--or-2); }
.lightbox__close { top: 12px; right: 12px; }
.lightbox__nav--prev { left: 8px; top: 50%; translate: 0 -50%; }
.lightbox__nav--next { right: 8px; top: 50%; translate: 0 -50%; }

/* ---------- Réservation ---------- */
.reserve { position: relative; padding: clamp(90px, 12vw, 160px) 0; text-align: center; overflow: hidden; isolation: isolate; }
.reserve__bg { position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(14,12,10,.86), rgba(14,12,10,.86)), url("../img/comptoir.jpg") center / cover fixed; }
@media (max-width: 960px), (hover: none) { .reserve__bg { background-attachment: scroll; } }
.reserve__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 2.4rem; }

/* ---------- Infos ---------- */
.infos__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .infos__grid { grid-template-columns: 1fr; } }
.info-card { border: 1px solid var(--or-line); padding: clamp(26px, 3vw, 38px); background: var(--noir-2); }
.info-card h3 { font: 500 .8rem/1 var(--f-label); letter-spacing: .3em; text-transform: uppercase; color: var(--or); margin-bottom: 1.3rem; }
.info-card p { color: var(--beige-2); }
.info-card__link { display: inline-block; margin-top: 1.2rem; font: 500 .74rem/1 var(--f-label); letter-spacing: .2em; text-transform: uppercase; color: var(--or); text-decoration: none; border-bottom: 1px solid var(--or-line); padding-bottom: 4px; }
.hours { margin: 0; display: grid; gap: .45rem; }
.hours div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dotted var(--or-line); padding-bottom: .35rem; }
.hours dt { color: var(--beige); }
.hours dd { margin: 0; color: var(--beige-2); font-style: italic; }
.socials { display: flex; gap: 18px; margin-top: 1.4rem; flex-wrap: wrap; }
.socials a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font: 500 .74rem/1 var(--f-label); letter-spacing: .16em; text-transform: uppercase; color: var(--beige); }
.socials svg { width: 22px; height: 22px; fill: none; stroke: var(--or); stroke-width: 1.4; }
.socials svg .fill { fill: var(--or); stroke: none; }
.socials a:last-child svg { fill: var(--or); stroke: none; }
.info-card__addr { font-style: normal; color: var(--beige); font-size: 1.2rem; line-height: 1.5; }
.map { margin-top: 20px; min-height: 280px; overflow: hidden; display: grid; place-items: center; text-align: center; border: 1px solid var(--or-line); background: var(--noir-2); color: var(--beige-3); font-style: italic; padding: 0; }
.map p { padding: 24px; }
.map iframe { display: block; width: 100%; height: 400px; align-self: stretch; border: 0; filter: grayscale(.6) invert(.9) hue-rotate(180deg); }

/* ---------- Emplacements à compléter (à retirer une fois les infos ajoutées) ---------- */
.todo, .todo-link { position: relative; outline: 1px dashed rgba(226,194,127,.75); outline-offset: 6px; }
.todo::before { content: "À COMPLÉTER"; position: absolute; top: -18px; right: -6px; font: 600 .58rem/1 var(--f-label); letter-spacing: .18em; background: var(--or); color: var(--noir); padding: 3px 6px; }
.todo-link { outline-offset: 3px; }

/* ---------- Pied de page ---------- */
.footer { border-top: 1px solid var(--or-line); padding: clamp(60px, 8vw, 90px) 0 40px; text-align: center; background: var(--noir); }
.footer__logo { width: 210px; margin: 0 auto 2rem; }
.footer__closing { font: italic 400 clamp(1.8rem, 4vw, 2.6rem)/1.1 var(--f-title); margin-bottom: 1rem; }
.tricolore { display: flex; width: 120px; height: 3px; margin: 1.6rem auto 2.2rem; }
.tricolore span { flex: 1; }
.tricolore span:nth-child(1) { background: var(--verde); }
.tricolore span:nth-child(2) { background: var(--beige); }
.tricolore span:nth-child(3) { background: var(--rosso); }
.footer__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; margin-bottom: 2.4rem; }
.footer__nav a { font: 500 .74rem/1 var(--f-label); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; color: var(--beige-2); }
.footer__nav a:hover { color: var(--or); }
.footer__legal { font: 400 .78rem/1.7 var(--f-label); color: var(--beige-3); letter-spacing: .04em; }

/* ---------- Apparition au défilement ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- La dolce vita (photos noir et blanc) ---------- */
.dolce__grid { display: grid; grid-template-columns: 1fr 2.2fr 1fr; gap: clamp(12px, 2vw, 24px); align-items: center; }
.dolce__fig { margin: 0; padding: 10px; border: 1px solid var(--or-line); background: var(--noir); }
.dolce__fig img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; filter: grayscale(1) contrast(1.08) brightness(.95); }
.dolce__fig--wide img { aspect-ratio: 16 / 10; }
.dolce__fig:nth-child(1) { transform: rotate(-2deg); }
.dolce__fig:nth-child(3) { transform: rotate(2deg); }
@media (max-width: 720px) {
  .dolce__grid { grid-template-columns: 1fr 1fr; }
  .dolce__fig--wide { grid-column: 1 / -1; order: -1; }
}

/* ---------- Formulaire de réservation ---------- */
.reserve { text-align: left; }
.resa { max-width: 1000px; margin: 0 auto; background: rgba(14,12,10,.88); border: 1px solid var(--or-line); padding: clamp(20px, 4vw, 48px); }
.resa__hp { position: absolute; left: -9999px; }
.resa__steps { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 48px); }
@media (max-width: 820px) { .resa__steps { grid-template-columns: 1fr; } }
.resa__col { display: grid; gap: 28px; align-content: start; }
.resa__block { border: 0; padding: 0; margin: 0; min-width: 0; }
.resa__block legend { display: flex; align-items: center; gap: 12px; padding: 0; margin-bottom: 1rem; font: 500 .8rem/1 var(--f-label); letter-spacing: .26em; text-transform: uppercase; color: var(--beige); }
.resa__n { display: inline-grid; place-items: center; width: 28px; height: 28px; border: 1px solid var(--or); color: var(--or); font: italic 400 .95rem/1 var(--f-title); letter-spacing: 0; }
.resa__block--who { margin-top: clamp(28px, 4vw, 40px); padding-top: clamp(24px, 3vw, 32px); border-top: 1px solid var(--or-line); }

.cal { border: 1px solid var(--or-line); padding: 14px; background: var(--noir-2); }
.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cal__month { font: 400 1.35rem/1 var(--f-title); text-transform: capitalize; }
.cal__nav { width: 40px; height: 40px; background: none; border: 1px solid var(--or-line); color: var(--beige); font-size: 1.4rem; cursor: pointer; }
.cal__nav:hover:not(:disabled) { border-color: var(--or); color: var(--or-2); }
.cal__nav:disabled { opacity: .25; cursor: default; }
.cal__dow, .cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal__dow span { font: 500 .66rem/2 var(--f-label); letter-spacing: .14em; text-transform: uppercase; color: var(--beige-3); }
.cal__day { aspect-ratio: 1; min-height: 38px; background: none; border: 1px solid transparent; color: var(--beige); font: 500 1rem/1 var(--f-text); cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.cal__day:hover:not(:disabled) { border-color: var(--or); }
.cal__day:disabled { color: rgba(243,235,219,.22); cursor: default; text-decoration: line-through; text-decoration-color: rgba(243,235,219,.15); }
.cal__day.is-today { border-color: var(--or-line); }
.cal__day[aria-pressed="true"] { background: var(--or); color: var(--noir); border-color: var(--or); }

.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; }
.slots__group { grid-column: 1 / -1; font: 500 .68rem/1 var(--f-label); letter-spacing: .22em; text-transform: uppercase; color: var(--or); margin-top: 6px; }
.slots__empty { grid-column: 1 / -1; color: var(--beige-3); font-style: italic; }
.slot { min-height: 42px; background: none; border: 1px solid var(--or-line); color: var(--beige); font: 500 1rem/1 var(--f-text); cursor: pointer; font-variant-numeric: tabular-nums; }
.slot:hover { border-color: var(--or); }
.slot[aria-pressed="true"] { background: var(--or); color: var(--noir); border-color: var(--or); }

.covers { display: flex; align-items: center; gap: 0; border: 1px solid var(--or-line); width: max-content; }
.covers__btn { width: 52px; height: 52px; background: none; border: 0; color: var(--or-2); font-size: 1.5rem; cursor: pointer; }
.covers__btn:hover:not(:disabled) { background: rgba(201,164,92,.12); }
.covers__btn:disabled { opacity: .3; cursor: default; }
.covers__val { min-width: 150px; text-align: center; font: 400 1.25rem/1 var(--f-title); border-inline: 1px solid var(--or-line); padding: 15px 10px; }
.resa__hint { margin-top: .7rem; font-size: .92rem; font-style: italic; color: var(--beige-3); }

.resa__fields { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 20px; }
@media (max-width: 820px) { .resa__fields { grid-template-columns: 1fr; } }
.resa__field { display: grid; gap: 8px; font: 500 .7rem/1.3 var(--f-label); letter-spacing: .16em; text-transform: uppercase; color: var(--beige-2); }
.resa__field--full { grid-column: 1 / -1; }
.resa__field input, .resa__field textarea {
  width: 100%; background: var(--noir-2); border: 1px solid var(--or-line); color: var(--beige);
  font: 400 1.05rem/1.4 var(--f-text); letter-spacing: 0; text-transform: none; padding: 12px 14px; border-radius: 0;
}
.resa__field input:focus, .resa__field textarea:focus { outline: none; border-color: var(--or); }
.resa__field input[aria-invalid="true"] { border-color: #d0614f; }
.resa__foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--or-line); }
.resa__summary { font: italic 400 1.15rem/1.4 var(--f-text); color: var(--beige-2); }
.resa__summary strong { color: var(--or-2); font-style: normal; font-weight: 500; }
.resa__submit { min-width: 240px; }
.resa__submit[disabled] { opacity: .6; cursor: progress; }
.resa__status { margin-top: 18px; padding: 14px 18px; border-left: 2px solid var(--or); background: rgba(201,164,92,.08); color: var(--beige); }
.resa__status.is-error { border-left-color: #d0614f; }
.resa__note { margin-top: 16px; font-size: .92rem; color: var(--beige-3); font-style: italic; }
.todo-inline { outline: 1px dashed rgba(226,194,127,.75); outline-offset: 3px; }
@media (max-width: 600px) { .resa__submit { width: 100%; min-width: 0; } .resa__foot { display: grid; } }

/* ---------- Vidéo d'ambiance de l'accueil ---------- */
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: 0; transition: opacity 1.2s var(--ease); }
.hero__video.is-playing { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .hero__video { display: none; } }
.hours dd { text-align: right; font-variant-numeric: tabular-nums; }
.hours .is-closed dt, .hours .is-closed dd { color: var(--beige-3); }

/* ---------- Galerie : photo verticale ---------- */
.gallery__item--tall { grid-row: span 2; }

/* ---------- Formule lunch ---------- */
.lunch { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(20px, 4vw, 56px); align-items: center; max-width: 920px; margin: 0 auto clamp(48px, 7vw, 72px); padding: clamp(22px, 4vw, 40px); border: 1px solid var(--or); background: linear-gradient(135deg, rgba(201,164,92,.10), rgba(201,164,92,.02)); }
.lunch .kicker { margin-bottom: .6rem; }
.lunch__title { font: 400 clamp(1.9rem, 3.6vw, 2.6rem)/1.05 var(--f-title); }
.lunch__title em { font-style: italic; color: var(--or); }
.lunch__sub { margin-top: .7rem; color: var(--beige-2); font-style: italic; }
.lunch__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.lunch__list li { display: flex; align-items: baseline; gap: 10px; font: 500 1.2rem/1.3 var(--f-text); }
.lunch__list strong { font-weight: 500; color: var(--or-2); white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (max-width: 720px) { .lunch { grid-template-columns: 1fr; } }

/* ---------- Événements privés ---------- */
.private { max-width: 1000px; margin: 24px auto 0; padding: clamp(20px, 3vw, 32px) clamp(20px, 4vw, 48px); border: 1px solid var(--or-line); background: rgba(14,12,10,.88); }
.private h3 { font: 500 .8rem/1.3 var(--f-label); letter-spacing: .26em; text-transform: uppercase; color: var(--or); margin-bottom: .7rem; }
.private p { color: var(--beige-2); }
.private a, .resa__note a, .contact a { color: var(--or-2); text-decoration: none; border-bottom: 1px solid var(--or-line); white-space: nowrap; }
.private a:hover, .resa__note a:hover, .contact a:hover { border-bottom-color: var(--or-2); }

/* ---------- Contact ---------- */
.contact { margin: 0 0 1.2rem; display: grid; gap: .5rem; }
.contact div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dotted var(--or-line); padding-bottom: .35rem; }
.contact dt { color: var(--beige); }
.contact dd { margin: 0; font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.info-card__note { margin-top: .6rem; font-style: italic; }
@media (max-width: 720px) { .gallery__item:last-child { grid-column: span 2; } }

/* ---------- E-mail, lien vers les événements ---------- */
.contact__mail { margin-top: .9rem; }
.salle__more { margin-top: 2.2rem; text-align: center; color: var(--beige-2); font-style: italic; }
.salle__more a, .ev-contact__mail a { font: 500 .74rem/1 var(--f-label); font-style: normal; letter-spacing: .2em; text-transform: uppercase; color: var(--or); text-decoration: none; border-bottom: 1px solid var(--or-line); padding-bottom: 4px; margin-left: .4em; white-space: nowrap; }
.salle__more a:hover, .ev-contact__mail a:hover { border-bottom-color: var(--or); }
.gallery { grid-auto-flow: dense; }

/* ---------- Page Événements privés ---------- */
.ev-hero { position: relative; isolation: isolate; overflow: hidden; padding: calc(var(--nav-h) + clamp(70px, 11vw, 150px)) 0 clamp(70px, 10vw, 130px); text-align: center; border-bottom: 1px solid var(--or-line); }
.ev-hero__bg { position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(14,12,10,.7), rgba(14,12,10,.9)), url("../img/ev-salle-2.jpg") center / cover; animation: ev-zoom 18s var(--ease) both; }
@keyframes ev-zoom { from { transform: scale(1.08); } to { transform: none; } }
.ev-hero__title { font-size: clamp(2.6rem, 7vw, 5.2rem); }
.ev-hero .section__sub { font-size: clamp(1.05rem, 2vw, 1.25rem); }
.ev__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.ev__photo { aspect-ratio: 4 / 3; padding: 12px; border: 1px solid var(--or-line); background: var(--noir); }
.ev__photo::after { inset: 22px; }
.ev__facts { list-style: none; margin: 2.4rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--or-line); border-bottom: 1px solid var(--or-line); }
.ev__facts li { display: grid; align-content: start; justify-items: start; gap: .6rem; padding: 1.4rem 1rem 1.4rem 0; }
.ev__facts li + li { padding-left: 1.2rem; border-left: 1px solid var(--or-line); }
.ev__facts strong { font: 400 clamp(2.4rem, 4vw, 3.2rem)/1 var(--f-title); color: var(--or); }
.ev__facts svg { width: 2.6rem; height: clamp(2.4rem, 4vw, 3.2rem); fill: none; stroke: var(--or); stroke-width: 1.2; }
.ev__facts span { font: 500 .7rem/1.5 var(--f-label); letter-spacing: .16em; text-transform: uppercase; color: var(--beige-2); }
.gallery--ev { grid-auto-rows: clamp(200px, 30vw, 400px); }
.ev-contact__inner { max-width: 760px; text-align: center; }
.ev-contact__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 2.4rem; }
.ev-contact__mail { margin-top: 1.8rem; }
@media (max-width: 860px) {
  .ev__grid { grid-template-columns: 1fr; }
  .ev__photo { order: -1; }
}
@media (max-width: 520px) {
  .ev__facts { grid-template-columns: 1fr; }
  .ev__facts li { grid-template-columns: 4.2rem 1fr; align-items: center; padding: 1rem 0; }
  .ev__facts li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--or-line); }
  .ev__facts svg { width: 2.4rem; height: 2.4rem; }
  .gallery--ev { grid-auto-rows: 190px; }
}
.ev-gal.section { padding: clamp(40px, 6vw, 80px) 0; }

/* ---------- Formulaire : mentions, champs facultatifs ---------- */
.resa__opt, .resa__req { letter-spacing: .06em; text-transform: none; font-weight: 400; color: var(--beige-3); }
.resa__privacy { margin-top: 18px; font-size: .92rem; line-height: 1.55; color: var(--beige-2); }
.resa__privacy a { color: var(--or-2); text-decoration: none; border-bottom: 1px solid var(--or-line); white-space: nowrap; }
.resa__privacy a:hover { border-bottom-color: var(--or-2); }

/* ---------- Plan : chargé au clic ---------- */
.map__gate { display: grid; justify-items: center; gap: 18px; padding: 28px 20px; max-width: 560px; }
.map__gate p { padding: 0; color: var(--beige-2); }
.map__gate a { color: var(--or-2); }
.map.is-loaded { display: block; }

/* ---------- Pied de page : liens légaux ---------- */
.footer__legalnav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; margin: -1.2rem 0 1.6rem; }
.footer__legalnav a { font: 400 .78rem/1.6 var(--f-label); letter-spacing: .04em; color: var(--beige-3); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(168,156,134,.5); }
.footer__legalnav a:hover, .footer__legalnav a[aria-current] { color: var(--or-2); }

/* ---------- Pages légales ---------- */
.legal { padding: calc(var(--nav-h) + clamp(50px, 8vw, 100px)) 0 clamp(70px, 9vw, 120px); }
.legal__wrap { max-width: 820px; }
.legal__head { margin-bottom: 2.6rem; padding-bottom: 2rem; border-bottom: 1px solid var(--or-line); }
.legal__head .title { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.legal__date { margin-top: 1rem; font: 400 .8rem/1.4 var(--f-label); letter-spacing: .08em; color: var(--beige-3); }
.legal__intro { font-size: 1.2rem; color: var(--beige); font-style: italic; margin-bottom: 1rem; }
.legal h2 { font: 500 .85rem/1.4 var(--f-label); letter-spacing: .22em; text-transform: uppercase; color: var(--or-2); margin: 2.6rem 0 1rem; }
.legal p, .legal li { color: var(--beige-2); line-height: 1.65; }
.legal p + p { margin-top: .8rem; }
.legal ul { padding-left: 1.2rem; display: grid; gap: .5rem; }
.legal li::marker { color: var(--or); }
.legal strong { color: var(--beige); font-weight: 500; }
.legal a { color: var(--or-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--or-line); }
.legal a:hover { text-decoration-color: var(--or-2); }
.legal__dl { margin: 1rem 0 0; display: grid; gap: .2rem; }
.legal__dl div { display: grid; grid-template-columns: minmax(150px, 220px) 1fr; gap: 12px; padding: .6rem 0; border-bottom: 1px dotted var(--or-line); }
.legal__dl dt { color: var(--beige); }
.legal__dl dd { margin: 0; color: var(--beige-2); }
@media (max-width: 560px) { .legal__dl div { grid-template-columns: 1fr; gap: 2px; } }
.legal .todo { display: inline-block; margin-top: 6px; padding: 2px 6px; color: var(--or-2); font-style: italic; }
.legal .todo::before { content: none; }
.legal__table { overflow-x: auto; margin-top: 1rem; border: 1px solid var(--or-line); }
.legal__table:focus-visible { outline-offset: 2px; }
.legal table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: .95rem; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--or-line); color: var(--beige-2); line-height: 1.5; }
.legal thead th { font: 500 .7rem/1.3 var(--f-label); letter-spacing: .16em; text-transform: uppercase; color: var(--or-2); background: var(--noir-2); }
.legal tbody th { color: var(--beige); font-weight: 500; }
.legal tbody tr:last-child > * { border-bottom: 0; }

/* ---------- Lisibilité et focus ---------- */
.hero__content, .ev-hero__inner { text-shadow: 0 1px 14px rgba(0,0,0,.65); }
.hero__content .btn { text-shadow: none; }
.resa__field input:focus-visible, .resa__field textarea:focus-visible { box-shadow: 0 0 0 1px var(--or); }
.hero__pause { position: absolute; right: clamp(16px, 3vw, 32px); bottom: clamp(16px, 3vw, 32px); z-index: 2; width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--or-line); border-radius: 50%; background: rgba(14,12,10,.6); color: var(--beige); cursor: pointer; }
.hero__pause:hover { border-color: var(--or); }
.hero__pause span { width: 12px; height: 14px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
.hero__pause.is-paused span { width: 0; height: 0; border-style: solid; border-width: 7px 0 7px 12px; border-color: transparent transparent transparent currentColor; margin-left: 3px; }
.resa__how { flex-basis: 100%; margin-top: 0; }

/* ---------- Page 404 ---------- */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: calc(var(--nav-h) + 60px) 0 80px; }
.notfound .title { font-size: clamp(2.4rem, 6vw, 4rem); }
.notfound p { color: var(--beige-2); margin-top: 1rem; }
.notfound__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 2.2rem; }
