*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --black: #0A0A0A;
  --white: #F4F0E8;
  --green: #9DCC3A;
  --gray: #141414;
  --gray2: #1C1C1C;
  --muted: #5A5A5A;
  --border: rgba(255,255,255,0.07);
}
html { scroll-behavior: smooth; }
body {
  background: var(--black);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
}
body::after {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 9999; opacity: 0.35;
}

/* NAV */
nav {
  padding: 20px 32px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0;
  background: rgba(10,10,10,0.94); backdrop-filter: blur(16px);
  z-index: 100;
}
.nav-logo { font-family: 'Playfair Display', serif; font-size: 15px; color: var(--white); text-decoration: none; letter-spacing: 0.02em; }
.nav-cta { font-size: 12px; font-weight: 500; letter-spacing: 0.07em; text-transform: uppercase; color: var(--black); background: var(--green); padding: 10px 22px; border-radius: 2px; text-decoration: none; transition: opacity .2s; }
.nav-cta:hover { opacity: 0.82; }

/* HERO */
.hero { max-width: 1100px; margin: 0 auto; padding: 96px 32px 80px; }
.hero-inner { display: flex; align-items: stretch; gap: 72px; }
.hero-text { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.hero-photo { flex: 0 0 420px; position: relative; border-radius: 4px; overflow: hidden; min-height: 400px; }
.hero-photo img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center top; border-radius: 4px; }
.hero-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 55%, var(--black) 100%); pointer-events: none; }
.hero-tag { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green); margin-bottom: 32px; }
.hero-tag::before { content: ''; display: block; width: 24px; height: 1px; background: var(--green); }
.hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(32px, 5.2vw, 58px); font-weight: 900; line-height: 1.06; letter-spacing: -0.025em; margin-bottom: 32px; }
.hero h1 em { font-style: italic; color: var(--green); }
.hero-sub { font-size: 19px; color: rgba(244,240,232,0.6); max-width: 540px; line-height: 1.75; margin-bottom: 22px; }
.hero-lead { font-size: 15px; color: rgba(244,240,232,0.82); max-width: 540px; line-height: 1.65; margin-bottom: 40px; }
.hero-lead strong { color: var(--green); font-weight: 500; }
.cta-group { display: flex; flex-direction: column; gap: 10px; max-width: 380px; }
.btn-main { background: var(--green); color: var(--black); font-size: 13px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; padding: 18px 28px; border: none; border-radius: 2px; cursor: pointer; text-align: center; text-decoration: none; display: block; transition: opacity .2s; }
.btn-main:hover { opacity: 0.85; }
.btn-note { font-size: 11px; color: var(--muted); text-align: center; }
/* Invito in linea a fine sezione: nessun contenitore, per non sembrare un annuncio. */
.inline-cta { margin-top: 56px; display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.inline-cta p { font-size: 16px; color: rgba(244,240,232,0.66); line-height: 1.7; max-width: 560px; text-wrap: balance; }
.inline-cta .btn-main { display: inline-block; padding: 18px 34px; }

/* STRIP */
.strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 16px 32px; display: flex; gap: 48px; justify-content: center; flex-wrap: wrap; }
.strip-item { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.strip-item span { color: var(--white); font-weight: 500; }

/* SECTIONS */
section { padding: 80px 32px; }
.container { max-width: 1100px; margin: 0 auto; }
.eyebrow { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--green); display: block; margin-bottom: 20px; }
.section-h { font-family: 'Playfair Display', serif; font-size: clamp(26px, 4vw, 44px); font-weight: 700; line-height: 1.15; margin-bottom: 20px; }
.section-p { font-size: 17px; color: rgba(244,240,232,0.6); line-height: 1.8; max-width: 620px; }
.divider { max-width: 1100px; margin: 0 auto; height: 1px; background: var(--border); }

