/* ══════════════════════════════════════════════════════════
   PROJECT AURORA — Landing Page Oficial
   Arquivo: aurora-landing.css
   Destino: src/main/resources/static/aurora-landing.css
   Design: Glassmorphism + Aurora Boreal + HealthTech Premium
══════════════════════════════════════════════════════════ */

/* ── Variáveis Oficiais (Nova Paleta) ───────────────────── */
:root {
  /* Cores Aurora */
  --aurora-base:      #3E4EAC; /* Base inferior */
  --aurora-centro:    #9C69E1; /* Centro e topo */
  --aurora-celeste:   #6DA6F2; /* Azul celeste suave */
  --aurora-luzes:     #81EAD8; /* Luzes naturais */
  --aurora-transicao: #C2A4F9; /* Transições */

  /* Textos e Vidro */
  --text-dark:      #4A4A4A;
  --text-light:     rgba(255, 255, 255, 0.90);
  --text-muted:     rgba(255, 255, 255, 0.65);
  --glass-bg:       rgba(255, 255, 255, 0.08);
  --glass-border:   rgba(255, 255, 255, 0.15);
  --glass-shadow:   0 8px 40px rgba(0, 0, 0, 0.30);

  /* Fundo Escuro Profundo */
  --bg-base:        #080A1A;

  /* Tipografia */
  --font-display:   'Cormorant Garamond', serif;
  --font-body:      'DM Sans', sans-serif;

  /* Espaçamentos */
  --radius-card:    20px;
  --radius-btn:     50px;
  --transition:     0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Reset e Base ───────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--bg-base);
  color: var(--text-light);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── Aurora Boreal (Background Animado) ─────────────────── */
.aurora-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Camada base escura com transição sutil para a base inferior */
.aurora-canvas::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 120% 80% at 50% 100%,
    rgba(62, 78, 172, 0.2) 0%, /* --aurora-base com transparência */
    var(--bg-base) 60%,
    #050811 100%
  );
}

/* Feixes principais */
.aurora-beam {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0;
  animation: beamPulse linear infinite;
}

.aurora-beam-1 {
  width: 80vw;
  height: 55vh;
  background: radial-gradient(
    ellipse at center,
    rgba(156, 105, 225, 0.25) 0%, /* --aurora-centro */
    rgba(156, 105, 225, 0.08) 45%,
    transparent 70%
  );
  top: -10vh;
  left: -15vw;
  animation-duration: 18s;
  animation-delay: 0s;
}

.aurora-beam-2 {
  width: 70vw;
  height: 50vh;
  background: radial-gradient(
    ellipse at center,
    rgba(109, 166, 242, 0.20) 0%, /* --aurora-celeste */
    rgba(109, 166, 242, 0.07) 45%,
    transparent 70%
  );
  top: -5vh;
  right: -10vw;
  animation-duration: 22s;
  animation-delay: 4s;
}

.aurora-beam-3 {
  width: 60vw;
  height: 40vh;
  background: radial-gradient(
    ellipse at center,
    rgba(129, 234, 216, 0.15) 0%, /* --aurora-luzes */
    rgba(129, 234, 216, 0.05) 45%,
    transparent 70%
  );
  top: 15vh;
  left: 20vw;
  animation-duration: 26s;
  animation-delay: 8s;
}

.aurora-beam-4 {
  width: 90vw;
  height: 30vh;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(194, 164, 249, 0.12) 40%, /* --aurora-transicao */
    rgba(62, 78, 172, 0.10) 70%,   /* --aurora-base */
    transparent 100%
  );
  top: 5vh;
  left: 0;
  border-radius: 0;
  filter: blur(40px);
  animation-duration: 30s;
  animation-delay: 2s;
}

@keyframes beamPulse {
  0%   { opacity: 0;    transform: translateY(0)     scaleX(1);    }
  15%  { opacity: 1;                                               }
  50%  { opacity: 0.7;  transform: translateY(-4vh)  scaleX(1.05); }
  85%  { opacity: 0.9;                                               }
  100% { opacity: 0;    transform: translateY(2vh)   scaleX(0.98); }
}

/* Grade sutil e Estrelas */
.aurora-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 100% 100% at 50% 0%, rgba(0,0,0,0.6) 0%, transparent 70%);
}

.aurora-stars {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 8%  12%, rgba(255,255,255,0.7) 0%, transparent 100%),
    radial-gradient(1px 1px at 22% 6%,  rgba(255,255,255,0.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 83% 14%, rgba(255,255,255,0.7) 0%, transparent 100%),
    radial-gradient(1px 1px at 76% 22%, rgba(255,255,255,0.5) 0%, transparent 100%);
}

