/* 'o sole mio — landing fedele al PDF (Fase 1, solo IT).
   Navy + oro, marmo, font liberi self-hostati. Niente JS: tutto visibile di default. */

/* ---- Font liberi (sostituti dei commerciali del PDF: Butler/Abril->Playfair, Montserrat Alternates diretto) ---- */
@font-face { font-family: "Playfair Display"; src: url(assets/fonts/playfair-var.woff2) format("woff2");
  font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat Alternates"; src: url(assets/fonts/montserrat-alt-500.woff2) format("woff2");
  font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat Alternates"; src: url(assets/fonts/montserrat-alt-500i.woff2) format("woff2");
  font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Montserrat Alternates"; src: url(assets/fonts/montserrat-alt-600.woff2) format("woff2");
  font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --navy-bg: #112952;     /* sfondo navy (cover/footer) */
  --navy: #0a3a72;        /* nomi piatti, titoli navy, numeri allergeni */
  --gold: #c8a24e;        /* titoli sezione, note, sottotitolo, footer */
  --gold-soft: #b89863;   /* note secondarie piu' tenui */
  --ink: #3a3a3a;         /* descrizioni (grigio scuro italico) */
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Montserrat Alternates", system-ui, -apple-system, Segoe UI, sans-serif;
  --maxw: 700px;
  --pad: 9%;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #f3f5f6;
  color: var(--navy);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
}
/* Marmo chiaro fisso dietro tutto (le sezioni sono trasparenti e lo mostrano).
   Layer fisso via pseudo-elemento invece di background-attachment:fixed -> niente jank iOS. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: url(assets/img/bg-light.jpg) top center / cover no-repeat;
}

/* ---- HERO (cover del PDF: logo oro + MENU su marmo navy) ----
   Tutto il menù = "foglio" largo --maxw centrato; fuori dal foglio (solo desktop)
   resta il marmo chiaro del body. Su mobile (<maxw) il foglio e' a tutta larghezza
   = identico al PDF, niente bande/cuciture. */
.hero {
  background: var(--navy-bg);
  max-width: var(--maxw);
  margin: 0 auto;
}
.hero__cover {
  display: block;
  width: 100%;
  height: auto;
}

main {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad) 1rem;
}

/* ---- LA NOSTRA STORIA ---- */
.storia { padding: 3.2rem 0 1.2rem; }
.storia__title {
  font-family: var(--serif);
  font-weight: 800;
  color: var(--navy);
  font-size: 2.35rem;
  line-height: 1.05;
  margin: 0 0 1.1rem;
}
.storia__sub {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--gold);
  font-size: 1.5rem;
  margin: 0 0 1.4rem;
}
.storia__body p {
  font-family: var(--sans);
  font-style: italic;
  font-weight: 500;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.65;
  margin: 0 0 1.05rem;
}

/* ---- SEZIONI MENU ---- */
.section { margin: 2.7rem 0 0; }
.section__title {
  font-family: var(--serif);
  font-weight: 700;
  color: var(--gold);
  font-size: 1.8rem;
  letter-spacing: 0.01em;
  margin: 0 0 1.35rem;
}
.dishes { display: flex; flex-direction: column; gap: 1.15rem; }

.dish__row {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
}
.dish__name {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--navy);
  font-size: 1.06rem;
  line-height: 1.2;
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  overflow-wrap: break-word;
}
.dish__alg {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.58em;
  color: var(--navy);
  vertical-align: super;
  margin-left: 0.25em;
  letter-spacing: 0.02em;
}
.dish__note {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.72rem;
  color: var(--gold);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.dish__note2 {
  font-family: var(--sans);
  font-style: italic;
  font-weight: 500;
  font-size: 0.72rem;
  color: var(--gold-soft);
}
.dish__price {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--navy);
  font-size: 1.06rem;
  white-space: nowrap;
  flex: 0 0 auto;
}
.dish__unit {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.72rem;
  color: var(--gold);
  margin-right: 0.5rem;
  letter-spacing: 0.02em;
}
.dish__desc {
  font-family: var(--sans);
  font-style: italic;
  font-weight: 500;
  color: var(--ink);
  font-size: 0.85rem;
  line-height: 1.4;
  margin: 0.28rem 0 0;
  padding-right: 2.5rem;
}

/* ---- ALLERGENI (legenda p11) ---- */
.allergeni { padding: 3.2rem 0 1rem; }
.allergeni__logo {
  display: block;
  width: 230px;
  max-width: 70%;
  height: auto;
  margin: 0 auto 0.5rem;
}
.allergeni__ristorante {
  font-family: var(--sans);
  font-weight: 600;
  color: var(--navy);
  font-size: 0.82rem;
  letter-spacing: 0.42em;
  text-align: center;
  text-indent: 0.42em;
  white-space: nowrap;
  margin: 0 0 2.2rem;
}
.allergeni__intro {
  font-family: var(--sans);
  font-weight: 500;
  color: var(--navy);
  font-size: 0.92rem;
  line-height: 1.5;
  margin: 0 0 1.3rem;
}
.allergeni__grid { margin: 0 0 1.4rem; }
.alg {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  line-height: 1.7;
}
.alg__n {
  font-family: var(--sans);
  font-weight: 600;
  color: var(--gold);
  width: 1.4rem;
  flex: 0 0 auto;
  text-align: left;
}
.alg__t {
  font-family: var(--sans);
  font-weight: 500;
  color: var(--navy);
  font-size: 0.95rem;
}
.allergeni__info, .allergeni__frozen {
  font-family: var(--sans);
  font-weight: 500;
  color: var(--navy);
  font-size: 0.86rem;
  line-height: 1.55;
  margin: 0 0 1.1rem;
}

/* ---- FOOTER (chiusura p12: marmo navy + grazie + social) ---- */
.footer {
  background: var(--navy-bg) url(assets/img/bg-navy.jpg) center / cover no-repeat;
  color: var(--gold);
  text-align: center;
  padding: 4.5rem 1.5rem 3.5rem;
  max-width: var(--maxw);
  margin: 3rem auto 0;
}
.footer__thanks {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.4rem;
  color: var(--gold);
  margin: 0 0 3.5rem;
}
.footer__follow {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 1rem;
  margin: 0 0 1rem;
}
.footer__social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.9rem;
  margin: 0 0 0.8rem;
}
.social {
  color: var(--navy-bg);
  background: var(--gold);
  display: inline-flex;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.footer__handle {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  margin: 0.4rem 0 0;
}
