/* ==========================================================================
   INDATA INFORMÁTICA - STYLESHEET
   --------------------------------------------------------------------------
   Refatoração completa com foco em:
   - organização por camadas
   - legibilidade e manutenção
   - reutilização de tokens
   - comentários apenas onde agregam contexto
   - preservação do layout e comportamento existentes

   Observação:
   Esta versão mantém os mesmos seletores e a mesma intenção visual do CSS
   original. As mudanças foram estruturais, não de layout.
   ========================================================================== */

/* ==========================================================================
   00. FONTES AUTO-HOSPEDADAS — Inter
   --------------------------------------------------------------------------
   v1.6.7: Inter servida localmente em WOFF2 (assets/fonts/).
   Elimina 3 requisições externas ao Google Fonts (~475 KiB de TTF) do
   caminho crítico de renderização. WOFF2 é ~5× menor que TTF.
   font-display: swap garante texto visível imediatamente em fonte fallback
   enquanto Inter carrega — sem "texto invisível durante carregamento".
   ========================================================================== */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/inter-latin-400-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
                 U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F,
                 U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
                 U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/inter-latin-500-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
                 U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F,
                 U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
                 U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/inter-latin-600-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
                 U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F,
                 U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
                 U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/inter-latin-700-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
                 U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F,
                 U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
                 U+FEFF, U+FFFD;
}

/* ==========================================================================
   01. DESIGN TOKENS
   ========================================================================== */

:root {
  /* Paleta clara revisada (v1.4): tom slate-blue suave, mais elegante e menos
     branco-cirúrgico. Substitui os off-whites azulados frios anteriores
     (#eaedf3, #f6f8fb) por uma combinação de tons que lembra papel e linho —
     conserva a identidade indata (cinza/azul) mas reduz o ofuscamento que
     a versão anterior causava em telas grandes. */
  --bg-color: #e6e9f0;
  --primary-blue: #1e5c89;
  --accent-teal: #0891b2;

  /* Base surfaces — gradação suave entre fundo e superfícies */
  --bg: #e3e7ee;          /* fundo geral — slate-blue claro */
  --surface: #ecf0f6;     /* cards padrão — levemente mais claro que o bg */
  --surface-2: #d6dde8;   /* superfícies secundárias / inputs */
  --border: #bfc8d6;      /* bordas com mais presença */

  /* Card surfaces — tom slate-blue mais profundo, dedicado a cards.
     Usado em hero cards (carrossel), service cards e demais cards do site.
     Mais escuro que --surface para reduzir o aspecto "branco demais" e
     aumentar a sensação de profundidade sobre os fundos do site. */
  --card-bg: #d8dfeb;
  --card-bg-elevated: #cdd5e4;  /* hover/destaque base sem gloss */

  /* Text — menos agressivo que preto puro, ainda 100% legível */
  --text: #15202f;
  --muted: #4f5c70;

  /* Brand */
  --primary: var(--primary-blue);
  --accent: var(--accent-teal);
  --secondary: #f59e0b;

  /* Canais RGB para uso com rgba() — permite tematizar opacidades
     sem hardcodar a cor base. Sintaxe: rgba(var(--primary-rgb), 0.22). */
  --primary-rgb: 30, 92, 137;
  --accent-rgb: 8, 145, 178;
  --secondary-rgb: 245, 158, 11;
  --bg-rgb: 227, 231, 238;
  --text-rgb: 21, 32, 47;
  --success: #15803d;
  --danger: #b91c1c;
  --success-rgb: 21, 128, 61;
  --danger-rgb: 185, 28, 28;

  /* Header */
  --header-bg: #2f3136;
  --header-text: rgba(255, 255, 255, 0.92);
  --header-muted: rgba(255, 255, 255, 0.7);
  --header-border: rgba(255, 255, 255, 0.1);

  /* Inputs */
  --input-bg: var(--surface);
  --input-text: #15202f;
  --input-placeholder: rgba(21, 32, 47, 0.5);

  /* Controls */
  --control-bg: rgba(246, 248, 251, 0.88);
  --control-bg-hover: rgba(246, 248, 251, 0.96);
  --control-text: #15202f;

  /* Footer */
  --footer-bg: rgba(246, 248, 251, 0.75);
  --footer-border: rgba(21, 32, 47, 0.08);

  /* Shadows — atenuadas: superfícies próximas da bg pedem sombra mais sutil */
  --shadow-lg:
    0 1px 2px rgba(21, 32, 47, 0.04),
    0 6px 14px rgba(21, 32, 47, 0.05),
    0 20px 40px rgba(21, 32, 47, 0.08);
  --shadow-sm: 0 6px 18px rgba(30, 92, 137, 0.18);

  /* Hero animation — paleta dedicada para o canvas 3D do hero. As cores
     são definidas por tema: no tema claro usamos cores escuras/saturadas
     para contrastar com o fundo off-white; no tema escuro usamos cores
     claras (cyan/purple) que se destacam no fundo escuro. */
  --hero-anim-bg: var(--bg);
  --hero-anim-primary: #1e5c89;
  --hero-anim-accent: #0e7490;

  /* Radius */
  --r-lg: 1.2rem;
  --r-md: 0.9rem;
  --r-sm: 0.65rem;
  --r-pill: 999px;

  /* Spacing */
  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 3rem;

  /* Typography */
  --font: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Sizing */
  --size-control: 44px;
  --size-icon-xs: 18px;
  --size-icon-sm: 20px;
  --size-icon-md: 22px;
  --size-brand-logo: 34px;
  --size-brand-dot: 10px;
  --size-dot: 10px;

  /* Motion */
  --transition-fast: 0.15s ease;
  --transition-base: 0.22s ease;
  --transition-slow: 0.28s ease;

  /* Effects */
  --ring-focus: 2px solid rgba(78, 208, 255, 0.85);
  --overlay-dark-soft: rgba(5, 5, 10, 0.35);
  --overlay-dark-strong: rgba(5, 5, 10, 0.85);

  /* Layout helpers */
  --desktop-header-offset: 140px;
  --carousel-side-offset-mobile: 0.4rem;
  --carousel-side-offset-default: 0.75rem;
  --carousel-side-offset-desktop: -70px;
  --carousel-stage-height: clamp(460px, 58vh, 620px);
  --carousel-stage-radius: 1.5rem;
  --carousel-controls-gap: 0.75rem;
  --carousel-stage-height: clamp(380px, 48vh, 520px);
}

:root[data-theme="dark"] {
  --bg-color: #05050a;
  --primary-blue: #4ed0ff;
  --accent-teal: #6c5ce7;

  --bg: #05050a;
  --surface: #10111b;
  --surface-2: rgba(78, 208, 255, 0.06);
  --border: #1f2435;

  /* Card surfaces no dark theme: usam o mesmo --surface (não há diferença
     visual no escuro, ambos ficam pretos). Mantém a variável definida para
     consistência entre temas. */
  --card-bg: #10111b;
  --card-bg-elevated: #161824;

  --text: #f6f7fb;
  --muted: #a6acbe;

  --primary: var(--primary-blue);
  --accent: var(--accent-teal);
  --secondary: #ff9f46;

  /* Canais RGB para uso com rgba() — mesmas chaves do light theme,
     com valores ajustados para a paleta escura. */
  --primary-rgb: 78, 208, 255;
  --accent-rgb: 108, 92, 231;
  --secondary-rgb: 255, 159, 70;
  --bg-rgb: 5, 5, 10;
  --text-rgb: 246, 247, 251;
  --success: #4ade80;
  --danger: #ef4444;
  --success-rgb: 74, 222, 128;
  --danger-rgb: 239, 68, 68;

  --header-bg: rgba(5, 5, 10, 0.86);
  --header-text: rgba(255, 255, 255, 0.92);
  --header-muted: rgba(255, 255, 255, 0.7);
  --header-border: rgba(255, 255, 255, 0.12);

  --input-bg: #070813;
  --input-text: #f6f7fb;
  --input-placeholder: rgba(246, 247, 251, 0.55);

  --control-bg: rgba(5, 5, 10, 0.72);
  --control-bg-hover: rgba(5, 5, 10, 0.88);
  --control-text: #f6f7fb;

  --footer-bg: rgba(5, 5, 10, 0.55);
  --footer-border: rgba(31, 36, 53, 0.85);

  --shadow-lg: 0 30px 60px rgba(2, 4, 25, 0.55);
  --shadow-sm: 0 12px 30px rgba(78, 208, 255, 0.2);

  /* Hero animation — tema escuro usa cores claras pra contrastar com bg escuro */
  --hero-anim-bg: var(--bg);
  --hero-anim-primary: #4ed0ff;
  --hero-anim-accent: #6c5ce7;
}

/* ==========================================================================
   01b. LIGHT THEME REFINEMENTS
   Overrides aplicados apenas ao tema claro: mais profundidade nos cards e
   melhor legibilidade nos audience-cards (texto sobre imagem desfocada).
   O seletor :not([data-theme="dark"]) cobre o estado padrão e light explícito.
   ========================================================================== */

