/* =========================================================
   AÇÃO — Consultoria de Dados, Tecnologia e Inteligência
   style.css
   Índice:
   1. Reset & Base
   2. CSS Variables (Design Tokens)
   3. Tipografia
   4. Utilitários (container, botões, reveal, acentos)
   5. Header
   6. Hero
   ========================================================= */

/* ---------- 1. RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}
body {
  min-height: 100vh;
  background: var(--preto);
  color: var(--off-white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }
svg { display: block; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 1000;
  background: var(--verde-acao); color: var(--preto);
  padding: 12px 20px; font-weight: 700; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 2px solid var(--verde-acao);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- 2. CSS VARIABLES ---------- */
:root {
  /* Cores de marca */
  --roxo-acao: #431B8D;
  --roxo-profundo: #30106D;
  --verde-acao: #ACD481;
  --verde-claro: #DDFAB9;
  --preto: #0A0A0A;
  --grafite: #141414;
  --off-white: #F7F7F7;
  --branco: #FFFFFF;

  /* Derivadas / uso funcional */
  --texto-muted: rgba(247, 247, 247, 0.68);
  --texto-escuro: #1a1a1a;
  --texto-escuro-muted: rgba(10, 10, 10, 0.65);
  --borda-clara: rgba(247, 247, 247, 0.12);
  --borda-escura: rgba(10, 10, 10, 0.1);
  --gradiente-marca: linear-gradient(135deg, var(--roxo-profundo) 0%, var(--roxo-acao) 100%);

  /* Tipografia */
  --font-heading: 'Plus Jakarta Sans', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Layout */
  --container-width: 1360px;
  --container-pad: clamp(24px, 6vw, 100px);
  --header-height: 84px;
  --header-height-scrolled: 68px;

  /* Espaçamento entre seções */
  --section-pad-y: clamp(80px, 12vw, 160px);

  /* Transições */
  --ease-premium: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.25s var(--ease-premium);
  --transition-medium: 0.45s var(--ease-premium);
  --transition-slow: 0.8s var(--ease-premium);

  /* Z-index scale */
  --z-header: 100;
  --z-mobile-menu: 90;
  --z-float: 80;
}

/* ---------- 3. TIPOGRAFIA ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.01em;
}
p { font-family: var(--font-body); }

/* ---------- 4. UTILITÁRIOS ---------- */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.section-light { background: var(--off-white); color: var(--texto-escuro); }
.section-dark  { background: var(--preto); color: var(--off-white); }
.section-graphite { background: var(--grafite); color: var(--off-white); }

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border-radius: 4px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-primary {
  background: var(--gradiente-marca);
  color: var(--branco);
  box-shadow: 0 4px 24px rgba(67, 27, 141, 0.35);
}
.btn-primary:hover {
  box-shadow: 0 6px 28px rgba(172, 212, 129, 0.3), 0 0 0 1px rgba(172, 212, 129, 0.4) inset;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--off-white);
  border-color: rgba(247, 247, 247, 0.35);
}
.btn-outline:hover {
  border-color: var(--verde-acao);
  color: var(--verde-acao);
  transform: translateY(-2px);
}

.btn-accent {
  background: var(--verde-acao);
  color: var(--preto);
}
.btn-accent:hover {
  background: var(--verde-claro);
  box-shadow: 0 4px 20px rgba(172, 212, 129, 0.45);
  transform: translateY(-2px);
}

.btn-sm { padding: 10px 20px; font-size: 0.85rem; }

.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;
}

/* Reveal on scroll */
.reveal-item {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}
.reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Acentos de texto */
.accent-green { color: var(--verde-acao); }

/* Cabeçalho de seção (label + título + subtítulo) — uniforme em todas as seções */
.section-head {
  max-width: 720px;
  margin-bottom: clamp(52px, 7vw, 96px);
}
.section-head--center { margin-inline: auto; text-align: center; }

.section-label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--roxo-acao);
  margin-bottom: 18px;
}
.section-dark .section-label,
.section-graphite .section-label { color: var(--verde-acao); }