/* PROBLEMA GRID */
.prob-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); margin-top: 48px; }
.prob-card { background: var(--black); padding: 28px 32px; }
.prob-icon { font-size: 24px; margin-bottom: 14px; display: block; }
.prob-card h3 { font-family: 'Playfair Display', serif; font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.prob-card p { font-size: 15px; color: rgba(244,240,232,0.5); line-height: 1.7; }

/* ZENGA / TESTIMONIANZE QUOTE BLOCK */
.zenga-block { background: var(--gray); border: 1px solid var(--border); border-radius: 4px; padding: 48px; margin-top: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.zenga-quote { font-family: 'Playfair Display', serif; font-size: clamp(18px, 2.5vw, 26px); font-style: italic; line-height: 1.5; margin-bottom: 24px; color: var(--white); }
.zenga-attr { font-size: 14px; color: rgba(244,240,232,0.92); line-height: 1.6; }
.zenga-attr strong { display: block; color: var(--white); font-size: 16px; font-weight: 500; margin-bottom: 5px; }
.zenga-visual { border: 1px solid var(--border); border-radius: 2px; padding: 32px; text-align: center; }
.zenga-name { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700; margin-bottom: 6px; }
.zenga-role { font-size: 11px; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }
.zenga-caps { display: flex; flex-direction: column; gap: 6px; margin-top: 20px; }
.zenga-cap { font-size: 12px; color: rgba(244,240,232,0.55); padding: 6px 0; border-bottom: 1px solid var(--border); }
.zenga-cap:last-child { border-bottom: none; }

/* ROBERTO */
.roberto-wrap { display: grid; grid-template-columns: 1fr 1.5fr; gap: 64px; align-items: start; }
.roberto-left { position: sticky; top: 80px; }
.roberto-img {
  aspect-ratio: 3/4;
  background: var(--gray2);
  border-radius: 2px;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  position: relative;
  overflow: hidden;
  min-height: 280px;
}
.roberto-img::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.85) 0%, transparent 55%);
  z-index: 1;
}
.roberto-img::after {
  content: 'RC';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -60%);
  font-family: 'Playfair Display', serif;
  font-size: 72px;
  font-weight: 900;
  color: rgba(157,204,58,0.12);
  pointer-events: none;
  z-index: 0;
}
.roberto-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  z-index: 0;
}
.roberto-img-cap { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); position: relative; z-index: 2; }
blockquote.roberto-q { font-family: 'Playfair Display', serif; font-size: clamp(18px, 2.5vw, 24px); font-style: italic; line-height: 1.45; color: var(--white); margin-bottom: 28px; padding-left: 20px; border-left: 2px solid var(--green); }
.roberto-p { font-size: 16px; color: rgba(244,240,232,0.58); line-height: 1.85; margin-bottom: 18px; }
.roberto-stats { display: flex; gap: 32px; margin-top: 36px; padding-top: 36px; border-top: 1px solid var(--border); flex-wrap: wrap; }
.stat-n { font-family: 'Playfair Display', serif; font-size: 38px; font-weight: 900; color: var(--green); line-height: 1; display: block; }
.stat-n-text { font-size: 20px; line-height: 1.25; }
.stat-l { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-top: 4px; display: block; }

/* METODO */
.steps { margin-top: 48px; }
.step { display: grid; grid-template-columns: 48px 1fr; gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--border); align-items: start; }
.step:last-child { border-bottom: none; }
.step-n { font-family: 'Playfair Display', serif; font-size: 12px; color: var(--green); font-weight: 700; padding-top: 3px; }
.step h3 { font-family: 'Playfair Display', serif; font-size: 19px; font-weight: 700; margin-bottom: 7px; }
.step p { font-size: 15px; color: rgba(244,240,232,0.55); line-height: 1.75; }

