/* Sito ZenitPT nello stile B dell'app (29/11/2026, Mattias: «procediamo tutto»): tessere bianche, angoli 16-24 px, tasti a pillola, Inter.
   Base: docs/lavoro-2026-11-29/sito-proposta/proposta/stile.css. In fondo: il 3D del sito di prima (telefono del primo schermo, telefoni in foto, linee 3D di sfondo). */
@font-face { font-family: 'Inter'; font-weight: 100 900; font-display: swap; src: url('./assets/fonts/inter-latin.woff2') format('woff2'); }

:root {
  --sfondo: #f2f2f7; --carta: #fff; --testo: #141418; --tenue: #5c5c66; --linea: rgba(60,60,67,.14);
  --tinta: #094a28; --pieno: #1f7a3f; --su-pieno: #fff; --tinta-bg: rgba(36,138,61,.13); --riemp: rgba(118,118,128,.12);
  --rosso: #a8201a; --rosso-bg: rgba(255,59,48,.1); --ambra: #8a5300; --ambra-bg: #fdf2dc; --logo: #1fd87a;
  --bolla: #fff; --bolla-mia: #dcf8c6; --chat: #efeae2;
  --col: 52px; --g: 16px; --r: 24px; --r-p: 16px;
  --larg: 1120px;
  color-scheme: light;
}
:root[data-tema="scuro"] {
  --sfondo: #0a0f0c; --carta: #141c17; --testo: #f2f5f3; --tenue: #a3b0a8; --linea: rgba(255,255,255,.1);
  --tinta: #3ddc8f; --pieno: #1bc474; --su-pieno: #04140c; --tinta-bg: rgba(61,220,143,.14); --riemp: rgba(255,255,255,.08);
  --rosso: #ff8a7a; --rosso-bg: rgba(255,138,122,.14); --ambra: #ffb44d; --ambra-bg: rgba(255,180,77,.14);
  --bolla: #1f2622; --bolla-mia: #1f4d33; --chat: #0d1511; color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body { font: 400 17px/1.5 Inter, system-ui, -apple-system, 'Segoe UI', sans-serif; background: var(--sfondo); color: var(--testo); font-variant-numeric: tabular-nums; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: var(--tinta); }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; touch-action: manipulation; }
:focus-visible { outline: 3px solid var(--pieno); outline-offset: 3px; border-radius: 8px; }
.salta { position: fixed; left: 12px; top: -80px; z-index: 50; background: var(--pieno); color: var(--su-pieno); padding: 12px 18px; border-radius: 999px; font-weight: 650; text-decoration: none; }
.salta:focus { top: 12px; }
.ico { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.giro { max-width: var(--larg); margin: 0 auto; padding-left: max(var(--g), env(safe-area-inset-left)); padding-right: max(var(--g), env(safe-area-inset-right)); }

/* ---- testata ---- */
.testata { position: sticky; top: 0; z-index: 20; padding-top: 10px; }
.barra { display: flex; align-items: center; gap: 8px; height: 60px; padding: 0 8px 0 14px; border-radius: 22px; background: color-mix(in srgb, var(--carta) 84%, transparent); backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%); box-shadow: 0 1px 0 var(--linea), 0 8px 24px rgba(0,0,0,.05); }
.marchio { display: flex; align-items: center; gap: 9px; font-weight: 750; font-size: 18px; letter-spacing: -.01em; color: var(--testo); text-decoration: none; min-height: 44px; }
.logo { width: 30px; height: 30px; border-radius: 9px; background: var(--logo); display: grid; place-items: center; }
.logo svg { width: 18px; height: 18px; }
.voci { display: none; }
.barra .spazio { flex: 1; }
.btn.accedi { display: none; }
.menu-t { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--riemp); }
.menu { position: relative; }
.menu > summary { list-style: none; }
.menu > summary::-webkit-details-marker { display: none; }
.menu-f { position: absolute; right: 0; top: 54px; width: min(300px, calc(100vw - 32px)); background: var(--carta); border-radius: var(--r); padding: 8px; box-shadow: 0 12px 40px rgba(0,0,0,.14); display: grid; }
.menu-f a { display: flex; align-items: center; min-height: 48px; padding: 0 14px; border-radius: 14px; color: var(--testo); text-decoration: none; font-weight: 550; }
.menu-f a:hover { background: var(--riemp); }
@media (min-width: 900px) {
  .voci { display: flex; gap: 2px; margin-left: 18px; }
  .voci a { display: inline-flex; align-items: center; height: 40px; padding: 0 14px; border-radius: 999px; color: var(--testo); text-decoration: none; font-weight: 550; font-size: 15px; }
  .voci a:hover { background: var(--riemp); }
  .voci a[aria-current] { background: var(--tinta-bg); color: var(--tinta); }
  .btn.accedi { display: inline-flex; }
  .menu { display: none; }
}

/* ---- tasti ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 650; font-size: 16px; text-decoration: none; white-space: nowrap; }
.btn.pri { background: var(--pieno); color: var(--su-pieno); }
.btn.pri:hover { background: color-mix(in srgb, var(--pieno) 88%, #000); }
.btn.tin { background: var(--tinta-bg); color: var(--tinta); }
.btn.gr { background: var(--riemp); color: var(--testo); }
.btn.picc { min-height: 40px; padding: 0 16px; font-size: 15px; }
.tasti { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---- testi ---- */
.occh { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 650; color: var(--tinta); }
h1 { font-size: clamp(42px, 7.2vw, 80px); line-height: 1.02; font-weight: 800; letter-spacing: -.04em; text-wrap: balance; }
h2 { font-size: clamp(30px, 4.4vw, 48px); line-height: 1.06; font-weight: 780; letter-spacing: -.03em; text-wrap: balance; }
h3 { font-size: 19px; line-height: 1.3; font-weight: 680; letter-spacing: -.01em; }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.45; color: var(--tenue); max-width: 34em; text-wrap: pretty; }
.tenue { color: var(--tenue); }
.picc-t { font-size: 14px; color: var(--tenue); }
.verde { color: var(--pieno); }

/* ---- sezioni ---- */
.sez { padding-top: clamp(64px, 9vw, 112px); }
.sez-testa { display: grid; gap: 12px; margin-bottom: 28px; max-width: 760px; }
.sez-testa.centro { margin-inline: auto; text-align: center; justify-items: center; }

