/* ==========================================================================
   DAD STEEL — Design System
   Fonte única de verdade de estilo do site inteiro.
   Nenhuma página deve declarar CSS próprio. Se um estilo é necessário,
   ele entra aqui como token ou componente.

   Índice:
   01. Tokens
   02. Reset e base
   03. Layout (container, seção)
   04. Tipografia
   05. Utilitários
   06. Navegação
   07. Botões
   08. Home — Bloco 1 · Impacto
   09. Home — Bloco 2 · Prova
   10. Home — Bloco 3 · Entendimento
   11. Home — Bloco 4 · Método
   12. Home — Bloco 5 · Presença local
   13. Home — Bloco 6 · Objeções
   14. Home — Bloco 7 · Conversão
   16. Faixa de CTA (páginas internas)
   17. Páginas internas (hero, artigo, fact-box, cards, relacionados)
   18. Rodapé
   19. Preferências de movimento
   20. Página de links (/links)
   ========================================================================== */

/* Fontes hospedadas no próprio domínio (subset latin: cobre o português).
   Sem pedido ao Google Fonts: menos conexões, melhor LCP e sem rastreio de terceiros. */
@font-face{font-family:'Archivo';font-style:normal;font-weight:500 900;font-display:swap;
  src:url(/fonts/archivo-latin.woff2) format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'IBM Plex Sans';font-style:normal;font-weight:400 700;font-display:swap;
  src:url(/fonts/plex-sans-latin.woff2) format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:400;font-display:swap;
  src:url(/fonts/plex-mono-400-latin.woff2) format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:500;font-display:swap;
  src:url(/fonts/plex-mono-500-latin.woff2) format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

/* ==========================================================================
   01. TOKENS
   ========================================================================== */
:root{
  /* Cor — superfícies */
  --bg:            #15191B;
  --panel:         #1D2326;
  --panel-soft:    #262D30;

  /* Cor — marca */
  --rust:          #E94904;   /* laranja oficial da logo */
  --rust-deep:     #B63903;   /* hover, derivado do --rust */
  --spark:         #F2A93C;

  /* Cor — texto */
  --ink:           #F5F3EE;
  --ink-body:      rgba(245, 243, 238, 0.78);
  --ink-soft:      rgba(245, 243, 238, 0.64);
  --ink-mute:      rgba(245, 243, 238, 0.42);

  /* Cor — traços */
  --line:          rgba(245, 243, 238, 0.12);
  --line-strong:   rgba(245, 243, 238, 0.22);

  /* Tipografia */
  --font-title:    'Archivo', system-ui, sans-serif;
  --font-body:     'IBM Plex Sans', system-ui, sans-serif;
  --font-mono:     'IBM Plex Mono', ui-monospace, monospace;

  --fs-display:    clamp(42px, 6vw, 76px);
  --fs-h1:         clamp(32px, 4.6vw, 52px);
  --fs-h2:         clamp(28px, 3.6vw, 42px);
  --fs-h3:         19px;
  --fs-lede:       17px;
  --fs-body:       16px;
  --fs-sm:         14px;
  --fs-xs:         12.5px;
  --fs-label:      11.5px;

  /* Espaçamento */
  --s-1:  4px;
  --s-2:  8px;
  --s-3:  12px;
  --s-4:  16px;
  --s-5:  24px;
  --s-6:  32px;
  --s-7:  48px;
  --s-8:  64px;
  --s-9:  96px;
  --section-y: clamp(72px, 9vw, 108px);

  /* Container e grid
     --container é a largura de CONTEÚDO, não a largura externa.
     1224 = (12 × 80) + (11 × 24) — coluna de 80px inteira, para que
     qualquer span do grid caia em número redondo e nenhuma borda de
     imagem fique em meio pixel. Ver docs/HOME-DESIGN-SPEC.md §1.6. */
  --container:        1224px;  /* seções largas / home */
  --container-mid:    1040px;  /* grades de card */
  --container-narrow: 760px;   /* leitura de artigo */
  --gutter:           24px;    /* também é o gutter entre colunas */

  /* Raio */
  --r-sm:   12px;
  --r-md:   16px;
  --r-lg:   20px;
  --r-pill: 999px;

  /* Sombra */
  --shadow-nav:  0 10px 34px rgba(0, 0, 0, 0.35);
  --shadow-card: 0 18px 40px rgba(0, 0, 0, 0.35);
  --shadow-cta:  0 10px 24px rgba(233, 73, 4, 0.4);

  /* Movimento */
  --ease:       cubic-bezier(0.2, 0.7, 0.2, 1);
  --t-fast:     0.2s ease;
  --t-base:     0.3s ease;
  --t-reveal:   0.7s var(--ease);

  /* Altura do nav suspenso — usada para offset de âncora */
  --nav-offset: 132px;
}

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

html{
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-offset);
  -webkit-text-size-adjust: 100%;
}

body{
  /* --hw = largura de CONTEÚDO do container neste viewport. Serve para
     derivar spans do grid em elementos que não são filhos de .grid12.
     Precisa ser 100vw, e não 100%: custom property é substituída no ponto
     de USO, então um 100% aqui resolveria contra o bloco pai de cada
     elemento e o valor encolheria a cada nível aninhado. */
  --hw: min(var(--container), 100vw - var(--gutter) * 2);
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, video{ max-width: 100%; display: block; }
a{ color: inherit; }
button{ font: inherit; }

::selection{ background: rgba(233, 73, 4, 0.35); color: #fff; }

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

/* ==========================================================================
   03. LAYOUT
   ========================================================================== */
/* O max-width soma o gutter dos dois lados para que a largura de conteúdo
   seja exatamente --container (1224px) e o grid de 12 feche em 80px/coluna. */
.wrap{
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--mid{    max-width: calc(var(--container-mid) + var(--gutter) * 2); }
.wrap--narrow{ max-width: var(--container-narrow); }

section{ padding-block: var(--section-y); }

.section--panel{ background: var(--panel); }

/* Grid de 12 colunas.
   Breakpoints de implementação (docs/HOME-DESIGN-SPEC.md §1.6):
   1024 → 12 para 8 colunas
    768 → 8 para 4 colunas, nav vira menu
    560 → composições internas colapsam
    400 → ajuste fino do display
   Não confundir com os frames de QA (390/768/1440/1920/2560). */
.grid12{
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gutter);
}

/* Respiro extra nas duas pausas de ritmo da home (antes de Entendimento e
   antes de Presença local). Ver HOME-DESIGN-SPEC.md §1.3. */
.section--breathe{ padding-top: calc(var(--section-y) + var(--s-9)); }

@media (max-width: 1023.98px){
  .grid12{ grid-template-columns: repeat(8, minmax(0, 1fr)); }
}
@media (max-width: 767.98px){
  .grid12{ grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .section--breathe{ padding-top: calc(var(--section-y) + var(--s-7)); }
}

/* ==========================================================================
   04. TIPOGRAFIA
   ========================================================================== */
h1, h2, h3{
  font-family: var(--font-title);
  font-weight: 900;
  margin: 0;
  line-height: 1.06;
  letter-spacing: -0.01em;
  text-wrap: balance;
  color: var(--ink);
}
h1{ font-size: var(--fs-h1); }
h2{ font-size: var(--fs-h2); }
h3{ font-size: var(--fs-h3); line-height: 1.3; }

p{ margin: 0; }

em{ font-style: normal; color: var(--rust); }

.lede{
  font-size: var(--fs-lede);
  color: var(--ink-body);
  max-width: 62ch;
  margin-top: var(--s-5);
}

.kicker{
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--spark);
  margin-bottom: var(--s-3);
}

.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--spark);
  background: rgba(242, 169, 60, 0.1);
  border: 1px solid rgba(242, 169, 60, 0.3);
  padding: 6px 14px;
  border-radius: var(--r-pill);
  margin-bottom: var(--s-5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.section-head{
  max-width: 620px;
  margin: 0 0 var(--s-7);
}
.section-head--center{
  text-align: center;
  margin-inline: auto;
}
.section-head p{
  color: var(--ink-soft);
  margin-top: var(--s-4);
}

/* ==========================================================================
   05. UTILITÁRIOS
   ========================================================================== */

/* Reveal no scroll. O estado oculto só existe quando o JS está ativo,
   para que o conteúdo nunca fique invisível se o script falhar. */
.js .fade-up{
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--t-reveal), transform var(--t-reveal);
}
.js .fade-up.is-visible{
  opacity: 1;
  transform: none;
}

/* Chip de dado ainda não confirmado pelo cliente. Nunca apresentar
   informação não confirmada como fato — marcar com este chip. */
.pending{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  vertical-align: middle;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--spark);
  border: 1px dashed rgba(242, 169, 60, 0.45);
  background: rgba(242, 169, 60, 0.08);
  padding: 3px 10px 3px 8px;
  border-radius: var(--r-pill);
  cursor: help;
  white-space: nowrap;
}
.pending::before{
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--spark);
  flex: none;
}

.mono{ font-family: var(--font-mono); }

.skip-link{
  position: fixed;
  top: -100px;
  left: var(--s-4);
  z-index: 300;
  padding: var(--s-3) var(--s-5);
  background: var(--panel);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  text-decoration: none;
  transition: top var(--t-fast);
}
.skip-link:focus{ top: var(--s-3); }

.sr-only{
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ==========================================================================
   06. NAVEGAÇÃO
   Padrão fixo do estúdio: pill flutuante com blur, nunca barra colada no topo.
   ========================================================================== */
.nav{
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 10px 14px 10px 18px;
  background: rgba(21, 25, 27, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(245, 243, 238, 0.1);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-nav);
  max-width: calc(100vw - var(--gutter));
  transition: background var(--t-base);
}
/* Depois do scroll só o contraste do fundo sobe. Nada de encolher,
   trocar de forma ou sumir. Ver HOME-DESIGN-SPEC.md §10.2. */
.nav.is-scrolled{ background: rgba(21, 25, 27, 0.88); }

.nav-brand{
  display: flex;
  align-items: center;
  flex: none;
  min-height: 44px;
  text-decoration: none;
}
/* A logo é um SVG de proporção 591/169. A altura manda; a largura segue. */
.nav-brand picture{ display: block; width: 133px; flex: none; }
.nav-brand img{
  display: block;
  height: 38px;
  width: 133px;
  max-width: 100%;
  object-fit: contain;
}

.nav-links{
  display: flex;
  gap: 20px;
  font-size: 13.5px;
  font-weight: 500;
}
.nav-links a{
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-bottom: 2px;
  white-space: nowrap;   /* link de navegação nunca quebra em duas linhas */
  text-decoration: none;
  color: var(--ink-soft);
  transition: color var(--t-fast);
}
.nav-links a::after{
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: 10px;
  height: 1.5px;
  background: var(--rust);
  transition: right 0.25s ease;
}
.nav-links a:hover{ color: var(--ink); }
.nav-links a:hover::after{ right: 0; }

.nav-cta{
  background: var(--rust);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 11px 18px;
  border-radius: var(--r-pill);
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
}
.nav-cta:hover{
  background: var(--rust-deep);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(233, 73, 4, 0.4);
}

.nav-toggle{
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  flex: none;
}

/* Em 1024 a pill fica no limite: aperta o respiro antes de deixar o
   rótulo esbarrar no CTA. */
@media (max-width: 1099.98px){
  .nav{ gap: 18px; }
  .nav-links{ gap: 14px; font-size: 13px; }
}
@media (max-width: 767.98px){
  .nav{ gap: var(--s-2); padding: 8px 10px 8px 14px; }
  /* Na barra mobile ficam só a marca e o hambúrguer. O CTA continua
     alcançável no hero e no bloco de conversão. */
  .nav-cta{ display: none; }
  .nav-brand img{ height: 32px; }
  .nav-cta{ padding: 11px 14px; font-size: 12px; }
  .nav-toggle{ display: block; }
  .nav .nav-links{
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    padding: var(--s-3) var(--s-5);
    background: rgba(29, 35, 38, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-card);
  }
  .nav.is-open .nav-links{ display: flex; }
}
@media (max-width: 399.98px){
  /* só o símbolo (ver <picture> na marcação): 143/169 de proporção */
  .nav-brand img{ height: 34px; }
}

/* ==========================================================================
   07. BOTÕES
   ========================================================================== */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  font-weight: 700;
  font-size: 14.5px;
  padding: 16px 28px;
  min-height: 48px;
  border: 1.5px solid transparent;
  border-radius: var(--r-pill);
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--t-fast), box-shadow var(--t-fast),
              background var(--t-fast), border-color var(--t-fast);
}
.btn-primary{ background: var(--rust); color: #fff; }
.btn-primary:hover{
  background: var(--rust-deep);
  transform: translateY(-2px);
  box-shadow: var(--shadow-cta);
}
.btn-ghost{
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover{
  border-color: var(--ink);
  transform: translateY(-2px);
}
/* CTA de WhatsApp ainda sem número configurado — ver assets/js/dad-steel.js */
.btn.is-pending{
  border-style: dashed;
  border-color: rgba(242, 169, 60, 0.6);
  background: rgba(242, 169, 60, 0.1);
  color: var(--spark);
  cursor: not-allowed;
}
.btn.is-pending:hover{ transform: none; box-shadow: none; }

.btn-row{
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-top: var(--s-6);
}

/* ==========================================================================
   08. HOME — BLOCO 1 · IMPACTO
   Texto à esquerda sobre gradiente localizado, imagem dominante à direita.
   A foto é fundo da dobra inteira, mas só a faixa esquerda é escurecida —
   a estrutura continua legível. Sem card, sem 100vh obrigatório.
   ========================================================================== */
.hero{
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  /* A altura vem do conteúdo. O teto evita vazio artificial em monitor
     grande; o piso garante presença em notebook baixo. */
  min-height: clamp(640px, 80vh, 880px);
  padding-top: 196px;              /* --s-9 ×2 + altura da nav suspensa */
  padding-bottom: var(--s-8);
  background: var(--bg);
  overflow: hidden;
}

.hero-media{ position: absolute; inset: 0; z-index: -2; }
.hero-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Em toda largura de desktop a caixa é mais larga que 16:9, então o
     corte é só vertical — o X não tem efeito. 32% mantém o topo da
     estrutura dentro do quadro até 2560; com 52% ele era decepado. */
  object-position: 50% 32%;
}
/* Scrim só no topo: dá contraste para a nav suspensa sem escurecer a
   foto inteira. Morre antes de chegar na estrutura. */
.hero-media::after{
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(11, 14, 15, 0.62) 0%,
    rgba(11, 14, 15, 0.2) 18%,
    rgba(11, 14, 15, 0) 38%);
}