.section-title {
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  margin-bottom: 20px;
  color: inherit;
}

.section-sub {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.7;
  max-width: 620px;
}
.section-head--center .section-sub { margin-inline: auto; }
.section-light .section-sub { color: var(--texto-escuro-muted); }
.section-dark .section-sub,
.section-graphite .section-sub { color: var(--texto-muted); }

/* ---------- 5. HEADER ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-header);
  height: var(--header-height);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background var(--transition-medium), height var(--transition-medium), box-shadow var(--transition-medium), border-color var(--transition-medium);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  height: var(--header-height-scrolled);
  background: rgba(10, 10, 10, 0.82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: rgba(247, 247, 247, 0.08);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.28);
}

.header-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  transition: opacity var(--transition-fast);
}
.logo:hover { opacity: 0.85; }
.logo-mark { width: auto; height: 36px; }
.logo-word {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--branco);
  letter-spacing: -0.01em;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.4vw, 40px);
}
.nav-link {
  position: relative;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: rgba(247, 247, 247, 0.82);
  padding: 8px 2px;
  transition: color var(--transition-fast);
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--verde-acao);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-medium);
}
.nav-link:hover { color: var(--branco); }
.nav-link:hover::after { transform: scaleX(1); }
.nav-link.active { color: var(--branco); }
.nav-link.active::after { transform: scaleX(1); }

.header-cta { flex-shrink: 0; padding: 13px 26px; font-size: 0.88rem; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  z-index: calc(var(--z-mobile-menu) + 1);
  position: relative;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--branco);
  border-radius: 2px;
  transition: transform var(--transition-fast), opacity var(--transition-fast), background var(--transition-fast);
  margin-inline: auto;
}
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  top: 0; right: 0;
  width: min(360px, 86vw);
  height: 100vh;
  background: var(--grafite);
  background-image: linear-gradient(160deg, var(--roxo-profundo) 0%, var(--grafite) 55%);
  z-index: var(--z-mobile-menu);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 40px;
  padding: 40px var(--container-pad);
  transform: translateX(100%);
  transition: transform var(--transition-medium);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.5);
}
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu ul { display: flex; flex-direction: column; gap: 28px; }
.mobile-nav-link {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--branco);
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}
.mobile-nav-link:hover { color: var(--verde-acao); padding-left: 6px; }
.mobile-cta { align-self: flex-start; }

.menu-open { overflow: hidden; }

/* ---------- 6. HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--preto);
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: -4% -4% -4% -4%;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 15% 20%, rgba(67, 27, 141, 0.55) 0%, transparent 60%),
    radial-gradient(ellipse 70% 70% at 85% 85%, rgba(48, 16, 109, 0.6) 0%, transparent 65%),
    linear-gradient(150deg, #0A0A0A 0%, #120a24 38%, #1c0f3d 62%, #0A0A0A 100%);
  animation: heroKenBurns 26s ease-in-out infinite alternate;
}
@keyframes heroKenBurns {
  0%   { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.09) translate(-1%, -1%); }
}

.hero-bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
}
.hero-bg-glow--purple {
  width: 46vw; height: 46vw;
  top: -10%; left: -8%;
  background: radial-gradient(circle, var(--roxo-acao) 0%, transparent 72%);
}
.hero-bg-glow--green {
  width: 26vw; height: 26vw;
  bottom: 4%; right: 4%;
  background: radial-gradient(circle, var(--verde-acao) 0%, transparent 74%);
  opacity: 0.16;
  animation: pulseGlow 7s ease-in-out infinite;
}
@keyframes pulseGlow {
  0%, 100% { opacity: 0.12; transform: scale(1); }
  50% { opacity: 0.22; transform: scale(1.08); }
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(247, 247, 247, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247, 247, 247, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 75% 75% at 50% 40%, black 20%, transparent 85%);
}

.hero-particles { position: absolute; inset: 0; }
.hero-particles span {
  position: absolute;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--verde-acao);
  box-shadow: 0 0 8px 1px rgba(172, 212, 129, 0.7);
  opacity: 0.7;
  animation: floatParticle 9s ease-in-out infinite;
}
.hero-particles span:nth-child(1) { top: 22%; left: 12%; animation-delay: 0s; }
.hero-particles span:nth-child(2) { top: 68%; left: 22%; animation-delay: 1.2s; width: 2px; height: 2px; }
.hero-particles span:nth-child(3) { top: 15%; left: 48%; animation-delay: 2.4s; }
.hero-particles span:nth-child(4) { top: 78%; left: 55%; animation-delay: 0.6s; width: 4px; height: 4px; }
.hero-particles span:nth-child(5) { top: 40%; left: 68%; animation-delay: 3.1s; }
.hero-particles span:nth-child(6) { top: 85%; left: 80%; animation-delay: 1.8s; width: 2px; height: 2px; }
.hero-particles span:nth-child(7) { top: 10%; left: 85%; animation-delay: 2.9s; }
.hero-particles span:nth-child(8) { top: 55%; left: 92%; animation-delay: 0.9s; width: 3px; height: 3px; }
@keyframes floatParticle {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.45; }
  50% { transform: translateY(-22px) scale(1.3); opacity: 0.9; }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(10, 10, 10, 0.96) 0%, rgba(10, 10, 10, 0.82) 35%, rgba(20, 10, 40, 0.55) 65%, rgba(10, 10, 10, 0.65) 100%);
}

.hero-pipeline {
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 32vh;
  min-height: 160px;
  z-index: 1;
  opacity: 0.9;
}
.pipeline-path {
  fill: none;
  stroke: rgba(247, 247, 247, 0.14);
  stroke-width: 1.5;
  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;
  animation: drawPipeline 2.6s var(--ease-premium) 0.4s forwards;
}
@keyframes drawPipeline {
  to { stroke-dashoffset: 0; }
}
.pipeline-flow {
  fill: none;
  stroke: var(--verde-acao);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 6 340;
  opacity: 0.85;
  filter: drop-shadow(0 0 6px rgba(172, 212, 129, 0.8));
  animation: flowPipeline 5.5s linear 3s infinite;
}
@keyframes flowPipeline {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: -2000; }
}
.pipeline-node {
  fill: var(--verde-acao);
  opacity: 0;
  filter: drop-shadow(0 0 6px rgba(172, 212, 129, 0.9));
  animation: nodeAppear 0.6s var(--ease-premium) forwards, nodePulse 2.6s ease-in-out 3s infinite;
}
.pipeline-node:nth-of-type(1) { animation-delay: 1s, 3s; }
.pipeline-node:nth-of-type(2) { animation-delay: 1.9s, 3.4s; }
.pipeline-node:nth-of-type(3) { animation-delay: 2.6s, 3.8s; }
@keyframes nodeAppear { to { opacity: 1; } }
@keyframes nodePulse {
  0%, 100% { r: 5; }
  50% { r: 7; }
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: calc(var(--header-height) + 16px);
  padding-bottom: clamp(28px, 5vh, 48px);
}

.hero-grid-layout {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: center;
  gap: clamp(40px, 6vw, 90px);
}

.hero-text { max-width: 640px; }

.hero-label { margin-bottom: 20px; }
.hero-label-pill {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  color: var(--verde-acao);
  text-transform: uppercase;
  padding: 9px 18px;
  border: 1px solid rgba(172, 212, 129, 0.35);
  border-radius: 999px;
  background: rgba(172, 212, 129, 0.06);
}
.hero-label .dot { color: rgba(172, 212, 129, 0.5); margin-inline: 2px; }

.hero-headline {
  font-size: clamp(2.3rem, 3.8vw, 3.3rem);
  font-weight: 700;
  line-height: 1.28;
  color: var(--branco);
  margin-bottom: 22px;
  transition-delay: 0.25s;
}
.hero-headline .accent-green { color: var(--verde-acao); }
.hero-headline .accent-outline {
  color: var(--off-white);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(172, 212, 129, 0.4);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
.accent-spark {
  width: 0.42em;
  height: 0.42em;
  display: inline-block;
  vertical-align: super;
  margin-left: 4px;
  fill: none;
  stroke: var(--verde-acao);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 5px rgba(172, 212, 129, 0.7));
}

.hero-sub {
  font-size: clamp(0.96rem, 1.2vw, 1.08rem);
  color: var(--texto-muted);
  max-width: 560px;
  margin-bottom: 30px;
  line-height: 1.65;
  transition-delay: 1.1s;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  transition-delay: 1.3s;
}

/* ---------- Hero: painel visual (mockup de telas empilhadas) ---------- */
.hero-visual {
  position: relative;
  margin-right: -60px;
}

