/* ═══════════════════════════════════════════════════════════
   VERIDION COMPANY — STYLESHEET
   ═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Playfair+Display:wght@700;800&display=swap');
@import 'tokens.css';

/* ── GRADIENTES GLOBAIS FIXOS — fluem por todas as seções ─── */
.gradient-tl-fixed {
  display: none;
}
.gradient-br-fixed {
  display: none;
}

/* ── RESET ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { overflow-x: clip; }


/* ── STACKING — todo conteúdo acima dos gradientes ──────── */
#site-header,
main,
main > *,
section,
footer {
  position: relative;
  z-index: 1;
}

/* ── GRAIN TEXTURE (fundos escuros) ──────────────────────── */
.stats-section::before,
.testimonials-section::before,
.hv2-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* ── TOUCH TARGETS & CURSOR ──────────────────────────────── */
a, button, [role="button"], label[for] {
  cursor: pointer;
}
.ts-nav-btn, .ts-dot, .tr-nav-btn,
.cookie-btn, .faq-btn, .lang-btn {
  min-height: 44px;
  min-width: 44px;
}

/* ── FOCUS VISIBLE ───────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--accent-500);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ── PREFERS REDUCED MOTION ──────────────────────────────── */
body {
  font-family: var(--font-body);
  background: var(--bg-base);
  color: var(--text-primary);
  line-height: var(--leading-normal);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, video { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
ul, ol { list-style: none; }

/* ── SKIP LINK ───────────────────────────────────────────── */
.skip-link {
  position: absolute; top: -100%; left: var(--s-4);
  background: var(--brand-500); color: white;
  padding: var(--s-2) var(--s-4); border-radius: var(--r-md);
  font-weight: var(--w-semibold); z-index: 9999;
  transition: top var(--dur-base);
}
.skip-link:focus { top: var(--s-4); }

/* ── CONTAINER ───────────────────────────────────────────── */
.container {
  max-width: var(--w-xl);
  margin: 0 auto;
  padding: 0 var(--s-6);
}
@media (max-width: 640px) { .container { padding: 0 var(--s-4); } }

/* Todas as seções: max-width 1280px + padding fluido (padrão Stripe/Linear/Vercel) */
main section .container {
  max-width: 100%;
  padding: 0 120px;
}
.services-section .container { padding: 0 320px; }
@media (max-width: 768px) {
  main section .container { padding: 0 var(--s-5); }
}

/* ── SECTION PADDING ─────────────────────────────────────── */
.section {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--s-24) 0;
}
.about-section {
  min-height: auto;
  display: block;
  padding: 40px 0 0;
}
.process-section {
  min-height: auto;
  display: block;
  padding: 220px 0;
}
.section-sm { padding: var(--s-16) 0; }

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--s-2); padding: var(--s-3) var(--s-6);
  border-radius: var(--r-full); font-weight: var(--w-semibold);
  font-size: var(--text-md); font-family: inherit;
  cursor: pointer; transition: all var(--dur-base) var(--ease-expo-out);
  white-space: nowrap; position: relative; overflow: hidden;
}
.btn-primary {
  background: var(--brand-500); color: white;
  box-shadow: var(--sh-brand);
}
.btn-primary:hover {
  background: var(--brand-600);
  box-shadow: var(--sh-brand), var(--sh-glow);
  transform: translateY(-2px);
}
.btn-primary:active { transform: translateY(0) scale(0.98); }
.btn-secondary {
  background: transparent; color: var(--text-primary);
  border: 1.5px solid var(--border-strong);
}
.btn-secondary:hover {
  border-color: var(--brand-500); color: var(--text-brand);
  background: var(--brand-50);
}
.btn-ghost {
  background: transparent; color: white;
  border: 1.5px solid rgba(255,255,255,0.3);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.6); }
.btn-lg { padding: var(--s-4) var(--s-8); font-size: var(--text-lg); }
.btn-sm { padding: var(--s-2) var(--s-4); font-size: var(--text-sm); }
.btn-whatsapp {
  background: #25D366; color: white;
  box-shadow: 0 8px 32px -4px rgba(37,211,102,0.45);
}
.btn-whatsapp:hover {
  background: #1ebe5d; transform: translateY(-2px);
  box-shadow: 0 12px 40px -4px rgba(37,211,102,0.5);
}

/* ── TYPOGRAPHY UTILITIES ────────────────────────────────── */
.text-gradient {
  background: linear-gradient(135deg, var(--brand-500), var(--accent-500));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-label {
  display: inline-flex; align-items: center; gap: var(--s-2);
  padding: var(--s-1) var(--s-3); border-radius: var(--r-full);
  background: var(--brand-50); color: var(--brand-600);
  font-size: var(--text-xs); font-weight: var(--w-semibold);
  letter-spacing: var(--tracking-wide); text-transform: uppercase;
  border: 1px solid var(--brand-100);
  margin-bottom: var(--s-4);
}
.section-headline {
  font-family: 'Satoshi', system-ui, sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 800;
  line-height: 1.08; letter-spacing: -0.03em;
  color: var(--text-primary);
  text-transform: uppercase;
  display: block;
}
.section-headline::after {
  content: '';
  display: block;
  width: 56px;
  height: 2px;
  background: rgba(148,163,184,0.22);
  border-radius: 1px;
  margin: 0.65rem auto 0;
}
.section-sub {
  font-size: var(--text-lg); color: var(--text-secondary);
  line-height: var(--leading-relaxed); max-width: 55ch;
}
.section-header { text-align: center; margin-bottom: var(--s-16); padding-bottom: var(--s-10); }
.section-header .section-sub { margin: var(--s-4) auto 0; }

/* ── ANIMATIONS — Premium reveal system ─────────────────── */
:root {
  --expo-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.25, 1, 0.5, 1);
}

/* ══════════════════════════════════════════════════════════
   SCROLL REVEAL — Sistema Cinematográfico Premium
   Tipos: up · down · left · right · scale · fade · rise · clip
   ══════════════════════════════════════════════════════════ */

:root {
  --sr-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --sr-ease-back: cubic-bezier(0.34, 1.28, 0.64, 1);
  --sr-dur: 0.85s;
  --sr-dur-fast: 0.6s;
  --sr-dur-slow: 1.1s;
}

/* ── Estado inicial de todos os elementos animados ── */
[data-sr] {
  opacity: 0;
  will-change: opacity, transform;
  transition:
    opacity   var(--sr-dur) var(--sr-ease) var(--sr-delay, 0ms),
    transform var(--sr-dur) var(--sr-ease) var(--sr-delay, 0ms);
}

/* ── Tipos de entrada ── */
[data-sr="up"]    { transform: translateY(52px); }
[data-sr="down"]  { transform: translateY(-36px); }
[data-sr="left"]  { transform: translateX(-60px); }
[data-sr="right"] { transform: translateX(60px); }
[data-sr="scale"] {
  transform: scale(0.82) translateY(30px);
  transition-timing-function: var(--sr-ease-back), var(--sr-ease-back);
}
[data-sr="fade"]  { transform: none; transition-property: opacity; }
[data-sr="rise"]  {
  transform: perspective(900px) rotateX(16deg) translateY(56px);
  transform-origin: top center;
  transition-duration: var(--sr-dur-slow), var(--sr-dur-slow);
}
[data-sr="clip"] {
  clip-path: inset(0 0 100% 0);
  opacity: 1;
  transition-property: clip-path;
  transition-duration: var(--sr-dur-slow);
  transition-timing-function: var(--sr-ease);
}
[data-sr="pop"] {
  transform: scale(0.75) translateY(16px);
  transition-timing-function: var(--sr-ease-back), var(--sr-ease-back);
  transition-duration: 0.75s, 0.75s;
}

/* ── Estado visível (JS adiciona .sr-visible) ── */
[data-sr].sr-visible {
  opacity: 1 !important;
  transform: none !important;
  clip-path: inset(0 0 0% 0) !important;
}

/* ── Classes legadas .reveal (mantidas para compatibilidade) ── */
.reveal {
  opacity: 0;
  transform: translateY(44px);
  transition: opacity var(--sr-dur) var(--sr-ease), transform var(--sr-dur) var(--sr-ease);
  will-change: opacity, transform;
}
.reveal.visible { opacity: 1; transform: none; }

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity var(--sr-dur) var(--sr-ease), transform var(--sr-dur) var(--sr-ease);
  will-change: opacity, transform;
}
.reveal-left.visible { opacity: 1; transform: none; }

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity var(--sr-dur) var(--sr-ease), transform var(--sr-dur) var(--sr-ease);
  will-change: opacity, transform;
}
.reveal-right.visible { opacity: 1; transform: none; }

.reveal-scale {
  opacity: 0;
  transform: scale(0.85) translateY(24px);
  transition: opacity var(--sr-dur) var(--sr-ease-back), transform var(--sr-dur) var(--sr-ease-back);
  will-change: opacity, transform;
}
.reveal-scale.visible { opacity: 1; transform: none; }

.reveal-fade {
  opacity: 0;
  transition: opacity var(--sr-dur-fast) var(--sr-ease);
  will-change: opacity;
}
.reveal-fade.visible { opacity: 1; }

/* Delays em cascata */
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.26s; }
.reveal-delay-4 { transition-delay: 0.36s; }
.reveal-delay-5 { transition-delay: 0.46s; }
.reveal-delay-6 { transition-delay: 0.56s; }
.reveal-delay-7 { transition-delay: 0.66s; }

.reveal-child {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity var(--sr-dur) var(--sr-ease), transform var(--sr-dur) var(--sr-ease);
  will-change: opacity, transform;
}
.reveal-child.visible { opacity: 1; transform: none; }

@keyframes mesh-shift {
  0%   { background-position: 0% 0%, 100% 0%, 50% 100%; }
  100% { background-position: 35% 40%, 60% 35%, 20% 70%; }
}
@keyframes float-up { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes shimmer-anim {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}
@keyframes pulse-ring {
  0%   { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}


/* ── NAVBAR ──────────────────────────────────────────────── */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-sticky);
}
#site-header .container {
  max-width: 100%;
  padding: 0;
}
.nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--s-4);
  padding: var(--s-3) var(--s-6);
  margin: 0 auto;
  overflow: visible;
  white-space: nowrap;
  max-width: 100%;
  background: rgba(7,9,28,0);
  backdrop-filter: blur(0px);
  transition:
    background    0.35s ease,
    backdrop-filter 0.35s ease,
    box-shadow    0.35s ease;
}
#site-header.scrolled .nav-inner {
  background: rgba(8, 10, 24, 0.92);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  box-shadow: 0 2px 32px rgba(0,0,0,0.35), 0 1px 0 rgba(99,102,241,0.15);
  border-radius: 16px;
  border: 1px solid rgba(99,102,241,0.12);
}
.nav-logo {
  display: flex; align-items: center; gap: var(--s-2);
  justify-content: flex-start;
  font-weight: var(--w-black); font-size: var(--text-md);
  color: white; flex-shrink: 0;
  letter-spacing: var(--tracking-tight);
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
.nav-logo-img {
  height: 52px;
  width: auto;
  display: block;
  object-fit: contain;
}
.nav-brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1;
}
.nav-brand-name {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 0.88rem;
  font-weight: 300;
  letter-spacing: 0.32em;
  line-height: 1;
  color: rgba(255,255,255,0.92);
  text-transform: uppercase;
}
.nav-brand-sub {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 0.48rem;
  font-weight: 300;
  color: rgba(148,163,184,0.4);
  letter-spacing: 0.42em;
  line-height: 1.2;
  margin-top: 3px;
  text-transform: uppercase;
}
.nav-links {
  display: flex; align-items: center; gap: var(--s-3);
  justify-content: center;
  position: relative;
  transition: gap 0.45s cubic-bezier(0.4,0,0.2,1);
}
.nav-glider {
  position: absolute;
  height: 100%;
  background: rgba(255,255,255,0.10);
  border-radius: var(--r-full);
  border: 1px solid rgba(255,255,255,0.12);
  transition: left 0.22s cubic-bezier(0.16,1,0.3,1), width 0.22s cubic-bezier(0.16,1,0.3,1), opacity 0.15s ease;
  pointer-events: none;
  opacity: 0;
}
.nav-link {
  position: relative; z-index: 1;
  padding: var(--s-2) var(--s-4);
  border-radius: var(--r-full);
  font-size: var(--text-xs); font-weight: var(--w-semibold);
  color: rgba(15,23,42,0.75);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: color 0.3s ease;
  white-space: nowrap;
}
.nav-link:hover { color: #0f172a; background: transparent; }
.nav-link.active { color: #0f172a; }
#site-header.scrolled .nav-link { color: #94A3B8; }
#site-header.scrolled .nav-link:hover { color: #ffffff; }
#site-header.scrolled .nav-link.active { color: #818CF8; }
.nav-actions { display: flex; align-items: center; gap: var(--s-3); flex-shrink: 0; justify-content: flex-end; }

/* Language toggle */
.lang-toggle {
  display: flex; align-items: center;
  background: var(--surface); border-radius: var(--r-full);
  padding: 3px; gap: 2px;
}
.lang-btn {
  padding: 4px 10px; border-radius: var(--r-full);
  font-size: var(--text-xs); font-weight: var(--w-semibold);
  color: var(--text-muted); transition: all var(--dur-base);
}
.lang-btn.active {
  background: white; color: var(--text-primary);
  box-shadow: var(--sh-xs);
}

/* Mobile hamburger */
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  width: 2.25rem; height: 2.25rem; align-items: center; justify-content: center;
  border-radius: var(--r-md); transition: background var(--dur-base);
}
.nav-hamburger:hover { background: var(--surface); }
.nav-hamburger span {
  display: block; width: 20px; height: 2px;
  background: var(--text-primary); border-radius: 2px;
  transition: all var(--dur-base) var(--ease-expo-out);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.nav-mobile {
  position: fixed; inset: 0; top: 4rem;
  background: var(--bg-base); z-index: calc(var(--z-sticky) - 1);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: var(--s-4); padding: var(--s-8);
  transform: translateY(-100%); opacity: 0;
  transition: transform var(--dur-slow) var(--ease-expo-out),
              opacity var(--dur-slow) var(--ease-out);
  pointer-events: none;
}
.nav-mobile.open {
  transform: translateY(0); opacity: 1; pointer-events: auto;
}
.nav-mobile .nav-link {
  font-size: var(--text-xl); font-weight: var(--w-semibold);
  padding: var(--s-3) var(--s-6);
}
@media (max-width: 768px) {
  .nav-links, .nav-actions .btn { display: none; }
  .nav-hamburger { display: flex; }
  .nav-actions { gap: var(--s-2); }
}

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center; overflow: hidden;
  padding: 7rem 0 5rem;
  background: var(--bg-subtle);
}
.hero-content {
  max-width: 800px; text-align: center; margin: 0 auto;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: var(--s-2);
  padding: var(--s-2) var(--s-4); border-radius: var(--r-full);
  background: var(--bg-elevated); border: 1px solid var(--border);
  font-size: var(--text-sm); font-weight: var(--w-medium);
  color: var(--text-secondary); margin-bottom: var(--s-6);
  box-shadow: var(--sh-sm);
  position: relative; overflow: hidden;
}
.hero-badge::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.4) 50%, transparent 60%);
  background-size: 200% 100%;
  animation: shimmer-anim 3s ease-in-out infinite;
}
.hero-badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--brand-500); position: relative;
}
.hero-badge-dot::after {
  content: ''; position: absolute; inset: -3px;
  border-radius: 50%; background: var(--brand-500);
  animation: pulse-ring 1.5s ease-out infinite;
}
.hero-title {
  font-size: var(--text-5xl); font-weight: var(--w-black);
  line-height: var(--leading-tight); letter-spacing: var(--tracking-tight);
  color: var(--text-primary); margin-bottom: var(--s-6);
}
.hero-title em { font-style: normal; }
.hero-sub {
  font-size: var(--text-xl); color: var(--text-secondary);
  line-height: var(--leading-relaxed); max-width: 58ch;
  margin: 0 auto var(--s-10);
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: var(--s-4); justify-content: center; }
.hero-proof {
  display: flex; flex-wrap: wrap; gap: var(--s-8);
  justify-content: center; margin-top: var(--s-16);
  padding-top: var(--s-10); border-top: 1px solid var(--border);
}
.hero-proof-item { text-align: center; }
.hero-proof-value {
  font-size: var(--text-3xl); font-weight: var(--w-black);
  letter-spacing: var(--tracking-tight); line-height: 1;
}
.hero-proof-label {
  font-size: var(--text-sm); color: var(--text-muted); margin-top: var(--s-1);
}
@media (max-width: 640px) {
  .hero { padding: 6rem 0 4rem; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .hero-ctas .btn { width: 100%; max-width: 320px; }
}

/* ── FEATURE BAR ──────────────────────────────────────────── */
@keyframes fb-gradient-shift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes fb-ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes fb-shimmer {
  0%   { transform: translateX(-220%); }
  100% { transform: translateX(220%); }
}

.feature-bar {
  position: relative;
  z-index: 3;
  background: #07091a;
  overflow: hidden;
  border-top: 1px solid rgba(99,102,241,0.08);
  border-bottom: 1px solid rgba(99,102,241,0.05);
}

/* Linha de gradiente animada no topo */
.feature-bar::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    #3730a3 15%,
    #818cf8 40%,
    #a78bfa 50%,
    #818cf8 60%,
    #3730a3 85%,
    transparent 100%
  );
  background-size: 200% auto;
  animation: fb-gradient-shift 8s linear infinite;
  opacity: 0.6;
  z-index: 2;
}