:root:not([data-theme="dark"]) .card {
  border-color: rgba(21, 32, 47, 0.07);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

:root:not([data-theme="dark"]) .card:hover {
  transform: translateY(-2px);
  box-shadow:
    0 1px 3px rgba(21, 32, 47, 0.06),
    0 8px 18px rgba(21, 32, 47, 0.08),
    0 24px 44px rgba(21, 32, 47, 0.10);
  border-color: rgba(30, 92, 137, 0.18);
}

/* Card destacado: sombra azul mais sutil, com a cor do brand (-data).
   O gradiente cyan/laranja (gloss) é DEFINIDO globalmente em .card--highlight
   acima — aplica-se a ambos os temas, sinalizando "este é um item destacado".
   No tema claro só ajustamos a sombra para uma escala que combina com o fundo
   slate-blue claro do site. */
:root:not([data-theme="dark"]) .card--highlight {
  box-shadow:
    0 1px 2px rgba(21, 32, 47, 0.05),
    0 6px 14px rgba(30, 92, 137, 0.08),
    0 22px 44px rgba(30, 92, 137, 0.10);
  border-color: rgba(78, 208, 255, 0.22);
}

/* Audience cards: o eyebrow e o título ficavam ilegíveis sobre a imagem
   desfocada clara. Reforçamos o overlay e mudamos o eyebrow para branco
   com text-shadow, garantindo legibilidade em qualquer foto. */
:root:not([data-theme="dark"]) .audience-card__media::after {
  background:
    linear-gradient(
      180deg,
      rgba(5, 8, 22, 0.45) 0%,
      rgba(5, 8, 22, 0.62) 42%,
      rgba(5, 8, 22, 0.88) 100%
    ),
    radial-gradient(
      circle at top left,
      rgba(255, 255, 255, 0.06),
      transparent 42%
    );
}

:root:not([data-theme="dark"]) .audience-card__eyebrow {
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

:root:not([data-theme="dark"]) .audience-card__title {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

:root:not([data-theme="dark"]) .audience-card__description {
  color: rgba(255, 255, 255, 0.94);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}

/* Painéis (FAQ, processo) também ganham borda mais perceptível */
:root:not([data-theme="dark"]) .panel {
  border-color: rgba(15, 23, 42, 0.10);
}

/* Hero — tema claro: flags (.badge e .tag) precisam de mais contraste.
   O .badge flutua direto sobre o fundo off-white da animação 3D e some;
   o .tag fica dentro do card branco com âmbar muito diluído.
   Ambos recebem tratamento independente, apenas no contexto do hero claro. */

/* .badge no hero: pill escuro semi-transparente (glass escuro) com texto
   legível, em contraste com o fundo claro da animação. */
:root:not([data-theme="dark"]) .hero .badge {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(21, 32, 47, 0.22);
  color: rgba(21, 32, 47, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* .tag dentro dos cards do hero: âmbar sólido com texto escuro —
   relação de contraste WCAG AA sobre fundo claro. */
:root:not([data-theme="dark"]) .hero .tag {
  background: rgba(245, 158, 11, 0.22);
  border-color: rgba(180, 83, 9, 0.40);
  color: #92400e; /* âmbar escuro — contraste 4.8:1 sobre branco */
  font-weight: 600;
}

/* ==========================================================================
   02. BASE / RESET
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

:focus-visible {
  outline: var(--ring-focus);
  outline-offset: 3px;
  border-radius: 0.5rem;
}

/* Utilitário de acessibilidade para conteúdo visível apenas por leitores de tela. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -9999px;
  left: -9999px;
  z-index: 100;
  padding: 0.7rem 1rem;
  border-radius: var(--r-md);
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
}

.skip-link:focus-visible {
  top: 1rem;
  left: 1rem;
  opacity: 1;
  pointer-events: auto;
}

/* ==========================================================================
   03. ICONOGRAFIA
   ========================================================================== */

.icon,
.icon svg,
.icon-btn svg {
  width: var(--size-icon-sm);
  height: var(--size-icon-sm);
}

.feature__icon svg {
  width: var(--size-icon-md);
  height: var(--size-icon-md);
}

.theme-toggle svg,
.li-icon svg,
.btn--whatsapp .wa-icon svg {
  width: var(--size-icon-xs);
  height: var(--size-icon-xs);
}

.li-icon {
  display: inline-flex;
  align-items: center;
  margin-right: 0.55rem;
  transform: translateY(1px);
}

.wa-icon {
  display: inline-flex;
}

.wa-icon svg {
  display: block;
}

/* SVG WhatsApp Simple Icons — herda cor via currentColor, adapta-se a
   qualquer botão (primário, ghost, header). */
.icon-whatsapp {
  display: block;
  width: var(--size-icon-sm);
  height: var(--size-icon-sm);
  flex-shrink: 0;
}

.btn--primary .icon-whatsapp,
.btn--ghost .icon-whatsapp {
  width: 1.15rem;
  height: 1.15rem;
}

/* ==========================================================================
   04. LAYOUT
   ========================================================================== */

.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  width: min(1100px, 100%);
  margin: 0 auto;
  padding: 0 var(--space-4);
}

.section {
  margin: 0 0 4rem;
}

.section__title {
  margin: 0 0 2rem;
}

/* Variante com link "Ver todos" alinhado à direita */
.section__title--with-link {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
}

.section__title-text {
  flex: 1;
  min-width: 0;
}

.section__see-all {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  flex-shrink: 0;
  align-self: flex-start;
  margin-top: 2.1rem; /* alinha com a linha do h2 */
  font-size: .88rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  padding: .45rem .85rem;
  border: 1px solid rgba(var(--primary-rgb, 78,208,255), .35);
  border-radius: 99px;
  transition: background var(--transition-base), border-color var(--transition-base);
  white-space: nowrap;
}

.section__see-all:hover {
  background: rgba(var(--primary-rgb, 78,208,255), .1);
  border-color: var(--primary);
}

.section__see-all i[data-lucide] {
  width: .85rem;
  height: .85rem;
  transition: transform var(--transition-base);
}

.section__see-all:hover i[data-lucide] {
  transform: translateX(3px);
}

@media (max-width: 768px), (orientation: portrait) and (max-width: 1024px) {
  .section__title--with-link {
    flex-direction: column;
    gap: .75rem;
  }
  .section__see-all {
    margin-top: 0;
    align-self: flex-start;
  }
}

.section__kicker {
  display: inline-block;
  color: var(--secondary);
  font-size: 0.9rem;
  letter-spacing: 0.2em;
}

/* ==========================================================================
   05. TYPOGRAPHY
   ========================================================================== */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  color: var(--muted);
  font-size: 0.85rem;
}

.h1 {
  margin: 0;
  font-size: clamp(2.1rem, 4.8vw, 3.5rem);
  line-height: 1.08;
}

.h2 {
  margin: 0.35rem 0 0;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  line-height: 1.2;
}

.h3 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}

.h3--accent {
  color: var(--primary);
}

.lead {
  max-width: 62ch;
  margin: 0;
  color: var(--muted);
}

.text-muted {
  color: var(--muted);
}

/* ==========================================================================
   06. OBJECTS / HELPERS
   ========================================================================== */

.stack {
  display: grid;
  gap: var(--space-3);
}

.list {
  margin: 0.75rem 0 0;
  padding-left: 1.15rem;
  color: var(--muted);
  line-height: 1.7;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.25rem;
}

/* ==========================================================================
   07. SURFACES
   ========================================================================== */

.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
}

.card__body {
  padding: clamp(1.5rem, 3vw, 2.2rem);
}

.card--glow {
  background:
    radial-gradient(circle at top, rgba(78, 208, 255, 0.18), transparent 60%),
    var(--card-bg);
}

.card--highlight {
  position: relative;
  background:
    linear-gradient(120deg, rgba(78, 208, 255, 0.1), rgba(255, 159, 70, 0.1)),
    var(--card-bg);
  border-color: rgba(78, 208, 255, 0.18);
}

.tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.2rem 0.65rem;
  border: 1px solid rgba(255, 159, 70, 0.75);
  border-radius: var(--r-pill);
  background: rgba(255, 159, 70, 0.88);
  color: #1a0e00;          /* contraste máximo sobre fundo laranja */
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.panel {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
}

.panel__body {
  padding: 1.25rem;
}

/* ==========================================================================
   08. BUTTONS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.9rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 0.85rem;
  cursor: pointer;
  font-weight: 700;
  user-select: none;
  transition:
    transform var(--transition-fast),
    filter var(--transition-fast),
    background var(--transition-fast);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: linear-gradient(120deg, var(--primary), var(--accent));
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.btn--primary:hover {
  filter: brightness(1.05);
}

.btn--ghost {
  background: transparent;
  border-color: rgba(31, 36, 53, 0.25);
  color: var(--text);
}

.btn--ghost:hover {
  background: rgba(16, 17, 27, 0.06);
}

:root[data-theme="dark"] .btn--ghost {
  border-color: rgba(31, 36, 53, 0.95);
}

:root[data-theme="dark"] .btn--ghost:hover {
  background: rgba(16, 17, 27, 0.7);
}

.btn--whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--r-pill);
  background: var(--secondary);
  color: #111827;
  font-weight: 800;
}

.btn--whatsapp:hover {
  filter: brightness(1.03);
  transform: translateY(-1px);
}

.icon-btn {
  display: grid;
  width: var(--size-control);
  height: var(--size-control);
  place-items: center;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  background: var(--control-bg);
  color: var(--control-text);
  cursor: pointer;
}

.icon-btn:hover {
  background: var(--control-bg-hover);
}

.theme-toggle,
.nav__toggle,
.nav-drawer__close {
  width: var(--size-control);
  height: var(--size-control);
  border: 1px solid var(--header-border);
  border-radius: var(--r-pill);
  cursor: pointer;
}

.theme-toggle {
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  color: var(--header-text);
}

.theme-toggle:hover,
.nav__toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

.nav-drawer__close {
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  color: var(--header-text);
}

/* ==========================================================================
   09. GRID SYSTEM
   ========================================================================== */

.grid {
  display: grid;
  gap: 1.25rem;
}

.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* ==========================================================================
   10. HEADER / NAVIGATION
   ========================================================================== */

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: 0.9rem 0;
}

.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--header-text);
  line-height: 1;
}

.brand__logo {
  width: auto;
  height: var(--size-brand-logo);
  opacity: 1;
  transition:
    opacity var(--transition-base),
    transform var(--transition-slow);
}

.brand__logo--overlay {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  opacity: 0;
  pointer-events: none;
}

.brand__logo--drawer {
  height: var(--size-brand-logo);
}

.brand__dot {
  width: var(--size-brand-dot);
  height: var(--size-brand-dot);
  border-radius: var(--r-pill);
  background: linear-gradient(120deg, var(--primary), var(--accent));
  box-shadow: 0 0 0 3px rgba(78, 208, 255, 0.15);
}

.nav__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem;
}

.nav__link {
  padding: 0.55rem 0.9rem;
  border: 1px solid transparent;
  border-radius: 0.85rem;
  color: var(--header-muted);
}

.nav__link:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--header-border);
  color: var(--header-text);
}

.nav__link[aria-current="page"] {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--header-text);
}

