/* ============================================
   Pacer Digital — Landing Page
   Palette: white + #FF5102
   ============================================ */

:root {
  --brand: #FF5102;
  --brand-600: #E64500;
  --brand-700: #C13A00;
  --brand-50: #FFF1EA;
  --brand-100: #FFE0D0;
  --ink: #0A0A0A;
  --ink-2: #1A1A1A;
  --ink-3: #2B2B2B;
  --muted: #5E5E5E;
  --muted-2: #8A8A8A;
  --line: #ECECEC;
  --line-2: #F4F4F4;
  --bg: #FFFFFF;
  --bg-soft: #FAFAFA;
  --bg-warm: #FFF7F2;
  --shadow-sm: 0 1px 2px rgba(10,10,10,.04), 0 1px 1px rgba(10,10,10,.03);
  --shadow-md: 0 8px 24px rgba(10,10,10,.06), 0 2px 6px rgba(10,10,10,.04);
  --shadow-lg: 0 24px 60px rgba(10,10,10,.10), 0 8px 20px rgba(10,10,10,.06);
  --shadow-brand: 0 16px 40px rgba(255,81,2,.28);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --max: 1200px;
  --container-pad: clamp(20px, 4vw, 40px);
  --ease: cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'DM Sans', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, .nav-logo, .hero h1 {
  font-family: 'DM Sans', 'Inter', system-ui, sans-serif;
  letter-spacing: -.025em;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { list-style: none; padding: 0; margin: 0; }
h1,h2,h3,h4 { margin: 0; font-weight: 800; letter-spacing: -.02em; line-height: 1.08; color: var(--ink); }
p { margin: 0; color: var(--ink-3); }
.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--container-pad); }

/* ============================================
   Utility / shared
   ============================================ */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--brand-50);
  color: var(--brand-700);
  border: 1px solid #FFD6BF;
  letter-spacing: .02em;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px rgba(255,81,2,.18); }
