/* ============================================================
   Lightfire Growth — Home · "Dark tech de luxo"
   Fundo quase preto, lime ácido como único acento,
   Bricolage Grotesque (display) + Manrope (corpo) + JetBrains Mono (labels).
   Vocabulário de forma GEOMÉTRICO: raios pequenos (7px botões / 12px cards),
   coerente com o grid do hero. Não reintroduzir pills (radius 100px).
   Mesma linguagem visual da landing do Agente SDR.
   ============================================================ */
:root {
  /* ---------- BASE / VOID ---------- */
  --void:      #06090A;
  --ink:       #0A0F0D;
  --ink-2:     #0D1411;
  --panel:     #101815;
  --panel-2:   #141E19;
  --hairline:        rgba(243,240,232,0.09);
  --hairline-strong: rgba(243,240,232,0.16);

  /* ---------- ACENTO — lime ácido ---------- */
  --accent:      #C4F82A;
  --accent-hi:   #DBFF6B;
  --accent-mid:  #9BC91A;
  --accent-deep: #2E3D08;
  --accent-ink:  #10140A;

  /* ---------- TEXTO ---------- */
  --text:  #F3F0E8;
  --text2: #A7B0A9;
  --text3: #6C766F;

  /* ---------- COMPAT (nomes antigos → lime) ---------- */
  --bg: var(--ink);
  --bg2: var(--ink-2);
  --card: var(--panel);
  --card2: var(--panel-2);
  --border: var(--hairline);
  --border2: var(--hairline-strong);
  --purple: var(--accent);
  --purple2: var(--accent-hi);
  --teal: var(--accent);
  --teal2: var(--accent-hi);
  --green: var(--accent);
  --green2: var(--accent-mid);

  /* Vocabulário de forma geométrico — ver cabeçalho. */
  --radius: 12px;      /* cards/painéis */
  --radius-sm: 7px;    /* botões, badges, inputs */
  --shadow: 0 30px 70px -20px rgba(0,0,0,0.65);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font-display: 'Bricolage Grotesque', 'Manrope', system-ui, sans-serif;
  --font-body: 'Manrope', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', monospace;

  --glow-accent: 0 0 0 1px rgba(196,248,42,0.18), 0 16px 40px -12px rgba(196,248,42,0.35);
  --glow-accent-sm: 0 6px 20px -6px rgba(196,248,42,0.45);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-padding-top: 84px; }
