/* ============================================
   TECBAS — Sistema de design (rebranding 2025)
   Fonte da verdade: BRAND.md + Manual de identidade visual.
   Paleta: Branco · Gelo · Cinza Claro · Azul · Azul Marinho.
   Tipografia: Archivo Expanded Medium (display) + Poppins (corpo).
   "Abuse do branco" — branco é dominante.
   ============================================ */

:root {
  /* Paleta oficial */
  --white:      #FFFFFF;
  --ice:        #E0E1E9;
  --gray-light: #C9C8C8;
  --blue:       #0082AF;
  --navy:       #211F43;

  /* Derivados */
  --navy-deep:  #181631;             /* tom mais escuro para hover */
  --navy-soft:  #2D2A55;             /* tom mais claro para hover claros */
  --blue-deep:  #006A91;             /* hover do azul */
  --blue-light: #6CC6E5;             /* azul claro/ciano — acento sobre fundos navy */
  --ink:        var(--navy);         /* texto principal */
  --ink-soft:   rgba(33, 31, 67, 0.72);
  --muted:      rgba(33, 31, 67, 0.55);
  --line:       var(--gray-light);
  --line-soft:  rgba(33, 31, 67, 0.08);

  /* Tipografia */
  --font-display: "Archivo", "Archivo Expanded", system-ui, sans-serif;
  --font-body:    "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Cantos arredondados — assinatura silenciosa da marca */
  --radius-sm:  8px;
  --radius-md:  12px;
  --radius:     16px;
  --radius-lg:  24px;
  --radius-xl:  32px;

  /* Grão SVG sutil — usado no hero pra evitar banding 8-bit no fade longo da imagem */
  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.95' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.03 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");

  /* Animação */
  --easing: cubic-bezier(.2,.7,.2,1);

  /* Layout */
  --header-h: 80px;

  /* === Tokens de espaçamento (skill harmonia §1.2) === */
  --space-1: clamp(4px, 0.5vw, 6px);
  --space-2: clamp(8px, 1vw, 12px);
  --space-3: clamp(12px, 1.4vw, 18px);
  --space-4: clamp(16px, 2vw, 24px);
  --space-5: clamp(24px, 3vw, 36px);
  --space-6: clamp(32px, 4vw, 48px);
  --space-7: clamp(40px, 5vw, 64px);
  --space-8: clamp(48px, 6vw, 80px);
  --space-9: clamp(64px, 8vw, 100px);

  /* === Sombras / Elevação (skill harmonia §1.4) ===
     Tonalidade navy — combina com paleta da marca. */
  --elev-1: 0 1px 2px rgba(33, 31, 67, 0.06),
            0 1px 1px rgba(33, 31, 67, 0.04);
  --elev-2: 0 4px 8px -2px rgba(33, 31, 67, 0.10),
            0 2px 4px -1px rgba(33, 31, 67, 0.06);
  --elev-3: 0 12px 24px -8px rgba(33, 31, 67, 0.18),
            0 4px 8px -2px rgba(33, 31, 67, 0.08);
  --elev-4: 0 32px 64px -16px rgba(33, 31, 67, 0.28),
            0 16px 32px -8px rgba(33, 31, 67, 0.14);
  --glow-blue: 0 16px 40px -16px rgba(0, 130, 175, 0.45);
  --glow-cyan: 0 12px 32px -12px rgba(108, 198, 229, 0.55);

  /* === Microinterações (skill harmonia §1.5) === */
  --ease-snap:   cubic-bezier(0.4, 0, 0.2, 1);
  --ease-smooth: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast:   150ms;
  --dur-normal: 280ms;
  --dur-slow:   480ms;

  /* === Tipografia (skill harmonia §1.8) — dentro do BRAND.md §4 ===
     Fontes: Archivo Expanded Medium (titles) + Poppins Regular/Bold (body).
     NUNCA adicionar Poppins Medium/Semibold/Light ou outras fontes. */
  --text-xs:    0.72rem;     /* eyebrow, labels uppercase, captions */
  --text-sm:    0.875rem;    /* meta info, badges, hint */
  --text-base:  1rem;        /* body padrão */
  --text-md:    1.125rem;    /* lead, parágrafos de destaque */
  --text-lg:    1.25rem;     /* h4, sub-headings */
  --text-xl:    1.5rem;      /* h3 */
  --text-2xl:   clamp(1.75rem, 3vw, 2.25rem);   /* h2 default */
  --text-3xl:   clamp(2rem, 4vw, 3rem);         /* h2 destaque */
  --text-4xl:   clamp(2.4rem, 5.5vw, 4rem);     /* h1 página interna */
  --text-hero:  clamp(2.8rem, 6.5vw, 4.8rem);   /* h1 hero da home */

  --lh-tight:   1.05;        /* display h1/h2 grandes */
  --lh-snug:    1.15;        /* h2 médios, h3 */
  --lh-normal:  1.55;        /* body */
  --lh-relaxed: 1.7;         /* lead, long-form */

  --ls-display: -0.01em;     /* Archivo grande */
  --ls-body:    0;           /* Poppins normal */
  --ls-caps:    0.18em;      /* eyebrow + uppercase labels */

  /* === Focus states (skill harmonia §1.7) ===
     Anel cyan brand pra navegação por teclado (não aparece em click do mouse). */
  --focus-ring: 0 0 0 3px rgba(108, 198, 229, 0.55);
  --focus-ring-light: 0 0 0 3px rgba(255, 255, 255, 0.65);

  /* === Liquid Glass (skill harmonia §1.6) ===
     Aplicar como background composto: bg semi-transparente + border + blur */
  --glass-light-bg:     rgba(255, 255, 255, 0.55);  /* sobre fundo escuro */
  --glass-light-border: rgba(255, 255, 255, 0.18);
  --glass-soft-bg:      rgba(255, 255, 255, 0.65);  /* sobre fundo claro (ice) */
  --glass-soft-border:  rgba(33, 31, 67, 0.10);
  --glass-dark-bg:      rgba(33, 31, 67, 0.18);     /* sobre fundo claro */
  --glass-dark-border:  rgba(33, 31, 67, 0.15);
  --glass-blur:         blur(16px) saturate(140%);
  --glass-blur-strong:  blur(28px) saturate(180%);

  /* === Fade entre seções (skill harmonia §1.4) ===
     Feathering MUITO CURTO da borda — não é "gradient identificável",
     é só um anti-alias da cor entre as seções. O olho não percebe um
     "começo" e um "fim" porque a região é menor que 80px. */
  --fade-h: 56px;
}
@media (max-width: 720px) {
  :root { --fade-h: 40px; }
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

html {
  background: var(--navy);
  overscroll-behavior-y: none;
  min-height: 100%;
  overflow-x: hidden;   /* trava qualquer vazamento horizontal (sem barra/borda navy na lateral) */
}
body {
  font-family: var(--font-body);
  /* Navy (mesma cor do footer): se QUALQUER coisa criar espaço depois do
     footer (extensão do navegador injetando elemento, borda de zoom etc.),
     a sobra fica navy e invisível — não um bloco branco. O branco das
     páginas vem do <main> abaixo. */
  background: var(--navy);
  color: var(--navy);
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
  /* Flex column garante que o footer sempre fica no fim do viewport.
     Sem gap navy/branco abaixo do footer se a página for curta. */
  display: flex;
  flex-direction: column;
}
body > main { flex: 1 0 auto; background: var(--white); }

/* ---- Blindagem anti-espaço-fantasma abaixo do footer ----
   Extensões do Chrome costumam injetar padding/margin inline no <body> ou
   elementos em fluxo depois do rodapé, criando uma faixa vazia no fim da
   página. A página em si nunca tem nada em fluxo após o <footer> — os únicos
   irmãos legítimos são os flutuantes fixos (.wa-float, .a11y), o <script> e o
   visualizador de fotos (.lb), que o main.js injeta no fim do body. */
html, body { margin-bottom: 0 !important; padding-bottom: 0 !important; }
body > footer ~ *:not(script):not(.wa-float):not(.a11y):not(.lb) { display: none !important; }

img, video, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* ---- Focus states canônicos (skill harmonia §1.7) ----
   :focus-visible só aparece em navegação por teclado, não em click.
   Anel cyan WCAG AAA visível em qualquer cor de fundo. */
:focus { outline: none; }
:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: var(--radius-sm);
  transition: box-shadow var(--dur-fast) var(--ease-snap);
}
/* Botões já têm box-shadow — combinamos */
.btn:focus-visible {
  box-shadow: var(--elev-2), var(--focus-ring);
}
.btn-ghost:focus-visible,
.btn-outline-light:focus-visible {
  box-shadow: var(--focus-ring-light);
}
/* Inputs/textarea/select — anel além da borda azul */
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  box-shadow: var(--focus-ring);
  border-color: var(--blue);
  outline: none;
}
/* Links do menu */
.nav-links a:focus-visible,
.footer-col a:focus-visible {
  box-shadow: var(--focus-ring);
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--navy);
  color: #fff;
  padding: 12px 18px;
  border-radius: 0 0 var(--radius-sm) 0;
  z-index: 200;
  font-size: 0.85rem;
  font-weight: 500;
}
.skip-link:focus { top: 0; }

/* Fallback exibido só se o header/footer (partials) não carregar — evita beco sem saída. */
.include-fallback {
  padding: 16px 20px;
  background: var(--navy);
  color: #fff;
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.9rem;
}
.include-fallback a { color: var(--blue-light); }

.container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 40px;
}
@media (max-width: 720px) { .container { padding: 0 20px; } }

/* ---------- Tipografia (skill harmonia §1.8 + BRAND.md §4) ---------- */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-stretch: 125%;
  color: var(--navy);
  letter-spacing: var(--ls-display);
}

h1 { font-size: var(--text-4xl); line-height: var(--lh-tight); }
h2 { font-size: var(--text-2xl); line-height: var(--lh-snug); }
h3 { font-size: var(--text-xl);  line-height: var(--lh-snug); letter-spacing: var(--ls-body); }
h4 { font-size: var(--text-lg);  line-height: var(--lh-snug); letter-spacing: var(--ls-body); }

.h-display {
  font-family: var(--font-display);
  font-weight: 500;
  font-stretch: 125%;
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-display);
}

/* Lead — Poppins Regular maior, line-height respirável.
   Regra única (antes estava duplicada mais abaixo; consolidada mantendo
   os mesmos valores efetivos que o navegador já aplicava). */
.lead {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(1.05rem, 1.25vw, 1.2rem);
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 60ch;
}

/* Eyebrow — Poppins Bold uppercase com tracking */
.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-xs);
  letter-spacing: var(--ls-caps);
  text-transform: uppercase;
}

/* Eyebrow / labels — Poppins uppercase com tracking */
.meta {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
}

.meta-strong {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
}

/* Section index (01 — SERVICOS) */
.idx {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.idx::before {
  content: "";
  display: inline-block;
  width: 32px; height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: width .8s var(--easing) .2s;
}
[data-reveal]:not(.in) .idx::before { width: 0; }

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

/* Destaque em barra vertical azul ciano (no lugar de outline navy do antigo) */
/* Destaque de frase nos títulos: só cor azul da marca (sem a barra/“tracinho”
   à esquerda — ela ficava no meio da frase quando o título quebrava de linha). */
.bracket {
  color: var(--blue);
}

/* ---------- Botões ---------- */

/* Botões — usam tokens de elev + ease + dur da skill harmonia */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: var(--radius);
  border: 2px solid transparent;
  box-shadow: var(--elev-1);
  transition:
    background var(--dur-normal) var(--ease-smooth),
    color var(--dur-normal) var(--ease-smooth),
    border-color var(--dur-normal) var(--ease-smooth),
    box-shadow var(--dur-normal) var(--ease-smooth),
    transform var(--dur-normal) var(--ease-smooth);
  white-space: nowrap;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.btn:hover { transform: none; }   /* sem pulinho — só shadow/cor mudam */
.btn:active { transform: translateY(1px); transition-duration: var(--dur-fast); }

.btn-primary { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-primary:hover {
  background: var(--blue); border-color: var(--blue);
  box-shadow: var(--elev-2), var(--glow-blue);
}

.btn-cta { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn-cta:hover {
  background: var(--blue-deep); border-color: var(--blue-deep);
  box-shadow: var(--elev-3), var(--glow-cyan);
}

.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); box-shadow: none; }
.btn-outline:hover {
  background: var(--navy); color: #fff;
  box-shadow: var(--elev-2);
}

.btn-light { background: #fff; color: var(--navy); border-color: #fff; }
.btn-light:hover {
  background: var(--ice);
  border-color: var(--ice);
  box-shadow: var(--elev-2);
}

.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.4); box-shadow: none; }
.btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: #fff; }

.btn .arrow {
  display: inline-block;
  transition: transform var(--dur-slow) var(--ease-smooth);
}
.btn:hover .arrow { transform: translateX(1px); }

/* ---------- Header — Liquid Glass real (iOS-style) ----------
   - No topo: tinta levemente mais visível pra logo/links lerem sobre o hero
   - Ao scrollar: vidro estratégico (tinta quase zerada + blur forte), o conteúdo
     da página passa por trás visível e desfocado — sem caixa, sem linha.
   - SEM border, SEM box-shadow chapado. Separação vem do blur, não de bordas. */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  /* Off-white quente (não puxa pro azul do hero) + saturate baixo */
  background: rgba(250, 248, 244, 0.55);
  -webkit-backdrop-filter: blur(28px) saturate(110%);
          backdrop-filter: blur(28px) saturate(110%);
  border-bottom: none;
  box-shadow: none;
  transition:
    background .45s var(--easing),
    backdrop-filter .45s var(--easing),
    -webkit-backdrop-filter .45s var(--easing),
    box-shadow .45s var(--easing);
}
.header.scrolled {
  /* Opacidade maior pra header ficar legível mesmo sobre seções navy escuras */
  background: rgba(250, 248, 244, 0.78);
  -webkit-backdrop-filter: blur(28px) saturate(120%);
          backdrop-filter: blur(28px) saturate(120%);
  box-shadow: 0 8px 32px -20px rgba(15, 22, 50, 0.18);
}
/* Fallback para navegadores sem backdrop-filter */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .header { background: rgba(250, 248, 244, 0.94); }
  .header.scrolled { background: rgba(250, 248, 244, 0.97); }
}
.logo-light { display: none; }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.logo { display: flex; align-items: center; gap: 12px; height: 100%; flex: 0 0 auto; }
/* flex:none no img tambem: sem isso o flex espremia a marca quando o header
   ficava apertado e a logo aparecia esticada (proporcao errada) */
.logo img { height: 44px; width: auto; flex: none; }
.logo-light { display: none; }

.nav-links {
  display: flex;
  align-items: center;
  /* gap responsivo: em 28px fixos o header estourava a largura em telas de
     1280-1440 e espremia a logo */
  gap: clamp(18px, 1.7vw, 28px);
  list-style: none;
  white-space: nowrap;
}
.nav-links a {
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--navy);
  position: relative;
  padding: 4px 0;
  transition: color .2s;
}
/* Indicador "abolado" — pequena bolinha pill centrada embaixo do link */
.nav-links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  width: 6px;
  height: 6px;
  background: var(--blue);
  border-radius: 999px;
  transform: translateX(-50%) scale(0);
  transform-origin: center;
  transition: transform .3s var(--easing), width .3s var(--easing);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  transform: translateX(-50%) scale(1);
}
.nav-links a.active::after {
  /* link ativo ganha uma pillzinha mais larga */
  width: 18px;
}
.nav-links a:hover { color: var(--blue); }

/* Faixa 960-1300px: o header nao cabe inteiro. Antes o flex espremia a logo
   (aparecia esticada) e o CTA saia da tela. Aqui ele encolhe de verdade:
   a caixa de idioma vira o seletor simples e a navegacao aperta um pouco. */
@media (max-width: 1300px) {
  .lang-box {
    border: 0;
    background: none;
    padding: 0;
    margin-left: clamp(10px, 1.1vw, 14px);
    margin-right: clamp(12px, 1.3vw, 16px);
  }
  .lang-box-label { display: none; }
}
@media (max-width: 1300px) {
  .nav-links { gap: clamp(13px, 1.4vw, 18px); }
  .nav-links a { font-size: 0.86rem; }
  .nav-stores-btn { font-size: 0.8rem; padding: 5px 10px; }
  .nav-cta { font-size: 0.86rem; padding-left: 16px; padding-right: 16px; }
}

/* trecho que nunca quebra no meio (ex.: "e-commerce" no título) */
.nb { white-space: nowrap; }

/* ===== Botão "Lojas" com menu (loja própria + Mercado Livre) =====
   Um botão só no header: os dois canais de compra viviam como links soltos
   disputando espaço, e em 1280px o header já estava no limite. */
.nav-stores { position: relative; }
.nav-stores-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border: 1px solid rgba(0, 130, 175, 0.4);
  border-radius: 999px;
  background: none;
  color: var(--blue);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-snap),
              border-color var(--dur-fast) var(--ease-snap),
              color var(--dur-fast) var(--ease-snap);
}
.nav-stores-btn:hover,
.nav-stores-btn[aria-expanded="true"] {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
.nav-stores-ic { width: 17px; height: 17px; display: block; }
.nav-stores-caret {
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  transition: transform var(--dur-fast) var(--ease-snap);
}
.nav-stores-btn[aria-expanded="true"] .nav-stores-caret { transform: rotate(180deg); }
.nav-stores-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 60;
  display: grid;
  gap: 4px;
  min-width: 290px;
  padding: 8px;
  border: 1px solid rgba(33, 31, 67, 0.1);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 26px 60px -26px rgba(33, 31, 67, 0.45);
}
.nav-stores-menu[hidden] { display: none; }
.nav-stores-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  border-radius: calc(var(--radius) - 4px);
  text-decoration: none;
  color: var(--navy);
  transition: background var(--dur-fast) var(--ease-snap);
}
.nav-stores-item::after { display: none; }
.nav-stores-item:hover { background: rgba(0, 130, 175, 0.08); }
.nav-stores-item b {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.2;
}
.nav-stores-item small {
  display: block;
  margin-top: 2px;
  font-size: 0.76rem;
  font-weight: 400;
  line-height: 1.35;
  color: var(--ink-soft);
}
.nav-stores-logo {
  width: 26px;
  height: 26px;
  flex: none;
  object-fit: contain;
  /* o recorte do simbolo oficial nao tem alpha: o raio esconde o branco que
     sobra nos cantos do quadrado arredondado */
  border-radius: 7px;
}

/* ===== Idioma: os três botões dentro de um bloco rotulado =====
   Soltos no header eles colavam no CTA e pareciam parte dele. */
.lang-box {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  /* respiro dos dois lados: a caixa ficava colada no CTA "Chamado online" */
  margin-left: clamp(12px, 1.3vw, 18px);
  margin-right: clamp(14px, 1.6vw, 22px);
  padding: 5px 10px 6px;
  border: 1px solid rgba(33, 31, 67, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.6);
}
.lang-box-label {
  font-family: var(--font-body);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1;
}
.lang-box .lang-switch-desktop { margin-left: 0; gap: 4px; }
/* sem bandeirinha no desktop: o rotulo "Idioma" ja diz o que e, e as 3 bandeiras
   custavam ~70px num header que ja estourava a largura. No menu do celular elas
   continuam (la sobra espaco e ajudam a bater o olho). */
.lang-box-desktop .lang-switch .lang-flag { display: none; }   /* seletor mais
   longo de proposito: .lang-switch .lang-flag{display:inline-block} vem depois
   no arquivo e ganharia com a mesma especificidade */
.lang-box-desktop .lang-switch button { padding: 5px 2px; letter-spacing: 0.1em; }
@media (max-width: 1240px) {
  .lang-box-desktop { display: none; }   /* mesmo ponto do .lang-switch-desktop */
}

/* Link "Loja" no header — destaque sutil (pill outline cyan) sem virar CTA */
.nav-store .nav-store-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border: 1px solid rgba(0, 130, 175, 0.4);
  border-radius: 999px;
  color: var(--blue);
  font-weight: 700;
  font-size: 0.86rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: background var(--dur-fast) var(--ease-snap),
              border-color var(--dur-fast) var(--ease-snap),
              color var(--dur-fast) var(--ease-snap);
}
.nav-store .nav-store-link::after { display: none; }  /* anula underline pill default */
.nav-store .nav-store-link:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
/* Logo oficial do Mercado Livre (aperto de mãos) — pequeno, identifica o
   destino do link sem gritar. Marca de terceiro: usar SÓ neste botão. */
.nav-store-icon { width: 18px; height: 18px; display: block; }

.menu-toggle {
  display: none;
  background: none;
  border: 1.5px solid currentColor;
  color: currentColor;
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
}

/* ---------- Language switcher (PT · EN · ES) ----------
   Estilo minimalista: 3 botões texto + bullets separadoras.
   Ativo em azul, inativo em ink-soft. */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
/* respiro entre o botão "Loja" e o seletor de idioma (estavam colados) */
.lang-switch-desktop { margin-left: 20px; }
.lang-switch button {
  background: none;
  border: none;
  padding: 6px 4px;
  color: var(--ink-soft);
  cursor: pointer;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  transition: color var(--dur-fast) var(--ease-snap);
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.lang-switch .lang-flag {
  font-size: 1.1em;
  line-height: 1;
  letter-spacing: 0;             /* emoji não precisa de tracking */
  display: inline-block;
}
.lang-switch button:hover { color: var(--navy); }
.lang-switch button[aria-pressed="true"] { color: var(--blue); }
.lang-switch span { color: var(--muted); user-select: none; }

/* Desktop usa a versão fora do <nav>; mobile usa a dentro do menu hambúrguer.
   Breakpoint casa com o do .menu-toggle (960px). */
.lang-switch-mobile { display: none; }
@media (max-width: 1240px) {
  .lang-switch-desktop { display: none; }
  .lang-switch-mobile { display: inline-flex; }
  .nav-lang-mobile {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line-soft);
    margin-bottom: 4px;
  }
}

/* ---------- HERO ----------
   Imagem heroatual.png ocupa toda a seção como background.
   Texto fica sobreposto na metade esquerda (área livre da foto).
   Bottom da seção tem fade pra cor da próxima seção (ice) — mantém o sistema
   premium de degradês definido no resto do site.
*/

.hero {
  position: relative;
  padding-top: var(--header-h);
  overflow: hidden;
  isolation: isolate;
  background-color: #0073a0; /* tom dominante da imagem, evita flash branco no load */
  min-height: clamp(540px, 78vh, 760px);
}

/* Foto do hero como background absoluto.
   Filtros sutis pra ganhar nitidez perceptual sem alterar a paleta:
   - contrast(1.06)  → microcontraste, parece mais "afiado"
   - saturate(1.08)  → cores mais vivas (azul da CNC fica mais presente)
   - brightness(1.02) → compensa o leve escurecimento do contrast
   image-rendering crisp-edges → hint pro browser não suavizar demais */
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("../img/heroatual.jpg");
  background-repeat: no-repeat;
  background-position: center right;
  background-size: cover;
  filter: contrast(1.06) saturate(1.08) brightness(1.02);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
  image-rendering: -webkit-optimize-contrast;
  z-index: 0;
  /* Transição suave do parallax — interpola entre as posições do mousemove
     pra parecer fluido em vez de "snappy". */
  transition: transform 280ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.hero-shine {
  transition: transform 280ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* Overlay leve no canto esquerdo — garante leitura do texto branco em qualquer
   condição de luz/device, sem cobrir o lado direito da foto (operador/CNC). */
.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(95deg in oklab,
    rgba(15, 30, 60, 0.42) 0%,
    rgba(15, 30, 60, 0.22) 30%,
    rgba(15, 30, 60, 0.06) 55%,
    transparent 75%);
  pointer-events: none;
}

