/* ══════════════════════════════════════════════════════════
   Home OltreNova, proposta v3 (2026-10-21)
   Carica dopo style.css: ridisegna solo la home.
   Principi: una cosa grande per schermata, numeri in serif,
   sezioni numerate, poche cornici, persona al posto del logo.
   ══════════════════════════════════════════════════════════ */

.v3 { --v3-max: 1140px; --v3-pad: clamp(1rem, 5vw, 3.5rem); }

.v3-inner { max-width: var(--v3-max); margin: 0 auto; }
.v3-section { padding: clamp(3.5rem, 9vh, 6.5rem) var(--v3-pad); }
.v3-center { text-align: center; }
.v3-btn-lg { padding: 0.95rem 1.9rem; font-size: 1.05rem; }

/* Testate di sezione: numero progressivo, titolo grande, una riga di contesto. */
.v3-num {
  display: block;
  margin-bottom: 0.9rem;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--on-arancio);
}

.v3-num::after {
  content: "";
  display: inline-block;
  width: 2.5rem;
  height: 1px;
  margin-left: 0.75rem;
  vertical-align: middle;
  background: var(--on-arancio);
}

.v3-head { max-width: 720px; margin-bottom: 2.75rem; }

.v3-head h2,
.v3-loss-copy h2,
.v3-report-copy h2,
.v3-quote h2 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}

.v3-head p,
.v3-loss-copy > p,
.v3-report-copy > p {
  font-size: clamp(1.02rem, 1.9vw, 1.15rem);
  line-height: 1.6;
  color: var(--on-muted);
}

/* ── 1. Eroe ─────────────────────────────────────────────── */
.v3-hero {
  position: relative;
  isolation: isolate;
  /* Trama di linee sul fondo intero, identica a quella delle testate interne. */
  background-color: var(--on-blu-notte);
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  color: #fff;
  overflow: hidden;
}

/* Due aloni di colore, sfocati, che si muovono piano dietro il testo: il blu notte
   resta il fondo, ma respira. Con "riduci movimento" attivo restano fermi. */
.v3-hero::before,
.v3-hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  will-change: transform;
}

.v3-hero::before {
  width: min(58vw, 780px);
  height: min(58vw, 780px);
  left: -16vw;
  top: -24vw;
  background: radial-gradient(circle, rgba(31,91,94,0.85) 0%, rgba(31,91,94,0) 66%);
  animation: v3-drift-a 28s ease-in-out infinite alternate;
}

.v3-hero::after {
  width: min(44vw, 600px);
  height: min(44vw, 600px);
  left: 12%;
  bottom: -22vw;
  background: radial-gradient(circle, rgba(232,148,90,0.38) 0%, rgba(232,148,90,0) 66%);
  animation: v3-drift-b 34s ease-in-out infinite alternate;
}

.v3-hero-grid { position: relative; z-index: 1; }
.v3-hero-copy, .v3-hero-media { position: relative; z-index: 1; }
.v3-proof { position: relative; z-index: 1; }

@keyframes v3-drift-a {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(9vw, 7vw) scale(1.18); }
}

@keyframes v3-drift-b {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-12vw, -6vw) scale(1.22); }
}

@keyframes v3-breathe {
  from { transform: scale(1); }
  to   { transform: scale(1.045); }
}

.v3-hero-grid {
  max-width: var(--v3-max);
  margin: 0 auto;
  padding: 0 var(--v3-pad);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: stretch;
}

.v3-hero-copy {
  padding: clamp(3.5rem, 10vh, 6.5rem) 0 clamp(3rem, 8vh, 5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.v3-eyebrow {
  display: inline-block;
  margin-bottom: 1.4rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--on-arancio-chiaro);
}

.v3-hero h1 {
  color: #fff;
  font-size: clamp(2.3rem, 5.2vw, 4.1rem);
  line-height: 1.06;
  letter-spacing: -0.015em;
  margin-bottom: 1.4rem;
  font-weight: 600;
}

.v3-hero h1 em { font-style: italic; color: var(--on-arancio-chiaro); }

.v3-hero-sub {
  max-width: 540px;
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  line-height: 1.6;
  color: rgba(255,255,255,0.78);
  margin-bottom: 2.1rem;
}

.v3-hero-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 0.8rem; }
.v3-reassure { margin: 0; font-size: 0.86rem; color: rgba(255,255,255,0.62); }

/* Il ritratto occupa tutta l'altezza della colonna e sfuma nel fondo scuro. */
.v3-hero-media {
  position: relative;
  margin: 0;
  min-height: 560px;
  overflow: hidden; /* il ritratto che "respira" non deve uscire dal riquadro */
}

.v3-hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 15%;
  transform-origin: 50% 25%;
  animation: v3-breathe 26s ease-in-out infinite alternate;
  -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
}

.v3-hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to right, var(--on-blu-notte) 0%, rgba(32,43,54,0) 22%);
  pointer-events: none;
}