.nav__actions {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.nav__toggle {
  display: none;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  color: var(--header-text);
}

/* Drawer é controlado por JS e permanece oculto no desktop. */
.nav-drawer {
  display: none;
}

/* ==========================================================================
   11. HEADER DINÂMICO (DESKTOP)
   ========================================================================== */

@media (min-width: 1025px), (min-width: 769px) and (orientation: landscape) {
  .header.header--dynamic {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    background: transparent;
    border-bottom-color: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition:
      background var(--transition-base),
      border-color var(--transition-base),
      backdrop-filter var(--transition-base);
  }

  .header.header--dynamic .nav__links,
  .header.header--dynamic .nav__actions {
    transform: translateY(22px);
    will-change: transform;
  }

  .header.header--dynamic .nav__links {
    opacity: 1;
    transition:
      transform 0.26s ease,
      opacity 0.26s ease;
  }

  .header.header--dynamic .nav__actions {
    transition: transform 0.26s ease;
  }

  .header.header--dynamic .brand {
    transform: translateY(0) scale(1);
    transform-origin: left center;
    transition: transform var(--transition-slow);
    will-change: transform;
  }

  .header.header--dynamic:not(.is-scrolled) .brand {
    transform: translateY(22px) scale(1.65);
  }

  /* Logo swap no estado transparente do header. */
  .header.header--dynamic:not(.is-scrolled) .brand__logo--bar {
    opacity: 0;
  }

  .header.header--dynamic:not(.is-scrolled) .brand__logo--overlay {
    opacity: 1;
  }

  :root[data-theme="dark"]
    .header.header--dynamic:not(.is-scrolled)
    .brand__logo--bar {
    opacity: 1;
  }

  :root[data-theme="dark"]
    .header.header--dynamic:not(.is-scrolled)
    .brand__logo--overlay {
    opacity: 0;
  }

  /* Tema claro: header transparente sobre fundo claro usa textos escuros */
  :root:not([data-theme="dark"])
    .header.header--dynamic:not(.is-scrolled)
    .nav__link {
    color: rgba(15, 23, 42, 0.82);
  }

  :root:not([data-theme="dark"])
    .header.header--dynamic:not(.is-scrolled)
    .nav__link:hover {
    background: rgba(15, 23, 42, 0.04);
    border-color: rgba(15, 23, 42, 0.12);
    color: rgba(15, 23, 42, 0.95);
  }

  :root:not([data-theme="dark"])
    .header.header--dynamic:not(.is-scrolled)
    .nav__link[aria-current="page"] {
    background: rgba(15, 23, 42, 0.06);
    border-color: rgba(15, 23, 42, 0.18);
    color: rgba(15, 23, 42, 0.98);
  }

  :root:not([data-theme="dark"])
    .header.header--dynamic:not(.is-scrolled)
    .theme-toggle {
    background: rgba(15, 23, 42, 0.08);
    border-color: rgba(15, 23, 42, 0.14);
    box-shadow: 0 10px 24px rgba(2, 6, 23, 0.08);
    color: rgba(15, 23, 42, 0.92);
  }

  :root:not([data-theme="dark"])
    .header.header--dynamic:not(.is-scrolled)
    .theme-toggle:hover {
    background: rgba(15, 23, 42, 0.12);
    border-color: rgba(15, 23, 42, 0.18);
  }

  .header.header--dynamic.is-scrolled {
    background: var(--header-bg);
    border-bottom-color: var(--header-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .header.header--dynamic.is-scrolled .nav__links,
  .header.header--dynamic.is-scrolled .nav__actions {
    transform: translateY(0);
  }

  .header--dynamic + .hero {
    padding-top: var(--desktop-header-offset);
  }

  .header--dynamic + main {
    margin-top: var(--desktop-header-offset);
  }

  .header--dynamic.is-scrolled + .hero {
    padding-top: 0;
  }
}

@media (prefers-reduced-motion: reduce) and (min-width: 769px) {
  .header.header--dynamic,
  .header.header--dynamic .nav__links,
  .header.header--dynamic .nav__actions,
  .brand__logo {
    transition: none !important;
  }
}

/* Header dinâmico em viewport estreita de desktop (769-1024px landscape).
   Nesta faixa o layout desktop é ativo mas o espaço horizontal é limitado
   — os links com padding padrão encostam na logo (visível em iPad landscape
   e monitores de 1024px). A correção reduz padding dos links e o gap do nav
   apenas nessa faixa, sem afetar desktop largo (≥ 1025px) nem mobile. */
@media (min-width: 769px) and (max-width: 1024px) and (orientation: landscape) {
  .nav {
    gap: 0.5rem;
  }
  .nav__link {
    padding: 0.45rem 0.6rem;
    font-size: 0.92rem;
  }
  .nav__actions {
    gap: 0.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .carousel__slide,
  .hero__scroll-icon span,
  .brands-strip__track {
    animation: none !important;
    transition: none !important;
  }
}

/* ==========================================================================
   12. MOBILE NAVIGATION
   ========================================================================== */

@media (max-width: 768px), (orientation: portrait) and (max-width: 1024px) {
  .container {
    padding: 0 1rem;
  }

  .nav {
    display: grid;
    grid-template-columns: var(--size-control) 1fr auto;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
  }

  .nav__toggle {
    display: grid;
  }

  .brand {
    justify-self: center;
    gap: 0.6rem;
    text-align: center;
  }

  .brand__text {
    display: inline-block;
    line-height: 1.05;
  }

  .nav__links {
    display: none;
  }

  .btn--whatsapp {
    width: var(--size-control);
    height: var(--size-control);
    justify-content: center;
    padding: 0.6rem;
  }

  .btn--whatsapp .wa-text {
    display: none;
  }

  .btn--whatsapp .wa-icon svg {
    width: var(--size-icon-sm);
    height: var(--size-icon-sm);
  }

  .theme-toggle {
    width: var(--size-control);
    height: var(--size-control);
  }

  .nav__actions {
    gap: 0.5rem;
  }

  .nav-drawer {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: none;
  }

  .nav-drawer.is-open {
    display: block;
  }

  .nav-drawer__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(2px);
  }

  .nav-drawer__panel {
    position: absolute;
    inset: 0;
    display: grid;
    align-content: start;
    /* Default explícito: items alinham à esquerda da célula. Sem isso,
       o botão close (com largura fixa de 48px) ficava centralizado em
       alguns navegadores mobile (Chrome Android / Samsung Internet). */
    justify-items: start;
    gap: 1.2rem;
    padding: 1.2rem 1.1rem;
    background: var(--header-bg);
    color: var(--header-text);
    transform: translateY(-8px);
    animation: drawer-in 0.18s ease forwards;
  }

  .nav-drawer__brand {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
  }

  .nav-drawer__links {
    display: grid;
    gap: 0.35rem;
    padding-top: 0.25rem;
    justify-self: stretch;
  }

  .nav-drawer__link {
    padding: 0.9rem 0.8rem;
    border: 1px solid transparent;
    border-radius: 0.85rem;
    color: rgba(255, 255, 255, 0.92);
  }

  .nav-drawer__link:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--header-border);
  }

  .nav-drawer__footer {
    padding-top: 0.25rem;
    /* O botão "Chamar no WhatsApp" preenche toda a largura.
       Override do justify-items: start do panel (que mantém o X
       no canto esquerdo onde o hambúrguer estava). */
    justify-self: stretch;
  }

  body.nav-open {
    overflow: hidden;
  }
}

@keyframes drawer-in {
  to {
    transform: translateY(0);
  }
}

/* ==========================================================================
   13. HERO / CAROUSEL
   ========================================================================== */

.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  min-height: 100svh;
  margin-bottom: 0;
  padding: 2rem 0 -2.5rem;
  background:
    radial-gradient(circle at top, rgba(30, 92, 137, 0.18), transparent 60%),
    var(--bg);
}

:root[data-theme="dark"] .hero {
  background:
    radial-gradient(circle at top, rgba(78, 208, 255, 0.22), transparent 60%),
    var(--bg);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(5, 5, 10, 0) 0%,
    var(--overlay-dark-soft) 100%
  );
  pointer-events: none;
}

:root[data-theme="dark"] .hero::after {
  background: linear-gradient(
    180deg,
    rgba(5, 5, 10, 0) 0%,
    var(--overlay-dark-strong) 100%
  );
}

/* Tema claro: overlay sutil pra fade suave no bottom (transição pro próximo
   bloco) sem escurecer o conteúdo. */
:root:not([data-theme="dark"]) .hero::after {
  background: linear-gradient(
    180deg,
    rgba(234, 237, 243, 0) 0%,
    rgba(234, 237, 243, 0.6) 100%
  );
}

.hero__scene {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  isolation: isolate;
}

.hero__canvas {
  position: absolute;
  inset: 0;
  z-index: -1;
  display: block;
  width: 100%;
  height: 100%;
}

.hero__video-layer {
  position: absolute;
  inset: -6%;
  z-index: 0;
  opacity: 0.32;
  mix-blend-mode: screen;
}

.hero__video-layer video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.08) contrast(1.02) brightness(0.82);
}

.hero__scene-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(
      circle at 18% 18%,
      rgba(78, 208, 255, 0.14),
      transparent 28%
    ),
    radial-gradient(
      circle at 78% 24%,
      rgba(108, 92, 231, 0.1),
      transparent 24%
    ),
    linear-gradient(
      180deg,
      rgba(6, 10, 18, 0.08) 0%,
      rgba(5, 8, 14, 0.28) 56%,
      rgba(5, 8, 14, 0.54) 100%
    );
}

.hero .container,
.hero .carousel,
.hero .carousel__track,
.hero .carousel__slide,
.hero .hero-grid,
.hero .card,
.hero .stack {
  position: relative;
  z-index: 2;
}

