/* =====================================================================
   Kortex Company — base visual
   Mesma base em kortexcompany.com e lp.kortexcompany.com.
   Ao mudar algo aqui, replicar no outro site.
   ===================================================================== */

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin-ext.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ink: #0a0a0a;
  --ink-2: #111211;
  --ink-3: #181a17;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f3f4ef;
  --muted: #a3a69c;
  --dim: #6e7169;
  --lime: #7dff00;
  --lime-soft: rgba(125, 255, 0, 0.12);
  --danger: #ff6b5a;

  --radius: 14px;
  --radius-lg: 22px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --cut: -59.3deg; /* inclinação da diagonal do símbolo */
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  font-weight: 450;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--lime); color: var(--ink); }

:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 4px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--lime); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 700;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- tipografia ---------- */

h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.035em; line-height: 1.02; }
h1 { font-size: clamp(44px, 8.2vw, 112px); font-weight: 750; letter-spacing: -0.05em; line-height: 0.95; }
h2 { font-size: clamp(34px, 5vw, 64px); letter-spacing: -0.045em; }
h3 { font-size: clamp(20px, 2vw, 24px); letter-spacing: -0.02em; line-height: 1.2; }
p { margin: 0; }

.hl { color: var(--lime); }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); line-height: 1.55; max-width: 620px; }
.lead strong { color: var(--text); font-weight: 650; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before {
  content: ""; width: 22px; height: 2px; background: var(--lime);
  transform: rotate(var(--cut)); flex: none;
}

.num { font-variant-numeric: tabular-nums; }

/* ---------- botões ---------- */

.btn {
  --h: 54px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: 16px; letter-spacing: -0.01em; white-space: nowrap;
  cursor: pointer; transition: transform .25s var(--ease), background .25s, border-color .25s, color .25s;
}
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(.98); }
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-lime:hover { background: #95ff33; }
.btn-ghost { border-color: var(--line-strong); color: var(--text); }
.btn-ghost:hover { border-color: var(--text); }
.btn-sm { --h: 42px; padding: 0 18px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- header ---------- */

.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(10, 10, 10, 0.78);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--line);
}
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.header .brand img { height: 30px; width: auto; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) { font-size: 15px; font-weight: 600; color: var(--muted); transition: color .2s; }
.nav a:not(.btn):hover { color: var(--text); }

.menu-toggle {
  display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-strong);
  background: transparent; cursor: pointer; align-items: center; justify-content: center;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 18px; height: 2px; background: var(--text); position: relative; transition: transform .3s var(--ease), background .2s;
}
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 880px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 24px;
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s var(--ease);
  }
  .nav a:not(.btn) { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 18px; color: var(--text); }
  .nav .btn { margin-top: 20px; }
  .menu-open .nav { opacity: 1; transform: none; pointer-events: auto; }
  .menu-open .header { background: var(--ink); }
}

/* ---------- seções ---------- */

.section { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.section-head { display: grid; gap: 22px; margin-bottom: clamp(44px, 6vw, 72px); max-width: 820px; }
.section-head.split { max-width: none; grid-template-columns: 1.1fr 1fr; align-items: end; gap: 40px; }
@media (max-width: 880px) { .section-head.split { grid-template-columns: 1fr; gap: 22px; } }

.divider { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* fundo quadriculado sutil */
.grid-bg {
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
}

/* ---------- símbolo animado (a "explosão" do logo) ---------- */

.burst .p {
  transform-box: view-box; transform-origin: 50% 50%;
  animation: burst 1.2s var(--ease) both;
}
.burst .p:nth-child(2) { animation-delay: .05s; }
.burst .p:nth-child(3), .burst .p:nth-child(4) { animation-delay: .12s; }
.burst .p:nth-child(5), .burst .p:nth-child(6) { animation-delay: .18s; }
.burst .p:nth-child(7), .burst .p:nth-child(8) { animation-delay: .24s; }
.burst .p:nth-child(9), .burst .p:nth-child(10) { animation-delay: .3s; }
.burst .cut { transform-box: view-box; transform-origin: 50% 50%; animation: cut .9s var(--ease) both; }
@keyframes burst { from { opacity: 0; transform: scale(.55); } to { opacity: 1; transform: none; } }
@keyframes cut { from { opacity: 0; transform: scale(.2, .2); } to { opacity: 1; transform: none; } }

/* ---------- revelar ao rolar ---------- */

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .burst .p, .burst .cut, .marquee-track { animation: none !important; }
}

/* ---------- faixa rolante ---------- */

.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 22px 0; background: var(--ink-2); }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee-track span {
  display: inline-flex; align-items: center; gap: 28px; padding-right: 28px;
  font-size: clamp(18px, 2vw, 24px); font-weight: 650; letter-spacing: -0.02em; white-space: nowrap; color: var(--muted);
}
.marquee-track span::after { content: ""; width: 14px; height: 2px; background: var(--lime); transform: rotate(var(--cut)); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- cartões ---------- */

.card {
  position: relative; background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 36px); transition: border-color .3s, transform .4s var(--ease), background .3s;
}
.card:hover { border-color: var(--line-strong); }

.icon {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: var(--lime-soft); color: var(--lime); flex: none;
}
.icon svg { width: 24px; height: 24px; }

/* ---------- lista com marcador em corte ---------- */

.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 30px; color: var(--muted); }
.ticks li strong { color: var(--text); font-weight: 650; }
.ticks li::before {
  content: ""; position: absolute; left: 4px; top: .78em; width: 14px; height: 2px; background: var(--lime);
  transform: rotate(var(--cut));
}

/* ---------- FAQ ---------- */

.faq { display: grid; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center;
  padding: 26px 0; font-size: clamp(18px, 1.8vw, 21px); font-weight: 650; letter-spacing: -0.02em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-strong);
  display: grid; place-items: center; font-weight: 500; font-size: 22px; transition: transform .3s var(--ease), background .3s, color .3s;
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--lime); color: var(--ink); border-color: var(--lime); }
.faq .answer { padding: 0 60px 28px 0; color: var(--muted); max-width: 760px; }

/* ---------- rodapé ---------- */

.footer { border-top: 1px solid var(--line); padding: 64px 0 36px; background: var(--ink); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer .brand img { height: 30px; width: auto; }
.footer p.tag { color: var(--muted); margin-top: 18px; max-width: 340px; }
.footer h4 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); font-weight: 700; margin-bottom: 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer ul a { color: var(--muted); transition: color .2s; }
.footer ul a:hover { color: var(--lime); }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid var(--line); padding-top: 28px; font-size: 14px; color: var(--dim);
}
.footer-bottom a:hover { color: var(--text); }
@media (max-width: 760px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- botão flutuante do WhatsApp ---------- */

.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: var(--lime); color: var(--ink); box-shadow: 0 10px 30px rgba(125, 255, 0, .25);
  transition: transform .3s var(--ease);
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 28px; height: 28px; }

/* ---------- páginas de texto (política) ---------- */

.doc { padding: 150px 0 100px; }
.doc .wrap { max-width: 820px; }
.doc h1 { font-size: clamp(38px, 6vw, 64px); margin-bottom: 16px; }
.doc .updated { color: var(--dim); margin-bottom: 48px; }
.doc h2 { font-size: 24px; letter-spacing: -0.02em; margin: 44px 0 14px; }
.doc p, .doc li { color: var(--muted); }
.doc p + p { margin-top: 14px; }
.doc ul { padding-left: 20px; display: grid; gap: 8px; }
.doc a { color: var(--lime); }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
