/* ==========================================================================
   PORTAL MAPA ASTRAL & ESPIRITUAL INTEGRADO - DESIGN SYSTEM CÓSMICO
   Astrologia, Psicanálise da NASA, Reiki & Psicopedagogia
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;900&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  /* Cores Místicas & Cósmicas */
  --bg-dark: #070614;
  --bg-card: rgba(18, 16, 42, 0.7);
  --bg-card-hover: rgba(28, 25, 65, 0.85);
  --border-glass: rgba(255, 255, 255, 0.12);
  --border-gold: rgba(243, 198, 35, 0.35);
  
  --primary-gold: #f3c623;
  --gold-glow: rgba(243, 198, 35, 0.4);
  --cyan-cosmic: #00f2fe;
  --purple-nebula: #7928ca;
  --pink-astral: #ff0080;
  --blue-starlight: #4facfe;
  
  --text-main: #f1f3f9;
  --text-muted: #a0a5c0;
  --text-gold: #fce38a;
  
  /* Gradientes */
  --grad-gold: linear-gradient(135deg, #f3c623 0%, #ff9900 100%);
  --grad-cosmic: linear-gradient(135deg, #7928ca 0%, #4facfe 100%);
  --grad-nasa: linear-gradient(135deg, #00f2fe 0%, #4facfe 50%, #0052d4 100%);
  --grad-reiki: linear-gradient(135deg, #ff0080 0%, #7928ca 100%);
  
  /* Fontes */
  --font-title: 'Cinzel', serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  
  /* Sombras e Efeitos */
  --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
  --shadow-gold: 0 0 25px rgba(243, 198, 35, 0.25);
  --shadow-cyan: 0 0 25px rgba(0, 242, 254, 0.25);
  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-main);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(121, 40, 202, 0.18) 0%, transparent 40%),
    radial-gradient(circle at 85% 85%, rgba(0, 242, 254, 0.15) 0%, transparent 45%),
    radial-gradient(circle at 50% 50%, rgba(243, 198, 35, 0.05) 0%, transparent 60%);
  background-attachment: fixed;
}

/* Canvas Estelar em Segundo Plano */
#starfield {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

/* Layout Principal */
.app-container {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 25px 60px;
}

/* Header & Logo */
header.main-header {
  text-align: center;
  padding: 30px 20px 40px;
  position: relative;
}

.header-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(243, 198, 35, 0.1);
  border: 1px solid var(--border-gold);
  color: var(--primary-gold);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 15px;
  box-shadow: 0 0 15px rgba(243, 198, 35, 0.15);
}

.main-header h1 {
  font-family: var(--font-title);
  font-size: 2.8rem;
  font-weight: 900;
  letter-spacing: 2px;
  background: linear-gradient(135deg, #ffffff 0%, #f3c623 50%, #4facfe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 30px rgba(243, 198, 35, 0.2);
  margin-bottom: 12px;
}

.main-header p.subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 780px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Cards Glassmorphism */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-glass);
  transition: var(--transition);
}

.glass-card:hover {
  border-color: rgba(243, 198, 35, 0.3);
  box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.6);
}

/* Section Headings */
.section-title {
  font-family: var(--font-title);
  font-size: 1.6rem;
  color: var(--text-gold);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 12px;
}

.section-title i {
  color: var(--cyan-cosmic);
}

/* Form de Nascimento */
.birth-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-input {
  background: rgba(10, 8, 25, 0.8);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  transition: var(--transition);
}

.form-input:focus {
  border-color: var(--primary-gold);
  box-shadow: 0 0 15px var(--gold-glow);
}

/* Botões */
.btn-primary {
  background: var(--grad-gold);
  color: #000;
  font-weight: 700;
  font-family: var(--font-title);
  font-size: 1.1rem;
  letter-spacing: 1px;
  padding: 16px 32px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  box-shadow: var(--shadow-gold);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 25px;
  width: 100%;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(243, 198, 35, 0.6);
  filter: brightness(1.1);
}

/* Abas de Navegação */
.nav-tabs {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 10px;
  margin: 35px 0 25px;
  border-bottom: 1px solid var(--border-glass);
  scrollbar-width: thin;
}

.tab-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  font-family: var(--font-title);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 30px;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.tab-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}

.tab-btn.active {
  background: var(--grad-cosmic);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 0 20px rgba(121, 40, 202, 0.4);
}

/* Conteúdo das Abas */
.tab-content {
  display: none;
  animation: fadeIn 0.4s ease forwards;
}

.tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Layout de 2 Colunas */
.grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

@media (max-width: 992px) {
  .grid-2col {
    grid-template-columns: 1fr;
  }
}

/* Mandala Astral SVG */
.mandala-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 550px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mandala-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 15px rgba(243, 198, 35, 0.2));
}

/* Posições Astrológicas & Aspectos */
.planet-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}

.planet-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 12px 15px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: var(--transition);
}

.planet-card:hover {
  background: rgba(243, 198, 35, 0.08);
  border-color: var(--primary-gold);
}

.planet-icon {
  font-size: 1.6rem;
  color: var(--primary-gold);
  width: 35px;
  text-align: center;
}

.planet-info h4 {
  font-size: 0.95rem;
  color: #fff;
}

.planet-info p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Seção Psicanálise da NASA */
.nasa-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.4);
  color: var(--cyan-cosmic);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.archetype-box {
  background: rgba(0, 0, 0, 0.3);
  border-left: 4px solid var(--cyan-cosmic);
  padding: 18px 20px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: 15px;
}