.v3-hero-media figcaption {
  position: absolute;
  z-index: 2;
  left: 0;
  bottom: 2.2rem;
  max-width: 300px;
  padding: 0.9rem 1.1rem;
  background: rgba(32,43,54,0.86);
  border-left: 3px solid var(--on-arancio);
  backdrop-filter: blur(4px);
}

.v3-hero-media figcaption strong {
  display: block;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1.05rem;
  color: #fff;
}

.v3-hero-media figcaption span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.84rem;
  line-height: 1.45;
  color: rgba(255,255,255,0.75);
}

/* Striscia dei numeri: quattro prove, a tutta larghezza, in teal. */
.v3-proof {
  margin: 0;
  padding: 0 var(--v3-pad);
  list-style: none;
  background: var(--on-teal);
}

.v3-proof li {
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.6rem 1.5rem 0;
}

.v3-proof li + li { padding-left: 1.6rem; border-left: 1px solid rgba(255,255,255,0.22); }

.v3-proof strong {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 600;
  line-height: 1.05;
  color: var(--on-arancio-chiaro);
  white-space: nowrap;
}

.v3-proof span { margin-top: 0.35rem; font-size: 0.86rem; line-height: 1.4; color: rgba(255,255,255,0.82); text-wrap: balance; }

.v3-proof-tag {
  margin-bottom: 0.45rem;
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}
.v3-proof-tag.is-done::before { content: "\2713\00a0"; color: var(--on-arancio-chiaro); }

/* Il contenitore della striscia resta allineato al testo dell'eroe. */
.v3-proof { display: block; }
.v3-proof::before { content: none; }
.v3-proof {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: none;
}
.v3-proof > li:first-child { padding-left: max(0px, calc((100% - var(--v3-max)) / 2)); }
.v3-proof > li:last-child { padding-right: max(0px, calc((100% - var(--v3-max)) / 2)); }

/* ── 2. Segnali ──────────────────────────────────────────── */
.v3-signals {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 3.5rem;
  border-top: 1px solid rgba(32,43,54,0.18);
}

.v3-signals li {
  position: relative;
  padding: 1.9rem 0 1.9rem 2rem;
  border-bottom: 1px solid rgba(32,43,54,0.18);
}

/* Segnali con un pallino arancione, come "Chi segue i tuoi prezzi" (2026-12-01):
   i numeri 01-07 restano solo alle sezioni. Il pallino sta a metà della prima riga del titolo
   (1.9rem di spazio sopra + metà di una riga da 1.28rem x 1.2). */
.v3-signals li::before {
  content: "";
  position: absolute;
  left: 0;
  top: calc(2.67rem - 5px);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--on-arancio);
}

.v3-signals h3 { font-size: 1.28rem; margin-bottom: 0.5rem; }
.v3-signals p { font-size: 0.98rem; line-height: 1.55; }

/* ── 3. Quanto costa ─────────────────────────────────────── */
.v3-section-loss { background: var(--on-perdita-chiaro); }

.v3-loss-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.v3-loss-total {
  margin-top: 2.2rem;
  padding-top: 1.4rem;
  border-top: 2px solid var(--on-perdita);
}

.v3-loss-total strong {
  display: block;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: clamp(3rem, 7vw, 5.2rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--on-perdita);
}

.v3-loss-total span { display: block; margin-top: 0.5rem; font-size: 0.95rem; color: var(--on-muted); }

.v3-loss-rows { margin: 0.6rem 0 0; padding: 0; list-style: none; }
.v3-loss-rows li { padding: 1.25rem 0; border-bottom: 1px solid rgba(169,58,42,0.22); }
.v3-loss-rows li:first-child { padding-top: 0; }

.v3-loss-row-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.6rem;
}

.v3-loss-row-head span { font-weight: 700; color: var(--on-blu-notte); }

.v3-loss-row-head strong {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--on-perdita);
  white-space: nowrap;
}

.v3-bar { height: 8px; border-radius: 999px; background: rgba(169,58,42,0.16); overflow: hidden; }
.v3-bar i { display: block; height: 100%; border-radius: 999px; background: var(--on-perdita); }
.v3-loss-rows p { margin-top: 0.6rem; font-size: 0.9rem; line-height: 1.5; }

/* Nota metodologica: si apre nella pagina, sotto le voci. Il margine negativo
   assorbe il vuoto che la griglia lascia tra le righe. */
