/* ============================================
   JD GROWTH — Design tokens
   ============================================ */
:root {
  --bg: #0a0d09;
  --bg-alt: #10150e;
  --bg-alt-2: #141a12;
  --green: #40a316;
  --green-bright: #6fe83a;
  --green-dim: #1c3a0e;
  --text: #f2f5ef;
  --text-muted: #93a68d;
  --text-faint: #5e6e59;
  --border: rgba(64, 163, 22, 0.28);
  --border-soft: rgba(255, 255, 255, 0.08);
  --glow: 0 0 24px rgba(64, 163, 22, 0.45);
  --glow-soft: 0 0 40px rgba(64, 163, 22, 0.18);
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 64px;
  --space-7: 96px;
  --radius: 14px;
  --maxw: 1120px;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: env(safe-area-inset-top, 0px);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

img, video { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--space-3);
}

section { position: relative; }

/* ============================================
   Typography scale
   ============================================ */
h1, h2, h3 { font-weight: 800; letter-spacing: -0.02em; margin: 0; }
h1 { font-size: clamp(2.1rem, 7vw, 3.4rem); line-height: 1.08; }
h2 { font-size: clamp(1.6rem, 5vw, 2.4rem); line-height: 1.15; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0; }
.lede {
  font-size: clamp(1.05rem, 3.4vw, 1.25rem);
  color: var(--text-muted);
  max-width: 46ch;
}
.section-heading {
  max-width: 34ch;
  margin-bottom: var(--space-4);
}
.section-tag {
  display: inline-block;
  font-size: 0.82rem;
  color: var(--green-bright);
  font-weight: 700;
  margin-bottom: var(--space-2);
}

/* ============================================
   Preloader
   ============================================ */
#preloader {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-mark {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  filter: drop-shadow(0 0 0 rgba(64,163,22,0));
  animation: ignite 1.6s ease-in-out forwards;
}
@keyframes ignite {
  0%   { filter: drop-shadow(0 0 0 rgba(111,232,58,0)) brightness(0.3); opacity: 0.4; }
  60%  { filter: drop-shadow(0 0 18px rgba(111,232,58,0.85)) brightness(1.15); opacity: 1; }
  100% { filter: drop-shadow(0 0 10px rgba(111,232,58,0.55)) brightness(1); opacity: 1; }
}

/* ============================================
   Header / nav
   ============================================ */
header.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  padding: env(safe-area-inset-top, 0px) 0 0;
  background: linear-gradient(to bottom, rgba(10,13,9,0.92), rgba(10,13,9,0));
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-2) var(--space-3);
  max-width: var(--maxw);
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}
.brand img { width: 34px; height: 34px; border-radius: 50%; }
.header-cta {
  font-size: 0.85rem;
  font-weight: 700;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text);
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
}
.btn-primary {
  background: var(--green);
  color: #05100a;
  box-shadow: var(--glow);
  animation: pulse-glow 2.8s ease-in-out infinite;
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 18px rgba(64,163,22,0.4); }
  50% { box-shadow: 0 0 34px rgba(111,232,58,0.7); }
}
.btn-ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

/* ============================================
   Hero
   ============================================ */
#hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--space-7) + env(safe-area-inset-top, 0px)) 0 var(--space-6);
  overflow: hidden;
}
.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-video-wrap video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  opacity: 0.55;
}
.video-mobile { display: block; }
.video-desktop { display: none; }
@media (min-width: 769px) {
  .video-mobile { display: none; }
  .video-desktop { display: block; }
}
.hero-video-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,13,9,0.55) 0%, rgba(10,13,9,0.4) 40%, var(--bg) 96%);
}
.hero-content { position: relative; z-index: 1; }
.hero-eyebrow-logo {
  width: 64px; height: 64px;
  border-radius: 50%;
  margin-bottom: var(--space-3);
  box-shadow: var(--glow-soft);
}
.hero-content h1 { margin-bottom: var(--space-2); }
.hero-content .lede { margin-bottom: var(--space-4); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-2); }

/* ============================================
   Impact / outdoor slide
   ============================================ */
#impacto {
  min-height: 78vh;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  padding: var(--space-6) 0 var(--space-5);
}
.impacto-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,13,9,0.15) 0%, rgba(10,13,9,0.55) 65%, var(--bg) 100%);
}
.impacto-content { position: relative; z-index: 1; }
.impacto-content p.lede { color: var(--text); max-width: 32ch; }

/* ============================================
   Filtro ICP
   ============================================ */
.icp-list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex; flex-direction: column;
  gap: var(--space-2);
}
.icp-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: var(--space-3);
  background: var(--bg-alt);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
}
.icp-check {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--green-dim);
  color: var(--green-bright);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  font-weight: 800;
  margin-top: 2px;
}
.icp-list p { color: var(--text); }

/* ============================================
   Método (sequence — numbered on purpose)
   ============================================ */
.metodo-track {
  position: relative;
  padding-left: 44px;
}
.metodo-track::before {
  content: '';
  position: absolute;
  left: 15px; top: 6px; bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--green) 0%, var(--green-dim) 100%);
}
.metodo-step { position: relative; padding-bottom: var(--space-5); }
.metodo-step:last-child { padding-bottom: 0; }
.metodo-num {
  position: absolute;
  left: -44px; top: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--green);
  color: var(--green-bright);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
}
.metodo-step h3 { margin-bottom: 6px; }
.metodo-step p { color: var(--text-muted); max-width: 42ch; }

/* ============================================
   Diferença (split comparison)
   ============================================ */