.archetype-box h3 {
  color: var(--cyan-cosmic);
  font-family: var(--font-title);
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.archetype-box p {
  color: var(--text-main);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Seção Chakras & Reiki */
.chakra-body-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.chakra-row {
  display: flex;
  align-items: center;
  gap: 15px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.chakra-row:hover {
  transform: translateX(5px);
  border-color: rgba(255, 255, 255, 0.25);
}

.chakra-orb {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  box-shadow: 0 0 15px currentColor;
  flex-shrink: 0;
}

.chakra-details {
  flex-grow: 1;
}

.chakra-details h4 {
  font-size: 1rem;
  color: #fff;
  display: flex;
  justify-content: space-between;
}

.chakra-details p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.reiki-symbol-card {
  background: rgba(121, 40, 202, 0.15);
  border: 1px solid rgba(121, 40, 202, 0.4);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
}

.reiki-symbol-card svg {
  width: 70px;
  height: 70px;
  margin-bottom: 10px;
  filter: drop-shadow(0 0 10px var(--pink-astral));
}

/* Seção Psicopedagogia */
.learning-trait {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.progress-bar-container {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 18px;
}

.progress-bar-fill {
  height: 100%;
  background: var(--grad-nasa);
  border-radius: 10px;
  transition: width 1s ease-in-out;
}

/* Dossiê Integrado PDF / Impressão */
.dossier-header {
  border-bottom: 2px dashed var(--border-gold);
  padding-bottom: 20px;
  margin-bottom: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dossier-stamp {
  border: 2px solid var(--primary-gold);
  color: var(--primary-gold);
  padding: 6px 14px;
  border-radius: 6px;
  font-family: var(--font-title);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  transform: rotate(-3deg);
  box-shadow: var(--shadow-gold);
}

.print-btn {
  background: var(--grad-cosmic);
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.print-btn:hover {
  filter: brightness(1.2);
  transform: translateY(-2px);
}

/* Footer */
footer.main-footer {
  text-align: center;
  padding: 40px 20px 20px;
  color: var(--text-muted);
  font-size: 0.88rem;
  border-top: 1px solid var(--border-glass);
  margin-top: 60px;
}

/* Seção Búzios, Tarot & Numerologia */
.oracle-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.tarot-card-view {
  background: linear-gradient(145deg, rgba(30, 20, 60, 0.9), rgba(10, 8, 25, 0.95));
  border: 2px solid var(--primary-gold);
  border-radius: var(--radius-lg);
  padding: 25px;
  text-align: center;
  box-shadow: 0 0 25px rgba(243, 198, 35, 0.2);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.tarot-card-view:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 0 35px rgba(243, 198, 35, 0.4);
}

.tarot-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--grad-gold);
  color: #000;
  font-weight: bold;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 12px;
}

.buzios-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  max-width: 320px;
  margin: 20px auto;
}

.buzio-shell {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.5), 0 0 15px rgba(243, 198, 35, 0.3);
  transition: transform 0.5s ease;
  cursor: pointer;
}

.buzio-open {
  background: radial-gradient(circle, #ffeaa7 0%, #fdcb6e 100%);
  color: #000;
  border: 2px solid #f3c623;
}

.buzio-closed {
  background: radial-gradient(circle, #2d3436 0%, #0984e3 100%);
  color: #fff;
  border: 2px solid #74b9ff;
}

.num-badge-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--grad-cosmic);
  color: #fff;
  font-family: var(--font-title);
  font-size: 2rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  box-shadow: 0 0 20px rgba(121, 40, 202, 0.5);
}

.daily-transit-box {
  background: rgba(0, 242, 254, 0.05);
  border: 1px solid var(--cyan-cosmic);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 20px;
}

/* Módulos Comercial PLUS & Checkout */
.audio-player-box {
  background: linear-gradient(135deg, rgba(121, 40, 202, 0.25), rgba(0, 242, 254, 0.15));
  border: 2px solid var(--cyan-cosmic);
  border-radius: var(--radius-lg);
  padding: 25px;
  text-align: center;
  margin-bottom: 25px;
  box-shadow: 0 0 30px rgba(0, 242, 254, 0.2);
}

.audio-btn {
  background: var(--grad-nasa);
  color: #fff;
  border: none;
  font-family: var(--font-title);
  font-weight: bold;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 30px;
  cursor: pointer;
  box-shadow: var(--shadow-cyan);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 10px 5px;
}

.audio-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.2);
}

.modal-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  z-index: 999;
  align-items: center;
  justify-content: center;
}

.modal-backdrop.active {
  display: flex;
}

.checkout-card {
  background: var(--bg-dark);
  border: 2px solid var(--primary-gold);
  border-radius: var(--radius-lg);
  max-width: 500px;
  width: 90%;
  padding: 35px;
  text-align: center;
  box-shadow: 0 0 50px rgba(243, 198, 35, 0.4);
  position: relative;
  animation: fadeIn 0.4s ease;
}

.close-modal-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
}

.price-tag-big {
  font-family: var(--font-title);
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--primary-gold);
  text-shadow: 0 0 20px rgba(243, 198, 35, 0.5);
  margin: 15px 0;
}

.old-price {
  text-decoration: line-through;
  color: var(--text-muted);
  font-size: 1.2rem;
}

/* Animações e Responsividade */
@media print {
  body {
    background: #fff !important;
    color: #000 !important;
  }
  #starfield, .main-header p, .nav-tabs, .btn-primary, .print-btn, .modal-backdrop {
    display: none !important;
  }
  .glass-card {
    background: none !important;
    border: 1px solid #ccc !important;
    box-shadow: none !important;
    color: #000 !important;
  }
}


