/* ============================================================
   Astro Guia Vidas — styles.css
   Paleta: azul-marinho profundo, preto cósmico, violeta,
   magenta, ciano, dourado, branco. Neon com elegância.
   ============================================================ */

:root {
  --cosmic-black: #05060f;
  --navy: #0a1030;
  --navy-2: #111a45;
  --violet: #8b5cf6;
  --magenta: #e24fb8;
  --cyan: #3fd9f2;
  --gold: #e9be6e;
  --gold-strong: #f2cf8a;
  --white: #f5f3ff;
  --muted: #b9b4d8;

  --font-display: "Marcellus", "Times New Roman", Georgia, serif;
  --font-body: "Jost", "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --header-h: 72px;
  --radius: 18px;
  --shadow-neon-gold: 0 0 18px rgba(233, 190, 110, 0.35);
  --shadow-neon-violet: 0 0 24px rgba(139, 92, 246, 0.35);
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  background: var(--cosmic-black);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.06rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 0.6em;
  letter-spacing: 0.01em;
}

h2 { font-size: clamp(1.7rem, 4.5vw, 2.5rem); }
h3 { font-size: 1.25rem; color: var(--gold-strong); }

p { margin: 0 0 1em; }

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

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy-2);
  color: var(--white);
  padding: 0.6rem 1rem;
  z-index: 200;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.container {
  width: min(1120px, 92%);
  margin-inline: auto;
}
.container.narrow { max-width: 760px; }
.center { text-align: center; }

/* ---------- Céu de fundo ---------- */
.sky {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(1200px 700px at 75% -10%, rgba(139, 92, 246, 0.16), transparent 60%),
    radial-gradient(900px 600px at 10% 25%, rgba(63, 217, 242, 0.08), transparent 55%),
    radial-gradient(1000px 800px at 85% 85%, rgba(226, 79, 184, 0.10), transparent 60%),
    linear-gradient(180deg, var(--cosmic-black) 0%, var(--navy) 55%, var(--cosmic-black) 100%);
}

#starfield { position: absolute; inset: 0; width: 100%; height: 100%; }

.nebula {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
}
.nebula-a {
  width: 46vw; height: 46vw;
  left: -12vw; top: 18vh;
  background: radial-gradient(circle, rgba(139,92,246,0.5), transparent 70%);
}
.nebula-b {
  width: 40vw; height: 40vw;
  right: -10vw; bottom: 6vh;
  background: radial-gradient(circle, rgba(226,79,184,0.4), transparent 70%);
}

