/* KORVFIT: site de apresentação (korvfit.online) */

:root {
  --bg: #0A0B0C;
  --bg-2: #0F1012;
  --surface: #15171A;
  --surface-2: #1C1F23;
  --surface-3: #252930;
  --border: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.12);
  --text: #FCFCFC;
  --text-2: #C9CDD2;
  --muted: #858B93;
  --lime: #DEFC38;
  --lime-soft: #E8FD95;
  --lime-grad: linear-gradient(120deg, #E8FD95 0%, #DEFC38 100%);
  --on-lime: #0A0B0C;
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1120px;
  --gutter: 20px;
}

*, *::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: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }

/* ---------- Topo ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 11, 12, 0.72);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border-bottom: 1px solid transparent;
  transition: border-color 300ms;
}
.nav.scrolled { border-bottom-color: var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo .mark { width: 30px; height: auto; }
.nav-logo .word { width: 118px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a.link { color: var(--text-2); text-decoration: none; font-size: 15px; font-weight: 600; }
.nav-links a.link:hover { color: var(--text); }
@media (max-width: 720px) { .nav-links a.link { display: none; } }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 26px;
  border-radius: 16px;
  font-weight: 750;
  font-size: 16px;
  text-decoration: none;
  transition: transform 160ms var(--ease-out), box-shadow 200ms;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--lime-grad); color: var(--on-lime); box-shadow: 0 10px 30px rgba(222, 252, 56, 0.25); }
.btn-primary:hover { box-shadow: 0 14px 40px rgba(222, 252, 56, 0.38); }
.btn-ghost { background: var(--surface-2); color: var(--text); border: 1px solid var(--border-strong); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 15px; border-radius: 12px; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Abertura (hero) ---------- */
.hero { position: relative; overflow: hidden; padding: 56px 0 90px; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-glow {
  position: absolute;
  left: 50%;
  top: 8%;
  width: 900px;
  height: 900px;
  margin-left: -450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(222, 252, 56, 0.16) 0%, rgba(222, 252, 56, 0.04) 40%, transparent 68%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 0%, transparent 70%);
  mask-image: radial-gradient(ellipse at 50% 30%, #000 0%, transparent 70%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 48px; }
@media (max-width: 900px) { .hero-inner { grid-template-columns: 1fr; text-align: center; } }

.brand-k { position: relative; width: 74px; aspect-ratio: 347 / 353; margin-bottom: 26px; }
.brand-k img { position: absolute; inset: 0; width: 100%; height: 100%; }
.brand-k .k-lime { filter: drop-shadow(0 0 14px rgba(222, 252, 56, 0.45)); }
@media (max-width: 900px) { .brand-k { margin-inline: auto; } }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 6px 14px; border-radius: 99px; background: rgba(222, 252, 56, 0.08); border: 1px solid rgba(222, 252, 56, 0.25); color: var(--lime-soft); font-size: 13px; font-weight: 700; letter-spacing: 0.04em; }
.eyebrow::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px var(--lime); }

h1 { margin: 0; font-size: clamp(40px, 6.4vw, 72px); line-height: 1.02; font-weight: 850; letter-spacing: -0.035em; }
h1 .hl { background: var(--lime-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { margin: 22px 0 0; max-width: 540px; color: var(--text-2); font-size: clamp(17px, 2vw, 20px); line-height: 1.55; }
@media (max-width: 900px) { .lead { margin-inline: auto; } }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
@media (max-width: 900px) { .hero-cta { justify-content: center; } }
.trust { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 26px; color: var(--muted); font-size: 14px; font-weight: 600; }
.trust span { display: inline-flex; align-items: center; gap: 7px; }
.trust svg { width: 16px; height: 16px; fill: none; stroke: var(--lime); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 900px) { .trust { justify-content: center; } }

/* ---------- Celular desenhado ---------- */
.phone-stage { position: relative; display: flex; justify-content: center; perspective: 1400px; }
.phone {
  position: relative;
  width: min(300px, 74vw);
  aspect-ratio: 390 / 844;
  padding: 10px;
  border-radius: 46px;
  background: linear-gradient(145deg, #2a2e34, #121417);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08) inset, 0 40px 80px rgba(0, 0, 0, 0.6), 0 0 80px rgba(222, 252, 56, 0.08);
  transform-style: preserve-3d;
  will-change: transform;
}
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 37px; }
.float-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(28, 31, 35, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-strong);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.5);
  font-size: 14px;
  font-weight: 750;
  white-space: nowrap;
}
.float-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px var(--lime); }
.float-chip b { color: var(--lime); }
.chip-1 { top: 18%; left: -6%; }
.chip-2 { bottom: 20%; right: -8%; }
@media (max-width: 520px) { .chip-1 { left: 0; } .chip-2 { right: 0; } }