.eyebrow-dark {
  background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.18);
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px;
  font-weight: 600; font-size: 15px;
  border-radius: 999px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: var(--brand); color: #fff;
  box-shadow: var(--shadow-brand);
}
.btn-primary:hover { background: var(--brand-600); transform: translateY(-2px); box-shadow: 0 22px 50px rgba(255,81,2,.36); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost { color: var(--ink); border: 1px solid var(--line); background: #fff; }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-2); transform: translateY(-2px); }
.btn-arrow svg { transition: transform .25s var(--ease); }
.btn:hover .btn-arrow svg { transform: translateX(4px); }

section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(30px, 4.4vw, 52px); margin: 18px 0 14px; }
.section-head p { color: var(--muted); font-size: clamp(15px, 1.4vw, 18px); }
.center-text { text-align: center; }

.brand-text { color: var(--brand); }
.underline-brand {
  background: linear-gradient(180deg, transparent 60%, rgba(255,81,2,.22) 60%);
  padding: 0 .15em;
}

/* ============================================
   Header (topbar + navbar)
   ============================================ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
}

/* Topbar de anúncio */
.topbar {
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  overflow: hidden;
  max-height: 40px;
  transition: max-height .35s var(--ease), opacity .35s var(--ease);
}
.topbar-inner {
  display: flex; align-items: center; justify-content: center;
  padding: 10px 0;
  gap: 10px;
}
.topbar-msg { display: inline-flex; align-items: center; gap: 8px; }
.topbar-msg svg { color: var(--brand); flex-shrink: 0; }
.topbar-msg strong { font-weight: 600; color: #fff; }
.topbar-msg a {
  color: var(--brand);
  font-weight: 600;
  transition: color .2s var(--ease);
}
.topbar-msg a:hover { color: #FFB58E; }
.site-header.scrolled .topbar {
  max-height: 0;
  opacity: 0;
}

/* Navbar principal */
.nav-wrap {
  padding: 14px 0;
  transition: background .35s var(--ease), backdrop-filter .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled .nav-wrap {
  background: rgba(255,255,255,.95);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(10,10,10,.05);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-logo img { height: 36px; width: auto; }

.nav-links {
  display: flex; gap: 4px; align-items: center;
}
.nav-links > a,
.nav-item > a {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 500; color: var(--ink-3);
  padding: 10px 14px; border-radius: 999px;
  transition: color .2s var(--ease), background .2s var(--ease);
  white-space: nowrap;
}
.nav-links > a:hover,
.nav-item > a:hover { color: var(--ink); background: var(--bg-soft); }
.chev { transition: transform .25s var(--ease); opacity: .55; }
.nav-item:hover .chev { transform: rotate(180deg); opacity: 1; }

/* Badge NOVO */
.badge-novo {
  display: inline-flex; align-items: center;
  font-size: 10px; font-weight: 800; letter-spacing: .05em;
  padding: 3px 7px; border-radius: 999px;
  background: var(--brand); color: #fff;
  line-height: 1;
}

/* Dropdowns */
.nav-item { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 320px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 12px;
  box-shadow: 0 24px 60px rgba(10,10,10,.10), 0 6px 16px rgba(10,10,10,.06);
  display: grid; gap: 4px;
  opacity: 0; pointer-events: none;
  transition: opacity .22s var(--ease), transform .22s var(--ease);
  z-index: 1;
}
.dropdown::before {
  content: '';
  position: absolute; top: -6px; left: 50%; transform: translateX(-50%) rotate(45deg);
  width: 12px; height: 12px;
  background: #fff;
  border-left: 1px solid var(--line); border-top: 1px solid var(--line);
}
.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
  opacity: 1; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.dd-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--ink-2);
  transition: background .2s var(--ease);
}
.dd-item:hover { background: var(--bg-soft); }
.dd-ico {
  width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.dd-ico img { width: 18px; height: 18px; }
.dd-item strong { display: block; font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.2; }
.dd-sub { display: block; font-size: 12px; color: var(--muted-2); margin-top: 2px; }

.nav-cta { display: flex; gap: 10px; align-items: center; }
.nav-cta .btn { padding: 11px 18px; font-size: 14px; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line); border-radius: 12px;
  align-items: center; justify-content: center;
  background: #fff;
}
.nav-toggle span {
  width: 18px; height: 2px; background: var(--ink); position: relative; display: block;
  transition: transform .3s var(--ease);
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ''; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink);
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.site-header.nav-open .nav-toggle span { background: transparent; }
.site-header.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
.site-header.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 1080px) {
  .nav-links { gap: 2px; }
  .nav-links > a,
  .nav-item > a { padding: 10px 10px; font-size: 13.5px; }
}
@media (max-width: 980px) {
  .topbar-msg { font-size: 12px; }
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-header.nav-open .nav-links {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: calc(100% + 6px); left: 16px; right: 16px;
    padding: 14px; gap: 4px;
    background: #fff; border: 1px solid var(--line); border-radius: 18px;
    box-shadow: var(--shadow-lg);
  }
  .site-header.nav-open .nav-links > a,
  .site-header.nav-open .nav-item > a { padding: 14px; }
  .site-header.nav-open .dropdown { display: none; }
}
@media (max-width: 560px) {
  .topbar-msg a { display: none; }
}

/* ============================================
   Hero
   ============================================ */
.hero {
  position: relative;
  padding: 150px 0 80px;
  overflow: hidden;
  isolation: isolate;
  background: #fff;
}

/* Painel angular — duas camadas para criar efeito de papel sobreposto/dobrado */
.hero-shape-back {
  position: absolute;
  top: 78px;
  right: 0;
  bottom: -10px;
  width: calc(clamp(420px, 52vw, 820px) + 18px);
  background: linear-gradient(135deg, #FFB58E 0%, #FF8A4D 100%);
  clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%, 0 28%);
  z-index: -3;
  opacity: .55;
}
.hero-shape {
  position: absolute;
  top: 90px;
  right: 0;
  bottom: 0;
  width: clamp(420px, 52vw, 820px);
  background:
    linear-gradient(135deg, #FFF1EA 0%, #FFE3D2 55%, #FFD6BF 100%);
  clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%, 0 28%);
  z-index: -2;
}
/* Linha sutil de destaque sobre a diagonal */
.hero-shape::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg,
      transparent 21%,
      rgba(255,255,255,.55) 21.2%,
      rgba(255,255,255,.55) 21.6%,
      transparent 21.8%);
  clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%, 0 28%);
  pointer-events: none;
}

