/* =========================================================
   VX Protection — estilos
   ========================================================= */
:root {
  --bg: #0a0a0a;
  --bg-2: #111111;
  --surface: #161616;
  --surface-2: #1d1d1d;
  --line: rgba(212, 165, 55, 0.22);
  --line-soft: rgba(255, 255, 255, 0.08);
  --gold: #d4a537;
  --gold-light: #f2d27a;
  --gold-dark: #9a7420;
  --gold-grad: linear-gradient(135deg, #9a7420 0%, #f2d27a 35%, #d4a537 55%, #fff1c1 75%, #b8892a 100%);
  --text: #f4f1ea;
  --muted: #a9a49a;
  --ok: #4cc38a;
  --warn: #e7b84a;
  --err: #ef6a5b;
  --radius: 14px;
  --maxw: 1180px;
  --font-display: "Rajdhani", "Montserrat", system-ui, sans-serif;
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-light); text-decoration: none; }
a:hover { color: #fff; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.1; margin: 0 0 .5em; letter-spacing: .02em; }
h1 { font-size: clamp(2.3rem, 5.5vw, 4.3rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); font-weight: 700; }
h3 { font-size: 1.35rem; font-weight: 700; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.gold-text {
  background: var(--gold-grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .78rem; letter-spacing: .32em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 14px; font-weight: 600;
}
.eyebrow::before { content: ""; width: 32px; height: 1px; background: var(--gold); }
.lead { color: var(--muted); font-size: 1.08rem; max-width: 640px; }
.muted { color: var(--muted); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Hex pattern background */
.hex-bg {
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse at 70% 20%, rgba(212,165,55,.13), transparent 55%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='98' viewBox='0 0 56 98'%3E%3Cpath d='M28 66L0 50V16L28 0l28 16v34L28 66zm0 32L0 82V66l28 16 28-16v16L28 98z' fill='none' stroke='%23d4a537' stroke-opacity='0.07' stroke-width='1'/%3E%3C/svg%3E");
}

/* Buttons */
.btn {
  --h: 50px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 26px;
  font-family: var(--font); font-weight: 700; font-size: .88rem; letter-spacing: .12em; text-transform: uppercase;
  border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s;
  text-align: center; line-height: 1.2;
}
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--gold-grad); background-size: 160% 160%; color: #141008; box-shadow: 0 8px 30px rgba(212,165,55,.25); }
.btn-gold:hover { color: #000; box-shadow: 0 10px 38px rgba(212,165,55,.42); background-position: 100% 0; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-light); }
.btn-sm { --h: 40px; padding: 0 18px; font-size: .76rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: wait; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,10,10,.82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); }
.brand img { height: 46px; width: auto; }
.brand span { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; letter-spacing: .22em; }
.brand small { display: block; font-family: var(--font); font-size: .58rem; letter-spacing: .38em; color: var(--gold); font-weight: 600; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--muted); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.nav-links a:hover, .nav-links a.active { color: var(--gold-light); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; color: var(--text); width: 44px; height: 44px; cursor: pointer; }
.nav-toggle svg { margin: auto; }

@media (max-width: 920px) {
  .nav-toggle { display: grid; }
  .nav-links {
    position: absolute; top: 74px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #0d0d0d; border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .nav-links.open { max-height: 480px; }
  .nav-links li { border-top: 1px solid var(--line-soft); }
  .nav-links a { display: block; padding: 16px 20px; }
  .nav-links .btn { margin: 14px 20px 18px; display: flex; }
}

/* Hero */
.hero { position: relative; padding: 90px 0 110px; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; left: -10%; right: -10%; bottom: 0; height: 4px;
  background: var(--gold-grad); transform: skewX(-30deg); opacity: .9;
}
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 50px; align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero .lead { font-size: 1.15rem; margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 38px; color: var(--muted); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; }
.hero-tags span { display: inline-flex; align-items: center; gap: 8px; }
.hero-tags span::before { content: ""; width: 7px; height: 7px; transform: rotate(45deg); background: var(--gold); }
.hero-logo { position: relative; display: grid; place-items: center; }
.hero-logo::before {
  content: ""; position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(242,210,122,.30), rgba(212,165,55,.06) 55%, transparent 70%);
  filter: blur(10px); animation: pulse 5s ease-in-out infinite;
}
.hero-logo img { position: relative; width: min(380px, 80%); filter: drop-shadow(0 18px 40px rgba(0,0,0,.6)); }
@keyframes pulse { 0%,100% { opacity: .75; transform: scale(1); } 50% { opacity: 1; transform: scale(1.06); } }
@media (prefers-reduced-motion: reduce) { .hero-logo::before { animation: none; } html { scroll-behavior: auto; } }

@media (max-width: 860px) {
  .hero { padding: 50px 0 80px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-logo { order: -1; }
  .hero-logo img { width: 190px; }
}

/* Sections */
section { padding: 96px 0; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.section-head { margin-bottom: 52px; }
@media (max-width: 640px) { section { padding: 70px 0; } .section-head { margin-bottom: 36px; } }

/* Product cards */
.products { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 22px; }
.product {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--surface) 0%, #101010 100%);
  border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 30px 26px 26px; display: flex; flex-direction: column;
  transition: border-color .25s, transform .25s;
}
.product::before {
  content: ""; position: absolute; top: 0; right: 0; width: 120px; height: 46px;
  background: var(--gold-grad); clip-path: polygon(28% 0, 100% 0, 100% 100%, 0 100%);
  opacity: .9;
}
.product:hover { border-color: var(--line); transform: translateY(-3px); }
.product .tag {
  position: absolute; top: 13px; right: 14px; font-size: .64rem; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; color: #161208;
}
.product .kicker { font-size: .72rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin: 16px 0 6px; }
.product h3 { font-size: 1.55rem; margin-bottom: 4px; }
.product .sub { font-size: .78rem; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.product p { color: var(--muted); font-size: .94rem; }
.product ul { list-style: none; padding: 0; margin: auto 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.product li { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--gold-light); }
.product.soon { border-style: dashed; }
.product.soon::before { background: #2a2a2a; }
.product.soon .tag { color: var(--muted); }

/* Feature grid */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; }
.feature { padding: 34px 26px; border-right: 1px solid var(--line-soft); background: var(--surface); }
.feature:last-child { border-right: 0; }
.feature .ico { width: 54px; height: 54px; margin-bottom: 18px; color: var(--gold); }
.feature h3 { font-size: 1.2rem; }
.feature p { color: var(--muted); font-size: .92rem; margin: 0; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; } .feature:nth-child(2) { border-right: 0; } .feature:nth-child(-n+2) { border-bottom: 1px solid var(--line-soft); } }
@media (max-width: 520px) { .features { grid-template-columns: 1fr; } .feature { border-right: 0; border-bottom: 1px solid var(--line-soft); } .feature:last-child { border-bottom: 0; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 40px; } }

/* Warranty card mock */
.card-mock {
  position: relative; width: min(300px, 80%); aspect-ratio: 55 / 88; margin: 0 auto;
  border-radius: 18px; background: #0c0c0c; border: 1px solid #262626;
  box-shadow: 0 40px 80px rgba(0,0,0,.65), 0 0 0 1px rgba(212,165,55,.08);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 28px; overflow: hidden; transform: rotate(-4deg);
}
.card-mock::before, .card-mock::after { content: ""; position: absolute; width: 160px; height: 16px; background: var(--gold-grad); }
.card-mock::before { top: 34px; left: -40px; transform: rotate(-45deg); }
.card-mock::after { bottom: 34px; right: -40px; transform: rotate(-45deg); }
.card-mock img { width: 46%; margin-bottom: 18px; }
.card-mock .t { font-size: .8rem; letter-spacing: .38em; color: var(--gold); line-height: 1.8; }
.card-mock .l { width: 40px; height: 1px; background: var(--gold); margin: 14px auto; }
.card-mock .s { font-size: .58rem; letter-spacing: .32em; color: var(--gold-dark); line-height: 1.9; }

.steps { list-style: none; counter-reset: s; padding: 0; margin: 30px 0 34px; display: grid; gap: 18px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 50px 1fr; gap: 16px; align-items: start; }
.steps li::before {
  content: counter(s); display: grid; place-items: center; width: 50px; height: 50px;
  font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; color: var(--gold);
  border: 1px solid var(--line); clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
  background: rgba(212,165,55,.07);
}
.steps strong { display: block; font-size: 1.02rem; }
.steps span { color: var(--muted); font-size: .93rem; }

/* Dealer */
.dealer { position: relative; border: 1px solid var(--line); border-radius: 22px; padding: 56px; overflow: hidden; background: linear-gradient(135deg, #15120a 0%, #0d0d0d 60%); }
.dealer::after { content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border: 1px solid var(--line); transform: rotate(45deg); }
.dealer-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; position: relative; z-index: 1; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: var(--gold-grad); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 0a10 10 0 100 20 10 10 0 000-20zm-1.4 14.2L4.4 10l1.4-1.4 2.8 2.8 5.6-5.6 1.4 1.4-7 7z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 0a10 10 0 100 20 10 10 0 000-20zm-1.4 14.2L4.4 10l1.4-1.4 2.8 2.8 5.6-5.6 1.4 1.4-7 7z'/%3E%3C/svg%3E") center/contain no-repeat; }
@media (max-width: 860px) { .dealer { padding: 36px 22px; } .dealer-grid { grid-template-columns: 1fr; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-item { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 6px; color: var(--text); transition: border-color .2s; }
.contact-item:hover { border-color: var(--line); color: var(--text); }
.contact-item .ico { width: 30px; height: 30px; color: var(--gold); margin-bottom: 8px; }
.contact-item small { color: var(--muted); letter-spacing: .2em; text-transform: uppercase; font-size: .7rem; }
.contact-item strong { font-size: 1.05rem; word-break: break-word; }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { border-top: 1px solid var(--line-soft); padding: 46px 0 34px; background: #070707; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 30px; justify-content: space-between; align-items: center; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; font-size: .84rem; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--gold-light); }
.copy { margin-top: 26px; color: #6b675f; font-size: .78rem; }

/* WhatsApp float */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.45); }
.wa-float:hover { color: #fff; transform: scale(1.05); }

/* ===================== Forms / Garantia ===================== */
.page-hero { padding: 64px 0 44px; border-bottom: 1px solid var(--line-soft); }
.page-hero h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
.panel { background: var(--surface); border: 1px solid var(--line-soft); border-radius: 18px; padding: 34px; }
@media (max-width: 600px) { .panel { padding: 22px 18px; border-radius: 14px; } }
.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.choice button {
  text-align: left; cursor: pointer; color: var(--text); font: inherit;
  background: linear-gradient(180deg, var(--surface) 0%, #0f0f0f 100%);
  border: 1px solid var(--line-soft); border-radius: 18px; padding: 30px 26px; transition: border-color .2s, transform .2s;
  display: flex; flex-direction: column; gap: 10px;
}
.choice button:hover, .choice button:focus-visible { border-color: var(--gold); transform: translateY(-2px); outline: none; }
.choice .ico { width: 46px; height: 46px; color: var(--gold); }
.choice h3 { margin: 6px 0 0; font-size: 1.5rem; }
.choice p { color: var(--muted); margin: 0; font-size: .94rem; }
.choice .go { margin-top: 8px; color: var(--gold-light); font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; }
@media (max-width: 680px) { .choice { grid-template-columns: 1fr; } }

.back { display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; color: var(--muted); cursor: pointer; font: inherit; font-size: .84rem; letter-spacing: .1em; text-transform: uppercase; padding: 0; margin-bottom: 22px; }
.back:hover { color: var(--gold-light); }

fieldset { border: 0; margin: 0 0 30px; padding: 0; }
legend { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; letter-spacing: .04em; margin-bottom: 18px; display: flex; align-items: center; gap: 12px; width: 100%; }
legend::after { content: ""; flex: 1; height: 1px; background: var(--line); }
legend .n { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--gold-grad); color: #141008; font-size: .95rem; }
.grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px 18px; }
.col-12 { grid-column: span 12; } .col-8 { grid-column: span 8; } .col-6 { grid-column: span 6; }
.col-4 { grid-column: span 4; } .col-3 { grid-column: span 3; } .col-2 { grid-column: span 2; }
@media (max-width: 720px) { .col-8, .col-6, .col-4 { grid-column: span 12; } .col-3, .col-2 { grid-column: span 6; } }

.field label { display: block; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 7px; font-weight: 600; }
.field label .req { color: var(--gold); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  background: #0d0d0d; color: var(--text); border: 1px solid #2c2c2c; border-radius: 10px;
  font: inherit; font-size: 16px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 90px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23d4a537' stroke-width='2' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212,165,55,.18); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--err); }
.field .hint { font-size: .78rem; color: #77736b; margin-top: 6px; }
.field .error { font-size: .8rem; color: var(--err); margin-top: 6px; display: none; }
.field.has-error .error { display: block; }
.field.has-error input, .field.has-error select { border-color: var(--err); }

.seg { display: inline-flex; background: #0d0d0d; border: 1px solid #2c2c2c; border-radius: 999px; padding: 4px; gap: 4px; flex-wrap: wrap; }
.seg { position: relative; }
.seg input, .chips input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.seg label { padding: 10px 20px; border-radius: 999px; cursor: pointer; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin: 0; }
.seg input:checked + label { background: var(--gold-grad); color: #141008; }
.seg input:focus-visible + label { outline: 2px solid var(--gold); outline-offset: 2px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; position: relative; }
.chips label { padding: 9px 14px; border: 1px solid #2c2c2c; border-radius: 999px; cursor: pointer; font-size: .84rem; color: var(--muted); margin: 0; letter-spacing: 0; text-transform: none; font-weight: 500; transition: all .15s; }
.chips input:checked + label { border-color: var(--gold); color: var(--gold-light); background: rgba(212,165,55,.1); }
.chips input:focus-visible + label { outline: 2px solid var(--gold); outline-offset: 2px; }

.check { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--muted); cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--gold); flex: none; margin-top: 2px; }

.alert { border-radius: 12px; padding: 14px 16px; font-size: .92rem; margin-bottom: 20px; border: 1px solid; }
.alert-err { border-color: rgba(239,106,91,.4); background: rgba(239,106,91,.08); color: #ffb3a9; }
.alert-info { border-color: var(--line); background: rgba(212,165,55,.07); color: var(--gold-light); }
.demo-bar { background: repeating-linear-gradient(-45deg, #2a2108, #2a2108 12px, #231c06 12px, #231c06 24px); color: var(--gold-light); text-align: center; font-size: .8rem; padding: 8px 16px; letter-spacing: .04em; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Result */
.success { text-align: center; }
.success .seal { display: block; width: 86px; height: 86px; margin: 0 auto 18px; color: var(--gold); }
.code-box { display: inline-block; font-family: var(--font-display); font-size: clamp(2rem, 7vw, 2.8rem); font-weight: 700; letter-spacing: .12em; padding: 14px 28px; border: 1px dashed var(--gold); border-radius: 14px; margin: 8px 0 18px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 24px; }

.w-card { border: 1px solid var(--line-soft); border-radius: 16px; overflow: hidden; margin-bottom: 18px; background: #101010; }
.w-card header { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 18px 22px; background: var(--surface-2); border-bottom: 1px solid var(--line-soft); }
.w-card header .c { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; letter-spacing: .08em; }
.w-card dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px 24px; margin: 0; padding: 22px; }
.w-card dt { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.w-card dd { margin: 3px 0 0; font-weight: 600; }
.w-card .activate { border-top: 1px solid var(--line-soft); padding: 22px; background: rgba(212,165,55,.04); }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; border: 1px solid; }
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge-ativa { color: var(--ok); border-color: rgba(76,195,138,.4); background: rgba(76,195,138,.08); }
.badge-registrada { color: var(--warn); border-color: rgba(231,184,74,.4); background: rgba(231,184,74,.08); }
.badge-cancelada, .badge-expirada { color: var(--err); border-color: rgba(239,106,91,.4); background: rgba(239,106,91,.08); }

/* ===================== Admin ===================== */
.admin-wrap { padding: 36px 0 80px; }
.login-box { max-width: 420px; margin: 70px auto; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 26px; }
.stat { background: var(--surface); border: 1px solid var(--line-soft); border-radius: 14px; padding: 18px 20px; }
.stat small { color: var(--muted); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; }
.stat strong { display: block; font-family: var(--font-display); font-size: 2.2rem; line-height: 1.1; margin-top: 4px; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } }
.toolbar { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; align-items: flex-end; }
.toolbar .field { flex: 1 1 200px; }
.toolbar .field:first-child { flex: 2 1 260px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line-soft); border-radius: 14px; }
table { width: 100%; border-collapse: collapse; font-size: .88rem; }
th, td { text-align: left; padding: 13px 14px; border-bottom: 1px solid var(--line-soft); white-space: nowrap; }
th { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); background: var(--surface); position: sticky; top: 0; }
tbody tr { cursor: pointer; }
tbody tr:hover { background: rgba(212,165,55,.05); }
td.code { font-family: var(--font-display); font-weight: 700; letter-spacing: .06em; font-size: 1rem; }
.empty { padding: 50px 20px; text-align: center; color: var(--muted); }

dialog { width: min(760px, calc(100vw - 24px)); max-height: calc(100vh - 40px); background: var(--bg-2); color: var(--text); border: 1px solid var(--line); border-radius: 18px; padding: 0; }
dialog::backdrop { background: rgba(0,0,0,.72); backdrop-filter: blur(3px); }
dialog .d-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--line-soft); position: sticky; top: 0; background: var(--bg-2); }
dialog .d-body { padding: 22px; }
dialog h4 { font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin: 18px 0 10px; font-family: var(--font); }
dialog h4:first-child { margin-top: 0; }
dialog dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px 20px; margin: 0; }
dialog dt { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
dialog dd { margin: 2px 0 0; word-break: break-word; }
.icon-btn { background: none; border: 1px solid var(--line-soft); color: var(--text); width: 40px; height: 40px; border-radius: 10px; cursor: pointer; font-size: 1.2rem; }
.icon-btn:hover { border-color: var(--gold); }

/* Legal pages */
.legal { max-width: 820px; }
.legal h2 { font-size: 1.5rem; margin-top: 2em; }
.legal p, .legal li { color: #cfcac0; }

/* Botão dourado dentro do menu mantém texto escuro */
.nav-links a.btn-gold { color: #141008; }
.nav-links a.btn-gold:hover { color: #000; }