html:not(.lenis) { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
html { overflow-x: hidden; }
body {
  background: var(--ink);
  color: var(--text2);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
/* textura de grão sutil — profundidade sem poluir */
body::before {
  content: ''; position: fixed; inset: 0; z-index: 9000; pointer-events: none;
  opacity: 0.035; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
/* Grotesca precisa de tracking mais fechado que a serifa que havia aqui. */
h1,h2,h3,h4 { font-family: var(--font-display); line-height: 1.1; font-weight: 700; color: var(--text); letter-spacing: -0.03em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--void); }
::-webkit-scrollbar-thumb { background: #1c2a22; border-radius: 8px; border: 2px solid var(--void); }
::-webkit-scrollbar-thumb:hover { background: #26382d; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.section { padding: 110px 0; position: relative; }
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); background: rgba(196,248,42,0.06);
  border: 1px solid rgba(196,248,42,0.22); border-radius: var(--radius-sm);
  padding: 6px 16px; margin-bottom: 22px;
}
/* ——— ÍCONES ———
   Família única: traço 1.75, 24x24, currentColor. Substituíram os emojis, que
   além de não ter família visual comum renderizam diferente em cada SO. */
.ico { width: 1.15em; height: 1.15em; flex: none; display: block; }
.card-icon .ico { width: 24px; height: 24px; }
.social-link .ico { width: 18px; height: 18px; }
.ph-ico { display: flex; color: var(--text3); }
.ph-ico .ico { width: 28px; height: 28px; }

.section-title { font-size: clamp(30px, 4.4vw, 48px); font-weight: 600; margin-bottom: 18px; letter-spacing: -0.01em; }
.section-sub { font-size: 17px; color: var(--text2); max-width: 580px; line-height: 1.6; }
/* Ênfase editorial. Era serifa itálica (Fraunces); com a Bricolage a ênfase
   vem de peso + largura óptica, não de itálico — a Bricolage não tem itálico
   real e o oblíquo sintético do browser fica sujo. */
.grad-text {
  font-weight: 800; font-variation-settings: 'wdth' 85, 'opsz' 40;
  letter-spacing: -0.02em;
  background: linear-gradient(100deg, var(--accent-hi), var(--accent) 55%, var(--accent-mid));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; color: transparent;
}

/* ——— HEADER ——— */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  padding: 18px 0;
  background: rgba(6,9,10,0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--hairline);
  transition: padding 0.3s, background 0.3s, box-shadow 0.3s;
}
header.scrolled {
  padding: 11px 0;
  background: rgba(6,9,10,0.9);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-name { font-family: var(--font-display); font-size: 21px; font-weight: 600; color: #fff; letter-spacing: -0.01em; line-height: 1; }
.logo-highlight { color: var(--accent); }
nav { display: flex; align-items: center; gap: 32px; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { position: relative; font-size: 14px; color: var(--text2); padding: 4px 0; transition: color 0.25s; }
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -2px;
  width: 100%; height: 2px; border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.btn-nav {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  font-size: 13px; font-weight: 700; padding: 10px 20px; border-radius: var(--radius-sm);
  background: var(--accent);
  color: var(--accent-ink); box-shadow: var(--glow-accent-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s, background 0.25s;
}
.btn-nav:hover { transform: translateY(-2px); background: var(--accent-hi); box-shadow: var(--glow-accent); }
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 6px 2px; }
.hamburger span {
  display: block; width: 22px; height: 2px; background: var(--text);
  margin: 5px 0; border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ——— MOBILE MENU ——— */
.mobile-menu {
  position: fixed; inset: 0; z-index: 150;
  display: flex; flex-direction: column; justify-content: flex-start;
  padding: 110px 28px 40px;
  background: rgba(6,9,10,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: opacity 0.35s ease, transform 0.35s var(--ease), visibility 0.35s;
}
.mobile-menu.open { opacity: 1; visibility: visible; transform: none; }
.mobile-menu a {
  padding: 18px 4px; font-family: var(--font-display); font-size: 22px; font-weight: 600;
  color: var(--text); border-bottom: 1px solid var(--hairline);
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.45s ease, transform 0.45s var(--ease);
}
.mobile-menu.open a { opacity: 1; transform: none; }
.mobile-menu.open a:nth-child(1) { transition-delay: 0.08s; }
.mobile-menu.open a:nth-child(2) { transition-delay: 0.14s; }
.mobile-menu.open a:nth-child(3) { transition-delay: 0.20s; }
.mobile-menu.open a:nth-child(4) { transition-delay: 0.26s; }
.mobile-menu.open a:nth-child(5) { transition-delay: 0.32s; }
.mobile-menu .mobile-cta {
  margin-top: 32px; border: none; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center; gap: 9px;
  background: var(--accent);
  color: var(--accent-ink); font-size: 16px; font-weight: 700; padding: 16px 24px;
  box-shadow: var(--glow-accent-sm);
}

/* ——— HERO ——— */
.hero {
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-start; position: relative; overflow: hidden;
  padding-top: max(80px, 16svh); padding-bottom: 60px;
  background: var(--void);
}
.hero-bg {
  position: absolute; inset: -30px; z-index: 0;
  background: radial-gradient(ellipse 80% 60% at 62% 38%, rgba(196,248,42,0.14) 0%, transparent 64%),
              radial-gradient(ellipse 50% 42% at 18% 72%, rgba(196,248,42,0.07) 0%, transparent 60%),
              var(--void);
  transition: transform 0.6s var(--ease); will-change: transform;
}
.hero-grid {
  position: absolute; inset: -30px; z-index: 0;
  background-image: linear-gradient(var(--hairline) 1px, transparent 1px),
                    linear-gradient(90deg, var(--hairline) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black, transparent);
  transition: transform 0.8s var(--ease); will-change: transform;
}
.hero-content { position: relative; z-index: 1; max-width: 940px; }
@keyframes heroIn {
  from { opacity: 0; transform: translateY(var(--hero-in-y, 26px)); filter: blur(var(--hero-in-blur, 8px)); }
  to { opacity: 1; transform: none; filter: none; }
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(196,248,42,0.08); border: 1px solid rgba(196,248,42,0.26);
  border-radius: var(--radius-sm); padding: 8px 18px; font-size: 13px; color: var(--accent-hi);
  margin-bottom: clamp(20px, 3vh, 44px);
  animation: heroIn 0.9s var(--ease) 0.1s both;
}
.hero-badge::before { content: '●'; font-size: 8px; color: var(--accent); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1}50%{opacity:0.3} }
.hero h1 {
  font-size: clamp(30px, 4.6vw, 60px); font-weight: 600; margin-bottom: clamp(28px, 4vh, 52px);
  line-height: 1.05; letter-spacing: -0.015em;
  animation: heroIn 0.9s var(--ease) 0.22s both;
}
.hero-line2 { display: block; margin-top: 16px; }
.hero p {
  font-size: clamp(16px, 2vw, 20px); color: var(--text2); margin-bottom: clamp(44px, 7vh, 80px); max-width: 620px;
  line-height: 1.6;
  animation: heroIn 0.9s var(--ease) 0.34s both;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; animation: heroIn 0.9s var(--ease) 0.46s both; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 32px; border-radius: var(--radius-sm); font-weight: 700; font-size: 15px;
  background: var(--accent);
  color: var(--accent-ink); transition: transform 0.25s var(--ease), box-shadow 0.25s, background 0.25s;
  box-shadow: var(--glow-accent-sm);
}
.btn-primary:hover { transform: translateY(-2px); background: var(--accent-hi); box-shadow: var(--glow-accent); }
/* REMOVIDO: o brilho branco diagonal que atravessava os botões no hover.
   É o efeito de botão mais copiado da web e foi apontado em review externo
   como "sloppy, não original". O feedback de hover agora é só elevação +
   mudança de tom + glow uniforme. Não reintroduzir. */
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 32px; border-radius: var(--radius-sm); font-weight: 600; font-size: 15px;
  background: transparent; color: var(--text);
  border: 1.5px solid var(--hairline-strong); transition: color 0.25s, border-color 0.25s, transform 0.25s var(--ease);
}
.btn-secondary:hover { color: var(--accent-hi); border-color: var(--accent); transform: translateY(-2px); }
.hero-stats { display: flex; gap: 48px; margin-top: 64px; flex-wrap: wrap; animation: heroIn 0.9s var(--ease) 0.58s both; }
.stat-num { font-family: var(--font-display); font-size: 34px; font-weight: 600; }
.stat-label { font-size: 13px; color: var(--text2); margin-top: 2px; }
.particles { position: absolute; inset: 0; z-index: 2; overflow: hidden; pointer-events: none; }
.particle {
  position: absolute; border-radius: 50%;
  background: var(--accent); opacity: 0.15;
  animation: float linear infinite;
}
@keyframes float { from{transform:translateY(100vh) rotate(0)} to{transform:translateY(-100px) rotate(360deg)} }

/* ——— CARDS ——— */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px; margin-top: 56px; }
.card {
  background: var(--panel); border: 1px solid var(--hairline);
  border-radius: var(--radius); padding: 32px 28px;
  transition: border-color 0.3s, transform 0.3s var(--ease), box-shadow 0.3s;
  position: relative; overflow: hidden;
}
.card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0; transition: opacity 0.3s;
}
/* spotlight que segue o mouse (vars --mx/--my setadas via JS, só desktop) */
.card::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), rgba(196,248,42,0.1), transparent 65%);
  opacity: 0; transition: opacity 0.3s;
}
.card:hover { border-color: rgba(196,248,42,0.32); transform: translateY(-4px); box-shadow: 0 18px 44px rgba(0,0,0,0.5); }
.card:hover::before { opacity: 1; }
.card:hover::after { opacity: 1; }
.card-icon {
  width: 52px; height: 52px; border-radius: 9px; color: var(--accent);
  background: rgba(196,248,42,0.09); border: 1px solid rgba(196,248,42,0.2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  transition: transform 0.3s var(--ease);
}
/* Sem rotate: o .card-icon tem borda de 1px e rotacioná-la aliasa a borda
   (mesmo bug que havia no .portfolio-card). Escala pura. */
.card:hover .card-icon { transform: scale(1.06); }
.card-icon.teal { background: rgba(196,248,42,0.09); border-color: rgba(196,248,42,0.2); }
.card h3 { font-size: 20px; font-weight: 600; margin-bottom: 10px; }
.card p { font-size: 14px; color: var(--text2); line-height: 1.65; }
.card-price { margin-top: 20px; font-size: 13px; color: var(--text3); }
.card-price strong { color: var(--accent); font-size: 15px; }
/* Card único de destaque da seção Automações */
.auto-feature { display: flex; justify-content: center; margin-top: 56px; }
.auto-feature .auto-card {
  max-width: 560px; width: 100%; text-align: center; padding: 40px 36px;
}
.auto-feature .auto-card .card-icon { margin-left: auto; margin-right: auto; }
.auto-feature .auto-card .btn-small { margin-top: 22px; }
.popular-badge {
  position: absolute; top: 16px; right: 16px;
  background: var(--accent);
  color: var(--accent-ink); font-size: 11px; font-weight: 700; letter-spacing: 0.5px;
  padding: 4px 12px; border-radius: var(--radius-sm);
}
/* CTA "Quero meu projeto" — vira flex column p/ alinhar o botão na base.
   Escopado em #sites p/ não afetar o .auto-card (centralizado) das Automações. */
#sites .card { display: flex; flex-direction: column; align-items: flex-start; }
#sites .card p { margin-bottom: 22px; }
#sites .card .card-cta { margin-top: auto; cursor: pointer; }

/* ——— PORTFOLIO ——— */
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px; margin-top: 56px; }
.portfolio-card {
  position: relative;
  background: var(--panel); border: 1px solid var(--hairline); border-radius: var(--radius);
  overflow: hidden; transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}