.hero-mockup-stack {
  --tilt-y: -15deg;
  position: relative;
  width: 100%;
  max-width: 600px;
  margin-inline: auto;
  aspect-ratio: 1 / 0.8;
  perspective: 1000px;
}

.mockup-glow {
  position: absolute;
  inset: -14%;
  z-index: 0;
  background:
    radial-gradient(ellipse 55% 55% at 55% 42%, rgba(67, 27, 141, 0.55) 0%, transparent 70%),
    radial-gradient(ellipse 32% 32% at 72% 58%, rgba(172, 212, 129, 0.26) 0%, transparent 70%);
  filter: blur(40px);
}

.mockup-card {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 82%;
  aspect-ratio: 3 / 2;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 30px 60px -18px rgba(0, 0, 0, 0.6);
  transform-style: preserve-3d;
  transition: transform 0.4s var(--ease-premium);
}
.mockup-card img {
  position: absolute;
  inset: -5%;
  width: 110%;
  height: 110%;
  object-fit: cover;
  display: block;
}

.mockup-card--front {
  z-index: 3;
  opacity: 1;
  transform: rotateY(var(--tilt-y)) translate(0, 0) scale(1);
  animation: mockupSettle 0.8s var(--ease-premium);
}
@keyframes mockupSettle {
  from { transform: rotateY(var(--tilt-y)) translate(0, 0) scale(1.04); }
}

