/* ══════════════════════════════════════════════════════
   CALENDÁRIO ASTROLÓGICO — Ander do Maré
   Módulo visual construído sobre a mesma identidade do site
   (paleta, tipografia, cursor, partículas, cabeçalho e rodapé)
   ══════════════════════════════════════════════════════ */

:root {
  --black: #050810;
  --navy: #060d1f;
  --navy-mid: #0a1535;
  --navy-light: #112048;
  --gold: #c9a227;
  --gold-light: #e8c84a;
  --gold-bright: #f5d76e;
  --gold-dim: #7a6010;
  --white: #f0ead8;
  --verde: #4caf7d;
  --vermelho: #e07060;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: 'EB Garamond', Georgia, serif;
  overflow-x: hidden;
  cursor: none;
  min-height: 100vh;
}

/* ─── CURSOR ─── */
#cursor {
  position: fixed; width: 18px; height: 18px;
  border: 1.5px solid var(--gold); border-radius: 50%;
  pointer-events: none; z-index: 99999;
  transform: translate(-50%,-50%);
  transition: transform 0.1s, background 0.2s;
  mix-blend-mode: screen;
}
#cursor.clicked { transform: translate(-50%,-50%) scale(2); background: rgba(201,162,39,0.3); }

/* ─── SMOKE / PARTICLES ─── */
.smoke-bg {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(ellipse 60% 40% at 20% 80%, rgba(10,30,90,0.5) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 80% 20%, rgba(15,40,110,0.4) 0%, transparent 70%),
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(5,15,60,0.7) 0%, transparent 60%);
  animation: smokeShift 12s ease-in-out infinite alternate;
}
@keyframes smokeShift { 0%{opacity:.7} 50%{opacity:1} 100%{opacity:.8} }
#particles { position: fixed; inset: 0; pointer-events: none; z-index: 1; overflow: hidden; }
.particle {
  position: absolute; border-radius: 50%;
  background: var(--gold-light); opacity: 0;
  animation: floatUp linear infinite;
}
@keyframes floatUp {
  0%   { transform: translateY(100vh) translateX(0) scale(0); opacity: 0; }
  10%  { opacity: 0.6; } 90% { opacity: 0.3; }
  100% { transform: translateY(-20px) translateX(var(--drift)) scale(1); opacity: 0; }
}

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 48px;
  background: linear-gradient(180deg, rgba(5,8,16,0.97) 0%, transparent 100%);
  border-bottom: 1px solid rgba(201,162,39,0.15);
  backdrop-filter: blur(8px);
}
.nav-logo {
  font-family: 'Cinzel Decorative', serif;
  font-size: 1.05rem; color: var(--gold);
  letter-spacing: 3px; text-decoration: none;
  text-shadow: 0 0 20px rgba(201,162,39,0.5);
}
.nav-back {
  font-family: 'Cinzel', serif; font-size: 0.68rem;
  color: var(--white); text-decoration: none;
  letter-spacing: 2px; opacity: 0.7; transition: all 0.3s;
  border: 1px solid rgba(201,162,39,0.2); padding: 7px 14px;
}
.nav-back:hover { color: var(--gold); opacity: 1; border-color: rgba(201,162,39,0.5); }

