/* ============================================================
   DISTAK — Landing de Tráfego
   Dark editorial system
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,500;12..96,600;12..96,700;12..96,800&family=Hanken+Grotesk:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Space+Mono:wght@400;700&display=swap');

:root {
  --bg:        #05070D;
  --bg-2:      #080B13;
  --surface:   #0E121C;
  --surface-2: #141927;
  --surface-3: #1B2132;
  --line:      rgba(255,255,255,0.09);
  --line-2:    rgba(255,255,255,0.14);
  --text:      #F3F4F7;
  --muted:     #969BAA;
  --muted-2:   #6B7080;
  --accent:    #C6F24E;
  --accent-d:  #9FCB2E;
  --accent-ink:#0B1004;
  --green:     #4ED88A;
  --maxw:      1240px;
  --r:         16px;
  --r-lg:      26px;
  --ease:      cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ============================================================
   BACKGROUND FX — grid + drifting glows + node network
   ============================================================ */
body { position: relative; }
.bg-fx { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.bg-fx .grid {
  position: absolute; inset: -2px;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 78% 62% at 52% 26%, #000 30%, transparent 82%);
          mask-image: radial-gradient(ellipse 78% 62% at 52% 26%, #000 30%, transparent 82%);
  animation: gridfloat 40s linear infinite;
}
@keyframes gridfloat { to { background-position: 56px 56px; } }
.bg-fx .blob { position: absolute; border-radius: 50%; filter: blur(95px); }
.bg-fx .b1 { width: 540px; height: 540px; background: radial-gradient(circle, rgba(198,242,78,.18), transparent 70%); top: -140px; right: -60px; animation: drift1 28s ease-in-out infinite; }
.bg-fx .b2 { width: 500px; height: 500px; background: radial-gradient(circle, rgba(78,216,138,.13), transparent 70%); bottom: -160px; left: -120px; animation: drift2 34s ease-in-out infinite; }
@keyframes drift1 { 0%,100%{ transform: translate(0,0); } 50%{ transform: translate(-70px,90px); } }
@keyframes drift2 { 0%,100%{ transform: translate(0,0); } 50%{ transform: translate(90px,-70px); } }
.bg-fx canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .6; }
/* keep content above the fx */
section, footer, .marquee { position: relative; z-index: 1; }
@media (prefers-reduced-motion: reduce){
  .bg-fx .blob, .bg-fx .grid { animation: none; }
}

/* ---- shared atoms ---- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

.mono {
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.display {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.display em {
  font-style: italic;
  font-weight: 600;
  color: var(--accent);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--accent);
  display: inline-block;
}

.section-tag {
  color: var(--muted-2);
}

/* ---- buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Hanken Grotesk', sans-serif;
  font-weight: 600;
  font-size: 15.5px;
  letter-spacing: -0.01em;
  padding: 15px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), background .25s var(--ease), border-color .25s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}
.btn-primary:hover { transform: translateY(-2px); background: #d4fb63; }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-2);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: 11px 18px; font-size: 14px; }

/* ============================================================
   TOP BAR
   ============================================================ */
.topbar {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
}
.topbar.scrolled {
  background: rgba(5,7,13,0.78);
  backdrop-filter: blur(14px);
  border-color: var(--line);
}
.topbar .row {
  display: flex; align-items: center; justify-content: space-between;
  height: 74px;
}
.brand {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 25px;
  letter-spacing: -0.04em;
}
.brand b { color: var(--accent); }
.status {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--muted);
}
.status .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(78,216,138,.5);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(78,216,138,.45); }
  70% { box-shadow: 0 0 0 7px rgba(78,216,138,0); }
  100% { box-shadow: 0 0 0 0 rgba(78,216,138,0); }
}
.topbar-center { display: flex; align-items: center; gap: 22px; }
@media (max-width: 760px){ .topbar-center { display: none; } }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: 72px 0 90px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 520px at 78% 8%, rgba(198,242,78,0.12), transparent 60%),
    radial-gradient(700px 600px at 8% 100%, rgba(78,216,138,0.06), transparent 55%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(40px, 5.6vw, 74px);
  margin: 22px 0 22px;
}
.hero-sub {
  color: var(--muted);
  font-size: clamp(16px, 1.4vw, 19px);
  max-width: 540px;
  margin-bottom: 30px;
}
.hero-sub b { color: var(--text); font-weight: 600; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.chip {
  display: inline-flex; align-items: center; gap: 9px;
  color: var(--muted);
  font-size: 14.5px;
}
.chip .tick {
  width: 19px; height: 19px; border-radius: 50%;
  background: rgba(198,242,78,0.14);
  color: var(--accent);
  display: grid; place-items: center;
  flex: none;
}
.chip .tick svg { width: 11px; height: 11px; }

/* ---- campaign stat card ---- */
.statcard {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px;
  box-shadow: 0 40px 90px -50px rgba(0,0,0,.9);
}
.statcard-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 22px;
}
.live {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--accent);
  background: rgba(198,242,78,0.1);
  padding: 6px 12px; border-radius: 999px;
}
.live .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: pulse2 2s infinite; }
@keyframes pulse2 { 0%,100%{opacity:1} 50%{opacity:.35} }
.statcard h3 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 19px; font-weight: 600;
  margin-bottom: 2px;
}
.statcard .sub { color: var(--muted-2); font-size: 13px; }
.stat-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 14px; overflow: hidden;
}