.mockup-card--mid {
  z-index: 2;
  opacity: 0.9;
  filter: blur(2px);
  box-shadow: 0 20px 40px -14px rgba(0, 0, 0, 0.5);
  transform: rotateY(var(--tilt-y)) translate(60px, -50px) scale(0.92);
  animation: mockupFanInMid 0.8s var(--ease-premium) 0.15s backwards;
}
.mockup-card--back {
  z-index: 1;
  opacity: 0.8;
  filter: blur(3px);
  box-shadow: 0 16px 32px -12px rgba(0, 0, 0, 0.45);
  transform: rotateY(var(--tilt-y)) translate(120px, -100px) scale(0.85);
  animation: mockupFanInBack 0.8s var(--ease-premium) 0.3s backwards;
}

@keyframes mockupFanInMid {
  from { opacity: 0.55; transform: rotateY(var(--tilt-y)) translate(30px, -25px) scale(0.95); }
}
@keyframes mockupFanInBack {
  from { opacity: 0.4; transform: rotateY(var(--tilt-y)) translate(60px, -50px) scale(0.89); }
}

/* Tilt 3D discreto no hover do conjunto — muda o ângulo compartilhado, propaga pras 3 telas */
.hero-mockup-stack:hover { --tilt-y: -10deg; }

.scroll-indicator {
  position: absolute;
  left: var(--container-pad);
  bottom: 40px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(247, 247, 247, 0.55);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  transition: color var(--transition-fast);
}
.scroll-indicator:hover { color: var(--verde-acao); }
.scroll-indicator-line {
  width: 1px;
  height: 36px;
  background: rgba(247, 247, 247, 0.3);
  position: relative;
  overflow: hidden;
}
.scroll-indicator-line::after {
  content: '';
  position: absolute;
  top: -100%; left: 0;
  width: 100%; height: 100%;
  background: var(--verde-acao);
  animation: scrollLine 2.2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { top: -100%; }
  60% { top: 100%; }
  100% { top: 100%; }
}

