/* =================================================================
   Blank Solutions — IA & Automação para empresas
   Tema escuro unificado (premium). Re-skin: edita as variáveis em :root.
   Paleta e tipografia 100% conforme Brand Guidelines V1.0.
   ================================================================= */

/* -----------------------------------------------------------------
   1. TOKENS
   ----------------------------------------------------------------- */
:root {
  /* Cores base (apenas valores HEX aprovados) */
  --ink: #0A0F1E;        /* fundo premium escuro */
  --cobalt: #0052CC;     /* principal */
  --electric: #0066FF;   /* CTAs / acção */
  --cyan: #00B4D8;       /* acento técnico */
  --glacial: #D6E4FF;    /* superfícies / cards (claro) */
  --surface: #F0F4FF;    /* fundo claro */
  /* Acento azul — botões + highlights */
  --accent: #0066FF;
  --accent-hover: #0052CC;
  --shadow-cta-accent: 0 8px 24px rgba(0, 102, 255, 0.35);
  --warn: #FFB020;
  --slate: #64748B;      /* texto auxiliar */
  --white: #FFFFFF;

  /* Superfícies / texto em tema escuro (transparências dos HEX base) */
  --text: rgba(255, 255, 255, 0.96);
  --text-muted: rgba(255, 255, 255, 0.70);
  --text-faint: rgba(255, 255, 255, 0.55);
  --card: rgba(92, 138, 222, 0.10);        /* cobalto clareado com branco (dá vida) */
  --card-hover: rgba(120, 162, 255, 0.16); /* hover elétrico com branco */
  /* Superfície dos cards: brilho branco no topo (vidro) sobre o tom azul */
  --card-surface: linear-gradient(180deg, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0.02) 55%), var(--card);
  --card-surface-hover: linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.03) 55%), var(--card-hover);
  --line: rgba(255, 255, 255, 0.10);
  --line-strong: rgba(255, 255, 255, 0.18);
  --white-12: rgba(255, 255, 255, 0.12);
  --white-08: rgba(255, 255, 255, 0.08);
  --electric-12: rgba(0, 102, 255, 0.14);

  /* Gradiente — apenas em fundos/hero (Brand Guidelines) */
  --grad-hero: linear-gradient(135deg, #0052CC 0%, #0066FF 100%);

  /* Tipografia */
  --font-display: "Inter", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", monospace;

  --fs-display: clamp(2.75rem, 7vw, 5.75rem);
  --fs-h2: clamp(1.9rem, 4vw, 3rem);
  --fs-h3: clamp(1.25rem, 2vw, 1.6rem);
  --fs-lead: clamp(1.05rem, 1.6vw, 1.3rem);
  --fs-body: 1.0625rem;
  --fs-label: 0.78rem;

  /* Raios (conforme guidelines) */
  --r-card: 8px;
  --r-card-sm: 6px;
  --r-btn: 4px;

  /* Espaçamento */
  --space-section: clamp(2.5rem, 5vw, 4rem);
  --maxw: 1180px;
  --gutter: clamp(1.25rem, 5vw, 3rem);

  /* Sombras / brilhos */
  --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.3), 0 18px 40px rgba(0, 0, 0, 0.35);
  --shadow-cta: 0 8px 24px rgba(0, 102, 255, 0.35);
  --glow-edge: 0 0 0 1px rgba(0, 102, 255, 0.35), 0 18px 44px rgba(0, 82, 204, 0.28);
  --t-fast: 160ms cubic-bezier(0.4, 0, 0.2, 1);
  --t-med: 320ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.6;
  color: var(--text);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
}

/* Ambiente de cor contínuo no site inteiro (o "encontro de cores") */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -10;
  pointer-events: none;
  background:
    radial-gradient(58% 48% at 86% 6%, rgba(0, 102, 255, 0.22) 0%, transparent 60%),
    radial-gradient(50% 44% at 8% 26%, rgba(0, 82, 204, 0.18) 0%, transparent 62%),
    radial-gradient(54% 50% at 78% 64%, rgba(0, 180, 216, 0.10) 0%, transparent 66%),
    radial-gradient(52% 50% at 16% 92%, rgba(0, 102, 255, 0.16) 0%, transparent 60%);
}
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); line-height: 1.05; letter-spacing: -0.02em; color: var(--text); }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

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

/* -----------------------------------------------------------------
   3. UTILITÁRIOS
   ----------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

.section { padding-block: var(--space-section); position: relative; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
}

.section-head { max-width: 880px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head h2 { font-size: var(--fs-h2); margin-top: 1rem; font-weight: 700; text-wrap: balance; }
.section-head p { margin-top: 1.1rem; font-size: var(--fs-lead); color: var(--text-muted); max-width: 640px; margin-inline: auto; }

.section-num {
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--text-faint);
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.01em;
  padding: 0.95rem 1.6rem;
  border-radius: var(--r-btn);
  transition: transform var(--t-fast), box-shadow var(--t-fast), background var(--t-fast), border-color var(--t-fast);
  white-space: nowrap;
}
.btn i { font-size: 1.15em; }
.btn--primary { background: var(--accent); color: #ffffff; box-shadow: var(--shadow-cta-accent); }
.btn--primary:hover { transform: translateY(-2px); background: var(--accent-hover); }
.btn--ghost { background: transparent; color: var(--white); border: 1px solid var(--line-strong); }
.btn--ghost:hover { background: var(--white-08); border-color: var(--white); }

/* -----------------------------------------------------------------
   4. HEADER / NAV
   ----------------------------------------------------------------- */
/* Indicador de progresso de scroll (barra da marca no topo) */
.scroll-progress {
  position: fixed;
  top: 2.6rem; /* na parte inferior da barra de vagas (que tem 2.6rem de altura) */
  left: 0;
  height: 3px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--accent) 0%, #7cb0ff 55%, var(--accent) 100%);
  box-shadow: 0 0 10px rgba(0, 102, 255, 0.65);
  z-index: 200;
  will-change: transform;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .scroll-progress { transition: none; }
}

/* Barra de vagas (urgência) no topo — fixa, acompanha o scroll */
.top-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  white-space: nowrap;
  min-height: 2.6rem;
  padding: 0.35rem 1rem;
  background: linear-gradient(90deg, var(--accent-hover) 0%, var(--accent) 55%, #7cb0ff 100%);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.005em;
  position: sticky;
  top: 0;
  z-index: 101;
  transition: filter var(--t-fast);
}
.top-banner:hover { filter: brightness(1.08); }
.top-banner strong { font-weight: 700; }
.top-banner__arrow { margin: 0 0.15rem; }
.top-banner__cta { text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 520px) { .top-banner { font-size: 0.72rem; letter-spacing: 0; padding-inline: 0.75rem; } }

.site-header {
  position: sticky;
  top: 2.6rem; /* encaixa por baixo da barra de vagas (também fixa) */
  z-index: 100;
  background: rgba(10, 15, 30, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 0.65rem; }
.brand__mark { width: 30px; height: 30px; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.06rem;
  letter-spacing: -0.02em;
  color: var(--white);
}
.brand__tag {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
  display: block;
  margin-top: -2px;
}
.nav__links { display: flex; align-items: center; gap: 2rem; }
.nav__links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--t-fast);
}
.nav__links a:hover { color: var(--white); }
.nav__cta { display: flex; align-items: center; gap: 1rem; }
.nav__cta .btn { padding: 0.6rem 1.1rem; font-size: 0.92rem; }

.nav__toggle { display: none; width: 44px; height: 44px; color: var(--white); }
.nav__toggle i { font-size: 1.6rem; }

/* -----------------------------------------------------------------
   5. HERO
   ----------------------------------------------------------------- */
