/* ==========================================================================
   Pizza La Fonte — site styles
   Theme: white / orange / light touches of black
   ========================================================================== */

:root {
  --white: #ffffff;
  --off-white: #fff8f1;
  --surface: #fdf3e7;
  --border: #f0e2d2;
  --orange: #e8850f;
  --orange-dark: #c96d05;
  --orange-light: #fff1e0;
  --orange-glow: rgba(232, 133, 15, 0.28);
  --black: #151515;
  --ink: #1f1f1f;
  --muted: #5f5a54;
  --font: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 14px 40px rgba(60, 30, 0, 0.12);
  --shadow-sm: 0 4px 14px rgba(60, 30, 0, 0.08);
  --container: 1140px;
  --header-h: 78px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.6;
  color: var(--ink); background: var(--white); color-scheme: light; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.12; margin: 0 0 0.5em; font-weight: 800; letter-spacing: -0.015em; color: var(--black); }
h1 { font-size: clamp(2.3rem, 5.5vw, 3.9rem); }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.skip-link {
  position: absolute; top: -100px; left: 1rem; z-index: 1000; background: var(--black); color: #fff;
  padding: 0.6rem 1rem; border-radius: var(--radius-sm); font-weight: 700; transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

/* Buttons ------------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 0.85rem 1.6rem; border-radius: 999px; font-weight: 700; font-size: 1rem;
  border: 2px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 8px 24px var(--orange-glow); }
.btn-primary:hover { background: var(--orange-dark); }
.btn-dark { background: var(--black); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-outline { border-color: var(--black); color: var(--black); background: transparent; }
.btn-outline:hover { background: var(--black); color: #fff; }
.btn-lg { padding: 1rem 2rem; font-size: 1.1rem; }

/* Header ------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: border-color 0.2s, box-shadow 0.2s;
}
.site-header.is-scrolled { border-bottom-color: var(--border); box-shadow: 0 4px 24px rgba(60, 30, 0, 0.08); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 54px; width: auto; }

.nav-toggle { display: none; background: none; border: 0; padding: 0.5rem; cursor: pointer; color: var(--black); width: 44px; height: 44px; border-radius: var(--radius-sm); }
.nav-toggle .bar { display: block; width: 24px; height: 2.5px; background: currentColor; margin: 5px auto; border-radius: 2px; transition: transform 0.25s, opacity 0.25s; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.site-nav ul { display: flex; align-items: center; gap: 0.25rem; }
.site-nav a { display: inline-flex; align-items: center; padding: 0.55rem 0.95rem; border-radius: 999px; font-weight: 600; color: var(--muted); transition: color 0.2s, background 0.2s; }
.site-nav a:hover { color: var(--black); background: var(--orange-light); }
.site-nav a[aria-current="page"] { color: var(--black); }
.site-nav a.btn { color: #fff; margin-left: 0.5rem; padding: 0.6rem 1.25rem; background: var(--orange); }
.site-nav a.btn:hover { background: var(--orange-dark); }

@media (max-width: 760px) {
  .nav-toggle { display: inline-block; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--border);
    padding: 0.75rem 1.25rem 1.25rem; box-shadow: var(--shadow);
    transform: translateY(-8px); opacity: 0; visibility: hidden; pointer-events: none;
    transition: transform 0.2s, opacity 0.2s, visibility 0.2s;
  }
  .site-nav.is-open { transform: none; opacity: 1; visibility: visible; pointer-events: auto; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0.25rem; }
  .site-nav a { padding: 0.85rem 1rem; border-radius: var(--radius-sm); font-size: 1.05rem; }
  .site-nav a.btn { margin: 0.5rem 0 0; justify-content: center; }
}

/* Hero --------------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--off-white), #fff 70%); padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3rem, 7vw, 5rem); }
.hero::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; background: var(--orange); opacity: 0.12; filter: blur(60px); top: -200px; right: -120px; pointer-events: none; }
.hero .container { display: grid; gap: 2.5rem; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .hero .container { grid-template-columns: 1.05fr 1fr; gap: 3.5rem; } }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.4rem 0.95rem; border-radius: 999px;
  background: var(--orange-light); border: 1px solid #f9dcb8; font-size: 0.9rem; font-weight: 700; color: var(--orange-dark); margin-bottom: 1.25rem;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px var(--orange-glow); }
.hero h1 span { color: var(--orange); }
.hero .lead { font-size: clamp(1.1rem, 2.2vw, 1.3rem); color: var(--muted); max-width: 560px; margin: 0 0 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin-top: 2rem; color: var(--muted); font-size: 0.95rem; }
.hero-meta li { display: inline-flex; align-items: center; gap: 0.45rem; }
.hero-meta svg { width: 18px; height: 18px; color: var(--orange); }
.hero-media { position: relative; }
.hero-media .photo { border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; }
.hero-media .photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute; left: -1rem; bottom: -1.25rem; background: var(--black); color: #fff; padding: 1rem 1.3rem; border-radius: 18px;
  box-shadow: var(--shadow); display: flex; align-items: center; gap: 0.85rem; max-width: 300px;
}
.hero-badge .badge-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--orange); display: grid; place-items: center; flex: none; }
.hero-badge .badge-icon svg { width: 26px; height: 26px; color: #fff; }
.hero-badge strong { display: block; font-size: 1.05rem; line-height: 1.2; }
.hero-badge span { font-size: 0.85rem; opacity: 0.8; }
@media (max-width: 899px) { .hero-badge { left: 1rem; bottom: -1rem; } .hero-media { margin-bottom: 1.5rem; } }

/* Sections ----------------------------------------------------------------- */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-alt { background: var(--surface); }
.section-tight { padding-top: 0; }
.section-head { max-width: 640px; margin-bottom: 2.5rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.kicker { color: var(--orange); font-weight: 800; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.8rem; margin-bottom: 0.6rem; }
.section-head p:not(.kicker), .section-copy { color: var(--muted); margin: 0; }

.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: 1fr; }
@media (min-width: 700px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }

.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem;
  position: relative; overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); border-color: #f5c58a; box-shadow: var(--shadow); }