.v3-loss-note {
  grid-column: 1 / -1;
  margin-top: calc(-1 * clamp(2rem, 6vw, 5rem) + 0.4rem);
  max-width: 820px;
  width: 100%;
  justify-self: center;
}
.v3-method { border-bottom: 1px solid rgba(169,58,42,0.22); }
.v3-method summary {
  display: flex; align-items: center; justify-content: center; gap: 0.6rem;
  padding: 0.9rem 0; cursor: pointer; list-style: none;
  font: 600 0.92rem/1.4 'Inter', ui-sans-serif, system-ui, sans-serif; color: var(--on-blu-notte);
}
.v3-method summary::-webkit-details-marker { display: none; }
.v3-method summary::after {
  content: ""; width: 0.55rem; height: 0.55rem; margin-top: -0.2rem;
  border-right: 2px solid var(--on-perdita); border-bottom: 2px solid var(--on-perdita);
  transform: rotate(45deg); transition: transform 0.2s ease;
}
.v3-method[open] summary::after { transform: rotate(-135deg); margin-top: 0.2rem; }
.v3-method summary:hover { color: var(--on-perdita); }
.v3-method summary:focus-visible { outline: 2px solid var(--on-perdita); outline-offset: 2px; border-radius: 4px; }
.v3-method-body {
  padding: 0.3rem 0 1.4rem;
  font: 400 0.9rem/1.6 'Inter', ui-sans-serif, system-ui, sans-serif; color: var(--on-blu-notte); text-align: left;
}
.v3-method-body p { margin: 0 0 0.75rem; font-size: inherit; line-height: inherit; color: inherit; }
.v3-method-body ol, .v3-method-body ul { margin: 0 0 0.75rem; padding-left: 1.3rem; }
.v3-method-body li { margin-bottom: 0.5rem; }
.v3-method-body p:last-child { margin-bottom: 0; }

/* ── 4. Da soli o con OltreNova ──────────────────────────── */
.v3-compare {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid rgba(32,43,54,0.18);
}

.v3-compare-head,
.v3-compare-row {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 0 2rem;
  align-items: start;
}

.v3-compare-head { padding: 0.9rem 0; border-bottom: 1px solid rgba(32,43,54,0.18); }
.v3-compare-head span:first-child { grid-column: 2; }

.v3-compare-head span {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-muted);
}

.v3-compare-head span.us { color: var(--on-teal); }

.v3-compare-row { padding: 1.4rem 0; border-bottom: 1px solid rgba(32,43,54,0.18); }
.v3-compare-row h3 { font-size: 1.1rem; line-height: 1.3; }
.v3-compare-row p { margin: 0; font-size: 0.98rem; line-height: 1.5; }
.v3-compare-row p:not(.us) { color: var(--on-muted); }

.v3-compare-row p.us {
  position: relative;
  padding-left: 1.4rem;
  color: var(--on-blu-notte);
  font-weight: 600;
}

.v3-compare-row p.us::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--on-arancio);
  font-weight: 700;
}

/* ── 5. Il percorso ──────────────────────────────────────── */
/* "Chi segue i tuoi prezzi" in sabbia dal 2026-12-01 (scelta della Direzione, opzione A):
   dopo la sezione scura le sezioni 04-07 alternano sabbia, crema, sabbia, crema. */
.v3-section-path,
.v3-section-signals,
.v3-section-who { background: var(--on-sabbia); }

.v3-path {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
  counter-reset: passo;
}

.v3-path li {
  position: relative;
  padding-top: 1.4rem;
  border-top: 3px solid var(--on-teal);
}

.v3-path li::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 0;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--on-teal);
}

.v3-when {
  display: block;
  margin-bottom: 0.6rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-teal);
}

.v3-path h3 { font-size: 1.25rem; margin-bottom: 0.55rem; }
.v3-path p { font-size: 0.93rem; line-height: 1.55; min-height: 6.6em; }

.v3-path em {
  display: block;
  margin-top: 0.9rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(32,43,54,0.16);
  font-style: normal;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--on-blu-notte);
}

.v3-path-note {
  margin: 2.2rem auto 1.6rem;
  max-width: 620px;
  text-align: center;
  font-size: 0.95rem;
}

.v3-path-note a { color: var(--on-teal); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ── 6. Area Clienti come pagina di report ───────────────── */
.v3-report-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.v3-report-copy .btn { margin-top: 1.5rem; }

.v3-report {
  background: #fff;
  border: 1px solid rgba(31,91,94,0.14);
  border-radius: 14px;
  box-shadow: 0 30px 70px rgba(15,28,38,0.14);
  overflow: hidden;
}

.v3-report-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.4rem;
  background: var(--on-blu-notte);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
}

.v3-report-top em { font-style: normal; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-arancio-chiaro); }

.v3-report-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid rgba(31,91,94,0.12);
}

.v3-report-kpis div { padding: 1.3rem 1.4rem; }
.v3-report-kpis div + div { border-left: 1px solid rgba(31,91,94,0.12); }
.v3-report-kpis span { display: block; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-muted); }
.v3-report-kpis strong { display: block; margin: 0.3rem 0 0.15rem; font-family: 'Source Serif 4', Georgia, serif; font-size: 2rem; font-weight: 600; line-height: 1.05; color: var(--on-teal); }
.v3-report-kpis small { font-size: 0.8rem; color: var(--on-muted); }

.v3-report-log { padding: 1.2rem 1.4rem 1.4rem; }
.v3-report-log > span { display: block; margin-bottom: 0.6rem; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-muted); }
.v3-report-log p { margin: 0; padding: 0.55rem 0; font-size: 0.88rem; line-height: 1.5; border-top: 1px dashed rgba(31,91,94,0.18); }
.v3-report-log b { display: inline-block; min-width: 3.4rem; color: var(--on-teal); }