.hero .card {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Tema claro: cards do hero (carrossel) seguem o mesmo tratamento sóbrio do
   tema escuro — superfície opaca, borda azul indata sutil, sombra discreta.
   Removido o efeito "vidro fosco translúcido" que criava brilho ofuscante
   sobre o canvas 3D. Usa --card-bg (slate-blue mais profundo que --surface)
   para reduzir o aspecto "branco demais" sobre o fundo escuro animado. */
:root:not([data-theme="dark"]) .hero .card {
  background: var(--card-bg);
  border-color: rgba(30, 92, 137, 0.18);
  box-shadow:
    0 1px 2px rgba(21, 32, 47, 0.04),
    0 8px 22px rgba(30, 92, 137, 0.08),
    0 24px 48px rgba(21, 32, 47, 0.06);
}

/* Hero card destacado (.card--highlight): mantém o gloss em ambos os temas.
   No light theme reaplicamos o gradiente porque a regra ".hero .card" do
   light tem maior especificidade que ".card--highlight" e sobrescreveria o
   background. */
:root:not([data-theme="dark"]) .hero .card.card--highlight {
  background:
    linear-gradient(120deg, rgba(78, 208, 255, 0.1), rgba(255, 159, 70, 0.1)),
    var(--card-bg);
  border-color: rgba(78, 208, 255, 0.22);
}

:root:not([data-theme="dark"]) .hero .stack {
  text-shadow: none;
}

.hero .stack {
  text-shadow: 0 12px 34px rgba(5, 8, 14, 0.28);
}

.hero__scroll-cue {
  position: absolute;
  left: 50%;
  bottom: clamp(0.8rem, 2vw, 1.6rem);
  z-index: 3;
  display: inline-grid;
  justify-items: center;
  gap: 0.55rem;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.82);
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.38);
  transition:
    transform 0.4s ease,
    opacity 0.4s ease;
  pointer-events: none;
}

.hero__scroll-cue.is-hidden {
  opacity: 0;
  transform: translateX(-50%) translateY(12px);
}

.hero__scroll-cue:not(.is-hidden) {
  pointer-events: auto;
}

.hero__scroll-label {
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero__scroll-icon {
  display: inline-grid;
  gap: 0.3rem;
}

.hero__scroll-icon span {
  width: 12px;
  height: 12px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.95;
  animation: hero-scroll-bounce 1.8s ease-in-out infinite;
}

.hero__scroll-icon span:last-child {
  margin-top: -6px;
  opacity: 0.5;
  animation-delay: 0.18s;
}

@keyframes hero-scroll-bounce {
  0%,
  100% {
    transform: translateY(0) rotate(45deg);
    opacity: 0.35;
  }

  50% {
    transform: translateY(6px) rotate(45deg);
    opacity: 1;
  }
}

.carousel {
  position: relative;
  z-index: 1;
}

.carousel__track {
  position: relative;
}

.carousel__slide {
  display: none;
  animation: fade-slide 0.45s ease;
}

.carousel__slide.is-active {
  display: block;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 1025px), (min-width: 769px) and (orientation: landscape) {
  .carousel {
    display: grid;
    grid-template-rows: minmax(0, var(--carousel-stage-height)) auto;
    row-gap: var(--carousel-controls-gap);
  }

  .carousel__track {
    min-height: var(--carousel-stage-height);
    overflow: hidden;
    border-radius: var(--carousel-stage-radius);
  }

  .carousel__slide {
    position: absolute;
    inset: 0;
    height: 100%;
  }

  .hero-grid {
    height: 100%;
    align-items: center;
    align-content: center;
  }

  .hero-grid > .stack,
  .hero-grid > .card,
  .hero-grid > aside.card {
    min-width: 0;
  }
}

.kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.kpi {
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--card-bg);
}

.kpi__value {
  color: var(--primary);
  font-size: 1.3rem;
  font-weight: 800;
}

.kpi__label {
  color: var(--muted);
  font-size: 0.92rem;
}

.carousel__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-height: var(--size-control);
  margin-top: 0.75rem;
}

@media (min-width: 1025px), (min-width: 769px) and (orientation: landscape) {
  .carousel__controls {
    margin-top: 0;
  }
}

/* Evita flash enquanto o JS reposiciona os botões laterais. */
.carousel__controls > .icon-btn {
  display: none;
}

.carousel__dots {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.carousel__side-controls {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 4;
  pointer-events: none;
}

@media (min-width: 1025px), (min-width: 769px) and (orientation: landscape) {
  .carousel__side-controls {
    top: calc(var(--carousel-stage-height) / 2);
  }
}

.carousel__side-controls .icon-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: auto;
}

.carousel__side-controls [data-prev] {
  left: var(--carousel-side-offset-default);
}

.carousel__side-controls [data-next] {
  right: var(--carousel-side-offset-default);
}

/* ==========================================================================
   DOTS — cápsulas modernas
   ========================================================================== */

.dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition:
    width var(--transition-base),
    background var(--transition-base),
    opacity var(--transition-base);
  opacity: 0.6;
}

.dot.is-active {
  width: 22px;
  background: var(--primary);
  opacity: 1;
}

:root:not([data-theme="dark"]) .dot {
  background: rgba(30, 92, 137, 0.22);
}

:root:not([data-theme="dark"]) .dot.is-active {
  background: var(--primary);
  opacity: 1;
}

/* ==========================================================================
   SETAS DESKTOP — glass com borda gradiente, ícone arrow-left/right
   Mobile: sem setas (navega por swipe + dots)
   ========================================================================== */

@media (max-width: 768px), (orientation: portrait) and (max-width: 1024px) {
  .carousel__side-controls .icon-btn {
    display: none;
  }
}

@media (min-width: 1025px), (min-width: 769px) and (orientation: landscape) {
  .carousel__side-controls .icon-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--r-pill);
    /* Borda-gradiente via background composto (padding-box + border-box) */
    border: 1px solid transparent;
    background:
      linear-gradient(rgba(16, 17, 27, 0.5), rgba(16, 17, 27, 0.5)) padding-box,
      linear-gradient(140deg, rgba(255, 255, 255, 0.20), rgba(255, 255, 255, 0.04)) border-box;
    color: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(14px) saturate(1.6);
    -webkit-backdrop-filter: blur(14px) saturate(1.6);
    box-shadow:
      0 2px 6px rgba(0, 0, 0, 0.20),
      0 8px 22px rgba(0, 0, 0, 0.14),
      inset 0 1px 0 rgba(255, 255, 255, 0.09);
    transition:
      background var(--transition-fast),
      color var(--transition-fast),
      box-shadow var(--transition-fast),
      transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
  }

  /* arrow-left/right ficam bem com stroke ligeiramente mais fino */
  .carousel__side-controls .icon-btn svg {
    width: 16px;
    height: 16px;
    stroke-width: 1.75;
  }

  .carousel__side-controls .icon-btn:hover {
    background:
      linear-gradient(rgba(28, 30, 52, 0.76), rgba(28, 30, 52, 0.76)) padding-box,
      linear-gradient(140deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.06)) border-box;
    color: #fff;
    box-shadow:
      0 4px 12px rgba(0, 0, 0, 0.26),
      0 14px 34px rgba(0, 0, 0, 0.18),
      inset 0 1px 0 rgba(255, 255, 255, 0.14);
    transform: translateY(-50%) scale(1.08);
  }

  .carousel__side-controls .icon-btn:active {
    transform: translateY(-50%) scale(0.95);
    transition-duration: 0.07s;
  }

  /* Tema claro: off-white com borda azul-brand */
  :root:not([data-theme="dark"]) .carousel__side-controls .icon-btn {
    background:
      linear-gradient(rgba(248, 250, 253, 0.84), rgba(248, 250, 253, 0.84)) padding-box,
      linear-gradient(140deg, rgba(30, 92, 137, 0.38), rgba(30, 92, 137, 0.08)) border-box;
    color: var(--primary);
    box-shadow:
      0 2px 6px rgba(21, 32, 47, 0.08),
      0 8px 24px rgba(30, 92, 137, 0.10),
      inset 0 1px 0 rgba(255, 255, 255, 0.95);
  }

  :root:not([data-theme="dark"]) .carousel__side-controls .icon-btn:hover {
    background:
      linear-gradient(rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.96)) padding-box,
      linear-gradient(140deg, rgba(30, 92, 137, 0.55), rgba(30, 92, 137, 0.12)) border-box;
    color: var(--primary);
    box-shadow:
      0 4px 12px rgba(21, 32, 47, 0.10),
      0 14px 30px rgba(30, 92, 137, 0.16),
      inset 0 1px 0 rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.08);
  }
}

/* ==========================================================================
   SLIDE CUE — indicador de deslize adaptativo (mobile only)
   --------------------------------------------------------------------------
   Pill no canto superior direito do track, logo abaixo do header.
   Comportamento adaptativo: mostra apenas as direções disponíveis.
     .hide-left   → sem slide anterior (1º slide) — esconde seta ←
     .hide-right  → sem próximo slide (último slide) — esconde seta →
   Reaparece 20 s após inatividade (JS gerencia o timer).
   Desktop: nunca visível (display:none).
   ========================================================================== */

@media (max-width: 768px), (orientation: portrait) and (max-width: 1024px) {
  .carousel__slide-cue {
    position: absolute;
    /* O JS monta o cue dentro de `section.hero` (position:relative).
       Como a hero começa imediatamente abaixo do header sticky, um
       `top` pequeno coloca o pill colado embaixo do header — independente
       de altura variável do header em diferentes mobiles. */
    top: 0.85rem;
    right: 0.85rem;
    z-index: 9;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.7rem;
    border-radius: var(--r-pill);
    /* Vidro fosco — mesmo material do scroll-cue */
    background: rgba(5, 5, 10, 0.44);
    backdrop-filter: blur(8px) saturate(1.4);
    -webkit-backdrop-filter: blur(8px) saturate(1.4);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.80);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    pointer-events: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.22);
    transition:
      opacity 0.4s ease,
      transform 0.4s ease;
  }

  :root:not([data-theme="dark"]) .carousel__slide-cue {
    background: rgba(248, 250, 253, 0.78);
    border-color: rgba(30, 92, 137, 0.18);
    color: rgba(21, 32, 47, 0.72);
    box-shadow: 0 2px 10px rgba(21, 32, 47, 0.10);
  }

  /* Oculto: desloca suavemente para fora + fade */
  .carousel__slide-cue.is-hidden {
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
  }

  /* Setas — desenhadas com border, sem dependência de SVG/Lucide */
  .carousel__slide-cue__arrow {
    flex-shrink: 0;
    width: 7px;
    height: 7px;
    border-right: 1.8px solid currentColor;
    border-bottom: 1.8px solid currentColor;
    opacity: 0.85;
  }

  .carousel__slide-cue__arrow--left {
    transform: rotate(135deg);  /* ← */
    animation: cue-nudge-left 1.8s ease-in-out infinite;
  }

  .carousel__slide-cue__arrow--right {
    transform: rotate(-45deg); /* → */
    animation: cue-nudge-right 1.8s ease-in-out infinite;
  }

  /* Adaptativo: oculta as setas de direções bloqueadas */
  .carousel__slide-cue.hide-left  .carousel__slide-cue__arrow--left  { display: none; }
  .carousel__slide-cue.hide-right .carousel__slide-cue__arrow--right { display: none; }

  @keyframes cue-nudge-left {
    0%, 100% { transform: translateX(0)    rotate(135deg); opacity: 0.55; }
    50%       { transform: translateX(-3px) rotate(135deg); opacity: 1;   }
  }

  @keyframes cue-nudge-right {
    0%, 100% { transform: translateX(0)   rotate(-45deg); opacity: 0.55; }
    50%       { transform: translateX(3px) rotate(-45deg); opacity: 1;   }
  }
}

