/* ══════════════════════════════════════════
   bcbapp — style.css
   ══════════════════════════════════════════ */

:root{
  --bg:          #0a0b0a;
  --bg-2:        #0f110e;
  --surface:     #141712;
  --surface-2:   #1b1f19;
  --line:        #262b23;
  --line-soft:   #1e221b;

  --ink:         #f4f6f2;
  --ink-2:       #b9c0b3;
  --ink-3:       #7d857a;

  --accent:      #7ee83f;
  --accent-2:    #5cc228;
  --accent-glow: rgba(126,232,63,.14);
  --amber:       #f5a524;

  --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --r:   14px;
  --r-lg:20px;
  --wrap: 1180px;
}

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

html{ scroll-behavior:smooth; }

body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:var(--sans);
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }

h1,h2,h3,h4{
  margin:0 0 .4em;
  line-height:1.05;
  font-weight:800;
  letter-spacing:-.035em;
}
p{ margin:0 0 1.1em; color:var(--ink-2); }

.wrap{ max-width:var(--wrap); margin:0 auto; padding:0 28px; }
.accent{ color:var(--accent); }

/* ── kicker / labels ─────────────────────── */
.kicker{
  font-family:var(--mono);
  font-size:11.5px;
  font-weight:500;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--accent);
  margin:0 0 18px;
}
.micro{
  font-size:13px;
  color:var(--ink-3);
  margin:14px 0 0;
}
.caption{
  font-family:var(--mono);
  font-size:11px;
  color:var(--ink-3);
  margin:16px 0 0;
  text-align:center;
  letter-spacing:.02em;
}

