/* ====== Coralis – Sito vetrina ====== */

:root {
  --c-primary: #6B2D7A;      /* viola liturgico */
  --c-primary-dark: #4A1D55;
  --c-accent: #D4A24C;       /* oro caldo */
  --c-accent-soft: #E9C892;
  --c-cream: #FAF6EE;
  --c-ink: #1F1B24;
  --c-muted: #6E6878;
  --c-border: #ECE6DA;
  --c-success: #2E7D5B;
  --shadow-sm: 0 2px 8px rgba(31, 27, 36, 0.06);
  --shadow-md: 0 8px 28px rgba(31, 27, 36, 0.10);
  --shadow-lg: 0 18px 50px rgba(31, 27, 36, 0.16);
  --radius: 14px;
  --radius-lg: 22px;
  --font-display: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--c-ink);
  background: var(--c-cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--c-primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--c-primary-dark); }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ====== Tipografia ====== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--c-primary-dark);
  line-height: 1.2;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); letter-spacing: -0.5px; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin-bottom: .8em; }
h3 { font-size: 1.4rem; margin-bottom: .5em; }
p  { color: var(--c-ink); margin-bottom: 1em; }
.muted { color: var(--c-muted); }
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .8rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--c-accent);
  font-weight: 600;
  margin-bottom: 1rem;
}

/* ====== Navbar ====== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 238, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--c-border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1180px;
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--c-primary-dark);
}
.brand img { width: 38px; height: 38px; }

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
  list-style: none;
}
.nav-links a {
  color: var(--c-ink);
  font-weight: 500;
  font-size: .96rem;
}
.nav-links a:hover { color: var(--c-primary); }
.nav-links a.active { color: var(--c-primary); }
.nav-links a.btn-primary,
.nav-links a.btn-primary:hover { color: #fff; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--c-primary-dark);
}

/* ====== Bottoni ====== */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .98rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s;
}
.btn-primary {
  background: var(--c-primary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--c-primary-dark); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-ghost {
  background: transparent;
  color: var(--c-primary);
  border-color: var(--c-primary);
}
.btn-ghost:hover { background: var(--c-primary); color: #fff; }
.btn-accent {
  background: var(--c-accent);
  color: #fff;
}
.btn-accent:hover { background: #b88836; color: #fff; }
.btn-lg { padding: 16px 34px; font-size: 1.05rem; }

/* ====== Hero ====== */
.hero {
  position: relative;
  padding: 80px 0 100px;
  background:
    radial-gradient(ellipse at top right, rgba(212, 162, 76, 0.18), transparent 60%),
    radial-gradient(ellipse at bottom left, rgba(107, 45, 122, 0.14), transparent 55%),
    var(--c-cream);
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero h1 {
  margin-bottom: 24px;
}
.hero h1 em {
  font-style: italic;
  color: var(--c-accent);
}
.hero-lead {
  font-size: 1.2rem;
  color: var(--c-muted);
  margin-bottom: 32px;
  max-width: 540px;
}
.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-mockup {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-mockup .frame {
  width: 320px;
  height: 640px;
  background: linear-gradient(135deg, #fff 0%, #faf3e6 100%);
  border-radius: 38px;
  box-shadow: var(--shadow-lg);
  border: 10px solid #2b1d35;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.hero-mockup .frame::before {
  content: "";
  position: absolute;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  width: 90px; height: 22px;
  background: #2b1d35;
  border-radius: 0 0 14px 14px;
  z-index: 2;
}
.hero-mockup img {
  width: 70%;
  opacity: .85;
}
.hero-mockup .floating {
  position: absolute;
  background: #fff;
  border-radius: 14px;
  padding: 12px 18px;
  box-shadow: var(--shadow-md);
  font-size: .85rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-mockup .float-1 {
  top: 60px; left: -10px;
  color: var(--c-primary-dark);
}
.hero-mockup .float-2 {
  bottom: 80px; right: -20px;
  color: var(--c-success);
}
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c-accent); }
.dot.green { background: var(--c-success); }

/* ====== Sezioni ====== */
section {
  padding: 90px 0;
}
section.alt {
  background: #fff;
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
}
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}
.section-head p {
  font-size: 1.1rem;
  color: var(--c-muted);
}

/* ====== Mission (emotional pull) ====== */
.mission {
  background:
    linear-gradient(135deg, rgba(107, 45, 122, .92), rgba(74, 29, 85, .92)),
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60" viewBox="0 0 60 60"><circle cx="2" cy="2" r="1" fill="white" opacity="0.08"/></svg>');
  color: #fff;
  text-align: center;
  padding: 110px 0;
}
.mission h2 { color: #fff; }
.mission .quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.5;
  max-width: 820px;
  margin: 0 auto 32px;
  color: #fff;
}
.mission .signature {
  color: var(--c-accent-soft);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: .9rem;
  font-weight: 600;
}

/* ====== Features grid ====== */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.feature {
  background: #fff;
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--c-border);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.feature:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--c-accent-soft);
}
.feature .icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-dark));
  color: #fff;
  font-size: 1.6rem;
  margin-bottom: 22px;
}
.feature h3 { margin-bottom: 10px; color: var(--c-primary-dark); }
.feature p  { color: var(--c-muted); font-size: .97rem; margin: 0; }