/* ─── HERO ─── */
.hero {
  position: relative; z-index: 2;
  padding: 130px 48px 48px; text-align: center;
}
.hero-label {
  font-family: 'Cinzel', serif; font-size: 0.65rem;
  letter-spacing: 5px; text-transform: uppercase;
  color: var(--gold); opacity: 0.8; margin-bottom: 12px;
  display: block;
}
.hero-title {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(2rem, 5vw, 3.8rem);
  background: linear-gradient(180deg, var(--gold-bright) 0%, var(--gold) 60%, var(--gold-dim) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  letter-spacing: 4px; margin-bottom: 16px; line-height: 1.1;
}
.hero-sub {
  font-style: italic; font-size: 1.1rem;
  color: rgba(240,234,216,0.7);
  max-width: 560px; margin: 0 auto 16px; line-height: 1.7;
}
.hero-divider {
  display: flex; align-items: center; gap: 16px;
  justify-content: center; margin: 0 auto 8px;
}
.hero-divider hr { width: 60px; border: none; border-top: 1px solid rgba(201,162,39,0.4); }
.hero-divider span { color: var(--gold); font-size: 1rem; }
.hero-count {
  font-family: 'Cinzel', serif; font-size: 0.65rem;
  letter-spacing: 4px; color: rgba(201,162,39,0.5);
  text-transform: uppercase; margin-top: 8px; display: block;
}

/* ─── SECTION BASE ─── */
section { position: relative; z-index: 2; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-label {
  font-family: 'Cinzel', serif; font-size: 0.65rem;
  letter-spacing: 5px; text-transform: uppercase;
  color: var(--gold); opacity: 0.8; margin-bottom: 12px;
  display: block;
}
.section-title {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  color: var(--gold-bright);
  text-shadow: 0 0 30px rgba(201,162,39,0.4);
  line-height: 1.2;
}
.section-line {
  display: flex; align-items: center; gap: 16px;
  justify-content: center; margin-top: 18px;
}
.section-line hr { width: 60px; border: none; border-top: 1px solid rgba(201,162,39,0.4); }
.section-line span { color: var(--gold); font-size: 1rem; }

/* ─── CONSULTA ─── */
#consulta { padding: 20px 48px 60px; }
.consulta-box {
  max-width: 780px; margin: 0 auto;
  background: linear-gradient(135deg, rgba(10,21,53,0.85), rgba(6,13,31,0.92));
  border: 1px solid rgba(201,162,39,0.25);
  padding: 44px 40px;
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
}
.consulta-group { margin-bottom: 28px; }
.consulta-label {
  display: block; font-family: 'Cinzel', serif; font-size: 0.72rem;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 16px;
}
.consulta-selects { display: flex; gap: 14px; flex-wrap: wrap; }
.cal-select {
  flex: 1; min-width: 140px;
  font-family: 'EB Garamond', serif; font-size: 1rem;
  color: var(--white); background: rgba(5,8,16,0.7);
  border: 1px solid rgba(201,162,39,0.35);
  padding: 13px 16px; cursor: pointer;
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0L5 6L10 0' fill='%23c9a227'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
  transition: border-color 0.3s;
}
.cal-select:hover, .cal-select:focus { border-color: var(--gold); outline: none; }
.cal-select option { background: var(--navy); color: var(--white); }

.consulta-divider-line {
  height: 1px; background: rgba(201,162,39,0.15);
  margin: 32px 0;
}

/* ─── SOBRE ESTE CALENDÁRIO ─── */
#sobre { padding: 20px 48px 10px; }
.sobre-box {
  max-width: 780px; margin: 0 auto;
  background: rgba(255,255,255,0.015);
  border: 1px solid rgba(201,162,39,0.16);
  padding: 32px 36px;
}
.sobre-premissa {
  font-style: italic; font-size: 0.98rem;
  color: rgba(240,234,216,0.75); line-height: 1.8;
  margin-bottom: 24px;
}
.sobre-fases {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px; margin-bottom: 22px;
}
.fase-chip {
  border: 1px solid rgba(201,162,39,0.16); background: rgba(255,255,255,0.015);
  padding: 12px 14px; display: flex; flex-direction: column; gap: 4px;
}
.fase-chip-emoji { font-size: 1.1rem; }
.fase-chip-nome {
  font-family: 'Cinzel', serif; font-size: 0.65rem;
  letter-spacing: 1px; text-transform: uppercase; color: var(--gold-bright);
}
.fase-chip-texto { font-size: 0.78rem; color: rgba(240,234,216,0.6); line-height: 1.5; }
.sobre-linha {
  font-size: 0.88rem; color: rgba(240,234,216,0.7);
  line-height: 1.8; margin-bottom: 10px;
}
.sobre-linha strong { color: var(--gold); font-weight: 600; }
.semestre-box {
  margin-top: 20px; padding-top: 20px;
  border-top: 1px solid rgba(201,162,39,0.15);
  text-align: center;
}
.semestre-tag {
  display: inline-block; font-family: 'Cinzel Decorative', serif;
  font-size: 0.95rem; color: var(--gold-bright); letter-spacing: 1px;
  margin-bottom: 10px; text-shadow: 0 0 16px rgba(201,162,39,0.35);
}
.semestre-texto { font-size: 0.88rem; color: rgba(240,234,216,0.7); line-height: 1.8; }
.fontes-texto {
  margin-top: 20px; font-size: 0.68rem; color: rgba(201,162,39,0.4);
  line-height: 1.7; font-family: 'Cinzel', serif; letter-spacing: 0.3px;
}

.btn-pesquisar {
  display: block; width: 100%; margin-top: 8px;
  font-family: 'Cinzel', serif; font-size: 0.8rem;
  letter-spacing: 3px; text-transform: uppercase;
  padding: 17px 20px; text-align: center;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  color: var(--black); font-weight: 700; border: none; cursor: pointer;
  transition: all 0.3s;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}
.btn-pesquisar:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(201,162,39,0.4); }

/* ─── RESULTADO ─── */
#resultado { padding: 10px 48px 40px; }
.resultado-wrap { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 24px; }

.resultado-placeholder {
  max-width: 780px; margin: 0 auto; text-align: center;
  padding: 50px 24px; border: 1px dashed rgba(201,162,39,0.3);
  color: rgba(201,162,39,0.55); font-family: 'Cinzel', serif;
  font-size: 0.75rem; letter-spacing: 2px; text-transform: uppercase;
  line-height: 2;
}

.resultado-card {
  display: grid; grid-template-columns: 120px 1fr;
  background: linear-gradient(135deg, rgba(10,21,53,0.9), rgba(6,13,31,0.95));
  border: 1px solid rgba(201,162,39,0.3);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 16px, 100% 100%, 16px 100%, 0 calc(100% - 16px));
  overflow: hidden;
}
.resultado-data {
  background: rgba(201,162,39,0.08);
  border-right: 1px solid rgba(201,162,39,0.2);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 24px 12px;
}
.resultado-data-num {
  font-family: 'Cinzel Decorative', serif; font-size: 2.4rem;
  color: var(--gold-bright); line-height: 1;
  text-shadow: 0 0 20px rgba(201,162,39,0.4);
}
.resultado-data-mes {
  font-family: 'Cinzel', serif; font-size: 0.65rem;
  letter-spacing: 2px; text-transform: uppercase;
  color: rgba(201,162,39,0.7); margin-top: 8px;
}
.resultado-corpo { padding: 28px 30px; display: flex; flex-direction: column; gap: 18px; }
.resultado-linha { display: flex; flex-direction: column; gap: 6px; }
.resultado-rotulo {
  font-family: 'Cinzel', serif; font-size: 0.62rem;
  letter-spacing: 2px; text-transform: uppercase;
  color: rgba(201,162,39,0.65);
}
.resultado-valor { font-size: 0.98rem; color: rgba(240,234,216,0.88); line-height: 1.7; }