/* Gradiente localizado na área do texto. O ângulo de 97° acompanha a
   diagonal da obra, então a transição cai no céu e não sobre o aço. */
.hero::before{
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  /* Paradas ancoradas na coluna de texto, não em porcentagem do viewport:
     com porcentagem, em 2560 o escuro cobria 40% da foto sem precisar.
     Assim a transição sempre termina logo depois do fim do texto. */
  background: linear-gradient(97deg,
    rgba(11, 14, 15, 0.94) 0,
    rgba(11, 14, 15, 0.92) calc(50% - var(--hw) / 2 + 300px),
    rgba(11, 14, 15, 0.7)  calc(50% - var(--hw) / 2 + 640px),
    rgba(11, 14, 15, 0.28) calc(50% - var(--hw) / 2 + 880px),
    rgba(11, 14, 15, 0)    calc(50% - var(--hw) / 2 + 1120px));
}
/* Fecha a base na cor do bloco seguinte: sem emenda dura entre a foto
   e a seção de Prova. */
.hero::after{
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 200px;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(29, 35, 38, 0), var(--panel));
}

.hero-copy{ max-width: calc(var(--hw) / 2 - 12px); }   /* col 1–6 */

.hero-kicker{
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--spark);
  margin-bottom: var(--s-5);
}
.hero h1{
  font-size: clamp(42px, 4.4vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: #fff;
  /* as quebras vêm dos <br> da marcação, não do balanceamento automático */
  text-wrap: wrap;
}
.hero h1 em{ color: #FF753E; }

.hero-lede{
  max-width: calc(var(--hw) * 5 / 12 - 14px);          /* col 1–5 */
  margin-top: var(--s-5);
  font-size: var(--fs-lede);
  line-height: 1.6;
  color: rgba(245, 243, 238, 0.8);
}

.hero-actions{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-5);
  margin-top: var(--s-7);
}
/* Secundário como link sublinhado, não segundo botão: dois botões lado a
   lado no hero é a assinatura de landing de SaaS. */
.hero-secondary{
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: 12px 2px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid rgba(245, 243, 238, 0.28);
  transition: color var(--t-fast), border-color var(--t-fast);
}
.hero-secondary svg{ width: 15px; height: 15px; transition: transform var(--t-fast); }
.hero-secondary:hover{ color: var(--spark); border-color: var(--spark); }
.hero-secondary:hover svg{ transform: translateX(3px); }

/* Prova rápida: faixa de três itens presa ao filete, não três cards. */
.hero-proof{
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4) var(--s-6);
  margin: var(--s-8) 0 0;
  padding: var(--s-5) 0 0;
  list-style: none;
  border-top: 1px solid rgba(245, 243, 238, 0.16);
}
/* --fs-label, não --fs-xs: em 12.5px os três itens somam 623px e quebram
   na coluna de 600. Em 11.5px cabem na mesma linha — e "discreto" é
   justamente o que a faixa precisa ser. */
.hero-proof li{
  display: flex;
  align-items: center;
  gap: var(--s-2);
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(245, 243, 238, 0.72);
}
.hero-proof svg{
  width: 15px;
  height: 15px;
  flex: none;
  color: var(--rust);
  transition: color var(--t-fast), transform var(--t-fast);
}
.hero-proof li:hover svg{ color: var(--spark); transform: translateY(-2px); }

/* Entrada do texto. Animação CSS pura, sem depender de JS — o conteúdo
   aparece mesmo com script desligado. Silenciada em reduced-motion. */
@media (prefers-reduced-motion: no-preference){
  .hero-copy > *{ animation: hero-in 0.7s var(--ease) both; }
  .hero-copy > *:nth-child(2){ animation-delay: 0.06s; }
  .hero-copy > *:nth-child(3){ animation-delay: 0.12s; }
  .hero-copy > *:nth-child(4){ animation-delay: 0.18s; }
  .hero-copy > *:nth-child(5){ animation-delay: 0.24s; }
}
@keyframes hero-in{
  from{ opacity: 0; transform: translateY(14px); }
  to{ opacity: 1; transform: none; }
}

/* Tablet e celular: texto compacto, seguido da obra em largura total. */
@media (max-width: 1023.98px){
  .hero{ flex-direction: column; align-items: stretch; min-height: 0; padding: 132px 0 0; }
  .hero::before, .hero::after, .hero-media::after{ display: none; }
  .hero-media{ position: relative; inset: auto; order: 2; margin-top: 32px; z-index: 0; }
  .hero-media img{ height: clamp(280px, 44vw, 440px); object-position: 60% 45%; }
  .hero-copy, .hero-lede, .hero-proof{ max-width: none; }
  .hero h1{ font-size: clamp(42px, 6vw, 60px); }
  .hero-lede{ max-width: 56ch; }
  .hero-actions{ margin-top: 28px; }
  .hero-proof{ margin-top: 28px; gap: 12px 24px; }
}
@media (max-width: 767.98px){
  .nav{ top: 12px; width: calc(100% - 32px); max-width: 480px; justify-content: space-between; border-radius: 16px; }
  .nav-brand picture{ width: 112px; }
  .nav-brand img{ height: 32px; width: 112px; }
  .nav .nav-links{ max-height: calc(100dvh - 100px); overflow-y: auto; padding: 12px 20px; }
  .nav-links a{ padding-block: 14px; }
  .hero{ padding-top: 270px; padding-bottom: 32px; }
  .hero-kicker{ font-size: 10px; letter-spacing: .1em; margin-bottom: 18px; }
  .hero h1{ font-size: clamp(34px, 9.4vw, 48px); line-height: 1.06; letter-spacing: -.035em; }
  .hero-lede{ font-size: 16px; line-height: 1.55; margin-top: 20px; }
  .hero-actions{ gap: 12px; margin-top: 24px; }
  .hero .btn-primary{ width: 100%; min-height: 52px; padding-inline: 16px; }
  .hero-secondary{ justify-content: center; margin-inline: auto; padding: 10px 0; }
  .hero-proof{ flex-direction: row; gap: 10px 16px; margin-top: 20px; padding-top: 16px; }
  .hero-proof li{ font-size: 9px; letter-spacing: .02em; gap: 6px; }
  .hero-proof svg{ width: 13px; height: 13px; }
  .hero-media{ position: absolute; inset: 0 0 auto; height: 340px; margin: 0; z-index: -1; }
  .hero-media img{ height: 100%; aspect-ratio: auto; object-position: 85% 42%; }
  .hero-media::after{ display: block; background: linear-gradient(180deg, rgba(21,25,27,.15) 35%, rgba(21,25,27,.5) 67%, var(--bg) 100%); }
  .hero h1{ font-size: clamp(34px, 9.4vw, 44px); }
  .hero-proof{ margin-top: 16px; }

  .proof-intro h2{ font-size: clamp(28px, 8vw, 36px); }
}

/* ==========================================================================
   09. HOME — BLOCO 2 · PROVA
   Mosaico de 5 obras + bloco de texto, em duas fileiras do grid de 12.
   As alturas das fileiras são derivadas do próprio grid, não fixadas em px,
   então a composição mantém a proporção em qualquer largura de container.
   ========================================================================== */
.proof{
  /* fileira 1 = largura de 7 col × 2/3 (foto 3:2) · fileira 2 = largura de 5 col (foto 1:1) */
  grid-template-rows:
    calc((var(--hw) * 7 / 12 - 10px) * 2 / 3)
    calc(var(--hw) * 5 / 12 - 14px);
}

.proof-intro{ grid-column: 1 / 6; align-self: center; }
/* --fs-h2 cheio (42px) joga "Steel frame executado," em duas linhas dentro
   da coluna de 496px. 38px fecha nas duas linhas da referência. */
.proof-intro h2{ font-size: clamp(30px, 2.7vw, 38px); line-height: 1.04; }
.proof-lede{
  margin-top: var(--s-5);
  max-width: 46ch;
  color: var(--ink-body);
}
.proof-actions{
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-top: var(--s-7);
}

/* Filete antes do rótulo, como na referência aprovada. */
.kicker--rule{ display: flex; align-items: center; gap: var(--s-3); }
.kicker--rule::before{
  content: '';
  flex: none;
  width: 34px;
  height: 2px;
  background: var(--rust);
}

/* Selo circular à direita do rótulo do botão. */
.btn-icon{
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition: transform var(--t-fast);
}
.btn-ghost .btn-icon{ background: rgba(245, 243, 238, 0.12); }
.btn-icon svg{ width: 13px; height: 13px; }
.btn:hover .btn-icon{ transform: translateX(2px); }
.proof-actions .btn{ padding-right: 10px; }

.proof-shot{
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.proof-shot img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.96);
  transition: transform 0.6s var(--ease), filter var(--t-base);
}
.proof-shot:hover img{ transform: scale(1.03); filter: saturate(1.04); }

/* Enquadramento por slot: as fontes são 4:3 e 4:5, e cada caixa do mosaico
   pede uma proporção diferente. Sem isto o corte come o assunto. */
.proof-shot--hero img{ object-position: 50% 45%; }
.proof-shot--a img{ object-position: 50% 38%; }
.proof-stack .proof-shot:first-child img{ object-position: 50% 52%; }
.proof-stack .proof-shot:last-child img{ object-position: 50% 46%; }
.proof-shot--b img{ object-position: 42% 50%; }