/* Shimmer sweep — luz passando suavemente */
.feature-bar::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 25%;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255,255,255,0.022) 50%,
    transparent 100%
  );
  animation: fb-shimmer 7s ease-in-out infinite;
  z-index: 1;
  pointer-events: none;
}

/* Overflow wrapper com fade nas bordas */
.feature-bar__inner {
  overflow: hidden;
  position: relative;
  z-index: 2;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0,0,0,0.5) 4%,
    black 10%,
    black 90%,
    rgba(0,0,0,0.5) 96%,
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0,0,0,0.5) 4%,
    black 10%,
    black 90%,
    rgba(0,0,0,0.5) 96%,
    transparent 100%
  );
}

/* Track animado */
.feature-bar__track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: fb-ticker 42s linear infinite;
  will-change: transform;
}
.feature-bar:hover .feature-bar__track {
  animation-play-state: paused;
}

/* Item */
.feature-bar__item {
  display: flex;
  align-items: center;
  padding: 1.15rem 3rem;
  flex-shrink: 0;
  cursor: default;
  opacity: 0.58;
  transition: opacity 0.4s ease;
}
.feature-bar__item:hover { opacity: 1; }
.feature-bar__track:hover .feature-bar__item:not(:hover) { opacity: 0.22; }

.feature-bar__item strong {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  color: #e2e8f0;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.3s;
}
.feature-bar__item:hover strong {
  color: #ffffff;
}

/* Separador — linha vertical fina com gradiente */
.feature-bar__sep {
  display: inline-block;
  width: 1px;
  height: 16px;
  background: linear-gradient(to bottom,
    transparent,
    rgba(99,102,241,0.45) 40%,
    rgba(139,92,246,0.45) 60%,
    transparent
  );
  flex-shrink: 0;
  margin: 0 0.1rem;
}

@media (max-width: 768px) {
  .feature-bar__track { animation-duration: 30s; }
  .feature-bar__item  { padding: 1rem 1.8rem; }
}

/* ── STATS ─────────────────────────────────────────────────── */
.stats-section {
  background: var(--bg-inverse);
  padding: var(--s-5) 0;
  position: relative;
}
.section-divider {
  background: var(--bg-subtle);
  margin-top: -1px;
  margin-bottom: -1px;
  line-height: 0;
}
.section-divider svg {
  display: block;
  width: 100%;
  height: 110px;
}
/* portfolio → testimonials */
.section-divider-2 {
  background: var(--bg-subtle);
  margin-top: -1px;
  margin-bottom: -1px;
  line-height: 0;
}
.section-divider-2 svg {
  display: block;
  width: 100%;
  height: 120px;
}
.stats-section .container {
  max-width: var(--w-xl);
}
.stats-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
}
.stat-sep {
  width: 1px;
  height: 72px;
  background: linear-gradient(to bottom,
    transparent,
    rgba(255,255,255,0.12) 40%,
    rgba(255,255,255,0.12) 60%,
    transparent);
}
.stat-card {
  padding: var(--s-8) var(--s-10);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--s-2);
}
.stat-num {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: var(--w-black);
  line-height: 1;
  background: linear-gradient(135deg, #ffffff 20%, rgba(255,255,255,0.65) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: var(--font-body);
  letter-spacing: -0.02em;
}
.stat-name {
  font-size: 12px;
  font-weight: var(--w-bold);
  color: var(--accent-400);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.stat-desc {
  display: none;
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.38);
  line-height: 1.65;
  max-width: 220px;
}
@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: var(--s-6);
  }
  .stat-sep {
    width: 60px; height: 1px;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.12), transparent);
    margin: 0 auto;
  }
}

/* ── PAIN SECTION ─────────────────────────────────────────── */
.pain-section {
  background: #0F172A;
  padding: var(--s-24) 0;
}
.pain-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--s-20); align-items: center;
}
@media (max-width: 900px) { .pain-grid { grid-template-columns: 1fr; } }

.pain-copy .section-label {
  display: inline-flex;
  background: rgba(37,99,235,0.12);
  color: var(--accent-400);
  border-color: rgba(37,99,235,0.25);
}
.pain-copy .section-headline {
  color: #F8FAFC;
  margin-bottom: var(--s-5);
}
.pain-copy p {
  font-size: var(--text-md);
  color: rgba(255,255,255,0.5);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--s-4);
}

/* Pain points — numbered, sem emoji */
.pain-points { margin-top: var(--s-10); display: flex; flex-direction: column; gap: 0; }
.pain-point {
  display: flex; gap: var(--s-5); align-items: flex-start;
  padding: var(--s-5) 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: transparent; border-radius: 0;
  transition: opacity var(--dur-base);
}
.pain-point:first-child { border-top: 1px solid rgba(255,255,255,0.06); }
.pain-point:hover { opacity: 0.85; transform: none; box-shadow: none; }
.pain-point-icon {
  width: 2rem; height: 2rem;
  display: flex; align-items: center; justify-content: center;
  font-size: var(--text-xs); font-weight: var(--w-bold);
  color: var(--accent-400); flex-shrink: 0; margin-top: 2px;
  background: rgba(14,165,233,0.08);
  border: 1px solid rgba(14,165,233,0.2);
  border-radius: var(--r-md);
  letter-spacing: 0;
}
.pain-point-text strong {
  display: block; font-size: var(--text-md);
  font-weight: var(--w-semibold);
  color: rgba(255,255,255,0.88);
  margin-bottom: var(--s-1);
}
.pain-point-text span {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.4);
}

/* Right side — pain cards (redesign) */
.pain-visual { position: relative; }
.pain-card-stack { display: flex; flex-direction: column; gap: var(--s-3); padding: 0; }
.pain-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--r-xl); padding: var(--s-5);
  box-shadow: none;
  display: flex; align-items: center; gap: var(--s-4);
  margin-bottom: 0;
  transition: background var(--dur-base), border-color var(--dur-base);
}
.pain-card:hover { transform: none; box-shadow: none; background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.12); }
.pain-card.resolved {
  background: rgba(22,163,74,0.07);
  border-color: rgba(22,163,74,0.2);
}
.pain-card-icon {
  width: 2.5rem; height: 2.5rem; border-radius: var(--r-lg);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.pain-card-icon.danger { background: rgba(220,38,38,0.1); }
.pain-card-icon.success { background: rgba(22,163,74,0.12); }
.pain-card-title {
  font-size: var(--text-sm); font-weight: var(--w-semibold);
  color: rgba(255,255,255,0.85);
}
.pain-card-sub { font-size: var(--text-xs); color: rgba(255,255,255,0.4); margin-top: 2px; }

/* ── SERVICES ─────────────────────────────────────────────── */
.services-section { background: var(--bg-subtle); }
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--s-8);
  max-width: 100%; margin-inline: auto;
}
@media (max-width: 900px) { .services-grid { grid-template-columns: 1fr; } }
.service-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  padding: var(--s-12);
  transition: transform 0.55s cubic-bezier(0.34,1.56,0.64,1),
              box-shadow 0.55s cubic-bezier(0.34,1.56,0.64,1),
              opacity 0.4s ease,
              border-color 0.4s ease,
              filter 0.4s ease;
  position: relative; overflow: hidden;
  cursor: pointer;
}


