/* =============================================
   EASY ANALYTICS – CSS CLONE
   Cores reais: dark navy + gold (#f5c518 range)
   ============================================= */

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

/* =============================================
   FONTE — servida pelo próprio domínio
   Um arquivo variável cobre 300–900. `swap` faz o texto aparecer
   imediatamente na fonte do sistema e trocar quando o Inter chegar.
   ============================================= */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('public/fonts/inter-latin.woff2') format('woff2');
  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: 'Inter';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('public/fonts/inter-latin-ext.woff2') format('woff2');
  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 {
  /* Tema real extraído do site */
  --bg:          hsl(240, 10%, 8%);    /* #111318 */
  --bg-card:     hsl(240, 8%, 12%);    /* #181c25 */
  --bg-elevated: hsl(240, 6%, 16%);   /* #1e2230 */
  --border:      hsl(240, 6%, 20%);   /* #282e3d */
  --primary:     hsl(45, 93%, 58%);   /* gold #f5c518 */
  --primary-dark:hsl(45, 80%, 45%);   /* gold-dark */
  --primary-light:hsl(45, 100%, 65%); /* gold-light */
  --foreground:  hsl(0, 0%, 98%);     /* #fafafa */
  --muted:       hsl(0, 0%, 65%);     /* #a6a6a6 */
  --radius:      0.75rem;
  --radius-lg:   1.25rem;
  /* `all` fazia o navegador vigiar TODAS as propriedades de 22 seletores.
     Listar só o que realmente anima corta trabalho de estilo em cada hover. */
  --transition:  background-color 0.3s cubic-bezier(0.4,0,0.2,1),
                 border-color     0.3s cubic-bezier(0.4,0,0.2,1),
                 color            0.3s cubic-bezier(0.4,0,0.2,1),
                 opacity          0.3s cubic-bezier(0.4,0,0.2,1),
                 transform        0.3s cubic-bezier(0.4,0,0.2,1);
  --shadow:      0 8px 32px rgba(0,0,0,0.5);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--foreground);
  line-height: 1.6;
  /* `clip` em vez de `hidden`: corta o estouro horizontal sem transformar o
     <body> num container de rolagem, o que atrapalha a rolagem no celular. */
  overflow-x: clip;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* ── CONTAINER ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── TYPOGRAPHY ── */
.gradient-text {
  background: linear-gradient(
    95deg,
    hsl(31, 97%, 51%) 0%,
    hsl(37, 100%, 58%) 26%,
    hsl(43, 100%, 66%) 52%,
    hsl(48, 100%, 75%) 78%,
    hsl(53, 100%, 85%) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-family: inherit;
  border: none; cursor: pointer; text-decoration: none;
  border-radius: var(--radius); transition: var(--transition);
  white-space: nowrap; font-size: 15px;
}
.btn-primary {
  background: linear-gradient(
    95deg,
    hsl(31, 97%, 51%) 0%,
    hsl(40, 100%, 60%) 45%,
    hsl(48, 100%, 70%) 100%
  );
  color: hsl(240, 10%, 8%);
}
.btn-primary:hover {
  background: linear-gradient(
    95deg,
    hsl(34, 100%, 55%) 0%,
    hsl(43, 100%, 64%) 45%,
    hsl(50, 100%, 75%) 100%
  );
  transform: translateY(-1px);
}
.btn-outline { background: transparent; color: var(--primary); border: 1.5px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: hsl(240,10%,8%); }
.btn-ghost { background: rgba(255,255,255,0.06); color: var(--foreground); border: 1px solid var(--border); }
.btn-ghost:hover { background: rgba(255,255,255,0.1); }
.btn-sm  { padding: 10px 20px; font-size: 13px; }
.btn-lg  { padding: 15px 30px; font-size: 16px; }
.btn-block { width: 100%; justify-content: center; padding: 15px 20px; }


/* ── SECTION SHARED ── */
.section-header { text-align: center; margin-bottom: 60px; }
.section-badge {
  display: inline-block;
  background: rgba(245,197,24,0.1);
  color: var(--primary);
  border: 1px solid rgba(245,197,24,0.3);
  padding: 5px 16px; border-radius: 50px;
  font-size: 11px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; margin-bottom: 14px;
}
.section-title { font-size: clamp(26px, 4vw, 42px); font-weight: 800; line-height: 1.2; margin-bottom: 14px; }
.section-sub { color: var(--muted); font-size: 17px; max-width: 560px; margin: 0 auto; }

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 14px 0; transition: var(--transition);
  border-bottom: 1px solid transparent;
}
/* Fundo sólido por padrão. O `backdrop-filter` de antes desfocava a largura
   inteira da tela A CADA QUADRO de rolagem — era o item mais caro da página
   e a principal causa da faixa preta no celular. Ele volta só no desktop,
   onde há GPU sobrando, e mesmo assim com raio menor. */
