/* Khard — estilos base do site */
@import url("https://fonts.googleapis.com/css2?family=Geist:wght@300;400;500;600;700&family=Geist+Mono:wght@400;500;600&display=swap");

:root {
  --ink: #050505;
  --ink-2: #0d0d0d;
  --ink-3: #161616;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #ededed;
  --muted: #a1a1a1;
  --dim: #5e5e5e;
  --red: #e5332a;
  --red-2: #ef5b3f;
  --red-deep: #a7012b;
  --bone: #f7f2e7;
  --xray: #9fd8dc;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --gutter: clamp(16px, 4vw, 64px);
  --max: 1320px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
:focus-visible { outline: 2px solid var(--red-2); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--red); color: #fff; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--bone); color: #000; padding: 8px 14px; border-radius: 999px; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.label {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--red-2); display: inline-flex; align-items: center; gap: 10px;
}
.label::before { content: ""; width: 6px; height: 6px; background: currentColor; border-radius: 1px; }
.label--muted { color: var(--muted); }
.label--bare::before { display: none; }

/* ---------- Header ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .4s var(--ease), border-color .4s var(--ease), transform .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(5, 5, 5, 0.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__in { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: 0.32em; font-size: 15px; }
.logo svg { width: 22px; height: 22px; }
.nav__links { display: flex; align-items: center; gap: 28px; font-size: 14px; color: var(--muted); }
.nav__links a { position: relative; padding: 22px 0; transition: color .2s; }
.nav__links a:hover, .nav__links a.is-active { color: var(--text); }
.nav__links a.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red); }
.nav__counter { font-family: var(--mono); font-size: 11px; color: var(--muted); border: 1px solid var(--line-2); padding: 4px 8px; border-radius: 999px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: 999px; font-size: 14px; font-weight: 500;
  border: 1px solid var(--line-2); transition: transform .3s var(--ease), background .3s, color .3s, border-color .3s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); border-color: var(--text); }
.btn--solid { background: var(--bone); color: #0a0a0a; border-color: var(--bone); }
.btn--solid:hover { background: #fff; }
.btn--red { background: var(--red); border-color: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-2); border-color: var(--red-2); }
.btn--sm { height: 36px; padding: 0 16px; font-size: 13px; }
.nav__burger { display: none; width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line-2); align-items: center; justify-content: center; }
.nav__burger span { display: block; width: 16px; height: 1.5px; background: var(--text); position: relative; transition: transform .3s; }
.nav__burger span::before, .nav__burger span::after { content: ""; position: absolute; left: 0; width: 16px; height: 1.5px; background: var(--text); transition: transform .3s; }
.nav__burger span::before { top: -5px; } .nav__burger span::after { top: 5px; }
.nav.is-open .nav__burger span { background: transparent; }
.nav.is-open .nav__burger span::before { transform: translateY(5px) rotate(45deg); }
.nav.is-open .nav__burger span::after { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav__burger { display: inline-flex; }
  .nav__counter { display: none; }
  .nav__links {
    position: fixed; inset: 64px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(5,5,5,.97); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 24px;
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s var(--ease);
  }
  .nav.is-open .nav__links { opacity: 1; transform: none; pointer-events: auto; }
  .nav__links a { padding: 14px 0; font-size: 18px; border-bottom: 1px solid var(--line); }
  .nav__links a.is-active::after { display: none; }
  .nav__cta .btn { display: none; }
}

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 64px 0 32px; color: var(--muted); font-size: 14px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.footer h3 { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); margin: 0 0 16px; font-weight: 500; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a:hover { color: var(--text); }
.footer__claim { font-size: clamp(22px, 2.4vw, 30px); color: var(--text); letter-spacing: -0.02em; line-height: 1.15; margin: 18px 0 0; max-width: 18ch; }
.footer__bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.footer__bottom button { text-transform: inherit; letter-spacing: inherit; font-size: inherit; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }

/* ---------- Cookie banner (LGPD + Google Consent Mode v2) ---------- */
.consent {
  position: fixed; z-index: 80; left: 16px; right: 16px; bottom: 16px; margin: 0 auto; max-width: 560px;
  background: rgba(16,16,16,.96); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line-2); border-radius: 18px; padding: 20px; box-shadow: 0 30px 80px rgba(0,0,0,.6);
  transform: translateY(calc(100% + 40px)); transition: transform .6s var(--ease);
}
.consent.is-open { transform: none; }
.consent h2 { margin: 0 0 6px; font-size: 16px; font-weight: 600; }
.consent p { margin: 0 0 14px; font-size: 13.5px; color: var(--muted); }
.consent p a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.consent__opts { display: none; gap: 10px; margin: 0 0 14px; }
.consent.is-custom .consent__opts { display: grid; }
.consent__opt { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border: 1px solid var(--line); border-radius: 12px; font-size: 13px; color: var(--muted); }
.consent__opt strong { display: block; color: var(--text); font-weight: 500; font-size: 14px; }
.consent__opt input { margin-top: 3px; accent-color: var(--red); width: 16px; height: 16px; flex: none; }
.consent__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.consent__actions .btn { flex: 1 1 auto; }