/* ── 7. Risultati ────────────────────────────────────────── */
.v3-section-dark { background: var(--on-blu-notte); }
.v3-section-dark h2, .v3-section-dark h3 { color: #fff; }
.v3-section-dark .v3-head p { color: rgba(255,255,255,0.7); }
.v3-section-dark .case-cards { margin-top: 0; }
.v3-section-dark .case-note, .v3-section-dark .case-card-head span { color: rgba(255,255,255,0.72); }
.v3-more { margin-top: 2.2rem; }

/* ── 8. Chi c'e' dietro ──────────────────────────────────── */

.v3-who-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.v3-quote { margin: 0; }

.v3-quote p {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  line-height: 1.5;
  color: var(--on-blu-notte);
}

.v3-quote footer { margin-top: 1.2rem; font-size: 0.92rem; color: var(--on-muted); }
.v3-quote footer a { color: var(--on-teal); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.v3-facts { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(32,43,54,0.18); }

.v3-facts li {
  position: relative;
  padding: 1.2rem 0 1.2rem 2rem;
  border-bottom: 1px solid rgba(32,43,54,0.18);
}

.v3-facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.65rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--on-arancio);
}

.v3-facts strong { display: block; margin-bottom: 0.25rem; font-family: 'Source Serif 4', Georgia, serif; font-size: 1.12rem; color: var(--on-blu-notte); }
.v3-facts span { font-size: 0.93rem; line-height: 1.5; color: var(--on-muted); }

/* ── Telefono e tablet ───────────────────────────────────── */
@media (max-width: 1000px) {
  .v3-proof { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v3-proof li { padding: 1.2rem 1.2rem 1.2rem 0; }
  .v3-proof li:nth-child(odd) { border-left: 0; }
  .v3-proof li:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,0.22); }
  .v3-path { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v3-path p { min-height: 0; }
}

@media (max-width: 900px) {
  /* Prima il messaggio e il pulsante, poi la persona (D-032 regola 4). */
  .v3-hero-grid { grid-template-columns: 1fr; gap: 0; }
  .v3-hero-copy { padding: 3rem 0 2.2rem; }
  .v3-hero-media { min-height: 0; height: 380px; margin: 0 calc(-1 * var(--v3-pad)); }
  .v3-hero-media img { object-position: 50% 20%; -webkit-mask-image: none; mask-image: none; }
  .v3-hero-media::before { background: linear-gradient(to bottom, var(--on-blu-notte) 0%, rgba(32,43,54,0) 14%); }
  .v3-hero-media img { animation: none; object-position: 50% 8%; }
  .v3-hero::before, .v3-hero::after { filter: blur(40px); }
  .v3-hero-media figcaption { left: var(--v3-pad); right: var(--v3-pad); bottom: 1.2rem; max-width: none; }
  .v3-loss-grid, .v3-report-grid, .v3-who-grid { grid-template-columns: 1fr; }
  .v3-signals { grid-template-columns: 1fr; }
  .v3-compare-head { display: none; }
  .v3-compare-row { grid-template-columns: 1fr; gap: 0.5rem; }
  .v3-compare-row p:not(.us)::before { content: "Da soli · "; font-weight: 700; color: var(--on-muted); }
  .v3-compare-row p.us { margin-top: 0.2rem; padding: 0.8rem 1rem; background: var(--on-teal); color: #fff; border-radius: 8px; }
  .v3-compare-row p.us::before { content: "Con OltreNova"; position: static; display: block; margin-bottom: 0.2rem; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-arancio-chiaro); }
}

@media (max-width: 700px) {
  .v3-hero h1 { font-size: clamp(2rem, 9vw, 2.6rem); }
  .v3-hero-actions .btn { width: 100%; justify-content: center; }
  .v3-proof li { padding: 1rem 0.9rem 1rem 0; }
  .v3-proof strong { font-size: 1.6rem; }
  .v3-proof span { font-size: 0.8rem; }
  .v3-signals li { padding-left: 2rem; }
  .v3-path { grid-template-columns: 1fr; gap: 1.6rem; }
  .v3-report-kpis { grid-template-columns: 1fr; }
  .v3-report-kpis div + div { border-left: 0; border-top: 1px solid rgba(31,91,94,0.12); }
  .v3-report-kpis div { padding: 0.9rem 1.2rem; }
  .v3-report-kpis strong { font-size: 1.6rem; }
  .v3-loss-total strong { font-size: 3.2rem; }
}

/* ── Testi centrati ──────────────────────────────────────── */
.v3-head, .v3-loss-copy, .v3-report-copy, .v3-quote { text-align: center; }
.v3-head { margin-left: auto; margin-right: auto; }
.v3-head p, .v3-loss-copy > p, .v3-report-copy > p { margin-left: auto; margin-right: auto; max-width: 640px; }
.v3-num::before {
  content: "";
  display: inline-block;
  width: 2.5rem;
  height: 1px;
  margin-right: 0.75rem;
  vertical-align: middle;
  background: var(--on-arancio);
}
.v3-hero-copy { align-items: center; text-align: center; }
.v3-hero-sub { margin-left: auto; margin-right: auto; }
.v3-hero-actions { align-items: center; }
.v3-loss-total { text-align: center; }
.v3-quote footer { text-align: center; }
@media (max-width: 900px) {
  .v3-hero-media figcaption { text-align: center; border-left: 0; border-top: 3px solid var(--on-arancio); }
}

