/* ===================================================================
   PERLO — styles.css (versão final consolidada)
   Premium Clean Tech (Light) · HTML5 + CSS3 puro
   =================================================================== */

/* ====================== 1. ROOT TOKENS ============================ */
:root{
  --ink:        #0B0B0B;
  --ink-2:      #1A1A1C;
  --blue:       #3B82F6;
  --blue-2:     #60A5FA;
  --blue-3:     #2563EB;
  --blue-soft:  #EAF1FF;

  --bg:         #E8ECF2;      /* tom frio mais denso — tira o "branco demais" */
  --bg-2:       #F5F7FA;      /* superfícies (cards/seções) sem ser branco puro */
  --bg-tint:    #DDE5F0;      /* base com pitada de azul p/ camadas de fundo */

  --muted:      #6B7280;
  --muted-2:    #9CA3AF;
  --gray-text:  #4b5563;

  --line:       rgba(11,11,11,0.08);
  --line-2:     rgba(11,11,11,0.14);

  --max:        1280px;
  --radius-sm:  10px;
  --radius-md:  18px;
  --radius-lg:  24px;
  --radius-xl:  28px;
  --radius-pill: 100px;

  --shadow-card:    0 16px 40px rgba(11,11,11,0.05), 0 1px 0 rgba(255,255,255,0.6) inset;
  --shadow-card-hv: 0 24px 60px rgba(11,11,11,0.08);
  --shadow-dark:    0 30px 60px rgba(11,11,11,0.18), 0 4px 0 rgba(11,11,11,0.04);
  --shadow-blue:    0 8px 24px rgba(59,130,246,0.4);

  --t-fast: .2s ease;
  --t-base: .3s ease;
}

/* ====================== 2. RESET / BASE =========================== */
*,*::before,*::after{ box-sizing: border-box; }

html, body{
  margin: 0; padding: 0;
  overflow-x: hidden;             /* defensiva extra contra elementos absolute estourando */
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01","cv11";
}
html{ scroll-behavior: smooth; }
img, svg{ display: block; max-width: 100%; }
a{ color: inherit; text-decoration: none; }
button{ font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea{ font-family: inherit; }

.page{
  position: relative;
  min-height: 100vh;
  background:
    radial-gradient(1100px 600px at 92% -4%, rgba(59,130,246,0.18), transparent 62%),
    radial-gradient(900px 700px at -6% 32%, rgba(59,130,246,0.12), transparent 60%),
    radial-gradient(700px 500px at 50% 100%, rgba(59,130,246,0.08), transparent 65%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-tint) 100%);
}
/* Controle de overflow horizontal isolado no main — não quebra o fixed do header */
main{
  overflow-x: clip;
  padding-top: 100px;          /* compensa o header fixo (~76px + respiro) */
}
.container{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 2;
}

/* ====================== 3. HEADER (Floating Pill) ================= */
.header{
  position: fixed;
  top: 20px;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: calc(100% - 32px);
  max-width: 1100px;
  z-index: 9999;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid var(--line);
  border-radius: 50px;
  box-shadow:
    0 8px 30px rgba(11,11,11,0.06),
    inset 0 1px 0 rgba(255,255,255,0.6);
  transition: background 0.3s ease, box-shadow 0.3s ease;
  padding: 0;
}
.header.scrolled{
  background: rgba(255, 255, 255, 0.92);
  box-shadow:
    0 12px 36px rgba(11,11,11,0.10),
    inset 0 1px 0 rgba(255,255,255,0.7);
}
.header-inner{
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px 10px 22px;
}
.logo{
  display: flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 17px; letter-spacing: -0.01em;
  color: var(--ink);
}
.logo-mark{
  width: 32px; height: 32px;
  border-radius: 9px; background: var(--ink);
  display: grid; place-items: center;
  padding: 4px;
  box-shadow: 0 6px 18px rgba(11,11,11,0.18);
}
.logo-mark svg{ width: 100%; height: 100%; display: block; }

.nav{ display: flex; gap: 2px; }
.nav a{
  padding: 8px 14px; font-size: 13.5px;
  color: #3a3a3a; border-radius: var(--radius-pill);
  transition: color .25s ease, background .25s ease;
}
.nav a:hover{ color: var(--ink); background: rgba(11,11,11,0.04); }