/* durante a sequência pinada do GSAP o transform é 100% scrubbed — transition atrapalharia */
.portfolio-grid.dealing .portfolio-card { transition: none !important; will-change: transform; }
/* Timing alinhado ao dos .card (0.3s/var(--ease)) — o que se move na página
   precisa se mover no mesmo ritmo. Vence os 0.8s herdados do .reveal,
   mantendo o fade de entrada. */
.portfolio-grid .portfolio-card {
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease),
    opacity 0.8s var(--ease),
    filter 0.8s var(--ease);
}
/* NÃO reintroduzir `rotate()` nem `scale()` aqui.
   O antigo `translateY(-22px) scale(1.05) rotate(-2deg)` causava DOIS bugs
   apontados em review externo:
     1. a borda de 1px, rotacionada, caía em subpixel e antialiasava —
        virava um tracejado esverdeado ("parece baixa densidade de pixel");
     2. no mobile o scale+rotate empurrava os cantos do card para fora
        da viewport.
   A elevação agora é translateY puro e o "ring" verde é box-shadow, que
   renderiza nítido em qualquer transform e não participa do layout. */
.portfolio-grid .portfolio-card:hover {
  transform: translateY(-10px);
  box-shadow:
    0 0 0 1px rgba(196,248,42,0.55),
    0 28px 56px rgba(0,0,0,0.6),
    0 0 34px rgba(196,248,42,0.16);
  z-index: 5;
}
/* zoom suave do print quando o card é focado */
.portfolio-img-placeholder img, .portfolio-img img { transition: transform 0.4s var(--ease); }
.portfolio-grid .portfolio-card:hover .portfolio-img-placeholder img,
.portfolio-grid .portfolio-card:hover .portfolio-img img { transform: scale(1.06); }
/* Touch: sem transform de hover. Impede que o card "grude" elevado após o tap
   e que qualquer folga de layout vaze da viewport. */