/* ── Login clienti: pulsante con icona, ben visibile ─────── */
.site-nav .nav-links a[href*="area-clienti"] {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.38rem 0.95rem 0.38rem 0.75rem;
  border: 1.5px solid rgba(244,196,155,0.75);
  border-radius: 999px;
  color: var(--on-arancio-chiaro);
  font-weight: 700;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.site-nav .nav-links a[href*="area-clienti"]::before,
.nav-mobile a[href*="area-clienti"]::before,
.nav-login-icon::before {
  content: "";
  flex: 0 0 1.05em;
  width: 1.05em;
  height: 1.05em;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='11' rx='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='11' rx='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E") center / contain no-repeat;
}
.site-nav .nav-links a[href*="area-clienti"]:hover {
  background: var(--on-arancio-chiaro);
  border-color: var(--on-arancio-chiaro);
  color: var(--on-blu-notte);
}
.nav-mobile a[href*="area-clienti"] {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0.4rem 0;
  padding: 0.7rem 1rem;
  border: 1.5px solid rgba(244,196,155,0.75);
  border-radius: 10px;
  color: var(--on-arancio-chiaro);
  font-weight: 700;
}
/* Sotto i 980 px il menu e' un hamburger: il login resta visibile come icona accanto al CTA. */
.nav-login-icon { display: none; }
@media (max-width: 980px) {
  .nav-login-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin-left: auto;
    border: 1.5px solid rgba(244,196,155,0.75);
    border-radius: 50%;
    color: var(--on-arancio-chiaro);
  }
  .nav-login-icon::before { width: 18px; height: 18px; flex-basis: 18px; }
  .nav-login-icon + .nav-cta { margin-left: 0; }
}
@media (max-width: 380px) { .nav-login-icon { display: none; } }

/* ══════════════════════════════════════════════════════════
   Sfondi delle sezioni: stesso linguaggio dell'eroe, senza rubargli la scena.
   Sezioni chiare: aloni di colore molto tenui e fermi, specchiati da una sezione all'altra.
   Sezioni scure e chiusura: aloni sfocati in lento movimento e trama di linee.
   Si usa solo background-image, cosi' i colori di base non cambiano.
   ══════════════════════════════════════════════════════════ */

/* Chiare: crema di base */
main .section:not(.section-dark):not(.section-alt):not(.section-grigio):not(.v3-section-loss):not(.v3-section-path):not(.v3-section-signals):not(.v3-section-who):not(.v3-section-dark),
main .v3-section:not(.v3-section-dark):not(.v3-section-loss):not(.v3-section-path):not(.v3-section-signals):not(.v3-section-who) {
  background-image:
    radial-gradient(52rem 26rem at 104% -6%, rgba(31,91,94,0.085), transparent 70%),
    radial-gradient(46rem 24rem at -6% 106%, rgba(232,148,90,0.12), transparent 70%);
}
main > section:nth-of-type(even):not(.section-dark):not(.section-alt):not(.section-grigio):not(.v3-section-loss):not(.v3-section-path):not(.v3-section-signals):not(.v3-section-who):not(.v3-section-dark) {
  background-image:
    radial-gradient(52rem 26rem at -4% -6%, rgba(31,91,94,0.085), transparent 70%),
    radial-gradient(46rem 24rem at 106% 106%, rgba(232,148,90,0.12), transparent 70%);
}

/* Sabbia: aloni piu' caldi e una trama di puntini */
main .section-alt,
main .v3-section-path,
main .v3-section-signals,
main .v3-section-who {
  background-image:
    radial-gradient(rgba(32,43,54,0.075) 1px, transparent 1.3px),
    radial-gradient(50rem 28rem at 0% 0%, rgba(255,255,255,0.55), transparent 70%),
    radial-gradient(46rem 26rem at 100% 100%, rgba(31,91,94,0.10), transparent 70%);
  background-size: 22px 22px, auto, auto;
}

/* Grigio chiaro: lavaggio teal e tratteggio */
main .section-grigio {
  background-image:
    repeating-linear-gradient(135deg, rgba(31,91,94,0.05) 0 1px, transparent 1px 16px),
    radial-gradient(50rem 26rem at 100% 0%, rgba(31,91,94,0.10), transparent 70%);
}

/* Perdita: rosato con tratteggio diagonale e un punto di luce */
main .v3-section-loss {
  background-image:
    repeating-linear-gradient(135deg, rgba(169,58,42,0.05) 0 1px, transparent 1px 16px),
    radial-gradient(46rem 26rem at 0% 0%, rgba(255,255,255,0.65), transparent 70%),
    radial-gradient(40rem 24rem at 100% 100%, rgba(169,58,42,0.10), transparent 70%);
}