/* big plain-language metrics */
.big-metrics {
  display: flex; flex-direction: column; gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 14px; overflow: hidden;
}
.metric {
  background: var(--surface);
  padding: 22px 22px;
  display: flex; align-items: center; gap: 20px;
}
.metric .m-val {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(34px, 4vw, 44px); font-weight: 800;
  color: var(--accent); line-height: 1; letter-spacing: -0.02em;
  flex: none; min-width: 128px;
}
.metric .m-val small { font-size: 16px; color: var(--muted); font-weight: 600; display:block; margin-top:6px; letter-spacing:0; }
.metric .m-desc { color: var(--muted); font-size: 14.5px; line-height: 1.45; }
.metric .m-desc b { color: var(--text); font-weight: 600; }
@media (max-width: 380px){ .metric { flex-direction: column; align-items: flex-start; gap: 10px; } }
.stat-cell { background: var(--surface); padding: 16px 18px; }
.stat-cell .label { color: var(--muted-2); font-size: 12px; margin-bottom: 6px; }
.stat-cell .val {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 28px; font-weight: 700; letter-spacing: -0.02em;
}
.stat-cell .val small { font-size: 15px; color: var(--muted); font-weight: 500; }
.stat-cell .delta { font-size: 12.5px; font-family:'Space Mono',monospace; margin-top: 3px; }
.delta.up { color: var(--green); }
.delta.down { color: var(--green); }
.stat-foot {
  margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line);
  display: flex; align-items: center; gap: 10px;
  color: var(--muted); font-size: 13.5px;
}
.stat-foot .bar { flex: 1; height: 6px; border-radius: 4px; background: var(--surface-3); overflow: hidden; }
.stat-foot .bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg,var(--accent),var(--green)); border-radius: 4px; transition: width 1.4s var(--ease); }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  overflow: hidden;
  background: var(--bg-2);
}
.marquee-track {
  display: flex; gap: 0; width: max-content;
  animation: scroll-x 34s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 19px; font-weight: 500;
  color: var(--muted);
  padding: 0 26px;
  display: inline-flex; align-items: center; gap: 26px;
  white-space: nowrap;
}
.marquee-track span::after { content: "✦"; color: var(--accent); font-size: 13px; }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* ============================================================
   SECTION SHELL
   ============================================================ */