/* ====== Split content blocks (alternati) ====== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 80px;
}
.split:last-child { margin-bottom: 0; }
.split.reverse .split-text { order: 2; }
.split-visual {
  background: linear-gradient(135deg, #f4ecd9, #fff);
  border-radius: var(--radius-lg);
  padding: 50px 40px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--c-border);
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.split-visual .placeholder {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--c-muted);
  font-style: italic;
}
.split-visual .big-icon {
  font-size: 4.5rem;
  margin-bottom: 14px;
  color: var(--c-primary);
}
.split-text .eyebrow { color: var(--c-primary); }
.split-text ul {
  list-style: none;
  margin-top: 18px;
}
.split-text ul li {
  padding: 8px 0 8px 28px;
  position: relative;
  color: var(--c-ink);
}
.split-text ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--c-accent);
  font-weight: 700;
}

/* ====== Benefits / cards "for who" ====== */
.audience {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.audience-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  border: 1px solid var(--c-border);
  position: relative;
  overflow: hidden;
}
.audience-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--c-primary), var(--c-accent));
}
.audience-card h3 { margin-bottom: 14px; }
.audience-card .role {
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--c-accent);
  font-weight: 600;
  margin-bottom: 8px;
}

/* ====== Pricing ====== */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}
.plan {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  border: 1px solid var(--c-border);
  display: flex;
  flex-direction: column;
  position: relative;
}
.plan.featured {
  border-color: var(--c-accent);
  border-width: 2px;
  box-shadow: var(--shadow-md);
  transform: scale(1.03);
}
.plan .badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--c-accent);
  color: #fff;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: .75rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 700;
}
.plan h3 { color: var(--c-primary-dark); margin-bottom: 4px; }
.plan .price {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--c-primary-dark);
  margin: 18px 0 4px;
  line-height: 1;
}
.plan .price small { font-size: 1rem; color: var(--c-muted); font-weight: normal; }
.plan .price-note { color: var(--c-muted); font-size: .9rem; margin-bottom: 22px; }
.plan ul {
  list-style: none;
  margin: 18px 0 28px;
  flex-grow: 1;
}
.plan ul li {
  padding: 10px 0 10px 28px;
  position: relative;
  color: var(--c-ink);
  font-size: .96rem;
  border-bottom: 1px solid var(--c-border);
}
.plan ul li:last-child { border-bottom: none; }
.plan ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--c-success);
  font-weight: 700;
}
.plan ul li.disabled {
  color: var(--c-muted);
  text-decoration: line-through;
}
.plan ul li.disabled::before { content: "✗"; color: #c0b8c8; }

/* ====== CTA finale ====== */
.cta-final {
  background: linear-gradient(135deg, var(--c-primary), var(--c-primary-dark));
  color: #fff;
  text-align: center;
  padding: 90px 24px;
}
.cta-final h2 { color: #fff; }
.cta-final p { color: var(--c-accent-soft); font-size: 1.15rem; max-width: 620px; margin: 0 auto 32px; }


/* ====== Badge ufficiali degli store ======
   Le due immagini NON hanno la stessa proporzione fra bordo e contenuto:
   l'asset Google include gia' un'area di rispetto di circa il 16% per lato,
   quello Apple e' a filo. Allineandoli alla stessa altezza il pulsante Google
   sembrerebbe piu' piccolo, quindi il badge Google e' ~1,48 volte piu' alto:
   e' il rapporto che rende i due bottoni otticamente uguali.

   Gli asset sono quelli ufficiali, scaricati da Google e Apple e ospitati in
   locale: entrambe le linee guida vietano di ridisegnarli o alterarne i
   colori, e l'hotlink alle loro immagini non e' garantito nel tempo. */
.store-badges {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.store-badges a {
  display: inline-flex;
  align-items: center;
  /* Nessun bordo, ombra o sfondo: gli asset vanno mostrati come sono. */
  text-decoration: none;
  border-radius: 8px;
  transition: transform .15s ease, opacity .15s ease;
}
.store-badges a:hover { transform: translateY(-2px); opacity: .9; }
.store-badges a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.store-badges img { display: block; }
.store-badges .badge-apple img { height: 44px; width: auto; }
.store-badges .badge-google img { height: 65px; width: auto; }

/* In fondo alla home i badge stanno su fondo scuro e vanno centrati. */
.cta-final .store-badges { justify-content: center; margin-top: 24px; }

@media (prefers-reduced-motion: reduce) {
  .store-badges a { transition: none; }
  .store-badges a:hover { transform: none; }
}

/* ====== Footer ====== */
footer {
  background: #1a1320;
  color: #c4bccd;
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-grid h4 {
  color: #fff;
  font-family: var(--font-body);
  font-size: .9rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-grid ul { list-style: none; }
.footer-grid ul li { margin-bottom: 10px; }
.footer-grid a { color: #c4bccd; font-size: .95rem; }
.footer-grid a:hover { color: var(--c-accent); }
.footer-brand p { color: #8a8195; font-size: .95rem; margin-top: 12px; max-width: 320px; }
.footer-brand .brand { color: #fff; }
.footer-bottom {
  border-top: 1px solid #2e2336;
  padding-top: 24px;
  text-align: center;
  font-size: .85rem;
  color: #8a8195;
}

/* ====== Pagine secondarie ====== */
.page-header {
  background: linear-gradient(135deg, rgba(107, 45, 122, .96), rgba(74, 29, 85, .96));
  color: #fff;
  padding: 80px 0 90px;
  text-align: center;
}
.page-header h1 { color: #fff; margin-bottom: 14px; }
.page-header p { color: var(--c-accent-soft); font-size: 1.15rem; max-width: 640px; margin: 0 auto; }

/* ====== Contatti form ====== */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}
.contact-info .info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}
.contact-info .info-item .icon {
  width: 44px; height: 44px;
  background: var(--c-primary);
  color: #fff;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-info h4 { font-family: var(--font-body); font-size: 1rem; color: var(--c-primary-dark); margin-bottom: 4px; }
.contact-info p { color: var(--c-muted); margin: 0; }

form.contact-form {
  background: #fff;
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--c-border);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: .9rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--c-ink);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--c-border);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: .98rem;
  background: var(--c-cream);
  transition: border-color .2s, background .2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--c-primary);
  background: #fff;
}
.form-group textarea { resize: vertical; min-height: 130px; }

/* ====== FAQ accordion ====== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
}
.faq-item summary {
  padding: 22px 26px;
  cursor: pointer;
  font-weight: 600;
  color: var(--c-primary-dark);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-display);
  font-size: 1.2rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.6rem;
  color: var(--c-accent);
  transition: transform .2s;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item .answer {
  padding: 0 26px 22px;
  color: var(--c-muted);
}

/* ====== Stats ====== */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
  margin-top: 50px;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--c-accent);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.75);
}

/* ====== Pagine legali (privacy, termini, cookie, gdpr) ====== */
.legal { max-width: 820px; margin: 0 auto; }
.legal h2 {
  margin-top: 50px;
  margin-bottom: 18px;
  font-size: 1.7rem;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--c-accent-soft);
}
.legal h2:first-child { margin-top: 0; }
.legal h3 {
  margin-top: 28px;
  margin-bottom: 10px;
  font-size: 1.2rem;
  color: var(--c-primary);
}
.legal h4 {
  margin: 0 0 10px;
  font-size: 1.1rem;
  color: var(--c-primary-dark);
}
.legal p, .legal li { color: var(--c-ink); }
.legal ul, .legal ol { padding-left: 22px; margin-bottom: 1em; }
.legal ul li, .legal ol li { margin-bottom: 8px; }
.legal .meta {
  color: var(--c-muted);
  font-size: .92rem;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--c-border);
}
.legal .meta strong { color: var(--c-primary-dark); }
.legal .last-update {
  color: var(--c-muted);
  font-size: .9rem;
  font-style: italic;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--c-border);
}