/* ("Chi segue i tuoi prezzi" dal 2026-12-01 usa gli aloni e i puntini della sabbia, sopra; prima era bianca.) */

/* Scure e chiusura: aloni in movimento + trama */
main .section-dark,
main .v3-section-dark,
.cta-banner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 72px 72px;
}
main .section-dark > *,
main .v3-section-dark > *,
.cta-banner > * { position: relative; z-index: 1; }

main .section-dark::before, main .section-dark::after,
main .v3-section-dark::before, main .v3-section-dark::after,
.cta-banner::before, .cta-banner::after {
  content: "";
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  will-change: transform;
}

main .section-dark::before, main .v3-section-dark::before {
  width: min(50vw, 680px); height: min(50vw, 680px);
  right: -10vw; top: -20vw;
  background: radial-gradient(circle, rgba(31,91,94,0.80) 0%, rgba(31,91,94,0) 66%);
  animation: v3s-drift-a 30s ease-in-out infinite alternate;
}
main .section-dark::after, main .v3-section-dark::after {
  width: min(40vw, 560px); height: min(40vw, 560px);
  left: -8vw; bottom: -18vw;
  background: radial-gradient(circle, rgba(232,148,90,0.32) 0%, rgba(232,148,90,0) 66%);
  animation: v3s-drift-b 36s ease-in-out infinite alternate;
}

/* Chiusura teal: un alone chiaro caldo e uno piu' scuro */
.cta-banner::before {
  width: min(46vw, 620px); height: min(46vw, 620px);
  left: -8vw; top: -16vw;
  background: radial-gradient(circle, rgba(244,196,155,0.30) 0%, rgba(244,196,155,0) 66%);
  animation: v3s-drift-a 32s ease-in-out infinite alternate;
}
.cta-banner::after {
  width: min(44vw, 600px); height: min(44vw, 600px);
  right: -8vw; bottom: -18vw;
  background: radial-gradient(circle, rgba(15,28,38,0.55) 0%, rgba(15,28,38,0) 66%);
  animation: v3s-drift-b 38s ease-in-out infinite alternate;
}

@keyframes v3s-drift-a { from { transform: translate(0,0) scale(1); } to { transform: translate(-7vw, 5vw) scale(1.2); } }
@keyframes v3s-drift-b { from { transform: translate(0,0) scale(1); } to { transform: translate(8vw, -4vw) scale(1.18); } }

@media (max-width: 700px) {
  main .section-dark::before, main .section-dark::after,
  main .v3-section-dark::before, main .v3-section-dark::after,
  .cta-banner::before, .cta-banner::after { filter: blur(44px); }
}

/* Titoli bilanciati: niente parola sola nell'ultima riga. */
.v3 h1, .v3 h2, .section-title, .hero-slim h1, .cta-banner h2, .v3-signals h3, .v3-path h3 {
  text-wrap: balance;
}
.v3-head { max-width: 820px; }

/* Login su telefono: lucchetto + parola, cosi' si capisce a cosa serve. */
@media (max-width: 980px) {
  .nav-login-icon {
    width: auto;
    height: 34px;
    gap: 0.35rem;
    padding: 0 0.75rem 0 0.6rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1;
  }
  .nav-login-icon::before { width: 15px; height: 15px; flex-basis: 15px; }
  .nav-login-icon::after { content: "Login"; }
}

/* ── Aggancio delle sezioni (solo home, computer con mouse o touchpad; non tablet) ──
   Lo scorrimento resta libero: quando ci si ferma vicino a una sezione, questa si
   posiziona da sola sotto la barra in alto. "proximity" non blocca mai le sezioni
   più alte dello schermo, come la nota metodologica aperta. */
@media (min-width: 768px) and (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  html:has(main.v3) {
    scroll-snap-type: y proximity;
    scroll-padding-top: var(--nav-h);
  }
  main.v3 > section { scroll-snap-align: start; }
}

/* Sezioni che entrano intere nello schermo (layout a due colonne, da 901 px).
   Testi e spazi crescono con l'altezza (e la larghezza) della finestra: 16px da
   circa 710 px di altezza in su, fino a 11,5px sotto i 510 px. Ogni sezione riempie almeno lo
   schermo e il contenuto sta al centro. Le colonne si allargano per far stare più
   testo per riga e ridurre l'altezza. */
