/* ============================================================
   AK4 LABS — Stylesheet Principal v4.1
   ============================================================ */

:root {
  --blue: #0f293a;
  --blue-mid: #1a3d55;
  --accent: #4a9fd4;
  --white: #ffffff;
  --dark: #000000;
  --border: rgba(255,255,255,0.08);
  --glass-bg: rgba(255,255,255,0.04);
  --glass-border: rgba(255,255,255,0.09);
  --font: 'Poppins', sans-serif;
  --silver-grad: linear-gradient(90deg, #888 0%, #bbb 20%, #ffffff 50%, #bbb 80%, #888 100%);
  --silver-grad-diag: linear-gradient(135deg, #999 0%, #cccccc 30%, #ffffff 50%, #cccccc 70%, #999 100%);

  /* Light mode vars */
  --bg: #000000;
  --text-primary: #ffffff;
  --text-secondary: #c8cdd4;
  --nav-bg: rgba(0,0,0,0.92);
  --card-bg: rgba(255,255,255,0.04);
  --card-border: rgba(255,255,255,0.09);
  --divider-color: rgba(255,255,255,0.08);
  --footer-color: rgba(255,255,255,0.55);
}

/* ─── LIGHT MODE ─── */
body.light-mode {
  --bg: #f0f2f5;
  --text-primary: #0a1628;
  --text-secondary: #3d4f6a;
  --nav-bg: rgba(240,242,245,0.96);
  --card-bg: rgba(255,255,255,0.72);
  --card-border: rgba(0,0,0,0.1);
  --divider-color: rgba(0,0,0,0.1);
  --border: rgba(0,0,0,0.1);
  --footer-color: rgba(10,22,40,0.6);
  background: var(--bg);
}
body.light-mode p,
body.light-mode li,
body.light-mode label,
body.light-mode small,
body.light-mode blockquote { color: var(--text-secondary); }
body.light-mode h1,
body.light-mode h2,
body.light-mode h3,
body.light-mode h4 { color: var(--text-primary); }
body.light-mode .hero h1,
body.light-mode .hero h1 em { color: var(--text-primary); }
body.light-mode nav { background: var(--nav-bg); border-bottom-color: var(--card-border); }
body.light-mode .nav-links a { color: var(--text-primary); }
body.light-mode .nav-hamburger span { background: var(--text-primary); }
body.light-mode .divider { background: var(--divider-color); }
body.light-mode .section-header p,
body.light-mode .tagline-section p,
body.light-mode .diff-card p,
body.light-mode .service-card p,
body.light-mode .process-step p,
body.light-mode .testimonial-quote,
body.light-mode .number-cell-sub,
body.light-mode .footer-tagline { color: var(--text-secondary); }
body.light-mode .service-card,
body.light-mode .process-step,
body.light-mode .number-cell,
body.light-mode .testimonial-card,
body.light-mode .final-cta-glass { background: var(--card-bg); border-color: var(--card-border); backdrop-filter: blur(14px); }
body.light-mode .service-card h3,
body.light-mode .process-step h3,
body.light-mode .diff-card h3,
body.light-mode .testimonial-name { color: var(--text-primary); }
body.light-mode .service-card-arrow { color: rgba(10,22,40,0.45); }
body.light-mode .btn-ghost { color: var(--text-primary); }
body.light-mode .hero-sub {
  background: radial-gradient(ellipse 80% 120% at 50% 50%, #0a1628 0%, #0a1628 35%, #3d4f6a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
body.light-mode .hero-meta { color: rgba(10,22,40,0.45); }
body.light-mode .number-cell-value { color: var(--text-primary); }
body.light-mode .ticker-num { color: var(--text-primary); }
body.light-mode .ticker-label { color: rgba(10,22,40,0.5); }
body.light-mode .stats-ticker-wrap { border-color: var(--divider-color); }
body.light-mode .why-logos-wrap { border-top-color: var(--divider-color); }
body.light-mode .why-logo-item { color: rgba(10,22,40,0.35); }
body.light-mode .footer-links a { color: var(--footer-color); }
body.light-mode .footer-copy { color: rgba(10,22,40,0.3); }
body.light-mode .footer-disclaimer { color: rgba(10,22,40,0.25); border-top-color: var(--divider-color); }
body.light-mode footer { border-top-color: var(--divider-color); }
body.light-mode .wave-bg svg { opacity: 0.06; }
body.light-mode .cards-bg-card { background: rgba(0,0,0,0.04); border-color: rgba(0,0,0,0.08); }
body.light-mode .diff-card { background: rgba(15,41,58,0.55); border-color: rgba(74,159,212,0.18); }
body.light-mode .diff-card h3 { color: #ffffff; }
body.light-mode .diff-card p { color: rgba(200,220,235,0.88); }
body.light-mode .case-card { background: rgba(15,41,58,0.65); }
body.light-mode .process-step { background: rgba(0,0,0,0.07); border-color: rgba(0,0,0,0.12); }
body.light-mode .why-left p { color: var(--text-secondary); }
body.light-mode .section-header h2,
body.light-mode .why-left h2,
body.light-mode .tagline-section h2 { color: var(--text-primary); }
body.light-mode .testimonial-quote strong { color: var(--text-primary); }
body.light-mode .eye-btn { color: rgba(10,22,40,0.4); }
body.light-mode .eye-btn:hover { color: var(--text-primary); }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg, #000000);
  color: var(--text-primary, #ffffff);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background 0.4s ease, color 0.4s ease;
}
p, li, label, small, blockquote { color: #c8cdd4; }
em { font-style: italic; font-weight: 400; font-family: var(--font); color: #ffffff; }

/* ─── BACKGROUND WAVE ─── */
.wave-bg { position: fixed; inset: 0; pointer-events: none; z-index: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.wave-svg { position: absolute; width: 140%; left: -20%; opacity: 0.045; animation: waveDrift 18s ease-in-out infinite; }
.wave-svg2 { position: absolute; width: 130%; left: -15%; opacity: 0.025; animation: waveDrift 26s ease-in-out infinite reverse; margin-top: 60px; }
@keyframes waveDrift { 0% { transform: translateX(0) scaleY(1); } 33% { transform: translateX(-4%) scaleY(1.06); } 66% { transform: translateX(4%) scaleY(0.95); } 100% { transform: translateX(0) scaleY(1); } }

.corner-grad { position: fixed; pointer-events: none; z-index: 0; }
.corner-grad-tl { top: 0; left: 0; width: 500px; height: 500px; background: radial-gradient(ellipse at top left, rgba(26,61,85,0.22) 0%, transparent 65%); }
.corner-grad-br { bottom: 0; right: 0; width: 600px; height: 600px; background: radial-gradient(ellipse at bottom right, rgba(15,41,58,0.24) 0%, transparent 65%); }
.corner-grad-tr { top: 35%; right: 0; width: 400px; height: 400px; background: radial-gradient(ellipse at right, rgba(74,159,212,0.07) 0%, transparent 65%); }
#ambient-canvas { position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: 0.3; }

/* ─── NAVBAR ─── */
nav {
  position: sticky; top: 0; z-index: 999;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  padding: 0 48px;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
/* smooth scroller activo → nav fica fixed acima do wrap */
body.has-smooth-scroll nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9999;
}
.nav-logo-img { height: 34px; width: auto; display: block; object-fit: contain; flex-shrink: 0; }

/* nav-right: links + lang, aligned right */
.nav-right {
  display: flex; align-items: center; gap: 12px; margin-left: auto;
}

/* nav-links-inline: always visible on desktop */
.nav-links-inline {
  display: flex; align-items: center; gap: 28px;
  list-style: none; margin: 0; padding: 0;
}
.nav-links-inline a {
  font-size: 13px; font-weight: 500; letter-spacing: 0.04em;
  color: rgba(255,255,255,0.8); text-decoration: none; transition: color 0.3s;
  white-space: nowrap;
}
.nav-links-inline a:hover { color: #ffffff; }
.nav-links-inline .nav-cta {
  background: var(--blue) !important; color: #ffffff !important;
  padding: 9px 20px; border-radius: 2px; font-size: 12.5px !important;
  font-weight: 600 !important; letter-spacing: 0.05em !important;
  transition: background 0.3s, box-shadow 0.3s !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
}
.nav-links-inline .nav-cta:hover { background: var(--blue-mid) !important; }

/* Language toggle */
.lang-toggle {
  display: flex; align-items: center;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 2px; overflow: hidden; height: 32px; flex-shrink: 0;
}
.lang-btn {
  padding: 0 11px; height: 100%;
  background: none; border: none; cursor: pointer;
  font-family: var(--font); font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.4); transition: background 0.25s, color 0.25s;
}
.lang-btn.active { background: var(--blue); color: #ffffff; }
.lang-btn:hover:not(.active) { color: #ffffff; }

/* Mobile hamburger — hidden on desktop, shown on mobile via media query */
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px 4px; flex-shrink: 0; }
.nav-hamburger span { display: block; width: 22px; height: 1.5px; background: #ffffff; }

/* Mobile dropdown nav-links */
.nav-links {
  display: none;
  position: fixed; top: 64px; left: 0; right: 0;
  flex-direction: column;
  background: rgba(0,0,0,0.97); backdrop-filter: blur(20px);
  padding: 28px; gap: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  z-index: 9998; list-style: none; align-items: flex-start;
}
.nav-links.open { display: flex; }
.nav-links a { font-size: 15px; font-weight: 500; color: #ffffff; text-decoration: none; }
.nav-links .nav-cta { background: var(--blue) !important; color: #ffffff !important; padding: 10px 22px; border-radius: 2px; }

/* ─── EYEBROW GLOBAL — gradiente prata ─── */
.eyebrow,
.hero-eyebrow,
.service-card-eyebrow,
.stats-cta-eyebrow,
.final-cta-eyebrow {
  background: var(--silver-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.24em; text-transform: uppercase;
}
.eyebrow { display: block; text-align: center; margin-bottom: 16px; }

/* ─── HERO ─── */
.hero { position: relative; z-index: 1; min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; align-items: center; padding: 0 60px; gap: 60px; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 70% at 20% 50%, rgba(15,41,58,0.16) 0%, transparent 70%); pointer-events: none; }
.hero-content { position: relative; z-index: 2; }
.hero-eyebrow { margin-bottom: 24px; opacity: 0; animation: fadeSlideUp 0.9s ease forwards 0.3s; }

/* H1 */
.hero h1 { font-size: clamp(32px, 4vw, 60px); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; color: #ffffff; margin-bottom: 22px; opacity: 0; animation: fadeSlideUp 0.9s ease forwards 0.5s; }
.hero h1 em { font-weight: 400; font-style: italic; color: #ffffff; }

/* hero-sub — gradiente radial branco centro / cinza bordas */
.hero-sub {
  font-size: 15px; line-height: 1.75; margin-bottom: 36px; max-width: 460px; font-weight: 300;
  opacity: 0; animation: fadeSlideUp 0.9s ease forwards 0.7s;
  background: radial-gradient(ellipse 80% 120% at 50% 50%, #ffffff 0%, #ffffff 35%, #aaaaaa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-btns { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; opacity: 0; animation: fadeSlideUp 0.9s ease forwards 0.9s; }
.hero-meta { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.45); margin-top: 18px; opacity: 0; animation: fadeSlideUp 0.9s ease forwards 1.1s; }

/* ─── BOTÕES ─── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--blue); color: #ffffff;
  padding: 15px 30px; font-size: 14px; font-weight: 600; letter-spacing: 0.05em;
  text-decoration: none; border-radius: 2px;
  transition: background 0.3s, box-shadow 0.4s, transform 0.2s;
  border: 1px solid rgba(255,255,255,0.1); white-space: nowrap;
  position: relative; overflow: hidden;
}
.btn-primary:hover { background: var(--blue-mid); box-shadow: 0 0 40px rgba(15,41,58,0.6); transform: translateY(-1px); color: #ffffff; }
.btn-primary svg { width: 16px; height: 16px; flex-shrink: 0; position: relative; z-index: 1; }
.btn-primary::after {
  content: ''; position: absolute; top: 0; left: -160%;
  width: 80%; height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.22) 40%, rgba(200,200,200,0.12) 60%, transparent 100%);
  transform: skewX(-15deg);
  animation: btnWave 2.6s ease-in-out infinite; z-index: 0;
}
@keyframes btnWave { 0% { left: -160%; } 100% { left: 170%; } }

.btn-ghost { display: inline-flex; align-items: center; gap: 8px; color: #ffffff; font-size: 13px; font-weight: 500; letter-spacing: 0.04em; text-decoration: none; padding: 15px 0; transition: color 0.3s; white-space: nowrap; }
.btn-ghost:hover { color: var(--accent); }

.btn-primary-glow {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(74,159,212,0.14); color: #ffffff;
  padding: 16px 32px; font-size: 14px; font-weight: 600; letter-spacing: 0.05em;
  text-decoration: none; border-radius: 2px;
  transition: background 0.3s, box-shadow 0.4s, transform 0.2s;
  border: 1px solid rgba(74,159,212,0.35); white-space: nowrap;
  position: relative; overflow: hidden;
}
.btn-primary-glow::after {
  content: ''; position: absolute; top: 0; left: -160%;
  width: 80%; height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.18) 40%, rgba(200,200,200,0.10) 60%, transparent 100%);
  transform: skewX(-15deg);
  animation: btnWave 3s ease-in-out infinite;
}
.btn-primary-glow:hover { background: rgba(74,159,212,0.26); box-shadow: 0 0 32px rgba(74,159,212,0.22); transform: translateY(-1px); color: #ffffff; }
.btn-primary-glow svg { width: 16px; height: 16px; flex-shrink: 0; position: relative; z-index: 1; }

/* ─── HERO IMAGE — smaller cleaner cells ─── */
.hero-image { height: 380px; opacity: 0; animation: fadeIn 1.2s ease forwards 0.6s; }
.hero-image-inner { width: 100%; height: 100%; border-radius: 2px; overflow: hidden; }
.hero-img-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  height: 100%;
  gap: 2px;
}
.hero-img-cell {
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  background: var(--glass-bg);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  padding: 28px 26px;
  min-width: 0; overflow: hidden;
}
.hero-img-cell:nth-child(1) { background: linear-gradient(135deg, rgba(13,34,51,0.7) 0%, rgba(26,61,85,0.7) 100%); }
.hero-img-cell:nth-child(2) { background: rgba(255,255,255,0.04); }
.hero-img-cell:nth-child(3) { background: rgba(255,255,255,0.03); }
.hero-img-cell:nth-child(4) { background: linear-gradient(135deg, rgba(15,41,58,0.7) 0%, rgba(13,32,48,0.7) 100%); }

/* ─── LAYOUT ─── */
section { position: relative; z-index: 1; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 60px; }
.section-pad { padding: 96px 0; }
.divider { width: 100%; height: 1px; background: var(--border); transition: background 0.4s; }

/* ─── SECTION HEADER ─── */
.section-header { text-align: center; margin-bottom: 52px; }
.section-header.left { text-align: left; }
.section-header.left .eyebrow { text-align: left; }
.section-header.left p { margin: 0; text-align: left; }
.section-header p { font-size: 14px; color: #c8cdd4; line-height: 1.78; font-weight: 300; max-width: 520px; margin: 0 auto; }

/* ─── H2 — TODOS BRANCO PURO, mesmo tamanho ─── */
h2,
.section-header h2,
.why-left h2,
.tagline-section h2,
.stats-cta-strip h2,
.final-cta h2 {
  font-size: clamp(20px, 2.4vw, 34px) !important;
  font-weight: 700 !important;
  line-height: 1.18 !important;
  /* Branco puro — sem gradiente */
  color: #ffffff !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  -webkit-text-fill-color: #ffffff !important;
  background-clip: unset !important;
  margin-bottom: 14px;
}
/* Itálicos dentro de H2 */
h2 em,
.section-header h2 em,
.why-left h2 em,
.stats-cta-strip h2 em,
.final-cta h2 em {
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-weight: 300; font-style: italic;
}
/* tagline h2 em — permite em-blue sobrepor */
.tagline-section h2 em {
  font-weight: 300; font-style: italic;
  color: inherit;
  -webkit-text-fill-color: inherit;
}
.stats-cta-strip h2 em { -webkit-text-fill-color: var(--accent) !important; color: var(--accent) !important; }

/* ─── EM-BLUE — sempre vence, mesmo dentro de h2 ─── */
h2 em.em-blue,
.em-blue {
  background: linear-gradient(90deg, #4a9fd4 0%, #7ec8e3 40%, #4a9fd4 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  font-style: italic;
  font-weight: 400;
}

/* Light mode H2 */
body.light-mode h2,
body.light-mode .section-header h2,
body.light-mode .why-left h2,
body.light-mode .tagline-section h2 {
  color: var(--text-primary) !important;
  -webkit-text-fill-color: var(--text-primary) !important;
}

/* ─── GLASS CARD BASE ─── */
.glass-card { background: var(--glass-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--glass-border); transition: background 0.4s, border-color 0.4s; }
.glass-card:hover { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.14); }

/* ─── CARD MAIOR POR TRÁS ─── */
.cards-outer-wrap { position: relative; }
.cards-bg-card {
  position: absolute; inset: -16px;
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.065);
  border-radius: 4px; z-index: 0; pointer-events: none;
}
.cards-outer-wrap > *:not(.cards-bg-card) { position: relative; z-index: 1; }

/* ─── WHY ─── */
.why-inner { display: flex; flex-direction: column; align-items: flex-start; }
.why-left { text-align: left; width: 100%; }
.why-left p { font-size: 15px; line-height: 1.82; color: #c8cdd4; font-weight: 300; }
.divider-blue-left { width: 44px; height: 2px; background: var(--accent); }
.why-logos-wrap { overflow: hidden; padding-top: 28px; border-top: 1px solid var(--border); }
.why-logos-track { display: flex; gap: 40px; align-items: center; width: max-content; animation: logosScroll 22s linear infinite; }
.why-logos-wrap:hover .why-logos-track { animation-play-state: paused; }
@keyframes logosScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.why-logo-item { font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.28); transition: color 0.3s; flex-shrink: 0; padding: 6px 4px; }
.why-logo-item:hover { color: rgba(255,255,255,0.6); }
.why-logo-sep { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,0.12); flex-shrink: 0; }

/* ─── TAGLINE ─── */
.tagline-section { text-align: center; padding: 110px 0; }
.tagline-section p { font-size: 15px; color: #c8cdd4; max-width: 500px; margin: 0 auto; line-height: 1.75; font-weight: 300; }

/* ─── SERVIÇOS — dark blue like CTA strip, shimmer, card05 centered ─── */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; }
.service-card {
  padding: 32px 28px; position: relative; overflow: hidden; cursor: default;
  transition: background 0.4s, border-color 0.4s; text-align: center;
}
/* Dark blue style matching CTA strip */
.service-card-dark {
  background: linear-gradient(135deg, #0d2030 0%, #1a3d55 70%, #0f293a 100%);
  border: 1px solid rgba(74,159,212,0.18);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.service-card-dark:hover { background: linear-gradient(135deg, #112637 0%, #1e4862 70%, #122e42 100%); border-color: rgba(74,159,212,0.32); }
/* Silver shimmer left→right on hover */
.service-card-dark::after {
  content: '';
  position: absolute; top: 0; left: -160%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.12) 40%, rgba(200,200,200,0.07) 60%, transparent 100%);
  transform: skewX(-15deg);
  opacity: 0;
  transition: opacity 0.3s;
}
.service-card-dark:hover::after { opacity: 1; animation: btnWave 1.4s ease forwards; }
/* top accent line */
.service-card-dark::before { content: ''; position: absolute; top: 0; left: 0; width: 0; height: 2px; background: linear-gradient(90deg, rgba(255,255,255,0.4), var(--accent)); transition: width 0.5s ease; }
.service-card-dark:hover::before { width: 100%; }
/* Card 05 — centrado (grid 2 colunas, último item centrado) */
.service-card-center {
  grid-column: 1 / 3;       /* ocupa as 2 colunas */
  width: 50%;               /* mas só metade da largura */
  margin: 0 auto;           /* centrado */
}

.service-card-eyebrow { margin-bottom: 12px; }
.service-card h3 { font-size: 17px; font-weight: 700; color: #ffffff; margin-bottom: 10px; line-height: 1.2; }
.service-card p { font-size: 13px; color: rgba(200,220,235,0.9); line-height: 1.74; font-weight: 300; margin-bottom: 0; }
.service-card-num { position: absolute; bottom: 18px; right: 20px; font-size: 52px; font-weight: 800; color: rgba(255,255,255,0.04); line-height: 1; user-select: none; transition: color 0.4s; }
.service-card-dark:hover .service-card-num { color: rgba(255,255,255,0.08); }

/* ─── CASES — azul/transparência/blur ─── */
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.case-card {
  background: rgba(15,41,58,0.55);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(74,159,212,0.18);
  padding: 28px 24px; position: relative; overflow: hidden;
  transition: background 0.4s, border-color 0.4s; text-align: left;
}
.case-card:hover { background: rgba(26,61,85,0.65); border-color: rgba(74,159,212,0.32); }
.case-card::before { content: ''; position: absolute; top: 0; left: 0; width: 0; height: 2px; background: var(--accent); transition: width 0.5s ease; }
.case-card:hover::before { width: 100%; }
.case-card h3 { font-size: 17px; font-weight: 700; color: #ffffff; margin-bottom: 8px; line-height: 1.2; }
.case-card p { font-size: 13px; color: #c8cdd4; line-height: 1.72; font-weight: 300; }

/* ─── STATS TICKER ─── */
.stats-ticker-wrap { overflow: hidden; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 20px 0; margin-bottom: 60px; }
.stats-ticker { display: flex; gap: 80px; animation: tickerSlide 14s linear infinite; white-space: nowrap; }
.ticker-item { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.ticker-dot { width: 5px; height: 5px; background: var(--accent); border-radius: 50%; flex-shrink: 0; }
.ticker-num { font-size: 18px; font-weight: 700; color: #ffffff; letter-spacing: 0.02em; }
.ticker-label { font-size: 11px; color: rgba(255,255,255,0.5); letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500; }
@keyframes tickerSlide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ─── NUMBERS GRID ─── */
.numbers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-bottom: 2px; }
.number-cell { background: var(--glass-bg); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--glass-border); padding: 36px 30px; position: relative; overflow: hidden; transition: background 0.3s, border-color 0.3s; text-align: left; }
.number-cell:hover { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.13); }
.number-cell-label { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 12px; font-weight: 600; }
.number-cell-value { font-size: clamp(28px, 3.2vw, 44px); font-weight: 700; color: #ffffff; line-height: 1; margin-bottom: 10px; display: flex; align-items: center; gap: 12px; justify-content: flex-start; }
.number-cell-sub { font-size: 13px; color: #c8cdd4; line-height: 1.65; font-weight: 300; }
.number-cell-tag { display: block; font-size: 11px; color: var(--accent); letter-spacing: 0.06em; margin-top: 10px; font-weight: 600; }
.blur-value { display: inline; transition: filter 0.45s ease; filter: blur(10px); user-select: none; }
.blur-value.revealed { filter: blur(0); }
.eye-btn { display: inline-flex; align-items: center; justify-content: center; background: none; border: none; cursor: pointer; padding: 4px; color: rgba(255,255,255,0.35); transition: color 0.3s; flex-shrink: 0; }
.eye-btn:hover { color: #ffffff; }
.eye-btn svg { width: 20px; height: 20px; }

/* ─── STATS CTA STRIP ─── */
.stats-cta-strip { background: linear-gradient(135deg, #0d2030 0%, #1a3d55 60%, #0f293a 100%); padding: 60px 52px; display: flex; align-items: center; justify-content: space-between; gap: 40px; position: relative; overflow: hidden; border: 1px solid rgba(74,159,212,0.18); }
.stats-cta-strip::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 50% 120% at 80% 50%, rgba(74,159,212,0.10) 0%, transparent 65%); pointer-events: none; }
.stats-cta-strip::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(74,159,212,0.45), transparent); }
.stats-cta-content { position: relative; z-index: 1; }
.stats-cta-eyebrow { margin-bottom: 12px; }
.stats-cta-right { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; flex-shrink: 0; }

/* ─── EM BLUE — cor dos cards de serviços (azul escuro) ─── */
.em-blue {
  font-style: italic;
  font-weight: 400;
  /* gradiente que simula a cor do card de serviços */
  background: linear-gradient(90deg, #4a9fd4 0%, #7ec8e3 40%, #4a9fd4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── PROCESSO — mesma cor da secção Resultados (glass escuro) ─── */
.process-wrapper { position: relative; margin-top: 52px; }
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; position: relative; z-index: 1; }
.process-step {
  background: var(--glass-bg);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--glass-border);
  padding: 32px 26px; position: relative;
  transition: background 0.3s, border-color 0.3s; text-align: center;
}
.process-step:hover { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.13); }
.process-step-num {
  font-size: 40px; font-weight: 800; line-height: 1; margin-bottom: 14px;
  background: var(--silver-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.45;
  display: block;
}
.process-step:hover .process-step-num { opacity: 0.7; }
.process-step h3 { font-size: 15px; font-weight: 700; color: #ffffff; margin-bottom: 10px; line-height: 1.25; }
.process-step p { font-size: 13px; color: #c8cdd4; line-height: 1.78; font-weight: 300; }
.process-step-line { position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--accent); transition: width 0.5s ease; }
.process-step:hover .process-step-line { width: 100%; }

.process-connector { display: none; position: absolute; top: 44px; left: 0; right: 0; height: 2px; z-index: 0; pointer-events: none; }
.process-connector-inner { position: absolute; top: 0; left: 12.5%; right: 12.5%; height: 100%; background: linear-gradient(90deg, rgba(74,159,212,0.15) 0%, rgba(74,159,212,0.4) 50%, rgba(74,159,212,0.15) 100%); border-top: 1px dashed rgba(74,159,212,0.35); }
@media (min-width: 1025px) { .process-connector { display: block; } }
.process-dot { position: absolute; top: 50%; transform: translateY(-50%); width: 10px; height: 10px; border-radius: 50%; background: #4a9fd4; box-shadow: 0 0 8px rgba(74,159,212,0.9); animation: dotPulse 2s ease-in-out infinite; z-index: 3; }
.process-dot-1 { left: 12.5%; animation-delay: 0s; }
.process-dot-2 { left: 37.5%; animation-delay: 0.4s; }
.process-dot-3 { left: 62.5%; animation-delay: 0.8s; }
.process-dot-4 { left: 87.5%; animation-delay: 1.2s; }
@keyframes dotPulse { 0%,100% { opacity:0.6; transform: translateY(-50%) scale(0.9); } 50% { opacity:1; transform: translateY(-50%) scale(1.15); } }

/* ─── DIFERENCIAIS — mesma cor dos Cases (azul/transparência/blur) ─── */
.diff-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.diff-card {
  background: rgba(15,41,58,0.55);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(74,159,212,0.18);
  padding: 36px 32px; position: relative; overflow: hidden;
  transition: background 0.4s, border-color 0.4s; text-align: center;
}
.diff-card:hover { background: rgba(26,61,85,0.65); border-color: rgba(74,159,212,0.32); }
/* Ícone — fundo mais claro para contrastar sobre o azul */
.diff-card-icon {
  width: 42px; height: 42px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 6px; margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s, box-shadow 0.4s;
}
.diff-card:hover .diff-card-icon { background: rgba(74,159,212,0.25); border-color: rgba(74,159,212,0.4); box-shadow: 0 0 18px rgba(74,159,212,0.45); }
.diff-card-icon svg { width: 20px; height: 20px; color: #ffffff; filter: drop-shadow(0 0 0px rgba(255,255,255,0)); transition: filter 0.4s; }
.diff-card:hover .diff-card-icon svg { filter: drop-shadow(0 0 5px rgba(255,255,255,0.7)); }
.diff-card h3 { font-size: 18px; font-weight: 700; color: #ffffff; margin-bottom: 10px; line-height: 1.25; }
.diff-card p { font-size: 13px; color: rgba(200,220,235,0.88); line-height: 1.8; font-weight: 300; }

/* ─── CARROSSEIS DE TESTEMUNHOS ─── */
.tcarousel-wrap {
  overflow: hidden;
  width: 100%;
  /* fade edges */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 6%, black 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, black 6%, black 94%, transparent 100%);
}
.tcarousel {
  display: flex;
  gap: 2px;
  width: max-content;
}
/* Linha 1: rola para esquerda */
.tcarousel-left  { animation: carLeft  32s linear infinite; }
/* Linha 2: rola para direita */
.tcarousel-right { animation: carRight 32s linear infinite; }

/* Pausar ao hover */
.tcarousel-wrap:hover .tcarousel { animation-play-state: paused; }

@keyframes carLeft  { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes carRight { from { transform: translateX(-50%); } to { transform: translateX(0); } }

.tcar-card {
  width: 340px;
  flex-shrink: 0;
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.13);
  padding: 28px 24px;
  transition: background 0.3s, border-color 0.3s;
}
.tcar-card:hover { background: rgba(255,255,255,0.11); border-color: rgba(255,255,255,0.2); }
.testimonial-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--blue); margin: 0 0 16px; display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 700; color: #ffffff; border: 1px solid rgba(74,159,212,0.3); }
.testimonial-quote { font-size: 13px; line-height: 1.75; color: #c8cdd4; font-weight: 300; margin-bottom: 18px; }
.testimonial-quote strong { color: #ffffff; font-weight: 700; }
.testimonial-name { font-size: 14px; font-weight: 700; color: #ffffff; margin-bottom: 3px; }
.testimonial-role { font-size: 11px; letter-spacing: 0.09em; text-transform: uppercase; color: rgba(255,255,255,0.45); font-weight: 500; }

/* ─── FINAL CTA ─── */
.final-cta { text-align: center; padding: 120px 60px; position: relative; overflow: hidden; }
.final-cta::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(15,41,58,0.2) 0%, transparent 70%); pointer-events: none; }
.final-cta-glass { display: inline-block; background: rgba(255,255,255,0.05); backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px); border: 1px solid rgba(255,255,255,0.11); border-radius: 4px; padding: 52px 60px; max-width: 700px; position: relative; z-index: 1; box-shadow: 0 8px 48px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.08); }
.final-cta-eyebrow { margin-bottom: 16px; }
.final-cta-glass p { font-size: 14px; color: #c8cdd4; max-width: 440px; margin: 0 auto 32px; line-height: 1.78; font-weight: 300; }

/* ─── FOOTER ─── */
footer { border-top: 1px solid var(--border); padding: 52px 60px; position: relative; z-index: 1; transition: border-color 0.4s; }
.footer-inner { max-width: 1160px; margin: 0 auto; display: flex; align-items: flex-start; justify-content: flex-start; flex-wrap: wrap; gap: 28px; }
.footer-left { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.footer-logo-img { height: 28px; width: auto; display: block; object-fit: contain; }
.footer-tagline { font-size: 14px; color: #c8cdd4; max-width: 400px; line-height: 1.72; font-weight: 300; }
.footer-links { display: flex; flex-direction: row; gap: 24px; list-style: none; flex-wrap: wrap; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,0.55); text-decoration: none; letter-spacing: 0.04em; transition: color 0.3s; font-weight: 500; }
.footer-links a:hover { color: #ffffff; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.25); letter-spacing: 0.04em; font-weight: 400; }
.footer-disclaimer { max-width: 1160px; margin: 28px auto 0; font-size: 11px; color: rgba(255,255,255,0.15); line-height: 1.7; padding-top: 24px; border-top: 1px solid var(--border); }

/* ─── ANIMAÇÕES ─── */
@keyframes fadeSlideUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.85s ease, transform 0.85s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }

/* ─── TABLET / MOBILE ─── */
@media (max-width: 900px) {
  nav { padding: 0 20px; }
  .nav-links-inline { display: none !important; }
  .nav-hamburger { display: flex !important; }
  .tcar-card { width: 280px; }
}
@media (max-width: 640px) {
  nav { padding: 0 16px; height: 64px; }
  .nav-logo-img { height: 28px; }
  .lang-btn { padding: 0 9px; font-size: 10px; }
  .nav-hamburger { display: flex !important; }
}
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; padding: 80px 28px; text-align: center; gap: 40px; }
  .hero-content { text-align: center; }
  .hero-sub { max-width: 100%; margin-left: auto; margin-right: auto; }
  .hero-btns { justify-content: center; }
  .hero-image { height: 260px; }
  .container { padding: 0 28px; }
  .section-pad { padding: 72px 0; }
  .tagline-section { padding: 80px 0; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .numbers-grid { grid-template-columns: 1fr; }
  .diff-grid { grid-template-columns: 1fr 1fr; }
  .cases-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .stats-cta-strip { flex-direction: column; align-items: center; text-align: center; padding: 48px 28px; }
  .stats-cta-right { align-items: center; }
  footer { padding: 40px 28px; }
  .final-cta { padding: 88px 28px; }
  .final-cta-glass { padding: 40px 28px; }
  .cards-bg-card { inset: -10px; }
}

/* ─── MOBILE ─── */
@media (max-width: 640px) {
  nav { height: 64px; padding: 0 16px; }
  .nav-logo-img { height: 28px; }
  /* Esconde textos dos botões lang no mobile, mantém funcionais */
  .lang-btn { padding: 0 7px; font-size: 10px; }
  .hero { padding: 56px 16px; min-height: auto; }
  .hero h1 { font-size: clamp(26px, 8.5vw, 42px); }
  .hero-sub { font-size: 14px; }

  /* ─── FIX 4 CARDS HERO MOBILE ─── */
  .hero-image {
    height: auto;
    width: 100%;
  }
  .hero-image-inner {
    width: 100%;
    height: auto;
  }
  .hero-img-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    height: auto;
    gap: 2px;
  }
  .hero-img-cell {
    min-height: 110px;
    padding: 16px 14px;
  }

  .hero-btns { flex-direction: column; align-items: center; width: 100%; }
  .btn-primary { width: 100%; justify-content: center; }
  .btn-ghost { justify-content: center; }
  .container { padding: 0 16px; }
  .section-pad { padding: 56px 0; }
  .tagline-section { padding: 64px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card-center { grid-column: 1 / 2; width: 100%; }
  .service-card { padding: 26px 20px; }
  .cases-grid { grid-template-columns: 1fr; }
  .case-card { padding: 24px 18px; }
  .numbers-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .process-step { padding: 26px 20px; }
  .diff-grid { grid-template-columns: 1fr; }
  .diff-card { padding: 30px 20px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonial-card { padding: 26px 18px; }
  .number-cell { padding: 30px 20px; }
  .stats-cta-strip { padding: 40px 16px; }
  .btn-primary-glow { width: 100%; justify-content: center; }
  .final-cta { padding: 68px 16px; }
  .final-cta-glass { padding: 30px 16px; }
  footer { padding: 36px 16px; }
  .footer-links { flex-direction: column; gap: 10px; }
  .cards-bg-card { inset: -6px; }
}

/* ─── HERO DASHBOARD CELLS ─── */
.cell-label { font-size: 10px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 8px; }
.cell-value { font-size: 24px; font-weight: 800; color: #ffffff; line-height: 1; letter-spacing: -0.03em; opacity: 0; animation: cellFadeUp 0.7s ease forwards; }
.hero-img-cell:nth-child(1) .cell-value { animation-delay: 0.2s; }
.hero-img-cell:nth-child(2) .cell-value { animation-delay: 0.4s; }
.hero-img-cell:nth-child(3) .cell-value { animation-delay: 0.6s; }
.hero-img-cell:nth-child(4) .cell-value { animation-delay: 0.8s; }
@keyframes cellFadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.cell-sparkline { width: 100%; max-width: 72px; height: 24px; margin-top: 8px; opacity: 0.8; }
.cell-status { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 10px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #4ade80; }
.cell-pulse { width: 6px; height: 6px; border-radius: 50%; background: #4ade80; flex-shrink: 0; box-shadow: 0 0 0 0 rgba(74,222,128,0.6); animation: pulseRing 2s ease-in-out infinite; }
@keyframes pulseRing { 0%,100% { box-shadow: 0 0 0 0 rgba(74,222,128,0.5); } 50% { box-shadow: 0 0 0 6px rgba(74,222,128,0); } }
.cell-trend { display: inline-flex; align-items: center; gap: 5px; margin-top: 8px; font-size: 11px; font-weight: 600; color: #4ade80; }
.cell-progress-wrap { margin-top: 8px; width: 100%; }
.cell-progress-bar { width: 100%; height: 4px; background: rgba(255,255,255,0.08); border-radius: 99px; overflow: hidden; }
.cell-progress-fill { height: 100%; width: 0%; background: linear-gradient(90deg, #4a9fd4 0%, #a8d8f0 100%); border-radius: 99px; animation: fillBar 1.6s 0.9s cubic-bezier(0.4,0,0.2,1) forwards; }
@keyframes fillBar { from { width: 0%; } to { width: 68%; } }

/* ─── CASES METRICS ─── */
.case-metrics { display: flex; flex-direction: column; gap: 6px; margin: 12px 0 10px; }
.case-metric { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: #4ade80; letter-spacing: 0.01em; }
.case-services { font-size: 11px; color: rgba(255,255,255,0.3); letter-spacing: 0.04em; font-weight: 500; }