@media (hover: none), (pointer: coarse) {
  .portfolio-grid .portfolio-card:hover {
    transform: none;
    box-shadow: 0 18px 40px rgba(0,0,0,0.45);
  }
  .portfolio-grid .portfolio-card:hover .portfolio-img-placeholder img,
  .portfolio-grid .portfolio-card:hover .portfolio-img img { transform: none; }
}
.portfolio-img {
  width: 100%; height: 200px; object-fit: cover;
  background: var(--panel-2); display: flex; align-items: center; justify-content: center;
  color: var(--text3); font-size: 13px; flex-direction: column; gap: 8px;
}
.portfolio-img img { width: 100%; height: 100%; object-fit: cover; }
.portfolio-img-placeholder {
  width: 100%; height: 200px; background: linear-gradient(135deg, #16211b, #0d1411);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; border-bottom: 1px solid var(--hairline);
}
.portfolio-img-placeholder p { font-size: 11px; color: var(--text3); }
.portfolio-body { padding: 22px 24px; }
.portfolio-tag {
  display: inline-block; font-family: var(--font-mono);
  font-size: 11px; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--accent); background: rgba(196,248,42,0.06);
  border: 1px solid rgba(196,248,42,0.18); border-radius: var(--radius-sm); padding: 3px 10px; margin-bottom: 12px;
}
.portfolio-body h3 { font-size: 19px; font-weight: 600; margin-bottom: 8px; }
.portfolio-body p { font-size: 13px; color: var(--text2); margin-bottom: 16px; }
.btn-small {
  position: relative;
  display: inline-flex; align-items: center; gap: 6px;
  font-family: inherit; font-size: 13px; font-weight: 600; color: var(--accent);
  padding: 8px 16px; border-radius: var(--radius-sm);
  background: transparent; -webkit-appearance: none; appearance: none;
  border: 1px solid rgba(196,248,42,0.28);
  cursor: pointer;
  /* Velocidade percebida: mesma duração (0.3s) e mesmo easing dos .card e dos
     .portfolio-card. Antes eram 0.25s com mola (0.34,1.56,0.64,1) — duração
     MENOR e deslocamento MAIOR que o dos cards, o que fazia os botões
     parecerem muito mais rápidos que o resto da página. */
  transition: background 0.3s var(--ease), color 0.3s var(--ease),
    border-color 0.3s var(--ease),
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}
/* NÃO animar `padding` aqui. Além de disparar reflow a cada frame, era o que
   produzia o "salto de tamanho" grande (8px→24px + scale 1.1) responsável
   pela sensação de velocidade destoante. */
.btn-small:hover {
  background: rgba(196,248,42,0.14);
  color: var(--accent-hi);
  border-color: rgba(196,248,42,0.7);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(196,248,42,0.2);
}
/* A seta é o único elemento que "avança" — carrega o significado de direção
   que o salto de padding tentava dar. Mesmo timing do resto. */
.btn-small .btn-arrow {
  display: inline-block;
  transition: transform 0.3s var(--ease);
}
.btn-small:hover .btn-arrow { transform: translateX(4px); }
/* Variante teal do botão — mesma família lime */
.btn-small.teal { color: var(--accent); border-color: rgba(196,248,42,0.3); }
.btn-small.teal:hover {
  background: rgba(196,248,42,0.16); color: var(--accent-hi);
  border-color: rgba(196,248,42,0.7);
  box-shadow: 0 6px 18px rgba(196,248,42,0.2);
}

/* ——— AUTOMATION CASES ——— */
.cases-grid { display: grid; gap: 20px; margin-top: 56px; }
.case-card {
  background: var(--panel); border: 1px solid var(--hairline); border-radius: var(--radius);
  padding: 28px 32px; display: grid; grid-template-columns: 1fr auto;
  gap: 20px; align-items: center; transition: border-color 0.3s, transform 0.2s;
}
.case-card:hover { border-color: rgba(196,248,42,0.25); transform: translateX(4px); }
.case-left h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.case-left p { font-size: 14px; color: var(--text2); }
.case-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tech-tag {
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 500; padding: 4px 10px; border-radius: 6px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--hairline-strong);
  color: var(--text2);
}
.case-result {
  text-align: right; min-width: 140px;
}
.case-result .result-num {
  font-family: var(--font-display); font-size: 30px; font-weight: 600;
  color: var(--accent); display: block;
}
.case-result .result-label { font-size: 12px; color: var(--text3); }
.case-result .btn-small { margin-top: 12px; }

/* ——— PROCESS ——— */
.process-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0; margin-top: 64px; position: relative; }
.process-steps::before {
  content: ''; position: absolute; top: 32px; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--hairline-strong), var(--hairline-strong), transparent);
  z-index: 0;
  /* no desktop o GSAP anima --line-x de 0→1 conforme os passos se alocam */
  transform: scaleX(var(--line-x, 1));
  transform-origin: left center;
}
.step { text-align: center; position: relative; z-index: 1; padding: 0 16px; }
.step-num {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--panel); border: 1px solid var(--hairline-strong);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 22px; font-weight: 600;
  margin: 0 auto 20px; color: var(--accent);
  transition: background 0.3s, border-color 0.3s, transform 0.3s var(--ease), box-shadow 0.3s;
}
.step:hover .step-num, .step:focus-within .step-num {
  background: rgba(196,248,42,0.12); border-color: rgba(196,248,42,0.45);
  transform: scale(1.04); box-shadow: 0 0 22px rgba(196,248,42,0.2);
}
.step h4 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.step p { font-size: 13px; color: var(--text2); }

