/* ——— Vito's Magic Pizza — « La magie au fond de l'impasse » ——— */
/* Mobile-first. Desktop layouts kick in at 900px. */

:root {
  --night: #1a1216;
  --night-2: #261822;
  --ember: #e25822;
  --ember-soft: #f49e4c;
  --cream: #faf1e3;
  --paper: #f1e3cc;
  --ink: #2b1e18;
  --ink-soft: #6b574a;
  --tomato: #be3a26;
  --basil: #44643c;
  --gold: #e9b44c;
  --display: "Young Serif", serif;
  --body: "Karla", sans-serif;
  --hand: "Caveat", cursive;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }

.wrap { width: min(100% - 40px, 1100px); margin-inline: auto; }

/* ——— Sticky nav ——— */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(26, 18, 22, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(244, 158, 76, 0.18);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 12px 0;
}
.nav-mark {
  font-family: var(--display); font-size: 18px; color: var(--cream);
  text-decoration: none; letter-spacing: 0.01em; display: flex; align-items: baseline; gap: 7px;
}
.nav-mark .spark { color: var(--gold); font-size: 13px; }
.nav-links { display: none; }
.nav-call {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 15px; text-decoration: none;
  color: var(--night); background: var(--ember-soft);
  padding: 10px 18px; border-radius: 999px;
  min-height: 44px;
}
.nav-call:hover { background: var(--gold); }

