/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:           #0f0e1a;
  --bg-alt:       #13122380;
  --surface:      #16152a;
  --surface-alt:  #1c1b33;
  --text:         #e8e2f5;
  --text-mid:     #a89dc0;
  --text-muted:   #6b5f82;
  --purple:       #7c5cfc;
  --purple-dim:   #6448e0;
  --purple-pale:  rgba(124,92,252,0.12);
  --gold:         #f5a623;
  --gold-pale:    rgba(245,166,35,0.12);
  --rose:         #f43f5e;
  --teal:         #7c5cfc;
  --border:       rgba(124,92,252,0.18);
  --border-sub:   rgba(124,92,252,0.08);
  --hero-bg:      #0f0e1a;

  --indigo:       #7c5cfc;
  --indigo-dim:   #6448e0;
  --indigo-pale:  rgba(124,92,252,0.12);

  --radius:    12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --radius-md: 12px;

  --font-head: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--purple); border-radius: 2px; }

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 60px;
  background: rgba(15,14,26,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(124,92,252,0.15);
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-icon { color: var(--purple); font-size: 1.1rem; }
.logo-text {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #e8e2f5;
}
.logo-text strong { color: var(--purple); }

.nav { display: flex; gap: 28px; align-items: center; }
.nav a {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 500;
  color: #a89dc0;
  text-decoration: none;
  transition: color 0.2s;
}
.nav a:hover, .nav-active { color: var(--purple) !important; }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--hero-bg);
  display: flex;
  align-items: center;
  padding: 80px 32px 64px;
  overflow: hidden;
}

/* Zodiac symbols handled by .zodiac-float spans (desktop only) */
.hero::before { display: none; }
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 70% at 30% 50%, rgba(91,61,245,0.12) 0%, transparent 60%),
              radial-gradient(ellipse 50% 60% at 80% 30%, rgba(245,158,11,0.06) 0%, transparent 50%);
  pointer-events: none;
}

/* Zodiac float spans */
.zodiac-float {
  position: absolute;
  font-size: 4rem;
  color: rgba(255,255,255,0.07);
  pointer-events: none;
  user-select: none;
  /* Force text rendering — prevents iOS/Android from showing colored emoji boxes */
  font-family: 'Segoe UI Symbol', 'Apple Symbols', 'Symbola', serif;
  font-variant-emoji: text;
  z-index: 0;
  animation: zodiac-drift 20s ease-in-out infinite;
}
.zodiac-float:nth-child(1)  { top:  8%; left: 5%;  font-size: 5rem; animation-delay: 0s;   animation-duration: 22s; }
.zodiac-float:nth-child(2)  { top: 15%; left: 88%; font-size: 3.5rem; animation-delay: -5s; animation-duration: 18s; }
.zodiac-float:nth-child(3)  { top: 70%; left: 10%; font-size: 4.5rem; animation-delay: -8s; animation-duration: 25s; }
.zodiac-float:nth-child(4)  { top: 80%; left: 80%; font-size: 3rem;   animation-delay: -3s; animation-duration: 20s; }
.zodiac-float:nth-child(5)  { top: 45%; left: 93%; font-size: 4rem;   animation-delay: -12s; animation-duration: 17s; }
.zodiac-float:nth-child(6)  { top: 55%; left: 2%;  font-size: 3.5rem; animation-delay: -7s;  animation-duration: 23s; }

@keyframes zodiac-drift {
  0%,100% { transform: translateY(0) rotate(0deg); opacity: 0.04; }
  33%      { transform: translateY(-18px) rotate(5deg); opacity: 0.07; }
  66%      { transform: translateY(10px) rotate(-3deg); opacity: 0.03; }
}

.stars, .star { display: none; }

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 320px 1fr;
  gap: 56px;
  align-items: center;
}

.hero-content {}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(91,61,245,0.18);
  border: 1px solid rgba(91,61,245,0.35);
  border-radius: 20px;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  color: #C4B5FD;
  margin-bottom: 24px;
}
.hero-tag-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: dot-pulse 2s ease-in-out infinite;
}
@keyframes dot-pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.4;transform:scale(0.7)} }

