/* Tema noturno / astrológico — HTML/CSS puro, sem dependências */

:root {
  --bg: #141414;
  --bg-2: #0f0f0f;
  --surface: #1e1e1e;
  --surface-2: #252525;
  --gold: #3d7a5e;
  --gold-soft: #7aab8a;
  --text: #dde0e8;
  --text-muted: #8a8f9e;
  --border: #333333;
  --radius: 12px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background:
    radial-gradient(ellipse at top, #1a2a22 0%, transparent 50%),
    var(--bg);
  background-attachment: fixed;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
}

a { color: var(--gold-soft); text-decoration: none; }
a:hover { color: var(--gold); text-decoration: underline; }

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  background: var(--surface-2);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  font-size: 0.9em;
}

.numero-dia-exemplo {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 0.75rem 1rem;
  border-radius: 8px;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.7;
}

.numero-dia-exemplo strong {
  color: var(--gold);
  font-weight: 600;
}

/* ===== Header ===== */
.site-header {
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 2rem;
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(6px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
}
.brand:hover { text-decoration: none; color: var(--gold-soft); }

.brand-logo {
  width: 32px;
  height: 32px;
  display: block;
}

.signos-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1rem;
}

.sig-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--text-muted);
  background: var(--surface);
  transition: all 0.15s ease;
}
.sig-link:hover {
  color: var(--gold-soft);
  border-color: var(--gold-soft);
  text-decoration: none;
}
.sig-link.active {
  background: var(--gold);
  color: var(--bg-2);
  border-color: var(--gold);
  font-weight: 600;
}
.sig-link .sym { font-size: 1.05rem; }

/* ===== Container ===== */
.container {
  max-width: 860px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

/* ===== Card base ===== */
.prevision,
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 2rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 1px 0 rgba(255,255,255,0.02) inset;
}

.prevision {
  padding: 2rem 2rem 2.25rem;
  margin-bottom: 2rem;
}

.prev-header { margin-bottom: 1.5rem; }

.prev-header-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 0.4rem;
}

.pdf-link {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--gold);
  color: var(--gold);
  background: rgba(74, 158, 127, 0.06);
  font-size: 0.8rem;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.pdf-link:hover {
  text-decoration: none;
  background: rgba(74, 158, 127, 0.12);
  color: var(--gold-soft);
}

.print-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.prev-header h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.85rem;
  font-weight: 400;
  margin: 0;
  color: var(--text);
  line-height: 1.25;
}

.prev-text {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text);
}

.prev-text h1,
.prev-text h2,
.prev-text h3,
.prev-text h4,
.prev-text h5,
.prev-text h6 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--gold-soft);
  margin: 1.25rem 0 0.75rem;
  font-weight: 400;
}

.prev-text h1 { font-size: 1.35rem; }
.prev-text h2 { font-size: 1.2rem; }
.prev-text h3 { font-size: 1.1rem; }
.prev-text h4 { font-size: 1rem; }

.prev-text p {
  margin: 0.75rem 0;
}

.prev-text strong {
  color: var(--gold);
  font-weight: 600;
}

.prev-text em {
  color: var(--gold-soft);
  font-style: italic;
}

.prev-text ul {
  margin: 0.75rem 0;
  padding-left: 1.5rem;
  list-style: none;
}

.prev-text ul li {
  position: relative;
  margin: 0.5rem 0;
  padding-left: 1.25rem;
}

.prev-text ul li:before {
  content: "★";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.8rem;
}

.prev-text br {
  line-height: 0.5;
}

/* ===== Seção de Validadores ===== */
.previsao-validadores {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  flex-wrap: wrap;
}