.nav-toggle{
  display: none;
  width: 40px; height: 40px;
  border-radius: 50%;
  flex-direction: column; align-items: center; justify-content: center;
  gap: 4px;
  border: 1px solid var(--line-2);
  background: rgba(255,255,255,0.7);
}
.nav-toggle span{
  display: block;
  width: 18px; height: 1.5px;
  background: var(--ink); border-radius: 1px;
  transition: transform .3s ease, opacity .3s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1){ transform: translateY(5.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ transform: translateY(-5.5px) rotate(-45deg); }

.mobile-nav{
  display: none;
  flex-direction: column; gap: 4px;
  margin: 8px 16px 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 16px 40px rgba(11,11,11,0.08);
}
.mobile-nav.open{ display: flex; }
.mobile-nav a{
  padding: 12px 14px;
  font-size: 14px;
  color: var(--ink-2);
  border-radius: var(--radius-sm);
  transition: background .2s ease;
}
.mobile-nav a:hover{ background: rgba(11,11,11,0.04); }
.mobile-cta{ margin-top: 8px; justify-content: center; }
/* Sobrescreve `.mobile-nav a { color }` quando o link é o CTA azul */
.mobile-nav a.mobile-cta{ color: #fff; }
.mobile-nav a.mobile-cta:hover{ background: #1447c0; }

/* ====================== 4. BUTTONS ================================ */
.btn{
  --mx: 0px;             /* magnetic offset X (preenchido via JS) */
  --my: 0px;             /* magnetic offset Y */
  --hover-y: 0px;        /* lift sutil no hover */
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px;
  font-size: 13.5px; font-weight: 500;
  border-radius: var(--radius-pill);
  letter-spacing: -0.005em; white-space: nowrap;
  transform: translate3d(var(--mx), calc(var(--my) + var(--hover-y)), 0);
  transition:
    background var(--t-base),
    color var(--t-base),
    border-color var(--t-base),
    box-shadow var(--t-base),
    transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.btn-blue{
  background: #1a56db; color: #fff;             /* 5.1:1 com branco — passa WCAG AA */
  box-shadow: 0 0 0 1px rgba(255,255,255,0.18) inset, 0 8px 24px rgba(26,86,219,0.4);
}
.btn-blue:hover{
  background: #1447c0;
  --hover-y: -2px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.22) inset,
    0 18px 50px rgba(20,71,192,0.55),
    0 0 32px rgba(20,71,192,0.45);
}
.btn-dark{
  background: var(--ink); color: #fff;
  box-shadow: 0 6px 20px rgba(11,11,11,0.18);
}
.btn-dark:hover{
  background: #1f1f22;
  --hover-y: -2px;
  box-shadow: 0 14px 36px rgba(11,11,11,0.28);
}
.btn-ghost{
  background: rgba(255,255,255,0.6); color: var(--ink);
  border: 1px solid var(--line-2);
}
.btn-ghost:hover{
  background: #fff;
  border-color: rgba(59,130,246,0.45);
  --hover-y: -2px;
  box-shadow:
    0 8px 26px rgba(11,11,11,0.06),
    0 0 0 4px rgba(59,130,246,0.08);
}
.btn .arrow{ transition: transform var(--t-base); }
.btn:hover .arrow{ transform: translateX(3px); }

/* ====================== 5. HERO (Grid 60/40) ====================== */
.hero{
  position: relative;
  padding: 32px 0 80px;         /* compõe 120px com .problems-head abaixo (vertical rhythm consistente) */
  /* overflow: visible permite que o .hero-flow vaze para baixo (fade-out)
     e que o notebook vaze pela direita; scroll horizontal é contido pelo body */
  overflow: visible;
}

/* Background fluido azul — tiras de "seda" finas atravessando os cantos.
   Inspiração: ondas vetoriais (estilo flow-line / fita-de-seda), em vez
   de manchas borradas. Cada grupo (topo/base) deriva levemente.

   `inset: 0 0 -160px 0` faz o SVG vazar para baixo do hero, e a máscara
   linear-gradient cria fade-out suave nas bordas — sem corte abrupto. */
.hero-flow{
  position: absolute;
  inset: 0 0 -160px 0;
  width: 100%;
  height: calc(100% + 160px);
  z-index: 0;
  pointer-events: none;
  overflow: visible;
  mask-image: linear-gradient(180deg, transparent 0%, #000 10%, #000 68%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 10%, #000 68%, transparent 100%);
}
.hero-flow .flow-top,
.hero-flow .flow-bottom{
  transform-origin: 50% 50%;
  will-change: transform;
}
.hero-flow .flow-top{
  animation: flowTopDrift 18s ease-in-out infinite alternate;
}
.hero-flow .flow-bottom{
  animation: flowBottomDrift 22s ease-in-out infinite alternate;
}
.hero-flow .strand{
  /* desincroniza camadas internas — sensação de fluxo viscoso */
  animation: strandUndulate 9s ease-in-out infinite alternate;
}
.hero-flow .strand.s-b{ animation-duration: 11s; animation-delay: -2s; }
.hero-flow .strand.s-c{ animation-duration: 13s; animation-delay: -4s; }
.hero-flow .strand.s-d{ animation-duration: 15s; animation-delay: -1s; }

@keyframes flowTopDrift{
  0%   { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(20px, 8px, 0); }
}
@keyframes flowBottomDrift{
  0%   { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-24px, -10px, 0); }
}
@keyframes strandUndulate{
  0%   { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(0, 6px, 0); }
}
@media (prefers-reduced-motion: reduce){
  .hero-flow .flow-top,
  .hero-flow .flow-bottom,
  .hero-flow .strand{ animation: none !important; }
}

/* Grid assimétrico 58/42 — texto respira, notebook tem espaço próprio */
.hero-grid{
  position: relative;
  z-index: 2;                  /* acima do .hero-flow */
  display: grid;
  grid-template-columns: minmax(0, 58%) minmax(0, 42%);
  gap: 32px;
  align-items: center;
  min-height: clamp(560px, 78vh, 820px);
}

/* Coluna de texto — leitura limpa, sem sobreposição */
.hero-copy{
  position: relative;
  z-index: 5;
  padding: 24px 32px 24px 0;
}

/* Eyebrow */
.eyebrow{
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(8px) saturate(140%);
  -webkit-backdrop-filter: blur(8px) saturate(140%);
  font-size: 12.5px; color: #3a3a3a; letter-spacing: 0.02em;
}
.eyebrow .dot{
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 12px var(--blue);
  animation: pulse 2.4s ease-in-out infinite;
}
.hero-eyebrow{ margin: 0 0 28px; will-change: transform; }
@keyframes pulse{
  0%,100% { opacity: 1; transform: scale(1); }
  50%     { opacity: .5; transform: scale(0.85); }
}

/* Tipografia monumental — agora dentro da coluna, sem invadir o notebook */
.hero-title{
  margin: 0;
  font-size: clamp(2.75rem, 5.6vw, 5.5rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
  font-weight: 600;
  color: var(--ink);
  text-wrap: balance;
  will-change: transform;
}
.hero-title .line{ display: block; }
.hero-title .blue-grad,
.h1 .blue-grad{
  background: linear-gradient(180deg, var(--blue) 0%, var(--blue-3) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  font-style: italic; font-weight: 500;
}

/* Texto auxiliar reutilizável (cases, sobre, contato, soluções) */
.sub{
  color: var(--gray-text);
  font-size: 18px; line-height: 1.55;
  max-width: 540px;
  letter-spacing: -0.005em;
}

.hero-sub{
  margin: 32px 0 0;
  max-width: 520px;
  color: var(--gray-text);
  font-size: 18px; line-height: 1.55;
  letter-spacing: -0.005em;
  will-change: transform;
}

.hero-ctas{
  margin-top: 32px;
  display: flex; gap: 12px; flex-wrap: wrap;
  will-change: transform;
}

/* Stage do notebook — coluna direita. Position relative, mas a imagem
   é escalada e deslocada para vazar a borda direita da tela. */
.hero-stage{
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 540px;
  perspective: 1600px;
  pointer-events: none;
}

.hero-notebook{
  --px: 0px;
  --py: 0px;
  --notebook-scale: 1.2;   /* desktop: notebook gigante */
  --notebook-shift-x: 10%; /* desktop: vaza a borda direita */
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter:
    drop-shadow(0 30px 60px rgba(11,11,11,0.22))
    drop-shadow(0 70px 120px rgba(59,130,246,0.32));
  opacity: 0;
  /* float roda imediatamente (invisível) p/ não dar snap quando aparece;
     fade-in entra com delay, segura a opacidade no fim com forwards */
  animation:
    floatNotebook 7s ease-in-out infinite,
    notebookFadeIn 1s ease-out 0.6s forwards;
  will-change: transform, opacity;
  z-index: 4;
  pointer-events: none;
  user-select: none;
}

/* Notebook composto com parallax (--px/--py) + float oscilante.
   Vars --notebook-scale e --notebook-shift-x ajustam por breakpoint. */
@keyframes floatNotebook{
  0%, 100% {
    transform: translate(var(--px), var(--py)) scale(var(--notebook-scale)) translateX(var(--notebook-shift-x));
  }
  50% {
    transform: translate(var(--px), calc(var(--py) - 14px)) scale(var(--notebook-scale)) translateX(var(--notebook-shift-x));
  }
}

.ui-glow{
  position: absolute;
  inset: 10% -10% 18% 0%;
  background:
    radial-gradient(60% 60% at 60% 50%, rgba(59,130,246,0.32), transparent 70%),
    radial-gradient(40% 40% at 80% 80%, rgba(96,165,250,0.22), transparent 70%);
  filter: blur(50px);
  z-index: 1;
  animation: glowPulse 5s ease-in-out infinite;
}
@keyframes glowPulse{
  0%, 100% { opacity: .8; transform: scale(1); }
  50%      { opacity: 1; transform: scale(1.06); }
}

/* Badges flutuantes — distribuídos NA coluna do notebook,
   nunca invadem a área do título */
.float-badge{
  position: absolute;
  z-index: 7;
  display: flex; flex-direction: column; gap: 4px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-radius: var(--radius-md);
  box-shadow:
    0 18px 40px rgba(11,11,11,0.08),
    0 1px 0 rgba(255,255,255,0.7) inset;
  opacity: 0;
  scale: 0.8;
  /* badgeFloat anima `transform`, badgePop anima `opacity` + `scale` —
     props independentes, então rodam concorrentes sem conflito */
  animation:
    badgeFloat 7s ease-in-out infinite,
    badgePop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  will-change: transform, opacity, scale;
}
.float-badge .badge-num{
  font-size: 22px; font-weight: 600;
  letter-spacing: -0.02em; color: var(--ink);
}
.float-badge .badge-num em{ font-style: normal; color: var(--blue); }
.float-badge .badge-label{
  font-size: 11.5px; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.12em;
}

/* Posicionamento dos badges + delays compostos:
   primeiro valor = badgeFloat (negativo p/ desync), segundo = badgePop (entrada) */
.badge-projects { top: 4%;    left: -8%;  animation-delay: 0s,    1.7s;  }
.badge-retention{ top: 46%;   right: -4%; animation-delay: -2.5s, 1.85s; }
.badge-support  { bottom: 6%; left: 4%;   animation-delay: -4s,   2.0s;  }

@keyframes badgeFloat{
  0%, 100% { transform: translate3d(0,0,0); }
  50%      { transform: translate3d(0,-10px,0); }
}
@keyframes badgePop{
  from { opacity: 0; scale: 0.8; }
  to   { opacity: 1; scale: 1;   }
}

/* Sparks dentro do stage do notebook */
.spark{
  position: absolute;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 14px var(--blue), 0 0 28px var(--blue);
  z-index: 5;
  will-change: transform;
}
.spark.s1{ top: 18%;  left: -4%;  animation: drift 5s   ease-in-out infinite; }
.spark.s2{ top: 8%;   right: 12%; animation: drift 6s   ease-in-out infinite reverse; }
.spark.s3{ top: 70%;  left: 34%;  animation: drift 7s   ease-in-out infinite; }
.spark.s4{ bottom: 22%; right: 6%; animation: drift 5.5s ease-in-out infinite reverse; }
@keyframes drift{
  0%,100% { opacity: .6; }
  50%     { opacity: 1; }
}

/* ============== 5.1 Entrance animations on page load ============== */
@keyframes fadeUp{
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0);    }
}
@keyframes notebookFadeIn{
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Cascata da coluna esquerda — eyebrow → linhas do título → sub → CTAs */
.hero-eyebrow{
  opacity: 0;
  animation: fadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.15s forwards;
}
.hero-title .line{
  display: block;
  opacity: 0;
  animation: fadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero-title .line:nth-child(1){ animation-delay: 0.30s; }
.hero-title .line:nth-child(2){ animation-delay: 0.42s; }
.hero-title .line:nth-child(3){ animation-delay: 0.54s; }
.hero-title .line:nth-child(4){ animation-delay: 0.66s; }
.hero-sub{
  opacity: 0;
  animation: fadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.85s forwards;
}
.hero-ctas{
  opacity: 0;
  animation: fadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 1.0s forwards;
}

/* Acessibilidade — desliga toda a coreografia se o usuário pediu */
@media (prefers-reduced-motion: reduce){
  .hero-eyebrow,
  .hero-title .line,
  .hero-sub,
  .hero-ctas,
  .hero-notebook,
  .float-badge{
    opacity: 1;
    scale: 1;
    transform: none;
    animation: none !important;
  }
}

/* ====================== 6. PROBLEMAS ============================== */
/* Problems — vertical rhythm 120px com .hero acima e .section abaixo */
.problems{
  margin: 0 auto;
  padding: 0;
}
.problems-head{ text-align: center; padding: 96px 0 80px; }
.problems-head h2{
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 500; letter-spacing: -0.02em;
  margin: 0; color: var(--ink);
}
.problems-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.p-card{
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-card);
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}
.p-card:hover{
  transform: translateY(-3px);
  box-shadow: var(--shadow-card-hv);
  border-color: rgba(59,130,246,0.35);
}
.p-num{ font-size: 11px; color: var(--blue); letter-spacing: 0.18em; font-weight: 600; }
.p-title{ font-size: 19px; font-weight: 500; margin: 12px 0 8px; letter-spacing: -0.015em; color: var(--ink); }
.p-desc{ font-size: 14px; color: var(--muted); line-height: 1.55; }

/* ====================== 7. SECTION HEAD =========================== */
.section{
  padding: 120px 0;             /* vertical rhythm consistente entre seções principais */
  position: relative;
}
.process-section,
.cases-section{ padding-top: 32px; }
.contact-section{ padding-top: 32px; }

.section-head{
  display: flex; justify-content: space-between; align-items: end;
  gap: 32px; margin-bottom: 48px;
}
.section-eyebrow{
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; color: var(--blue);
  letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600;
}
.section-eyebrow::before{
  content: ""; width: 24px; height: 1px;
  background: var(--blue); box-shadow: 0 0 6px var(--blue);
}
.section-title{
  font-size: clamp(36px, 4.2vw, 56px);
  line-height: 1.0; letter-spacing: -0.03em;
  font-weight: 600; margin: 14px 0 0;
  max-width: 720px; color: var(--ink);
  text-wrap: balance;
}
.section-title em{ font-style: italic; font-weight: 500; color: #6b7280; }
.section-title .blue{ color: var(--blue); }
.section-desc{ color: var(--muted); max-width: 380px; font-size: 15px; line-height: 1.6; }

/* ====================== 8. SOLUÇÕES (cards escuros) =============== */
.solutions-grid{ display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }

.s-card{
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #131316 0%, #0a0a0c 100%);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 32px;
  min-height: 320px;
  display: flex; flex-direction: column; gap: 20px;
  box-shadow: var(--shadow-dark);
  transition: transform .4s ease, box-shadow .4s ease;
}
.s-card:hover{
  transform: translateY(-5px);
  box-shadow: 0 40px 80px rgba(11,11,11,0.25), 0 0 0 1px rgba(59,130,246,0.4);
}
.s-card::before{
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 50% at 80% 0%, rgba(59,130,246,0.25), transparent 60%);
  opacity: .7; pointer-events: none;
}
.s-head{
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; position: relative; z-index: 2;
}
.s-tag{ font-size: 11px; color: rgba(255,255,255,0.5); letter-spacing: 0.18em; text-transform: uppercase; }
.s-arrow{
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: grid; place-items: center;
  color: #fff; transition: background var(--t-base), border-color var(--t-base), transform var(--t-base);
}
.s-card:hover .s-arrow{ background: var(--blue); border-color: var(--blue); transform: rotate(-15deg); }

.s-visual{
  flex: 1; min-height: 140px; border-radius: 16px;
  position: relative; overflow: hidden;
  background:
    radial-gradient(60% 80% at 50% 100%, rgba(59,130,246,0.35), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0));
  border: 1px solid rgba(255,255,255,0.06);
  display: grid; place-items: center;
}
.s-foot{ position: relative; z-index: 2; }
.s-name{ font-size: 22px; font-weight: 500; letter-spacing: -0.02em; margin-bottom: 8px; }
.s-desc{ font-size: 13.5px; color: rgba(255,255,255,0.65); line-height: 1.55; }

.viz-laptop{
  width: 78%; aspect-ratio: 16/10;
  background: linear-gradient(180deg, #18181b, #0c0c0e);
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 30px 50px rgba(0,0,0,0.5), 0 0 40px rgba(59,130,246,0.25);
  position: relative; overflow: hidden;
}
.viz-laptop::before{
  content: ""; position: absolute; inset: 8px; border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(59,130,246,0.4), rgba(59,130,246,0.05) 60%),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 14px),
    repeating-linear-gradient(0deg,  rgba(255,255,255,0.04) 0 1px, transparent 1px 14px);
  border: 1px solid rgba(59,130,246,0.25);
}
.viz-laptop::after{
  content: ""; position: absolute;
  left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 42%; height: 24%; border-radius: 6px;
  background: linear-gradient(135deg, rgba(255,255,255,0.85), rgba(180,205,255,0.6));
  box-shadow: 0 0 24px rgba(255,255,255,0.4);
}

.viz-gears{
  position: relative; width: 75%; aspect-ratio: 1/0.7;
  display: grid; place-items: center;
}
.gear{
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ffffff 0%, #b9d4ff 30%, #3b82f6 65%, #1e3a8a 100%);
  box-shadow:
    0 14px 30px rgba(59,130,246,0.45),
    inset -6px -10px 20px rgba(0,0,0,0.3),
    inset 4px 6px 12px rgba(255,255,255,0.4);
}
.gear.g1{ width: 60%; height: 84%; top: 8%; left: 5%; animation: spin 14s linear infinite; }
.gear.g2{ width: 40%; height: 56%; bottom: 0; right: 8%; animation: spin 10s linear infinite reverse; }
.gear::before{
  content: ""; position: absolute; inset: 18%;
  border-radius: 50%; border: 1px dashed rgba(255,255,255,0.4);
}
.gear::after{
  content: ""; position: absolute; inset: 35%;
  border-radius: 50%;
  background: radial-gradient(circle, #fff, #c5dbff);
  box-shadow: 0 0 10px rgba(255,255,255,0.7);
}
@keyframes spin{ to { transform: rotate(360deg); } }

.viz-chart{
  width: 80%; aspect-ratio: 16/9;
  background: rgba(255,255,255,0.03);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  padding: 18px;
  display: flex; flex-direction: column; gap: 10px;
  position: relative; overflow: hidden;
}
.viz-chart::before{
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(40% 60% at 80% 100%, rgba(59,130,246,0.25), transparent 60%);
}
.viz-chart .lbl{ height: 6px; width: 30%; background: rgba(255,255,255,0.15); border-radius: 3px; }
.viz-chart .row{ display: flex; gap: 8px; align-items: end; flex: 1; }
.viz-chart .row i{
  flex: 1;
  background: linear-gradient(180deg, var(--blue-2), var(--blue));
  border-radius: 3px 3px 0 0;
  box-shadow: 0 -4px 14px rgba(59,130,246,0.5);
}

.viz-core{
  position: relative; width: 60%; aspect-ratio: 1/1;
  display: grid; place-items: center;
}
.viz-core .core{
  width: 70%; height: 70%; border-radius: 50%;
  background: radial-gradient(circle at 30% 28%, #ffffff 0%, #c5dbff 25%, #3b82f6 60%, #0d3aa3 100%);
  box-shadow:
    0 0 60px rgba(59,130,246,0.6),
    inset -10px -16px 30px rgba(0,0,0,0.35),
    inset 8px 12px 20px rgba(255,255,255,0.5);
  animation: floatY 5s ease-in-out infinite;
}
@keyframes floatY{
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-14px); }
}
.viz-core .o-ring{
  position: absolute; inset: 6%;
  border-radius: 50%;
  border: 1px solid rgba(59,130,246,0.45);
  mask: conic-gradient(from 0deg, transparent 0%, #000 25%, transparent 50%, #000 75%, transparent 100%);
  -webkit-mask: conic-gradient(from 0deg, transparent 0%, #000 25%, transparent 50%, #000 75%, transparent 100%);
  animation: spin 12s linear infinite;
}
.viz-core .o-ring.r2{ inset: -6%; animation-duration: 18s; animation-direction: reverse; }

.solutions-cta{ margin-top: 32px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ====================== 9. PROCESSO =============================== */
.process-track{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step{
  position: relative;
  padding: 28px 24px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
  box-shadow: 0 12px 30px rgba(11,11,11,0.04);
}
.step:hover{
  transform: translateY(-4px);
  border-color: rgba(59,130,246,0.4);
  box-shadow: 0 24px 60px rgba(11,11,11,0.08), 0 0 30px rgba(59,130,246,0.12);
}
.step-icon{
  width: 56px; height: 56px; border-radius: 14px;
  background: linear-gradient(180deg, #ffffff, #e7efff);
  border: 1px solid rgba(59,130,246,0.25);
  box-shadow: 0 12px 26px rgba(59,130,246,0.18), inset 0 1px 0 rgba(255,255,255,0.9);
  color: var(--blue);                /* SVG puxa essa cor via currentColor */
  display: grid; place-items: center;
  margin-bottom: 24px;
  position: relative; overflow: hidden;
  /* Snappy easing — partida suave, leve overshoot ao final (~27%) */
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
              background 0.4s ease, border-color 0.4s ease, color 0.4s ease, box-shadow 0.4s ease;
}
.step-icon svg{
  width: 26px; height: 26px;
  filter: drop-shadow(0 0 6px rgba(59,130,246,0.45));
  transition: filter 0.4s ease;
}
/* Hover do card: ícone descola, vira preenchido em azul, ícone fica branco */
.step:hover .step-icon{
  transform: translate(6px, -6px) scale(1.05);
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-3) 100%);
  border-color: rgba(255,255,255,0.25);
  color: #FFFFFF;                    /* SVG fica branco automaticamente */
  box-shadow:
    0 18px 40px rgba(59,130,246,0.32),
    0 0 24px rgba(59,130,246,0.38),
    inset 0 1px 0 rgba(255,255,255,0.18);
}
.step:hover .step-icon svg{
  filter: drop-shadow(0 0 4px rgba(255,255,255,0.4));
}
.step-num{ font-size: 11px; color: var(--blue); letter-spacing: 0.18em; font-weight: 600; }
.step-name{ font-size: 22px; font-weight: 500; letter-spacing: -0.02em; margin: 8px 0; color: var(--ink); }
.step-desc{ font-size: 13.5px; color: var(--muted); line-height: 1.55; }

/* ====================== 10. CASES ================================= */
.cases-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case{
  padding: 28px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 20px;
  display: flex; flex-direction: column; gap: 18px;
  transition: transform var(--t-base), border-color var(--t-base), box-shadow var(--t-base);
  box-shadow: 0 14px 30px rgba(11,11,11,0.04);
}
.case:hover{
  transform: translateY(-4px);
  border-color: rgba(59,130,246,0.4);
  box-shadow: var(--shadow-card-hv);
}
.case.featured{ background: var(--ink); color: #fff; border-color: rgba(255,255,255,0.06); }
.case.featured .quote, .case.featured .author-name{ color: #fff; }
.case.featured .author-role{ color: rgba(255,255,255,0.6); }

.case-tags{ display: flex; gap: 6px; flex-wrap: wrap; }
.case-tag{
  font-size: 10.5px; padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--blue-soft); color: var(--blue-3);
  letter-spacing: 0.04em; font-weight: 500;
}
.case.featured .case-tag{ background: rgba(255,255,255,0.08); color: #cfe0ff; }
.quote{ font-size: 15px; line-height: 1.55; color: var(--ink-2); letter-spacing: -0.005em; flex: 1; }
.case-meta{
  display: flex; align-items: center; gap: 12px;
  padding-top: 14px; border-top: 1px solid rgba(11,11,11,0.06);
}
.case.featured .case-meta{ border-top-color: rgba(255,255,255,0.08); }
.avatar{
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, #3B82F6, #93c5fd);
  border: 1px solid rgba(255,255,255,0.4);
  flex-shrink: 0;
}
.author-name{ font-size: 14px; font-weight: 500; color: var(--ink); }
.author-role{ font-size: 12px; color: var(--muted); }

/* ====================== 11. CONTATO (Liquid Chrome) =============== */
.contact{
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, #ffffff, #f6f8ff);
  box-shadow: 0 30px 60px rgba(11,11,11,0.06);
  overflow: hidden;
}

.contact-dark{
  background: #0B0B0B;
  border-color: rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 0;
}
.contact-canvas{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: block;
}
.contact-content{
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  padding: 56px;
}
.contact-eyebrow{ color: var(--blue-2) !important; }
.contact-eyebrow::before{
  background: var(--blue-2) !important;
  box-shadow: 0 0 6px var(--blue-2) !important;
}
.contact-dark h2{
  color: #fff;
  font-size: clamp(34px, 3.6vw, 48px);
  line-height: 1.02; letter-spacing: -0.03em;
  font-weight: 600; margin: 12px 0 14px;
  text-wrap: balance;
}
.contact-dark h2 em{
  color: rgba(255, 255, 255, 0.55);
  font-style: italic; font-weight: 500;
}
.contact-dark p{
  color: rgba(255, 255, 255, 0.7);
  font-size: 15.5px; line-height: 1.55;
}
.contact-info{
  margin-top: 24px;
  display: flex; flex-direction: column; gap: 10px;
  font-size: 14px;
}
.contact-info a{
  color: #fff;
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-fast);
  width: fit-content;
}
.contact-info a:hover{ border-bottom-color: var(--blue-2); }

.form{
  background: rgba(11, 11, 11, 0.55);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 20px;
  padding: 28px;
  color: #fff;
  position: relative;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}
.form-row{ display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; position: relative; z-index: 2; }
.form-row label{
  font-size: 11.5px; color: rgba(255,255,255,0.55);
  letter-spacing: 0.06em; text-transform: uppercase;
}
.form-row input,
.form-row textarea{
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  color: #fff;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  outline: none;
  transition: border-color var(--t-fast), background var(--t-fast), box-shadow var(--t-fast);
}
.form-row input::placeholder,
.form-row textarea::placeholder{ color: rgba(255,255,255,0.35); }
.form-row input:focus,
.form-row textarea:focus{
  border-color: var(--blue);
  background: rgba(255,255,255,0.08);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.2);
}
.form-row textarea{ min-height: 90px; resize: vertical; }
.form-cta{ width: 100%; justify-content: center; margin-top: 6px; position: relative; z-index: 2; }

/* ====================== 12. FOOTER ================================ */
.footer{
  background: var(--ink);
  color: #fff;
  margin-top: 80px;
  padding: 80px 0 32px;
  position: relative;
  overflow: hidden;
}
.footer::before{
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(1000px 400px at 50% 0%, rgba(59,130,246,0.25), transparent 60%);
}
.footer .container{ position: relative; z-index: 2; }
.footer .logo{ color: #fff; }
.footer-grid{ display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; }
.footer-brand p{
  color: rgba(255,255,255,0.55);
  font-size: 14px; line-height: 1.6;
  max-width: 320px; margin-top: 18px;
}
.footer-col h3{
  font-size: 11.5px; color: rgba(255,255,255,0.5);
  text-transform: uppercase; letter-spacing: 0.16em;
  margin: 0 0 18px; font-weight: 500;
}
.footer-col a{
  display: block;
  color: rgba(255,255,255,0.85);
  font-size: 14px; margin: 10px 0;
  transition: color var(--t-fast);
}
.footer-col a:hover{ color: #fff; }
.footer-mega{
  font-size: clamp(120px, 18vw, 280px);
  line-height: 0.85;
  letter-spacing: -0.05em;
  font-weight: 600;
  color: rgba(255,255,255,0.04);
  margin: 24px 0 0;
  pointer-events: none; user-select: none;
}
.footer-bottom{
  margin-top: 64px; padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
  color: rgba(255,255,255,0.5); font-size: 12.5px;
}
.footer-bottom .legal{ display: flex; gap: 18px; }

/* ====================== 12b. AJUSTES SEMÂNTICOS =================== */
/* Resets para tags semânticas usadas na refatoração SEO */

/* Skip-to-content (acessibilidade) */
.skip-link{
  position: absolute;
  top: -40px;
  left: 8px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  transition: top .2s ease;
}
.skip-link:focus{ top: 0; outline: 2px solid var(--blue); }

/* Link ativo no menu */
.nav a.active,
.nav a[aria-current="page"]{
  color: var(--ink);
  background: rgba(11, 11, 11, 0.05);
  font-weight: 500;
}
.mobile-nav a[aria-current="page"]{
  color: var(--blue-3);
  background: var(--blue-soft);
}

/* <ol> processo */
.process-track{
  list-style: none;
  margin: 0;
  padding: 0;
}

/* <blockquote> nos cases */
.quote{
  margin: 0;
  font-style: normal;
  quotes: none;
}

/* <cite> nome do autor */
.author-name{
  font-style: normal;
  display: block;
}

/* <address> no contato */
address.contact-info{
  font-style: normal;
}

/* <header>/<footer> internos não devem herdar estilos visuais do header global */
.problems-head,
.section-head,
.case-meta{
  background: none;
  border: none;
}
.case-meta{ padding-top: 14px; border-top: 1px solid rgba(11,11,11,0.06); }
.case.featured .case-meta{ border-top-color: rgba(255,255,255,0.08); }

/* ====================== 13. REVEAL (gerenciado pelo GSAP) ========= */
/* `contain` isola reflow: ScrollTrigger não recalcula layout da página inteira */
.reveal, .s-card, .p-card, .case, .step {
  contain: layout style;
}
/*  Quando GSAP carrega, ele faz `gsap.set` no estado inicial e anima
    via ScrollTrigger. Aqui só temos o fallback CSS para o caso de
    GSAP NÃO carregar (CDN bloqueado, etc.) — IntersectionObserver
    em scripts.js adiciona a classe .in nesse cenário.              */
.reveal.in{ opacity: 1; transform: translateY(0); }

/* Headline word-stagger — cada palavra é um inline-block para o GSAP
   poder animar transform/blur sem quebrar o flow de linhas */
.headline-word{
  display: inline-block;
  line-height: inherit;
  white-space: pre;
}

@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal{ opacity: 1; transform: none; filter: none; }
  .headline-word{ opacity: 1; transform: none; filter: none; }
}

/* ====================== 14b. PÁGINAS INTERNAS ===================== */

/* Page-hero (cabeçalho menor das páginas internas) */
.page-hero{
  padding: 40px 0 70px;          /* main já reserva 100px p/ o header fixo */
  position: relative;
}
.page-hero h1{
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 600;
  margin: 18px 0 0;
  color: var(--ink);
  text-wrap: balance;
  max-width: 820px;
}
.page-hero h1 em{ font-style: italic; font-weight: 500; color: var(--muted); }
.page-hero h1 .blue{ color: var(--blue); }
.page-hero .sub{
  font-size: 19px;
  max-width: 640px;
  color: var(--gray-text);
  line-height: 1.55;
  margin-top: 20px;
}
.page-hero .hero-ctas{ margin-top: 32px; }

/* ----- Page hero split (texto + bento) ----- */
.page-hero-split{ padding: 120px 0 60px; }
.page-hero-grid{
  display: grid;
  grid-template-columns: 6fr 4fr;
  gap: 56px;
  align-items: center;
}
.page-hero-split .page-hero-copy h1{ max-width: 720px; }
.page-hero-split .page-hero-copy .sub{ max-width: 580px; }

/* ----- Bento grid (variante institucional) ----- */
.bento{
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  width: 100%;
  max-width: 480px;
  margin-left: auto;
  min-height: 420px;
}
.bento-card{
  position: relative;
  padding: 22px 22px 20px;
  border-radius: 18px;
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.72);
  box-shadow:
    0 14px 38px rgba(11,11,11,0.06),
    inset 0 1px 0 rgba(255,255,255,0.85);
  display: flex; flex-direction: column;
  overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
  will-change: transform;
}
.bento-card:hover{
  border-color: rgba(59,130,246,0.4);
  box-shadow:
    0 22px 56px rgba(11,11,11,0.08),
    0 0 28px rgba(59,130,246,0.14),
    inset 0 1px 0 rgba(255,255,255,0.85);
}
.bento-a{ grid-row: 1 / 3; justify-content: space-between; animation: bentoFloatA 8s ease-in-out infinite; }
.bento-b{ justify-content: space-between; animation: bentoFloatB 7s ease-in-out infinite .4s; }
.bento-c{ justify-content: space-between; animation: bentoFloatC 9s ease-in-out infinite .8s; }
@keyframes bentoFloatA{ 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-6px); } }
@keyframes bentoFloatB{ 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-4px); } }
@keyframes bentoFloatC{ 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-5px); } }