/* ── buttons ─────────────────────────────── */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:8px;
  padding:13px 24px;
  border-radius:999px;
  font-size:14.5px;
  font-weight:650;
  letter-spacing:-.01em;
  border:1px solid transparent;
  cursor:pointer;
  transition:transform .18s cubic-bezier(.2,.8,.3,1), background .2s, border-color .2s, color .2s;
  white-space:nowrap;
}
.btn:hover{ transform:translateY(-2px); }
.btn--solid{ background:var(--accent); color:#07130a; }
.btn--solid:hover{ background:#8ff055; }
.btn--line{ background:transparent; color:var(--ink); border-color:var(--line); }
.btn--line:hover{ border-color:var(--accent); color:var(--accent); }
.btn--sm{ padding:9px 18px; font-size:13px; }
.btn--lg{ padding:15px 30px; font-size:15px; }

/* ══════════ HEADER ══════════ */
.header{
  position:sticky; top:0; z-index:80;
  background:rgba(10,11,10,.78);
  backdrop-filter:blur(14px) saturate(140%);
  border-bottom:1px solid transparent;
  transition:border-color .25s;
}
.header.is-stuck{ border-bottom-color:var(--line-soft); }
.header__inner{
  display:flex; align-items:center; justify-content:space-between;
  height:70px;
}
.logo{
  font-size:21px; font-weight:900; letter-spacing:-.05em;
}
.nav{ display:flex; gap:30px; }
.nav a{
  font-size:14px; font-weight:550; color:var(--ink-2);
  position:relative; transition:color .2s;
}
.nav a::after{
  content:''; position:absolute; left:0; right:100%; bottom:-5px;
  height:1.5px; background:var(--accent); transition:right .25s ease;
}
.nav a:hover{ color:var(--ink); }
.nav a:hover::after{ right:0; }

.header__actions{ display:flex; align-items:center; gap:14px; }
.burger{
  display:none; flex-direction:column; gap:5px;
  background:none; border:none; cursor:pointer; padding:8px 4px;
}
.burger span{
  width:20px; height:1.8px; background:var(--ink); border-radius:2px;
  transition:transform .28s, opacity .28s;
}
.burger.is-open span:nth-child(1){ transform:translateY(3.4px) rotate(45deg); }
.burger.is-open span:nth-child(2){ transform:translateY(-3.4px) rotate(-45deg); }

/* ══════════ HERO ══════════ */
.hero{
  position:relative;
  padding:110px 0 0;
  overflow:hidden;
}
.hero__grid{
  position:absolute; inset:0;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size:64px 64px;
  mask-image:radial-gradient(ellipse 80% 55% at 30% 0%, #000 20%, transparent 75%);
  -webkit-mask-image:radial-gradient(ellipse 80% 55% at 30% 0%, #000 20%, transparent 75%);
  opacity:.7;
  pointer-events:none;
}
.hero::before{
  content:''; position:absolute;
  top:-260px; left:-120px; width:760px; height:620px;
  background:radial-gradient(circle, var(--accent-glow), transparent 68%);
  pointer-events:none;
}
.hero .wrap{ position:relative; }

.hero__title{
  font-size:clamp(38px, 6.4vw, 78px);
  font-weight:900;
  letter-spacing:-.045em;
  margin-bottom:28px;
}
.hero__lead{
  font-size:clamp(16px,1.6vw,19px);
  max-width:610px;
  color:var(--ink-2);
  margin-bottom:36px;
}
.hero__cta{ display:flex; gap:14px; flex-wrap:wrap; padding-bottom:96px; }

/* faixa de prova */
.proof{
  position:relative;
  border-top:1px solid var(--line-soft);
  border-bottom:1px solid var(--line-soft);
  background:linear-gradient(180deg, rgba(126,232,63,.03), transparent);
}
.proof__inner{
  display:flex; align-items:center; gap:40px;
  padding:26px 28px; flex-wrap:wrap;
}
.proof__label{
  font-family:var(--mono); font-size:10.5px; letter-spacing:.18em;
  text-transform:uppercase; color:var(--ink-3); white-space:nowrap;
}
.proof__list{ display:flex; gap:44px; flex-wrap:wrap; }
.proof__list li{ display:flex; flex-direction:column; }
.proof__list strong{ font-size:15px; font-weight:700; letter-spacing:-.02em; }
.proof__list span{ font-family:var(--mono); font-size:11px; color:var(--ink-3); margin-top:2px; }

/* ══════════ SHOWCASE (produtos) ══════════ */
.showcase{ padding:110px 0; position:relative; }
.showcase{ border-bottom:1px solid var(--line-soft); }

.showcase__inner{
  display:grid;
  grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);
  gap:72px;
  align-items:center;
}
.showcase__inner--flip .showcase__text{ order:2; }
.showcase__inner--flip .showcase__visual{ order:1; }

.showcase__title{
  font-size:clamp(34px,4.6vw,54px);
  font-weight:900;
  letter-spacing:-.045em;
  margin-bottom:16px;
}
.showcase__tagline{
  font-size:clamp(18px,2.1vw,23px);
  font-weight:600;
  color:var(--ink);
  letter-spacing:-.03em;
  line-height:1.3;
  margin-bottom:20px;
  max-width:20ch;      /* mantém 2 linhas equilibradas */
  text-wrap:balance;
}
.showcase__text > p{ max-width:520px; }

/* stats do serviço de Google */
.stats{
  display:flex; gap:16px; flex-wrap:wrap;
  margin:32px 0;
}
.stat{
  flex:1 1 190px;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--r);
  padding:22px 20px;
}
.stat__value{
  display:block;
  font-size:34px; font-weight:850; letter-spacing:-.045em;
  color:var(--accent); line-height:1;
  margin-bottom:8px;
}
.stat__value em{ font-style:normal; font-size:.62em; }
.stat__label{ font-size:12.5px; color:var(--ink-3); line-height:1.45; display:block; }

/* ══════════ MOCKUP: BUSCA GOOGLE ══════════ */
.serp{
  background:#fff;
  border-radius:var(--r-lg);
  padding:22px;
  box-shadow:0 40px 90px -40px rgba(0,0,0,.9);
}
.serp__bar{
  display:flex; align-items:center; gap:11px;
  border:1px solid #dfe1e5; border-radius:999px;
  padding:11px 18px;
  color:#70757a;
  margin-bottom:16px;
}
.serp__query{ font-size:14.5px; color:#202124; display:inline-flex; align-items:center; }
.serp__caret{
  display:inline-block; width:1.5px; height:15px; background:#202124;
  margin-left:2px; animation:blink 1.1s steps(1) infinite;
}
@keyframes blink{ 50%{ opacity:0; } }

.serp__meta{ font-size:11px; color:#70757a; margin-bottom:16px; }

.serp__result{ display:block; padding:13px 0; border-radius:8px; }
.serp__result--first{
  position:relative;
  background:linear-gradient(90deg, rgba(126,232,63,.11), transparent 75%);
  padding:15px 15px 15px 14px;
  margin:0 -4px 6px;
  border-left:2.5px solid var(--accent-2);
}
.serp__badge{
  position:absolute; top:-9px; right:10px;
  font-family:var(--mono); font-size:8.5px; letter-spacing:.1em; text-transform:uppercase;
  background:var(--accent-2); color:#07130a;
  padding:3px 9px; border-radius:999px; font-weight:700;
}
.serp__site{ display:flex; align-items:center; gap:9px; margin-bottom:6px; }
.serp__favicon{
  width:25px; height:25px; border-radius:50%;
  background:linear-gradient(135deg,#d9a441,#f0d189);
  color:#4a3208; font-size:12px; font-weight:800;
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0;
}
.serp__name{ display:block; font-size:12.5px; color:#202124; font-weight:600; line-height:1.25; }
.serp__url{ display:block; font-size:11px; color:#5f6368; }
.serp__headline{
  display:block; font-size:17px; color:#1a0dab; font-weight:500;
  letter-spacing:-.01em; line-height:1.3; margin:0 0 5px;
}
.serp__result--first:hover .serp__headline{ text-decoration:underline; }
.serp__snippet{ display:block; font-size:12.5px; color:#4d5156; line-height:1.55; margin:0 0 6px; }
.serp__rating{ display:block; font-size:11.5px; color:#e8a33d; }
.serp__rating > span{ color:#70757a; margin-left:5px; }

.serp__result--ghost{ padding:14px 0; opacity:.5; }
.ghost-line{ height:9px; background:#e8eaed; border-radius:4px; margin-bottom:7px; width:88%; }
.ghost-line--sm{ width:32%; height:7px; }
.ghost-line--lg{ width:62%; height:13px; background:#dfe3e8; }

/* ══════════ SOB MEDIDA ══════════ */
.custom{ padding:110px 0; background:var(--bg-2); border-bottom:1px solid var(--line-soft); }
.custom__inner{ display:grid; grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr); gap:64px; }
.custom__head h2{ font-size:clamp(28px,3.6vw,42px); }
.custom__body > p{ font-size:17px; max-width:560px; }

.custom__items{ margin:34px 0 34px; display:flex; flex-direction:column; }
.custom__item{
  display:grid; grid-template-columns:44px 1fr; gap:4px 16px;
  padding:20px 0;
  border-top:1px solid var(--line-soft);
  align-items:start;
}
.custom__item:last-child{ border-bottom:1px solid var(--line-soft); }
.custom__item .num{
  grid-row:span 2;
  font-family:var(--mono); font-size:12px; color:var(--accent);
  padding-top:3px;
}
.custom__item strong{ font-size:16.5px; font-weight:700; letter-spacing:-.025em; }
.custom__item > span:last-child{ font-size:14px; color:var(--ink-3); }

/* ══════════ CLIENTES ══════════ */
.clients{ padding:110px 0; }
.section-head{ max-width:620px; margin-bottom:50px; }
.section-head h2{ font-size:clamp(28px,3.6vw,42px); }

.clients__grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.client{
  display:block;
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--r-lg);
  padding:28px 26px;
  transition:border-color .22s, transform .22s, background .22s;
}
a.client:hover{ border-color:var(--accent); transform:translateY(-4px); background:var(--surface-2); }
.client__tag{
  display:inline-block;
  font-family:var(--mono); font-size:9.5px; letter-spacing:.11em; text-transform:uppercase;
  color:var(--accent); background:var(--accent-glow);
  padding:5px 10px; border-radius:999px; margin-bottom:18px;
}
.client__tag--data{ color:#8ad4ff; background:rgba(138,212,255,.11); }
.client__tag--custom{ color:var(--ink-2); background:rgba(255,255,255,.06); }
.client h3{ font-size:20px; margin-bottom:5px; }
.client__place{
  display:block; font-family:var(--mono); font-size:10.5px;
  color:var(--ink-3); margin-bottom:14px;
}
.client p{ font-size:14px; color:var(--ink-2); margin-bottom:14px; }
.client__link{ font-size:13px; font-weight:600; color:var(--accent); }

/* ══════════ CTA FINAL ══════════ */
.final{ padding:110px 0; background:var(--bg-2); border-top:1px solid var(--line-soft); }
.final__inner{ text-align:center; }
.final h2{ font-size:clamp(28px,3.8vw,48px); margin-bottom:22px; }
.final__or{ font-size:14px; color:var(--ink-3); }
.final__or a{ color:var(--ink); border-bottom:1px solid var(--line); }
.final__or a:hover{ color:var(--accent); border-color:var(--accent); }


/* ══════════ SKIP LINK ══════════ */
.skip{
  position:absolute; left:16px; top:-60px; z-index:200;
  background:var(--accent); color:#07130a; font-weight:700;
  padding:10px 16px; border-radius:10px;
}
.skip:focus{ top:12px; }
:focus-visible{ outline:2px solid var(--accent); outline-offset:3px; }

/* ══════════ SERP: visão geral IA ══════════ */
.serp__ai{
  background:#f4f8fe; border:1px solid #e3ebf7;
  border-radius:12px; padding:13px 14px; margin-bottom:14px;
}
.serp__ai-label{
  display:inline-flex; align-items:center; gap:6px;
  font-size:11.5px; font-weight:600; color:#1a4fb5; margin-bottom:6px;
}
.serp__ai p{ font-size:12.5px; color:#3c4043; line-height:1.55; margin:0; }
.serp__ai b{ color:#202124; background:linear-gradient(transparent 60%, rgba(126,232,63,.45) 60%); }

/* ══════════ ONDE ENTRA A IA ══════════ */
.ai{ padding:110px 0; background:var(--bg-2); border-bottom:1px solid var(--line-soft); }
.section-head > p:not(.kicker){ font-size:16.5px; max-width:580px; }
.ai__grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.ai__card{
  background:var(--surface); border:1px solid var(--line);
  border-radius:var(--r-lg); padding:26px 22px;
  transition:border-color .22s, transform .22s;
}
.ai__card:hover{ border-color:rgba(126,232,63,.5); transform:translateY(-3px); }
.ai__icon{
  display:flex; align-items:center; justify-content:center;
  width:42px; height:42px; border-radius:12px;
  background:var(--accent-glow); color:var(--accent); margin-bottom:18px;
}
.ai__icon svg{ width:21px; height:21px; }
.ai__card h3{ font-size:17.5px; letter-spacing:-.025em; margin-bottom:8px; line-height:1.2; }
.ai__card p{ font-size:14px; margin:0; }

/* ══════════ COMO FUNCIONA ══════════ */
.steps{ padding:110px 0; border-bottom:1px solid var(--line-soft); }
.steps__inner{ display:grid; grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr); gap:64px; align-items:start; }
.steps__head{ position:sticky; top:110px; }
.steps__head h2{ font-size:clamp(28px,3.6vw,42px); }
.steps__head p{ font-size:16.5px; max-width:420px; margin-bottom:26px; }
.steps__list{ margin:0; padding:0; list-style:none; }
.step{
  display:grid; grid-template-columns:44px 1fr; gap:4px 16px;
  padding:24px 0; border-top:1px solid var(--line-soft);
}
.step:last-child{ border-bottom:1px solid var(--line-soft); }
.step .num{ grid-row:span 2; font-family:var(--mono); font-size:12px; color:var(--accent); padding-top:4px; }
.step strong{ font-size:18px; font-weight:750; letter-spacing:-.025em; }
.step > span:last-child{ font-size:14.5px; color:var(--ink-2); }

/* ══════════ FAQ ══════════ */
.faq{ padding:110px 0; background:var(--bg-2); border-top:1px solid var(--line-soft); }
.faq__inner{ display:grid; grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr); gap:64px; align-items:start; }
.faq__list details{ border-top:1px solid var(--line-soft); }
.faq__list details:last-child{ border-bottom:1px solid var(--line-soft); }
.faq__list summary{
  list-style:none; cursor:pointer;
  display:flex; justify-content:space-between; align-items:center; gap:18px;
  padding:20px 0; font-size:16.5px; font-weight:650; letter-spacing:-.02em;
}
.faq__list summary::-webkit-details-marker{ display:none; }
.faq__list summary::after{
  content:'+'; font-family:var(--mono); font-size:20px; color:var(--accent);
  transition:transform .2s; flex-shrink:0;
}
.faq__list details[open] summary::after{ transform:rotate(45deg); }
.faq__list summary:hover{ color:var(--accent); }
.faq__list details p{ font-size:15px; max-width:620px; padding-bottom:20px; margin:0; }

/* ══════════ CTA FINAL (novo) ══════════ */
.final__lead{ font-size:17px; max-width:560px; margin:0 auto 30px; }
.final__cta{ margin-bottom:24px; }

/* ══════════ FOOTER ══════════ */
.footer{ background:var(--bg); border-top:1px solid var(--line-soft); padding-top:64px; }
.footer__inner{
  display:grid; grid-template-columns:1.6fr 1fr 1fr; gap:40px;
  padding-bottom:48px;
}
.footer__brand p{ margin-top:12px; font-size:14px; max-width:280px; }
.footer__col{ display:flex; flex-direction:column; gap:11px; }
.footer__col h4{
  font-family:var(--mono); font-size:10px; letter-spacing:.15em; text-transform:uppercase;
  color:var(--ink-3); margin-bottom:8px; font-weight:500;
}
.footer__col a{ font-size:14px; color:var(--ink-2); transition:color .2s; }
.footer__col a:hover{ color:var(--accent); }
.footer__bottom{ border-top:1px solid var(--line-soft); padding:20px 0; }
.footer__bottom .wrap{
  display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap;
  font-family:var(--mono); font-size:10.5px; color:var(--ink-3);
}

/* ══════════ WHATSAPP FLOAT ══════════ */
.wa{
  position:fixed; right:22px; bottom:22px; z-index:90;
  width:52px; height:52px; border-radius:50%;
  background:#25D366; color:#fff;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 14px 34px -10px rgba(37,211,102,.65);
  transition:transform .2s;
}
.wa:hover{ transform:scale(1.09); }

/* ══════════ REVEAL ══════════ */
.reveal{ opacity:0; transform:translateY(22px); transition:opacity .75s cubic-bezier(.2,.7,.3,1), transform .75s cubic-bezier(.2,.7,.3,1); }
.reveal.is-visible{ opacity:1; transform:none; }
@media (prefers-reduced-motion: reduce){
  .reveal{ opacity:1; transform:none; transition:none; }
  .serp__caret{ animation:none; }
  html{ scroll-behavior:auto; }
}

/* ══════════ RESPONSIVO ══════════ */
@media (max-width:1000px){
  .showcase__inner,
  .showcase__inner--flip{ grid-template-columns:1fr; gap:48px; }
  .showcase__inner--flip .showcase__text,
  .showcase__inner--flip .showcase__visual{ order:initial; }
  .custom__inner{ grid-template-columns:1fr; gap:32px; }
  .clients__grid{ grid-template-columns:1fr 1fr; }
  .ai__grid{ grid-template-columns:1fr 1fr; }
  .steps__inner, .faq__inner{ grid-template-columns:1fr; gap:36px; }
  .steps__head{ position:static; }
  .footer__inner{ grid-template-columns:1fr 1fr; }
}

@media (max-width:760px){
  .nav{
    position:absolute; top:70px; left:0; right:0;
    background:var(--bg); border-bottom:1px solid var(--line);
    flex-direction:column; gap:0; padding:8px 28px 20px;
    transform:translateY(-10px); opacity:0; pointer-events:none;
    transition:transform .22s, opacity .22s;
  }
  .nav a{ padding:13px 0; border-bottom:1px solid var(--line-soft); font-size:15px; }
  .nav a::after{ display:none; }
  .nav.is-open{ transform:none; opacity:1; pointer-events:auto; }
  .burger{ display:flex; }
  .header__actions .btn{ display:none; }

  .hero{ padding-top:76px; }
  .hero__cta{ padding-bottom:64px; }
  .hero__cta .btn{ flex:1 1 100%; }
  .proof__inner{ gap:18px; }
  .proof__list{ gap:26px; }

  .showcase, .custom, .clients, .final, .ai, .steps, .faq{ padding:74px 0; }
  .ai__grid{ grid-template-columns:1fr; }
  .footer__inner{ grid-template-columns:1fr; gap:32px; }
  .clients__grid{ grid-template-columns:1fr; }
  .footer__bottom .wrap{ flex-direction:column; gap:6px; }
}

@media (max-width:420px){
  .wrap{ padding:0 20px; }
  .serp{ padding:16px; }
  .serp__headline{ font-size:15px; }
}

/* segurança: nenhum svg inline estoura o layout */
svg{ flex-shrink:0; }
.ai__icon svg{ width:21px !important; height:21px !important; }