/* No desktop o indicador nunca deve aparecer */
@media (min-width: 1025px), (min-width: 769px) and (orientation: landscape) {
  .carousel__slide-cue {
    display: none !important;
  }
}

@media (max-width: 1024px) {
  .hero__video-layer {
    opacity: 0.26;
  }
}

@media (max-width: 768px), (orientation: portrait) and (max-width: 1024px) {
  .hero__video-layer {
    inset: -10%;
    opacity: 0.22;
  }

  /* No mobile, padding extra empurra o conteúdo para baixo do header */
  .hero {
    padding-top: 5rem;
  }

  /* No mobile o cue fica fixo no fundo da viewport,
     garantindo visibilidade independente da altura do carrossel. */
  .hero__scroll-cue {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    z-index: 9;
    transform: translateX(-50%);
  }

  .hero__scroll-cue.is-hidden {
    opacity: 0;
    transform: translateX(-50%) translateY(12px);
    pointer-events: none;
  }

  /* No mobile, esconde a label "Role para descobrir" — a seta sozinha
     já comunica a intenção e o card fica menos invasivo na viewport. */
  .hero__scroll-label {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__scroll-cue,
  .hero__scroll-cue,
  .hero__scroll-icon span {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}

/* ==========================================================================
   14. CONTACT / FORM
   ========================================================================== */

.contact {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: start;
  gap: 2rem;
}

.form {
  display: grid;
  gap: 0.85rem;
}

input,
textarea {
  padding: 0.9rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--input-bg);
  color: var(--input-text);
  font: inherit;
  font-size: 1rem;
}

input::placeholder,
textarea::placeholder {
  color: var(--input-placeholder);
}

textarea {
  min-height: 130px;
  resize: vertical;
}

.form__hint {
  margin: 0;
  font-size: 0.9rem;
}

/* ==========================================================================
   15. BRANDS STRIP
   ========================================================================== */

.brands-strip {
  background: var(--header-bg);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

:root:not([data-theme="dark"]) .brands-strip {
  background: #0b1220;
  border-top-color: rgba(15, 23, 42, 0.12);
  border-bottom-color: rgba(15, 23, 42, 0.12);
}

.brands-strip__viewport {
  overflow: hidden;
  padding: 1.05rem 0;
}

.brands-strip__track {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  width: max-content;
  will-change: transform;
  animation: brands-marquee 26s linear infinite;
}

.brand-logo {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.65rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  opacity: 0.78;
  user-select: none;
}

.brand-logo__badge {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: radial-gradient(
    circle at 25% 25%,
    rgba(78, 208, 255, 0.35),
    rgba(255, 159, 70, 0.18)
  );
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.95rem;
  font-weight: 900;
}

.brand-logo__text {
  white-space: nowrap;
}

.brands-strip:hover .brands-strip__track {
  animation-play-state: paused;
}

.brands-strip + main.container {
  padding-top: var(--space-6);
}

.brands-strip + main.container .section {
  margin-bottom: 4.5rem;
}

/* ==========================================================================
   16. FOOTER
   ========================================================================== */

.footer {
  margin-top: auto;
  background: var(--footer-bg);
  border-top: 1px solid var(--footer-border);
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem 2rem;
  padding: 1.5rem 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: .25rem;
}

.footer__name { font-weight: 600; color: var(--text); }
.footer__tagline { font-size: .85rem; }

.footer__address {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  font-style: normal;
  font-size: .88rem;
}

.footer__horario { color: var(--primary); font-size: .82rem; margin-top: .15rem; }

.footer__meta {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  text-align: right;
}

.footer__meta a {
  color: var(--muted);
  text-decoration: none;
  transition: color var(--transition-base);
}

.footer__meta a:hover { color: var(--primary); }

@media (max-width: 768px), (orientation: portrait) and (max-width: 1024px) {
  .footer__inner   { flex-direction: column; align-items: center; text-align: center; }
  .footer__address { align-items: center; }
  .footer__meta    { text-align: center; align-items: center; }
}

/* ==========================================================================
   17. HOME SECTIONS
   ========================================================================== */

/* ==========================================================================
   17A. FEATURE CARDS — ICON SYSTEM / MICROINTERACTIONS
   --------------------------------------------------------------------------
   Variação específica dos cards de diferenciais:
   - ícone centralizado no topo
   - maior destaque visual
   - hover com elevação suave e glow controlado
   - sem afetar o restante do design system
   ========================================================================== */

.feature__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.95rem;
  margin-bottom: 0.6rem;
}

.feature__copy {
  justify-items: center;
  text-align: center;
}

.feature__icon {
  --icon-size: var(--icon-xl);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border: 1px solid rgba(78, 208, 255, 0.22);
  border-radius: 1rem;
  background:
    radial-gradient(
      circle at 30% 20%,
      rgba(78, 208, 255, 0.24),
      transparent 60%
    ),
    var(--surface-2);
  box-shadow:
    0 10px 24px rgba(15, 23, 42, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition:
    transform var(--transition-base),
    box-shadow var(--transition-base),
    border-color var(--transition-base),
    background var(--transition-base);
}

.feature__icon::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 1.2rem;
  background: radial-gradient(
    circle,
    rgba(78, 208, 255, 0.18),
    transparent 68%
  );
  opacity: 0;
  transform: scale(0.92);
  pointer-events: none;
  transition:
    opacity var(--transition-base),
    transform var(--transition-base);
}

.feature .card__body,
.card .feature__head {
  transition: transform var(--transition-base);
}

.card:has(.feature__head):hover .feature__icon,
.card:has(.feature__head):focus-within .feature__icon {
  transform: translateY(-3px) scale(1.02);
  border-color: rgba(78, 208, 255, 0.34);
  box-shadow:
    0 16px 34px rgba(15, 23, 42, 0.2),
    0 0 0 1px rgba(78, 208, 255, 0.08),
    0 0 22px rgba(78, 208, 255, 0.16);
}

.card:has(.feature__head):hover .feature__icon::after,
.card:has(.feature__head):focus-within .feature__icon::after {
  opacity: 1;
  transform: scale(1);
}

.card:has(.feature__head):hover .card__body,
.card:has(.feature__head):focus-within .card__body {
  transform: translateY(-2px);
}

.card:has(.feature__head):hover,
.card:has(.feature__head):focus-within {
  box-shadow:
    0 22px 46px rgba(15, 23, 42, 0.16),
    0 0 0 1px rgba(78, 208, 255, 0.06);
}

:root[data-theme="dark"] .feature__icon {
  border-color: rgba(78, 208, 255, 0.18);
  box-shadow:
    0 12px 28px rgba(2, 4, 25, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

:root[data-theme="dark"] .card:has(.feature__head):hover .feature__icon,
:root[data-theme="dark"] .card:has(.feature__head):focus-within .feature__icon {
  border-color: rgba(78, 208, 255, 0.3);
  box-shadow:
    0 18px 40px rgba(2, 4, 25, 0.42),
    0 0 0 1px rgba(78, 208, 255, 0.08),
    0 0 26px rgba(78, 208, 255, 0.18);
}

/* Fallback leve para navegadores sem suporte ideal a :has(). */
.feature__head:hover .feature__icon,
.feature__head:focus-within .feature__icon {
  transform: translateY(-3px) scale(1.02);
}
.step {
  height: 100%;
}

.step__top {
  margin-bottom: 0.75rem;
}

.testimonial {
  display: grid;
  height: 100%;
  gap: 1rem;
}

.testimonial__quote {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.65;
}

.testimonial__who {
  display: grid;
  gap: 0.15rem;
}

.faq {
  display: grid;
  gap: 0.85rem;
}

.faq__item {
  overflow: clip;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
}

.faq__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  list-style: none;
  cursor: pointer;
  font-weight: 700;
}

.faq__summary::-webkit-details-marker {
  display: none;
}

.faq__summary::after {
  content: "+";
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  background: var(--control-bg);
  color: var(--control-text);
}

.faq__item[open] .faq__summary::after {
  content: "–";
}

.faq__content {
  padding: 0 1.25rem 1.15rem;
}

.cta-final {
  display: grid;
  align-items: center;
  gap: 1rem;
}

/* ==========================================================================
   17B. SERVICES GRID
   --------------------------------------------------------------------------
   Cards de serviços com composição lateral:
   - mídia reservada à esquerda
   - conteúdo à direita
   - título e CTA ancorados no rodapé para manter alinhamento visual
   - refinamento visual coerente com o design system já existente
   ========================================================================== */

.services-grid.grid {
  align-items: stretch;
}

.service-card {
  position: relative;
  height: 100%;
  overflow: hidden;
  border-color: rgba(78, 208, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0)),
    var(--surface);
  transition:
    transform var(--transition-base),
    box-shadow var(--transition-base),
    border-color var(--transition-base);
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(78, 208, 255, 0.1), transparent 34%),
    radial-gradient(
      circle at top right,
      rgba(108, 92, 231, 0.12),
      transparent 38%
    );
  opacity: 0.9;
  pointer-events: none;
}

.service-card:hover,
.service-card:focus-within {
  transform: translateY(-3px);
  border-color: rgba(78, 208, 255, 0.24);
  box-shadow:
    0 24px 48px rgba(15, 23, 42, 0.18),
    0 0 0 1px rgba(78, 208, 255, 0.06);
}

.service-card .card__body {
  padding: 0;
}

.service-card__body {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(190px, 36%) 1fr;
  min-height: 100%;
}

