/* ─── Reset ──────────────────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ─── Variáveis ──────────────────────────────────────────────────────────── */
:root {
  --gold:         #D4A000;
  --gold-hover:   #E8B400;
  --gold-dim:     rgba(212, 160, 0, 0.08);
  --gold-border:  rgba(212, 160, 0, 0.20);
  --gold-glow:    rgba(212, 160, 0, 0.18);
  --bg:           #09090B;
  --card-bg:      #111113;
  --card-border:  rgba(212, 160, 0, 0.16);
  --white:        #EFEFEF;
  --gray:         #888;
  --muted:        #555;
  --font:         'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --card-radius:  20px;
  --btn-radius:   12px;
}

/* ─── Base ───────────────────────────────────────────────────────────────── */
html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--white);
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 20px;
  position: relative;
  overflow-x: hidden;
}

/* ─── Glow de fundo ──────────────────────────────────────────────────────── */
.bg-glow {
  position: fixed;
  top: -160px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse at 50% 0%, rgba(212, 160, 0, 0.09) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

/* ─── Wrapper externo ────────────────────────────────────────────────────── */
.wrapper {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

/* ─── Marca ──────────────────────────────────────────────────────────────── */
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeDown 0.45s ease 0.05s forwards;
}

.brand-diamond {
  font-size: 14px;
  color: var(--gold);
  line-height: 1;
}

.brand-name {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray);
}

/* ─── Card ───────────────────────────────────────────────────────────────── */
.card {
  width: 100%;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--card-radius);
  padding: 48px 44px 44px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03),
    0 8px 48px rgba(0, 0, 0, 0.55),
    0 0 80px var(--gold-glow);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
  opacity: 0;
  animation: fadeUp 0.55s ease 0.15s forwards;
}

/* ─── Selo ───────────────────────────────────────────────────────────────── */
.seal {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 14px 5px 10px;
  border-radius: 100px;
  border: 1px solid var(--gold-border);
  background: var(--gold-dim);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 32px;
}

.seal-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.35; }
}

/* ─── Título ─────────────────────────────────────────────────────────────── */
.title {
  font-size: clamp(28px, 5.5vw, 40px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 16px;
}

/* ─── Subtítulo ──────────────────────────────────────────────────────────── */
.subtitle {
  font-size: clamp(14px, 2.6vw, 16px);
  font-weight: 400;
  line-height: 1.65;
  color: var(--gold);
  max-width: 400px;
  margin-bottom: 28px;
}

/* ─── Divisor ────────────────────────────────────────────────────────────── */
.divider {
  width: 36px;
  height: 1px;
  background: var(--gold-border);
  margin-bottom: 24px;
  flex-shrink: 0;
}

/* ─── Corpo ──────────────────────────────────────────────────────────────── */
.body {
  font-size: clamp(13px, 2.2vw, 15px);
  font-weight: 400;
  line-height: 1.75;
  color: var(--gray);
  max-width: 400px;
}

.body + .body {
  margin-top: 12px;
  margin-bottom: 36px;
}

/* ─── Botão ──────────────────────────────────────────────────────────────── */
.btn {
  display: block;
  width: 100%;
  padding: 16px 20px;
  border-radius: var(--btn-radius);
  background: var(--gold);
  color: #08080A;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-align: center;
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
  transition:
    background  0.2s ease,
    transform   0.18s ease,
    box-shadow  0.2s ease;
  box-shadow: 0 2px 20px rgba(212, 160, 0, 0.30);
  -webkit-tap-highlight-color: transparent;
  margin-bottom: 18px;
}

/* brilho interno */
.btn::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(to bottom, rgba(255,255,255,0.13), transparent);
  pointer-events: none;
  border-radius: var(--btn-radius) var(--btn-radius) 0 0;
}

.btn:hover {
  background: var(--gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 32px rgba(212, 160, 0, 0.45);
}

.btn:active {
  transform: translateY(0);
  box-shadow: 0 1px 12px rgba(212, 160, 0, 0.25);
}

/* ─── Segurança ──────────────────────────────────────────────────────────── */
.security {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--muted);
  max-width: 340px;
}

/* ─── Rodapé ─────────────────────────────────────────────────────────────── */
.footer {
  opacity: 0;
  animation: fadeIn 0.4s ease 0.5s forwards;
}

.footer p {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ─── Animações ──────────────────────────────────────────────────────────── */
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ─── Mobile ─────────────────────────────────────────────────────────────── */
@media (max-width: 520px) {
  body {
    padding: 36px 16px;
    align-items: flex-start;
  }

  .wrapper {
    gap: 24px;
  }

  .card {
    padding: 36px 24px 32px;
  }

  .title {
    font-size: 27px;
  }
}

/* ─── Acessibilidade: sem animações ──────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
  .brand, .card, .footer {
    opacity: 1;
  }
}