.hero {
  position: relative;
  color: var(--white);
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 88vh;
  padding-block: clamp(5rem, 12vw, 9rem) clamp(2rem, 4vw, 3rem);
  isolation: isolate;
}
.hero > .wrap { width: 100%; }
/* Vídeo de fundo (robô/IA abstrato) */
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  z-index: -2;
  /* duotone azul: cinza -> sépia -> rotação de matiz para azul */
  animation: heroBgIn 1.4s ease both;
}
/* Overlay para o texto ficar legível por cima do vídeo */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, var(--ink) 0%, rgba(10, 15, 30, 0.9) 35%, rgba(10, 15, 30, 0.62) 70%, rgba(10, 15, 30, 0.45) 100%),
    linear-gradient(180deg, var(--ink) 0%, transparent 16%, transparent 82%, var(--ink) 100%);
}
@keyframes heroBgIn { from { opacity: 0; } to { opacity: 1; } }
.hero__inner { position: relative; max-width: 100%; }
.hero h1 {
  font-size: var(--fs-display);
  font-weight: 700;
  margin-top: 1.4rem;
  letter-spacing: -0.035em;
}
/* Shiny Text (estilo React Bits): brilho a passar no texto azul */
.hero h1 .accent {
  color: var(--electric);
  background: linear-gradient(100deg, var(--electric) 0%, var(--electric) 42%, #9cbcff 50%, var(--electric) 58%, var(--electric) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: heroShine 5.5s ease-in-out infinite;
}
@keyframes heroShine {
  0% { background-position: 120% 0; }
  100% { background-position: -120% 0; }
}
.hero__lead {
  margin-top: 1.6rem;
  font-size: var(--fs-lead);
  color: var(--text-muted);
  max-width: 620px;
}
.hero__actions { margin-top: 2.4rem; display: flex; flex-wrap: wrap; gap: 1rem; }

/* Entrada do hero (blur + subida escalonada, estilo React Bits Blur Text) */
@keyframes heroIn {
  from { opacity: 0; transform: translateY(20px); filter: blur(10px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}
.hero h1 { animation: heroIn 0.85s cubic-bezier(0.4, 0, 0.2, 1) both; }
.hero__lead { animation: heroIn 0.85s cubic-bezier(0.4, 0, 0.2, 1) 0.15s both; }
.hero__actions { animation: heroIn 0.85s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both; }
.hero__proof {
  margin-top: 3.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.stat__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.03em;
  color: var(--white);
}
.stat__num span { color: var(--cyan); }
.stat__label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-top: 0.3rem;
}

/* Signature flow-motif (canto do hero) */
.hero__motif {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  width: min(46%, 520px);
  z-index: -1;
  opacity: 0.9;
  pointer-events: none;
}
.flow-line {
  stroke-dasharray: 320;
  stroke-dashoffset: 320;
  animation: flow-draw 2.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.flow-line:nth-child(2) { animation-delay: 0.35s; }
.flow-line:nth-child(3) { animation-delay: 0.7s; }
.flow-line:nth-child(4) { animation-delay: 1.05s; }
.flow-nodes circle { animation: node-pulse 3.2s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
.flow-nodes circle:nth-child(2) { animation-delay: 0.4s; }
.flow-nodes circle:nth-child(3) { animation-delay: 0.8s; }
.flow-nodes circle:nth-child(4) { animation-delay: 1.2s; }
.flow-nodes circle:nth-child(5) { animation-delay: 1.6s; }
@keyframes flow-draw { to { stroke-dashoffset: 0; } }
@keyframes node-pulse { 0%, 100% { opacity: 0.65; } 50% { opacity: 1; } }


/* -----------------------------------------------------------------
   5b. MÉTRICAS / RESULTADOS
   ----------------------------------------------------------------- */
.metrics { position: relative; overflow: hidden; }
/* campo de "estrelas" subtil (acento técnico, on-brand) */
.metrics__dots {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-repeat: no-repeat;
  background-image:
    radial-gradient(1.5px 1.5px at 8% 18%, rgba(255, 255, 255, 0.55), transparent 60%),
    radial-gradient(1.5px 1.5px at 22% 70%, rgba(255, 255, 255, 0.3), transparent 60%),
    radial-gradient(1.5px 1.5px at 40% 30%, rgba(255, 255, 255, 0.4), transparent 60%),
    radial-gradient(1.5px 1.5px at 55% 82%, rgba(255, 255, 255, 0.3), transparent 60%),
    radial-gradient(2px 2px at 68% 22%, rgba(255, 255, 255, 0.45), transparent 60%),
    radial-gradient(1.5px 1.5px at 80% 60%, rgba(255, 255, 255, 0.35), transparent 60%),
    radial-gradient(1.5px 1.5px at 92% 35%, rgba(255, 255, 255, 0.4), transparent 60%),
    radial-gradient(1.5px 1.5px at 33% 92%, rgba(255, 255, 255, 0.25), transparent 60%),
    radial-gradient(1.5px 1.5px at 15% 45%, rgba(255, 255, 255, 0.3), transparent 60%),
    radial-gradient(1.5px 1.5px at 88% 88%, rgba(255, 255, 255, 0.22), transparent 60%);
}
.metrics .wrap { position: relative; z-index: 1; }

/* eyebrow com linhas flanqueadoras */
.eyebrow--flank {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: clamp(2rem, 4vw, 2.75rem);
}
.eyebrow--flank::before {
  content: "";
  width: 30px;
  border-top: 2px dashed currentColor;
  opacity: 0.55;
}
.eyebrow--flank::after {
  content: "";
  flex: 1;
  border-top: 1px solid currentColor;
  opacity: 0.16;
}
/* variante centrada (linhas dos dois lados) */
.eyebrow--flank-center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-bottom: clamp(2rem, 4vw, 2.75rem);
}
.eyebrow--flank-center::before,
.eyebrow--flank-center::after {
  content: "";
  flex: 1;
  border-top: 1px solid currentColor;
  opacity: 0.16;
}

.metrics__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  padding: clamp(1rem, 3vw, 2.5rem) 0;
}
/* Sem caixas: os números são o herói e respiram sobre o fundo.
   Separadores finos em vez de cartões — menos ruído, mais leitura. */
.metric {
  position: relative;
  text-align: center;
  transition: transform var(--t-med);
  transition-delay: var(--d, 0s);
}
.metric + .metric::before {
  content: "";
  position: absolute;
  left: calc(clamp(2rem, 4vw, 3.5rem) / -2);
  top: 12%;
  bottom: 12%;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--line-strong) 30%, var(--line-strong) 70%, transparent);
}
.metric:hover { transform: translateY(-4px); }
.metric__stat {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
/* halo azul por trás do número, a respirar devagar — é o que dá vida sem ruído */
.metric__stat::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 190px;
  height: 190px;
  margin: -95px 0 0 -95px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.30) 0%, transparent 65%);
  animation: metricBreath 5s ease-in-out infinite;
}
.metric__pre {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--text-faint);
}
.metric__num {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 7vw, 5.4rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--white);
  font-variant-numeric: tabular-nums; /* o count-up não faz o texto saltar */
}
.metric__unit {
  position: relative;
  font-family: var(--font-mono);
  font-size: clamp(0.9rem, 1.4vw, 1.1rem);
  color: var(--cyan);
}
/* traço que se desenha por baixo do número */
.metric__rule {
  display: block;
  width: 46px;
  height: 2px;
  margin: 1.1rem auto 0;
  border-radius: 2px;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--cobalt), var(--electric), var(--cyan));
  transition: transform 700ms cubic-bezier(0.4, 0, 0.2, 1);
  transition-delay: calc(var(--d, 0s) + 500ms);
}
.reveal.is-visible .metric__rule, .metric.reveal.is-visible .metric__rule { transform: scaleX(1); }
.metric__label {
  margin-top: 1rem;
  font-size: 1.02rem;
  line-height: 1.5;
  color: var(--text-muted);
  text-wrap: balance;
}
@keyframes metricBreath {
  0%, 100% { opacity: 0.55; transform: scale(0.94); }
  50% { opacity: 1; transform: scale(1.06); }
}
@media (prefers-reduced-motion: reduce) {
  .metric__stat::before { animation: none; }
  .metric__rule { transition: none; transform: scaleX(1); }
}

/* -----------------------------------------------------------------
   Acento nos cards: barra de gradiente (cobalto->cyan) no topo.
   Subtil em repouso, acende no hover — dá vida, dentro da marca.
   ----------------------------------------------------------------- */
.method__panel, .sol-panel__main, .case-card, .post-card { position: relative; }
.method__panel::after,
.sol-panel__main::after,
.case-card::after,
.post-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: var(--r-card) var(--r-card) 0 0;
  background: linear-gradient(90deg, var(--cobalt) 0%, var(--electric) 50%, var(--cyan) 100%);
  opacity: 0.6;
  transition: opacity var(--t-med);
  z-index: 3;
  pointer-events: none;
}
.method__panel::after { opacity: 0.75; }
.sol-panel__main:hover::after,
.case-card:hover::after,
.post-card:hover::after { opacity: 1; }


/* -----------------------------------------------------------------
   6. PROBLEMA → CONSEQUÊNCIA
   ----------------------------------------------------------------- */
