/*
 * Le pagine che raccontano Arcadia: funzionalità, singola funzione, prezzi e
 * le sezioni nuove della home. Prefisso vt-. Si appoggia ai token --a-* del tema.
 */

.vt-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.vt-ico { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.2em; }

/* ---------------------------------------------------------------- testi */
.vt-occhiello { display: inline-flex; align-items: center; gap: .5rem; font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--a-gold-300); }
.vt-occhiello::before { content: ''; width: 22px; height: 1.5px; background: currentColor; opacity: .7; }
.vt-occhiello--scuro { color: var(--a-brand-700); }
.vt .vt-display, .vt-display { font-family: var(--a-font-display); font-weight: 700; font-size: clamp(2.6rem, 6.4vw, 5.2rem); line-height: .98; letter-spacing: -.02em; color: #fff !important; margin: 1rem 0 1.25rem; text-wrap: balance; }
.vt-display em { font-style: italic; font-weight: 600; background: linear-gradient(100deg, var(--a-gold-200), var(--a-gold-400) 60%, #f6e3b4); -webkit-background-clip: text; background-clip: text; color: transparent; }
.vt-display--funzione { font-size: clamp(2.4rem, 5.6vw, 4.4rem); }
.vt-h2 { font-family: var(--a-font-display); font-weight: 700; font-size: clamp(1.9rem, 3.8vw, 3rem); line-height: 1.05; letter-spacing: -.015em; margin: .6rem 0 1rem; color: var(--a-n-900); text-wrap: balance; }
.vt-scuro .vt-h2, .vt-eroe .vt-h2 { color: #fff; }
.vt-lead { font-size: clamp(1.05rem, 1.5vw, 1.22rem); line-height: 1.6; color: rgba(255,255,255,.82); max-width: 36rem; margin: 0; }
.vt-sezione .vt-lead, .vt-sezione--alt .vt-lead { color: var(--a-text-muted); }
.vt-scuro .vt-lead { color: rgba(255,255,255,.8); }
.vt-nota { margin: 2rem auto 0; text-align: center; font-size: var(--a-fs-xs); color: var(--a-text-soft); }

.vt-azioni { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; margin-top: 2rem; }
.vt-link-chiaro { display: inline-flex; align-items: center; gap: .4rem; color: #fff; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.35); padding-bottom: 2px; transition: gap var(--a-t-fast), border-color var(--a-t-fast); }
.vt-link-chiaro:hover { gap: .7rem; border-color: var(--a-gold-300); color: #fff; }

/* ----------------------------------------------------------------- eroe */
.vt-eroe { position: relative; overflow: hidden; isolation: isolate; color: #fff; background: radial-gradient(120% 90% at 85% 10%, #6b0a40 0%, transparent 55%), radial-gradient(90% 80% at 0% 100%, #4a0229 0%, transparent 60%), #1c0512; padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(3rem, 7vw, 5.5rem); }
.vt-eroe::after { content: ''; position: absolute; inset: 0; z-index: -1; opacity: .5; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(70% 70% at 60% 40%, #000 20%, transparent 75%); mask-image: radial-gradient(70% 70% at 60% 40%, #000 20%, transparent 75%); }
.vt-eroe__luci { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.vt-eroe__luci i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: vt-deriva 18s ease-in-out infinite alternate; }
.vt-eroe__luci i:nth-child(1) { width: 38vw; height: 38vw; right: 4%; top: -12%; background: #b0106a; }
.vt-eroe__luci i:nth-child(2) { width: 26vw; height: 26vw; right: 26%; bottom: -18%; background: #dbb052; opacity: .22; animation-duration: 23s; }
.vt-eroe__luci i:nth-child(3) { width: 30vw; height: 30vw; left: -10%; top: 30%; background: #5c0535; animation-duration: 27s; }
@keyframes vt-deriva { to { transform: translate3d(-6%, 8%, 0) scale(1.12); } }
.vt-eroe__griglia { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: clamp(2rem, 5vw, 4rem); }
.vt-eroe__tel { position: relative; display: grid; justify-items: center; gap: 1rem; }
.vt-eroe__piani { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; margin-top: 1.5rem; }
.vt-da { font-size: var(--a-fs-sm); color: rgba(255,255,255,.72); }
.vt-da b { color: var(--a-gold-300); }
.vt-briciole { display: flex; gap: .5rem; font-size: var(--a-fs-sm); margin-bottom: 1.25rem; color: rgba(255,255,255,.5); }
.vt-briciole a { color: rgba(255,255,255,.75); text-decoration: none; }
.vt-briciole a:hover { color: #fff; }

/* -------------------------------------------------------------- telefono */
.tel3d { position: relative; width: 100%; max-width: 440px; aspect-ratio: 440 / 600; display: grid; place-items: center; touch-action: pan-y; cursor: pointer; }
.tel3d--eroe { max-width: 480px; aspect-ratio: 480 / 640; }
.tel3d::before { content: ''; position: absolute; inset: 12% 10%; border-radius: 50%; background: radial-gradient(closest-side, rgba(219,176,82,.28), transparent); filter: blur(20px); pointer-events: none; }
.tel3d__tela { position: absolute; inset: 0; width: 100% !important; height: 100% !important; opacity: 0; transition: opacity .8s ease; }
.tel3d.is-3d .tel3d__tela { opacity: 1; }
.tel3d.is-3d .tel3d__css { opacity: 0; transform: scale(.96); }
.tel3d__css { position: relative; width: 56%; aspect-ratio: 390 / 844; border-radius: 13% / 6%; padding: 3.2%; background: linear-gradient(145deg, #4a2a38, #1a0d13 60%, #3b2230); box-shadow: 0 0 0 1.5px #5e3a4a inset, 0 30px 60px -20px rgba(40,0,20,.7), 0 18px 30px -18px rgba(0,0,0,.6); transform: rotate(-4deg); transition: opacity .6s ease, transform .6s ease; }
.tel3d__css img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 10.5% / 4.9%; background: #f6f1ea; }
.tel3d__css::after { content: ''; position: absolute; top: 5.2%; left: 50%; width: 26%; height: 3.2%; transform: translateX(-50%); border-radius: 99px; background: #000; }

.vt-pallini { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; }
.vt-pallini button { font: inherit; font-size: .78rem; font-weight: 600; color: rgba(255,255,255,.7); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 99px; padding: .35rem .8rem; cursor: pointer; transition: all var(--a-t-fast); }
.vt-pallini button:hover { color: #fff; border-color: rgba(255,255,255,.35); }
.vt-pallini button[aria-current="true"] { color: #2a0617; background: var(--a-gold-300); border-color: var(--a-gold-300); }

/* ---------------------------------------------------------- pastiglie piani */
.vt-piani { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; margin: 0; padding: 0; }
.vt-piani__p { display: inline-flex; align-items: center; gap: .25rem; font-size: .72rem; font-weight: 700; letter-spacing: .02em; border-radius: 99px; padding: .22rem .6rem .22rem .45rem; }
.vt-piani__p svg { width: 13px; height: 13px; }
.vt-piani__p--si { color: var(--a-brand-800); background: var(--a-brand-50); border: 1px solid var(--a-brand-200); }
.vt-piani__p--no { color: var(--a-text-soft); background: transparent; border: 1px dashed var(--a-border); text-decoration: line-through; text-decoration-color: rgba(0,0,0,.25); }
.vt-eroe .vt-piani__p--si { color: #2a0617; background: var(--a-gold-300); border-color: var(--a-gold-300); }
.vt-eroe .vt-piani__p--no { color: rgba(255,255,255,.45); border-color: rgba(255,255,255,.2); text-decoration-color: rgba(255,255,255,.3); }

/* ------------------------------------------------------------ nav aree */
.vt-aree-nav { position: sticky; top: var(--vt-testata, 72px); z-index: 20; background: rgba(250,247,242,.86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--a-border-soft); }
.vt-aree-nav .a-container { display: flex; gap: .4rem; overflow-x: auto; padding-block: .7rem; scrollbar-width: none; }
.vt-aree-nav .a-container::-webkit-scrollbar { display: none; }
.vt-aree-nav a { flex: none; display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .9rem; border-radius: 99px; font-size: var(--a-fs-sm); font-weight: 600; color: var(--a-text-muted); text-decoration: none; transition: all var(--a-t-fast); }
.vt-aree-nav a:hover { color: var(--a-brand-700); background: var(--a-brand-50); }
.vt-aree-nav a.is-on { color: #fff; background: var(--a-brand-700); }

/* ------------------------------------------------------------------ aree */
.vt-area { padding: clamp(3.5rem, 7vw, 6rem) 0; scroll-margin-top: 120px; }
.vt-area--alt { background: var(--a-surface-alt, #f5efe7); }
.vt-area__testa { display: flex; align-items: flex-start; gap: 1.1rem; margin-bottom: 2.25rem; max-width: 46rem; }
.vt-area__testa .vt-h2 { margin: 0 0 .35rem; }
.vt-area__testa p { margin: 0; color: var(--a-text-muted); font-size: var(--a-fs-lg); line-height: 1.5; }
.vt-area__ico { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; color: #fff; background: var(--a-grad-brand); box-shadow: var(--a-sh-brand); font-size: 1.5rem; }

.vt-carte { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 460px), 1fr)); gap: 1.5rem; }
.vt-carte--tre { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.vt-carta { position: relative; display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 1.6rem; padding: 1.5rem 1.75rem 1.5rem 1.5rem; border-radius: 22px; background: var(--a-surface); border: 1px solid var(--a-border-soft); color: inherit; text-decoration: none; overflow: hidden; transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s, border-color .35s; }
.vt-carta::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: linear-gradient(135deg, var(--a-gold-300), transparent 40%, var(--a-brand-300)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .35s; }
.vt-carta:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -24px rgba(90,5,50,.35); border-color: transparent; }
.vt-carta:hover::before { opacity: 1; }
.vt-carta__schermo { position: relative; align-self: start; aspect-ratio: 390 / 600; border-radius: 16px; overflow: hidden; background: #1c0512; padding: 5px; box-shadow: 0 12px 24px -14px rgba(40,0,20,.6); transform: rotate(-3deg); transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.vt-carta__schermo img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 12px; display: block; background: #f6f1ea; }
.vt-carta:hover .vt-carta__schermo { transform: rotate(0) scale(1.04); }
.vt-carta__corpo { display: flex; flex-direction: column; gap: .5rem; min-width: 0; }
.vt-carta__nome { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--a-brand-700); }
.vt-carta h3 { font-family: var(--a-font-display); font-size: 1.55rem; line-height: 1.15; margin: 0; color: var(--a-n-900); }
.vt-carta p { margin: 0; font-size: var(--a-fs-sm); line-height: 1.55; color: var(--a-text-muted); }
.vt-carta__vai { margin-top: auto; padding-top: .35rem; display: inline-flex; align-items: center; gap: .35rem; font-size: var(--a-fs-sm); font-weight: 700; color: var(--a-brand-700); transition: gap var(--a-t-fast); }
.vt-carta:hover .vt-carta__vai { gap: .6rem; }
.vt-carta--piccola { grid-template-columns: 84px minmax(0, 1fr); }
.vt-carta--piccola h3 { font-size: 1.15rem; }

/* ------------------------------------------------------ sezioni generiche */
.vt-sezione { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.vt-sezione--alt { background: var(--a-surface-alt, #f5efe7); }
.vt-scuro { color: #fff; background: radial-gradient(80% 120% at 100% 0%, #5c0535 0%, transparent 60%), #1c0512; }
.vt-testa-centro { text-align: center; max-width: 44rem; margin: 0 auto 2.75rem; }
.vt-due { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.vt-due--piani { align-items: start; }

.vt-chi { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.vt-chi__col { display: flex; flex-direction: column; gap: .55rem; padding: 1.5rem; border-radius: 22px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(6px); }
.vt-chi__col strong { font-family: var(--a-font-display); font-size: 1.6rem; margin-bottom: .4rem; }
.vt-chi__col span { font-size: var(--a-fs-sm); color: rgba(255,255,255,.8); padding-left: 1.2rem; position: relative; }
.vt-chi__col span::before { content: ''; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; border-radius: 50%; background: #fff; opacity: .6; }
.vt-chi__col--oro { background: linear-gradient(160deg, rgba(219,176,82,.2), rgba(219,176,82,.04)); border-color: rgba(219,176,82,.35); }
.vt-chi__col--oro strong { color: var(--a-gold-300); }
.vt-chi__col--oro span::before { background: var(--a-gold-300); opacity: 1; }

.vt-mini-piani { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.vt-mini-piano { display: flex; flex-direction: column; gap: .5rem; padding: 1.75rem; border-radius: 24px; background: var(--a-surface); border: 1px solid var(--a-border); color: inherit; text-decoration: none; transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s; }
.vt-mini-piano:hover { transform: translateY(-5px); box-shadow: var(--a-sh-lg); }
.vt-mini-piano.is-scelto { color: #fff; background: linear-gradient(160deg, #7a0844, #2a0617); border-color: transparent; box-shadow: 0 30px 60px -30px rgba(90,5,50,.8); }
.vt-mini-piano__nome { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--a-brand-700); }
.vt-mini-piano.is-scelto .vt-mini-piano__nome { color: var(--a-gold-300); }
.vt-mini-piano__motto { font-family: var(--a-font-display); font-size: 1.55rem; line-height: 1.1; }
.vt-mini-piano__prezzo { font-size: var(--a-fs-sm); color: var(--a-text-muted); }
.vt-mini-piano__prezzo b { font-size: 1.5rem; color: var(--a-brand-700); }
.vt-mini-piano.is-scelto .vt-mini-piano__prezzo, .vt-mini-piano.is-scelto .vt-mini-piano__per { color: rgba(255,255,255,.78); }
.vt-mini-piano.is-scelto .vt-mini-piano__prezzo b { color: var(--a-gold-300); }
.vt-mini-piano__per { font-size: var(--a-fs-sm); line-height: 1.5; color: var(--a-text-muted); }

/* ---------------------------------------------------- pagina funzione */
.vt-problema { padding: clamp(3rem, 6vw, 5rem) 0; background: var(--a-surface-alt, #f5efe7); border-bottom: 1px solid var(--a-border-soft); }
.vt-problema__testo { font-family: var(--a-font-display); font-size: clamp(1.45rem, 2.8vw, 2.1rem); line-height: 1.35; color: var(--a-n-800); margin: 1rem 0 0; text-wrap: pretty; }
.vt-problema__testo::first-letter { color: var(--a-brand-700); }

.vt-punti { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 1.25rem; counter-reset: p; }
.vt-punto { position: relative; padding: 1.75rem 1.5rem 1.6rem; border-radius: 22px; background: var(--a-surface); border: 1px solid var(--a-border-soft); overflow: hidden; }
.vt-punto::after { content: ''; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--a-grad-gold); transform: scaleX(0); transform-origin: left; transition: transform .9s cubic-bezier(.2,.8,.2,1) var(--ritardo, 0ms); }
.vt-punto.is-in::after { transform: scaleX(1); }
.vt-punto__n { font-family: var(--a-font-display); font-size: 2.4rem; line-height: 1; font-weight: 700; color: var(--a-brand-100); -webkit-text-stroke: 1px var(--a-brand-300); }
.vt-punto h3 { font-family: var(--a-font-display); font-size: 1.3rem; margin: .8rem 0 .5rem; color: var(--a-n-900); }
.vt-punto p { margin: 0; font-size: var(--a-fs-sm); line-height: 1.6; color: var(--a-text-muted); }

.vt-chi-lo-fa { display: grid; gap: .9rem; margin-top: 1.25rem; }
.vt-chi-lo-fa__r { display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem 1.25rem; border-radius: 18px; background: var(--a-surface); border: 1px solid var(--a-border-soft); }
.vt-chi-lo-fa__r p { margin: 0; line-height: 1.55; color: var(--a-text); }
.vt-badge { flex: none; font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: .3rem .6rem; border-radius: 8px; color: #fff; background: var(--a-brand-700); }
.vt-badge--oro { color: #2a0617; background: var(--a-gold-300); }

.vt-in-piani { padding: 1.75rem; border-radius: 24px; background: var(--a-surface); border: 1px solid var(--a-border); box-shadow: var(--a-sh-md); display: flex; flex-direction: column; }
.vt-in-piani h3 { font-family: var(--a-font-display); font-size: 1.4rem; margin: 0 0 1rem; }
.vt-in-piani__r { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .95rem 0; border-top: 1px solid var(--a-border-soft); }
.vt-in-piani__r div { display: flex; flex-direction: column; }
.vt-in-piani__r small { color: var(--a-text-soft); font-size: var(--a-fs-xs); }
.vt-in-piani__r > span { text-align: right; font-weight: 700; font-size: var(--a-fs-sm); color: var(--a-brand-700); }
.vt-in-piani__r.is-no > span { color: var(--a-text-soft); font-weight: 400; }
.vt-in-piani__r.is-scelto strong::after { content: 'il più scelto'; margin-left: .5rem; font-size: .62rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--a-gold-800); background: var(--a-gold-100); border-radius: 6px; padding: .12rem .4rem; vertical-align: .15em; }

.vt-sfoglia { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--a-border-soft); }
.vt-sfoglia a { display: flex; flex-direction: column; color: var(--a-n-800); text-decoration: none; font-weight: 700; }
.vt-sfoglia a:last-child { text-align: right; }
.vt-sfoglia small { font-size: var(--a-fs-xs); font-weight: 500; color: var(--a-text-soft); text-transform: uppercase; letter-spacing: .1em; }
.vt-sfoglia a:hover { color: var(--a-brand-700); }
.vt-sfoglia .vt-sfoglia__tutte { font-size: var(--a-fs-sm); padding: .55rem 1rem; border-radius: 99px; border: 1px solid var(--a-border); }


/* ------------------------------------------------------------ home: eroe */
.vt-eroe .vt-display + .vt-lead { margin-top: 1.1rem; }
@media (max-width: 640px) { .vt-prezzi-fatti li { padding: .45rem .9rem; font-size: .8rem; } .vt-prezzi-fatti strong { font-size: 1.1rem; } }
.vt-eroe--home { padding-top: clamp(3rem, 6vw, 5rem); }
.vt-prezzi-fatti--sx { justify-content: flex-start; margin: 2.25rem 0 0; }
.vt-prezzi-fatti { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.vt-prezzi-fatti li { display: flex; align-items: baseline; gap: .5rem; padding: .6rem 1.1rem; border-radius: 99px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.8); font-size: var(--a-fs-sm); }
.vt-prezzi-fatti strong { font-family: var(--a-font-display); font-size: 1.35rem; color: var(--a-gold-300); }

/* -------------------------------------------------------- home: problemi */
.vt-problemi { max-width: 1040px; margin: 0 auto; border-radius: 26px; background: var(--a-surface); border: 1px solid var(--a-border-soft); box-shadow: 0 30px 60px -40px rgba(60,0,30,.35); overflow: hidden; }
.vt-problemi__testa, .vt-problema-riga { display: grid; grid-template-columns: 3.2rem minmax(0, 1.25fr) minmax(0, 1fr) 2.5rem; gap: 1.25rem; align-items: center; padding: 1.15rem 1.75rem; }
.vt-problemi__testa { padding-block: .8rem; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--a-text-soft); background: var(--a-n-50); border-bottom: 1px solid var(--a-border-soft); }
.vt-problema-riga { position: relative; color: inherit; text-decoration: none; border-top: 1px solid var(--a-border-soft); transition: background .3s; }
.vt-problema-riga:first-of-type { border-top: 0; }
.vt-problema-riga::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--a-grad-gold); transform: scaleY(0); transition: transform .3s; }
.vt-problema-riga:hover { background: linear-gradient(90deg, var(--a-brand-50), transparent 70%); }
.vt-problema-riga:hover::before { transform: scaleY(1); }
.vt-problema-riga__n { font-family: var(--a-font-display); font-size: 1.6rem; font-weight: 700; color: var(--a-brand-200); }
.vt-problema-riga__male { display: flex; flex-direction: column; gap: .2rem; }
.vt-problema-riga__male strong { font-family: var(--a-font-display); font-size: 1.2rem; color: var(--a-n-900); }
.vt-problema-riga__male small { font-size: var(--a-fs-sm); color: var(--a-text-muted); line-height: 1.45; }
.vt-problema-riga__bene { position: relative; padding-left: 1.6rem; font-weight: 600; color: var(--a-brand-800); line-height: 1.4; }
.vt-problema-riga__bene::before { content: ''; position: absolute; left: 0; top: .15em; width: 1.05rem; height: 1.05rem; border-radius: 50%; background: var(--a-gold-300) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5 5.5-6' fill='none' stroke='%232a0617' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat; }
.vt-problema-riga__vai { color: var(--a-brand-600); font-size: 1.2rem; transition: transform .3s; }
.vt-problema-riga:hover .vt-problema-riga__vai { transform: translateX(4px); }

/* ---------------------------------------------- home: racconto a scorrimento */
.vt-racconto { color: var(--a-n-900); padding: clamp(4rem, 8vw, 7rem) 0; background: radial-gradient(55% 50% at 18% 35%, rgba(145,2,80,.09) 0%, transparent 70%), radial-gradient(50% 45% at 92% 88%, rgba(219,176,82,.16) 0%, transparent 70%), #fbf7f2; border-block: 1px solid var(--a-border-soft); }
.vt-racconto .vt-h2 { color: var(--a-n-900); }
.vt-racconto .vt-occhiello { color: var(--a-brand-700); }
.vt-racconto .tel3d::before { background: radial-gradient(closest-side, rgba(145,2,80,.16), transparent); }
.vt-racconto__griglia { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.vt-racconto__tel { position: sticky; top: calc(var(--vt-testata, 72px) + 2vh); height: calc(100vh - var(--vt-testata, 72px) - 4vh); display: grid; place-items: center; }
.vt-racconto__tel .tel3d { max-width: 460px; max-height: 100%; }
.vt-racconto__passi { padding: 10vh 0 20vh; }
.vt-passo { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; opacity: .3; transform: translateX(10px); transition: opacity .5s, transform .5s; }
.vt-passo.is-on { opacity: 1; transform: none; }
.vt-passo__n { display: inline-grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; font-family: var(--a-font-display); font-size: .95rem; font-weight: 700; color: #fff; background: var(--a-grad-brand); box-shadow: var(--a-sh-brand); }
.vt-passo h3 { font-family: var(--a-font-display); font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.05; margin: .9rem 0 1rem; color: var(--a-n-900); }
.vt-passo p { font-size: var(--a-fs-lg); line-height: 1.6; color: var(--a-text-muted); max-width: 30rem; margin: 0; }
.vt-passo__vai { margin-top: 1.25rem; display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--a-brand-700); text-decoration: none; }
.vt-passo__vai:hover { gap: .7rem; color: var(--a-brand-800); }
.vt-racconto__tutte { margin: 0; }
.vt-nota--chiara { color: var(--a-text-soft); }
@media (max-width: 860px) {
    .vt-racconto__griglia { grid-template-columns: minmax(0, 1fr); }
    .vt-racconto__tel { top: var(--vt-testata, 64px); height: 42vh; z-index: 2; background: linear-gradient(#fbf7f2 86%, rgba(251,247,242,0)); margin: 0 -16px; padding: 0 16px 3vh; }
    .vt-racconto__tel .tel3d { max-width: 230px; }
    .vt-racconto__passi { position: relative; z-index: 1; padding: 4vh 0 12vh; }
    .vt-passo { min-height: 52vh; justify-content: flex-start; padding-top: 2vh; }
    .vt-passo h3 { font-size: 1.9rem; }
    .vt-passo p { font-size: 1.05rem; }
    .vt-problemi__testa { display: none; }
    .vt-problema-riga { grid-template-columns: 2.2rem minmax(0, 1fr); gap: .5rem 1rem; padding: 1.1rem 1.1rem; align-items: start; }
    .vt-problema-riga__bene { grid-column: 2; }
    .vt-problema-riga__vai { display: none; }
}

/* -------------------------------------------------------- entrata in scena */
.vt-rivela { opacity: 0; transform: translateY(22px); transition: opacity .8s ease var(--ritardo, 0ms), transform .8s cubic-bezier(.2,.8,.2,1) var(--ritardo, 0ms); }
.vt-rivela.is-in { opacity: 1; transform: none; }
.no-js .vt-rivela, .vt-senza-rivela .vt-rivela { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .vt-rivela { opacity: 1; transform: none; transition: none; }
    .vt-eroe__luci i { animation: none; }
}

/* ---------------------------------------------------------------- mobile */
@media (max-width: 960px) {
    .vt-eroe__griglia, .vt-due { grid-template-columns: minmax(0, 1fr); }
    .vt-eroe__tel { order: -1; margin-top: -1rem; }
    .vt-eroe--funzione .vt-eroe__tel { order: 0; }
    .tel3d--eroe { max-width: 380px; }
    .vt-mini-piani { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
    .vt-eroe__tel { order: 0; }
    .tel3d, .tel3d--eroe { max-width: 330px; }
    .vt-carta { grid-template-columns: 92px minmax(0, 1fr); gap: 1rem; padding: 1rem; }
    .vt-carta h3 { font-size: 1.2rem; }
    .vt-chi { grid-template-columns: minmax(0, 1fr); }
    .vt-area__testa { flex-direction: column; gap: .75rem; }
    .vt-sfoglia { grid-template-columns: 1fr 1fr; }
    .vt-sfoglia .vt-sfoglia__tutte { grid-column: 1 / -1; grid-row: 2; justify-self: center; }
}

/* ------------------------------------------ tabella riepilogo con le spunte */
.vt-tab { max-width: 1080px; margin: 0 auto; border-radius: 24px; background: var(--a-surface); border: 1px solid var(--a-border); box-shadow: 0 30px 60px -40px rgba(60,0,30,.3); overflow-x: auto; -webkit-overflow-scrolling: touch; }
.vt-tab:focus-visible { outline: 2px solid var(--a-brand-600); outline-offset: 3px; }
.vt-tab__t { width: 100%; min-width: 640px; border-collapse: separate; border-spacing: 0; font-size: var(--a-fs-sm); }
.vt-tab__t thead th { position: sticky; top: 0; z-index: 1; background: var(--a-surface); padding: 1.25rem 1rem 1rem; border-bottom: 1px solid var(--a-border); vertical-align: bottom; }
.vt-tab__primo { text-align: left; width: 40%; }
.vt-tab__primo span { font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--a-text-soft); }
.vt-tab__piano { text-align: center; width: 20%; }
.vt-tab__piano strong { display: block; font-family: var(--a-font-display); font-size: 1.45rem; color: var(--a-n-900); }
.vt-tab__piano small { display: block; margin-top: .15rem; font-size: var(--a-fs-xs); color: var(--a-text-soft); font-weight: 500; }
.vt-tab__flag { display: inline-block; margin-bottom: .45rem; font-size: .6rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--a-gold-800); background: var(--a-gold-100); border-radius: 6px; padding: .15rem .45rem; }
.vt-tab__t .is-scelto { background: linear-gradient(var(--a-brand-50), var(--a-brand-50)); }
.vt-tab__t thead .is-scelto { background: var(--a-brand-50); box-shadow: inset 0 3px 0 var(--a-gold-400); }
.vt-tab__t thead .is-scelto strong { color: var(--a-brand-700); }
.vt-tab__area th { text-align: left; padding: 1.4rem 1.25rem .6rem; font-family: var(--a-font-display); font-size: 1.1rem; color: var(--a-brand-700); border-bottom: 1px solid var(--a-brand-100); }
.vt-tab__area .vt-ico { color: var(--a-brand-600); margin-right: .25rem; }
.vt-tab__t tbody tr:not(.vt-tab__area) th, .vt-tab__t tbody td { padding: .8rem 1rem; border-bottom: 1px solid var(--a-border-soft); }
.vt-tab__t tbody tr:not(.vt-tab__area) th { text-align: left; font-weight: 400; padding-left: 1.25rem; }
.vt-tab__t tbody tr:not(.vt-tab__area):hover th, .vt-tab__t tbody tr:not(.vt-tab__area):hover td:not(.is-scelto) { background: var(--a-n-50); }
.vt-tab__nome { display: inline; font-weight: 600; color: var(--a-n-900); text-decoration: none; }
a.vt-tab__nome { border-bottom: 1px solid var(--a-brand-200); }
a.vt-tab__nome:hover { color: var(--a-brand-700); border-color: var(--a-brand-600); }
.vt-tab__t tbody th small { display: block; margin-top: .15rem; font-size: var(--a-fs-xs); color: var(--a-text-soft); }
.vt-tab__t td { text-align: center; vertical-align: middle; }
.vt-tab__si { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; color: #fff; background: var(--a-grad-brand); box-shadow: 0 4px 10px -4px rgba(145,2,80,.6); }
.vt-tab__si svg { width: 15px; height: 15px; }
.vt-tab__no { display: inline-block; width: 14px; height: 2px; border-radius: 2px; background: var(--a-n-300); vertical-align: middle; }
.vt-tab__nota { display: block; margin: .35rem auto 0; max-width: 11rem; font-size: .74rem; line-height: 1.35; color: var(--a-brand-800); }
.vt-tab__testo { font-weight: 600; color: var(--a-n-800); }
.vt-tab__t tfoot td, .vt-tab__t tfoot th { padding: 1.1rem 1rem 1.35rem; text-align: center; }
.vt-tab-legenda { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 1.5rem; margin: 1rem auto 0; font-size: var(--a-fs-xs); color: var(--a-text-soft); }
.vt-tab-legenda span { display: inline-flex; align-items: center; gap: .4rem; }
.vt-tab-legenda .vt-tab__si { width: 18px; height: 18px; box-shadow: none; }
.vt-tab-legenda .vt-tab__si svg { width: 11px; height: 11px; }
@media (max-width: 640px) {
    .vt-tab { border-radius: 18px; margin-inline: -6px; overflow: visible; }
    .vt-tab__t { min-width: 0; table-layout: fixed; font-size: .8rem; }
    .vt-tab__primo { width: 34%; padding-left: .8rem !important; }
    .vt-tab__piano { width: 22%; padding: 1rem .2rem .8rem !important; }
    .vt-tab__piano strong { font-size: 1.1rem; }
    .vt-tab__piano small { font-size: .62rem; }
    .vt-tab__flag { font-size: .5rem; padding: .1rem .3rem; }
    .vt-tab__t thead th { top: var(--vt-testata, 64px); }
    .vt-tab__area th { padding: 1.1rem .8rem .5rem; font-size: 1rem; }
    .vt-tab__t tbody tr:not(.vt-tab__area) th { padding: .7rem .4rem .7rem .8rem; }
    .vt-tab__t tbody td { padding: .65rem .2rem; }
    .vt-tab__t tbody th small { display: none; }
    .vt-tab__si { width: 22px; height: 22px; }
    .vt-tab__si svg { width: 13px; height: 13px; }
    .vt-tab__nota { font-size: .64rem; max-width: none; }
    .vt-tab__testo { font-size: .72rem; }
    .vt-tab__t tfoot td { padding: .9rem .2rem 1.1rem; }
    .vt-tab__t tfoot .a-btn { padding-inline: .5rem; font-size: .72rem; min-height: 36px; }
}

