/* ============================================================
   AI Canvas Nexus — estilo das páginas por dor
   Mesmos tokens e componentes da página de venda (/plano).
   ============================================================ */

:root {
  --bg-primary: #0A0C11;
  --bg-secondary: #11141B;
  --bg-card: #171B24;
  --border: #232936;
  --blue: #22D3EE;
  --purple: #0891B2;
  --text: #E4E7EC;
  --text-muted: #A1A8B5;
  --text-dim: #7A8290;
  --success: #67E8F9;
  /* NivelHub (marca-mãe) */
  --nh-grafite: #1B2A3A;
  --nh-areia: #F2EEE6;
  --nh-verde: #B4D334;
}

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

body {
  background: var(--bg-primary);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--blue); }

/* ============ HEADER ============ */
header {
  padding: 28px 0 24px;
  background: linear-gradient(180deg, rgba(34, 211, 238, 0.08) 0%, transparent 100%);
  border-bottom: 1px solid var(--border);
}

.logo-horizontal {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}

.logo-oficial {
  width: auto; height: 56px; max-width: 92%;
  filter: drop-shadow(0 6px 24px rgba(8, 145, 178, 0.35));
}

.logo-tag {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px; font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 2.5px; text-transform: uppercase; text-align: center;
}

/* ============ BOTÕES ============ */
.btn {
  display: inline-block;
  padding: 18px 40px;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  color: #041016;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 700; font-size: 17px; letter-spacing: 0.3px;
  box-shadow: 0 10px 40px rgba(8, 145, 178, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
  text-align: center; border: none; cursor: pointer;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 50px rgba(8, 145, 178, 0.5); }
.btn-large { padding: 22px 56px; font-size: 19px; }
.btn-note { margin-top: 14px; font-size: 13px; color: var(--text-dim); }

/* ============ SEÇÕES ============ */
section { padding: 72px 0; }

.section-label {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px; font-weight: 600;
  color: var(--blue);
  letter-spacing: 3px; text-transform: uppercase;
  margin-bottom: 16px; text-align: center;
}

h1 {
  font-size: clamp(30px, 5.2vw, 50px);
  line-height: 1.12; font-weight: 800; letter-spacing: -1px;
  margin-bottom: 20px;
}

h2 {
  font-size: clamp(25px, 3.8vw, 36px);
  line-height: 1.2; font-weight: 800; letter-spacing: -0.6px;
  text-align: center; margin-bottom: 16px;
}

h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; line-height: 1.3; }

.gradient {
  background: linear-gradient(135deg, var(--blue), var(--purple));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-intro {
  text-align: center; color: var(--text-muted);
  max-width: 720px; margin: 0 auto 44px; font-size: 17px;
}

/* ============ HERO ============ */
.hero { padding: 72px 0 56px; position: relative; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; border-radius: 50%; pointer-events: none;
  top: -120px; right: -200px; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(8, 145, 178, 0.15) 0%, transparent 70%);
}
.hero-content { position: relative; z-index: 1; max-width: 860px; margin: 0 auto; text-align: center; }
.hero-subtitle { font-size: 18px; color: var(--text-muted); max-width: 720px; margin: 0 auto 32px; }

/* ============ ANTES × DEPOIS ============ */
.ad-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 920px; margin: 0 auto; }
.ad-col { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 28px 24px; }
.ad-col.depois { border-color: rgba(34, 211, 238, 0.35); background: linear-gradient(180deg, rgba(34, 211, 238, 0.06), var(--bg-card)); }
.ad-head {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--text-dim); margin-bottom: 18px; font-weight: 600;
}
.ad-col.depois .ad-head { color: var(--blue); }
.ad-col ul { list-style: none; }
.ad-col li { padding: 12px 0 12px 26px; position: relative; border-top: 1px solid var(--border); font-size: 15.5px; color: var(--text-muted); }
.ad-col li:first-child { border-top: none; }
.ad-col li::before { content: '—'; position: absolute; left: 0; color: var(--text-dim); }
.ad-col.depois li { color: var(--text); }
.ad-col.depois li::before { content: '→'; color: var(--blue); font-weight: 700; }