/* TESTIMONIANZE */
.testi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 48px; }
.testi-card { background: var(--gray); border: 1px solid var(--border); border-radius: 4px; padding: 28px; }
.testi-card.featured { background: var(--gray2); border-color: rgba(157,204,58,0.2); }
.testi-quote { font-family: 'Playfair Display', serif; font-size: 16px; font-style: italic; line-height: 1.65; margin-bottom: 20px; color: var(--white); }
.testi-author { display: flex; align-items: flex-start; gap: 14px; }
.testi-avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: top center; flex-shrink: 0; border: 1px solid var(--border); }
.testi-author strong { display: block; font-size: 15px; font-weight: 500; color: var(--white); margin-bottom: 5px; }
.testi-author span { display: block; font-size: 14px; font-weight: 400; color: rgba(244,240,232,0.92); line-height: 1.45; }
.testi-career { font-size: 12.5px; color: var(--green); margin-top: 6px; line-height: 1.5; display: block; }

/* LEAD MAGNET */
.lm-box { background: var(--gray); border: 1px solid var(--border); border-radius: 4px; padding: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; margin-top: 0; }
.lm-action { display: flex; flex-direction: column; gap: 24px; }
.lm-proof { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--border); }
.lm-proof-label { display: block; font-family: 'Playfair Display', serif; font-size: 15px; font-style: italic; color: rgba(244,240,232,0.9); margin-bottom: 12px; }
.lm-proof-body { font-size: 14px; color: rgba(244,240,232,0.6); line-height: 1.7; margin-bottom: 0; }
.lm-tag { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green); display: block; margin-bottom: 14px; }
.lm-box h2 { font-family: 'Playfair Display', serif; font-size: clamp(20px, 2.8vw, 30px); font-weight: 700; line-height: 1.25; margin-bottom: 14px; }
.lm-box p { font-size: 15px; color: rgba(244,240,232,0.58); line-height: 1.8; margin-bottom: 24px; }
.lm-list { list-style: none; margin-bottom: 28px; }
.lm-list li { font-size: 14px; color: rgba(244,240,232,0.72); padding: 9px 0; border-bottom: 1px solid var(--border); display: flex; align-items: flex-start; gap: 10px; line-height: 1.5; }
.lm-list li::before { content: '→'; color: var(--green); flex-shrink: 0; margin-top: 1px; }
/* L'ultima voce non chiude con una riga: a dividere basta il bordo del blocco sotto. */
.lm-list li:last-child { border-bottom: none; }
.lm-visual { background: var(--black); border: 1px solid var(--border); border-radius: 4px; padding: 28px 24px; text-align: center; }
.lm-visual-icon { font-size: 40px; margin-bottom: 14px; line-height: 1.3; }
/* Mockup della guida: due pagine SVG sovrapposte, scala proporzionale a ogni larghezza. */
.gm { width: 100%; max-width: 330px; margin: 0 auto 18px; }
.gm__stage { position: relative; width: 100%; padding-bottom: 128%; }
.gm__cover, .gm__page { position: absolute; top: 0; }
.gm__cover { width: 62%; left: 0; top: 3%; transform: rotate(-8deg); filter: drop-shadow(0 12px 26px rgba(0,0,0,0.6)); }
.gm__page { width: 76%; right: 0; top: 10%; transform: rotate(2.5deg); filter: drop-shadow(0 22px 46px rgba(0,0,0,0.75)); }
.gm svg { display: block; width: 100%; height: auto; }
.lm-visual-title { font-family: 'Playfair Display', serif; font-size: 17px; font-weight: 700; line-height: 1.35; margin-bottom: 8px; }
.lm-visual-sub { font-size: 11px; color: var(--muted); letter-spacing: 0.07em; text-transform: uppercase; margin-bottom: 0; }
.lm-concepts { display: flex; flex-direction: column; gap: 6px; }
.lm-concept { font-size: 12px; color: rgba(244,240,232,0.5); padding: 7px 10px; background: var(--gray); border-radius: 2px; text-align: left; }
.lm-concept span { color: var(--green); margin-right: 6px; }