.split {
  display: grid;
  grid-template-columns: 1fr;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-soft);
}
@media (min-width: 720px) {
  .split { grid-template-columns: 1fr 1fr; }
}
.split-col { padding: var(--space-4); }
.split-mercado {
  background: #131513;
  color: var(--text-faint);
}
.split-jd {
  background: linear-gradient(160deg, var(--green-dim), #0d1a08 70%);
}
.split-col h3 { margin-bottom: var(--space-3); font-size: 1rem; }
.split-mercado h3 { color: var(--text-muted); }
.split-jd h3 { color: var(--green-bright); }
.split-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.split-col li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.95rem; }
.split-mercado li::before { content: '✕'; color: #5a4040; flex-shrink: 0; font-weight: 700; }
.split-jd li::before { content: '✓'; color: var(--green-bright); flex-shrink: 0; font-weight: 700; }
.split-jd li { color: var(--text); }

/* ============================================
   Números
   ============================================ */
.numeros-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  text-align: center;
}
@media (min-width: 640px) {
  .numeros-grid { grid-template-columns: repeat(3, 1fr); }
}
.numero-big {
  font-size: clamp(2.6rem, 11vw, 4rem);
  font-weight: 800;
  color: var(--green-bright);
  text-shadow: 0 0 30px rgba(111,232,58,0.45);
  line-height: 1;
  margin-bottom: 10px;
}
.numero-label { color: var(--text-muted); font-size: 0.95rem; }

/* ============================================
   Painel do cliente
   ============================================ */
.painel-frame {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: var(--space-3);
  box-shadow: var(--glow-soft);
}
.painel-top {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: var(--space-3);
  padding-bottom: var(--space-2);
  border-bottom: 1px solid var(--border-soft);
}
.painel-top span:first-child { font-weight: 700; }
.painel-top span:last-child { font-size: 0.8rem; color: var(--text-faint); }
.painel-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-2);
}
@media (min-width: 560px) {
  .painel-stats { grid-template-columns: repeat(4, 1fr); }
}
.painel-stat {
  background: var(--bg-alt-2);
  border-radius: 10px;
  padding: 14px;
}
.painel-stat .val { font-size: 1.4rem; font-weight: 800; color: var(--text); }
.painel-stat .lbl { font-size: 0.78rem; color: var(--text-faint); margin-top: 4px; }
.painel-stat .delta { font-size: 0.72rem; color: var(--green-bright); margin-top: 2px; }
.painel-bar-row { margin-top: var(--space-3); }
.painel-bar-label { display: flex; justify-content: space-between; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 8px; }
.painel-bar-track { height: 8px; border-radius: 999px; background: var(--bg-alt-2); overflow: hidden; }
.painel-bar-fill { height: 100%; background: linear-gradient(90deg, var(--green-dim), var(--green-bright)); border-radius: 999px; }
.painel-note { margin-top: var(--space-3); font-size: 0.78rem; color: var(--text-faint); }

/* ============================================
   Serviços
   ============================================ */
.servicos-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.servico-pill {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-2) var(--space-3);
  flex: 1 1 260px;
  background: var(--bg-alt);
}
.servico-pill h3 { font-size: 0.98rem; margin-bottom: 4px; }
.servico-pill p { font-size: 0.86rem; color: var(--text-muted); }
.servico-featured {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.servico-featured img {
  border-radius: 10px;
  border: 1px solid var(--border);
}

/* ============================================
   Prova social
   ============================================ */
.prova-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
}
@media (min-width: 640px) {
  .prova-grid { grid-template-columns: 1fr 1fr; }
}
.prova-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--glow-soft);
}

/* ============================================
   Sobre
   ============================================ */
.sobre-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  align-items: center;
}
@media (min-width: 720px) {
  .sobre-layout { grid-template-columns: 0.8fr 1.2fr; }
}
.sobre-photo {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-soft);
  max-width: 320px;
}
.sobre-quote {
  border-left: 3px solid var(--green);
  padding-left: var(--space-3);
  font-size: 1.15rem;
  color: var(--text);
  margin: var(--space-3) 0;
  font-weight: 600;
}
.sobre-bio { color: var(--text-muted); }
.sobre-ig {
  margin-top: var(--space-3);
  font-size: 0.9rem;
  color: var(--green-bright);
}

/* ============================================
   FAQ
   ============================================ */
.faq-item {
  border-bottom: 1px solid var(--border-soft);
}
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--text);
  font-weight: 700;
  font-size: 1rem;
  padding: var(--space-3) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
.faq-q .icon { color: var(--green-bright); font-size: 1.2rem; transition: transform 0.25s ease; flex-shrink: 0; margin-left: 12px; }
.faq-item.open .faq-q .icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.faq-a-inner { padding-bottom: var(--space-3); max-width: 60ch; }
.faq-item.open .faq-a { max-height: 240px; }

/* ============================================
   Fechamento
   ============================================ */
#fechamento {
  min-height: 90vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  position: relative;
}
.fechamento-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,13,9,0.5) 0%, rgba(10,13,9,0.85) 75%, var(--bg) 100%);
}
.fechamento-content { position: relative; z-index: 1; text-align: center; margin: 0 auto; }
.fechamento-content h2 { max-width: 18ch; margin: 0 auto var(--space-3); }
.fechamento-content .lede { max-width: 36ch; margin: 0 auto var(--space-4); }

/* ============================================
   Footer
   ============================================ */
footer {
  padding: var(--space-4) 0 calc(var(--space-4) + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--border-soft);
  text-align: center;
  color: var(--text-faint);
  font-size: 0.82rem;
}
footer img { width: 28px; height: 28px; border-radius: 50%; margin: 0 auto var(--space-2); }

/* ============================================
   Section spacing + reveal
   ============================================ */
.section-pad { padding: var(--space-6) 0; }
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* Wide screens: gentle max width increases for readability */
@media (min-width: 900px) {
  .section-pad { padding: var(--space-7) 0; }
}