section.block { padding: 96px 0; }
.block-head { max-width: 720px; margin-bottom: 54px; }
.block-head .row { display:flex; align-items:center; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.block-head h2 {
  font-size: clamp(32px, 4.3vw, 56px);
  margin-top: 14px;
}
.block-head p { color: var(--muted); font-size: 18px; margin-top: 18px; max-width: 600px; }
.block-head p b { color: var(--text); font-weight: 600; }

/* ---- trafego feature grid ---- */
.feat-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.feat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 24px 22px 26px;
  transition: border-color .3s, transform .3s var(--ease), background .3s;
}
.feat:hover { border-color: var(--line-2); transform: translateY(-3px); background: var(--surface-2); }
.feat .n { font-family:'Space Mono',monospace; color: var(--accent); font-size: 13px; margin-bottom: 30px; }
.feat h4 { font-family:'Bricolage Grotesque',sans-serif; font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.feat p { color: var(--muted); font-size: 14.5px; }

.trafego-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.price-pill {
  display: inline-flex; align-items: baseline; gap: 10px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 999px; padding: 12px 22px; margin-top: 28px;
}
.price-pill .big { font-family:'Bricolage Grotesque',sans-serif; font-size: 26px; font-weight: 700; color: var(--accent); }
.price-pill .lbl { color: var(--muted); font-size: 14px; }

/* ---- platform logos ---- */
.platforms { margin-top: 30px; }
.platforms .lbl { color: var(--muted-2); margin-bottom: 14px; }
.plat-row { display: flex; flex-wrap: nowrap; gap: 12px; }
.plat {
  display: inline-flex; align-items: center; justify-content: center;
  width: 54px; height: 54px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px;
  transition: border-color .3s, transform .3s var(--ease), background .3s;
}
.plat:hover { border-color: var(--line-2); transform: translateY(-2px); background: var(--surface-2); }
.plat svg { width: 28px; height: 28px; flex: none; }

/* ---- service grid (tudo num lugar) ---- */
.serv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.serv {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 26px 22px;
  min-height: 168px;
  display: flex; flex-direction: column; justify-content: space-between;
  transition: border-color .3s, background .3s, transform .3s var(--ease);
  overflow: hidden;
}
.serv:hover { border-color: var(--accent); background: var(--surface-2); transform: translateY(-3px); }
.serv.hero-serv { background: linear-gradient(150deg, rgba(198,242,78,0.16), var(--surface) 60%); border-color: rgba(198,242,78,0.3); }
.serv .ic { color: var(--accent); }
.serv .ic svg { width: 26px; height: 26px; }
.serv h4 { font-family:'Bricolage Grotesque',sans-serif; font-size: 18px; font-weight: 600; }
.serv p { color: var(--muted); font-size: 13.5px; margin-top: 5px; }
.serv .tagline { font-family:'Space Mono',monospace; font-size: 11px; color: var(--accent); letter-spacing:.1em; text-transform: uppercase; }

/* ============================================================
   PROVA SOCIAL
   ============================================================ */
.proof-layout { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 24px; align-items: stretch; }
.team-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 440px;
  background: var(--surface-2);
}
.team-card img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.team-card .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5,7,13,0) 35%, rgba(5,7,13,.92) 100%);
}
.team-card .caption {
  position: absolute; left: 26px; right: 26px; bottom: 24px;
}
.team-card .caption .mono { color: var(--accent); margin-bottom: 8px; }
.team-card .caption h3 { font-family:'Bricolage Grotesque',sans-serif; font-size: 26px; font-weight: 700; }
.team-card .caption p { color: var(--muted); font-size: 14.5px; margin-top: 4px; }

.review-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex; flex-direction: column;
}
.gscore { display: flex; align-items: center; gap: 16px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.gscore .num { font-family:'Bricolage Grotesque',sans-serif; font-size: 50px; font-weight: 800; line-height: 1; }
.stars { color: var(--accent); letter-spacing: 2px; font-size: 15px; }
.gscore .meta { color: var(--muted); font-size: 13.5px; margin-top: 5px; }
.glogo { display:inline-flex; align-items:center; gap:7px; font-weight:600; font-size:13px; color: var(--muted); margin-bottom: 4px; }
.review { padding: 18px 0; border-bottom: 1px solid var(--line); }
.review:last-of-type { border-bottom: 0; }
.review .who { display:flex; align-items:center; gap:11px; margin-bottom: 9px; }
.review .av { width: 34px; height: 34px; border-radius: 50%; background: var(--surface-3); display:grid; place-items:center; font-weight:700; color: var(--accent); font-size: 14px; flex:none; }
.review .who .nm { font-weight: 600; font-size: 14.5px; }
.review .who .dt { color: var(--muted-2); font-size: 12px; }
.review .txt { color: var(--muted); font-size: 14px; }
.review .txt b { color: var(--text); font-weight: 600; }

/* ---- client logos row ---- */
.clients { margin-top: 22px; }
.clients .lbl { color: var(--muted-2); margin-bottom: 16px; }
.client-row { display: flex; flex-wrap: wrap; gap: 12px; }
.client {
  display: flex; align-items: center; gap: 12px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 999px; padding: 9px 18px 9px 9px;
  transition: border-color .3s, transform .3s;
}
.client:hover { border-color: var(--line-2); transform: translateY(-2px); }
.client img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.client .ph { width: 38px; height: 38px; border-radius: 50%; background: var(--surface-3); display:grid; place-items:center; color: var(--accent); font-weight:700; }
.client .nm { font-weight: 600; font-size: 14px; }
.client .cat { color: var(--muted-2); font-size: 12px; }

/* ============================================================
   FINAL CTA
   ============================================================ */
.cta {
  position: relative;
  border-radius: var(--r-lg);
  padding: 72px 56px;
  background:
    radial-gradient(700px 400px at 80% 0%, rgba(198,242,78,0.16), transparent 60%),
    linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line-2);
  overflow: hidden;
  text-align: center;
}
.cta h2 { font-size: clamp(34px, 4.6vw, 60px); max-width: 760px; margin: 18px auto 22px; }
.cta p { color: var(--muted); font-size: 18px; max-width: 580px; margin: 0 auto 34px; }
.cta .hero-cta { justify-content: center; }
.cta .hero-chips { justify-content: center; }