/* ---- carta e righe (grammatica dell'app) ---- */
.carta { background: var(--carta); border-radius: var(--r); overflow: hidden; }
.riga { display: grid; grid-template-columns: var(--col) 1fr auto; align-items: center; gap: 0 12px; min-height: 60px; padding: 10px 18px; position: relative; color: inherit; text-decoration: none; }
.riga + .riga::before { content: ''; position: absolute; top: 0; right: 0; left: calc(18px + var(--col) + 12px); border-top: 1px solid var(--linea); }
.riga .c { font-weight: 700; font-size: 17px; }
.riga .t b { display: block; font-weight: 620; }
.riga .t span { display: block; color: var(--tenue); font-size: 15px; line-height: 1.4; }
.riga .v { display: flex; align-items: center; gap: 8px; color: var(--tenue); font-size: 15px; }
a.riga:hover { background: color-mix(in srgb, var(--riemp) 50%, transparent); }
.tondo { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--tinta-bg); color: var(--tinta); }
.tondo .ico { width: 21px; height: 21px; }
.tondo.ambra { background: var(--ambra-bg); color: var(--ambra); }
.tondo.rosso { background: var(--rosso-bg); color: var(--rosso); }
.tondo.gr { background: var(--riemp); color: var(--testo); }
.chev { width: 16px; height: 16px; stroke: #a1a1aa; }
.stato { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; white-space: nowrap; }
.stato i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.stato.ok { color: var(--pieno); } .stato.ora { color: var(--rosso); } .stato.ambra { color: var(--ambra); }
.etich { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 12.5px; font-weight: 650; background: var(--riemp); color: var(--tenue); white-space: nowrap; }
.etich.arriva { background: var(--ambra-bg); color: var(--ambra); }
.riga .t .etich { display: inline-flex; margin-top: 6px; }
.etich.verde { background: var(--tinta-bg); color: var(--tinta); }

/* ---- tessere ---- */
.tessere { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.tess { background: var(--carta); border-radius: var(--r); padding: 22px 22px 24px; display: grid; gap: 8px; align-content: start; color: inherit; text-decoration: none; position: relative; }
a.tess:hover { box-shadow: 0 0 0 2px var(--tinta-bg) inset; }
.tess .tondo { margin-bottom: 6px; }
.tess p { color: var(--tenue); font-size: 16px; line-height: 1.45; }
.tess .etich { position: absolute; top: 20px; right: 20px; }

/* ---- telefono disegnato ---- */
.tel { width: 300px; max-width: 100%; border-radius: 46px; padding: 10px; background: #141418; box-shadow: 0 30px 60px -20px rgba(0,0,0,.3), 0 0 0 1px rgba(255,255,255,.06) inset; }
.tel-s { border-radius: 37px; overflow: hidden; background: var(--chat); height: 560px; display: flex; flex-direction: column; }
.tel-su { display: flex; align-items: center; gap: 10px; padding: 34px 14px 10px; background: var(--carta); }
.tel-su .av { width: 34px; height: 34px; border-radius: 50%; background: var(--pieno); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 14px; }
.tel-su b { display: block; font-size: 14.5px; }
.tel-su span { display: block; font-size: 12px; color: var(--tenue); }
.chat { padding: 14px 10px; display: grid; gap: 8px; align-content: start; font-size: 14.5px; line-height: 1.38; }
.bolla { background: var(--bolla); border-radius: 16px 16px 16px 6px; padding: 8px 11px 6px; max-width: 86%; box-shadow: 0 1px 1px rgba(0,0,0,.06); }
.bolla.mia { background: var(--bolla-mia); justify-self: end; border-radius: 16px 16px 6px 16px; }
.bolla time { display: block; text-align: right; font-size: 11px; color: var(--tenue); margin-top: 2px; }
.bolla-t { background: var(--bolla); border-radius: 12px; padding: 10px; text-align: center; color: #0b7ad1; font-weight: 600; font-size: 14px; max-width: 86%; }
:root[data-tema="scuro"] .bolla-t { color: #53bdeb; }

/* ---- pie' di pagina ---- */
.piede { margin-top: clamp(72px, 9vw, 120px); padding: 40px 0 calc(40px + env(safe-area-inset-bottom)); border-top: 1px solid var(--linea); font-size: 15px; color: var(--tenue); }
.piede-g { display: grid; gap: 28px; grid-template-columns: 1fr; }
.piede h4 { font-size: 14px; color: var(--testo); margin-bottom: 8px; font-weight: 650; }
.piede ul { list-style: none; padding: 0; display: grid; gap: 2px; }
.piede ul a { color: var(--tenue); text-decoration: none; display: inline-flex; min-height: 36px; align-items: center; }
.piede ul a:hover { color: var(--testo); }
.piede .legale { margin-top: 28px; font-size: 13px; line-height: 1.5; }
@media (min-width: 760px) { .piede-g { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

/* ---- chiusura ---- */
.chiudi { background: var(--carta); border-radius: 32px; padding: clamp(32px, 6vw, 64px); display: grid; gap: 18px; justify-items: center; text-align: center; }

/* ---- domande ---- */
.faq { display: grid; gap: 8px; }
.faq details { background: var(--carta); border-radius: var(--r-p); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; padding: 14px 20px; font-weight: 620; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; width: 10px; height: 10px; border-right: 2px solid var(--tenue); border-bottom: 2px solid var(--tenue); transform: rotate(45deg) translateY(-3px); flex: none; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.faq details > div { padding: 0 20px 18px; color: var(--tenue); display: grid; gap: 10px; }

/* ---- segmento ---- */
.seg { display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: var(--riemp); border-radius: 999px; padding: 3px; }
.seg button { min-height: 40px; border-radius: 999px; padding: 0 18px; font-size: 15px; font-weight: 600; }
.seg button[aria-pressed="true"] { background: var(--carta); box-shadow: 0 1px 3px rgba(0,0,0,.12); }

@media (prefers-reduced-motion: no-preference) {
  .entra { animation: entra .6s cubic-bezier(.2,.7,.2,1) both; }
  .entra.d1 { animation-delay: .08s; } .entra.d2 { animation-delay: .16s; } .entra.d3 { animation-delay: .24s; }
  @keyframes entra { from { opacity: 0; transform: translateY(12px); } }
}

@media (max-width: 600px) {
  .tess { grid-template-columns: 40px 1fr; column-gap: 14px; row-gap: 4px; padding: 18px; }
  .tess .tondo { grid-row: span 2; margin: 0; }
  .tess p { font-size: 15px; }
}
.bolla.mia time { color: color-mix(in srgb, var(--testo) 72%, transparent); }

/* ================================================================ pagine interne (dalla proposta) */
.testa-p { padding-top: clamp(36px, 6vw, 72px); display: grid; gap: 16px; max-width: 820px; }
.testa-p.centro { max-width: none; justify-items: center; text-align: center; }
.nota { font-size: 14px; color: var(--tenue); }
.vh { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.amico-bar { position: relative; z-index: 30; background: var(--pieno); color: var(--su-pieno); text-align: center; padding: 10px 16px; font-size: 15px; font-weight: 550; }
.barra .marchio { flex: none; }
@media (max-width: 380px) { .barra .btn.pri.picc { padding: 0 12px; font-size: 14px; } .barra { gap: 6px; } }

/* ---- Accedi (dialog usato da logic.js) ---- */
html:has(dialog.acc[open]) { overflow: hidden; }
dialog.acc { border: 0; padding: 0; color: var(--testo); background: var(--carta); width: min(440px, calc(100vw - 32px)); border-radius: var(--r); margin: auto; box-shadow: 0 24px 60px rgba(0,0,0,.25); }
dialog.acc::backdrop { background: rgba(10,10,14,.5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.acc__in { padding: 22px; display: grid; gap: 12px; }
.acc__testa { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.acc__testa h2 { font-size: 22px; letter-spacing: -.02em; }
.acc__x { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--riemp); }
.acc__sotto { color: var(--tenue); font-size: 15px; margin-top: -6px; }
.sc { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 76px; padding: 16px 18px; border-radius: var(--r-p); background: var(--riemp); color: var(--testo); text-decoration: none; }
.sc__txt { display: grid; gap: 4px; }
.sc__txt strong { font-weight: 650; }
.sc__txt span { font-size: 14.5px; color: var(--tenue); line-height: 1.45; }
.sc--spenta { opacity: .6; cursor: default; }
.sc__fr { color: var(--tinta); }

/* ---- modulo «Ti richiamiamo noi» (logic.js: #contact-form) ---- */
.modulo { display: grid; gap: 14px; text-align: left; width: 100%; max-width: 560px; margin-inline: auto; }
.form { display: grid; gap: 12px; }
.form.is-hidden { display: none; }
.campo { display: grid; gap: 6px; }
.campo label { font-weight: 600; font-size: 15px; }
.campo small { font-weight: 450; color: var(--tenue); }
.campo input, .campo select, .campo textarea { width: 100%; min-height: 48px; border: 0; border-radius: 14px; background: var(--riemp); padding: 10px 14px; font: inherit; font-size: 17px; color: var(--testo); }
.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.form__error { color: var(--rosso); font-size: 15px; }
.form__hint { font-size: 13.5px; color: var(--tenue); }
.form-success { display: none; background: var(--tinta-bg); border-radius: var(--r-p); padding: 18px; }
.form-success.is-visible { display: block; }
.form-success h3 { margin-bottom: 4px; }
.richiama { width: 100%; }
.richiama > summary { list-style: none; display: flex; justify-content: center; }
.richiama > summary::-webkit-details-marker { display: none; }
.richiama[open] > summary { display: none; }
.richiama .contatti { display: grid; gap: 18px; width: 100%; }
.richiama .contatti p { color: var(--tenue); max-width: 34em; margin-inline: auto; }

/* ---- domande a gruppi ---- */
.gruppo { padding-top: 48px; display: grid; gap: 14px; }
.gruppo h2 { font-size: clamp(24px, 3vw, 32px); }
.dom { display: grid; gap: 8px; max-width: 860px; }

/* ---- funzioni: salti e blocchi ---- */
.salti { position: sticky; top: 76px; z-index: 10; margin-top: 28px; padding: 8px 0; overflow-x: auto; scrollbar-width: none; background: linear-gradient(var(--sfondo) 70%, transparent); }
.salti::-webkit-scrollbar { display: none; }
.salti div { display: flex; gap: 8px; width: max-content; }
.salti a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 999px; background: var(--carta); color: var(--testo); text-decoration: none; font-weight: 600; font-size: 15px; }
.salti a svg { width: 18px; height: 18px; color: var(--tinta); }
.blocco { display: grid; gap: 24px; padding-top: clamp(56px, 7vw, 88px); }
.blocco .sez-testa { margin-bottom: 0; }
.blocco .riga .t b { font-size: 16.5px; }
.blocco .tel3d { display: none; }
@media (min-width: 900px) {
  .blocco { grid-template-columns: .8fr 1.2fr; align-items: start; }
  .blocco .sez-testa { position: sticky; top: 150px; }
  .blocco .tel3d { display: block; margin: 22px 0 0 24px; --tel-l: 180px; }
}

/* ================================================================ 3D (dal sito di prima: home.css 24-27/11, vivo.css 25/11)
   Restano le regole di prima: dietro un telefono non c'è mai un riquadro; nel tema scuro niente bagliori, cerchi o pallini verdi decorativi (Mattias 29/11). */
.f3d { perspective: 1400px; perspective-origin: 50% 30%; }
.f3d__corpo { position: relative; width: var(--tel-l, 260px); aspect-ratio: 1/2; border-radius: calc(var(--tel-l, 260px) * .16); padding: calc(var(--tel-l, 260px) * .035);
  background: linear-gradient(160deg, #2b302d, #0c0f0d 40%, #1b1f1c); transform-style: preserve-3d;
  box-shadow: 1px 1px 0 #3a403c, 2px 2px 0 #303532, 3px 3px 0 #262a28, 4px 4px 0 #1e2220, 5px 5px 0 #171a18, 0 40px 70px -24px rgba(12,26,18,.35), 0 18px 30px -18px rgba(12,26,18,.3);
  transform: var(--tel-giro, rotateX(10deg) rotateY(-16deg) rotateZ(2deg)); }
.f3d__corpo::after { content: ""; position: absolute; top: calc(var(--tel-l, 260px) * .07); left: 50%; width: 28%; height: calc(var(--tel-l, 260px) * .085); transform: translateX(-50%); border-radius: 999px; background: #0c0f0d; z-index: 3; }
.f3d__sc { position: relative; height: 100%; overflow: hidden; border-radius: calc(var(--tel-l, 260px) * .13); background: #f2f2f7; }
.f3d__sc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.f3d__sc::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, rgba(255,255,255,.16), transparent 38%); }
.ft--s { display: none; }
:root[data-tema="scuro"] .ft--s { display: block; } :root[data-tema="scuro"] .ft--c { display: none; }

/* telefoni in foto: girano entrando e salgono/scendono allo scorrere (solo dove il browser lega le animazioni allo scorrimento; altrove restano in posa) */
.tel3d .f3d__corpo { --tel-giro: rotateX(8deg) rotateY(-16deg) rotateZ(2deg); }
.tel3d.dx .f3d__corpo { --tel-giro: rotateX(8deg) rotateY(16deg) rotateZ(-2deg); }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .tel3d .f3d__corpo { animation: t3-gira linear both; animation-timeline: view(); animation-range: entry 0% cover 45%; }
    .tel3d.dx .f3d__corpo { animation-name: t3-gira-dx; }
    .coppia .tel3d:first-child { animation: t3-su linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
    .coppia .tel3d:last-child { animation: t3-giu linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
    .piega { animation: t3-piega linear both; animation-timeline: view(); animation-range: entry 0% entry 90%; transform-origin: 50% 100%; }
  }
}
@keyframes t3-gira { from { transform: rotateX(16deg) rotateY(-38deg) rotateZ(4deg) translateY(40px); } to { transform: rotateX(8deg) rotateY(-16deg) rotateZ(2deg); } }
@keyframes t3-gira-dx { from { transform: rotateX(16deg) rotateY(38deg) rotateZ(-4deg) translateY(40px); } to { transform: rotateX(8deg) rotateY(16deg) rotateZ(-2deg); } }
@keyframes t3-su { from { transform: translateY(40px); } to { transform: translateY(-40px); } }
@keyframes t3-giu { from { transform: translateY(-20px); } to { transform: translateY(36px); } }
@keyframes t3-piega { from { opacity: .35; transform: perspective(900px) translateY(36px) rotateX(18deg); } to { opacity: 1; transform: none; } }

/* due telefoni affiancati (Coach in home) */
.coppia { position: relative; display: flex; justify-content: center; gap: clamp(12px, 5vw, 48px); padding: 10px 0 40px; }
.coppia .tel3d { --tel-l: min(38vw, 220px); }
.coppia .tel3d:last-child { margin-top: 12%; }

/* ---- primo schermo: telefono con spessore su un piano lucido, camera che gira allo scorrere (--k da b.js) e col mouse (--mx/--my) ---- */
.scena3d { position: relative; justify-self: center; width: 100%; }
.set3d { --tel-l: min(58vw, 236px); --vz: 70px; --k: 0; --mx: 0; --my: 0; --pav-riga: rgba(12,26,18,.12); --pav-fondo: rgba(12,26,18,.07); --ombra: rgba(6,20,12,.5); --rifl: .14; --rifl-da: 66%;
  perspective: 900px; perspective-origin: 50% 30%; display: grid; place-items: center; width: 100%; padding: 30px 0 calc(var(--tel-l) * .3);
  opacity: calc(1 - max(0, var(--k) - .3) * 2.5); }
.cam, .cam__in { position: relative; width: var(--tel-l); height: calc(var(--tel-l) * 2); transform-style: preserve-3d; }
.cam { transform: rotateX(calc(16deg + var(--k) * 8deg - var(--my) * 3deg)) rotateY(calc(-22deg + var(--k) * 36deg + var(--mx) * 6deg)); }
.pav { position: absolute; left: 50%; top: 100%; width: calc(var(--tel-l) * 4.2); aspect-ratio: 1; transform: translate(-50%, -50%) rotateX(90deg); pointer-events: none;
  background: radial-gradient(closest-side, var(--pav-fondo), transparent), repeating-linear-gradient(0deg, var(--pav-riga) 0 1px, transparent 1px 46px), repeating-linear-gradient(90deg, var(--pav-riga) 0 1px, transparent 1px 46px);
  background-position: center; -webkit-mask: radial-gradient(closest-side, #000 30%, transparent 92%); mask: radial-gradient(closest-side, #000 30%, transparent 92%); }
.pav__ombra { position: absolute; left: 50%; top: 50%; width: calc(var(--tel-l) * 1.25); height: calc(var(--tel-l) * .2); translate: -50% -50%; border-radius: 50%; background: radial-gradient(closest-side, var(--ombra), transparent); }
.corpo3d { position: absolute; inset: 0; transform-style: preserve-3d; pointer-events: none; }
.corpo3d > i { position: absolute; inset: 0; border-radius: calc(var(--tel-l) * .16); background: #4d5450; transform: translateZ(calc(var(--s) * -2.3px)); }
.corpo3d > i:nth-child(odd) { background: #5f6662; }
.corpo3d > i:last-of-type { background: #1b1f1d; }
.corpo3d .f3d__corpo { position: absolute; inset: 0; width: auto; transform: none; transform-style: flat;
  box-shadow: inset 0 0 0 1.5px #3d4440, inset 0 0 0 4px #0c0f0d; -webkit-box-reflect: below 1px linear-gradient(transparent var(--rifl-da), rgba(0,0,0,var(--rifl))); }
.corpo3d .f3d__sc::after { background: linear-gradient(112deg, transparent calc(4% + var(--k) * 46% + var(--mx) * 8%), rgba(255,255,255,.2) calc(14% + var(--k) * 46% + var(--mx) * 8%), transparent calc(30% + var(--k) * 46% + var(--mx) * 8%)); }
:root[data-tema="scuro"] .set3d { --pav-riga: rgba(255,255,255,.07); --pav-fondo: rgba(255,255,255,.04); --ombra: rgba(0,0,0,.85); --rifl: .2; }

/* la chat nel telefono: sempre chiara come WhatsApp */
.f3d__sc--wa { background: #efeae2; padding-top: calc(var(--tel-l) * .17); font-size: calc(var(--tel-l) * .058); color: #111b21; line-height: 1.35; }
.wa__testa { display: flex; align-items: center; gap: .8em; padding: .7em 1em; background: #fff; border-bottom: 1px solid rgba(0,0,0,.06); font-weight: 620; margin-top: -.2em; }
.wa__testa small { display: block; font-weight: 450; color: #54656f; font-size: .78em; }
.wa__av { width: 2.2em; height: 2.2em; border-radius: .7em; background: var(--logo); display: inline-grid; place-items: center; flex: none; }
.wa__av svg { width: 60%; height: 60%; }
.vola--notifica .wa__av { width: 34px; height: 34px; border-radius: 10px; }
.wa2 { display: flex; flex-direction: column; gap: .5em; padding: .8em .75em; }
.wa2__b { background: #fff; color: #111b21; padding: .55em .75em .6em; border-radius: .25em 1em 1em 1em; max-width: 86%; box-shadow: 0 1px 1px rgba(0,0,0,.08); }
.wa2__b time { display: block; text-align: right; font-size: .72em; color: #4e5e66; margin-top: .1em; }
.wa2__b--io { background: #d9fdd3; align-self: flex-end; border-radius: 1em .25em 1em 1em; }
.spunte2 { color: #2a8fc0; font-weight: 700; letter-spacing: -.15em; margin-left: .2em; }
.wa2__tasto { align-self: flex-start; width: 86%; }
.wa2__tasto span { display: block; text-align: center; background: #fff; color: #027eb5; font-weight: 600; padding: .5em; border-radius: .8em; box-shadow: 0 1px 1px rgba(0,0,0,.08); transition: transform .15s ease, background .15s ease; }
.wa2__tasto span.premuto { transform: scale(.94); background: #e9f6fd; }
.wa2__punti { align-self: flex-start; display: flex; gap: .3em; background: #fff; padding: .7em .8em; border-radius: .25em 1em 1em 1em; }
.wa2__punti i { width: .45em; height: .45em; border-radius: 50%; background: #8696a0; }
[data-solo] { display: none; }
.in-scena [data-p] { opacity: 0; transform: translateY(10px) scale(.97); transition: opacity .35s ease, transform .45s cubic-bezier(.16,1,.3,1); }
.in-scena [data-p].su { opacity: 1; transform: none; }
.in-scena [data-solo].su { display: flex; }

/* fuori dallo schermo: notifica in alto e scheda dell'agenda davanti, tessere dello stile B */
.vola { position: absolute; transform-style: flat; }
.vola--notifica { left: -12%; right: -10%; top: -5%; display: flex; gap: 12px; align-items: center; padding: 10px 14px 10px 10px; border-radius: 20px;
  background: color-mix(in srgb, var(--carta) 90%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 22px 40px -22px rgba(6,20,12,.5); font-size: 13px; line-height: 1.3; color: var(--testo); transform: translateZ(40px); }
.vola--notifica b { display: block; font-weight: 650; font-size: 12px; color: var(--tenue); }
.vola--agenda { left: -62%; bottom: 10%; width: 200px; padding: 12px; border-radius: 20px; background: var(--carta); font-size: 14px; transform: translateZ(var(--vz)) rotateY(10deg); box-shadow: 0 30px 50px -26px rgba(6,20,12,.5); }
.vola--agenda p { font-size: 12px; font-weight: 650; color: var(--tenue); margin-bottom: 8px; }
.ag-riga { display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; padding: 8px 10px; border-radius: 12px; background: var(--tinta-bg); }
.ag-riga span { grid-column: 1; color: var(--tenue); font-size: 13px; }
.ag-riga em { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-style: normal; font-weight: 650; font-size: 12.5px; color: var(--tinta); }
.ag-riga[data-stato="no"] { background: var(--rosso-bg); }
.ag-riga[data-stato="no"] em { color: var(--rosso); }
.ag-riga[data-stato="no"] b { text-decoration: line-through; }
.ag-riga.cambia { animation: z-riga .5s cubic-bezier(.16,1,.3,1); }
@keyframes z-riga { from { transform: translateX(-14px); opacity: .3; } to { transform: none; opacity: 1; } }

@media (min-width: 900px) {
  .set3d { --tel-l: min(270px, 31svh); --vz: 110px; padding: 56px 0 calc(var(--tel-l) * .3); }
}
@media (max-width: 899px) {
  .set3d { --tel-l: min(58vw, 236px); --vz: 50px; padding: 26px 0 calc(var(--tel-l) * .22); }
  .vola--notifica { display: none; }
  .vola--agenda { left: auto; right: -34%; bottom: 4%; width: auto; padding: 8px; font-size: 12.5px; white-space: nowrap; border-radius: 16px; }
  .vola--agenda p { font-size: 11px; margin-bottom: 5px; }
  .cam { transform: rotateX(calc(16deg + var(--k) * 8deg)) rotateY(calc(-22deg + var(--k) * 30deg)); }
}

/* entrata: arriva da lontano, carica, va oltre e si assesta; scheda e notifica escono dallo schermo dopo il corpo.
   Niente opacity animata su .cam/.cam__in: appiattisce il 3D. */
@media (prefers-reduced-motion: no-preference) {
  .cam__in { animation: s-entra 1.5s backwards; }
  .vola--agenda { animation: s-vola 1.1s .55s both; }
  .vola--notifica { animation: s-notifica .9s 1s both; }
  .vola--agenda.sobbalza { animation: s-sobbalzo .5s both; }
}
@keyframes s-entra {
  0% { transform: translateZ(-420px) rotateY(-36deg); animation-timing-function: ease-out; }
  14% { transform: translateZ(-400px) translateY(10px) rotateY(-36deg); animation-timing-function: cubic-bezier(.3,0,.15,1); }
  72% { transform: translateZ(26px) rotateY(5deg); animation-timing-function: ease-in-out; }
  100% { transform: none; }
}
@keyframes s-vola {
  0% { opacity: 0; transform: translateZ(0) translateX(60%) rotateY(0) scale(.5); animation-timing-function: cubic-bezier(.3,0,.15,1); }
  15% { opacity: 1; }
  62% { transform: translateZ(calc(var(--vz) * 1.19)) rotateY(18deg) rotateZ(-4deg) scale(1.04); animation-timing-function: ease-in-out; }
  84% { transform: translateZ(calc(var(--vz) * .96)) rotateY(7deg) rotateZ(1deg); }
  100% { transform: translateZ(var(--vz)) rotateY(10deg); }
}
@keyframes s-notifica {
  0% { opacity: 0; transform: translateZ(10px) translateY(40px) scale(.8); animation-timing-function: cubic-bezier(.3,0,.15,1); }
  60% { opacity: 1; transform: translateZ(52px) translateY(-6px) scale(1.02); }
  100% { transform: translateZ(40px); }
}
@keyframes s-sobbalzo { 0% { transform: translateZ(var(--vz)) rotateY(10deg); } 35% { transform: translateZ(calc(var(--vz) * 1.15)) rotateY(10deg) rotateZ(-2deg); } 100% { transform: translateZ(var(--vz)) rotateY(10deg); } }
@media (prefers-reduced-motion: reduce) { .cam { transform: rotateX(12deg) rotateY(-20deg); } .set3d { opacity: 1; } }

/* ---- linee verdi sottili in 3D dietro il contenuto (vivo.js le crea e scrive --p allo scorrere); nel tema scuro più tenui ---- */
.linee { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; perspective: 900px; perspective-origin: 50% 40%; --p: 0; --lv: rgba(31,122,63,.45); }
.linee__s { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(calc(64deg - var(--p) * 26deg)) rotateZ(calc(var(--p) * -34deg + 12deg)); }
.ln { position: absolute; left: 50%; top: 50%; width: 190vmax; height: 380px; margin: -190px 0 0 -95vmax; overflow: visible;
  transform: translate3d(calc(var(--x) * 1vw + var(--p) * var(--dx) * 1vw), calc(var(--y) * 1vh + var(--p) * var(--dy) * 1vh), calc(var(--z) * 1px)) rotateY(calc(var(--ry) * 1deg + var(--p) * var(--dry) * 1deg)); }
.ln path { fill: none; stroke: var(--lv); stroke-width: 1.2; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.ln:nth-child(1) { --x: -6; --y: -34; --z: -120; --ry: -10; --dx: 14; --dy: 30; --dry: 34; }
.ln:nth-child(2) { --x: 4; --y: -8; --z: 80; --ry: 8; --dx: -22; --dy: -18; --dry: -28; }
.ln:nth-child(3) { --x: -2; --y: 18; --z: -260; --ry: -4; --dx: 10; --dy: -34; --dry: 22; }
.ln:nth-child(4) { --x: 8; --y: 42; --z: 140; --ry: 14; --dx: -16; --dy: -44; --dry: -40; }
.ln:nth-child(5) { --x: -10; --y: -58; --z: -40; --ry: -16; --dx: 26; --dy: 40; --dry: 30; }
.ln:nth-child(6) { --x: 0; --y: 6; --z: -420; --ry: 0; --dx: -8; --dy: 22; --dry: -18; }
@media (max-width: 700px) { .ln:nth-child(n+4) { display: none; } .linee { perspective: 620px; --lv: rgba(31,122,63,.32); } }
@media (min-width: 900px) { .linee { -webkit-mask-image: linear-gradient(90deg, #000 0, rgba(0,0,0,.25) 26%, rgba(0,0,0,.25) 74%, #000 100%); mask-image: linear-gradient(90deg, #000 0, rgba(0,0,0,.25) 26%, rgba(0,0,0,.25) 74%, #000 100%); } }
:root[data-tema="scuro"] .linee { --lv: rgba(111,220,156,.2); }
main, .piede { position: relative; z-index: 1; }

/* nel tema scuro niente pallini verdi decorativi (Mattias 29/11): lo stato resta scritto e colorato */
:root[data-tema="scuro"] .stato i { display: none; }

/* ritocchi del passaggio al sito vero */
.menu-f a, .menu-f button { display: flex; align-items: center; min-height: 48px; padding: 0 14px; border-radius: 14px; color: var(--testo); text-decoration: none; font-weight: 550; text-align: left; width: 100%; }
.menu-f a:hover, .menu-f button:hover { background: var(--riemp); }
a.fascia { color: inherit; text-decoration: none; }
a.fascia:hover { box-shadow: 0 0 0 2px var(--tinta-bg) inset; }
a.fascia.pro:hover { box-shadow: 0 0 0 2px var(--pieno) inset; }
@media (max-width: 899px) { .eroe { overflow-x: clip; } }
@media (max-width: 899px) { .set3d { opacity: 1; } }
@media (max-width: 899px) { .vola--agenda { right: -14%; bottom: 6%; } }
.piede .piede-t { font-size: 14px; line-height: 1.4; letter-spacing: 0; color: var(--testo); margin-bottom: 8px; font-weight: 650; }
.piede { background: var(--sfondo); }

/* 30/11/2026 (Mattias: «il sito nero era bello»): tasto del tema nella testata e barra di avanzamento, come nel sito di prima.
   Senza scelta il sito è scuro dalle 22 alle 7 (script in testa); il tasto salva la scelta in localStorage 'zenit-tema' (logic.js). */
.tema-t { display: none; }
@media (min-width: 900px) { .tema-t { display: grid; } }
.tema-t { width: 44px; height: 44px; border-radius: 50%; place-items: center; background: var(--riemp); color: var(--testo); flex: none; }
.tema-t .ico { width: 20px; height: 20px; }
.tema-t .sole, :root[data-tema="scuro"] .tema-t .luna { display: none; }
:root[data-tema="scuro"] .tema-t .sole { display: block; }
:root[data-tema="scuro"] .barra { box-shadow: 0 1px 0 var(--linea), 0 8px 24px rgba(0,0,0,.4); }
:root[data-tema="scuro"] .menu-f, :root[data-tema="scuro"] dialog.acc { box-shadow: 0 0 0 1px var(--linea), 0 16px 44px rgba(0,0,0,.6); }
.avanza { display: none; }
@supports (animation-timeline: scroll()) {
  .avanza { display: block; position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 30; pointer-events: none; }
  .avanza i { display: block; height: 100%; background: var(--pieno); transform-origin: 0 50%; transform: scaleX(0); animation: b-avanza linear both; animation-timeline: scroll(root); }
  @keyframes b-avanza { to { transform: scaleX(1); } }
}
@media (prefers-reduced-motion: reduce) { .avanza { display: none; } }

/* ================================================================ 30/11 sito snello (Mattias: «troppe cose statiche, troppi elenchi lunghi, troppe scritte»)
   Ogni sezione: titolo, una riga, un visivo che si muove allo scorrimento. Al massimo tre tessere di fila; i dettagli si aprono col tocco. */
.tre { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.tre .tess { gap: 6px; padding: 24px 22px; }
.tre .tondo { width: 56px; height: 56px; border-radius: 17px; }
.tre .tondo .ico { width: 28px; height: 28px; }
.tre h3 { font-size: 22px; }
@media (max-width: 600px) { .tre .tess { grid-template-columns: 56px 1fr; padding: 18px; } .tre h3 { font-size: 20px; } }
/* tessera che si apre col tocco: summary con icona, titolo e una riga; sotto il dettaglio */
details.tess { padding: 0; display: block; }
details.tess > summary { list-style: none; cursor: pointer; display: grid; gap: 6px; padding: 24px 22px; position: relative; border-radius: var(--r); }
details.tess > summary::-webkit-details-marker { display: none; }
details.tess > summary::after { content: '+'; position: absolute; top: 18px; right: 18px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--riemp); color: var(--tenue); font-size: 20px; font-weight: 500; transition: transform .25s cubic-bezier(.2,.7,.2,1); }
details.tess[open] > summary::after { transform: rotate(45deg); }
details.tess > summary p { color: var(--tenue); font-size: 16px; line-height: 1.45; }
details.tess > div { padding: 0 22px 22px; color: var(--tenue); font-size: 15.5px; line-height: 1.5; display: grid; gap: 8px; }
details.tess > div .etich { justify-self: start; }
@media (max-width: 600px) { details.tess > summary { grid-template-columns: 56px 1fr; column-gap: 14px; padding: 18px 54px 18px 18px; } details.tess > summary .tondo { grid-row: span 2; } details.tess > div { padding: 0 18px 18px; } }
@media (prefers-reduced-motion: no-preference) {
  details.tess[open] > div { animation: sn-apri .3s cubic-bezier(.2,.7,.2,1); }
  @supports (animation-timeline: view()) {
    /* le tessere girano entrando, una dopo l'altra; dove il browser non lega le animazioni allo scorrimento restano ferme e finite */
    .gira { animation: sn-gira linear both; animation-timeline: view(); animation-range: entry 5% cover 30%; transform-origin: 0 50%; }
    .gira:nth-child(2) { animation-range: entry 20% cover 40%; }
    .gira:nth-child(3) { animation-range: entry 35% cover 50%; }
    .chiudi h2, .chiudi > .lead { animation: sn-su linear both; animation-timeline: view(); animation-range: entry 0% cover 30%; }
  }
}
@keyframes sn-su { from { opacity: .2; transform: translateY(28px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes sn-gira { from { opacity: 0; transform: perspective(900px) rotateY(-75deg) translateX(-16px); } to { opacity: 1; transform: none; } }
@keyframes sn-apri { from { opacity: 0; transform: translateY(-6px); } }
/* giuria 30/11 giro 1: nel nero il tasto grigio si perdeva sullo sfondo */
:root[data-tema="scuro"] .btn.gr { box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }

/* ---- pagine guida (01/12/2026): guide.html e le guide di lavoro nello stile B, testo invariato. Sezioni come tessere bianche, tutto sotto .g-sez / .testa-p. ---- */
.g-sez { --acc: var(--pieno); padding-top: 12px; }
.g-sez:first-of-type { padding-top: 24px; }
.g-in { max-width: 860px; margin-inline: auto; }
.g-sez > .g-in { background: var(--carta); border-radius: var(--r); padding: clamp(22px, 4vw, 40px); }
.g-sez > .g-in.g-largo { max-width: 1000px; }
.g-sez h2 { font-size: clamp(26px, 3.4vw, 36px); }
.g-sez h3 { font-size: clamp(20px, 2.2vw, 24px); }
.g-sez .lead { margin-top: 12px; max-width: 40em; }
.g-sez .g-in > * + * { margin-top: 0; }
.guida-sez { scroll-margin-top: 92px; }
.sez.testa-p { padding-top: clamp(36px, 6vw, 72px); display: block; max-width: none; }
.sez.testa-p > .g-in { display: grid; gap: 16px; }
.briciole { font-size: 14px; color: var(--tenue); display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; }
.briciole a { color: var(--tenue); text-underline-offset: 3px; min-height: 32px; display: inline-flex; align-items: center; }
.prosa { max-width: 68ch; }
.prosa p { margin: 0 0 1.1em; line-height: 1.65; color: var(--tenue); font-size: 17px; }
.prosa p strong { color: var(--testo); }
.prosa a, .elenco a { color: var(--tinta); }
.elenco { margin: 0 0 1.1em; padding-left: 1.2em; max-width: 68ch; color: var(--tenue); line-height: 1.65; }
.elenco li { margin: 0 0 .5em; }
.elenco li strong { color: var(--testo); }
.g-sez .tessere { margin-top: 20px; }
.g-sez .tess { background: var(--riemp); }
.g-sez .tess h3 { font-size: 18px; }
.g-sez a.tess:hover { box-shadow: 0 0 0 2px var(--tinta-bg) inset; }
.g-sez .tess .etich { position: static; justify-self: start; margin-top: 4px; }
.g-sez .faq { margin-top: 20px; }
.g-sez .faq details { background: var(--riemp); }
.g-sez .faq details > div p { margin: 0; line-height: 1.6; }
.g-sez .faq a { color: var(--tinta); }
.guide-indice { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.guide-indice a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--riemp); color: var(--testo); font-weight: 650; text-decoration: none; }
.guide-indice a:hover { background: var(--tinta-bg); color: var(--tinta); }
.guide-rimando { margin: 0; display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; }
.guide-rimando p { margin: 0; color: var(--tenue); max-width: 56ch; }
.guide-rimando a { font-weight: 700; color: var(--tinta); text-decoration: none; white-space: nowrap; }
.foto-riga { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; }
.foto-fig { margin: 0; flex: 0 1 280px; max-width: 100%; }
.foto-app { width: 100%; height: auto; border-radius: 28px; border: 1px solid var(--linea); background: var(--carta); box-shadow: 0 18px 40px -24px rgba(0,0,0,.35); }
.foto-app--s { display: none; }
:root[data-tema="scuro"] .foto-app--s { display: block; }
:root[data-tema="scuro"] .foto-app--c { display: none; }
.nota--centro { text-align: center; margin-top: 14px; }
.testa-p .tasti { margin-top: 8px; }
@media (max-width: 599px) { .testa-p .tasti .btn { width: 100%; white-space: normal; text-align: center; } }

/* ---- pagine legali (01/12/2026): testo invariato, tessere e colori di B (da legal.css) ---- */
main.legal { max-width: 860px; margin: 0 auto; padding: clamp(36px, 6vw, 64px) var(--g) 24px; }
.legal h1 { font-size: clamp(32px, 5vw, 48px); line-height: 1.06; letter-spacing: -.035em; margin: 0 0 18px; }
.legal__intro { font-size: 17px; line-height: 1.65; color: var(--tenue); margin: 0 0 8px; max-width: 64ch; text-wrap: pretty; }
.legal__date { font-size: 14.5px; color: var(--tenue); margin: 0 0 32px; }
.legal h2 { font-size: clamp(22px, 2.6vw, 26px); line-height: 1.25; letter-spacing: -.02em; margin: 44px 0 14px; padding-top: 26px; border-top: 1px solid var(--linea); scroll-margin-top: 96px; }
.legal h3 { font-size: 17px; margin: 24px 0 8px; }
.legal p, .legal li { font-size: 16px; line-height: 1.72; color: var(--tenue); text-wrap: pretty; }
.legal p { margin: 0 0 16px; max-width: 72ch; }
.legal ul, .legal ol { margin: 0 0 18px; padding-left: 22px; display: flex; flex-direction: column; gap: 11px; max-width: 72ch; }
.legal li::marker { color: var(--pieno); }
.legal strong { color: var(--testo); font-weight: 650; }
.legal a { color: var(--tinta); text-underline-offset: 3px; }
.legal table { border-collapse: collapse; width: 100%; font-size: 15px; margin: 0 0 18px; }
.legal th, .legal td { border: 1px solid var(--linea); padding: 10px 12px; text-align: left; vertical-align: top; color: var(--tenue); }
.legal th { color: var(--testo); background: var(--riemp); }
.legal__toc, .legal__box { background: var(--carta); border-radius: var(--r); padding: 24px 26px; margin: 0 0 8px; }
.legal__box { margin: 28px 0; }
.legal__toc-title { font-size: 13.5px; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; color: var(--tenue); margin-bottom: 14px; }
.legal__toc ol { margin: 0; padding-left: 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 9px 28px; max-width: none; }
.legal__toc li { font-size: 16px; line-height: 1.5; padding: 6px 0; }
.legal__toc a { text-decoration: none; color: var(--tenue); display: inline; padding: 10px 0; }
.legal__toc a:hover { color: var(--tinta); text-decoration: underline; }
.legal__box p:last-child { margin-bottom: 0; }
.todo { background: var(--ambra-bg); color: var(--ambra); padding: 1px 6px; border-radius: 5px; font-weight: 600; }
@media (max-width: 640px) { .legal__toc, .legal__box { padding: 18px; } .legal table { display: block; overflow-x: auto; } }

/* ---- novita.html: ogni novità una riga (titolo e mezza frase) ---- */
.nv-t { margin: 22px 0 8px; font-size: 20px; }
.nv { padding: 4px 0; }
.nv p { display: grid; gap: 2px; padding: 12px 20px; position: relative; }
.nv p + p::before { content: ''; position: absolute; top: 0; left: 20px; right: 0; border-top: 1px solid var(--linea); }
.nv b { font-weight: 650; }
.nv span { color: var(--tenue); font-size: 15.5px; line-height: 1.4; }
.nv a { color: var(--tinta); }
@media (min-width: 760px) { .nv p { grid-template-columns: minmax(200px, 1fr) 2fr; gap: 4px 20px; align-items: baseline; } }

/* ---- aziende.html ---- */
.az-largo { grid-column: 1 / -1; }
.az-foto { display: flex; gap: 12px; justify-content: center; margin-top: 8px; }
.az-foto img { width: min(30%, 150px); height: auto; border-radius: 16px; border: 1px solid var(--linea); }
.tess a { color: var(--tinta); }
.az-passi { list-style: none; padding: 6px 0; counter-reset: passo; }
.az-passi li { counter-increment: passo; position: relative; padding: 14px 20px 14px 64px; color: var(--tenue); line-height: 1.5; }
.az-passi li + li::before { content: ''; position: absolute; top: 0; left: 64px; right: 0; border-top: 1px solid var(--linea); }
.az-passi li::after { content: counter(passo); position: absolute; left: 18px; top: 14px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--tinta-bg); color: var(--tinta); font-weight: 700; font-size: 14px; }
.az-passi b { color: var(--testo); }
main > .gruppo > .nota { margin-top: 4px; }
main > .gruppo > .tasti { margin-top: 4px; }
.gruppo.chiudi { background: var(--carta); border-radius: 32px; padding: clamp(28px, 5vw, 56px); margin-top: 48px; justify-items: center; text-align: center; }
.gruppo.chiudi .lead { margin-inline: auto; }
.gruppo.chiudi .tasti { justify-content: center; }
.gruppo.chiudi .nota { text-align: center; }
@media (max-width: 760px) { .az-lavori .tess { grid-template-columns: 1fr; padding: 20px; } .az-lavori .tess .tondo { grid-row: auto; margin-bottom: 6px; } .az-lavori .tess p { font-size: 16px; } }

/* 01/12 giuria del sito B: nelle guide il titolo lungo a 80 px schiacciava il testo (rilievo 3); più piccolo solo qui */
.testa-p .g-in h1 { font-size: clamp(36px, 5.4vw, 58px); line-height: 1.05; }