/* Legenda sobre a foto, presa na base, com filete de marca acima. */
.proof-shot figcaption{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: var(--s-8) var(--s-5) var(--s-5);
  background: linear-gradient(180deg,
    rgba(11, 14, 15, 0) 0%,
    rgba(11, 14, 15, 0.55) 45%,
    rgba(11, 14, 15, 0.88) 100%);
  pointer-events: none;
}
.proof-shot figcaption::before{
  content: '';
  display: block;
  width: 22px;
  height: 2px;
  margin-bottom: var(--s-3);
  background: var(--rust);
}
.proof-shot figcaption b{
  display: block;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.25;
  color: #fff;
}
.proof-shot figcaption span{
  display: block;
  margin-top: 3px;
  font-size: 12.5px;
  color: rgba(245, 243, 238, 0.72);
}

.proof-shot--hero{ grid-column: 6 / -1; }
.proof-shot--a{ grid-column: 1 / 6; }
.proof-shot--b{ grid-column: 10 / -1; }
.proof-stack{
  grid-column: 6 / 10;
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: var(--gutter);
  min-height: 0;
}
.proof-stack .proof-shot{ min-height: 0; }

@media (max-width: 1023.98px){
  /* Grid de 8: o texto ocupa a largura toda e o mosaico se reorganiza em
     três fileiras. Apertar as cinco fotos em 8 colunas deixaria a terceira
     com 150px; e a coluna do meio, ao lado da quadrada, esticava para o
     dobro da altura dela. Fileiras e colunas passam a ser explícitas. */
  .proof{ grid-template-rows: none; }
  .proof-intro{ grid-column: 1 / -1; grid-row: 1; }
  .proof-shot--hero{ grid-column: 1 / -1; grid-row: 2; aspect-ratio: 3 / 2; }
  .proof-shot--a{ grid-column: 1 / 5; grid-row: 3; aspect-ratio: 1 / 1; }
  .proof-shot--b{ grid-column: 5 / -1; grid-row: 3; aspect-ratio: 1 / 1; }
  .proof-stack{
    grid-column: 1 / -1;
    grid-row: 4;
    grid-template-rows: none;
    grid-template-columns: 1fr 1fr;
  }
  .proof-stack .proof-shot{ aspect-ratio: 16 / 9; }
  .proof-lede{ max-width: 62ch; }
}
@media (max-width: 767.98px){
  /* Empilha inteiro, cada foto com a proporção que melhor mostra o assunto. */
  .proof{ grid-template-rows: none; gap: var(--s-5); }
  .proof-intro,
  .proof-shot--hero,
  .proof-shot--a,
  .proof-stack,
  .proof-shot--b{ grid-column: 1 / -1; grid-row: auto; }
  .proof-shot--hero{ aspect-ratio: 3 / 2; }
  .proof-shot--a{ aspect-ratio: 4 / 3; }
  .proof-stack{ grid-template-rows: none; grid-template-columns: 1fr; gap: var(--s-5); }
  .proof-stack .proof-shot{ aspect-ratio: 16 / 9; }
  .proof-shot--b{ aspect-ratio: 4 / 3; }
  .proof-actions .btn{ width: 100%; justify-content: space-between; }
}

/* ==========================================================================
   10. HOME — BLOCO 3 · ENTENDIMENTO
   Render 3D do corte de parede (col 1–7) com cinco chamadas posicionadas
   sobre ele, + coluna de leitura (col 8–12).
   O render representa o sistema Light Steel Frame, não uma obra da Dad Steel.
   ========================================================================== */
.system{ position: relative; overflow: hidden; }
/* Malha técnica e brilho quente na base, como na direção aprovada.
   Ambos decorativos e muito discretos — não competem com o render. */