.validacao-label {
  color: var(--gold);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.validador-link {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  border: 1px solid var(--border);
  color: var(--gold-soft);
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 0.9rem;
}

.validador-link:hover {
  color: var(--gold);
  border-color: var(--gold);
  background: rgba(74, 158, 127, 0.08);
}

.validador-link.astro {
  border-color: var(--gold);
  color: var(--gold);
}

.validador-link.tarot {
  border-color: var(--gold-soft);
  color: var(--gold-soft);
}

.validador-sep {
  color: var(--text-muted);
  font-weight: 700;
}

.card h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  margin: 0 0 0.5rem;
  color: var(--gold-soft);
  font-size: 1.3rem;
}

.card h3 {
  margin: 1.75rem 0 0.75rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  font-weight: 700;
}

.card p { margin: 0.5rem 0; }

.muted { color: var(--text-muted); font-size: 0.92rem; }

.empty { text-align: center; padding: 3rem 2rem; }
.empty h2 { color: var(--text); }

/* ===== Tabela de posições ===== */
.data-table {
  width: 100%;
  border-collapse: collapse;
}
.data-table th,
.data-table td {
  padding: 0.55rem 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.data-table th {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  font-weight: 700;
}
.data-table tr:last-child td { border-bottom: none; }

/* ===== Lista de aspectos ===== */
.aspectos-list {
  list-style: none;
  padding: 0;
  margin: 0.25rem 0 0;
}
.aspectos-list li {
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.98rem;
}
.aspectos-list li:last-child { border-bottom: none; }

.asp-sym {
  display: inline-block;
  margin: 0 0.5rem;
  color: var(--gold);
  font-size: 1.15rem;
}

.zod-sym {
  color: var(--gold);
  font-size: 1.05em;
  margin-right: 0.15rem;
}

/* ===== Lista de descrição (trânsito do signo) ===== */
.data-dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.45rem 1.25rem;
  margin: 0;
  padding: 0.5rem 0;
}
.data-dl dt {
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
  padding-top: 0.15rem;
}
.data-dl dd { margin: 0; }

/* ===== Resumo do dia (destaque no topo da home) ===== */
.resumo-box {
  background: linear-gradient(135deg,
              rgba(74, 158, 127, 0.10) 0%,
              rgba(74, 158, 127, 0.04) 100%);
  border-left: 3px solid var(--gold);
  border-radius: 8px;
  padding: 1.1rem 1.35rem;
  margin: 0 0 1.5rem;
}
.resumo-box .resumo-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.resumo-box p {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--text);
}

/* ===== Tabela de trânsitos por casa (página do signo) ===== */
.planetas-table {
  width: 100%;
  border-collapse: collapse;
}
.planetas-table th,
.planetas-table td {
  padding: 0.55rem 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
.planetas-table th {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  font-weight: 700;
}
.planetas-table td:first-child { font-weight: 600; }
.planetas-table td:last-child { color: var(--text-muted); font-size: 0.92rem; }
.planetas-table tr:last-child td { border-bottom: none; }

/* ===== Seção de Tarot ===== */
.tarot-section {
  border-left: 4px solid var(--gold);
  background: linear-gradient(135deg,
              rgba(74, 158, 127, 0.08) 0%,
              rgba(20, 20, 20, 0.5) 100%);
}

.tarot-section h2 {
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.cartas-container {
  margin-bottom: 1.5rem;
}

.cartas-list {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
}

.carta-item {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.85rem;
  text-align: center;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
}

.carta-item:hover {
  border-color: var(--gold);
  box-shadow: 0 0 12px rgba(74, 158, 127, 0.15);
}

.carta-imagem-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 3;
  margin-bottom: 0.75rem;
  border-radius: 4px;
  overflow: hidden;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

.carta-imagem {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.carta-placeholder {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  opacity: 0.6;
  background: linear-gradient(135deg, rgba(74, 158, 127, 0.08), rgba(212, 175, 55, 0.02));
}

.carta-item .posicao {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold-soft);
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.carta-item strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.4;
}

/* Meta-info da carta (correspondência, elemento, numerologia) */
.carta-meta {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.72rem;
  line-height: 1.3;
  color: var(--text-muted);
}

.carta-astro {
  color: var(--gold-soft);
}

.carta-elemento {
  color: #a0c4c8;
}

.carta-numerologia {
  color: var(--text-muted);
  font-style: italic;
}

/* Dados extras do dia (fase lunar, elemento, numerologia) */
.dados-extras-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.75rem;
  margin: 1rem 0 1.5rem;
  padding: 1rem;
  background: rgba(74, 158, 127, 0.04);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.dado-extra-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.dado-extra-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--gold-soft);
  font-weight: 700;
}