/* ——— Hero ——— */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 75% at 50% 108%, rgba(226, 88, 34, 0.38), transparent 60%),
    var(--night);
  color: var(--cream);
  padding: 56px 0 72px;
}
.hero-inner { display: grid; gap: 40px; position: relative; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ember-soft);
}
.hero-eyebrow::before, .hero-eyebrow::after { content: "✦"; color: var(--gold); font-size: 11px; }
.hero h1 {
  font-size: clamp(44px, 9vw, 84px);
  line-height: 1.02;
  margin-top: 14px;
}
.hero h1 .magic {
  display: block;
  font-family: var(--hand); font-weight: 700;
  font-size: 1.32em; line-height: 0.9;
  color: var(--gold);
  transform: rotate(-2.5deg);
  margin: 4px 0 2px 0.04em;
  text-shadow: 0 0 34px rgba(233, 180, 76, 0.45);
}
.hero-sub { font-size: 19px; max-width: 44ch; margin-top: 18px; color: rgba(250, 241, 227, 0.85); }
.hero-sub strong { color: var(--cream); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 50px; padding: 12px 26px; border-radius: 999px;
  font-family: var(--body); font-weight: 700; font-size: 16px; text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:active { transform: scale(0.97); }
.btn-ember { background: var(--ember); color: var(--cream); }
.btn-ember:hover { background: #f06a31; }
.btn-ghost { border: 1.5px solid rgba(250, 241, 227, 0.4); color: var(--cream); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

.hero-rating {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 30px;
  font-size: 15px; color: rgba(250, 241, 227, 0.8);
}
.hero-rating .stars { color: var(--gold); letter-spacing: 3px; font-size: 17px; }
.hero-rating strong { color: var(--cream); font-size: 17px; }

/* Oven-mouth arch photo frame */
.arch {
  position: relative;
  border-radius: 999px 999px 26px 26px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(226, 88, 34, 0.25), 0 6px 24px rgba(0, 0, 0, 0.5);
}
.arch img { width: 100%; height: 100%; object-fit: cover; }
.hero-arch { max-width: 420px; margin-inline: auto; aspect-ratio: 4 / 5; width: 100%; }
.hero-arch::after {
  content: ""; position: absolute; inset: 10px;
  border: 1px solid rgba(250, 241, 227, 0.35);
  border-radius: 999px 999px 18px 18px;
  pointer-events: none;
}
.hero-caption {
  font-family: var(--hand); font-size: 21px; color: var(--ember-soft);
  text-align: center; margin-top: 14px; transform: rotate(-1.5deg);
}

.spark-float { position: absolute; color: var(--gold); pointer-events: none; user-select: none; }
@media (prefers-reduced-motion: no-preference) {
  .spark-float { animation: twinkle 3.2s ease-in-out infinite; }
  .spark-float:nth-child(2n) { animation-delay: 1.1s; }
  .spark-float:nth-child(3n) { animation-delay: 2s; }
}
@keyframes twinkle { 0%, 100% { opacity: 0.25; } 50% { opacity: 0.95; } }

/* ——— Ribbon ——— */
.ribbon {
  background: var(--tomato); color: var(--cream);
  font-size: 14px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 11px 0; overflow: hidden; white-space: nowrap;
}
.ribbon-track { display: inline-flex; width: max-content; }
.ribbon span { display: inline-flex; align-items: center; gap: 38px; padding-right: 38px; }
.ribbon i { font-style: normal; color: var(--gold); }
@media (prefers-reduced-motion: no-preference) {
  /* 4 groupes identiques + translateX(-50%) : la boucle retombe pile sur le motif,
     et la moitié restante couvre toujours la largeur de l'écran (pas de blanc à droite) */
  .ribbon-track { animation: ribbon-defile 26s linear infinite; }
}
@keyframes ribbon-defile {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ——— Section scaffolding ——— */
.section { padding: 72px 0; }
.section-head { margin-bottom: 40px; max-width: 56ch; }
.kicker {
  font-size: 13px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--tomato); display: flex; align-items: center; gap: 10px;
}
.kicker::before { content: "✦"; color: var(--gold); font-size: 11px; }
.section h2 { font-size: clamp(30px, 5.4vw, 46px); line-height: 1.12; margin-top: 12px; }
.section-lede { margin-top: 14px; font-size: 18px; color: var(--ink-soft); }

/* ——— Concept ——— */
.concept-grid { display: grid; gap: 40px; }
.concept-points { display: grid; gap: 0; counter-reset: pt; }
.point {
  counter-increment: pt;
  padding: 22px 0; border-top: 1px solid rgba(43, 30, 24, 0.14);
  display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: start;
}
.point::before {
  content: "0" counter(pt);
  font-family: var(--display); font-size: 26px; color: var(--ember);
  line-height: 1.2;
}
.point h3 { font-size: 21px; margin-bottom: 6px; }
.point p { color: var(--ink-soft); font-size: 16px; }
.concept-note {
  margin-top: 26px; padding: 18px 22px;
  background: rgba(68, 100, 60, 0.09); border-radius: 16px;
  font-size: 16px; color: var(--ink);
}
.concept-note .hand { font-family: var(--hand); font-size: 21px; color: var(--basil); }

.concept-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.photo-card { border-radius: 20px; overflow: hidden; box-shadow: 0 14px 36px rgba(43, 30, 24, 0.16); }
.photo-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.photo-card.tall img { aspect-ratio: 4 / 5; } /* uniforme sur mobile */
.photo-tag {
  font-family: var(--hand); font-size: 19px; color: var(--ink-soft);
  padding: 8px 4px 0; transform: rotate(-1deg); text-align: center;
}

/* [PHOTO] placeholder */
.placeholder {
  display: grid; place-content: center; gap: 6px; text-align: center;
  border: 2px dashed rgba(190, 58, 38, 0.45); border-radius: 20px;
  background: rgba(190, 58, 38, 0.05);
  color: var(--tomato); padding: 20px;
}
.placeholder b { font-size: 15px; letter-spacing: 0.12em; }
.placeholder span { font-size: 13.5px; color: var(--ink-soft); max-width: 22ch; margin-inline: auto; }
.concept-photos .placeholder { aspect-ratio: 4 / 5; }

/* ——— Menu ——— */
.menu { background: var(--paper); }
.signature {
  display: grid; gap: 28px;
  background: var(--night); color: var(--cream);
  border-radius: 28px; overflow: hidden;
  padding: 0;
}
.signature-photo { position: relative; }
.signature-photo img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; }
.signature-badge {
  position: absolute; top: 16px; left: 16px;
  background: var(--gold); color: var(--night);
  font-weight: 700; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 7px 14px; border-radius: 999px;
}
.signature-body { padding: 4px 26px 32px; display: grid; gap: 14px; align-content: center; }
.signature-body h3 { font-size: clamp(30px, 6vw, 42px); color: var(--ember-soft); }
.signature-body .hand { font-family: var(--hand); font-size: 22px; color: var(--gold); }
.signature-body p { color: rgba(250, 241, 227, 0.82); }

.menu-items { display: grid; gap: 14px; margin-top: 28px; }
.menu-item {
  display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: center;
  background: var(--cream); border-radius: 18px; padding: 14px;
  box-shadow: 0 6px 18px rgba(43, 30, 24, 0.08);
}
.menu-item img, .menu-item .mini-ph {
  width: 64px; height: 64px; border-radius: 14px; object-fit: cover;
}
.menu-item .mini-ph {
  display: grid; place-content: center;
  border: 1.5px dashed rgba(190, 58, 38, 0.45); background: rgba(190, 58, 38, 0.05);
  color: var(--tomato); font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-align: center;
}
.menu-item h3 { font-size: 19px; }
.menu-item p { font-size: 15px; color: var(--ink-soft); }
.menu-price {
  margin-top: 26px; text-align: center;
  font-family: var(--display); font-size: 21px;
}
.menu-price .hand { font-family: var(--hand); font-size: 23px; color: var(--tomato); }

.offers { display: grid; gap: 12px; margin-top: 36px; }
.offer {
  display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: center;
  border: 1px solid rgba(43, 30, 24, 0.16); border-radius: 16px; padding: 14px 16px;
  font-size: 15.5px; background: rgba(250, 241, 227, 0.6);
}
.offer .glyph {
  width: 40px; height: 40px; border-radius: 999px;
  display: grid; place-content: center;
  background: var(--ember); color: var(--cream);
  font-family: var(--display); font-size: 17px;
}
.offer strong { display: block; }
.offer span { color: var(--ink-soft); font-size: 14.5px; }

/* ——— Reviews ——— */
.reviews {
  background:
    radial-gradient(90% 60% at 50% -10%, rgba(233, 180, 76, 0.14), transparent 60%),
    var(--night-2);
  color: var(--cream);
  text-align: center;
  position: relative; overflow: hidden;
}
.reviews .kicker { justify-content: center; color: var(--ember-soft); }
.review-score { font-family: var(--display); font-size: clamp(88px, 18vw, 150px); line-height: 1; color: var(--gold); }
.review-stars { font-size: clamp(26px, 5vw, 36px); letter-spacing: 8px; color: var(--gold); margin-top: 4px; }
.review-count { margin-top: 14px; font-size: 17px; color: rgba(250, 241, 227, 0.75); }
.review-count strong { color: var(--cream); }
.review-words { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 22px; margin-top: 40px; align-items: baseline; }
.review-word { font-family: var(--hand); color: var(--ember-soft); line-height: 1; }
.review-word.w1 { font-size: clamp(54px, 11vw, 96px); color: var(--gold); transform: rotate(-2deg); }
.review-word.w2 { font-size: clamp(34px, 7vw, 58px); transform: rotate(1.5deg); }
.review-word.w3 { font-size: clamp(34px, 7vw, 58px); color: var(--cream); transform: rotate(-1deg); }
.review-word small { display: block; font-family: var(--body); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(250, 241, 227, 0.55); margin-top: 10px; }

/* ——— Chef à domicile ——— */
.chef-head { display: grid; gap: 10px; }
.chef-day {
  display: inline-flex; align-self: start; align-items: center; gap: 8px;
  background: var(--basil); color: var(--cream);
  font-weight: 700; font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 8px 16px; border-radius: 999px;
}
.chef-gallery {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 36px;
}
.chef-gallery .photo-card img { aspect-ratio: 1; }
.chef-gallery .span2 { grid-column: span 2; }
.chef-gallery .span2 img { aspect-ratio: 16 / 9; }

/* ——— Infos pratiques ——— */
.infos { background: var(--paper); }
.infos-grid { display: grid; gap: 22px; }
.info-card {
  background: var(--cream); border-radius: 22px; padding: 26px;
  box-shadow: 0 10px 28px rgba(43, 30, 24, 0.09);
}
.info-card h3 { font-size: 22px; display: flex; align-items: center; gap: 10px; }
.info-card h3 .dot { color: var(--ember); font-size: 14px; }

.hours { margin-top: 18px; display: grid; gap: 0; }
.hours-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding: 10px 0; border-top: 1px solid rgba(43, 30, 24, 0.12);
  font-size: 16px;
}
.hours-row.closed { color: var(--ink-soft); }
.hours-row b { font-weight: 700; }
.hours-note {
  margin-top: 14px; display: inline-block;
  font-size: 13.5px; font-weight: 700; letter-spacing: 0.06em;
  color: var(--tomato); background: rgba(190, 58, 38, 0.09);
  padding: 6px 12px; border-radius: 999px;
}
.modes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.mode {
  font-size: 14px; font-weight: 700;
  border: 1.5px solid rgba(43, 30, 24, 0.25); border-radius: 999px;
  padding: 7px 14px;
}

.map-frame {
  border-radius: 18px; overflow: hidden; margin-top: 18px;
  border: 1px solid rgba(43, 30, 24, 0.15);
}
.map-frame iframe { display: block; width: 100%; height: 240px; border: 0; }
.impasse {
  margin-top: 16px; display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start;
  font-size: 15.5px; color: var(--ink-soft);
}
.impasse .arrow { font-family: var(--hand); font-size: 26px; color: var(--tomato); line-height: 1; }
.impasse .hand { font-family: var(--hand); font-size: 20px; color: var(--ink); }

.call-big {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-size: clamp(24px, 5vw, 30px);
  color: var(--ink); text-decoration: none; margin-top: 14px;
}
.call-big:hover { color: var(--tomato); }
.deliveroo {
  margin-top: 16px; font-size: 15px; color: var(--ink-soft);
}
.deliveroo b { color: #00ccbc; }

/* ——— Footer ——— */
.footer {
  background: var(--night); color: rgba(250, 241, 227, 0.7);
  padding: 44px 0 36px; font-size: 14.5px;
}
.footer-inner { display: grid; gap: 18px; text-align: center; justify-items: center; }
.footer-mark { font-family: var(--display); font-size: 19px; color: var(--cream); }
.footer-mark .spark { color: var(--gold); }
.footer a { color: var(--cream); text-decoration: none; }
.footer a:hover { color: var(--gold); }
.footer-fine { font-size: 13px; color: rgba(250, 241, 227, 0.45); }

/* ————————————— Desktop ————————————— */
@media (min-width: 900px) {
  .photo-card.tall img { aspect-ratio: 3 / 4.4; }
  .nav-links { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
  .nav-links a { color: rgba(250, 241, 227, 0.85); text-decoration: none; font-size: 15px; font-weight: 700; }
  .nav-links a:hover { color: var(--gold); }

  .hero { padding: 88px 0 110px; }
  .hero-inner { grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 64px; }
  .hero-arch { max-width: 460px; }

  .section { padding: 104px 0; }

  .concept-grid { grid-template-columns: 1fr 1.05fr; gap: 72px; align-items: start; }

  .signature { grid-template-columns: 1.05fr 1fr; }
  .signature-photo img { min-height: 460px; }
  .signature-body { padding: 48px; }
  .menu-items { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .menu-item { grid-template-columns: 1fr; padding: 18px; gap: 14px; }
  .menu-item img, .menu-item .mini-ph { width: 100%; height: 150px; border-radius: 14px; }
  .offers { grid-template-columns: repeat(3, 1fr); }

  .chef-gallery { grid-template-columns: repeat(4, 1fr); }
  .chef-gallery .span2 { grid-column: span 2; }

  .infos-grid { grid-template-columns: 1fr 1fr; }
  .map-frame iframe { height: 300px; }

  .footer-inner { grid-template-columns: 1fr auto 1fr; text-align: left; justify-items: start; align-items: center; }
  .footer-inner .footer-fine { justify-self: end; }
}