.problem { padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.problem__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.problem__statement h2 { font-size: var(--fs-h2); font-weight: 700; }
.problem__statement .lead { margin-top: 1.4rem; font-size: var(--fs-lead); color: var(--text-muted); }
.cost-list { margin-top: 2rem; display: grid; gap: 1rem; }
.cost-item {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 1.1rem 1.25rem;
  background: var(--card-surface);
  border-radius: var(--r-card);
  border: 1px solid var(--line);
}
.cost-item i { color: var(--cyan); font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.cost-item strong { font-weight: 600; color: var(--white); }
.cost-item p { color: var(--text-muted); font-size: 0.98rem; margin-top: 0.15rem; }

/* -----------------------------------------------------------------
   6b. PROBLEMA
   ----------------------------------------------------------------- */
.problem { padding-block: clamp(2.5rem, 5vw, 4rem); }
.problem__solution {
  max-width: 760px;
  margin: clamp(1.5rem, 4vw, 2.5rem) auto 0;
  text-align: center;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  font-weight: 600;
  line-height: 1.45;
  color: var(--white);
  padding: clamp(1.6rem, 3vw, 2.2rem) clamp(1.5rem, 3vw, 2.4rem);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  position: relative;
  overflow: hidden;
}
.problem__solution::before {
  content: "";
  position: absolute;
  inset: 0;
  background: none;
  pointer-events: none;
}
.problem__solution span { position: relative; }

/* -----------------------------------------------------------------
   7. PROCESSO (sequência 01–05)
   ----------------------------------------------------------------- */
.process { padding-block: clamp(2.5rem, 5vw, 4rem); }
.process .section-head { text-align: center; margin-inline: auto; }
/* ---- Stepper interativo do método ---- */
.method { margin-top: clamp(2rem, 4vw, 3rem); }

/* Linha de tempo clicável (nav) */
.method__nav {
  position: relative;
  display: flex;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0 auto clamp(1.5rem, 3vw, 2.25rem);
}
.method__nav::before,
.method__nav::after {
  content: "";
  position: absolute;
  top: 25px;
  left: 10%;
  height: 3px;
  border-radius: 3px;
}
.method__nav::before { right: 10%; background: var(--line-strong); }
.method__nav::after {
  width: calc(80% * var(--progress, 0));
  background: linear-gradient(90deg, var(--cobalt), var(--electric), var(--cyan));
  box-shadow: 0 0 10px rgba(0, 102, 255, 0.5);
  transition: width var(--t-med);
}
.method__step { flex: 1 1 0; min-width: 0; }
.method__btn {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: center;
  color: var(--text-muted);
  transition: color var(--t-med);
}
.method__dot {
  position: relative;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  /* fundo opaco (tinta subtil por cima do --ink) para a linha não se ver dentro do círculo */
  background: linear-gradient(var(--card), var(--card)), var(--ink);
  border: 2px solid var(--line-strong);
  color: var(--slate);
  transition: transform var(--t-med), border-color var(--t-med), background var(--t-med), color var(--t-med), box-shadow var(--t-med);
}
.method__dot .method__n {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  transition: opacity var(--t-fast);
}
.method__dot i {
  position: absolute;
  font-size: 1.55rem;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity var(--t-fast), transform var(--t-fast);
}
.method__label {
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.25;
  color: var(--text-muted);
  transition: color var(--t-med);
}
/* hover */
.method__btn:hover .method__dot { border-color: var(--electric); color: var(--white); transform: translateY(-2px); }
.method__btn:hover .method__label { color: var(--text); }
.method__btn:focus-visible { outline: none; }
.method__btn:focus-visible .method__dot { outline: 2px solid var(--electric); outline-offset: 3px; }
/* passo já percorrido */
.method__step.is-done .method__dot { border-color: var(--cyan); color: var(--cyan); background: linear-gradient(var(--electric-12), var(--electric-12)), var(--ink); }
/* passo ativo */
.method__step.is-active .method__dot {
  border-color: transparent;
  background: var(--electric);
  color: var(--white);
  box-shadow: 0 0 0 5px rgba(0, 102, 255, 0.18), var(--glow-edge);
  transform: translateY(-2px);
}
.method__step.is-active .method__dot .method__n { opacity: 0; }
.method__step.is-active .method__dot i { opacity: 1; transform: scale(1); }
.method__step.is-active .method__label { color: var(--white); font-weight: 600; }

/* Painel de detalhe */
.method__panels { position: relative; }
.method__panel {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.25rem, 3vw, 2.25rem);
  align-items: start;
  background: var(--card-surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  animation: methodFade var(--t-med) ease both;
}
.method__panel[hidden] { display: none; }

/* -------- visuais animados dos passos --------
   Cada passo tem a SUA linguagem visual (radar, baralho, constelação, conversa,
   crescimento) — nada de moldura repetida. Só as legendas (.viz__cap) são comuns.
   As animações só arrancam com .method.is-live (secção no ecrã) e reiniciam a
   cada troca de painel: sair de display:none redispara o CSS. Sem is-live
   (sem JS / reduced-motion) fica o estado final — nunca um painel em branco.
   Orçamento: cada visual fecha em ~3.6s, dentro dos 5.2s do auto-avanço. */
.method__panel--viz { grid-template-columns: auto 1fr minmax(0, 340px); }
.method__viz { align-self: center; }
.viz__cap {
  margin-top: 0.9rem;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  color: var(--text-faint);
}
.viz__cap::before { content: "● "; }
.viz__cap--warn { color: var(--warn); }
.viz__cap--go { color: var(--cyan); }

/* ---------- 01 · RADAR: varre os processos e acende o bottleneck ---------- */
.radar {
  position: relative;
  width: 100%;
  max-width: 230px;
  margin-inline: auto;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: radial-gradient(circle at 50% 50%, rgba(0, 102, 255, 0.10), transparent 70%);
}
.radar__ring {
  position: absolute;
  inset: 0;
  margin: auto;
  border: 1px solid var(--line);
  border-radius: 50%;
}
.radar__ring:nth-child(1) { width: 100%; height: 100%; }
.radar__ring:nth-child(2) { width: 66%; height: 66%; }
.radar__ring:nth-child(3) { width: 33%; height: 33%; }
.radar__sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(0, 180, 216, 0.38), rgba(0, 180, 216, 0.06) 55deg, transparent 90deg);
}
.radar__blip {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 9px;
  height: 9px;
  margin: -4.5px 0 0 -4.5px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(0, 180, 216, 0.14);
}
.radar__blip--jam {
  width: 13px;
  height: 13px;
  margin: -6.5px 0 0 -6.5px;
  background: var(--warn);
  box-shadow: 0 0 0 5px rgba(255, 176, 32, 0.18);
}

/* ---------- 02 · ROADMAP: a estrada do plano, paragem a paragem ---------- */
.road {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0.2rem 0 0.2rem 44px;
  display: grid;
  gap: 1.05rem;
}
/* espinha da estrada — desce por trás das paragens */
.road::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  border-radius: 2px;
  transform-origin: 50% 0;
  background: linear-gradient(180deg, var(--electric) 0%, rgba(0, 102, 255, 0.5) 55%, rgba(255, 255, 255, 0.10) 100%);
}
.road__stop { position: relative; }
.road__mark {
  position: absolute;
  left: -44px;
  top: -2px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: #080C18;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text-faint);
}
.road__stop--first .road__mark {
  border-color: transparent;
  background: var(--electric);
  color: var(--white);
  box-shadow: 0 0 0 5px rgba(0, 102, 255, 0.18);
}
.road__when {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.road__what { display: block; font-size: 0.84rem; font-weight: 600; color: var(--text); }
.road__stop:not(.road__stop--first) .road__what { font-weight: 400; color: var(--text-muted); }
.road__tag {
  display: inline-block;
  margin-top: 0.35rem;
  padding: 0.12rem 0.42rem;
  border-radius: 3px;
  background: var(--electric-12);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--electric);
}

/* ---------- 03 · CONSTELAÇÃO: as ferramentas ligam-se ao sistema ---------- */
.hub {
  position: relative;
  width: 100%;
  aspect-ratio: 260 / 200;
}
.hub__links { position: absolute; inset: 0; width: 100%; height: 100%; }
.hub__link { stroke: rgba(0, 102, 255, 0.45); stroke-width: 1.2; stroke-dasharray: 3 4; }
.hub__core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 54px;
  height: 54px;
  margin: -27px 0 0 -27px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  border: 1px solid rgba(0, 102, 255, 0.5);
  background: #080C18;
  box-shadow: var(--glow-edge);
}
.hub__core img { width: 28px; height: 28px; }
.hub__chip {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  border: 1px solid var(--line-strong);
  background: #080C18;
  color: var(--text-muted);
}
.hub__chip i { font-size: 1.05rem; }

/* ---------- 04 · CONVERSA: balões soltos, sem moldura ---------- */
.talk { display: grid; gap: 0.5rem; justify-items: start; }
.talk__msg {
  position: relative;
  max-width: 84%;
  padding: 0.5rem 0.7rem;
  border-radius: 12px 12px 12px 3px;
  font-size: 0.72rem;
  line-height: 1.5;
  background: rgba(255, 255, 255, 0.07);
  color: var(--text-muted);
}
.talk__who {
  position: absolute;
  left: -30px;
  top: 0;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  font-family: var(--font-mono);
  font-size: 0.55rem;
  color: var(--text-faint);
}
.talk { padding-left: 30px; }
.talk__msg--a {
  justify-self: end;
  border-radius: 12px 12px 3px 12px;
  background: var(--electric-12);
  border: 1px solid rgba(0, 102, 255, 0.35);
  color: var(--text);
}
.talk__msg--dots { display: flex; gap: 4px; align-items: center; padding: 0.55rem 0.7rem; }
.talk__msg--dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--text-faint); }

