/* ============================================================
   Ativa Automação e Segurança — sistema visual
   Amarelo de sinalização + grafite, a identidade do material
   impresso da Ativa, aplicada em blocos de página inteira.
   ============================================================ */

/* ---------- fontes ---------- */
@font-face {
  font-family: 'Archivo'; font-style: normal; font-weight: 300; font-display: swap;
  src: url('../fonts/archivo-300-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2122, U+2212, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Archivo'; font-style: normal; font-weight: 300; font-display: swap;
  src: url('../fonts/archivo-300-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Archivo'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('../fonts/archivo-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2122, U+2212, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Archivo'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('../fonts/archivo-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/inter-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+2000-206F, U+2122, U+2212, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/inter-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('../fonts/inter-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2122, U+2212, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('../fonts/inter-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('../fonts/jetbrains-mono-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2122, U+2212, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('../fonts/jetbrains-mono-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- tokens ---------- */
:root {
  /* marca — amarelo de sinalização e grafite do material impresso */
  --amber-500: #FFC400;
  --amber-600: #F0A800;
  --amber-300: #FFDA61;
  --amber-tint: #FFF6DC;
  /* ambar sobre fundo CLARO: o #FFC400 nao passa no contraste.
     --amber-forte para numero grande (>=24px), --amber-texto para texto pequeno. */
  --amber-forte: #B07400;
  --amber-texto: #8A5A00;

  --ink-900: #141418;
  --ink-800: #1C1C22;
  --ink-700: #26262E;
  --ink-600: #33333D;

  --paper: #FFFFFF;
  --paper-soft: #F5F5F3;
  --paper-line: #E3E3DF;

  --gray-500: #8A8A94;
  --gray-600: #6A6A74;
  --gray-700: #4A4A54;

  /* texto */
  --text-title: var(--ink-900);
  --text-body: #3C3C46;
  --text-muted: var(--gray-600);
  --on-dark: #FFFFFF;
  --on-dark-muted: #9C9CA8;

  /* tipografia */
  --font-display: 'Archivo', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'Courier New', monospace;

  /* medidas */
  --gutter: clamp(20px, 5vw, 96px);
  --bloco-y: clamp(72px, 11vh, 150px);
  --max: 1320px;
  --header-h: 96px;

  --foco: 0 0 0 3px rgba(255, 196, 0, .55);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

::selection { background: var(--amber-500); color: var(--ink-900); }

:focus-visible { outline: none; box-shadow: var(--foco); border-radius: 2px; }

.pular {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--amber-500); color: var(--ink-900);
  padding: 12px 20px; font-weight: 600; text-decoration: none;
}
.pular:focus { left: 0; }

/* ---------- utilitários de layout ---------- */
.env { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

.bloco { padding-block: var(--bloco-y); position: relative; }
.bloco--escuro { background: var(--ink-900); color: var(--on-dark); }
.bloco--grafite { background: var(--ink-800); color: var(--on-dark); }
.bloco--claro { background: var(--paper); }
.bloco--suave { background: var(--paper-soft); }

/* faixa zebrada — linguagem de sinalização industrial */
.zebra {
  height: 10px;
  background: repeating-linear-gradient(-45deg,
    var(--amber-500) 0 18px, var(--ink-900) 18px 36px);
}
.zebra--fina { height: 6px; }

/* ---------- tipografia ---------- */
.rotulo {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gray-600);
  margin: 0 0 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.rotulo::after {
  content: ''; flex: 1; height: 1px; background: currentColor; opacity: .25;
}
.bloco--escuro .rotulo, .bloco--grafite .rotulo { color: var(--amber-500); }

.display {
  font-family: var(--font-display);
  font-weight: 300;
  text-transform: uppercase;
  line-height: .93;
  letter-spacing: -.015em;
  margin: 0;
  color: var(--text-title);
}
.bloco--escuro .display, .bloco--grafite .display { color: var(--on-dark); }

.display--xg { font-size: clamp(44px, 8.5vw, 124px); }
.display--g  { font-size: clamp(36px, 6vw, 84px); }
.display--m  { font-size: clamp(28px, 3.8vw, 52px); }

.destaque { color: var(--amber-500); }

.texto-guia {
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.6;
  max-width: 62ch;
  color: var(--text-body);
}
.bloco--escuro .texto-guia, .bloco--grafite .texto-guia { color: var(--on-dark-muted); }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px;
  font-family: var(--font-body); font-size: 15px; font-weight: 600;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: transform .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primario { background: var(--amber-500); color: var(--ink-900); }
.btn--primario:hover { background: var(--amber-300); }
.btn--contorno { border-color: rgba(255,255,255,.35); color: #fff; }
.btn--contorno:hover { border-color: var(--amber-500); color: var(--amber-500); }
.btn--escuro { background: var(--ink-900); color: #fff; }
.btn--escuro:hover { background: var(--ink-700); }
.btn .seta { transition: transform .18s ease; }
.btn:hover .seta { transform: translateX(4px); }

/* ---------- cabeçalho ---------- */
.topo {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(20,20,24,.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: background-color .3s ease;
}
.topo__env {
  width: 100%; max-width: var(--max); margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex; align-items: center; gap: 24px;
}
/* O lockup original tem o subtítulo tão pequeno em relação à marca que,
   no tamanho de cabeçalho, ele vira borrão. A imagem mantém o desenho
   INTEIRO (símbolo + "Ativa") e só o subtítulo foi apagado dela; ele volta
   como texto de verdade, branco, centralizado sob o conjunto — o desenho
   passa por trás. Assim nada do logo fica cortado. */
.topo__logo {
  position: relative; display: block;
  text-decoration: none; margin-right: auto; line-height: 0;
}
.topo__logo img { height: 58px; width: auto; display: block; }
.topo__logo-sub {
  position: absolute; left: 0; right: 0; bottom: 7.5%;
  text-align: center; line-height: 1; z-index: 2;
  font-family: var(--font-display);
  font-size: 8.6px; font-weight: 600;
  letter-spacing: .235em; text-indent: .235em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 1px 3px rgba(20, 20, 24, .85);
  white-space: nowrap;
}

.topo__nav { display: flex; align-items: center; gap: 30px; }
.topo__link {
  font-size: 14px; font-weight: 500; color: rgba(255,255,255,.82);
  text-decoration: none; padding: 6px 0; position: relative;
}
.topo__link::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--amber-500); transform: scaleX(0);
  transform-origin: left; transition: transform .2s ease;
}
.topo__link:hover::after, .topo__link[aria-current="page"]::after { transform: scaleX(1); }
.topo__link[aria-current="page"] { color: #fff; }

.topo__acao { font-size: 14px; padding: 11px 20px; }

.menu-btn {
  display: none; width: 44px; height: 44px; padding: 0;
  background: none; border: 1px solid rgba(255,255,255,.25); cursor: pointer;
  align-items: center; justify-content: center;
}
.menu-btn span { display: block; width: 20px; height: 2px; background: #fff; position: relative; transition: background-color .2s; }
.menu-btn span::before, .menu-btn span::after {
  content: ''; position: absolute; left: 0; width: 20px; height: 2px; background: #fff; transition: transform .25s ease;
}
.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: flex-end;
  padding-block: calc(var(--header-h) + 40px) clamp(56px, 9vh, 110px);
  background: var(--ink-900); color: #fff; overflow: hidden;
}
.hero__fundo { position: absolute; inset: 0; z-index: 0; }
.hero__fundo img { width: 100%; height: 100%; object-fit: cover; object-position: 58% center; }
.hero__fundo::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(20,20,24,.95) 0%, rgba(20,20,24,.82) 42%, rgba(20,20,24,.35) 100%),
    linear-gradient(to top, rgba(20,20,24,.92) 0%, rgba(20,20,24,0) 45%);
}
.hero__env { position: relative; z-index: 1; width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.hero__titulo {
  font-family: var(--font-display); font-weight: 300; text-transform: uppercase;
  font-size: clamp(46px, min(9.2vw, 13.5vh), 128px);
  line-height: .9; letter-spacing: -.02em; margin: 0 0 26px; color: #fff;
  text-shadow: 0 2px 30px rgba(20,20,24,.8);
}
.hero__texto { font-size: clamp(16px, 1.6vw, 20px); line-height: 1.55; max-width: 50ch; color: rgba(255,255,255,.86); margin: 0 0 34px; }
.hero__acoes { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__meta {
  margin-top: clamp(36px, 6vh, 64px);
  display: flex; flex-wrap: wrap; gap: clamp(24px, 5vw, 64px);
  padding-top: 26px; border-top: 1px solid rgba(255,255,255,.16);
}
.hero__meta-item { display: flex; flex-direction: column; gap: 4px; }
.hero__meta-num {
  font-family: var(--font-display); font-weight: 300; font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1; color: var(--amber-500);
}
.hero__meta-txt { font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.62); }

/* trilho lateral de capítulos */
.trilho {
  position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 90;
  display: flex; flex-direction: column; gap: 2px; padding: 8px 0;
}
.trilho a {
  writing-mode: vertical-rl;
  font-family: var(--font-mono); font-size: 10px; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; text-decoration: none;
  color: rgba(255,255,255,.55); background: rgba(20,20,24,.55);
  padding: 14px 7px; transition: background-color .2s, color .2s;
}
.trilho a:hover, .trilho a.ativo { background: var(--amber-500); color: var(--ink-900); }
.trilho b { font-weight: 600; }
/* em tela baixa o trilho inteiro não cabe: fica só a numeração */
@media (max-height: 780px) {
  .trilho span { display: none; }
  .trilho a { padding: 12px 7px; letter-spacing: .1em; }
}

/* ---------- lista de capítulo expansível ---------- */
.lista { border-top: 1px solid var(--paper-line); }
.bloco--escuro .lista, .bloco--grafite .lista { border-color: rgba(255,255,255,.14); }

.item { border-bottom: 1px solid var(--paper-line); }
.bloco--escuro .item, .bloco--grafite .item { border-color: rgba(255,255,255,.14); }

.item__botao {
  width: 100%; display: flex; align-items: center; gap: clamp(16px, 3vw, 40px);
  padding: clamp(20px, 2.6vw, 34px) 0;
  background: none; border: 0; cursor: pointer; text-align: left;
  color: inherit; font: inherit;
}
.item__num {
  font-family: var(--font-mono); font-size: 12px; font-weight: 600;
  color: var(--gray-700); flex-shrink: 0; padding-top: .55em;
}
.bloco--escuro .item__num, .bloco--grafite .item__num { color: var(--amber-500); }

.item__nome {
  font-family: var(--font-display); font-weight: 300; text-transform: uppercase;
  font-size: clamp(26px, 4.4vw, 62px); line-height: 1; letter-spacing: -.015em;
  margin: 0; margin-right: auto; transition: color .18s ease;
}
.item__botao:hover .item__nome { color: var(--amber-texto); }
.bloco--escuro .item__botao:hover .item__nome, .bloco--grafite .item__botao:hover .item__nome { color: var(--amber-500); }

.item__mais { position: relative; width: 20px; height: 20px; flex-shrink: 0; }
.item__mais::before, .item__mais::after {
  content: ''; position: absolute; background: currentColor; transition: transform .25s ease, opacity .25s ease;
}
.item__mais::before { left: 0; top: 9px; width: 20px; height: 2px; }
.item__mais::after { left: 9px; top: 0; width: 2px; height: 20px; }
.item__botao[aria-expanded="true"] .item__mais::after { transform: rotate(90deg); opacity: 0; }

.item__corpo {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .32s ease;
}
.item__botao[aria-expanded="true"] + .item__corpo { grid-template-rows: 1fr; }
.item__corpo > div { overflow: hidden; }
.item__texto {
  padding: 0 0 clamp(22px, 2.6vw, 36px) clamp(0px, 3vw, 64px);
  max-width: 68ch;
}
.item__texto p { margin: 0 0 14px; }
.item__texto ul { margin: 0; padding-left: 20px; }
.item__texto li { margin-bottom: 6px; }

/* ---------- números ---------- */
.numeros { display: grid; gap: 1px; background: var(--paper-line); grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.bloco--escuro .numeros, .bloco--grafite .numeros { background: rgba(255,255,255,.14); }
.numero { background: var(--paper); padding: clamp(28px, 3.4vw, 46px) clamp(20px, 2.4vw, 34px); }
.bloco--escuro .numero, .bloco--grafite .numero { background: var(--ink-900); }
.numero__valor {
  font-family: var(--font-display); font-weight: 300; font-size: clamp(42px, 5.4vw, 76px);
  line-height: 1; color: var(--amber-forte); margin: 0 0 10px;
}
.bloco--escuro .numero__valor, .bloco--grafite .numero__valor { color: var(--amber-500); }
.numero__rotulo { font-size: 15px; line-height: 1.45; color: var(--text-muted); margin: 0; }
.bloco--escuro .numero__rotulo, .bloco--grafite .numero__rotulo { color: var(--on-dark-muted); }

/* ---------- grade de conteúdo ---------- */
.duplo {
  display: grid; gap: clamp(32px, 5vw, 80px);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 900px) { .duplo { grid-template-columns: 1fr 1fr; } }
.duplo--invertido > :first-child { order: 2; }
@media (max-width: 899px) { .duplo--invertido > :first-child { order: 0; } }

.figura { position: relative; }
.figura img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.figura--alta img { aspect-ratio: 3 / 4; }
.figura__tag {
  position: absolute; left: 0; bottom: 0;
  background: var(--amber-500); color: var(--ink-900);
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; padding: 10px 16px;
}

/* ---------- passos (metodologia) ---------- */
.passos { display: grid; gap: 1px; background: rgba(255,255,255,.14); grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); margin-top: 8px; }
.passo { background: var(--ink-900); padding: clamp(24px, 2.6vw, 34px); position: relative; transition: background-color .2s ease; }
.passo:hover { background: var(--ink-700); }
.passo__num {
  font-family: var(--font-display); font-weight: 300; font-size: 46px; line-height: 1;
  color: var(--amber-500); margin: 0 0 14px; display: block;
}
.passo__nome { font-family: var(--font-body); font-size: 17px; font-weight: 600; color: #fff; margin: 0 0 10px; }
.passo__txt { font-size: 15px; line-height: 1.55; color: var(--on-dark-muted); margin: 0; }

/* ---------- tabela de projetos ---------- */
.tabela-projetos { width: 100%; border-collapse: collapse; margin-top: 8px; }
.tabela-projetos th, .tabela-projetos td {
  text-align: left; padding: 18px 16px 18px 0; border-bottom: 1px solid var(--paper-line); vertical-align: top;
}
.tabela-projetos th {
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--gray-600);
}
.tabela-projetos td { font-size: 16px; }
.tabela-projetos td:first-child { font-weight: 600; color: var(--text-title); }
.tabela-projetos td:last-child { color: var(--amber-texto); font-weight: 600; }
@media (max-width: 720px) {
  .tabela-projetos thead { position: absolute; left: -9999px; }
  .tabela-projetos tr { display: block; padding: 16px 0; border-bottom: 1px solid var(--paper-line); }
  .tabela-projetos td { display: block; border: 0; padding: 2px 0; }
  .tabela-projetos td::before { content: attr(data-r) ' · '; font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--gray-500); }
}

/* ---------- serviços em grade ---------- */
.servicos { display: grid; gap: 1px; background: var(--paper-line); grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.servico { background: var(--paper); padding: clamp(26px, 3vw, 40px); transition: background-color .2s ease; }
.servico:hover { background: var(--amber-tint); }
.servico__num { font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .14em; color: var(--amber-texto); display: block; margin-bottom: 14px; }
.servico__nome { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; font-size: 19px; letter-spacing: -.01em; color: var(--text-title); margin: 0 0 10px; line-height: 1.15; }
.servico__txt { font-size: 15px; line-height: 1.55; color: var(--text-muted); margin: 0; }

/* ---------- selos ---------- */
/* cada selo numa cápsula branca: unifica logos com fundos diferentes
   e mantém as marcas legíveis tanto no bloco claro quanto no escuro */
.selos { display: flex; flex-wrap: wrap; align-items: stretch; gap: 14px; }
.selos img {
  height: 44px; width: auto;
  background: #fff; padding: 11px 16px;
  border: 1px solid var(--paper-line);
  box-sizing: content-box;
  transition: transform .2s ease, border-color .2s ease;
}
.selos img:hover { transform: translateY(-2px); border-color: var(--amber-500); }
.bloco--escuro .selos img, .bloco--grafite .selos img { border-color: transparent; }

/* ---------- setores ---------- */
.setores { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.setores li {
  font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  border: 1px solid var(--paper-line); padding: 9px 15px; color: var(--text-muted);
}
.bloco--escuro .setores li, .bloco--grafite .setores li { border-color: rgba(255,255,255,.18); color: rgba(255,255,255,.72); }

/* ---------- formulário ---------- */
.form-grade { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .form-grade { grid-template-columns: 1fr 1fr; } .form-grade .largo { grid-column: 1 / -1; } }

.campo { display: flex; flex-direction: column; gap: 7px; }
.campo label {
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.66);
}
.campo input, .campo select, .campo textarea {
  font-family: var(--font-body); font-size: 16px; color: #fff;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.18);
  padding: 14px 15px; width: 100%; transition: border-color .18s ease, background-color .18s ease;
}
.campo textarea { min-height: 128px; resize: vertical; }
.campo input::placeholder, .campo textarea::placeholder { color: rgba(255,255,255,.38); }
.campo input:focus, .campo select:focus, .campo textarea:focus {
  outline: none; border-color: var(--amber-500); background: rgba(255,255,255,.08); box-shadow: none;
}
.campo select option { background: var(--ink-800); color: #fff; }

.form-aviso { font-size: 14px; color: var(--on-dark-muted); margin: 0; }
.form-retorno { font-size: 15px; font-weight: 600; margin: 0; min-height: 1.5em; }
.form-retorno[data-estado="ok"] { color: var(--amber-500); }
.form-retorno[data-estado="erro"] { color: #FF8A80; }

/* ---------- contato ---------- */
.contato-dados { display: grid; gap: 26px; }
.contato-item { display: flex; flex-direction: column; gap: 5px; }
.contato-item dt {
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--amber-500);
}
.contato-item dd { margin: 0; font-size: 17px; color: rgba(255,255,255,.88); }
.contato-item a { text-decoration: none; border-bottom: 1px solid rgba(255,196,0,.4); transition: border-color .2s, color .2s; }
.contato-item a:hover { color: var(--amber-500); border-color: var(--amber-500); }

/* ---------- rodapé ---------- */
.rodape { background: var(--ink-900); color: var(--on-dark-muted); padding-block: clamp(48px, 7vh, 80px) 30px; }
.rodape__grade { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 860px) { .rodape__grade { grid-template-columns: 1.4fr 1fr 1fr; } }
.rodape__logo { position: relative; display: inline-block; margin-bottom: 22px; line-height: 0; }
.rodape__logo img { height: 76px; width: auto; display: block; }
.rodape__logo-sub {
  position: absolute; left: 0; right: 0; bottom: 7.5%;
  text-align: center; line-height: 1; z-index: 2;
  font-family: var(--font-display);
  font-size: 11.2px; font-weight: 600;
  letter-spacing: .235em; text-indent: .235em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 1px 3px rgba(20, 20, 24, .85);
  white-space: nowrap;
}
.rodape__txt { font-size: 15px; line-height: 1.6; margin: 0 0 18px; max-width: 42ch; }
.rodape h3 {
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--amber-500); margin: 0 0 16px;
}
.rodape ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.rodape a { color: rgba(255,255,255,.76); text-decoration: none; font-size: 15px; transition: color .18s; }
.rodape a:hover { color: var(--amber-500); }
.rodape__base {
  margin-top: 44px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between;
  font-size: 13px; color: rgba(255,255,255,.5);
}
.rodape__base p { margin: 0; }
.rodape__base a { font-size: 13px; }
.rodape__redes { display: flex; gap: 14px; }
.rodape__redes a {
  width: 38px; height: 38px; display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.18); transition: border-color .2s, background-color .2s;
}
.rodape__redes a:hover { border-color: var(--amber-500); background: rgba(255,196,0,.1); }
.rodape__redes svg { width: 17px; height: 17px; fill: currentColor; }

/* ---------- animação de entrada ---------- */
.js .surge { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.js .surge.visivel { opacity: 1; transform: none; }

/* ---------- whatsapp flutuante ---------- */
.zap {
  position: fixed; right: 20px; bottom: 20px; z-index: 95;
  width: 54px; height: 54px; border-radius: 50%;
  /* verde escuro da marca: o #25D366 deixa o icone branco em 1,98:1 */
  background: #128C7E; color: #fff; display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.28); transition: transform .2s ease;
}
.zap:hover { transform: scale(1.07); }
.zap svg { width: 27px; height: 27px; fill: currentColor; }

/* ---------- responsivo ---------- */
@media (max-width: 860px) {
  .topo__nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink-900); border-bottom: 1px solid rgba(255,255,255,.1);
    padding: 8px var(--gutter) 24px;
    /* sobe a própria altura MAIS a do cabeçalho: com porcentagem sozinha
       sobrava uma faixa do menu aparecendo acima da dobra */
    transform: translateY(calc(-100% - var(--header-h))); transition: transform .28s ease;
    max-height: calc(100svh - var(--header-h)); overflow-y: auto;
  }
  .topo__nav[data-aberto="true"] { transform: none; }
  .topo__link { padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 17px; }
  .topo__link::after { display: none; }
  .topo__acao { margin-top: 18px; justify-content: center; }
  .menu-btn { display: flex; }
  .trilho { display: none; }
  .zap { right: 14px; bottom: 14px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero { min-height: 92svh; }
  .item__botao { gap: 14px; }
  .item__texto { padding-left: 0; }
}

/* viewport baixa (notebook 1366x625) — não deixa o hero estourar */
@media (min-width: 861px) and (max-height: 700px) {
  .hero { min-height: 100svh; }
  .hero__titulo { font-size: clamp(40px, 7vw, 74px); }
  .hero__meta { margin-top: 26px; padding-top: 18px; }
  :root { --bloco-y: clamp(60px, 9vh, 104px); }
}

@media print {
  .topo, .trilho, .zap, .menu-btn { display: none !important; }
  body { color: #000; background: #fff; }
}
