:root {
  --sfondo: #0f0d0e;
  --carta: #1a1618;
  --bordo: #2e2629;
  --testo: #f7f2f3;
  --tenue: #b9adb1;
  --rosa: #F4A6B8;
  --rosa-scuro: #e48aa0;
  --oro: #E8C07D;
  --errore: #ff8f8f;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--sfondo); color: var(--testo);
  font-family: 'Montserrat', system-ui, sans-serif; font-size: 16px; line-height: 1.55;
  background-image: radial-gradient(circle at 50% -10%, rgba(244,166,184,.16), transparent 55%);
  min-height: 100vh;
}
main { max-width: 520px; margin: 0 auto; padding: 40px 16px 32px; }
.etichetta {
  display: inline-block; font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--rosa); border: 1px solid rgba(244,166,184,.4); border-radius: 99px; padding: 6px 14px;
}
h1 {
  font-family: 'Playfair Display', Georgia, serif; font-weight: 500; font-size: 40px; line-height: 1.1;
  margin: 18px 0 14px; letter-spacing: -.01em;
}
h1 em { color: var(--rosa); }
.intro { color: var(--tenue); margin: 0 0 28px; }
.scheda {
  background: var(--carta); border: 1px solid var(--bordo); border-radius: 20px; padding: 24px 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
}
.scheda h2 { font-family: 'Playfair Display', Georgia, serif; font-weight: 500; font-size: 24px; margin: 0 0 4px; }
.scheda h2 em { color: var(--rosa); }
.scheda p.sotto { color: var(--tenue); font-size: 14px; margin: 0 0 20px; }
.riga { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
label.campo { display: block; margin-bottom: 14px; font-size: 13px; font-weight: 600; color: var(--tenue); }
label.campo input {
  display: block; width: 100%; margin-top: 6px; padding: 14px; font: inherit; font-size: 16px; font-weight: 500;
  color: var(--testo); background: #120f11; border: 1px solid var(--bordo); border-radius: 12px; outline: none;
}
label.campo input:focus { border-color: var(--rosa); }
label.campo input.sbagliato { border-color: var(--errore); }
.spunta { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--tenue); margin: 6px 0 12px; }
.spunta input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--rosa); flex: none; }
.spunta a { color: var(--rosa); }
.spunta.sbagliato { color: var(--errore); }
.bottone {
  display: block; width: 100%; text-align: center; text-decoration: none; cursor: pointer;
  margin-top: 8px; padding: 16px; border: 0; border-radius: 99px; font: inherit; font-weight: 700; font-size: 16px;
  color: #1a1012; background: var(--rosa); transition: background .2s, transform .1s;
}
.bottone:hover { background: var(--rosa-scuro); }
.bottone:active { transform: scale(.98); }
.bottone[disabled] { opacity: .6; cursor: wait; }
.bottone.chiaro { background: transparent; color: var(--testo); border: 1px solid var(--bordo); }
.errore { color: var(--errore); font-size: 13px; min-height: 18px; margin: 8px 0 0; }
.nascosto { display: none !important; }
.video {
  position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #000;
  border: 1px solid var(--bordo); margin-bottom: 24px;
}
.video.verticale { aspect-ratio: 9 / 16; max-height: 80vh; margin-left: auto; margin-right: auto; }
.video iframe, .video #player { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.passo { margin-top: 16px; }
.passo .scheda { border-color: rgba(244,166,184,.35); }
.passo.evidenzia .scheda { animation: luce 1.6s ease 1; }
@keyframes luce { 0% { box-shadow: 0 0 0 0 rgba(244,166,184,.6); } 100% { box-shadow: 0 0 0 18px rgba(244,166,184,0); } }
.piccolo { font-size: 12px; color: var(--tenue); }
footer { max-width: 520px; margin: 0 auto; padding: 8px 16px 40px; text-align: center; font-size: 12px; color: var(--tenue); }
footer a, footer button { color: var(--tenue); background: none; border: 0; font: inherit; text-decoration: underline; cursor: pointer; padding: 0; }
.testo-lungo h2 { font-family: 'Playfair Display', Georgia, serif; font-weight: 500; font-size: 22px; margin: 28px 0 8px; }
.testo-lungo p, .testo-lungo li { color: var(--tenue); }
.testo-lungo a { color: var(--rosa); }
@media (max-width: 340px) { .riga { grid-template-columns: 1fr; gap: 0; } h1 { font-size: 34px; } }

/* ---------- Pagina webinar: link e video di eventi/retreat ---------- */
.sezione { margin-top: 40px; }
.sezione h2 { font-family: 'Playfair Display', Georgia, serif; font-weight: 500; font-size: 28px; line-height: 1.15; margin: 0 0 6px; }
.sezione h2 em { color: var(--rosa); }
.sezione p.sotto { color: var(--tenue); font-size: 14px; margin: 0 0 16px; }
.link-card {
  display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--testo);
  background: var(--carta); border: 1px solid var(--bordo); border-radius: 16px; padding: 16px; margin-bottom: 10px;
  transition: border-color .2s;
}
.link-card:hover { border-color: var(--rosa); }
.link-card .icona {
  flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(244,166,184,.14); color: var(--rosa); font-size: 20px;
}
.link-card strong { display: block; font-size: 15px; }
.link-card span.desc { display: block; color: var(--tenue); font-size: 13px; line-height: 1.4; }
.link-card .freccia { margin-left: auto; color: var(--rosa); font-size: 18px; }
.carosello {
  display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scroll-padding-left: 16px;
  margin: 0 -16px; padding-left: 16px; padding-right: 16px; -webkit-overflow-scrolling: touch;
}
.carosello figure { flex: none; width: 72%; max-width: 300px; margin: 0; scroll-snap-align: start; }
.carosello video {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 16px; background: #000;
  border: 1px solid var(--bordo); display: block;
}
.carosello figcaption { font-size: 13px; color: var(--tenue); margin-top: 6px; }
.nota { font-size: 12px; color: var(--tenue); margin-top: 10px; font-style: italic; }

/* "Hai già lasciato i tuoi dati?" → solo email */
.link-testo { background: none; border: 0; padding: 4px; font: inherit; font-size: 13px; color: var(--rosa); text-decoration: underline; cursor: pointer; }
#modulo.solo-email .riga, #modulo.solo-email .campo:not(.campo-email), #modulo.solo-email .spunta { display: none; }