@media (min-width: 901px) {
  html:has(main.v3) { font-size: clamp(10.6px, min(2.08vh, 1.06vw), 14.8px); }
  main.v3 > .v3-section {
    min-height: calc(100vh - var(--nav-h));
    min-height: calc(100svh - var(--nav-h));
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: clamp(0.6rem, 1.6vh, 2rem);
    padding-bottom: clamp(0.6rem, 1.6vh, 2rem);
  }
  main.v3 > .v3-section > .v3-inner { width: 100%; max-width: 1320px; }
  main.v3 .v3-head { margin-bottom: clamp(1.2rem, 3vh, 2.75rem); }
  main.v3 .v3-compare-row { padding: clamp(0.6rem, 1.4vh, 1.3rem) 0; }
  main.v3 .v3-loss-rows li { padding: clamp(0.6rem, 1.4vh, 1.25rem) 0; }
  main.v3 .v3-loss-rows li:first-child { padding-top: 0; }
  main.v3 .v3-loss-rows p { margin-top: 0.35rem; }
  main.v3 .v3-loss-row-head { margin-bottom: 0.4rem; }
  main.v3 .v3-loss-total { margin-top: clamp(1rem, 2.4vh, 2.2rem); padding-top: 1rem; }
  main.v3 .v3-hero-copy { padding: clamp(1.5rem, 5vh, 3.5rem) 0 clamp(1.5rem, 4vh, 3rem); }
  main.v3 .v3-hero h1 { font-size: clamp(2.2rem, 5.2vw, min(4.1rem, 7.4vh)); }
  main.v3 .v3-eyebrow { margin-bottom: clamp(0.7rem, 1.8vh, 1.4rem); }
  main.v3 .v3-hero-sub { margin-bottom: clamp(1rem, 2.6vh, 2.1rem); }
  main.v3 .v3-hero-media { min-height: min(560px, calc(100svh - var(--nav-h) - 9rem)); }
  /* "Ogni mese sai come sta andando" e "Chi c'è dietro" hanno poco contenuto: restano alte
     quanto serve, con la stessa aria sopra e sotto delle altre sezioni. */
  main.v3 > .v3-section-report,
  main.v3 > .v3-section-who {
    min-height: 0;
    padding-top: clamp(1.8rem, 6vh, 4rem);
    padding-bottom: clamp(1.8rem, 6vh, 4rem);
  }
}

/* Tra 901 e 1100 px di larghezza (tablet in orizzontale) le colonne sono più strette: il testo si riduce di più. */
@media (min-width: 901px) and (max-width: 1100px) {
  html:has(main.v3) { font-size: clamp(10.6px, min(2.08vh, 1.2vw), 14.8px); }
}

/* ── Correzioni mobile 2026-10-22 ─────────────────────────── */
/* Striscia dei numeri a due colonne: la regola "li + li" dava rientro anche al
   terzo numero, che è in prima colonna. Colonna sinistra a filo, destra staccata. */
@media (max-width: 1000px) {
  .v3-proof li:nth-child(odd) { padding-left: 0; }
  .v3-proof li:nth-child(even) { padding-left: 1.2rem; }
}
@media (max-width: 700px) {
  .v3-proof li:nth-child(even) { padding-left: 0.9rem; }
}

/* Schede risultati: le colonne si dividono lo spazio in base a quanti numeri ci
   sono (2 o 3), senza colonne vuote; sul telefono i numeri non escono dalla colonna. */
.case-metrics {
  grid-template-columns: none;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
}
@media (max-width: 700px) {
  .case-metrics { gap: 0.75rem; }
  .case-metrics dd { font-size: 1.3rem; }
}
@media (max-width: 380px) {
  .case-metrics dd { font-size: 1.15rem; }
}
/* Sottotitolo delle schede su più righe: interlinea compatta come il resto del testo. */
.case-card-head > div > span { display: block; line-height: 1.4; }

/* Percorso: tolta la lineetta sopra il prezzo, ridondante con la linea del percorso (2026-10-22). */
.v3-path em { border-top: 0; padding-top: 0; }

/* Sezione Area Clienti senza il riquadro di report d'esempio: solo testo e pulsante, centrati. */
.v3-report-grid.v3-report-solo { grid-template-columns: 1fr; }
.v3-report-solo .v3-report-copy { max-width: 720px; margin: 0 auto; }

/* Nota sotto il percorso: il link "Vedi i servizi nel dettaglio" va su una riga sua. */
.v3-path-note a { display: table; margin: 0.35rem auto 0; }
/* Righe della nota di lunghezza simile, senza l'ultima parola sola a capo. */
.v3-path-note { text-wrap: balance; }
@media (min-width: 701px) { .v3-path-note > span { display: block; } }

/* Stesso spazio sopra e sotto ogni sezione (2026-10-23, scelta della Direzione): da 901 px le
   sezioni sono alte quanto il loro contenuto, con lo stesso margine delle sezioni corte;
   niente più contenuto centrato in sezioni alte quanto lo schermo. */
@media (min-width: 901px) {
  main.v3 > .v3-section {
    min-height: 0;
    justify-content: flex-start;
    padding-top: clamp(0.8rem, 2.5vh, 3rem);
    padding-bottom: clamp(0.8rem, 2.5vh, 3rem);
  }
  /* Le due sezioni corte seguono lo stesso margine. */
  main.v3 > .v3-section-report,
  main.v3 > .v3-section-who {
    padding-top: clamp(0.8rem, 2.5vh, 3rem);
    padding-bottom: clamp(0.8rem, 2.5vh, 3rem);
  }
}