.dado-extra-valor {
  font-size: 0.92rem;
  color: var(--text);
}

/* Símbolo de retrógrado */
.retro-sym {
  font-size: 0.8rem;
  color: var(--gold-soft);
  margin-left: 0.25rem;
  vertical-align: middle;
  opacity: 0.85;
}

.tarot-interpretacao {
  background: rgba(74, 158, 127, 0.06);
  border-radius: 8px;
  padding: 1rem;
  border-left: 3px solid var(--gold-soft);
}

.tarot-interpretacao h3 {
  margin-top: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--gold-soft);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 400;
  font-size: 0.9rem;
}

.tarot-interpretacao p {
  margin: 0.75rem 0;
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--text);
}

.tarot-interpretacao strong {
  color: var(--gold);
  font-weight: 600;
}

.tarot-interpretacao em {
  color: var(--gold-soft);
  font-style: italic;
}

/* ===== Conselho Astrológico ===== */
.conselho-astrlogico {
  background: linear-gradient(135deg, rgba(74, 158, 127, 0.05) 0%, rgba(122, 171, 138, 0.02) 100%);
  border-left: 4px solid var(--gold);
}

.conselho-astrlogico h2 {
  color: var(--gold-soft);
  margin-top: 0;
}

.conselho-astrlogico p {
  color: var(--text);
  line-height: 1.8;
  font-size: 0.98rem;
}

.tarot-interpretacao ul {
  margin: 0.75rem 0;
  padding-left: 1.5rem;
  list-style: none;
}

.tarot-interpretacao ul li {
  position: relative;
  margin: 0.5rem 0;
  padding-left: 1.25rem;
}

.tarot-interpretacao ul li:before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--gold-soft);
  font-size: 0.8rem;
}

/* ===== Perfil do Validador ===== */
.validador-perfil {
  padding: 2.5rem 2rem;
}

.validador-header {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}

.validador-foto {
  width: 180px;
  height: 180px;
  border-radius: 12px;
  object-fit: cover;
  border: 2px solid var(--gold);
  flex-shrink: 0;
}

.validador-info {
  flex: 1;
}

.validador-info h1 {
  margin: 0 0 0.5rem;
  color: var(--text);
  font-size: 2rem;
  font-family: Georgia, "Times New Roman", serif;
}