/* Fade no bottom — dissolve a imagem na cor da próxima seção (ice) ao longo
   de ~38vh, seguindo o sistema oklab + grão definido nas demais seções. */
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: clamp(200px, 36vh, 400px);
  /* Dissolve a foto DIRETO na cor da próxima seção (ice) com camadas de ice
     translúcida (color-mix com transparent). Sem cor intermediária = sem degrau
     /linha visível. Curva multi-parada igual ao sistema canônico das seções. */
  background-image:
    linear-gradient(180deg in oklab,
      transparent 0,
      color-mix(in oklab, var(--ice) 12%, transparent) 28%,
      color-mix(in oklab, var(--ice) 38%, transparent) 50%,
      color-mix(in oklab, var(--ice) 68%, transparent) 68%,
      color-mix(in oklab, var(--ice) 90%, transparent) 85%,
      var(--ice) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(420px, 580px) 1fr;
  gap: 40px;
  align-items: center;
  padding-top: clamp(48px, 7vw, 96px);
  padding-bottom: clamp(140px, 22vh, 240px);
  min-height: inherit;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 22px;
  /* Texto branco sobre o overlay azul-escuro à esquerda da foto */
  color: #fff;
  text-shadow: 0 2px 20px rgba(10, 22, 50, 0.35);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  padding: 9px 18px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  background: rgba(15, 30, 60, 0.28);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  text-shadow: none;
}
.hero-eyebrow .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.hero-content h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-stretch: 125%;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.005em;
  color: #fff;
  margin: 0;
  max-width: 18ch;
}
.hero-content h1 .accent {
  color: #fff;
}

.hero-lead {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.15vw, 1.15rem);
  line-height: 1.6;
  color: #fff;
  max-width: 46ch;
  margin: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

/* Tablet — colapsa o grid, texto fica sobre toda a foto.
   Tipografia também encolhe pra não estourar viewport tablet portrait. */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    padding-bottom: clamp(140px, 22vh, 220px);
  }
  .hero-content {
    max-width: 540px;
    min-width: 0;
  }
  .hero-content h1 {
    font-size: clamp(1.6rem, 4.5vw, 2.6rem);
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
  }
  .hero-actions { max-width: 100%; }
  .hero-actions .btn {
    white-space: normal;
    font-size: 0.95rem;
    padding: 14px 20px;
  }
}

/* Mobile — foco no operador (lado direito da foto) + overlay escurecedor pro texto ler */
@media (max-width: 720px) {
  .hero {
    /* Altura moderada no mobile: alta o bastante pro título ter presença, mas
       sem tanta sobra vertical — assim a foto panorâmica cabe mostrando o TB
       inteiro (ver .hero-bg abaixo) sem virar uma tarja gigante. */
    min-height: clamp(440px, 62vh, 540px);
  }
  /* Fade do hero pro próximo section também mais curto no mobile */
  .hero::after {
    height: 120px;
  }
  /* Crop do hero mobile: a foto é panorâmica (2.14:1) e o hero no celular é
     retrato — então a foto preenche a ALTURA (auto 100%) e sangra na largura,
     ancorada em 86% pra enquadrar o operador + a curva do neon, deixando a
     metade esquerda limpa pro texto.
     NÃO usar background-size em % da largura (ex.: 200%): a foto fica mais
     baixa que o hero e sobra faixa chapada de #0e2140 em cima/embaixo (a
     "linha azul" sem degradê). O 86% aqui precisa bater com o fator usado em
     js/main.js (alignShine), senão o brilho do TB sai desalinhado. */
  .hero-bg {
    background-color: #0e2140; /* fallback enquanto a foto carrega */
    background-size: auto 100%;
    background-position: 86% 50%;
  }
  /* Overlay moderado: dá contraste pro texto sem lavar a foto inteira. */
  .hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg in oklab,
      rgba(10, 22, 50, 0.42) 0%,
      rgba(10, 22, 50, 0.38) 35%,
      rgba(10, 22, 50, 0.4) 65%,
      rgba(10, 22, 50, 0.48) 100%);
  }
  /* Overlay diagonal do desktop não aplica no mobile */
  .hero-bg::before {
    display: none;
  }
  .hero-inner {
    padding-top: calc(var(--header-h) + 16px);
    padding-bottom: 40px;
    gap: 20px;
    display: flex;
    flex-direction: column;
    /* Centralizado verticalmente: com o hero mais alto, começar no topo
       (flex-start) deixava o bloco de texto grudado no topo e uma sobra
       enorme de foto vazia embaixo. padding-top continua garantindo
       respiro abaixo do header fixo. */
    justify-content: center;
    align-items: stretch;
  }
  .hero-content {
    gap: 18px;
    max-width: 100%;
    min-width: 0;            /* permite o flex item encolher abaixo do conteúdo */
  }
  .hero-content h1 {
    font-size: clamp(1.65rem, 6.8vw, 2.35rem);
    line-height: 1.12;
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
    text-shadow: 0 2px 16px rgba(8, 16, 40, 0.8), 0 1px 4px rgba(8, 16, 40, 0.65);
  }
  /* "A gente resolve." vai pra uma linha própria — evita o "A" órfão no fim da
     primeira linha e deixa o título em dois blocos alinhados (pergunta/resposta). */
  .hero-content h1 .accent { display: block; }
  .hero-lead {
    /* Mantém a proposta de valor visível no mobile — é o subtítulo que explica
       o serviço numa olhada (UX: hero precisa do "o que é" + CTA acima da dobra). */
    display: block;
    font-size: 0.95rem;
    line-height: 1.55;
    max-width: 42ch;
    text-shadow: 0 1px 12px rgba(8, 16, 40, 0.75), 0 1px 3px rgba(8, 16, 40, 0.6);
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: 100%;
    max-width: 100%;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    white-space: normal;
    font-size: 0.85rem;
    padding: 12px 16px;
  }
  .hero-inner {
    padding-top: calc(var(--header-h) + 22px) !important;
    padding-bottom: 36px !important;
    gap: 20px !important;
  }
}

@media (max-width: 380px) {
  .hero { min-height: clamp(420px, 60vh, 500px); }
  .hero-content h1 { font-size: clamp(1.5rem, 6.4vw, 2.05rem); }
  .hero-actions .btn { font-size: 0.8rem; padding: 10px 14px; }
}

/* ════════════════════════════════════════════════════════════════════
   TB neon do hero — desenha sozinho quando a página carrega
   ════════════════════════════════════════════════════════════════════
   Foto de baixo (heroatual-clean.png) NÃO tem o TB — o SVG faz tudo.
   Estado final do SVG = TB neon brilhante (igual ao look do hero antigo).

   Técnica de "desenhar": stroke-dasharray=1 + stroke-dashoffset=1 +
   pathLength=1 no SVG, animando offset 1→0. Pra brilhar como neon:
   stroke branco fino + cadeia de drop-shadows cyan crescentes (halo).

   T desenha primeiro (700ms), B começa 500ms depois.
   Respeita prefers-reduced-motion (estado final imediato). */
/* TB neon — PNG branco do manual + glow cyan PESADO simulando tubo de neon real.
   Stack de drop-shadows: branco bem próximo (core brilhante) + cyan em camadas
   (halo curto/médio/longo). Total: 6 sombras pra dar densidade de luz. */
/* Shine ELEGANTE no TB — luz só passa NAS LINHAS do TB (não pelo resto do hero).
   Como: gradient com sweep horizontal + mask-image usando o PNG do TB.
   A mask é invisível (não é objeto), só define onde o brilho aparece.
   Posicionado nas medidas reais do TB na foto (52% w × 95% h, top+right zero). */
.hero-shine {
  position: absolute;
  /* left/top/width/height calculados via JS pra bater com TB da foto */
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: screen;

  /* Brilho: highlight especular FINO (core branco) + halo cyan curto.
     Banda estreita = luz "percorrendo o tubo" do TB, não um clarão largo. */
  background: linear-gradient(
    110deg,
    transparent 43%,
    rgba(140, 215, 245, 0.16) 46.5%,
    rgba(190, 235, 252, 0.55) 48.6%,
    rgba(255, 255, 255, 0.98) 50%,
    rgba(190, 235, 252, 0.55) 51.4%,
    rgba(140, 215, 245, 0.16) 53.5%,
    transparent 57%
  );
  background-size: 280% 100%;
  background-position: 140% 0;

  /* Mask EXTRAÍDA pixel-a-pixel da foto heroatual.png (filtro cyan + bright
     + dilatação). Forma idêntica ao TB original, sem padding interno. */
  mask-image: url("../img/tb-mask-final.png?v=2026061005");
  mask-size: 100% 100%;
  mask-repeat: no-repeat;
  -webkit-mask-image: url("../img/tb-mask-final.png?v=2026061005");
  -webkit-mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;

  opacity: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .hero-shine {
    /* Ciclo de 4,2s: travessia LENTA e visível (~3s) + pausa curta (~1,2s) —
       o brilho repassa com frequência sem virar pisca-pisca. */
    animation: hero-shine-sweep 4200ms linear 800ms infinite;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-shine { display: none; }
}

/* Grupo CTA desktop: botão "Chamado online" em cima, status indicator embaixo.
   align-items: flex-end mantém ambos colados na borda direita do header. */
.nav-cta-group {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}
/* CTA com a bolinha de status embutida: aproxima a bolinha do texto. */
.nav-cta { gap: 10px; }
/* Wrapper interno que segura SÓ a bolinha (+ texto sr-only). Anula a tipografia
   herdada de .header-status, que era pra legenda visível e aqui não aparece. */
.nav-cta-status {
  display: inline-flex;
  align-items: center;
  font-size: 0;
  letter-spacing: 0;
  gap: 0;
}
/* Bolinha maior que a versão legenda (6px) pra ler bem dentro do botão navy. */
.nav-cta-status .nav-cta-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
}
/* Label do CTA: mantém o respiro entre "Chamado online" e a seta. */
.nav-cta .nav-cta-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* Status indicator (versão legenda visível — usada na cópia mobile do menu):
   bolinha + texto compacto. */
.header-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  white-space: nowrap;
  transition: opacity var(--dur-normal) var(--ease-smooth);
}
.header-status[hidden] { display: none; }
.header-status .status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex: 0 0 6px;
}
.header-status[data-state="online"] .status-dot {
  background: #22c55e;
  box-shadow: 0 0 6px rgba(34, 197, 94, 0.65);
  animation: status-pulse 1.6s ease-in-out infinite;
}
.header-status[data-state="offline"] .status-dot {
  background: #fbbf24;
  box-shadow: 0 0 5px rgba(251, 191, 36, 0.55);
}

/* Cópia mobile do status — vive dentro do hambúrguer (.nav-links).
   Esconde por padrão; só aparece quando o menu mobile entra em ação. */
.header-status-mobile { display: none; }
.nav-status-mobile,
.nav-cta-mobile { display: none; }

/* ≤960px: hambúrguer ativo. Esconde grupo desktop, mostra cópias mobile dentro do dropdown. */
@media (max-width: 1240px) {
  .nav-cta-group { display: none !important; }
  .nav-status-mobile { display: flex !important; justify-content: flex-end; }
  .nav-cta-mobile { display: flex !important; justify-content: flex-end; width: 100%; }
  .header-status-mobile {
    display: inline-flex !important;
  }
  .nav-cta-mobile-btn { width: 100%; justify-content: center; }
  /* O texto precisa vencer .nav-links a (cor navy) — senão some no fundo do
     botão (navy) e fica ilegível no teal do :hover. Força branco nos dois estados. */
  .nav-links a.nav-cta-mobile-btn,
  .nav-links a.nav-cta-mobile-btn:hover { color: #fff; }
}

/* Status pill antigo no hero — não usado mais (movido pro header), mas mantém
   regras pra compatibilidade caso alguma outra página use. */
.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  padding: 7px 14px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  background: rgba(15, 30, 60, 0.32);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  text-shadow: none;
  transition: opacity var(--dur-normal) var(--ease-smooth);
}
.hero-status[hidden] { display: none; }
.hero-status .status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex: 0 0 8px;
}
/* Online (horário comercial): verde piscando */
.hero-status[data-state="online"] .status-dot {
  background: #22c55e;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.9);
  animation: status-pulse 1.6s ease-in-out infinite;
}
/* Offline (fora do horário): amarelo estático */
.hero-status[data-state="offline"] .status-dot {
  background: #fbbf24;
  box-shadow: 0 0 8px rgba(251, 191, 36, 0.7);
}
@keyframes status-pulse {
  0%, 100% { opacity: 1;   transform: scale(1); }
  50%      { opacity: 0.55; transform: scale(0.88); }
}

@keyframes hero-shine-sweep {
  /* Sweep ocupa ~71% do ciclo (~3s), o resto (~1,2s) é pausa.
     Easing quase linear (só um arredondamento nas pontas) — travessia
     constante e fácil de acompanhar; opacidade em rampa, sem pop. */
  0%   { opacity: 0;    background-position: 140% 0; animation-timing-function: cubic-bezier(0.33, 0, 0.67, 1); }
  9%   { opacity: 0.95; }
  61%  { opacity: 0.95; }
  71%  { opacity: 0;    background-position: -40% 0; }
  100% { opacity: 0;    background-position: -40% 0; }
}


/* Mobile: hero crop diferente (regras .hero-bg ≤720px reposicionam a foto).
   Provavelmente vai precisar ajuste fino — calibrar no DevTools. */
@media (max-width: 720px) {
  .hero-tb {
    top: 14%;
    right: 4%;
    width: 52vw;
  }
}
@media (max-width: 380px) {
  .hero-tb {
    width: 58vw;
    top: 16%;
  }
}

/* Acessibilidade — texto invisível mas lido por leitores de tela */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* (Bloco legado .hero-image/.hero-text removido — não mais usado pelo HTML atual) */

/* ---------- Sections ---------- */

section { position: relative; }

.section {
  padding: clamp(48px, 6.5vw, 86px) 0;
}

/* ---------- Seção "Casos · antes e depois" ----------
   bg + padding pela skill harmonia (definição em §SECTION_BG no SKILL.md). */
.cases-head {
  max-width: 760px;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.cases-head .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 22px;
}
.cases-head .eyebrow-mark {
  width: 22px; height: 4px;
  background: var(--blue);
  border-radius: 999px;
  display: inline-block;
}
.cases-head h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  line-height: 1.08;
  margin-bottom: 18px;
}
.cases-head .lead {
  max-width: 56ch;
}

/* === Carrossel auto-scroll infinito (estilo image slider) === */
.cases-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-bottom: 40px;
  /* Mask gradient nas laterais — fade pra transparente nas bordas */
  -webkit-mask: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
          mask: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
  /* Extende além do container pra ocupar a largura total da viewport */
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 8px 0;
}
.cases-marquee-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: cases-scroll 40s linear infinite;
}
.cases-marquee:hover .cases-marquee-track {
  animation-play-state: paused;
}
@keyframes cases-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.case-tile {
  position: relative;
  flex-shrink: 0;
  width: clamp(220px, 28vw, 360px);
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 0;
  background: var(--navy);
  box-shadow: 0 24px 60px -32px rgba(33, 31, 67, 0.4);
  transition: transform .4s var(--easing), filter .4s var(--easing);
}
.case-tile:hover {
  transform: scale(1.04);
  filter: brightness(1.08);
}
.case-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.case-tile figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 18px 20px 22px;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(15, 22, 50, 0.4) 40%,
    rgba(15, 22, 50, 0.92) 100%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  color: #fff;
}
.case-tile .case-tag {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-light);
  padding: 4px 10px;
  background: rgba(108, 198, 229, 0.15);
  border: 1px solid rgba(108, 198, 229, 0.3);
  border-radius: 999px;
  backdrop-filter: blur(8px);
}
.case-tile figcaption strong {
  font-family: var(--font-display);
  font-weight: 500;
  font-stretch: 125%;
  font-size: 1.05rem;
  color: #fff;
  line-height: 1.2;
}

.cases-cta {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

@media (max-width: 720px) {
  .case-tile { width: 220px; }
  .cases-marquee-track { gap: 14px; animation-duration: 32s; }
}

/* ---------- Seção "Pessoas certas" (home) ----------
   Padding-top é setado pela regra da skill harmonia (com fade reservado). */
.section-about {
  position: relative;
}
.about-grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: stretch;
}
/* Wrapper solto em volta da foto: existe só pra o selo "Desde 1998" poder
   flutuar meio pra fora do card (canto superior) sem ser cortado pelo
   overflow:hidden da foto e sem cair em cima dos rostos da equipe. */
.about-photo-wrap {
  position: relative;
}
.about-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 0;
  /* Proporção exata da foto (1290×978) + sem esticar pra altura do texto:
     a equipe inteira aparece, sem cortar ninguém e sem faixa. Centralizada
     na vertical pra dividir o respiro igualmente com o texto ao lado. */
  aspect-ratio: 1290 / 978;
  align-self: center;
  width: 100%;
  background: var(--navy);
  box-shadow: 0 24px 60px -28px rgba(33, 31, 67, 0.4);
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  position: absolute;
  inset: 0;
  transition: transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.about-photo:hover img { transform: scale(1.035); }
@media (prefers-reduced-motion: reduce) {
  .about-photo img { transition: none; }
  .about-photo:hover img { transform: none; }
}
.about-photo figcaption {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 24px;
  color: #fff;
  background: linear-gradient(180deg, transparent 0%, transparent 45%, rgba(15, 18, 50, 0.85) 100%);
  z-index: 2;
  pointer-events: none;
}
/* Selo pendurado no canto do card, meio pra fora — nunca sobrepõe as pessoas
   da foto, qualquer que seja o enquadramento. */
.about-photo-label {
  position: absolute;
  top: -14px;
  left: 24px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--navy);
  box-shadow: 0 10px 24px -10px rgba(15, 18, 50, 0.55);
}
.about-photo-quote {
  font-family: var(--font-display);
  font-weight: 500;
  font-stretch: 125%;
  font-size: clamp(1.4rem, 2.3vw, 1.85rem);
  line-height: 1.12;
  color: #fff;
  max-width: 14ch;
}
.about-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.about-text > .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blue);
  margin-bottom: 16px;
}
.about-text > .eyebrow .eyebrow-mark {
  width: 22px;
  height: 4px;
  background: var(--blue);
  border-radius: 999px;
  display: inline-block;
}
.about-text h2 {
  font-size: clamp(2.2rem, 3.4vw, 3.3rem);
  line-height: 1.06;
  margin-bottom: 18px;
}
.about-text .lead {
  margin-bottom: 28px;
  max-width: 50ch;
}
/* Linhas editoriais numeradas: índice 01–03 em Archivo Expanded azul,
   palavra-chave navy bold e complemento em tom suave. No hover o índice
   acende e a hairline de baixo esquenta pro azul. */
.about-points {
  list-style: none;
  display: grid;
  gap: 0;
  margin: 0 0 32px;
  padding: 0;
  border-top: 1px solid var(--line-soft);
  counter-reset: ab-point;
}
.about-points li {
  position: relative;
  counter-increment: ab-point;
  padding: 18px 0 18px 60px;
  border-bottom: 1px solid var(--line-soft);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink-soft);
  line-height: 1.55;
  transition: border-color 0.3s ease;
}
.about-points li::before {
  content: counter(ab-point, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 21px;
  font-family: var(--font-display);
  font-weight: 500;
  font-stretch: 125%;
  font-size: 1.7rem;
  line-height: 1;
  color: var(--blue);
  opacity: 0.4;
  transition: opacity 0.3s ease;
}
.about-points li:hover { border-bottom-color: rgba(0, 130, 175, 0.45); }
.about-points li:hover::before { opacity: 1; }
.about-points strong {
  display: block;
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--navy);
  margin-bottom: 1px;
}
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-points li { padding-left: 46px; }
  .about-points li::before { font-size: 1.4rem; top: 23px; }
}

/* ---------- Seção de orçamento rápido ----------
   bg + padding pela skill harmonia. */
.quote-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: stretch;
  position: relative;
  z-index: 1;
}
.quote-intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.quote-intro h2 {
  margin: 0 0 20px;
  max-width: 100%;
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  line-height: 1.08;
}
.quote-intro h2 .accent {
  color: var(--blue);
}
.quote-intro .lead {
  max-width: 50ch;
  margin: 0 0 28px;
  font-size: clamp(1rem, 1.15vw, 1.1rem);
}
.quote-perks {
  list-style: none;
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
}
.quote-perks li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--navy);
}
.quote-perks .check {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  flex: 0 0 28px;
}

/* Liquid glass Apple-style — multi-camada premium com luminância alta. */
.quote-form {
  position: relative;
  background:
    linear-gradient(135deg in oklab,
      rgba(255, 255, 255, 0.95) 0%,
      rgba(255, 255, 255, 0.72) 45%,
      rgba(108, 198, 229, 0.22) 100%);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 2.6vw, 36px);
  display: grid;
  gap: 14px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(36px) saturate(200%);
  -webkit-backdrop-filter: blur(36px) saturate(200%);
  box-shadow:
    inset 0 1.5px 0 rgba(255, 255, 255, 1),
    inset 0 -1px 0 rgba(255, 255, 255, 0.35),
    inset 1px 0 0 rgba(255, 255, 255, 0.5),
    0 0 0 1px rgba(33, 31, 67, 0.04),
    0 40px 100px -40px rgba(33, 31, 67, 0.32),
    0 12px 32px -16px rgba(0, 130, 175, 0.22);
  overflow: hidden;
}
/* Dois highlights radiais — canto superior esquerdo (luz principal)
   e canto inferior direito (reflexo) pra vidro parecer iluminado. */