.favorabilidade-badge {
  display: inline-block; width: fit-content;
  font-family: 'Cinzel', serif; font-size: 0.7rem;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 6px 16px;
}
.nivel-excelente   { color: var(--verde); border: 1px solid rgba(76,175,125,0.45); background: rgba(76,175,125,0.08); }
.nivel-muito-favoravel { color: var(--gold-bright); border: 1px solid rgba(245,215,110,0.4); background: rgba(245,215,110,0.06); }
.nivel-favoravel   { color: var(--gold); border: 1px solid rgba(201,162,39,0.4); background: rgba(201,162,39,0.06); }
.nivel-neutro      { color: rgba(240,234,216,0.6); border: 1px solid rgba(240,234,216,0.25); background: rgba(240,234,216,0.04); }
.nivel-pouco-favoravel { color: var(--vermelho); border: 1px solid rgba(224,112,96,0.4); background: rgba(224,112,96,0.07); }

/* ─── ALERTA DE CAUTELA ─── */
.alerta-cautela {
  display: flex; gap: 14px; align-items: flex-start;
  background: rgba(224,112,96,0.06);
  border: 1px solid rgba(224,112,96,0.3);
  padding: 18px 22px;
}
.alerta-icone { font-size: 1.3rem; line-height: 1.3; }
.alerta-titulo {
  display: block; font-family: 'Cinzel', serif; font-size: 0.7rem;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--vermelho); margin-bottom: 6px;
}
.alerta-texto { font-size: 0.9rem; color: rgba(240,234,216,0.78); line-height: 1.7; }