.navbar.scrolled {
  background: var(--bg);
  border-bottom-color: var(--border);
}
@media (min-width: 1025px) {
  .navbar.scrolled {
    background: rgba(17,19,24,0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }
}
.nav-inner { display: flex; align-items: center; gap: 8px; }
.logo { display: flex; align-items: center; text-decoration: none; }
.logo-img { height: 36px; width: auto; }
.nav-links {
  display: flex; gap: 24px; margin-left: auto;
  margin-right: 16px;
}
.nav-links a {
  text-decoration: none; color: var(--muted);
  font-size: 14px; font-weight: 500; transition: color 0.2s;
}
.nav-links a:hover { color: var(--foreground); }
.nav-entrar { margin-right: 8px; }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer;
  margin-left: auto; padding: 4px;
}
.hamburger span { display: block; width: 22px; height: 2px; background: var(--foreground); border-radius: 2px; transition: var(--transition); }

/* =============================================
   HERO
   ============================================= */
.hero {
  /* `100vh` no celular ignora a barra de endereço e provoca um salto de
     layout quando ela some. `svh` usa a altura menor (barra visível). */
  min-height: 100vh;
  min-height: 100svh;
  padding: 120px 0 80px;
  position: relative; overflow: hidden;
}
.hero .container { max-width: 1280px; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
/* Antes: círculo sólido + `filter: blur(120px)`. Um blur de raio 120px sobre
   700x500 é um dos efeitos mais caros que existem no navegador, e ele era
   recalculado sempre que a camada precisava ser repintada. Um radial-gradient
   dá exatamente o mesmo resultado visual e é desenhado uma única vez. */
.hero-glow { position: absolute; }
.glow-1 {
  width: 940px; height: 740px; top: -240px; left: -320px;
  background: radial-gradient(closest-side, hsla(45,93%,58%,0.13), transparent 100%);
}
.glow-2 {
  width: 640px; height: 640px; bottom: -170px; right: -220px;
  background: radial-gradient(closest-side, hsla(45,80%,50%,0.12), transparent 100%);
}
.grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 64px 64px;
}

/* Layout lado a lado — grid com áreas nomeadas.
   Evita `display: contents`, que tem bugs em versões antigas do Safari iOS. */
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 44% 1fr;
  grid-template-areas:
    "copy visual"
    "cta  visual";
  align-content: center;
  column-gap: 48px;
}
.hero-copy   { grid-area: copy;   text-align: left; align-self: end; }
.hero-cta    { grid-area: cta;    text-align: left; align-self: start; }
.hero-right  {
  grid-area: visual;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
}

.hero-title {
  font-size: clamp(32px, 4.5vw, 58px);
  font-weight: 900; line-height: 1.1;
  margin-bottom: 22px; letter-spacing: -1.5px;
}
.hero-subtitle {
  color: var(--muted); font-size: clamp(15px, 1.6vw, 18px);
  max-width: 520px; margin: 0 0 36px; line-height: 1.7;
}
.hero-subtitle .hl { color: var(--primary); font-weight: 700; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }

/* Stats */
.hero-stats {
  display: inline-flex; align-items: center;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 16px 24px; gap: 0;
  flex-wrap: wrap; row-gap: 12px;
}
.stat-item { display: flex; flex-direction: column; align-items: center; padding: 0 28px; position: relative; }
.stat-number { font-size: 28px; font-weight: 800; color: var(--primary); line-height: 1; }
.stat-label  { font-size: 12px; color: var(--muted); font-weight: 500; margin-top: 4px; white-space: nowrap; }
.stat-divider { width: 1px; height: 36px; background: var(--border); }