.quote-form::before {
  content: "";
  position: absolute;
  top: -10%; left: -10%;
  width: 75%; height: 65%;
  background: radial-gradient(
    ellipse at top left,
    rgba(255, 255, 255, 0.65) 0%,
    transparent 65%
  );
  pointer-events: none;
  z-index: 0;
}
.quote-form > * { position: relative; z-index: 1; }
.quote-form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.quote-form .field { min-width: 0; }   /* impede os campos de estourar a coluna (2 por linha como no contato) */
.quote-form-head {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 2px;
}
.quote-form-head h3 {
  font-size: 1.2rem;
  margin: 0;
}
.quote-form .btn {
  width: 100%;
  justify-content: center;
  margin-top: 6px;
}
.quote-foot {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
  margin: 0;
}
.quote-foot[data-state="ok"]  { color: #047857; font-weight: 600; }
.quote-foot[data-state="err"] { color: #B91C1C; font-weight: 600; }

@media (max-width: 960px) {
  .quote-grid { grid-template-columns: 1fr; gap: 40px; }
  .quote-intro h2 { max-width: 100%; }
}
@media (max-width: 720px) {
  .quote-form { padding: 26px 22px; }
  .quote-form .row { grid-template-columns: 1fr; gap: 18px; }
  .quote-form-head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .quote-form-head h3 { font-size: 1.25rem; }
}
/* Home (desktop): form de orçamento mais compacto — com os campos de máquina +
   foto ele ficava alto/"gigante". Aperta espaçamentos e tamanhos SÓ aqui; mobile
   (≤720px, font 16px p/ não dar zoom no iOS) e o form de Contato não mudam. */
@media (min-width: 721px) {
  .quote-form { gap: 14px; }
  .quote-form .field label { font-size: 0.72rem; margin-bottom: 7px; }
  .quote-form .field input,
  .quote-form .field select,
  .quote-form .field textarea { padding: 11px 14px; font-size: 0.98rem; }
  .quote-form .field-group { padding: 18px 18px 20px; gap: 18px; }
  .quote-form .field-group legend { font-size: 0.72rem; }
  .quote-form .machine-toggle > summary { margin-bottom: 2px; }
  .quote-form .field-group .row { gap: 18px; }
  .quote-form .radio-group { gap: 8px; }
  .quote-form .radio-group .radio-pill { padding: 8px 12px; font-size: 0.82rem; }
}

/* Degradês de transição entre seções — longos e fluidos.
   O gradient vive no background da própria seção: começa na cor do vizinho
   (prev-bg) e dissolve até a cor da seção (this-bg) em ~clamp(260px, 32vh, 420px).
   Resultado: transição percorre quase um terço da viewport, sem stripe visível. */

/* === Fade premium entre seções — invisível, sem linha ===
   Cada seção tem bg sólido + um pseudo ::after no bottom que faz a transição
   pra cor da próxima seção (detectada via :has()). O padding-bottom acomoda
   a faixa de fade pra conteúdo nunca cair sobre o gradiente.
   Resultado: zero linha visível e texto sempre sobre cor sólida.
*/
/* Base: section default = branco. Modificadores DEPOIS sobrescrevem. */
.section        { background-color: var(--white); --this-bg: var(--white); position: relative; }
.section-about  { background-color: var(--white); --this-bg: var(--white); }
.section-process   { background-color: var(--white); --this-bg: var(--white); }
.section-cta-final { background-color: var(--navy);  --this-bg: var(--navy); color: #fff; overflow: hidden; }
.section-ice    { background-color: var(--ice);  --this-bg: var(--ice);  position: relative; }
.section-quote  { background-color: var(--ice);  --this-bg: var(--ice);  position: relative; }
.section-cases  { background-color: var(--ice);  --this-bg: var(--ice);  position: relative; }
.section-navy   { background-color: var(--navy); --this-bg: var(--navy); position: relative; color: #fff; }

/* Page-hero (capa das páginas internas) — bg navy via cover-pages.svg */
.page-hero      { --this-bg: var(--navy); position: relative; }

.section-ice > .container,
.section-navy > .container,
.section-quote > .container,
.section > .container { position: relative; z-index: 1; }

.section-navy h1, .section-navy h2, .section-navy h3, .section-navy h4 { color: #fff; }
.section-navy .lead { color: rgba(255,255,255,0.85); }
.section-navy .meta { color: rgba(255,255,255,0.75); }
.section-navy .idx { color: #fff; }
.section-navy .meta-strong { color: #fff; }

/* ---- Defaults do --next-bg ---- */
.section, .page-hero      { --next-bg: var(--white); }
.section-cta-final        { --next-bg: var(--navy); }

/* ---- Última seção dentro de <main>: o próximo é o footer (navy) ---- */
main > .section:last-child,
main > .page-hero:last-child { --next-bg: var(--navy); }

/* ---- Adjacência via :has(): próxima seção define a cor ---- */
.section:has(+ .section-navy),
.page-hero:has(+ .section-navy) { --next-bg: var(--navy); }

.section:has(+ .section-ice),
.section:has(+ .section-quote),
.section:has(+ .section-cases),
.page-hero:has(+ .section-ice),
.page-hero:has(+ .section-quote),
.page-hero:has(+ .section-cases) { --next-bg: var(--ice); }

.section:has(+ .section:not(.section-ice):not(.section-navy):not(.section-quote):not(.section-cases)),
.page-hero:has(+ .section:not(.section-ice):not(.section-navy):not(.section-quote):not(.section-cases)) { --next-bg: var(--white); }

/* ════════════════════════════════════════════════════════════════
   SISTEMA CANÔNICO DE TRANSIÇÃO ENTRE SEÇÕES — skill harmonia §2.3
   ════════════════════════════════════════════════════════════════
   Cada seção tem cor sólida via --this-bg.
   A próxima seção tem --prev-bg setado via adjacência `+`.
   O fade vive no TOPO da próxima seção (::before), indo de prev → this.
   Conteúdo fica ABAIXO do fade via padding-top reservado.
   --space-7 = padding interno; --fade-h = altura do fade. */

.section:not(.hero):not(.footer) {
  position: relative;
  padding-top: calc(var(--space-7) + var(--fade-h));
  padding-bottom: var(--space-8);
}
/* Seção logo após a page-hero que não tem section-head (ex.: foto da equipe
   no Trabalhe Conosco): encosta mais no topo, sem o vácuo do fade reservado.
   O fade ali é ice→ice (invisível), então reduzir o padding-top é seguro. */
.section.section-flush-top:not(.hero):not(.footer) {
  padding-top: var(--space-5);
}
/* Fade no topo da seção via pseudo ::before.
   - height: 1.6x maior que fade-h → bottom do strip é cor sólida this-bg
     (sem boundary visível entre "fim do gradient" e "início da seção")
   - gradient termina em this-bg na altura exata de fade-h, depois fica plano
   - linear oklab puro: matematicamente o gradient mais suave possível */
.section:not(.hero):not(.footer)::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0; right: 0;
  height: calc(var(--fade-h) * 2);
  pointer-events: none;
  z-index: 0;
  /* Curva S (ease-in-out / smoothstep) em oklab — o blend começa e termina
     bem devagar, deixando as DUAS pontas quase imperceptíveis. Transição
     "Apple": você não percebe onde uma seção vira a outra. */
  background: linear-gradient(180deg in oklab,
    var(--prev-bg, var(--white)) 0,
    color-mix(in oklab, var(--prev-bg, var(--white)) 94%, var(--this-bg)) calc(var(--fade-h) * 0.26),
    color-mix(in oklab, var(--prev-bg, var(--white)) 78%, var(--this-bg)) calc(var(--fade-h) * 0.51),
    color-mix(in oklab, var(--prev-bg, var(--white)) 50%, var(--this-bg)) calc(var(--fade-h) * 0.85),
    color-mix(in oklab, var(--prev-bg, var(--white)) 22%, var(--this-bg)) calc(var(--fade-h) * 1.19),
    color-mix(in oklab, var(--prev-bg, var(--white)) 6%, var(--this-bg)) calc(var(--fade-h) * 1.45),
    var(--this-bg) calc(var(--fade-h) * 1.7));
}

/* Matriz de adjacência completa (skill harmonia §2.2) */

/* — vizinha NAVY antes — */
.section-navy + .section,
.section-navy + .section-ice,
.section-navy + .section-quote,
.section-navy + .section-cases,
.section-navy + .section-about { --prev-bg: var(--navy); }

/* — vizinha ICE antes (section-ice / quote / cases) — */
.section-ice + .section,
.section-ice + .section-navy,
.section-ice + .section-about,
.section-quote + .section,
.section-quote + .section-navy,
.section-quote + .section-about,
.section-cases + .section,
.section-cases + .section-navy,
.section-cases + .section-about { --prev-bg: var(--ice); }

/* — vizinha WHITE antes (section default / about) —
   IMPORTANTE: `.section + X` casa TODAS as variantes de section. Pra
   referenciar SÓ a default white, usamos :not() (skill harmonia §2.2.1). */
.section:not(.section-ice):not(.section-navy):not(.section-quote):not(.section-cases):not(.section-about) + .section-navy,
.section:not(.section-ice):not(.section-navy):not(.section-quote):not(.section-cases):not(.section-about) + .section-ice,
.section:not(.section-ice):not(.section-navy):not(.section-quote):not(.section-cases):not(.section-about) + .section-quote,
.section:not(.section-ice):not(.section-navy):not(.section-quote):not(.section-cases):not(.section-about) + .section-cases,
.section-about + .section-navy,
.section-about + .section-ice,
.section-about + .section-quote,
.section-about + .section-cases { --prev-bg: var(--white); }

/* — hero (termina em ice) — */
.hero + .section,
.hero + .section-ice,
.hero + .section-quote,
.hero + .section-cases,
.hero + .section-navy,
.hero + .section-about { --prev-bg: var(--ice); }

/* — page-hero (foto fotocapas.png termina em ice via bottom fade) — */
.page-hero + .section,
.page-hero + .section-ice,
.page-hero + .section-quote,
.page-hero + .section-cases,
.page-hero + .section-navy,
.page-hero + .section-about { --prev-bg: var(--ice); }

/* Transições de ALTO CONTRASTE (navy ↔ claro): fade bem mais longo, pra a
   curva S ter espaço de "derreter" e a emenda ficar imperceptível (estilo
   Apple). Como o padding-top deriva de --fade-h, o conteúdo já se reserva
   abaixo do degradê automaticamente. Navy↔navy e tons próximos ficam de fora. */
.section-navy + .section:not(.section-navy),
.section:not(.section-navy) + .section-navy {
  --fade-h: clamp(140px, 15vw, 220px);
}

/* Mesma cor adjacente — sem fade visível + padding normal.
   Pra "white→white" usamos :not() porque .section sozinha casa também
   .section-ice/.section-navy (todas têm a classe .section). */
.section-navy + .section-navy::before,
.section-ice + .section-ice::before,
.section-ice + .section-quote::before,
.section-ice + .section-cases::before,
.section-quote + .section-ice::before,
.section-quote + .section-cases::before,
.section-cases + .section-ice::before,
.section-cases + .section-quote::before,
.section:not(.section-ice):not(.section-navy):not(.section-quote):not(.section-cases):not(.section-about) + .section:not(.section-ice):not(.section-navy):not(.section-quote):not(.section-cases):not(.section-about)::before,
.section:not(.section-ice):not(.section-navy):not(.section-quote):not(.section-cases):not(.section-about) + .section-about::before,
.section-about + .section:not(.section-ice):not(.section-navy):not(.section-quote):not(.section-cases):not(.section-about)::before,
.section-about + .section-about::before { display: none; }

.section-navy + .section-navy,
.section-ice + .section-ice,
.section-ice + .section-quote,
.section-ice + .section-cases,
.section-quote + .section-ice,
.section-quote + .section-cases,
.section-cases + .section-ice,
.section-cases + .section-quote,
.section:not(.section-ice):not(.section-navy):not(.section-quote):not(.section-cases):not(.section-about) + .section:not(.section-ice):not(.section-navy):not(.section-quote):not(.section-cases):not(.section-about),
.section:not(.section-ice):not(.section-navy):not(.section-quote):not(.section-cases):not(.section-about) + .section-about,
.section-about + .section:not(.section-ice):not(.section-navy):not(.section-quote):not(.section-cases):not(.section-about),
.section-about + .section-about { padding-top: var(--space-7); }

/* Primeira seção da página — sem fade */
main > .section:first-child::before { display: none; }
main > .section:first-child { padding-top: var(--space-7); }

/* (Regras de fade-adjacência removidas — sem fade agora.) */

/* (Fades antigos de .hero-image/.hero-text removidos — HTML atual usa .hero-photo) */

/* Marquee — fades laterais para o texto não cortar bruscamente nas bordas */
.marquee {
  position: relative;
}
.marquee::before,
.marquee::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: clamp(60px, 8vw, 120px);
  pointer-events: none;
  z-index: 2;
}
.marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--navy) 0%, transparent 100%);
}
.marquee::after {
  right: 0;
  background: linear-gradient(270deg, var(--navy) 0%, transparent 100%);
}

/* Cabeçalho de seção */
.section-head {
  display: block;
  margin-bottom: clamp(32px, 4.5vw, 56px);
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.section-navy .section-head { border-bottom-color: rgba(255,255,255,0.2); }
.section-head h2 { max-width: 22ch; }
.section-head .lead { margin-top: 14px; max-width: 60ch; }
/* título de marcas: mais respiro (o cap de 22ch + <br> deixava as linhas apertadas) */
.section-brands .section-head h2 { max-width: 40ch; line-height: 1.26; text-wrap: pretty; }

/* ---------- Métricas ---------- */

.section-metrics {
  position: relative;
  /* overflow removido — não clipa o ::after do fade */
  /* Glow azul da marca (cartão de visita do manual / posts do IG) florescendo
     no terço inferior da seção. A camada linear de cima REAFIRMA navy puro no
     rodapé: a borda inferior volta a ser exatamente --this-bg, então o fade da
     seção seguinte (que parte de navy) emenda perfeito. Cores = --blue/--blue-deep. */
  background-image:
    linear-gradient(180deg, rgba(33, 31, 67, 0) 58%, rgba(33, 31, 67, 0.55) 82%, var(--navy) 97%),
    radial-gradient(105% 52% at 80% 90%, rgba(0, 130, 175, 0.44) 0%, rgba(0, 130, 175, 0) 62%),
    radial-gradient(92% 46% at 6% 98%, rgba(0, 106, 145, 0.34) 0%, rgba(0, 106, 145, 0) 66%);
}
.section-metrics .container { position: relative; z-index: 1; }

.metrics-head {
  max-width: 760px;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.metrics-head .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-light);
  color: var(--blue-light);
  margin-bottom: 22px;
}
.metrics-head .eyebrow-mark {
  width: 22px;
  height: 4px;
  background: var(--blue);
  border-radius: 999px;
  display: inline-block;
}
.metrics-head h2 {
  color: #fff;
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.05;
  margin: 0;
}
.metrics-head h2 .accent {
  color: var(--blue-light);
}
.metrics-head .lead {
  color: rgba(255,255,255,0.78);
  margin-top: 18px;
  max-width: 56ch;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
/* Variante de 3 indicadores (após remoção do "mesmo dia"). */
.metrics-grid--3 { grid-template-columns: repeat(3, 1fr); }

/* Editorial: sem caixas — número gigante direto no fundo, colunas separadas
   por hairline. Tick azul curto acima de cada número (assinatura da marca). */
.metric {
  position: relative;
  padding: 6px 26px 10px 30px;
}
.metric + .metric {
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}
.metric:first-child { padding-left: 0; }

.metric::before {
  content: "";
  display: block;
  width: 30px;
  height: 4px;
  margin-bottom: 24px;
  background: linear-gradient(90deg, var(--blue-light), var(--blue));
  border-radius: 999px;
}

.metric-index { display: none; }

.metric .value {
  font-family: var(--font-display);
  font-weight: 500;
  font-stretch: 125%;
  font-size: clamp(3.4rem, 6vw, 5.4rem);
  line-height: 0.92;
  color: #fff;
  display: flex;
  align-items: baseline;
  margin-bottom: 16px;
}
.metric .value sup {
  font-family: var(--font-body);
  font-size: 0.24em;
  font-weight: 700;
  margin-left: 10px;
  color: var(--blue-light);
  letter-spacing: 0.14em;
  top: -1.7em;
}
.metric .label {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.5;
  max-width: 24ch;
}

/* ---------- Lista de serviços ---------- */

.services {
  display: grid;
  gap: 16px;
}
.service-row {
  display: grid;
  grid-template-columns: minmax(180px, 1.2fr) 2fr 40px;
  gap: 32px;
  padding: 28px 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  align-items: center;
  transition: background .35s var(--easing), border-color .35s var(--easing),
              transform .35s var(--easing), box-shadow .35s var(--easing);
  position: relative;
  overflow: hidden;
}
.service-row:hover {
  background: var(--ice);
  border-color: var(--blue);
  transform: translateX(4px);
  box-shadow: 0 24px 50px -28px rgba(0, 130, 175, 0.35);
}
.service-row h3 { transition: color .3s; }
.service-row:hover h3 { color: var(--blue); }

.service-row h3 {
  font-size: clamp(1.2rem, 1.8vw, 1.6rem);
  font-weight: 500;
  font-stretch: 125%;
  line-height: 1.1;
}
.service-row > .arrow {
  align-self: center;
  justify-self: end;
  font-size: 1.4rem;
  color: var(--blue);
  transition: transform .25s var(--easing);
  font-weight: 300;
}
.service-row:hover > .arrow { transform: translateX(8px); }
.service-row .desc {
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 50ch;
}
.service-row .desc .tags {
  list-style: none;
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.service-row .desc .tags li {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--white);
}

/* ---------- Split ---------- */

.split {
  display: grid;
  grid-template-columns: 4fr 6fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}
.split-rev {
  display: grid;
  grid-template-columns: 6fr 4fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}
.split-photo {
  display: grid;
  grid-template-columns: 5fr 5fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.col h2 { margin-top: 16px; }
.col .lead { margin-top: 24px; }
.col .actions { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Photo card ---------- */

.photo-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--navy);
  transition: transform .5s var(--easing), box-shadow .5s var(--easing);
}
.photo-card:hover {
  box-shadow: 0 40px 80px -28px rgba(33, 31, 67, 0.5);
  transform: translateY(-6px);
}
.photo-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--easing);
}
.photo-card:hover img { transform: scale(1.05); }

.photo-placeholder {
  position: absolute;
  inset: 0;
  background: var(--navy);
  display: grid;
  place-items: center;
  color: rgba(255,255,255,0.5);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.photo-placeholder::before { content: "Foto pendente"; }

.photo-card .overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: #fff;
  background: linear-gradient(180deg, transparent 40%, rgba(33, 31, 67, 0.92) 100%);
  z-index: 2;
}
.photo-card .overlay h3 {
  font-size: 1.2rem;
  color: #fff;
  letter-spacing: 0.005em;
}

/* ---------- Team grid ---------- */

/* Seção Diretoria que vem direto após o page-hero, sem section-head.
   Reduz o padding-top pra fotos "respirarem" no topo sem vácuo de header
   ausente. Fade harmonia continua funcionando (fade ice→ice é invisível). */
.section-team {
  padding-top: clamp(40px, 5vw, 64px);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 1024px) { .team-grid { grid-template-columns: 1fr 1fr; gap: 24px; } }
@media (max-width: 720px)  { .team-grid { grid-template-columns: 1fr; gap: 32px; } }

/* Picker da diretoria — fotinhas no topo. Clicar traz o card da pessoa pro 1º
   lugar (JS usa `order` + FLIP pra deslizar). Foto redonda + nome + cargo curto. */
.team-picker {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(10px, 4vw, 32px);
  margin-bottom: 10px;
}
.team-picker-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  width: clamp(88px, 26vw, 132px);
  padding: 8px 6px;
  background: none;
  border: 0;
  border-radius: var(--radius-md);
  text-align: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.team-picker-photo {
  width: clamp(58px, 17vw, 88px);
  height: clamp(58px, 17vw, 88px);
  border-radius: 999px;
  overflow: hidden;
  background: var(--ice);
  border: 2px solid rgba(33, 31, 67, 0.10);
  box-shadow: var(--elev-1);
  transition: border-color var(--dur-fast) var(--ease-snap),
              box-shadow var(--dur-fast) var(--ease-snap),
              transform var(--dur-fast) var(--ease-snap);
}
.team-picker-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team-picker-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-stretch: 125%;
  font-size: 0.92rem;
  line-height: 1.1;
  color: var(--navy);
}
.team-picker-role {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.25;
  color: var(--muted);
}
.team-picker-item:hover .team-picker-photo {
  transform: translateY(-3px);
  border-color: rgba(0, 130, 175, 0.5);
}
.team-picker-item.is-active .team-picker-photo {
  border-color: var(--blue);
  box-shadow: var(--elev-2), 0 0 0 4px rgba(0, 130, 175, 0.14);
}
.team-picker-item.is-active .team-picker-role { color: var(--blue); }
.team-picker-item:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  .team-picker-photo { transition: none; }
}
/* Microcopy abaixo das fotinhas: avisa que dá pra tocar. */
.team-picker-hint {
  text-align: center;
  margin: 0 auto clamp(24px, 4vw, 38px);
  max-width: 34ch;
  font-family: var(--font-body);
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--muted);
}
/* A reordenação é só MOBILE — no desktop os 3 cards já aparecem lado a lado. */
@media (min-width: 721px) {
  .team-picker,
  .team-picker-hint { display: none; }
  .team-member { order: 0 !important; }   /* ignora qualquer reorder herdado do mobile */
}
/* Mobile: sobe o picker (menos respiro acima da seção). Seletor com 4 classes
   pra vencer `.section.section-flush-top:not(.hero):not(.footer)` (0,4,0):
   empate de especificidade + posição posterior no arquivo = esta ganha. */
@media (max-width: 720px) {
  .page-hero + .section-team.section-ice.section-flush-top { padding-top: clamp(10px, 3vw, 20px); }
}

/* Cada diretor: foto em cima + bio abaixo */
.team-member { display: flex; flex-direction: column; gap: 16px; }
.team-member .photo-card { margin: 0; }

.team-member-bio { padding: 4px 4px 0; }
.team-member-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-stretch: 125%;
  font-size: 1.35rem;
  line-height: 1.15;
  color: var(--navy);
  margin: 0 0 2px;
}
.team-member-role {
  display: block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}
.team-member-bio p {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
}

/* ---------- Time (fotos de equipe técnica + administrativa) ---------- */
.team-photos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: var(--space-6) auto 0;
  max-width: 880px;            /* fotos um pouco menores — não ocupam a largura toda */
}
.team-photo {
  margin: 0;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ice);
  box-shadow: 0 18px 40px -20px rgba(33, 31, 67, 0.25);
}
.team-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  transition: transform 600ms var(--ease-smooth);
}
.team-photo:hover img { transform: scale(1.04); }
/* ---------- Nosso time: foto à esquerda + texto à direita ---------- */
.time-grid {
  display: grid;
  grid-template-columns: minmax(0, 600px) 1fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
  margin-top: var(--space-6);
}
.time-text > .eyebrow,
.people-text > .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blue);
}
.time-text > .eyebrow .eyebrow-mark,
.people-text > .eyebrow .eyebrow-mark {
  width: 22px;
  height: 4px;
  background: var(--blue);
  border-radius: 999px;
  display: inline-block;
}
.time-text > .eyebrow { margin-bottom: 16px; }
.time-text > h2 { margin: 0 0 18px; }
.time-text > .lead { margin: 0; max-width: 38ch; }
@media (max-width: 880px) {
  /* Empilhado: texto primeiro, foto depois (mesmo ritmo das outras seções) */
  .time-grid { grid-template-columns: 1fr; gap: var(--space-5); }
  .time-grid .team-photo-solo { order: 2; }
  .time-grid .time-text { order: 1; }
}
.team-photo figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 18px 22px 16px;
  background: linear-gradient(180deg, rgba(33, 31, 67, 0) 0%, rgba(33, 31, 67, 0.78) 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.team-photo-label {
  font-family: var(--font-display);
  font-weight: 500;
  font-stretch: 125%;
  font-size: 1.15rem;
  line-height: 1.1;
}
.team-photo-desc {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.82);
}
@media (max-width: 720px) {
  .team-photos-grid { grid-template-columns: 1fr; gap: 20px; }
}

/* ---------- Investimento em pessoas (MasterTec) ---------- */
.section-people .people-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--space-7);
  align-items: center;
}
.people-text > .eyebrow { margin-bottom: 16px; }
.people-text > h2 { margin: 0 0 24px; }
.people-text > p {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 24px 0 0;
}

/* ---------- História: foto à esquerda, texto à direita (zigue-zague c/ MasterTec) ---------- */
.section-hist .hist-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;   /* foto | texto (texto um pouco maior) */
  gap: var(--space-7);
  align-items: center;
}
.hist-text > h2 { margin: 0 0 24px; }
.hist-text > p {
  font-family: var(--font-body);
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0 0 18px;
}
.hist-text > p:last-child { margin-bottom: 0; }

.section-hist .hist-photo {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--navy);
  box-shadow: 0 24px 60px -25px rgba(33, 31, 67, 0.32);
}
.section-hist .hist-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1290 / 978;   /* proporção real da foto — equipe inteira, sem cortar */
  object-fit: cover;
}

@media (max-width: 880px) {
  .section-hist .hist-grid { grid-template-columns: 1fr; gap: var(--space-5); }
  .section-hist .hist-photo { order: -1; }   /* foto vai pro topo no mobile */
}

/* Stat editorial — sem caixa. Número grande + label uppercase abaixo,
   separado por linha cyan fina. Mais magazine, menos "metric card". */
.people-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin-top: var(--space-5);
  padding-top: var(--space-4);
  border-top: 2px solid var(--blue);
  max-width: 360px;
}
.people-stat-value {
  font-family: var(--font-display);
  font-weight: 500;
  font-stretch: 125%;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1;
  color: var(--navy);
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.people-stat-label {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  line-height: 1.4;
}

/* Dupla de reels do MasterTec — dois "celulares" idênticos lado a lado,
   simétricos (mesma largura, mesma altura 9/16). */
.people-media {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 20px);
  width: min(100%, 580px);
  justify-self: center;
}
.people-reel { margin: 0; min-width: 0; position: relative; }
.people-reel video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-lg);
  background: var(--navy);
  object-fit: cover;
  box-shadow: 0 24px 60px -25px rgba(33, 31, 67, 0.32);
}
.people-reel figcaption {
  padding: 10px 4px 0;
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--ink-soft);
  text-align: center;
}
/* Pill "Ativar som": aparece quando o navegador bloqueou autoplay com áudio
   e o reel está tocando mudo — um toque devolve o som (criado pelo JS).
   No CENTRO do vídeo, azul da marca + pulso: impossível não ver. */