/* ─── ANÁLISE DUPLA (Amor & Relações / Prosperidade & Abertura) ─── */
.analise-dupla {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.analise-item {
  border: 1px solid rgba(201,162,39,0.18);
  background: rgba(255,255,255,0.02);
  padding: 20px; display: flex; flex-direction: column; gap: 8px;
}
.analise-icone { font-size: 1.4rem; }
.analise-nome {
  font-family: 'Cinzel', serif; font-size: 0.68rem;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: rgba(240,234,216,0.8);
}
.analise-nivel {
  font-family: 'Cinzel', serif; font-size: 0.65rem;
  letter-spacing: 1px; text-transform: uppercase;
  padding: 4px 12px; width: fit-content;
}
.analise-texto { font-size: 0.88rem; color: rgba(240,234,216,0.65); line-height: 1.7; margin-top: 2px; }

/* ─── ENTENDA ESTE TRÂNSITO ─── */
.transito-box {
  border-left: 2px solid rgba(201,162,39,0.4);
  padding: 4px 0 4px 22px;
}
.transito-header {
  font-family: 'Cinzel', serif; font-size: 0.72rem;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 10px;
}
.transito-texto { font-size: 0.95rem; color: rgba(240,234,216,0.75); line-height: 1.85; font-style: italic; }

/* ─── DATAS EM DESTAQUE ─── */
#destaque { padding: 20px 48px 100px; }
.destaque-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 16px; max-width: 1100px; margin: 0 auto;
}
.destaque-card {
  background: linear-gradient(135deg, rgba(10,21,53,0.8), rgba(6,13,31,0.9));
  border: 1px solid rgba(201,162,39,0.22);
  padding: 22px 20px; cursor: pointer; transition: all 0.35s;
  position: relative; overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}
.destaque-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0); transition: transform 0.4s;
}
.destaque-card:hover { border-color: rgba(201,162,39,0.6); transform: translateY(-4px); box-shadow: 0 14px 34px rgba(201,162,39,0.13); }
.destaque-card:hover::after { transform: scaleX(1); }
.destaque-data {
  font-family: 'Cinzel', serif; font-size: 0.65rem;
  letter-spacing: 2px; text-transform: uppercase;
  color: rgba(201,162,39,0.6); margin-bottom: 10px;
}
.destaque-icone { font-size: 1.8rem; margin-bottom: 8px; display: block; }
.destaque-titulo {
  font-family: 'Cinzel', serif; font-size: 0.9rem;
  color: var(--gold-bright); letter-spacing: 0.5px;
  margin-bottom: 6px; line-height: 1.4;
}
.destaque-sub { font-size: 0.82rem; color: rgba(240,234,216,0.55); line-height: 1.5; }
.destaque-tag {
  position: absolute; top: 14px; right: 14px;
  font-family: 'Cinzel', serif; font-size: 0.5rem;
  letter-spacing: 1px; text-transform: uppercase;
  color: var(--black); background: var(--gold);
  padding: 3px 8px;
}

/* ─── FOOTER ─── */
footer {
  padding: 40px; text-align: center;
  border-top: 1px solid rgba(201,162,39,0.15);
  background: var(--black);
}
.footer-logo {
  font-family: 'Cinzel Decorative', serif; font-size: 1rem;
  color: var(--gold); letter-spacing: 4px;
  text-shadow: 0 0 20px rgba(201,162,39,0.3); margin-bottom: 10px;
}
.footer-copy { font-size: 0.75rem; color: rgba(240,234,216,0.3); letter-spacing: 2px; font-family: 'Cinzel', serif; }

/* ─── REVEAL ─── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s, transform 0.7s; }
.reveal.visible { opacity: 1; transform: translateY(0); }

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--gold-dim); border-radius: 2px; }

/* ─── MOBILE ─── */
@media (max-width: 768px) {
  nav { padding: 14px 20px; }
  .hero { padding: 100px 20px 32px; }
  #sobre, #consulta, #resultado, #destaque { padding: 16px 18px 50px; }
  .sobre-box { padding: 24px 22px; }
  .consulta-box { padding: 30px 22px; }
  .resultado-card { grid-template-columns: 1fr; }
  .resultado-data { flex-direction: row; gap: 10px; border-right: none; border-bottom: 1px solid rgba(201,162,39,0.2); padding: 16px; }
  .resultado-corpo { padding: 22px 20px; }
  .analise-dupla { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .consulta-selects { flex-direction: column; }
}