.stat-number-row {
  display: flex;
  align-items: center;
  gap: 7px;
}

/* O pulso era feito animando `box-shadow`, que NÃO é uma propriedade
   composta: o navegador repintava o elemento 60x por segundo, para sempre.
   Agora a onda é um pseudo-elemento animado só com transform + opacity,
   que roda inteiramente na GPU sem repintar nada. */
.stat-live-dot {
  position: relative;
  width: 8px; height: 8px;
  background: #4ade80;
  border-radius: 50%;
  flex-shrink: 0;
}
.stat-live-dot::after {
  content: '';
  position: absolute; inset: 0;
  border-radius: 50%;
  background: rgba(74,222,128,0.5);
  animation: livePulse 1.8s ease-out infinite;
}
@keyframes livePulse {
  0%   { transform: scale(1);   opacity: 0.5; }
  70%  { transform: scale(3);   opacity: 0;   }
  100% { transform: scale(3);   opacity: 0;   }
}

/* =============================================
   MOCKUP DO HERO (notebook + celular)
   ============================================= */
.hero-mockup-wrap {
  position: relative;
  width: 100%;
  max-width: 760px;
  /* o PNG é recortado (sem fundo) e já traz sombra + glow dourado próprios */
  animation: floatMac 4s ease-in-out infinite;
}
@keyframes floatMac {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-12px); }
}
.hero-mockup-wrap picture { display: block; }
.hero-mockup {
  width: 100%;
  height: auto;
  display: block;
}

/* =============================================
   FAIXA DE RECURSOS (MARQUEE)
   ============================================= */
.ticker {
  position: relative;
  overflow: hidden;
  margin-top: -80px;   /* sobe a faixa, colando mais no hero */
  padding: 18px 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 120px, #000 calc(100% - 120px), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 120px, #000 calc(100% - 120px), transparent 100%);
}

.ticker-track {
  display: flex;
  width: max-content;
  /* sem `will-change`: a própria animação de transform já promove a camada,
     e o `will-change` só mantinha essa faixa larguíssima presa na memória
     da GPU o tempo todo, inclusive fora da tela. */
  animation: tickerScroll 50s linear infinite;
}

.ticker-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--muted);
}

.ticker-dot {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--primary);
  opacity: 0.5;
  margin: 0 34px;
  flex-shrink: 0;
}

.ticker-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
  opacity: 0.9;
}
.ticker-icon svg { width: 17px; height: 17px; }

@keyframes tickerScroll {
  from { transform: translate3d(-50%, 0, 0); }
  to   { transform: translate3d(0, 0, 0); }
}

@media (max-width: 768px) {
  .ticker { padding: 14px 0; margin-top: -44px; }
  .ticker-item { font-size: 12.5px; gap: 7px; }
  .ticker-icon svg { width: 15px; height: 15px; }
  .ticker-dot { margin: 0 20px; }
  .ticker-track { animation-duration: 36s; }
}

/* =============================================
   PARTNERS
   ============================================= */
.partners {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-card);
}
.partners-label {
  text-align: center; font-size: 11px; color: var(--muted);
  letter-spacing: 2.5px; font-weight: 700; margin-bottom: 28px;
}
.partners-logos {
  display: flex; align-items: center; justify-content: center;
  gap: 40px; flex-wrap: wrap;
}
.partner-logo {
  height: 28px;
  width: 100px;
  object-fit: contain;
  opacity: 0.55;
  transition: opacity 0.2s;
  filter: brightness(0) invert(1);
}
.partner-logo:hover { opacity: 1; }

/* Tamanho individual — ajuste os px manualmente */
.partner-bet365 { height: 170px; width: 100px; }
.partner-kiron  { height: 48px; width: 100px; }
.partner-betano { height: 28px; width: 100px; }