/* ---------- 05 · CRESCIMENTO: número grande + curva + colunas ---------- */
.grow__chart { display: block; width: 100%; height: auto; }
.grow__line { stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.grow__end { fill: var(--cyan); }
.grow__pulse { fill: none; stroke: var(--cyan); stroke-width: 1.5; opacity: 0; }
.grow__bars { display: flex; align-items: flex-end; gap: 5px; height: 26px; margin-top: 0.5rem; }
.grow__bars i {
  flex: 1;
  height: var(--h);
  border-radius: 2px;
  transform-origin: 50% 100%;
  background: linear-gradient(180deg, var(--electric), rgba(0, 102, 255, 0.25));
}
/* em SVG o transform-origin conta de 0 0 — sem isto o scale desloca a forma */
.grow__end, .grow__pulse { transform-box: fill-box; transform-origin: center; }

/* ================= estado animado (só com a secção no ecrã) ================= */
/* 01 · radar */
.method.is-live .method__panel.is-active .radar__sweep { animation: vSpin 1.8s linear 2; }
.method.is-live .method__panel.is-active .radar__ring { opacity: 0; animation: vFade 0.4s ease forwards; }
.method.is-live .method__panel.is-active .radar__ring:nth-child(2) { animation-delay: 0.12s; }
.method.is-live .method__panel.is-active .radar__ring:nth-child(3) { animation-delay: 0.24s; }
.method.is-live .method__panel.is-active .radar__blip { opacity: 0; animation: vPop 0.4s ease var(--d, 0s) forwards; }
.method.is-live .method__panel.is-active .radar__blip--jam {
  animation: vPop 0.4s ease 2.4s forwards, vJam 1.1s ease-in-out 2.8s infinite;
}
.method.is-live .method__panel.is-active .viz__cap--warn { opacity: 0; animation: vFade 0.4s ease 2.9s forwards; }

/* 02 · roadmap */
.method.is-live .method__panel.is-active .road::before { animation: vFillH 0.8s ease-out 0.2s both; }
.method.is-live .method__panel.is-active .road__stop { opacity: 0; animation: vRise 0.45s ease var(--d) forwards; }
.method.is-live .method__panel.is-active .road__mark { animation: vPop 0.4s ease var(--d) both; }
.method.is-live .method__panel.is-active .road__stop--first .road__mark { animation: vPop 0.4s ease var(--d) both, vBeat 1.6s ease-in-out 1.8s infinite; }
.method.is-live .method__panel.is-active .road__tag { opacity: 0; animation: vFade 0.4s ease 1.7s forwards; }

/* 03 · constelação */
.method.is-live .method__panel.is-active .hub__core { animation: vPop 0.45s ease 0.15s both; }
.method.is-live .method__panel.is-active .hub__link {
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
  animation: vDraw 0.5s ease var(--d) forwards, vDash 1.4s linear 2.4s infinite;
}
.method.is-live .method__panel.is-active .hub__chip { opacity: 0; animation: vPop 0.4s ease var(--d) forwards; }
.method.is-live .method__panel.is-active .viz__cap--go { opacity: 0; animation: vFade 0.4s ease 2.6s forwards; }

/* 04 · conversa */
.method.is-live .method__panel.is-active .talk__msg { opacity: 0; }
.method.is-live .method__panel.is-active .talk__msg--q { animation: vRise 0.35s ease 0.3s forwards; }
.method.is-live .method__panel.is-active .talk__msg--dots { animation: vRise 0.3s ease 0.9s forwards, vGone 0.25s ease 2.1s forwards; }
.method.is-live .method__panel.is-active .talk__msg--dots i { animation: vBounce 0.9s ease-in-out 1s infinite; }
.method.is-live .method__panel.is-active .talk__msg--dots i:nth-child(2) { animation-delay: 1.15s; }
.method.is-live .method__panel.is-active .talk__msg--dots i:nth-child(3) { animation-delay: 1.3s; }
.method.is-live .method__panel.is-active .talk__msg--a { animation: vRise 0.35s ease 2.2s forwards; }
.method.is-live .method__panel.is-active .talk__msg--q2 { animation: vRise 0.35s ease 2.9s forwards; }

/* 05 · crescimento */
.method.is-live .method__panel.is-active .grow__line {
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  animation: vDrawLong 1.7s ease-out 0.4s forwards;
}
.method.is-live .method__panel.is-active .grow__area { opacity: 0; animation: vFade 0.7s ease 1.7s forwards; }
.method.is-live .method__panel.is-active .grow__end { opacity: 0; animation: vPop 0.3s ease 2.1s forwards; }
.method.is-live .method__panel.is-active .grow__pulse { animation: vRing 1.6s ease-out 2.3s infinite; }
.method.is-live .method__panel.is-active .grow__bars i { animation: vFillH 0.5s ease-out both; }
.method.is-live .method__panel.is-active .grow__bars i:nth-child(1) { animation-delay: 1.2s; }
.method.is-live .method__panel.is-active .grow__bars i:nth-child(2) { animation-delay: 1.35s; }
.method.is-live .method__panel.is-active .grow__bars i:nth-child(3) { animation-delay: 1.5s; }
.method.is-live .method__panel.is-active .grow__bars i:nth-child(4) { animation-delay: 1.65s; }
.method.is-live .method__panel.is-active .grow__bars i:nth-child(5) { animation-delay: 1.8s; }
.method.is-live .method__panel.is-active .grow__bars i:nth-child(6) { animation-delay: 1.95s; }

@keyframes vFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes vRise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes vPop { from { opacity: 0; transform: scale(0.5); } to { opacity: 1; transform: scale(1); } }
@keyframes vSpin { from { transform: rotate(0); } to { transform: rotate(360deg); } }
@keyframes vJam { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.3); } }
@keyframes vRing { 0% { opacity: 0.8; transform: scale(1); } 100% { opacity: 0; transform: scale(2.6); } }
@keyframes vDraw { to { stroke-dashoffset: 0; } }
@keyframes vDrawLong { to { stroke-dashoffset: 0; } }
@keyframes vDash { to { stroke-dashoffset: -14; } }
@keyframes vFillH { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes vBeat { 0%, 100% { box-shadow: 0 0 0 5px rgba(0, 102, 255, 0.18); } 50% { box-shadow: 0 0 0 9px rgba(0, 102, 255, 0.05); } }
@keyframes vGone { to { opacity: 0; height: 0; padding: 0; margin: 0; } }
@keyframes vBounce { 0%, 100% { transform: translateY(0); opacity: 0.45; } 50% { transform: translateY(-3px); opacity: 1; } }

.method__panel-icon {
  width: 68px; height: 68px;
  display: grid; place-items: center;
  border-radius: var(--r-card);
  background: var(--electric-12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--cyan);
}
.method__panel-icon i { font-size: 2rem; }
.method__panel-num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
}
.method__panel-body h3 {
  margin-top: 0.35rem;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--white);
}
.method__panel-body > p {
  margin-top: 0.6rem;
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 62ch;
}
.method__points {
  margin-top: 1.15rem;
  display: grid;
  gap: 0.6rem;
  list-style: none;
  padding: 0;
}
.method__points li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.98rem;
  color: var(--text);
}
.method__points i { color: var(--cyan); font-size: 1.2rem; flex-shrink: 0; margin-top: 1px; }

@keyframes methodFade {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.method__cta {
  margin-top: clamp(1.75rem, 3.5vw, 2.75rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}
.method__cta p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 52ch;
}

/* -----------------------------------------------------------------
   8. SOLUÇÕES
   ----------------------------------------------------------------- */
.solutions { padding-top: clamp(2.5rem, 5vw, 4rem); }
.solutions .section-head { text-align: center; margin-inline: auto; }
/* ---- Separadores (tabs) de soluções ---- */
/* Desktop: separadores em linha (linha 1) + painel activo por baixo (linha 2).
   Separadores e painéis são irmãos de .sol-tabs; a grelha coloca-os. */
.sol-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 0.75rem;
  row-gap: 1.25rem;
  align-items: start;
}
.sol-tab { grid-row: 1; }
.sol-panel { grid-row: 2; grid-column: 1 / -1; }
.sol-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  text-align: center;
  padding: 1.15rem 1rem;
  background: var(--card-surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  color: var(--text-muted);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: transform var(--t-med), box-shadow var(--t-med), border-color var(--t-med), background var(--t-med), color var(--t-med);
}
.sol-tab__icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: rgba(0, 180, 216, 0.07);
  color: var(--cyan);
  border: 1px solid rgba(0, 180, 216, 0.45);
  border-radius: var(--r-card-sm);
  transition: background var(--t-med), color var(--t-med), border-color var(--t-med);
}
.sol-tab__icon i { font-size: 1.4rem; }
.sol-tab:hover { border-color: rgba(0, 180, 216, 0.5); color: var(--text); transform: translateY(-2px); }
.sol-tab.is-active {
  background: var(--card-surface-hover);
  border-color: rgba(0, 102, 255, 0.6);
  color: var(--white);
  box-shadow: var(--glow-edge);
}
.sol-tab.is-active .sol-tab__icon {
  background: rgba(0, 102, 255, 0.18);
  border-color: rgba(0, 102, 255, 0.7);
  color: var(--white);
}

/* ---- Painel da solução seleccionada ---- */
.sol-panel { display: none; }
.sol-panel.is-active {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  /* os dois cartões têm sempre a mesma altura; o espaço que sobra fica
     depois do botão, para não abrir um vazio entre os tópicos e o CTA */
  align-items: stretch;
  gap: 1.25rem;
  animation: solFade 0.35s ease both;
}
@keyframes solFade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.sol-panel__main {
  background: var(--card-surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 2.2rem 2rem;
  display: flex;
  flex-direction: column;
}
.sol-panel__icon {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  background: rgba(0, 180, 216, 0.07);
  color: var(--cyan);
  border: 1px solid rgba(0, 180, 216, 0.45);
  border-radius: var(--r-card-sm);
  margin-bottom: 1.4rem;
}
.sol-panel__icon i { font-size: 1.7rem; }
.sol-panel h3 { font-size: 1.55rem; font-weight: 600; letter-spacing: -0.01em; }
.sol-panel__tagline { margin-top: 0.55rem; color: var(--cyan); font-weight: 500; font-size: 1.02rem; font-style: italic; }
.sol-panel__features {
  margin-top: 1.5rem;
  margin-bottom: 1.9rem;
  display: grid;
  gap: 0.7rem;
}
.sol-panel__features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}
.sol-panel__features i { color: var(--cyan); font-size: 1.2rem; flex-shrink: 0; }
.sol-panel__cta { align-self: flex-start; }

/* ---- Aside de resultados (outcome) ---- */
.sol-panel__aside {
  background: rgba(0, 102, 255, 0.10);
  border: 1px solid rgba(0, 102, 255, 0.4);
  border-radius: var(--r-card);
  padding: 2.2rem 1.9rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.sol-panel__aside::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 100% 0%, rgba(0, 102, 255, 0.3) 0%, transparent 60%);
  pointer-events: none;
}
.sol-panel__aside > * { position: relative; z-index: 1; }

/* -------- visuais animados das soluções (painel "Resultado") --------
   Concretos, com conteúdo real, e em CICLO CONTÍNUO: os separadores não avançam
   sozinhos, por isso uma animação de uma passagem só ficava morta após 3s.
   Cada visual corre um ciclo de 7s (ação → pausa → recomeço) — daí as
   percentagens dos @keyframes serem absolutas e não haver animation-delay:
   é o que mantém os elementos sincronizados dentro do mesmo ciclo.
   Estado base = final visível; só animam com .sol-tabs.is-live. */