/* ---------- Responsividade ---------- */
@media (max-width: 1024px) {
  .main-nav { display: none; }
  .header-cta { display: none; }
  .hamburger { display: flex; }

  .hero-grid-layout { grid-template-columns: 1fr; gap: 56px; }
  .hero-text { max-width: 640px; }
  .hero-visual { max-width: 440px; margin-inline: auto; }
}

@media (max-width: 640px) {
  :root { --container-pad: 20px; }
  .hero-cta-group { flex-direction: column; align-items: stretch; }
  .hero-cta-group .btn { width: 100%; }
  .scroll-indicator { display: none; }
  .logo-word { font-size: 1.15rem; }

  .hero-grid-layout { gap: 44px; }

  /* Mockup simplificado: sem tilt 3D, só 2 telas (frente + meio), leque achatado */
  .hero-mockup-stack { --tilt-y: 0deg; max-width: 300px; aspect-ratio: 1 / 0.86; perspective: none; }
  .mockup-card--back { display: none; }
  .mockup-card--front,
  .mockup-card--mid {
    animation: none;
    transition: none;
  }
  .mockup-card--mid { transform: translate(24px, -20px) scale(0.92); }
  .hero-mockup-stack:hover { --tilt-y: 0deg; }
}

/* ---------- WhatsApp float button (global) ---------- */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
  z-index: var(--z-float);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.whatsapp-float svg { width: 30px; height: 30px; fill: var(--branco); }
.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), 0 0 0 4px rgba(172, 212, 129, 0.25);
}
@media (max-width: 640px) {
  .whatsapp-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
  .whatsapp-float svg { width: 26px; height: 26px; }
}

/* ---------- 7. SOLUÇÕES ---------- */
.solucoes { padding-block: var(--section-pad-y); }

.solucoes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(20px, 2.4vw, 28px);
}

.solucao-card {
  display: block;
  position: relative;
  background: var(--branco);
  border: 1px solid var(--borda-escura);
  border-radius: 18px;
  padding: 40px 32px;
  transition: transform var(--transition-medium), box-shadow var(--transition-medium), border-color var(--transition-medium);
}
.solucao-card:hover {
  transform: translateY(-8px);
  border-color: rgba(172, 212, 129, 0.5);
  box-shadow: 0 30px 60px -24px rgba(67, 27, 141, 0.28);
}

.solucao-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  margin-bottom: 24px;
  background: linear-gradient(135deg, rgba(67, 27, 141, 0.08) 0%, rgba(172, 212, 129, 0.1) 100%);
  transition: background var(--transition-medium), transform var(--transition-medium);
}
.solucao-card:hover .solucao-icon {
  background: var(--gradiente-marca);
  transform: scale(1.06) rotate(-4deg);
}
.solucao-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: var(--roxo-acao);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke var(--transition-medium);
}
.solucao-card:hover .solucao-icon svg { stroke: var(--branco); }

.solucao-card h3 {
  font-size: 1.28rem;
  color: var(--texto-escuro);
  margin-bottom: 14px;
}
.solucao-card p {
  font-size: 0.96rem;
  line-height: 1.7;
  color: var(--texto-escuro-muted);
  margin-bottom: 24px;
}

.solucao-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--roxo-acao);
}
.solucao-link svg {
  width: 15px; height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform var(--transition-fast);
}
.solucao-card:hover .solucao-link { color: var(--roxo-profundo); }
.solucao-card:hover .solucao-link svg { transform: translateX(4px); }

/* ---------- 8. SOBRE A AÇÃO ---------- */
.sobre { padding-block: var(--section-pad-y); overflow: hidden; }

.sobre-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(48px, 6vw, 96px);
}