.reel-sound-btn {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.4);
  z-index: 3;
  white-space: nowrap;
  animation: sound-pulse 1.8s ease-in-out infinite;
}
.reel-sound-btn:hover { background: color-mix(in oklab, var(--blue) 85%, #000); }
@keyframes sound-pulse {
  0%, 100% { box-shadow: 0 10px 26px rgba(0, 0, 0, 0.4), 0 0 0 0 rgba(0, 130, 175, 0.55); }
  50%      { box-shadow: 0 10px 26px rgba(0, 0, 0, 0.4), 0 0 0 14px rgba(0, 130, 175, 0); }
}
@media (prefers-reduced-motion: reduce) { .reel-sound-btn { animation: none; } }

.people-photo {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ice);
  box-shadow: 0 24px 60px -25px rgba(33, 31, 67, 0.32);
}
.people-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}
.people-photo figcaption {
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--ink-soft);
  background: #fff;
  border-top: 1px solid var(--line);
  text-align: center;
}

@media (max-width: 880px) {
  .section-people .people-grid { grid-template-columns: 1fr; gap: var(--space-5); }
  /* No mobile o TÍTULO vem antes da foto. A seção anterior ("Nosso time") já
     termina em fotos — se a foto do MasterTec subisse pro topo, ficava
     "foto, foto, foto" empilhada. Ordem natural do DOM: texto → foto. */
  .people-text  { order: 0; }
  .people-photo { order: 1; }
}
@media (max-width: 480px) {
  .people-stat { flex-direction: column; align-items: flex-start; gap: 6px; padding: 16px 18px; }
}

/* ---------- Pilares ---------- */

.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.pillar {
  position: relative;
  padding: 32px 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(33,31,67,0.04);
  overflow: hidden;
  transition: background .35s var(--easing), border-color .35s var(--easing),
              transform .35s var(--easing), box-shadow .35s var(--easing);
}
.pillar::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--easing);
}
.pillar:hover {
  border-color: var(--blue);
  transform: translateY(-6px);
  box-shadow: 0 20px 44px rgba(33,31,67,0.13);
}
.pillar:hover::before { transform: scaleX(1); }

/* Ícone do card (badge) */
.pillar-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--ice);
  color: var(--blue);
  margin-bottom: 22px;
  transition: background .35s var(--easing), color .35s var(--easing);
}
.pillar-icon svg { width: 24px; height: 24px; display: block; }
.pillar:hover .pillar-icon { background: var(--blue); color: #fff; }

.section-navy .pillar {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.15);
  box-shadow: none;
}
.section-navy .pillar:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.35);
  box-shadow: 0 20px 44px rgba(0,0,0,0.28);
}
.section-navy .pillar-icon { background: rgba(255,255,255,0.1); color: var(--blue-light); }
.section-navy .pillar:hover .pillar-icon { background: var(--blue-light); color: var(--navy); }
.pillar .top {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 22px;
}
.section-navy .pillar .top { color: rgba(255,255,255,0.7); }
.pillar h3 {
  font-size: 1.35rem;
  font-weight: 500;
  font-stretch: 125%;
  margin-bottom: 12px;
}
.pillar p {
  color: var(--ink-soft);
  font-size: 0.97rem;
  line-height: 1.6;
}
.section-navy .pillar p { color: rgba(255,255,255,0.82); }

/* Pillars — variantes de coluna (3 = Norte/Valores/cultura; 2 = Compromissos) */
.pillars--3 { grid-template-columns: repeat(3, 1fr); }
.pillars--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1024px) {
  .pillars--3, .pillars--2 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .pillars--3, .pillars--2 { grid-template-columns: 1fr; }
}

/* Mantra do valor — citação curta sob o título */
.pillar-mantra { font-style: italic; color: var(--blue); }
.section-navy .pillar-mantra { color: var(--blue-light); }

/* ════════════════════════════════════════════════════════════════════
   .section-compromissos — "Nossos compromissos" repaginada (clean-tech):
   fundo luminoso + cards de vidro com glow + badges de ícone em gradiente
   + cascata sutil dos itens. Usa só tokens existentes (glass, glow, elev).
   ════════════════════════════════════════════════════════════════════ */
.section-compromissos {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  /* Topo = --ice (emenda com a seção ice acima); base = branco (emenda com o
     degradê da seção navy abaixo, que parte do branco). Sem linha/degrau. */
  background:
    radial-gradient(110% 60% at 100% 4%, rgba(108, 198, 229, 0.16) 0%, transparent 55%),
    linear-gradient(180deg, var(--ice) 0%, #fff 78%);
  /* O topo REAL desta seção é --ice (igual à seção ice acima), não branco.
     Declarar isso evita que o fade canônico da harmonia (que assume --this-bg
     branco) puxe a emenda pro branco e depois "salte" de volta pro gelo. */
  --this-bg: var(--ice);
}
/* A seção já pinta o próprio degradê gelo→branco do topo à base, e o topo
   (gelo) casa exatamente com a seção ice anterior. O strip ::before da harmonia
   é redundante aqui e criava uma faixa branca seguida de degrau — desligar. */
.section-ice + .section-compromissos::before { display: none; }
/* Cards de vidro com presença — flutuam sobre o fundo tonal */
.section-compromissos .pillar {
  padding: clamp(28px, 3vw, 40px);
  background: linear-gradient(165deg in oklab,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(255, 255, 255, 0.74) 100%);
  -webkit-backdrop-filter: var(--glass-blur);
          backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    var(--elev-2);
}
.section-compromissos .pillar:hover {
  border-color: color-mix(in oklab, var(--blue) 32%, transparent);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    var(--elev-3),
    var(--glow-cyan);
}
/* Badge do ícone em gradiente navy->azul, ícone branco — igual nos 2 cards */
.section-compromissos .pillar-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background: linear-gradient(140deg, var(--navy) 0%, var(--blue) 100%);
  color: #fff;
  box-shadow: var(--glow-blue), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.section-compromissos .pillar:hover .pillar-icon {
  background: linear-gradient(140deg, var(--navy) 0%, var(--blue) 100%);
  color: #fff;
}
/* Card de Sustentabilidade — acento VERDE (cor de sustentabilidade pedida pela
   cliente; fora da paleta core do BRAND.md). Base navy mantida no gradiente. */
.section-compromissos .pillar--green .pillar-icon,
.section-compromissos .pillar--green:hover .pillar-icon {
  background: linear-gradient(140deg, var(--navy) 0%, #2ea35c 100%);
}
.section-compromissos .pillar--green .service-points li > span[aria-hidden="true"] {
  color: #2ea35c;
}
.section-compromissos .pillar h3 { margin-bottom: 16px; }

/* Faixa de selos — os trunfos (NR-12, ISO 9001, 28 anos, CAPS) em destaque.
   Focal point da seção, acima dos cards de apoio. */
.section-compromissos .cred-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.5vw, 20px);
  margin-bottom: clamp(28px, 3.5vw, 44px);
}
.section-compromissos .cred {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  text-align: left;
  font: inherit;
  color: var(--ink);
  cursor: pointer;
  padding: clamp(20px, 2.2vw, 28px);
  background: linear-gradient(165deg in oklab,
    rgba(255, 255, 255, 0.96) 0%,
    rgba(255, 255, 255, 0.78) 100%);
  -webkit-backdrop-filter: var(--glass-blur);
          backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-lg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), var(--elev-2);
  transition: transform var(--dur-normal) var(--ease-smooth),
              box-shadow var(--dur-normal) var(--ease-smooth);
}
/* "+" discreto no canto = sinaliza que abre mais informações */
.section-compromissos .cred::after {
  content: "+";
  position: absolute;
  top: clamp(14px, 1.6vw, 20px);
  right: clamp(16px, 1.8vw, 22px);
  font-family: var(--font-body);
  font-size: 1.1rem;
  line-height: 1;
  color: var(--muted);
  transition: color var(--dur-fast) var(--ease-snap);
}
.section-compromissos .cred:hover {
  transform: translateY(-4px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), var(--elev-3), var(--glow-cyan);
}
.section-compromissos .cred:hover::after { color: var(--blue); }
.section-compromissos .cred:focus-visible {
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), var(--elev-3), var(--focus-ring);
}
.section-compromissos .cred-ic {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  display: inline-grid;
  place-items: center;
  background: linear-gradient(140deg, var(--navy) 0%, var(--blue) 100%);
  color: #fff;
  box-shadow: var(--glow-blue), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}
.section-compromissos .cred-ic svg { width: 24px; height: 24px; display: block; }
.section-compromissos .cred-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-stretch: 125%;
  font-size: clamp(1.25rem, 1.7vw, 1.55rem);
  line-height: 1.05;
  color: var(--navy);
}
.section-compromissos .cred-sub {
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--ink-soft);
}
@media (max-width: 920px) {
  .section-compromissos .cred-strip { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .section-compromissos .cred-strip { grid-template-columns: 1fr; }
}
/* Cascata sutil dos itens quando o card entra na tela (.pillar.in) */
.section-compromissos .pillar .service-points li {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .5s var(--ease-smooth), transform .5s var(--ease-smooth);
}
.section-compromissos .pillar.in .service-points li { opacity: 1; transform: none; }
.section-compromissos .pillar.in .service-points li:nth-child(1) { transition-delay: .10s; }
.section-compromissos .pillar.in .service-points li:nth-child(2) { transition-delay: .17s; }
.section-compromissos .pillar.in .service-points li:nth-child(3) { transition-delay: .24s; }
.section-compromissos .pillar.in .service-points li:nth-child(4) { transition-delay: .31s; }
.section-compromissos .pillar.in .service-points li:nth-child(5) { transition-delay: .38s; }
.section-compromissos .pillar.in .service-points li:nth-child(6) { transition-delay: .45s; }
@media (prefers-reduced-motion: reduce) {
  .section-compromissos .pillar .service-points li { opacity: 1; transform: none; transition: none; }
}

/* Lista de compromissos dentro do card */
.pillar > .service-points { margin-top: 4px; }
.pillar > .service-points:last-child { margin-bottom: 0; }

/* ---------- Timeline (trajetória) — alternada ---------- */
.timeline {
  list-style: none;
  margin: 0 auto;
  padding: 4px 0;
  max-width: 900px;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--line);
  transform: translateX(-50%);
}
.timeline-item {
  position: relative;
  width: 50%;
  box-sizing: border-box;
  padding: 0 52px 38px 0;
  text-align: right;
}
.timeline-item:nth-child(even) {
  margin-left: 50%;
  padding: 0 0 38px 52px;
  text-align: left;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-year {
  position: absolute;
  top: -2px;
  right: -31px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 40px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--navy);
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 500;
  font-size: 0.95rem;
  z-index: 1;
  box-shadow: 0 2px 8px rgba(33,31,67,0.07);
}
.timeline-item:nth-child(even) .timeline-year { right: auto; left: -31px; }
.timeline-body { padding-top: 4px; }
.timeline-body p {
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}
.timeline-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 6px;
}
.timeline-item--future .timeline-year {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
@media (max-width: 760px) {
  .timeline { max-width: 100%; }
  .timeline::before { left: 31px; transform: none; }
  .timeline-item,
  .timeline-item:nth-child(even) {
    width: 100%;
    margin-left: 0;
    text-align: left;
    padding: 0 0 26px 78px;
  }
  .timeline-year,
  .timeline-item:nth-child(even) .timeline-year {
    left: 0;
    right: auto;
  }
}

/* ---------- Media frame (imagem com proporção natural) ---------- */
.media-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(33,31,67,0.45);
}
.media-frame img { width: 100%; height: auto; display: block; }

/* ---------- Valores (lista premium em 2 colunas) ---------- */
/* Valores TECBAS divididos em 2 grupos: TEC (T,E,C) e BAS (B,A,S) — assim cada
   coluna soletra metade do acrônimo. */
.values-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 64px;
  max-width: 1040px;
  margin: 0 auto;
}
.value-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: start;
  padding: 26px 0;
  border-bottom: 1px solid rgba(255,255,255,0.14);
}
.values-group .value-row:last-child { border-bottom: none; }
.value-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.08);
  color: var(--blue-light);
  flex-shrink: 0;
}
.value-icon svg { width: 22px; height: 22px; display: block; }
.value-name {
  font-size: 1.18rem;
  font-weight: 500;
  font-stretch: 125%;
  margin: 3px 0 7px;
}
.value-mantra {
  font-style: italic;
  color: var(--blue-light);
  font-size: 1rem;
  line-height: 1.5;
  margin: 0;
}
.value-letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.08);
  color: var(--blue-light);
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1;
  flex-shrink: 0;
}
.value-desc {
  color: rgba(255,255,255,0.82);
  font-size: 0.98rem;
  line-height: 1.6;
  margin: 0;
}
@media (max-width: 760px) {
  .values-split { grid-template-columns: 1fr; column-gap: 0; row-gap: 8px; }
  .value-row { padding: 22px 0; }
}

/* ---------- Galeria em movimento (carrossel infinito) ---------- */
.photo-marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  /* rolavel tambem no desktop: e o que as setas movem (a animacao continua
     por cima, via transform) */
  overflow-x: auto;
  scrollbar-width: none;
}
.photo-marquee::-webkit-scrollbar { display: none; }
.photo-marquee-track {
  display: flex;
  width: max-content;
  animation: photo-marquee 25s linear infinite;
  will-change: transform;
}
.photo-marquee--rev .photo-marquee-track { animation-direction: reverse; }
.photo-marquee:hover .photo-marquee-track { animation-play-state: paused; }
/* pausa por classe: o hover no botao de seta nao conta como hover na faixa */
.photo-marquee.is-paused .photo-marquee-track { animation-play-state: paused; }
.marquee-item {
  flex: 0 0 auto;
  margin: 0 18px 0 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  /* placeholder enquanto a foto carrega: como os <img> têm width/height, o item
     já reserva o tamanho certo, e este fundo evita o "quadrado branco" piscando. */
  background: rgba(33, 31, 67, 0.06);
}
.marquee-item img {
  height: clamp(190px, 42vw, 290px);
  width: auto;
  display: block;
  object-fit: cover;
  transition: transform .4s var(--easing), filter .4s var(--easing);
}
.marquee-item:hover img { transform: scale(1.05); filter: brightness(1.08); }
.section-navy .marquee-item { box-shadow: 0 14px 30px rgba(0,0,0,0.25); }
/* Certificados de imersões: GRADE ESTÁTICA (não-carrossel) pra não empilhar
   dois carrosséis. Os 4 aparecem juntos; clicar abre o certificado inteiro. */
.cert-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 1.4vw, 18px);
  margin: clamp(26px, 3.5vw, 40px) 0 clamp(28px, 4vw, 46px);
}
.cert-strip a {
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(33, 31, 67, 0.10);
  box-shadow: 0 12px 30px -24px rgba(33, 31, 67, 0.55);
  transition: transform var(--dur-fast) var(--ease-snap), box-shadow var(--dur-fast) var(--ease-snap);
}
.cert-strip a:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -22px rgba(33, 31, 67, 0.5); }
.cert-strip a:focus-visible { outline: var(--focus-ring); outline-offset: 2px; }
.cert-strip img { display: block; width: 100%; height: auto; }
@media (max-width: 720px) { .cert-strip { grid-template-columns: repeat(2, 1fr); } }

/* Lightbox: popup do certificado CENTRALIZADO na tela (dialog full-screen que
   centraliza via flex). Clicar na imagem dá zoom (tamanho real, com rolagem). */
.cert-lightbox {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  margin: 0;
  padding: clamp(16px, 4vw, 40px);
  border: none;
  background: transparent;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
.cert-lightbox[open] {
  display: flex;
  align-items: safe center;
  justify-content: safe center;
}
.cert-lightbox::backdrop {
  background: rgba(15, 18, 40, 0.82);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.cert-lightbox-img {
  flex: 0 0 auto;
  max-width: min(1000px, 94vw);
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.6);
  cursor: zoom-in;
  animation: cert-lb-in .28s var(--ease-smooth);
}
@keyframes cert-lb-in { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: scale(1); } }
/* Zoom ao clicar: amplia pro tamanho cheio; o dialog rola pra ver o resto. */
.cert-lightbox.is-zoomed .cert-lightbox-img {
  max-width: none;
  max-height: none;
  width: min(1300px, 200vw);
  cursor: zoom-out;
  animation: none;
}
.cert-lightbox-close {
  position: fixed;
  top: clamp(12px, 3vw, 20px);
  right: clamp(12px, 3vw, 20px);
  width: 44px; height: 44px;
  border: none;
  border-radius: 999px;
  background: rgba(15, 18, 40, 0.82);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 2;
  transition: background var(--dur-fast) var(--ease-snap), transform var(--dur-fast) var(--ease-snap);
}
.cert-lightbox-close:hover { background: rgba(15, 18, 40, 0.96); transform: rotate(90deg); }
.cert-lightbox-close:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@keyframes photo-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .photo-marquee { overflow-x: auto; }
  .photo-marquee-track { animation: none; }
}

/* ---------- CTA band (faixa de chamada) ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  text-align: center;
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: clamp(48px, 7vw, 84px) clamp(24px, 5vw, 56px);
  box-shadow: 0 30px 60px -30px rgba(33,31,67,0.55);
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/grafismo-tb-outline-white.png") no-repeat right -30px center;
  background-size: auto 170%;
  opacity: 0.10;
  pointer-events: none;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 16px;
}
.cta-band h2 {
  color: #fff;
  font-size: clamp(2rem, 4.6vw, 3rem);
  line-height: 1.05;
  margin: 0 auto 14px;
  max-width: 18ch;
}
.cta-band p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  line-height: 1.55;
  max-width: 50ch;
  margin: 0 auto 34px;
}
.cta-band .btn { padding: 18px 40px; font-size: 1rem; }

/* ---------- Citações da diretoria ---------- */
.dq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.dq-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 32px 28px;
  box-shadow: 0 1px 2px rgba(33,31,67,0.04);
}
.dq-card::before {
  content: "\201C";
  position: absolute;
  top: 6px;
  left: 24px;
  font-family: var(--font-display);
  font-stretch: 125%;
  font-size: 4.5rem;
  line-height: 1;
  color: var(--ice);
}
.dq-quote {
  position: relative;
  z-index: 1;
  margin: 0 0 24px;
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--ink);
  font-style: italic;
}
.dq-author { display: flex; align-items: center; gap: 14px; }
.dq-author img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.dq-name {
  display: block;
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 500;
  font-size: 1.02rem;
}
.dq-role { display: block; font-size: 0.85rem; color: var(--muted); }
@media (max-width: 760px) { .dq-grid { grid-template-columns: 1fr; } }

/* ---------- Carta da diretora ---------- */
.carta-p {
  margin-top: 18px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 58ch;
}
.carta-sign { margin-top: 26px; }
.carta-sign-name {
  display: block;
  font-family: var(--font-display);
  font-stretch: 125%;
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--ink);
}
.carta-sign-role { display: block; font-size: 0.88rem; color: var(--muted); margin-top: 2px; }

/* ---------- Marquee ---------- */

.marquee {
  background: var(--navy);
  color: #fff;
  padding: 18px 0;
  overflow: hidden;
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex;
  gap: 56px;
  animation: marquee 35s linear infinite;
  font-family: var(--font-display);
  font-weight: 500;
  font-stretch: 125%;
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  letter-spacing: 0.04em;
}
.marquee-track .sep {
  display: inline-block;
  color: var(--blue);
  margin: 0 0;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- Page hero interno ---------- */

/* Page-hero — 4 camadas de bg empilhadas (top → bottom):
   1. Tint ice horizontal: lado esquerdo BEM ice (texto navy lê), fade pra transparente
      à direita → TB neon da foto continua vibrante. Funciona em desktop + mobile.
   2. Bottom fade ice: harmonia §2.2.0 — pixel bottom = ice = --prev-bg da próxima seção.
   3. Foto fotocapas.png: ancorada ABAIXO do header (TB nunca atrás do menu).
   4. Fallback ice. */
.page-hero {
  position: relative;
  overflow: hidden;
  color: var(--navy);
  background-color: var(--ice);
  background-image:
    linear-gradient(95deg in oklab,
      var(--ice) 0%,
      var(--ice) 40%,
      rgba(224, 225, 233, 0.80) 58%,
      rgba(224, 225, 233, 0.30) 80%,
      transparent 100%),
    linear-gradient(180deg, transparent 78%, var(--ice) 100%),
    url("../img/fotocapas.jpg");
  background-size:
    100% 100%,
    100% 100%,
    auto calc(100% - var(--header-h));   /* preserva aspect natural — não deforma TB */
  background-position:
    center,
    center,
    calc(100% + var(--parallax-x, 0px)) calc(100% + var(--parallax-y, 0px));
  background-repeat: no-repeat;
  min-height: clamp(300px, 38vh, 400px);
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-h) + var(--space-4));
  padding-bottom: var(--space-5);
  /* Transição suave do parallax — JS atualiza --parallax-x/y no mousemove */
  transition: background-position 280ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.page-hero > .container {
  width: 100%;
  position: relative;
  z-index: 2;
}

/* Pseudo-elementos antigos desligados — foto faz tudo agora. */
.page-hero::after { display: none; }
.page-hero::before { display: none; }

/* Puxa a primeira seção pra cima logo após o hero das internas — sem a reserva
   extra de fade no topo (a transição hero→seção é suave/clara). Pega sobre,
   contato e trabalhe-conosco (têm .section adjacente). Reversível. */
.page-hero + .section { padding-top: var(--space-5); }

@media (max-width: 720px) {
  .page-hero {
    min-height: clamp(300px, 46vh, 400px);
    /* No mobile o texto ocupa quase toda a largura → o scrim horizontal do desktop
       deixava o grafismo TB brilhante cruzar o texto (ilegível). Trocamos por um
       scrim VERTICAL em "sanduíche": ice no topo (texto 100% legível) → revela o TB
       no meio → VOLTA pra ice no fim, pra capa fundir suave na próxima seção (sem
       corte seco no rodapé da capa). */
    background-image:
      linear-gradient(180deg in oklab,
        var(--ice) 0%,
        var(--ice) 46%,
        rgba(224, 225, 233, 0.55) 60%,
        rgba(224, 225, 233, 0.10) 74%,
        rgba(224, 225, 233, 0.45) 90%,
        var(--ice) 100%),
      url("../img/fotocapas.jpg");
    background-size:
      100% 100%,
      auto 56%;
    background-position:
      center,
      center bottom;
    padding-top: calc(var(--header-h) + var(--space-3));
  }
}

/* (Fade do bottom da page-hero removido — quem cuida é o sistema da skill
   harmonia, via o ::before da próxima seção, evitando fade duplicado.) */

.page-hero > .container { position: relative; z-index: 2; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero .idx { margin-bottom: 40px; }
.page-hero h1 {
  max-width: 22ch;
  margin-top: 22px;
  margin-bottom: 24px;
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  line-height: 1.08;
  color: var(--navy);
}
.page-hero .lead {
  margin-top: 0;
  max-width: 56ch;
  font-size: clamp(0.98rem, 1.1vw, 1.1rem);
  /* Era --ink-soft (navy a 72%): cinza demais sobre o grafismo TB do fundo.
     --ink (navy cheio) sobe o contraste e a hierarquia se mantém pelo tamanho/peso
     do título. O halo claro (cor --ice) descola o texto do grafismo sem caixa/scrim,
     então a capa de fundo continua intacta. */
  color: var(--ink);
  text-shadow: 0 0 5px rgba(224, 225, 233, 0.85);
}
.page-hero .bracket {
  color: var(--blue);
}
.page-hero .lead a,
.page-hero h1 a { color: var(--blue); }

/* Eyebrow premium no hero das internas — "pílula" clara com bolinha azul,
   espelhando a etiqueta da home (.hero-eyebrow) adaptada pro fundo claro. */
.page-hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--navy);
  padding: 8px 16px;
  border: 1px solid rgba(33, 31, 67, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--elev-1);
}
.page-hero .eyebrow .eyebrow-mark {
  flex: none;
  width: 7px;
  height: 7px;
  margin: 0;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 10px rgba(0, 130, 175, 0.7);
}