.service-card__media {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100%;
  padding: 1.35rem;
  border-right: 1px solid rgba(78, 208, 255, 0.12);
  background-color: var(--surface-2);
  background-size: auto 100%;
  background-position: center;
  background-repeat: no-repeat;
}

.service-card__media::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 30%),
    radial-gradient(
      circle at bottom left,
      rgba(255, 159, 70, 0.1),
      transparent 34%
    );
  pointer-events: none;
}

.service-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.04),
    rgba(5, 5, 10, 0.22)
  );
  pointer-events: none;
}

.service-card__placeholder {
  display: none;
}

/* Imagens individuais por card — ordem: repair, virus, revisao, montagem, notebook, 3d */
.services-grid .service-card:nth-child(1) .service-card__media {
  background-image: url("../img/servicos/repair-index.webp");
}

.services-grid .service-card:nth-child(2) .service-card__media {
  background-image: url("../img/servicos/virus-index.webp");
}

.services-grid .service-card:nth-child(3) .service-card__media {
  background-image: url("../img/servicos/revisao-index.webp");
}

.services-grid .service-card:nth-child(4) .service-card__media {
  background-image: url("../img/servicos/montagem-index.webp");
}

.services-grid .service-card:nth-child(5) .service-card__media {
  background-image: url("../img/servicos/notebook-index.webp");
}

.services-grid .service-card:nth-child(6) .service-card__media {
  background-image: url("../img/servicos/3d-index.webp");
}

.service-card__content {
  display: grid;
  /* auto: título compact no topo
     1fr:  descrição preenche o espaço do meio
     auto: botões sempre na base */
  grid-template-rows: auto 1fr auto;
  gap: 0.9rem;
  min-height: 100%;
  padding: 1.55rem;
}

.service-card__description {
  margin: 0;
  color: var(--muted);
  /* Sem max-width — usa toda a largura disponível no card */
}

.service-card__title {
  margin: 0;
  color: var(--primary);
  font-size: clamp(1.3rem, 1.85vw, 1.7rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

/* -------------------------------------------------------------------
   Tag/Flag — posicionada sobre a IMAGEM (canto superior esquerdo da
   coluna de mídia). Pai posicionador: .service-card__body (position:
   relative). Não interfere com título ou descrição. Em mobile (card
   empilhado) continua visível sobre a área de imagem.
   ------------------------------------------------------------------- */
.service-card__tag {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  z-index: 4; /* acima do overlay da imagem */
  /* Redefine posição absoluta do .tag base (que ficava no content) */
  right: auto;
}

.service-card__content .btn {
  margin-top: 0;
}

/* Linha de ações dos cards de serviço — botão WhatsApp (ícone-only) +
   botão "Simular orçamento" (ghost que preenche o resto).
   grid em vez de flex evita quebra de linha em viewports estreitas (~1024px). */
.service-card__actions {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.6rem;
  align-items: stretch;
}

/* Botão WhatsApp = ícone-only, formato pílula compacta. */
.service-card__btn--icon {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1rem;
}

.service-card__btn--icon .icon-whatsapp {
  width: 1.25rem;
  height: 1.25rem;
}

/* "Simular orçamento" ocupa 1fr, texto centralizado. */
.service-card__btn.btn--ghost {
  justify-content: center;
}

/* CTAs finais da página /servicos: linha centralizada, espaçada, padding
   superior para separar do bloco de cards. */
.services-cta-final {
  margin-top: 3rem;
  justify-content: center;
  flex-wrap: wrap;
}

:root[data-theme="dark"] .service-card {
  border-color: rgba(78, 208, 255, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0)),
    rgba(16, 17, 27, 0.94);
}

:root[data-theme="dark"] .service-card:hover,
:root[data-theme="dark"] .service-card:focus-within {
  box-shadow:
    0 26px 56px rgba(2, 4, 25, 0.42),
    0 0 0 1px rgba(78, 208, 255, 0.08),
    0 0 28px rgba(78, 208, 255, 0.1);
}

/* Tema claro: hover do service-card mais sutil pra manter a paleta off-white */
:root:not([data-theme="dark"]) .service-card {
  border-color: rgba(30, 92, 137, 0.14);
}

:root:not([data-theme="dark"]) .service-card:hover,
:root:not([data-theme="dark"]) .service-card:focus-within {
  border-color: rgba(30, 92, 137, 0.26);
  box-shadow:
    0 1px 2px rgba(21, 32, 47, 0.05),
    0 12px 24px rgba(21, 32, 47, 0.08),
    0 24px 44px rgba(30, 92, 137, 0.10);
}

/* ==========================================================================
   17B-2. SERVICES GRID — VARIANTE VERTICAL (página Serviços, 3 colunas)
   --------------------------------------------------------------------------
   - Imagem ocupa o topo (full-width) com aspect-ratio fixo
   - Lista de features no corpo do card (preserva o conteúdo existente)
   - Título e botão ancorados no rodapé pra alinhar visualmente os 6 cards
   ========================================================================== */

/* Chip de filtro ativo na página de Serviços (v1.5.30) ─────────────────
   Aparece quando o usuário chega via ?audience=<slug> a partir da seção
   "Quem atendemos" na home. Mostra o público-alvo selecionado e oferece
   um botão pra limpar o filtro. */
.services-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin: 0 0 2rem;
  padding: 0.65rem 1rem 0.65rem 1.25rem;
  background: rgba(var(--primary-rgb), 0.10);
  border: 1px solid rgba(var(--primary-rgb), 0.32);
  border-radius: 999px;
  color: var(--text);
  font-size: 0.92rem;
}

.services-filter-chip__label strong { color: var(--primary); }

.services-filter-chip__clear {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.7rem;
  background: rgba(var(--text-rgb), 0.06);
  border-radius: 999px;
  color: var(--text);
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  transition: background var(--transition-base);
}

.services-filter-chip__clear:hover,
.services-filter-chip__clear:focus-visible {
  background: rgba(var(--text-rgb), 0.12);
  color: var(--text);
}

.services-filter-chip__clear span[aria-hidden="true"] {
  font-size: 1.1em;
  line-height: 0;
  opacity: 0.75;
}

.services-filter-empty {
  margin: 0 0 2rem;
  padding: 2rem 1.5rem;
  text-align: center;
  background: rgba(var(--text-rgb), 0.04);
  border-radius: var(--radius-md, 12px);
  color: var(--muted);
}

.services-grid--full {
  align-items: stretch;
}

.services-grid--full .service-card__body {
  grid-template-columns: 1fr;
  /* Altura fixa pra imagem + flexível pro conteúdo. Usa `auto 1fr` com altura
     fixa na faixa da mídia (definida abaixo) — assim os 6 cards alinham. */
  grid-template-rows: auto 1fr;
  /* min-width:0 evita que filhos com texto longo "empurrem" o grid track. */
  min-width: 0;
}

.services-grid--full .service-card__media {
  /* Altura fixa em vez de aspect-ratio: garante que TODOS os cards
     tenham exatamente a mesma altura de imagem, independente do conteúdo. */
  height: clamp(180px, 22vw, 240px);
  aspect-ratio: auto;
  min-height: 0;
  border-right: 0;
  border-bottom: 1px solid rgba(78, 208, 255, 0.12);
  background-size: cover;
}

:root:not([data-theme="dark"]) .services-grid--full .service-card__media {
  border-bottom-color: rgba(30, 92, 137, 0.12);
}

.services-grid--full .service-card__content {
  /* features (cresce) → título → botão. As features ocupam o espaço
     flexível pra empurrar o título e botão pra baixo, alinhando os 6 cards. */
  grid-template-rows: 1fr auto auto;
  gap: 1rem;
  padding: 1.5rem 1.5rem 1.6rem;
  /* Permite que os filhos quebrem palavras longas sem extrapolar. */
  min-width: 0;
}

.services-grid--full .service-card__description {
  max-width: none;
  font-size: 0.94rem;
}

/* Lista de features dentro do card de serviço */
.service-card__features {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
  /* min-width:0 + word-wrap evita que itens longos sejam cortados pelo
     overflow:hidden do card pai. Texto agora quebra em vez de cortar. */
  min-width: 0;
  overflow-wrap: anywhere;
  word-wrap: break-word;
}

.service-card__features li {
  position: relative;
  padding-left: 1.35rem;
}

.service-card__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 0 0 3px rgba(30, 92, 137, 0.08);
}

:root[data-theme="dark"] .service-card__features li::before {
  box-shadow: 0 0 0 3px rgba(78, 208, 255, 0.12);
}

/* Título do card de serviço — quebra em palavras longas */
.services-grid--full .service-card__title {
  overflow-wrap: anywhere;
  word-wrap: break-word;
}

/* Imagens da página Serviços — mesmas pastas, novo mapeamento de ordem */
.services-grid--full .service-card:nth-child(1) .service-card__media {
  background-image: url("../img/servicos/repair.webp");
}

.services-grid--full .service-card:nth-child(2) .service-card__media {
  background-image: url("../img/servicos/revisao.webp");
}

.services-grid--full .service-card:nth-child(3) .service-card__media {
  background-image: url("../img/servicos/montagem.webp");
}

.services-grid--full .service-card:nth-child(4) .service-card__media {
  background-image: url("../img/servicos/virus.webp");
}

.services-grid--full .service-card:nth-child(5) .service-card__media {
  background-image: url("../img/servicos/notebook.webp");
}

.services-grid--full .service-card:nth-child(6) .service-card__media {
  background-image: url("../img/servicos/3d.webp");
}

/* Tag “Performance” reposicionada quando cartão tem imagem em cima */
.services-grid--full .service-card .tag {
  top: 0.85rem;
  right: 0.85rem;
  z-index: 2;
  background: rgba(255, 159, 70, 0.92);
  color: #1a1208;
  border-color: transparent;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* ==========================================================================
   17C. AUDIENCE GRID
   --------------------------------------------------------------------------
   Cards da seção “Quem atendemos” com revelação suave da imagem no hover/focus:
   - estado inicial com contorno e conteúdo ancorado no rodapé
   - imagem e overlay aparecem com transição suave
   - descrição expande para cima sem quebrar a composição
   ========================================================================== */

.section--audience {
  overflow: clip;
}

.audience-grid.grid {
  gap: 0;
  border-top: 1px solid rgba(78, 208, 255, 0.12);
  border-bottom: 1px solid rgba(78, 208, 255, 0.12);
}

.audience-grid > * + * {
  border-left: 1px solid rgba(78, 208, 255, 0.12);
}

.audience-card {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: clamp(440px, 48vw, 575px);
  padding: 7rem 1.75rem 2rem;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.015),
    rgba(255, 255, 255, 0)
  );
  color: var(--text);
  overflow: hidden;
  transition:
    background var(--transition-slow),
    border-color var(--transition-slow),
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