.sobre-text .section-title { max-width: 560px; }
.sobre-paragraph {
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--texto-muted);
  max-width: 560px;
  margin-bottom: 40px;
}

.sobre-destaques {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 28px;
}
.sobre-destaques li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--off-white);
}
.destaque-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(247, 247, 247, 0.08);
}
.destaque-icon svg { width: 13px; height: 13px; fill: none; stroke: var(--off-white); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

.sobre-visual { position: relative; }
.network-panel {
  position: relative;
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(67, 27, 141, 0.22) 0%, rgba(20, 20, 20, 0.4) 70%);
  border: 1px solid rgba(247, 247, 247, 0.08);
  padding: clamp(24px, 3vw, 40px);
  box-shadow: 0 40px 80px -30px rgba(48, 16, 109, 0.5);
}
.network-svg { width: 100%; height: auto; display: block; }
.network-lines line {
  stroke-width: 1.2;
  opacity: 0.55;
  stroke-dasharray: 6 6;
  animation: networkDash 40s linear infinite;
}
@keyframes networkDash { to { stroke-dashoffset: -400; } }
.network-nodes circle {
  fill: var(--verde-acao);
  filter: drop-shadow(0 0 6px rgba(172, 212, 129, 0.6));
  animation: nodePulse 3.4s ease-in-out infinite;
}
.network-nodes .node-lg { fill: var(--verde-claro); }
.network-nodes .node-xl { fill: var(--branco); animation-duration: 2.6s; }
.network-nodes circle:nth-child(odd) { animation-delay: 0.6s; }

/* ---------- 9. CASES E RESULTADOS ---------- */
.cases { padding-block: var(--section-pad-y); }

.cases-scroll {
  margin-inline: calc(var(--container-pad) * -1);
  padding-inline: var(--container-pad);
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--roxo-acao) transparent;
  padding-bottom: 12px;
}
.cases-track {
  display: flex;
  gap: 22px;
  width: max-content;
}

.case-card {
  scroll-snap-align: start;
  width: min(340px, 82vw);
  flex-shrink: 0;
  background: var(--branco);
  border: 1px solid var(--borda-escura);
  border-radius: 16px;
  padding: 30px 28px;
  transition: transform var(--transition-medium), box-shadow var(--transition-medium), border-color var(--transition-medium);
}
.case-card:hover {
  border-color: rgba(67, 27, 141, 0.3);
}
.case-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--branco);
  background: var(--gradiente-marca);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.case-card dl { position: relative; padding-left: 18px; }
.case-card dl::before {
  content: '';
  position: absolute;
  left: 0; top: 4px; bottom: 4px;
  width: 2px;
  background: linear-gradient(180deg, var(--roxo-acao) 0%, var(--verde-acao) 100%);
  opacity: 0.35;
}
.case-card dl div { margin-bottom: 14px; }
.case-card dl div:last-child { margin-bottom: 0; }
.case-card dt {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--roxo-acao);
  margin-bottom: 4px;
}
.case-card dd {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--texto-escuro-muted);
}

.cases-stats {
  margin-top: clamp(56px, 6vw, 88px);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  padding-top: clamp(40px, 5vw, 56px);
  border-top: 1px solid var(--borda-escura);
}
.stat { text-align: center; }
.stat-value, .stat-suffix {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(2rem, 3vw, 2.6rem);
  color: var(--roxo-acao);
}
.stat-label {
  display: block;
  margin-top: 8px;
  font-size: 0.85rem;
  color: var(--texto-escuro-muted);
  font-weight: 500;
}

/* ---------- 10. COMO FAZEMOS (timeline) ---------- */
.como-fazemos { padding-block: var(--section-pad-y); }