/* O hover das etapas dá FOCO: a etapa apontada fica em evidência e as outras
   recuam. O glow deixa de ser decorativo (crítica do review externo) sem
   esconder conteúdo — as 5 descrições continuam legíveis só rolando a página,
   que é como o usuário realmente percorre esta seção (ela é pinada, o gesto
   ali é rolar, não apontar).

   Só opacidade e cor: nada de height/transform que mude layout. As etapas
   participam da timeline pinada do GSAP e alterar a caixa no hover
   invalidaria o start/end do ScrollTrigger.

   CRÍTICO: a atenuação é aplicada aos FILHOS (`.step-num`, `h4`, `p`), nunca
   ao `.step`. O GSAP faz scrub de `autoAlpha` (= opacity + visibility) no
   próprio `.step`, e o init restaura `style.transition = ''` (script.js) — ou
   seja, uma `transition: opacity` no `.step` estaria ATIVA durante o scrub e
   transicionaria cada valor escrito pelo GSAP em 0.3s, arrastando a animação
   pinada. O `.step` só recebe a custom property `--dim`, que o GSAP ignora. */
@media (hover: hover) and (pointer: fine) {
  .step { --dim: 1; }
  .process-steps:hover .step,
  .process-steps:focus-within .step { --dim: 0.4; }
  .process-steps .step:hover,
  .process-steps .step:focus-within { --dim: 1; }

  .step-num, .step h4, .step p { opacity: var(--dim); }
  .step-num {
    transition: background 0.3s, border-color 0.3s, transform 0.3s var(--ease),
      box-shadow 0.3s, opacity 0.3s var(--ease);
  }
  .step h4 { transition: color 0.3s var(--ease), opacity 0.3s var(--ease); }
  .step p  { transition: opacity 0.3s var(--ease); }
  .step:hover h4, .step:focus-within h4 { color: var(--accent-hi); }
}
@media (prefers-reduced-motion: reduce) {
  .step-num, .step h4, .step p { transition: none; }
}

/* ——— TESTIMONIALS ——— */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 56px; }
.testimonial-card {
  background: var(--panel); border: 1px solid var(--hairline); border-radius: var(--radius);
  padding: 28px 28px 24px;
}
.stars { color: var(--accent); font-size: 14px; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial-card blockquote { font-family: var(--font-display); font-size: 16px; color: var(--text); line-height: 1.6; font-style: italic; margin-bottom: 24px; font-weight: 500; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.avatar {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 600; font-size: 15px; flex-shrink: 0;
}
.av-purple { background: rgba(196,248,42,0.16); color: var(--accent); }
.av-teal { background: rgba(196,248,42,0.14); color: var(--accent); }
.av-pink { background: rgba(196,248,42,0.14); color: var(--accent); }
.testimonial-author strong { font-size: 14px; font-weight: 600; display: block; color: var(--text); }
.testimonial-author span { font-size: 12px; color: var(--text3); }

/* ——— FAQ ——— */
.faq-list { max-width: 760px; margin: 56px auto 0; }
.faq-item { border-bottom: 1px solid var(--hairline); }
.faq-q {
  width: 100%; background: none; border: none; text-align: left;
  padding: 24px 0; display: flex; align-items: center; justify-content: space-between;
  cursor: pointer; color: var(--text); font-family: var(--font-display);
  font-size: 18px; font-weight: 500; gap: 16px;
  transition: color 0.25s;
}
.faq-item.open .faq-q, .faq-q:hover { color: var(--accent-hi); }
.faq-icon {
  width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
  background: var(--panel); border: 1px solid var(--hairline-strong);
  display: flex; align-items: center; justify-content: center; font-size: 16px;
  color: var(--text);
  transition: transform 0.35s var(--ease), background 0.3s, color 0.3s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: rgba(196,248,42,0.15); color: var(--accent); }
.faq-a {
  display: grid; grid-template-rows: 0fr; overflow: hidden;
  opacity: 0; transform: translateY(-6px);
  font-size: 15px; color: var(--text2); line-height: 1.75;
  transition: grid-template-rows 0.45s var(--ease), opacity 0.4s ease, transform 0.45s var(--ease);
}
.faq-a-inner { min-height: 0; padding-bottom: 0; transition: padding 0.45s var(--ease); }
.faq-item.open .faq-a { grid-template-rows: 1fr; opacity: 1; transform: none; }
.faq-item.open .faq-a-inner { padding-bottom: 24px; }

/* ——— CTA FINAL ——— */
.cta-section {
  padding: 120px 0; text-align: center; position: relative;
  background: radial-gradient(ellipse 80% 80% at 50% 40%, rgba(196,248,42,0.12) 0%, transparent 68%), var(--void);
  border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline);
}
.cta-section h2 { font-size: clamp(30px, 4.4vw, 52px); font-weight: 600; margin-bottom: 18px; letter-spacing: -0.01em; }
.cta-section p { font-size: 18px; color: var(--text2); margin-bottom: 44px; }
.btn-whatsapp {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 18px 40px; border-radius: var(--radius-sm); font-weight: 700; font-size: 16px;
  background: var(--accent); color: var(--accent-ink);
  transition: transform 0.25s var(--ease), box-shadow 0.25s, background 0.25s;
  box-shadow: var(--glow-accent-sm);
}
.btn-whatsapp:hover { transform: translateY(-3px); background: var(--accent-hi); box-shadow: var(--glow-accent); }
.cta-email-hint { margin-top: 24px; margin-bottom: 0; font-size: 14px; color: var(--text2); }
.cta-email-hint a { color: var(--accent-hi); font-weight: 600; border-bottom: 1px solid rgba(196,248,42,0.4); padding-bottom: 1px; transition: border-color 0.2s; }
.cta-email-hint a:hover { border-color: var(--accent); }

/* ——— FOOTER ——— */
footer {
  padding: 60px 0 32px;
  border-top: 1px solid var(--hairline);
  background: var(--void);
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.footer-brand p { font-size: 14px; color: var(--text2); margin-top: 14px; max-width: 240px; line-height: 1.65; }
footer h5 { font-family: var(--font-display); font-size: 15px; font-weight: 600; letter-spacing: 0; margin-bottom: 16px; color: var(--text); }
footer ul { list-style: none; }
footer ul li { margin-bottom: 10px; }
footer ul li a { font-size: 14px; color: var(--text2); transition: color 0.2s; }
footer ul li a:hover { color: var(--accent); }
.social-links { display: flex; gap: 12px; margin-top: 20px; }
.social-link {
  width: 38px; height: 38px; border-radius: 7px; display: flex; align-items: center; justify-content: center;
  background: var(--panel); border: 1px solid var(--hairline); color: var(--text2);
  transition: border-color 0.2s, background 0.2s;
}
.social-link:hover { border-color: rgba(196,248,42,0.4); background: rgba(196,248,42,0.1); color: var(--accent); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px; border-top: 1px solid var(--hairline); }
.footer-bottom p { font-size: 13px; color: var(--text3); }

/* ——— FLOATING BUTTONS ——— */
.float-wa {
  position: fixed; bottom: 28px; right: 28px; z-index: 99;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink); font-size: 26px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--glow-accent); transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.float-wa:hover { transform: scale(1.1); background: var(--accent-hi); }
.float-wa svg { fill: var(--accent-ink); }
.float-top {
  position: fixed; bottom: 96px; right: 35px; z-index: 99;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--panel); border: 1px solid var(--hairline-strong); color: var(--text2);
  display: flex; align-items: center; justify-content: center; font-size: 18px;
  opacity: 0; pointer-events: none; transition: opacity 0.3s, transform 0.2s, border-color 0.2s, color 0.2s;
  cursor: pointer;
}
.float-top.show { opacity: 1; pointer-events: all; }
.float-top:hover { transform: translateY(-2px); border-color: rgba(196,248,42,0.4); color: var(--accent); }