.partner-sep { width: 1px; height: 28px; background: var(--border); }
.partner-more {
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  letter-spacing: 0.5px;
  color: var(--primary);
  animation: blink-gold 1.2s ease-in-out infinite;
}
@keyframes blink-gold {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.15; }
}

/* =============================================
   FEATURES – novo layout
   ============================================= */
.features { padding: 100px 0; }

.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

/* Card base */
.feat-item {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
}
.feat-item:hover {
  border-color: hsl(240, 6%, 30%);
  background: var(--bg-elevated);
  transform: translateY(-2px);
}

/* Destaque discreto (cards exclusivos) */
.feat-accent { border-color: rgba(245,197,24,0.28); }
.feat-accent:hover { border-color: rgba(245,197,24,0.5); }

/* Número */
.feat-num {
  position: absolute;
  top: 16px; right: 18px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.15);
  letter-spacing: 0.5px;
}

/* Ícone */
.feat-icon-wrap {
  flex-shrink: 0;
  width: 42px; height: 42px;
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: color 0.25s ease, border-color 0.25s ease;
}
.feat-item:hover .feat-icon-wrap { color: var(--foreground); }

/* Ícone dourado — só nos cards exclusivos */
.feat-icon-gold {
  background: rgba(245,197,24,0.08);
  border-color: rgba(245,197,24,0.22);
  color: var(--primary);
}
.feat-item:hover .feat-icon-gold { color: var(--primary-light); }

/* Texto */
.feat-body h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--foreground);
  letter-spacing: -0.1px;
}
.feat-body p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}
.feat-body .hl { color: var(--primary); font-weight: 600; }

/* Badge exclusivo */
.feat-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(245,197,24,0.08);
  border: 1px solid rgba(245,197,24,0.25);
  padding: 2px 9px;
  border-radius: 50px;
  margin-bottom: 9px;
}

/* Card "E muito mais" */
.feat-more {
  background: transparent;
  border: 1px dashed hsl(240, 6%, 26%);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
}
.feat-more:hover {
  border-color: rgba(245,197,24,0.4);
  background: transparent;
}
.feat-more-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.feat-more-icon {
  font-size: 18px;
  color: var(--primary);
  opacity: 0.8;
}
.feat-more-text {
  font-size: 16px;
  font-weight: 600;
  color: var(--foreground);
}
.feat-more-inner > p {
  font-size: 12px;
  color: var(--muted);
  max-width: 190px;
  line-height: 1.6;
}

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials { padding: 100px 0; background: var(--bg-card); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testimonial-card {
  background: var(--bg-elevated); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
  transition: var(--transition);
}
.testimonial-card.highlight { border-color: rgba(245,197,24,0.3); }
.testimonial-card:hover { transform: translateY(-3px); }
.stars { color: var(--primary); font-size: 18px; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial-card > p {
  color: var(--muted); font-size: 14px; line-height: 1.75;
  margin-bottom: 24px; font-style: italic;
}
.t-author { display: flex; align-items: center; gap: 12px; }
.t-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 13px;
  color: hsl(240,10%,8%); flex-shrink: 0;
}
.t-info strong { display: block; font-size: 14px; font-weight: 700; }
.t-info span   { font-size: 12px; color: var(--muted); }

/* =============================================
   PRICING
   ============================================= */
.pricing { padding: 100px 0; }

/* Toggle Mensal / Trimestral */
.billing-switch { display: flex; justify-content: center; margin-bottom: 44px; }
.billing-toggle {
  position: relative; display: grid; grid-auto-flow: column;
  grid-auto-columns: 1fr; padding: 5px;
  border: 1px solid rgba(255,255,255,0.07); border-radius: 50px;
  background: rgba(255,255,255,0.03);
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.4);
  isolation: isolate;
}
.billing-thumb {
  position: absolute; z-index: -1; top: 5px; bottom: 5px; left: 5px;
  width: calc(50% - 5px); border-radius: 50px;
  background: linear-gradient(180deg, hsl(45,93%,62%), hsl(41,92%,52%));
  box-shadow: 0 2px 10px rgba(245,197,24,0.28);
  transition: transform .32s cubic-bezier(.4,0,.2,1);
}
.pricing[data-cycle="trimestral"] .billing-thumb { transform: translateX(100%); }
.billing-option {
  position: relative; border: 0; background: none; cursor: pointer;
  font-family: inherit; font-size: 15px; font-weight: 600;
  letter-spacing: .1px; color: var(--muted);
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 11px 34px; border-radius: 50px; white-space: nowrap;
  transition: color .25s ease;
}
.billing-option:hover:not(.active) { color: var(--foreground); }
.billing-option.active { color: hsl(240,10%,8%); font-weight: 700; }
.billing-option:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
.billing-tag {
  font-size: 11px; font-weight: 700; letter-spacing: .3px;
  padding: 2px 7px; border-radius: 50px;
  background: rgba(245,197,24,0.14); color: var(--primary);
  transition: background .25s ease, color .25s ease;
}
.billing-option.active .billing-tag {
  background: rgba(0,0,0,0.18); color: hsl(240,10%,12%);
}
@media (prefers-reduced-motion: reduce) {
  .billing-thumb { transition: none; }
}