/* ---------- Cabeçalho ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(5, 6, 15, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(139, 92, 246, 0.18);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--white);
}
.brand-logo {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 14px rgba(139, 92, 246, 0.55);
}
.brand-name {
  font-family: var(--font-display);
  font-size: 1.12rem;
  letter-spacing: 0.05em;
}
.brand-name em {
  font-style: normal;
  color: var(--gold);
}

/* Menu */
.site-nav ul {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a:not(.btn) {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  transition: color 0.25s;
}
.site-nav a:not(.btn):hover,
.site-nav a:not(.btn):focus-visible { color: var(--white); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px; height: 46px;
  padding: 10px;
  background: transparent;
  border: 1px solid rgba(139, 92, 246, 0.4);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle-bar {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s, color 0.25s;
  text-align: center;
}
.btn-lg { padding: 1.05rem 2rem; font-size: 1.08rem; }
.btn-nav { padding: 0.55rem 1.15rem; font-size: 0.92rem; }

.btn-gold {
  background: linear-gradient(135deg, var(--gold-strong), var(--gold) 55%, #caa050);
  color: #241a05;
  box-shadow: var(--shadow-neon-gold);
}
.btn-gold:hover, .btn-gold:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 0 26px rgba(233, 190, 110, 0.6);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(139, 92, 246, 0.6);
}
.btn-outline:hover, .btn-outline:focus-visible {
  border-color: var(--cyan);
  box-shadow: 0 0 18px rgba(63, 217, 242, 0.35);
  transform: translateY(-2px);
}

.ico-wa { width: 1.2em; height: 1.2em; flex: none; }

.text-link { color: var(--cyan); text-decoration-color: rgba(63,217,242,0.5); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 3rem) 0 5rem;
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.zodiac-ring {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  pointer-events: none;
}
.ring-svg {
  width: min(140vw, 880px);
  height: auto;
  opacity: 0.5;
}

.hero-logo-wrap {
  position: relative;
  width: min(64vw, 300px);
  margin-bottom: 2rem;
}
.hero-logo {
  width: 100%;
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 40px rgba(139, 92, 246, 0.45);
}
.logo-halo {
  position: absolute;
  inset: -12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(233,190,110,0.35), rgba(139,92,246,0.22) 45%, transparent 70%);
  z-index: 0;
}

.hero-title {
  font-size: clamp(2rem, 6.2vw, 3.4rem);
  margin-bottom: 0.5em;
}
.grad-text {
  background: linear-gradient(90deg, var(--cyan), var(--violet) 45%, var(--magenta));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.hero-actions { display: flex; flex-direction: column; align-items: center; gap: 0.9rem; }
.hero-note { color: var(--muted); font-size: 0.95rem; margin: 0; }

.hero-fade {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 120px;
  background: linear-gradient(180deg, transparent, rgba(5,6,15,0.85));
  z-index: 1;
}

/* ---------- Seções ---------- */
.section { padding: 5rem 0; position: relative; }
.section-alt {
  background: linear-gradient(180deg, rgba(17, 26, 69, 0.35), rgba(10, 16, 48, 0.15));
  border-top: 1px solid rgba(139, 92, 246, 0.12);
  border-bottom: 1px solid rgba(139, 92, 246, 0.12);
}

.eyebrow {
  color: var(--gold);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 0.8rem;
}

.lead { font-size: 1.12rem; color: var(--white); max-width: 780px; }
.muted { color: var(--muted); font-size: 0.98rem; }

.note-line {
  margin-top: 2.2rem;
  padding: 0.9rem 1.2rem;
  border-left: 2px solid var(--gold);
  background: rgba(233, 190, 110, 0.06);
  border-radius: 0 10px 10px 0;
  color: var(--muted);
  max-width: 780px;
}

/* ---------- Como funciona ---------- */
.steps {
  list-style: none;
  counter-reset: passo;
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.step {
  counter-increment: passo;
  position: relative;
  padding: 1.6rem 1.4rem 1.4rem;
  background: rgba(10, 16, 48, 0.55);
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: var(--radius);
}
.step::before {
  content: counter(passo);
  position: absolute;
  top: -14px; left: 1.2rem;
  width: 30px; height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: #241a05;
  background: linear-gradient(135deg, var(--gold-strong), var(--gold));
  border-radius: 50%;
  box-shadow: var(--shadow-neon-gold);
}
.step-glyph {
  display: block;
  font-size: 1.5rem;
  color: var(--cyan);
  margin-bottom: 0.5rem;
}
.step h3 { font-size: 1.12rem; margin-bottom: 0.4rem; }
.step p { color: var(--muted); font-size: 0.97rem; margin: 0; }

/* ---------- Serviços ---------- */
.cards {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: 2.5rem;
}
.card {
  position: relative;
  padding: 1.8rem 1.5rem;
  background: linear-gradient(160deg, rgba(17, 26, 69, 0.75), rgba(10, 16, 48, 0.45));
  border: 1px solid rgba(139, 92, 246, 0.22);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(400px 160px at 20% 0%, rgba(63, 217, 242, 0.1), transparent 65%);
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}
.card:hover {
  transform: translateY(-5px);
  border-color: rgba(63, 217, 242, 0.5);
  box-shadow: var(--shadow-neon-violet);
}
.card:hover::after { opacity: 1; }
.card-glyph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  font-size: 1.35rem;
  color: var(--gold);
  background: rgba(233, 190, 110, 0.08);
  border: 1px solid rgba(233, 190, 110, 0.35);
  margin-bottom: 1rem;
}
.card p { color: var(--muted); font-size: 0.97rem; margin: 0; }
.card-wide { grid-column: 1 / -1; }

/* ---------- Glossário do mapa ---------- */
.glossary {
  margin: 2.4rem 0 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.glossary-item {
  padding: 1.2rem 1.3rem;
  background: rgba(5, 6, 15, 0.5);
  border: 1px solid rgba(139, 92, 246, 0.18);
  border-radius: 14px;
}
.glossary-item dt {
  font-family: var(--font-display);
  color: var(--gold-strong);
  font-size: 1.08rem;
  margin-bottom: 0.35rem;
}
.glossary-item dd { margin: 0; color: var(--muted); font-size: 0.96rem; }

/* ---------- Listas ---------- */
.check-list {
  list-style: none;
  padding: 0;
  margin: 1.6rem 0;
  display: grid;
  gap: 0.8rem;
}
.check-list li {
  position: relative;
  padding-left: 2rem;
  color: var(--white);
}
.check-list li::before {
  content: "✦";
  position: absolute;
  left: 0; top: 0;
  color: var(--gold);
}

.benefits {
  list-style: none;
  padding: 0;
  margin: 2.4rem 0 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}
.benefit {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 1.1rem 1.2rem;
  background: rgba(10, 16, 48, 0.5);
  border: 1px solid rgba(63, 217, 242, 0.15);
  border-radius: 14px;
  color: var(--white);
  font-size: 0.99rem;
}
.benefit span {
  flex: none;
  color: var(--cyan);
  font-size: 1.2rem;
  line-height: 1.4;
}

/* ---------- Planos ---------- */
.plans {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: 2.6rem;
  align-items: stretch;
}
.plan {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 2rem 1.6rem;
  text-align: center;
  background: linear-gradient(170deg, rgba(17, 26, 69, 0.7), rgba(5, 6, 15, 0.55));
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: var(--radius);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.plan:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-neon-violet);
}
.plan h3 { font-size: 1.5rem; color: var(--white); margin-bottom: 0.2rem; }
.plan-desc { color: var(--muted); font-size: 0.97rem; flex: 1; }
.plan .btn { margin-top: 0.6rem; }

.plan-featured {
  border-color: rgba(233, 190, 110, 0.55);
  box-shadow: 0 0 24px rgba(233, 190, 110, 0.18);
}
.plan-tag {
  align-self: center;
  margin: 0 0 0.4rem;
  padding: 0.25rem 0.9rem;
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #241a05;
  background: linear-gradient(135deg, var(--gold-strong), var(--gold));
}
.plan-tag-soft {
  background: transparent;
  color: var(--cyan);
  border: 1px solid rgba(63, 217, 242, 0.5);
}

/* ---------- CTA ---------- */
.cta-section {
  background:
    radial-gradient(700px 320px at 50% 0%, rgba(139, 92, 246, 0.22), transparent 70%),
    linear-gradient(180deg, rgba(10, 16, 48, 0.4), rgba(5, 6, 15, 0.2));
  border-top: 1px solid rgba(139, 92, 246, 0.15);
  border-bottom: 1px solid rgba(139, 92, 246, 0.15);
  text-align: center;
}
.cta-star {
  font-size: 1.8rem;
  color: var(--gold);
  margin-bottom: 1rem;
}
.cta-title {
  font-size: clamp(1.4rem, 3.6vw, 2rem);
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: 1.6em;
}

/* ---------- FAQ ---------- */
.faq-list { margin-top: 2.2rem; display: grid; gap: 0.8rem; }
.faq-item {
  background: rgba(10, 16, 48, 0.5);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.3s;
}
.faq-item[open] { border-color: rgba(233, 190, 110, 0.45); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.05rem 3rem 1.05rem 1.3rem;
  position: relative;
  font-weight: 400;
  font-size: 1.02rem;
  color: var(--white);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "✦";
  position: absolute;
  right: 1.2rem;
  top: 50%;
  translate: 0 -50%;
  color: var(--gold);
  transition: rotate 0.3s;
}
.faq-item[open] summary::after { rotate: 135deg; }
.faq-item p {
  margin: 0;
  padding: 0 1.3rem 1.2rem;
  color: var(--muted);
  font-size: 0.97rem;
}

/* ---------- Rodapé ---------- */
.site-footer {
  padding: 3.5rem 0 2.5rem;
  background: rgba(5, 6, 15, 0.85);
  border-top: 1px solid rgba(139, 92, 246, 0.2);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.6rem;
  text-align: center;
}
.footer-brand { display: flex; align-items: center; gap: 1rem; }
.footer-brand img { border-radius: 50%; object-fit: cover; }
.footer-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0;
}
.footer-tag { margin: 0; color: var(--gold); font-size: 0.88rem; letter-spacing: 0.08em; }
.footer-links {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 1.6rem;
}
.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.94rem;
  transition: color 0.25s;
}
.footer-links a:hover, .footer-links a:focus-visible { color: var(--cyan); }
.footer-copy { color: rgba(185, 180, 216, 0.6); font-size: 0.85rem; margin: 0; }