/* ——— BRIEFING MODAL (wizard) ——— */
.modal-overlay {
  position: fixed; inset: 0; z-index: 300;
  display: flex; align-items: center; justify-content: center; padding: 24px;
  background: rgba(4,6,7,0.78);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s;
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal {
  position: relative; width: 100%; max-width: 560px; max-height: 90vh; overflow-y: auto;
  background: var(--panel); border: 1px solid var(--hairline-strong);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 38px 34px 30px;
  transform: translateY(18px) scale(0.97); opacity: 0;
  transition: transform 0.4s var(--ease), opacity 0.4s var(--ease);
}
.modal-overlay.open .modal { transform: none; opacity: 1; }
.modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--panel-2); border: 1px solid var(--hairline-strong); color: var(--text2);
  font-size: 22px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: color 0.2s, border-color 0.2s, background 0.2s, transform 0.3s var(--ease);
}
.modal-close:hover { color: var(--accent-ink); border-color: transparent; background: var(--accent); transform: rotate(90deg); }
.modal-head { margin-bottom: 22px; padding-right: 40px; }
.modal-head h3 { font-size: 24px; font-weight: 600; margin-bottom: 8px; }
.modal-head p { font-size: 14px; color: var(--text2); }

/* barra de progresso */
.wizard-progress { margin-bottom: 24px; }
.wizard-dots { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.wizard-dot { flex: 1; height: 4px; border-radius: 2px; background: var(--hairline-strong); transition: background 0.35s var(--ease); }
.wizard-dot.active, .wizard-dot.done { background: var(--accent); }
.wizard-step-label { font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: 0.08em; color: var(--text3); text-transform: uppercase; }
.wizard-step-label span { color: var(--accent); }

/* campos */
.step-pane { display: none; }
.step-pane.active { display: block; animation: paneIn 0.35s var(--ease); }
@keyframes paneIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.field { display: block; margin-bottom: 16px; }
.field-label { display: block; font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 7px; }
.field-label em { color: var(--accent); font-style: normal; }
.field input[type="text"], .field input[type="email"], .field textarea, .field select {
  width: 100%; font-family: inherit; font-size: 14px; color: var(--text);
  background: var(--void); border: 1px solid var(--hairline-strong); border-radius: var(--radius-sm);
  padding: 12px 14px; transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--text3); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: rgba(196,248,42,0.6);
  box-shadow: 0 0 0 3px rgba(196,248,42,0.15); background: var(--ink);
}
.field textarea { resize: vertical; min-height: 84px; line-height: 1.6; }
.field select {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23A7B0A9' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.field input.invalid, .field textarea.invalid { border-color: #ff6b6b; box-shadow: 0 0 0 3px rgba(255,107,107,0.12); }

/* chips (checkboxes de funcionalidades) */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-block; font-size: 13px; color: var(--text2);
  background: var(--void); border: 1px solid var(--hairline-strong); border-radius: var(--radius-sm);
  padding: 8px 16px; transition: color 0.2s, background 0.2s, border-color 0.2s;
}
.chip:hover span { border-color: rgba(196,248,42,0.4); color: var(--text); }
.chip input:checked + span { color: var(--accent-hi); border-color: rgba(196,248,42,0.7); background: rgba(196,248,42,0.16); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

/* navegação do wizard */
.wizard-nav { display: flex; align-items: center; gap: 12px; margin-top: 26px; }
.wizard-nav .btn-ghost {
  background: none; border: none; color: var(--text2); font-size: 14px; font-weight: 600;
  cursor: pointer; padding: 8px 4px; transition: color 0.2s;
}
.wizard-nav .btn-ghost:hover { color: var(--text); }
/* [hidden] precisa vencer o display:inline-flex de .btn-small/.btn-whatsapp */
.wizard-nav .btn-ghost[hidden], .wizard-next[hidden], .modal-submit[hidden] { display: none; }
.wizard-next { margin-left: auto; cursor: pointer; }
.modal-submit { margin-left: auto; cursor: pointer; border: none; font-size: 15px; padding: 14px 26px; }

/* ——— REVEAL ——— */
.reveal {
  opacity: 0; transform: translateY(34px); filter: blur(8px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease), filter 0.8s var(--ease);
}
.reveal.reveal-left { transform: translateX(-44px); }
.reveal.reveal-right { transform: translateX(44px); }
.reveal.reveal-scale { transform: scale(0.88) translateY(18px); }
.reveal.visible { opacity: 1; transform: none; filter: none; }

/* ——— SWOOP (Processo): sobe vindo de baixo, desvia pra direita, só então desce no lugar ———
   Valores em custom properties pra permitir versão suavizada no mobile sem duplicar keyframes */
.reveal.reveal-swoop {
  --swoop-x: 64px;
  --swoop-y: -60px;
  --swoop-peak-y: -26px;
  --swoop-scale0: 0.82;
  --swoop-scale1: 1.06;
  --swoop-rot0: -5deg;
  --swoop-rot1: 4deg;
  opacity: 0;
  transform: translate(0, var(--swoop-y)) scale(var(--swoop-scale0)) rotate(var(--swoop-rot0));
  transition: filter 0.6s var(--ease);
}
.reveal.reveal-swoop.visible {
  animation: stepSwoop 0.95s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  filter: none;
}
@keyframes stepSwoop {
  0%   { opacity: 0; transform: translate(0, var(--swoop-y)) scale(var(--swoop-scale0)) rotate(var(--swoop-rot0)); }
  42%  { opacity: 1; transform: translate(var(--swoop-x), var(--swoop-peak-y)) scale(var(--swoop-scale1)) rotate(var(--swoop-rot1)); }
  100% { opacity: 1; transform: translate(0, 0) scale(1) rotate(0deg); }
}

/* ——— DEAL (Portfólio): cards "distribuídos" como num jogo de poker, alternando o lado do baralho ——— */
.reveal.reveal-deal {
  opacity: 0;
  transform: translate(var(--deal-x, 110px), var(--deal-y, 90px)) rotate(var(--deal-r, 20deg)) scale(var(--deal-scale, 0.7));
  transition: filter 0.6s var(--ease);
}
.reveal.reveal-deal.visible {
  animation: cardDeal 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  filter: none;
}
.portfolio-grid .reveal-deal:nth-child(odd)  { --deal-x: 110px; --deal-r: 20deg; }
.portfolio-grid .reveal-deal:nth-child(even) { --deal-x: -110px; --deal-r: -20deg; }
@keyframes cardDeal {
  0%   { opacity: 0; transform: translate(var(--deal-x), var(--deal-y, 90px)) rotate(var(--deal-r)) scale(var(--deal-scale, 0.7)); }
  55%  { opacity: 1; transform: translate(calc(var(--deal-x) * -0.12), -10px) rotate(calc(var(--deal-r) * -0.35)) scale(1.05); }
  80%  { transform: translate(calc(var(--deal-x) * 0.03), 4px) rotate(calc(var(--deal-r) * 0.08)) scale(0.99); }
  100% { opacity: 1; transform: none; }
}

/* ——— BARRA DE PROGRESSO DE LEITURA ——— */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 250;
  transform: scaleX(0); transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--accent-mid), var(--accent), var(--accent-hi));
  box-shadow: 0 0 12px rgba(196,248,42,0.55);
  pointer-events: none;
}