.system::before{
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(90deg, rgba(245,243,238,0.028) 0 1px, transparent 1px 88px),
    repeating-linear-gradient(0deg,  rgba(245,243,238,0.028) 0 1px, transparent 1px 88px);
  mask-image: radial-gradient(120% 90% at 50% 40%, #000 30%, transparent 78%);
}
.system::after{
  content: '';
  position: absolute;
  left: -8%;
  bottom: -18%;
  width: 52%;
  height: 58%;
  pointer-events: none;
  background: radial-gradient(closest-side, rgba(194,78,34,0.2), transparent 72%);
}
.system > .wrap{ position: relative; z-index: 1; }

.system-grid{ align-items: center; }
.system-visual{ grid-column: 1 / 8; }
.system-copy{ grid-column: 8 / -1; }
.system-visual > .kicker{ margin-bottom: var(--s-5); }
/* Um rótulo por coluna ficaria repetido lado a lado no desktop. */
.system-copy > .kicker{ display: none; }

/* ----- render + chamadas ----- */
/* A caixa é maior que o render de propósito: sem margem em volta, as cinco
   chamadas caem em cima da imagem e viram texto ilegível. O render ocupa
   68% da largura a partir de 4%/20%, deixando faixa livre em cima (1,2,3),
   embaixo (4) e à direita (5). As coordenadas dos pontos são da CAIXA, já
   convertidas a partir das coordenadas da imagem. */
.wall{
  position: relative;
  aspect-ratio: 704 / 926;
}
.wall-render{
  position: absolute;
  left: 4%;
  top: 23%;
  width: 68%;
  height: auto;
}
.wall-leads{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.wall-tags{
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.wall-tag{ position: static; }
/* Marcador em anel, não ponto cheio: o furo deixa ver a camada embaixo. */
.wall-dot{
  position: absolute;
  left: var(--dx);
  top: var(--dy);
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border-radius: 50%;
  border: 4px solid var(--rust);
  background: rgba(233, 73, 4, 0.14);
  box-shadow: 0 0 14px rgba(233, 73, 4, 0.45);
}
.wall-box{
  position: absolute;
  left: var(--bx);
  top: var(--bt);
  width: 168px;
  max-width: 24%;
}
.wall-box b{
  display: block;
  font-family: var(--font-title);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
}
.wall-box i{ font-style: normal; color: var(--rust); }
.wall-box > span{
  display: block;
  margin-top: var(--s-3);
  font-size: 15px;
  line-height: 1.5;
  color: rgba(245, 243, 238, 0.6);
}

/* ----- faixa "sistema completo" ----- */
.system-strip{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-5) var(--s-7);
  margin-top: var(--s-6);
  padding: var(--s-5) var(--s-6);
  background: rgba(38, 45, 48, 0.6);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.system-strip-lead{
  display: flex;
  align-items: center;
  gap: var(--s-4);
  flex: 1 1 260px;
}
.system-strip-icon{
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: var(--r-sm);
  background: rgba(233, 73, 4, 0.14);
  color: var(--rust);
}
.system-strip-icon svg{ width: 21px; height: 21px; }
.system-strip-lead b{
  display: block;
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
}
.system-strip-lead span span{
  display: block;
  margin-top: 3px;
  font-size: var(--fs-sm);
  color: var(--ink-soft);
}
.system-strip-list{
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-5) var(--s-6);
  margin: 0;
  padding: 0;
  list-style: none;
}
.system-strip-list li{
  display: flex;
  align-items: center;
  gap: var(--s-2);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.system-strip-list svg{ width: 16px; height: 16px; color: var(--rust); flex: none; }

/* ----- coluna de leitura ----- */
.system-copy h2{ font-size: clamp(30px, 2.9vw, 40px); line-height: 1.04; }
.system-lede{
  margin-top: var(--s-5);
  font-size: var(--fs-lede);
  line-height: 1.6;
  color: var(--ink-body);
}
.system-facts{
  margin: var(--s-7) 0 0;
  padding: 0;
  list-style: none;
}
.system-facts li + li{ border-top: 1px solid var(--line); }
.system-facts a{
  display: flex;
  align-items: center;
  gap: var(--s-4);
  padding: var(--s-5) 0;
  text-decoration: none;
  transition: gap var(--t-fast);
}
.system-fact-icon{
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: var(--r-sm);
  background: var(--panel-soft);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  transition: color var(--t-fast), border-color var(--t-fast);
}
.system-fact-icon svg{ width: 22px; height: 22px; }
.system-fact-text{ flex: 1 1 auto; }
.system-fact-text b{
  display: block;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
}
.system-fact-text span{
  display: block;
  margin-top: 4px;
  font-size: var(--fs-sm);
  line-height: 1.5;
  color: var(--ink-soft);
}
.system-fact-arrow{
  flex: none;
  width: 18px;
  height: 18px;
  color: var(--rust);
  transition: transform var(--t-fast);
}
.system-facts a:hover .system-fact-icon{ color: var(--rust); border-color: rgba(233, 73, 4, 0.45); }
.system-facts a:hover .system-fact-arrow{ transform: translateX(4px); }

@media (max-width: 1023.98px){
  /* Render em cima, leitura embaixo. As chamadas continuam sobre a imagem:
     em 768 a caixa do render tem 720px e os rótulos ainda cabem. */
  .system-visual{ grid-column: 1 / -1; }
  .system-copy{ grid-column: 1 / -1; margin-top: var(--s-8); }
  .system-copy > .kicker{ display: flex; }
  .system-visual > .kicker{ display: none; }
}
@media (max-width: 767.98px){
  /* Abaixo de 768 os rótulos de 152px se sobrepõem sobre a imagem, então
     as chamadas saem de cima do render e viram lista numerada embaixo. */
  /* A lista passa a ocupar fluxo dentro de .wall, então a proporção fixa
     sobraria como espaço vazio. */
  .wall{ aspect-ratio: auto; }
  .wall-render{ position: static; width: 100%; }
  .wall-leads,
  .wall-dot{ display: none; }
  .wall-tags{
    position: static;
    display: grid;
    gap: var(--s-4);
    margin-top: var(--s-6);
  }
  .wall-tag{ position: static; }
  .wall-box{
    position: static;
    width: auto;
    max-width: none;
    padding-top: var(--s-3);
    border-top: 1px solid var(--line);
  }
  .system-strip{ gap: var(--s-5); }
  .system-facts a{ gap: var(--s-3); }
  .system-fact-icon{ width: 44px; height: 44px; }
  .system-fact-icon svg{ width: 19px; height: 19px; }
}

/* ==========================================================================
   11. HOME — BLOCO 4 · MÉTODO (etapas presas ao scroll)
   A mesma obra fotografada em quatro estágios: o prédio se constrói
   conforme se rola. Único bloco em full bleed pleno junto com o 8 — a
   ruptura do container É a transição. Ver HOME-DESIGN-SPEC.md §5.
   ========================================================================== */
.scrub-track{
  /* Altura da trilha = 100vh + (etapas × avanço), com teto absoluto.
     --slots comporta até 6 etapas; acima de 4, reduzir --advance para 55vh.
     Acima de 460vh a seção vira armadilha de scroll. */
  --slots: 4;
  --advance: 70vh;
  position: relative;
  height: min(460vh, calc(100vh + var(--slots) * var(--advance)));
  margin-top: var(--s-7);
}
.scrub-sticky{
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  background: #000;
}

.scrub-stage{
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.55s var(--ease);
}
.scrub-stage.is-active{ opacity: 1; }
/* Overlay como pseudo-elemento de cada etapa: um <div> irmão ficaria
   por cima das legendas, e a etapa em transição tem opacity < 1, o que
   cria contexto de empilhamento e prenderia a legenda embaixo dele. */
.scrub-stage::before{
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(11, 14, 15, 0.78) 0%,
    rgba(11, 14, 15, 0.42) 34%,
    rgba(11, 14, 15, 0.42) 66%,
    rgba(11, 14, 15, 0.88) 100%
  );
}
.scrub-shot{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 52%;
}

.scrub-caption{
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-inline: var(--gutter);
}
.scrub-num{
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  letter-spacing: 0.14em;
  color: var(--spark);
  margin-bottom: var(--s-4);
}
.scrub-caption h3{
  font-size: clamp(34px, 5.4vw, 58px);
  line-height: 1.02;
  color: #fff;
}
.scrub-caption p{
  margin-top: var(--s-4);
  font-size: var(--fs-lede);
  color: rgba(245, 243, 238, 0.78);
  max-width: 44ch;
}

.scrub-dots{
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: var(--s-3);
}
.scrub-dots span{
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(245, 243, 238, 0.28);
  transition: background var(--t-base), transform var(--t-base);
}
.scrub-dots span.is-active{ background: var(--rust); transform: scale(1.35); }

@media (max-width: 767.98px){
  /* Uma etapa por tela, com avanço mais curto: no celular o mesmo número
     de etapas em 70vh cada vira scroll interminável. */
  .scrub-track{ --advance: 55vh; }
  .scrub-caption p{ font-size: var(--fs-sm); }
  .scrub-dots{ bottom: 24px; }
}

/* ==========================================================================
   12. HOME — BLOCO 5 · PRESENÇA LOCAL
   Faixa territorial em full bleed + cartões de cidade que avançam sobre ela.
   Sem mapa: a Grande Florianópolis tem cerca de 20 municípios e só um tem
   obra confirmada — dois pontos num mapa leem como fraqueza, e preencher
   o resto seria inventar cobertura. Ver HOME-DESIGN-SPEC.md §7.
   ========================================================================== */
/* Sem respiro no topo: a faixa é o começo da seção. Com o padding da
   seção somado ao fade longo davam quase 400px de cinza morto antes de
   qualquer foto aparecer. */
.local{ padding-top: 0; padding-bottom: var(--section-y); }

.local-band{
  position: relative;
  display: flex;
  align-items: center;
  /* teto obrigatório: sem ele a faixa vira tarja em 2560 */
  height: clamp(560px, 70vh, 820px);
  /* espaço para os cartões que sobem por cima */
  padding-bottom: clamp(90px, 12vh, 150px);
  margin-bottom: 0;
  overflow: hidden;
}
.local-band > img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 38% no eixo Y: com 52% o corte comecava abaixo do topo da estrutura
     e ela nascia colada na borda da faixa. */
  object-position: 64% 46%;
}
/* Escuro à esquerda, onde fica o texto, e fechamento na base para os
   cartões nascerem da foto em vez de cair em cima dela. */
.local-band::after{
  content: '';
  position: absolute;
  inset: 0;
  /* A vertical vem PRIMEIRO: em CSS a primeira camada é pintada por cima,
     e é ela que termina em --panel. Com a horizontal por cima, o preto de
     0.95 da esquerda sobrava na base e criava um degrau contra a seção. */
  background:
    linear-gradient(180deg,
      var(--panel) 0%,
      rgba(29, 35, 38, 0.55) 4%,
      rgba(11, 14, 15, 0.12) 11%,
      rgba(11, 14, 15, 0) 18%,
      rgba(29, 35, 38, 0.5) 74%,
      var(--panel) 99%),
    /* O escuro precisa cobrir até ~48%: é onde termina a cauda de
       "Florianópolis.". Com a parada anterior em 0.56 ali, o trecho em
       --rust caía para 2.7:1 (o mínimo para texto grande é 3:1), porque
       o fim da palavra pousava no céu claro. */
    linear-gradient(97deg,
      rgba(11, 14, 15, 0.96) 0%,
      rgba(11, 14, 15, 0.94) 34%,
      rgba(11, 14, 15, 0.88) 48%,
      rgba(11, 14, 15, 0.5) 64%,
      rgba(11, 14, 15, 0.12) 78%,
      rgba(11, 14, 15, 0) 88%);
}
.local-band .wrap{ position: relative; z-index: 1; }
.local-band h2{
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: #fff;
}
.local-band .lede{ max-width: 46ch; color: rgba(245, 243, 238, 0.8); }

/* Grade auto-fit: cidade nova entra sem tocar no CSS. */
.local-cities{
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: var(--gutter);
  margin: clamp(-150px, -12vh, -90px) 0 0;
  padding: 0;
  list-style: none;
}
.city{
  background: rgba(26, 31, 34, 0.86);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform var(--t-base) var(--ease),
              border-color var(--t-base), box-shadow var(--t-base);
}
.city:hover{
  transform: translateY(-4px);
  border-color: rgba(233, 73, 4, 0.45);
  box-shadow: var(--shadow-card);
}
.city a{
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: var(--s-4);
  text-decoration: none;
}
.city-shot{
  display: block;
  overflow: hidden;
  border-radius: var(--r-sm);
  aspect-ratio: 2 / 1;
}
.city-shot img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.city:hover .city-shot img{ transform: scale(1.04); }

.city-head{
  display: flex;
  align-items: center;
  gap: var(--s-2);
  margin: var(--s-5) 0 0;
}
.city-pin{ width: 17px; height: 17px; color: var(--rust); flex: none; }
.city-head b{
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
}
.city-desc{
  display: block;
  margin-top: var(--s-2);
  font-size: var(--fs-sm);
  line-height: 1.5;
  color: var(--ink-soft);
}
/* auto no topo: o rodapé do cartão encosta na base mesmo quando as
   descrições têm alturas diferentes */
.city-cta{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  min-height: 44px;
  margin-top: auto;
  padding-top: var(--s-5);
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  border-top: 1px solid var(--line);
  transition: color var(--t-fast);
}
.city:hover .city-cta{ color: var(--ink); }
.city-arrow{
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(233, 73, 4, 0.5);
  color: var(--rust);
  transition: background var(--t-fast), transform var(--t-fast);
}
.city-arrow svg{ width: 14px; height: 14px; }
.city:hover .city-arrow{ background: rgba(233, 73, 4, 0.16); transform: translateX(2px); }

@media (max-width: 767.98px){
  /* Mudança estrutural, não compressão: a foto sai de trás do texto e
     vira faixa própria. Medido em 390, com o texto por cima, o trecho em
     --rust do H2 ficava em 1.71:1 de contraste (o mínimo para texto
     grande é 3:1) — o gradiente horizontal não tem onde escurecer numa
     tela estreita, porque o texto ocupa a largura inteira. Escurecer o
     suficiente apagaria a foto de qualquer jeito. */
  .local-band{
    display: block;
    height: auto;
    padding-bottom: 0;
  }
  .local-band > img{
    position: static;
    height: clamp(240px, 46vw, 320px);
    object-position: 60% 50%;
  }
  /* sem overlay sobre a foto; só um fecho suave na base dela */
  .local-band::after{
    inset: auto 0 0 0;
    height: 90px;
    background: linear-gradient(180deg, rgba(29, 35, 38, 0), var(--panel));
  }
  .local-band .wrap{ padding-top: var(--s-7); }
  .local-band h2{ font-size: clamp(34px, 11vw, 46px); }
  .local-band .lede{ max-width: none; color: var(--ink-body); }
  .local-cities{ margin-top: var(--s-7); }
}

/* ==========================================================================
   13. HOME — BLOCO 6 · OBJEÇÕES
   Duas colunas: texto e apoio visual à esquerda (col 1–5), acordeão à
   direita (col 6–12). Sem card e sem caixa: o que separa é filete e
   tipografia. Ver HOME-DESIGN-SPEC.md §8.
   ========================================================================== */
.faq{ position: relative; overflow: hidden; }
/* Brilho quente baixo à esquerda, atrás da foto — é o que faz a imagem
   parecer nascer do fundo em vez de estar colada nele. */
.faq::before{
  content: '';
  position: absolute;
  left: -6%;
  bottom: -14%;
  width: 46%;
  height: 52%;
  pointer-events: none;
  background: radial-gradient(closest-side, rgba(233, 73, 4, 0.16), transparent 72%);
}
.faq > .wrap{ position: relative; z-index: 1; }

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

.faq-head{
  grid-column: 1 / 6;
  display: flex;
  flex-direction: column;
}
.faq-head h2{ font-size: clamp(32px, 3.2vw, 44px); line-height: 1.04; }
.faq-lede{
  margin-top: var(--s-5);
  max-width: 38ch;
  font-size: var(--fs-lede);
  line-height: 1.6;
  color: var(--ink-body);
}

/* A foto encosta na base da coluna e dissolve no fundo pelo topo, em vez
   de ter borda. margin-top:auto empurra para a base independentemente da
   altura que o acordeão der à fileira. */
.faq-visual{
  margin: var(--s-8) 0 0;
  margin-top: auto;
  padding-top: var(--s-8);
  overflow: hidden;
  border-radius: var(--r-md);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 26%, #000 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 26%, #000 100%);
}
.faq-visual img{
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 42% 52%;
  filter: saturate(0.94) brightness(0.86);
}

/* ----- acordeão ----- */
.faq-list{ grid-column: 6 / -1; }

.faq-item{ border-bottom: 1px solid var(--line); }
.faq-item:first-child{ border-top: 1px solid var(--line); }
.faq-q{
  width: 100%;
  display: flex;
  align-items: center;
  gap: var(--s-4);
  padding: var(--s-5) 4px;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: var(--fs-body);
  color: var(--ink);
  cursor: pointer;
  transition: color var(--t-fast);
}
.faq-q:hover{ color: var(--spark); }
.faq-num{
  flex: none;
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--rust);
}
.faq-icon{
  flex: none;
  margin-left: auto;
  width: 18px;
  height: 18px;
  color: var(--rust);
}
/* Fechado mostra "+", aberto mostra um traço: some só a haste vertical.
   Rotacionar o "+" daria "×", que não é o mesmo sinal. */
.faq-icon-v{
  transform-origin: center;
  transition: transform var(--t-base) var(--ease), opacity var(--t-fast);
}
.faq-item.is-open .faq-icon-v{ transform: scaleY(0); opacity: 0; }

/* Abertura por grid-template-rows 0fr→1fr: anima a altura real, sem
   max-height arbitrário cortando resposta longa. O estado fechado só
   existe com JS, então sem script todas as respostas ficam visíveis. */
.faq-a-wrap{ display: grid; }
.js .faq-a-wrap{
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--t-base) var(--ease);
}
.js .faq-item.is-open .faq-a-wrap{ grid-template-rows: 1fr; }
.faq-a-wrap > .faq-a{ min-height: 0; overflow: hidden; }
/* visibility (e não display) sai da árvore de acessibilidade e ainda
   permite transição. */
.js .faq-a-wrap > .faq-a{
  visibility: hidden;
  transition: visibility 0s linear var(--t-base);
}
.js .faq-item.is-open .faq-a-wrap > .faq-a{
  visibility: visible;
  transition-delay: 0s;
}
.faq-a{
  padding: 0 4px var(--s-5);
  max-width: 760px;              /* medida de leitura, mesmo em coluna maior */
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--ink-body);
}
.faq-a a{ color: var(--spark); font-weight: 600; }
.faq-a .pending{ margin-top: var(--s-2); }

.faq-note{
  margin-top: var(--s-6);
  font-size: var(--fs-sm);
  color: var(--ink-soft);
}
.faq-note a{ color: var(--spark); font-weight: 700; text-decoration: none; }

@media (max-width: 1023.98px){
  /* Empilha: texto, acordeão e a foto no fim. Em 8 colunas a esquerda
     ficaria com 340px e o título de 3 linhas não respira. */
  .faq-head{ grid-column: 1 / -1; }
  .faq-list{ grid-column: 1 / -1; margin-top: var(--s-8); }
  .faq-lede{ max-width: 62ch; }
  .faq-visual{
    order: 3;
    margin-top: var(--s-8);
    padding-top: 0;
  }
  .faq-visual img{ aspect-ratio: 16 / 9; }
}
@media (max-width: 767.98px){
  .faq-head h2{ font-size: clamp(30px, 8.5vw, 38px); }
  .faq-q{ font-size: var(--fs-sm); gap: var(--s-3); }
  .faq-visual img{ aspect-ratio: 3 / 2; }
}

/* ==========================================================================
   14. HOME — BLOCO 7 · CONVERSÃO
   Full bleed com a foto à direita e a área do texto escurecida à esquerda.
   Rodapé de três garantias. Ver HOME-DESIGN-SPEC.md §9.
   ========================================================================== */
.close{
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(80px, 11vh, 140px);
  background: var(--bg);
}
.close-media{ position: absolute; inset: 0; z-index: -2; }
.close-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 52%;
}

/* Duas camadas: a vertical vem primeiro porque é ela que fecha nas cores
   dos vizinhos (--bg em cima, --panel do rodapé embaixo). Invertida, o
   escuro da horizontal sobraria nas pontas e criaria degrau. */