.validador-astro {
  margin: 0.5rem 0 1rem;
  font-size: 0.95rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.validador-astro span {
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 20px;
  color: var(--gold-soft);
  background: rgba(74, 158, 127, 0.08);
}

.validador-astro .sun { border-color: var(--gold); color: var(--gold); }
.validador-astro .moon { border-color: var(--gold-soft); color: var(--gold-soft); }
.validador-astro .rising { border-color: var(--text-muted); color: var(--text-muted); }

.validador-especialidade {
  margin: 0.75rem 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.validador-especialidade strong {
  color: var(--gold);
}

.validador-bio-curta {
  margin: 0.75rem 0;
  font-size: 1rem;
  line-height: 1.6;
  font-style: italic;
  color: var(--text);
}

.validador-bio-completa {
  margin: 2rem 0;
  padding: 1.5rem;
  border-left: 3px solid var(--gold);
  background: rgba(74, 158, 127, 0.06);
  border-radius: 8px;
  line-height: 1.8;
}

.validador-bio-completa p {
  margin: 1rem 0;
}

.validador-contato,
.validador-previsoes {
  margin-top: 1.5rem;
}

.redes-list {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.redes-list li {
  padding: 0.5rem 0;
}

.redes-list a {
  color: var(--gold-soft);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
}

.redes-list a:hover {
  color: var(--gold);
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 640px) {
  .validador-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .validador-foto {
    width: 140px;
    height: 140px;
  }

  .validador-info h1 {
    font-size: 1.5rem;
  }

  .validador-astro {
    justify-content: center;
  }
}

/* ===== Footer ===== */
.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 3rem;
  padding-top: 2rem;
  color: var(--text-muted);
}

/* ===== Impressão / PDF via navegador ===== */
.print-body {
  background: #ffffff;
  color: #161616;
  font-family: Georgia, "Times New Roman", serif;
}

.print-page {
  max-width: 980px;
  margin: 0 auto;
  padding: 32px 28px 48px;
}

.print-cover {
  padding: 20px 0 28px;
  border-bottom: 2px solid #d7b96a;
  margin-bottom: 24px;
}

.print-eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #8a6b1f;
  font-size: 12px;
  margin-bottom: 8px;
  font-weight: 700;
}

.print-cover h1 {
  margin: 0;
  font-size: 34px;
  color: #111;
}

.print-subtitle {
  margin: 10px 0 0;
  font-size: 16px;
  color: #4f4f4f;
}

.print-block {
  page-break-inside: avoid;
  break-inside: avoid;
  margin: 0 0 24px;
  padding: 18px 20px;
  border: 1px solid #e6dcc2;
  border-radius: 16px;
  background: #fffdf8;
}

.print-highlight {
  background: linear-gradient(180deg, #fffaf0 0%, #fff 100%);
}

.print-signo {
  page-break-before: auto;
}

.print-signo-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
  border-bottom: 1px solid #eadfbf;
  padding-bottom: 8px;
  margin-bottom: 12px;
}

.print-signo h2 {
  margin: 0;
  color: #1c1c1c;
  font-size: 22px;
}

.print-signo-date {
  color: #7d6a43;
  font-size: 13px;
}

.print-theme {
  font-style: italic;
  font-size: 18px;
  color: #5e4b22;
  margin: 0 0 12px;
}

.print-map {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 14px 0 18px;
}

.print-map-col {
  background: #fff;
  border: 1px solid #eadfbf;
  border-radius: 14px;
  padding: 14px 16px;
  width: 100%;
}

.print-map-col h3,
.print-block h3 {
  margin-top: 0;
}

.print-block h4 {
  margin: 0.3rem 0 0.6rem;
  color: #8a6b1f;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.print-map-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.print-metric {
  padding: 10px 12px;
  border-radius: 12px;
  background: #fbf7ee;
  border: 1px solid #ece0c1;
}

.print-metric-wide {
  grid-column: 1 / -1;
}

.print-metric-label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #8a6b1f;
  font-weight: 700;
  margin-bottom: 4px;
}

.print-metric-value {
  display: inline-block;
  font-size: 15px;
  color: #1a1a1a;
  font-weight: 600;
}

.print-metric-hint {
  display: inline-block;
  margin-left: 6px;
  font-size: 13px;
  color: #6e5d38;
  font-style: italic;
}

.print-body .print-arcano-box {
  margin: 0;
  background: #fffdf6 !important;
  border: 1px solid #e5d7ac;
  border-left: 4px solid #d7b96a;
  box-shadow: none;
}

.print-body .print-arcano-box .arcano-sintese-label {
  color: #8a6b1f;
}

.print-body .print-arcano-box .arcano-sintese-soma,
.print-body .print-arcano-box .arcano-sintese-chave,
.print-body .print-arcano-box .arcano-sintese-elem,
.print-body .print-arcano-box .arcano-sintese-sig {
  color: #6e5d38;
}