/* ——— HERO: revelação palavra por palavra ——— */
.reveal-word { display: inline-block; opacity: 0; transform: translateY(0.6em); }
.reveal-word.in { opacity: 1; transform: none; transition: opacity 0.6s var(--ease), transform 0.75s var(--ease); }

/* ——— CTA magnético (transform inline via JS) ——— */

/* ——— RESPONSIVE ——— */
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .section { padding: 64px 0; }
  h1, h2, h3, h4 { line-height: 1.3; }
  .hero h1 { line-height: 1.25; }
  .section-sub { font-size: 15px; }
  nav { gap: 10px; }
  nav .nav-links { display: none; }
  .hamburger { display: block; }
  .btn-nav { font-size: 11px; padding: 8px 12px; gap: 5px; }
  .btn-nav svg { width: 12px; height: 12px; }
  header .logo { gap: 8px; }
  header .logo img { height: 32px; }
  header .logo-name { font-size: 17px; }
  .hero { padding-top: 96px; }
  .hero p { margin-bottom: 36px; }
  .hero-stats { gap: 32px; margin-top: 48px; }
  .cards-grid { gap: 16px; margin-top: 44px; }
  .card { padding: 26px 22px; }
  .portfolio-grid { gap: 18px; margin-top: 44px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .case-card { grid-template-columns: 1fr; }
  .case-result { text-align: left; }
  .faq-q { font-size: 16px; padding: 20px 0; }
  /* processo vira timeline vertical */
  .process-steps { grid-template-columns: 1fr; margin-top: 44px; }
  .process-steps::before {
    top: 0; bottom: 0; left: 28px; right: auto;
    width: 1px; height: auto;
    background: linear-gradient(180deg, transparent, var(--hairline-strong), var(--hairline-strong), transparent);
  }
  .step {
    display: grid; grid-template-columns: 56px 1fr; column-gap: 18px;
    text-align: left; padding: 0 0 36px;
  }
  .step:last-child { padding-bottom: 0; }
  .step-num { grid-row: 1 / span 2; width: 56px; height: 56px; margin: 0; font-size: 18px; }
  .step h4 { align-self: end; }
  /* ——— animações suavizadas no mobile: mesmo estilo, movimento mais discreto ——— */
  .hero-content { --hero-in-y: 14px; --hero-in-blur: 4px; }
  .hero-badge, .hero h1, .hero p, .hero-btns, .hero-stats { animation-duration: 0.65s; }
  .reveal { transform: translateY(18px); filter: blur(4px); transition-duration: 0.6s; }
  .reveal.reveal-left { transform: translateX(-20px); }
  .reveal.reveal-right { transform: translateX(20px); }
  .reveal.reveal-scale { transform: scale(0.94) translateY(12px); }
  /* re-declara .visible depois dos overrides acima pra vencer o empate de especificidade */
  .reveal.visible { opacity: 1; transform: none; filter: none; }
  /* swoop do processo: trajetória curta, quase sem rotação */
  .reveal.reveal-swoop {
    --swoop-x: 16px; --swoop-y: -28px; --swoop-peak-y: -14px;
    --swoop-scale0: 0.92; --swoop-scale1: 1.02;
    --swoop-rot0: -2deg; --swoop-rot1: 1.5deg;
  }
  .reveal.reveal-swoop.visible { animation-duration: 0.7s; }
  /* Deal do portfólio no mobile: SEM rotação, SEM deslocamento horizontal e
     SEM overshoot de escala. No mobile o card ocupa quase toda a largura da
     viewport — não sobra folga lateral, então rotate/scale(1.05) jogavam os
     cantos para fora da tela (bug reportado em review externo). A entrada
     aqui é subida vertical + fade, que não depende de espaço lateral.
     Não reintroduzir --deal-x/--deal-r no mobile. */
  .reveal.reveal-deal { --deal-y: 40px; --deal-scale: 1; }
  /* Precisa repetir os seletores :nth-child do bloco desktop: eles têm
     especificidade maior e @media não acrescenta especificidade nenhuma. */
  .portfolio-grid .reveal-deal:nth-child(odd),
  .portfolio-grid .reveal-deal:nth-child(even) { --deal-x: 0px; --deal-r: 0deg; }
  .reveal.reveal-deal.visible { animation: cardDealMobile 0.6s var(--ease) forwards; filter: none; }
  @keyframes cardDealMobile {
    0%   { opacity: 0; transform: translateY(var(--deal-y, 40px)); }
    100% { opacity: 1; transform: none; }
  }
  /* Mesma razão: a etapa do processo também é quase full-width no mobile. */
  .reveal.reveal-swoop { --swoop-scale1: 1; --swoop-x: 0px; --swoop-rot0: 0deg; --swoop-rot1: 0deg; }
}
@media (max-width: 480px) {
  .section { padding: 56px 0; }
  .hero-badge { font-size: 12px; padding: 7px 14px; }
  .hero-btns { flex-direction: column; }
  .btn-primary, .btn-secondary { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .float-wa { width: 48px; height: 48px; bottom: 20px; right: 20px; }
  .float-wa svg { width: 22px; height: 22px; }
  .float-top { width: 38px; height: 38px; bottom: 80px; right: 25px; font-size: 16px; }
  .modal { padding: 32px 22px 26px; }
  .modal-head h3 { font-size: 21px; }
  .wizard-nav { flex-wrap: wrap; row-gap: 12px; }
}
@media (max-width: 400px) {
  .logo-name { display: none; }
}

/* ——— REDUCED MOTION ——— */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; filter: none; }
  .reveal-word { opacity: 1; transform: none; }
  .hero-bg, .hero-grid { transform: none !important; }
  /* Mantém o feedback de hover dos botões e cards mesmo com "reduzir movimento":
     são micro-interações sutis. O seletor de classe vence o `*` acima. */
  .btn-small, .btn-small .btn-arrow,
  .portfolio-card,
  .portfolio-card .portfolio-img-placeholder img,
  .portfolio-card .portfolio-img img { transition-duration: 0.25s !important; }
}