.close::before{
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    /* A base escurece antes dos 76%: a faixa de garantias fica ali, e o
       subtítulo em --ink-mute sobre a casa iluminada caía para 1.49:1. */
    linear-gradient(180deg,
      var(--bg) 0%,
      rgba(21, 25, 27, 0.5) 6%,
      rgba(11, 14, 15, 0) 20%,
      rgba(11, 14, 15, 0.3) 62%,
      rgba(11, 14, 15, 0.72) 78%,
      rgba(29, 35, 38, 0.88) 94%,
      var(--panel) 100%),
    linear-gradient(97deg,
      rgba(11, 14, 15, 0.96) 0%,
      rgba(11, 14, 15, 0.93) 32%,
      rgba(11, 14, 15, 0.84) 46%,
      rgba(11, 14, 15, 0.45) 62%,
      rgba(11, 14, 15, 0.1) 78%,
      rgba(11, 14, 15, 0) 88%);
}

.close-inner{ max-width: calc(var(--hw) * 7 / 12 - 10px); }   /* col 1–7 */
.close h2{
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: #fff;
}
.close-lede{
  max-width: 52ch;
  margin-top: var(--s-5);
  font-size: var(--fs-lede);
  line-height: 1.6;
  color: rgba(245, 243, 238, 0.82);
}
.close-cta{
  margin-top: var(--s-7);
  padding: 18px 14px 18px 32px;
  font-size: 15.5px;
  gap: var(--s-5);
}
.close-cta .btn-icon{ width: 34px; height: 34px; }

.close-area{
  display: flex;
  align-items: center;
  gap: var(--s-2);
  margin-top: var(--s-6);
  font-size: var(--fs-sm);
  color: var(--ink-soft);
}
.close-pin{ width: 17px; height: 17px; flex: none; color: var(--rust); }

/* Rodapé de garantias: divisórias entre os itens, sem card. */
.close-perks{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--s-5) 0;
  margin: clamp(56px, 9vh, 104px) 0 0;
  padding: 0;
  list-style: none;
}
.close-perks li{
  display: flex;
  align-items: center;
  gap: var(--s-4);
  padding-inline: var(--s-6);
  border-left: 1px solid var(--line);
}
.close-perks li:first-child{ padding-left: 0; border-left: 0; }
.close-perk-icon{
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  background: rgba(233, 73, 4, 0.14);
  color: var(--rust);
}
.close-perk-icon svg{ width: 20px; height: 20px; }
.close-perks b{
  display: block;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: var(--fs-sm);
  color: var(--ink);
}
/* --ink-soft, não --ink-mute: a 42% o token dá 3.37:1 mesmo sobre o
   fundo puro do site, abaixo dos 4.5:1 exigidos para texto pequeno.
   Sobre a foto iluminada caía para 3.29:1. */
.close-perks li > span > span{
  display: block;
  margin-top: 2px;
  font-size: var(--fs-xs);
  color: var(--ink-soft);
}

@media (max-width: 1023.98px){
  /* Abaixo de 1024 o texto ocupa a largura toda e o gradiente horizontal
     não tem onde escurecer: em 768 o fim do lede caía para 2.10:1.
     Vira vertical, cobrindo a coluna inteira. */
  .close-inner{ max-width: none; }
  .close-lede{ max-width: 56ch; }
  .close-media img{ object-position: 78% 46%; }
  .close::before{
    background: linear-gradient(180deg,
      var(--bg) 0%,
      rgba(11, 14, 15, 0.9) 11%,
      rgba(11, 14, 15, 0.84) 54%,
      rgba(11, 14, 15, 0.88) 80%,
      rgba(29, 35, 38, 0.88) 95%,
      var(--panel) 100%);
  }
}
@media (max-width: 767.98px){
  .close{ padding-block: var(--s-9) var(--s-8); }
  .close-media img{ object-position: 68% 40%; }
  .close-cta{ width: 100%; justify-content: space-between; padding-left: var(--s-5); }
  .close-lede{ max-width: none; }
  .close-perks li{ padding-inline: 0; border-left: 0; }
  .close-perks li + li{ padding-top: var(--s-5); border-top: 1px solid var(--line); }
}

/* ==========================================================================
   16. FAIXA DE CTA
   ========================================================================== */
.cta-band{
  position: relative;
  background: var(--bg);
  text-align: center;
  overflow: hidden;
}
.cta-band .wrap{ position: relative; z-index: 1; }
.cta-band h2{ font-size: clamp(30px, 4.8vw, 48px); margin-top: var(--s-4); }
.cta-band p{ color: var(--ink-body); max-width: 520px; margin: var(--s-4) auto 0; }
.cta-band .btn{ margin-top: var(--s-6); }

/* Versão compacta usada no fim das páginas internas */
.cta-band--compact{ background: var(--panel); }
.cta-band--compact h2{ font-size: clamp(24px, 4vw, 34px); }

/* ==========================================================================
   17. PÁGINAS INTERNAS
   ========================================================================== */
.page-hero{ padding-block: 156px var(--s-7); }
.page-hero h1{ font-size: var(--fs-h1); }
.page-hero .lede{ margin-top: var(--s-5); }
/* A primeira seção depois do hero de página não repete o respiro inteiro. */
.page-hero + section{ padding-top: var(--s-6); }

/* Corpo de artigo */
.article{ font-size: 16.5px; color: var(--ink-body); }
.article h2{
  font-size: clamp(22px, 3vw, 28px);
  color: var(--ink);
  margin-top: var(--s-7);
}
.article h2:first-child{ margin-top: 0; }
.article p{ margin-top: var(--s-5); }
.article ul{ margin-top: var(--s-5); padding-left: 20px; }
.article li{ margin-block: var(--s-2); }
.article strong{ color: var(--ink); }
.article a{ color: var(--spark); font-weight: 600; }

/* Caixa de fonte técnica */
.fact-box{
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--panel-soft);
  border: 1px solid var(--line);
  border-left: 3px solid var(--rust);
  border-radius: var(--r-sm);
  padding: 26px 28px;
  margin-top: var(--s-7);
}
.fact-box svg{ flex: none; width: 26px; height: 26px; color: var(--rust); margin-top: 2px; }
.fact-box p{ margin: 0; color: var(--ink-body); font-size: 15px; }
.fact-box .kicker{ margin-bottom: 6px; }

/* Card de obra (página de cidade) */
.case-card{
  display: flex;
  gap: 20px;
  align-items: center;
  background: var(--panel-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 22px 24px;
  margin-top: var(--s-7);
}
.case-photo{
  flex: none;
  width: 96px;
  height: 96px;
  border-radius: 10px;
  background: linear-gradient(155deg, var(--panel-soft) 0%, var(--panel) 60%, #12171A 100%);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
}
.case-photo svg{ width: 32px; height: 32px; color: rgba(245, 243, 238, 0.7); }
.case-card h3{ font-size: 20px; margin-top: 6px; }
.case-card p{ color: var(--ink-soft); font-size: 14.5px; margin-top: var(--s-2); }

@media (max-width: 559.98px){
  .case-card{ flex-direction: column; align-items: flex-start; }
}

/* Grade de cards do hub de conteúdo */
.card-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-5);
}
.card{
  display: block;
  background: var(--panel-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 26px 28px;
  text-decoration: none;
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base), border-color var(--t-base);
}
.card:hover{
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: rgba(233, 73, 4, 0.4);
}
.card h2{ font-size: var(--fs-h3); margin-top: var(--s-2); }
.card p{ font-size: var(--fs-sm); color: var(--ink-soft); margin-top: var(--s-2); }
.card .kicker{ margin-bottom: 0; }
.card-link{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--rust);
  font-weight: 700;
  font-size: 13px;
  margin-top: var(--s-4);
}
.card-link svg{ width: 13px; height: 13px; transition: transform var(--t-fast); }
.card:hover .card-link svg{ transform: translateX(3px); }

@media (max-width: 767.98px){
  .card-grid{ grid-template-columns: 1fr; }
}