.sol-viz {
  margin-top: 1.5rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

/* ---------- 01 · conversa real, respondida às 03:41 ---------- */
.wa { border-radius: 10px; background: rgba(0, 0, 0, 0.28); padding: 0.6rem; }
.wa__top { display: flex; align-items: center; gap: 0.45rem; padding-bottom: 0.55rem; border-bottom: 1px solid rgba(255,255,255,0.10); }
.wa__av {
  display: grid; place-items: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(255,255,255,0.14);
  font-size: 0.6rem; color: var(--text);
}
.wa__who { flex: 1; font-size: 0.7rem; font-weight: 600; color: var(--text); line-height: 1.15; }
.wa__who em { display: block; font-style: normal; font-size: 0.55rem; font-weight: 400; color: var(--cyan); }
.wa__top > i { font-size: 1rem; color: #25D366; }
.wa__thread { display: grid; gap: 0.4rem; padding: 0.6rem 0 0.5rem; }
.wa__b {
  max-width: 90%;
  padding: 0.38rem 0.5rem;
  border-radius: 9px 9px 9px 2px;
  background: rgba(255,255,255,0.09);
  font-size: 0.68rem;
  line-height: 1.45;
  color: var(--text-muted);
}
.wa__t { display: block; margin-top: 0.1rem; font-family: var(--font-mono); font-size: 0.5rem; color: var(--text-faint); }
.wa__t b { color: #34B7F1; }
/* a resposta e o "a escrever" ocupam a MESMA célula: um substitui o outro sem saltos */
.wa__b--typing, .wa__b--out { grid-area: 2 / 1; justify-self: end; }
.wa__b--out {
  border-radius: 9px 9px 2px 9px;
  background: linear-gradient(135deg, rgba(0,82,204,0.55), rgba(0,102,255,0.4));
  border: 1px solid rgba(0,102,255,0.5);
  color: var(--text);
}
.wa__b--typing { display: flex; gap: 3px; align-items: center; width: max-content; padding: 0.45rem 0.55rem; }
.wa__b--typing i { width: 4px; height: 4px; border-radius: 50%; background: var(--text-faint); }
.wa__flag {
  display: flex; align-items: center; gap: 0.3rem;
  padding: 0.28rem 0.45rem;
  border-radius: 5px;
  background: rgba(0,180,216,0.14);
  border: 1px solid rgba(0,180,216,0.4);
  font-family: var(--font-mono);
  font-size: 0.55rem;
  color: var(--cyan);
}

/* ---------- 02 · o orçamento esquecido que se recupera sozinho ---------- */
.rev { border-radius: 10px; background: rgba(0,0,0,0.28); padding: 0.7rem; }
.rev__head { display: flex; align-items: baseline; justify-content: space-between; }
.rev__id { font-size: 0.74rem; font-weight: 600; color: var(--text); }
.rev__ago { font-family: var(--font-mono); font-size: 0.55rem; color: var(--text-faint); }
/* os três estados ocupam a mesma célula e cruzam-se */
.rev__states { display: grid; margin-top: 0.5rem; }
.rev__s {
  grid-area: 1 / 1;
  display: flex; align-items: center; gap: 0.3rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
}
.rev__s i { font-size: 0.85rem; }
.rev__s--1 { color: var(--warn); }
.rev__s--2 { color: var(--text-muted); }
.rev__s--3 { color: var(--cyan); }
.rev__pipe {
  display: block;
  height: 3px;
  margin-top: 0.6rem;
  border-radius: 2px;
  background: rgba(255,255,255,0.09);
  overflow: hidden;
}
.rev__pipe i {
  display: block; height: 100%; width: 100%;
  transform-origin: 0 50%;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--warn), var(--electric) 55%, var(--cyan));
}
.rev__note { display: block; margin-top: 0.45rem; font-family: var(--font-mono); font-size: 0.55rem; color: var(--text-faint); }

/* ---------- 03 · do pedido à proposta enviada ---------- */
.prop { position: relative; }
.prop__ask {
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.3rem 0.5rem;
  border-radius: 8px 8px 8px 2px;
  background: rgba(255,255,255,0.09);
  font-size: 0.66rem;
  font-style: italic;
  color: var(--text-muted);
}
.prop__doc {
  display: grid;
  gap: 0.42rem;
  margin-top: 0.6rem;
  padding: 0.65rem;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.05);
}
.prop__ln { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; font-size: 0.64rem; color: var(--text-muted); }
.prop__ln em { font-style: normal; }
.prop__ln i {
  flex: 1;
  max-width: 54px;
  height: 5px;
  border-radius: 3px;
  transform-origin: 100% 50%;
  background: linear-gradient(90deg, var(--cobalt), var(--cyan));
}
.prop__seal {
  display: flex; align-items: center; justify-content: center; gap: 0.3rem;
  margin-top: 0.25rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--cyan);
}
.prop__clock {
  position: absolute;
  right: 0;
  top: 0;
  padding: 0.16rem 0.42rem;
  border-radius: 4px;
  background: var(--electric-12);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: var(--electric);
}

/* ---------- 04 · escolhido a dedo e feito de raiz para ti ---------- */
.tailor { display: grid; gap: 0.4rem; }
.tailor__lead {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  margin-bottom: 0.1rem;
}
.tailor__row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.55rem;
  border-radius: 7px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.68rem;
  color: var(--text);
}
.tailor__row em {
  margin-left: auto;
  font-style: normal;
  font-family: var(--font-mono);
  font-size: 0.54rem;
  color: var(--text-faint);
}
/* interruptor: fechado por omissão, o ciclo é que o liga */
.tailor__sw {
  flex: none;
  position: relative;
  width: 26px;
  height: 15px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
}
.tailor__sw::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--text-faint);
}
/* o que não precisas fica de fora — é esse o argumento do "não é enlatado" */
.tailor__row--off { color: var(--text-faint); border-style: dashed; }
/* o módulo à medida é o herói: maior, sólido e a brilhar */
.tailor__row--4 {
  margin-top: 0.15rem;
  padding: 0.55rem;
  border-color: transparent;
  background: linear-gradient(120deg, var(--cobalt), var(--electric));
  color: var(--white);
  font-weight: 600;
}
.tailor__row--4 i { font-size: 1rem; }
.tailor__row--4 em { color: rgba(255, 255, 255, 0.75); }

/* ================== ciclo animado (só com a secção no ecrã) ================== */
/* 01 · conversa */
.sol-tabs.is-live .sol-panel.is-active .wa__b--in { animation: waIn 7s ease infinite; }
.sol-tabs.is-live .sol-panel.is-active .wa__b--typing { animation: waTyping 7s ease infinite; }
.sol-tabs.is-live .sol-panel.is-active .wa__b--typing i { animation: vBounce 0.9s ease-in-out infinite; }
.sol-tabs.is-live .sol-panel.is-active .wa__b--typing i:nth-child(2) { animation-delay: 0.15s; }
.sol-tabs.is-live .sol-panel.is-active .wa__b--typing i:nth-child(3) { animation-delay: 0.3s; }
.sol-tabs.is-live .sol-panel.is-active .wa__b--out { animation: waOut 7s ease infinite; }
.sol-tabs.is-live .sol-panel.is-active .wa__flag { animation: waFlag 7s ease infinite; }
@keyframes waIn {
  0%, 2% { opacity: 0; transform: translateY(6px); }
  7%, 93% { opacity: 1; transform: none; }
  98%, 100% { opacity: 0; }
}
@keyframes waTyping {
  0%, 12% { opacity: 0; }
  16%, 30% { opacity: 1; }
  34%, 100% { opacity: 0; }
}
@keyframes waOut {
  0%, 34% { opacity: 0; transform: translateY(6px) scale(0.96); }
  40%, 93% { opacity: 1; transform: none; }
  98%, 100% { opacity: 0; }
}
@keyframes waFlag {
  0%, 52% { opacity: 0; transform: scale(0.8); }
  58%, 93% { opacity: 1; transform: none; }
  98%, 100% { opacity: 0; }
}

/* 02 · recuperação */
.sol-tabs.is-live .sol-panel.is-active .rev__s--1 { animation: revS1 7s ease infinite; }
.sol-tabs.is-live .sol-panel.is-active .rev__s--2 { animation: revS2 7s ease infinite; }
.sol-tabs.is-live .sol-panel.is-active .rev__s--3 { animation: revS3 7s ease infinite; }
.sol-tabs.is-live .sol-panel.is-active .rev__pipe i { animation: revPipe 7s ease infinite; }
.sol-tabs.is-live .sol-panel.is-active .rev__id { animation: revBeat 7s ease infinite; }
@keyframes revS1 { 0%, 4% { opacity: 0; } 8%, 30% { opacity: 1; } 36%, 100% { opacity: 0; } }
@keyframes revS2 { 0%, 36% { opacity: 0; } 42%, 62% { opacity: 1; } 68%, 100% { opacity: 0; } }
@keyframes revS3 { 0%, 68% { opacity: 0; transform: translateY(4px); } 74%, 94% { opacity: 1; transform: none; } 99%, 100% { opacity: 0; } }
@keyframes revPipe { 0%, 8% { transform: scaleX(0.06); } 42% { transform: scaleX(0.45); } 74%, 94% { transform: scaleX(1); } 99%, 100% { transform: scaleX(0.06); } }
@keyframes revBeat { 0%, 70% { color: var(--text); } 76%, 92% { color: var(--cyan); } 99%, 100% { color: var(--text); } }

/* 03 · proposta */
.sol-tabs.is-live .sol-panel.is-active .prop__ask { animation: propAsk 7s ease infinite; }
.sol-tabs.is-live .sol-panel.is-active .prop__doc { animation: propDoc 7s ease infinite; }
.sol-tabs.is-live .sol-panel.is-active .prop__ln { animation: propLn 7s ease infinite; }
.sol-tabs.is-live .sol-panel.is-active .prop__ln:nth-child(2) { animation-name: propLn2; }
.sol-tabs.is-live .sol-panel.is-active .prop__ln:nth-child(3) { animation-name: propLn3; }
.sol-tabs.is-live .sol-panel.is-active .prop__ln:nth-child(4) { animation-name: propLn4; }
.sol-tabs.is-live .sol-panel.is-active .prop__seal { animation: propSeal 7s ease infinite; }
.sol-tabs.is-live .sol-panel.is-active .prop__clock { animation: propClock 7s ease infinite; }
@keyframes propAsk { 0%, 2% { opacity: 0; transform: translateX(-8px); } 8%, 93% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; } }
@keyframes propDoc { 0%, 14% { opacity: 0; transform: translateY(8px); } 20%, 93% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; } }
@keyframes propLn { 0%, 24% { opacity: 0; } 30%, 93% { opacity: 1; } 98%, 100% { opacity: 0; } }
@keyframes propLn2 { 0%, 30% { opacity: 0; } 36%, 93% { opacity: 1; } 98%, 100% { opacity: 0; } }
@keyframes propLn3 { 0%, 36% { opacity: 0; } 42%, 93% { opacity: 1; } 98%, 100% { opacity: 0; } }
@keyframes propLn4 { 0%, 42% { opacity: 0; } 48%, 93% { opacity: 1; } 98%, 100% { opacity: 0; } }
@keyframes propSeal { 0%, 58% { opacity: 0; transform: scale(0.9); } 64%, 93% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; } }
@keyframes propClock { 0%, 66% { opacity: 0; transform: scale(0.7); } 72% { opacity: 1; transform: scale(1.15); } 76%, 93% { opacity: 1; transform: scale(1); } 98%, 100% { opacity: 0; } }