/* ——— CURSOR CUSTOMIZADO (padrão Lightfire — só desktop, sem reduced motion) ——— */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; z-index: 9500;
  pointer-events: none; border-radius: 50%; opacity: 0; display: none;
  will-change: transform;
}
html.custom-cursor .cursor-dot, html.custom-cursor .cursor-ring { display: block; }
/* esconde o ponteiro nativo em TUDO — inclusive elementos com cursor:pointer
   próprio (.btn, botões, labels), senão o cursor do sistema reaparece sobre eles */
html.custom-cursor, html.custom-cursor * { cursor: none !important; }
.cursor-dot {
  width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px;
  background: var(--accent-hi); transition: opacity 0.2s, scale 0.2s;
}
.cursor-ring {
  width: 38px; height: 38px; margin: -19px 0 0 -19px;
  border: 1px solid rgba(196,248,42,0.5);
  transition: opacity 0.25s, width 0.25s ease-out, height 0.25s ease-out, margin 0.25s ease-out, border-color 0.25s;
}
.cursor-ring.hover { width: 64px; height: 64px; margin: -32px 0 0 -32px; border-color: rgba(196,248,42,0.85); }
.cursor-dot.hover { scale: 0.4; }
.cursor-dot.on, .cursor-ring.on { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor-dot, .cursor-ring { display: none !important; } }
