/* Zerilli · Link e Menu · stile comune (17 novembre 2026)
   Font con licenza OFL, gli stessi della pagina Pausa calda. */

@font-face {
  font-family: "Playfair Display";
  src: url("font/playfair.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Montserrat;
  src: url("font/montserrat.woff2") format("woff2");
  font-weight: 400 750;
  font-display: swap;
}
@font-face {
  font-family: Sacramento;
  src: url("font/sacramento.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: light;
  --z-crema: #f2e8d5;
  --z-crema-2: #ebdfc8;
  --z-carta: #fbf7ee;
  --z-bianco: #fffcf6;
  --z-verde: #003d32;
  --z-verde-2: #0a4a3d;
  --z-profondo: #012c25;
  --z-inchiostro: #193e33;
  --z-salvia: #758c76;
  --z-salvia-testo: #4e6353;
  --z-oro: #c5a059;
  --z-oro-scuro: #87622c;
  --z-oro-chiaro: #f0d7ad;
  --z-ardesia: #23343a;
  --z-bordo: #e2d6bf;
  --z-errore: #a23b2a;
  --z-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --z-sans: Montserrat, "Segoe UI", Roboto, Arial, sans-serif;
  --z-firma: Sacramento, "Brush Script MT", cursive;
  --z-ombra: 0 22px 44px -26px rgba(1, 44, 37, 0.45), 0 2px 6px rgba(1, 44, 37, 0.06);
  --z-ombra-lieve: 0 12px 28px -20px rgba(1, 44, 37, 0.35);
  --z-curva: 22px;
}

.zl-pagina {
  margin: 0;
  min-height: 100vh;
  background: var(--z-crema);
  color: var(--z-inchiostro);
  font-family: var(--z-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
}
/* Le regole di base hanno peso zero (:where), così non coprono i colori dei componenti */
:where(.zl-pagina) *,
:where(.zl-pagina) *::before,
:where(.zl-pagina) *::after { box-sizing: border-box; }
:where(.zl-pagina) img { display: block; max-width: 100%; height: auto; }
:where(.zl-pagina) a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
:where(.zl-pagina) button,
:where(.zl-pagina) input { font: inherit; color: inherit; }
:where(.zl-pagina) :is(h1, h2, h3, p, ul, ol, figure) { margin: 0; padding: 0; }
:where(.zl-pagina) :is(ul, ol) { list-style: none; }
.zl-pagina [hidden] { display: none !important; }
:where(.zl-pagina) :focus-visible { outline: 3px solid var(--z-oro); outline-offset: 3px; border-radius: 6px; }

.zl-salta {
  position: absolute; left: 12px; top: -80px; z-index: 50;
  background: var(--z-verde); color: #fff !important; padding: 10px 16px; border-radius: 10px;
}
.zl-salta:focus { top: 12px; }
.zl-nascosto {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Occhiello: la riga piccola in maiuscolo sopra i titoli */
.zl-occhiello {
  font-size: 10.5px;
  font-weight: 650;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1.5;
  color: var(--z-oro-scuro);
}
.zl-firma { font-family: var(--z-firma); font-weight: 400; letter-spacing: 0; }

/* Pulsanti */
.zl-bottone {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 22px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 650;
  letter-spacing: 0.01em;
  line-height: 1.2;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.zl-bottone:active { transform: scale(0.97); }
.zl-bottone svg { width: 18px; height: 18px; flex-shrink: 0; }
.zl-bottone-oro {
  background: linear-gradient(135deg, #e7c88f 0%, var(--z-oro) 48%, #ad8441 100%);
  color: var(--z-profondo);
  box-shadow: 0 10px 24px -12px rgba(197, 160, 89, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.zl-bottone-oro::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.55) 48%, transparent 66%);
  transform: translateX(-120%);
  animation: zlLuccica 4.8s ease-in-out 1.6s infinite;
}
.zl-bottone-verde { background: var(--z-verde); color: var(--z-bianco); box-shadow: 0 10px 24px -14px rgba(0, 61, 50, 0.9); }
.zl-bottone-verde:hover { background: var(--z-verde-2); }
.zl-bottone-crema { background: var(--z-bianco); color: var(--z-profondo); }
.zl-bottone-linea { background: transparent; border-color: currentColor; }

@keyframes zlLuccica {
  0%, 62% { transform: translateX(-120%); }
  80%, 100% { transform: translateX(120%); }
}
@keyframes zlEntra {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

/* ── Lista WhatsApp (sostituisce il Club con l'email) ───────────────────── */
.zl-wa,
:where(.zl-wa) *,
:where(.zl-wa) *::before,
:where(.zl-wa) *::after { box-sizing: border-box; }
:where(.zl-wa) :is(h2, h3, p) { margin: 0; padding: 0; }
:where(.zl-wa) a { text-decoration: none; }
.zl-wa [hidden] { display: none !important; }
.zl-wa {
  font-family: var(--z-sans);
  color: var(--z-inchiostro);
  line-height: 1.55;
  position: relative;
  background: var(--z-bianco);
  border: 1px solid var(--z-bordo);
  border-radius: var(--z-curva);
  padding: 30px 22px 24px;
  text-align: center;
  box-shadow: var(--z-ombra-lieve);
}
.zl-wa-icona {
  width: 54px; height: 54px; margin: -58px auto 14px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #25d366; color: #fff;
  box-shadow: 0 0 0 6px var(--z-crema), 0 10px 22px -10px rgba(18, 140, 70, 0.8);
}
.zl-wa-icona svg { width: 28px; height: 28px; }
.zl-wa h2 {
  font-family: var(--z-serif); font-weight: 400;
  font-size: 27px; line-height: 1.15; letter-spacing: -0.01em;
  color: var(--z-verde); margin: 8px 0 10px;
}
.zl-wa-testo { font-size: 14px; line-height: 1.6; color: var(--z-salvia-testo); max-width: 360px; margin: 0 auto 18px; }
.zl-wa-form { display: grid; gap: 12px; text-align: left; }
.zl-campo { display: grid; gap: 6px; }
.zl-campo > span { font-size: 11px; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; color: var(--z-salvia-testo); }
.zl-campo input,
.zl-tel {
  width: 100%;
  min-height: 50px;
  border: 1.5px solid #d6cbb4;
  border-radius: 14px;
  background: #fff;
  font-size: 16px;
  color: var(--z-inchiostro);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.zl-campo input { padding: 12px 14px; outline: none; }
.zl-campo input::placeholder { color: #9a9a8c; }
.zl-campo input:focus,
.zl-tel:focus-within { border-color: var(--z-oro); box-shadow: 0 0 0 4px rgba(197, 160, 89, 0.18); }
.zl-tel { display: flex; align-items: stretch; overflow: hidden; }
.zl-tel .zl-prefisso {
  display: flex; align-items: center; gap: 6px;
  padding: 0 12px 0 14px;
  background: var(--z-carta);
  border-right: 1.5px solid #e4dac6;
  font-size: 15px; font-weight: 600; color: var(--z-inchiostro);
  white-space: nowrap;
}
.zl-tel input { border: 0; border-radius: 0; min-height: 0; flex: 1; min-width: 0; box-shadow: none !important; }
.zl-trappola { position: absolute !important; left: -5000px !important; width: 1px; height: 1px; opacity: 0; }
.zl-consenso {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 12px; line-height: 1.5; color: var(--z-salvia-testo);
  cursor: pointer;
}
.zl-consenso input { width: 20px; height: 20px; margin: 1px 0 0; flex-shrink: 0; accent-color: var(--z-verde); }
.zl-consenso a { color: var(--z-oro-scuro); text-decoration: underline; text-underline-offset: 2px; }
.zl-wa-form .zl-bottone { width: 100%; margin-top: 4px; }
.zl-wa-form .zl-bottone[disabled] { opacity: 0.65; cursor: default; }
.zl-wa-messaggio { font-size: 13px; text-align: center; color: var(--z-errore); line-height: 1.5; }
.zl-wa-messaggio a { text-decoration: underline; font-weight: 600; }
.zl-wa-fatto { display: grid; gap: 12px; justify-items: center; padding-top: 4px; animation: zlEntra 0.5s ease both; }
.zl-wa-fatto h3 { font-family: var(--z-serif); font-weight: 400; font-size: 24px; color: var(--z-verde); }
.zl-wa-fatto p { font-size: 14px; line-height: 1.6; color: var(--z-salvia-testo); max-width: 340px; }
.zl-wa-fatto .zl-bottone { width: 100%; }
.zl-wa .zl-bottone-linea { color: var(--z-verde); border-color: rgba(0, 61, 50, 0.35); }
.zl-wa .zl-occhiello { font-size: 10.5px; font-weight: 650; letter-spacing: 0.2em; text-transform: uppercase; color: var(--z-oro-scuro); }
/* Nelle pagine aperitivo, colazione salata, pranzo… */
.zl-wa-incorporato { max-width: 440px; margin: 46px auto 8px; text-align: center; }
.zl-wa-incorporato .zl-campo > span,
.zl-wa-incorporato .zl-consenso span { text-align: left; }
.zl-wa-incorporato input[type="text"],
.zl-wa-incorporato input[type="tel"] { margin: 0; box-shadow: none; }
.zl-wa-spunta {
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(37, 211, 102, 0.12); color: #128c46;
}
.zl-wa-spunta svg { width: 26px; height: 26px; }

@media (prefers-reduced-motion: reduce) {
  .zl-pagina *,
  .zl-pagina *::before,
  .zl-pagina *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