.print-body .print-arcano-box .arcano-sintese-nome {
  color: #161616;
}

.print-body .print-arcano-box .arcano-sintese-img {
  border: 1px solid #e5d7ac;
}

.print-arcano-geral {
  margin-top: 10px;
}

.print-arcano-signo {
  background: #fffaf0;
}

.print-aspect-orb {
  color: #6e5d38;
  font-size: 12px;
  font-style: italic;
}

.print-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.print-card {
  border: 1px solid #e7dcc0;
  border-radius: 14px;
  padding: 10px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.print-card-img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: contain;
  border-radius: 10px;
  background: #f5f0e3;
  margin-bottom: 4px;
}

.print-card-pos {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #8a6b1f;
  font-weight: 700;
}

.print-card-name {
  color: #1c1c1c;
  font-size: 14px;
}

.print-card-meta {
  color: #5f5f5f;
  font-size: 12px;
  line-height: 1.35;
}

.print-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

.print-table th,
.print-table td {
  text-align: left;
  padding: 8px 10px;
  border-bottom: 1px solid #eadfbf;
  vertical-align: top;
  font-size: 13px;
}

.print-table th {
  color: #8a6b1f;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 11px;
}

.print-list {
  margin: 10px 0 0;
  padding-left: 18px;
}

.print-list li {
  margin: 6px 0;
}

.print-signo-arcano {
  font-size: 12px;
  color: #8a6b1f;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.print-text {
  color: #1f1f1f;
  font-size: 15px;
  line-height: 1.7;
}

.print-text h1,
.print-text h2,
.print-text h3,
.print-text h4 {
  color: #8a6b1f;
  margin: 1rem 0 0.5rem;
}

.print-text p {
  margin: 0.6rem 0;
}

.print-text ul {
  margin: 0.6rem 0;
  padding-left: 1.2rem;
}

.print-divider {
  height: 1px;
  background: #eadfbf;
  margin: 16px 0;
}

.print-text strong {
  color: #7b5b10;
}

.print-text em {
  color: #5e4b22;
}

.print-body .print-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 0 20px;
}

.print-pdf-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 20px;
  background: #8a6b1f;
  color: #fff;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.4px;
  transition: background 0.15s;
}

.print-pdf-btn:hover {
  background: #6b5118;
}

.print-actions-hint {
  font-size: 13px;
  color: #7d6a43;
}

@media screen {
  .print-body .site-header,
  .print-body .site-footer {
    display: none;
  }
}

@media print {
  @page {
    size: A4;
    margin: 12mm;
  }

  html, body {
    background: #fff !important;
    color: #111 !important;
  }

  .site-header,
  .site-footer,
  .calendar,
  .pdf-link,
  .print-actions {
    display: none !important;
  }

  .container {
    max-width: none;
    margin: 0;
    padding: 0;
  }

  .print-page {
    padding: 0;
    max-width: none;
  }

  .print-map,
  .print-cards {
    break-inside: avoid;
  }

  .print-block {
    box-shadow: none;
    break-inside: avoid-page;
  }
}

.footer-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.footer-section {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--gold);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
}

.footer-logo {
  width: 22px;
  height: 22px;
  display: block;
}

.footer-section small {
  font-size: 0.85rem;
  line-height: 1.5;
}

.footer-links a {
  color: var(--gold-soft);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--gold);
  text-decoration: underline;
}

.footer-ad-space {
  max-width: 860px;
  margin: 1.5rem auto 0;
  padding: 1rem;
  border-top: 1px solid var(--border);
  text-align: center;
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.footer-ad-space:empty::before {
  content: "Espaço disponível para publicidade";
  opacity: 0.3;
}

.ad-slot {
  max-width: 860px;
  margin: 1.5rem auto;
  padding: 1rem;
  border: 1px dashed var(--border);
  border-radius: 8px;
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.ad-slot:empty::before {
  content: "Espaço disponível para publicidade";
  opacity: 0.3;
}

@media (min-width: 600px) {
  .ad-slot {
    min-height: 250px;
  }
}

/* ===== Calendário ===== */

/* Botão flutuante */
.calendario-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-soft) 100%);
  border: none;
  color: var(--bg);
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(74, 158, 127, 0.25);
  transition: all 0.3s ease;
  z-index: 100;
}

