/* Tokens originais do site */
:root {
  --gold: #D4AF37;
  --gold-dark: #B8860B;
  --gold-light: #F0C040;
  --gold-dim: rgba(212,175,55,.12);
  --gold-border: rgba(212,175,55,.25);
  --preto: #0D0D0D;
  --cinza1: #141414;
  --cinza2: #1C1C1C;
  --cinza3: #252525;
  --texto: #FFFFFF;
  --texto2: #BBBBBB;
  --texto3: #777777;
  --grad: linear-gradient(135deg, #F0C040 0%, #D4AF37 45%, #B8860B 100%);
  --success: #22C55E;
  --danger: #DC2626;
  --blue: #60A5FA;
  --blue-bg: rgba(96,165,250,.12);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: Montserrat, sans-serif; background: var(--preto); color: var(--texto); line-height: 1.6; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
.container { width: min(1120px, 92vw); margin: 0 auto; }
.hidden { display: none !important; }

nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 56px; height: 80px;
  background: rgba(13,13,13,.95); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gold-border);
}
.nav-logo { display: flex; align-items: center; gap: 16px; text-decoration: none; }
.logo-icon-img { height: 48px; width: auto; display: block; object-fit: contain; }
.logo-wordmark { font-size: 28px; font-weight: 700; letter-spacing: -1px; line-height: 1; }
.logo-wordmark .about { color: var(--texto); }
.logo-wordmark .data {
  background: linear-gradient(180deg, #FFF4B8 0%, #F0C040 20%, #D4AF37 50%, #B8860B 80%, #8B6914 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a { color: var(--texto2); font-size: 14px; font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--gold); }
.btn-nav, .btn-primary {
  background: var(--grad); color: #000 !important; padding: 10px 22px; border-radius: 6px;
  font-weight: 600; font-size: 13px; border: 0; cursor: pointer; font-family: inherit;
}
.btn-secondary {
  background: transparent; border: 1px solid var(--gold); color: var(--gold);
  padding: 10px 22px; border-radius: 6px; font-weight: 600; font-size: 13px; cursor: pointer; font-family: inherit;
}
.btn-block { width: 100%; }
.btn:disabled, .btn-primary:disabled { opacity: .45; cursor: not-allowed; }
.menu-toggle { display: none; background: none; border: 0; color: var(--texto); font-size: 24px; cursor: pointer; }

.hero {
  min-height: auto; display: flex; align-items: center; position: relative;
  padding: 96px 56px 48px; overflow: hidden;
}
#particles { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-inner {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center;
  gap: 28px; width: min(720px, 92vw); margin: 0 auto;
  text-align: center;
}
.hero-visual { display: flex; justify-content: center; width: 100%; }
.hero-copy { width: 100%; }
.hero-copy h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); line-height: 1.12; margin-bottom: 16px; }
.hero-copy h1 span { color: var(--gold); }
.hero-copy .lead { color: var(--texto2); margin: 0 auto 28px; max-width: 52ch; }
.hero-copy .eyebrow { color: var(--gold); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: 12px; margin-bottom: 12px; }
.hero-a-img { width: min(180px, 45vw); margin: 0 auto; display: block; filter: drop-shadow(0 0 40px rgba(212,175,55,.28)); }

.placa-box { background: var(--cinza1); border: 1px solid var(--gold-border); border-radius: 16px; padding: 24px; margin-top: 8px; }
.placa-box label { display: block; font-size: 13px; color: var(--texto3); margin-bottom: 8px; }
.placa-row { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.placa-box input { width: 100%; background: var(--preto); border: 1px solid var(--cinza3); color: var(--texto); border-radius: 8px; padding: 14px 16px; font-size: 20px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; font-family: inherit; }
.modal-panel input { width: 100%; background: var(--preto); border: 1px solid var(--cinza3); color: var(--texto); border-radius: 8px; padding: 11px 14px; font-size: 14px; font-weight: 500; letter-spacing: normal; text-transform: none; font-family: inherit; }
.modal-panel input#checkout-placa { font-size: 16px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; }
.placa-counter { color: var(--texto3); font-size: 13px; white-space: nowrap; }
.placa-badge { font-size: 13px; font-weight: 600; padding: 8px 12px; border-radius: 8px; margin-bottom: 12px; }
.placa-badge.ok-antigo { background: rgba(34,197,94,.12); color: var(--success); }
.placa-badge.ok-mercosul { background: var(--blue-bg); color: var(--blue); }
.placa-badge.err { background: rgba(220,38,38,.12); color: var(--danger); }

.section { padding: 80px 0; }
.section-alt { background: var(--cinza1); border-block: 1px solid var(--cinza2); }
.section h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); margin-bottom: 12px; font-weight: 600; }
.section-sub { color: var(--texto2); margin-bottom: 32px; max-width: 640px; }

