/* Base do site ABMedia: tokens, tipografia, faixas e utilidades. */
:root {
  --escuro: #0b2224;
  --escuro2: #0f2e30;
  --claro: #e9eaea;
  --gelo: #f6f7f7;
  --verde1: #5ef0a0;
  --verde2: #3fd46a;
  --verde3: #a6e83a;
  --verde-texto: #1c8a4e;
  --grad: linear-gradient(90deg, var(--verde1), var(--verde2) 55%, var(--verde3));
  --texto: #162526;
  --texto-suave: #4b5b5a;
  --borda-clara: #dfe5e4;
  --raio: 22px;
  --lado: clamp(20px, 7vw, 120px);
  --sora: 'Sora', system-ui, sans-serif;
  --poppins: 'Poppins', system-ui, sans-serif;
  --dm: 'DM Sans', system-ui, sans-serif;
  --curva: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { font-family: var(--dm); color: var(--texto); background: var(--gelo); line-height: 1.5; overflow-x: hidden; }
img, svg, video, iframe { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* Tipografia */
h1, h2, h3 { font-family: var(--sora); font-weight: 800; letter-spacing: -.02em; line-height: 1.06; }
h1 { font-size: clamp(40px, 6.4vw, 92px); }
h2 { font-size: clamp(30px, 4vw, 56px); }
h3 { font-size: clamp(20px, 1.8vw, 26px); letter-spacing: -.01em; }
.it { font-family: var(--poppins); font-style: italic; font-weight: 800; letter-spacing: -.01em; }
.g { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sub { font-size: clamp(16px, 1.3vw, 19px); color: var(--texto-suave); max-width: 640px; margin-top: 14px; }
.tag {
  display: inline-block; font: 700 11px var(--sora); letter-spacing: .14em; text-transform: uppercase;
  padding: 7px 13px; border-radius: 99px; border: 1px solid rgba(94, 240, 160, .55); color: var(--verde-texto); margin-bottom: 16px;
}

/* Faixas */
.faixa { position: relative; padding: clamp(80px, 11vw, 150px) var(--lado); }
.faixa-escura { background: var(--escuro); color: #e8f1f0; }
.faixa-escura-alt { background: var(--escuro2); color: #e8f1f0; }
.faixa-clara { background: var(--claro); }
.faixa-gelo { background: var(--gelo); }
.faixa-escura .sub, .faixa-escura-alt .sub { color: rgba(232, 241, 240, .75); }
.faixa-escura .tag, .faixa-escura-alt .tag { color: var(--verde1); }
.conteudo { max-width: 1240px; margin: 0 auto; }

/* Botões */
.botao {
  display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 99px;
  font: 700 15px var(--sora); text-decoration: none; background: var(--grad); color: var(--escuro);
  transition: transform .3s var(--curva), box-shadow .3s;
}
.botao:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(63, 212, 106, .35); }
.botao-contorno { background: none; color: inherit; border: 1px solid rgba(94, 240, 160, .6); }
.seta { width: 26px; height: 26px; border-radius: 8px; background: var(--grad); display: inline-grid; place-items: center; color: var(--escuro); font-weight: 800; flex: none; }

/* Revelar ao entrar */
.revela { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--curva), transform .8s var(--curva); }
.revela.on { opacity: 1; transform: none; }
.revela[data-atraso="1"] { transition-delay: .1s; } .revela[data-atraso="2"] { transition-delay: .2s; }
.revela[data-atraso="3"] { transition-delay: .3s; } .revela[data-atraso="4"] { transition-delay: .4s; }

/* Barrinha de progresso das seções fixadas */
.barra-prog { position: absolute; left: var(--lado); right: var(--lado); top: 22px; height: 2px; background: rgba(0, 0, 0, .08); z-index: 5; }
.faixa-escura .barra-prog, .faixa-escura-alt .barra-prog { background: rgba(255, 255, 255, .08); }
.barra-prog i { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--grad); }

.so-celular { display: none; }
@media (max-width: 767px) { .so-computador { display: none !important; } .so-celular { display: block; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .revela { opacity: 1; transform: none; }
}

/* Voltar ao topo */
.ao-topo { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 50px; height: 50px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer;
  background: var(--grad); color: var(--escuro); box-shadow: 0 12px 30px rgba(11, 34, 36, .3);
  opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none; transition: opacity .35s, transform .45s var(--curva); }
.ao-topo.on { opacity: 1; transform: none; pointer-events: auto; }
.ao-topo:hover { transform: translateY(-3px); }
.ao-topo svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

/* Marcador que segue o mouse (apresentação) */
.marcador { position: fixed; left: 0; top: 0; z-index: 9999; pointer-events: none; width: 0; height: 0; opacity: 0; transition: opacity .3s; }
.marcador.on { opacity: 1; }
.marcador::before { content: ''; position: absolute; left: -19px; top: -19px; width: 38px; height: 38px; border-radius: 50%;
  border: 2px solid rgba(63, 212, 106, .9); background: rgba(94, 240, 160, .14); box-shadow: 0 0 22px rgba(94, 240, 160, .45);
  transition: transform .3s var(--curva), background .3s; }
.marcador.sobre::before { transform: scale(1.55); background: rgba(94, 240, 160, .22); }
.marcador.clique::before { transform: scale(.75); }