.hero-content h1 {
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 3vw, 3.2rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.hero-content h1 .accent-teal  { color: #A78BFA; }
.hero-content h1 .accent-indigo { color: var(--gold); }

.hero-content p {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.85;
  max-width: 400px;
  margin-bottom: 36px;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Hero métricas lado direito */
.hero-metrics {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hero-metric {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(91,61,245,0.2);
  border-radius: var(--radius-sm);
  transition: background 0.2s, border-color 0.2s;
}
.hero-metric:hover {
  background: rgba(91,61,245,0.1);
  border-color: rgba(91,61,245,0.4);
}
.h-metric-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
.h-metric-info { flex: 1; }
.h-metric-label {
  font-family: var(--font-head);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  display: block;
  margin-bottom: 2px;
}
.h-metric-val {
  font-family: var(--font-head);
  font-size: 0.84rem;
  font-weight: 700;
  color: rgba(255,255,255,0.88);
}

/* Zodiac wheel visual */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 320px;
}
.zodiac-wheel-wrap {
  position: relative;
  width: 260px;
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.zodiac-wheel-svg {
  width: 260px;
  height: 260px;
  animation: wheel-rotate 60s linear infinite;
  filter: drop-shadow(0 0 32px rgba(124,92,252,0.35));
}
@keyframes wheel-rotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.zodiac-wheel-center {
  position: absolute;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,92,252,0.3) 0%, rgba(15,14,26,0.8) 100%);
  border: 1px solid rgba(124,92,252,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  animation: wheel-rotate 60s linear infinite reverse;
}
#hero-symbol, #hero-label { display: none; }

/* ===== BOTÕES ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: linear-gradient(135deg, #5B3DF5 0%, #8B5CF6 100%);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(91,61,245,0.35);
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(91,61,245,0.45);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: transparent;
  color: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  text-decoration: none;
}
.btn-secondary:hover {
  border-color: rgba(91,61,245,0.5);
  color: #A78BFA;
  background: rgba(91,61,245,0.08);
}

.btn-outline {
  display: block;
  margin: 0 auto 32px;
  padding: 10px 26px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.btn-outline:hover { border-color: var(--purple); color: var(--purple); }

.btn-calc {
  width: 100%;
  padding: 14px 24px;
  background: linear-gradient(135deg, #5B3DF5 0%, #8B5CF6 100%);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(91,61,245,0.3);
  transition: transform 0.15s, box-shadow 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.btn-calc:disabled { opacity: 0.4; cursor: not-allowed; box-shadow: none; }
.btn-calc:not(:disabled):hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(91,61,245,0.4);
}
.btn-icon { font-size: 0.95rem; }

/* ===== SECTIONS ===== */
.section { padding: 96px 32px; }
.container { max-width: 1280px; margin: 0 auto; }

.section-header { margin-bottom: 52px; }
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #b49dff;
  background: var(--purple-pale);
  border-radius: 20px;
  padding: 4px 14px;
  margin-bottom: 14px;
}
.section-header h2 {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 10px;
}
.section-header p {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 500px;
  line-height: 1.8;
}
.section-header.centered { text-align: center; }
.section-header.centered p { margin: 0 auto; }
.section-header.centered .section-label { justify-content: center; }

/* ===== MAPA NATAL ===== */
.mapa-natal { background: var(--bg); }

.natal-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 2px 40px rgba(124,92,252,0.08);
}
.natal-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr 1.5fr;
  gap: 24px;
  margin-bottom: 32px;
  align-items: start;
}
.natal-group label {
  display: block;
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 8px;
}
.natal-input {
  width: 100%;
  padding: 11px 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.9rem;
  font-family: var(--font-body);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.natal-input:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(91,61,245,0.1);
}
.natal-input::placeholder { color: var(--text-muted); }
input[type="date"], input[type="time"] { color-scheme: dark; }
input[type="date"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator { cursor: pointer; opacity: 0.5; }

.select-hint {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 6px;
  line-height: 1.5;
}

.cidade-wrap { position: relative; }
.cidade-suggestions {
  position: absolute;
  top: calc(100% + 4px);
  left: 0; right: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(91,61,245,0.1);
  border-radius: var(--radius-sm);
  z-index: 50;
  max-height: 200px;
  overflow-y: auto;
  display: none;
}
.cidade-suggestions.open { display: block; }
.suggestion-item {
  padding: 10px 14px;
  cursor: pointer;
  font-size: 0.84rem;
  color: var(--text);
  border-bottom: 1px solid var(--border-sub);
  transition: background 0.1s;
  font-family: var(--font-body);
}
.suggestion-item:last-child { border-bottom: none; }
.suggestion-item:hover { background: var(--bg); }
.suggestion-item small { color: var(--text-muted); font-size: 0.75rem; }

.natal-loading {
  text-align: center;
  padding: 28px;
  color: var(--text-muted);
  font-family: var(--font-head);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}
.loading-spinner {
  width: 24px; height: 24px;
  border: 2px solid var(--border);
  border-top-color: var(--purple);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  margin: 0 auto 12px;
}
@keyframes spin { to { transform: rotate(360deg); } }

.natal-resultado {
  margin-top: 36px;
  animation: fadeUp 0.35s ease;
}
@keyframes fadeUp { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:none; } }