.service-card:not(.featured) {
  margin-top: var(--s-10);
  background: linear-gradient(155deg, #1a1f3a 0%, #151929 100%);
  border: 1px solid rgba(99,102,241,0.18);
  box-shadow:
    0 4px 32px rgba(0,0,0,0.5),
    0 1px 4px rgba(0,0,0,0.4),
    inset 0 1px 0 rgba(139,92,246,0.14);
  filter: brightness(1) saturate(1);
  --card-bg: #0f1228;
}

/* Hover */
.service-card:not(.featured):hover {
  transform: translateY(-14px) !important;
  box-shadow:
    0 48px 96px -16px rgba(99,102,241,0.38),
    0 16px 40px rgba(0,0,0,0.45),
    0 0 0 1px rgba(99,102,241,0.42),
    inset 0 1px 0 rgba(139,92,246,0.38);
  border-color: rgba(99,102,241,0.42);
  filter: brightness(1) saturate(1);
}
.service-card.featured:hover {
  transform: translateY(-10px) !important;
  box-shadow:
    0 0 0 1px rgba(139,92,246,0.8),
    0 40px 100px -8px rgba(109,40,217,0.9),
    0 12px 40px rgba(0,0,0,0.5),
    inset 0 1px 0 rgba(255,255,255,0.32);
}

/* Press — levanta rapidinho ao pressionar */
.service-card:not(.featured):active {
  transform: translateY(calc(-1 * var(--s-10) - 20px)) scale(1.03) !important;
  box-shadow: 0 52px 100px -12px rgba(99,102,241,0.36), 0 28px 56px rgba(0,0,0,0.15);
  filter: brightness(1) saturate(1);
  transition: transform 0.12s cubic-bezier(0.22,1,0.36,1),
              box-shadow 0.12s ease,
              filter 0.1s ease;
}
.service-card.featured:active { transform: translateY(2px) scale(0.99) !important; }

/* Seleção — card lateral ativo: sobe para o topo, branco */
.service-card.sc-active:not(.featured) {
  transform: translateY(calc(-1 * var(--s-10) - 10px)) !important;
  box-shadow: 0 48px 96px -12px rgba(99,102,241,0.30), 0 24px 48px rgba(0,0,0,0.12), 0 4px 8px rgba(0,0,0,0.05);
  border-color: rgba(99,102,241,0.32);
  filter: brightness(1) saturate(1);
}

/* Featured desce fluído para o nível dos cards laterais */
.services-grid.has-active .service-card.featured:not(.sc-active) {
  transform: translateY(var(--s-10)) !important;
  opacity: 0.55 !important;
  transition: transform 0.55s cubic-bezier(0.34,1.56,0.64,1),
              opacity 0.4s ease,
              box-shadow 0.55s cubic-bezier(0.34,1.56,0.64,1);
}

/* Card lateral não ativo: dimmed */
.services-grid.has-active .service-card:not(.featured):not(.sc-active) {
  opacity: 0.45 !important;
  transform: scale(0.97);
  background: linear-gradient(155deg, #1a1f3a 0%, #151929 100%);
}

/* Força glow off nos cards inativos */
.services-grid.has-active .service-card:not(.sc-active)::before,
.services-grid.has-active .service-card:not(.sc-active)::after,
.services-grid.has-active .service-card:not(.sc-active) > .edge-light {
  opacity: 0 !important;
  transition: opacity 0.3s ease !important;
}

/* Seleção — featured ativo (clicado diretamente) */
.service-card.featured.sc-active {
  transform: translateY(-10px);
  box-shadow: 0 28px 64px -8px rgba(94,14,215,0.5);
}


/* ── BORDER GLOW — service cards ─────────────────────────── */
.border-glow-card {
  --edge-proximity: 0;
  --cursor-angle: 45deg;
  --edge-sensitivity: 28;
  --color-sensitivity: calc(var(--edge-sensitivity) + 20);
  --border-radius: 24px;
  --glow-padding: 32px;
  --cone-spread: 25;
  --fill-opacity: 0.25;
  isolation: isolate;
  transform: translate3d(0,0,0.01px);
  overflow: visible;
}

/* Blue glow — regular cards */
.service-card:not(.featured) {
  --card-bg: #151929;
  --glow-color:    hsl(217deg 91% 60% / 100%);
  --glow-color-60: hsl(217deg 91% 60% / 60%);
  --glow-color-50: hsl(217deg 91% 60% / 50%);
  --glow-color-40: hsl(217deg 91% 60% / 40%);
  --glow-color-30: hsl(217deg 91% 60% / 30%);
  --glow-color-20: hsl(217deg 91% 60% / 20%);
  --glow-color-10: hsl(217deg 91% 60% / 10%);
  --gradient-one:   radial-gradient(at 80% 55%, #2563EB 0px, transparent 50%);
  --gradient-two:   radial-gradient(at 69% 34%, #0EA5E9 0px, transparent 50%);
  --gradient-three: radial-gradient(at  8%  6%, #60A5FA 0px, transparent 50%);
  --gradient-four:  radial-gradient(at 41% 38%, #2563EB 0px, transparent 50%);
  --gradient-five:  radial-gradient(at 86% 85%, #0EA5E9 0px, transparent 50%);
  --gradient-six:   radial-gradient(at 82% 18%, #60A5FA 0px, transparent 50%);
  --gradient-seven: radial-gradient(at 51%  4%, #0EA5E9 0px, transparent 50%);
  --gradient-base:  linear-gradient(#2563EB 0 100%);
}

/* Purple/pink glow — featured card */
.service-card.featured {
  --card-bg: var(--brand-500);
  --glow-color:    hsl(271deg 70% 80% / 100%);
  --glow-color-60: hsl(271deg 70% 80% / 60%);
  --glow-color-50: hsl(271deg 70% 80% / 50%);
  --glow-color-40: hsl(271deg 70% 80% / 40%);
  --glow-color-30: hsl(271deg 70% 80% / 30%);
  --glow-color-20: hsl(271deg 70% 80% / 20%);
  --glow-color-10: hsl(271deg 70% 80% / 10%);
  --gradient-one:   radial-gradient(at 80% 55%, #c084fc 0px, transparent 50%);
  --gradient-two:   radial-gradient(at 69% 34%, #f472b6 0px, transparent 50%);
  --gradient-three: radial-gradient(at  8%  6%, #38bdf8 0px, transparent 50%);
  --gradient-four:  radial-gradient(at 41% 38%, #c084fc 0px, transparent 50%);
  --gradient-five:  radial-gradient(at 86% 85%, #f472b6 0px, transparent 50%);
  --gradient-six:   radial-gradient(at 82% 18%, #38bdf8 0px, transparent 50%);
  --gradient-seven: radial-gradient(at 51%  4%, #f472b6 0px, transparent 50%);
  --gradient-base:  linear-gradient(#c084fc 0 100%);
}

/* Pseudo-elements */
.border-glow-card::before,
.border-glow-card::after,
.border-glow-card > .edge-light {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  transition: opacity 0.25s ease-out;
  z-index: -1;
}
.border-glow-card:not(:hover)::before,
.border-glow-card:not(:hover)::after,
.border-glow-card:not(:hover) > .edge-light {
  opacity: 0;
  transition: opacity 0.75s ease-in-out;
}

/* Colored mesh-gradient border */
.border-glow-card::before {
  border: 1px solid transparent;
  background:
    linear-gradient(var(--card-bg, #fff) 0 100%) padding-box,
    linear-gradient(rgb(255 255 255 / 0%) 0 100%) border-box,
    var(--gradient-one) border-box,
    var(--gradient-two) border-box,
    var(--gradient-three) border-box,
    var(--gradient-four) border-box,
    var(--gradient-five) border-box,
    var(--gradient-six) border-box,
    var(--gradient-seven) border-box,
    var(--gradient-base) border-box;
  opacity: calc((var(--edge-proximity) - var(--color-sensitivity)) / (100 - var(--color-sensitivity)));
  mask-image: conic-gradient(
    from var(--cursor-angle) at center,
    black calc(var(--cone-spread) * 1%),
    transparent calc((var(--cone-spread) + 15) * 1%),
    transparent calc((100 - var(--cone-spread) - 15) * 1%),
    black calc((100 - var(--cone-spread)) * 1%)
  );
}

/* Colored fill near edges */
.border-glow-card::after {
  border: 1px solid transparent;
  background:
    var(--gradient-one) padding-box,
    var(--gradient-two) padding-box,
    var(--gradient-three) padding-box,
    var(--gradient-four) padding-box,
    var(--gradient-five) padding-box,
    var(--gradient-six) padding-box,
    var(--gradient-seven) padding-box,
    var(--gradient-base) padding-box;
  mask-image:
    linear-gradient(to bottom, black, black),
    radial-gradient(ellipse at 50% 50%, black 40%, transparent 65%),
    radial-gradient(ellipse at 66% 66%, black 5%, transparent 40%),
    radial-gradient(ellipse at 33% 33%, black 5%, transparent 40%),
    radial-gradient(ellipse at 66% 33%, black 5%, transparent 40%),
    radial-gradient(ellipse at 33% 66%, black 5%, transparent 40%),
    conic-gradient(from var(--cursor-angle) at center, transparent 5%, black 15%, black 85%, transparent 95%);
  mask-composite: subtract, add, add, add, add, add;
  opacity: calc(var(--fill-opacity) * (var(--edge-proximity) - var(--color-sensitivity)) / (100 - var(--color-sensitivity)));
  mix-blend-mode: soft-light;
}

/* Outer glow layer */
.border-glow-card > .edge-light {
  inset: calc(var(--glow-padding) * -1);
  pointer-events: none;
  z-index: 1;
  mask-image: conic-gradient(
    from var(--cursor-angle) at center,
    black 2.5%, transparent 10%, transparent 90%, black 97.5%
  );
  opacity: calc((var(--edge-proximity) - var(--edge-sensitivity)) / (100 - var(--edge-sensitivity)));
  mix-blend-mode: plus-lighter;
}
.border-glow-card > .edge-light::before {
  content: "";
  position: absolute;
  inset: var(--glow-padding);
  border-radius: inherit;
  box-shadow:
    inset 0 0 0 1px var(--glow-color),
    inset 0 0 1px  0 var(--glow-color-60),
    inset 0 0 3px  0 var(--glow-color-50),
    inset 0 0 6px  0 var(--glow-color-40),
    inset 0 0 15px 0 var(--glow-color-30),
    inset 0 0 25px 2px var(--glow-color-20),
    inset 0 0 50px 2px var(--glow-color-10),
    0 0 1px  0 var(--glow-color-60),
    0 0 3px  0 var(--glow-color-50),
    0 0 6px  0 var(--glow-color-40),
    0 0 15px 0 var(--glow-color-30),
    0 0 25px 2px var(--glow-color-20),
    0 0 50px 2px var(--glow-color-10);
}
.border-glow-inner {
  display: flex; flex-direction: column;
  position: relative; z-index: 1; height: 100%;
}
.service-card.featured {
  background: linear-gradient(150deg,
    #2a2590 0%,
    #3730a3 20%,
    #4f46e5 48%,
    #5b21b6 74%,
    #6d28d9 100%
  );
  border-color: transparent;
  color: white;
  box-shadow:
    0 0 0 1px rgba(139,92,246,0.55),
    0 28px 88px -8px rgba(109,40,217,0.72),
    0 8px 32px rgba(0,0,0,0.5),
    inset 0 1px 0 rgba(255,255,255,0.22),
    0 0 140px -24px rgba(139,92,246,0.4);
}
.service-card.featured .service-desc { color: rgba(255,255,255,0.8); }
.service-card.featured .service-feature { color: rgba(255,255,255,0.9); }
.service-card.featured .service-feature::before { color: rgba(255,255,255,0.5); }
.service-icon {
  width: 3.5rem; height: 3.5rem; border-radius: var(--r-xl);
  background: var(--brand-50);
  border: 1px solid rgba(79,70,229,0.12);
  display: flex; align-items: center;
  justify-content: center; margin-bottom: var(--s-6);
  color: var(--brand-600);
}
.service-card.featured .service-icon {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.28);
  box-shadow: 0 0 24px rgba(255,255,255,0.10), inset 0 1px 0 rgba(255,255,255,0.15);
  color: white;
}
.service-title { font-size: var(--text-xl); font-weight: var(--w-bold); margin-bottom: var(--s-3); }
.service-desc { font-size: var(--text-sm); color: var(--text-secondary); line-height: var(--leading-relaxed); margin-bottom: var(--s-6); }
.service-features { display: flex; flex-direction: column; gap: var(--s-2); margin-bottom: var(--s-8); }
.service-feature {
  font-size: var(--text-sm); color: var(--text-secondary);
  display: flex; align-items: center; gap: var(--s-2);
}
.service-feature::before { content: '✓'; color: var(--brand-500); font-weight: var(--w-bold); }

/* Cards escuros (não-featured): texto claro */
.service-card:not(.featured) .service-title  { color: #F1F5F9; }
.service-card:not(.featured) .service-desc   { color: #64748B; }
.service-card:not(.featured) .service-feature { color: #94A3B8; }
.service-card:not(.featured) .service-feature::before { color: #818CF8; }
.service-card:not(.featured) .service-cta    { color: #818CF8; }
.service-card:not(.featured) .service-icon   {
  color: #818CF8;
  background: linear-gradient(135deg, rgba(79,70,229,0.22) 0%, rgba(99,102,241,0.10) 100%);
  border: 1px solid rgba(99,102,241,0.3);
  box-shadow: 0 0 24px rgba(99,102,241,0.14), inset 0 1px 0 rgba(255,255,255,0.07);
}
.service-cta {
  display: inline-flex; align-items: center; gap: var(--s-2);
  font-size: var(--text-sm); font-weight: var(--w-semibold);
  color: var(--brand-500);
  opacity: 0;
  transform: translateY(8px);
  transition: gap var(--dur-base),
              opacity 0.35s ease,
              transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
  pointer-events: none;
}
.service-card.sc-active .service-cta {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.service-card.featured .service-cta {
  color: white;
  margin-top: 20px;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.service-cta:hover { gap: var(--s-3); }

/* ── CPU ANIMATION ────────────────────────────────────────── */
.cpu-wrap {
  max-width: 720px; margin: 0 auto var(--s-12);
  height: 260px; color: #94a3b8;
}
.cpu-svg { display: block; width: 100%; height: 100%; }

.cpu-architecture {
  offset-anchor: 10px 0px;
  animation-name: animation-path !important;
  animation-iteration-count: infinite !important;
  animation-timing-function: cubic-bezier(0.75, -0.01, 0, 0.99) !important;
}
.cpu-line-1 { offset-path: path("M 10 20 h 79.5 q 5 0 5 5 v 30"); animation-duration: 5s !important; animation-delay: 1s !important; }
.cpu-line-2 { offset-path: path("M 180 10 h -69.7 q -5 0 -5 5 v 40"); animation-delay: 6s !important; animation-duration: 2s !important; }
.cpu-line-3 { offset-path: path("M 130 20 v 21.8 q 0 5 -5 5 h -25"); animation-delay: 4s !important; animation-duration: 6s !important; }
.cpu-line-4 { offset-path: path("M 170 80 v -21.8 q 0 -5 -5 -5 h -65"); animation-delay: 3s !important; animation-duration: 3s !important; }
.cpu-line-5 { offset-path: path("M 135 65 h 15 q 5 0 5 5 v 10 q 0 5 -5 5 h -39.8 q -5 0 -5 -5 v -35"); animation-delay: 9s !important; animation-duration: 4s !important; }
.cpu-line-6 { offset-path: path("M 94.8 95 v -46"); animation-delay: 3s !important; animation-duration: 7s !important; }
.cpu-line-7 { offset-path: path("M 88 88 v -15 q 0 -5 -5 -5 h -10 q -5 0 -5 -5 v -5 q 0 -5 5 -5 h 28"); animation-delay: 4s !important; animation-duration: 4s !important; }
.cpu-line-8 { offset-path: path("M 30 30 h 25 q 5 0 5 5 v 6.5 q 0 5 5 5 h 35"); animation-delay: 3s !important; animation-duration: 3s !important; }

@keyframes animation-path {
  0%   { offset-distance: 0%; }
  100% { offset-distance: 100%; }
}

/* ── TECH STACK ───────────────────────────────────────────── */
.tech-section { background: var(--bg-base); padding: var(--s-20) 0; }

/* ── LOGOLOOP (portado de React Bits) ─────────────────────── */
.logoloop {
  position: relative;
  overflow: hidden;
  margin-top: var(--s-12);
  --logoloop-gap: 40px;
  --logoloop-logoHeight: 36px;
  --logoloop-fadeColorAuto: var(--bg-base);
}

.logoloop__track {
  display: flex;
  width: max-content;
  will-change: transform;
  user-select: none;
  position: relative;
  z-index: 0;
}

.logoloop__list {
  display: flex;
  align-items: center;
  list-style: none;
  padding: 4px 0;
  margin: 0;
}

.logoloop__item {
  flex: 0 0 auto;
  margin-right: var(--logoloop-gap);
  overflow: visible;
}
.logoloop__item:last-child { margin-right: var(--logoloop-gap); }

/* Imagens dos logos */
.logoloop__item img {
  height: var(--logoloop-logoHeight);
  width: auto;
  display: block;
  object-fit: contain;
  -webkit-user-drag: none;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              opacity  0.3s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0.75;
}

/* Scale + opacidade plena no hover */
.logoloop--scale-hover .logoloop__item:hover img {
  transform: scale(1.25);
  transform-origin: center center;
  opacity: 1;
}

/* Fade nas bordas */
.logoloop--fade::before,
.logoloop--fade::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: clamp(32px, 8%, 100px);
  pointer-events: none;
  z-index: 10;
}
.logoloop--fade::before {
  left: 0;
  background: linear-gradient(to right,
    var(--logoloop-fadeColor, var(--logoloop-fadeColorAuto)) 0%,
    transparent 100%);
}
.logoloop--fade::after {
  right: 0;
  background: linear-gradient(to left,
    var(--logoloop-fadeColor, var(--logoloop-fadeColorAuto)) 0%,
    transparent 100%);
}

.tech-chip {
  display: inline-flex; align-items: center; gap: var(--s-2);
  padding: var(--s-3) var(--s-5); border-radius: var(--r-full);
  background: var(--bg-subtle); border: 1px solid var(--border);
  font-size: var(--text-sm); font-weight: var(--w-medium);
  color: var(--text-secondary);
  white-space: nowrap;
  flex-shrink: 0;
  transition: background var(--dur-base) var(--ease-expo-out),
              border-color var(--dur-base) var(--ease-expo-out),
              color var(--dur-base) var(--ease-expo-out),
              box-shadow var(--dur-base) var(--ease-expo-out);
}
.tech-chip:hover {
  background: var(--brand-50); border-color: var(--brand-200);
  color: var(--brand-600);
  box-shadow: var(--sh-md);
}
.tech-chip-icon { font-size: 1.1rem; }

/* ── BRIDGE SVG ───────────────────────────────────────────── */
.bridge-wrap {
  background: var(--bg-subtle);
  width: 100%;
  overflow: hidden;
  line-height: 0;
  padding: 0;
}
.bridge-svg { width: 100%; display: block; height: auto; overflow: hidden; }

/* ── Bridge draw-on-scroll ── */
.bridge-svg path {
  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;
}
@keyframes bridge-draw {
  to { stroke-dashoffset: 0; }
}
.bridge-wrap.bridge-drawn .bridge-svg path:nth-child(1) {
  animation: bridge-draw 2.6s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}
.bridge-wrap.bridge-drawn .bridge-svg path:nth-child(2) {
  animation: bridge-draw 2.3s cubic-bezier(0.25, 1, 0.5, 1) 0.08s forwards;
}
.bridge-wrap.bridge-drawn .bridge-svg path:nth-child(3) {
  animation: bridge-draw 2s cubic-bezier(0.25, 1, 0.5, 1) 0.14s forwards;
}
.bridge-wrap.bridge-drawn .bridge-svg path:nth-child(4) {
  animation: bridge-draw 1.8s cubic-bezier(0.25, 1, 0.5, 1) 0.18s forwards;
}

/* Pulso duplo no nó central */
@keyframes bridge-pulse-1 {
  0%   { r: 7;  opacity: 0.45; }
  100% { r: 36; opacity: 0; }
}
@keyframes bridge-pulse-2 {
  0%   { r: 7;  opacity: 0.25; }
  100% { r: 52; opacity: 0; }
}
.bridge-ring-1 {
  animation: bridge-pulse-1 2.4s ease-out infinite;
  transform-box: fill-box;
}
.bridge-ring-2 {
  animation: bridge-pulse-2 2.4s ease-out 0.6s infinite;
  transform-box: fill-box;
}

/* ── PROCESS ──────────────────────────────────────────────── */
.process-section { background: var(--bg-subtle); }
.process-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: var(--s-6); position: relative;
}

/* Trilho cinza */
.process-line {
  position: absolute; top: 2.5rem; left: 12%; right: 12%;
  height: 2px; background: #E2E8F0;
  border-radius: 2px;
  pointer-events: none;
  overflow: hidden;
}
/* Preenchimento azul animado */
.process-line-fill {
  height: 100%;
  width: 0%;
  background: var(--brand-500);
  border-radius: inherit;
  transition: width 750ms var(--ease-in-out) !important;
  will-change: width;
}

@media (max-width: 900px) {
  .process-grid { grid-template-columns: 1fr 1fr; }
  .process-line { display: none; }
}
@media (max-width: 560px) { .process-grid { grid-template-columns: 1fr; } }
.process-step { text-align: center; position: relative; }

/* Círculos começam cinzos */
.process-number {
  width: 5rem; height: 5rem; border-radius: 50%;
  background: #CBD5E1; color: #94A3B8;
  font-size: var(--text-xl); font-weight: var(--w-black);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto var(--s-5); position: relative; z-index: 1;
  box-shadow: none;
  transition: background 400ms var(--ease-expo-out) !important,
              color     400ms var(--ease-expo-out) !important,
              box-shadow 400ms var(--ease-expo-out) !important,
              transform var(--dur-base) var(--ease-spring) !important;
}
/* Ativo = azul com glow */
.process-number.process-active {
  background: var(--brand-500);
  color: white;
  box-shadow: var(--sh-brand);
}
/* Pop ao ativar */
@keyframes process-pop {
  0%   { transform: scale(1); }
  45%  { transform: scale(1.18); }
  100% { transform: scale(1); }
}
.process-number.process-pop {
  animation: process-pop 0.55s var(--ease-spring) !important;
}
.process-step:hover .process-number { transform: scale(1.08); }
.process-title { font-size: var(--text-lg); font-weight: var(--w-bold); margin-bottom: var(--s-3); }
.process-desc { font-size: var(--text-sm); color: var(--text-secondary); line-height: var(--leading-relaxed); }
.process-duration {
  display: inline-block; margin-top: var(--s-3);
  font-size: var(--text-xs); font-weight: var(--w-semibold);
  color: var(--brand-600); background: var(--brand-50);
  padding: 2px var(--s-3); border-radius: var(--r-full);
}

/* ── CASES ────────────────────────────────────────────────── */
.cases-section {
  background: var(--bg-subtle);
  min-height: auto !important;
  padding: var(--s-12) 0 !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.cases-section .container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ── CARDSTACK ────────────────────────────────────────────── */
/* ── FEATURE CAROUSEL ────────────────────────────────────────── */
/* ── TEXT ROTATE DEMO (Resultados reais) ──────────────────────────── */
.cases-section { padding: 0 !important; min-height: 100svh !important; }

.tr-demo {
  position: relative;
  width: 100%;
  height: 100svh;
  overflow: hidden;
  background: #f8f4f4;
}
/* Imagem menor, centralizada com margens visíveis */
.tr-demo-scroll {
  position: absolute;
  top: 6%;
  left: 6%;
  width: 85%;
  height: 88%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.5);
}
.tr-demo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 0;
  transition: opacity 1s ease;
}
.tr-demo-img.active { opacity: 1; }

/* Overlay no canto inferior direito */
.tr-demo-sticky {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 42%;
  padding: 2.5rem 3rem 3rem;
  background: linear-gradient(
    to top left,
    rgba(0,0,0,0.72) 0%,
    rgba(0,0,0,0.48) 55%,
    transparent 100%
  );
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  z-index: 2;
}
.tr-demo-text-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.tr-demo-title {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.55);
  margin: 0;
}
.tr-demo-author {
  display: flex;
  flex-wrap: wrap;
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
}
.tr-demo-word {
  display: inline-flex;
  overflow: hidden;
  padding-bottom: 0.3rem;
  margin-right: 0.28em;
}
.tr-demo-char { display: inline-block; }
@keyframes trDemoIn {
  from { transform: translateY(50px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
@keyframes trDemoOut {
  from { transform: translateY(0);     opacity: 1; }
  to   { transform: translateY(-50px); opacity: 0; }
}
.tr-demo-char.tr-in  { animation: trDemoIn  0.6s cubic-bezier(0.23,1,0.32,1) both; }
.tr-demo-char.tr-out { animation: trDemoOut 0.35s cubic-bezier(0.4,0,1,1)    both; }

@media (max-width: 640px) {
  .tr-demo-sticky { width: 100%; padding: 1.5rem 1.5rem 2rem; }
  .tr-demo-author { font-size: clamp(1.25rem, 6vw, 2rem); }
}

.fc-wrapper {
  width: 70vw;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.fc-card {
  position: relative;
  background: #000;
  border: none;
  border-radius: 0;
  overflow: hidden;
  min-height: 560px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.12);
}
.fc-text {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 28%;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  z-index: 2;
  background: linear-gradient(to right, rgba(255,255,255,0.98) 65%, transparent 100%);
}
.fc-imgs {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
/* Animations */
@keyframes fc-slide {
  from { opacity: 0; transform: translateX(-14px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fc-fade-scale {
  from { opacity: 0; transform: scale(0.94); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes fc-from-left {
  from { opacity: 0; transform: translateX(-20px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fc-from-right {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}
.fc-step-label {
  font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--accent-400);
  animation: fc-slide 0.35s cubic-bezier(0.22,1,0.36,1) 0.05s both;
}
.fc-title {
  font-size: clamp(1.2rem, 1rem + 1.1vw, 1.7rem);
  font-weight: 800; line-height: 1.2; color: var(--text-primary);
  animation: fc-slide 0.35s cubic-bezier(0.22,1,0.36,1) 0.1s both;
}
.fc-desc {
  font-size: var(--text-sm); line-height: 1.65;
  color: var(--text-secondary);
  animation: fc-slide 0.35s cubic-bezier(0.22,1,0.36,1) 0.15s both;
}
.fc-img {
  position: absolute;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 16px 40px rgba(0,0,0,0.55);
  object-fit: cover;
  user-select: none; pointer-events: none;
  max-width: unset;
}
.fc-img.anim-fade   { animation: fc-fade-scale 0.4s cubic-bezier(0.22,1,0.36,1) both; }
.fc-img.anim-left   { animation: fc-from-left  0.4s cubic-bezier(0.22,1,0.36,1) both; }
.fc-img.anim-right  { animation: fc-from-right 0.4s cubic-bezier(0.22,1,0.36,1) both; }
.fc-img.delay-1     { animation-delay: 0.12s; }
/* Nav */
.fc-nav {
  display: flex; justify-content: center;
  flex-wrap: wrap; gap: 8px; padding: 0 8px;
}
.fc-step-btn {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 16px 6px 8px;
  border-radius: var(--r-full);
  font-size: var(--text-xs); font-weight: var(--w-semibold);
  border: none; cursor: pointer;
  transition: background 0.25s, color 0.25s, transform 0.25s, opacity 0.25s;
  background: rgba(0,0,0,0.06);
  color: var(--text-muted);
  transform: scale(0.93); opacity: 0.75;
}
.fc-step-btn:hover:not(.active) {
  background: rgba(0,0,0,0.1);
  color: var(--text-primary);
}
.fc-step-btn.active {
  background: var(--brand-500);
  color: white; transform: scale(1); opacity: 1;
}
.fc-step-num {
  width: 22px; height: 22px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
  background: rgba(0,0,0,0.1);
  flex-shrink: 0;
}
.fc-step-btn.active .fc-step-num { background: rgba(255,255,255,0.25); }
.fc-step-btn.done { opacity: 0.85; }
@media (max-width: 680px) {
  .fc-card { grid-template-columns: 1fr; min-height: auto; }
  .fc-text { padding: 28px 24px 16px; }
  .fc-imgs { min-height: 220px; }
}

/* Newspaper effect */
.cases-newspaper {
  position: relative;
  padding: var(--s-10) var(--s-8);
}
.newspaper-bg {
  position: absolute;
  inset: 0;
  display: flex;
  border-radius: var(--r-3xl);
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.06),
    0 48px 96px -16px rgba(0,0,0,0.8),
    0 8px 24px rgba(0,0,0,0.5);
}
.newspaper-page {
  flex: 1;
  background-color: #eeebe3;
  background-image:
    /* Divisores verticais de coluna */
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent calc(33.33% - 1px),
      rgba(0,0,0,0.13) calc(33.33% - 1px),
      rgba(0,0,0,0.13) calc(33.33% + 0px),
      transparent calc(33.33% + 0px),
      transparent 66.66%,
      rgba(0,0,0,0.13) 66.66%,
      rgba(0,0,0,0.13) calc(66.66% + 1px),
      transparent calc(66.66% + 1px)
    ),
    /* Linhas de texto simuladas */
    repeating-linear-gradient(
      180deg,
      transparent 0,
      transparent 11px,
      rgba(0,0,0,0.08) 11px,
      rgba(0,0,0,0.08) 13px
    );
}
.np-left {
  border-radius: var(--r-3xl) 0 0 var(--r-3xl);
  box-shadow: inset -12px 0 28px rgba(0,0,0,0.12), inset -1px 0 0 rgba(0,0,0,0.08);
}
.np-right {
  border-radius: 0 var(--r-3xl) var(--r-3xl) 0;
  box-shadow: inset 12px 0 28px rgba(0,0,0,0.12), inset 1px 0 0 rgba(0,0,0,0.08);
}
.newspaper-spine {
  width: 14px;
  flex-shrink: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.28) 0%,
    rgba(0,0,0,0.06) 35%,
    rgba(255,255,255,0.35) 50%,
    rgba(0,0,0,0.06) 65%,
    rgba(0,0,0,0.28) 100%
  );
  box-shadow: 0 0 20px rgba(0,0,0,0.55);
}
.cases-newspaper .cases-layout {
  position: relative;
  z-index: 1;
}
.cases-section .section-headline { color: var(--text-primary); }
.cases-section .section-sub { color: var(--text-muted); }
.cases-section .section-label {
  background: rgba(37,99,235,0.2); color: var(--accent-400);
  border-color: rgba(37,99,235,0.3);
}
.cases-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: 1fr;
  align-items: stretch;
  gap: var(--s-6);
  gap: var(--s-10);
  align-items: center;
}
.cases-layout .case-card { height: 100%; }
.cases-globe-col {
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: var(--s-5);
}
#cobe-globe {
  width: 100%; aspect-ratio: 1;
  border-radius: 50%;
  cursor: grab;
  touch-action: none;
  display: block;
}
.cases-globe-label {
  font-size: var(--text-sm); color: var(--text-inverse-muted);
  text-align: center; font-style: italic;
  max-width: 28ch;
}
@media (max-width: 900px) {
  .cases-layout { grid-template-columns: 1fr; }
  .cases-globe-col { order: -1; max-width: 400px; margin: 0 auto; width: 100%; }
}
.case-card {
  background: var(--bg-inverse-sub); border: 1px solid var(--border-inv);
  border-radius: var(--r-2xl); overflow: hidden;
  transition: all var(--dur-base) var(--ease-expo-out);
}
.case-card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,0.2); }
.case-card-featured { grid-row: span 1; }
.case-header {
  padding: var(--s-8); border-bottom: 1px solid var(--border-inv);
}
.case-tag {
  display: inline-block; padding: var(--s-1) var(--s-3);
  border-radius: var(--r-full); background: rgba(37,99,235,0.2);
  color: var(--accent-400); font-size: var(--text-xs); font-weight: var(--w-semibold);
  margin-bottom: var(--s-4);
}
.case-title { font-size: var(--text-xl); font-weight: var(--w-bold); color: white; margin-bottom: var(--s-3); }
.case-desc { font-size: var(--text-sm); color: var(--text-inverse-muted); line-height: var(--leading-relaxed); }
.case-metrics {
  display: flex; gap: var(--s-4); padding: var(--s-6) var(--s-8); flex-wrap: wrap;
}
.case-metric { text-align: center; }
.case-metric-value {
  font-size: var(--text-2xl); font-weight: var(--w-black);
  color: white; line-height: 1;
  background: linear-gradient(135deg, white, var(--accent-400));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.case-metric-label { font-size: var(--text-xs); color: var(--text-inverse-muted); margin-top: 2px; }
.case-cta-row { padding: 0 var(--s-8) var(--s-6); }

/* ── TESTIMONIALS — Bento Grid ────────────────────────────── */
/* ── TESTIMONIALS SLIDER ──────────────────────────────────── */
.testimonials-section {
  background: var(--bg-subtle);
  min-height: auto;
  padding: 160px 0 80px;
  position: relative;
  overflow: hidden;
}
.ts-grid-bg {
  position: absolute; inset: 0;
  pointer-events: none; z-index: 0;
}
.ts-beam {
  position: absolute;
  pointer-events: none;
}
.testimonials-section .container {
  position: relative; z-index: 1;
  padding-left: 150px;
  padding-right: 150px;
}
.ts-card {
  --card-bg: rgba(255,255,255,0.05);
  --glow-color:    hsl(197deg 90% 65% / 100%);
  --glow-color-60: hsl(197deg 90% 65% / 60%);
  --glow-color-50: hsl(197deg 90% 65% / 50%);
  --glow-color-40: hsl(197deg 90% 65% / 40%);
  --glow-color-30: hsl(197deg 90% 65% / 30%);
  --glow-color-20: hsl(197deg 90% 65% / 20%);
  --glow-color-10: hsl(197deg 90% 65% / 10%);
  --gradient-one:   radial-gradient(at 80% 55%, #22D3EE 0px, transparent 50%);
  --gradient-two:   radial-gradient(at 69% 34%, #4F46E5 0px, transparent 50%);
  --gradient-three: radial-gradient(at  8%  6%, #818CF8 0px, transparent 50%);
  --gradient-four:  radial-gradient(at 41% 38%, #22D3EE 0px, transparent 50%);
  --gradient-five:  radial-gradient(at 86% 85%, #4F46E5 0px, transparent 50%);
  --gradient-six:   radial-gradient(at 82% 18%, #818CF8 0px, transparent 50%);
  --gradient-seven: radial-gradient(at 51%  4%, #22D3EE 0px, transparent 50%);
  --gradient-base:  linear-gradient(#4F46E5 0 100%);
}
.testimonials-section .section-header {
  margin-bottom: var(--s-8);
  padding-top: 0;
}
.testimonials-section .section-headline,
.testimonials-section .section-label { color: var(--text-primary); }
.testimonials-section .section-sub { color: var(--text-muted); }

/* ── top bar: title + nav buttons ── */
.ts-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: var(--s-10);
}
.ts-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent-400);
  margin-bottom: var(--s-2);
}
.ts-headline {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  line-height: 1.08;
  text-transform: uppercase;
  margin: 0;
}

/* ── 3-card grid ── */
.ts-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  height: auto;
}

.ts-card {
  display: none;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(100,116,139,0.15);
  border-radius: 16px;
  transition: opacity 0.45s ease, transform 0.45s ease;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.ts-card.show {
  display: flex;
  opacity: 1;
  transform: scale(1);
}
.ts-card.active {
  opacity: 1;
  transform: scale(1);
  border-color: rgba(99,102,241,0.2);
  box-shadow: 0 4px 24px rgba(99,102,241,0.08);
}
.ts-card-inner {
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  height: 100%;
}

.ts-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ts-avatar-initials {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-500), var(--accent-500));
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  letter-spacing: 0.02em;
}

.ts-author-info .ts-name {
  font-size: var(--text-sm); font-weight: var(--w-bold);
  color: var(--text-primary); line-height: 1.3;
}

.ts-author-info .ts-role {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 3px;
}

.ts-content {
  flex: 1;
  font-size: var(--text-sm);
  line-height: 1.75;
  font-style: italic;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ts-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.ts-stars {
  color: #F472B6;
  font-size: 15px;
  letter-spacing: 2px;
}

.ts-verified {
  font-size: 11px;
  color: rgba(100,116,139,0.45);
}

/* Navigation */
.ts-nav {
  display: flex; flex-direction: row;
  align-items: center; gap: 10px;
}

.ts-nav-btn {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(99,102,241,0.18);
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; flex-shrink: 0;
  transition: all 0.25s cubic-bezier(0.16,1,0.3,1);
  color: var(--text-muted);
  box-shadow: 0 2px 12px rgba(99,102,241,0.08), inset 0 1px 0 rgba(255,255,255,0.9);
}

.ts-nav-btn:hover {
  background: rgba(99,102,241,0.06);
  border-color: rgba(99,102,241,0.4);
  color: var(--brand-500);
  transform: scale(1.08);
  box-shadow: 0 4px 20px rgba(99,102,241,0.15), inset 0 1px 0 rgba(255,255,255,0.9);
}

.ts-dots {
  display: flex; flex-direction: row;
  align-items: center; gap: 6px;
  justify-content: center;
  margin-top: 32px;
}

.ts-dot {
  width: 28px; height: 2px;
  min-height: 0;
  border-radius: 2px; border: none;
  background: rgba(100,116,139,0.18);
  cursor: pointer; padding: 0;
  transition: all 0.45s cubic-bezier(0.16,1,0.3,1);
  position: relative;
  overflow: hidden;
}

.ts-dot::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--brand-500), var(--accent-500));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.16,1,0.3,1);
  border-radius: inherit;
}

.ts-dot.active {
  width: 52px;
  background: rgba(99,102,241,0.12);
}

.ts-dot.active::after {
  transform: scaleX(1);
}

@media (max-width: 640px) {
  .ts-layout { grid-template-columns: 1fr; }
  .ts-cards  { height: 380px; }
  .ts-nav    { flex-direction: row; justify-content: center; margin-top: 8px; }
  .ts-dots   { flex-direction: row; }
  .ts-card   { padding: 22px 20px; }
  .ts-content { -webkit-line-clamp: 6; }
}

/* ── ABOUT ────────────────────────────────────────────────── */

.about-section .section-header {
  margin-top: -18vh;
  padding-bottom: var(--s-6);
  margin-bottom: var(--s-10);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.about-section .section-headline {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  color: #9333EA;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
}
.about-section .section-headline::before { content: '\201C'; }
.about-section .section-headline::after  { content: '\201D'; }

.about-section {
  background: var(--bg-subtle);
  position: relative;
  margin-top: 0;
  padding: 9rem 0 18rem;
}
.about-sticky {
  display: flex;
  align-items: center;
}
/* Divider hero → about */
.divider-hero-about {
  position: relative;
  z-index: 2;
  pointer-events: none;
  margin-top: -1px;
  padding: 0;
  background-color: transparent;
  overflow: hidden;
}
.dha-line-wrap {
  position: relative;
  width: 100%;
  height: 2px;
}
.dha-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 2px;
  overflow: visible;
}

.wave-23,
.wave-34,
.wave-45 {
  display: none;
}
.divider-hero-about {
  display: block;
  position: relative;
  z-index: 10;
  margin-top: -79px;
  line-height: 0;
}
.divider-hero-about svg {
  width: 100%;
  height: 80px;
  display: block;
}
.wave-34 svg { width: 100%; height: 2px; display: block; }

.wave-45 {
  background: var(--bg-inverse);
  line-height: 0;
  position: relative;
  z-index: 1;
}
.wave-45 svg { width: 100%; height: 2px; display: block; }

/* About — 2-column grid */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 1rem;
  margin-top: 4rem;
  max-width: 1200px;
  margin-left: 0;
  margin-right: auto;
  padding-left: 2rem;
}

/* Left */
.about-left { display: flex; flex-direction: column; gap: var(--s-8); align-items: flex-start; text-align: left; width: 100%; }

.about-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-500);
  font-family: var(--font-body);
}

.about-headline {
  font-size: clamp(2.5rem, 4.2vw, 4.5rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  font-family: var(--font-display);
  padding-bottom: 0.1em;
}
.about-headline__accent {
  font-style: normal;
  background: linear-gradient(135deg, #5E0ED7, #0EA5E9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline;
}

.about-sub {
  font-size: clamp(1.125rem, 1.3vw, 1.35rem);
  line-height: 1.8;
  color: var(--text-secondary);
  font-family: var(--font-body);
  max-width: 56ch;
  text-align: left;
}
.about-sub strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* Métricas */
.about-metrics {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  margin-top: var(--s-8);
  padding-top: var(--s-8);
  border-top: 1px solid var(--border);
  width: 100%;
}

.about-metric {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 var(--s-6);
  border-right: 1px solid var(--border);
  transition: opacity 0.3s;
  position: relative;
  overflow: hidden;
}
.about-metric:first-child { padding-left: 0; }
.about-metric:last-child  { border-right: none; }
.about-metric:hover { opacity: 0.75; }

/* ── Moving dot effect ─────────────────────────────────── */
@keyframes moveDot {
  0%, 100% { top: 10%;                    right: 10%; }
  25%       { top: 10%;                    right: calc(100% - 18px); }
  50%       { top: calc(100% - 18px);      right: calc(100% - 18px); }
  75%       { top: calc(100% - 18px);      right: 10%; }
}
@keyframes rayFollow {
  0%, 100% { background-position: 90% 10%; }
  25%       { background-position: 10% 10%; }
  50%       { background-position: 10% 90%; }
  75%       { background-position: 90% 90%; }
}

.metric-dot { display: none; }

.metric-ray {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle 80px at 90% 10%,
    rgba(14,165,233,0.10) 0%,
    transparent 100%
  );
  background-size: 200% 200%;
  animation: rayFollow 4s linear infinite;
  animation-delay: var(--dot-delay, 0s);
  pointer-events: none;
  z-index: 1;
}

/* Linhas de borda que se iluminam */
.metric-line {
  position: absolute;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(100,116,139,0.35),
    transparent
  );
  z-index: 3;
  pointer-events: none;
  border-radius: 2px;
}
.metric-topl    { top: 0;    left: 10%; right: 10%;  height: 1px; }
.metric-bottoml { bottom: 0; left: 10%; right: 10%;  height: 1px; }
.metric-leftl   { left: 0;   top: 10%;  bottom: 10%; width: 1px;
  background: linear-gradient(180deg, transparent, rgba(100,116,139,0.35), transparent); }
.metric-rightl  { right: 0;  top: 10%;  bottom: 10%; width: 1px;
  background: linear-gradient(180deg, transparent, rgba(100,116,139,0.35), transparent); }
.about-metric__icon {
  width: 36px; height: 36px;
  border-radius: var(--r-md);
  background: rgba(14,165,233,0.10);
  display: flex; align-items: center; justify-content: center;
  color: #0284C7;
  margin-bottom: var(--s-3);
  flex-shrink: 0;
}
.about-metric__value {
  font-size: clamp(2.4rem, 3.8vw, 3.6rem);
  font-weight: 800;
  font-family: var(--font-display);
  line-height: 1;
  background: linear-gradient(135deg, #5E0ED7, #0EA5E9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.about-metric__label {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.45;
  font-family: var(--font-body);
  letter-spacing: 0.01em;
}

/* Progress bar */
.about-metric__bar {
  height: 2px;
  background: var(--surface);
  border-radius: 2px;
  margin-top: var(--s-3);
  overflow: hidden;
}
.about-metric__fill {
  height: 100%;
  width: 0;
  border-radius: 2px;
  background: linear-gradient(to right, #38BDF8, #0284C7);
  transition: width 0.06s linear;
}

/* Right — imagem flutuante */
@keyframes float {
  0%, 100% { transform: translateX(6rem) translateY(0px); }
  50%       { transform: translateX(6rem) translateY(-18px); }
}
.about-right { display: flex; align-items: center; justify-content: flex-end; overflow: visible; }
.about-img { width: 130%; max-width: 700px; height: auto; border-radius: 1rem; object-fit: cover; animation: float 4s ease-in-out infinite; }

.about-timeline {
  display: flex;
  flex-direction: column;
  position: relative;
  padding-left: 28px;
}
/* Track cinza */
.about-timeline::before {
  content: '';
  position: absolute;
  left: 6px; top: 8px; bottom: 8px;
  width: 2px;
  background: var(--border-strong);
  border-radius: 2px;
}
/* Linha colorida — altura controlada por JS via --tl-h */
.about-timeline::after {
  content: '';
  position: absolute;
  left: 6px; top: 8px;
  width: 2px;
  height: var(--tl-h, 0px);
  max-height: calc(100% - 16px);
  background: linear-gradient(to bottom, #38BDF8, #0284C7);
  border-radius: 2px;
  transition: height 0.06s linear;
}

.about-tl-item {
  position: relative;
  padding-bottom: var(--s-8);
  opacity: 0.35;
  transition: opacity 0.4s ease;
}
.about-tl-item:last-child { padding-bottom: 0; }
.about-tl-item.tl-active  { opacity: 1; }
.about-tl-item--active .about-tl-dot {
  background: #0EA5E9;
  box-shadow: 0 0 0 4px rgba(14,165,233,0.25);
}

.about-tl-dot {
  position: absolute;
  left: -24px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--border-strong);
  flex-shrink: 0;
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  z-index: 1;
}
.about-tl-item.tl-active .about-tl-dot {
  background: #0EA5E9;
  border-color: #38BDF8;
  box-shadow: 0 0 0 4px rgba(14,165,233,0.22);
}

.about-tl-content { padding-left: 0; }

.about-tl-year {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0284C7;
  font-family: var(--font-body);
}

.about-tl-title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text-primary);
  margin: 4px 0 6px;
  font-family: var(--font-display);
}

.about-tl-desc {
  font-size: var(--text-xl);
  color: var(--text-muted);
  line-height: 1.65;
  font-family: var(--font-body);
}
.about-vision {
  border-left: 2px solid var(--brand-500);
  border-radius: 0 var(--r-lg) var(--r-lg) 0;
  padding: var(--s-4) var(--s-5);
  margin-top: var(--s-8);
  background: var(--brand-50);
}
.about-vision-label {
  font-size: var(--text-xs); font-weight: var(--w-semibold);
  color: var(--brand-600); text-transform: uppercase;
  letter-spacing: var(--tracking-wide); margin-bottom: var(--s-2);
}
.about-vision p { font-size: var(--text-sm); color: var(--text-secondary); margin-bottom: 0; }
.about-visual { display: flex; flex-direction: column; gap: var(--s-3); }
.about-card {
  display: flex; align-items: stretch;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--r-2xl); overflow: hidden;
  transition: all var(--dur-slow) var(--ease-expo-out);
}
.about-card:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.14);
  box-shadow: 0 20px 48px -8px rgba(0,0,0,0.5);
  transform: translateY(-2px);
}
.about-card:hover .about-card-stat { color: #fff; }
.about-card-stat-col {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  min-width: 96px; padding: var(--s-5) var(--s-4);
  border-right: 1px solid rgba(255,255,255,0.07);
  background: rgba(37,99,235,0.06);
  flex-shrink: 0;
  gap: var(--s-1);
}
.about-card-stat {
  font-family: var(--font-display);
  font-size: var(--text-xl); font-weight: 700;
  color: var(--brand-400); line-height: 1;
  transition: color var(--dur-base) var(--ease-expo-out);
}
.about-card-stat-label {
  font-size: 0.65rem; font-weight: var(--w-semibold);
  color: rgba(255,255,255,0.3); text-transform: uppercase;
  letter-spacing: 0.07em; text-align: center;
}
.about-card-content {
  padding: var(--s-5) var(--s-6); flex: 1;
  display: flex; flex-direction: column; gap: var(--s-2);
}
.about-card-icon {
  width: 1.75rem; height: 1.75rem; border-radius: var(--r-md);
  background: rgba(37,99,235,0.12); border: 1px solid rgba(37,99,235,0.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--brand-400); flex-shrink: 0;
}
.about-card-title {
  font-weight: var(--w-semibold); font-size: var(--text-sm);
  color: var(--text-inverse); margin: 0;
}
.about-card-content p {
  font-size: var(--text-xs); color: var(--text-inverse-muted);
  line-height: var(--leading-relaxed); margin: 0;
}

/* ── GUARANTEES ───────────────────────────────────────────── */
.guarantees-section { background: var(--bg-subtle); }
.guarantees-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-6); }
@media (max-width: 768px) { .guarantees-grid { grid-template-columns: 1fr; } }
.guarantee-card {
  text-align: center; padding: var(--s-8);
  background: var(--bg-elevated); border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  transition: all var(--dur-base) var(--ease-expo-out);
}
.guarantee-card:hover { transform: translateY(-4px); box-shadow: var(--sh-xl); border-color: var(--brand-200); }
.guarantee-icon { font-size: 2.5rem; margin-bottom: var(--s-4); }
.guarantee-title { font-size: var(--text-lg); font-weight: var(--w-bold); margin-bottom: var(--s-3); }
.guarantee-desc { font-size: var(--text-sm); color: var(--text-secondary); line-height: var(--leading-relaxed); }
.guarantee-badge {
  display: inline-block; margin-top: var(--s-4);
  font-size: var(--text-xs); font-weight: var(--w-semibold);
  color: var(--success); background: var(--success-bg);
  padding: var(--s-1) var(--s-3); border-radius: var(--r-full);
}

/* ── FAQ ──────────────────────────────────────────────────── */
.faq-section { background: var(--bg-base); }
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: var(--s-3); }
.faq-item {
  background: var(--bg-subtle); border: 1.5px solid var(--border);
  border-radius: var(--r-xl); overflow: hidden;
  transition: border-color var(--dur-base);
}
.faq-item.open { border-color: var(--brand-300); }
.faq-question {
  width: 100%; text-align: left;
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-4); padding: var(--s-5) var(--s-6);
  font-size: var(--text-md); font-weight: var(--w-semibold);
  color: var(--text-primary); cursor: pointer;
  transition: color var(--dur-base);
  background: none; border: none; font-family: inherit;
}
.faq-question:hover { color: var(--text-brand); }
.faq-icon {
  width: 1.75rem; height: 1.75rem; border-radius: 50%;
  border: 1.5px solid var(--border); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: var(--text-muted);
  transition: all var(--dur-base) var(--ease-spring);
}
.faq-item.open .faq-icon { transform: rotate(45deg); border-color: var(--brand-500); color: var(--brand-500); }
.faq-answer {
  overflow: hidden; max-height: 0;
  transition: max-height 0.4s var(--ease-expo-out), padding 0.3s;
}
.faq-answer-inner {
  padding: 0 var(--s-6) var(--s-6);
  font-size: var(--text-sm); color: var(--text-secondary);
  line-height: var(--leading-relaxed);
}
.faq-item.open .faq-answer { max-height: 300px; }

/* ── CTA FINAL ────────────────────────────────────────────── */
.cta-final {
  background: var(--brand-500); padding: var(--s-24) 0;
  position: relative; overflow: hidden;
}
.cta-final::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(255,255,255,0.07), transparent 55%),
    radial-gradient(ellipse at 80% 50%, rgba(14,165,233,0.2), transparent 55%);
}
.cta-final-inner { text-align: center; position: relative; z-index: 1; }
.cta-final h2 {
  font-size: var(--text-4xl); font-weight: var(--w-black);
  color: white; margin-bottom: var(--s-4);
  letter-spacing: var(--tracking-tight); line-height: var(--leading-tight);
}
.cta-final p { font-size: var(--text-lg); color: rgba(255,255,255,0.8); margin-bottom: var(--s-10); max-width: 50ch; margin-left: auto; margin-right: auto; }
.cta-final-btns { display: flex; flex-wrap: wrap; gap: var(--s-4); justify-content: center; }
.cta-reassure {
  margin-top: var(--s-6); font-size: var(--text-sm);
  color: rgba(255,255,255,0.6);
}
@media (max-width: 640px) {
  .cta-final-btns { flex-direction: column; align-items: center; }
  .cta-final-btns .btn { width: 100%; max-width: 320px; }
}

/* ── ESPAÇADOR ───────────────────────────────────────────── */
.section-spacer {
  background: var(--bg-subtle);
  padding: 0;
  overflow: hidden;
  line-height: 0;
}
/* ── Bridge-Intertwine draw-on-scroll ── */
.bridge-intertwine path {
  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;
}
/* Linha A: auras → halos → glow segs → sharp */
.section-spacer.bridge-drawn .bridge-intertwine path:nth-child(1) {
  animation: bridge-draw 2.6s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}
.section-spacer.bridge-drawn .bridge-intertwine path:nth-child(3) {
  animation: bridge-draw 2.3s cubic-bezier(0.25, 1, 0.5, 1) 0.05s forwards;
}
.section-spacer.bridge-drawn .bridge-intertwine path:nth-child(5) {
  animation: bridge-draw 2s cubic-bezier(0.25, 1, 0.5, 1) 0.1s forwards;
}
.section-spacer.bridge-drawn .bridge-intertwine path:nth-child(6) {
  animation: bridge-draw 2s cubic-bezier(0.25, 1, 0.5, 1) 0.5s forwards;
}
.section-spacer.bridge-drawn .bridge-intertwine path:nth-child(7) {
  animation: bridge-draw 1.8s cubic-bezier(0.25, 1, 0.5, 1) 0.12s forwards;
}
/* Linha B: ligeiramente atrasada */
.section-spacer.bridge-drawn .bridge-intertwine path:nth-child(2) {
  animation: bridge-draw 2.6s cubic-bezier(0.25, 1, 0.5, 1) 0.15s forwards;
}
.section-spacer.bridge-drawn .bridge-intertwine path:nth-child(4) {
  animation: bridge-draw 2.3s cubic-bezier(0.25, 1, 0.5, 1) 0.2s forwards;
}
.section-spacer.bridge-drawn .bridge-intertwine path:nth-child(8) {
  animation: bridge-draw 2s cubic-bezier(0.25, 1, 0.5, 1) 0.25s forwards;
}
.section-spacer.bridge-drawn .bridge-intertwine path:nth-child(9) {
  animation: bridge-draw 2s cubic-bezier(0.25, 1, 0.5, 1) 0.62s forwards;
}
.section-spacer.bridge-drawn .bridge-intertwine path:nth-child(10) {
  animation: bridge-draw 1.8s cubic-bezier(0.25, 1, 0.5, 1) 0.28s forwards;
}
/* Nós: aparecem após as linhas */
.bridge-intertwine circle {
  opacity: 0;
  transition: opacity 0.5s ease;
}
.section-spacer.bridge-drawn .bridge-intertwine circle {
  opacity: 1;
  transition: opacity 0.6s ease 1.8s;
}

.bridge-intertwine {
  width: 100%;
  height: 260px;
  display: block;
}

/* ── CONTACT ──────────────────────────────────────────────── */
/* ── CONTACT — dark redesign ──────────────────────────────── */
.contact-section {
  background: var(--bg-subtle);
  padding: 170px 0 90px;
  min-height: auto;
}
.contact-section .container { padding: 0 180px 0 140px; }
.contact-section { background: var(--bg-base) !important; }
@media (max-width: 768px) { .contact-section .container { padding: 0 var(--s-5); } }

.ct-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 900px) { .ct-layout { grid-template-columns: 1fr; gap: 48px; } }

/* Left: info */
.ct-info { color: #1E293B; padding-left: 0px; padding-top: 40px; }

.ct-group-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #818CF8;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}
.ct-group-label::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1px;
  background: linear-gradient(to right, #6366F1, #a78bfa);
}

.ct-info-subtitle {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #F1F5F9;
  margin-bottom: 2rem;
  margin-top: 0;
}

.ct-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-width: 440px;
}

.ct-checklist li {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: #CBD5E1;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: rgba(99,102,241,0.07);
  border: 1px solid rgba(99,102,241,0.14);
  border-radius: 10px;
  padding: 0.65rem 1rem;
  transition: background 0.2s, border-color 0.2s;
}
.ct-checklist li:hover {
  background: rgba(99,102,241,0.13);
  border-color: rgba(99,102,241,0.28);
  color: #F1F5F9;
}

.ct-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(99,102,241,0.4);
}

.ct-items {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid rgba(99,102,241,0.15);
  padding-top: 1.5rem;
}

.ct-item {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
  transition: background 0.2s;
  padding: 0.65rem 0.5rem;
  border-radius: 10px;
}
.ct-item:hover { background: rgba(99,102,241,0.05); }

.ct-item-icon {
  width: 38px; height: 38px;
  border-radius: 9px;
  background: rgba(99,102,241,0.15);
  border: 1px solid rgba(99,102,241,0.3);
  display: flex; align-items: center; justify-content: center;
  color: #818CF8;
  flex-shrink: 0;
}

.ct-item-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #94A3B8;
  margin-bottom: 2px;
}

.ct-item-value {
  font-size: 14px;
  font-weight: 500;
  color: #FFFFFF;
  line-height: 1.4;
}

.ct-bottom-row {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
  margin-top: 2rem;
}

.ct-social-block { display: flex; flex-direction: column; }

.ct-socials { display: flex; gap: 12px; }

.ct-social-btn {
  width: 62px; height: 62px;
  border-radius: 14px;
  background: rgba(99,102,241,0.15);
  border: 1px solid rgba(99,102,241,0.3);
  display: flex; align-items: center; justify-content: center;
  color: #6366F1;
  text-decoration: none;
  transition: all 0.2s;
}
.ct-social-btn:hover {
  background: #6366F1;
  border-color: #6366F1;
  color: #fff;
}

/* Right: form card */
.ct-card {
  background: #0D1224;
  border-radius: 20px;
  padding: 52px 36px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(99,102,241,0.22);
  box-shadow: 0 8px 48px rgba(99,102,241,0.18), 0 2px 8px rgba(0,0,0,0.4);
}

.ct-card::before {
  content: '';
  position: absolute;
  top: -40px;
  left: -80px;
  right: -80px;
  height: 230px;
  background: linear-gradient(108deg,
    rgba(99,102,241,0.55) 0%,
    rgba(139,92,246,0.42) 40%,
    rgba(168,85,247,0.28) 65%,
    transparent 100%);
  transform: rotate(-6deg);
  pointer-events: none;
  z-index: 0;
  filter: blur(2px);
}

.ct-card::after {
  content: '';
  position: absolute;
  top: 120px;
  left: -80px;
  right: -80px;
  height: 60px;
  background: linear-gradient(108deg,
    transparent 0%,
    rgba(99,102,241,0.22) 30%,
    rgba(139,92,246,0.18) 60%,
    transparent 100%);
  transform: rotate(-6deg);
  pointer-events: none;
  z-index: 0;
  filter: blur(1px);
}

.ct-card-title,
.ct-card form {
  position: relative;
  z-index: 1;
}

.ct-star {
  position: absolute;
  top: 24px; right: 32px;
  font-size: 26px;
  color: #C7D2FE;
  line-height: 1;
  pointer-events: none;
}

.ct-card-title {
  font-size: clamp(1.2rem, 1.7vw, 1.7rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  line-height: 1.1;
  margin-bottom: 32px;
  font-family: 'Satoshi', system-ui, sans-serif !important;
  text-align: center;
}
.ct-card-accent {
  font-style: normal;
  color: #A78BFA;
}

.ct-input {
  display: block;
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 14px 16px;
  color: #F1F5F9;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  margin-bottom: 12px;
  appearance: none;
}
.ct-input::placeholder { color: rgba(148,163,184,0.6); }
.ct-input:focus {
  border-color: #6366F1;
  background: rgba(255,255,255,0.10);
  color: #FFFFFF;
}
.ct-textarea {
  resize: none;
  min-height: 200px;
}
.ct-select {
  cursor: pointer;
  color: #94A3B8;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.ct-select:focus { color: #F1F5F9; }
.ct-select option {
  background: #1E2640;
  color: #F1F5F9;
}
.ct-select.has-value { color: #F1F5F9; }

.ct-send-btn {
  display: block;
  width: 100%;
  padding: 15px;
  margin-top: 4px;
  background: #6366F1;
  border: 1px solid #6366F1;
  border-radius: 10px;
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: all 0.2s;
}
.ct-send-btn:hover {
  background: #4F46E5;
  border-color: #4F46E5;
  color: #fff;
}

/* Success & errors */
.form-error { display: none; font-size: var(--text-xs); color: #f87171; margin-bottom: 8px; margin-top: -6px; }
.form-error.show { display: block; }
.form-success { display: none; text-align: center; padding: var(--s-8); }
.form-success.show { display: block; }
.form-success-icon { font-size: 2.5rem; margin-bottom: var(--s-4); color: #34d399; }
.form-success-title { font-size: var(--text-xl); font-weight: var(--w-bold); color: #fff; margin-bottom: var(--s-3); }
.form-success-text { color: rgba(255,255,255,0.55); font-size: var(--text-sm); }

/* ── FOOTER ───────────────────────────────────────────────── */
footer {
  background: #0F172A;
  color: #94A3B8;
  padding: 0 0 0;
}
.ft-accent-bar {
  height: 3px;
  background: linear-gradient(to right, #6D28D9, #6366F1, #818CF8);
}
.ft-inner {
  width: 100%;
  padding: 64px 140px 56px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
  box-sizing: border-box;
}
.ft-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-shrink: 0;
  max-width: 240px;
  margin-left: 160px;
}
.ft-logo {
  font-size: 1.3rem;
  font-weight: 900;
  color: #F8FAFC;
  letter-spacing: 0.14em;
  font-family: 'Satoshi', system-ui, sans-serif;
}
.ft-tagline {
  font-size: 13px;
  color: #64748B;
  line-height: 1.7;
}
.ft-cols {
  display: flex;
  gap: 64px;
  flex: 1;
  justify-content: center;
}
.ft-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 120px;
}
.ft-col-title {
  font-size: 11px;
  font-weight: 700;
  color: #F8FAFC;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.ft-link {
  font-size: 13.5px;
  color: #64748B;
  transition: color 0.2s;
  line-height: 1.5;
}
.ft-link:hover { color: #818CF8; }
.ft-socials {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 4px;
}
.ft-social {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  display: flex; align-items: center; justify-content: center;
  color: #64748B;
  transition: all 0.2s;
}
.ft-social:hover {
  background: #6366F1;
  color: #fff;
  border-color: #6366F1;
  transform: translateY(-2px);
}
.ft-bottom {
  padding: 20px 140px;
  border-top: 1px solid rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #475569;
}
.ft-bottom-made { color: #334155; }
@media (max-width: 900px) {
  .ft-inner { flex-wrap: wrap; gap: 40px; padding: 48px 40px 40px; }
  .ft-cols { flex-wrap: wrap; gap: 32px; }
  .ft-bottom { padding: 20px 40px; flex-direction: column; gap: 8px; text-align: center; }
}
@media (max-width: 560px) {
  .ft-inner { padding: 40px 20px 32px; flex-direction: column; gap: 32px; }
  .ft-cols { gap: 24px; }
  .ft-col { min-width: 100px; }
  .ft-bottom { padding: 16px 20px; }
}

/* ── BRIDGE RESULTADOS → PROCESSO ────────────────────────── */
.bridge-rp {
  background: var(--bg-subtle);
  padding: var(--s-16) 0;
  overflow: hidden;
}
.bridge-rp-svg {
  width: 100%;
  height: 180px;
  display: block;
}

/* ── Bridge-RP draw-on-scroll (direita → esquerda) ── */
@keyframes bridge-draw-rtl {
  from { stroke-dashoffset: -2500; }
  to   { stroke-dashoffset: 0; }
}
.bridge-rp-svg path {
  stroke-dasharray: 2500;
  stroke-dashoffset: -2500;
}
.bridge-rp.bridge-drawn .bridge-rp-svg path:nth-child(1) {
  animation: bridge-draw-rtl 2.6s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}
.bridge-rp.bridge-drawn .bridge-rp-svg path:nth-child(2) {
  animation: bridge-draw-rtl 2.3s cubic-bezier(0.25, 1, 0.5, 1) 0.08s forwards;
}
.bridge-rp.bridge-drawn .bridge-rp-svg path:nth-child(3) {
  animation: bridge-draw-rtl 2s cubic-bezier(0.25, 1, 0.5, 1) 0.14s forwards;
}
.bridge-rp.bridge-drawn .bridge-rp-svg path:nth-child(4) {
  animation: bridge-draw-rtl 1.8s cubic-bezier(0.25, 1, 0.5, 1) 0.18s forwards;
}

/* ── COMO TRABALHAMOS ─────────────────────────────────────── */
.process-section {
  background: var(--bg-subtle);
  padding: var(--s-24) 0;
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
  margin-top: var(--s-16);
  padding-top: var(--s-6);
}

/* Trilha entre dots */
.proc-track {
  position: absolute;
  top: calc(var(--s-6) + 36px);
  left: calc(10% + 36px);
  right: calc(10% + 36px);
  height: 2px;
  background: rgba(99,102,241,0.15);
  border-radius: 1px;
  z-index: 0;
  pointer-events: none;
}
.proc-track-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(to right, #6D28D9, #818CF8);
  border-radius: 1px;
  box-shadow: 0 0 10px rgba(109,40,217,0.55);
  transition: none;
}
.proc-track-fill.active {
  width: 100%;
}

/* Steps e dots — sempre na frente do SVG pelo fluxo normal */
.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 var(--s-4);
  position: relative;
}
.process-step-dot {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--bg-subtle); /* sólido — cobre a linha */
  border: 1.5px solid rgba(99,102,241,0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--s-5);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  transition: border-color 0.5s ease, box-shadow 0.5s ease;
}
.process-step-num {
  font-family: 'Satoshi', system-ui, sans-serif;
  font-size: 1.125rem;
  font-weight: 800;
  color: rgba(99,102,241,0.6);
  letter-spacing: 0.02em;
  line-height: 1;
  transition: color 0.5s ease;
}

/* Estado ativo: borda + glow, fundo sólido mantido */
.process-step.proc-step-active .process-step-dot {
  border-color: #7C3AED;
  background: var(--bg-subtle); /* mantém sólido */
  box-shadow: 0 0 0 5px color-mix(in srgb, #7C3AED 10%, transparent),
              0 0 22px rgba(124,58,237,0.22);
}
.process-step.proc-step-active .process-step-num {
  color: #7C3AED;
}

.process-step-title {
  font-family: 'Satoshi', system-ui, sans-serif;
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--s-2);
  letter-spacing: -0.01em;
}
.process-step-desc {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-relaxed);
  max-width: 20ch;
  margin: 0 auto;
}
@media (max-width: 900px) {
  .process-steps { grid-template-columns: 1fr 1fr; gap: var(--s-10); }
  .proc-track { display: none; }
  .process-step { align-items: flex-start; text-align: left; }
  .process-step-desc { max-width: none; }
}
@media (max-width: 560px) {
  .process-steps { grid-template-columns: 1fr; }
}

/* ── WHATSAPP FLOAT ───────────────────────────────────────── */
@keyframes wa-pulse {
  0%   { box-shadow: 0 0 0 0   rgba(37,211,102,0.55), 0 8px 28px -4px rgba(37,211,102,0.4); }
  70%  { box-shadow: 0 0 0 14px rgba(37,211,102,0),   0 8px 28px -4px rgba(37,211,102,0.4); }
  100% { box-shadow: 0 0 0 0   rgba(37,211,102,0),    0 8px 28px -4px rgba(37,211,102,0.4); }
}

.whatsapp-float {
  position: fixed; bottom: 28px; right: 28px;
  z-index: var(--z-float);
  display: flex; align-items: center; gap: 0;
  height: 56px;
  padding-left: 0; padding-right: 0;
  width: 56px;
  border-radius: 100px;
  background: #25D366; color: white;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  overflow: hidden;
  animation: wa-pulse 2.4s ease-out 3s infinite;
  transition: width 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.2s ease,
              box-shadow 0.2s ease;
}

.whatsapp-float-icon {
  width: 56px; height: 56px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}

.whatsapp-float:hover {
  width: 210px;
  background: #1fbd5a;
  animation: none;
  box-shadow: 0 12px 36px -4px rgba(37,211,102,0.55);
}

.whatsapp-float-label {
  white-space: nowrap;
  opacity: 0;
  transform: translateX(-6px);
  transition:
    opacity   0.25s ease 0.15s,
    transform 0.3s  cubic-bezier(0.16, 1, 0.3, 1) 0.15s;
  padding-right: 18px;
}

.whatsapp-float:hover .whatsapp-float-label {
  opacity: 1;
  transform: translateX(0);
}

/* ── COOKIE BANNER ────────────────────────────────────────── */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--bg-elevated); border-top: 1px solid var(--border);
  box-shadow: var(--sh-xl); padding: var(--s-4) var(--s-6);
  z-index: var(--z-toast);
  transform: translateY(100%);
  transition: transform var(--dur-slow) var(--ease-expo-out);
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-inner {
  max-width: var(--w-xl); margin: 0 auto;
  display: flex; align-items: center; gap: var(--s-6); flex-wrap: wrap;
}
.cookie-text { flex: 1; font-size: var(--text-sm); color: var(--text-secondary); }
.cookie-text a { color: var(--text-brand); text-decoration: underline; }
.cookie-btns { display: flex; gap: var(--s-3); flex-shrink: 0; }

/* ── SCROLL PROGRESS ─────────────────────────────────────── */

/* ── RESULTADOS REAIS ─────────────────────────────────────── */
@keyframes proj-slide-up {
  from { opacity: 0; transform: translateY(100px); }
  to   { opacity: 1; transform: translateY(0); }
}

.results-section {
  background: var(--bg-subtle);
  min-height: 100vh;
  padding: var(--s-24) 0;
  opacity: 0;
}
.results-section.proj-visible {
  animation: proj-slide-up 1.2s cubic-bezier(0.16,1,0.3,1) forwards;
}
.results-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-12);
  align-items: start;
}
@media (max-width: 900px) {
  .results-layout { grid-template-columns: 1fr; gap: var(--s-10); }
}

/* Métricas */
.results-metrics-col {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
}
.result-metric-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-xl);
  padding: var(--s-5) var(--s-6);
  transition: background var(--dur-base), border-color var(--dur-base), transform var(--dur-base);
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}
.result-metric-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(99,102,241,0.3);
  transform: translateX(4px);
}
.result-metric-card.rmc-featured {
  background: rgba(99,102,241,0.14);
  border-color: rgba(99,102,241,0.35);
}
.rmc-icon {
  color: var(--accent-400);
  width: 2rem; height: 2rem;
  display: flex; align-items: center; justify-content: center;
  background: rgba(99,102,241,0.14);
  border-radius: var(--r-md);
  border: 1px solid rgba(99,102,241,0.2);
  margin-bottom: var(--s-1);
}
.rmc-value {
  font-size: var(--text-3xl);
  font-weight: var(--w-black);
  color: white;
  line-height: 1;
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}
.rmc-featured .rmc-value {
  background: linear-gradient(135deg, #818CF8, #C4B5FD);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.rmc-label {
  font-size: var(--text-sm);
  color: var(--text-inverse-muted);
  line-height: var(--leading-relaxed);
  max-width: 36ch;
}
.rmc-bar {
  height: 3px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--r-full);
  margin-top: var(--s-2);
  overflow: hidden;
}
.rmc-fill {
  height: 100%;
  width: var(--w, 0%);
  background: linear-gradient(90deg, var(--accent-500), var(--accent-400));
  border-radius: inherit;
  transition: width 1.2s var(--ease-expo-out) 0.3s;
}
.results-section .section-headline { color: white; }
.results-section .section-sub { color: var(--text-inverse-muted); }
.results-section .section-label { background: rgba(99,102,241,0.15); color: var(--accent-400); border-color: rgba(99,102,241,0.3); }

/* Cases */
.results-cases-col {
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
}
.result-case-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--r-2xl);
  padding: var(--s-7);
  transition: border-color var(--dur-base), background var(--dur-base), transform var(--dur-base);
}
.result-case-card:hover {
  border-color: rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.07);
  transform: translateY(-4px);
}
.result-case-card.rcc-dark {
  background: rgba(99,102,241,0.1);
  border-color: rgba(99,102,241,0.25);
}
.result-case-card.rcc-dark:hover {
  background: rgba(99,102,241,0.16);
  border-color: rgba(99,102,241,0.45);
  transform: translateY(-4px);
}
.rcc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--s-4);
  flex-wrap: wrap;
  gap: var(--s-2);
}
.rcc-tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: var(--r-full);
  font-size: var(--text-xs);
  font-weight: var(--w-semibold);
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.1);
}
.rcc-tag-purple {
  background: rgba(99,102,241,0.2);
  color: var(--accent-400);
  border-color: rgba(99,102,241,0.3);
}
.rcc-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--text-xs);
  font-weight: var(--w-semibold);
  color: #4ade80;
}
.rcc-title {
  font-size: var(--text-lg);
  font-weight: var(--w-bold);
  color: white;
  margin-bottom: var(--s-2);
}
.rcc-desc {
  font-size: var(--text-sm);
  color: var(--text-inverse-muted);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--s-5);
}
.rcc-stats {
  display: flex;
  gap: var(--s-6);
  padding-top: var(--s-4);
  border-top: 1px solid rgba(255,255,255,0.07);
  flex-wrap: wrap;
}
.rcc-stat { display: flex; flex-direction: column; gap: 2px; }
.rcc-stat-val {
  font-size: var(--text-xl);
  font-weight: var(--w-black);
  color: white;
  line-height: 1;
  font-family: var(--font-display);
}
.rcc-stat-lbl {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.4);
}
.rcc-stat-val-light {
  background: linear-gradient(135deg, #818CF8, #C4B5FD);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.rcc-stat-lbl-light { color: rgba(129,140,248,0.6); }
.rcc-cta-row { margin-top: var(--s-2); }

/* ── GALERIA DE PROJETOS ──────────────────────────────────── */
.portfolio-gallery {
  margin-top: 0;
  padding-top: 0;
  margin-left: calc(-1 * (100vw - 100%) / 2 + 130px);
  margin-right: calc(-1 * (100vw - 100%) / 2 + 130px);
}
.pg-header {
  text-align: center;
  margin-bottom: var(--s-12);
  padding-bottom: var(--s-10);
}
.pg-title {
  font-family: 'Satoshi', system-ui, sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: var(--s-2);
  letter-spacing: -0.03em;
  text-transform: uppercase;
  line-height: 1.08;
  display: block;
}
.pg-title::after {
  content: '';
  display: block;
  width: 56px;
  height: 2px;
  background: rgba(148,163,184,0.22);
  border-radius: 1px;
  margin: 0.65rem auto 0;
}
.pg-sub {
  font-size: var(--text-md);
  color: var(--text-secondary);
}

/* Grid bento: card grande à esquerda + 4 menores à direita */
.pg-grid {
  display: grid;
  grid-template-columns: 2fr 0.7fr;
  grid-template-rows: auto auto;
  gap: var(--s-4);
  margin-top: 3rem !important;
}
@keyframes pg-float {
  0%, 100% { transform: translateY(0px);   box-shadow: 0 16px 40px -8px rgba(94,14,215,0.12); }
  50%       { transform: translateY(-12px); box-shadow: 0 28px 56px -8px rgba(94,14,215,0.18); }
}

.pg-float-wrap {
  grid-row: span 2;
}
.pg-float-wrap:hover {
  animation-play-state: paused;
}

.pg-card--large {
  height: 100%;
}
@media (max-width: 900px) {
  .portfolio-gallery {
    margin-left: 0;
    margin-right: 0;
  }
  .pg-grid {
    grid-template-columns: 1fr 1fr;
  }
  .pg-card--large {
    grid-column: span 2;
    grid-row: span 1;
  }
}
@media (max-width: 560px) {
  .pg-grid { grid-template-columns: 1fr; }
  .pg-card--large { grid-column: span 1; }
}

.pg-card {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-elevated);
  position: relative;
  border: 1px solid var(--border);
  transition: transform 0.4s var(--ease-expo-out), border-color 0.3s ease, box-shadow 0.4s ease;
  cursor: default;
}
.pg-card:hover {
  transform: translateY(-6px);
  border-color: rgba(99,102,241,0.35);
  box-shadow: 0 20px 60px -12px rgba(99,102,241,0.15), 0 8px 24px rgba(0,0,0,0.08);
}

.pg-card-img-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
}
/* Card grande — altura natural, limitada para imagens muito altas */
.pg-card--large .pg-card-img-wrap {
  width: 100%;
  overflow: hidden;
  max-height: 680px;
}
.pg-card--large .pg-card-img {
  width: 100%;
  height: auto;
  max-height: 680px;
  object-fit: cover;
  object-position: top center;
  display: block;
}
/* Cards menores — mesmo tamanho, sem esticar pelo grid */
.pg-card:not(.pg-card--large) {
  align-self: start;
}
.pg-card:not(.pg-card--large) .pg-card-img-wrap {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.pg-card:not(.pg-card--large) .pg-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  display: block;
}
.pg-card:not(.pg-card--large) .pg-placeholder {
  height: 100%;
}