/* v1.5.30: clique no card inteiro vai para o destino. O <a> abaixo cobre
   100% do card via inset:0. Como ele fica antes do conteúdo no DOM, o
   z-index mantém ele atrás dos elementos visíveis — só o `cursor: pointer`
   global no card sinaliza o estado clicável. */
.audience-card--linked {
  cursor: pointer;
}

/* Overlay clicável que cobre o card inteiro. Z-index 5 fica ACIMA de:
   - .audience-card__media (z-index 0)
   - .audience-card::before (z-index 0)
   - .audience-card__content (z-index 2, com min-height:100% — sem essa
     prioridade, o conteúdo bloquearia 90% do card aos cliques)
   - .audience-card::after (z-index 3, borda decorativa)
   - .audience-card__eyebrow (z-index 3)
   Hover/focus do card continua funcionando: o `<a>` fica DENTRO do
   `<article>`, então o :hover do article dispara normalmente. */
.audience-card__cover-link {
  position: absolute;
  inset: 0;
  z-index: 5;
  /* Sem outline próprio — o foco visível fica no .audience-card via :focus-within. */
}

.audience-card__cover-link:focus {
  outline: none;
}

.audience-card::before,
.audience-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.audience-card::before {
  background: linear-gradient(
    180deg,
    rgba(5, 5, 10, 0.12),
    rgba(5, 5, 10, 0.34)
  );
  opacity: 0.84;
  transition: opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 0;
}

.audience-card::after {
  border: 1px solid rgba(78, 208, 255, 0.12);
  opacity: 0.8;
  z-index: 3;
}

.audience-card__media {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  /* Sempre visível, fora de foco — o hover reduz o blur para dar nitidez */
  filter: blur(10px);
  opacity: 1;
  transform: scale(1.08);
  transform-origin: center;
  transition:
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.55s ease;
  z-index: 0;
}

.audience-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(5, 5, 10, 0.2) 0%,
      rgba(5, 5, 10, 0.44) 42%,
      rgba(5, 5, 10, 0.82) 100%
    ),
    radial-gradient(
      circle at top left,
      rgba(255, 255, 255, 0.08),
      transparent 42%
    );
}

.audience-card__content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  width: min(100%, 28rem);
  max-width: 92%;
  min-height: 100%;
}

.audience-card__eyebrow {
  position: absolute;
  top: 2rem;
  left: 1.75rem;
  right: 1.75rem;
  display: inline-block;
  margin: 0;
  color: var(--text);
  font-size: clamp(1.75rem, 2.5vw, 2.45rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.03em;
  z-index: 3;
}

.audience-card__body {
  width: 100%;
}

.audience-card__title,
.audience-card__description,
.audience-card__link {
  transition:
    max-height 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.35s ease,
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    margin-top 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.audience-card__title {
  max-height: 12rem;
  margin: 0;
  overflow: hidden;
  opacity: 1;
  transform: none;
  color: #ffffff;
  font-size: clamp(1.32rem, 1.8vw, 1.85rem);
  line-height: 1.14;
  letter-spacing: -0.025em;
}

.audience-card__description {
  max-height: 0;
  margin: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(0.75rem);
  color: rgba(246, 247, 251, 0.88);
  font-size: 0.88rem;
  line-height: 1.5;
}

.audience-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  max-height: 0;
  margin-top: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(0.75rem);
  color: var(--primary);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.35;
}

.audience-card__link:hover {
  filter: brightness(1.08);
}

.audience-card:hover .audience-card__media,
.audience-card:focus-visible .audience-card__media,
.audience-card:focus-within .audience-card__media {
  transform: scale(1.02);
  filter: blur(0px);
}

.audience-card:hover .audience-card__description,
.audience-card:focus-visible .audience-card__description,
.audience-card:focus-within .audience-card__description {
  max-height: 14rem;
  margin-top: 0.8rem;
  opacity: 1;
  transform: translateY(0);
}

.audience-card:hover .audience-card__link,
.audience-card:focus-visible .audience-card__link,
.audience-card:focus-within .audience-card__link {
  max-height: 3rem;
  margin-top: 0.95rem;
  opacity: 1;
  transform: translateY(0);
}

.audience-card:hover::before,
.audience-card:focus-visible::before,
.audience-card:focus-within::before {
  opacity: 1;
}

:root[data-theme="dark"] .audience-grid.grid {
  border-top-color: rgba(255, 255, 255, 0.08);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

:root[data-theme="dark"] .audience-grid > * + * {
  border-left-color: rgba(255, 255, 255, 0.08);
}

:root[data-theme="dark"] .audience-card {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.01),
    rgba(255, 255, 255, 0)
  );
}

:root[data-theme="dark"] .audience-card::before {
  background: linear-gradient(
    180deg,
    rgba(5, 5, 10, 0.22),
    rgba(5, 5, 10, 0.84)
  );
}

:root[data-theme="dark"] .audience-card::after {
  border-color: rgba(255, 255, 255, 0.08);
}

:root[data-theme="dark"] .audience-card__eyebrow {
  color: rgba(246, 247, 251, 0.92);
}

@media (max-width: 768px), (orientation: portrait) and (max-width: 1024px) {
  .section--audience {
    overflow: visible;
  }

  .audience-grid.grid {
    gap: 1rem;
    border: 0;
  }

  .audience-grid > * + * {
    border-left: 0;
  }

  .audience-card {
    min-height: 380px;
    padding: 5.8rem 1.15rem 1.25rem;
    border: 1px solid rgba(78, 208, 255, 0.12);
    border-radius: var(--r-lg);
  }

  .audience-card::after {
    border-radius: inherit;
  }

  .audience-card__media {
    inset: 0;
    /* No mobile reduzimos o blur (de 10px para 4px) — GPUs Mali do Android
       são pesadas com filter: blur grande, especialmente em 3 cards animando
       em paralelo durante o scroll. 4px ainda dá a sensação de "fora de foco"
       sem matar a performance. */
    filter: blur(4px);
    transform: scale(1.04);
    /* Avisa o browser que essas propriedades vão mudar — promove para layer
       de GPU dedicado e evita repaint da seção inteira a cada frame. */
    will-change: filter, transform;
    /* Encurtamos a transição no mobile (era 0.55s) para reduzir tempo gasto
       repintando durante a transição. */
    transition:
      transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
      filter 0.3s ease;
  }

  /* Deblur quando o card está ≥55% visível (classe adicionada pelo JS).
     Usa apenas mobile (≤768px) — mais confiável que `hover: none`,
     que falha em alguns Android. */
  .audience-card.is-in-view .audience-card__media {
    transform: scale(1.02);
    filter: blur(0px);
  }

  .audience-card__content {
    width: 100%;
    max-width: 100%;
    min-height: 100%;
  }

  .audience-card__eyebrow {
    top: 1.35rem;
    left: 1.15rem;
    right: 1.15rem;
    font-size: clamp(1.6rem, 7vw, 2.15rem);
  }

  .audience-card__title {
    max-height: 12rem;
    margin-top: 0;
    opacity: 1;
    transform: none;
    font-size: clamp(1.18rem, 5.6vw, 1.55rem);
    line-height: 1.14;
  }

  .audience-card__description,
  .audience-card__link {
    max-height: 14rem;
    opacity: 1;
    transform: none;
  }

  .audience-card__description {
    margin-top: 0.8rem;
    font-size: 0.84rem;
  }

  .audience-card__link {
    margin-top: 0.9rem;
    font-size: 0.88rem;
  }
}

/* ==========================================================================
   17D. AUDIENCE GRID — HOTFIX DE HIERARQUIA / TOPO FIXO
   --------------------------------------------------------------------------
   Ajuste cosmético sem alterar a estrutura do layout:
   - eyebrow/título curto fixo no topo do card
   - subtítulo menor que o eyebrow e maior que descrição/link
   - no mobile, mesma hierarquia e espaçamento superior uniforme
   ========================================================================== */

.audience-card {
  padding-top: 1.9rem;
}

.audience-card__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: min(100%, 28rem);
  max-width: 92%;
  min-height: 100%;
}