.legal .note-box,
.legal .callout {
  background: var(--c-cream);
  border-left: 4px solid var(--c-accent);
  padding: 18px 22px;
  border-radius: 8px;
  margin: 24px 0;
  color: var(--c-ink);
}
.legal .note-box strong,
.legal .callout strong { color: var(--c-primary-dark); }
.legal .callout h3 { margin-top: 0; }

.legal .warning {
  background: #FFF3E0;
  border-left: 4px solid #E65100;
  padding: 18px 22px;
  border-radius: 8px;
  margin: 24px 0;
}
.legal .warning h3, .legal .warning strong { color: #BF360C; }
.legal .warning h3 { margin-top: 0; }

.legal .legal-block {
  background: var(--c-cream);
  border-radius: 8px;
  padding: 16px 20px;
  margin: 18px 0;
  font-size: .95rem;
  border: 1px solid var(--c-border);
}
.legal .legal-block strong { color: var(--c-primary-dark); }

.legal table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 28px;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--c-border);
}
.legal table th,
.legal table td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--c-border);
  font-size: .94rem;
  vertical-align: top;
}
.legal table th {
  background: var(--c-cream);
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--c-primary-dark);
  font-size: .85rem;
  letter-spacing: .8px;
  text-transform: uppercase;
}
.legal table tr:last-child td { border-bottom: none; }