.resultado { padding: 56px 0; background: var(--gold-dim); border-block: 1px solid var(--gold-border); }
.resultado-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin: 24px 0; }
.resultado-grid div { background: var(--cinza1); border: 1px solid var(--cinza3); border-radius: 12px; padding: 16px; }
.resultado-grid dt { font-size: 12px; color: var(--texto3); margin-bottom: 4px; }
.resultado-grid dd { font-weight: 600; }
.resultado-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.card { background: var(--cinza1); border: 1px solid var(--gold-border); border-radius: 16px; padding: 24px; position: relative; }
.card-featured { border-color: var(--gold); box-shadow: 0 0 32px rgba(212,175,55,.12); }
.card-tag { position: absolute; top: 16px; right: 16px; background: var(--grad); color: #000; font-size: 11px; font-weight: 700; padding: 4px 8px; border-radius: 999px; }
.card h3, .card h4 { margin-bottom: 8px; }
.card p { color: var(--texto2); font-size: 14px; margin-bottom: 16px; }
.card-price { font-size: 1.75rem; font-weight: 800; color: var(--gold-light); margin-bottom: 16px; }
.card-small i { font-size: 28px; color: var(--gold); margin-bottom: 12px; display: block; }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; margin-top: 32px; }
.step span { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border-radius: 50%; background: var(--gold-dim); color: var(--gold); font-weight: 700; margin-bottom: 12px; }
.step p { color: var(--texto2); font-size: 14px; }
.empresas-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 32px; }

.footer { padding: 48px 56px; border-top: 1px solid var(--cinza2); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; }
.footer-logo { display: flex; align-items: center; gap: 14px; }
.footer-recaptcha { color: var(--texto3); font-size: 10px; width: 100%; text-align: center; margin-top: 4px; opacity: .55; }
.footer-recaptcha a { color: inherit; text-decoration: none; }
.footer-copy { color: var(--texto3); font-size: 13px; width: 100%; text-align: center; margin-top: 16px; }

.modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 24px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.7); z-index: 1; }
.modal-panel { position: relative; z-index: 2; background: var(--cinza1); border: 1px solid var(--cinza3); border-radius: 16px; padding: 24px; width: min(440px, 100%); max-height: 90vh; overflow: auto; }
.modal-close { position: absolute; top: 8px; right: 8px; z-index: 5; background: var(--cinza2); border: 0; color: var(--texto); font-size: 20px; cursor: pointer; width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.modal-panel label { display: grid; gap: 6px; margin-bottom: 12px; font-size: 13px; color: var(--texto3); }
.modal-pix { margin-top: 16px; display: grid; gap: 12px; }
.modal-pix img { max-width: 220px; margin: 0 auto; background: #fff; padding: 8px; border-radius: 8px; }
.modal-pix code#pix-copia { user-select: all; cursor: text; }
.modal-pix code { word-break: break-all; font-size: 11px; background: var(--preto); padding: 12px; border-radius: 8px; color: var(--texto2); }
.modal-pix-timer { color: var(--gold); font-weight: 600; }

@media (max-width: 900px) {
  nav { padding: 0 24px; }
  .hero { padding: 120px 24px 64px; }
  .menu-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: var(--cinza1); padding: 16px; border-bottom: 1px solid var(--cinza3); }
  .nav-links.open { display: flex; }
}

/* reCAPTCHA v3 — badge oculto (aviso no footer, conforme Google) */
.grecaptcha-badge,
iframe[title="reCAPTCHA"],
iframe[src*="recaptcha"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  position: fixed !important;
  left: -9999px !important;
  bottom: 0 !important;
}

.modal-pix-status { font-size: 13px; color: var(--texto2); text-align: center; min-height: 1.2em; margin-top: 8px; }
.modal-pix-status.err { color: var(--danger); }
.modal-pix-status.ok { color: var(--success); }
#pix-confirmar { margin-top: 8px; }