/* ---------- Contato ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}

.contact-form { display: grid; gap: 24px; }
.contact-form .row { display: grid; gap: 24px; grid-template-columns: 1fr 1fr; }

.field { display: flex; flex-direction: column; }
.field label {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 8px;
}
.field label.required::after { content: " *"; color: var(--blue); }

.field input, .field textarea, .field select {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--navy);
  outline: none;
  border-radius: var(--radius-sm);
  transition: border-color .2s, box-shadow .2s;
  box-sizing: border-box;             /* fix mobile overflow — padding+border dentro do width 100% */
  min-width: 0;                       /* permite encolher dentro do flex/grid pai */
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 130, 175, 0.15);
}
.field textarea { resize: vertical; min-height: 110px; }
.quote-form .field textarea { min-height: 70px; }
.field .err {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  color: #B91C1C;
  margin-top: 8px;
  display: none;
}
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: #B91C1C; }
.field.invalid .err { display: block; }

/* Aviso "anexe a foto no WhatsApp" (foto vai direto no chat, sem upload) */
.form-photo-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--ink-soft);
  background: rgba(0, 130, 175, 0.06);
  border: 1px solid rgba(0, 130, 175, 0.18);
  border-radius: var(--radius-sm);
}
.form-photo-note-ic {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--blue);
  margin-top: 1px;
}

/* ─── Bloco técnico do form (fieldset + radios) ─── */
.field-group {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px 20px 22px;
  margin: 0;
  display: grid;
  gap: 20px;
  background: rgba(33, 31, 67, 0.015);
}
.field-group legend {
  padding: 0 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}

/* "Dados da máquina" colapsável (na home, pra enxugar o form) */
.machine-toggle > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}
.machine-toggle > summary::-webkit-details-marker { display: none; }
.machine-toggle > summary::marker { content: ""; }
.machine-summary-opt {
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--muted);
  margin-left: 6px;
}
.machine-summary-caret {
  width: 9px; height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform .2s var(--ease-snap);
  flex-shrink: 0;
  margin-right: 2px;
}
.machine-toggle[open] > summary .machine-summary-caret { transform: rotate(-135deg); }

/* Radios como pills inline (parado / 24h / semana / programar) */
/* Grade 2×2 uniforme — em vez do wrap irregular (1+2+1) que ficava grande/feio. */
.radio-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 6px;
}
/* .radio-group .radio-pill (0,2,0) precisa vencer .field label (0,1,1),
   que injeta uppercase/bold/tracking/0.78rem na pílula (ela É um <label>). */
.radio-group .radio-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.15;
  color: var(--ink-soft);
  margin-bottom: 0;
  transition: background var(--dur-fast) var(--ease-snap),
              border-color var(--dur-fast) var(--ease-snap),
              color var(--dur-fast) var(--ease-snap);
}
.radio-pill:hover { border-color: var(--navy); color: var(--navy); }
.radio-pill input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  margin: 0;
  position: relative;
  transition: border-color var(--dur-fast), background var(--dur-fast);
  flex-shrink: 0;
}
.radio-pill input[type="radio"]:checked {
  border-color: var(--blue);
  background: var(--blue);
  box-shadow: inset 0 0 0 2.5px #fff;
}
.radio-pill:has(input[type="radio"]:checked) {
  background: rgba(0, 130, 175, 0.08);
  border-color: var(--blue);
  color: var(--navy);
}
@media (max-width: 380px) {
  .radio-group { grid-template-columns: 1fr; }
}

/* Submit + SLA */
.form-submit { display: grid; gap: 12px; }
.form-sla {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.5;
}
.form-sla strong { color: var(--navy); }
.form-sla-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22C55E;
  flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
  animation: pulse-dot 2s ease-out infinite;
}
@keyframes pulse-dot {
  0%   { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6); }
  70%  { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .form-sla-dot { animation: none; }
}

/* Liquid glass premium — multi-camada com tint cyan, highlights amplificados
   e luminância alta. Inspiração: Apple visionOS / macOS Sequoia. */
.contact-info {
  position: relative;
  display: grid;
  gap: 0;
  padding: 40px 36px;
  background:
    linear-gradient(135deg in oklab,
      rgba(255, 255, 255, 0.95) 0%,
      rgba(255, 255, 255, 0.65) 45%,
      rgba(108, 198, 229, 0.20) 100%);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(36px) saturate(200%);
  -webkit-backdrop-filter: blur(36px) saturate(200%);
  box-shadow:
    inset 0 1.5px 0 rgba(255, 255, 255, 1),
    inset 0 -1px 0 rgba(255, 255, 255, 0.35),
    inset 1px 0 0 rgba(255, 255, 255, 0.5),
    0 0 0 1px rgba(33, 31, 67, 0.04),
    0 40px 100px -40px rgba(33, 31, 67, 0.32),
    0 6px 20px -10px rgba(33, 31, 67, 0.12);
  overflow: hidden;
}
.contact-info::before {
  content: "";
  position: absolute;
  top: -10%; left: -10%;
  width: 70%; height: 60%;
  background: radial-gradient(
    ellipse at top left,
    rgba(255, 255, 255, 0.65) 0%,
    transparent 65%
  );
  pointer-events: none;
  z-index: 0;
}
.contact-info .item {
  position: relative;
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(33, 31, 67, 0.06);
  align-items: baseline;
  z-index: 1;
}
.contact-info .item:last-child { border-bottom: none; }
.contact-info .item .lbl {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  padding-top: 2px;
}
.contact-info .item .val { font-size: 1.15rem; font-weight: 500; color: var(--navy); line-height: 1.5; }
.contact-info .item .val a:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Footer ---------- */

.footer {
  background-color: var(--navy);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.footer > * { position: relative; z-index: 1; }

/* Adjacência footer — ATENÇÃO: o footer é irmão de <main> (não da última
   .section), então mirar `.section-navy + .footer` NÃO funciona. As regras
   precisam usar `main > :last-child` e `main + .footer`. */

/* Última seção (de QUALQUER cor) antes do footer: reduz o padding-bottom pra
   o rodapé encostar sem vácuo. Antes a regra só pegava seções navy → páginas
   que terminavam em ice (serviços, trabalhe-conosco) ficavam com o rodapé
   "grande pra baixo". Agora vale pra todas as páginas, uniforme. */
main > .section:last-child {
  padding-bottom: clamp(36px, 4.5vw, 56px);
}
/* Footer-cta encosta perto da última seção em todas as páginas (uniforme). */
.footer .footer-cta {
  padding-top: clamp(12px, 1.5vw, 20px);
}

/* Bloco de CTA no topo do footer */
.footer-cta {
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  padding: clamp(14px, 1.8vw, 24px) 0;
  position: relative;
  z-index: 1;
}
.footer-cta-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: center;
}
.footer-cta-text h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-stretch: 125%;
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  line-height: 1.1;
  color: #fff;
  margin: 0 0 8px;
  max-width: 22ch;
}
.footer-cta-text p {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}
.footer-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

/* Grid principal — paddings reduzidos pra rodapé não ficar gigante */
.footer-grid {
  display: grid;
  grid-template-columns: 2.4fr 1fr 1fr 1.6fr;
  gap: clamp(24px, 3vw, 48px);
  padding: clamp(20px, 2.5vw, 36px) 0 clamp(16px, 2vw, 24px);
  position: relative;
  z-index: 1;
}

.footer-brand .footer-logo img {
  height: 40px;
  width: auto;
  display: block;
}
.footer-tag {
  color: rgba(255,255,255,0.78);
  margin-top: 14px;
  font-size: 0.88rem;
  max-width: 38ch;
  line-height: 1.55;
}
.footer-since {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 18px 0 0;
}
/* Instagram — pílula com glifo IG (cyan) + @ */
.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 16px;
  padding: 8px 15px 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-decoration: none;
  transition: border-color var(--dur-normal) var(--ease-smooth),
              background var(--dur-normal) var(--ease-smooth),
              transform var(--dur-normal) var(--ease-smooth);
}
.footer-social svg { width: 18px; height: 18px; color: var(--blue); flex-shrink: 0; }
.footer-social:hover {
  border-color: var(--blue);
  background: rgba(0, 130, 175, 0.12);
  transform: translateY(-1px);
}
.footer-social:focus-visible { outline: none; box-shadow: var(--focus-ring-light); }

.footer-col h5 {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}
.footer-col ul {
  list-style: none;
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
}
.footer-col ul a,
.footer-col ul li {
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.45;
  transition: color .2s, transform .2s;
}
.footer-col ul a {
  display: inline-block;
}
.footer-col ul a:hover {
  color: var(--blue);
  transform: translateX(3px);
}

/* Coluna de contato — formato label + valor */
.footer-contact ul { gap: 10px; }
.footer-contact ul li {
  display: grid;
  gap: 2px;
}
.footer-contact .lbl {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}

/* Bottom bar */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.55);
  position: relative;
  z-index: 1;
}
.footer-made-row {
  position: relative;
  z-index: 1;
  padding: 10px 0 22px;
}
.footer-made {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  opacity: 0.55;
  transition: opacity 0.3s ease;
}
.footer-made:hover { opacity: 1; }
.footer-made-label {
  font-family: var(--font-body);
  font-size: 8px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.5);
}
.footer-made-logo {
  height: 25px;
  width: auto;
  transition: transform 0.3s ease;
}
.footer-made:hover .footer-made-logo { transform: rotate(-3deg); }
.footer-bottom-tag {
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}
.footer-bottom-link {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  transition: color .2s, border-color .2s;
}
.footer-bottom-link:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}

/* ─── Páginas de texto longo (Política de Privacidade etc.) ─── */
.legal {
  max-width: 760px;
  font-family: var(--font-body);
  color: var(--ink-soft);
  line-height: 1.7;
}
.legal p { margin: 0 0 18px; }
.legal h2 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy);
  margin: 36px 0 12px;
}
.legal ul { margin: 0 0 18px; padding-left: 22px; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--blue); text-decoration: underline; }
.legal a:hover { color: var(--navy); }
.legal .legal-updated {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 26px;
}

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-cta-inner { grid-template-columns: 1fr; }
  .footer-cta-actions { justify-content: flex-start; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .footer-cta-actions .btn { width: 100%; justify-content: center; }
}

/* ---------- Utilitários ---------- */

.mt-1 { margin-top: 12px; }
.mt-2 { margin-top: 24px; }
.mt-3 { margin-top: 36px; }
.mt-4 { margin-top: 48px; }
.mt-5 { margin-top: 64px; }
.mb-2 { margin-bottom: 24px; }
.mb-3 { margin-bottom: 36px; }
.text-center { text-align: center; }

.actions { display: flex; gap: 12px; flex-wrap: wrap; }

.form-status {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  margin-top: 18px;
  color: var(--muted);
  min-height: 1em;
}
.form-status[data-state="ok"]  { color: var(--blue); }
.form-status[data-state="err"] { color: #B91C1C; }

/* Aspect ratio fixos */
.ar-3-4 { aspect-ratio: 3/4; }
.ar-4-5 { aspect-ratio: 4/5; }
.ar-16-7 { aspect-ratio: 16/7; }

/* Card de retrato com nome+logo já cravado na imagem (diretores)
   Aspect 1:1.09 (matches a foto mais alta) + object-fit: contain garante
   que logo (topo) e nome (base) ficam visíveis na mesma proporção em todas. */
.photo-card-square {
  aspect-ratio: 1 / 1;
  background: var(--navy);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.photo-card-square img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Fotos sem nome cravado: as duas quadradas encaixam exato (sem corte) e a
     mais alta (jose) corta só a base — ancorar no topo mantém o rosto inteiro. */
  object-position: center top;
}

/* Mapa */
.map-frame {
  width: 100%;
  background: var(--navy);
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
}
.map-frame iframe { border: 0; width: 100%; height: 100%; display: block; }

/* Botões de rota abaixo do mapa — abrir no Google Maps / Waze */
.map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: var(--space-4);
}
/* Botões "abrir no app" — fundo branco pra os logos coloridos (Maps/Waze)
   aparecerem com a cor real e destacarem sobre o fundo navy da seção. */
.map-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--navy);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid var(--line-soft);
  box-shadow: var(--elev-2);
  transition: transform var(--dur-normal) var(--ease-smooth),
              box-shadow var(--dur-normal) var(--ease-smooth);
}
.map-btn:hover { transform: translateY(-2px); box-shadow: var(--elev-3); }
.map-btn:focus-visible { box-shadow: var(--elev-2), var(--focus-ring); }
.map-btn img { width: 22px; height: 22px; display: block; flex-shrink: 0; }
@media (max-width: 720px) {
  .map-actions { flex-direction: column; }
  .map-actions .map-btn { width: 100%; justify-content: center; }
}

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  background: var(--blue);
  z-index: 200;
  pointer-events: none;
  transition: width .12s linear;
}

/* Pausa animações decorativas fora da viewport (aplicado via JS / Intersection
   Observer). Sem efeito visual — quando a seção volta à tela a animação retoma. */
.is-anim-paused { animation-play-state: paused !important; }

/* Conteúdo que se move sozinho (marquees, carrosséis com auto-scroll) não pode
   servir de âncora de rolagem — senão o Chrome "compensa" o movimento deles
   ajustando o scroll da página, que parece rolar sozinha. */
.marquee, .marquee-track,
.cases-marquee, .cases-marquee-track,
.testimonials-marquee, .testimonials-marquee-track,
.service-stack-cards {
  overflow-anchor: none;
}

/* Hover suave no logo */
.logo:hover img { animation: logoNudge .6s var(--easing); }
@keyframes logoNudge {
  0%   { transform: translateY(0); }
  40%  { transform: translateY(-3px); }
  100% { transform: translateY(0); }
}

/* ---------- Animações de entrada ---------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s var(--easing), transform .6s var(--easing);
}
[data-reveal].in {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal][data-delay="1"] { transition-delay: .08s; }
[data-reveal][data-delay="2"] { transition-delay: .16s; }
[data-reveal][data-delay="3"] { transition-delay: .24s; }
[data-reveal][data-delay="4"] { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; }
}

[data-count] { font-variant-numeric: tabular-nums; display: inline-block; }

/* ---------- Responsivo ---------- */

@media (max-width: 1024px) {
  :root { --header-h: 70px; }
  .container { padding: 0 28px; }
  .metrics-grid { grid-template-columns: 1fr 1fr; row-gap: 44px; }
  .metric:nth-child(odd) { border-left: 0; padding-left: 0; }
  .pillars { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split, .split-rev, .split-photo, .contact-grid { grid-template-columns: 1fr; }
  /* Canais diretos (WhatsApp/tel/email) ANTES do formulário no empilhado:
     quem tá com máquina parada acha o canal rápido sem rolar o form inteiro. */
  .contact-grid .contact-info { order: -1; }
  .section-head { grid-template-columns: 1fr; }
  .logo img { height: 38px; }
  .footer-logo img { height: 44px; }
}

/* Menu hambúrguer ativa antes — em ≤960px (tablets/laptops pequenos) os 5
   nomes do nav + CTA não cabem horizontalmente e cortam. */
@media (max-width: 1240px) {
  .menu-toggle {
    display: grid;
    place-items: center;
    margin-left: auto;
    order: 99;
  }
  .nav-links {
    position: fixed;
    top: var(--header-h); left: 0; right: 0;
    flex-direction: column;
    background: var(--white);
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--line);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    transform: translateY(-150%);
    transition: transform .35s var(--easing);
    align-items: flex-end;
    text-align: right;
    box-shadow: 0 16px 32px -20px rgba(33, 31, 67, 0.25);
  }
  .nav-links li { width: 100%; text-align: right; }
  .nav-links.open { transform: translateY(0); }
  .nav-links a::after {
    left: auto;
    right: 0;
    transform: scale(0);
    transform-origin: right;
  }
  .nav-links a:hover::after,
  .nav-links a.active::after {
    transform: scale(1);
  }
  /* Desktop CTA + status pill (.nav-cta-group) já escondidos via regra própria.
     Aqui só garantimos que botões fora de .nav-links ficam ocultos no mobile. */
  .nav > .btn { display: none; }
}

/* Espanhol: os rótulos do menu são mais longos ("Quiénes somos", "Trabaja con
   nosotros") e estouram a barra antes do breakpoint padrão. Em ES, o menu colapsa
   pro hambúrguer até ~1366px; PT/EN seguem no breakpoint de 960px. Espelha o bloco
   de colapso acima — manter os dois em sincronia se mexer no menu. */
@media (min-width: 961px) and (max-width: 1366px) {
  html[lang="es"] .menu-toggle { display: grid; place-items: center; margin-left: auto; order: 99; }
  html[lang="es"] .nav-links {
    position: fixed;
    top: var(--header-h); left: 0; right: 0;
    flex-direction: column;
    background: var(--white);
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--line);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    transform: translateY(-150%);
    transition: transform .35s var(--easing);
    align-items: flex-end;
    text-align: right;
    box-shadow: 0 16px 32px -20px rgba(33, 31, 67, 0.25);
  }
  html[lang="es"] .nav-links li { width: 100%; text-align: right; }
  html[lang="es"] .nav-links.open { transform: translateY(0); }
  html[lang="es"] .nav-links a::after { left: auto; right: 0; transform: scale(0); transform-origin: right; }
  html[lang="es"] .nav-links a:hover::after,
  html[lang="es"] .nav-links a.active::after { transform: scale(1); }
  html[lang="es"] .nav > .btn { display: none; }

  html[lang="es"] .lang-switch-desktop,
  html[lang="es"] .lang-box-desktop { display: none; }
  html[lang="es"] .lang-switch-mobile { display: inline-flex; }
  html[lang="es"] .nav-lang-mobile {
    width: 100%; display: flex; justify-content: flex-end;
    padding-bottom: 12px; border-bottom: 1px solid var(--line-soft); margin-bottom: 4px;
  }

  html[lang="es"] .nav-cta-group { display: none !important; }
  html[lang="es"] .nav-status-mobile { display: flex !important; justify-content: flex-end; }
  html[lang="es"] .nav-cta-mobile { display: flex !important; justify-content: flex-end; width: 100%; }
  html[lang="es"] .header-status-mobile { display: inline-flex !important; }
  html[lang="es"] .nav-cta-mobile-btn { width: 100%; justify-content: center; }
  html[lang="es"] .nav-links a.nav-cta-mobile-btn,
  html[lang="es"] .nav-links a.nav-cta-mobile-btn:hover { color: #fff; }
}

@media (max-width: 720px) {
  :root { --header-h: 64px; }
  .container { padding: 0 20px; }
  .logo img { height: 34px; }

  /* Tipografia mobile — conservadora pra não estourar largura */
  h1 { font-size: clamp(1.9rem, 7.5vw, 2.4rem); line-height: 1.08; overflow-wrap: break-word; }
  h2 { font-size: clamp(1.5rem, 5.8vw, 2rem); line-height: 1.15; overflow-wrap: break-word; }
  h3 { font-size: 1.2rem; }
  .lead { font-size: 0.98rem; }
  .section-head h2 { max-width: 100%; }
  .col h2, .pillar h3 { max-width: 100%; }

  /* Seções — padding mobile reduzido */
  .section { padding: 48px 0; }
  .section-head { margin-bottom: 32px; padding-bottom: 20px; }

  /* Page hero — h1 e lead encolhem mais agressivo no mobile pra encaixar
     embaixo do banner sem dominar a tela. idx (eyebrow) também menor. */
  .page-hero h1 {
    font-size: clamp(1.4rem, 6vw, 1.9rem);
    line-height: 1.15;
    margin-bottom: 14px;
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
  }
  .page-hero .lead {
    font-size: 0.95rem;
    line-height: 1.5;
    max-width: 100%;
  }
  .page-hero .idx {
    font-size: 0.68rem;
    margin-bottom: 16px;
  }
  .page-hero .bracket {
    padding-left: 0;
  }

  /* Service rows */
  .service-row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 24px 20px;
  }
  .service-row .num { padding-top: 0; }
  .service-row .desc { font-size: 0.95rem; }
  .service-row .arrow-r { text-align: left; font-size: 1.3rem; }
  .service-row:hover { transform: none; }

  /* Métricas — editorial compacto: 2×2, hairlines, números grandes */
  .metrics-grid { grid-template-columns: 1fr 1fr; gap: 34px 0; }
  .metric { padding: 0 12px 0 18px; }
  .metric:nth-child(odd) { border-left: 0; padding-left: 0; }
  .metric::before { margin-bottom: 14px; }
  .metric .value { font-size: clamp(2.2rem, 10vw, 3rem); margin-bottom: 10px; }
  .metric .label { font-size: 0.8rem; }
  .metrics-head h2 { font-size: clamp(1.7rem, 7vw, 2.2rem); }
  .pillars { grid-template-columns: 1fr; gap: 12px; }
  .pillar { padding: 28px 24px; }

  /* Marquee menor */
  .marquee { padding: 22px 0; }
  .marquee-track { gap: 36px; font-size: 1rem; }

  /* Photo card */
  .photo-card { aspect-ratio: 3/4; }

  /* Botões mais cômodos pro polegar */
  .btn { padding: 14px 22px; font-size: 0.9rem; width: 100%; justify-content: center; }
  .actions { width: 100%; }
  .actions .btn { flex: 1 1 auto; }
  .hero-text .actions .btn { width: 100%; }

  /* Contato */
  .contact-form .row { grid-template-columns: 1fr; gap: 18px; }
  .contact-info { padding: 24px; }
  .contact-info .item {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 18px 0;
  }

  /* Footer — 2 colunas no mobile (era 1 coluna, ficava altíssimo) */
  .footer { padding: 36px 0 24px; }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 22px 24px;
    margin-bottom: 24px;
    padding-bottom: 24px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 6px;
    font-size: 0.72rem;
    text-align: left;
  }

  /* Mapa em mobile */
  .map-frame { aspect-ratio: 1 / 1; }

}

@media (max-width: 380px) {
  .container { padding: 0 16px; }
  h1 { font-size: 1.95rem; }
  .footer-grid { grid-template-columns: 1fr; }   /* telas bem estreitas voltam a 1 coluna */
}

/* ---------- Trabalhe conosco — foto do time (bridge hero → form) ---------- */
.career-team-photo {
  position: relative;
  max-width: 640px;          /* alinhada à largura do formulário abaixo */
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--navy);
  box-shadow: 0 24px 60px -28px rgba(33, 31, 67, 0.4);
}
.career-team-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;      /* mais baixa — corta céu/chão, mantém os rostos */
  object-fit: cover;
  object-position: center;
}
.career-team-photo figcaption {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;   /* só a frase, ancorada embaixo */
  align-items: flex-start;
  padding: 24px;
  pointer-events: none;
  background: linear-gradient(180deg,
    transparent 38%,
    rgba(15, 18, 50, 0.82) 100%);
}

/* ---------- Trabalhe conosco (sobre.html) ---------- */
.career-form {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
  background:
    linear-gradient(135deg in oklab,
      rgba(255, 255, 255, 0.95) 0%,
      rgba(255, 255, 255, 0.72) 45%,
      rgba(108, 198, 229, 0.22) 100%);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 3.4vw, 44px);
  display: grid;
  gap: 18px;
  backdrop-filter: blur(36px) saturate(200%);
  -webkit-backdrop-filter: blur(36px) saturate(200%);
  box-shadow:
    inset 0 1.5px 0 rgba(255, 255, 255, 1),
    inset 0 -1px 0 rgba(255, 255, 255, 0.35),
    inset 1px 0 0 rgba(255, 255, 255, 0.5),
    0 0 0 1px rgba(33, 31, 67, 0.04),
    0 40px 100px -40px rgba(33, 31, 67, 0.32);
  overflow: hidden;
}
.career-form::before {
  content: "";
  position: absolute;
  top: -10%; left: -10%;
  width: 70%; height: 55%;
  background: radial-gradient(
    ellipse at top left,
    rgba(255, 255, 255, 0.65) 0%,
    transparent 65%
  );
  pointer-events: none;
  z-index: 0;
}
.career-form > * { position: relative; z-index: 1; }
.career-form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.career-form input[type="file"] {
  font-family: var(--font-body);
  font-size: 0.92rem;
  padding: 14px 16px;
  background: var(--glass-soft-bg);
  border: 1px dashed var(--glass-dark-border);
  border-radius: var(--radius);
  width: 100%;
  cursor: pointer;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  transition: border-color var(--dur-normal) var(--ease-smooth),
              background var(--dur-normal) var(--ease-smooth);
}
.career-form input[type="file"]:hover {
  border-color: var(--blue);
  background: rgba(255, 255, 255, 0.85);
}
.career-form input[type="file"]::file-selector-button {
  border: none;
  background: var(--navy);
  color: #fff;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  margin-right: 12px;
}
.career-form .hint {
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin-top: 4px;
  display: block;
}
@media (max-width: 720px) {
  .career-form .row { grid-template-columns: 1fr; }
}