.timeline {
  position: relative;
  max-width: 900px;
  margin-inline: auto;
  padding-left: 56px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 8px;
  bottom: 8px;
  width: 1.5px;
  background: linear-gradient(180deg, var(--roxo-acao) 0%, var(--verde-acao) 100%);
  opacity: 0.4;
}
.timeline-item {
  position: relative;
  padding-bottom: 52px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -56px;
  top: 4px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--preto);
  border: 2px solid var(--verde-acao);
  box-shadow: 0 0 0 5px var(--preto), 0 0 16px rgba(172, 212, 129, 0.5);
}
.timeline-num {
  display: block;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--verde-acao);
  margin-bottom: 8px;
}
.timeline-item h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: var(--branco);
}
.timeline-item p {
  color: var(--texto-muted);
  max-width: 560px;
  line-height: 1.7;
}

/* ---------- 11. TECNOLOGIAS ---------- */
.tecnologias { padding-block: var(--section-pad-y); }

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}
.tech-tile {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 12px;
  background: rgba(247, 247, 247, 0.03);
  border: 1px solid rgba(247, 247, 247, 0.08);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--off-white);
  transition: border-color var(--transition-medium), background var(--transition-medium), transform var(--transition-medium);
}
.tech-tile:hover {
  border-color: rgba(172, 212, 129, 0.3);
  background: rgba(67, 27, 141, 0.12);
}
.tech-tile em {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  flex-shrink: 0;
  border-radius: 9px;
  background: var(--gradiente-marca);
  color: var(--branco);
  font-style: normal;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
}

/* ---------- 12. CTA FINAL ---------- */
.cta-final {
  position: relative;
  padding-block: clamp(100px, 14vw, 180px);
  overflow: hidden;
  text-align: center;
}
.cta-final-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 50% 30%, rgba(67, 27, 141, 0.5) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 85% 90%, rgba(172, 212, 129, 0.12) 0%, transparent 70%),
    linear-gradient(180deg, #0A0A0A 0%, #150a2c 50%, #0A0A0A 100%);
}
.cta-final-pipeline {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.55;
  z-index: 0;
}
.cta-final-content { position: relative; z-index: 1; max-width: 780px; margin-inline: auto; }
.cta-final .section-label { justify-content: center; display: flex; }
.cta-final-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  color: var(--branco);
  margin-bottom: 22px;
}
.cta-final-sub {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  color: var(--texto-muted);
  margin-bottom: 44px;
}

/* ---------- 13. CONTATO ---------- */
.contato { padding-block: var(--section-pad-y); }

.contato-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: start;
}

.contato-info .section-title { max-width: 480px; }
.contato-list { margin-top: 36px; display: flex; flex-direction: column; gap: 18px; }
.contato-list li { display: flex; align-items: center; gap: 14px; font-size: 0.98rem; color: var(--off-white); }
.contato-list a { transition: color var(--transition-fast); }
.contato-list a:hover { color: var(--verde-acao); }
.contato-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  flex-shrink: 0;
  border-radius: 10px;
  background: rgba(172, 212, 129, 0.1);
}
.contato-icon svg { width: 17px; height: 17px; fill: none; stroke: var(--verde-acao); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.contato-form {
  background: var(--grafite);
  border: 1px solid rgba(247, 247, 247, 0.08);
  border-radius: 20px;
  padding: clamp(28px, 3vw, 44px);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.form-field label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.84rem;
  color: var(--off-white);
}
.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--off-white);
  background: rgba(247, 247, 247, 0.04);
  border: 1px solid rgba(247, 247, 247, 0.14);
  border-radius: 10px;
  padding: 13px 16px;
  transition: border-color var(--transition-fast), background var(--transition-fast);
  resize: vertical;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(247, 247, 247, 0.35); }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--verde-acao);
  background: rgba(172, 212, 129, 0.05);
}
.form-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23ACD481' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M3 6l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 42px;
  cursor: pointer;
}
/* Opções do dropdown nativo: o navegador ignora o fundo translúcido do select
   e renderiza a lista com fundo branco por padrão — sem isto o texto claro fica ilegível. */