/* ---------- Seções ---------- */
section { position: relative; }
.section { padding: 90px 0; }
.section-head { max-width: 680px; margin: 0 auto 50px; text-align: center; }
.kicker { margin: 0 0 12px; color: var(--lime); font-size: 13px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
h2 { margin: 0; font-size: clamp(30px, 4.4vw, 46px); line-height: 1.1; font-weight: 820; letter-spacing: -0.025em; }
.section-head p { margin: 16px 0 0; color: var(--text-2); font-size: 18px; }

/* Passos */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.step { padding: 26px; border-radius: 24px; background: var(--surface); border: 1px solid var(--border); }
.step-n { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px; border-radius: 14px; background: var(--lime-grad); color: var(--on-lime); font-weight: 900; font-size: 18px; }
.step h3 { margin: 0 0 8px; font-size: 20px; }
.step p { margin: 0; color: var(--text-2); font-size: 16px; }

/* Destaques com telas */
.feature { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 60px; padding: 40px 0; }
.feature.reverse .feature-media { order: 2; }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; gap: 36px; text-align: center; } .feature.reverse .feature-media { order: 0; } }
.feature-media { display: flex; justify-content: center; }
.feature-media .phone { width: min(280px, 70vw); }
.feature h3 { margin: 0; font-size: clamp(26px, 3.4vw, 38px); line-height: 1.12; font-weight: 800; letter-spacing: -0.02em; }
.feature p { margin: 16px 0 0; color: var(--text-2); font-size: 18px; }
.checks { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
@media (max-width: 860px) { .checks { justify-items: center; } }
.checks li { display: flex; align-items: flex-start; gap: 10px; color: var(--text); font-size: 16px; font-weight: 600; text-align: left; }
.checks li::before { content: ''; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='%230A0B0C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* Grade de vantagens */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid { grid-template-columns: 1fr; } }
.card { padding: 24px; border-radius: 22px; background: var(--surface); border: 1px solid var(--border); transition: border-color 250ms, transform 250ms var(--ease-out); }
.card:hover { border-color: rgba(222, 252, 56, 0.28); transform: translateY(-3px); }
.card-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 16px; border-radius: 15px; background: rgba(222, 252, 56, 0.1); color: var(--lime); }
.card-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { margin: 0 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--text-2); font-size: 15px; line-height: 1.55; }

/* Perguntas frequentes */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { border-radius: 18px; background: var(--surface); border: 1px solid var(--border); overflow: hidden; }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; cursor: pointer; list-style: none; font-weight: 700; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; background: var(--surface-3); color: var(--lime); font-size: 20px; font-weight: 600; transition: transform 250ms var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 22px 22px; color: var(--text-2); font-size: 16px; }
.faq .answer p { margin: 0; }

/* Chamada final */
.cta-band {
  position: relative;
  overflow: hidden;
  padding: 64px 28px;
  border-radius: 32px;
  text-align: center;
  background: radial-gradient(500px 260px at 50% 0%, rgba(222, 252, 56, 0.18), transparent 70%), var(--surface);
  border: 1px solid rgba(222, 252, 56, 0.22);
}
.cta-band p { margin: 14px auto 28px; max-width: 520px; color: var(--text-2); font-size: 18px; }

/* Rodapé */
.footer { padding: 50px 0 calc(40px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--border); margin-top: 90px; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 26px; }
.footer .word { width: 130px; }
.footer small { display: block; margin-top: 12px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.footer nav { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.footer nav a { color: var(--text-2); text-decoration: none; font-size: 15px; font-weight: 600; }
.footer nav a:hover { color: var(--lime); }

/* ---------- Páginas de texto (privacidade e termos) ---------- */
.doc { max-width: 780px; margin: 0 auto; padding: 56px 0 20px; }
.doc h1 { font-size: clamp(34px, 5vw, 50px); }
.doc .updated { margin: 14px 0 34px; color: var(--muted); font-size: 15px; }
.doc .summary { padding: 22px 24px; margin-bottom: 36px; border-radius: 20px; background: var(--surface); border: 1px solid rgba(222, 252, 56, 0.22); }
.doc .summary h2 { font-size: 18px; margin: 0 0 10px; color: var(--lime-soft); letter-spacing: 0; }
.doc .summary ul { margin: 0; padding-left: 20px; color: var(--text-2); }
.doc h2 { font-size: clamp(22px, 3vw, 27px); margin: 44px 0 12px; letter-spacing: -0.01em; scroll-margin-top: 90px; }
.doc h3 { font-size: 18px; margin: 26px 0 8px; }
.doc p, .doc li { color: var(--text-2); font-size: 16.5px; }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc strong { color: var(--text); }
.doc a { color: var(--lime-soft); }
.doc .table-wrap { overflow-x: auto; margin: 16px 0; border-radius: 16px; border: 1px solid var(--border); }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
.doc th, .doc td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); color: var(--text-2); }
.doc th { background: var(--surface); color: var(--text); font-weight: 700; }
.doc tr:last-child td { border-bottom: 0; }
.doc .alert { padding: 18px 20px; margin: 18px 0; border-radius: 16px; background: rgba(222, 252, 56, 0.07); border: 1px solid rgba(222, 252, 56, 0.25); color: var(--text); }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 10px; padding: 0; list-style: none; }
.toc a { display: inline-block; padding: 6px 12px; border-radius: 99px; background: var(--surface-2); border: 1px solid var(--border); color: var(--text-2); font-size: 14px; text-decoration: none; }
.toc a:hover { color: var(--lime); }

/* 404 */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.notfound .big { font-size: clamp(90px, 18vw, 160px); font-weight: 900; line-height: 1; background: var(--lime-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Animação de entrada ao rolar (o JS ativa; sem JS, tudo aparece normal) */
.js .reveal { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
.doc .toc { padding: 0; }
.doc .toc li { margin: 0; }
