/* Valutazione funzionale, versione "cinema": apertura nera con la maschera, grafico CPET raccontato
   dallo scorrimento (scena ferma, scorrimento libero), poi sezioni chiare. Regole solo per body.vc. */
.vc {
  --nero: #000; --on: #e8ede6; --on2: #aebba9; --on3: #d2dacd;
  --vo2: #5aa9ff; --vco2: #ff5a5f; --hh: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (max-width: 680px) { .vc { --hh: 68px; } }
html:has(body.vc) { background: #000; }
.vc main { display: block; }
.vc sub { font-size: .66em; line-height: 0; vertical-align: -.22em; }
.vc h1 sub { font-size: .58em; vertical-align: -.1em; }
.vc-nowrap { white-space: nowrap; }

/* Testata scura finché sotto c'è una sezione nera (classe da pagina.js); senza JS resta come nel sito. */
.vc .site-header { transition: background-color .3s ease, border-color .3s ease; }
.vc-js body.vc:not(.vc-hdr-chiaro):not(.menu-open) .site-header { background: var(--nero); border-bottom-color: #000; backdrop-filter: none; -webkit-backdrop-filter: none; }
.vc-js body.vc:not(.vc-hdr-chiaro):not(.menu-open) :is(.brand, .brand-mark, .brand-text strong, .site-nav ul a) { color: var(--on); }
.vc-js body.vc:not(.vc-hdr-chiaro):not(.menu-open) .brand-text span { color: var(--on2); }
.vc-js body.vc:not(.vc-hdr-chiaro):not(.menu-open) .site-nav ul a:is(:hover, [aria-current="page"]) { color: #fff; }
.vc-js body.vc:not(.vc-hdr-chiaro):not(.menu-open) .site-nav ul a::after { background: var(--on); }
.vc-js body.vc:not(.vc-hdr-chiaro):not(.menu-open) .menu-toggle { color: var(--on); border-color: rgba(232, 237, 230, .45); }
.vc-js body.vc:not(.vc-hdr-chiaro):not(.menu-open) .site-header a:focus-visible { outline-color: var(--on); }
.vc-js body.vc.vc-hdr-notte:not(.menu-open) .site-header { background: var(--night); border-bottom-color: var(--night); }

/* Pulsanti */
.vc-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 14px 28px; border-radius: 999px; font: inherit; font-size: 16px; font-weight: 600; text-decoration: none; border: 0; cursor: pointer; transition: background-color .2s ease, transform .2s ease; -webkit-tap-highlight-color: transparent; }
.vc-lime { background: var(--lime); color: var(--ink); }
.vc-lime:hover { background: var(--lime-2); color: var(--ink); }
.vc-scuro { background: var(--ink); color: var(--paper); }
.vc-scuro:hover { background: #111712; color: var(--paper); }
.vc-linea { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px rgba(32, 40, 34, .35); }
.vc-linea:hover { color: var(--ink); background: rgba(32, 40, 34, .05); }
.vc-buio :focus-visible { outline-color: var(--on); }

/* ---------- Apertura ---------- */
.vc-apre { position: relative; overflow: hidden; background: var(--nero); color: var(--on); isolation: isolate; }
.vc-luce { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 34% 46% at 72% 52%, rgba(70, 120, 190, .24) 0%, rgba(70, 132, 220, 0) 100%),
    radial-gradient(ellipse 62% 78% at 70% 52%, rgba(30, 66, 130, .28) 0%, rgba(18, 40, 86, .12) 45%, rgba(0, 0, 0, 0) 100%); }
.vc-apre-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: 32px; min-height: calc(100vh - var(--hh)); min-height: calc(100svh - var(--hh)); padding-block: 40px; }
.vc-apre-txt { max-width: 600px; }
.vc-apre h1 { margin: 0 0 24px; font-size: clamp(40px, 4.6vw, 70px); font-weight: 500; letter-spacing: -.045em; line-height: 1.03; color: var(--on); text-wrap: balance; }
.vc-h1b { display: block; color: var(--on2); }
.vc-gancio { margin: 0 0 34px; font-size: 24px; font-weight: 400; line-height: 1.35; color: var(--on2); max-width: 22em; text-wrap: balance; }
.vc-maschera { display: flex; justify-content: center; align-items: center; }
.vc-maschera img { display: block; width: auto; height: min(62vh, 540px); height: min(62svh, 540px); max-width: 100%; object-fit: contain; filter: saturate(.5) brightness(.8) drop-shadow(0 0 1px rgba(200, 222, 255, .38)) drop-shadow(0 0 12px rgba(110, 160, 240, .2)); }   /* contorno di luce blando (17/11) */
.vc-js .vc-maschera img { will-change: transform; }

@media (prefers-reduced-motion: no-preference) {
  .vc-luce { animation: vc-luce 1.6s ease-out both; }
  .vc-maschera { animation: vc-entra 1.4s var(--ease) both; }
  @keyframes vc-luce { from { opacity: 0; } to { opacity: 1; } }
  @keyframes vc-entra { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
}

@media (max-width: 760px) {
  .vc-luce { background:
    radial-gradient(ellipse 200px 180px at 50% calc(var(--vc-top, 12px) + clamp(180px, 34vh, 320px) / 2), rgba(80, 135, 210, .38) 0%, rgba(70, 132, 220, 0) 100%),
    radial-gradient(ellipse 360px 320px at 50% calc(var(--vc-top, 12px) + clamp(180px, 34vh, 320px) / 2), rgba(36, 76, 150, .38) 0%, rgba(18, 40, 86, .16) 45%, rgba(0, 0, 0, 0) 100%); }
  @supports (height: 1svh) { .vc-luce { background:
    radial-gradient(ellipse 200px 180px at 50% calc(var(--vc-top, 12px) + clamp(180px, 34svh, 320px) / 2), rgba(80, 135, 210, .38) 0%, rgba(70, 132, 220, 0) 100%),
    radial-gradient(ellipse 360px 320px at 50% calc(var(--vc-top, 12px) + clamp(180px, 34svh, 320px) / 2), rgba(36, 76, 150, .38) 0%, rgba(18, 40, 86, .16) 45%, rgba(0, 0, 0, 0) 100%); } }
  .vc-apre { --vc-top: clamp(20px, 9vh, 90px); --vc-top: clamp(20px, 9svh, 90px); }
  .vc-apre-in { grid-template-columns: 1fr; align-content: start; gap: clamp(22px, 4svh, 40px); padding-block: var(--vc-top) 32px; text-align: center; }
  .vc-maschera { order: -1; }
  .vc-maschera img { filter: saturate(.85) brightness(1.08) drop-shadow(0 0 1.5px rgba(205, 225, 255, .55)) drop-shadow(0 0 22px rgba(110, 160, 240, .38)); }   /* su telefono un po' più accesa (17/11) */
  .vc-maschera img { height: clamp(180px, 34vh, 320px); height: clamp(180px, 34svh, 320px); }
  .vc-apre h1 { font-size: 34px; margin-bottom: 14px; }
  .vc-gancio { font-size: 20px; line-height: 1.4; margin: 0 auto 22px; }
  .vc-cta-apre { width: 100%; }
}

/* ---------- Racconto del grafico ----------
   Senza JS o con movimento ridotto: grafico completo e testi in elenco (vale la parte qui sotto).
   Con .vc-cine (pagina.js): scena ferma a tutto schermo guidata dallo scorrimento. */
.vc-racconto { position: relative; background: var(--nero); color: var(--on); }
.vc-stage { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; padding-block: 72px; display: grid; gap: 32px; }
.vc-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.vc-top h2 { margin: 0; font-size: clamp(30px, 3.2vw, 46px); font-weight: 500; letter-spacing: -.04em; line-height: 1.08; color: var(--on); }
.vc-top h2 span { color: var(--on2); }
.vc-tratti { display: none; }
.vc-passi { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 40px; order: 3; }
.vc-passo h3 { margin: 0 0 10px; font-size: 22px; font-weight: 500; letter-spacing: -.025em; line-height: 1.15; color: var(--on); }
.vc-passo p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--on3); }
.vc-zone { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.vc-zone li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; line-height: 1.45; color: var(--on2); }
.vc-zone b { font-weight: 500; color: var(--on); }
.vc-zone i { flex: none; width: 22px; height: 10px; margin-top: 6px; border-radius: 5px; box-shadow: inset 0 0 0 1px rgba(232, 237, 230, .3); }
.vc-zone .q1, .vc-fasce .z1 { background: rgba(232, 237, 230, .06); fill: rgba(232, 237, 230, .06); }
.vc-zone .q2, .vc-fasce .z2 { background: rgba(232, 237, 230, .12); fill: rgba(232, 237, 230, .12); }
.vc-zone .q3, .vc-fasce .z3 { background: rgba(232, 237, 230, .2); fill: rgba(232, 237, 230, .2); }
.vc-nota { margin: 0; font-size: 15px; line-height: 1.45; color: var(--on2); order: 2; }
.vc-steps { display: none; }

/* Grafico */
.vc-fig { margin: 0; position: relative; display: grid; grid-template-rows: auto minmax(0, 1fr) auto auto; padding-left: 30px; min-height: 0; }
.vc-asse-y { margin: 0 0 14px -30px; font-size: 15px; line-height: 20px; color: var(--on2); }
.vc-plot { position: relative; height: clamp(280px, 46vw, 520px); min-height: 0; }
.vc-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; display: block; }
.vc-griglia { fill: none; stroke: rgba(232, 237, 230, .1); stroke-width: 1; vector-effect: non-scaling-stroke; }
.vc-base { fill: none; stroke: rgba(232, 237, 230, .4); stroke-width: 1; vector-effect: non-scaling-stroke; }
.vc-svg path[class^="p-"], .vc-svg path[class^="l-"] { fill: none; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.vc-svg .p-vo2, .vc-svg .p-vco2 { stroke-width: 3.6; stroke-opacity: .4; }
.vc-svg .l-vo2, .vc-svg .l-vco2 { stroke-width: 2.5; }
.vc-svg .p-vo2, .vc-svg .l-vo2 { stroke: var(--vo2); }
.vc-svg .p-vco2, .vc-svg .l-vco2 { stroke: var(--vco2); }
@media (max-width: 760px) { .vc-svg .p-vo2, .vc-svg .p-vco2 { stroke-width: 2.8; } .vc-svg .l-vo2, .vc-svg .l-vco2 { stroke-width: 2.2; } }

.vc-soglia { position: absolute; top: 0; bottom: 0; width: 0; border-left: 1px dashed rgba(232, 237, 230, .7); transform-origin: 50% 100%; }
.vc-soglia.s1 { left: 43.75%; } .vc-soglia.s2 { left: 70%; }
.vc-soglia b { position: absolute; bottom: 100%; left: 0; transform: translate(-50%, -6px); font-size: 15px; font-weight: 500; line-height: 20px; color: var(--on); white-space: nowrap; }
.vc-max { position: absolute; left: 0; right: 3.5%; top: 17.1%; height: 0; border-top: 1px dashed rgba(90, 169, 255, .85); transform-origin: 0 50%; }
.vc-max b { position: absolute; left: 4px; bottom: 6px; font-size: 15px; font-weight: 500; line-height: 20px; color: var(--vo2); white-space: nowrap; }
.vc-zn { position: absolute; bottom: 6px; transform: translateX(-50%); font-size: 15px; line-height: 20px; color: var(--on2); white-space: nowrap; }
.vc-zn.zn1 { left: 25%; } .vc-zn.zn2 { left: 56.9%; } .vc-zn.zn3 { left: 85%; }
.vc-et { position: absolute; font-size: 15px; font-weight: 600; line-height: 20px; }
.vc-et.e-vo2 { left: 28%; top: 41%; color: var(--vo2); }
.vc-et.e-vco2 { left: 54%; top: 61%; color: var(--vco2); }
.vc-ty { position: absolute; top: 0; bottom: 0; right: 100%; width: 30px; }
.vc-ty i, .vc-tx i { position: absolute; font-style: normal; font-size: 15px; line-height: 20px; color: var(--on2); font-variant-numeric: tabular-nums; }
.vc-ty i { right: 10px; transform: translateY(-50%); }
.vc-ty .y0 { top: 100%; } .vc-ty .y1 { top: 80%; } .vc-ty .y2 { top: 60%; } .vc-ty .y3 { top: 40%; } .vc-ty .y4 { top: 20%; } .vc-ty .y5 { top: 0; }
.vc-tx { position: relative; height: 30px; }
.vc-tx i { top: 8px; transform: translateX(-50%); }
.vc-tx .x0 { left: 0; transform: none; } .vc-tx .x1 { left: 25%; } .vc-tx .x2 { left: 50%; } .vc-tx .x3 { left: 75%; } .vc-tx .x4 { left: 100%; transform: translateX(-100%); }
.vc-asse-x { margin: 2px 0 0; text-align: right; font-size: 15px; line-height: 20px; color: var(--on2); }

/* Punta luminosa che traccia le curve (pagina.js la sposta sulla linea): nucleo chiaro, anello e alone nel colore della curva */
.vc-pen { position: absolute; left: 0; top: 0; width: 0; height: 0; opacity: 0; pointer-events: none; will-change: transform, opacity; }
.vc-pen::before, .vc-pen::after { content: ''; position: absolute; border-radius: 50%; }
.vc-pen::after { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: radial-gradient(circle, rgba(var(--pen), .42) 0%, rgba(var(--pen), .14) 38%, rgba(var(--pen), 0) 70%); }
.vc-pen::before { z-index: 1; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; background: #fff; box-shadow: 0 0 0 2.5px rgb(var(--pen)), 0 0 14px 3px rgba(var(--pen), .75); }
.vc-pen.pen-vo2 { --pen: 90, 169, 255; }
.vc-pen.pen-vco2 { --pen: 255, 90, 95; }
@media (max-width: 760px) { .vc-pen::after { width: 44px; height: 44px; margin: -22px 0 0 -22px; } .vc-pen::before { width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; } }

@media (max-width: 960px) { .vc-passi { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .vc-passi { grid-template-columns: 1fr; } .vc-plot { height: 300px; } .vc-stage { padding-block: 56px; } }

/* Scena guidata dallo scorrimento */
/* Sezione alta uno schermo, "a pagina": agganciata, ogni gesto vale un passo (pagina.js).
   L'ancoraggio nativo ferma qui anche gli scorrimenti veloci, così la sezione non si salta;
   resta di prossimità, quindi il resto della pagina scorre libero. */
html.vc-cine { scroll-snap-type: y proximity; }
html.vc-cine.vc-nosnap { scroll-snap-type: none; }
.vc-cine .vc-racconto { scroll-snap-align: start; scroll-snap-stop: always; min-height: calc(100vh - var(--hh)); min-height: calc(100lvh - var(--hh)); }
.vc-cine .vc-stage { position: relative; width: auto; height: calc(100vh - var(--hh)); height: calc(100svh - var(--hh)); overflow: hidden; margin: 0;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px); grid-template-rows: auto minmax(0, 1fr) auto; grid-template-areas: "fig top" "fig txt" "nota txt";
  column-gap: clamp(40px, 5vw, 88px); row-gap: 16px; padding: clamp(28px, 4.5vh, 56px) 96px clamp(24px, 4vh, 40px) clamp(24px, 4vw, 64px); }
.vc-cine .vc-top { grid-area: top; }
.vc-cine .vc-top h2 { font-size: 18px; letter-spacing: -.02em; }
.vc-cine .vc-passi { grid-area: txt; display: grid; grid-template-columns: 1fr; align-self: center; }
.vc-cine .vc-passo { grid-area: 1 / 1; align-self: center; opacity: 0; visibility: hidden; will-change: opacity, transform; }
.vc-cine .vc-passo:first-child { opacity: 1; visibility: visible; }
.vc-cine .vc-passo h3 { font-size: clamp(32px, 3.2vw, 50px); letter-spacing: -.045em; line-height: 1.06; margin-bottom: 20px; }
.vc-cine .vc-passo p { font-size: 18px; line-height: 1.62; }
.vc-cine .vc-zone li { font-size: 16px; }
.vc-cine .vc-fig { grid-area: fig; align-self: stretch; }
.vc-cine .vc-plot { height: auto; }
.vc-cine .vc-nota { grid-area: nota; padding-left: 30px; }
.vc-cine .vc-steps { display: flex; flex-direction: column; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); }
.vc-steps button { position: relative; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer; }
/* Lineette come barre di avanzamento: traccia tenue, riempimento chiaro (--f da pagina.js, 0..1) */
.vc-steps button::before, .vc-steps button::after { content: ''; position: absolute; left: 50%; top: 50%; width: 2px; height: 24px; margin: -12px 0 0 -1px; border-radius: 1px; }
.vc-steps button::before { background: rgba(232, 237, 230, .25); }
.vc-steps button::after { background: var(--on); transform: scaleY(var(--f, 0)); transform-origin: 50% 0; }
@media (hover: hover) { .vc-steps button:hover::before { background: rgba(232, 237, 230, .5); } }
.vc-steps span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.vc-steps button:focus-visible { outline: 2px solid var(--on); outline-offset: -4px; border-radius: 8px; }

/* Stati iniziali della scena (pagina.js li porta avanti con lo scorrimento) */
.vc-cine .vc-soglia, .vc-cine .vc-max { transform: scaleY(0); }
.vc-cine .vc-max { transform: scaleX(0); }
.vc-cine :is(.vc-soglia b, .vc-max b, .vc-zn, .vc-et, .vc-fasce rect) { opacity: 0; }

@media (max-width: 760px) {
  .vc-cine .vc-stage { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto minmax(0, 1fr) auto; grid-template-areas: "top" "txt" "fig" "nota";
    padding: 18px 16px 84px; row-gap: 14px; }
  .vc-cine .vc-top h2 { font-size: 15px; color: var(--on2); }
  .vc-cine .vc-top h2 span { color: inherit; }
  /* telefono: le stesse lineette, orizzontali in alto a destra accanto al titolo, toccabili (44 px) */
  .vc-cine .vc-steps { flex-direction: row; top: 6px; right: 8px; transform: none; }
  .vc-steps button { width: 40px; }
  .vc-steps button::before, .vc-steps button::after { width: 28px; height: 2px; margin: -1px 0 0 -14px; }
  .vc-steps button::after { transform: scaleX(var(--f, 0)); transform-origin: 0 50%; }
  .vc-cine .vc-passi { align-self: start; }
  .vc-cine .vc-passo { align-self: start; }
  .vc-cine .vc-passo h3 { font-size: 28px; margin-bottom: 10px; }
  .vc-cine .vc-passo p { font-size: 16px; line-height: 1.55; }
  .vc-cine .vc-zone { margin-top: 10px; gap: 6px; }
  .vc-cine .vc-zone li { font-size: 15px; }
  .vc-cine .vc-nota { padding-left: 0; }
  .vc-fig { padding-left: 26px; }
  .vc-asse-y { margin-left: -26px; margin-bottom: 14px; }
  .vc-ty { width: 26px; }
  .vc-ty i { right: 7px; }
  .vc-soglia b { transform: translate(-50%, -4px); }
}

/* ---------- Sezioni ---------- */
.vc-sec { padding-block: clamp(72px, 9vw, 128px); }
.vc-carta { background: var(--paper); }
.vc-salvia { background: var(--sage); }
.vc-come { background: var(--nero); color: var(--on); }
.vc-sec h2 { margin: 0; font-size: clamp(32px, 3.6vw, 52px); font-weight: 500; letter-spacing: -.04em; line-height: 1.06; color: var(--ink); text-wrap: balance; }
.vc-sec h2 span { color: var(--olive-2); }
.vc-come h2 { color: var(--on); }
.vc-come h2 span { color: var(--on2); }
.vc-head { margin-bottom: clamp(32px, 4vw, 56px); max-width: 720px; }
.vc-head p { margin: 14px 0 0; font-size: 18px; line-height: 1.6; color: var(--muted); }
.vc-ico { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 14px; color: var(--olive); background: var(--sage); }
.vc-ico svg { width: 24px; height: 24px; }

.vc-scopi { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.vc-scopo { background: var(--card); border-radius: 26px; padding: clamp(24px, 3vw, 40px); box-shadow: inset 0 0 0 1px var(--line); }
.vc-scopo h3 { margin: 22px 0 4px; font-size: 26px; font-weight: 500; letter-spacing: -.03em; color: var(--ink); }
.vc-sub { margin: 0 0 14px; font-size: 15px; font-weight: 500; color: var(--olive); }
.vc-scopo p:last-child { margin: 0; font-size: 17px; line-height: 1.65; color: var(--ink); }

/* "Come si svolge": verde notte del sito (come le sezioni .dark), accenti lime, schede arrotondate numerate */
.vc-come.vc-notte { background: radial-gradient(ellipse 70% 90% at 12% 0%, rgba(46, 68, 54, .95) 0%, rgba(46, 68, 54, 0) 70%), var(--night); }
.vc-come.vc-notte h2 { color: #fff; }
.vc-come.vc-notte h2 span { color: var(--lime); }
.vc-fasi { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: fase; }
.vc-fase { counter-increment: fase; position: relative; background: var(--forest); border-radius: 24px; padding: 24px 24px 28px; box-shadow: inset 0 0 0 1px rgba(232, 237, 230, .08); }
.vc-fase::after { content: counter(fase, decimal-leading-zero); position: absolute; top: 34px; right: 24px; font-size: 13px; font-weight: 600; letter-spacing: .14em; line-height: 1; color: var(--lime); }
.vc-come .vc-ico { background: rgba(215, 247, 115, .12); color: var(--lime); }
.vc-fase h3 { margin: 22px 0 10px; font-size: 20px; font-weight: 500; letter-spacing: -.02em; line-height: 1.2; color: #fff; }
.vc-fase p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--on3); }
.vc-come :focus-visible { outline-color: var(--lime); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .vc-fase .vc-ico { transition: background-color .3s ease, color .3s ease, transform .4s cubic-bezier(.3, 1.6, .5, 1); }
  .vc-fase:hover .vc-ico { background: var(--lime); color: var(--ink); transform: scale(1.08); }
}

.vc-medico { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.vc-foto { width: 100%; height: auto; border-radius: 26px; display: block; }
.vc-nome { margin: 16px 0 18px; font-size: 16px; line-height: 1.5; color: var(--muted); }
.vc-nome strong { display: block; font-size: 19px; font-weight: 600; color: var(--ink); }
.vc-medico-txt > p:not(.vc-nome) { margin: 0 0 24px; font-size: 17px; line-height: 1.65; color: var(--ink); max-width: 38em; }
.vc-ricerca { background: var(--card); border-radius: 22px; padding: 22px 24px; margin-bottom: 28px; max-width: 40em; }
.vc-ricerca h3 { margin: 0 0 6px; font-size: 17px; font-weight: 600; color: var(--ink); }
.vc-ricerca p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--muted); }

.vc-faq-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 48px; align-items: start; }
.vc-faq-list details { border-top: 1px solid var(--line); }
.vc-faq-list details:last-child { border-bottom: 1px solid var(--line); }
.vc-faq-list summary { list-style: none; position: relative; cursor: pointer; padding: 20px 48px 20px 0; min-height: 44px; font-size: 18px; font-weight: 500; letter-spacing: -.01em; line-height: 1.4; color: var(--ink); }
.vc-faq-list summary::-webkit-details-marker { display: none; }
.vc-faq-list summary::before, .vc-faq-list summary::after { content: ''; position: absolute; right: 12px; top: 50%; width: 14px; height: 1.5px; background: var(--ink); transition: transform .3s ease; }
.vc-faq-list summary::after { transform: rotate(90deg); }
.vc-faq-list details[open] summary::after { transform: rotate(0); }
.vc-faq-list details p { margin: 0 0 22px; font-size: 17px; line-height: 1.65; color: var(--muted); max-width: 40em; }