/* Artigos relacionados */
.related{ background: var(--panel); border-block: 1px solid var(--line); }
.related-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-4);
  margin-top: var(--s-5);
}
.related-card{
  display: block;
  background: var(--panel-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 18px 20px;
  text-decoration: none;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.related-card:hover{ transform: translateY(-3px); border-color: rgba(233, 73, 4, 0.4); }
.related-card h3{ font-size: 15.5px; margin-top: 6px; }
.related-card .kicker{ margin-bottom: 0; font-size: 10.5px; letter-spacing: 0.08em; }

@media (max-width: 767.98px){
  .related-grid{ grid-template-columns: 1fr; }
}

/* ==========================================================================
   18. RODAPÉ
   ========================================================================== */
.footer{
  background: var(--panel);
  color: var(--ink-soft);
  padding: var(--s-8) 0 28px;
  border-top: 1px solid var(--line);
}
.footer-top{
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: var(--s-7);
  padding-bottom: var(--s-7);
  border-bottom: 1px solid var(--line);
}
.footer-wordmark{
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.footer-wordmark img{
  display: block;
  height: 62px;
  width: auto;
}
.footer-tag{
  margin-top: var(--s-4);
  font-size: 13.5px;
  max-width: 30ch;
  color: var(--ink-mute);
}
.footer-col h2{
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: var(--s-4);
}
.footer-col a{
  display: block;
  margin-bottom: var(--s-3);
  font-size: var(--fs-sm);
  color: var(--ink-soft);
  text-decoration: none;
  transition: color var(--t-fast);
}
.footer-col a:hover{ color: var(--spark); }
.footer-col .pending{ margin-bottom: var(--s-3); }
.footer-bottom{
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s-3);
  padding-top: var(--s-5);
  font-size: var(--fs-xs);
  color: var(--ink-mute);
}

@media (max-width: 1023.98px){
  .footer-top{ grid-template-columns: 1fr 1fr; gap: var(--s-6); }
}
@media (max-width: 559.98px){
  .footer-top{ grid-template-columns: 1fr; }
}

/* ==========================================================================
   19. PREFERÊNCIAS DE MOVIMENTO
   ========================================================================== */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js .fade-up{ opacity: 1; transform: none; }

  /* Sem scroll controlado: as quatro etapas viram uma lista vertical, cada
     foto com a sua legenda embaixo. Antes só a primeira etapa aparecia. */
  .scrub-track{ height: auto; }
  .scrub-sticky{ position: relative; height: auto; overflow: visible; background: transparent; }
  .scrub-stage{ position: relative; inset: auto; opacity: 1; }
  .scrub-stage + .scrub-stage{ margin-top: var(--s-5); }
  .scrub-stage::before{ display: none; }
  .scrub-shot{
    position: relative;
    inset: auto;
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: var(--r-md);
  }
  .scrub-caption{
    position: relative;
    inset: auto;
    display: block;
    text-align: left;
    padding: var(--s-4) 0 0;
  }
  .scrub-caption h3{ font-size: var(--fs-h3); color: var(--ink); }
  .scrub-caption p{ font-size: var(--fs-sm); max-width: none; }
  .scrub-dots{ display: none; }
}

/* Mobile: as etapas permanecem visíveis, sem prender a rolagem. */
@media (max-width: 767.98px){
  .scrub-track{ height: auto; margin-top: 28px; }
  .scrub-sticky{ position: relative; height: auto; overflow: visible; background: transparent; display: grid; gap: 28px; padding-inline: var(--gutter); }
  .scrub-stage{ position: relative; inset: auto; opacity: 1; }
  .scrub-stage::before{ display: none; }
  .scrub-shot{ position: relative; inset: auto; height: auto; aspect-ratio: 16 / 10; border-radius: 12px; }
  .scrub-caption{ position: relative; inset: auto; align-items: flex-start; padding: 16px 0 0; text-align: left; }
  .scrub-num{ margin-bottom: 8px; }
  .scrub-caption h3{ font-size: 26px; }
  .scrub-caption p{ margin-top: 8px; }
  .scrub-dots{ display: none; }
}

/* ==========================================================================
   20. PÁGINA DE LINKS (/links)
   Link na bio / QR. Coluna única de celular; no computador a coluna fica
   centrada e o QR aparece para a pessoa abrir no telefone.
   ========================================================================== */
.lk{
  --lk-w: 520px;
  background: var(--bg);
  padding-bottom: calc(96px + env(safe-area-inset-bottom));
}

/* Primeira tela */
.lk-hero{
  position: relative;
  max-width: var(--lk-w);
  margin: 0 auto;
  padding: var(--s-4) var(--s-4) var(--s-6);
  min-height: min(92svh, 760px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.lk-hero-media{ position: absolute; inset: 0; z-index: 0; }
.lk-hero-media img{ width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.lk-hero-media::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(21, 25, 27, 0.55) 0%, rgba(21, 25, 27, 0.1) 26%, rgba(21, 25, 27, 0.78) 58%, var(--bg) 100%);
}
.lk-top{
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  padding: 10px 10px 10px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: rgba(21, 25, 27, 0.55);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.lk-logo img{ display: block; height: 30px; width: auto; }
.lk-share{
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--ink);
  font: 600 var(--fs-sm)/1 var(--font-body);
  cursor: pointer;
  transition: border-color var(--t-fast), background var(--t-fast);
}
.lk-share:hover{ border-color: var(--ink); background: rgba(245, 243, 238, 0.06); }
.lk-share svg{ width: 16px; height: 16px; }

.lk-hero-copy{ position: relative; z-index: 1; margin-top: auto; padding-top: var(--s-9); }
.lk-hero-copy h1{
  font-family: var(--font-title);
  font-weight: 900;
  font-size: clamp(34px, 9.4vw, 44px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: var(--s-3) 0 0;
}
.lk-hero-copy h1 em{ font-style: normal; color: var(--rust); }
.lk-lede{ margin: var(--s-4) 0 0; font-size: var(--fs-body); line-height: 1.55; color: var(--ink-body); }
.lk-cta{ width: 100%; margin-top: var(--s-5); min-height: 58px; font-size: 16px; }
.lk-cta svg{ width: 20px; height: 20px; }
.lk-cta2{ display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); margin-top: var(--s-3); }
.lk-cta2 .btn{ padding-inline: var(--s-4); background: rgba(21, 25, 27, 0.4); }

/* Seções */
.lk-main{ max-width: var(--lk-w); margin: 0 auto; padding: 0 var(--s-4); }
.lk-sec{ margin-top: var(--s-7); padding-block: 0; }
.lk-sec-head{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s-3);
  margin-bottom: var(--s-4);
}
.lk-sec-head h2{
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
}
.lk-sec-head a{ font-size: var(--fs-sm); font-weight: 600; color: var(--spark); text-decoration: none; }
.lk-sec-head a:hover{ text-decoration: underline; }

/* Carrossel de obras */
.lk-car{
  display: flex;
  gap: var(--s-3);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  margin-inline: calc(var(--s-4) * -1);
  padding-inline: var(--s-4);
  scroll-padding-inline: var(--s-4);
}
.lk-car::-webkit-scrollbar{ display: none; }
.lk-shot{
  position: relative;
  flex: 0 0 78%;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-md);
  overflow: hidden;
  scroll-snap-align: start;
  background: var(--panel);
  text-decoration: none;
}
.lk-shot img{ width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.lk-shot:hover img{ transform: scale(1.04); }
.lk-shot span{
  position: absolute;
  inset: auto 0 0;
  padding: var(--s-6) var(--s-4) var(--s-4);
  background: linear-gradient(180deg, transparent, rgba(21, 25, 27, 0.9));
  font-size: var(--fs-xs);
  color: var(--ink-soft);
}
.lk-shot b{ display: block; font-family: var(--font-title); font-size: 17px; color: var(--ink); margin-bottom: 2px; }

/* Lista de links */
.lk-list{ list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.lk-item{
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 68px;
  padding: 12px 18px 12px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--panel);
  color: var(--ink);
  text-decoration: none;
  transition: border-color var(--t-fast), background var(--t-fast), transform var(--t-fast);
}
.lk-item:hover{ border-color: var(--line-strong); background: var(--panel-soft); transform: translateY(-1px); }
.lk-ic{
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  background: rgba(233, 73, 4, 0.12);
  color: var(--rust);
}
.lk-ic svg{ width: 22px; height: 22px; }
.lk-tx{ flex: 1; min-width: 0; font-size: var(--fs-sm); color: var(--ink-soft); line-height: 1.35; }
.lk-tx b{ display: block; font-size: var(--fs-body); color: var(--ink); font-weight: 600; }
.lk-go{ flex: none; width: 18px; height: 18px; color: var(--ink-mute); transition: transform var(--t-fast), color var(--t-fast); }
.lk-item:hover .lk-go{ transform: translateX(3px); color: var(--ink); }
.lk-item--hot{ border-color: rgba(233, 73, 4, 0.45); }
.lk-item--hot .lk-ic{ background: var(--rust); color: #fff; }
.lk-item.is-pending{ border-style: dashed; cursor: not-allowed; }

/* QR (só no computador, ver dad-steel.js) */
.lk-qr{ display: none; }
.lk-qr.is-on{
  display: flex;
  align-items: center;
  gap: var(--s-5);
  margin-top: var(--s-7);
  padding: var(--s-4);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.lk-qr-code{ flex: none; width: 112px; height: 112px; padding: 8px; border-radius: var(--r-sm); background: #fff; }
.lk-qr-code img, .lk-qr-code canvas{ width: 100% !important; height: 100% !important; }
.lk-qr p{ margin: 0; font-size: var(--fs-sm); color: var(--ink-soft); line-height: 1.5; }
.lk-qr b{ display: block; color: var(--ink); font-size: var(--fs-body); }

.lk-foot{ margin: var(--s-7) 0 0; text-align: center; font-size: var(--fs-xs); color: var(--ink-mute); }

/* Barra flutuante */
.lk-dock{
  position: fixed;
  left: 50%;
  bottom: calc(14px + env(safe-area-inset-bottom));
  z-index: 50;
  display: flex;
  gap: var(--s-2);
  width: min(calc(100% - 2 * var(--s-4)), calc(var(--lk-w) - 2 * var(--s-4)));
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: rgba(21, 25, 27, 0.72);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-nav);
  transform: translate(-50%, 140%);
  transition: transform var(--t-base);
}
.lk-dock.is-on{ transform: translate(-50%, 0); }
.lk-dock .btn{ flex: 1; min-height: 48px; padding: 0 var(--s-4); }
.lk-dock button{
  flex: none;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.lk-dock button svg{ width: 18px; height: 18px; }

.lk-toast{
  position: fixed;
  left: 50%;
  bottom: calc(86px + env(safe-area-inset-bottom));
  z-index: 60;
  padding: 10px 18px;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: var(--bg);
  font-size: var(--fs-sm);
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity var(--t-fast), transform var(--t-fast);
}
.lk-toast.is-on{ opacity: 1; transform: translate(-50%, 0); }

@media (min-width: 560px){
  .lk-shot{ flex-basis: 62%; }
}
@media (min-width: 900px){
  .lk-hero{ margin-top: var(--s-5); border-radius: var(--r-lg); min-height: 720px; }
}

/* ==========================================================================
   21. Trilha de navegação (breadcrumb) — páginas internas
   ========================================================================== */
.crumbs{ margin-bottom: var(--s-4); }
.crumbs ol{
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  letter-spacing: 0.06em;
  color: var(--ink-mute);
}
.crumbs li{ display: inline-flex; align-items: center; }
.crumbs li:not(:last-child)::after{ content: "›"; margin: 0 10px; color: var(--ink-mute); }
.crumbs a{ color: var(--ink-soft); text-decoration: none; transition: color var(--t-fast); }
.crumbs a:hover{ color: var(--spark); }
.crumbs [aria-current="page"]{ color: var(--ink-soft); }

/* ==========================================================================
   22. Aviso de medição (GA4) — só aparece quando o GA4 está configurado
   Fixo na base da tela: não empurra conteúdo, então não gera layout shift.
   ========================================================================== */
.consent{
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 80;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-3) var(--s-4);
  max-width: 640px;
  margin-inline: auto;
  padding: 14px 16px;
  background: var(--panel);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md, 12px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  font-size: var(--fs-sm);
  color: var(--ink-body);
}
.consent[hidden]{ display: none; }
.consent p{ margin: 0; flex: 1 1 260px; line-height: 1.45; }
.consent-actions{ display: flex; gap: 8px; }
.consent button{
  min-height: 40px;
  padding: 0 16px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.consent button[data-consent="ok"]{ background: var(--rust); border-color: var(--rust); color: #fff; }
.consent button:focus-visible{ outline: 2px solid var(--spark); outline-offset: 2px; }

/* ==========================================================================
   23. TEMA CLARO — páginas internas (body.theme-light)
   A home e a /links seguem escuras. Aqui o conteúdo fica claro para leitura
   e o que "ancora" a página (nav, CTA final e rodapé) continua escuro.
   ========================================================================== */
.theme-light{
  --bg:          #F5F2EC;
  --panel:       #FFFFFF;
  --panel-soft:  #FFFFFF;

  --ink:         #15191B;
  --ink-body:    rgba(21, 25, 27, 0.84);
  --ink-soft:    rgba(21, 25, 27, 0.68);
  --ink-mute:    rgba(21, 25, 27, 0.52);

  --line:        rgba(21, 25, 27, 0.12);
  --line-strong: rgba(21, 25, 27, 0.24);

  --spark:       #9A5200;   /* âmbar escuro: mantém contraste sobre fundo claro */
  --link:        #C23E00;

  --shadow-card: 0 14px 34px rgba(21, 25, 27, 0.10);
  --shadow-nav:  0 10px 30px rgba(21, 25, 27, 0.18);
  color-scheme: light;
}

/* Blocos que continuam escuros dentro do tema claro */
.theme-light .nav,
.theme-light .footer,
.theme-light .cta-band{
  --bg:          #15191B;
  --panel:       #1D2326;
  --panel-soft:  #262D30;
  --ink:         #F5F3EE;
  --ink-body:    rgba(245, 243, 238, 0.78);
  --ink-soft:    rgba(245, 243, 238, 0.64);
  --ink-mute:    rgba(245, 243, 238, 0.42);
  --line:        rgba(245, 243, 238, 0.12);
  --line-strong: rgba(245, 243, 238, 0.22);
  --spark:       #F2A93C;
  --link:        #F2A93C;
  color: var(--ink);
}

/* Fundo da página: branco no topo que desce para o creme, com a trama
   discreta de montantes (referência à estrutura de steel frame). */
.theme-light main{
  position: relative;
  background: linear-gradient(180deg, #FFFFFF 0, #F5F2EC 560px);
}
.theme-light main::before{
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 560px;
  pointer-events: none;
  background:
    repeating-linear-gradient(90deg, rgba(21,25,27,0.045) 0 1px, transparent 1px 72px),
    repeating-linear-gradient(0deg,  rgba(21,25,27,0.045) 0 1px, transparent 1px 72px);
  -webkit-mask-image: linear-gradient(180deg, #000 0, transparent 100%);
          mask-image: linear-gradient(180deg, #000 0, transparent 100%);
}
.theme-light main > *{ position: relative; z-index: 1; }

/* Hero */
.theme-light .page-hero h1{ color: var(--ink); }
.theme-light .page-hero .lede{ color: var(--ink-body); }
.theme-light .eyebrow{
  color: var(--spark);
  background: rgba(233, 73, 4, 0.08);
  border-color: rgba(233, 73, 4, 0.28);
}
.theme-light .crumbs a{ color: var(--ink-soft); }

/* Artigo */
.theme-light .article{ font-size: 17px; line-height: 1.7; }
.theme-light .article h2{ margin-top: var(--s-8); }
.theme-light .article h2:first-child{ margin-top: 0; }
.theme-light .article a{
  color: var(--link);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}
.theme-light .article a:hover{ color: var(--rust-deep); }

/* Cards e caixas */
.theme-light .fact-box,
.theme-light .case-card,
.theme-light .card,
.theme-light .related-card{
  background: #FFFFFF;
  box-shadow: 0 1px 2px rgba(21,25,27,0.04), 0 8px 24px rgba(21,25,27,0.05);
}
.theme-light .case-photo{
  background: #F1ECE2;
  border-color: var(--line);
}
.theme-light .case-photo svg{ color: var(--rust); }
.theme-light .card:hover,
.theme-light .related-card:hover{ box-shadow: var(--shadow-card); }
.theme-light .related{ background: #FFFFFF; }

/* Botão secundário no claro */
.theme-light main .btn-ghost{
  color: var(--ink);
  border-color: var(--line-strong);
  background: transparent;
}
.theme-light main .btn-ghost:hover{
  background: rgba(21, 25, 27, 0.05);
  border-color: var(--ink);
}

/* Nav sobre fundo claro: o vidro a 72% vira cinza; aqui fica escuro de verdade. */
.theme-light .nav{ background: rgba(21, 25, 27, 0.94); }
.theme-light .nav.is-scrolled{ background: rgba(21, 25, 27, 0.97); }

/* ==========================================================================
   24. PÁGINAS DE REGIÃO — resposta rápida, cidades, perguntas frequentes
   ========================================================================== */
.answer-box{
  margin-top: var(--s-6);
  padding: 22px 26px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-left: 4px solid var(--rust);
  border-radius: var(--r-sm);
  box-shadow: 0 1px 2px rgba(21,25,27,0.04), 0 8px 24px rgba(21,25,27,0.06);
}
.answer-box .kicker{ margin-bottom: 8px; color: var(--link, var(--rust)); }
.answer-box p{ font-size: 16.5px; line-height: 1.6; color: var(--ink); }

.chips-label{
  margin-top: var(--s-5);
  font-size: var(--fs-sm);
  color: var(--ink-soft);
}
.chips{
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: var(--s-3) 0 0;
  padding: 0;
}
.chips li{
  background: #FFFFFF;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
}
.chips li:not(:has(a)){ padding: 7px 14px; }
.chips li a{
  display: block;
  padding: 7px 14px;
  color: var(--link, var(--rust));
  text-decoration: none;
  font-weight: 600;
}
.chips li a:hover{ text-decoration: underline; }

.faq-sec{ padding-block: var(--s-8) var(--s-7); }
.faq-sec h2{ font-size: clamp(22px, 3vw, 28px); margin-bottom: var(--s-5); }
.faq-sec .faq-list{ border-top: 1px solid var(--line); }
.faq-d{ border-bottom: 1px solid var(--line); }
.faq-d summary{
  list-style: none;
  cursor: pointer;
  padding: 18px 36px 18px 0;
  position: relative;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 17px;
  color: var(--ink);
}
.faq-d summary::-webkit-details-marker{ display: none; }
.faq-d summary::after{
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: 500;
  color: var(--rust);
}
.faq-d[open] summary::after{ content: "–"; }
.faq-d p{ padding: 0 0 20px; color: var(--ink-body); max-width: 62ch; }
.faq-d a{ color: var(--link, var(--rust)); font-weight: 600; }

.related-grid--3{ grid-template-columns: repeat(3, 1fr); }
@media (max-width: 767.98px){ .related-grid--3{ grid-template-columns: 1fr; } }


/* ==========================================================================
   25. HERO COM FOTO + BOTÃO FLUTUANTE DE WHATSAPP (páginas internas)
   ========================================================================== */
.hero-split{ max-width: calc(var(--container-mid) + var(--gutter) * 2); }
.hero-split .hero-text{ min-width: 0; }
figure.hero-media{
  margin: var(--s-6) 0 0;
  border-radius: var(--r-md);
  overflow: hidden;
  background: #E9E4D9;
  box-shadow: 0 18px 44px rgba(21, 25, 27, 0.16);
  border: 1px solid var(--line);
}
figure.hero-media img{
  display: block;
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: cover;
}
figure.hero-media figcaption{
  padding: 10px 16px;
  font-size: var(--fs-xs);
  color: var(--ink-soft);
  background: #FFFFFF;
  border-top: 1px solid var(--line);
}
@media (min-width: 900px){
  .hero-split{
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: var(--s-7);
    align-items: center;
  }
  .hero-split .hero-text{ grid-column: 1; }
  .hero-split figure.hero-media{ grid-column: 2; grid-row: 1 / span 2; margin: 0; align-self: center; }
}

.wa-fab{
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: #1FA855;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  border-radius: var(--r-pill);
  box-shadow: 0 10px 28px rgba(21, 25, 27, 0.35);
  transition: transform var(--t-fast), background var(--t-fast);
}
.wa-fab:hover{ background: #178C47; transform: translateY(-2px); }
.wa-fab svg{ width: 22px; height: 22px; flex: none; }
/* Com o aviso de cookies aberto, o botão sobe para não ficar por cima. */
body:has(.consent) .wa-fab{ bottom: calc(148px + env(safe-area-inset-bottom)); }
@media (max-width: 559.98px){
  .wa-fab{ padding: 14px; }
  .wa-fab span{ position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce){ .wa-fab{ transition: none; } }

/* ==========================================================================
   26. BLOG — byline, sumário, tabela e glossário
   ========================================================================== */
.byline{ margin-top: var(--s-4); font-size: var(--fs-sm); color: var(--ink-soft); }
.byline strong{ color: var(--ink); font-weight: 600; }

.toc{
  margin-top: var(--s-5);
  padding: 18px 22px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
}
.toc .kicker{ margin-bottom: 8px; }
.toc ol{ margin: 0; padding-left: 20px; display: grid; gap: 4px; }
.toc a{ color: var(--ink); text-decoration: none; font-size: 15px; }
.toc a:hover{ color: var(--link); text-decoration: underline; }

.article h2[id]{ scroll-margin-top: 110px; }

.tbl-wrap{ margin-top: var(--s-5); overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; }
.tbl{ width: 100%; border-collapse: collapse; font-size: 15px; min-width: 520px; }
.tbl th, .tbl td{ text-align: left; vertical-align: top; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.tbl thead th{ background: #F1ECE2; font-family: var(--font-title); font-weight: 800; font-size: 14px; }
.tbl tbody th{ font-weight: 600; width: 22%; }
.tbl tbody tr:last-child th, .tbl tbody tr:last-child td{ border-bottom: 0; }

.gloss{ margin: var(--s-5) 0 0; }
.gloss dt{ margin-top: var(--s-5); font-family: var(--font-title); font-weight: 800; font-size: 18px; color: var(--ink); scroll-margin-top: 110px; }
.gloss dd{ margin: 6px 0 0; color: var(--ink-body); }
.gloss dd a{ color: var(--link); font-weight: 600; }

/* ---------------------------------------------------------------
   Página /obras — galeria por obra
   Grade de 2 colunas em qualquer largura. Foto horizontal ocupa a
   linha inteira; foto vertical ocupa meia linha. Sem rolagem lateral:
   min-width:0 nos itens e imagem sempre com width:100%.
   --------------------------------------------------------------- */
.obra-bloco{ padding-block: 0 var(--s-8, 72px); }
.obra-bloco + .obra-bloco{ padding-top: 0; }
.obra-head{ margin-bottom: var(--s-5); }
.obra-head h2{ margin-top: 6px; }
.obra-head p{ color: var(--ink-soft); margin-top: var(--s-2); max-width: 60ch; }
.obra-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.obra-fig{ margin: 0; min-width: 0; grid-column: span 1; }
.obra-fig--wide{ grid-column: 1 / -1; }
.obra-fig img{
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  background: #E7E2D8;
  object-fit: cover;
}
.obra-fig:not(.obra-fig--wide) img{ aspect-ratio: 3 / 4; }
.obra-fig--wide img{ aspect-ratio: 16 / 9; }
.obra-fig--wide.is-43 img{ aspect-ratio: 4 / 3; }
.obra-fig figcaption{ font-size: 13.5px; line-height: 1.4; color: var(--ink-soft); margin-top: 8px; }
.theme-light .obra-fig figcaption,
.theme-light .obra-head p{ color: #4B5358; }
@media (min-width: 768px){
  .obra-head, .obra-grid{ max-width: 880px; margin-inline: auto; }
  .obra-grid{ gap: 16px; }
  .obra-fig:not(.obra-fig--wide) img{ aspect-ratio: 4 / 5; }
  .obra-fig--wide.is-43 img{ aspect-ratio: 16 / 10; }
}

/* ---------------------------------------------------------------
   Páginas internas com foto: hero em faixa, figura no artigo e
   miniaturas nos cards. Marcado por scripts/embelezar.py.
   --------------------------------------------------------------- */
.page-hero--photo{
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #15191B;
  padding-block: 148px 64px;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
}
.page-hero--photo .ph-bg{
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
}
.page-hero--photo::before{
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(21,25,27,.94) 0%, rgba(21,25,27,.80) 48%, rgba(21,25,27,.38) 100%),
    linear-gradient(0deg, rgba(21,25,27,.6), rgba(21,25,27,0) 55%);
}
.page-hero--photo .ph-inner{ width: 100%; }
.page-hero--photo .ph-inner > *{ max-width: 720px; }
.page-hero--photo .ph-inner > .case-card{ max-width: 560px; }
.theme-light .page-hero--photo h1{ color: #F5F3EE; }
.theme-light .page-hero--photo .lede{ color: rgba(245,243,238,.88); }
.theme-light .page-hero--photo .crumbs a,
.theme-light .page-hero--photo .crumbs [aria-current="page"]{ color: rgba(245,243,238,.78); }
.theme-light .page-hero--photo .crumbs li:not(:last-child)::after{ color: rgba(245,243,238,.5); }
.page-hero--photo + section{ padding-top: var(--s-7); }
@media (max-width: 767.98px){
  .page-hero--photo{ padding-block: 120px 40px; min-height: 0; }
  .page-hero--photo::before{ background: linear-gradient(0deg, rgba(21,25,27,.92), rgba(21,25,27,.7)); }
}

.article-fig{ margin: var(--s-7) 0 0; }
.article-fig img{
  display: block; width: 100%; height: auto;
  aspect-ratio: 16 / 9; object-fit: cover;
  border-radius: 14px; background: #E7E2D8;
}
.article-fig figcaption{ font-size: 13.5px; margin-top: 10px; color: #4B5358; }
@media (min-width: 1000px){
  .article-fig{ margin-inline: -72px; }
}

.card, .related-card{ overflow: hidden; }
.card-thumb, .rc-thumb{ display: block; margin: -26px -28px 18px; }
.rc-thumb{ margin: -18px -20px 14px; }
.card-thumb img, .rc-thumb img{
  display: block; width: 100%; height: auto;
  aspect-ratio: 16 / 9; object-fit: cover; background: #E7E2D8;
  transition: transform .5s var(--ease, ease);
}
.card:hover .card-thumb img, .related-card:hover .rc-thumb img{ transform: scale(1.04); }
.theme-light .page-hero--photo .eyebrow{ color: #FFC2A3; background: rgba(233,73,4,.22); border-color: rgba(255,140,90,.55); }

/* Foto de cidade nas páginas de região: as regras de .hero-media da home
   (posição absoluta no mobile) não valem aqui. */
.hero-split figure.hero-media{ position: relative; inset: auto; height: auto; z-index: 0; }
.hero-split figure.hero-media::after{ display: none; }
.hero-split figure.hero-media img{ height: auto; aspect-ratio: 16 / 10; }
@media (max-width: 899.98px){ .hero-split figure.hero-media{ margin: var(--s-6) 0 0; } }

/* Card da obra dentro do hero com foto: compacto, sem caixa vazia grande. */
.page-hero--photo .case-card{ flex-direction: row; align-items: center; gap: 16px; padding: 16px 20px; margin-top: var(--s-5); }
.page-hero--photo .case-photo{ width: 56px; height: 56px; }
.page-hero--photo .case-card h3{ margin-top: 2px; font-size: 18px; }
.page-hero--photo .case-card p{ margin-top: 2px; }
@media (min-width: 900px){
  .hero-split{ align-items: start; }
  .hero-split figure.hero-media{ align-self: start; margin-top: 8px; }
}

/* ==========================================================================
   MENU COMPLETO — itens diretos + 2 submenus (Steel frame, Atendimento)
   O hambúrguer entra em 1100px: com 7 itens a pill não cabe antes disso.
   ========================================================================== */
.nav-links{ align-items: center; gap: 4px; }
.nav-links > a, .nav-sub-btn{ padding-inline: 12px; }
.nav-links a[aria-current="page"], .nav-item.is-current > .nav-sub-btn{ color: #F5F3EE; }
.nav-links > a[aria-current="page"]::after{ left: 12px; right: 12px; }
.nav-item{ position: relative; display: flex; align-items: center; }
.nav-sub-btn{
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
  background: none; border: 0; font: inherit; cursor: pointer; white-space: nowrap;
  color: rgba(245,243,238,.68); transition: color var(--t-fast);
}
.nav-sub-btn svg{ width: 10px; height: 10px; transition: transform .2s ease; }
.nav-item:hover > .nav-sub-btn, .nav-item.is-open > .nav-sub-btn{ color: #F5F3EE; }
.nav-item.is-open > .nav-sub-btn svg, .nav-item:hover > .nav-sub-btn svg{ transform: rotate(180deg); }
.nav-sub{
  display: none; position: absolute; top: calc(100% + 14px); left: -12px; z-index: 5;
  grid-template-columns: repeat(2, minmax(210px, auto)); gap: 4px 18px;
  padding: 16px; border-radius: 16px;
  background: rgba(21,25,27,.98); border: 1px solid rgba(245,243,238,.12);
  box-shadow: 0 24px 60px rgba(0,0,0,.4);
}
.nav-sub::before{ content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav-item:hover > .nav-sub, .nav-item.is-open > .nav-sub, .nav-item:focus-within > .nav-sub{ display: grid; }
.nav-sub-col{ display: flex; flex-direction: column; min-width: 0; }
.nav-sub-title{
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase;
  color: #FFB48F; padding: 4px 12px 8px;
}
.nav-sub a{
  display: block; min-height: 0; padding: 7px 12px; border-radius: 8px; font-size: 13.5px; font-weight: 500;
  color: rgba(245,243,238,.82); text-decoration: none; white-space: nowrap;
}
.nav-sub a::after{ display: none; }
.nav-sub a:hover, .nav-sub a:focus-visible{ background: rgba(245,243,238,.09); color: #fff; }
.nav-sub a[aria-current="page"]{ color: #FFB48F; }

@media (max-width: 1099.98px){
  .nav{ top: 12px; width: calc(100% - 32px); max-width: 560px; justify-content: space-between; border-radius: 16px; gap: var(--s-2); padding: 8px 10px 8px 14px; }
  .nav-brand picture{ width: 112px; }
  .nav-brand img{ height: 32px; width: 112px; }
  .nav-cta{ display: none; }
  .nav-toggle{ display: block; }
  .nav .nav-links{
    display: none; position: absolute; top: calc(100% + 10px); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    max-height: calc(100dvh - 100px); overflow-y: auto; padding: 8px 16px;
    background: rgba(21,25,27,.98); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(245,243,238,.12); border-radius: 16px; box-shadow: 0 24px 60px rgba(0,0,0,.4);
  }
  .nav.is-open .nav-links{ display: flex; }
  .nav-links > a, .nav-sub-btn{ padding: 14px 4px; width: 100%; justify-content: space-between; border-bottom: 1px solid rgba(245,243,238,.08); }
  .nav-links > a::after{ display: none; }
  .nav-item{ display: block; }
  .nav-item:hover > .nav-sub{ display: none; }
  .nav-item.is-open > .nav-sub, .nav-item:focus-within > .nav-sub{ display: block; }
  .nav-sub{ position: static; padding: 4px 0 8px 10px; background: none; border: 0; box-shadow: none; border-radius: 0; }
  .nav-sub::before{ display: none; }
  .nav-sub-col + .nav-sub-col{ margin-top: 8px; }
  .nav-sub a{ white-space: normal; padding: 10px 8px; }
  .nav-item:hover > .nav-sub-btn svg{ transform: none; }
  .nav-item.is-open > .nav-sub-btn svg{ transform: rotate(180deg); }
}

/* Rodapé com 5 colunas + contato na marca */
.footer-top{ grid-template-columns: 1.3fr repeat(4, 1fr); gap: var(--s-6); }
.footer-contact{ margin-top: var(--s-4); }
.footer-contact a{ display: block; margin-bottom: var(--s-2); font-size: var(--fs-sm); color: var(--ink-soft); text-decoration: none; }
.footer-contact a:hover{ color: var(--spark); }
@media (max-width: 1099.98px){ .footer-top{ grid-template-columns: 1fr 1fr 1fr; } .footer-brand{ grid-column: 1 / -1; } }
@media (max-width: 599.98px){ .footer-top{ grid-template-columns: 1fr 1fr; } }

/* ---------------------------------------------------------------
   Páginas institucionais: sobre, como trabalhamos, contato
   --------------------------------------------------------------- */
.sobre-intro{ max-width: 760px; margin-inline: auto; }
.sobre-intro h2{ font-size: clamp(26px, 3.4vw, 36px); margin-top: 6px; }
.sobre-intro p{ margin-top: var(--s-4); font-size: 17px; line-height: 1.7; color: var(--ink-body); }
.card-grid--3{ grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: var(--s-4); }
.card-grid--3 .card h2{ font-size: 19px; }
.card-grid--3 .card p a, .contato-grid .card p a{ color: var(--link); font-weight: 600; }
@media (max-width: 899.98px){ .card-grid--3{ grid-template-columns: 1fr; } }
.theme-light .card:not(a){ background: #fff; box-shadow: 0 1px 2px rgba(21,25,27,.04), 0 8px 24px rgba(21,25,27,.05); }
.card:not(a):hover{ transform: none; border-color: var(--line); }
.page-hero--photo + section{ padding-top: var(--s-7); }
.sobre-intro + *{ }
.contato-grid{ display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5); }
@media (max-width: 899.98px){ .contato-grid{ grid-template-columns: 1fr; } }
.contato-grid + *{ }

.steps{ display: grid; gap: var(--s-7); }
.step{ display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-6); align-items: center; }
.step--rev .step-media{ order: 2; }
.step-media{ margin: 0; }
.step-media img{ display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 14px; background: #E7E2D8; }
.step-n{ font-family: var(--font-mono); font-size: 13px; letter-spacing: .1em; color: var(--link); }
.step-body h2{ font-size: clamp(24px, 3vw, 32px); margin-top: 6px; }
.step-body p{ margin-top: var(--s-4); font-size: 16.5px; line-height: 1.7; color: var(--ink-body); }
@media (max-width: 899.98px){
  .step{ grid-template-columns: 1fr; gap: var(--s-4); }
  .step--rev .step-media{ order: 0; }
}
.steps-sec .btn-row{ margin-top: var(--s-7); }
.card-grid--3 .card p a:not(.btn), .contato-grid .card p a:not(.btn){ color: var(--link); font-weight: 600; }
.contato-grid .card p a.btn-primary{ color: #fff; }
.page-hero--photo + section{ padding-bottom: var(--s-6); }
.page-hero--photo + section + section:not(.cta-band):not(.related){ padding-top: 0; }

/* ==========================================================================
   /obras — portfólio (pf-*): filtro, cabeçalho por obra, mosaico, lightbox
   ========================================================================== */
.pf-bar{ position: sticky; top: 0; z-index: 40; background: rgba(245,242,236,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); padding-block: 12px; }
.pf-bar .wrap{ display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.pf-bar .wrap::-webkit-scrollbar{ display: none; }
.pf-chip{
  flex: none; font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer;
  padding: 9px 16px; border-radius: 999px; background: #fff; color: var(--ink);
  border: 1px solid var(--line-strong); transition: background .2s, color .2s, border-color .2s;
}
.pf-chip:hover{ border-color: var(--rust); }
.pf-chip.is-on{ background: #15191B; color: #fff; border-color: #15191B; }
@media (min-width: 1100px){ .pf-bar{ top: 0; } }

.pf-sec{ padding-block: var(--s-8) 0; scroll-margin-top: 70px; }
.pf-sec[hidden]{ display: none; }
.pf-sec:last-of-type{ padding-bottom: var(--s-8); }
.pf-head{ display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 0 28px; align-items: end; margin-bottom: var(--s-6); padding-bottom: var(--s-5); border-bottom: 1px solid var(--line-strong); }
.pf-num{ font-family: var(--font-title); font-weight: 800; font-size: clamp(56px, 9vw, 112px); line-height: .85; color: transparent; -webkit-text-stroke: 1.5px var(--rust); letter-spacing: -.04em; }
.pf-title h2{ font-size: clamp(28px, 4vw, 44px); margin-top: 4px; }
.pf-title p:not(.kicker){ margin-top: 8px; max-width: 54ch; color: #4B5358; }
.pf-facts{ display: grid; gap: 10px; margin: 0; text-align: right; font-size: 13.5px; }
.pf-facts dt{ font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: #6B7378; }
.pf-facts dd{ margin: 2px 0 0; font-weight: 600; color: var(--ink); }
@media (max-width: 767.98px){
  .pf-head{ grid-template-columns: 1fr; gap: 14px; }
  .pf-num{ font-size: 64px; }
  .pf-facts{ text-align: left; grid-template-columns: 1fr 1fr; }
}

.pf-grid{ --rh: 400px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: var(--rh); gap: 14px; }
.pf-grid--bento{ --rh: 330px; }
.pf-item{ margin: 0; position: relative; min-width: 0; border-radius: 14px; overflow: hidden; background: #1d2326; grid-column: span 4; }
.pf-w8{ grid-column: span 8; }
.pf-w4{ grid-column: span 4; }
.pf-r2{ grid-row: span 2; }
.pf-open{ display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; position: relative; }
.pf-item img{ display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease, ease); }
.pf-item:hover img{ transform: scale(1.04); }
.pf-item figcaption{
  position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 16px 14px; pointer-events: none;
  font-size: 13.5px; font-weight: 600; color: #fff;
  background: linear-gradient(0deg, rgba(10,13,14,.78), rgba(10,13,14,0));
}
.pf-zoom{ position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(21,25,27,.7); color: #fff; opacity: 0; transform: scale(.9); transition: opacity .25s, transform .25s; }
.pf-zoom svg{ width: 18px; height: 18px; }
.pf-item:hover .pf-zoom, .pf-open:focus-visible .pf-zoom{ opacity: 1; transform: none; }
.pf-open:focus-visible{ outline: 3px solid var(--rust); outline-offset: -3px; }
@media (max-width: 899.98px){
  .pf-grid, .pf-grid--bento{ --rh: 240px; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; }
  .pf-item, .pf-w4, .pf-w8{ grid-column: span 1; aspect-ratio: 3 / 4; }
  .pf-item.pf-m2{ grid-column: 1 / -1; aspect-ratio: 16 / 10; }
  .pf-r2{ grid-row: auto; }
  .pf-item figcaption{ font-size: 12.5px; padding: 28px 12px 10px; }
  .pf-zoom{ display: none; }
}

.lb{ position: fixed; inset: 0; z-index: 300; background: rgba(8,10,11,.94); display: flex; align-items: center; justify-content: center; padding: 56px 64px; }
.lb[hidden]{ display: none; }
.lb-fig{ margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; min-height: 0; }
.lb-fig img{ max-width: 100%; max-height: calc(100vh - 150px); max-height: calc(100dvh - 150px); width: auto; height: auto; border-radius: 8px; object-fit: contain; }
.lb-fig figcaption{ color: #F5F3EE; font-size: 14px; text-align: center; }
.lb-x, .lb-n{ position: absolute; border: 0; cursor: pointer; color: #fff; background: rgba(245,243,238,.12); border-radius: 50%; width: 46px; height: 46px; font-size: 28px; line-height: 1; display: grid; place-items: center; transition: background .2s; }
.lb-x:hover, .lb-n:hover{ background: rgba(245,243,238,.24); }
.lb-x{ top: 14px; right: 14px; }
.lb-prev{ left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next{ right: 12px; top: 50%; transform: translateY(-50%); }
@media (max-width: 767.98px){ .lb{ padding: 56px 12px 24px; } .lb-n{ top: auto; bottom: 14px; transform: none; } .lb-prev{ left: 14px; } .lb-next{ right: 14px; } }
.theme-light .page-hero--photo .byline{ color: rgba(245,243,238,.78); }
.theme-light .page-hero--photo .byline strong{ color: #fff; }