/* ---------- Botão flutuante WhatsApp ---------- */
.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 120;
  width: 58px; height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #34d073, #1faf5a);
  color: #ffffff;
  box-shadow: 0 6px 22px rgba(31, 175, 90, 0.45);
  transition: transform 0.25s, box-shadow 0.25s;
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover, .wa-float:focus-visible {
  transform: scale(1.07);
  box-shadow: 0 8px 28px rgba(31, 175, 90, 0.65);
}

/* ---------- Páginas legais ---------- */
.legal-page { padding: calc(var(--header-h) + 3rem) 0 5rem; }
.legal-page h1 { font-size: clamp(1.8rem, 5vw, 2.6rem); }
.legal-page h2 { font-size: 1.35rem; margin-top: 2.2rem; }
.legal-page p, .legal-page li { color: var(--muted); }
.legal-updated { color: var(--gold); font-size: 0.9rem; letter-spacing: 0.05em; }
.legal-alert {
  padding: 1rem 1.3rem;
  border: 1px solid rgba(233, 190, 110, 0.5);
  border-radius: 12px;
  background: rgba(233, 190, 110, 0.07);
  color: var(--gold-strong);
}

/* ---------- Responsivo ---------- */
@media (max-width: 860px) {
  :root { --header-h: 64px; }

  .nav-toggle { display: flex; }

  /* Navegação simples (páginas internas): sempre visível */
  .site-nav.nav-simple {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    background: transparent;
    border: 0;
  }
  .site-nav.nav-simple ul { flex-direction: row; padding: 0; }
  .site-nav.nav-simple a:not(.btn) { padding: 0.4rem 0; font-size: 0.95rem; }

  .site-nav:not(.nav-simple) {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: rgba(5, 6, 15, 0.97);
    border-bottom: 1px solid rgba(139, 92, 246, 0.25);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s, opacity 0.3s, visibility 0.3s;
  }
  .site-nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.6rem 0 1.2rem;
  }
  .site-nav li { text-align: center; }
  .site-nav a:not(.btn) {
    display: block;
    padding: 0.85rem 1rem;
    font-size: 1.05rem;
  }
  .nav-cta-item { padding: 0.8rem 1.4rem 0; }
  .btn-nav { width: 100%; }

  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .section { padding: 3.6rem 0; }
  .hero { padding-bottom: 3.5rem; }
  .btn-lg { width: 100%; max-width: 420px; }
}