/* 04 · personalização */
.sol-tabs.is-live .sol-panel.is-active .tailor__lead { animation: tlLead 7s ease infinite; }
.sol-tabs.is-live .sol-panel.is-active .tailor__row--1 { animation: tlRow1 7s ease infinite; }
.sol-tabs.is-live .sol-panel.is-active .tailor__row--2 { animation: tlRow2 7s ease infinite; }
.sol-tabs.is-live .sol-panel.is-active .tailor__row--3 { animation: tlRow3 7s ease infinite; }
.sol-tabs.is-live .sol-panel.is-active .tailor__row--4 { animation: tlHero 7s ease infinite, vGlow 2.4s ease-in-out 3.5s infinite; }
.sol-tabs.is-live .sol-panel.is-active .tailor__row--1 .tailor__sw { animation: tlOn1 7s ease infinite; }
.sol-tabs.is-live .sol-panel.is-active .tailor__row--2 .tailor__sw { animation: tlOn2 7s ease infinite; }
.sol-tabs.is-live .sol-panel.is-active .tailor__row--1 .tailor__sw::after { animation: tlKnob1 7s ease infinite; }
.sol-tabs.is-live .sol-panel.is-active .tailor__row--2 .tailor__sw::after { animation: tlKnob2 7s ease infinite; }
.sol-tabs.is-live .sol-panel.is-active .tailor__row--3 em { animation: tlNope 7s ease infinite; }
@keyframes tlLead { 0%, 1% { opacity: 0; } 6%, 93% { opacity: 1; } 98%, 100% { opacity: 0; } }
@keyframes tlRow1 { 0%, 8% { opacity: 0; transform: translateX(-14px); } 15%, 93% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; } }
@keyframes tlRow2 { 0%, 18% { opacity: 0; transform: translateX(-14px); } 25%, 93% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; } }
@keyframes tlRow3 { 0%, 28% { opacity: 0; transform: translateX(-14px); } 35%, 93% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; } }
@keyframes tlHero { 0%, 48% { opacity: 0; transform: translateY(-16px) scale(0.86); } 56%, 93% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; } }
@keyframes tlOn1 { 0%, 19% { background: rgba(255,255,255,0.14); } 24%, 100% { background: var(--electric); } }
@keyframes tlOn2 { 0%, 29% { background: rgba(255,255,255,0.14); } 34%, 100% { background: var(--electric); } }
@keyframes tlKnob1 { 0%, 19% { transform: none; background: var(--text-faint); } 24%, 100% { transform: translateX(11px); background: var(--white); } }
@keyframes tlKnob2 { 0%, 29% { transform: none; background: var(--text-faint); } 34%, 100% { transform: translateX(11px); background: var(--white); } }
@keyframes tlNope { 0%, 40% { opacity: 0; } 46%, 93% { opacity: 1; } 98%, 100% { opacity: 0; } }

@keyframes vGlow { 0%, 100% { box-shadow: var(--glow-edge); } 50% { box-shadow: 0 0 0 1px rgba(0,102,255,0.5), 0 0 26px rgba(0,102,255,0.55); } }

.sol-outcome__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
}
.sol-outcome__stat { margin-top: 0.9rem; margin-bottom: 1.6rem; }
.sol-outcome__num {
  display: block;
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1;
  color: var(--white);
  letter-spacing: -0.02em;
}
.sol-outcome__unit {
  display: block;
  margin-top: 0.6rem;
  color: var(--glacial);
  font-size: 0.98rem;
  max-width: 22ch;
}
.sol-outcome__points { display: grid; gap: 0.85rem; }
.sol-outcome__points li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.92rem;
  color: var(--glacial);
}
.sol-outcome__points i { color: var(--white); font-size: 1.2rem; flex-shrink: 0; }

/* -----------------------------------------------------------------
   9. CASOS DE SUCESSO
   ----------------------------------------------------------------- */
.cases .section-head { text-align: center; margin-inline: auto; }

/* carrossel horizontal dos casos */
.cases-carousel { position: relative; }
.cases__list {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.cases__list::-webkit-scrollbar { display: none; }

/* setas do slider dos resultados médios (só aparecem em mobile, via JS) */
.metrics-carousel { position: relative; }
.metrics-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 999px;
  background: rgba(10, 15, 30, 0.72);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line-strong);
  color: var(--white);
  transition: background var(--t-fast), border-color var(--t-fast);
}
.metrics-nav:hover, .metrics-nav:active { background: var(--electric); border-color: transparent; }
.metrics-nav i { font-size: 1.2rem; }
.metrics-nav--prev { left: -6px; }
.metrics-nav--next { right: -6px; }
.metrics-nav[hidden] { display: none; }

.cases-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 999px;
  background: rgba(10, 15, 30, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line-strong);
  color: var(--white);
  transition: background var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}
.cases-nav:hover { background: var(--electric); border-color: transparent; }
.cases-nav i { font-size: 1.3rem; }
.cases-nav--prev { left: -10px; }
.cases-nav--next { right: -10px; }
.cases-nav[hidden] { display: none; }

/* cartão-resumo do caso */
.case-summary {
  flex: 0 0 100%;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  background: var(--card-surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: clamp(1.7rem, 3.5vw, 2.5rem);
  transition: transform var(--t-med), box-shadow var(--t-med), border-color var(--t-med);
}
.case-summary:hover { transform: translateY(-3px); box-shadow: var(--glow-edge); border-color: transparent; }

/* faixa de imagem do setor — full-bleed no topo do cartão */
.case-summary__media {
  position: relative;
  margin: calc(clamp(1.7rem, 3.5vw, 2.5rem) * -1) calc(clamp(1.7rem, 3.5vw, 2.5rem) * -1) clamp(1.5rem, 3vw, 2rem);
  border-radius: var(--r-card) var(--r-card) 0 0;
  overflow: hidden;
  background: var(--ink);
}
.case-summary__media img {
  display: block;
  width: 100%;
  height: clamp(150px, 22vw, 230px);
  object-fit: cover;
  transition: transform var(--t-slow);
}
.case-summary:hover .case-summary__media img { transform: scale(1.04); }
/* fade só na base, para a imagem fundir no cartão (sem tinta de cor) */
.case-summary__media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(10,15,30,0) 62%, rgba(10,15,30,0.5) 84%, var(--ink) 100%);
}
.case-summary__tag {
  position: absolute;
  z-index: 1;
  top: 0.85rem;
  left: 0.85rem;
  padding: 0.34rem 0.7rem;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(10,15,30,0.68);
  backdrop-filter: blur(8px);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
}
.case-summary__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 1.5rem 2.5rem; flex-wrap: wrap; }
.case-summary__client { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.4rem, 2.6vw, 1.9rem); letter-spacing: -0.02em; color: var(--white); }
.case-summary__sector { display: block; margin-top: 0.4rem; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-faint); }
.case-summary__metrics { display: flex; gap: clamp(1.5rem, 3vw, 2.5rem); flex-wrap: wrap; }
.case-summary__metrics .cs-stat__num { font-size: clamp(1.5rem, 3vw, 2rem); }
.case-summary__metrics .cs-stat__label { font-size: 0.78rem; }
.case-summary__desc { margin-top: 1.4rem; color: var(--text-muted); max-width: 62ch; }
.case-summary__cta { margin-top: 1.7rem; }

/* mobile/tablet (modo carrossel): os 3 destaques numa só linha e as setas
   sobre a imagem (zona sem texto), para não taparem os números nem a descrição */
@media (max-width: 899px) {
  .case-summary__metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
    align-items: start;
  }
  .case-summary__metrics .cs-stat__num { font-size: clamp(1.05rem, 4.6vw, 1.5rem); line-height: 1.1; }
  .case-summary__metrics .cs-stat__label { font-size: 0.66rem; line-height: 1.25; }
  /* setas centradas sobre a imagem (altura ≈ metade da imagem do cartão) */
  .cases-nav { top: 78px; }
}

/* desktop: os 3 casos lado a lado (sem carrossel) */
@media (min-width: 900px) {
  .cases__list { overflow-x: visible; scroll-snap-type: none; align-items: stretch; }
  .case-summary { flex: 1 1 0; min-width: 0; padding: clamp(1.4rem, 1.8vw, 1.8rem); }
  .case-summary__media {
    margin: calc(clamp(1.4rem, 1.8vw, 1.8rem) * -1) calc(clamp(1.4rem, 1.8vw, 1.8rem) * -1) 1.4rem;
  }
  .case-summary__media img { height: clamp(160px, 13vw, 200px); }
  .case-summary__top { flex-direction: column; gap: 1.1rem; }
  .case-summary__client { font-size: clamp(1.15rem, 1.5vw, 1.45rem); }
  .case-summary__metrics { gap: 1.1rem; }
  .case-summary__metrics .cs-stat__num { font-size: clamp(1.15rem, 1.5vw, 1.4rem); }
  .case-summary__metrics .cs-stat__label { font-size: 0.68rem; }
  .case-summary__desc { margin-top: 1.1rem; margin-bottom: 1.5rem; font-size: 0.92rem; }
  .case-summary__cta { margin-top: auto; align-self: flex-start; }
}

