/* Pizzeria Merveillosa — feuille de style commune
   Clair et frais : blanc, vert du logo (four), rouge tomate pour l'action. */
:root {
  color-scheme: light;
  --bg: #FFFFFF;
  --band: #F2F5F0;
  --ink: #142019;
  --muted: #56645B;
  --line: #E1E7E1;
  --green: #0E6B3E;
  --green-deep: #08492A;
  --green-soft: #E3F1E8;
  --red: #D9302A;
  --red-hi: #C12520;
  --sun: #FFC93C;
  --f-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --f-body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
  --r: 22px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--f-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; padding-bottom: 76px; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 800; letter-spacing: -0.03em; text-wrap: balance; line-height: 1.02; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: 1180px; margin-inline: auto; padding-inline: 20px; }
.sec { padding-block: 72px; }
.band { background: var(--band); }
.kicker { display: inline-flex; align-items: center; gap: 8px; font: 700 13px/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: var(--green); }
.kicker::before { content: ""; width: 18px; height: 3px; border-radius: 2px; background: var(--red); }
.h2 { font-size: clamp(34px, 6vw, 56px); margin-top: 14px; }
.lead { color: var(--muted); font-size: 18px; max-width: 54ch; margin-top: 16px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 999px; border: 2px solid transparent; font: 700 16px/1 var(--f-body); text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .15s, transform .15s, border-color .15s, color .15s; }
.btn svg { width: 19px; height: 19px; flex: none; }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 10px 24px -10px rgba(217,48,42,.7); }
.btn-red:hover { background: var(--red-hi); transform: translateY(-1px); }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-deep); }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: #fff; }

/* En-tête */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(255,255,255,.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top .bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo svg { width: 46px; height: 40px; flex: none; }
.logo b { display: block; font: 800 20px/1 var(--f-display); letter-spacing: .02em; color: var(--green); }
.logo small { display: block; font: 700 11px/1 var(--f-body); letter-spacing: .22em; color: var(--red); margin-top: 3px; }
.nav { display: none; gap: 2px; }
.nav a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--muted); padding: 9px 14px; border-radius: 999px; }
.nav a:hover { color: var(--ink); background: var(--band); }
.nav a[aria-current="page"] { color: var(--green); background: var(--green-soft); }
.top-r { display: flex; align-items: center; gap: 8px; }
.top .btn { min-height: 44px; padding: 0 18px; font-size: 15px; }
.top .btn .t-long { display: none; }
.burger { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.burger svg { width: 22px; height: 22px; }
.mnav { border-top: 1px solid var(--line); padding-block: 6px 16px; }
.mnav a { display: flex; justify-content: space-between; padding: 14px 2px; text-decoration: none; font: 800 24px/1.2 var(--f-display); letter-spacing: -0.02em; border-bottom: 1px solid var(--line); }
.mnav a[aria-current="page"] { color: var(--green); }

/* Barre d'appel mobile */
.callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: flex; gap: 8px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(255,255,255,.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
.callbar .btn { flex: 1; min-height: 50px; padding: 0 12px; }

/* Bandeau des pages intérieures */
.phero { padding-block: 48px 40px; }
.phero .grid { display: grid; gap: 28px; align-items: center; }
.phero h1 { font-size: clamp(44px, 9vw, 92px); margin-top: 14px; }
.phero p { color: var(--muted); font-size: 18px; margin-top: 16px; max-width: 46ch; }
.phero .pic { border-radius: 28px; overflow: hidden; aspect-ratio: 16 / 10; max-width: 100%; }
.phero .pic img { width: 100%; height: 100%; object-fit: cover; }

/* Statut ouvert / fermé */
.open-now { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; padding: 7px 13px 7px 11px; border-radius: 999px; background: var(--green-soft); color: var(--green); }
.open-now::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(14,107,62,.18); }
.open-now.is-closed { background: #FDE8E6; color: var(--red-hi); }
.open-now.is-closed::before { box-shadow: 0 0 0 4px rgba(217,48,42,.18); }

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

/* Pied de page */
footer { background: var(--green-deep); color: #DCEBE1; margin-top: 24px; }
.foot { display: grid; gap: 32px; padding-block: 56px 32px; }
.foot h4 { font: 700 12px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: #9CC6AD; margin-bottom: 14px; }
.foot p, .foot li { font-size: 15px; color: #DCEBE1; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot a { text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot .tel { display: inline-block; margin-top: 10px; font: 800 26px/1 var(--f-display); color: #fff; }
.foot .logo b { color: #fff; }
.foot .logo small { color: #FF9C93; }
.legal { border-top: 1px solid rgba(255,255,255,.14); padding-block: 18px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: 13px; color: #9CC6AD; }
.legal a { color: #DCEBE1; }

@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: 1000px) {
  body { padding-bottom: 0; }
  .callbar { display: none; }
  .nav { display: flex; }
  .burger, .mnav { display: none !important; }
  .sec { padding-block: 104px; }
  .phero { padding-block: 72px 56px; }
  .phero .grid { grid-template-columns: 1fr 1fr; gap: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