/* FORM */
.form-g { margin-bottom: 10px; }
.form-g label { display: block; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.form-g input { width: 100%; background: var(--black); border: 1px solid rgba(255,255,255,0.12); border-radius: 2px; padding: 14px 16px; font-family: 'DM Sans', sans-serif; font-size: 14px; color: var(--white); outline: none; transition: border-color .2s; }
.form-g input::placeholder { color: var(--muted); }
.form-g input:focus { border-color: var(--green); }
.form-g input.error { border-color: #e05252; }
.form-g .field-error { font-size: 11px; color: #e05252; margin-top: 4px; display: block; }
.form-privacy { font-size: 11px; color: var(--muted); line-height: 1.5; margin-top: 10px; }

/* BOTTONE STATI */
.btn-main:disabled { opacity: 0.55; cursor: not-allowed; pointer-events: none; }
.btn-spinner { display: inline-block; width: 12px; height: 12px; border: 2px solid var(--black); border-top-color: transparent; border-radius: 50%; animation: spin 0.6s linear infinite; vertical-align: middle; margin-right: 8px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ERRORE FORM */
.form-error-msg { background: rgba(224,82,82,0.08); border: 1px solid rgba(224,82,82,0.3); border-radius: 4px; padding: 14px 18px; font-size: 13px; color: #e05252; margin-top: 12px; display: none; }
.form-error-msg.visible { display: block; }

/* FINAL CTA */
.final { max-width: 560px; margin: 0 auto; text-align: center; }
.final h2 { font-family: 'Playfair Display', serif; font-size: clamp(28px, 5vw, 52px); font-weight: 900; line-height: 1.1; margin-bottom: 20px; }
.final > p { font-size: 17px; color: rgba(244,240,232,0.55); margin-bottom: 36px; }

/* FOOTER */
footer { border-top: 1px solid var(--border); padding: 28px 32px; display: flex; justify-content: space-between; align-items: center; max-width: 1100px; margin: 0 auto; font-size: 12px; color: var(--muted); flex-wrap: wrap; gap: 10px; }
footer a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; transition: color .2s; }
footer a:hover { color: var(--white); }

/* ANIMAZIONI HERO */
@keyframes up { from { opacity:0; transform: translateY(18px); } to { opacity:1; transform: translateY(0); } }
.hero-tag { animation: up 0.5s ease both; }
.hero h1 { animation: up 0.5s ease 0.1s both; }
.hero-sub { animation: up 0.5s ease 0.2s both; }
.hero-lead { animation: up 0.5s ease 0.25s both; }
.cta-group { animation: up 0.5s ease 0.3s both; }

/* LIBRO — PRICE BADGE HERO */
.price-badge { display: flex; justify-content: center; margin-bottom: 4px; }
.price-badge-amount { font-family: 'Playfair Display', serif; font-size: 32px; font-weight: 900; color: var(--white); line-height: 1; }

/* LIBRO — CAPITOLI */
.capitoli-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); margin-top: 48px; }
.capitolo { background: var(--black); padding: 28px 32px; }
.cap-num { font-size: 11px; color: var(--green); font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; display: block; margin-bottom: 10px; }
.cap-title { font-family: 'Playfair Display', serif; font-size: 17px; font-weight: 700; line-height: 1.3; margin-bottom: 8px; }
.cap-body { font-size: 14px; color: rgba(244,240,232,0.55); line-height: 1.7; }
/* Card senza corpo, usate per l'elenco dei moduli del corso. */
.capitolo.compact { padding: 20px 26px; }
.capitolo.compact .cap-title { margin-bottom: 0; }

/* LIBRO — STORIE PRIMA/DOPO */
.storie-stack { margin-top: 48px; border: 1px solid var(--border); border-radius: 4px; overflow: hidden; }
.storia { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--border); }
.storia:last-child { border-bottom: none; }
.storia-prima { padding: 28px 32px; background: var(--gray); border-right: 1px solid var(--border); }
.storia-dopo { padding: 28px 32px; background: var(--black); }
.storia-label { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 10px; }
.storia-label.dopo { color: var(--green); }
.storia-name { font-family: 'Playfair Display', serif; font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.storia-text { font-size: 14px; color: rgba(244,240,232,0.55); line-height: 1.7; }
.storia-text.dopo { color: rgba(244,240,232,0.78); }

/* LIBRO — BIG QUOTE */
.big-quote { max-width: 760px; margin: 0 auto; text-align: center; }
.big-quote blockquote { font-family: 'Playfair Display', serif; font-size: clamp(20px, 3vw, 32px); font-style: italic; line-height: 1.45; color: var(--white); margin-bottom: 20px; }
.big-quote cite { font-size: 13px; color: var(--muted); font-style: normal; }
.big-quote cite strong { color: var(--white); font-weight: 500; }

/* LIBRO — PER CHI */
.perchi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.perchi-label { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; display: block; margin-bottom: 16px; }
.perchi-label.si { color: var(--green); }
.perchi-label.no { color: var(--muted); }
.perchi-list { list-style: none; }
.perchi-list li { font-size: 14px; color: rgba(244,240,232,0.7); padding: 10px 0; border-bottom: 1px solid var(--border); display: flex; align-items: flex-start; gap: 10px; line-height: 1.55; }
.perchi-list li:last-child { border-bottom: none; }
.perchi-list.si li::before { content: '✓'; color: var(--green); flex-shrink: 0; font-size: 13px; margin-top: 1px; }
.perchi-list.no li::before { content: '✕'; color: var(--muted); flex-shrink: 0; font-size: 13px; margin-top: 1px; }

/* LIBRO — CTA BOX */
.cta-box { background: var(--gray); border: 1px solid rgba(157,204,58,0.2); border-radius: 4px; padding: 56px 48px; text-align: center; max-width: 760px; margin: 0 auto; }
.cta-box .eyebrow { display: block; text-align: center; }
.cta-box h2 { font-family: 'Playfair Display', serif; font-size: clamp(26px, 4vw, 42px); font-weight: 900; line-height: 1.12; margin-bottom: 18px; }
.cta-box h2 em { font-style: italic; color: var(--green); }
.cta-box > p { font-size: 16px; color: rgba(244,240,232,0.6); max-width: 480px; margin: 0 auto 32px; line-height: 1.75; }
/* Prezzo pieno barrato, sopra il prezzo in promozione. */
.cta-price-old { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700; color: var(--muted); line-height: 1; text-decoration: line-through; margin-bottom: 8px; }
.cta-price-big { font-family: 'Playfair Display', serif; font-size: 56px; font-weight: 900; color: var(--white); line-height: 1; margin-bottom: 6px; }
.cta-price-note { font-size: 12px; color: var(--muted); letter-spacing: 0.06em; margin-bottom: 32px; }
.cta-box .btn-main { display: inline-block; max-width: 360px; margin: 0 auto; padding: 20px 40px; font-size: 14px; }

@media (max-width: 700px) {
  nav { padding: 16px 20px; }
  section { padding: 56px 20px; }
  .hero { padding: 64px 20px 56px; }
  .hero-inner { flex-direction: column; gap: 40px; }
  .hero-photo { flex: none; width: 100%; max-width: 320px; margin: 0 auto; }
  .strip { gap: 24px; padding: 14px 20px; }
  .prob-grid { grid-template-columns: 1fr; }
  .zenga-block { grid-template-columns: 1fr; gap: 32px; padding: 28px; }
  .roberto-wrap { grid-template-columns: 1fr; }
  .roberto-left { position: static; }
  .testi-grid { grid-template-columns: 1fr; }
  .lm-box { grid-template-columns: 1fr; padding: 28px; gap: 32px; }
  /* Chi arriva dal CTA trova subito mockup e campi, i sei punti restano sotto. */
  .lm-box .lm-action { order: -1; }
  .inline-cta { margin-top: 40px; }
  .inline-cta p br { display: none; }
  .capitoli-grid { grid-template-columns: 1fr; }
  .storia { grid-template-columns: 1fr; }
  .storia-prima { border-right: none; border-bottom: 1px solid var(--border); }
  .perchi-grid { grid-template-columns: 1fr; gap: 32px; }
  .cta-box { padding: 36px 24px; }
  .cta-price-big { font-size: 44px; }
  .stat-n-text { font-size: 17px; }
}