.pg-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.6s var(--ease-expo-out);
}
.pg-card:hover .pg-card-img { transform: scale(1.04); }

/* Thumbnail cards — fill area com cover */
.pg-card--thumb .pg-card-img-wrap { height: 100%; min-height: 180px; }
.pg-card--thumb .pg-card-img { object-fit: cover; object-position: top; width: 100%; height: 100%; }
.pg-card--thumb:hover { outline: 2px solid var(--accent-500); }

/* Placeholder */
.pg-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: var(--s-3);
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(0,0,0,0.015) 0px,
      rgba(0,0,0,0.015) 1px,
      transparent 1px,
      transparent 14px
    ),
    rgba(99,102,241,0.04);
  border-bottom: 1px dashed rgba(99,102,241,0.2);
}
.pg-placeholder::before {
  content: '';
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 2px dashed rgba(99,102,241,0.35);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='rgba(99,102,241,0.5)' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'/%3E%3Cpolyline points='21 15 16 10 5 21'/%3E%3C/svg%3E") center/18px no-repeat;
}
.pg-placeholder::after {
  content: attr(data-label);
  color: rgba(0,0,0,0.2);
  font-size: var(--text-xs);
  font-weight: var(--w-medium);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Overlay com tag no hover */
.pg-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: var(--s-4);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.pg-card:hover .pg-card-overlay { opacity: 1; }
.pg-card-tag {
  display: inline-flex;
  padding: 4px 12px;
  border-radius: var(--r-full);
  font-size: var(--text-xs);
  font-weight: var(--w-semibold);
  background: rgba(99,102,241,0.85);
  color: white;
  backdrop-filter: blur(8px);
}

/* Info: overlay branco que desliza do fundo no hover */
.pg-card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--s-4) var(--s-5);
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: rgba(0,0,0,0.08);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255,255,255,0.08);
  transform: translateY(100%);
  transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}