.card-icon { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 1.1rem; background: var(--orange-light); color: var(--orange); }
.card-icon svg { width: 30px; height: 30px; }
.card:nth-child(even) .card-icon { background: var(--black); color: var(--orange); }
.card p { color: var(--muted); margin: 0; }
.card h3 { margin-bottom: 0.4rem; }

/* Menu cards with photos */
.menu-card { padding: 0; display: flex; flex-direction: column; }
.menu-card .menu-photo { aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface); }
.menu-card .menu-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.menu-card:hover .menu-photo img { transform: scale(1.05); }
.menu-card .menu-body { padding: 1.4rem 1.5rem 1.6rem; }
.menu-card .menu-icon { aspect-ratio: 4 / 3; display: grid; place-items: center; background: linear-gradient(135deg, var(--orange-light), #fff); color: var(--orange); }
.menu-card .menu-icon svg { width: 72px; height: 72px; }
.menu-strip { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 2rem; justify-content: center; }
.menu-strip li { padding: 0.45rem 0.95rem; border-radius: 999px; border: 1px solid var(--border); background: #fff; color: var(--ink); font-size: 0.95rem; font-weight: 600; }
.center-cta { text-align: center; margin-top: 2rem; }

/* Gallery ------------------------------------------------------------------ */
.gallery { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .gallery { grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: 240px 240px; } .gallery .tall { grid-row: span 2; } }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; position: relative; box-shadow: var(--shadow-sm); min-height: 180px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery figcaption {
  position: absolute; inset: auto 0 0 0; padding: 2rem 1rem 0.9rem; color: #fff; font-weight: 600; font-size: 0.95rem;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,0.65));
}

/* Apps --------------------------------------------------------------------- */
.apps { display: grid; gap: 2.5rem; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 860px) { .apps { grid-template-columns: 1.1fr 1fr; } }
.store-badges { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 1.5rem; }
.store-badge {
  display: inline-flex; align-items: center; gap: 0.75rem; padding: 0.65rem 1.1rem 0.65rem 0.85rem; color: #fff;
  background: var(--black); border: 1.5px solid var(--black); border-radius: 12px; min-width: 190px; transition: transform 0.15s, background 0.2s;
}
.store-badge:hover { background: #000; transform: translateY(-2px); }
.store-badge svg { width: 30px; height: 30px; flex: none; }
.store-badge small { display: block; font-size: 0.68rem; opacity: 0.8; letter-spacing: 0.02em; line-height: 1.2; }
.store-badge strong { display: block; font-size: 1.15rem; line-height: 1.15; font-weight: 700; }
.app-visual { border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; position: relative; }
.app-visual img { width: 100%; height: 100%; object-fit: cover; }
.app-visual .tag { position: absolute; top: 1rem; left: 1rem; background: var(--orange); color: #fff; font-weight: 700; padding: 0.4rem 0.9rem; border-radius: 999px; font-size: 0.9rem; box-shadow: var(--shadow-sm); }

/* Contact ------------------------------------------------------------------ */
.contact-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.contact-card a.link { color: var(--orange-dark); font-weight: 700; }
.contact-card a.link:hover { text-decoration: underline; }
.contact-card .big { font-size: 1.35rem; font-weight: 700; color: var(--black); }
.contact-card .big a { white-space: nowrap; }
.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); background: var(--surface); margin-top: 2rem; box-shadow: var(--shadow-sm); }
.map-wrap iframe { display: block; width: 100%; height: 420px; border: 0; }

.social-list { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.social-list a {
  display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.55rem 1rem; border-radius: 999px;
  background: #fff; border: 1px solid var(--border); font-weight: 600; font-size: 0.95rem; color: var(--ink);
  transition: color 0.2s, border-color 0.2s, transform 0.15s, background 0.2s;
}
.social-list a:hover { border-color: var(--orange); background: var(--orange-light); transform: translateY(-2px); }
.social-list svg { width: 20px; height: 20px; color: var(--orange); }

/* CTA band ----------------------------------------------------------------- */
.cta-band { background: var(--orange); padding: clamp(3rem, 7vw, 4.5rem) 0; text-align: center; color: #fff; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: #fff; opacity: 0.12; top: -220px; left: -120px; }
.cta-band h2 { color: #fff; margin-bottom: 0.5rem; }
.cta-band p { max-width: 560px; margin: 0 auto 1.5rem; opacity: 0.95; }
.cta-band .btn { background: var(--black); color: #fff; box-shadow: 0 10px 30px rgba(0,0,0,0.2); }
.cta-band .btn:hover { background: #000; }

/* Inner page hero ---------------------------------------------------------- */
.page-hero { padding: clamp(3rem, 7vw, 5rem) 0 clamp(2rem, 5vw, 3rem); background: linear-gradient(180deg, var(--off-white), #fff); }
.page-hero p { color: var(--muted); max-width: 640px; margin: 0; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 0.4rem; font-size: 0.9rem; color: var(--muted); margin-bottom: 1.25rem; }
.breadcrumb a:hover { color: var(--black); text-decoration: underline; }
.breadcrumb li + li::before { content: "/"; margin-right: 0.4rem; opacity: 0.5; }

/* Footer ------------------------------------------------------------------- */
.site-footer { background: var(--black); color: #cfcac4; padding: 3.5rem 0 2rem; font-size: 0.95rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.footer-grid h3 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--orange); margin-bottom: 1rem; }
.footer-grid li + li { margin-top: 0.5rem; }
.footer-grid a:hover { color: #fff; text-decoration: underline; }
.footer-brand img { height: 56px; width: auto; margin-bottom: 1rem; }
.footer-phone { margin-top: 0.5rem; }
.footer-bottom { border-top: 1px solid #2c2c2c; margin-top: 2.5rem; padding-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 0.75rem 2rem; justify-content: space-between; font-size: 0.9rem; }
.footer-bottom-plain { border-top: 0; margin-top: 0; padding-top: 0; }
.footer-bottom a { color: var(--orange); font-weight: 600; }
.footer-bottom a:hover { text-decoration: underline; }

/* Reveal ------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card, .store-badge, .social-list a, .menu-card .menu-photo img { transition: none; }
}

/* Error page --------------------------------------------------------------- */
.error-page { text-align: center; padding: clamp(5rem, 15vw, 9rem) 0; }
.error-page .code { font-size: clamp(5rem, 18vw, 9rem); font-weight: 800; line-height: 1; color: var(--orange); margin: 0; }

/* Discount banner ---------------------------------------------------------- */
.promo-banner { background: var(--black); color: #fff; }
.promo-link {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0.6rem 1rem;
  padding: 0.7rem 0; font-size: 0.98rem; line-height: 1.35; text-align: center; transition: opacity 0.2s;
}
.promo-link:hover { opacity: 0.92; }
.promo-link:hover .promo-cta { text-decoration: underline; }
.promo-pill { background: var(--orange); color: #fff; font-weight: 800; padding: 0.3rem 0.8rem; border-radius: 999px; font-size: 0.85rem; letter-spacing: 0.04em; flex: none; }
.promo-text strong { color: var(--orange); }
.promo-text small { font-size: 0.85em; opacity: 0.75; }
.promo-cta { display: inline-flex; align-items: center; gap: 0.35rem; font-weight: 700; color: #fff; flex: none; }
.promo-cta svg { width: 1.1em; height: 1.1em; }
.hero-stamp {
  position: absolute; z-index: 2; top: -2.25rem; right: -1.25rem; width: clamp(110px, 14vw, 160px); height: auto;
  transform: rotate(12deg); filter: drop-shadow(0 8px 18px rgba(0,0,0,0.18));
  animation: stamp-in 0.6s cubic-bezier(0.2, 1.4, 0.4, 1) both;
}
@keyframes stamp-in { from { opacity: 0; transform: rotate(12deg) scale(1.6); } to { opacity: 1; transform: rotate(12deg) scale(1); } }
@media (max-width: 899px) { .hero-stamp { top: -1.5rem; right: 0.25rem; } }
@media (prefers-reduced-motion: reduce) { .hero-stamp { animation: none; } }
.hero-badges { margin-top: 1.1rem; }
.hero-meta a:hover { color: var(--black); text-decoration: underline; }
