/* ══════════════════════════════════════════
   LANDING PAGE — Il Paziente con Neoplasie Ematologiche
   Survey Nazionale Pazienti 2026
   style.css
   ══════════════════════════════════════════ */

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: Arial, Helvetica, sans-serif;
  color: #1a1a2e;
  background: #fff;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ── VARIABILI COLORE ── */
:root {
  --navy: #1a3a6b;
  --navy-light: #22538f;
  --navy-pale: #e8edf7;
  --red: #c0392b;
  --red-dark: #a93226;
  --grey-bg: #f7f9fc;
  --grey-mid: #dde5f0;
  --grey-text: #556070;
  --grey-muted: #6b7fa3;
}

/* ── UTILITY ── */
.container { max-width: 960px; margin: 0 auto; padding: 0 24px; }
.section-tag {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 1.2px;
  text-transform: uppercase; color: var(--red); margin-bottom: 8px;
}
.section-title {
  font-size: 1.625rem; font-weight: 700; color: var(--navy);
  line-height: 1.3; margin-bottom: 10px;
}
.section-sub {
  font-size: 1rem; color: var(--grey-text);
  line-height: 1.7; margin-bottom: 28px;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--red); color: #fff;
  font-size: 1rem; font-weight: 700;
  padding: 14px 28px; border-radius: 4px;
  border: none; cursor: pointer;
  transition: background .2s;
  text-decoration: none;
}
.btn-primary:hover { background: var(--red-dark); }
.btn-primary svg {
  width: 18px; height: 18px; fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
}

/* ── NAVBAR ── */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  padding: 10px 0;
  box-shadow: 0 1px 0 var(--grey-mid), 0 2px 12px rgba(0,0,0,0.06);
}
.navbar .container { display: flex; align-items: center; gap: 16px; }
.nav-logo { width: 48px; height: 48px; flex-shrink: 0; }
.nav-logo img { width: 48px; height: 48px; object-fit: contain; }
.nav-name { flex: 1; }
.nav-name strong { display: block; font-size: 0.875rem; color: var(--navy); font-weight: 700; }
.nav-name span { font-size: 0.75rem; color: var(--grey-muted); }
.nav-link {
  font-size: 0.8125rem; font-weight: 600; color: var(--navy);
  white-space: nowrap; flex-shrink: 0;
  padding: 6px 0;
  border-bottom: 1.5px solid transparent;
  transition: border-color .2s, color .2s;
}
.nav-link:hover { border-bottom-color: var(--navy); }
.nav-cta {
  background: var(--red); color: #fff;
  font-size: 0.8125rem; font-weight: 700;
  padding: 9px 20px; border-radius: 4px;
  white-space: nowrap; flex-shrink: 0;
  transition: background .2s; border: none; cursor: pointer;
}
.nav-cta:hover { background: var(--red-dark); }
@media (max-width: 600px) {
  .nav-link { display: none; }
}
@media (max-width: 500px) {
  .nav-name span { display: none; }
  .nav-cta { font-size: 0.75rem; padding: 8px 14px; }
}

/* ── HERO ── */
.hero {
  background: url('immagini/fondo.png') center/cover no-repeat;
  background-color: #eef1f7;
  padding: 48px 0 52px;
  overflow: hidden;
  position: relative;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}

/* Contenitore badge destra */
.hero-badge-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Bolla bianca semitrasparente */
.hero-bubble {
  background: rgba(255, 255, 255, 0.60);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 0.5px solid rgba(255, 255, 255, 0.95);
  border-radius: 14px;
  padding: 36px 40px 40px;
  box-shadow: 0 4px 32px rgba(26, 58, 107, 0.10);
}

.hero-tag-pill {
  display: inline-block;
  background: var(--red); color: #fff;
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  padding: 5px 14px; border-radius: 4px;
  margin-bottom: 18px;
}
.hero-title {
  font-size: 2rem; font-weight: 700; color: var(--navy);
  line-height: 1.2; margin-bottom: 14px;
}
.hero-title em { color: var(--red); font-style: normal; }
.hero-sub {
  font-size: 1rem; color: var(--grey-text);
  line-height: 1.7; margin-bottom: 26px;
}
.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero-meta {
  font-size: 0.75rem; color: var(--grey-muted);
  display: flex; align-items: center; gap: 5px;
}
.hero-meta svg { width: 14px; height: 14px; flex-shrink: 0; }