/* Grade sutil só na metade esquerda (área do texto) */
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0; right: 45%;
  z-index: -2;
  background-image:
    linear-gradient(to right, rgba(10,10,10,.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10,10,10,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(700px 500px at 30% 50%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(700px 500px at 30% 50%, #000 20%, transparent 75%);
}

/* Manchas orgânicas — "blobs" decorativos */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .55;
  z-index: -2;
  pointer-events: none;
}
.hero-blob.blob-1 {
  width: 360px; height: 360px;
  top: 60px; left: -120px;
  background: radial-gradient(circle, rgba(255,81,2,.22), rgba(255,181,142,0) 70%);
  animation: blobFloat 18s ease-in-out infinite;
}
.hero-blob.blob-2 {
  width: 280px; height: 280px;
  bottom: -80px; left: 30%;
  background: radial-gradient(circle, rgba(255,81,2,.18), rgba(255,181,142,0) 70%);
  animation: blobFloat 22s ease-in-out infinite reverse;
}
.hero-blob.blob-3 {
  width: 220px; height: 220px;
  top: 40%; right: 8%;
  background: radial-gradient(circle, rgba(255,255,255,.6), rgba(255,255,255,0) 70%);
  opacity: .8;
  animation: blobFloat 16s ease-in-out infinite;
}
@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(20px, -30px) scale(1.06); }
  66%      { transform: translate(-15px, 20px) scale(.96); }
}

/* Pontilhado decorativo no canto inferior-esquerdo */
.hero-dots {
  position: absolute;
  bottom: 40px; left: 4%;
  width: 120px; height: 120px;
  background-image: radial-gradient(rgba(10,10,10,.18) 1.5px, transparent 1.5px);
  background-size: 14px 14px;
  opacity: .35;
  z-index: -2;
  pointer-events: none;
}

/* Em mobile: esconde o painel angular e mantém só um wash leve */
@media (max-width: 900px) {
  .hero-shape {
    top: auto; bottom: -10%;
    right: -10%;
    width: 90%; height: 60%;
    clip-path: polygon(0 30%, 100% 0, 100% 100%, 0 100%);
    opacity: .65;
  }
  .hero-fold { display: none; }
  .hero-dots { display: none; }
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center;
}
.hero h1 {
  font-size: clamp(32px, 4.6vw, 58px);
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1.12;
  margin: 22px 0 22px;
  max-width: 18ch;
}
.hero h1 .accent { font-weight: 500; color: var(--brand); }
.hero-sub strong { color: var(--ink); font-weight: 700; }
.hero h1 .accent { color: var(--brand); }
.hero-sub {
  font-size: clamp(16px, 1.5vw, 19px);
  color: var(--muted); max-width: 560px; margin-bottom: 32px;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.hero-trust {
  display: flex; align-items: center; gap: 18px;
  padding-top: 24px; border-top: 1px dashed var(--line);
}
.hero-trust .label {
  font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted-2); font-weight: 600;
}
.hero-trust-logos { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.hero-trust-logos img {
  height: 28px; width: auto; filter: grayscale(100%) opacity(.6);
  transition: filter .3s var(--ease);
}
.hero-trust-logos img:hover { filter: grayscale(0) opacity(1); }

/* Hero visual — foto humana com badges flutuantes */
.hero-visual {
  position: relative;
  min-height: 560px;
  padding: 20px 10px 60px 10px;
}
.hero-photo-wrap {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow:
    0 40px 80px rgba(10,10,10,.18),
    0 12px 24px rgba(10,10,10,.10),
    0 0 0 6px rgba(255,255,255,.9);
  aspect-ratio: 4/5;
  max-height: 560px;
  margin-left: auto; margin-right: auto;
  max-width: 440px;
}
.hero-photo-wrap::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10,10,10,.15) 100%);
  pointer-events: none;
}
.hero-photo {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  display: block;
}

/* Top badge — pill com ícone */
.hero-badge {
  position: absolute;
  top: 36px; left: -18px;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px 10px 12px;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 16px 40px rgba(10,10,10,.12), 0 2px 6px rgba(10,10,10,.06);
  font-size: 13px; font-weight: 600; color: var(--ink);
  animation: floaty 6s ease-in-out infinite;
  z-index: 3;
}
.hero-badge .badge-ico {
  width: 28px; height: 28px; border-radius: 8px;
  display: grid; place-items: center;
  background: var(--brand-50);
}
.hero-badge .badge-ico img { width: 18px; height: 18px; }

