/* Pagine di contenuto (servizio, zona, guide): lettura lunga, quindi fondo
   chiaro e colonna stretta; brand Atleta360 nella testata navy e nell'arancio
   dei pulsanti. Font serviti dal sito (niente Google Fonts). */
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url(/contenuti/fonts/inter-latin-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url(/contenuti/fonts/inter-latin-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 700; font-display: swap; src: url(/contenuti/fonts/inter-latin-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-weight: 700; font-display: swap; src: url(/contenuti/fonts/space-grotesk-latin-700-normal.woff2) format("woff2"); }

:root {
  --navy: #0A1650; --navy-2: #17297A; --arancio: #FF7A18; --arancio-testo: #B4520A;
  --ink: #141A33; --muto: #55607E; --linea: #E3E7F1; --fondo: #F7F8FC; --carta: #FFFFFF;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--fondo); color: var(--ink); font: 400 18px/1.7 "Inter", system-ui, sans-serif; }
a { color: var(--navy-2); text-underline-offset: 3px; }
a:hover { color: var(--arancio-testo); }
:focus-visible { outline: 3px solid var(--arancio); outline-offset: 2px; }

.bozza { background: #FFF1E6; color: #7A3A00; text-align: center; font-size: 14px; font-weight: 600; padding: 8px 16px; }

.testata {
  background: linear-gradient(120deg, var(--navy), var(--navy-2)); color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 12px max(16px, calc((100vw - 1080px) / 2));
}
.marchio { display: inline-flex; min-height: 44px; align-items: center; }
.testata nav { display: flex; gap: 6px; flex-wrap: wrap; }
.testata nav a { color: #fff; text-decoration: none; font-size: 15px; font-weight: 600; padding: 10px 12px; border-radius: 10px; min-height: 44px; display: inline-flex; align-items: center; }
.testata nav a:hover { background: rgba(255,255,255,.1); color: #fff; }
.testata .nav-cta { background: var(--arancio); }
.testata .nav-cta:hover { background: #ff8c3a; }

.contenuto { max-width: 760px; margin: 0 auto; padding: 24px 20px 64px; }
.briciole { font-size: 14px; color: var(--muto); margin-bottom: 20px; }
.briciole a { color: var(--muto); }
.intestazione { margin-bottom: 28px; }
h1, h2, h3 { font-family: "Space Grotesk", system-ui, sans-serif; font-weight: 700; color: var(--navy); line-height: 1.2; letter-spacing: -0.01em; }
h1 { font-size: clamp(30px, 5vw, 42px); margin: 0 0 14px; }
h2 { font-size: clamp(23px, 3.6vw, 28px); margin: 44px 0 12px; }
h3 { font-size: 20px; margin: 30px 0 8px; }
.sommario { font-size: 20px; color: #2E3757; margin: 0 0 12px; }
.info { font-size: 14px; color: var(--muto); margin: 0; }
p { margin: 0 0 18px; }
ul, ol { padding-left: 1.3em; margin: 0 0 20px; }
li { margin-bottom: 8px; }
strong { color: #0E1640; }
blockquote { margin: 24px 0; padding: 4px 0 4px 18px; border-left: 4px solid var(--arancio); color: #2E3757; font-style: italic; }

.nota { background: #FFF6EE; border: 1px solid #FFD9BC; border-radius: 14px; padding: 18px 20px 2px; margin: 28px 0; font-size: 17px; }
.tabella { overflow-x: auto; margin: 0 0 24px; }
table { border-collapse: collapse; width: 100%; font-size: 16px; background: var(--carta); }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--linea); vertical-align: top; }
th { background: #EEF1F8; color: var(--navy); font-weight: 600; }

.faq details { background: var(--carta); border: 1px solid var(--linea); border-radius: 12px; margin-bottom: 10px; padding: 0 18px; }
.faq summary { cursor: pointer; font-weight: 600; padding: 14px 0; min-height: 44px; }
.faq details p { margin-top: 0; }

.cta { margin: 48px 0 32px; background: linear-gradient(140deg, var(--navy), var(--navy-2)); color: #fff; border-radius: 20px; padding: 28px 24px; }
.cta h2 { color: #fff; margin-top: 0; }
.cta > p { color: rgba(255,255,255,.85); }
.cta a { color: #FFC59A; }
.cta-form label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.cta-form p { margin: 0 0 14px; }
.cta-form input:not([type=checkbox]), .cta-form select, .cta-form textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #fff;
  border: 1px solid #C9D0E3; border-radius: 10px; padding: 11px 12px; min-height: 46px;
}
.campi-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.consenso { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 400 !important; font-size: 14px !important; line-height: 1.5; margin: 6px 0 16px !important; }
.consenso input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--arancio); flex-shrink: 0; }
.bottone { font: inherit; font-weight: 700; font-size: 17px; color: #fff; background: var(--arancio); border: 0; border-radius: 12px; padding: 14px 22px; min-height: 50px; cursor: pointer; width: 100%; }
.bottone:hover { background: #ff8c3a; }
.bottone:disabled { opacity: .7; cursor: default; }
.esito { margin: 12px 0 0 !important; font-weight: 600; }
.esito.ok { color: #9BE7B9; }
.esito.errore { color: #FFB4B4; }
.cta-alt { font-size: 15px; margin: 16px 0 0; color: rgba(255,255,255,.8); }
.esca { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.correlate ul, .elenco-guide { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.correlate a, .elenco-guide a { display: block; background: var(--carta); border: 1px solid var(--linea); border-radius: 14px; padding: 16px 18px; text-decoration: none; color: var(--ink); }
.correlate a:hover, .elenco-guide a:hover { border-color: #C9D0E3; color: var(--ink); }
.correlate strong { display: block; color: var(--navy); }
.correlate span { display: block; font-size: 15px; color: var(--muto); margin-top: 4px; }
.elenco-guide h2 { font-size: 21px; margin: 0 0 6px; }
.elenco-guide p { font-size: 16px; color: #2E3757; margin: 0 0 8px; }

.piede { border-top: 1px solid var(--linea); background: var(--carta); padding: 24px max(20px, calc((100vw - 760px) / 2)); font-size: 14px; color: var(--muto); }
.piede p { margin: 0 0 6px; }
.piede .piccolo { font-size: 13px; }

@media (max-width: 560px) {
  body { font-size: 17px; }
  .campi-2 { grid-template-columns: 1fr; }
  .testata { justify-content: center; }
  .testata nav { justify-content: center; }
  .cta { padding: 22px 18px; margin-left: -4px; margin-right: -4px; }
}

/* ---- revisione del 2/11: proposte di grafica, marketing ed esperto di settore ---- */

/* contrasto: testo navy sull'arancio (6,47:1; il bianco era 2,61:1) */
.bottone, .testata .nav-cta, .testata .nav-cta:hover, a.bottone:hover { color: var(--navy); }
.bottone-auto { width: auto; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.marchio img { height: 34px; width: auto; }

/* righe più corte su desktop (~70 caratteri), briciole toccabili */
.contenuto { max-width: 720px; }
.briciole a { display: inline-block; padding: 4px 0; }

/* eroe: persona, promessa, due modi di contattare */
.eroe { display: grid; gap: 4px 32px; margin: 0 0 24px; }
.eroe-foto { order: -1; margin: 0; display: flex; align-items: center; gap: 12px; }
.eroe-foto img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: 0 0 0 2px var(--arancio); }
.eroe-foto figcaption { font-size: 13px; line-height: 1.4; color: var(--muto); }
.eroe-foto figcaption strong { display: block; font-size: 16px; color: var(--navy); }
.occhiello { margin: 10px 0 8px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--arancio-testo); }
.eroe-azioni { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin: 20px 0 14px; }
.link-wa { font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }
.rassicura { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.rassicura li { margin: 0; padding: 6px 12px; border-radius: 999px; background: #EEF1F8; color: var(--navy); font-size: 14px; font-weight: 600; }
@media (min-width: 720px) {
  .eroe { grid-template-columns: 1fr 190px; align-items: center; }
  .eroe-foto { order: 0; flex-direction: column; text-align: center; }
  .eroe-foto img { width: 170px; height: 170px; }
}

/* fiducia */
.fiducia { display: flex; align-items: center; gap: 14px; margin: 0 0 32px; padding: 12px 16px; background: var(--carta); border: 1px solid var(--linea); border-radius: 14px; font-size: 15px; line-height: 1.5; color: #2E3757; }
.fiducia img { width: 104px; height: auto; flex-shrink: 0; }
.fiducia p { margin: 0; }

/* per chi è: schede */
.blocco-per-chi ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.blocco-per-chi li { position: relative; margin: 0; padding: 14px 16px 14px 50px; background: var(--carta); border: 1px solid var(--linea); border-radius: 14px; font-size: 16px; line-height: 1.55; box-shadow: 0 1px 2px rgba(10,22,80,.05); }
.blocco-per-chi li::before { content: ""; position: absolute; left: 14px; top: 15px; width: 24px; height: 24px; border-radius: 50%; background: #FFF1E6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23B4520A' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.blocco-per-chi strong { color: var(--navy); }
@media (min-width: 640px) { .blocco-per-chi ul { grid-template-columns: 1fr 1fr; } }

/* come lavoro: passi numerati collegati */
.blocco-passi ol { list-style: none; padding: 0; counter-reset: passo; }
.blocco-passi li { counter-increment: passo; position: relative; margin: 0; padding: 4px 0 22px 56px; }
.blocco-passi li::before { content: counter(passo); position: absolute; left: 0; top: 0; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font: 700 18px/1 "Space Grotesk", system-ui, sans-serif; }
.blocco-passi li::after { content: ""; position: absolute; left: 18px; top: 42px; bottom: 4px; width: 2px; background: var(--linea); }
.blocco-passi li:last-child::after { display: none; }
.blocco-passi li strong { display: block; color: var(--navy); }

/* invito breve a metà pagina */
.cta-breve { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px; margin: 36px 0; padding: 18px 20px; background: var(--carta); border: 1px solid var(--linea); border-left: 5px solid var(--arancio); border-radius: 16px; }
.cta-breve p { margin: 0; flex: 1 1 240px; font-size: 17px; }

/* FAQ con il "+" */
.faq details { box-shadow: 0 1px 2px rgba(10,22,80,.06); }
.faq details[open] { border-color: #C9D0E3; }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 0; line-height: 1.45; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: 0 0 26px; height: 26px; border-radius: 50%; background: #FFF1E6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 1.5v9M1.5 6h9' stroke='%23B4520A' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/12px no-repeat; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }

/* modulo: WhatsApp di pari peso, rassicurazioni */
.bottone-wa { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border-radius: 12px; background: #1FA855; color: #fff !important; font-weight: 700; font-size: 17px; text-decoration: none; margin: 4px 0 6px; }
.bottone-wa:hover { background: #1b964c; }
.oppure { text-align: center; font-size: 14px; color: rgba(255,255,255,.75) !important; margin: 8px 0 16px !important; }
.cta-garanzia { font-size: 14px; color: rgba(255,255,255,.85); margin: 10px 0 0 !important; text-align: center; }
.cta-minori { font-size: 13px; color: rgba(255,255,255,.7); margin: 6px 0 0 !important; text-align: center; }

/* pulsante fisso su mobile (nascosto sull'eroe e sul modulo, vedi traccia.js) */
.barra-fissa { display: none; }
@media (max-width: 760px) {
  .barra-fissa { display: flex; position: fixed; z-index: 50; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); min-height: 52px; align-items: center; justify-content: center; border-radius: 14px; background: var(--arancio); color: var(--navy); font-weight: 700; text-decoration: none; box-shadow: 0 8px 24px rgba(10,22,80,.3); transform: translateY(160%); visibility: hidden; transition: transform .25s ease, visibility .25s; }
  .barra-fissa.visibile { transform: none; visibility: visible; }
  body[data-pagina="servizio"] .piede { padding-bottom: 96px; }
}
@media (prefers-reduced-motion: reduce) { .barra-fissa, .faq summary::after { transition: none; } }

/* testata su una riga sul telefono (era alta 181 px) */
@media (max-width: 560px) {
  .testata { flex-wrap: nowrap; justify-content: space-between; padding: 8px 12px; gap: 8px; }
  .testata nav { flex-wrap: nowrap; justify-content: flex-end; gap: 2px; }
  .testata nav a { font-size: 14px; padding: 8px 10px; }
  .testata nav a:first-child { display: none; }
  .marchio img { height: 32px; }
  .sommario { font-size: 18px; line-height: 1.55; }
  .campi-2.resta { grid-template-columns: 1fr 1fr; }
  .eroe .bottone { width: 100%; }
}

/* quanto costa: schede dei pacchetti */
.blocco-prezzi { display: grid; gap: 12px; margin: 0 0 24px; }
@media (min-width: 640px) { .blocco-prezzi { grid-template-columns: 1fr 1fr; } }
.prezzo { background: var(--carta); border: 1px solid var(--linea); border-radius: 16px; padding: 16px 18px 4px; box-shadow: 0 1px 2px rgba(10,22,80,.05); }
.prezzo h3 { margin: 0 0 6px; font-size: 18px; }
.prezzo p { font-size: 16px; margin: 0 0 12px; }
.prezzo p:first-of-type { color: var(--muto); }
.prezzo p:first-of-type strong { font-family: "Space Grotesk", system-ui, sans-serif; font-size: 26px; color: var(--navy); margin-right: 4px; }
.prezzo:last-child { border: 2px solid var(--arancio); }

/* ======== pagina larga a fasce (servizio e zona) — 2/11 ======== */
.dentro { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.pagina-larga .dentro > p, .pagina-larga .dentro > ul, .pagina-larga .dentro > ol,
.pagina-larga .dentro > h2, .pagina-larga .dentro > h3, .pagina-larga .dentro > blockquote,
.pagina-larga .nota, .pagina-larga .faq { max-width: 760px; }
.pagina-larga h2 { margin-top: 0; }
.fascia { padding: 64px 0; }
.fascia.tinta { background: linear-gradient(180deg, #EEF1FA, #F7F8FC); }
.fascia + .fascia { border-top: 1px solid var(--linea); }

/* apertura su fondo blu, con sfondo che si muove piano */
.eroe-fascia { position: relative; overflow: hidden; background: linear-gradient(125deg, #070F3D 0%, var(--navy) 45%, var(--navy-2) 100%); color: #fff; padding: 28px 0 56px; }
.eroe-sfondo span { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; animation: galleggia 18s ease-in-out infinite alternate; }
.eroe-sfondo span:nth-child(1) { width: 420px; height: 420px; background: #FF7A18; top: -160px; right: -80px; opacity: .35; }
.eroe-sfondo span:nth-child(2) { width: 360px; height: 360px; background: #3D5BFF; bottom: -180px; left: -120px; animation-duration: 22s; }
.eroe-sfondo span:nth-child(3) { width: 220px; height: 220px; background: #FFB27A; top: 40%; right: 30%; opacity: .18; animation-duration: 26s; }
@keyframes galleggia { from { transform: translate(0, 0) scale(1); } to { transform: translate(-40px, 30px) scale(1.12); } }
.eroe-fascia .dentro { position: relative; }
.eroe-fascia .briciole, .eroe-fascia .briciole a { color: rgba(255,255,255,.65); }
.eroe-fascia .eroe { margin: 8px 0 0; }
.eroe-fascia h1 { color: #fff; font-size: clamp(32px, 5.2vw, 56px); line-height: 1.08; margin-bottom: 16px; }
.eroe-fascia .occhiello { color: #FFB27A; }
.eroe-fascia .sommario { color: rgba(255,255,255,.88); font-size: clamp(18px, 2vw, 21px); max-width: 640px; }
.eroe-fascia .link-wa { color: #fff; }
.eroe-fascia .link-wa:hover { color: #FFB27A; }
.eroe-fascia .rassicura li { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.18); }
.eroe-fascia .eroe-foto img { border-color: #0E1A5C; box-shadow: 0 0 0 3px var(--arancio), 0 20px 50px rgba(0,0,0,.35); }
.eroe-fascia .eroe-foto figcaption { color: rgba(255,255,255,.75); }
.eroe-fascia .eroe-foto figcaption strong { color: #fff; }
.eroe-fascia .bottone { box-shadow: 0 10px 30px rgba(255,122,24,.35); }
@media (min-width: 900px) {
  .eroe-fascia { padding: 36px 0 84px; }
  .eroe-fascia .eroe { grid-template-columns: 1fr 280px; gap: 48px; }
  .eroe-fascia .eroe-foto img { width: 250px; height: 250px; }
}
.fiducia { margin: -28px auto 0; position: relative; z-index: 2; max-width: 760px; box-shadow: 0 14px 40px rgba(10,22,80,.12); }

/* blocchi larghi su desktop */
@media (min-width: 960px) {
  .pagina-larga .blocco-per-chi ul { grid-template-columns: repeat(3, 1fr); }
  .pagina-larga .blocco-prezzi { grid-template-columns: repeat(4, 1fr); }
  .pagina-larga .blocco-passi { max-width: 860px; }
}
.blocco-per-chi li, .prezzo, .elenco-guide a, .correlate a { transition: transform .25s ease, box-shadow .25s ease, border-color .25s; }
.blocco-per-chi li:hover, .prezzo:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(10,22,80,.12); border-color: #C9D0E3; }
.prezzo { display: flex; flex-direction: column; }
.prezzo:last-child { background: linear-gradient(180deg, #FFF7F0, #fff); }
.dentro-modulo .cta { max-width: 860px; margin-left: auto; margin-right: auto; }

/* pulsanti: riflesso che passa */
/* la barra resta fixed: è già il riferimento del riflesso */
.bottone { position: relative; }
.bottone, .barra-fissa { overflow: hidden; }
.bottone::after, .barra-fissa::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent); transform: skewX(-20deg); animation: riflesso 4.5s ease-in-out infinite; }
@keyframes riflesso { 0%, 70% { left: -60%; } 100% { left: 130%; } }

/* barra di lettura */
.avanzamento { position: fixed; top: 0; left: 0; right: 0; height: 4px; z-index: 60; pointer-events: none; }
.avanzamento span { display: block; height: 100%; background: linear-gradient(90deg, var(--arancio), #FFB27A); transform-origin: 0 50%; transform: scaleX(0); }

/* entrate scorrendo (la classe "pronto" la mette animazioni.js) */
.pronto { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--ritardo, 0ms); }
.pronto.visto { opacity: 1; transform: none; }
/* passi: la linea si riempie di arancio seguendo lo scorrimento (--riempi da animazioni.js) */
.blocco-passi li::after { background: linear-gradient(var(--arancio), #FFB27A) top / 100% var(--riempi, 100%) no-repeat, var(--linea); }
.blocco-passi li::before { transition: transform .4s ease, background .4s, box-shadow .4s; }
.blocco-passi li.acceso::before { background: var(--arancio); color: var(--navy); box-shadow: 0 0 0 6px rgba(255,122,24,.18); animation: pallino .6s ease both; }
@keyframes pallino { 0% { transform: scale(.4); background: var(--arancio); } 70% { transform: scale(1.12); } 100% { transform: scale(1); } }

/* grafico: barre che si riempiono */
.grafico { margin: 8px 0 28px; padding: 22px 22px 14px; background: var(--carta); border: 1px solid var(--linea); border-radius: 18px; max-width: 760px; box-shadow: 0 1px 2px rgba(10,22,80,.05); }
.grafico figcaption { margin-bottom: 10px; }
.grafico figcaption strong { display: block; color: var(--navy); font-size: 17px; }
.grafico figcaption span { font-size: 14px; color: var(--muto); }
.grafico-legenda { display: flex; gap: 18px; font-size: 13px; color: var(--muto); margin-bottom: 14px; }
.grafico-legenda span::before { content: ""; display: inline-block; width: 14px; height: 8px; border-radius: 4px; margin-right: 6px; vertical-align: 1px; }
.l-prima::before { background: #CBD3E6; }
.l-dopo::before { background: var(--arancio); }
.grafico-riga { display: grid; grid-template-columns: 150px 1fr 40px; align-items: center; gap: 12px; margin-bottom: 12px; font-size: 15px; }
.grafico-traccia { position: relative; height: 14px; background: #EEF1F8; border-radius: 999px; overflow: hidden; }
.grafico-prima, .grafico-dopo { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 999px; width: var(--v); }
.grafico-prima { background: #CBD3E6; }
.grafico-dopo { background: linear-gradient(90deg, #FF9A4D, var(--arancio)); height: 8px; top: 3px; }
.grafico.pronto .grafico-prima, .grafico.pronto .grafico-dopo { width: 0; }
.grafico.pronto.visto .grafico-prima { width: var(--v); transition: width .9s ease .2s; }
.grafico.pronto.visto .grafico-dopo { width: var(--v); transition: width 1.5s cubic-bezier(.2,.7,.2,1) .7s; }
.grafico-num { font-family: "Space Grotesk", system-ui, sans-serif; color: var(--navy); text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 560px) {
  .grafico { padding: 18px 16px 8px; }
  .grafico-riga { grid-template-columns: 1fr 34px; gap: 4px 10px; }
  .grafico-voce { grid-column: 1 / -1; font-size: 14px; }
  .fascia { padding: 44px 0; }
  .dentro { padding: 0 18px; }
  .eroe-fascia { padding: 18px 0 48px; }
  .eroe-fascia .eroe-foto img { width: 64px; height: 64px; }
  .fiducia { margin: -24px 0 0; flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .eroe-sfondo span, .bottone::after, .barra-fissa::after { animation: none; }
  .pronto { opacity: 1; transform: none; transition: none; }
  .blocco-per-chi li:hover, .prezzo:hover { transform: none; }
}

/* ======== più movimento (2/11 sera) ======== */
.pagina-larga { overflow-x: hidden; overflow-x: clip; }

/* apertura: il testo sale riga per riga, la foto ha un anello che gira */
.eroe-fascia .eroe-testo > * { animation: sale .8s cubic-bezier(.2,.7,.2,1) both; }
.eroe-fascia .eroe-testo > :nth-child(2) { animation-delay: .08s; }
.eroe-fascia .eroe-testo > :nth-child(3) { animation-delay: .18s; }
.eroe-fascia .eroe-testo > :nth-child(4) { animation-delay: .3s; }
.eroe-fascia .eroe-testo > :nth-child(5) { animation-delay: .42s; }
@keyframes sale { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.eroe-sfondo { position: absolute; inset: 0; will-change: transform; }
.anello { position: relative; display: inline-block; line-height: 0; flex-shrink: 0; border-radius: 50%; }
.anello::before { content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 2px dashed rgba(255,178,122,.75); animation: gira 24s linear infinite; }
.eroe-fascia .eroe-foto { animation: sale 1s cubic-bezier(.2,.7,.2,1) .25s both; }
@keyframes gira { to { transform: rotate(360deg); } }

/* titoli delle sezioni: numero, scoperta da sinistra, barretta che si allunga */
.pagina-larga article { counter-reset: sez; }
.fascia h2 { counter-increment: sez; }
.fascia h2::before { content: counter(sez, decimal-leading-zero); display: block; margin-bottom: 6px; font-size: 14px; letter-spacing: .2em; color: var(--arancio-testo); }
.fascia h2::after { content: ""; display: block; width: 72px; height: 5px; margin-top: 14px; border-radius: 3px; background: linear-gradient(90deg, var(--arancio), #FFB27A); transform-origin: left; }
/* il ritaglio parte solo da visto: un titolo già ritagliato non verrebbe mai "visto" */
.fascia h2.pronto { transform: none; transition: opacity .2s; }
.fascia h2.pronto.visto { animation: scopri .9s cubic-bezier(.6,.1,.2,1) both; }
@keyframes scopri { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.fascia h2.pronto::after { transform: scaleX(0); transition: transform .8s cubic-bezier(.2,.7,.2,1) .6s; }
.fascia h2.pronto.visto::after { transform: scaleX(1); }

/* entrate diverse per blocco, così non scende tutto uguale */
.blocco-per-chi li.pronto:nth-child(3n+1) { transform: translateX(-48px); }
.blocco-per-chi li.pronto:nth-child(3n+2) { transform: translateY(40px) scale(.94); }
.blocco-per-chi li.pronto:nth-child(3n) { transform: translateX(48px); }
.prezzo.pronto { transform: perspective(900px) rotateX(-28deg) translateY(36px); transform-origin: 50% 0; }
.blocco-abilita li.pronto { transform: scale(.88); filter: blur(6px); transition: opacity .7s, transform .7s cubic-bezier(.2,.7,.2,1), filter .7s; transition-delay: var(--ritardo, 0ms); }
.blocco-abilita li.pronto.visto { filter: none; transform: none; }
.nota.pronto, .cta-breve.pronto { transform: translateX(-40px); }
.pronto.visto, .blocco-per-chi li.pronto.visto { transform: none; }

/* cifre del percorso */
.cifre { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; max-width: 960px; margin: 28px auto 0; }
@media (min-width: 760px) { .cifre { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.cifra { position: relative; display: grid; justify-items: center; text-align: center; padding: 18px 10px 16px; background: var(--carta); border: 1px solid var(--linea); border-radius: 18px; box-shadow: 0 1px 2px rgba(10,22,80,.05); }
.cifra svg { width: 84px; height: 84px; transform: rotate(-90deg); }
.cifra circle { fill: none; stroke: #EEF1F8; stroke-width: 7; }
.cifra .cifra-anello { stroke: var(--arancio); stroke-linecap: round; stroke-dasharray: 214; stroke-dashoffset: 0; }
.cifra.pronto .cifra-anello { stroke-dashoffset: 214; transition: stroke-dashoffset 1.6s cubic-bezier(.2,.7,.2,1) calc(var(--ritardo, 0ms) + .2s); }
.cifra.pronto.visto .cifra-anello { stroke-dashoffset: 0; }
.cifra b { position: absolute; top: 18px; height: 84px; display: grid; place-items: center; font: 700 26px/1 "Space Grotesk", system-ui, sans-serif; color: var(--navy); font-variant-numeric: tabular-nums; }
.cifra span { margin-top: 10px; font-size: 14px; line-height: 1.35; color: var(--muto); max-width: 160px; }

/* nastro di parole */
.nastro { overflow: hidden; padding: 18px 0; background: var(--navy); transform: rotate(-1.5deg) scale(1.03); margin: 8px 0; box-shadow: 0 10px 30px rgba(10,22,80,.18); }
.nastro-riga { display: flex; width: max-content; will-change: transform; }
.nastro-riga span { font: 700 clamp(20px, 3vw, 34px)/1.25 "Space Grotesk", system-ui, sans-serif; color: #fff; padding: 0 22px; white-space: nowrap; }
.nastro-riga span::after { content: "●"; margin-left: 44px; font-size: .45em; vertical-align: middle; color: var(--arancio); }
.nastro-riga.al-contrario span { color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.45); }
.nastro-riga.al-contrario span::after { color: rgba(255,178,122,.6); -webkit-text-stroke: 0; }

/* tabellone del 23-22 */
@media (min-width: 900px) {
  .fascia-intro .dentro:has(.punteggio) { display: grid; grid-template-columns: minmax(0, 1fr) 340px; column-gap: 56px; align-items: start; }
  .fascia-intro .dentro > p { grid-column: 1; }
  .fascia-intro .punteggio { grid-column: 2; grid-row: 1 / span 3; margin: 0; }
}
.fascia-intro p:first-child { font: 600 clamp(20px, 2.4vw, 26px)/1.45 "Space Grotesk", system-ui, sans-serif; color: var(--navy); }
.punteggio { margin: 8px 0 24px; padding: 18px 20px 16px; border-radius: 20px; background: linear-gradient(160deg, #070F3D, var(--navy-2)); color: #fff; box-shadow: 0 20px 50px rgba(10,22,80,.3); max-width: 420px; }
.punteggio-testa { display: flex; justify-content: space-between; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-bottom: 10px; }
.punteggio-live { color: #FFB27A; }
.punteggio-live::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: var(--arancio); animation: lampeggia 1.2s ease-in-out infinite; }
@keyframes lampeggia { 50% { opacity: .25; } }
.punteggio-riga { display: flex; align-items: center; justify-content: space-between; padding: 6px 0; border-top: 1px solid rgba(255,255,255,.1); font-size: 17px; }
.punteggio-riga b { font: 700 52px/1 "Space Grotesk", system-ui, sans-serif; font-variant-numeric: tabular-nums; }
.punteggio-tua b { color: #FFB27A; }
.punteggio-palla { display: inline-block; width: 14px; height: 14px; margin-left: 8px; vertical-align: -1px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff, #FFD9B8 45%, var(--arancio)); animation: rimbalza .9s ease-in-out infinite alternate; }
@keyframes rimbalza { to { transform: translateY(-6px); } }
.punteggio-timer { height: 8px; margin: 14px 0 10px; border-radius: 999px; background: rgba(255,255,255,.12); overflow: hidden; }
.punteggio-timer span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--arancio), #FFB27A); transform-origin: left; }
.punteggio-nota { margin: 0 !important; font-size: 15px; line-height: 1.45; color: rgba(255,255,255,.8); max-width: none !important; }
.punteggio-sec { display: inline-block; min-width: 1ch; color: #fff; font-size: 18px; }

/* sezione su fondo blu con le schede delle abilità */
.fascia.scura { position: relative; background: radial-gradient(800px 400px at 85% 0%, rgba(255,122,24,.22), transparent 60%), radial-gradient(700px 400px at 0% 100%, rgba(61,91,255,.3), transparent 60%), linear-gradient(140deg, #070F3D, var(--navy) 50%, var(--navy-2)); color: rgba(255,255,255,.88); border-top: 0; }
.fascia.scura h2, .fascia.scura strong { color: #fff; }
.fascia.scura h2::before { color: #FFB27A; }
.blocco-abilita ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; counter-reset: abi; }
@media (min-width: 640px) { .blocco-abilita ul { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .blocco-abilita ul { grid-template-columns: repeat(3, 1fr); } }
.blocco-abilita li { counter-increment: abi; position: relative; overflow: hidden; margin: 0; padding: 18px 18px 26px; border-radius: 18px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); line-height: 1.55; transition: transform .25s, background .25s, border-color .25s; }
.blocco-abilita li::before { content: counter(abi, decimal-leading-zero); display: block; font: 700 30px/1 "Space Grotesk", system-ui, sans-serif; color: var(--arancio); margin-bottom: 10px; }
.blocco-abilita li::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: 12px; height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--arancio), #FFB27A); transform-origin: left; }
.blocco-abilita li.pronto::after { transform: scaleX(0); transition: transform 1.2s cubic-bezier(.2,.7,.2,1) calc(var(--ritardo, 0ms) + .5s); }
.blocco-abilita li.pronto.visto::after { transform: scaleX(1); }
.blocco-abilita li.visto:hover { transform: translateY(-5px); background: rgba(255,255,255,.12); border-color: rgba(255,178,122,.5); }

/* barre del costo per incontro */
.barre { margin: 8px 0 28px; padding: 22px 22px 12px; background: var(--carta); border: 1px solid var(--linea); border-radius: 18px; max-width: 760px; box-shadow: 0 1px 2px rgba(10,22,80,.05); }
.barre figcaption { margin-bottom: 14px; }
.barre figcaption strong { display: block; color: var(--navy); font-size: 17px; }
.barre figcaption span { font-size: 14px; color: var(--muto); }
.barre-riga { display: grid; grid-template-columns: 190px 1fr 60px; align-items: center; gap: 12px; margin-bottom: 14px; font-size: 15px; }
.barre-traccia { height: 26px; border-radius: 8px; background: #EEF1F8; overflow: hidden; }
.barre-pieno { height: 100%; width: var(--v); border-radius: 8px; background: linear-gradient(90deg, var(--navy-2), #3D5BFF); position: relative; overflow: hidden; }
.barre-riga:last-child .barre-pieno { background: linear-gradient(90deg, #FF9A4D, var(--arancio)); }
.barre-pieno::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(-45deg, rgba(255,255,255,.14) 0 10px, transparent 10px 20px); background-size: 28.28px 28.28px; animation: strisce 1.2s linear infinite; }
@keyframes strisce { to { background-position: 28.28px 0; } }
.barre.pronto .barre-pieno { width: 0; }
.barre.pronto.visto .barre-pieno { width: var(--v); transition: width 1.3s cubic-bezier(.2,.7,.2,1); }
.barre.pronto.visto .barre-riga:nth-of-type(2) .barre-pieno { transition-delay: .15s; }
.barre.pronto.visto .barre-riga:nth-of-type(3) .barre-pieno { transition-delay: .3s; }
.barre-num { font-family: "Space Grotesk", system-ui, sans-serif; color: var(--navy); text-align: right; font-variant-numeric: tabular-nums; }
.grafico-dopo::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, transparent, rgba(255,255,255,.6), transparent) no-repeat; background-size: 50% 100%; animation: luccica 2.6s ease-in-out infinite; }
@keyframes luccica { from { background-position: -60% 0; } to { background-position: 160% 0; } }

@media (max-width: 560px) {
  .barre { padding: 18px 16px 8px; }
  .barre-riga { grid-template-columns: 1fr 52px; gap: 4px 10px; }
  .barre-voce { grid-column: 1 / -1; font-size: 14px; }
  .cifra svg { width: 72px; height: 72px; }
  .cifra b { height: 72px; font-size: 22px; }
  .punteggio-riga b { font-size: 44px; }
  .nastro { padding: 12px 0; }
  .blocco-per-chi li.pronto:nth-child(n) { transform: translateY(30px); }
  .blocco-per-chi li.pronto.visto:nth-child(n) { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .eroe-fascia .eroe-testo > *, .eroe-fascia .eroe-foto, .anello::before, .punteggio-live::before, .punteggio-palla, .barre-pieno::after, .grafico-dopo::after { animation: none; }
  .fascia h2.pronto { clip-path: none; }
  .fascia h2.pronto::after, .blocco-abilita li.pronto::after { transform: none; }
  .blocco-abilita li.pronto { filter: none; }
  .cifra.pronto .cifra-anello { stroke-dashoffset: 0; }
}