/* ============================================================
   FOOTER
   ============================================================ */
footer { border-top: 1px solid var(--line); padding: 56px 0 40px; }
.foot-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; margin-bottom: 40px; }
.foot-grid .brand { font-size: 30px; }
.foot-col h5 { font-family:'Space Mono',monospace; font-size: 12px; letter-spacing:.12em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 14px; }
.foot-col a, .foot-col p { display:block; color: var(--muted); font-size: 14.5px; margin-bottom: 9px; transition: color .2s; }
.foot-col a:hover { color: var(--accent); }
.foot-bottom { display:flex; flex-wrap:wrap; justify-content: space-between; gap: 14px; padding-top: 26px; border-top: 1px solid var(--line); color: var(--muted-2); font-size: 13px; }

/* ============================================================
   FLOATING WHATSAPP
   ============================================================ */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  display: inline-flex; align-items: center; gap: 11px;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 700; font-size: 15px;
  padding: 14px 20px 14px 16px; border-radius: 999px;
  box-shadow: 0 0 0 0 rgba(78,216,138,.5);
  transform: translateY(120%);
  transition: transform .45s var(--ease), background .25s;
}
.wa-float.show { transform: translateY(0); animation: waGlow 2.2s ease-out infinite; }
.wa-float:hover { background: #d4fb63; }

/* icon with emitting waves + beat */
.wa-ico { position: relative; width: 22px; height: 22px; display: grid; place-items: center; flex: none; }
.wa-ico svg { width: 22px; height: 22px; position: relative; z-index: 2; animation: waBeat 2.2s ease-in-out infinite; }
.wa-ico::before, .wa-ico::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid var(--green); opacity: 0;
  animation: waRipple 2.2s ease-out infinite;
}
.wa-ico::after { animation-delay: 1.1s; }
@keyframes waRipple { 0%{ transform: scale(.65); opacity:.65 } 70%{ opacity:0 } 100%{ transform: scale(3); opacity:0 } }
@keyframes waBeat { 0%,100%{ transform: scale(1); } 50%{ transform: scale(1.14); } }
@keyframes waGlow {
  0%   { box-shadow: 0 0 0 0 rgba(78,216,138,.55); }
  70%  { box-shadow: 0 0 0 18px rgba(78,216,138,0); }
  100% { box-shadow: 0 0 0 0 rgba(78,216,138,0); }
}

/* MOBILE: vertically centered on the right, always visible, full label */
@media (max-width: 760px){
  .wa-float {
    top: 50%; bottom: auto; right: 12px;
    transform: translateY(-50%);
    max-width: calc(100vw - 24px);
    animation: waGlow 2.2s ease-out infinite;
  }
  .wa-float.show { transform: translateY(-50%); }
  .wa-float .lbl-long { display: inline; }
}
@media (prefers-reduced-motion: reduce){
  .wa-float, .wa-float.show, .wa-ico svg, .wa-ico::before, .wa-ico::after { animation: none; }
}

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px){
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .trafego-layout { grid-template-columns: 1fr; gap: 36px; }
  .feat-grid { grid-template-columns: 1fr 1fr; }
  .serv-grid { grid-template-columns: 1fr 1fr; }
  .proof-layout { grid-template-columns: 1fr; }
}
@media (max-width: 600px){
  .wrap { padding: 0 20px; }
  section.block { padding: 68px 0; }
  .feat-grid { grid-template-columns: 1fr; }
  .serv-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .cta { padding: 48px 26px; }
  .hero { padding: 48px 0 64px; }
  .topbar .row { height: 64px; }
}