/* ── Wrapper de conteúdo ────────────────────────────────── */
.page-wrapper {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ── NAVBAR ─────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 clamp(24px, 5vw, 72px);
  height: 68px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(8, 10, 26, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background var(--transition);
}

.navbar.scrolled {
  background: rgba(8, 10, 26, 0.85);
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.navbar-logo {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 600; color: white;
  text-decoration: none; letter-spacing: 0.2px;
  display: flex; align-items: center; gap: 8px;
}
.navbar-logo .logo-sparkle { display: flex; align-items: center; }
.navbar-logo .logo-sparkle svg { width: 24px; height: 24px; flex-shrink: 0; }

/* Botão Entrar da Navbar */
.btn-navbar {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 22px;
  background: rgba(156, 105, 225, 0.15); /* --aurora-centro translúcido */
  border: 1px solid rgba(156, 105, 225, 0.45);
  border-radius: var(--radius-btn);
  color: rgba(255, 255, 255, 0.95);
  font-family: var(--font-body); font-size: 14px; font-weight: 500;
  text-decoration: none; cursor: pointer; transition: all var(--transition);
}
.btn-navbar:hover {
  background: var(--aurora-centro);
  border-color: var(--aurora-centro);
  color: white; transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(156, 105, 225, 0.35);
}

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  padding: 120px clamp(24px, 8vw, 120px) 80px;
  position: relative;
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px;
  background: rgba(129, 234, 216, 0.10); /* --aurora-luzes translúcido */
  border: 1px solid rgba(129, 234, 216, 0.28);
  border-radius: var(--radius-btn);
  font-size: 12px; font-weight: 500;
  color: var(--aurora-luzes); letter-spacing: 1px; text-transform: uppercase;
  margin-bottom: 32px;
  opacity: 0; animation: fadeSlideUp 0.8s 0.3s ease forwards;
}

.hero-eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--aurora-luzes);
  animation: dotPulse 2.2s ease-in-out infinite;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(38px, 6.5vw, 82px); font-weight: 700; line-height: 1.08;
  letter-spacing: -0.5px; color: white;
  max-width: 820px; margin: 0 auto 24px;
  opacity: 0; animation: fadeSlideUp 0.9s 0.5s ease forwards;
}

.hero-title .title-accent {
  background: linear-gradient(135deg, var(--aurora-luzes) 0%, var(--aurora-celeste) 50%, var(--aurora-transicao) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 19px); line-height: 1.75;
  color: var(--text-muted); max-width: 560px; margin: 0 auto 48px; font-weight: 300;
  opacity: 0; animation: fadeSlideUp 0.9s 0.7s ease forwards;
}

.hero-cta-group {
  display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap;
  opacity: 0; animation: fadeSlideUp 0.9s 0.9s ease forwards;
}

/* CTA Principal (Gradiente Premium) */
.btn-cta-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 15px 34px;
  background: linear-gradient(135deg, var(--aurora-centro), var(--aurora-base));
  border: none; border-radius: var(--radius-btn);
  color: white; font-family: var(--font-body); font-size: 15px; font-weight: 600;
  text-decoration: none; cursor: pointer; transition: all var(--transition);
  box-shadow: 0 8px 28px rgba(62, 78, 172, 0.40);
  position: relative; overflow: hidden; letter-spacing: 0.2px;
}
.btn-cta-primary:hover {
  background: linear-gradient(135deg, var(--aurora-celeste), var(--aurora-centro));
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(109, 166, 242, 0.35);
}

/* CTA Secundário (Criar Conta / Transparente Vidro) */
.btn-cta-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 30px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-btn);
  color: rgba(255, 255, 255, 0.95);
  font-family: var(--font-body); font-size: 15px; font-weight: 500;
  text-decoration: none; cursor: pointer; transition: all var(--transition);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.btn-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.40);
  color: white; transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.30);
}

/* ── FEATURES (Como Funciona) ───────────────────────────── */
.features { padding: clamp(80px, 10vw, 128px) clamp(24px, 6vw, 80px); position: relative; }
.features-header { text-align: center; margin-bottom: 64px; }

.features-label {
  display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: var(--aurora-transicao); margin-bottom: 14px;
}

.features-title {
  font-family: var(--font-display); font-size: clamp(28px, 4vw, 46px);
  font-weight: 600; letter-spacing: -0.3px; color: white; line-height: 1.2;
}

.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1100px; margin: 0 auto; }

