/* ───────────────────────────────────────────────────────────────
   Studia con ArmonI — stile condiviso delle landing page SEO.
   Estratto in file esterno per evitare duplicazioni (un solo posto
   da aggiornare). Usato da: scale, accordi, 120-arpeggi-giuliani,
   scale-segovia, riconoscimento-accordi, ecc.
   ─────────────────────────────────────────────────────────────── */
:root {
  --bg: #0a0806;
  --panel: #14100c;
  --panel2: #1a1510;
  --border: #2a2018;
  --gold: #c8933a;
  --gold-light: #e0b860;
  --gold-dim: #b58f47;
  --cream: #e8dcc8;
  --cream-dim: #cabd99;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--cream);
  font-family: 'Crimson Pro', Georgia, 'Times New Roman', serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--gold-light); }

/* Header */
.seo-header {
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, #14100c 0%, #0a0806 100%);
  padding: 1.4rem 1rem 1.2rem;
  text-align: center;
}
.seo-header-logo { display: inline-block; text-decoration: none; color: inherit; }
.seo-logo-main {
  font-family: Georgia, serif; font-size: 1.7rem; letter-spacing: 0.04em;
  color: var(--gold); display: block;
}
.seo-logo-sub {
  font-family: Georgia, serif; font-size: 0.85rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--cream-dim); display: block; margin-top: 0.15rem;
}
.seo-logo-tagline {
  font-style: italic; font-size: 0.8rem; color: var(--gold-dim);
  display: block; margin-top: 0.35rem;
}
.seo-logo-tool {
  font-family: Georgia, serif; font-size: 0.72rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gold); display: inline-block;
  margin-top: 0.6rem; padding-top: 0.5rem; border-top: 1px solid var(--border);
}

/* Main */
.seo-main { max-width: 680px; margin: 0 auto; padding: 2.6rem 1.3rem 3rem; }
.seo-h1 {
  font-family: Georgia, serif; font-size: 2rem; line-height: 1.25;
  color: var(--gold); font-weight: 700; margin-bottom: 1rem; text-align: center;
}
.seo-intro { font-size: 1.12rem; color: var(--cream); text-align: center; margin-bottom: 1.8rem; }