/* Modulo finale: riquadro salvia, pulsante primario lime */
.vc-riquadro { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 4vw, 64px); background: var(--sage); color: var(--ink); border-radius: 28px; padding: clamp(28px, 5vw, 56px); }
.vc-invito > p { margin: 16px 0 0; font-size: 18px; line-height: 1.6; }
.vc-scelta { margin: 0; padding: 0; border: 0; min-width: 0; display: grid; gap: 10px; }
.vc-scelta legend { padding: 0; margin-bottom: 10px; font-size: 16px; font-weight: 600; }
.vc-opz { position: relative; display: flex; align-items: center; min-height: 48px; padding: 10px 18px; border-radius: 999px; background: var(--card); border: 1px solid var(--line-2); font-size: 16px; font-weight: 500; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.vc-opz input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.vc-opz:has(input:checked) { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.vc-opz:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 3px; }
.vc-lat { display: flex; gap: 14px; align-items: center; margin-top: 16px; }
.vc-lat img { flex: none; width: 80px; height: 80px; border-radius: 16px; object-fit: cover; background: #fff; }
.vc-lat p { margin: 0; font-size: 15px; line-height: 1.5; color: #3a4a2e; }
.vc-campo { display: grid; gap: 6px; margin-top: 20px; font-size: 15px; font-weight: 500; }
.vc-campo em { font-style: normal; font-weight: 400; }
.vc-campo :is(input, select, textarea) { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--card); color: var(--ink); font: inherit; font-size: 16px; font-weight: 400; }
.vc-campo :is(input, select, textarea):focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; }
.vc-azioni { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
.vc-azioni .vc-btn { width: 100%; padding-inline: 16px; text-align: center; }
.vc-azioni .vc-lime { box-shadow: inset 0 0 0 1px rgba(32, 40, 34, .25); }
.vc-alt { margin: 18px 0 4px; font-size: 15px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.vc-alt strong { font-weight: 600; overflow-wrap: anywhere; }
.vc-copia { min-height: 44px; min-width: 76px; padding: 8px 18px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--ink); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.vc-copia:hover { background: rgba(32, 40, 34, .06); }
.vc-avviso { margin: 8px 0 0; font-size: 15px; line-height: 1.5; color: #3a4a2e; }
.vc-riquadro :focus-visible { outline-color: var(--ink); }

@media (max-width: 960px) {
  .vc-fasi { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
  .vc-faq-in { grid-template-columns: 1fr; gap: 24px; }
  .vc-riquadro { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .vc-scopi { grid-template-columns: 1fr; }
  .vc-medico { grid-template-columns: 1fr; gap: 24px; }
  .vc-foto { width: 120px; border-radius: 20px; }
}
@media (max-width: 560px) {
  .vc-fasi { grid-template-columns: 1fr; gap: 24px; }
  .vc-azioni { grid-template-columns: 1fr; }
  .vc-riquadro { border-radius: 24px; padding: 24px 18px; }
}

/* Comparsa dei blocchi (una volta sola, dissolvenza + 14 px) */
.vc-js .vc-in { opacity: 0; transform: translateY(14px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.vc-js .vc-in.vc-vis { opacity: 1; transform: none; }
.vc-js .vc-scopi .vc-in:nth-child(2), .vc-js .vc-fasi .vc-in:nth-child(2) { transition-delay: .08s; }
.vc-js .vc-fasi .vc-in:nth-child(3) { transition-delay: .16s; }
.vc-js .vc-fasi .vc-in:nth-child(4) { transition-delay: .24s; }

/* "Mi interessa" sempre in vista; si toglie mentre il modulo (o il pulsante d'apertura) è a schermo */
.vc-pill { position: fixed; z-index: 25; right: 28px; bottom: 28px; min-height: 52px; padding: 14px 26px; box-shadow: 0 10px 30px rgba(0, 0, 0, .28); transition: opacity .35s ease, transform .35s var(--ease), visibility 0s linear 0s, background-color .2s ease; }
.vc-pill.vc-via { opacity: 0; transform: translateY(16px); visibility: hidden; pointer-events: none; transition: opacity .3s ease, transform .3s ease, visibility 0s linear .3s; }
@media (max-width: 680px) {
  .vc-pill { right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); }
  .vc .site-footer { padding-bottom: 104px; }
}

@media (prefers-reduced-motion: reduce) {
  .vc-js .vc-in { opacity: 1; transform: none; transition: none; }
  .vc-pill, .vc-pill.vc-via, .vc .site-header { transition: none; }
  .vc-faq-list summary::before, .vc-faq-list summary::after { transition: none; }
}
@media (min-width: 761px) { .vc-et.e-vo2 { top: 49%; } }

/* Telefono basso (circa 390x700): elenco delle zone compatto, grafico non sotto i 220 px */
@media (max-width: 760px) and (max-height: 780px) {
  .vc-cine .vc-stage { padding: 8px 16px 68px; row-gap: 8px; }
  .vc-cine .vc-steps { top: -4px; }
  .vc-cine .vc-top { line-height: 20px; }
  .vc-cine .vc-passo h3 { font-size: 22px; margin-bottom: 4px; }
  .vc-cine .vc-passo p { font-size: 15px; line-height: 1.4; }
  .vc-cine .vc-zone { margin-top: 6px; gap: 2px; }
  .vc-cine .vc-zone li { font-size: 15px; line-height: 1.3; align-items: center; gap: 8px; }
  .vc-cine .vc-zone i { width: 18px; height: 8px; margin-top: 0; }
  .vc-cine .vc-asse-y { margin-bottom: 4px; line-height: 18px; }
  .vc-cine .vc-plot { min-height: 220px; }
  .vc-cine .vc-tx { height: 26px; }
  .vc-cine .vc-tx i { top: 6px; }
  .vc-cine .vc-asse-x { margin: 0; line-height: 18px; }
  .vc-cine .vc-nota { line-height: 1.3; }
}

/* BOZZA 24/11/2026: sezione "Il test del lattato" (foto in pista + esempio di report) */
.vc-lat-top { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; margin-bottom: clamp(40px, 5vw, 72px); }
.vc-lat-foto { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 70%; border-radius: 26px; background: var(--sage); }
.vc-lat-txt { margin-bottom: 0; }
.vc-lat-txt p + p { margin-top: 12px; }
.vc-report { background: var(--card); border-radius: 26px; padding: clamp(22px, 3vw, 40px); box-shadow: inset 0 0 0 1px var(--line); }
.vc-report h3 { margin: 0 0 22px; font-size: 22px; font-weight: 500; letter-spacing: -.02em; color: var(--ink); }
.vc-report-fig { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; margin-bottom: 0; }
.vc-report figure { margin: 0; }
.vc-report figure img { display: block; box-sizing: border-box; background: #fff; border-radius: 18px; padding: clamp(10px, 1.6vw, 20px); box-shadow: inset 0 0 0 1px var(--line); width: 100%; height: auto; }
.vc-report figcaption { margin-top: 10px; font-size: 15px; line-height: 1.45; color: var(--muted); }
@media (max-width: 760px) {
  .vc-lat-top { grid-template-columns: 1fr; gap: 28px; }
  .vc-lat-foto { order: 2; border-radius: 22px; }
  .vc-report-fig { grid-template-columns: 1fr; gap: 24px; }
}

/* 24/11/2026: "Ti interessa?" in lime con il cerchio chiaro in alto a destra, come i riquadri di prenotazione (.in5-cta-card) */
.vc-riquadro { overflow: hidden; background: var(--lime); }
.vc-riquadro::after { content: ''; position: absolute; width: 340px; aspect-ratio: 1; right: -90px; top: -120px; border-radius: 50%; background: rgba(255, 255, 255, .35); pointer-events: none; }
.vc-riquadro > * { position: relative; z-index: 1; }
.vc-riquadro .vc-lime { background: var(--ink); color: #fff; box-shadow: none; }
.vc-riquadro .vc-lime:hover { background: var(--forest); color: #fff; }
.vc-riquadro .vc-linea { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.vc-riquadro .vc-linea:hover { background: var(--card); }
.vc-riquadro .vc-copia { border: 1.5px solid var(--ink); }
.vc-riquadro .vc-copia:hover { background: rgba(255, 255, 255, .45); }
.vc-bico { flex: none; width: 20px; height: 20px; margin-right: 10px; }