.bento-eyebrow{
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--blue);
}
.bento-num{
  font-size: clamp(48px, 6vw, 72px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--ink);
  font-weight: 500;
  margin: 6px 0 0;
}
.bento-num.small{ font-size: clamp(36px, 4.6vw, 54px); }
.bento-num-suffix{
  font-size: 16px; font-weight: 400; color: var(--muted);
  margin-left: 8px; letter-spacing: 0;
}
.bento-label{
  font-size: 13px; color: var(--gray-text); line-height: 1.45;
  margin-top: 6px;
}
.bento-label.strong{
  font-size: 18px;
  color: var(--ink);
  font-weight: 500;
  margin-top: 0;
  letter-spacing: -0.01em;
}
.bento-foot{
  font-size: 11px; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.14em;
  margin-top: 12px;
}
.bento-accent{
  position: absolute; bottom: 0; left: 22px;
  width: 36px; height: 2px;
  background: var(--blue);
  box-shadow: 0 0 12px var(--blue);
}

/* Mini barchart em CSS puro */
.bento-chart{
  display: flex; align-items: flex-end; gap: 6px;
  height: 70px;
  margin-bottom: 8px;
}
.bento-chart span{
  flex: 1;
  height: var(--h);
  background: linear-gradient(180deg, var(--blue-2), var(--blue));
  border-radius: 3px 3px 0 0;
  box-shadow: 0 0 14px rgba(59,130,246,0.45);
  transform-origin: bottom;
  animation: barRise .9s ease-out backwards;
}
.bento-chart span:nth-child(1){ animation-delay: .10s; }
.bento-chart span:nth-child(2){ animation-delay: .20s; }
.bento-chart span:nth-child(3){ animation-delay: .30s; }
.bento-chart span:nth-child(4){ animation-delay: .40s; }
.bento-chart span:nth-child(5){ animation-delay: .50s; }
@keyframes barRise{
  from{ transform: scaleY(0); opacity: 0; }
  to  { transform: scaleY(1); opacity: 1; }
}