/* ── Glass Card ─────────────────────────────────────────── */
.glass-card {
  background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: var(--radius-card);
  padding: 36px 30px; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--glass-shadow); transition: all var(--transition);
  position: relative; overflow: hidden; cursor: default;
}

.glass-card:hover {
  transform: translateY(-6px); border-color: rgba(255,255,255,0.30);
  box-shadow: 0 20px 48px rgba(0,0,0,0.40), 0 0 0 1px rgba(255,255,255,0.05) inset;
}

/* Ícones dos Cards atualizados para a nova paleta */
.card-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center; font-size: 24px;
  margin-bottom: 22px; position: relative; z-index: 1;
}

/* Antigo green -> Aurora Luzes */
.card-icon.green  {
  background: rgba(129, 234, 216, 0.15); border: 1px solid rgba(129, 234, 216, 0.30);
  box-shadow: 0 0 20px rgba(129, 234, 216, 0.12);
  color: rgba(129, 234, 216, 0.95);
}
/* Antigo purple -> Aurora Centro */
.card-icon.purple {
  background: rgba(156, 105, 225, 0.15); border: 1px solid rgba(156, 105, 225, 0.30);
  box-shadow: 0 0 20px rgba(156, 105, 225, 0.12);
  color: rgba(194, 164, 249, 0.95);
}
/* Antigo teal -> Aurora Celeste */
.card-icon.teal {
  background: rgba(109, 166, 242, 0.12); border: 1px solid rgba(109, 166, 242, 0.28);
  box-shadow: 0 0 20px rgba(109, 166, 242, 0.10);
  color: #6DA6F2;
}

.card-title { font-family: var(--font-display); font-size: 22px; font-weight: 600; color: white; margin-bottom: 12px; }
.card-text { font-size: 15px; line-height: 1.70; color: var(--text-muted); font-weight: 300; }

.card-tag { display: inline-flex; align-items: center; gap: 5px; margin-top: 20px; padding: 4px 12px; border-radius: 20px; font-size: 11px; font-weight: 500; }
.card-tag.green  { background: rgba(129, 234, 216, 0.12); color: var(--aurora-luzes); border: 1px solid rgba(129, 234, 216, 0.22); }
.card-tag.purple { background: rgba(156, 105, 225, 0.12); color: var(--aurora-transicao); border: 1px solid rgba(156, 105, 225, 0.22); }
.card-tag.teal   { background: rgba(109, 166, 242, 0.10); color: var(--aurora-celeste); border: 1px solid rgba(109, 166, 242, 0.20); }

/* ── FOOTER ─────────────────────────────────────────────── */
footer {
  margin-top: auto; padding: 28px clamp(24px, 5vw, 72px);
  background: rgba(8, 10, 26, 0.50); backdrop-filter: blur(16px); border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-copy { font-size: 13px; color: var(--text-muted); font-weight: 400; }
.footer-team { font-size: 13px; color: rgba(255,255,255,0.30); }
.footer-team span { color: rgba(255,255,255,0.50); font-weight: 500; }

/* ── Animações de entrada ───────────────────────────────── */
@keyframes fadeSlideUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes dotPulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(0.6); opacity: 0.5; } }

/* ── Responsivo ─────────────────────────────────────────── */
@media (max-width: 900px) { .features-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
  .hero-cta-group { flex-direction: column; align-items: stretch; }
  .btn-cta-primary { justify-content: center; }
  footer { flex-direction: column; text-align: center; }
}

/* ── Acessibilidade / Preferências do usuário ─────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero-eyebrow,
  .hero-title,
  .hero-subtitle,
  .hero-cta-group {
    animation: none !important;
  }
}

/* ── Escalonamento Padronizado de Logos ─────────────────── */
.logo-sm { max-width: 90px; height: auto; }
.logo-md { max-width: 140px; height: auto; }
.logo-lg { max-width: 200px; height: auto; }
.logo-splash { 
    max-width: 250px; /* Bem maior para a tela de abertura */
    height: auto; 
    filter: drop-shadow(0px 4px 12px rgba(0,0,0,0.5));
}

/* Ajuste responsivo para telas menores */
@media (max-width: 768px) {
    .logo-splash { max-width: 180px; }
    .logo-lg { max-width: 160px; }
}

/* ── Limpeza visual do FAQ Nativo ───────────────────────── */
details > summary { list-style: none; }
details > summary::-webkit-details-marker { display: none; }
details[open] summary i { transform: rotate(180deg); transition: transform 0.3s; }
details summary i { transition: transform 0.3s; }