/* CTA */
.seo-cta-wrap { text-align: center; margin-bottom: 2.8rem; }
.seo-cta {
  display: inline-block; font-family: Georgia, serif; font-size: 1rem;
  letter-spacing: 0.08em; text-transform: uppercase; padding: 0.95rem 2.2rem;
  border-radius: 3px; text-decoration: none;
  background: linear-gradient(180deg, #c8933a 0%, #7a5a20 100%);
  color: #0a0a0a; border: 1px solid var(--gold); font-weight: 700;
  transition: filter 0.2s, transform 0.2s;
}
.seo-cta:hover { filter: brightness(1.12); transform: translateY(-1px); }
.seo-cta-note { display: block; font-style: italic; font-size: 0.9rem; color: var(--cream-dim); margin-top: 0.7rem; }

/* Content section */
.seo-section { margin-bottom: 2rem; border-top: 1px solid var(--border); padding-top: 1.8rem; }
.seo-h2 { font-family: Georgia, serif; font-size: 1.3rem; color: var(--gold-light); margin-bottom: 0.8rem; }
.seo-section p { margin-bottom: 0.9rem; color: var(--cream); }
.seo-section ul { margin: 0 0 0.9rem 1.3rem; color: var(--cream); }
.seo-section li { margin-bottom: 0.35rem; }
.seo-tuning-table { width: 100%; border-collapse: collapse; margin: 0.6rem 0 1rem; font-size: 0.98rem; }
.seo-tuning-table th, .seo-tuning-table td { border: 1px solid var(--border); padding: 0.45rem 0.7rem; text-align: left; }
.seo-tuning-table th {
  background: var(--panel2); color: var(--gold); font-family: Georgia, serif;
  font-size: 0.85rem; letter-spacing: 0.06em;
}

/* Cross-links */
.seo-more { background: var(--panel2); border: 1px solid var(--border); border-radius: 3px; padding: 1.3rem 1.4rem; margin-top: 2.4rem; }
.seo-more h2 { font-family: Georgia, serif; font-size: 1.1rem; color: var(--gold-light); margin-bottom: 0.6rem; }
.seo-more p { color: var(--cream-dim); font-size: 1rem; }
.seo-more-links { margin-top: 0.8rem; display: flex; flex-wrap: wrap; gap: 0.5rem 1.2rem; }
.seo-more-links a { font-size: 0.98rem; text-decoration: none; border-bottom: 1px dashed var(--gold-dim); padding-bottom: 1px; }
.seo-more-links a:hover { border-bottom-color: var(--gold-light); }

/* Nota privacy sotto al form */
.seo-privacy-note { font-size: 0.8rem; color: var(--gold-dim); text-align: center; margin-top: 0.7rem; line-height: 1.5; }
.seo-privacy-note a { color: var(--cream-dim); }

/* Footer */
.seo-footer { border-top: 1px solid var(--border); text-align: center; padding: 1.6rem 1rem; color: var(--cream-dim); font-size: 0.88rem; font-style: italic; }
.seo-footer a { color: var(--gold-dim); }

@media (max-width: 520px) {
  .seo-h1 { font-size: 1.6rem; }
  .seo-intro { font-size: 1.02rem; }
  .seo-main { padding: 2rem 1.1rem 2.4rem; }
}

/* ── Blocco iscrizione ── */
.subscribe-block {
  background: var(--panel2); border: 1px solid var(--border); border-top: 2px solid var(--gold-dim);
  border-radius: 4px; padding: 2rem 2rem 1.8rem; max-width: 560px; margin: 2.4rem auto;
  font-family: 'Crimson Pro', Georgia, 'Times New Roman', serif;
}
.subscribe-eyebrow {
  font-family: Georgia, serif; font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.6rem; display: flex; align-items: center; gap: 8px;
}
.subscribe-eyebrow::before { content: ''; display: inline-block; width: 18px; height: 1px; background: var(--gold-dim); }
.subscribe-title { font-family: Georgia, serif; font-size: 1.45rem; color: var(--gold-light); line-height: 1.25; margin-bottom: 0.6rem; font-weight: 700; }
.subscribe-desc { font-size: 1rem; color: var(--cream-dim); line-height: 1.6; margin-bottom: 1.4rem; }
.subscribe-desc strong { color: var(--cream); font-weight: 600; }
.subscribe-form { display: flex; flex-direction: column; gap: 0.75rem; }
.subscribe-field { display: flex; flex-direction: column; gap: 0.3rem; }
.subscribe-label { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-dim); font-family: Georgia, serif; }
.subscribe-input {
  background: var(--bg); border: 1px solid var(--border); border-radius: 2px; padding: 0.7rem 0.9rem;
  font-family: 'Crimson Pro', Georgia, serif; font-size: 1rem; color: var(--cream); outline: none;
  transition: border-color 0.18s; width: 100%;
}
.subscribe-input::placeholder { color: var(--gold-dim); opacity: 0.7; }
.subscribe-input:focus { border-color: var(--gold-dim); }
.subscribe-btn {
  margin-top: 0.3rem; background: linear-gradient(180deg, #c8933a 0%, #7a5a20 100%);
  border: 1px solid var(--gold); border-radius: 2px; padding: 0.85rem 1.5rem;
  font-family: Georgia, serif; font-size: 0.9rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: #0a0a0a; font-weight: 700; cursor: pointer; transition: filter 0.18s, transform 0.15s; position: relative;
}
.subscribe-btn:hover:not(:disabled) { filter: brightness(1.1); transform: translateY(-1px); }
.subscribe-btn:active:not(:disabled) { transform: translateY(0); }
.subscribe-btn:disabled { opacity: 0.6; cursor: default; }
.subscribe-promise { font-size: 0.82rem; font-style: italic; color: var(--gold-dim); text-align: center; margin-top: 0.9rem; line-height: 1.5; }
.subscribe-spinner {
  display: inline-block; width: 14px; height: 14px; border: 2px solid rgba(10,10,10,0.3);
  border-top-color: #0a0a0a; border-radius: 50%; animation: spin 0.7s linear infinite;
  vertical-align: middle; margin-right: 6px;
}
@keyframes spin { to { transform: rotate(360deg); } }
.subscribe-success { display: none; text-align: center; padding: 1.2rem 0 0.4rem; }
.subscribe-success-icon { font-size: 2rem; color: var(--gold); margin-bottom: 0.6rem; display: block; }
.subscribe-success-title { font-family: Georgia, serif; font-size: 1.2rem; color: var(--gold-light); margin-bottom: 0.5rem; }
.subscribe-success-text { font-size: 0.95rem; color: var(--cream-dim); line-height: 1.6; }
.subscribe-error {
  display: none; font-size: 0.88rem; color: #e07070; background: rgba(200, 60, 60, 0.1);
  border: 1px solid rgba(200, 60, 60, 0.2); border-radius: 2px; padding: 0.6rem 0.9rem; line-height: 1.4;
}
@media (max-width: 480px) {
  .subscribe-block { padding: 1.5rem 1.2rem 1.4rem; margin: 1.8rem auto; }
  .subscribe-title { font-size: 1.25rem; }
}

/* ── Sticky bar iscrizione ── */
.sticky-subscribe {
  position: fixed; bottom: 0; left: 0; right: 0; background: #14100c; border-top: 1px solid #c8933a;
  padding: 0.75rem 1.2rem; z-index: 999; display: flex; align-items: center; justify-content: center;
  gap: 10px; flex-wrap: wrap; transform: translateY(100%); transition: transform 0.35s ease;
}
.sticky-subscribe.visible { transform: translateY(0); }
.sticky-subscribe.hidden-bar { transform: translateY(100%); }
.sticky-sub-text { font-family: Georgia, serif; font-size: 0.88rem; color: #cabd99; font-style: italic; white-space: nowrap; }
.sticky-sub-text strong { color: #e0b860; font-style: normal; }
.sticky-sub-input {
  background: #0a0806; border: 1px solid #2a2018; border-radius: 2px; padding: 0.5rem 0.8rem;
  font-family: Georgia, serif; font-size: 0.9rem; color: #e8dcc8; outline: none; width: 220px; transition: border-color 0.18s;
}
.sticky-sub-input::placeholder { color: #7a5a2a; }
.sticky-sub-input:focus { border-color: #7a5a2a; }
.sticky-sub-btn {
  background: linear-gradient(180deg, #c8933a 0%, #7a5a20 100%); border: 1px solid #c8933a; border-radius: 2px;
  padding: 0.5rem 1.1rem; font-family: Georgia, serif; font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: #0a0a0a; cursor: pointer; transition: filter 0.18s; white-space: nowrap;
}
.sticky-sub-btn:hover { filter: brightness(1.1); }
.sticky-close { background: none; border: none; color: #7a5a2a; font-size: 1.1rem; cursor: pointer; padding: 0 0 0 4px; line-height: 1; }
.sticky-close:hover { color: #cabd99; }
.sticky-ok { font-family: Georgia, serif; font-size: 0.88rem; color: #e0b860; font-style: italic; display: none; }
@media (max-width: 520px) {
  .sticky-sub-text { display: none; }
  .sticky-sub-input { width: 160px; }
}
