/* onlinespeaking.it — pagina «Online Speaking con il metodo A.I.R.» (4/12/2026)
   Stile chiesto da Federico: quello delle pagine di vendita all'italiana (blu notte, oro, titoli maiuscoli,
   liste con croci e spunte, moduli numerati su fondo scuro). I contenuti sono suoi. */

@font-face { font-family: "Montserrat"; src: url("fonts/montserrat-normal.woff2") format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("fonts/montserrat-italic.woff2") format("woff2"); font-weight: 400 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Raleway"; src: url("fonts/raleway-normal.woff2") format("woff2"); font-weight: 500 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Raleway"; src: url("fonts/raleway-italic.woff2") format("woff2"); font-weight: 500 900; font-style: italic; font-display: swap; }

:root {
  --navy: #002b5b;
  --notte: #00142a;
  --oro: #fcc74e;
  --oro-scuro: #e9a91c;
  --testo: #2b2f36;
  --grigio: #5b6270;
  --chiaro: #f2f4f7;
  --rosso: #d93a2b;
  --bianco: #ffffff;
  --largo: 1080px;
  --pad: clamp(18px, 5vw, 48px);
  --taglio: clamp(28px, 4.2vw, 64px);   /* l'inclinazione dei bordi delle fasce scure */
}
* { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-color: var(--navy) var(--chiaro); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { font-family: "Montserrat", system-ui, sans-serif; font-size: 18px; line-height: 1.6; color: var(--testo); background: var(--bianco); caret-color: var(--navy); }
::selection { background: var(--oro); color: var(--notte); }
img { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: 4px; }
:focus-visible { outline: 3px solid var(--oro); outline-offset: 3px; border-radius: 4px; }
.salta { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--oro); color: var(--notte); padding: 10px 16px; border-radius: 5px; font-weight: 700; }
.salta:focus { top: 12px; }
.dentro { max-width: var(--largo); margin: 0 auto; }

/* ── la striscia in alto ── */
.striscia { background: var(--notte); color: var(--bianco); text-align: center; padding: 12px var(--pad); font-family: "Raleway", sans-serif; font-weight: 700; font-size: clamp(14px, 1.3vw, 17px); letter-spacing: .02em; text-transform: uppercase; }
.striscia b { color: var(--oro); }

/* ── fasce scure: blu notte sopra la foto dello studio, bordi inclinati ── */
.scuro { position: relative; color: var(--bianco); background: linear-gradient(rgba(0, 20, 42, .9), rgba(0, 32, 70, .92)), url("img/studio-sfondo.jpg") center / cover no-repeat; background-color: var(--notte); }
.inclinata { clip-path: polygon(0 var(--taglio), 100% 0, 100% calc(100% - var(--taglio)), 0 100%); margin: calc(var(--taglio) * -1) 0; padding-top: calc(var(--taglio) + clamp(48px, 6vw, 80px)); padding-bottom: calc(var(--taglio) + clamp(48px, 6vw, 80px)); }