.pricing-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 24px; max-width: 800px; margin: 0 auto;
  align-items: stretch;
}
.pricing-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 36px 28px;
  position: relative; transition: var(--transition);
  display: flex; flex-direction: column;
}
.pricing-card .plan-features { flex: 1; }
.pricing-card.popular {
  border-color: var(--primary);
  box-shadow: 0 0 48px rgba(245,197,24,0.12);
}
.pricing-card:hover:not(.popular) { border-color: rgba(245,197,24,0.25); transform: translateY(-3px); }
.popular-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: hsl(240,10%,8%);
  font-size: 11px; font-weight: 800; letter-spacing: 1px;
  padding: 5px 20px; border-radius: 50px; white-space: nowrap;
}
.plan-header { margin-bottom: 20px; }
.plan-name { font-size: 22px; font-weight: 700; margin-bottom: 6px; }
.plan-savings {
  display: inline-block; background: rgba(245,197,24,0.12);
  color: var(--primary); font-size: 12px; font-weight: 700;
  padding: 3px 12px; border-radius: 50px;
}
.pricing[data-cycle="mensal"] .plan-savings { display: none; }
.plan-price-wrap {
  display: flex; align-items: baseline; gap: 4px; margin-bottom: 28px;
}
.plan-currency { font-size: 20px; font-weight: 700; color: var(--muted); }
.plan-amount   { font-size: 52px; font-weight: 900; line-height: 1; color: var(--foreground); }
.plan-period   { font-size: 16px; color: var(--muted); }
.plan-features { list-style: none; margin-bottom: 28px; }
.plan-features li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 9px 0; font-size: 14px; color: var(--muted);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.plan-features li .check { line-height: 1.6; }
.plan-features li:last-child { border: none; }
.plan-features li.plan-feat-highlight { color: var(--primary); font-weight: 700; }
.check { color: var(--primary); font-weight: 700; flex-shrink: 0; }

.pricing-note {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; margin-top: 36px; color: var(--muted); font-size: 14px;
}
.pricing-note svg { color: var(--primary); }

/* =============================================
   FAQ
   ============================================= */
