:root {
  --bg:#0b132b;
  --fg:#e8eaed;
  --muted:#9aa0a6;
  --accent:#4fd1c5;
}

/* Reset simples */
* {
  box-sizing: border-box;
}
html, body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", Arial, sans-serif;
  background: #fff;
  color: #111;
}

/* Header */
header {
  background: transparent;
  color: var(--fg);
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

/* Faixa do LOGO (ocupando largura inteira) */
.logo-band {
  width: 100%;
  padding: 24px 16px;        /* espaço em cima/baixo */
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;          /* fundo preto atrás da arte */
}

/* Imagem do topo (galáxia + logo) */
.logo-band img {
  width: min(100%, 280px);   /* ocupa a largura, mas no máx. 900px */
  height: 5;              /* altura vem da proporção da imagem */
  display: block;
}


/* Barra de navegação (tarja preta) */
header nav {
  background: var(--bg);
  padding: 8px 16px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
}
header nav a {
  color: var(--fg);
  text-decoration: none;
  font-weight: 600;
}
header nav a:hover {
  text-decoration: underline;
}

/* Layout geral */
.container {
  max-width: 980px;
  margin: 0 auto;
  padding: 24px 16px;
}

/* Hero de texto (fica abaixo do logo/galáxia) */
.hero {
  padding: 32px 0;
}
.hero h1 {
  margin: 0 0 8px 0;
  font-size: 32px;
}
.hero p {
  margin: 0;
  color: #444;
}

section h2 {
  margin-top: 32px;
}
.card {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px;
  margin: 12px 0;
}
ul {
  padding-left: 18px;
}
li {
  margin: 6px 0;
}

/* Botão principal (ex: "Quero adquirir o Anjo da Guarda") */
button.btn-link,
a.btn-link {
  display: inline-block;
  margin-top: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--bg);
  color: var(--fg);
  text-decoration: none;
  font-weight: 600;
  border: none;
  cursor: pointer;
}
button.btn-link:hover,
a.btn-link:hover {
  opacity: .9;
}

/* Botão contornado (Cancelar) */
button.btn-outline {
  display: inline-block;
  margin-top: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: #fff;
  color: #111;
  border: 1px solid #d1d5db;
  font-weight: 600;
  cursor: pointer;
}
button.btn-outline:hover {
  background: #f3f4f6;
}

/* Rodapé em 2 colunas */
footer {
  border-top: 1px solid #e5e7eb;
  padding: 16px;
  color: #555;
}
footer .container {
  padding: 0 16px;
}
.footer-wrap {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
}
.footer-support-title {
  margin: 0;
  font-size: 13px;
  color: #444;
  font-weight: 600;
}
.footer-support-info {
  margin: 4px 0 6px;
  font-size: 12px;
  line-height: 1.4;
  color: #667085;
}
.footer-support-info a {
  color: inherit;
  text-decoration: none;
}
.footer-support-info a:hover {
  text-decoration: underline;
}
.legal {
  text-align: right;
}
.footer-legal,
.footer-copy {
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
  color: #667085;
}
.footer-copy {
  margin-top: 4px;
}

/* Botão WhatsApp fixo */
.wa-btn {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: #fff;
  padding: 12px 14px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(0,0,0,.25);
}
.wa-btn svg {
  width: 22px;
  height: 22px;
  display: block;
}
.wa-btn svg path {
  fill: currentColor;
}

/* --------- MODAIS (planos, termos, pagamento) --------- */

.modal {
  position: fixed;
  inset: 0;
  display: none;              /* JS muda para flex ao abrir */
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(15,23,42,.65);
  z-index: 50;
}
.modal-content {
  background: #fff;
  border-radius: 16px;
  max-width: 520px;
  width: 100%;
  box-shadow: 0 24px 60px rgba(15,23,42,.35);
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #e5e7eb;
}
.modal-header h3 {
  margin: 0;
  font-size: 1.1rem;
}
.modal-close {
  background: none;
  border: 0;
  font-size: 1.4rem;
  cursor: pointer;
  color: #6b7280;
}
.modal-body {
  padding: 16px 20px;
  max-height: 70vh;
  overflow: auto;
}
.modal-footer {
  padding: 12px 20px 16px;
  border-top: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* Lista de planos */
.plan-list {
  list-style: none;
  margin: 0;
  padding: 16px 20px 8px;
}
.plan-list li + li {
  margin-top: 8px;
}
.plan-item {
  width: 100%;
  border-radius: 12px;
  background: #f9fafb;
  padding: 10px 14px;
  border: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: .95rem;
}
.plan-item:hover {
  background: #eef2ff;
  border-color: #1d4ed8;
}
.plan-name {
  font-weight: 500;
}
.plan-price {
  font-weight: 600;
}

.modal-footer,
.plan-footnote,
.modal-note,
.card-note {
  margin: 0;
  font-size: .9rem;
  color: #6b7280;
}

/* Termos */
.terms-plan {
  padding: 16px 20px 8px;
  margin: 0;
}
.terms-body {
  padding: 0 20px 12px;
  max-height: 60vh;
  overflow: auto;
  font-size: .95rem;
  line-height: 1.5;
}
.terms-body h4 {
  margin-top: 0;
}
.terms-pdf {
  padding: 0 20px 16px;
}
.terms-pdf a {
  font-size: .9rem;
  text-decoration: none;
  color: #2563eb;
}
.terms-pdf a:hover {
  text-decoration: underline;
}

/* Rodapé de botões nos modais */
.terms-actions {
  padding: 0 20px 16px;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}
.terms-actions button {
  margin: 0;
}

/* Formulário de pagamento */
.card-form {
  padding: 0 20px 16px;
}
.card-form label {
  display: block;
  font-size: .9rem;
  margin-bottom: 8px;
}
.card-form input {
  width: 100%;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  font-size: .95rem;
}
.card-row {
  display: flex;
  gap: 8px;
}
.card-row > label {
  flex: 1;
}

/* Responsivo */
@media (max-width:640px) {
  .hero h1 {
    font-size: 26px;
  }
  .legal {
    text-align: left;
  }
  .modal-content {
    max-width: 100%;
  }
}

/* === OVERRIDE FINAL PARA OS BOTÕES DO ANJO DA GUARDA === */

/* Container dos botões "Cancelar" / "Eu quero" / "Confirmar pagamento" */
.terms-actions{
  display:flex;
  gap:12px;
  justify-content:flex-end;
  flex-wrap:wrap;
}

/* Garante que todos os botões dentro de .terms-actions fiquem alinhados
   e com o mesmo tamanho visual */
.terms-actions button{
  flex:1 0 auto;
  margin:0;
  min-width:140px;
}

/* Botão principal (Quero adquirir o Anjo da Guarda / Eu quero / Confirmar pagamento) */
.btn-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin-top:8px;
  padding:10px 18px;
  border-radius:999px;
  background:#0b132b;
  color:#e8eaed;
  text-decoration:none;
  font-weight:600;
  border:1px solid #0b132b;
  cursor:pointer;
}
.btn-link:hover{
  opacity:.9;
}

/* Botão claro (Cancelar) */
.btn-outline{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin-top:8px;
  padding:10px 18px;
  border-radius:999px;
  background:#fff;
  color:#111;
  border:1px solid #d1d5db;
  font-weight:600;
  cursor:pointer;
}
.btn-outline:hover{
  background:#f3f4f6;
}