.audience-card__eyebrow {
  margin: 0;
  font-size: clamp(1.55rem, 2.15vw, 2rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
}

.audience-card__title {
  margin-top: auto;
  font-size: clamp(1.15rem, 1.55vw, 1.45rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.audience-card__description {
  font-size: 0.88rem;
  line-height: 1.5;
}

.audience-card__link {
  font-size: 0.86rem;
  line-height: 1.35;
}

.audience-card:hover .audience-card__title,
.audience-card:focus-visible .audience-card__title,
.audience-card:focus-within .audience-card__title {
  margin-top: auto;
}

@media (max-width: 768px), (orientation: portrait) and (max-width: 1024px) {
  .audience-card {
    padding-top: 1.35rem;
  }

  .audience-card__content {
    width: 100%;
    max-width: 100%;
    min-height: 100%;
  }

  .audience-card__eyebrow {
    font-size: clamp(1.35rem, 6vw, 1.65rem);
    line-height: 1.08;
  }

  .audience-card__title {
    margin-top: auto;
    font-size: clamp(1.02rem, 4.4vw, 1.2rem);
    line-height: 1.2;
  }

  .audience-card__description {
    font-size: 0.84rem;
    line-height: 1.45;
  }

  .audience-card__link {
    font-size: 0.82rem;
  }
}

/* ==========================================================================
   18. RESPONSIVIDADE
   ========================================================================== */

@media (max-width: 980px) {
  .grid--3,
  .grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .hero-grid,
  .contact {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1025px), (min-width: 769px) and (orientation: landscape) {
  .hero > .container {
    display: flex;
    align-items: center;
    min-height: calc(100svh - var(--desktop-header-offset) - 2.5rem);
    padding-top: 0;
    padding-bottom: clamp(2rem, 4vh, 3rem);
  }

  .carousel {
    width: 100%;
  }
}

@media (min-width: 1024px) {
  .carousel__side-controls [data-prev] {
    left: clamp(-20px, -5vw, -128px);
  }

  .carousel__side-controls [data-next] {
    right: clamp(-20px, -5vw, -128px);
  }
}

@media (min-width: 1200px) {
  .carousel__side-controls [data-prev] {
    left: clamp(-80px, -5vw, -128px);
  }

  .carousel__side-controls [data-next] {
    right: clamp(-80px, -5vw, -128px);
  }
}

@media (max-width: 768px), (orientation: portrait) and (max-width: 1024px) {
  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }

  .carousel__side-controls [data-prev] {
    left: var(--carousel-side-offset-mobile);
  }

  .carousel__side-controls [data-next] {
    right: var(--carousel-side-offset-mobile);
  }

  .service-card__body {
    grid-template-columns: 1fr;
  }

  .service-card__media {
    min-height: 200px;
    border-right: 0;
    border-bottom: 1px solid rgba(78, 208, 255, 0.12);
    background-size: cover;
  }

  .service-card__content {
    grid-template-rows: auto 1fr auto;
  }

  /* Em mobile (card empilhado): tag fica no canto superior esquerdo da imagem. */
  .service-card__tag {
    top: 0.75rem;
    left: 0.75rem;
  }

  .service-card__description {
    max-width: none;
  }

  .brands-strip__viewport {
    overflow-x: auto;
    padding: 0.9rem 0.75rem;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .brands-strip__viewport::-webkit-scrollbar {
    display: none;
  }

  .brands-strip__track {
    gap: 1.25rem;
    padding-right: 1rem;
    animation: none;
  }

  .brand-logo {
    opacity: 0.85;
    font-size: 1rem;
  }
}

/* ==========================================================================
   19. REDUCED MOTION
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  .carousel__slide,
  .btn,
  .feature__icon,
  .feature__icon::after,
  .card .card__body {
    animation: none;
    transition: none;
  }
}

/* ==========================================================================
   20. ANIMATIONS
   ========================================================================== */

@keyframes fade-slide {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes brands-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-1 * var(--brands-shift, 1000px)));
  }
}

/* ==========================================================================
   21. MARCA EM TEXTO ("indata")
   --------------------------------------------------------------------------
   Aplica a estilização textual da marca quando o nome aparecer como texto
   no corpo do site, sem depender da imagem da logo.
   ========================================================================== */

:root {
  --brand-indata-in: #4b4b50;
  --brand-indata-data: #1e5c89;
}

:root[data-theme="dark"] {
  --brand-indata-in: #9bb0c0;
  --brand-indata-data: #1e5c89;
}

.brand-indata {
  display: inline-flex;
  align-items: baseline;
  font: inherit;
  font-weight: 800;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.brand-indata__in {
  color: var(--brand-indata-in);
}

.brand-indata__data {
  color: var(--brand-indata-data);
}

/* ==========================================================================
   Visibilidade per-device dos slides do hero
   --------------------------------------------------------------------------
   v1.5.29: três viewports independentes (antes eram duas).
   v1.5.30: fronteira mobile↔tablet ajustada de 768/769 → 767/768.
     iPad Mini tem exatamente 768px em portrait, e a regra antiga
     `(max-width: 768px)` o incluía em mobile. O novo limite segue a
     convenção padrão (Bootstrap, Tailwind, Material): 768px é o INÍCIO
     do tablet, não o fim do mobile. Nenhum smartphone comum tem
     exatamente 768px de largura, então mobile não perde nada — apenas
     tira o iPad Mini de lá.

   Breakpoints:
     Desktop : (min-width: 1025px)
     Tablet  : (min-width: 768px) and (max-width: 1024px)  // qualquer orientação
     Mobile  : (max-width: 767px)
   As media queries usadas aqui DEVEM bater 1:1 com as constantes em main.js
   (DESKTOP_MQ / TABLET_MQ / MOBILE_MQ) para que o JS e o CSS escondam o mesmo
   conjunto de slides em cada viewport.

   Há um segundo nível de granularidade: o card lateral de cada slide pode
   ser ocultado de forma independente do slide-pai. Quando o card é ocultado
   numa viewport com layout multi-coluna (desktop/tablet em landscape), o
   .hero-grid colapsa de 2 colunas para 1.
   ========================================================================== */

/* DESKTOP — ≥ 1025px */
@media (min-width: 1025px) {
  .carousel__slide--hide-desktop,
  .dot--hide-desktop { display: none !important; }
  .card--hide-desktop { display: none !important; }
  .hero-grid--no-card-desktop { grid-template-columns: 1fr !important; }
}

/* TABLET — 768-1024px, qualquer orientação (inclui iPad Mini portrait em 768) */
@media (min-width: 768px) and (max-width: 1024px) {
  .carousel__slide--hide-tablet,
  .dot--hide-tablet { display: none !important; }
  .card--hide-tablet { display: none !important; }
  /* Em tablet o hero-grid também pode estar em 2 colunas (landscape).
     Quando o card é ocultado, força 1 coluna. */
  .hero-grid--no-card-tablet { grid-template-columns: 1fr !important; }

  /* Oculta o theme toggle externo em tablet — o toggle fica disponível
     dentro do dropdown de usuário, evitando duplicação ao lado do ícone
     de login no header. */
  .theme-toggle--mobile {
    display: none !important;
  }
}

/* MOBILE — ≤ 767px */
@media (max-width: 767px) {
  .carousel__slide--hide-mobile,
  .dot--hide-mobile { display: none !important; }
  .card--hide-mobile { display: none !important; }
  /* Mobile já é single-column nativamente — não precisa de override no grid. */
}

/* ==========================================================================
   PÁGINA INDIVIDUAL DE SERVIÇO (single-indata_svc_pagina.php)
   ========================================================================== */

/* Card clicável via JS (data-detail-url) ---------------------------------- */
.service-card--linked { position: relative; }
.service-card--linked .service-card__actions { position: relative; z-index: 1; }

/* ── HERO ─────────────────────────────────────────────────────────────────
   Cobre o header (mesmo padrão de .hero e .orc-hero):
   margin-top negativo puxa o hero pra cima do header,
   padding-top extra garante que o conteúdo comece abaixo da nav.
   ─────────────────────────────────────────────────────────────────────── */
.svc-hero {
  position: relative;
  overflow: hidden;
  margin-top: calc(-1 * var(--desktop-header-offset, 140px));
  padding: max(var(--desktop-header-offset, 140px) + 2rem, 10rem) 0 3.5rem;
  background:
    radial-gradient(circle at top, rgba(var(--primary-rgb, 78,208,255),.22), transparent 60%),
    var(--bg);
}

:root:not([data-theme="dark"]) .svc-hero {
  background:
    radial-gradient(circle at top, rgba(var(--primary-rgb, 30,92,137),.18), transparent 60%),
    var(--bg);
}

/* Fade na base (igual hero da home) */
.svc-hero::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(var(--bg-rgb,5,5,10),0) 60%, var(--bg) 100%);
  pointer-events: none;
}

.svc-hero__body { position: relative; z-index: 1; }

/* Breadcrumb */
.svc-breadcrumb {
  display: flex; align-items: center; gap: .4rem;
  font-size: .83rem; color: var(--muted); margin-bottom: 1.5rem;
}
.svc-breadcrumb a { color: var(--muted); text-decoration: none; transition: color var(--transition-base); }
.svc-breadcrumb a:hover { color: var(--primary); }

/* Tag pill (categoria — sem position:absolute) */
.svc-tag-pill {
  /* Override do orc-pill para não ter a bola pulsante — só o texto */
  margin-bottom: .9rem;
}

/* Título + badge inline */
.svc-title-row {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
  margin-bottom: .25rem;
}

.svc-hero__title {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 3.4rem);
  line-height: 1.08; letter-spacing: -.03em; font-weight: 700; color: var(--text);
}

/* Badge inline (próximo ao título — sem position:absolute) */
.svc-badge {
  display: inline-flex; align-items: center;
  padding: .2rem .65rem;
  border-radius: 99px;
  background: rgba(255, 159, 70, 0.88);
  border: 1px solid rgba(255, 159, 70, 0.75);
  color: #1a0e00;
  font-size: .72rem; font-weight: 700; letter-spacing: .01em;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Meta chips (preço/prazo) */
.svc-hero__meta { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .9rem; }

.svc-meta-chip {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .83rem; padding: .28rem .7rem;
  border-radius: 99px; background: var(--surface);
  border: 1px solid var(--border); color: var(--primary);
}
.svc-meta-chip i[data-lucide] { width: .8rem; height: .8rem; }

/* ── BARRA DE STATS (itens do serviço — max 4) ─────────────────────────
   Clona o padrão visual de .orc-stats (orcamentos.css) mas vive em
   styles.css para estar disponível em qualquer página.
   ─────────────────────────────────────────────────────────────────────── */
.svc-stats {
  list-style: none; margin: 1.75rem 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: var(--r-lg, .75rem); overflow: hidden;
}

.svc-stat {
  background: var(--card-bg, var(--surface));
  padding: .85rem 1rem;
  display: flex; flex-direction: column; gap: .1rem;
}

.svc-stat b {
  font-family: 'JetBrains Mono', ui-monospace, 'Cascadia Code', monospace;
  font-size: 1.15rem; font-weight: 600;
  letter-spacing: -.02em; color: var(--text);
}

.svc-stat span { font-size: .68rem; color: var(--muted); }

/* Conteúdo do editor */
.svc-editor-body { max-width: 72ch; line-height: 1.75; }
.svc-editor-body h2, .svc-editor-body h3 { margin-top: 2rem; }

/* Responsivo */
@media (max-width: 768px), (orientation: portrait) and (max-width: 1024px) {
  .svc-hero {
    padding-top: max(var(--desktop-header-offset, 80px) + 1rem, 7rem);
    padding-bottom: 2.5rem;
  }
  .svc-stats { grid-template-columns: repeat(2, 1fr); }
  .svc-stat  { padding: .7rem .8rem; }
  .svc-stat b { font-size: .95rem; }
  .svc-stat span { font-size: .64rem; }
}