/* =========================================================
   Página de Serviços
   ========================================================= */

/* Page hero — adiciona eyebrow + nav de chips */
.page-hero-services .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin-bottom: 22px;
}
.page-hero-services .eyebrow-mark {
  width: 22px;
  height: 4px;
  background: var(--blue-light);
  border-radius: 999px;
  display: inline-block;
}

/* (Barra .service-nav-bar de chips removida a pedido do cliente — a página
   abre direto no resumo escaneável das 4 frentes.) */

/* === Processo (como atendemos) === */
/* ===== Resumo escaneável dos 4 serviços (topo da página de Serviços) ===== */
.section-svc-overview h2 .accent { color: var(--blue); }
.svc-overview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 1.5vw, 18px);
  margin-top: clamp(28px, 4vw, 44px);
}
/* Variante de 2 colunas (ex.: vagas em aberto) — centralizada. */
.svc-overview-grid--2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Clientes (prova social) ---------- */
.clients-row {
  list-style: none;
  padding: 0;
  margin: clamp(28px, 4vw, 44px) 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  justify-content: center;
}
.client-logo {
  max-height: 60px;
  max-width: 150px;
  width: auto;
  object-fit: contain;
  /* Logos dos clientes em cores (sem grayscale), opacidade cheia. */
  opacity: 1;
}
.client-logo--text {
  font-family: var(--font-display);
  font-weight: 500;
  font-stretch: 125%;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: var(--navy);
  letter-spacing: -0.01em;
}
@media (max-width: 600px) { .client-logo { max-height: 44px; max-width: 116px; } }

/* Variante estática: só 5 clientes hoje — não dá volume suficiente pra um
   carrossel (a duplicação do loop infinito repetia visível na mesma tela).
   Fileira centralizada, sem animação, sem duplicar. Quando houver mais
   clientes o suficiente, volta pra .logo-marquee normal. */
.logo-marquee--static {
  -webkit-mask: none;
  mask: none;
  overflow: visible;
}
.logo-marquee--static .logo-marquee-track {
  animation: none;
  width: 100%;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(28px, 5vw, 64px);
}
.logo-marquee--static .logo-cell { margin: 0; }

/* Mobile: nunca deixa uma logo sozinha numa segunda linha — vira fileira
   única que arrasta/desliza (a última logo não fica órfã embaixo). */
@media (max-width: 600px) {
  .logo-marquee--static {
    overflow-x: auto;
    overflow-y: hidden;
    cursor: grab;
    user-select: none;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-mask: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
    mask: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
  }
  .logo-marquee--static::-webkit-scrollbar { display: none; }
  .logo-marquee--static.is-dragging { cursor: grabbing; }
  .logo-marquee--static .logo-marquee-track {
    flex-wrap: nowrap;
    justify-content: flex-start;
    width: max-content;
    gap: clamp(28px, 9vw, 40px);
    padding: 0 24px;
  }
}

/* ---------- Marquee de logos (clientes) ---------- */
.logo-marquee {
  position: relative;
  overflow: hidden;
  margin-top: clamp(28px, 4vw, 44px);
  -webkit-mask: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
  mask: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
}
.logo-marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: photo-marquee 32s linear infinite;
}
.logo-marquee:hover .logo-marquee-track { animation-play-state: paused; }
.logo-cell {
  flex: 0 0 auto;
  margin: 0 clamp(40px, 6vw, 76px) 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (prefers-reduced-motion: reduce) {
  .logo-marquee { overflow-x: auto; }
  .logo-marquee-track { animation: none; }
}
.svc-ov-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: clamp(20px, 2vw, 26px);
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--elev-1);
  text-decoration: none;
  color: var(--navy);
  transition: transform .35s var(--easing), box-shadow .35s var(--easing), border-color .35s var(--easing);
}
.svc-ov-card:hover {
  transform: translateY(-5px);
  border-color: color-mix(in oklab, var(--blue) 40%, transparent);
  box-shadow: var(--elev-3);
}
.svc-ov-num {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .74rem;
  letter-spacing: .22em;
  color: var(--blue);
}
.svc-ov-card h3 { font-size: 1.2rem; margin: 0; line-height: 1.1; }
.svc-ov-card p { font-size: .9rem; color: var(--ink-soft); line-height: 1.5; margin: 0; flex: 1; }
.svc-ov-go {
  font-weight: 700; font-size: .85rem; color: var(--blue);
  display: inline-flex; align-items: center; gap: 6px; margin-top: 4px;
}
.svc-ov-go .arrow { transition: transform .3s var(--easing); }
.svc-ov-card:hover .svc-ov-go .arrow { transform: translateX(4px); }
@media (max-width: 880px) { .svc-overview-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) {
  .svc-overview-grid { grid-template-columns: 1fr; }
  /* No celular: texto maior e centralizado, sem o vão grande no meio */
  .svc-ov-card { text-align: center; align-items: center; gap: 10px; }
  .svc-ov-num { font-size: 0.86rem; }
  .svc-ov-card h3 { font-size: 1.5rem; }
  .svc-ov-card p { font-size: 1.05rem; line-height: 1.55; flex: none; }
  .svc-ov-go { font-size: 1rem; justify-content: center; }
}

/* .section-process — padding pela skill harmonia (não sobrescrever) */
.process-head {
  max-width: 720px;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.process-head .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 22px;
}
.process-head .eyebrow-mark {
  width: 22px; height: 4px;
  background: var(--blue);
  border-radius: 999px;
  display: inline-block;
}
.process-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.15;
}

.process-steps {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.process-step {
  position: relative;
  padding: 36px 28px 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.process-step:last-child { border-right: none; }
.process-step .step-num {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 500;
  font-stretch: 125%;
  font-size: 1.4rem;
  color: var(--blue);
  margin-bottom: 22px;
  letter-spacing: 0.04em;
}
.process-step h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-stretch: 125%;
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 10px;
}
.process-step p {
  color: var(--ink-soft);
  font-size: 0.94rem;
  line-height: 1.55;
}

/* === Bloco de serviço (padrão para 01–04) === */
.service-section { padding: clamp(56px, 7vw, 100px) 0; position: relative; overflow: hidden; }

/* Numeral gigante de marca (01–04) — grafismo d'água que dá identidade e escala
   a cada frente. Fica no canto, atrás do conteúdo, em cor da marca com opacidade
   baixa (§7 do manual: grafismo discreto, só cores do manual). */
.service-section[data-num]::after {
  content: attr(data-num);
  position: absolute;
  /* Abaixo da faixa de transição (--fade-h) — fica sobre a cor sólida da seção,
     alinhado ao conteúdo, nunca sobre o degradê entre seções. */
  top: calc(var(--fade-h) + var(--space-7));
  right: -1.5%;
  font-family: var(--font-display);
  font-weight: 500;
  font-stretch: 125%;
  font-size: clamp(5.5rem, 12vw, 10rem);
  line-height: 0.8;
  letter-spacing: -0.02em;
  color: var(--blue);
  opacity: 0.07;
  pointer-events: none;
  z-index: 0;
}
.service-section.section-navy[data-num]::after { color: var(--blue-light); opacity: 0.11; }
.service-section.section-ice[data-num]::after { opacity: 0.09; }
/* Nas seções invertidas o numeral vai pro canto esquerdo (acompanha o ritmo) */
.service-section--rev[data-num]::after { right: auto; left: -1.5%; }
.service-section > .container { position: relative; z-index: 1; }

.service-block {
  display: grid;
  grid-template-columns: 1.6fr 0.85fr;
  gap: clamp(40px, 5vw, 72px);
  align-items: center;   /* card direito centralizado verticalmente com o texto */
}
/* O conteúdo começa SEMPRE abaixo do numeral de marca: o padding reserva a
   altura dele (0.8 × font-size do ::after) + respiro. Sem isso, o aside
   "Modalidades" das seções invertidas cobria o número no desktop. */
.service-section[data-num] .service-block {
  padding-top: calc(clamp(5.5rem, 12vw, 10rem) * 0.8 + 28px);
}
/* Zigue-zague: nas frentes pares, o aside vai pra esquerda e o texto pra direita.
   Quebra a repetição "texto-esq/aside-dir" das 4 seções. */
.service-section--rev .service-block { grid-template-columns: 0.85fr 1.6fr; }
.service-section--rev .service-text  { order: 2; }
.service-section--rev .equip-list    { order: 1; }
/* Aside invertido: a divisória passa pro lado direito (entre aside e texto) */
.service-section--rev .equip-list {
  border-left: none;
  border-right: 1px solid var(--line);
  padding-left: 0;
  padding-right: clamp(28px, 4vw, 56px);
}
.service-section--rev.section-navy .equip-list { border-right-color: rgba(255, 255, 255, 0.15); }

.service-text { display: flex; flex-direction: column; }
.service-eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 22px;
}
.section-navy .service-eyebrow { color: var(--blue-light); }

.service-text h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  line-height: 1.08;
  margin-bottom: 22px;
}
.service-text .lead { margin-bottom: 28px; }

.service-points {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  gap: 12px;
}
.service-points li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: baseline;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.55;
}
.service-points li span {
  color: var(--blue);
  font-weight: 700;
  font-size: 1.1rem;
}
.section-navy .service-points li { color: rgba(255,255,255,0.88); }
.section-navy .service-points li span { color: var(--blue-light); }

/* Compromissos (listas dentro dos .pillar): visual de checklist limpo, não de
   link. O texto fica neutro (sem azul/negrito) e a seta vira um check sutil. */
.pillar .service-points li { color: var(--ink); align-items: start; }
.pillar .service-points li > span:not([aria-hidden="true"]) {
  color: var(--ink);
  font-weight: 400;
  font-size: 1rem;
}
.pillar .service-points li > span[aria-hidden="true"] {
  color: var(--blue);
  font-weight: 700;
  font-size: 0;            /* esconde a seta "→" original */
  line-height: 1.55;
}
.pillar .service-points li > span[aria-hidden="true"]::before {
  content: "✓";
  font-size: 0.95rem;
}

.service-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  margin-bottom: 28px;
}
.section-navy .service-meta { border-top-color: rgba(255,255,255,0.18); }
.service-meta > div { display: flex; flex-direction: column; gap: 4px; }
.service-meta .meta-label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.section-navy .service-meta .meta-label { color: rgba(255,255,255,0.6); }
.service-meta .meta-value {
  font-family: var(--font-display);
  font-weight: 500;
  font-stretch: 125%;
  font-size: 1.05rem;
  color: var(--navy);
}
.section-navy .service-meta .meta-value { color: #fff; }

.service-text .actions { margin-top: auto; display: flex; gap: 12px; flex-wrap: wrap; }

/* === Card lateral === */
.service-card {
  position: relative;
  padding: 22px 20px;
  max-width: 340px;
  justify-self: end;
  width: 100%;
  background:
    radial-gradient(circle at 100% 0%, rgba(0, 130, 175, 0.20) 0%, transparent 50%),
    radial-gradient(circle at 0% 100%, rgba(108, 198, 229, 0.06) 0%, transparent 40%),
    var(--navy);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-lg);
  color: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.08) inset,
    0 30px 80px -40px rgba(15, 22, 50, 0.7);
}
/* Faixa de azul na borda superior — assinatura sutil */
.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  height: 2px;
  width: 64px;
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
  border-radius: 0 0 999px 0;
  z-index: 2;
}
/* TB lineart watermark — só do lado direito, sutil */
.service-card-pattern {
  position: absolute;
  right: -15%;
  top: 50%;
  transform: translateY(-50%);
  width: 85%;
  height: 110%;
  background-image: url('../img/grafismo-tb-outline-white.png');
  background-repeat: no-repeat;
  background-position: right center;
  background-size: contain;
  opacity: 0.18;
  pointer-events: none;
}

.service-card-label {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue-light);
  margin: 0;
  z-index: 1;
  align-self: flex-start;
}
.service-card-label::before {
  content: "";
  width: 18px;
  height: 3px;
  background: var(--blue-light);
  border-radius: 999px;
  flex-shrink: 0;
}

/* Grid de mini-cards liquid glass — substitui os chips */
.service-card-list {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 8px;
  position: relative;
  z-index: 1;
}
.service-card-list li {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.92rem;
  color: #fff;
  padding: 18px 12px;
  min-height: 64px;
  text-align: center;
  background:
    linear-gradient(180deg in oklab,
      rgba(255,255,255,0.10) 0%,
      rgba(255,255,255,0.03) 100%);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  backdrop-filter: blur(12px) saturate(150%);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.10) inset,
    0 8px 24px -16px rgba(0,0,0,0.4);
  transition: background .25s var(--easing),
              border-color .25s var(--easing),
              transform .2s var(--easing),
              box-shadow .25s var(--easing);
  cursor: default;
}
.service-card-list li:hover {
  background:
    linear-gradient(180deg in oklab,
      rgba(108, 198, 229, 0.22) 0%,
      rgba(0, 130, 175, 0.10) 100%);
  border-color: rgba(108, 198, 229, 0.5);
  transform: translateY(-2px);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.15) inset,
    0 12px 32px -16px rgba(108, 198, 229, 0.4);
}

.service-card-bullets {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
  position: relative;
  z-index: 1;
}
.service-card-bullets li {
  color: rgba(255,255,255,0.86);
  font-size: 0.94rem;
  padding-left: 18px;
  position: relative;
}
.service-card-bullets li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--blue-light);
  font-weight: 700;
}

.service-card-stat {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 8px;
}
.service-card-stat .stat-value {
  font-family: var(--font-display);
  font-weight: 500;
  font-stretch: 125%;
  font-size: clamp(3.2rem, 6vw, 5rem);
  line-height: 1;
  color: #fff;
}
.service-card-stat .stat-unit {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--blue-light);
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* Variante: split duas colunas com separador (Manutenção) */
.service-card-split {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  height: 100%;
  margin-top: 4px;
}
.service-card-split > div {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px 22px;
  position: relative;
}
/* Bolinha indicadora antes do título (em ambas as colunas) */
.service-card-split > div::before {
  content: "";
  width: 10px;
  height: 10px;
  border: 1.5px solid var(--blue-light);
  border-radius: 50%;
  flex-shrink: 0;
  display: block;
  margin-bottom: 4px;
}
/* Divisor vertical sutil entre as duas colunas — usa ::after pra não conflitar */
.service-card-split > div + div::after {
  content: "";
  position: absolute;
  left: 0; top: 8%;
  width: 1px;
  height: 84%;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(255,255,255,0.18) 30%,
    rgba(255,255,255,0.18) 70%,
    transparent 100%);
}
.service-card-split .service-card-big {
  font-family: var(--font-display);
  font-weight: 500;
  font-stretch: 125%;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  line-height: 1.05;
  color: #fff;
  letter-spacing: -0.01em;
}
.service-card-split p {
  color: rgba(255,255,255,0.78);
  font-size: 0.88rem;
  line-height: 1.55;
  margin: 0;
}

/* Variante navy mais escuro (dentro de section-navy) — mantém glow e detalhes */
.section-navy .service-card,
.service-card-navy {
  background:
    radial-gradient(circle at 100% 0%, rgba(0, 130, 175, 0.22) 0%, transparent 50%),
    radial-gradient(circle at 0% 100%, rgba(108, 198, 229, 0.08) 0%, transparent 40%),
    #181631;
  border: 1px solid rgba(255,255,255,0.10);
}

/* Variante light (sobre section-ice — Especializada) */
.service-card-light {
  background:
    linear-gradient(135deg in oklab, rgba(0, 130, 175, 0.05) 0%, transparent 60%),
    var(--white);
  color: var(--navy);
  border: 1px solid var(--line);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.8) inset,
    0 24px 60px -32px rgba(33, 31, 67, 0.18);
}
.service-card-light .service-card-label { color: var(--blue); }
.service-card-light .service-card-pattern { opacity: 0.15; }

.service-card-detailed {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: 14px;
  position: relative;
  z-index: 1;
}
.service-card-detailed li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.service-card-detailed li:last-child { border-bottom: none; }
.service-card-detailed strong {
  font-family: var(--font-display);
  font-weight: 500;
  font-stretch: 125%;
  font-size: 1.05rem;
  color: var(--navy);
}
.service-card-detailed span {
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.45;
}

/* === CTA Final — padding pela skill harmonia (não sobrescrever) === */
.cta-final {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  padding: clamp(40px, 5vw, 64px) 0;
  color: #fff;
  position: relative;
  /* Sem bg card — flui no navy da section. TB lineart vira atmosfera */
}
/* TB pattern removido — estava ficando cinza no bg navy */
.cta-final-text { position: relative; z-index: 1; }
.cta-final h2 {
  color: #fff;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  line-height: 1.15;
  margin-bottom: 14px;
  max-width: 22ch;
}
.cta-final p {
  color: rgba(255,255,255,0.82);
  font-size: 1rem;
  line-height: 1.55;
  max-width: 48ch;
}
.cta-final-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: stretch;
}
.cta-final-actions .btn { justify-content: center; }

