/* La pagina d'iscrizione a un webinar, nella veste dell'Academy: eroe blu notte con i volti dei
   relatori che scorrono, scheda d'iscrizione compatta che resta a lato, corpo bianco.
   Tutto sotto .wb: il sito ha regole sue su p, a, h1…h6, section e .btn. */

.wb {
  --notte: #021B2E;
  --blu: #003D62;
  --oro: #BE9A4E;
  --oro-chiaro: #D9BE7A;
  --oro-scuro: #92722B;            /* l'oro che si legge sul bianco */
  --inchiostro: #233746;
  --muto: #5B6E7E;
  --filo: rgba(0, 61, 98, .12);
  --carta: #F6F3EC;
  --verde: #1E6B4A;
  --rosso: #A4342B;
  --serif: 'Tobias', Georgia, serif;
  --sans: 'Host Grotesk', system-ui, sans-serif;
  --uscita: cubic-bezier(.16, 1, .3, 1);
  --z-eroe: 1;
  --z-scheda: 5;
  --z-barra: 45;
  --z-telefono: 60;
  background: #fff; color: var(--inchiostro); font-family: var(--sans);
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
.wb *, .wb *::before, .wb *::after { box-sizing: border-box; }
.wb img { display: block; max-width: 100%; }
.wb p, .wb ul, .wb ol, .wb figure { margin: 0; }
.wb ul, .wb ol { padding: 0; list-style: none; }
/* 1280 di contenuto più 40 di margine, come il resto del sito; !important perché layout-1280.css
   azzera il margine dei contenitori dentro header e nav */
.wb .wb-largo { max-width: 1360px; margin: 0 auto; padding-left: 40px !important; padding-right: 40px !important; }
.wb :focus-visible { outline: 2px solid var(--oro); outline-offset: 3px; border-radius: 4px; }
.wb ::selection { background: var(--oro-chiaro); color: var(--notte); }
/* i rimandi alla scheda scorrono, non saltano */
html:has(.wb) { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html:has(.wb) { scroll-behavior: auto; } }
.wb-salta { position: absolute; left: 16px; top: -64px; z-index: 100; background: var(--oro-chiaro); color: var(--notte); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.wb-salta:focus { top: 12px; }
.wb-solo-lettori { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ── la barra dell'Academy: resta in alto, la testata del sito scorre via ── */
.wb-barra { position: sticky; top: 0; z-index: var(--z-barra); background: rgba(2, 27, 46, .94);
  -webkit-backdrop-filter: saturate(150%) blur(12px); backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid rgba(217, 190, 122, .22); }
.wb-barra .wb-largo { display: flex; align-items: center; gap: 26px; padding-top: 13px; padding-bottom: 13px; overflow-x: auto; scrollbar-width: none; }
.wb-barra .wb-largo::-webkit-scrollbar { display: none; }
.wb-barra-nome { font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--oro-chiaro); }
.wb-barra-filo { flex: none; width: 1px; height: 16px; background: rgba(255, 255, 255, .2); }
.wb-barra a { font-size: 13.5px; font-weight: 600; color: rgba(255, 255, 255, .68); white-space: nowrap; text-decoration: none; transition: color .2s; }
.wb-barra a:hover, .wb-barra a.qui { color: #fff; }
.wb-barra a.qui { box-shadow: 0 2px 0 var(--oro-chiaro); padding-bottom: 3px; }
.wb-barra a.wb-barra-vai { margin-left: auto; font-weight: 700; color: var(--oro-chiaro); }

/* ── il palco: testo, volti e scheda nella stessa schermata ──
   Due righe: l'eroe e il corpo. La scheda le attraversa tutte e due e resta appiccicata. */
.wb-palco { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 300px 420px; grid-template-rows: auto 1fr; column-gap: 44px; }
.wb-palco.senza-cast { grid-template-columns: minmax(0, 1fr) 420px; column-gap: 72px; }

.wb-eroe-fondo { grid-row: 1; grid-column: 1 / -1; position: relative; overflow: hidden; margin-inline: calc(50% - 50vw); border-bottom: 1px solid rgba(217, 190, 122, .2);
  background: radial-gradient(70% 90% at 76% 38%, #0B3F66 0%, rgba(4, 38, 62, .6) 46%, transparent 78%), var(--notte); }
.wb-eroe-trama { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .14; }
.wb-eroe-fondo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, var(--notte) 6%, rgba(2, 27, 46, .82) 40%, rgba(2, 27, 46, 0) 74%); }
.wb .mc-archi { position: absolute; pointer-events: none; overflow: visible; }
.wb .mc-archi-ore { stroke-dasharray: 100; stroke-dashoffset: 0; }
.wb-eroe-archi { width: 920px; height: 920px; right: calc(50vw - 640px - 330px); top: 50%; margin-top: -460px; opacity: .85; z-index: 1; }

.wb-eroe-testo { grid-row: 1; grid-column: 1; position: relative; z-index: var(--z-eroe); padding: 40px 0 68px; color: #fff; min-width: 0; }
.wb-briciole { font-size: 13.5px; color: rgba(255, 255, 255, .62); margin-bottom: 38px !important; padding-right: 92px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wb-briciole a { color: inherit; text-decoration: none; }
.wb-briciole a:hover { color: #fff; }
.wb-briciole i { font-style: normal; color: var(--oro-chiaro); margin: 0 8px; }
.wb-briciole b { color: #fff; font-weight: 600; }
.wb-etichette { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; }
.wb-pillola { font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blu); background: var(--oro-chiaro); padding: 6px 14px; border-radius: 999px; line-height: 1.2; }
.wb .co-firma { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; color: rgba(255, 255, 255, .72); }
.wb .co-firma b, .wb .co-firma a { color: #fff; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; }
.wb .co-firma a:hover { color: var(--oro-chiaro); }
.wb .logo-partner { height: 34px; width: auto; }
/* «Salva» sta in alto a destra, sulla riga delle briciole: nella colonna stretta non ruba spazio al titolo */
.wb-eroe-testo .pref-bottone { position: absolute; top: 34px; right: 0; }

.wb-eroe-testo h1 { margin: 22px 0 18px; font-family: var(--serif); font-weight: 400; color: #fff; font-size: clamp(36px, 4vw, 58px); line-height: 1.03; letter-spacing: -.022em; text-wrap: balance; }
.wb-eroe-testo h1 em { display: block; margin-top: .44em; font-style: italic; color: var(--oro-chiaro); font-size: .48em; line-height: 1.22; letter-spacing: -.005em; text-wrap: balance; }
.wb-eroe-testo h1 em::first-letter { text-transform: uppercase; }
.wb-motto { font-size: 18px; line-height: 1.6 !important; color: rgba(255, 255, 255, .84); max-width: 32em; margin-bottom: 24px !important; text-wrap: pretty; }
.wb-fatti { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.wb-fatti li { display: flex; align-items: center; gap: 8px; font-size: 14px; color: rgba(255, 255, 255, .86); }
.wb-fatti svg { flex: none; color: var(--oro-chiaro); }
.wb-fatti b { font-weight: 700; color: #fff; }

/* ── l'orologio: ogni cifra è un nastro che scorre (landing.js) ── */
.wb .orologio { font-variant-numeric: tabular-nums lining-nums; }
.wb .orologio.partito { display: none; }
.wb .orologio .cifre { display: inline-flex; line-height: 1.04; height: 1.04em; overflow: hidden; }
.wb .orologio .cella { display: block; height: 1.04em; overflow: hidden; }
.wb .orologio .nastro { display: flex; flex-direction: column; transition: transform .7s var(--uscita); }
.wb .orologio .nastro span { display: block; height: 1.04em; }
.wb-orologio-eroe { display: flex; align-items: flex-end; gap: 26px; margin-top: 34px; padding-top: 24px; border-top: 1px solid rgba(217, 190, 122, .24); }
.wb-orologio-eroe .wb-orologio-testa { align-self: center; max-width: 5.5em; font-size: 11px; font-weight: 700; line-height: 1.35; letter-spacing: .16em; text-transform: uppercase; color: var(--oro-chiaro); }
.wb-orologio-eroe .gruppo, .wb-orologio-grande .gruppo { display: flex; flex-direction: column; gap: 6px; }
.wb-orologio-eroe .cifre { font-family: var(--serif); font-size: 44px; color: #fff; }
.wb-orologio-eroe .etichetta { font-size: 11.5px; color: rgba(255, 255, 255, .62); }

/* ── i volti che scorrono ─────────────────────────────── */
.wb-cast { grid-row: 1; grid-column: 2; position: relative; z-index: var(--z-eroe);
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 13%, #000 85%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 13%, #000 85%, transparent 100%); }
.wb-cast-colonna { position: absolute; top: 0; bottom: 0; left: 0; width: calc(50% - 7px); overflow: hidden; }
.wb-cast-colonna:nth-child(2) { left: auto; right: 0; }
.wb-cast.c1 .wb-cast-colonna { width: 100%; }
.wb-cast-colonna:not(.gira) { display: flex; align-items: center; }
.wb-cast-colonna:not(.gira) .wb-cast-nastro { width: 100%; }
.wb-cast-colonna.gira .wb-cast-nastro { animation: wb-scorre 44s linear infinite; }
.wb-cast-colonna.gira:nth-child(2) .wb-cast-nastro { animation-duration: 56s; animation-direction: reverse; }
.wb-cast:hover .wb-cast-nastro { animation-play-state: paused; }
@keyframes wb-scorre { to { transform: translateY(-50%); } }
@keyframes wb-scorre-riga { to { transform: translateX(-50%); } }
.wb-cast-riga { display: none; }
.wb .wb-volto { position: relative; aspect-ratio: 4 / 5; margin-bottom: 14px; border-radius: 14px; overflow: hidden;
  background: linear-gradient(160deg, #0E436B, #062A44); box-shadow: 0 22px 44px -26px rgba(0, 0, 0, .8), inset 0 0 0 1px rgba(255, 255, 255, .08); }
.wb-volto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; transition: transform 1.4s var(--uscita); }
.wb-volto:hover img { transform: scale(1.06); }
.wb-volto figcaption { position: absolute; inset: auto 0 0; padding: 30px 12px 11px; font-size: 12.5px; font-weight: 600; line-height: 1.25; color: #fff;
  background: linear-gradient(0deg, rgba(2, 27, 46, .92), rgba(2, 27, 46, 0)); }
.wb-volto.monogramma { display: grid; place-items: center; }
.wb-volto.monogramma span { display: grid; place-items: center; width: 46%; aspect-ratio: 1; margin-bottom: 14%; border-radius: 50%;
  font-family: var(--serif); font-size: clamp(20px, 2vw, 30px); color: var(--oro-chiaro); box-shadow: inset 0 0 0 1px rgba(217, 190, 122, .55), 0 0 0 7px rgba(217, 190, 122, .07); }

/* ── la scheda d'iscrizione: sta in una schermata ─────── */
.wb-scheda { grid-row: 1 / span 2; grid-column: -2 / -1; align-self: start; position: sticky; top: 64px; z-index: var(--z-scheda); margin-top: 40px;
  background: #fff; border-radius: 18px; padding: 0 24px 20px; scroll-margin-top: 64px;
  box-shadow: 0 44px 90px -40px rgba(0, 0, 0, .7), 0 0 0 1px rgba(217, 190, 122, .38); }
.wb-scheda-data { display: flex; align-items: center; gap: 12px; margin: 0 -24px; padding: 13px 24px 12px; background: #06263E; color: #fff; border-radius: 18px 18px 0 0; border-bottom: 3px solid var(--oro); }
.wb-scheda-data .giorno { font-family: var(--serif); font-size: 42px; line-height: .9; color: var(--oro-chiaro); font-variant-numeric: lining-nums; }
.wb-scheda-data .resto { display: flex; flex-direction: column; gap: 2px; }
.wb-scheda-data .resto b { font-family: var(--serif); font-weight: 400; font-size: 19px; line-height: 1.1; }
.wb-scheda-data .resto span { font-size: 12px; color: rgba(255, 255, 255, .72); }
.wb-scheda-data .ora { margin-left: auto; text-align: right; }
.wb-scheda-data .ora small { display: block; font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--oro-chiaro); }
.wb-scheda-data .ora b { display: block; margin-top: 2px; font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1; font-variant-numeric: tabular-nums lining-nums; }

.wb-scheda-testa { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 2px 12px; margin-top: 16px; }
.wb-scheda h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 23px; line-height: 1.15; letter-spacing: -.01em; color: var(--blu); }
.wb-scheda .sotto { font-size: 12.5px; line-height: 1.4 !important; color: var(--muto); }
.wb-scheda .errore-generale { margin-top: 10px !important; padding: 9px 12px; background: rgba(164, 52, 43, .07); border: 1px solid rgba(164, 52, 43, .35); border-radius: 10px; font-size: 13px; font-weight: 600; line-height: 1.4 !important; color: var(--rosso); }

.wb .sessioni { margin: 12px 0 0; padding: 0; border: 0; min-width: 0; display: grid; gap: 8px; }
.wb .sessioni.affiancate { grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); }
.wb .sessioni legend { padding: 0; margin-bottom: 6px; font-size: 12px; font-weight: 700; color: var(--blu); }
.wb .sessione { position: relative; display: flex; align-items: center; gap: 9px; min-height: 44px; padding: 6px 12px; border: 1.5px solid rgba(0, 61, 98, .2); border-radius: 11px; cursor: pointer; transition: border-color .2s, background .2s, box-shadow .2s; }
.wb .sessione:hover { border-color: rgba(0, 61, 98, .45); }
.wb .sessione input { appearance: none; -webkit-appearance: none; flex: none; width: 18px; height: 18px; margin: 0; border-radius: 50%; border: 1.5px solid rgba(0, 61, 98, .4); background: #fff; transition: border-color .2s, box-shadow .2s; }
.wb .sessione input:checked { border-color: var(--blu); box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 10px var(--blu); }
.wb .sessione:has(input:checked) { border-color: var(--blu); background: rgba(0, 61, 98, .045); box-shadow: 0 0 0 1px var(--blu); }
.wb .sessione:has(input:focus-visible) { outline: 2px solid var(--oro); outline-offset: 2px; }
.wb .sessione input:focus-visible { outline: none; }
.wb .sessione .testo { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.wb .sessione .testo b { font-size: 15px; font-weight: 700; color: var(--blu); font-variant-numeric: tabular-nums; }
.wb .sessione .testo span { font-size: 12px; color: var(--muto); }
.wb .sessione .posti { margin-left: auto; font-size: 11.5px; color: var(--muto); white-space: nowrap; }

.wb .campi { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px 10px; margin-top: 12px; }
.wb .campo.intero { grid-column: 1 / -1; }
.wb .campo label { display: block; margin-bottom: 4px; font-size: 12px; font-weight: 700; line-height: 1.3; color: var(--blu); }
.wb .campo input, .wb .campo select { width: 100%; height: 40px; padding: 0 12px; border: 1px solid rgba(0, 61, 98, .28); border-radius: 9px; background: #fff; color: var(--inchiostro); font: inherit; font-size: 16px; transition: border-color .2s, box-shadow .2s; }
.wb .campo input::placeholder { color: #6E7F8D; }
.wb .campo input:hover, .wb .campo select:hover { border-color: rgba(0, 61, 98, .5); }
.wb .campo input:focus, .wb .campo select:focus { outline: none; border-color: var(--blu); box-shadow: 0 0 0 3px rgba(0, 61, 98, .14); }
.wb .campo input[aria-invalid="true"] { border-color: var(--rosso); box-shadow: 0 0 0 3px rgba(164, 52, 43, .12); }
.wb .campo .errore, .wb .errore-consenso { display: block; font-size: 12px; font-weight: 600; line-height: 1.35 !important; color: var(--rosso); }
.wb .campo .errore:not(:empty) { margin-top: 3px; }
.wb .wb-consenso { display: flex; align-items: flex-start; gap: 9px; margin-top: 12px; font-size: 12px; line-height: 1.4; color: #415767; cursor: pointer; }
.wb .wb-consenso input { flex: none; width: 17px; height: 17px; margin: 0; accent-color: var(--blu); }
.wb .errore-consenso:not(:empty) { margin-top: 4px !important; }
.wb-scheda .invia { margin-top: 12px; }
.wb .garanzia { display: flex; flex-wrap: wrap; justify-content: center; gap: 3px 16px; margin-top: 11px !important; }
.wb .garanzia li { position: relative; padding-left: 17px; font-size: 11.5px; line-height: 1.4; color: var(--muto); }
.wb .garanzia li::before { content: ""; position: absolute; left: 2px; top: 2px; width: 5px; height: 9px; border: solid var(--verde); border-width: 0 1.8px 1.8px 0; transform: rotate(45deg); }
.wb .nota-accedi { margin-top: 12px !important; font-size: 12.5px; line-height: 1.5 !important; color: var(--muto); text-align: center; }
.wb .nota-accedi a { color: var(--blu); font-weight: 700; }
.wb .riservato { padding-top: 18px; }
.wb .riservato .sotto { margin-top: 6px !important; font-size: 14px; }
.wb .riservato .wb-prezzo { display: block; margin-top: 14px !important; }

.wb .confermato { text-align: center; padding-top: 22px; }
.wb .confermato .cerchio { display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto 12px; border-radius: 50%; background: rgba(30, 107, 74, .1); color: var(--verde); }
.wb .confermato h2 { font-size: 26px; }
.wb .confermato p { margin-top: 10px !important; font-size: 14.5px; line-height: 1.55 !important; color: #415767; }
.wb .confermato p b { color: var(--blu); }
.wb .confermato .quando-conferma { font-family: var(--serif); font-size: 18px; color: var(--blu); }
.wb .confermato .numero { display: flex; align-items: baseline; justify-content: center; gap: 10px; margin-top: 14px !important; padding: 11px 14px; background: var(--carta); border-radius: 10px; }
.wb .confermato .numero span { font-size: 12.5px; color: var(--muto); }
.wb .confermato .numero b { font-family: var(--serif); font-weight: 400; font-size: 24px; color: var(--blu); font-variant-numeric: tabular-nums; }
.wb .confermato .wb-bottone-oro { margin-top: 18px; }
.wb .confermato .wb-bottone-bordo { margin-top: 10px; }

/* ── i bottoni ─────────────────────────────────────────── */
.wb-bottone-oro, .wb-bottone-bordo { display: block; width: 100%; text-align: center; font-family: inherit; font-size: 15px; font-weight: 700; line-height: 1.2; padding: 14px 22px; border-radius: 999px; cursor: pointer; text-decoration: none; }
.wb-bottone-oro { position: relative; overflow: hidden; isolation: isolate; background: var(--oro); color: var(--blu); border: 0; transition: transform .25s var(--uscita), box-shadow .25s ease, background .2s; }
/* il riflesso che attraversa il bottone quando ci si passa sopra */
.wb-bottone-oro::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 32%, rgba(255, 255, 255, .55) 50%, transparent 68%); transform: translateX(-120%); transition: transform .9s var(--uscita); }
.wb-bottone-oro:hover { transform: translateY(-2px); background: var(--oro-chiaro); box-shadow: 0 16px 34px -14px rgba(190, 154, 78, .75); }
.wb-bottone-oro:hover::after { transform: translateX(120%); }
.wb-bottone-oro[aria-busy="true"] { opacity: .7; pointer-events: none; }
.wb-bottone-bordo { background: none; color: var(--blu); border: 1.5px solid var(--blu); padding: 12px 20px; transition: background .2s, color .2s; }
.wb-bottone-bordo:hover { background: var(--blu); color: #fff; }

/* ── il corpo ──────────────────────────────────────────── */
.wb-colonna { grid-row: 2; grid-column: 1 / -2; min-width: 0; padding: 72px 0 96px; }
.wb-sezione + .wb-sezione { margin-top: 72px; }
.wb section.wb-sezione { padding-left: 0 !important; padding-right: 0 !important; }
.wb-voce { font-family: var(--serif); font-style: italic; font-size: 14px; color: var(--muto); margin-bottom: 12px !important; }
.wb-sezione h2 { margin: 0 0 18px; font-family: var(--serif); font-weight: 400; color: var(--blu); font-size: clamp(28px, 2.9vw, 40px); line-height: 1.08; letter-spacing: -.02em; text-wrap: balance; }
.wb-prosa { font-size: 18px; line-height: 1.65 !important; color: #33475A; max-width: 64ch; text-wrap: pretty; }
.wb-prosa b { color: var(--blu); }
.wb-nota { font-size: 14.5px; line-height: 1.6 !important; color: var(--muto); max-width: 66ch; }
.wb-nota b { color: var(--blu); font-weight: 700; font-variant-numeric: tabular-nums; }

.wb-punti { margin-top: 26px !important; border-top: 1px solid var(--filo); }
.wb-punti li { position: relative; padding: 17px 0 17px 40px; border-bottom: 1px solid var(--filo); font-family: var(--serif); font-size: 20px; line-height: 1.35; color: var(--blu); text-wrap: pretty; }
.wb-punti li::before { content: ""; position: absolute; left: 0; top: 31px; width: 22px; height: 2px; background: var(--oro); transition: width .5s var(--uscita); }
.wb-punti li:hover::before { width: 30px; }
.wb-caso { margin-top: 22px !important; padding: 16px 20px; background: var(--carta); border: 1px solid rgba(190, 154, 78, .32); border-radius: 12px; font-size: 14.5px; line-height: 1.55 !important; color: #415767; }
.wb-caso b { color: var(--blu); }

/* la scaletta è una linea del tempo: l'oro avanza con la lettura (landing.js mette --avanzo) */
.wb-scaletta { position: relative; margin-top: 30px !important; --avanzo: 1; }
.wb-scaletta::before, .wb-scaletta::after { content: ""; position: absolute; left: 105px; top: 14px; bottom: 14px; width: 2px; border-radius: 2px; }
.wb-scaletta::before { background: var(--filo); }
.wb-scaletta::after { background: linear-gradient(180deg, var(--oro-chiaro), var(--oro)); transform-origin: 50% 0; transform: scaleY(var(--avanzo)); }
.wb-scaletta li { position: relative; display: grid; grid-template-columns: 70px 40px minmax(0, 1fr); gap: 0 16px; align-items: start; padding: 0 0 30px; }
.wb-scaletta li:last-child { padding-bottom: 0; }
.wb-scaletta-ora { text-align: right; padding-top: 9px; }
.wb-scaletta-ora b { display: block; font-size: 15px; font-weight: 700; color: var(--blu); font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.wb-scaletta-ora small { display: block; margin-top: 3px; font-size: 12px; color: var(--muto); }
.wb-scaletta-numero { position: relative; z-index: 1; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--blu); color: var(--oro-chiaro);
  font-family: var(--serif); font-size: 15px; line-height: 1; box-shadow: 0 0 0 5px #fff; transition: background .45s ease, color .45s ease, box-shadow .45s ease; }
.wb-scaletta.viva li:not(.passato) .wb-scaletta-numero { background: #fff; color: var(--muto); box-shadow: 0 0 0 5px #fff, inset 0 0 0 1.5px rgba(0, 61, 98, .22); }
.wb-scaletta-cosa { padding-top: 6px; }
.wb-scaletta-cosa > b { display: block; font-family: var(--serif); font-weight: 400; font-size: 21px; line-height: 1.26; color: var(--blu); text-wrap: balance; }
.wb-scaletta-chi { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 9px; margin-top: 9px; font-size: 14px; font-weight: 600; color: var(--inchiostro); }
.wb-scaletta-chi img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; object-position: 50% 18%; box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgba(190, 154, 78, .55); margin-right: 3px; }
.wb-scaletta-chi small { font-size: 13px; font-weight: 400; color: var(--muto); }
.wb-scaletta-chi small::before { content: "· "; }

/* i relatori: righe, non card — reggono anche quando la foto manca */
.wb-relatori { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; border-top: 1px solid var(--filo); margin-top: 6px !important; }
.wb-relatori li { display: flex; align-items: center; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--filo); }
.wb-relatori img, .wb-iniziali { flex: none; width: 84px; height: 84px; border-radius: 50%; object-fit: cover; object-position: 50% 18%; transition: transform .5s var(--uscita); }
.wb-relatori img { box-shadow: 0 0 0 3px #fff, 0 0 0 4px rgba(190, 154, 78, .6); }
.wb-relatori li:hover img, .wb-relatori li:hover .wb-iniziali { transform: scale(1.06); }
.wb-iniziali { display: grid; place-items: center; background: var(--blu); color: var(--oro-chiaro); font-family: var(--serif); font-size: 23px; letter-spacing: .02em; box-shadow: inset 0 0 0 1px rgba(217, 190, 122, .5); }
.wb-relatori b, .wb-relatore-solo b { display: block; font-family: var(--serif); font-weight: 400; font-size: 21px; line-height: 1.2; color: var(--blu); }
.wb-relatori small, .wb-relatore-solo small { display: block; margin-top: 4px; font-size: 13.5px; line-height: 1.4; color: var(--muto); }
.wb-relatore-solo { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 30px; align-items: center; }
.wb-relatore-solo > img { width: 220px; height: 275px; border-radius: 14px; object-fit: cover; object-position: 50% 15%; }
.wb-relatore-solo > .wb-iniziali { width: 220px; height: 275px; border-radius: 14px; font-size: 60px; }
.wb-relatore-solo b { font-size: 28px; }
.wb-relatore-solo p { margin-top: 14px !important; font-size: 16px; line-height: 1.6 !important; color: #33475A; }

/* tre passi: qui i numeri dicono davvero un ordine */
.wb-passi { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; counter-reset: passo; margin-top: 8px !important; }
.wb-passi li { counter-increment: passo; padding-top: 18px; border-top: 2px solid var(--oro); }
.wb-passi li::before { content: counter(passo); display: block; font-family: var(--serif); font-size: 44px; line-height: 1; color: var(--oro); margin-bottom: 14px; }
.wb-passi b { display: block; font-family: var(--serif); font-weight: 400; font-size: 20px; line-height: 1.25; color: var(--blu); }
.wb-passi p { margin-top: 8px !important; font-size: 14.5px; line-height: 1.55 !important; color: #415767; }

/* il percorso di cui fa parte */
.wb-sezione.percorso { padding: 28px 30px; background: var(--carta); border: 1px solid rgba(190, 154, 78, .32); border-radius: 18px; }
.wb-pellicola { display: grid; grid-auto-flow: column; grid-auto-columns: 112px; gap: 12px; overflow-x: auto; margin-top: 22px; padding-bottom: 6px; scrollbar-width: thin; }
.wb-pellicola img { width: 112px; height: 140px; border-radius: 10px; object-fit: cover; object-position: 50% 15%; }
.wb-pellicola figcaption { margin-top: 7px; font-size: 12.5px; line-height: 1.3; font-weight: 600; color: var(--blu); }
.wb-percorso-piede { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 24px; margin-top: 24px !important; }
.wb-percorso-piede .wb-bottone-bordo { width: auto; }
.wb-prezzo { font-size: 13px; color: var(--muto); }
.wb-prezzo b { font-family: var(--serif); font-weight: 400; font-size: 30px; color: var(--blu); margin-right: 6px; }

/* le domande */
.wb-faq { border-top: 1px solid var(--filo); }
.wb-faq details { border-bottom: 1px solid var(--filo); }
.wb-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 0; cursor: pointer; list-style: none; font-family: var(--serif); font-size: 20px; line-height: 1.3; color: var(--blu); }
.wb-faq summary::-webkit-details-marker { display: none; }
.wb-faq .piu { flex: none; position: relative; width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(0, 61, 98, .25); transition: transform .35s var(--uscita), background .2s, border-color .2s; }
.wb-faq .piu::before, .wb-faq .piu::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; background: var(--blu); transform: translate(-50%, -50%); }
.wb-faq .piu::after { transform: translate(-50%, -50%) rotate(90deg); }
.wb-faq details[open] .piu { transform: rotate(45deg); background: var(--carta); border-color: var(--oro); }
.wb-faq summary:hover .piu { border-color: var(--oro); }
.wb-faq details p a { color: var(--blu); font-weight: 700; text-decoration: underline; text-decoration-color: var(--oro); text-underline-offset: 3px; }
.wb-faq details p a:hover { text-decoration-color: var(--blu); }
.wb-faq details p { padding: 0 48px 22px 0; font-size: 15.5px; line-height: 1.65 !important; color: #415767; max-width: 68ch; }

/* ── la chiusura: l'appuntamento al centro, e sotto la scena del webinar ──
   Il fondo scende dal blu notte al blu del piede del sito: la scena ci si fonde senza stacco. */
.wb-ultima { position: relative; overflow: hidden; color: #fff; text-align: center;
  background: linear-gradient(180deg, var(--notte) 0%, #03243C 58%, #002B47 100%); }
.wb-ultima-archi { width: 860px; height: 860px; left: 50%; top: 50%; margin: -430px 0 0 -430px; opacity: .5; }
.wb-ultima .wb-largo { position: relative; z-index: 1; padding-top: 88px; padding-bottom: 104px; }
.wb-ultima.con-scena .wb-largo { padding-bottom: 0; }
.wb-firme { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px 14px; margin-bottom: 30px !important; }
.wb-firme img { height: 26px; width: auto; }
.wb-firme-partner { display: inline-flex; align-items: center; gap: 14px; white-space: nowrap; }
.wb-firme-nome { font-size: 10.5px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--oro-chiaro); padding-left: 14px; border-left: 1px solid rgba(255, 255, 255, .28); line-height: 18px; }
.wb-firme i { font-style: normal; font-family: var(--serif); font-size: 20px; line-height: 1; color: var(--oro-chiaro); }
.wb-firme .logo-partner { height: 32px; }
.wb-firme b { font-weight: 600; font-size: 15px; }
.wb-ultima h2 { margin: 0 auto; max-width: 17em; font-family: var(--serif); font-weight: 400; color: #fff; font-size: clamp(32px, 4.2vw, 60px); line-height: 1.04; letter-spacing: -.022em; text-wrap: balance; }
.wb-ultima h2 em { font-style: italic; color: var(--oro-chiaro); }
.wb-orologio-grande { display: flex; justify-content: center; gap: clamp(18px, 3.4vw, 52px); margin-top: 40px; }
.wb-orologio-grande .gruppo { align-items: center; }
.wb-orologio-grande .cifre { font-family: var(--serif); font-size: clamp(46px, 6vw, 84px); color: var(--oro-chiaro); }
.wb-orologio-grande .etichetta { font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .62); }
.wb-ultima-nota { margin-top: 34px !important; font-size: 17px; color: rgba(255, 255, 255, .82); }
.wb-ultima .wb-bottone-oro { width: auto; display: inline-block; margin-top: 22px; padding: 17px 40px; font-size: 16px; }
/* con la scena: la foto a tutta fascia, il testo a sinistra sul cielo, il soggetto libero a destra.
   Il velo scurisce da sinistra e, in basso, porta la foto al blu del piede del sito. */
/* la foto è più larga della fascia e ancorata a sinistra: il lampione finisce oltre il testo, la torre resta a destra */
.wb-scena { position: absolute; top: 0; left: 0; z-index: 0; width: 124%; height: 100%; max-width: none !important; object-fit: cover; object-position: 50% 14%; pointer-events: none; }
.wb-ultima.con-scena { text-align: left; background: var(--notte); }
.wb .wb-scena-credito { position: absolute; z-index: 2; right: 24px; bottom: 14px; max-width: calc(100% - 48px); font-size: 11px; line-height: 1.4 !important; color: rgba(255, 255, 255, .76); text-align: right; }
.wb-ultima.con-scena::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(2, 27, 46, .93) 0%, rgba(2, 27, 46, .8) 26%, rgba(2, 27, 46, .32) 50%, rgba(2, 27, 46, 0) 68%),
    linear-gradient(180deg, rgba(2, 27, 46, .5) 0%, rgba(2, 27, 46, 0) 20%, rgba(0, 43, 71, 0) 64%, rgba(0, 43, 71, .82) 88%, #002B47 100%); }
.wb-ultima.con-scena .wb-largo { z-index: 2; padding-top: 104px; padding-bottom: 150px; }
.wb-ultima.con-scena .wb-largo > * { max-width: 500px; }
.wb-ultima.con-scena .wb-firme { justify-content: flex-start; }
.wb-ultima.con-scena h2 { margin: 0; font-size: clamp(32px, 3.6vw, 52px); }
.wb-ultima.con-scena .wb-orologio-grande { justify-content: flex-start; gap: clamp(18px, 2.6vw, 38px); }
.wb-ultima.con-scena .wb-orologio-grande .gruppo { align-items: flex-start; }
.wb-ultima.con-scena .wb-orologio-grande .cifre { font-size: clamp(44px, 5vw, 72px); }

/* ── la barra del telefono, quando la scheda non si vede ── */
.wb .barra-telefono { display: none; }

/* ── il movimento ──────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  /* l'entrata dell'eroe: una sola, al caricamento. Se qualcosa la ferma, landing.js la porta alla fine */
  .wb-eroe-testo > :not(.pref-bottone) { animation: wb-sale .9s var(--uscita) both; }
  .wb-eroe-testo > .wb-etichette { animation-delay: .06s; }
  .wb-eroe-testo > h1 { animation: wb-titolo 1.1s var(--uscita) .12s both; }
  .wb-eroe-testo > .wb-motto { animation-delay: .3s; }
  .wb-eroe-testo > .wb-fatti { animation-delay: .38s; }
  .wb-eroe-testo > .orologio { animation-delay: .46s; }
  .wb-cast { animation: wb-appare 1.4s ease .35s both; }
  .wb-scheda { animation: wb-scheda 1s var(--uscita) .22s both; }
  .wb .wb-eroe-archi .mc-archi-ore { stroke-dashoffset: 100; animation: wb-arco 2.4s cubic-bezier(.6, 0, .2, 1) .6s forwards; }
  .wb-eroe-archi { animation: wb-gira 160s linear infinite; }
  /* le sezioni entrano quando arrivano in vista: la classe la mette lo script, senza script sono già lì */
  .wb .wb-attesa { opacity: 0; transform: translateY(26px); }
  .wb .wb-entra { transition: opacity .9s ease, transform 1s var(--uscita); }
}
@keyframes wb-sale { from { opacity: 0; transform: translateY(18px); } }
@keyframes wb-titolo { from { opacity: 0; transform: translateY(34px); clip-path: inset(0 0 60% 0); } to { clip-path: inset(-10% -5% -20% -5%); } }
@keyframes wb-appare { from { opacity: 0; } }
@keyframes wb-scheda { from { opacity: 0; transform: translateY(34px) scale(.98); } }
@keyframes wb-arco { to { stroke-dashoffset: 0; } }
@keyframes wb-gira { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .wb *, .wb *::before, .wb *::after { transition: none !important; animation: none !important; }
}
@media print { .wb .wb-attesa { opacity: 1; transform: none; } }

/* ── schermi stretti ───────────────────────────────────── */
@media (max-width: 1260px) {
  /* i volti lasciano il posto: restano testo e scheda */
  .wb-palco, .wb-palco.senza-cast { grid-template-columns: minmax(0, 1fr) 400px; column-gap: 48px; }
  .wb-cast { display: none; }
  .wb-eroe-testo .pref-bottone { top: 34px; }
}
@media (max-width: 1000px) {
  .wb-palco, .wb-palco.senza-cast { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto auto auto; }
  .wb-eroe-fondo { grid-row: 1 / span 3; margin-bottom: 120px; }
  .wb-eroe-testo { padding: 28px 0 30px; }
  .wb-eroe-testo .pref-bottone { top: 22px; }
  /* i volti: una riga che scorre, da un bordo all'altro dello schermo */
  .wb-cast { display: block; grid-row: 2; grid-column: 1; margin: 0 calc(50% - 50vw) 28px; overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%); }
  .wb-cast-colonna { display: none; }
  .wb-cast-colonna:only-child, .wb-cast.c1 .wb-cast-colonna:not(.gira) { display: none; }
  .wb-cast-riga { display: block; }
  .wb-cast:not(:has(.wb-cast-riga)) { display: none; }        /* un solo relatore: niente riga, niente vuoto */
  .wb-cast-riga .wb-cast-nastro { display: flex; width: max-content; animation: wb-scorre-riga 38s linear infinite; }
  .wb-cast-riga .wb-volto { flex: none; width: 112px; margin: 0 10px 0 0; }
  .wb-cast-riga .wb-volto figcaption { font-size: 11px; padding: 22px 8px 8px; }
  .wb-scheda { grid-row: 3; grid-column: 1; position: relative; top: auto; margin: 0 auto; width: 100%; max-width: 520px; }
  .wb-colonna { grid-row: 4; grid-column: 1; padding: 56px 0 72px; }
  .wb-eroe-archi { width: 620px; height: 620px; right: -280px; top: 0; margin-top: -160px; opacity: .55; }
  .wb-ultima .wb-largo { padding-top: 68px; padding-bottom: 84px; }
  /* schermi stretti: la torre in alto, libera, e il testo sotto */
  .wb-scena { width: 100%; object-position: 66% 0; }
  .wb-ultima.con-scena::before { background: linear-gradient(180deg, rgba(2, 27, 46, .25) 0%, rgba(2, 27, 46, .1) 16%, rgba(2, 27, 46, .86) 38%, rgba(2, 27, 46, .9) 70%, #002B47 100%); }
  .wb-ultima.con-scena .wb-largo { padding-top: clamp(230px, 42vw, 330px); padding-bottom: 96px; }
  .wb-ultima-archi { width: 620px; height: 620px; margin: -310px 0 0 -310px; }
  .wb .barra-telefono { position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-telefono); display: flex; align-items: center; gap: 14px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(2, 27, 46, .96); color: #fff; border-top: 1px solid rgba(217, 190, 122, .3);
    transform: translateY(105%); transition: transform .35s var(--uscita); }
  .wb .barra-telefono.vista { transform: none; }
  .wb .barra-telefono p { flex: 1; min-width: 0; font-size: 12px; line-height: 1.35 !important; color: rgba(255, 255, 255, .72); }
  .wb .barra-telefono p b { display: block; font-size: 14px; color: #fff; }
  .wb .barra-telefono a { flex: none; background: var(--oro); color: var(--blu); font-size: 14px; font-weight: 700; padding: 12px 18px; border-radius: 999px; text-decoration: none; }
}
@media (max-width: 900px) {
  .wb .wb-largo { padding-left: 20px !important; padding-right: 20px !important; }
  .wb-briciole { margin-bottom: 24px !important; }
  .wb-barra .wb-largo { gap: 20px; }
}
@media (max-width: 640px) {
  .wb .wb-largo { padding-left: 16px !important; padding-right: 16px !important; }
  .wb-eroe-testo h1 { font-size: clamp(32px, 9vw, 42px); }
  .wb-eroe-testo h1 em { font-size: .55em; }
  .wb-motto { font-size: 16.5px; }
  .wb .co-firma { order: 3; flex-basis: 100%; }
  .wb-fatti { flex-direction: column; gap: 9px; }
  .wb-fatti li { align-items: flex-start; }
  .wb-fatti svg { margin-top: 2px; }
  .wb-orologio-eroe { gap: 18px; margin-top: 26px; padding-top: 20px; }
  .wb-orologio-eroe .cifre { font-size: 34px; }
  .wb-orologio-eroe .wb-orologio-testa { display: none; }
  .wb-scheda { padding: 0 18px 18px; }
  .wb-scheda-data { margin: 0 -18px; padding-left: 18px; padding-right: 18px; }
  .wb-sezione + .wb-sezione { margin-top: 56px; }
  .wb-prosa { font-size: 17px; }
  .wb-punti li { font-size: 18px; padding-left: 32px; }
  .wb-punti li::before { width: 18px; top: 29px; }
  .wb-scaletta::before, .wb-scaletta::after { left: 15px; }
  .wb-scaletta li { grid-template-columns: 32px minmax(0, 1fr); gap: 0 14px; }
  .wb-scaletta-ora { grid-column: 2; grid-row: 1; text-align: left; padding-top: 5px; display: flex; align-items: baseline; gap: 8px; }
  .wb-scaletta-ora small { margin-top: 0; }
  .wb-scaletta-numero { grid-column: 1; grid-row: 1 / span 2; width: 32px; height: 32px; font-size: 13px; }
  .wb-scaletta-cosa { grid-column: 2; grid-row: 2; padding-top: 4px; }
  .wb-scaletta-cosa > b { font-size: 19px; }
  .wb-scaletta-chi small { flex-basis: 100%; }
  .wb-scaletta-chi small::before { content: none; }
  .wb-relatori { grid-template-columns: minmax(0, 1fr); }
  .wb-relatori img, .wb-iniziali { width: 64px; height: 64px; }
  .wb-passi { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .wb-relatore-solo { grid-template-columns: 96px minmax(0, 1fr); gap: 18px; }
  .wb-relatore-solo > img, .wb-relatore-solo > .wb-iniziali { width: 96px; height: 120px; font-size: 30px; }
  .wb-sezione.percorso { padding: 22px 20px; }
  .wb-faq details p { padding-right: 0; }
  .wb-firme img { height: 22px; }
  .wb-firme .logo-partner { height: 27px; }
  .wb-ultima-nota { font-size: 16px; }
}