.faq { padding: 100px 0; background: var(--bg-card); }
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border); border-radius: var(--radius);
  margin-bottom: 10px; overflow: hidden; transition: border-color 0.2s;
}
.faq-item.open { border-color: rgba(245,197,24,0.3); }
.faq-question {
  width: 100%; display: flex; justify-content: space-between;
  align-items: center; padding: 18px 22px;
  background: var(--bg-elevated); border: none;
  color: var(--foreground); font-size: 15px; font-weight: 600;
  cursor: pointer; text-align: left; gap: 16px;
  font-family: inherit; transition: background 0.2s;
}
.faq-question:hover { background: var(--bg-card); }
.faq-icon {
  font-size: 22px; color: var(--primary); flex-shrink: 0;
  font-weight: 300; transition: transform 0.3s; line-height: 1;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { display: none; padding: 0 22px 18px; background: var(--bg-elevated); }
.faq-answer.show { display: block; }
.faq-answer p { color: var(--muted); font-size: 14px; line-height: 1.75; }

/* =============================================
   CTA / CONTACT
   ============================================= */
.contact-cta { padding: 100px 0; }
.cta-box {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 64px 48px;
  text-align: center; position: relative; overflow: hidden;
}
.cta-glow {
  position: absolute; width: 500px; height: 300px;
  background: radial-gradient(ellipse, rgba(245,197,24,0.12), transparent);
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  pointer-events: none;
}
.cta-box h2 { font-size: clamp(26px, 4vw, 42px); font-weight: 800; margin-bottom: 14px; position: relative; }
.cta-box > p { color: var(--muted); font-size: 17px; max-width: 520px; margin: 0 auto 36px; position: relative; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; margin-bottom: 20px; }
.cta-note { color: var(--muted); font-size: 13px; position: relative; }

/* =============================================
   FOOTER
   ============================================= */
.footer { background: var(--bg-card); border-top: 1px solid var(--border); padding: 72px 0 0; }
.footer-top { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; padding-bottom: 48px; }
.footer-logo { height: 32px; width: auto; margin-bottom: 14px; }
.footer-brand p { color: var(--muted); font-size: 14px; max-width: 260px; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.social-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 16px; border: 1px solid var(--border);
  border-radius: 50px; font-size: 13px; font-weight: 600;
  color: var(--muted); text-decoration: none; transition: var(--transition);
}
.social-btn:hover { border-color: var(--primary); color: var(--primary); }
.footer-links-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-col h4 {
  font-size: 12px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: var(--foreground);
  margin-bottom: 14px;
}
.footer-col a {
  display: block; color: var(--muted); text-decoration: none;
  font-size: 14px; padding: 4px 0; transition: color 0.2s;
}
.footer-col a:hover { color: var(--primary); }
.footer-bottom {
  border-top: 1px solid var(--border); padding: 20px 0;
  text-align: center;
}
.footer-bottom p { font-size: 13px; color: var(--muted); }

/* =============================================
   WHATSAPP FLOAT
   ============================================= */
.telegram-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 56px; height: 56px; border-radius: 50%;
  background: #229ED9; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(34,158,217,0.5);
  transition: var(--transition);
}
.telegram-float:hover { background: #1a8bbf; transform: scale(1.08); }

/* =============================================
   SHOWCASE — CAMINHO DE FERRAMENTAS
   ============================================= */
.showcase {
  position: relative;
  padding: 100px 0 110px;
  overflow: hidden;
}
.showcase-bg { position: absolute; inset: 0; pointer-events: none; }
.showcase-glow {
  position: absolute; top: 12%; left: 50%;
  width: 900px; height: 900px; transform: translateX(-50%);
  /* o `filter: blur(40px)` daqui era redundante: desfocar um gradiente que já
     é suave não muda nada na tela e custa um passe de GPU de 900x900px. */
  background: radial-gradient(circle, rgba(245,197,24,0.07) 0%, transparent 62%);
}
.showcase .container { position: relative; z-index: 1; }

/* Trilho vertical */
.showcase-path { position: relative; }
.path-line {
  position: absolute; top: 0; bottom: 0; left: 50%;
  width: 2px; margin-left: -1px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(245,197,24,0.35) 8%,
    rgba(245,197,24,0.35) 92%,
    transparent 100%
  );
}

/* Passo */
.path-step {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 96px 1fr;
  align-items: center;
  gap: 0;
  margin-bottom: 90px;
}
.path-step:last-child { margin-bottom: 0; }

/* grid-row: 1 é obrigatório nos três — sem ele o grid joga
   o item de coluna "anterior" para a linha de baixo */
.path-text   { grid-column: 1; grid-row: 1; padding-right: 8px; text-align: right; min-width: 0; }
.path-visual { grid-column: 3; grid-row: 1; padding-left: 8px; min-width: 0; }

/* Alternado */
.path-reverse .path-text   { grid-column: 3; grid-row: 1; padding-right: 0; padding-left: 8px; text-align: left; }
.path-reverse .path-visual { grid-column: 1; grid-row: 1; padding-left: 0; padding-right: 8px; }

