/* GoldenHour OS — stili specifici della pagina.
   Il design system condiviso (variabili, reset, navbar, footer, bottoni) è in ../shared.css
   Le convenzioni (hero-cta, hero-meta, features, how, contact) sono le stesse
   di aurora/ e atelier/: una sotto-landing deve somigliare alle sorelle. */

/* ---------- Hero ---------- */
.hero h1 { max-width: 16ch; text-wrap: balance; }
.hero .lead {
  max-width: 58ch;
  font-size: clamp(18px, 1.6vw, 21px);
  color: var(--text-muted);
}
.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 4px;
}
.hero-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--text-muted);
  font-size: 13.5px;
  flex-wrap: wrap;
  justify-content: center;
}
.hero-meta .dot {
  width: 4px; height: 4px;
  border-radius: 999px;
  background: var(--border);
}

/* ---------- Cosa fa ---------- */
.features { background: var(--bg); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-soft);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.feature {
  background: var(--card);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 230px;
}
.feature .ico {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--green-light);
  color: var(--green);
  display: grid; place-items: center;
  border: 1px solid color-mix(in oklab, var(--green) 15%, transparent);
  flex-shrink: 0;
}
[data-theme="dark"] .feature .ico {
  background: color-mix(in oklab, var(--gold-soft) 10%, transparent);
  color: var(--gold-soft);
  border-color: color-mix(in oklab, var(--gold-soft) 25%, transparent);
}
.feature h3 { font-size: 19px; }
.feature p { font-size: 15.5px; line-height: 1.5; color: var(--text-muted); margin: 0; }

@media (max-width: 900px) { .features-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .features-grid { grid-template-columns: 1fr; } }

/* ---------- Come funziona ---------- */
.how {
  background: var(--bg-alt);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
[data-theme="dark"] .how {
  background: color-mix(in oklab, var(--green-deep) 25%, var(--bg));
}
/* Numerati perche' qui l'ordine e' informazione: senza il collegamento non
   c'e' configurazione, senza configurazione non c'e' richiesta. */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.step {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 32px;
  display: flex; flex-direction: column; gap: 12px;
}
.step .num {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  line-height: 1;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2px;
}
.step h3 { font-size: 20px; }
.step p { font-size: 15.5px; color: var(--text-muted); margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Perimetro dei dati ----------
   Tre principi affiancati, non una sequenza: niente numerazione
   (vedi Regole editoriali in CLAUDE.md). */
.perimetro { background: var(--bg); }
.perimetro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.perimetro-col {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 30px 32px;
}
.perimetro-col h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 10px;
}
.perimetro-col p {
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0;
}
.perimetro-note {
  margin: 28px auto 0;
  max-width: 68ch;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-muted);
  text-align: center;
}
.perimetro-note a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 900px) { .perimetro-grid { grid-template-columns: 1fr; } }

/* ---------- Contatti ----------
   Stessa impaginazione di aurora e atelier: testo a sinistra, card del
   calendario a destra. Il widget Calendly non e' nel markup, ci arriva
   solo dopo il clic (vedi il blocco JS in index.html). */
.contact {
  background: var(--bg-alt);
  border-top: 1px solid var(--border-soft);
}
[data-theme="dark"] .contact {
  background: color-mix(in oklab, var(--green-deep) 25%, var(--bg));
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: start;
}
.contact-info { padding-top: 8px; }
.contact-info h2 { margin-bottom: 18px; text-align: left; margin-top: 18px; }
.contact-info > p { font-size: 17px; max-width: 38ch; }
.contact-meta { margin-top: 32px; display: flex; flex-direction: column; gap: 14px; }
.contact-meta .row { display: flex; gap: 12px; align-items: center; font-size: 14.5px; color: var(--text-muted); }
.contact-meta .row svg { color: var(--green); flex-shrink: 0; }
[data-theme="dark"] .contact-meta .row svg { color: var(--gold-soft); }

.contact-legal {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text-muted);
}
.contact-legal a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.calendly-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.calendly-inline-widget iframe { display: block; }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .calendly-inline-widget { height: 600px !important; }
}

/* ---------- Animazioni ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-grid { animation: fadeUp 0.5s ease both; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