/* caso de estudo estruturado (dentro do modal) */
.case-study {
  background: var(--card-surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: clamp(1.8rem, 4vw, 3rem);
}
.case-study__header { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; flex-wrap: wrap; }
.case-study__client {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  letter-spacing: -0.02em;
  color: var(--white);
}
.case-study__sector {
  display: block;
  margin-top: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.73rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.case-study__link {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--cyan);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}
.case-study__link:hover { text-decoration: underline; }

.case-study__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: clamp(1.6rem, 3vw, 2.2rem) 0;
  padding: clamp(1.4rem, 3vw, 1.8rem) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cs-stat__num {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--cyan);
}
.cs-stat__label { display: block; margin-top: 0.45rem; color: var(--text-muted); font-size: 0.88rem; }

.case-study__sections { display: grid; gap: clamp(1.8rem, 3.5vw, 2.6rem); }
.cs-sec__head { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 1.1rem; }
.cs-sec__head h4 {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
}
.cs-sec__head::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.cs-sec__icon {
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border-radius: var(--r-card-sm);
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.40);
  color: var(--cyan);
  flex-shrink: 0;
}
.cs-sec__icon i { font-size: 1.05rem; }
.cs-sec__text { color: var(--text-muted); font-size: 0.98rem; line-height: 1.65; }

.cs-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.cs-card {
  background: var(--card-surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card-sm);
  padding: 1.3rem 1.35rem;
}
.cs-card__icon {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: var(--r-card-sm);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--cyan);
  margin-bottom: 0.95rem;
}
.cs-card__icon i { font-size: 1.25rem; }
.cs-card h5 { margin: 0; font-size: 1.02rem; font-weight: 600; color: var(--white); letter-spacing: -0.01em; }
.cs-card p { margin-top: 0.55rem; color: var(--text-muted); font-size: 0.92rem; line-height: 1.6; }

.case-study__testimonial {
  margin-top: clamp(1.8rem, 3vw, 2.5rem);
  padding: clamp(1.4rem, 3vw, 1.9rem);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--r-card-sm);
}
.case-study__testimonial p { color: var(--text); font-size: 1.05rem; font-style: italic; }
.case-study__testimonial footer {
  margin-top: 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.case-study__testimonial .cs-author { color: var(--white); }

/* modal do caso completo */
body.modal-open { overflow: hidden; }
.case-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 2.5rem);
}
.case-modal[hidden] { display: none; }
.case-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 8, 18, 0.72);
  backdrop-filter: blur(5px);
}
.case-modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 780px;
  max-height: 88vh;
  overflow-y: auto;
  background: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-card);
  padding: clamp(1.6rem, 4vw, 2.8rem);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  animation: modal-in 280ms cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes modal-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.case-modal__close {
  position: sticky;
  top: 0;
  margin-left: auto;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--r-btn);
  color: var(--text-muted);
  background: var(--card-surface);
  border: 1px solid var(--line);
  transition: color var(--t-fast), background var(--t-fast), border-color var(--t-fast);
}
.case-modal__close:hover { color: var(--white); background: var(--card-surface-hover); border-color: var(--line-strong); }
.case-modal__close i { font-size: 1.25rem; }
/* o caso, dentro do modal, dispensa o seu próprio cartão */
.case-modal .case-study { background: transparent; border: none; border-radius: 0; padding: 0; margin-top: -0.5rem; }

.cases__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.case-card {
  background: var(--card-surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 1.9rem 1.7rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.case-card__top { display: flex; align-items: center; justify-content: space-between; }
.case-card__client { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-faint); }
.case-card__badge {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  background: var(--electric-12);
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
}
.case-card__result {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 3.5vw, 2.6rem);
  letter-spacing: -0.03em;
  color: var(--cyan);
}
.case-card__desc { color: var(--text-muted); font-size: 0.98rem; }
.case-card__meta {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  color: var(--text);
}
.case-card__meta i { color: var(--cyan); }
.case-card.is-placeholder { border-style: dashed; border-color: var(--line-strong); }
.cases__note {
  margin-top: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  color: var(--text-faint);
}

/* -----------------------------------------------------------------
   10. GARANTIA + LOGOS DE CLIENTES
   ----------------------------------------------------------------- */
.promise {
  position: relative;
  background: var(--ink);
  border-radius: var(--r-card);
  overflow: hidden;
  padding: clamp(2.5rem, 6vw, 4rem);
  isolation: isolate;
}
.promise::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grad-hero);
  opacity: 0.95;
  z-index: -1;
}
.promise .eyebrow { color: rgba(255, 255, 255, 0.85); }
.promise h2 {
  color: var(--white);
  font-size: clamp(1.7rem, 3.6vw, 2.7rem);
  font-weight: 700;
  margin-top: 1rem;
  max-width: 780px;
}
.promise p { color: var(--text-muted); margin-top: 1.1rem; max-width: 620px; }

/* Mural de logos de clientes (faixa compacta) */
.clients-strip { padding-top: clamp(1.6rem, 2.8vw, 2.4rem); padding-bottom: clamp(1rem, 2vw, 1.5rem); position: relative; }
.clients { margin-top: 0; }
.clients__title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: clamp(1rem, 2vw, 1.4rem);
}
.clients__title::before,
.clients__title::after {
  content: "";
  width: 30px;
  border-top: 2px dashed currentColor;
  opacity: 0.6;
}
/* faixa de logos: no desktop é estática (só os 4 logos reais, centrados);
   no telemóvel roda em marquee, porque não cabem os 4 lado a lado. */
.logo-track {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  row-gap: 1rem;
}
/* as cópias só servem o marquee do telemóvel */
.logo-cell[aria-hidden="true"] { display: none; }
.logo-cell { flex: none; display: flex; align-items: center; justify-content: center; height: 52px; width: 124px; margin-inline: clamp(0.9rem, 2.4vw, 1.9rem); }

/* Telemóvel: marquee horizontal contínuo (mesmo comportamento de sempre) */
@media (max-width: 720px) {
  .logo-wall {
    overflow: hidden;
    /* esbate as pontas para os logos entrarem/saírem suavemente */
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
  }
  .logo-track {
    width: max-content;
    flex-wrap: nowrap;
    justify-content: flex-start;
    animation: logoMarquee 34s linear infinite;
  }
  .logo-cell[aria-hidden="true"] { display: flex; }
  /* 4 cópias no HTML -> deslocar 25% = exatamente 1 conjunto -> loop sem costura */
  @keyframes logoMarquee { from { transform: translateX(0); } to { transform: translateX(-25%); } }
}

/* Sem animação: faixa estática, só os 4 logos reais */
@media (prefers-reduced-motion: reduce) {
  .logo-track { animation: none; width: 100%; flex-wrap: wrap; justify-content: center; }
  .logo-cell[aria-hidden="true"] { display: none; }
}
a.logo-cell { transition: transform var(--t-med), opacity var(--t-med); }
a.logo-cell:hover { transform: translateY(-3px); opacity: 0.85; }
.client-logo {
  max-height: 44px;
  max-width: 116px;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 1;
}
/* Janua: o original é navy escuro e perde-se no fundo; deixamo-lo a branco */
.client-logo--white { filter: brightness(0) invert(1); }

/* -----------------------------------------------------------------
   12. CONTACTO / FORMULÁRIO DE LEAD
   ----------------------------------------------------------------- */
.contact { position: relative; overflow: hidden; isolation: isolate; }
.contact .section-head { text-align: center; margin-inline: auto; }
/* Formulário de lead (cartão escuro, alinhado com o resto do site) */
.contact__embed { max-width: 720px; margin-inline: auto; }

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--card-surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
}
.lead-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.lead-form__field { display: flex; flex-direction: column; gap: 0.45rem; }
.lead-form__fieldset { margin: 0; padding: 0; border: 0; }
.lead-form__label {
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.lead-form__input {
  width: 100%;
  padding: 0.8rem 1rem;
  font: inherit;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-card-sm);
  transition: border-color var(--t-fast), background var(--t-fast), box-shadow var(--t-fast);
}
.lead-form__input::placeholder { color: var(--text-faint); }
.lead-form__input:focus {
  outline: none;
  border-color: var(--electric);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.25);
}

/* Tamanho da equipa: opções em "pills" */
/* 4 colunas iguais: minmax(0, 1fr) impede que o texto mais longo alargue a sua coluna */
.lead-form__options {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.6rem;
}
.lead-form__option { position: relative; display: block; cursor: pointer; }
.lead-form__option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.lead-form__option span {
  display: flex;
  align-items: center;
  justify-content: center;
  /* altura fixa: as caixas ficam iguais mesmo que um rótulo passe a duas linhas */
  min-height: 48px;
  height: 100%;
  padding: 0.7rem 0.5rem;
  font-size: 0.9rem;
  text-align: center;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-card-sm);
  transition: border-color var(--t-fast), background var(--t-fast), color var(--t-fast);
}
.lead-form__option:hover span { border-color: var(--white); color: var(--text); }
.lead-form__option input:checked + span {
  color: var(--white);
  background: var(--electric-12);
  border-color: var(--electric);
}
.lead-form__option input:focus-visible + span { box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.25); }