/* Light variant para botão outline sobre fundo escuro/imagem */
.btn-outline.btn-outline-light {
  border-color: rgba(255,255,255,0.7);
  color: #fff;
  background: rgba(15, 30, 60, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn-outline.btn-outline-light:hover {
  background: rgba(255,255,255,0.14);
  border-color: #fff;
}

/* ----- Responsivo serviços ----- */
@media (max-width: 1024px) {
  .service-block { grid-template-columns: 1fr; gap: 40px; }
  /* Empilhado: texto sempre primeiro, aside depois (ignora o zigue-zague).
     A divisória volta pro topo do aside. */
  .service-section--rev .service-block { grid-template-columns: 1fr; }
  .service-section--rev .service-text { order: 0; }
  .service-section--rev .equip-list {
    order: 0;
    border-right: none;
    padding-right: 0;
  }
  .service-card { min-height: 280px; max-width: none; justify-self: stretch; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .process-step:nth-child(2) { border-right: none; }
  .cta-final { grid-template-columns: 1fr; }
  .cta-final-actions { flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 1024px) {
  /* Layout empilhado (tablet + celular): numeral de marca grande e limpo no
     TOPO do bloco, alinhado à coluna de texto, e TODO o conteúdo (texto ou
     aside "Modalidades") fluindo ABAIXO dele — nada colide com o 01–04. */
  .service-section[data-num]::after {
    font-size: clamp(4.75rem, 21vw, 8rem);
    top: calc(var(--fade-h) + 14px);
    left: 40px;
    right: auto;
    line-height: 0.8;
    opacity: 0.12;
  }
  .service-section--rev[data-num]::after { left: 40px; right: auto; }
  .service-section.section-navy[data-num]::after { opacity: 0.16; }
  .service-section.section-ice[data-num]::after { opacity: 0.13; }
  /* Empurra o conteúdo pra baixo do numeral, com respiro (sem colisão).
     Mesmo seletor do desktop pra ganhar na especificidade dentro do media. */
  .service-section[data-num] .service-block { padding-top: clamp(84px, 14vw, 124px); }
}
@media (max-width: 720px) {
  /* Acompanha o padding menor do container no celular (20px) */
  .service-section[data-num]::after,
  .service-section--rev[data-num]::after { left: 20px; }
}

@media (max-width: 720px) {
  .process-steps { grid-template-columns: 1fr; }
  .process-step { border-right: none !important; }
  .service-card { padding: 28px 22px; }
  /* service-card-list já é flex-wrap, não precisa override de colunas */
  .service-card-split { grid-template-columns: 1fr; gap: 20px; }
  .cta-final { padding: 32px 0; }
  .cta-final-actions { flex-direction: column; width: 100%; }
  .cta-final-actions .btn { width: 100%; }
  /* (TB pattern do cta-final removido) */
}

/* ════════════════════════════════════════════════════════════════════
   .section-shatter — fechamento navy com canvas crystal/shatter
   Aproveita .section + .section-navy (fade automático ice→navy do sistema
   harmonia). Flex centrado vertical pra frase ficar no MEIO da seção.
   ════════════════════════════════════════════════════════════════════ */
.section-shatter {
  overflow: hidden;
  min-height: clamp(480px, 70vh, 720px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Canvas entre o fade (::before z-index 0) e o conteúdo (z-index 2). */
.shatter-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.shatter-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-3);
}

.shatter-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-stretch: 125%;
  font-size: var(--text-4xl);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-display);
  color: #fff;
  margin: 0;
}

.shatter-subtitle {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--text-md);
  line-height: var(--lh-normal);
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}

.shatter-cta {
  margin-top: var(--space-4);
}

@media (prefers-reduced-motion: reduce) {
  .shatter-canvas { display: none; }
}

@media (max-width: 720px) {
  /* Mobile: canvas ATIVO — partículas seguem o dedo no touch via Pointer Events.
     Layout compacto, tipografia equilibrada. */
  .section-shatter {
    min-height: 0;
    display: block;
    padding-top: calc(var(--space-5) + var(--fade-h)) !important;
    padding-bottom: var(--space-6) !important;
  }
  .shatter-content { padding: 0; gap: var(--space-3); }
  .shatter-title { font-size: clamp(1.8rem, 8vw, 2.4rem); }
  .shatter-subtitle { font-size: 1rem; opacity: 0.8; }
  .shatter-cta { margin-top: var(--space-4); }
}

/* ════════════════════════════════════════════════════════════════════
   .section-brands — faixa única de cards de logos (.brand-wall) que rola
   pro lado (reusa .logo-marquee). Cada card é um slot 2:1 com a logo
   centralizada (object-fit: contain).
   ════════════════════════════════════════════════════════════════════ */
/* Igual às outras seções: fundo SÓLIDO (tom claro de gelo) + --this-bg igual
   ao fundo, pra o fade canônico do topo (::before) terminar EXATAMENTE na cor
   do corpo — sem o "degrau"/linha que aparecia com o gradiente. A seção de cima
   (section-ice) faz um fade suave gelo→tom-claro no topo; a de baixo (clientes,
   branca) recebe o fade a partir deste tom (regra de adjacência logo abaixo).
   O tom claro mantém os cards brancos das marcas destacados. */
.section-brands {
  background: #F2F3F7;
  --this-bg: #F2F3F7;
}
/* Fade do rodapé (marcas → clientes/branco) via ::after, dentro do padding
   inferior (não cobre os cards). Controlamos direto porque o fade canônico
   (::before da próxima seção) não renderiza de forma confiável neste ponto. */
.section-brands::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: var(--space-8);
  background: linear-gradient(to bottom, rgba(242, 243, 247, 0), #fff);
  pointer-events: none;
}

.brands-note {
  margin-top: var(--space-6);
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.brands-note a {
  color: var(--blue);
  text-decoration: none;
  font-weight: 700;
  border-bottom: 1px solid currentColor;
}
.brands-note a:hover { color: var(--navy); }

/* Marcas atendidas — faixa única de cards (.brand-wall).
   A rolagem automática, a pausa no hover e o arrastar com o mouse são
   controlados via JS (scrollLeft) — por isso overflow-x:auto e animação off.
   Reusa de .logo-marquee só a máscara das bordas. */
.brand-wall {
  margin-top: clamp(28px, 4vw, 44px);
  overflow-x: auto;
  overflow-y: hidden;
  cursor: grab;
  user-select: none;
  scrollbar-width: none;       /* Firefox */
  -ms-overflow-style: none;    /* Edge legado */
}
.brand-wall::-webkit-scrollbar { display: none; }   /* WebKit: esconde a barra */
.brand-wall.is-dragging { cursor: grabbing; }
.brand-wall .logo-marquee-track { animation: none; }   /* JS controla a rolagem */
.brand-wall .logo-cell { margin: 0 clamp(14px, 1.6vw, 22px) 0 0; }
/* a logo não captura o arrasto (sem "fantasma" de imagem) */
.brand-wall .brand-card img { pointer-events: none; -webkit-user-drag: none; }
.brand-card {
  position: relative;     /* referência p/ a <img> absoluta */
  width: clamp(158px, 17vw, 210px);
  height: clamp(79px, 8.5vw, 105px);   /* = largura/2 */
  overflow: hidden;
  /* Fundo branco sólido: o fundo branco do logo (JPG) some no card, sem
     aquele retângulo aparente. Os cards destacam contra o leve tom da seção. */
  background: var(--white);
  border: 1px solid rgba(33, 31, 67, 0.08);
  border-radius: var(--radius-md);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 12px 28px -20px rgba(33, 31, 67, 0.4);
}
/* <img> em absoluto + centralizada: max-width/height em calc() resolvem contra
   a caixa definida do card (o que NÃO acontecia com % no fluxo grid — logos
   quase-quadrados como a WEG estouravam a altura e eram cortados). O "padding"
   vira a margem do calc (metade em cada lado). */
.brand-card img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: auto;
  height: auto;
  max-width: calc(100% - clamp(28px, 3.2vw, 44px));
  max-height: calc(100% - clamp(28px, 3.2vw, 44px));
}
@media (max-width: 600px) {
  .brand-card { width: 150px; height: 75px; }
}

/* Vermelho da marca SENAI (cor de terceiro, pedida pela cliente p/ destacar
   "SENAI" no card — não faz parte da paleta Tecbas do BRAND.md). */
.senai-red { color: #ED1C24; }

/* ════════════════════════════════════════════════════════════════════
   .section-reforma — antes × depois de reforma (foto real do IG, sem UI).
   Par de fotos com chips + seta central. Prova visual de trabalho.
   ════════════════════════════════════════════════════════════════════ */
/* Layout dividido: texto à esquerda, grade 2×2 de fotos à direita.
   Escala generosa: título display + fotos grandes preenchem a seção em telas
   largas (antes sobrava um vazio enorme à direita e abaixo do texto). */
.reforma-split {
  display: grid;
  grid-template-columns: minmax(0, 440px) minmax(0, 860px);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  justify-content: center;
}
.reforma-text h2 {
  font-size: clamp(2.2rem, 3.4vw, 3.3rem);
  line-height: 1.06;
}
.reforma-text .lead {
  margin-top: 20px;
  font-size: clamp(1.05rem, 1.25vw, 1.3rem);
  max-width: 44ch;
}
/* ===== Visualizador de fotos (galerias do site todo) =====
   Injetado por JS num <dialog>, entao nao tem markup repetido nas paginas.
   Mesma linguagem do lightbox dos certificados; aqui a foto abre no maior
   tamanho que couber na tela e as setas andam dentro da mesma galeria. */
.lb {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: 100vw;
  max-height: 100vh;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.lb::backdrop { background: rgba(10, 12, 28, 0.9); backdrop-filter: blur(3px); }
.lb-img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: min(94vw, 1400px);
  max-height: 90vh;
  width: auto;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.7);
  cursor: zoom-out;
}
.lb-close,
.lb-nav {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: rgba(15, 18, 40, 0.72);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.lb-close { top: clamp(14px, 2.4vw, 26px); right: clamp(14px, 2.4vw, 26px); }
.lb-nav { top: 50%; transform: translateY(-50%); }
.lb-prev { left: clamp(10px, 2vw, 26px); }
.lb-next { right: clamp(10px, 2vw, 26px); }
.lb-close:hover { background: rgba(15, 18, 40, 0.96); transform: rotate(90deg); }
.lb-nav:hover { background: rgba(15, 18, 40, 0.96); }
.lb-close:focus-visible,
.lb-nav:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.lb-nav[hidden] { display: none; }
/* a foto na galeria avisa que da pra abrir */
.evento-item img,
.marquee-item img,
.reforma-shot img,
.team-photo img,
.photo-card img { cursor: zoom-in; }
@media (max-width: 640px) {
  .lb-close, .lb-nav { width: 40px; height: 40px; font-size: 1.3rem; }
}

/* ===== Galeria do evento (jantar de apresentação do novo site + loja online)
   Trilho arrastável sem loop: são 77 fotos, então nada de duplicar itens pro
   efeito infinito (dobraria o peso da página). Mesmo gesto do .reforma-carousel
   e do .logo-marquee--static: arrasta com o mouse, swipe nativo no toque. ===== */
.evento-wrap, .rail-wrap { position: relative; }
/* Setas das faixas de foto: quem usa mouse sem rolagem horizontal (a maioria)
   nao consegue passar. Ficam por cima das bordas, so no desktop — no celular o
   swipe ja resolve e elas cobririam foto. Mesmo visual em todas as faixas. */
.evento-nav, .rail-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0 0 3px;
  border: 1px solid rgba(33, 31, 67, 0.1);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 28px -14px rgba(33, 31, 67, 0.45);
  color: var(--navy);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background var(--dur-fast) var(--ease-snap),
              color var(--dur-fast) var(--ease-snap),
              transform var(--dur-fast) var(--ease-snap);
}
.evento-prev, .rail-prev { left: clamp(-6px, -0.4vw, 0px); }
.evento-next, .rail-next { right: clamp(-6px, -0.4vw, 0px); }
.evento-nav:hover, .rail-nav:hover { background: var(--blue); color: #fff; transform: translateY(-50%) scale(1.06); }
.evento-nav:focus-visible, .rail-nav:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
@media (max-width: 820px) { .evento-nav, .rail-nav { display: none; } }
@media (prefers-reduced-motion: reduce) { .evento-nav, .rail-nav { transition: none; } }

.evento-rail {
  overflow-x: auto;
  overflow-y: hidden;
  cursor: grab;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  margin: clamp(18px, 2.4vw, 28px) -4px 0;
  padding: 4px;
}
.evento-rail::-webkit-scrollbar { display: none; }
.evento-rail.is-dragging { cursor: grabbing; }
.evento-track {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.2vw, 16px);
  width: max-content;
}
/* A faixa anda no compositor (transform), nao por JS mexendo no scroll: e o que
   deixa liso no celular. O -50% cai exatamente sobre a copia das fotos, entao o
   loop nao tem emenda. Duracoes diferentes por tamanho de tela porque a metade
   do trilho muda de largura (a ideia e manter ~19px por segundo). */
.evento-track.is-rolling {
  animation: evento-marquee 600s linear infinite;
  will-change: transform;
}
.evento-track.is-paused { animation-play-state: paused; }
@keyframes evento-marquee {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
@media (max-width: 820px) {
  .evento-track.is-rolling { animation-duration: 570s; }
}
@media (prefers-reduced-motion: reduce) {
  .evento-track.is-rolling { animation: none; }
}
.evento-item {
  flex: 0 0 auto;
  margin: 0;
  /* o trilho tem 27.000px de largura: sem isso o navegador desenha e decodifica
     as 72 fotos de uma vez, o que trava aparelho fraco. Assim ele so processa
     o que esta perto da tela, e o tamanho reservado mantem o layout estavel. */
  content-visibility: auto;
  contain-intrinsic-size: 300px 340px;
}
.evento-item img {
  display: block;
  height: clamp(230px, 30vw, 340px);
  width: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  /* o arrasto do trilho ja e barrado no pointerdown (preventDefault) + user-drag,
     entao a imagem PODE receber ponteiro · e o que permite clicar pra ampliar */
  -webkit-user-drag: none;
  user-select: none;
}
.evento-hint {
  display: block;
  margin-top: clamp(10px, 1.4vw, 16px);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
}

/* Carrossel arrastável: cada .reforma-pair é um card com 2 fotos
   (antes/depois) de UMA reforma. Track em flex + overflow-x sozinho, sem
   duplicar itens (não é loop infinito, é uma lista que a pessoa arrasta até
   o fim) — mesmo gesto de arrastar do .logo-marquee--static/.brand-wall. */
.reforma-carousel {
  overflow-x: auto;
  overflow-y: hidden;
  cursor: grab;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: none;
  margin: 0 -4px;
  padding: 4px;
}
.reforma-carousel::-webkit-scrollbar { display: none; }
.reforma-carousel.is-dragging { cursor: grabbing; }
.reforma-track {
  display: flex;
  align-items: flex-start;
  gap: clamp(14px, 1.8vw, 22px);
  width: max-content;
}
/* anda no compositor, igual a galeria do evento (ver .evento-track) */
.reforma-track.is-rolling {
  animation: reforma-marquee 200s linear infinite;
  will-change: transform;
}
.reforma-track.is-paused { animation-play-state: paused; }
@keyframes reforma-marquee {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .reforma-track.is-rolling { animation: none; }
}
.reforma-pair {
  flex: 0 0 auto;
  width: min(600px, 86vw);
  margin: 0;
  scroll-snap-align: start;
}
.reforma-pair-imgs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(7px, 0.9vw, 10px);
}
.reforma-pair-label {
  margin-top: 10px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  text-align: center;
}
.reforma-hint {
  display: block;
  margin-top: clamp(12px, 1.6vw, 18px);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
  text-align: center;
}
/* hint "arraste" fica fora do container de scroll (.reforma-viewport), visível
   em todas as telas e sem sumir ao rolar. O carrossel ainda passa sozinho devagar. */
.reforma-viewport { position: relative; }
.reforma-shot {
  position: relative;
  display: block;
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--elev-2);
  border: 1px solid rgba(33, 31, 67, 0.10);
  background: var(--white);
}
.reforma-shot img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 56%;   /* foca no equipamento */
}
.reforma-chip {
  position: absolute;
  top: 9px;
  left: 9px;
  z-index: 1;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  padding: 5px 11px;
  border-radius: 999px;
  box-shadow: 0 4px 12px -5px rgba(33, 31, 67, 0.5);
}
.reforma-chip-antes  { background: var(--navy); }
.reforma-chip-depois { background: var(--blue); }
/* Dois links de direcionamento (Instagram + retrofitting), empilhados e limpos */
.reforma-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-top: clamp(22px, 3vw, 32px);
}
.reforma-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--blue);
  text-decoration: none;
}
.reforma-cta-ic { width: 18px; height: 18px; flex-shrink: 0; }
.reforma-cta .arrow { transition: transform .3s var(--easing); }
.reforma-cta:hover { color: var(--blue-deep); }
.reforma-cta:hover .arrow { transform: translateX(4px); }

@media (max-width: 900px) {
  /* Empilha: texto em cima, carrossel embaixo (a partir de telas médias, pra o
     carrossel ter largura de sobra e as fotos ficarem grandes).
     minmax(0, 1fr) e NAO 1fr: o .reforma-track usa width:max-content, e um
     track "1fr" (= minmax(auto,1fr)) nao pode encolher abaixo do min-content,
     entao a coluna estourava e os itens do grid iam a ~4600px de largura num
     celular de 430px. Com isso o .reforma-text ficava com so ~9% de area
     visivel e NUNCA batia o threshold 0.12 do IntersectionObserver do reveal:
     a secao inteira ficava em opacity:0 (invisivel) no mobile.
     No desktop nao acontecia porque la as colunas ja sao minmax(0, ...). */
  .reforma-split { grid-template-columns: minmax(0, 1fr); gap: clamp(22px, 5vw, 32px); justify-content: stretch; }
  /* trava a mesma armadilha nos filhos: quem rola na horizontal e o carrossel */
  .reforma-text, .reforma-viewport, .reforma-carousel { min-width: 0; }
}
@media (max-width: 720px) {
  .reforma-carousel { margin: 0 -20px; padding: 4px 20px; }
}


/* ════════════════════════════════════════════════════════════════════
   .section-store — loja de peças no Mercado Livre.
   Resolve a parte "Comércio" do nome (Manutenção e Comércio de Máquinas CNC).
   Layout: texto à esquerda + badge "+500 SKUs" à direita.
   ════════════════════════════════════════════════════════════════════ */
.section-store { background-color: var(--white); }

.store-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: var(--space-7);
  align-items: center;
  /* sem margin-top: o padding da seção já centraliza o conteúdo. Tinha um
     margin-top que empurrava todo o bloco (texto+orbe) pra baixo da seção. */
}

.store-text > .eyebrow { margin-bottom: 18px; }
.store-text > h2 { margin: 0 0 24px; line-height: 1.1; }
.store-count {
  color: var(--blue);
  font-weight: 500;
  font-stretch: 125%;
}

.store-perks {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  gap: 10px;
}
.store-perks li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink-soft);
  line-height: 1.5;
}
.store-perks .check {
  color: var(--blue);
  font-weight: 700;
  flex-shrink: 0;
}

.store-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* Badge "+500 SKUs em estoque" — gráfico premium tipo selo */
.store-badge {
  display: grid;
  place-items: center;
  padding: var(--space-4);
}
.store-badge-inner {
  /* ⬇️ COR DO HALO — trocar por aqui assim que o cliente mandar a cor exata do manual */
  --badge-ring: #3FA7E6;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  /* SEM fundo escuro e SEM linha de contorno — só um blur azul macio (aura
     difusa), com o centro transparente pro texto ler. Mesma cara no desktop e
     no mobile. O gradiente usa % → escala junto com o tamanho do orbe. */
  background: radial-gradient(circle at 50% 50%,
    transparent 30%,
    color-mix(in oklab, var(--badge-ring) 24%, transparent) 56%,
    transparent 84%);
  box-shadow: 0 0 56px color-mix(in oklab, var(--badge-ring) 20%, transparent);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  padding: 40px;
  position: relative;
  isolation: isolate;
}
.store-badge-pill {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  padding: 6px 12px;
  background: rgba(0, 130, 175, 0.18);
  border: 1px solid rgba(0, 130, 175, 0.4);
  border-radius: 999px;
}
/* Símbolo sofisticado — sextavado/porca em linha fina (peça usinada, tema CNC),
   azul claro com leve brilho pra conversar com o glow do orbe. */
.store-badge-icon {
  width: 40px;
  height: 40px;
  color: var(--blue);
  filter: drop-shadow(0 0 7px color-mix(in oklab, var(--badge-ring) 60%, transparent));
}
/* Ícone + número + rótulo empilhados e centralizados como grupo (coluna flex
   do .store-badge-inner) → ficam no centro exato do brilho, simétricos. */
.store-badge-num {
  font-family: var(--font-display);
  font-weight: 500;
  font-stretch: 125%;
  font-size: 4.3rem;
  line-height: 1;
  color: var(--blue);
  letter-spacing: -0.02em;
}
.store-badge-label {
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
  line-height: 1.45;
}
.store-badge-foot {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  width: 100%;
}

@media (max-width: 880px) {
  .store-grid { grid-template-columns: 1fr; gap: var(--space-5); }
  /* Bolinha sobe: tira o padding do wrapper e puxa pra cima, encostando mais
     no topo da seção (brands→store é branco→branco, sem fade a proteger). */
  /* O visual (blur azul, sem fundo/linha, cores) já vem do .store-badge-inner
     base — aqui só muda tamanho e a fonte do número. A posição é centralizada
     pelo padding da seção (sem margin negativo). */
  .store-badge { order: -1; padding: 0; }
  .store-badge-inner { width: 290px; height: 290px; padding: 28px; }
  .store-badge-num { font-size: 3.7rem; }
}
@media (max-width: 480px) {
  .store-actions .btn { width: 100%; justify-content: center; }
}

/* ════════════════════════════════════════════════════════════════════
   .section-testimonials — depoimentos reais do Google.
   Grade estática de cards BRANCOS sobre o navy (alto contraste, legível,
   com impacto). Avatar de iniciais + citação grande com aspa + estrelas.
   ════════════════════════════════════════════════════════════════════ */
.section-testimonials { overflow: hidden; }

/* Wrapper full-bleed — a fileira corre borda a borda, com fade nas pontas */
.testimonials-marquee {
  position: relative;
  margin-top: var(--space-7);
  overflow: hidden;
  -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%);
}
/* UMA fileira que roda pro lado em loop contínuo. Padding-top reserva espaço
   pro avatar que "estoura" no topo dos cards (não ser cortado pelo overflow). */
.testimonials-marquee-track {
  display: flex;
  align-items: stretch;             /* todos os cards na mesma altura */
  gap: var(--space-4);
  width: max-content;
  padding: 44px 0 28px;             /* topo p/ avatar + base p/ sombra */
  animation: testimonials-scroll 55s linear infinite;
  will-change: transform;
}
.testimonials-marquee:hover .testimonials-marquee-track { animation-play-state: paused; }

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

/* Card no formato do print: avatar no topo (estourando), nome/cargo/citação
   centralizados e estrelas embaixo. */
.testimonial-card {
  position: relative;
  flex: 0 0 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 60px var(--space-5) var(--space-5);   /* folga p/ o avatar que estoura no topo não tampar o nome */
  /* Liquid glass estilo iPhone: painel translúcido sobre o navy (deixa a cor de
     fundo atravessar), brilho especular no topo + borda clara. Texto branco. */
  background: linear-gradient(155deg in oklab,
              rgba(255, 255, 255, 0.20),
              rgba(255, 255, 255, 0.08) 60%,
              rgba(255, 255, 255, 0.12));
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  box-shadow:
    0 22px 50px -24px rgba(0, 0, 0, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);   /* highlight superior tipo iOS */
  text-align: center;
}
/* Avatar de iniciais — círculo estourando metade pra fora do topo */
.testimonial-avatar {
  position: absolute;
  top: -36px;
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg in oklab, var(--navy), var(--blue));
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.02em;
  border: 4px solid #fff;                          /* anel branco destaca do fundo */
  box-shadow: 0 10px 24px -8px rgba(33, 31, 67, 0.5);
}
/* Texto branco sobre o glass escuro (alto contraste, legível) */
.testimonial-card .testimonial-author-name {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.15rem;
  color: #fff;
  margin: 0;
}
.testimonial-author-meta {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.66);
  margin: 0;
}
.testimonial-text {
  font-family: var(--font-body);
  font-size: 1.06rem;                              /* letra maior, mais legível */
  line-height: 1.55;
  color: #fff;
  margin: 8px 0 0;
  flex: 1;                                         /* empurra as estrelas pro rodapé */
}
.testimonial-stars {
  color: #FFB400;
  font-size: 1.05rem;
  letter-spacing: 4px;
  line-height: 1;
  margin-top: 14px;
  /* compensa o letter-spacing à direita pra ficar centralizado de verdade */
  padding-left: 4px;
}

.testimonials-foot {
  text-align: center;
  margin-top: var(--space-7);
  font-family: var(--font-body);
  font-size: var(--text-sm);
}
.testimonials-foot a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  transition: border-color var(--dur-fast) var(--ease-snap);
}
.testimonials-foot a:hover { border-bottom-color: #fff; }

/* Acessibilidade: sem movimento se o usuário pedir */
@media (prefers-reduced-motion: reduce) {
  .testimonials-marquee-track { animation: none; }
  .testimonials-marquee {
    overflow-x: auto;
    -webkit-mask-image: none;
            mask-image: none;
  }
}

@media (max-width: 720px) {
  /* No mobile a fileira rola sozinha devagar (auto-scroll via JS) E pode ser
     arrastada pelo usuário — o JS pausa o movimento enquanto toca e retoma
     depois. Sem snap (atrapalha o rolar contínuo) e sem máscara nas pontas. */
  .testimonials-marquee {
    margin-top: var(--space-5);
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: none;
    scroll-padding: 20px;
    -webkit-mask-image: none;
            mask-image: none;
    scrollbar-width: none;
  }
  .testimonials-marquee::-webkit-scrollbar { display: none; }
  .testimonials-marquee-track {
    animation: none;
    gap: var(--space-3);
    padding: 44px 20px 24px;          /* topo p/ avatar + respiro lateral 1º/último */
  }
  .testimonial-card {
    flex: 0 0 78vw;
    max-width: 320px;
    padding: 60px var(--space-5) var(--space-5);   /* folga p/ o avatar que estoura no topo não tampar o nome */
    scroll-snap-align: center;
  }
  .section-testimonials .section-head h2 { font-size: clamp(1.5rem, 6vw, 2rem); }
}

/* ════════════════════════════════════════════════════════════════════
   .swipe-hint — dica "arraste para o lado" em carrosséis (só onde rola).
   ════════════════════════════════════════════════════════════════════ */
.swipe-hint {
  display: none;                      /* aparece só nos breakpoints que rolam */
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: var(--space-4) auto 0;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);               /* sobre fundo claro (service-stack) */
}
.swipe-hint svg { width: 18px; height: 18px; }
.swipe-hint .swipe-hint-arrow {
  animation: swipe-nudge 1.6s var(--ease-smooth) infinite;
}
@keyframes swipe-nudge {
  0%, 100% { transform: translateX(0);   opacity: 0.5; }
  50%      { transform: translateX(6px); opacity: 1; }
}
/* Sobre o navy dos depoimentos → cor clara */
.section-testimonials .swipe-hint { color: rgba(255, 255, 255, 0.62); }

@media (prefers-reduced-motion: reduce) {
  .swipe-hint .swipe-hint-arrow { animation: none; }
}
@media (max-width: 1080px) { .service-stack .swipe-hint { display: flex; } }
@media (max-width: 720px)  { .section-testimonials .swipe-hint { display: flex; } }

/* ════════════════════════════════════════════════════════════════════
   .service-stack — 4 frentes técnicas como cards glass empilhados.
   Active card no topo, outras escala/translate atrás. Drag pra swipe.
   ════════════════════════════════════════════════════════════════════ */
.service-stack {
  position: relative;
  margin: var(--space-7) auto 0;
}

/* DESKTOP (≥1081px): os 4 cards FLEXAM pra preencher a linha e sempre cabem.
   Sem rolagem → sem clip de overflow → a sombra dos cards aparece INTEIRA.
   O padding vertical + margem negativa dão folga pra sombra de cima/baixo sem
   inflar o layout. */
.service-stack-cards {
  display: flex;
  gap: var(--space-3);
  overflow: visible;
  padding: 60px 4px 80px;
  margin: -40px -4px -60px;
  scrollbar-width: none;           /* Firefox: esconde scrollbar (modo carrossel) */
  -ms-overflow-style: none;        /* IE/Edge legacy */
}
.service-stack-cards::-webkit-scrollbar { display: none; }   /* Chrome/Safari */

/* ≤1080px os 4 cards ficariam estreitos demais → vira CARROSSEL rolável de
   largura fixa (aí o clip nas bordas é natural, cards entram/saem pela lateral). */
@media (max-width: 1080px) {
  .service-stack-cards {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding: var(--space-3);
    align-items: stretch;            /* todos os cards do carrossel com a mesma altura (a do mais alto) */
    /* Full-bleed: o scroller ocupa a largura toda da tela, então a sombra dos
       cards é recortada só na borda física da tela (atrás do bezel), e não num
       risco visível dentro do fundo claro da seção. html/body têm overflow-x:hidden. */
    margin-inline: calc(50% - 50vw);
    padding-inline: calc(50vw - 50%);
  }
  /* O override de largura do card (flex: 0 0 300px) vive MAIS ABAIXO, depois da
     regra base .service-stack-card, senão a base venceria por ordem de cascata. */
}

/* Affordance de arrasto: cursor "mãozinha" só quando há o que rolar.
   Durante o arrasto/edge-scroll o snap é desligado pra não brigar com o JS;
   ao soltar, o snap mandatory volta e acomoda no card mais próximo. */
.service-stack-cards.is-scrollable { cursor: grab; }
.service-stack-cards.is-grabbing {
  cursor: grabbing;
  scroll-snap-type: none;
  user-select: none;
  -webkit-user-select: none;
}
.service-stack-cards.is-edgescroll { scroll-snap-type: none; }
.service-stack-cards.is-grabbing .service-stack-card { cursor: grabbing; }

