/* ==========================================================================
   Vesuvio Nuovo - SITO DIMOSTRATIVO realizzato da Vela Studio
   Pizzeria finta: nomi, dati e foto sono inventati (foto generate con IA).
   Look: rosso pomodoro, crema, titoli larghi e pesanti.
   ========================================================================== */

/* Font salvati nella cartella font/ (vedi font/LEGGIMI.txt): la pagina non chiama Google. */
@font-face {
  font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap;
  src: url("font/Archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Figtree"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("font/Figtree-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


:root {
  --pomodoro: #C73222;
  --pomodoro-scuro: #8E1F16;
  --crema: #FFF6EC;
  --crema-2: #F7E8D5;
  --inchiostro: #2A1512;
  --testo-2: #6B4A42;

  --font-titoli: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --font-testo: "Figtree", "Segoe UI", system-ui, sans-serif;

  --r-l: 24px;
  --r-m: 12px;
  --col: 1160px;
  --gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: light; -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0; background: var(--crema); color: var(--inchiostro);
  font: 400 1.0625rem/1.65 var(--font-testo); -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
picture { display: contents; } /* il contenitore delle foto (versioni per telefono e per computer) non deve cambiare il layout */

:focus-visible { outline: 3px solid var(--pomodoro-scuro); outline-offset: 3px; border-radius: 6px; }
.testata :focus-visible, .hero :focus-visible, .piede :focus-visible { outline-color: var(--crema); }

h1, h2, h3 {
  font-family: var(--font-titoli); font-weight: 800; font-stretch: 112%;
  line-height: 1.04; letter-spacing: -0.02em; text-wrap: balance;
}
h1 { font-size: clamp(2.3rem, 5.4vw, 4.1rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.25rem; }

.wrap { width: min(100% - 2 * var(--gutter), var(--col)); margin-inline: auto; }
.sezione { padding-block: clamp(56px, 8vw, 104px); }
.intro { margin-top: 14px; max-width: 56ch; color: var(--testo-2); }

/* ---------- Striscia "sito dimostrativo" (colori di Vela Studio) ---------- */
.demo-banner {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px;
  padding: 10px var(--gutter); background: #16131E; color: #fff;
  font-size: 0.875rem; line-height: 1.4; text-align: center;
}
.demo-banner a { color: #C4B5FD; font-weight: 600; text-underline-offset: 3px; }

/* ---------- Pulsanti ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 1.6rem; border: 2px solid transparent; border-radius: 999px;
  font: 700 1rem/1 var(--font-testo); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn:active { transform: translateY(1px) scale(0.98); }
.btn--piccolo { min-height: 42px; padding: 0 1.15rem; font-size: 0.95rem; }
.btn--crema { background: var(--crema); color: var(--pomodoro-scuro); }
.btn--crema:hover { background: #fff; }
.btn--linea { border-color: var(--crema); color: var(--crema); }
.btn--linea:hover { background: var(--crema); color: var(--pomodoro-scuro); }
.btn--rosso { background: var(--pomodoro); color: var(--crema); }
.btn--rosso:hover { background: var(--pomodoro-scuro); }

/* ---------- Barra in alto ---------- */
.testata { position: sticky; top: 0; z-index: 40; background: var(--pomodoro); color: var(--crema); }
.testata__in { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.logo {
  margin-right: auto; font: 800 1.3rem var(--font-titoli); font-stretch: 118%;
  letter-spacing: -0.02em; text-decoration: none;
}
.nav { display: flex; gap: 24px; }
.nav a { padding: 0.4rem 0.1rem; font-weight: 500; text-decoration: none; }
.nav a:hover { text-decoration: underline; text-underline-offset: 6px; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(32px, 5vw, 64px) clamp(48px, 7vw, 88px); background: var(--pomodoro); color: var(--crema); }
.hero__griglia {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px); align-items: center;
}
.stato {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px;
  padding: 0.4rem 0.95rem; border-radius: 999px;
  background: rgba(255, 246, 236, 0.16); font-size: 0.95rem; font-weight: 600;
}
.stato::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--crema); }
.stato[data-stato="aperto"]::before { background: #7BE08F; }
.lead { margin-top: 20px; max-width: 34ch; font-size: clamp(1.1rem, 1.6vw, 1.25rem); }
.azioni { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero__foto img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-l);
  box-shadow: 0 30px 50px -30px rgba(42, 21, 18, 0.75);
}

/* ---------- Menu ---------- */
.menu__griglia {
  margin-top: 44px; display: grid; align-items: start;
  grid-template-columns: 1.3fr 1fr 1fr; gap: clamp(28px, 4vw, 56px);
}
.gruppo h3 { margin-bottom: 20px; color: var(--pomodoro); }
.voce { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; margin-bottom: 18px; }
.voce strong { font-weight: 700; }
.voce__prezzo { font: 700 1rem var(--font-titoli); font-stretch: 110%; white-space: nowrap; }
.voce p { grid-column: 1; font-size: 0.95rem; line-height: 1.45; color: var(--testo-2); }

/* ---------- Il forno: foto larga con la scheda sopra ---------- */
.forno { padding-bottom: clamp(56px, 8vw, 104px); }
.forno__box { position: relative; }
.forno__box img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; object-position: 50% 36%; border-radius: var(--r-l); }
.forno__card {
  position: absolute; left: clamp(16px, 3vw, 40px); bottom: clamp(16px, 3vw, 40px);
  max-width: 400px; padding: 26px 28px; background: var(--pomodoro); color: var(--crema); border-radius: var(--r-m);
}
.forno__card h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.forno__card p { margin-top: 10px; }

/* ---------- Prenota ---------- */
.prenota { background: var(--crema-2); }
.prenota__griglia {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px); align-items: center;
}
.prenota__foto img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-l); }
.telefono {
  display: inline-block; margin: 18px 0 26px; color: var(--pomodoro);
  font: 800 clamp(1.8rem, 4vw, 2.6rem) var(--font-titoli); font-stretch: 112%;
  letter-spacing: -0.02em; text-decoration: none;
}

/* ---------- Orari e dove siamo ---------- */
.info__griglia { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); }
.info h3 { margin-bottom: 14px; color: var(--pomodoro); }
.info p { margin-bottom: 14px; color: var(--testo-2); }
.info strong { color: var(--inchiostro); }

/* ---------- Piè di pagina ---------- */
.piede { padding-block: 36px; background: var(--pomodoro); color: var(--crema); }
.piede__in { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; }
.piede p { margin-right: auto; font-size: 0.95rem; }
.piede a { font-weight: 600; }

/* ---------- Schermi piccoli: tutto in una colonna ---------- */
@media (max-width: 860px) {
  .nav { display: none; }
  .hero__griglia, .prenota__griglia, .info__griglia { grid-template-columns: minmax(0, 1fr); }
  .menu__griglia { grid-template-columns: minmax(0, 1fr); }
  .forno__box img { aspect-ratio: 4 / 3; }
  .forno__card { position: relative; left: auto; bottom: auto; max-width: none; margin: -28px 16px 0; }
}