.calendario-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(74, 158, 127, 0.4);
}

.calendario-btn:active {
  transform: scale(0.95);
}

/* Painel lateral */
.calendario-panel {
  position: fixed;
  right: -400px;
  top: 0;
  width: 380px;
  height: 100vh;
  background: var(--surface);
  border-left: 1px solid var(--border);
  box-shadow: -4px 0 16px rgba(0, 0, 0, 0.3);
  transition: right 0.3s ease;
  z-index: 200;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.calendario-panel.aberto {
  right: 0;
}

.calendario-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.calendario-panel-header h3 {
  margin: 0;
  color: var(--gold-soft);
  font-size: 1.1rem;
}

.calendario-fechar {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.8rem;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.calendario-fechar:hover {
  color: var(--gold);
}

/* Overlay */
.calendario-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 150;
}

.calendario-overlay.aberto {
  opacity: 1;
  pointer-events: auto;
}

/* Widget dentro do painel */
.calendario-widget {
  background: transparent;
  border: none;
  padding: 1.5rem;
  margin: 0;
  flex: 1;
  overflow-y: auto;
}

.calendario-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.calendario-nav {
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--gold);
  width: 32px;
  height: 32px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.2s ease;
}

.calendario-nav:hover {
  background: var(--gold);
  color: var(--bg);
}

.calendario-mes {
  font-weight: 600;
  color: var(--gold-soft);
  font-size: 1.1rem;
  min-width: 150px;
  text-align: center;
}

.calendario-dias-semana {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 0.75rem;
  font-weight: 600;
  color: var(--gold-soft);
  font-size: 0.85rem;
  text-align: center;
}

.calendario-dias-semana div {
  padding: 0.5rem 0;
}

.calendario-dias {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.calendario-dia {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.95rem;
  color: var(--text);
  transition: all 0.2s ease;
}

.calendario-dia:hover {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
  font-weight: 600;
}

.calendario-dia-vazio {
  aspect-ratio: 1;
}

/* ===== Responsivo ===== */
@media (max-width: 640px) {
  .site-header { padding: 1rem; }
  .container { padding: 1.5rem 1rem 3rem; }
  .prevision, .card { padding: 1.25rem; }
  .prev-header h1 { font-size: 1.45rem; }
  .sig-link .nm { display: none; }
  .sig-link { padding: 0.4rem 0.55rem; }
  .sig-link .sym { font-size: 1.2rem; }

  /* Calendário em mobile */
  .calendario-btn {
    bottom: 1rem;
    right: 1rem;
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
  }

  .calendario-panel {
    width: 100%;
    right: -100%;
  }

  .calendario-panel-header {
    padding: 1rem;
  }

  .calendario-widget {
    padding: 1rem;
  }
}

/* ===== Arcano de Síntese ===== */
.arcano-sintese-box {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 1rem;
  background: var(--surface-2);
  border: 1px solid var(--gold);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
}

.arcano-sintese-img {
  width: 104px;
  flex-shrink: 0;
  border-radius: 4px;
  object-fit: cover;
}

.arcano-sintese-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.arcano-sintese-label {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.arcano-sintese-soma {
  font-size: 0.8rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.arcano-sintese-nome {
  font-size: 1.15rem;
  color: var(--text);
}

.arcano-sintese-chave {
  font-size: 0.85rem;
  color: var(--muted);
  font-style: italic;
}

.arcano-sintese-elem {
  font-size: 0.82rem;
  color: var(--text-2, var(--muted));
}

.arcano-sintese-sig {
  font-size: 0.8rem;
}