/* Stat badge — top-right */
.hero-stat {
  position: absolute;
  top: 90px; right: -10px;
  background: var(--ink); color: #fff;
  padding: 14px 18px;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(10,10,10,.18);
  animation: floaty 7s ease-in-out infinite reverse;
  z-index: 3;
}
.hero-stat .n { font-size: 22px; font-weight: 800; color: var(--brand); line-height: 1; }
.hero-stat .l { font-size: 11px; color: rgba(255,255,255,.7); margin-top: 4px; text-transform: uppercase; letter-spacing: .08em; }

/* Testimonial card */
.hero-testimonial {
  position: absolute;
  bottom: 8px; left: -10px; right: 30px;
  background: #fff;
  border-radius: 18px;
  padding: 18px 18px 16px;
  box-shadow: 0 24px 60px rgba(10,10,10,.16), 0 4px 12px rgba(10,10,10,.06);
  animation: floaty 8s ease-in-out infinite .6s;
  z-index: 3;
}
.hero-testimonial .stars {
  display: inline-flex; gap: 2px; margin-bottom: 8px; color: var(--brand);
}
.hero-testimonial p {
  font-size: 13.5px; line-height: 1.5; color: var(--ink-2);
  margin-bottom: 12px;
}
.hero-testimonial p strong { color: var(--ink); }
.hero-testimonial .who {
  display: flex; align-items: center; gap: 10px;
  padding-top: 10px; border-top: 1px dashed var(--line);
}
.hero-testimonial .who img {
  width: 36px; height: 36px; border-radius: 50%; object-fit: cover;
  border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line);
}
.hero-testimonial .who .name { font-size: 13px; font-weight: 700; color: var(--ink); display: block; line-height: 1.2; }
.hero-testimonial .who .role { font-size: 11px; color: var(--muted-2); }
.hero-testimonial .live-dot {
  display: inline-flex; align-items: center; gap: 6px;
  margin-left: auto;
  font-size: 11px; font-weight: 600; color: #1B9C4C;
}
.hero-testimonial .live-dot::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%; background: #2ecc71;
  box-shadow: 0 0 0 4px rgba(46,204,113,.18);
  animation: pulse 1.6s infinite;
}

@keyframes pulse { 0%,100% { box-shadow: 0 0 0 4px rgba(46,204,113,.25); } 50% { box-shadow: 0 0 0 8px rgba(46,204,113,.05); } }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

@media (max-width: 900px) {
  .hero { padding-top: 120px; }
  .hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .hero-visual { min-height: 540px; padding-bottom: 80px; }
  .hero-photo-wrap { max-width: 380px; }
  .hero-badge { left: 0; top: 26px; }
  .hero-stat { right: 0; top: 72px; }
}
@media (max-width: 520px) {
  .hero-testimonial { left: 0; right: 12px; }
  .hero-photo-wrap { max-width: 320px; aspect-ratio: 4/5; }
}

/* ============================================
   Stats strip
   ============================================ */