/* ── bottone oro ── */
.bottone { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 20px 34px; border-radius: 5px; border: 0; background: var(--oro); color: #000; font-family: "Raleway", sans-serif; font-weight: 800; font-size: clamp(17px, 1.7vw, 22px); line-height: 1.25; text-transform: uppercase; text-align: center; text-decoration: none; cursor: pointer; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .45); transition: background .2s, transform .2s, box-shadow .2s; }
.bottone:hover { background: #ffd56e; transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .5); }
.bottone svg { width: 20px; height: 20px; flex: none; }
.cta { margin-top: 36px; text-align: center; }
.cta .sotto-cta { margin-top: 12px; font-size: 15px; color: var(--grigio); }
.scuro .cta .sotto-cta { color: #c9d4e4; }

/* ── 1 · l'apertura ── */
.hero { padding: clamp(28px, 4vw, 48px) var(--pad) clamp(56px, 7vw, 88px); text-align: center; }
.hero .marchio img { height: 30px; width: auto; margin: 0 auto; }
.hero .prodotto { margin-top: clamp(24px, 3vw, 36px); font-family: "Raleway", sans-serif; font-style: italic; font-weight: 800; font-size: clamp(26px, 3.4vw, 46px); line-height: 1.1; color: var(--oro); }
.hero h1 { margin: 14px auto 0; max-width: 24ch; font-family: "Raleway", sans-serif; font-style: italic; font-weight: 800; font-size: clamp(26px, 3vw, 42px); line-height: 1.18; color: var(--bianco); text-wrap: balance; }
.hero .riquadro { margin: 26px auto 0; max-width: 660px; padding: 14px 20px; border: 2px dashed rgba(255, 255, 255, .55); font-size: clamp(16px, 1.4vw, 19px); line-height: 1.5; color: #e6ecf5; }
.hero .foto { margin: 32px auto 0; max-width: 720px; position: relative; }
.hero .foto img { width: 100%; height: auto; border-radius: 6px; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .75); }
.hero .foto .etichetta { position: absolute; left: 14px; top: -14px; background: var(--oro); color: var(--notte); font-family: "Raleway", sans-serif; font-weight: 800; font-size: 14px; text-transform: uppercase; padding: 6px 12px; border-radius: 4px; }
.hero .invito { margin-top: 30px; font-weight: 700; font-size: clamp(19px, 1.9vw, 25px); }
.hero .invito u { text-decoration-thickness: 2px; text-underline-offset: 6px; }
.hero .invito-2 { margin-top: 6px; font-family: "Raleway", sans-serif; font-weight: 700; font-size: clamp(16px, 1.5vw, 20px); color: var(--oro); }

/* ── fasce bianche ── */
.chiara { padding: clamp(80px, 10vw, 128px) var(--pad); }
.titolo { font-family: "Montserrat", sans-serif; font-weight: 800; text-transform: uppercase; text-align: center; color: var(--navy); font-size: clamp(26px, 3.2vw, 44px); line-height: 1.12; letter-spacing: -.01em; text-wrap: balance; max-width: 26ch; margin: 0 auto; }
.freccia { display: block; width: 22px; height: 22px; margin: 18px auto 0; color: var(--navy); }
.scuro .titolo { color: var(--bianco); }
.lista { list-style: none; padding: 0; margin: 44px auto 0; max-width: 820px; display: grid; gap: 26px; }
.lista li { display: grid; grid-template-columns: 40px 1fr; gap: 18px; align-items: start; }
.lista svg { width: 36px; height: 36px; }
.lista h3 { font-weight: 800; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.3; color: #1d1d1d; }
.lista p { margin-top: 4px; font-size: 16px; line-height: 1.55; color: var(--grigio); }
.no svg { color: var(--rosso); }
.si svg { color: var(--navy); }
.buona { margin-top: clamp(64px, 8vw, 96px); }
.paragrafi { max-width: 820px; margin: 26px auto 0; display: grid; gap: 10px; font-size: 17px; color: var(--grigio); }
.paragrafi b { color: #1d1d1d; }
.stemma { margin: 48px auto 0; width: 150px; height: 150px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, #0b3d75, var(--notte)); box-shadow: 0 0 0 6px var(--oro), 0 0 0 10px rgba(252, 199, 78, .25); }
.stemma span { font-family: "Raleway", sans-serif; font-weight: 900; font-size: 50px; letter-spacing: .12em; color: var(--oro); padding-left: .12em; }
.stemma-testo { margin-top: 22px; text-align: center; font-family: "Raleway", sans-serif; font-weight: 800; font-size: 15px; letter-spacing: .1em; text-transform: uppercase; color: var(--oro-scuro); }
.sottotitolo { margin: 18px auto 0; max-width: 30ch; text-align: center; font-family: "Montserrat", sans-serif; font-weight: 800; text-transform: uppercase; font-size: clamp(20px, 2.2vw, 28px); line-height: 1.2; color: var(--navy); text-wrap: balance; }

/* ── i video del webinar dentro la pagina ── */
.clip { margin: 44px auto 0; max-width: 760px; }
.clip .cornice-video { position: relative; border-radius: 6px; overflow: hidden; background: #000; box-shadow: 0 24px 50px -24px rgba(0, 20, 42, .6); }
.clip video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #000; }
.clip figcaption { margin-top: 12px; font-size: 15px; color: var(--grigio); text-align: center; }
.clip figcaption b { color: #1d1d1d; }
.scuro .clip figcaption { color: #c9d4e4; }
.scuro .clip figcaption b { color: var(--bianco); }
.avvia { position: absolute; inset: 0; display: grid; place-items: center; border: 0; padding: 0; background: rgba(0, 20, 42, .25); cursor: pointer; }
.avvia .tondo { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: var(--oro); color: #000; box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .6); transition: transform .2s; }
.avvia svg { width: 26px; height: 26px; margin-left: 5px; }
.avvia:hover .tondo, .avvia:focus-visible .tondo { transform: scale(1.07); }

/* ── i tre moduli A · I · R ── */
.modulo { text-align: center; padding-left: var(--pad); padding-right: var(--pad); }
.modulo .lettera { width: 76px; height: 76px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; border: 3px solid var(--oro); font-family: "Raleway", sans-serif; font-weight: 900; font-size: 36px; color: var(--oro); }
.modulo .numero { margin-top: 18px; font-family: "Raleway", sans-serif; font-weight: 700; font-size: clamp(18px, 1.8vw, 26px); text-transform: uppercase; color: var(--oro); }
.modulo h2 { margin: 6px auto 0; max-width: 22ch; font-family: "Raleway", sans-serif; font-weight: 800; text-transform: uppercase; font-size: clamp(28px, 3.4vw, 46px); line-height: 1.08; color: var(--bianco); text-wrap: balance; }
.modulo .durata { margin-top: 12px; font-style: italic; font-weight: 600; font-size: clamp(17px, 1.6vw, 22px); color: #d8d8d8; }
.dettaglio { padding: clamp(96px, 11vw, 140px) var(--pad) clamp(88px, 10vw, 128px); }
.dettaglio .dentro { max-width: 820px; }
.dettaglio p.apri { font-size: 17px; color: var(--grigio); }
.dettaglio p.apri b { color: #1d1d1d; }
.spunte { list-style: none; padding: 0; margin: 12px 0 26px; display: grid; gap: 8px; }
.spunte li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 16.5px; line-height: 1.5; color: var(--grigio); }
.spunte li b { color: #1d1d1d; }
.spunte svg { width: 18px; height: 18px; margin-top: 3px; color: var(--navy); }
.dettaglio h4 { margin-top: 8px; font-weight: 700; font-size: 16px; color: #1d1d1d; }

/* ── lo sapevi che… ── */
.sapevi .fatti { list-style: none; padding: 0; margin: 48px auto 0; max-width: 900px; display: grid; gap: 0; border-top: 2px solid var(--navy); }
.sapevi .fatti li { padding: 24px 0; border-bottom: 1px solid #d8dde6; display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; }
.sapevi .fatti strong { font-family: "Montserrat", sans-serif; font-weight: 800; font-size: clamp(19px, 1.8vw, 24px); line-height: 1.3; color: var(--navy); }
.sapevi .fatti p { font-size: 16px; color: var(--grigio); }
.sapevi .fatti small { font-size: 13px; color: #7c8493; }
.sapevi .fatti small a { color: inherit; }
.sapevi .chiusa { margin: 36px auto 0; max-width: 60ch; text-align: center; font-weight: 700; font-size: clamp(18px, 1.7vw, 22px); color: #1d1d1d; }

/* ── chi sono ── */
.chi { padding-left: var(--pad); padding-right: var(--pad); }
.chi .oro-titolo { text-align: center; font-family: "Raleway", sans-serif; font-weight: 700; font-size: clamp(22px, 2.4vw, 34px); color: #ffd800; text-transform: uppercase; }
.chi .titolo { margin-top: 8px; }
.persona { margin: clamp(40px, 5vw, 64px) auto 0; max-width: var(--largo); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.persona img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; border-radius: 6px; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .7); }
.persona h3 { font-family: "Raleway", sans-serif; font-weight: 800; font-size: clamp(34px, 4vw, 54px); line-height: 1; text-transform: uppercase; color: var(--bianco); }
.persona p { margin-top: 16px; font-size: 16.5px; line-height: 1.65; color: #dbe3ef; }
.persona p b { color: var(--bianco); }
.persona .citazione { margin-top: 22px; padding-left: 16px; border-left: 3px solid var(--oro); font-family: "Raleway", sans-serif; font-style: italic; font-weight: 700; font-size: clamp(18px, 1.7vw, 22px); line-height: 1.35; color: var(--bianco); }

/* ── l'appuntamento ── */
.passi { list-style: none; padding: 0; margin: 48px auto 0; max-width: 960px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); counter-reset: passo; }
.passi li { text-align: center; }
.passi .n { width: 60px; height: 60px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--oro); font-family: "Raleway", sans-serif; font-weight: 900; font-size: 26px; }
.passi h3 { margin-top: 16px; font-weight: 800; font-size: 19px; line-height: 1.3; color: #1d1d1d; }
.passi p { margin-top: 8px; font-size: 16px; color: var(--grigio); }
.scheda { margin: 52px auto 0; max-width: 560px; border-radius: 8px; overflow: hidden; box-shadow: 0 24px 60px -28px rgba(0, 20, 42, .55); text-align: center; }
.scheda .testa { background: var(--navy); color: var(--bianco); padding: 22px 20px; }
.scheda .testa p { font-family: "Raleway", sans-serif; font-weight: 800; font-size: 22px; text-transform: uppercase; }
.scheda .testa small { display: block; margin-top: 4px; color: var(--oro); font-weight: 700; font-size: 15px; }
.scheda ul { list-style: none; padding: 20px 24px; margin: 0; background: var(--bianco); display: grid; gap: 10px; text-align: left; }
.scheda li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 16.5px; color: var(--testo); }
.scheda li svg { width: 18px; height: 18px; margin-top: 4px; color: var(--navy); }
.scheda .prezzo { background: #23802c; color: var(--bianco); padding: 14px; font-family: "Raleway", sans-serif; font-weight: 900; font-size: 28px; letter-spacing: .04em; }

/* ── la chiusura ── */
.finale { text-align: center; padding-left: var(--pad); padding-right: var(--pad); }
.finale .titolo { max-width: 22ch; }
.finale .oro { margin-top: 14px; font-weight: 700; font-size: clamp(18px, 1.8vw, 23px); color: #fbcb1c; }
.finale .scrivimi { margin-top: 22px; font-size: 16px; color: #c9d4e4; }
.finale .scrivimi button { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: var(--bianco); text-decoration: underline; text-underline-offset: 5px; cursor: pointer; }
.lettera-chiusa { padding: clamp(96px, 11vw, 140px) var(--pad) clamp(64px, 8vw, 96px); }
.lettera-chiusa .dentro { max-width: 760px; }
.lettera-chiusa h2 { font-family: "Raleway", sans-serif; font-weight: 800; font-size: clamp(24px, 2.4vw, 31px); line-height: 1.25; color: #000; }
.lettera-chiusa p { margin-top: 14px; font-size: 16.5px; color: var(--grigio); }
.lettera-chiusa p b { color: #1d1d1d; }
.lettera-chiusa .firma { margin-top: 24px; font-family: "Raleway", sans-serif; font-style: italic; font-weight: 800; font-size: 22px; color: var(--navy); }

/* ── il modulo «scrivimi» ── */
.modulo-info { margin: 36px auto 0; max-width: 680px; padding: clamp(22px, 3vw, 34px); border-radius: 8px; background: var(--bianco); color: var(--testo); text-align: left; display: grid; gap: 16px; box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .6); }
.modulo-info[hidden] { display: none; }
.modulo-info h3 { font-weight: 800; font-size: 24px; color: var(--navy); text-transform: uppercase; }
.modulo-info .spiega { font-size: 16px; color: var(--grigio); margin-top: -8px; }
.modulo-info .riga2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.campo { display: grid; gap: 6px; }
.campo label { font-weight: 700; font-size: 15px; color: #1d1d1d; }
.campo .facoltativo { font-weight: 400; color: var(--grigio); }
.campo input, .campo textarea { width: 100%; font: inherit; font-size: 17px; color: var(--testo); background: var(--chiaro); border: 1.5px solid #cfd6e1; border-radius: 6px; padding: 12px 14px; }
.campo textarea { min-height: 130px; resize: vertical; }
.campo input:focus, .campo textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(0, 43, 91, .18); }
.campo [aria-invalid="true"] { border-color: var(--rosso); }
.errore { font-size: 14px; color: var(--rosso); }
.errore:empty { display: none; }
.trappola { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.modulo-info .bottone { justify-self: start; font-size: 18px; padding: 16px 26px; }
.modulo-info .mini { font-size: 13px; color: var(--grigio); }
.esito-info { font-size: 16px; line-height: 1.5; }
.esito-info:empty { display: none; }
.esito-info.bene { padding: 14px 16px; border-radius: 6px; background: #e8f4ea; color: #1d5f25; font-weight: 600; }
.esito-info.male { padding: 14px 16px; border-radius: 6px; background: #fdecea; color: #a52a1d; }

.piede { background: var(--notte); color: #9fb0c8; text-align: center; padding: 30px var(--pad) 36px; font-size: 13px; }
.piede img { height: 22px; width: auto; margin: 0 auto 12px; }
.piede a { color: inherit; }

@media (max-width: 760px) {
  body { font-size: 17px; }
  .bottone { width: 100%; padding: 18px 20px; }
  .lista li { grid-template-columns: 32px 1fr; gap: 12px; }
  .lista svg { width: 30px; height: 30px; }
  .persona { grid-template-columns: 1fr; }
  .persona img { max-width: 340px; margin: 0 auto; }
  .passi { grid-template-columns: 1fr; }
  .modulo-info .riga2 { grid-template-columns: 1fr; }
  .avvia .tondo { width: 64px; height: 64px; }
}

/* ── apertura animata (prima visita): Public si sgretola e diventa Online, poi si accende Federico ── */
#intro { position: fixed; inset: 0; z-index: 100; background: radial-gradient(120% 80% at 50% 45%, #0b3d75 0%, #002b5b 50%, #00142a 100%); overflow: hidden; transition: opacity .7s ease-out, transform .9s cubic-bezier(.2, .7, .2, 1); }
#intro.via { opacity: 0; transform: scale(1.04); pointer-events: none; }
#intro canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
#intro .ritratto { position: absolute; left: 50%; opacity: 0; transform: translate(-50%, 36px); filter: brightness(.15); transition: opacity .7s ease-out, transform .9s cubic-bezier(.2, .8, .2, 1), filter 1.1s ease-out; }
#intro .ritratto.su { opacity: 1; transform: translate(-50%, 0); filter: brightness(1); }
#intro .ritratto .cornice { position: relative; padding: 16px; border-radius: 10px; background: #0b3d75; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); }
#intro .ritratto img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; border-radius: 4px; }
#intro .bulbo { position: absolute; width: 12px; height: 12px; border-radius: 50%; transform: translate(-50%, -50%); background: #3b4150; transition: background .3s, box-shadow .45s; }
#intro .bulbo.on { background: radial-gradient(circle at 40% 38%, #fff 0 22%, #fff3d6 40%, #fcc74e 100%); box-shadow: 0 0 10px 3px rgba(252, 199, 78, .55), 0 0 30px 10px rgba(252, 199, 78, .18); }
#intro .salta-intro { position: absolute; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); font: 700 15px Montserrat, system-ui, sans-serif; color: #dbe3ef; background: rgba(0, 20, 42, .6); border: 1.5px solid rgba(255, 255, 255, .3); border-radius: 5px; padding: 9px 16px; cursor: pointer; }
#intro .salta-intro:hover { color: #000; background: var(--oro); border-color: var(--oro); }
