*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --gold:       #c9a84c;
  --gold-light: #e8c96a;
  --gold-dim:   #8a6d28;
  --dark:       #0f0f0f;
  --surface:    #1c1c1c;
  --surface2:   #242424;
  --border:     rgba(255, 255, 255, 0.08);
  --text:       #f0ede5;
  --text2:      #b8b0a0;
  --text-muted: #8f8778;
  --green:      #25d366;
  --r-md:       14px;
  --r-lg:       20px;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--dark);
  color: var(--text);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(24px, env(safe-area-inset-top)) 16px max(24px, env(safe-area-inset-bottom));
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.bg-glow-1 {
  width: 280px;
  height: 280px;
  background: rgba(201, 168, 76, 0.15);
  top: -80px;
  right: -60px;
}

.bg-glow-2 {
  width: 220px;
  height: 220px;
  background: rgba(201, 168, 76, 0.08);
  bottom: -40px;
  left: -40px;
}

.page {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  text-align: center;
}

.brand {
  margin-bottom: 28px;
}

.logo {
  display: block;
  width: min(220px, 72vw);
  max-height: 110px;
  height: auto;
  object-fit: contain;
  margin: 0 auto 16px;
}

.brand.has-logo .brand-name {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.brand-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.02em;
}

.brand-sub {
  margin-top: 6px;
  font-size: 0.8rem;
  color: var(--text2);
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 22px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(201, 168, 76, 0.12);
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: 999px;
  margin-bottom: 20px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 1.8s ease-in-out infinite;
}

.status-text {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-light);
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.card h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.35rem, 4.5vw, 1.5rem);
  font-weight: 500;
  line-height: 1.35;
  margin-bottom: 14px;
}

.lead {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text2);
  margin-bottom: 10px;
}

.note {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.progress-wrap {
  margin-top: 24px;
  height: 4px;
  background: var(--surface2);
  border-radius: 999px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-dim), var(--gold), var(--gold-light));
  border-radius: 999px;
  transition: width 0.3s ease;
}

.contact {
  margin-top: 24px;
}

.contact-label {
  font-size: 0.8rem;
  color: var(--text2);
  margin-bottom: 14px;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 20px;
  background: var(--green);
  color: #fff !important;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--r-md);
  border: none;
  cursor: pointer;
  transition: transform 0.15s, filter 0.15s;
  -webkit-tap-highlight-color: transparent;
}

.btn-whatsapp:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.btn-whatsapp:active {
  transform: scale(0.98);
}

.btn-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
  padding: 10px 14px;
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--text2) !important;
  text-decoration: none;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  transition: color 0.15s, border-color 0.15s, background 0.15s;
  -webkit-tap-highlight-color: transparent;
}

.btn-link svg {
  flex-shrink: 0;
  color: var(--gold);
}

.btn-link:hover,
.btn-link:focus-visible {
  color: var(--gold-light) !important;
  border-color: rgba(201, 168, 76, 0.35);
  background: rgba(201, 168, 76, 0.08);
}

.btn-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.footer {
  margin-top: 28px;
}

.footer p {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: capitalize;
}

.page.is-ready .card {
  animation: fadeUp 0.6s ease both;
}

.page.is-ready .contact {
  animation: fadeUp 0.6s ease 0.15s both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 360px) {
  .card {
    padding: 22px 16px;
  }

  .logo {
    max-height: 96px;
  }
}