.legal .badge-type {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
}
.legal .badge-tech { background: #E5F4EC; color: var(--c-success); }
.legal .badge-analytics { background: #FFF1DC; color: #8a5a14; }
.legal .badge-marketing { background: #FDE7E7; color: #b03030; }

/* Checklist with checkmarks */
.legal .checklist {
  list-style: none;
  padding-left: 0;
  margin: 0;
}
.legal .checklist li {
  padding: 6px 0 6px 28px;
  position: relative;
}
.legal .checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 6px;
  color: var(--c-success);
  font-weight: 700;
}

/* Piano cards (in termini) */
.legal .plan-card {
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 18px 0;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.legal .plan-card.free { border-left: 4px solid var(--c-muted); }
.legal .plan-card.base { border-left: 4px solid var(--c-primary); }
.legal .plan-card.gold { border-left: 4px solid var(--c-accent); }
.legal .plan-card.gold h4 { color: #B26A00; }
.legal .plan-card .badge {
  display: inline-block;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 10px;
  margin-left: 10px;
  vertical-align: middle;
  color: #fff;
}
.legal .plan-card.free .badge { background: var(--c-muted); }
.legal .plan-card.base .badge { background: var(--c-primary); }
.legal .plan-card.gold .badge { background: var(--c-accent); }

/* Step list */
.legal .step {
  display: flex;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 8px;
  background: var(--c-cream);
  margin: 10px 0;
  align-items: flex-start;
}
.legal .step .num {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--c-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: .9rem;
}
.legal .step .body { flex: 1; }
.legal .step .body strong { color: var(--c-primary-dark); display: block; margin-bottom: 4px; }

.legal .signature {
  margin-top: 40px;
  padding-top: 18px;
  border-top: 1px dashed var(--c-border);
  font-size: .95rem;
  color: var(--c-muted);
}
.legal .signature strong { color: var(--c-primary-dark); }

/* ====== Responsive ====== */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-mockup { margin-top: 30px; }
  .hero-lead, .hero-cta { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .features, .audience, .pricing { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 30px; margin-bottom: 50px; }
  .split.reverse .split-text { order: unset; }
  .contact-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .plan.featured { transform: none; }
  section { padding: 60px 0; }
  .hero { padding: 50px 0 70px; }

  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    background: #fff;
    padding: 20px;
    gap: 16px;
    border-bottom: 1px solid var(--c-border);
    box-shadow: var(--shadow-md);
  }
  .nav-links.open { display: flex; }
}
@media (max-width: 540px) {
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .hero-mockup .frame { width: 260px; height: 520px; }
}

/* ====== Animazioni leggere ====== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal { opacity: 0; }
.reveal.visible { animation: fadeUp .8s ease forwards; }