@media (max-width: 920px){
  .page-hero-split{ padding: 100px 0 40px; }
  .page-hero-grid{ grid-template-columns: 1fr; gap: 40px; }
  .bento{ margin: 0 auto; max-width: 520px; }
}
@media (max-width: 640px){
  .bento{ min-height: 360px; gap: 10px; }
  .bento-card{ padding: 18px; }
}

/* Breadcrumb */
.breadcrumb{
  display: flex;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
}
.breadcrumb a{ color: var(--muted); transition: color var(--t-fast); }
.breadcrumb a:hover{ color: var(--blue); }
.breadcrumb [aria-current]{ color: var(--blue); }
.breadcrumb-sep{ color: var(--muted-2); }

/* === Sobre — valores === */
.values-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 48px;
}
.value-card{
  padding: 32px 28px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: transform var(--t-base), border-color var(--t-base), box-shadow var(--t-base);
  box-shadow: var(--shadow-card);
}
.value-card:hover{
  transform: translateY(-3px);
  border-color: rgba(59,130,246,0.35);
  box-shadow: var(--shadow-card-hv);
}
.value-icon{
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--blue-soft);
  display: grid; place-items: center;
  margin-bottom: 18px;
  color: var(--blue-3);
  font-size: 22px;
  font-weight: 600;
}
.value-card h3{
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin: 0 0 8px;
  color: var(--ink);
}
.value-card p{
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

/* === Sobre — Time === */
.team-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(0, 240px));
  justify-content: center;
  gap: 32px;
  margin-top: 48px;
}
.team-member{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.team-avatar{
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 20px;
  background: linear-gradient(135deg, #3B82F6, #93c5fd);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow:
    0 18px 50px rgba(11,11,11,0.10),
    0 0 60px rgba(59,130,246,0.18),
    inset 0 1px 0 rgba(255,255,255,0.20);
  transition: transform .4s ease, box-shadow .45s ease, border-color .35s ease;
  isolation: isolate;
}
.team-avatar::after{
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 22%, rgba(255,255,255,0.16), transparent 65%);
  pointer-events: none;
  z-index: 1;
  transition: opacity .4s ease;
}
.team-avatar img{
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform .55s ease;
}

/* Hover: zoom suave na foto + glow azul mais forte */
.team-member:hover .team-avatar{
  border-color: rgba(255,255,255,0.24);
  box-shadow:
    0 26px 70px rgba(11,11,11,0.14),
    0 0 90px rgba(59,130,246,0.34),
    inset 0 1px 0 rgba(255,255,255,0.22);
}
.team-member:hover .team-avatar img{
  transform: scale(1.05);
}
.team-member:hover .team-avatar::after{
  opacity: .7;
}

.team-name{
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-top: 20px;
  display: block;
}
.team-role{
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-top: 6px;
  display: block;
}

/* Light form para página de contato */
.form-light{
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  color: var(--ink);
  box-shadow: var(--shadow-card);
}
.form-light .form-row label{
  color: var(--muted);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.form-light .form-row input,
.form-light .form-row textarea{
  background: var(--bg);
  border: 1px solid var(--line-2);
  color: var(--ink);
}
.form-light .form-row input::placeholder,
.form-light .form-row textarea::placeholder{ color: var(--muted-2); }
.form-light .form-row input:focus,
.form-light .form-row textarea:focus{
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(59,130,246,0.15);
}

/* CTA section padronizada */
.cta-section{
  padding: 60px 0 100px;
  text-align: center;
}
.cta-section h2{
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
  color: var(--ink);
  text-wrap: balance;
}
.cta-section p{
  color: var(--muted);
  font-size: 16px;
  margin: 0 auto 28px;
  max-width: 540px;
}
.cta-section .hero-ctas{ justify-content: center; }

@media (max-width: 1024px){
  .values-grid{ grid-template-columns: 1fr; }
  .team-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px){
  .page-hero{ padding: 24px 0 50px; }
  .team-grid{ grid-template-columns: 1fr 1fr; gap: 14px; }
  .form-light{ padding: 24px; }
}

/* ====================== 14c. SOLUÇÕES — Editorial Numbered ======== */
/* Hero centralizado no topo da página */
.solucoes-hero{
  position: relative;
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
  padding: 40px 24px 64px;
}
.solucoes-hero .breadcrumb{ justify-content: center; margin-bottom: 16px; }
.solucoes-hero .section-eyebrow{ justify-content: center; margin-bottom: 16px; }
.solucoes-hero h1{
  font-size: clamp(2.5rem, 5.2vw, 4.6rem);
  line-height: 1.0;
  letter-spacing: -0.04em;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 22px;
  text-wrap: balance;
}
.solucoes-hero h1 em{ font-style: italic; font-weight: 500; color: var(--muted); }
.solucoes-hero h1 .blue{ color: var(--blue); }
.solucoes-hero .sub{
  margin: 0 auto 32px;
  max-width: 620px;
  font-size: 18px; line-height: 1.55;
  color: var(--gray-text);
}
.solucoes-hero .hero-ctas{ justify-content: center; }

/* Scroll cue — texto micro-caps + linha vertical com traço azul deslizando.
   Linguagem visual minimalista. Click rola até a 1ª solução. */
.scroll-cue{
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin: 56px auto 0;
  padding: 6px 16px;            /* área clicável generosa */
  cursor: pointer;
  text-decoration: none;
}
.scroll-cue-text{
  font-size: 10.5px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  transition: color 0.3s ease;
}
.scroll-cue-line{
  position: relative;
  display: block;
  width: 1px;
  height: 52px;
  background: var(--line-2);
  overflow: hidden;
}
.scroll-cue-line::before{
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 18px;
  background: linear-gradient(180deg, transparent 0%, var(--blue) 100%);
  animation: scrollCueDrift 2.2s cubic-bezier(0.55, 0, 0.45, 1) infinite;
  will-change: transform;
}
@keyframes scrollCueDrift{
  0%   { transform: translateY(-100%); }
  100% { transform: translateY(380%); }
}
.scroll-cue:hover .scroll-cue-text{ color: var(--blue); }
.scroll-cue:hover .scroll-cue-line{ background: rgba(59,130,246,0.20); }
@media (prefers-reduced-motion: reduce){
  .scroll-cue-line::before{
    animation: none;
    opacity: 0.5;
    transform: translateY(120%);
  }
}

/* Container editorial — leitura vertical, alternando lados */
.solutions-editorial{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px 64px;
  position: relative;
}

/* Cada solução é uma "scene" sticky — fica fixa enquanto o usuário lê,
   a próxima empurra-a para fora ao chegar */
.sol-row{
  position: sticky;
  top: 80px;                    /* logo abaixo do header pílula */
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: 96px 0;
  border-top: 1px solid var(--line);
  background: var(--bg);        /* sólido para "substituir" a anterior limpamente */
  min-height: 60vh;             /* dwell time — tempo de leitura por scene */
  isolation: isolate;
}
.sol-row:first-child{ border-top: none; padding-top: 56px; }
.sol-row.reverse{
  grid-template-columns: 1fr minmax(220px, 320px);
}
.sol-row.reverse .sol-numeral{ order: 2; text-align: right; }

/* Numeral monumental — gradient azul, baixa opacidade, sensação editorial */
.sol-numeral{
  position: relative;
  font-size: clamp(7rem, 12vw, 12rem);
  font-weight: 600;
  line-height: 0.85;
  letter-spacing: -0.06em;
  background: linear-gradient(180deg, var(--blue) 0%, var(--blue-3) 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  opacity: 0.20;
  user-select: none;
  pointer-events: none;
  display: block;
  /* fallback se browser não renderizar gradient text */
  text-shadow: 0 0 0 var(--blue);
}

/* Coluna de conteúdo */
.sol-content{
  max-width: 600px;
}
.sol-row.reverse .sol-content{ margin-left: auto; }

.sol-content .card-icon{
  width: 52px; height: 52px;
  border-radius: 13px;
  background: rgba(59,130,246,0.10);
  color: var(--blue);
  display: grid; place-items: center;
  margin-bottom: 22px;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.4s ease,
              color 0.4s ease,
              box-shadow 0.4s ease;
  will-change: transform;
}
.sol-content .card-icon svg{
  width: 26px; height: 26px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Hover do card editorial — levitação sutil + ícone gira + glow azul */
.sol-row{
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.sol-row:hover{
  transform: translateY(-3px);
}
.sol-row:hover .card-icon{
  transform: rotate(-8deg) scale(1.08);
  background: rgba(59,130,246,0.18);
  color: var(--blue-3);
  box-shadow: 0 12px 28px rgba(59,130,246,0.18);
}
.sol-row:hover .sol-numeral{
  opacity: 0.32;          /* numeral ganha presença no hover */
}
.sol-numeral{
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.sol-content .card-tag{
  font-size: 11px;
  color: var(--blue);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  display: inline-block;
}
.sol-content h2{
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 600;
  color: var(--ink);
  margin: 14px 0 18px;
  text-wrap: balance;
}
.sol-content h2 em{ font-style: italic; font-weight: 500; color: var(--muted); }
.sol-content p{
  color: var(--gray-text);
  font-size: 17px; line-height: 1.6;
  margin: 0 0 24px;
  max-width: 540px;
}
.sol-content .card-list{
  list-style: none; padding: 0; margin: 0 0 28px;
  display: grid; gap: 10px;
}
.sol-content .card-list li{
  position: relative;
  padding-left: 22px;
  font-size: 14.5px; color: var(--gray-text);
  line-height: 1.55;
}
.sol-content .card-list li::before{
  content: "";
  position: absolute; left: 0; top: 9px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 8px var(--blue);
}
.sol-content .card-cta{
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 500;
  color: var(--blue);
  transition: color 0.25s ease;
}
.sol-content .card-cta:hover{ color: var(--blue-3); }
.sol-content .card-cta .arrow{ transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1); }
.sol-content .card-cta:hover .arrow{ transform: translateX(4px); }

/* ====================== 14d. CASES — Editorial Sticky ============= */
.cases-editorial{
  display: grid;
  grid-template-columns: 40% 60%;
  gap: 64px;
  align-items: start;
  padding: 32px 0 80px;
}
.cases-sticky{
  position: sticky;
  top: 120px;
  align-self: start;
}
.cases-sticky .breadcrumb{ margin-bottom: 16px; }
.cases-sticky h1{
  font-size: clamp(2.4rem, 4.2vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 600;
  color: var(--ink);
  margin: 16px 0 20px;
  text-wrap: balance;
}
.cases-sticky h1 .blue{ color: var(--blue); }
.cases-sticky .sub{
  font-size: 17px; line-height: 1.6;
  color: var(--gray-text);
  margin: 0 0 28px;
  max-width: 420px;
}
.cases-sticky .sticky-meta{
  display: flex; gap: 32px; flex-wrap: wrap;
  padding-top: 22px; margin-top: 22px;
  border-top: 1px solid var(--line);
}
.cases-sticky .sticky-meta-item .num{
  display: block;
  font-size: 28px; font-weight: 600;
  color: var(--ink); letter-spacing: -0.02em;
}
.cases-sticky .sticky-meta-item .num em{ font-style: normal; color: var(--blue); }
.cases-sticky .sticky-meta-item .label{
  display: block;
  font-size: 11.5px; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.12em;
  margin-top: 2px;
}

.cases-stream{
  display: flex; flex-direction: column;
  gap: 18px;
}
.case-dark{
  position: relative;
  background: linear-gradient(180deg, #131316 0%, #0a0a0c 100%);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 36px 36px 60px;        /* espaço inferior reservado p/ o link absoluto */
  transition: transform var(--t-base), border-color var(--t-base);
}

/* Link "Veja o site ↗" — discreto no canto inferior direito.
   Hover: faixa de luz branca passa pelas letras (induz o clique).
   Técnica: 2 backgrounds layered clipados em texto:
     - bottom (estática): cor base 55% branco
     - top (animada): faixa branca brilhante off-screen → atravessa → off-screen */
.case-link{
  position: absolute;
  bottom: 20px;
  right: 24px;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  background-image:
    linear-gradient(100deg,
      transparent 30%,
      rgba(255,255,255,0.95) 50%,
      transparent 70%
    ),
    linear-gradient(rgba(255,255,255,0.55), rgba(255,255,255,0.55));
  background-size: 75% 100%, 100% 100%;
  background-position: -125% 0, 0 0;     /* shine off-screen à esquerda */
  background-repeat: no-repeat;
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.case-link .case-link-arrow{
  /* Arrow fora do bg-clip — opacity sobe no hover sem ser afetada pela luz */
  background: none;
  -webkit-background-clip: initial;
          background-clip: initial;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
  opacity: 0.55;
  font-size: 14px;
  display: inline-block;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1),
              opacity 0.3s ease;
}
.case-link:hover{
  animation: caseLinkShine 1.6s ease-in-out infinite;
}
.case-link:hover .case-link-arrow{
  transform: translate(3px, -3px);
  opacity: 1;
}
@keyframes caseLinkShine{
  0%   { background-position: -125% 0, 0 0; }   /* shine entra pela esquerda */
  100% { background-position: 225% 0, 0 0; }    /* shine sai pela direita */
}
@media (prefers-reduced-motion: reduce){
  .case-link:hover{ animation: none; }
  .case-link:hover .case-link-arrow{ opacity: 0.85; }
}
.case-dark:hover{
  transform: translateY(-3px);
  border-color: rgba(59,130,246,0.32);
}
.case-dark.case-featured-dark{
  padding: 44px;
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(59,130,246,0.18), transparent 60%),
    linear-gradient(180deg, #131316 0%, #0a0a0c 100%);
}
.case-dark .case-tags{
  display: flex; gap: 6px; flex-wrap: wrap;
  margin-bottom: 18px;
}
.case-dark .case-tag{
  font-size: 11px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.04em;
  border: 1px solid rgba(255,255,255,0.08);
}
.case-dark h2{
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.2;
  letter-spacing: -0.025em;
  font-weight: 600;
  color: #fff;
  margin: 0 0 12px;
  text-wrap: balance;
}
.case-dark .quote{
  font-size: 17px; line-height: 1.55;
  color: rgba(255,255,255,0.85);
  margin: 0 0 22px;
  font-style: normal;
  letter-spacing: -0.005em;
}
.case-dark .lead{
  font-size: 15px; color: rgba(255,255,255,0.72);
  margin: 0 0 22px; line-height: 1.6;
}
.case-dark .case-metrics{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 22px 0 6px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.case-dark .case-metric .num{
  display: block;
  font-size: 26px; font-weight: 600;
  color: #fff; letter-spacing: -0.02em;
}
.case-dark .case-metric .label{
  display: block;
  font-size: 11px; color: rgba(255,255,255,0.55);
  text-transform: uppercase; letter-spacing: 0.12em;
  margin-top: 4px;
}
.case-dark .case-meta{
  display: flex; align-items: center; gap: 12px;
  margin-top: 8px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.case-dark .avatar{
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-3));
}
.case-dark .author-name{
  font-style: normal; font-weight: 500; color: #fff;
  font-size: 14px;
}
.case-dark .author-role{
  font-size: 12px; color: rgba(255,255,255,0.5);
}

/* ====================== 14e. CONTATO — Immersive Focus ============ */
.contato-focus{
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 24px 36px;
}
.contato-focus .breadcrumb{ justify-content: center; }
.contato-focus .section-eyebrow{ justify-content: center; }
.contato-focus h1{
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  font-weight: 600;
  color: var(--ink);
  margin: 18px 0 18px;
  text-wrap: balance;
}
.contato-focus h1 .blue{ color: var(--blue); }
.contato-focus .sub{
  margin: 0 auto;
  max-width: 600px;
  font-size: 17px; line-height: 1.6;
  color: var(--gray-text);
}

/* === Mega card de contato — claro, minimalista (sem bordas duras) === */
.contact-glass-card{
  position: relative;
  max-width: 1000px;
  margin: 32px auto 80px;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.04);
  border-radius: 24px;
  box-shadow:
    0 20px 50px rgba(0,0,0,0.05),
    0 1px 3px rgba(0,0,0,0.04);
  display: flex;
  overflow: hidden;
}

/* Sidebar de informações — fundo super sutil, sem caixa visível */
.contact-info-bar{
  flex: 0 0 320px;
  background: #f8fafc;
  padding: 48px 36px;
  display: flex; flex-direction: column;
}
.contact-info-bar .info-block{
  display: flex; flex-direction: column;
  gap: 6px;
  margin-bottom: 2rem;
}
.contact-info-bar .info-label{
  font-size: 11px;
  color: var(--blue);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
}
.contact-info-bar .info-value{
  font-size: 16px;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: color var(--t-base);
}
.contact-info-bar .info-value:hover{ color: var(--blue); }
.contact-info-bar .info-sub{
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 2px;
}
.contact-info-bar .info-divider{ display: none; }
.contact-info-bar .info-social{
  margin-top: auto;
  display: flex; gap: 14px;
  padding-top: 1rem;
}
.contact-info-bar .info-social a{
  font-size: 13px;
  color: var(--ink);
  font-weight: 500;
  transition: color var(--t-base);
}
.contact-info-bar .info-social a:hover{ color: var(--blue); }

/* Coluna do formulário */
.contact-form-area{
  flex: 1;
  padding: 48px 44px;
  display: flex; flex-direction: column;
}
.contact-form-area.form-light{
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}
.contact-form-area h2{
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
  color: var(--ink);
}
.contact-form-area .form-intro{
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 28px;
}

/* === Inputs minimalistas (sem bordas escuras) === */
.contact-form-area .form-row{ margin-bottom: 14px; }
.contact-form-area .form-row label{
  display: block;
  font-size: 11.5px;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 6px;
}
.contact-form-area .form-row input,
.contact-form-area .form-row textarea{
  width: 100%;
  background: #f8fafc;
  border: none;
  border-radius: 8px;
  padding: 1rem 1.5rem;
  font-size: 14.5px;
  color: var(--ink);
  font-family: inherit;
  letter-spacing: -0.005em;
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.contact-form-area .form-row input::placeholder,
.contact-form-area .form-row textarea::placeholder{
  color: #94a3b8;
}
.contact-form-area .form-row input:focus,
.contact-form-area .form-row textarea:focus{
  outline: none;
  background: #ffffff;
  box-shadow: 0 0 0 2px var(--blue);
}
.contact-form-area .form-row textarea{
  min-height: 120px;
  resize: vertical;
  line-height: 1.55;
}

/* Submit button — full width gradient com glow */
.contact-form-area .form-cta{
  width: 100%;
  justify-content: center;
  padding: 14px 22px;
  margin-top: 8px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-3) 100%);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1),
              box-shadow 0.25s ease;
}
.contact-form-area .form-cta:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}
.contact-form-area .form-cta:disabled{
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

@media (max-width: 992px){
  /* Soluções: rows viram coluna única, numeral acima do conteúdo
     E desliga sticky — em telas pequenas leitura travada confunde */
  .solutions-editorial{ padding: 0 24px 48px; }
  .sol-row,
  .sol-row.reverse{
    position: static;          /* desliga sticky no mobile */
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 64px 0;
  }
  .sol-row.reverse .sol-numeral{ order: 0; text-align: left; }
  .sol-row.reverse .sol-content{ margin-left: 0; }
  .sol-numeral{
    font-size: clamp(5rem, 18vw, 8rem);
    opacity: 0.16;
  }

  .cases-editorial{ grid-template-columns: 1fr; gap: 32px; }
  .cases-sticky{ position: static; }

  .contact-glass-card{ flex-direction: column; }
  .contact-info-bar{ flex: 0 0 auto; }
}
@media (max-width: 640px){
  .solucoes-hero h1{ font-size: clamp(2.2rem, 9vw, 3.4rem); }
  .sol-row,
  .sol-row.reverse{ padding: 48px 0; }
  .sol-numeral{ font-size: clamp(4.5rem, 18vw, 6rem); }
  .scroll-cue{ margin-top: 44px; }
  .scroll-cue-line{ height: 40px; }

  .case-dark{ padding: 24px; }
  .case-dark.case-featured-dark{ padding: 28px; }
  .case-dark .case-metrics{ grid-template-columns: 1fr; gap: 14px; }

  .contact-info-bar{ padding: 32px 24px; }
  .contact-form-area{ padding: 32px 24px; }
}

/* ====================== 14. RESPONSIVE ============================ */
@media (max-width: 1100px){
  /* Tablet — grid colapsa para empilhar; notebook ainda imponente, badges
     ficam dentro do stage sem invadir o texto. */
  .hero-grid{
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 24px;
  }
  .hero-copy{ padding: 0; }
  .hero-stage{
    width: 100%; max-width: 620px;
    margin: 16px auto 0;
    min-height: 480px;
    aspect-ratio: 1.15 / 1;
  }
  /* Mobile/tablet: notebook centralizado, sem o vazamento de borda do desktop */
  .hero-notebook{
    --notebook-scale: 1;
    --notebook-shift-x: 0%;
  }
  .badge-projects { top: 4%;   left: 2%;   }
  .badge-retention{ top: 46%;  right: 2%;  }
  .badge-support  { bottom: 6%; left: 6%;  }
}

@media (max-width: 1024px){
  .problems-grid{ grid-template-columns: 1fr; }
  .solutions-grid{ grid-template-columns: 1fr; }
  .process-track{ grid-template-columns: 1fr 1fr; }
  .cases-grid{ grid-template-columns: 1fr; }
  .contact-content{ grid-template-columns: 1fr; padding: 36px; }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
  .section-head{ flex-direction: column; align-items: flex-start; }
  .section-desc{ max-width: 100%; }
}

@media (max-width: 768px){
  .nav{ display: none; }
  .nav-toggle{ display: flex; }
  .header-cta{ display: none; }

  /* Mobile — empilhamento elegante, escalas premium preservadas */
  .hero{ padding: 48px 0 48px; }
  .problems-head{ padding: 32px 0 56px; }
  .hero-title{
    font-size: clamp(2.4rem, 10vw, 3.8rem);
    line-height: 0.98;
  }
  .hero-stage{
    min-height: 380px;
    aspect-ratio: 1.2 / 1;
  }
  .spark{ display: none; }
  /* Badges em mobile: continuam absolutes mas em posições mais conservadoras
     para não competirem com o notebook no espaço pequeno */
  .badge-projects { top: 0;     left: 0;    }
  .badge-retention{ top: 44%;   right: 0;   }
  .badge-support  { bottom: 0;  left: 8%;   }
}

@media (max-width: 640px){
  .container{ padding: 0 20px; }
  .hero-notebook{ animation-duration: 5s; }
  .section{ padding: 80px 0; }
  .process-section,
  .cases-section{ padding-top: 40px; }
  .process-track{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand{ grid-column: span 2; }
  .form{ padding: 22px; }
  .contact-content{ padding: 24px; gap: 32px; }
  .footer-bottom{ flex-direction: column; align-items: flex-start; }
}

/* ====================== 15. MOUSE SPOTLIGHT (cards) =============== */
/*  Radial gradient azul que segue o cursor dentro de cada card.
    JS seta --mouse-x / --mouse-y em px relativos ao card.
    Estratégia: ::after com z-index:-1 + isolation:isolate.
    Spotlight fica DENTRO do stacking context do card mas ATRÁS do
    conteúdo — sem precisar forçar position:relative nos filhos. */
.s-card,
.case-dark,
.case,
.p-card,
.sol-row,
.team-member{
  --mouse-x: 50%;
  --mouse-y: 50%;
  --spotlight-color: rgba(59, 130, 246, 0.10);
  --spotlight-size: 420px;
  isolation: isolate;
}
/* Cards escuros — spotlight mais saturado/azul-claro p/ contrastar */
.s-card,
.case-dark{
  --spotlight-color: rgba(96, 165, 250, 0.22);
}

.s-card::after,
.case-dark::after,
.case::after,
.p-card::after,
.sol-row::after,
.team-member::after{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(
    var(--spotlight-size) circle at var(--mouse-x) var(--mouse-y),
    var(--spotlight-color) 0%,
    transparent 55%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: -1;
}
.s-card:hover::after,
.case-dark:hover::after,
.case:hover::after,
.p-card:hover::after,
.sol-row:hover::after,
.team-member:hover::after{
  opacity: 1;
}

@media (prefers-reduced-motion: reduce){
  .s-card::after, .case-dark::after, .case::after,
  .p-card::after, .sol-row::after, .team-member::after{
    display: none;
  }
}

/* ====================== 16. MOBILE UX — CORREÇÕES =================== */

/* iOS: evita zoom automático em inputs (font-size mínimo 16px) */
@media (max-width: 768px){
  .form-row input,
  .form-row textarea,
  .contact-form-area .form-row input,
  .contact-form-area .form-row textarea{
    font-size: 16px !important;
  }

  /* Touch targets mínimos 44px p/ botões (WCAG / Apple HIG) */
  .btn{
    min-height: 44px;
    padding: 12px 20px;
  }

  /* Seções: padding vertical reduzido em mobile */
  .section{ padding: 64px 0; }
  .process-section,
  .cases-section{ padding-top: 32px; }
}

/* Telas muito pequenas — afina paddings/clamps p/ evitar overflow */
@media (max-width: 480px){
  .container{ padding: 0 16px; }
  .hero{ padding: 32px 0 40px; }
  .hero-title{
    font-size: clamp(2.1rem, 9.5vw, 3.2rem);
  }
  .problems-head{ padding: 24px 0 40px; }
  .problems-head h2{ font-size: clamp(22px, 6.5vw, 30px); }
  .float-badge{ display: none; } /* evita overflow no hero em telas muito pequenas */
  .section-title{ font-size: clamp(28px, 8vw, 42px); }
  .footer-mega{ font-size: clamp(80px, 22vw, 160px); }

  /* Formulário contato: full-width */
  .contact-glass-card{ border-radius: 16px; }
  .contact-info-bar{ padding: 24px 16px; }
  .contact-form-area{ padding: 24px 16px; }
  .form-light{ padding: 20px 16px; }
}

/* Botão WhatsApp FAB: não sobrepõe conteúdo em mobile */
@media (max-width: 768px){
  .whatsapp-fab{
    bottom: 16px !important;
    right: 12px !important;
  }
}

/* ====================== 17. BACK TO TOP =========================== */
/* Glass-look igual ao header: white translucent, blur, border sutil, shadow */
.back-to-top{
  position: fixed;
  bottom: 92px;
  right: 28px;
  z-index: 9998;             /* abaixo do WhatsApp (9999) caso se sobreponham */
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid var(--line);
  box-shadow:
    0 8px 30px rgba(11,11,11,0.06),
    inset 0 1px 0 rgba(255,255,255,0.6);
  color: var(--ink);
  display: grid; place-items: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition:
    opacity .3s ease,
    transform .3s ease,
    background .25s ease,
    box-shadow .25s ease,
    border-color .25s ease;
}
.back-to-top.visible{
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.back-to-top:hover{
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(59,130,246,0.4);
  box-shadow:
    0 12px 36px rgba(11,11,11,0.10),
    inset 0 1px 0 rgba(255,255,255,0.7);
  transform: translateY(-3px);
  color: var(--blue-3);
}
.back-to-top:active{ transform: translateY(0); }
.back-to-top:focus-visible{
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}
.back-to-top svg{
  width: 18px; height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 768px){
  .back-to-top{
    bottom: 76px;            /* fica acima do WhatsApp FAB (bottom: 16 + ~52 + 8 spacing) */
    right: 12px;
    width: 44px; height: 44px;
  }
}