.form-field select option {
  background: var(--grafite);
  color: var(--off-white);
  padding: 10px;
}
.form-field select option:disabled { color: rgba(247, 247, 247, 0.4); }
.form-field select option:checked,
.form-field select option:hover { background: var(--roxo-acao); color: var(--branco); }
.form-field.has-error input,
.form-field.has-error select,
.form-field.has-error textarea { border-color: #e07a7a; }
.form-error {
  font-size: 0.78rem;
  color: #e07a7a;
  min-height: 1em;
}
.form-field--checkbox { margin-bottom: 24px; }
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--texto-muted);
  cursor: pointer;
}
.checkbox-label input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px; height: 18px;
  margin-top: 2px;
  accent-color: var(--verde-acao);
  cursor: pointer;
}
.checkbox-label a { color: var(--verde-acao); text-decoration: underline; text-underline-offset: 2px; }
.checkbox-label a:hover { color: var(--verde-claro); }
.form-field--checkbox.has-error .checkbox-label { color: #e07a7a; }

.form-submit { width: 100%; margin-top: 4px; }
.form-feedback {
  margin-top: 16px;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  min-height: 1.2em;
}
.form-feedback.success { color: var(--verde-acao); }
.form-feedback.error { color: #e07a7a; }

/* ---------- 14. FOOTER ---------- */
.site-footer { background: var(--preto); border-top: 1px solid rgba(247, 247, 247, 0.08); padding-top: clamp(56px, 6vw, 80px); }

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: clamp(40px, 5vw, 64px);
}
.footer-tagline {
  margin-top: 14px;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--texto-muted);
}
.footer-nav ul { display: flex; flex-direction: column; gap: 12px; }
.footer-nav a, .footer-contact a, .footer-contact span {
  font-size: 0.94rem;
  color: var(--texto-muted);
  transition: color var(--transition-fast);
  display: inline-block;
  padding-block: 4px;
}
.footer-nav a:hover, .footer-contact a:hover { color: var(--verde-acao); }
.footer-contact { display: flex; flex-direction: column; gap: 12px; }

.footer-bottom { border-top: 1px solid rgba(247, 247, 247, 0.08); padding-block: 24px; }
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom-inner p { font-size: 0.82rem; color: rgba(247, 247, 247, 0.62); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: 0.82rem; color: rgba(247, 247, 247, 0.62); transition: color var(--transition-fast); }
.footer-legal a:hover { color: var(--verde-acao); }

/* ---------- Responsividade adicional (seções 8–14) ---------- */
@media (max-width: 1024px) {
  .sobre-grid { grid-template-columns: 1fr; }
  .sobre-visual { max-width: 480px; margin-inline: auto; order: -1; }
  .sobre-destaques { grid-template-columns: 1fr; }

  .cases-stats { grid-template-columns: repeat(3, 1fr); row-gap: 32px; }

  .contato-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
  .cases-stats { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .timeline { padding-left: 44px; }
  .timeline-item::before { left: -44px; }
  .tech-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
}

/* ---------- 15. PÁGINAS LEGAIS ---------- */
.legal-page {
  padding-top: calc(var(--header-height) + 48px);
  padding-bottom: var(--section-pad-y);
}
.legal-content { max-width: 820px; }
.legal-updated {
  color: var(--texto-escuro-muted);
  font-size: 0.9rem;
  margin-bottom: 48px;
}
.legal-body p {
  margin-bottom: 16px;
  line-height: 1.75;
  color: var(--texto-escuro-muted);
}
.legal-body h2 {
  font-size: 1.4rem;
  margin-top: 44px;
  margin-bottom: 14px;
  color: var(--texto-escuro);
}
.legal-body ul {
  margin: 0 0 16px 0;
  padding-left: 22px;
  list-style: disc;
}
.legal-body li {
  margin-bottom: 8px;
  line-height: 1.7;
  color: var(--texto-escuro-muted);
}
.legal-body strong { color: var(--texto-escuro); font-weight: 700; }
.legal-body a { color: var(--roxo-acao); text-decoration: underline; text-underline-offset: 2px; }
.legal-body a:hover { color: var(--roxo-profundo); }