.pg-card:hover .pg-card-info {
  transform: translateY(0);
}
.pg-card-name {
  font-size: var(--text-sm);
  font-weight: var(--w-semibold);
  color: #F8FAFC;
}
.pg-card-result {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.6);
}

/* ── UTILITIES ───────────────────────────────────────────── */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.text-center { text-align: center; }
.mt-auto { margin-top: auto; }

/* ══════════════════════════════════════════════════════════
   MOBILE — max-width: 767px
   Todas as regras aqui são aditivas e não afetam desktop
══════════════════════════════════════════════════════════ */
@media (max-width: 767px) {

  /* ── GLOBAL ──────────────────────────────────────────── */
  html, body { overflow-x: hidden; }
  html { scroll-behavior: smooth; }

  /* Evita zoom automático em inputs no iOS */
  input, textarea, select { font-size: 16px !important; }

  /* ── CONTAINER ───────────────────────────────────────── */
  .container { padding: 0 1.25rem !important; }
  .services-section .container { padding: 0 1.25rem !important; }
  main section .container { padding: 0 1.25rem !important; }

  /* ── SEÇÕES ──────────────────────────────────────────── */
  .section { min-height: unset; padding: 3.5rem 0; }

  /* ── NAVBAR ──────────────────────────────────────────── */
  #site-header .container { padding: 0 1.25rem; }
  .nav-inner { padding: 0.875rem 0; }
  .nav-hamburger { display: flex; min-width: 44px; min-height: 44px; }
  .nav-links, .nav-actions .btn { display: none; }
  .nav-logo-img { height: 36px; }

  /* Mobile menu — full screen */
  .nav-mobile {
    top: 0;
    padding-top: 5rem;
    gap: 0.5rem;
  }
  .nav-mobile .nav-link {
    font-size: 1.5rem;
    padding: 0.75rem 2rem;
    min-height: 44px;
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: center;
  }
  .nav-mobile .btn {
    margin-top: 1.5rem;
    min-height: 48px;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    width: 80%;
  }

  /* ── HERO ────────────────────────────────────────────── */
  .hero-v2 { min-height: 100svh; }
  .hv2-wrap { flex-direction: column; padding: 0; }
  .hv2-left {
    padding: 6rem 1.25rem 2.5rem !important;
    max-width: 100% !important;
    width: 100%;
  }
  .hv2-logo-img { height: 48px; margin-bottom: 1rem; }
  .hv2-eyebrow { font-size: 0.7rem; }
  .hv2-heading { white-space: normal !important; font-size: clamp(2rem, 8vw, 3rem) !important; }
  .hv2-sub { font-size: 1rem !important; max-width: 100%; }
  .hv2-sub br { display: none; }
  .hv2-divider { margin: 1rem 0; }
  .hv2-ctas {
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
  }
  .hv2-btn-specialist,
  .hv2-btn-primary,
  .hv2-btn-secondary {
    width: 100%;
    min-height: 48px;
    justify-content: center;
    text-align: center;
  }
  .hv2-bg { object-position: center right; }

  /* ── SOBRE ───────────────────────────────────────────── */
  /* Desativa efeito sticky/scroll — vira seção normal */
  .about-section {
    height: auto !important;
    padding: 3.5rem 0 !important;
    margin-top: 0 !important;
  }
  .about-sticky {
    position: relative !important;
    height: auto !important;
    overflow: visible !important;
  }
  /* Grid 1 coluna no mobile */
  .about-grid {
    grid-template-columns: 1fr !important;
    margin-top: 2rem !important;
    padding-left: 0 !important;
  }
  .about-right { display: none !important; }
  .about-left { align-items: center !important; text-align: center !important; }
  /* Headline */
  .about-headline {
    font-size: clamp(1.75rem, 7vw, 2.4rem) !important;
    line-height: 1.2 !important;
  }
  .about-headline br { display: none; }
  /* Subtítulo */
  .about-sub {
    font-size: 1rem !important;
    max-width: 100%;
    line-height: 1.7;
    text-align: center !important;
  }
  /* Métricas — 3 colunas compactas */
  .about-metrics {
    flex-direction: row !important;
    flex-wrap: nowrap;
    justify-content: center !important;
    gap: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-top: 1.25rem;
  }
  .about-metric {
    flex: 1;
    min-width: 0;
    padding: 0 0.875rem !important;
    gap: 2px;
  }
  .about-metric:first-child { padding-left: 0 !important; }
  .about-metric__value { font-size: clamp(1.5rem, 5.5vw, 2rem) !important; }
  .about-metric__label { font-size: 0.7rem !important; line-height: 1.4; }

  /* ── SERVIÇOS ────────────────────────────────────────── */
  .services-section .container { padding: 0 1.25rem !important; }
  .services-grid { grid-template-columns: 1fr !important; gap: 1.25rem; }
  .service-card { padding: 1.75rem !important; }
  .service-card.featured { transform: none !important; }
  .service-cta { min-height: 44px; display: inline-flex; align-items: center; }
  .service-card.featured .service-cta { margin-top: 1.25rem; }

  /* ── RESULTADOS / PORTFOLIO ──────────────────────────── */
  .pg-grid { grid-template-columns: 1fr !important; gap: 1rem; }
  .pg-card--large { grid-column: auto !important; grid-row: auto !important; }
  .pg-card--thumb { grid-column: auto !important; }
  /* No mobile: mostra info sempre (sem depender de hover) */
  .pg-card-info { transform: translateY(0) !important; }

  /* ── COMO TRABALHAMOS ────────────────────────────────── */
  .process-section { padding: 3.5rem 0 !important; }
  .process-steps {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 1.5rem !important;
    margin-top: 2rem !important;
  }
  .proc-track { display: none !important; }
  .process-step {
    display: grid !important;
    grid-template-columns: 48px 1fr !important;
    grid-template-rows: auto auto !important;
    column-gap: 1rem !important;
    row-gap: 0.15rem !important;
    align-items: start !important;
    text-align: left !important;
    padding: 0 !important;
    width: 100% !important;
  }
  .process-step-dot {
    grid-column: 1 !important;
    grid-row: 1 / 3 !important;
    width: 48px !important;
    height: 48px !important;
    margin-bottom: 0 !important;
    align-self: start !important;
  }
  .process-step-title {
    grid-column: 2 !important;
    grid-row: 1 !important;
    font-size: 1rem !important;
    margin-bottom: 0 !important;
    align-self: end !important;
  }
  .process-step-desc {
    grid-column: 2 !important;
    grid-row: 2 !important;
    max-width: none !important;
    margin: 0 !important;
    font-size: 0.875rem !important;
    align-self: start !important;
  }

  /* ── CONTATO ─────────────────────────────────────────── */
  .contact-section .container { padding: 0 1.25rem !important; }
  .ct-layout { grid-template-columns: 1fr !important; gap: 2rem; }
  .ct-info { padding-left: 0 !important; padding-top: 0 !important; }
  .ct-card { padding: 2rem 1.25rem !important; }
  .ct-card-title { font-size: 1.4rem !important; white-space: normal !important; }
  .ct-input { min-height: 48px; }
  .ct-textarea { min-height: 140px; }
  .ct-send-btn { width: 100%; min-height: 52px; }

  /* ── FOOTER ──────────────────────────────────────────── */
  .ft-inner {
    flex-direction: column !important;
    padding: 2.5rem 1.25rem 2rem !important;
    gap: 2rem !important;
  }
  .ft-brand {
    padding-left: 0 !important;
    margin-left: 0 !important;
    max-width: 100% !important;
  }
  .ft-cols {
    flex-direction: column !important;
    gap: 1.5rem !important;
    width: 100%;
  }
  .ft-col { width: 100%; }
  .ft-bottom {
    flex-direction: column !important;
    padding: 1rem 1.25rem !important;
    gap: 0.5rem !important;
    text-align: center !important;
  }
  .ft-social { min-width: 44px; min-height: 44px; }

  /* ── SECÇÃO SPACER / BRIDGE ──────────────────────────── */
  .section-spacer { display: none; }
  .bridge-wrap { display: none; }
  .bridge-rp { display: none; }

  /* ── SECTION HEADERS ─────────────────────────────────── */
  .section-headline { font-size: clamp(1.6rem, 7vw, 2.4rem) !important; }
  .section-eyebrow { font-size: 0.7rem; }
  .section-sub { font-size: 1rem; max-width: 100%; }

  /* ── TYPO ────────────────────────────────────────────── */
  p { font-size: 1rem; line-height: 1.7; }
  h1 { font-size: clamp(1.8rem, 7vw, 2.8rem); line-height: 1.2; }
  h2 { font-size: clamp(1.5rem, 6vw, 2.2rem); line-height: 1.2; }
  h3 { font-size: clamp(1.2rem, 5vw, 1.8rem); line-height: 1.25; }

  /* ── BOTÕES ──────────────────────────────────────────── */
  .btn { min-height: 48px; padding: 0.875rem 1.5rem; }
  .hv2-ctas .btn { width: 100%; }

  /* ── FAQ ─────────────────────────────────────────────── */
  .faq-list { gap: 0.5rem; }

  /* ── TESTIMONIALS ────────────────────────────────────── */
  .ts-track { gap: 1rem; }
  .ts-card { min-width: 85vw; max-width: 85vw; padding: 1.5rem; }

  /* ── SAFE AREA (notch iOS) ───────────────────────────── */
  #site-header { padding-top: env(safe-area-inset-top); }
  .nav-mobile { padding-bottom: env(safe-area-inset-bottom); }
}

/* Telas muito pequenas (320px) */
@media (max-width: 359px) {
  .hv2-heading { font-size: 1.75rem !important; }
  .about-metrics { grid-template-columns: 1fr 1fr; }
  .ft-logo { font-size: 1rem; }
}
