/* ==========================================================================
   La Table Braisée — base partagée (tokens, typographie, boutons, cookies)
   ========================================================================== */

@font-face {
  font-family: "Cormorant";
  src: url("/assets/fonts/cormorant-garamond-latin-wght-normal.woff2") format("woff2");
  font-weight: 300 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Cormorant";
  src: url("/assets/fonts/cormorant-garamond-latin-wght-italic.woff2") format("woff2");
  font-weight: 300 700; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/manrope-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; font-display: swap;
}

:root {
  --ink: #0d0b09;
  --coal: #15120f;
  --coal-2: #1c1814;
  --ash: #2a241e;
  --cream: #f3ebdd;
  --cream-2: #d9cfbf;
  --muted: #a39887;
  --gold: #c9a35a;
  --gold-hi: #ecd29a;
  --gold-lo: #8f6d32;
  --ember: #d0692c;
  --line: rgba(243, 235, 221, .12);
  --line-strong: rgba(243, 235, 221, .22);
  --gold-grad: linear-gradient(115deg, #8f6d32 0%, #e9cf94 38%, #c9a35a 62%, #f1dba6 100%);

  --serif: "Cormorant", "Cormorant Garamond", Garamond, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 14px;
  --radius-lg: 22px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --wrap: 1240px;
  --pad: clamp(20px, 4.5vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
.price, .contact-phone, .info-value, .facts strong, .hours, .footer-name { font-variant-numeric: lining-nums; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-color: rgba(201, 163, 90, .5); text-underline-offset: 3px; }
a:hover { color: var(--gold-hi); }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { margin: 0; font-weight: 500; }
p { margin: 0 0 1em; }
address { font-style: normal; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; border-radius: 4px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; left: 16px; top: -60px; z-index: 200;
  background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: 8px;
  font-weight: 700; text-decoration: none; transition: top .2s;
}
.skip:focus { top: 16px; }

.wrap { width: min(100%, var(--wrap)); margin-inline: auto; padding-inline: var(--pad); }
.wrap-narrow { width: min(100%, 820px); margin-inline: auto; padding-inline: var(--pad); }

.kicker {
  display: inline-flex; align-items: center; gap: 12px;
  margin: 0 0 18px;
  font-family: var(--sans); font-size: 12px; font-weight: 700;
  letter-spacing: .28em; text-transform: uppercase; color: var(--gold);
}
.kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .8; }

.display {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(40px, 6vw, 84px);
  line-height: .98;
  letter-spacing: -.01em;
}
.display em, .hero-title em {
  font-style: italic; font-weight: 500;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: .06em;
}

/* Buttons ------------------------------------------------------------------ */
.btn {
  --h: 46px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 22px;
  border-radius: 999px; border: 1px solid transparent;
  font-family: var(--sans); font-size: 14px; font-weight: 700; letter-spacing: .04em;
  text-decoration: none; white-space: nowrap;
  transition: transform .35s var(--ease), background-color .3s, color .3s, border-color .3s, box-shadow .35s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-lg { --h: 54px; padding: 0 30px; font-size: 15px; }
.btn-gold {
  background: var(--gold-grad); background-size: 160% 100%; background-position: 0 0;
  color: #1a1208; box-shadow: 0 10px 30px -12px rgba(201, 163, 90, .55);
}
.btn-gold:hover { color: #1a1208; background-position: 100% 0; box-shadow: 0 14px 36px -12px rgba(233, 207, 148, .65); }
.btn-line { border-color: var(--line-strong); color: var(--cream); background: rgba(13, 11, 9, .25); backdrop-filter: blur(6px); }
.btn-line:hover { border-color: var(--gold); color: var(--gold-hi); }
.btn-ghost { border-color: var(--line-strong); background: transparent; color: var(--cream); }
.btn-ghost:hover { border-color: var(--cream-2); color: var(--cream); }
.link-btn { background: none; border: 0; padding: 0; text-decoration: underline; text-decoration-color: rgba(201,163,90,.5); text-underline-offset: 3px; }
.link-btn:hover { color: var(--gold-hi); }
.text-link { color: var(--gold); text-decoration: none; font-weight: 600; font-size: 14px; }
.text-link:hover { color: var(--gold-hi); }

/* Cookie banner -------------------------------------------------------------- */
.cookie-banner {
  position: fixed; z-index: 150; left: 16px; right: 16px; bottom: 16px;
  margin-inline: auto; max-width: 980px;
  background: rgba(21, 18, 15, .96);
  border: 1px solid var(--line-strong); border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .8);
  backdrop-filter: blur(14px);
  animation: cookie-in .6s var(--ease) both;
}
.cookie-banner[hidden] { display: none; }
@keyframes cookie-in { from { opacity: 0; transform: translateY(24px); } }
.cookie-inner { padding: 22px 24px; display: grid; gap: 16px; }
.cookie-title { font-family: var(--serif); font-size: 24px; line-height: 1.1; margin: 0 0 6px; }
.cookie-text p:not(.cookie-title) { font-size: 14px; color: var(--cream-2); margin: 0; }
.cookie-prefs { display: grid; gap: 10px; padding: 14px 0; border-block: 1px solid var(--line); }
.cookie-prefs[hidden] { display: none; }
.switch { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--cream-2); cursor: pointer; }
.switch input { margin-top: 3px; accent-color: var(--gold); width: 18px; height: 18px; flex: none; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.cookie-actions .btn { --h: 42px; flex: 1 1 auto; }
.cookie-actions [hidden] { display: none; }
@media (min-width: 820px) {
  .cookie-inner { grid-template-columns: 1fr auto; align-items: center; }
  .cookie-prefs { grid-column: 1 / -1; grid-row: 2; }
  .cookie-actions .btn { flex: 0 0 auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