.service-stack-card {
  flex: 1 1 0;                    /* desktop: 4 colunas iguais que preenchem a linha */
  min-width: 0;
  min-height: 300px;              /* altura fixa pra alinhar visualmente */
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  /* Coluna: head + descrição no topo, CTA fixa no rodapé (margin-top:auto). */
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  text-align: center;
  /* Shadow forte pra projetar os cards pra frente (efeito de flutuar) */
  box-shadow:
    0 30px 60px -15px rgba(33, 31, 67, 0.35),
    0 12px 30px -10px rgba(33, 31, 67, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transition:
    transform var(--dur-normal) var(--ease-smooth),
    box-shadow var(--dur-normal) var(--ease-smooth);
  cursor: default;
}
.service-stack-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 45px 90px -20px rgba(33, 31, 67, 0.45),
    0 18px 45px -10px rgba(33, 31, 67, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

/* ≤1080px: carrossel rolável com card de largura fixa. Fica DEPOIS da base
   .service-stack-card pra vencer na cascata (media query não soma especificidade).
   O override de ≤400px (card full-width) vem ainda mais abaixo, então prevalece. */
@media (max-width: 1080px) {
  .service-stack-card {
    flex: 0 0 300px;
    scroll-snap-align: start;
    min-height: 0;                   /* o stretch do container iguala a altura de todos */
  }
}

.service-stack-head {
  display: flex;
  flex-direction: column;          /* idx em cima, h3 embaixo, alinhamento limpo */
  align-items: center;
  gap: 4px;
}
.service-stack-idx {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--blue);
}
.service-stack-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-stretch: 125%;
  font-size: 1.6rem;
  line-height: 1.1;
  color: var(--navy);
  margin: 0;
  min-height: 1.6em;               /* mesma altura mesmo se quebrar */
}
.service-stack-desc {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--lh-normal);
  color: var(--ink-soft);
  margin: 0;
}
/* Tags como texto inline separado por · (cyan), sem cara de botão. */
.service-stack-tags {
  display: block;
  text-align: center;
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--ink-soft);
}
.service-stack-tags li {
  display: inline;
}
.service-stack-tags li:not(:last-child)::after {
  content: " · ";
  color: var(--blue);
  font-weight: 700;
  margin: 0 4px;
}
.service-stack-cta {
  margin-top: auto;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--blue);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: center;
}
.service-stack-cta:hover { color: var(--navy); }

/* Dots — não usados no carrossel, escondidos */
.service-stack-dots { display: none; }

/* Mobile — cards mais estreitos, scroll horizontal mantido */
@media (max-width: 720px) {
  .service-stack { margin-top: var(--space-5); }
  .service-stack-card {
    flex: 0 0 260px;
    padding: var(--space-5);
  }
  .service-stack-desc { font-size: 0.95rem; }
  .service-stack-tags { font-size: 0.8rem; }
}

/* ════════════════════════════════════════════════════════════════════
   .equip-list — lista editorial dos equipamentos atendidos.
   Sem card, sem botão, sem caixa. Só label + tipografia grande Archivo
   alinhada à direita, contraste visual com a coluna de texto à esquerda.
   ════════════════════════════════════════════════════════════════════ */
.equip-list {
  align-self: start;
  padding: clamp(20px, 2.5vw, 32px) 0;
  border-left: 1px solid var(--line);
  padding-left: clamp(28px, 4vw, 56px);
}
.equip-list-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: clamp(20px, 2.5vw, 32px);
}
.equip-list-label::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--blue);
  border-radius: 999px;
}
.equip-list-items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(2px, 0.3vw, 6px);
}
.equip-list-items li {
  font-family: var(--font-display);
  font-weight: 500;
  font-stretch: 125%;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.005em;
  color: var(--navy);
  opacity: 0.45;
  transition:
    opacity var(--dur-fast) var(--ease-snap),
    color var(--dur-fast) var(--ease-snap),
    transform var(--dur-fast) var(--ease-snap);
  cursor: default;
}
.equip-list-items li:hover {
  opacity: 1;
  color: var(--blue);
  transform: translateX(6px);
}

@media (max-width: 1024px) {
  /* Tablet: lista vai pra baixo (service-block já vira 1 col aqui) */
  .equip-list {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--line);
    padding-top: clamp(24px, 3vw, 36px);
    margin-top: clamp(24px, 3vw, 36px);
  }
  .equip-list-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(8px, 1vw, 16px);
  }
}

@media (max-width: 480px) {
  .equip-list-items { grid-template-columns: 1fr; }
  .equip-list-items li { font-size: clamp(1.3rem, 5vw, 1.6rem); }
}

/* Variante navy — cores invertidas pra fundo escuro (section-navy) */
.section-navy .equip-list { border-left-color: rgba(255, 255, 255, 0.15); }
.section-navy .equip-list-items li {
  color: #fff;
  opacity: 0.55;
}
.section-navy .equip-list-items li:hover {
  opacity: 1;
  color: var(--blue-light);
}
@media (max-width: 1024px) {
  .section-navy .equip-list { border-top-color: rgba(255, 255, 255, 0.15); }
}

/* Variante com descrição — quando o item tem label grande + parágrafo abaixo
   (ex: Manutenção "na sua empresa" / "no lab"). */
.equip-list-items--desc {
  gap: clamp(20px, 2.5vw, 32px);    /* mais respiro entre items com descrição */
}
.equip-list-items--desc li {
  opacity: 1;                        /* não desbota — descrição é essencial */
  display: flex;
  flex-direction: column;
  gap: 8px;
  cursor: default;
}
.equip-list-items--desc li:hover {
  transform: none;                   /* sem hover translate quando tem desc */
  color: inherit;
}
.equip-list-items--desc .equip-list-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-stretch: 125%;
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.1;
  letter-spacing: -0.005em;
  color: inherit;
}
.equip-list-items--desc .equip-list-desc {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
  opacity: 0.7;
}
/* Mobile da variante com desc: 1 coluna sempre (descrições precisam de largura) */
@media (max-width: 1024px) {
  .equip-list-items--desc { grid-template-columns: 1fr; }
}

/* Botão dentro do equip-list (Reparos clicáveis) — reseta look de botão,
   herda a tipografia editorial do li. Cursor pointer indica que abre modal. */
.equip-list-items li > button {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  letter-spacing: inherit;
  cursor: pointer;
  text-align: left;
  width: 100%;
  display: block;
  transition: inherit;
}
.equip-list-items li > button:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
  border-radius: 4px;
}

/* Variante stat — Retrofitting "+10 anos" + bullets, sem card */
.equip-stat {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: clamp(20px, 2.5vw, 32px);
  flex-wrap: wrap;
}
.equip-stat-value {
  font-family: var(--font-display);
  font-weight: 500;
  font-stretch: 125%;
  font-size: clamp(3.2rem, 5.5vw, 4.5rem);
  line-height: 1;
  color: var(--navy);
  letter-spacing: -0.02em;
}
/* Quando o "stat" é texto (ex.: "Vida útil estendida") e não um número gigante. */
.equip-stat-value--text {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  line-height: 1.05;
}
.equip-stat-unit {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--blue);
  font-weight: 700;
  max-width: 10ch;
  line-height: 1.3;
}
.equip-stat-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.equip-stat-bullets li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.equip-stat-bullets li > span[aria-hidden] {
  color: var(--blue);
  font-weight: 700;
  flex-shrink: 0;
}

/* ════════════════════════════════════════════════════════════════════
   Equipment modal — Apple-style glass popup. <dialog> nativo.
   ════════════════════════════════════════════════════════════════════ */
.equip-modal {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  max-width: 460px;
  width: calc(100% - 32px);
  padding: clamp(28px, 4vw, 40px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  box-shadow:
    0 30px 80px -20px rgba(15, 22, 50, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  color: var(--navy);
}
.equip-modal::backdrop {
  background: rgba(33, 31, 67, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.equip-modal[open] {
  animation: equip-modal-in .32s var(--ease-smooth);
}
.equip-modal[open]::backdrop {
  animation: equip-modal-backdrop-in .32s var(--ease-smooth);
}
@keyframes equip-modal-in {
  from { opacity: 0; transform: translate(-50%, -48%) scale(0.96); }
  to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
@keyframes equip-modal-backdrop-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.equip-modal-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 32px; height: 32px;
  border: none;
  background: rgba(33, 31, 67, 0.08);
  border-radius: 999px;
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1;
  color: var(--navy);
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-snap), transform var(--dur-fast) var(--ease-snap);
  display: grid;
  place-items: center;
  padding: 0;
}
.equip-modal-close:hover {
  background: rgba(33, 31, 67, 0.18);
  transform: rotate(90deg);
}
.equip-modal-close:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.equip-modal-eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}
.equip-modal-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-stretch: 125%;
  font-size: clamp(1.6rem, 3vw, 2rem);
  line-height: 1.1;
  margin: 0 0 16px;
  color: var(--navy);
}
.equip-modal-desc {
  font-family: var(--font-body);
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
}

/* ── Certificados de imersões (cultura — seção Giants) ──────────────── */
/* Gatilho sutil: miniatura + rótulo; abre o modal com os 4 certificados. */
.cert-peek {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: clamp(18px, 2.5vw, 26px);
  padding: 10px 18px 10px 10px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(33, 31, 67, 0.10);
  border-radius: var(--radius-md);
  cursor: pointer;
  box-shadow: 0 12px 30px -24px rgba(33, 31, 67, 0.55);
  transition: transform var(--dur-fast) var(--ease-snap),
              box-shadow var(--dur-fast) var(--ease-snap),
              border-color var(--dur-fast) var(--ease-snap);
}
.cert-peek:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px -22px rgba(33, 31, 67, 0.5);
  border-color: rgba(0, 130, 175, 0.4);
}
.cert-peek:focus-visible { outline: var(--focus-ring); outline-offset: 3px; }
.cert-peek-thumb {
  width: 88px;
  height: 62px;
  object-fit: cover;
  object-position: top center;
  border-radius: 8px;
  border: 1px solid rgba(33, 31, 67, 0.08);
  box-shadow: 0 4px 12px -8px rgba(33, 31, 67, 0.6);
}
.cert-peek-text { display: flex; flex-direction: column; gap: 2px; text-align: left; }
.cert-peek-title { font-family: var(--font-body); font-weight: 600; font-size: 0.9rem; color: var(--navy); }
.cert-peek-cta { font-family: var(--font-body); font-weight: 700; font-size: 0.8rem; color: var(--blue); }
.cert-peek-cta::after { content: " →"; }

/* Modal mais largo p/ os certificados (paisagem), grade 2×2 com scroll. */
.cert-modal {
  max-width: min(920px, calc(100% - 32px));
  max-height: 90vh;
  overflow-y: auto;
}
.cert-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 20px;
}
.cert-grid a {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(33, 31, 67, 0.10);
  box-shadow: 0 12px 30px -24px rgba(33, 31, 67, 0.55);
  transition: transform var(--dur-fast) var(--ease-snap);
}
.cert-grid a:hover { transform: translateY(-3px); }
.cert-grid a:focus-visible { outline: var(--focus-ring); outline-offset: 2px; }
.cert-grid img { display: block; width: 100%; height: auto; }
@media (max-width: 560px) { .cert-grid { grid-template-columns: 1fr; } }

/* ════════════════════════════════════════════════════════════════════
   MOBILE FIXES — passos corretivos do audit (≤400px e touch).
   Cobre: overflow horizontal em forms, cards de carrossel estourando,
   touch targets <44px, tipografia exagerada, modal sem fallback.
   ════════════════════════════════════════════════════════════════════ */

/* iOS: prevenir zoom automático em focus de input (acontece quando
   font-size < 16px). Aplica em TODA viewport até 720px pra cobrir
   smartphones e tablets pequenos. */
@media (max-width: 720px) {
  .field input,
  .field textarea,
  .field select { font-size: 16px; }
}

@media (max-width: 400px) {
  /* Forms — padding interno menor pra não estourar viewport apertada */
  .field input,
  .field textarea,
  .field select { padding: 11px 13px; }
  .contact-form { gap: 18px; }
  .contact-form .row { gap: 14px; grid-template-columns: 1fr; }

  /* Contact info — label não estoura, valor não comprime */
  .contact-info { padding: 22px 20px; }
  .contact-info .lbl {
    word-break: break-word;
    max-width: 100%;
    font-size: 0.7rem;
  }

  /* Service stack carousel — card ocupa quase 100% da viewport */
  .service-stack-card { flex: 0 0 calc(100vw - 56px); padding: var(--space-4); }

  /* Depoimentos — padding lateral/inferior menor em telas estreitas, mas
     mantém o topo de 60px senão o avatar (que estoura pra fora) tampa o nome. */
  .testimonial-card { padding: 60px var(--space-4) var(--space-4); }

  /* Eyebrow — tracking exagerado quebra em palavras longas */
  .eyebrow { letter-spacing: 0.10em; font-size: 0.7rem; }

  /* Modal — fallback de min-width pra não colapsar em viewports super-apertadas */
  .equip-modal { min-width: 280px; }

  /* Hero buttons — arrow menor pra caber melhor */
  .hero-actions .btn .arrow { font-size: 0.9rem; }

  /* Touch targets — garantir 44px de altura mínima onde tinha caído */
  .lang-switch button { min-height: 44px; padding: 8px 10px; }
  .nav-store .nav-store-link { min-height: 40px; padding: 8px 14px; }
}

/* ============================================================
   Botão flutuante de WhatsApp (#2)
   Fixo no canto inferior direito, em todas as páginas (via parcial).
   Cor: azul da marca (--blue) — decisão aprovada, fiel ao manual.
   ============================================================ */
.wa-float {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 150;
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  box-shadow:
    0 10px 26px -8px color-mix(in oklab, var(--blue) 60%, transparent),
    0 4px 10px rgba(0, 0, 0, 0.18);
  transition:
    transform 0.25s var(--ease-smooth),
    box-shadow 0.25s var(--ease-smooth),
    background 0.25s var(--ease-smooth);
  -webkit-tap-highlight-color: transparent;
}
.wa-float:hover {
  transform: translateY(-3px) scale(1.05);
  background: color-mix(in oklab, var(--blue) 85%, #000);
  box-shadow:
    0 16px 32px -8px color-mix(in oklab, var(--blue) 70%, transparent),
    0 6px 14px rgba(0, 0, 0, 0.2);
}
.wa-float:focus-visible {
  outline: 3px solid var(--blue-light);
  outline-offset: 3px;
}
.wa-float-icon {
  width: 32px;
  height: 32px;
}
@media (max-width: 600px) {
  .wa-float { width: 54px; height: 54px; }
  .wa-float-icon { width: 28px; height: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .wa-float,
  .wa-float:hover { transition: none; transform: none; }
}

/* ============================================================
   Selo "Aberto agora / Fechado" (#3)
   Status em tempo real do horário (Seg–Sex, 7h30–17h18).
   Cores da marca: --blue/--blue-light p/ aberto; navy suave p/ fechado.
   Começa com [hidden]; o JS remove ao calcular o status.
   ============================================================ */
.open-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 9px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
  white-space: nowrap; /* selo sempre em uma linha só */
}
.open-status[hidden] { display: none; }
.open-status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
  background: currentColor;
}
.open-status.is-open { color: var(--blue); }
.open-status.is-open .open-status-dot {
  background: var(--blue-light);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--blue-light) 22%, transparent);
}
.open-status.is-closed { color: color-mix(in oklab, var(--navy) 55%, transparent); }
.open-status.is-closed .open-status-dot {
  background: color-mix(in oklab, var(--navy) 40%, transparent);
}

/* ============================================================
   FAQ — perguntas frequentes (#4)
   Sanfona nativa <details>/<summary>: acessível, teclado-OK, sem JS.
   ============================================================ */
.section-faq .faq-head { margin-bottom: clamp(20px, 3vw, 32px); }
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  border: 1px solid color-mix(in oklab, var(--navy) 12%, transparent);
  border-radius: var(--radius-md);
  background: #fff;
  overflow: hidden;
  transition: border-color 0.2s var(--ease-smooth), box-shadow 0.2s var(--ease-smooth);
}
.faq-item[open] {
  border-color: color-mix(in oklab, var(--blue) 45%, transparent);
  box-shadow: 0 14px 32px -24px color-mix(in oklab, var(--navy) 65%, transparent);
}
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 20px;
  cursor: pointer;
  list-style: none;
  user-select: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(0.98rem, 1.4vw, 1.08rem);
  color: var(--navy);
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q:focus-visible {
  outline: 3px solid var(--blue-light);
  outline-offset: -3px;
  border-radius: var(--radius-md);
}
/* ícone +/− (vira − quando aberto) */
.faq-ic {
  position: relative;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}
.faq-ic::before,
.faq-ic::after {
  content: "";
  position: absolute;
  background: var(--blue);
  border-radius: 2px;
  transition: transform 0.25s var(--ease-smooth), opacity 0.25s var(--ease-smooth);
}
.faq-ic::before { top: 50%; left: 0; right: 0; height: 2px; transform: translateY(-50%); }
.faq-ic::after  { left: 50%; top: 0; bottom: 0; width: 2px; transform: translateX(-50%); }
.faq-item[open] .faq-ic::after { transform: translateX(-50%) scaleY(0); opacity: 0; }
.faq-a {
  padding: 0 20px 19px;
  color: var(--ink-soft);
  font-size: clamp(0.92rem, 1.2vw, 1rem);
  line-height: 1.62;
}
.faq-a p { margin: 0; }
@media (prefers-reduced-motion: reduce) {
  .faq-item, .faq-ic::before, .faq-ic::after { transition: none; }
}

/* FAQ como card branco dentro da seção shatter (Home), sobre o efeito do mouse.
   Mantém o canvas/efeito ativo; o card fica por cima (z-index do .shatter-content). */
.section-shatter .faq-card {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  text-align: left;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 38px);
  box-shadow: 0 34px 80px -44px rgba(0, 0, 0, 0.65);
}
.section-shatter .faq-card .faq-head { margin-bottom: clamp(14px, 2vw, 22px); }
.section-shatter .faq-card .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 9px;
  color: var(--blue);
}
.section-shatter .faq-card .eyebrow-mark {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
}
.section-shatter .faq-card .faq-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-stretch: 125%;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  line-height: 1.1;
  color: var(--navy);
}
/* Itens viram lista dividida (sem caixas individuais) dentro do card */
.section-shatter .faq-list { gap: 0; }
.section-shatter .faq-item {
  border: none;
  border-bottom: 1px solid color-mix(in oklab, var(--navy) 12%, transparent);
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}
.section-shatter .faq-item:last-child { border-bottom: none; }
.section-shatter .faq-item[open] { box-shadow: none; }
.section-shatter .faq-q { padding: 15px 0; }
.section-shatter .faq-a { padding: 0 0 16px; }
/* (Altura fixa + scroll interno + fade do card removidos a pedido do
   cliente: o card abraça o conteúdo — cresce/encolhe junto com a resposta,
   suavizado pela animação de altura do smoothFaq em main.js.) */

/* ============================================================
   Acessibilidade (#5) — botão fixo (canto inferior esquerdo) + painel.
   Texto maior (escala a raiz, header proporcional) e Alto contraste.
   ============================================================ */
.a11y {
  position: fixed;
  left: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 150;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.a11y-toggle {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 10px 26px -10px rgba(0, 0, 0, 0.45), 0 3px 8px rgba(0, 0, 0, 0.18);
  transition: transform 0.25s var(--ease-smooth), background 0.25s var(--ease-smooth);
  -webkit-tap-highlight-color: transparent;
}
.a11y-toggle:hover { transform: translateY(-2px); background: color-mix(in oklab, var(--navy) 88%, #000); }
.a11y-toggle:focus-visible { outline: 3px solid var(--blue-light); outline-offset: 3px; }
.a11y-toggle svg { width: 26px; height: 26px; }
.a11y-panel {
  min-width: 200px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #fff;
  border: 1px solid color-mix(in oklab, var(--navy) 12%, transparent);
  border-radius: var(--radius-md);
  box-shadow: 0 18px 44px -22px rgba(33, 31, 67, 0.5);
}
.a11y-panel[hidden] { display: none; }
.a11y-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 2px;
}
.a11y-panel-title {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.a11y-close {
  flex: none;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background 0.15s var(--ease-smooth), color 0.15s var(--ease-smooth);
}
.a11y-close:hover { background: color-mix(in oklab, var(--navy) 8%, #fff); color: var(--navy); }
.a11y-close:focus-visible { outline: 3px solid var(--blue-light); outline-offset: 2px; }
.a11y-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid color-mix(in oklab, var(--navy) 12%, transparent);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--navy);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s var(--ease-smooth), border-color 0.15s var(--ease-smooth);
}
.a11y-opt:hover { background: color-mix(in oklab, var(--blue) 6%, #fff); }
.a11y-opt:focus-visible { outline: 3px solid var(--blue-light); outline-offset: 2px; }
.a11y-opt.is-on {
  border-color: var(--blue);
  background: color-mix(in oklab, var(--blue) 10%, #fff);
  color: var(--blue);
}
.a11y-opt-ic {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  font-weight: 700;
  font-size: 0.95rem;
}
.a11y-opt-ic sup { font-size: 0.6em; }
@media (max-width: 600px) {
  .a11y-toggle { width: 48px; height: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  .a11y-toggle { transition: none; }
}

/* Texto maior: escala a raiz e sobe a altura do header junto (topo não quebra).
   No celular o aumento é mais suave (evita desproporção no hero/cards). */
html.a11y-big { font-size: 112.5%; --header-h: 92px; }
@media (max-width: 720px) {
  html.a11y-big { font-size: 108%; --header-h: 86px; }
}

/* Cores oficiais do Google por letra (eyebrow "· GOOGLE" dos depoimentos). */
.gc-b { color: #4285F4; }   /* azul     */
.gc-r { color: #EA4335; }   /* vermelho */
.gc-y { color: #FBBC05; }   /* amarelo  */
.gc-g { color: #34A853; }   /* verde    */

/* Alto contraste — reforça a LEGIBILIDADE mantendo a identidade (navy/azul/ice):
   texto secundário no tom cheio, bordas mais visíveis, links sublinhados e foco
   grosso. NÃO vira preto-e-branco e NÃO mexe na foto do hero. */
html.a11y-contrast {
  --ink-soft: var(--navy);          /* corpo "suave" → navy cheio */
  --muted: var(--navy);             /* legendas, eyebrows e hints → navy cheio */
  --blue: var(--blue-deep);         /* azul um tom mais escuro (AA ~6:1), mesma família */
  --line: rgba(33, 31, 67, 0.55);   /* divisórias/bordas mais presentes */
}
/* Campos: borda navy de 2px (mais firme, sem virar preto) */
html.a11y-contrast input,
html.a11y-contrast select,
html.a11y-contrast textarea {
  border-width: 2px;
  border-color: var(--navy);
}
/* Cards em fundo claro: contorno mais firme pra separar do fundo */
html.a11y-contrast .service-stack-card,
html.a11y-contrast .contact-info,
html.a11y-contrast .quote-form {
  border: 1.5px solid rgba(33, 31, 67, 0.55);
}
/* Links de texto sublinhados (conteúdo + rodapé) */
html.a11y-contrast main p a,
html.a11y-contrast main li a,
html.a11y-contrast main .lead a,
html.a11y-contrast .faq-a a,
html.a11y-contrast .contact-info .item .val a,
html.a11y-contrast .footer a { text-decoration: underline; text-underline-offset: 2px; }
/* Foco bem visível */
html.a11y-contrast :focus-visible { outline-width: 4px; }

/* (1A) Contraste AA nos links de TEXTO que se leem (azul um tom mais escuro,
   ~6:1) — sem mexer no azul de botões, títulos grandes e detalhes da marca. */
.page-hero .lead a,
.section:not(.section-navy) p a,
.section:not(.section-navy) li a,
.faq-a a,
.contact-info .item .val a { color: var(--blue-deep); }

/* (WCAG 2.2) Alvo focado/ancorado não fica escondido atrás do header fixo. */
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