/* Honeypot anti-spam: escondido dos humanos, visível para bots */
.lead-form__hp {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.lead-form__submit { justify-content: center; margin-top: 0.25rem; }
.lead-form__submit:disabled { opacity: 0.6; cursor: wait; transform: none; }

.lead-form__status {
  min-height: 1.4em;
  margin: 0;
  font-size: 0.95rem;
  text-align: center;
  color: var(--text-muted);
}
.lead-form__status.is-ok { color: var(--cyan); }
.lead-form__status.is-error { color: var(--warn); }

@media (max-width: 640px) {
  .lead-form__row { grid-template-columns: 1fr; }
  .lead-form__options { grid-template-columns: 1fr 1fr; }
}

/* -----------------------------------------------------------------
   13. FOOTER
   ----------------------------------------------------------------- */
.site-footer {
  background:
    linear-gradient(180deg, rgba(0, 82, 204, 0.16) 0%, rgba(0, 82, 204, 0.06) 100%),
    #070B16;
  color: var(--text-muted);
  border-top: 1px solid rgba(0, 102, 255, 0.28);
  position: relative;
  z-index: 1;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.3fr;
  align-items: start;
  gap: clamp(2rem, 5vw, 4rem);
  padding-block: 4rem 2.5rem;
}
.footer__nav-cols { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 0.85rem 2rem; }
.footer__nav { align-content: start; }
.footer__brand .brand__name { color: var(--white); }
.footer__desc { margin-top: 1.1rem; max-width: 340px; font-size: 0.95rem; line-height: 1.6; }

.footer__heading {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 1.3rem;
}
.footer__contact { display: grid; gap: 0.9rem; }
.footer__contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: color var(--t-fast);
}
.footer__contact a:hover { color: var(--white); }
.footer__contact i { color: var(--cyan); font-size: 1.2rem; flex-shrink: 0; }
.footer__nav { display: grid; gap: 0.85rem; }
.footer__nav a { font-size: 0.95rem; color: var(--text-muted); transition: color var(--t-fast); width: fit-content; }
.footer__nav a:hover { color: var(--white); }

.footer__bar {
  border-top: 1px solid var(--line);
  padding-block: 1.6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  font-size: 0.82rem;
  color: var(--text-faint);
}
.footer__legal a { transition: color var(--t-fast); }
.footer__legal a:hover { color: var(--white); }

/* -----------------------------------------------------------------
   13b. FAQ (página) + botão FAQ no footer
   ----------------------------------------------------------------- */
.footer__faq { padding: 0.6rem 1.2rem; font-size: 0.92rem; align-self: center; }

.faq__wrap { max-width: 820px; }
.faq__back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
  transition: color var(--t-fast);
}
.faq__back:hover { color: var(--cyan); }
.faq__title {
  margin-top: 1.6rem;
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.035em;
}
.faq__title .accent { color: var(--electric); }
.faq__sub { margin-top: 1rem; color: var(--text-muted); font-size: var(--fs-lead); max-width: 60ch; }

/* -----------------------------------------------------------------
   13c. PÁGINAS LEGAIS (privacidade / termos)
   ----------------------------------------------------------------- */
.legal__wrap { max-width: 800px; }
.legal__updated {
  margin-top: 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--text-faint);
}
.legal__disclaimer {
  margin-top: 1.8rem;
  padding: 1rem 1.25rem;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  font-size: 0.92rem;
  color: var(--text-muted);
}
.legal-content { margin-top: 2.5rem; }
.legal-content h2 {
  margin-top: 2.6rem;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  scroll-margin-top: 90px;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { margin-top: 1.6rem; font-size: 1.08rem; font-weight: 600; color: var(--text); }
.legal-content p { margin-top: 1rem; color: var(--text-muted); line-height: 1.75; }
.legal-content ul { margin-top: 1rem; padding-left: 1.3rem; list-style: disc; display: grid; gap: 0.55rem; }
.legal-content li { color: var(--text-muted); line-height: 1.7; }
.legal-content a { color: var(--cyan); text-decoration: underline; text-underline-offset: 2px; }
.legal-content a:hover { color: var(--white); }
.legal-content strong { color: var(--text); font-weight: 600; }

/* -----------------------------------------------------------------
   13d. BLOG
   ----------------------------------------------------------------- */
.post-grid {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.post-card {
  background: var(--card-surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  overflow: hidden;
  transition: transform var(--t-med), box-shadow var(--t-med), border-color var(--t-med), background var(--t-med);
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--glow-edge); border-color: transparent; background: var(--card-surface-hover); }
.post-card__link { display: block; padding: 1.6rem 1.5rem 1.8rem; }
.post-card__cat {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
}
.post-card__title { margin-top: 0.8rem; font-size: 1.25rem; font-weight: 600; letter-spacing: -0.01em; }
.post-card__excerpt { margin-top: 0.7rem; color: var(--text-muted); font-size: 0.96rem; }
.post-card__meta {
  margin-top: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-faint);
}
.post-card__meta i { font-size: 1.05rem; }

/* Estado vazio (sem artigos ainda) */
.post-card--empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: clamp(2.5rem, 6vw, 4rem) 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.post-card--empty:hover { transform: none; box-shadow: none; border-color: var(--line); background: var(--card-surface); }
.post-card__icon {
  width: 60px; height: 60px;
  display: grid; place-items: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--cyan);
  margin-bottom: 1.4rem;
}
.post-card__icon i { font-size: 1.7rem; }
.post-card--empty h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 700; }
.post-card--empty p { margin-top: 0.9rem; max-width: 46ch; color: var(--text-muted); }
.post-card--empty .btn { margin-top: 1.8rem; }

.faq__list { margin-top: clamp(2.5rem, 5vw, 3.5rem); border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 1.4rem 0.25rem;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-size: 1.06rem;
  color: var(--white);
  transition: color var(--t-fast);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--cyan); }
.faq-item summary i {
  flex-shrink: 0;
  font-size: 1.25rem;
  color: var(--cyan);
  transition: transform var(--t-med);
}
.faq-item[open] summary i { transform: rotate(180deg); }
.faq-answer {
  padding: 0 0.25rem 1.5rem;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.65;
  max-width: 68ch;
}

.faq__cta {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  text-align: center;
  background: var(--card-surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: clamp(2.2rem, 5vw, 3.2rem);
}
.faq__cta h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 700; }
.faq__cta p { margin: 1rem auto 0; color: var(--text-muted); max-width: 46ch; }
.faq__cta .btn { margin-top: 1.8rem; }

/* -----------------------------------------------------------------
   14. SCROLL REVEAL
   ----------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 600ms ease, transform 600ms cubic-bezier(0.4, 0, 0.2, 1); }
.reveal.is-visible { opacity: 1; transform: none; }

/* -----------------------------------------------------------------
   15. RESPONSIVO
   ----------------------------------------------------------------- */

@media (max-width: 980px) {
  .method__panel { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .sol-panel.is-active { grid-template-columns: 1fr; }
  .cases__grid { grid-template-columns: repeat(2, 1fr); }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .hero__inner { max-width: none; }
  .hero__video { object-position: center; }
  /* em ecrãs estreitos, escurece mais o fundo para o texto ficar legível */
  .hero::before {
    background:
      linear-gradient(180deg, rgba(10, 15, 30, 0.68) 0%, rgba(10, 15, 30, 0.86) 100%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero__video { display: none; }
  .hero { background: var(--ink); }
}

@media (max-width: 720px) {
  .nav__links, .nav__cta .btn span { display: none; }
  .nav__toggle { display: grid; place-items: center; }
  .nav.is-open .nav__links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: rgba(10, 15, 30, 0.96);
    backdrop-filter: blur(14px);
    padding: 1.25rem var(--gutter) 1.75rem;
    gap: 1.25rem;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-card);
  }
  .nav.is-open .nav__links a { color: var(--text-muted); }
  .cases__grid, .post-grid { grid-template-columns: 1fr; }
  /* Resultados médios = slider horizontal com swipe (uma métrica por vez) */
  .metrics__grid {
    display: flex;
    gap: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    scroll-padding-inline: var(--gutter);
  }
  .metrics__grid::-webkit-scrollbar { display: none; }
  .metric { flex: 0 0 100%; scroll-snap-align: center; } /* um resultado de cada vez */
  .metric + .metric::before { display: none; } /* sem separadores no slider */
  .method__nav { gap: 0.25rem; }
  .method__label { display: none; }
  .method__dot { width: 46px; height: 46px; }
  .method__nav::before, .method__nav::after { top: 22px; }
  .method__panel { text-align: left; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__brand { grid-column: auto; }
  .footer__bar { flex-direction: column; align-items: flex-start; }
  /* MOBILE: separadores em grelha 2×2 (cartões centrados, ícone em cima),
     e o painel do separador activo a toda a largura por baixo. */
  .sol-tabs { grid-template-columns: repeat(2, 1fr); column-gap: 0.7rem; row-gap: 0.7rem; }
  .sol-tab { grid-row: auto; padding: 1.05rem 0.75rem; gap: 0.5rem; }
  .sol-panel { grid-row: auto; grid-column: 1 / -1; }
  .sol-tab__label { font-size: 0.9rem; }
  .sol-panel.is-active { margin-top: 0.55rem; gap: 0.7rem; }
  .sol-panel__main, .sol-panel__aside { padding: 1.5rem 1.3rem; }
  .sol-panel__features { margin-top: 1.2rem; margin-bottom: 1.4rem; }
  .sol-panel__aside { justify-content: flex-start; }
  .sol-outcome__stat { margin-bottom: 1.1rem; }
  .sol-viz { margin-top: 1.2rem; padding-top: 1.1rem; }
  .cs-cards { grid-template-columns: 1fr; }
  .case-study__metrics { grid-template-columns: 1fr; gap: 1.2rem; }
  .hero__actions .btn { width: 100%; }
}

/* -----------------------------------------------------------------
   16. REDUCED MOTION
   ----------------------------------------------------------------- */
@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; }
  .reveal { opacity: 1; transform: none; }
}
