/* Pizzeria del Parco — feuille de style commune
   Fond brun très sombre (four à bois), rouge tomate pour l'action, vert basilic en touche. */
:root {
  color-scheme: dark;
  --bg: #15110E;
  --bg-2: #1D1814;
  --surface: #241E19;
  --line: rgba(246, 236, 224, .12);
  --ink: #F7EFE6;
  --muted: #B9AB9D;
  --faint: #8A7D71;
  --red: #E2492F;
  --red-hi: #F05D42;
  --green: #5DB57A;
  --gold: #E9B872;
  --f-display: "Fraunces", Georgia, "Times New Roman", serif;
  --f-body: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --r: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.65 var(--f-body); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 600; letter-spacing: -0.01em; text-wrap: balance; font-variation-settings: "SOFT" 50, "opsz" 96; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: 1180px; margin-inline: auto; padding-inline: 20px; }
.kicker { font: 700 12px/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.h2 { font-size: clamp(32px, 5.5vw, 52px); line-height: 1.05; margin-top: 14px; }
.lead { color: var(--muted); font-size: 18px; max-width: 54ch; margin-top: 16px; }
.sec { padding-block: 80px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent;
  font: 700 15px/1 var(--f-body); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .15s ease, transform .15s ease, border-color .15s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 10px 30px -10px rgba(226,73,47,.7); }
.btn-red:hover { background: var(--red-hi); transform: translateY(-1px); }
.btn-ghost { border-color: rgba(247,239,230,.3); color: var(--ink); background: rgba(21,17,14,.25); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--ink); }

/* ---------- En-tête ---------- */
.top {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(21, 17, 14, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand { text-decoration: none; display: grid; line-height: 1; }
.brand small { font: 700 10px/1 var(--f-body); letter-spacing: .3em; text-transform: uppercase; color: var(--red); }
.brand span { font: italic 600 25px/1.05 var(--f-display); letter-spacing: -0.01em; margin-top: 3px; }
.brand span b { color: var(--green); font-weight: 600; }
.nav { display: none; gap: 4px; }
.nav a { text-decoration: none; font-size: 15px; font-weight: 600; color: var(--muted); padding: 8px 14px; border-radius: 999px; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--ink); background: var(--surface); }
.top-actions { display: flex; align-items: center; gap: 8px; }
.top .btn { min-height: 42px; padding: 0 16px; font-size: 14px; }
.top .btn .t-long { display: none; }
.burger { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: transparent; color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.burger svg { width: 22px; height: 22px; }
[hidden] { display: none !important; }
.top .mnav { display: block; height: auto; border-top: 1px solid var(--line); padding-block: 8px 16px; }
.mnav a { display: block; padding: 14px 4px; text-decoration: none; font: 600 24px/1.2 var(--f-display); border-bottom: 1px solid var(--line); }
.mnav a[aria-current="page"] { color: var(--gold); }

/* ---------- Bandeau de page (pages intérieures) ---------- */
.page-hero { position: relative; min-height: 320px; display: flex; align-items: flex-end; overflow: hidden; }
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(21,17,14,.25) 0%, rgba(21,17,14,.55) 55%, var(--bg) 100%); }
.page-hero .wrap { position: relative; z-index: 1; width: 100%; padding-block: 120px 40px; }
.page-hero h1 { font-size: clamp(42px, 8vw, 84px); line-height: .98; margin-top: 12px; }
.page-hero p { color: var(--muted); font-size: 18px; margin-top: 14px; max-width: 50ch; }

/* ---------- Pied de page ---------- */
footer { background: var(--bg-2); border-top: 1px solid var(--line); margin-top: 40px; }
.foot { display: grid; gap: 36px; padding-block: 56px 32px; }
.foot h4 { font: 700 12px/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--faint); margin-bottom: 14px; }
.foot p, .foot li { color: var(--muted); font-size: 15px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); }
.foot .brand span { font-size: 30px; }
.foot-tel { display: inline-block; margin-top: 10px; font: 600 22px/1 var(--f-display); color: var(--ink) !important; }
.legal { border-top: 1px solid var(--line); padding-block: 18px; font-size: 13px; color: var(--faint); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.legal a { color: var(--muted); }

/* ---------- Horaires (réutilisé) ---------- */
.hours { list-style: none; margin: 0; padding: 0; display: grid; }
.hours li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.hours li span:last-child { color: var(--muted); text-align: right; }
.hours li.closed span:last-child { color: var(--faint); }
.hours li.today { color: var(--ink); font-weight: 700; }
.hours li.today span:first-child::after { content: "Aujourd’hui"; margin-left: 10px; font: 700 10px/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: #fff; background: var(--green); padding: 4px 7px; border-radius: 999px; vertical-align: 2px; }
.hours li.today span:last-child { color: var(--ink); }

.open-now { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; padding: 6px 12px 6px 10px; border-radius: 999px; background: rgba(93,181,122,.14); color: var(--green); }
.open-now::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(93,181,122,.2); }
.open-now.is-closed { background: rgba(226,73,47,.14); color: #FF8A73; }
.open-now.is-closed::before { box-shadow: 0 0 0 4px rgba(226,73,47,.2); }

@media (min-width: 720px) {
  .wrap { padding-inline: 32px; }
  .foot { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .top .btn .t-long { display: inline; }
}
@media (min-width: 980px) {
  .nav { display: flex; }
  .burger, .mnav { display: none !important; }
  .sec { padding-block: 112px; }
  .page-hero { min-height: 420px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