/* ── Tabella a spunte "Tre modi di gestire i prezzi" (proposta 21/11/2026) ── */
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
/* PC: la tabella usa tutta la larghezza della pagina */
.v3-ticks { display:grid; grid-template-columns:1fr; max-width:var(--v3-max, 1140px); margin:0 auto; width:100%; }
.v3-ticks-head, .v3-ticks-row {
  display:grid; grid-template-columns:minmax(0,1.2fr) repeat(3, minmax(0,1fr));
  align-items:stretch; gap:0;
}
/* PC: tutte le righe condividono le colonne; la prima e' larga quanto il titolo piu' lungo (al massimo 38%), il resto va alle tre colonne */
@supports (grid-template-columns: subgrid) {
  @media (min-width: 701px) {
    .v3-ticks { grid-template-columns:fit-content(38%) repeat(3, minmax(0,1fr)); }
    .v3-ticks-head, .v3-ticks-row { grid-column:1 / -1; grid-template-columns:subgrid; }
  }
}
.v3-ticks-head > span {
  display:flex; align-items:flex-end; justify-content:center; text-align:center;
  padding:0.9rem 0.6rem; font-size:0.78rem; font-weight:700; letter-spacing:0.12em; text-transform:uppercase; color:var(--on-muted);
  border-bottom:1px solid rgba(32,43,54,0.18);
}
.v3-ticks-head > span.lbl { justify-content:flex-start; }
.v3-ticks-head > span.us { background:var(--on-teal); color:#fff; border-radius:12px 12px 0 0; border-bottom-color:var(--on-teal); }
.v3-ticks-head .sm { display:none; }
.v3-ticks-row > * { padding:1.05rem 0.6rem; border-bottom:1px solid rgba(32,43,54,0.14); }
.v3-ticks-row h3 { margin:0; padding-left:0; padding-right:2rem; font-size:1.08rem; line-height:1.3; display:flex; align-items:center; }
.v3-ticks-row .c { display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; gap:0.3rem; }
.v3-ticks-row .c.us { background:rgba(31,91,94,0.08); }
.v3-ticks-row:last-child .c.us { border-radius:0 0 12px 12px; }
.tk { width:1.7rem; height:1.7rem; border-radius:50%; display:inline-block; background-position:center; background-repeat:no-repeat; }
.tk-si { background-color:var(--on-teal); background-size:62%;
  background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.tk-no { background-color:#E4E6E8; background-size:46%;
  background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%23777F86' stroke-width='3' stroke-linecap='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E"); }
.tk-txt { display:inline-block; padding:0.25rem 0.7rem; border-radius:999px; background:#F6E7DA; color:#8A4B1F; font-size:0.82rem; font-weight:700; }
.tk-note { font-size:0.82rem; font-weight:700; color:var(--on-teal); }
.tk-price { font-size:0.9rem; line-height:1.35; color:var(--on-muted); }
.tk-price b { display:block; font-size:1.05rem; color:var(--on-blu-notte); }
.v3-ticks-row.is-price .c.us .tk-price { color:var(--on-blu-notte); }

@media (max-width: 700px) {
  /* Telefono: quattro colonne; la tabella usa quasi tutta la larghezza dello schermo e la prima colonna e' piu' stretta */
  .v3-ticks { width:auto; margin:0 calc(0.4rem - var(--v3-pad)); }
  .v3-ticks-head, .v3-ticks-row { grid-template-columns:minmax(0,1.2fr) repeat(3, minmax(0,1fr)); }
  .v3-ticks-head > span { padding:0.55rem 0.15rem; font-size:0.74rem; line-height:1.2; letter-spacing:0; text-transform:none; }
  .v3-ticks-head > span.us { border-radius:10px 10px 0 0; }
  .v3-ticks-head .lg { display:inline; text-wrap:balance; } .v3-ticks-head .sm { display:none; }
  .v3-ticks-row > * { padding:0.75rem 0.2rem; }
  .v3-ticks-row h3 { padding-left:0.35rem; padding-right:0.3rem; font-size:0.82rem; line-height:1.25; }
  .v3-ticks-row:last-child .c.us { border-radius:0 0 10px 10px; }
  .tk { width:1.5rem; height:1.5rem; }
  .tk-txt { padding:0; background:none; border-radius:0; font-size:0.74rem; line-height:1.2; }
  .tk-note { font-size:0.72rem; line-height:1.2; }
  .tk-price { display:block; width:100%; font-size:0.74rem; line-height:1.25; -webkit-hyphens:auto; hyphens:auto; overflow-wrap:break-word; } .tk-price b { font-size:0.86rem; }
}
@media (max-width: 380px) {
  .v3-ticks-head > span { font-size:0.68rem; }
  .v3-ticks-row h3 { font-size:0.78rem; }
  .tk-txt, .tk-note, .tk-price { font-size:0.68rem; } .tk-price b { font-size:0.8rem; }
}

/* Le due frasi del sottotitolo stanno ognuna su una riga sua (anche su telefono), con righe equilibrate */
.v3-hero-sub > span { display: block; text-wrap: balance; }
.v3-eyebrow { text-wrap: balance; }

/* Percorso: descrizioni piu' brevi (2026-11-22), quindi meno spazio riservato prima del prezzo */
@media (min-width: 1001px) { .v3-path p { min-height: 4.7em; } }
