/* =========================================================================
   AURA Doctors - Landing Page
   Identidade: roxo neon sobre fundo quase-preto. Signature: linha de ECG.
   Tipografia: Space Grotesk (display) + Inter (corpo).
   ========================================================================= */

:root {
  --primary: #b026ff;
  --neon: #c77dff;
  --bg: #0a0a0f;
  --bg-deep: #14081f;
  --bg-card: rgba(176, 38, 255, 0.06);
  --border: rgba(176, 38, 255, 0.18);
  --text: #f4f1f8;
  --text-sec: rgba(244, 241, 248, 0.62);
  --text-muted: rgba(244, 241, 248, 0.4);
  --success: #22c55e;
  --max: 1140px;
}

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

html { scroll-behavior: smooth; }

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

h1, h2, h3, .display {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Botões ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 8px 30px rgba(176, 38, 255, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(176, 38, 255, 0.5);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--neon); background: var(--bg-card); }

/* ---- Header ---- */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10, 10, 15, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
}
.brand .doctors { color: var(--neon); font-weight: 500; }
.brand img { display: block; height: 34px; width: auto; }
.footer-brand .brand img { height: 32px; }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a { color: var(--text-sec); font-size: 0.93rem; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.nav-toggle { display: none; background: none; border: none; color: var(--text); cursor: pointer; }

/* ---- Hero ---- */
.hero {
  position: relative;
  padding: 160px 0 100px;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(176, 38, 255, 0.15), transparent 70%),
    linear-gradient(180deg, var(--bg-deep) 0%, var(--bg) 60%);
  overflow: hidden;
}
.hero-ecg {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 200px;
  transform: translateY(-50%);
  opacity: 0.5;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 100px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--neon);
  font-weight: 500;
  margin-bottom: 28px;
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  margin-bottom: 22px;
}
.hero h1 .accent {
  background: linear-gradient(120deg, var(--primary), var(--neon));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p.lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: var(--text-sec);
  max-width: 580px;
  margin: 0 auto 38px;
}
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---- Seções ---- */
section { padding: 90px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 16px; }
.section-head p { color: var(--text-sec); font-size: 1.05rem; }

/* ---- Grid de features ---- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 28px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.feature-card:hover { transform: translateY(-4px); border-color: rgba(176, 38, 255, 0.4); }
.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(176, 38, 255, 0.14);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--neon);
}
.feature-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.feature-card p { color: var(--text-sec); font-size: 0.95rem; }

/* ---- Seção destaque (split) ---- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split-text h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin-bottom: 20px; }
.split-text p { color: var(--text-sec); margin-bottom: 16px; }
.split-list { list-style: none; margin-top: 24px; }
.split-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--text-sec);
}
.split-list li svg { flex-shrink: 0; color: var(--success); margin-top: 3px; }
.split-visual {
  background: linear-gradient(135deg, rgba(176, 38, 255, 0.12), rgba(199, 125, 255, 0.04));
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
}

/* ---- CTA final ---- */
.cta-final {
  text-align: center;
  background:
    radial-gradient(ellipse 60% 80% at 50% 50%, rgba(176, 38, 255, 0.18), transparent 70%);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 70px 40px;
  margin: 0 24px;
}
.cta-final h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 18px; }
.cta-final p { color: var(--text-sec); margin-bottom: 32px; font-size: 1.1rem; }

/* ---- Footer ---- */
footer {
  border-top: 1px solid var(--border);
  padding: 56px 0 40px;
  margin-top: 60px;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand { max-width: 280px; }
.footer-brand p { color: var(--text-muted); font-size: 0.9rem; margin-top: 12px; }
.footer-col h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.footer-col a { display: block; color: var(--text-sec); font-size: 0.93rem; margin-bottom: 10px; transition: color 0.2s; }
.footer-col a:hover { color: var(--neon); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ---- Banner de consentimento (cookies/LGPD) ---- */
.consent {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 200;
  background: rgba(20, 8, 31, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  padding: 20px 24px;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.consent.show { transform: translateY(0); }
.consent-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.consent-text { flex: 1; min-width: 280px; }
.consent-text strong { display: block; margin-bottom: 4px; font-family: 'Space Grotesk', sans-serif; }
.consent-text p { color: var(--text-sec); font-size: 0.88rem; }
.consent-text a { color: var(--neon); text-decoration: underline; }
.consent-actions { display: flex; gap: 12px; flex-shrink: 0; }
.consent-actions .btn { padding: 11px 22px; font-size: 0.9rem; }

/* ---- Páginas legais (termos/privacidade) ---- */
.legal-page { padding-top: 120px; padding-bottom: 80px; min-height: 100vh; }
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 48px;
}
.legal-content h1 { font-size: 2rem; margin-bottom: 8px; color: var(--text); }
.legal-meta { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 32px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.legal-content h2 { font-size: 1.3rem; margin: 32px 0 12px; color: var(--neon); }
.legal-content h3 { font-size: 1.08rem; margin: 22px 0 10px; color: var(--text); }
.legal-content p, .legal-content li { color: var(--text-sec); font-size: 0.95rem; margin-bottom: 10px; }
.legal-content ul { padding-left: 22px; }
.legal-loading { text-align: center; color: var(--text-muted); padding: 60px; }

/* ---- Responsivo ---- */
@media (max-width: 880px) {
  .features { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .legal-content { padding: 28px; }
}

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