/* Nó numerado no trilho */
.path-node {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  justify-self: center;
  width: 54px; height: 54px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1.5px solid rgba(245,197,24,0.45);
  box-shadow: 0 0 0 8px var(--bg), 0 0 28px rgba(245,197,24,0.18);
  z-index: 2;
}
.path-node span {
  font-size: 15px; font-weight: 800;
  color: var(--primary); letter-spacing: -0.5px;
}

/* Texto */
.path-tag {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 10px;
}
.path-text h3 {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 800; line-height: 1.2;
  margin-bottom: 12px; letter-spacing: -0.5px;
}
.path-text > p {
  color: var(--muted); font-size: 16px;
  line-height: 1.7; margin-bottom: 18px;
}
.path-text em { color: var(--foreground); font-style: normal; font-weight: 600; }

.path-list { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.path-list li {
  position: relative;
  font-size: 14.5px; color: var(--muted);
  padding-right: 22px;
}
.path-list li::after {
  content: '';
  position: absolute; right: 0; top: 8px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--primary); opacity: 0.75;
}
.path-reverse .path-list li { padding-right: 0; padding-left: 22px; }
.path-reverse .path-list li::after { right: auto; left: 0; }

/* Mockup de navegador */
.browser {
  max-width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: 0 24px 60px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.03) inset;
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1), box-shadow 0.4s ease;
}
.browser:hover {
  transform: translateY(-6px);
  box-shadow: 0 32px 70px rgba(0,0,0,0.65), 0 0 40px rgba(245,197,24,0.10);
}
.browser-bar {
  display: flex; align-items: center; gap: 12px;
  padding: 9px 12px;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
}
.browser-dots { display: flex; gap: 6px; flex-shrink: 0; }
.browser-dots i {
  width: 10px; height: 10px; border-radius: 50%;
  background: #3a4050; display: block;
}
.browser-dots i:nth-child(1) { background: #ff5f57; }
.browser-dots i:nth-child(2) { background: #febc2e; }
.browser-dots i:nth-child(3) { background: #28c840; }
.browser-url {
  flex: 1 1 auto;
  min-width: 0; /* deixa a URL encolher em vez de esticar o mockup */
  display: flex; align-items: center; gap: 6px;
  background: rgba(0,0,0,0.35);
  border-radius: 50px;
  padding: 5px 14px;
  font-size: 11.5px; color: var(--muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.browser-url svg { width: 11px; height: 11px; color: #4ade80; flex-shrink: 0; }

.browser-screen {
  position: relative;
  background: hsl(240, 12%, 6%);
  line-height: 0;
  overflow: hidden;
}
/* Placeholder enquanto a imagem não existe / não carregou */
.browser-screen::before {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(135deg, rgba(245,197,24,0.05) 0%, transparent 55%),
    repeating-linear-gradient(
      45deg,
      rgba(255,255,255,0.02) 0px,
      rgba(255,255,255,0.02) 10px,
      transparent 10px,
      transparent 20px
    );
}
.browser-screen picture { display: block; }
.browser-screen img {
  position: relative;
  width: 100%; height: 260px;
  object-fit: cover; object-position: top center;
  display: block;
  /* esconde o texto alternativo caso o arquivo esteja faltando */
  font-size: 0; color: transparent; text-indent: -9999px;
}
/* Painéis verticais (ex.: Detectar Oportunidade) não são cortados */
.browser-tall .browser-screen img {
  height: 420px;
  object-fit: contain;
  object-position: center;
  background: hsl(240, 12%, 6%);
}

.showcase-cta { text-align: center; margin-top: 80px; }

/* =============================================
   SCROLL ANIMATION
   ============================================= */
/* Só esconde se o JS estiver ativo (a classe `js` é adicionada no <head>).
   Sem essa trava, uma falha no script deixaria a página inteira invisível. */
html.js .animate-on-scroll {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.28s ease-out, transform 0.28s ease-out;
}
html.js .animate-on-scroll.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html.js .animate-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* No celular a animação de entrada é desligada por completo.
   Era ela que deixava 10 blocos grandes (os 5 passos das ferramentas, os 3
   depoimentos e os 2 cards de preço) com `opacity: 0` esperando o JavaScript.
   Em rolagem rápida com o dedo, o conteúdo só surgia meio segundo depois —
   exatamente o "demora para aparecer" que aparecia junto com a faixa preta. */
@media (max-width: 768px) {
  html.js .animate-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .feat-grid          { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid  { grid-template-columns: repeat(2, 1fr); }

  /* Tablet: mantém o lado a lado alternado, só mais compacto */
  .showcase { padding: 80px 0 90px; }
  .path-step { grid-template-columns: 1fr 68px 1fr; margin-bottom: 64px; }
  .path-node { width: 46px; height: 46px; box-shadow: 0 0 0 6px var(--bg), 0 0 20px rgba(245,197,24,0.18); }
  .path-node span { font-size: 13px; }
  .path-text > p { font-size: 15px; }
  .path-list li { font-size: 13.5px; }
  .browser-screen img { height: 200px; }
  .browser-tall .browser-screen img { height: 300px; }
}

/* Só abaixo de 768px o caminho vira coluna única */
@media (max-width: 768px) {
  .showcase { padding: 70px 0 80px; }
  .path-line { left: 27px; margin-left: 0; }
  .path-step,
  .path-reverse {
    grid-template-columns: 56px 1fr;
    align-items: start;
    gap: 0 20px;
    margin-bottom: 56px;
  }
  .path-node,
  .path-reverse .path-node {
    grid-column: 1; grid-row: 1;
    justify-self: start;
    width: 46px; height: 46px;
    box-shadow: 0 0 0 6px var(--bg), 0 0 20px rgba(245,197,24,0.18);
  }
  .path-node span { font-size: 13px; }
  .path-text,
  .path-reverse .path-text {
    grid-column: 2; grid-row: 1;
    text-align: left;
    padding: 0 0 22px;
  }
  .path-visual,
  .path-reverse .path-visual {
    grid-column: 2; grid-row: 2;
    padding: 0;
    min-width: 0;
  }
  .path-list li,
  .path-reverse .path-list li { padding-right: 0; padding-left: 20px; }
  .path-list li::after,
  .path-reverse .path-list li::after { right: auto; left: 0; }

  .showcase-cta { margin-top: 56px; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none; flex-direction: column;
    position: fixed; top: 68px; left: 0; right: 0;
    background: var(--bg); padding: 24px;
    gap: 12px; border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .nav-entrar, .nav-cta { display: none; }
  .hamburger { display: flex; }

  /* Hero empilha no mobile — mockup entra ENTRE o subtítulo e o botão.
     Só reordena as áreas do grid: sem display:contents, sem order. */
  .hero-inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "visual"
      "cta";
    column-gap: 0;
  }
  .hero-copy  { text-align: center; }
  .hero-cta   { text-align: center; }
  .hero-right { justify-content: center; margin-bottom: 32px; }

  .hero-title    { text-align: center; margin-bottom: 18px; }
  .hero-subtitle { text-align: center; margin: 0 auto 28px; }
  .hero-mockup-wrap {
    width: 100%; max-width: 460px;
    margin: 0 auto;
    animation: none;
  }
  .hero-actions  { justify-content: center; margin-bottom: 36px; }
  .hero-stats    { justify-content: center; }

  .hero-title { letter-spacing: -0.5px; }
  .stat-item  { padding: 0 12px; }
  .stat-number { font-size: 20px; }

  .feat-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .billing-option { padding: 11px 20px; font-size: 14px; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; }
  .pricing-card.popular { margin-top: 16px; }

  .footer-top { grid-template-columns: 1fr; }
  .footer-links-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-box { padding: 40px 24px; }

  .browser-screen img { height: 200px; }
  .browser-tall .browser-screen img { height: 320px; }
  .browser-url { font-size: 10px; padding: 4px 10px; }
}

@media (max-width: 480px) {
  .hero-stats { flex-direction: column; }
  .stat-divider { width: 80%; height: 1px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .cta-actions  { flex-direction: column; align-items: center; }
  .footer-links-grid { grid-template-columns: 1fr; }
  .partners-logos { gap: 24px; }
  .partner-sep { display: none; }
}