.stats {
  padding: 36px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-soft);
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
}
.stat .num {
  font-size: clamp(32px, 4vw, 48px); font-weight: 800; color: var(--ink);
  letter-spacing: -.02em;
}
.stat .num small { font-size: .5em; color: var(--brand); margin-left: 4px; vertical-align: top; }
.stat .lbl { color: var(--muted); font-size: 14px; margin-top: 2px; }
@media (max-width: 760px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================
   Services
   ============================================ */
.services { background: #fff; }
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.service {
  position: relative;
  padding: 28px 26px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  overflow: hidden;
}
.service::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: linear-gradient(90deg, var(--brand), #FFB58E);
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.service:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.service:hover::before { transform: scaleX(1); }
.service-ico {
  width: 54px; height: 54px; border-radius: 14px;
  background: var(--brand-50); color: var(--brand);
  display: grid; place-items: center; margin-bottom: 18px;
}
.service-ico svg { width: 26px; height: 26px; }
.service h3 { font-size: 19px; margin-bottom: 8px; }
.service p { color: var(--muted); font-size: 14.5px; }
.service .feats { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.service .feats span {
  font-size: 12px; padding: 5px 10px; border-radius: 999px;
  background: var(--bg-soft); color: var(--ink-3); border: 1px solid var(--line);
}
.service.featured {
  background: linear-gradient(160deg, var(--ink) 0%, #1A1A1A 100%);
  color: #fff; border-color: var(--ink);
}
.service.featured h3, .service.featured p { color: #fff; }
.service.featured p { color: rgba(255,255,255,.7); }
.service.featured .service-ico { background: rgba(255,81,2,.15); color: var(--brand); }
.service.featured .feats span { background: rgba(255,255,255,.06); color: rgba(255,255,255,.85); border-color: rgba(255,255,255,.1); }

@media (max-width: 900px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .services-grid { grid-template-columns: 1fr; } }

/* ============================================
   Plataformas próprias
   ============================================ */
.platforms { background: var(--bg-soft); }
.platforms-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.platform-card {
  position: relative;
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.platform-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.platform-thumb {
  position: relative;
  aspect-ratio: 16/10;
  background: #0A0A0A;
  overflow: hidden;
}
.platform-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform .6s var(--ease);
}
.platform-card:hover .platform-thumb img {
  transform: scale(1.04);
}
.platform-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10,10,10,.55) 100%);
  pointer-events: none;
}
.platform-thumb svg { width: 60%; height: auto; }
.platform-thumb .badge {
  position: absolute; top: 14px; left: 14px;
  z-index: 2;
  font-size: 11px; font-weight: 700; padding: 6px 10px;
  background: rgba(10,10,10,.85); color: #fff;
  border-radius: 999px; letter-spacing: .04em;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.platform-body { padding: 22px 24px 26px; }
.platform-body h3 { font-size: 22px; margin-bottom: 8px; }
.platform-body .tag { color: var(--brand); font-weight: 600; font-size: 13px; margin-bottom: 8px; }
.platform-body p { color: var(--muted); font-size: 14.5px; min-height: 64px; }
.platform-cta {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 18px; padding: 10px 14px;
  border: 1px solid var(--line); border-radius: 999px;
  font-size: 13px; font-weight: 600;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.platform-cta:hover { background: var(--brand); color: #fff; border-color: var(--brand); }

@media (max-width: 900px) { .platforms-grid { grid-template-columns: 1fr; } }

/* ============================================
   Stack
   ============================================ */
.stack { background: #fff; }
.stack-marquee {
  margin-top: 40px;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.stack-track {
  display: flex; gap: 60px;
  animation: marquee 30s linear infinite;
  width: max-content;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.stack-item {
  display: flex; align-items: center; gap: 10px;
  padding: 16px 22px; min-width: 180px;
  border: 1px solid var(--line); border-radius: 14px;
  background: #fff;
}
.stack-item img { height: 28px; width: 28px; object-fit: contain; }
.stack-item span { font-weight: 600; color: var(--ink-2); }

/* ============================================
   Cases / Clientes
   ============================================ */
.cases { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.cases::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(700px 400px at 20% 0%, rgba(255,81,2,.20), transparent 60%),
    radial-gradient(600px 400px at 90% 100%, rgba(255,81,2,.16), transparent 60%);
  pointer-events: none;
}
.cases .section-head h2, .cases .section-head p { color: #fff; }
.cases .section-head p { color: rgba(255,255,255,.7); }
.cases-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
  position: relative;
}
.case {
  padding: 32px; border-radius: var(--radius-lg);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(6px);
  transition: transform .3s var(--ease), background .3s var(--ease);
}
.case:hover { transform: translateY(-4px); background: rgba(255,255,255,.06); }
.case-header {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px;
}
.case-header .case-logo {
  height: 38px; background: #fff; padding: 8px 14px; border-radius: 10px;
  display: inline-flex; align-items: center;
}
.case-header .case-logo img { height: 100%; width: auto; max-width: 160px; object-fit: contain; }
.case-tag {
  font-size: 12px; color: rgba(255,255,255,.65);
  padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.15);
}
.case h3 { font-size: 22px; color: #fff; margin-bottom: 10px; }
.case p { color: rgba(255,255,255,.7); font-size: 15px; }
.case-stats { display: flex; gap: 24px; margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.08); }
.case-stats div .n { font-size: 28px; font-weight: 800; color: var(--brand); }
.case-stats div .l { font-size: 12px; color: rgba(255,255,255,.6); }

@media (max-width: 800px) { .cases-grid { grid-template-columns: 1fr; } }

/* ============================================
   Process
   ============================================ */
.process { background: #fff; }
.process-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
  counter-reset: step;
  position: relative;
}
.step {
  position: relative;
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute; top: 20px; right: 20px;
  font-size: 36px; font-weight: 800; color: var(--brand-50);
  letter-spacing: -.04em;
  transition: color .3s var(--ease);
}
.step:hover { transform: translateY(-4px); border-color: var(--brand); box-shadow: var(--shadow-md); }
.step:hover::before { color: var(--brand); }
.step h4 { font-size: 18px; margin: 10px 0 8px; }
.step p { color: var(--muted); font-size: 14px; }
.step .step-ico {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--ink); color: #fff;
  display: grid; place-items: center;
}
.step .step-ico svg { width: 22px; height: 22px; }
@media (max-width: 980px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .process-grid { grid-template-columns: 1fr; } }

/* ============================================
   Diferenciais
   ============================================ */
.diferenciais { background: var(--bg-soft); }
.dif-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.dif-list { display: grid; gap: 16px; margin-top: 28px; }
.dif-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 18px; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line);
  transition: transform .25s var(--ease), border-color .25s var(--ease);
}
.dif-item:hover { transform: translateX(4px); border-color: var(--brand); }
.dif-item .dif-ico {
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--brand-50); color: var(--brand);
  display: grid; place-items: center; flex-shrink: 0;
}
.dif-item h4 { font-size: 16px; margin-bottom: 4px; }
.dif-item p { font-size: 14px; color: var(--muted); }
.dif-visual {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-xl); padding: 32px;
  box-shadow: var(--shadow-md);
}
.dif-visual h3 { font-size: 22px; margin-bottom: 6px; }
.dif-visual > p { color: var(--muted); margin-bottom: 20px; font-size: 14px; }
.checklist { display: grid; gap: 12px; }
.checklist li {
  display: flex; gap: 12px; align-items: center;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--bg-soft);
  font-size: 14.5px; font-weight: 500;
}
.checklist li::before {
  content: '✓'; width: 22px; height: 22px; flex-shrink: 0;
  border-radius: 50%; background: var(--brand); color: #fff;
  display: grid; place-items: center; font-size: 12px; font-weight: 700;
}
@media (max-width: 900px) { .dif-grid { grid-template-columns: 1fr; } }

/* ============================================
   FAQ
   ============================================ */
.faq { background: #fff; }
.faq-wrap { max-width: 820px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-q {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 4px;
  text-align: left;
  font-size: 17px; font-weight: 600;
  color: var(--ink);
  transition: color .2s var(--ease);
}
.faq-q:hover { color: var(--brand); }
.faq-q .faq-toggle {
  width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0;
  background: var(--bg-soft); display: grid; place-items: center;
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.faq-q .faq-toggle svg { transition: transform .25s var(--ease); width: 14px; height: 14px; }
.faq-item.open .faq-q .faq-toggle { background: var(--brand); color: #fff; }
.faq-item.open .faq-q .faq-toggle svg { transform: rotate(180deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .35s var(--ease);
  color: var(--muted); font-size: 15px;
}
.faq-a-inner { padding: 0 4px 22px; }

/* ============================================
   CTA final
   ============================================ */
.cta-final {
  background: var(--bg-soft);
  padding-bottom: 80px;
}
.cta-box {
  position: relative;
  background: linear-gradient(135deg, var(--ink) 0%, #161616 100%);
  border-radius: var(--radius-xl);
  padding: clamp(40px, 6vw, 72px);
  overflow: hidden;
  color: #fff;
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center;
}
.cta-box::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(500px 300px at 100% 0%, rgba(255,81,2,.32), transparent 60%),
    radial-gradient(400px 300px at 0% 100%, rgba(255,81,2,.18), transparent 60%);
}
.cta-box > * { position: relative; }
.cta-box h2 { color: #fff; font-size: clamp(28px, 3.6vw, 42px); margin-bottom: 14px; }
.cta-box p { color: rgba(255,255,255,.75); font-size: 16px; margin-bottom: 28px; }
.cta-box .hero-ctas { margin-bottom: 0; }
.cta-aside {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 24px;
  backdrop-filter: blur(8px);
}
.cta-aside h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 14px; }
.cta-aside ul li {
  display: flex; gap: 10px; padding: 8px 0;
  border-bottom: 1px dashed rgba(255,255,255,.08);
  font-size: 14px; color: rgba(255,255,255,.8);
}
.cta-aside ul li:last-child { border-bottom: 0; }
.cta-aside ul li::before { content: '→'; color: var(--brand); font-weight: 800; }
@media (max-width: 900px) { .cta-box { grid-template-columns: 1fr; } }

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--ink); color: rgba(255,255,255,.7);
  padding: 70px 0 30px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand img { height: 38px; }
.footer-brand p { color: rgba(255,255,255,.6); margin-top: 16px; max-width: 320px; font-size: 14px; }
.footer-col h5 {
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em;
  color: #fff; margin-bottom: 16px;
}
.footer-col ul li { padding: 6px 0; font-size: 14px; }
.footer-col ul li a { transition: color .2s var(--ease); }
.footer-col ul li a:hover { color: var(--brand); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px;
  font-size: 13px; color: rgba(255,255,255,.5);
}
.socials { display: flex; gap: 10px; }
.socials a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.06); display: grid; place-items: center;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.socials a:hover { background: var(--brand); color: #fff; }
.socials svg { width: 16px; height: 16px; }
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 14px; }
}

/* Floating WhatsApp */
.wa-float {
  position: fixed; bottom: 22px; right: 22px; z-index: 40;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px 12px 14px;
  background: #25D366; color: #fff;
  border-radius: 999px;
  box-shadow: 0 20px 40px rgba(37,211,102,.4);
  font-weight: 600; font-size: 14px;
  transition: transform .3s var(--ease);
}
.wa-float:hover { transform: translateY(-3px); }
.wa-float svg { width: 22px; height: 22px; }
.wa-float .lbl { display: inline-block; }
@media (max-width: 540px) { .wa-float .lbl { display: none; } .wa-float { padding: 14px; } }

/* Scroll reveal */
[data-reveal] {
  opacity: 0; transform: translateY(24px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .08s; }
[data-reveal-delay="2"] { transition-delay: .16s; }
[data-reveal-delay="3"] { transition-delay: .24s; }
[data-reveal-delay="4"] { transition-delay: .32s; }
[data-reveal-delay="5"] { transition-delay: .40s; }
[data-reveal-delay="6"] { transition-delay: .48s; }

/* ============================================
   Hero — Mockup composto AdSpacing (substitui foto stock)
   ============================================ */
.hero-mockup-stack {
  position: relative;
  width: 100%;
  min-height: 520px;
  transform-style: preserve-3d;
  display: block;
}
.hero-mockup-glow {
  position: absolute;
  inset: -8%;
  background:
    radial-gradient(45% 45% at 65% 45%, rgba(255,81,2,.28), transparent 70%),
    radial-gradient(35% 35% at 25% 70%, rgba(99,102,241,.18), transparent 70%),
    radial-gradient(30% 30% at 80% 90%, rgba(255,181,142,.20), transparent 70%);
  filter: blur(30px);
  z-index: 0;
  pointer-events: none;
}
.hero-mockup {
  position: absolute;
  background: #0A0A0A;
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 40px 80px rgba(10,10,10,.35),
    0 16px 32px rgba(10,10,10,.20),
    0 0 0 1px rgba(255,255,255,.04) inset;
  transform-origin: center center;
  transition: transform .5s var(--ease);
}
.hero-mockup--primary {
  width: 96%;
  right: 0;
  top: 24px;
  z-index: 2;
  transform: perspective(2200px) rotateY(-9deg) rotateX(3deg);
}
.hero-mockup--secondary {
  width: 58%;
  left: -10%;
  bottom: 24px;
  z-index: 1;
  transform: perspective(2200px) rotateY(10deg) rotateX(-2deg) scale(.92);
  opacity: .55;
  filter: blur(.5px) saturate(85%);
}
.hero-visual:hover .hero-mockup--primary {
  transform: perspective(2200px) rotateY(-7deg) rotateX(2deg) translateY(-4px);
}
.hero-visual:hover .hero-mockup--secondary {
  opacity: .72;
}

/* Browser frame */
.mockup-browser {
  display: flex;
  flex-direction: column;
  background: #0A0A0A;
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  background: rgba(255,255,255,.04);
  border-bottom: 1px solid rgba(255,255,255,.06);
  flex-shrink: 0;
}
.browser-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,.18);
  flex-shrink: 0;
}
.browser-bar .browser-dot:nth-child(1) { background: #FF5F57; }
.browser-bar .browser-dot:nth-child(2) { background: #FEBC2E; }
.browser-bar .browser-dot:nth-child(3) { background: #28C840; }
.browser-url {
  margin-left: 14px;
  font-size: 11px;
  color: rgba(255,255,255,.42);
  font-family: 'SF Mono', 'JetBrains Mono', ui-monospace, monospace;
  letter-spacing: -.01em;
}
.mockup-browser img {
  width: 100%; height: auto; display: block;
}

/* Badge "Operação rodando ao vivo" */
.hero-mockup-badge {
  position: absolute;
  bottom: -14px;
  right: 6%;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 18px;
  background: #fff;
  border-radius: 999px;
  box-shadow:
    0 16px 40px rgba(10,10,10,.16),
    0 4px 10px rgba(10,10,10,.08),
    0 0 0 1px var(--line);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  animation: floaty 7s ease-in-out infinite;
}
.hero-live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #2ecc71;
  box-shadow: 0 0 0 4px rgba(46,204,113,.18);
  animation: pulse 1.6s infinite;
}

@media (max-width: 1080px) {
  .hero-mockup--primary { width: 100%; right: 0; }
  .hero-mockup--secondary { width: 60%; left: -14%; }
}
@media (max-width: 900px) {
  .hero-mockup-stack { min-height: 360px; }
  .hero-mockup--primary {
    position: relative;
    width: 100%;
    right: auto;
    top: 0;
    transform: none;
  }
  .hero-mockup--secondary { display: none; }
  .hero-mockup-badge { bottom: -18px; right: 12px; }
}
@media (max-width: 520px) {
  .hero-mockup-stack { min-height: 280px; }
  .hero-mockup-badge { font-size: 12px; padding: 9px 14px; }
}

/* ============================================
   Comparativo "Sem Pacer vs Com Pacer"
   ============================================ */
.comparison {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.comp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}
.comp-col {
  padding: 36px 32px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.comp-col--good {
  background: linear-gradient(160deg, var(--ink) 0%, #1A1A1A 100%);
  color: #fff;
  border-color: var(--ink);
}
.comp-col--good::before {
  content: '';
  position: absolute;
  top: -40%; right: -30%;
  width: 540px; height: 540px;
  background: radial-gradient(circle, rgba(255,81,2,.22) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.comp-col-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 1;
}
.comp-col--good .comp-col-head { border-bottom-color: rgba(255,255,255,.08); }
.comp-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: var(--line-2);
  color: var(--muted);
}
.comp-pill--brand {
  background: rgba(255,81,2,.18);
  color: var(--brand);
}
.comp-col h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -.02em;
}
.comp-col--good h3 { color: #fff; }
.comp-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  z-index: 1;
}
.comp-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-3);
}
.comp-col--good .comp-list li { color: rgba(255,255,255,.88); }
.comp-list li strong { font-weight: 700; color: var(--ink); }
.comp-col--good .comp-list li strong { color: #fff; }
.comp-x, .comp-check {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
  margin-top: 1px;
}
.comp-x {
  background: rgba(10,10,10,.06);
  color: var(--muted-2);
}
.comp-check {
  background: rgba(255,81,2,.22);
  color: var(--brand);
}
.comp-cta {
  margin-top: 28px;
  position: relative;
  z-index: 2;
}

@media (max-width: 800px) {
  .comp-grid { grid-template-columns: 1fr; }
  .comp-col { padding: 28px 24px; }
}

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