.natal-res-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.natal-res-header h3 {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.01em;
}
#natal-res-nome-cidade {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-head);
}
.natal-res-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 14px;
}
.natal-res-item {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 18px;
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.natal-res-item:hover {
  border-color: var(--purple);
  box-shadow: 0 4px 16px rgba(91,61,245,0.1);
}
.natal-res-destaque {
  background: rgba(124,92,252,0.12);
  border-color: rgba(124,92,252,0.3);
}
.natal-res-planet { font-size: 1.2rem; margin-bottom: 4px; }
.natal-res-label {
  font-family: var(--font-head);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.natal-res-signo { font-size: 2.2rem; margin-bottom: 8px; }
.natal-res-nome {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.01em;
  margin-bottom: 5px;
}
.natal-res-grau {
  font-family: var(--font-head);
  font-size: 0.7rem;
  color: var(--purple);
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* ===== CALCULADORA ===== */
.calculadora { background: var(--bg); }
.calc-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 2px 40px rgba(124,92,252,0.08);
}
.calc-selects {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}
.select-group label {
  display: block;
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 8px;
}
.select-icon { margin-right: 4px; }
.custom-select-wrap { position: relative; }
.custom-select {
  width: 100%;
  padding: 11px 36px 11px 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.9rem;
  font-family: var(--font-body);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  color-scheme: dark;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.custom-select:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(91,61,245,0.1);
}
.custom-select-wrap::after {
  content: '▾';
  position: absolute;
  right: 12px; top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
  font-size: 0.75rem;
}
.select-divider { display: none; }

.resultado {
  margin-top: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  animation: fadeUp 0.35s ease;
  box-shadow: 0 4px 20px rgba(91,61,245,0.08);
}
.resultado-header {
  text-align: center;
  padding: 32px 40px 24px;
  background: var(--purple-pale);
  border-bottom: 1px solid var(--border);
}
.resultado-icons { font-size: 1.6rem; letter-spacing: 8px; margin-bottom: 14px; color: var(--purple); }
.res-cross { font-size: 0.65rem; color: var(--text-muted); vertical-align: middle; }
.resultado-header h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.res-badges { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.badge {
  padding: 4px 12px;
  border-radius: 20px;
  font-family: var(--font-head);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.badge-solar  { background: var(--gold-pale); color: var(--gold); border: 1px solid rgba(245,158,11,0.3); }
.badge-asc    { background: var(--purple-pale); color: var(--purple); border: 1px solid rgba(91,61,245,0.2); }
.badge-lua    { background: rgba(144,144,176,0.1); color: var(--text-muted); border: 1px solid rgba(144,144,176,0.25); }

.resultado-body { display: grid; grid-template-columns: 1fr 1fr; }
.res-col { padding: 24px 32px; }
.res-col:first-child { border-right: 1px solid var(--border); }
.res-col h4 {
  font-family: var(--font-head);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 12px;
}
.res-col p { color: var(--text-mid); font-size: 0.9rem; line-height: 1.8; white-space: pre-line; }

/* ===== MÓDULOS DE ANÁLISE ===== */
.modulos { background: var(--bg); }
.modulos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.modulo-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
  cursor: default;
  box-shadow: 0 2px 12px rgba(91,61,245,0.04);
  position: relative;
  overflow: hidden;
}
.modulo-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--purple), #8B5CF6);
}
.modulo-card:nth-child(2)::before { background: linear-gradient(90deg, var(--gold), #FBBF24); }
.modulo-card:nth-child(3)::before { background: linear-gradient(90deg, var(--rose), #FB7185); }
.modulo-card:nth-child(4)::before { background: linear-gradient(90deg, var(--teal), #38BDF8); }
.modulo-card:nth-child(5)::before { background: linear-gradient(90deg, #10B981, #34D399); }
.modulo-card:nth-child(6)::before { background: linear-gradient(90deg, #8B5CF6, var(--purple)); }
.modulo-card:hover {
  border-color: rgba(91,61,245,0.25);
  box-shadow: 0 8px 28px rgba(91,61,245,0.12);
  transform: translateY(-3px);
}
.modulo-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 14px;
}
.modulo-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.modulo-icon.teal   { background: rgba(14,165,233,0.1); }
.modulo-icon.indigo { background: var(--purple-pale); }
.modulo-badge {
  font-family: var(--font-head);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
}
.modulo-badge.teal   { background: rgba(14,165,233,0.1); color: var(--teal); }
.modulo-badge.indigo { background: var(--purple-pale); color: var(--purple); }
.modulo-card h3 {
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  line-height: 1.35;
}
.modulo-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 18px;
}
.modulo-bar-label {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-head);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.modulo-bar-track {
  height: 4px;
  background: var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.modulo-bar-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 1.2s cubic-bezier(0.4,0,0.2,1);
}
.modulo-bar-fill.teal   { background: linear-gradient(90deg, var(--teal), #38BDF8); }
.modulo-bar-fill.indigo { background: linear-gradient(90deg, var(--purple), #8B5CF6); }
.modulo-bar-label, .modulo-bar-track { display: none; }

/* ===== ESPECTRO PSICOLÓGICO ===== */
.espectro { display: none; }
.espectro {
  background: var(--bg-alt);
}
.espectro-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.espectro-col-title {
  font-family: var(--font-head);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.spec-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-sub);
}
.spec-item:last-child { border-bottom: none; }
.spec-label {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text);
  width: 156px;
  flex-shrink: 0;
}
.spec-track {
  flex: 1;
  height: 5px;
  background: var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.spec-fill {
  height: 100%;
  border-radius: 4px;
  width: 0;
  transition: width 1.4s cubic-bezier(0.4,0,0.2,1);
}
.spec-fill.teal   { background: linear-gradient(90deg, var(--teal), #38BDF8); }
.spec-fill.indigo { background: linear-gradient(90deg, var(--purple), #8B5CF6); }
.spec-val {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text);
  width: 34px;
  text-align: right;
  flex-shrink: 0;
}

/* ===== SIGNOS GRID ===== */
.signos-grid { background: var(--bg); }
.signos-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
  gap: 14px;
}
.signo-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px 18px;
  text-align: center;
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.15s, border-color 0.2s;
  text-decoration: none;
  display: block;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(91,61,245,0.04);
}
/* elemento top bar */
.signo-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
}
/* Fogo */
.signo-card[data-elem="fogo"]::before,
.signo-card:has(.elem-fogo)::before { background: linear-gradient(90deg, #F43F5E, #FB923C); }
/* Terra */
.signo-card[data-elem="terra"]::before,
.signo-card:has(.elem-terra)::before { background: linear-gradient(90deg, #10B981, #65A30D); }
/* Ar */
.signo-card[data-elem="ar"]::before,
.signo-card:has(.elem-ar)::before { background: linear-gradient(90deg, #0EA5E9, #38BDF8); }
/* Água */
.signo-card[data-elem="agua"]::before,
.signo-card:has(.elem-agua)::before { background: linear-gradient(90deg, #5B3DF5, #8B5CF6); }

.signo-card:hover {
  border-color: rgba(91,61,245,0.25);
  box-shadow: 0 8px 24px rgba(91,61,245,0.15);
  transform: translateY(-3px);
}
.signo-card .signo-emoji { font-size: 2rem; display: block; margin-bottom: 10px; margin-top: 4px; }
.signo-card .signo-nome {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.signo-card .signo-datas {
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  font-family: var(--font-body);
}
.signo-card .signo-elem {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-family: var(--font-head);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.elem-fogo  { background: rgba(244,63,94,0.08);  color: #F43F5E; border: 1px solid rgba(244,63,94,0.2); }
.elem-terra { background: rgba(16,185,129,0.08);  color: #10B981; border: 1px solid rgba(16,185,129,0.2); }
.elem-ar    { background: rgba(14,165,233,0.08);  color: #0EA5E9; border: 1px solid rgba(14,165,233,0.2); }
.elem-agua  { background: var(--purple-pale);     color: var(--purple); border: 1px solid rgba(91,61,245,0.2); }

/* ===== NOTÍCIAS ===== */
.noticias { background: var(--bg-alt); }
.noticias-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}
.noticia-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.15s, border-color 0.2s;
  box-shadow: 0 2px 8px rgba(91,61,245,0.04);
  position: relative;
  overflow: hidden;
}
.noticia-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--purple), #8B5CF6);
}
.noticia-card:nth-child(2)::before { background: linear-gradient(90deg, var(--gold), #FBBF24); }
.noticia-card:nth-child(3)::before { background: linear-gradient(90deg, var(--teal), #38BDF8); }
.noticia-card:nth-child(4)::before { background: linear-gradient(90deg, var(--rose), #FB7185); }
.noticia-card:nth-child(5)::before { background: linear-gradient(90deg, #10B981, #34D399); }
.noticia-card:nth-child(6)::before { background: linear-gradient(90deg, #8B5CF6, var(--purple)); }
.noticia-card:hover {
  border-color: rgba(91,61,245,0.2);
  box-shadow: 0 8px 24px rgba(91,61,245,0.1);
  transform: translateY(-2px);
}
.noticia-symbol { font-size: 1.5rem; color: var(--purple); margin-bottom: 14px; line-height: 1; }
.noticia-tag {
  font-family: var(--font-head);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 7px;
  background: var(--purple-pale);
  display: inline-block;
  padding: 2px 10px;
  border-radius: 20px;
}
.noticia-card h3 {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 10px;
}
.noticia-card p { color: var(--text-mid); font-size: 0.84rem; line-height: 1.75; flex: 1; }
.noticia-date {
  font-family: var(--font-head);
  font-size: 0.64rem;
  color: var(--text-muted);
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  letter-spacing: 0.04em;
}

/* ===== PREVISÃO 30 DIAS ===== */
.previsao { background: var(--bg); }
.previsao-controls {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}
.prev-btn {
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  width: 36px; height: 36px;
  cursor: pointer;
  color: var(--text-mid);
  font-size: 1rem;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  display: flex; align-items: center; justify-content: center;
}
.prev-btn:hover { border-color: var(--purple); color: var(--purple); background: var(--purple-pale); }
.prev-info {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-mid);
}
.previsao-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.prev-item {
  display: grid;
  grid-template-columns: 56px 18px 1fr;
  align-items: start;
  gap: 0 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border-sub);
  animation: fadeIn 0.3s ease;
}
.prev-item:last-child { border-bottom: none; }
.prev-item-date {
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding-top: 3px;
  text-align: right;
}
.prev-item-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  margin-top: 6px;
  justify-self: center;
}
.prev-item-dot.tipo-ingresso { background: var(--purple); }
.prev-item-dot.tipo-fase     { background: var(--gold); }
.prev-item-body { min-width: 0; }
.prev-item-emoji { font-size: 1.05rem; margin-bottom: 4px; }
.prev-item-titulo {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
  margin-bottom: 4px;
}
.prev-item-texto { font-size: 0.82rem; color: var(--text-mid); line-height: 1.65; }
.prev-item-dias {
  font-family: var(--font-head);
  font-size: 0.64rem;
  color: var(--purple);
  font-weight: 600;
  margin-top: 5px;
  letter-spacing: 0.03em;
}
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ===== FOOTER ===== */
.footer {
  padding: 40px 32px;
  background: #0a0916;
  border-top: 1px solid rgba(124,92,252,0.15);
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
}
.footer-copy {
  font-family: var(--font-head);
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}
.footer .logo-text { color: rgba(255,255,255,0.7); }
.footer .logo-icon { color: #A78BFA; }

/* ===== HAMBURGER ===== */
.hamburger {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-mid);
  font-size: 1rem;
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: color 0.2s, border-color 0.2s;
}
.hamburger:hover { color: var(--purple); border-color: var(--purple); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr 1fr; }
  .hero-visual { display: none; }
  .modulos-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  /* Hero — altura compacta no mobile */
  .hero { padding: 80px 20px 40px; min-height: auto; }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .hero-visual { display: none; }
  /* Oculta símbolos flutuantes no mobile — evita renderização como emoji colorido */
  .zodiac-float { display: none; }
  .hero-metrics {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }
  .hero-metric {
    flex: 1 1 calc(50% - 4px);
    min-width: 140px;
    padding: 10px 12px;
  }
  .hero-content h1 { font-size: clamp(1.7rem, 8vw, 2.4rem); }
  .hero-content p { font-size: 0.88rem; max-width: 100%; }
  .hero-actions { flex-direction: column; }
  .hero-actions a { text-align: center; }

  /* Seções */
  .section { padding: 56px 16px; }
  .section-header { margin-bottom: 28px; }

  /* Grids */
  .natal-inputs { grid-template-columns: 1fr; }
  .natal-res-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .calc-selects { grid-template-columns: 1fr; }
  .resultado-body { grid-template-columns: 1fr; }
  .res-col:first-child { border-right: none; border-bottom: 1px solid var(--border); }
  .natal-card, .calc-card { padding: 24px 16px; }
  .modulos-grid { grid-template-columns: 1fr 1fr; }
  .espectro-layout { grid-template-columns: 1fr; gap: 24px; }
  .noticias-grid { grid-template-columns: 1fr; }

  /* Previsão */
  .prev-item { grid-template-columns: 48px 14px 1fr; gap: 0 10px; }
  .prev-item-date { font-size: 0.6rem; }

  /* Botões */
  .btn-calc { min-height: 48px; font-size: 0.88rem; }
  .btn-primary, .btn-secondary { min-height: 48px; padding: 12px 20px; font-size: 0.88rem; }

  /* Footer */
  .footer-inner { flex-direction: column; gap: 12px; text-align: center; }

  /* Nav hamburger */
  .hamburger { display: inline-flex; }
  .nav {
    display: none;
    position: fixed;
    top: 60px; left: 0; right: 0;
    background: rgba(15,14,26,0.98);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
    z-index: 9999;
    box-shadow: 0 8px 24px rgba(91,61,245,0.12);
  }
  .nav.nav-open { display: flex; }
  .nav a {
    padding: 14px 24px;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(124,92,252,0.1);
    min-height: 48px;
    display: flex; align-items: center;
    color: #a89dc0;
  }
  .nav a:last-child { border-bottom: none; }
  .header-inner { padding: 0 16px; }
}

@media (max-width: 480px) {
  .modulos-grid { grid-template-columns: 1fr; }
  .natal-res-grid { grid-template-columns: 1fr; }
  .hero-metric { flex: 1 1 100%; }
  .signo-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .signo-card { padding: 14px 8px; }
  .signo-emoji { font-size: 1.5rem; }
  .hero-content h1 { font-size: clamp(1.5rem, 9vw, 2rem); }
}

/* ===== QUICK NAV (mobile only) ===== */
.quick-nav {
  display: none;
}
@media (max-width: 768px) {
  .quick-nav {
    display: flex;
    overflow-x: auto;
    gap: 8px;
    padding: 14px 16px;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .quick-nav::-webkit-scrollbar { display: none; }
  .quick-nav a {
    flex-shrink: 0;
    padding: 8px 14px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    font-family: var(--font-head);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-mid);
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
  }
  .quick-nav a:hover, .quick-nav a:active {
    background: var(--purple-pale);
    border-color: var(--purple);
    color: var(--purple);
  }
}

/* ===== ADS ===== */
.ad-banner {
  max-width: 960px;
  margin: 0 auto;
  padding: 8px 32px;
  text-align: center;
}

/* Legacy hide */
.hero-line, .hero-eyebrow { display: none; }

/* ===== EMAIL GATE MODAL ===== */
.email-gate-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26,26,46,0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: fadeIn 0.25s ease;
}
.email-gate-overlay.hidden { display: none; }

.email-gate {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  max-width: 480px;
  width: 100%;
  position: relative;
  animation: slideUp 0.3s ease;
  box-shadow: 0 20px 60px rgba(91,61,245,0.2);
}
@keyframes slideUp { from{opacity:0;transform:translateY(24px)} to{opacity:1;transform:none} }

.email-gate-close {
  position: absolute;
  top: 14px; right: 16px;
  background: none; border: none;
  color: var(--text-muted); cursor: pointer;
  font-size: 1.1rem; line-height: 1;
  padding: 6px; border-radius: var(--radius-sm);
  transition: color 0.15s, background 0.15s;
}
.email-gate-close:hover { color: var(--text); background: var(--bg); }

.email-gate-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 14px;
  background: var(--purple-pale);
  border: 1px solid rgba(91,61,245,0.2);
  border-radius: 20px;
  font-family: var(--font-head);
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--purple); margin-bottom: 16px;
}

.email-gate h3 {
  font-family: var(--font-head);
  font-size: 1.3rem; font-weight: 700;
  color: var(--text); letter-spacing: -0.02em;
  line-height: 1.2; margin-bottom: 10px;
}
.email-gate p {
  font-size: 0.88rem; color: var(--text-muted);
  line-height: 1.75; margin-bottom: 24px;
}

.email-gate-preview {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 24px;
  font-size: 0.84rem;
  color: var(--text-mid);
  font-family: var(--font-body);
  line-height: 1.7;
  filter: blur(3px);
  user-select: none;
  pointer-events: none;
}

.email-gate-form { display: flex; flex-direction: column; gap: 10px; }
.email-gate-row  { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.email-gate-input {
  width: 100%;
  padding: 11px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.9rem;
  font-family: var(--font-body);
  transition: border-color .2s, box-shadow .2s;
}
.email-gate-input:focus {
  outline: none; border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(91,61,245,0.1);
}
.email-gate-input::placeholder { color: var(--text-muted); }

.email-gate-btn {
  width: 100%; padding: 13px 20px;
  background: linear-gradient(135deg, #5B3DF5 0%, #8B5CF6 100%);
  color: #fff; border: none;
  border-radius: var(--radius);
  font-family: var(--font-head); font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(91,61,245,0.3);
  transition: transform .15s, box-shadow .15s;
}
.email-gate-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(91,61,245,0.4); }
.email-gate-btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none; box-shadow: none; }

.email-gate-skip {
  display: block; text-align: center; margin-top: 12px;
  font-family: var(--font-head); font-size: 0.72rem;
  color: var(--text-muted); cursor: pointer;
  transition: color .15s; background: none; border: none;
  letter-spacing: 0.04em;
}
.email-gate-skip:hover { color: var(--text); }

.email-gate-success {
  text-align: center; padding: 16px 0 8px;
}
.email-gate-success .gate-check {
  font-size: 2.5rem; display: block; margin-bottom: 12px;
}
.email-gate-success h4 {
  font-family: var(--font-head); font-size: 1rem;
  font-weight: 700; color: var(--purple); margin-bottom: 6px;
}
.email-gate-success p {
  font-size: 0.84rem; color: var(--text-muted); line-height: 1.6; margin: 0;
}

@media(max-width:480px){
  .email-gate { padding: 28px 20px; }
  .email-gate-row { grid-template-columns: 1fr; }
}

/* ===== EMAIL GATE BOX (alias) ===== */
.email-gate-box { /* same as .email-gate — already styled */ }

/* Depoimentos */
.depoimentos-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1.5rem;margin-top:2rem}
.depoimento-card{background:rgba(124,92,252,.07);border:1px solid rgba(124,92,252,0.2);border-radius:16px;padding:1.75rem;display:flex;flex-direction:column;gap:1rem}
.depoimento-texto{color:#c8bfe0;font-size:.95rem;line-height:1.65;margin:0;font-style:italic}
.depoimento-autor{display:flex;align-items:center;gap:.75rem}
.depoimento-inicial{width:38px;height:38px;border-radius:50%;background:linear-gradient(135deg,#5B3DF5,#8B5CF6);display:flex;align-items:center;justify-content:center;font-weight:700;color:#fff;font-size:.95rem;flex-shrink:0}
.depoimento-autor strong{display:block;color:#e0d8f0;font-size:.9rem}
.depoimento-autor span{font-size:.78rem;color:#6b5f82}

/* Email gate previews */
.email-gate-previews{display:flex;flex-direction:column;gap:.75rem;margin:.75rem 0}
.gate-preview-item{background:rgba(255,255,255,.06);border-left:3px solid #5B3DF5;border-radius:0 8px 8px 0;padding:.75rem 1rem}
.gate-preview-item.lua{border-left-color:#8B5CF6}
.gate-preview-item.asc{border-left-color:#10b981}
.gate-preview-label{font-size:.7rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:#9a8fb5;margin-bottom:.3rem}
.gate-preview-text{font-size:.85rem;color:#c8bfe0;line-height:1.5}

/* Portal Nav Section */
.portal-nav-section{background:#12112a;border-bottom:1px solid rgba(91,61,245,0.15);padding:1.5rem 0}
.portal-nav-label{text-align:center;font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.1em;color:#6b5f82;margin:0 0 1rem}
.portal-nav-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:.75rem}
.portal-nav-card{display:flex;align-items:center;gap:.85rem;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);border-radius:14px;padding:.9rem 1rem;text-decoration:none;color:inherit;transition:.2s;cursor:pointer}
.portal-nav-card:hover{background:rgba(91,61,245,.12);border-color:rgba(91,61,245,.4);transform:translateY(-2px)}
.portal-card-primary{background:rgba(91,61,245,.12);border-color:rgba(91,61,245,.35)}
.portal-card-primary:hover{background:rgba(91,61,245,.22)}
.portal-nav-icon{font-size:1.6rem;line-height:1;flex-shrink:0}
.portal-nav-info{flex:1;min-width:0}
.portal-nav-info strong{display:block;font-size:.88rem;font-weight:700;color:#e0d8f0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.portal-nav-info span{display:block;font-size:.75rem;color:#6b5f82;margin-top:.1rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.portal-nav-arrow{font-size:1rem;color:#5B3DF5;flex-shrink:0;opacity:.7}
.portal-card-primary .portal-nav-arrow{opacity:1}
@media(max-width:768px){
  .portal-nav-grid{grid-template-columns:1fr 1fr;gap:.6rem}
  .portal-nav-card{padding:.75rem .85rem}
  .portal-nav-icon{font-size:1.35rem}
  .portal-nav-info strong{font-size:.82rem}
  .portal-nav-info span{display:none}
}
@media(max-width:420px){
  .portal-nav-grid{grid-template-columns:1fr 1fr}
}

/* ===== FEATURE CAROUSEL ===== */
.feature-carousel-section{position:relative;background:#0f0e1a;overflow:hidden}
.carousel-track-wrap{position:relative;overflow:hidden;touch-action:pan-y}
.carousel-track{display:flex;transition:transform .45s cubic-bezier(.4,0,.2,1);will-change:transform}
.carousel-slide{
  flex:0 0 calc(33.333% - 12px);
  margin-right:16px;
  min-height:340px;
  border-radius:0;
  background-image:var(--bg);
  background-size:cover;
  background-position:center;
  position:relative;
  text-decoration:none;
  overflow:hidden;
  display:flex;
  align-items:flex-end;
  transition:transform .2s;
}
.carousel-slide:last-child{margin-right:0}
.carousel-slide:hover{transform:scale(1.01)}
.carousel-overlay{
  position:absolute;inset:0;
  background:linear-gradient(to top, rgba(10,8,30,.92) 0%, rgba(10,8,30,.4) 55%, transparent 100%);
}
.carousel-content{position:relative;z-index:2;padding:1.5rem}
.carousel-tag{display:inline-block;font-size:.68rem;font-weight:700;text-transform:uppercase;letter-spacing:.1em;color:#c9b8ff;background:rgba(91,61,245,.35);border:1px solid rgba(91,61,245,.4);border-radius:20px;padding:.2rem .7rem;margin-bottom:.6rem}
.carousel-content h3{margin:0 0 .4rem;font-size:1.35rem;font-weight:800;color:#fff;line-height:1.2;font-family:'Space Grotesk',sans-serif}
.carousel-content p{margin:0 0 .9rem;font-size:.82rem;color:rgba(255,255,255,.7);line-height:1.45}
.carousel-cta{font-size:.8rem;font-weight:700;color:#a78bfa;letter-spacing:.03em}
/* Setas */
.carousel-btn{
  position:absolute;top:50%;transform:translateY(-50%);
  background:rgba(255,255,255,.12);
  backdrop-filter:blur(8px);
  border:1px solid rgba(255,255,255,.2);
  color:#fff;font-size:1.8rem;line-height:1;
  width:44px;height:44px;border-radius:50%;cursor:pointer;
  display:flex;align-items:center;justify-content:center;
  transition:.2s;z-index:10;
}
.carousel-btn:hover{background:rgba(91,61,245,.5);border-color:rgba(91,61,245,.6)}
.carousel-prev{left:16px}
.carousel-next{right:16px}
.carousel-btn:disabled{opacity:.25;cursor:default}
/* Dots */
.carousel-dots{display:flex;justify-content:center;gap:6px;padding:.9rem 0 .6rem;background:#0f0e1a}
.carousel-dot{width:7px;height:7px;border-radius:50%;background:rgba(255,255,255,.25);border:none;cursor:pointer;transition:.2s;padding:0}
.carousel-dot.active{background:#8B5CF6;width:20px;border-radius:4px}
/* Mobile: 1 card por vez */
@media(max-width:768px){
  .carousel-slide{flex:0 0 85%;margin-right:12px}
  .carousel-btn{display:none}
  .carousel-content h3{font-size:1.15rem}
}
@media(min-width:769px) and (max-width:1100px){
  .carousel-slide{flex:0 0 calc(50% - 8px)}
}

/* ===== FOOTER REDESIGN ===== */
.footer {
  background: #0a0916;
  border-top: 1px solid rgba(124,92,252,0.15);
  padding: 4rem 2rem 2rem;
}
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 280px 1fr; gap: 4rem; margin-bottom: 3rem; }
.footer-tagline { font-size: .85rem; color: var(--text-muted); margin-top: .75rem; line-height: 1.6; max-width: 220px; }
.footer-links { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.footer-col h4 { font-family: var(--font-head); font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 1rem; }
.footer-col a { display: block; font-size: .84rem; color: var(--text-mid); text-decoration: none; margin-bottom: .5rem; transition: color .2s; }
.footer-col a:hover { color: var(--purple); }
.footer-bottom { border-top: 1px solid rgba(124,92,252,0.08); padding-top: 1.5rem; }
.footer-copy { font-size: .78rem; color: var(--text-muted); }
@media(max-width:768px){
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-links { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
}

/* ===== WAVE TRANSITION (hero → carousel) ===== */
.hero-wave {
  display: block;
  width: 100%;
  height: 60px;
  background: #0f0e1a;
  margin-top: -2px;
}

/* ===== ESPECTRO OCULTO ===== */
.espectro { display: none !important; }

/* ===== PROGRESS BARS OCULTAS NOS MÓDULOS ===== */
.modulo-bar-label, .modulo-bar-track { display: none; }

/* ===== MODULO CARD DARK ACCENT ===== */
.modulo-card {
  background: var(--surface) !important;
  border-color: var(--border) !important;
}
.modulo-card p { color: var(--text-mid) !important; }
.modulo-card h3 { color: var(--text) !important; }
.modulo-icon { background: rgba(124,92,252,0.15) !important; border-color: rgba(124,92,252,0.25) !important; }

/* ===== SIGNOS CARDS DARK ===== */
.signo-card {
  background: var(--surface) !important;
  border-color: var(--border) !important;
}
.signo-card:hover { border-color: var(--purple) !important; background: rgba(124,92,252,0.1) !important; }
.signo-nome, .signo-datas { color: var(--text) !important; }

/* ===== NOTICIAS DARK ===== */
.noticia-card { background: var(--surface) !important; border-color: var(--border) !important; }
.noticia-titulo { color: var(--text) !important; }
.noticia-texto { color: var(--text-mid) !important; }

/* ===== RESULTADO DARK ===== */
.resultado, .resultado-header, .resultado-body, .res-col { background: transparent !important; }
.res-col h4 { color: var(--text-mid) !important; }
.res-col p { color: var(--text) !important; }

/* ===== QUICK NAV HIDDEN ===== */
.quick-nav { display: none !important; }

/* ===== PREVISAO DARK ===== */
.prev-item { background: var(--surface) !important; border-color: var(--border) !important; }
.prev-item-titulo { color: var(--text) !important; }
.prev-item-desc { color: var(--text-mid) !important; }