/* ============ CARTÕES ============ */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 18px; }
.card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 26px 24px; }
.card p { color: var(--text-muted); font-size: 15.5px; }
.card-num {
  font-family: 'Space Grotesk', sans-serif; font-size: 13px; font-weight: 700;
  color: var(--blue); letter-spacing: 2px; display: block; margin-bottom: 10px;
}

/* ============ PASSOS ============ */
.passos { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; max-width: 980px; margin: 0 auto; }
.passo { background: var(--bg-secondary); border: 1px solid var(--border); border-radius: 16px; padding: 28px 24px; position: relative; }
.passo-n {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  color: #041016; font-weight: 800; font-size: 17px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.passo p { color: var(--text-muted); font-size: 15.5px; }

/* ============ FAQ ============ */
.faq { max-width: 780px; margin: 0 auto; }
.faq details {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 14px; padding: 20px 24px; margin-bottom: 12px;
}
.faq details[open] { border-color: rgba(34, 211, 238, 0.35); }
.faq summary {
  cursor: pointer; font-weight: 700; font-size: 17px; list-style: none;
  display: flex; justify-content: space-between; gap: 16px; align-items: flex-start;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--blue); font-size: 24px; line-height: 1; flex-shrink: 0; }
.faq details[open] summary::after { content: '−'; }
.faq details p { color: var(--text-muted); margin-top: 14px; font-size: 15.5px; }

/* ============ OUTRAS DORES ============ */
.outras { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.outras a {
  display: block; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 14px; padding: 20px 22px; text-decoration: none; color: var(--text);
  transition: border-color 0.2s, transform 0.2s;
}
.outras a:hover { border-color: rgba(34, 211, 238, 0.45); transform: translateY(-2px); }
.outras strong { display: block; font-size: 16px; margin-bottom: 6px; }
.outras span { color: var(--text-muted); font-size: 14px; }

/* ============ CTA FINAL ============ */
.final-cta { text-align: center; background: linear-gradient(180deg, transparent, rgba(34, 211, 238, 0.06)); }

/* ============ FOOTER ============ */
footer {
  background: linear-gradient(180deg, transparent, rgba(34, 211, 238, 0.06));
  border-top: 1px solid var(--border);
  padding: 60px 0 32px; text-align: center;
}
.footer-brand { display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.footer-brand-img { height: 44px; width: auto; max-width: 90%; filter: drop-shadow(0 4px 16px rgba(8, 145, 178, 0.3)); }
.footer-tag {
  font-family: 'Space Grotesk', sans-serif; font-size: 12px; color: var(--text-muted);
  letter-spacing: 2px; text-transform: uppercase; margin-bottom: 40px;
}
.footer-parent {
  display: flex; align-items: center; justify-content: center; gap: 28px; padding: 28px 36px;
  background: var(--nh-grafite); border: 1px solid rgba(242, 238, 230, 0.12);
  border-radius: 16px; max-width: 620px; margin: 0 auto 32px;
}
.footer-parent-card { display: flex; align-items: center; justify-content: center; min-width: 160px; flex-shrink: 0; }
.footer-parent-card a { display: block; padding: 8px; }
.footer-parent-card img { width: 150px; height: auto; display: block; }
.footer-parent-text { text-align: left; font-size: 14px; color: var(--text-muted); line-height: 1.5; }
.footer-parent-text strong { color: var(--nh-areia); font-weight: 700; font-size: 16px; letter-spacing: 0.3px; }
.footer-parent-text em { font-style: normal; color: var(--nh-areia); font-weight: 500; }
.footer-parent-text a { color: var(--nh-verde); font-weight: 600; text-decoration: none; }
.footer-parent-text a:hover { text-decoration: underline; }
.footer-links { display: flex; justify-content: center; gap: 28px; margin: 20px 0; flex-wrap: wrap; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 13px; transition: color 0.2s; }
.footer-links a:hover { color: var(--blue); }
.footer-copy { color: var(--text-dim); font-size: 12px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--border); }

/* ============ RESPONSIVO ============ */
@media (max-width: 760px) {
  section { padding: 52px 0; }
  .ad-grid { grid-template-columns: 1fr; }
  .footer-parent { flex-direction: column; gap: 18px; padding: 24px; }
  .footer-parent-text { text-align: center; }
  .btn, .btn-large { display: block; width: 100%; padding: 18px 20px; font-size: 17px; }
}