.hero-badge-card {
  background: rgba(255, 255, 255, 0.60);
  border-radius: 12px;
  padding: 28px 32px;
  text-align: center;
  box-shadow: 0 4px 24px rgba(26, 58, 107, 0.12);
  border: 0.5px solid rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  min-width: 160px;
}
.hbc-num { font-size: 3.25rem; font-weight: 700; color: var(--navy); line-height: 1; }
.hbc-bar { width: 48px; height: 3px; background: var(--red); margin: 10px auto; border-radius: 2px; }
.hbc-label { font-size: 0.75rem; font-weight: 700; color: var(--grey-muted); text-transform: uppercase; letter-spacing: .8px; line-height: 1.5; }

@media (max-width: 680px) {
  .hero { padding: 32px 0 36px; }
  .hero-inner { grid-template-columns: 1fr; gap: 20px; }
  .hero-bubble { padding: 24px 22px 28px; }
  .hero-badge-wrap { justify-content: flex-start; }
  .hero-badge-card { padding: 20px 28px; min-width: 0; }
  .hbc-num { font-size: 2.5rem; }
  .hero-title { font-size: 1.625rem; }
}

/* ── TRUST BAR ── */
.trust-bar { background: var(--grey-bg); padding: 24px 0; border-bottom: 0.5px solid var(--grey-mid); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.trust-item {
  text-align: center; padding: 14px 8px;
  background: #fff; border-radius: 6px;
  border: 0.5px solid var(--grey-mid);
}
.trust-num { font-size: 1.375rem; font-weight: 700; color: var(--navy); }
.trust-lbl { font-size: 1rem; color: var(--grey-muted); margin-top: 4px; line-height: 1.4; }
@media (max-width: 500px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── WHY SECTION ── */
.why-section { background: #fff; padding: 64px 0; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.why-card {
  background: #fff; border: 0.5px solid var(--grey-mid);
  border-top: 3px solid var(--navy);
  border-radius: 8px; padding: 24px 20px;
}
.why-icon {
  width: 42px; height: 42px;
  background: var(--navy-pale); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.why-icon svg {
  width: 22px; height: 22px; stroke: var(--navy); fill: none;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.why-card-title { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.why-card-text { font-size: 0.9375rem; color: var(--grey-text); line-height: 1.6; }
@media (max-width: 600px) {
  .why-grid { grid-template-columns: 1fr; }
}

/* ── PATOLOGIE ── */
.patologie-section { background: var(--grey-bg); padding: 56px 0; }
.pill-wrap { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.pill {
  padding: 9px 20px; border-radius: 24px;
  font-size: 0.875rem; font-weight: 600;
  background: #fff; border: 1.5px solid var(--navy);
  color: var(--navy); transition: all .2s;
}
.pill:hover { background: var(--navy); color: #fff; }

/* ── CONTINUUM ── */
.continuum-section { background: #fff; padding: 64px 0; }
.steps-row { display: flex; align-items: stretch; gap: 0; margin-top: 28px; }
.step {
  flex: 1; border: 1.5px solid var(--grey-mid);
  border-radius: 8px; padding: 20px 16px;
  background: #fff; position: relative;
}
.step.active { border-color: var(--navy); background: #f5f8fd; }
.step.faded { opacity: .55; border-style: dashed; }
.step-badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 0.75rem; font-weight: 700;
  padding: 3px 9px; border-radius: 20px;
  margin-bottom: 10px;
}
.badge-paziente { background: var(--navy-pale); color: var(--navy); }
.badge-medici { background: #f0f0f0; color: #999; }
.step-num { font-size: 1.75rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.step.faded .step-num { color: #bbb; }
.step-label {
  font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .8px;
  color: var(--red); margin-bottom: 8px;
}
.step.faded .step-label { color: #bbb; }
.step-desc { font-size: 0.875rem; color: var(--grey-text); line-height: 1.5; margin-bottom: 12px; }
.step-cta-mini {
  display: inline-block; background: var(--red); color: #fff;
  font-size: 0.75rem; font-weight: 700; padding: 6px 14px;
  border-radius: 3px; transition: background .2s;
}
.step-cta-mini:hover { background: var(--red-dark); }
.step-note { font-size: 0.75rem; color: #aaa; font-style: italic; line-height: 1.4; }
.step-arrow {
  display: flex; align-items: center;
  padding: 0 8px; color: #c5ccd8; flex-shrink: 0;
}
.step-arrow svg {
  width: 20px; height: 20px; stroke: currentColor; fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.steps-legend {
  display: flex; gap: 20px; margin-top: 16px;
  padding-top: 14px; border-top: 0.5px solid var(--grey-mid);
}
.leg-item { display: flex; align-items: center; gap: 6px; font-size: 0.75rem; color: var(--grey-text); }
.leg-dot { width: 12px; height: 12px; border-radius: 3px; flex-shrink: 0; }
.leg-dot.p { background: var(--navy); }
.leg-dot.d { background: #e0e0e0; border: 1px dashed #bbb; }
@media (max-width: 600px) {
  .steps-row { flex-direction: column; gap: 12px; }
  .step-arrow { justify-content: center; padding: 0; transform: rotate(90deg); }
}

/* ── CTA BLOCK ── */
.cta-section { background: var(--navy); padding: 64px 0; text-align: center; }
.cta-inner { max-width: 600px; margin: 0 auto; }
.cta-sup {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 1.2px;
  text-transform: uppercase; color: #7aaedc; margin-bottom: 10px;
}
.cta-title { font-size: 1.875rem; font-weight: 700; color: #fff; margin-bottom: 10px; line-height: 1.3; }
.deadline-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.1);
  border: 0.5px solid rgba(255,255,255,0.2);
  border-radius: 20px; padding: 5px 16px;
  font-size: 0.75rem; color: #c8ddf0;
  margin-bottom: 18px;
}
.deadline-badge svg {
  width: 14px; height: 14px; stroke: currentColor; fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.cta-sub { font-size: 1rem; color: #a0c4e0; line-height: 1.7; margin-bottom: 28px; }
.cta-note { font-size: 0.75rem; color: #7aaedc; margin-top: 14px; }

/* ── FAQ ── */
.faq-section { background: var(--grey-bg); padding: 64px 0; }
.faq-list {
  margin-top: 20px;
  border: 0.5px solid var(--grey-mid);
  border-radius: 8px; overflow: hidden; background: #fff;
}
.faq-item { border-bottom: 0.5px solid #eef1f7; }
.faq-item:last-child { border-bottom: none; }
.faq-q {
  width: 100%; background: none; border: none;
  padding: 18px 20px; display: flex;
  align-items: center; justify-content: space-between;
  cursor: pointer; text-align: left; gap: 16px;
}
.faq-q:hover { background: var(--grey-bg); }
.faq-qtext { font-size: 1rem; font-weight: 700; color: var(--navy); }
.faq-icon {
  width: 22px; height: 22px; flex-shrink: 0;
  stroke: var(--red); fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  transition: transform .25s;
}
.faq-icon.open { transform: rotate(180deg); }
.faq-a {
  display: none; padding: 0 20px 18px;
  font-size: 1rem; color: var(--grey-text); line-height: 1.7;
}
.faq-a.open { display: block; }

/* ── FOOTER ── */
.footer { background: var(--navy); padding: 44px 0 28px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 32px; margin-bottom: 32px;
}
.footer-col-title {
  font-size: 0.75rem; font-weight: 700; letter-spacing: .9px;
  text-transform: uppercase; color: #a0b8d8; margin-bottom: 14px;
}
.footer-col-text { font-size: 0.8125rem; color: #7898c0; line-height: 1.8; }
.footer-col-text a { color: #a0c8e8; }
.footer-col-text a:hover { color: #fff; }
.academy-logo-wrap { margin-bottom: 10px; }
.menarini-badge {
  display: inline-block; margin-top: 12px;
  background: rgba(255,255,255,0.07);
  border: 0.5px solid rgba(255,255,255,0.14);
  border-radius: 4px; padding: 5px 12px;
  font-size: 0.75rem; color: #a0b8d8;
}
.menarini-badge strong { color: #c8d8e8; }
.social-btns { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }
.linkedin-btn, .facebook-btn {
  display: inline-flex; align-items: center; gap: 7px;
  color: #fff; font-size: 0.8125rem; font-weight: 700;
  padding: 8px 18px; border-radius: 4px;
  transition: background .2s;
}
.linkedin-btn { background: #0a66c2; }
.linkedin-btn:hover { background: #085096; }
.facebook-btn { background: #1877f2; }
.facebook-btn:hover { background: #145dbf; }
.linkedin-btn svg, .facebook-btn svg { width: 16px; height: 16px; fill: #fff; flex-shrink: 0; }
.footer-divider { height: 0.5px; background: rgba(255,255,255,0.1); margin-bottom: 20px; }
.footer-bottom {
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 10px;
}
.footer-bottom-text { font-size: 0.75rem; color: #4a6a8a; line-height: 1.6; }
.footer-bottom-text a { color: #4a6a8a; }
.footer-bottom-text a:hover { color: #a0b8d8; }
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
