/* Tergon Pisos Industriais
   Sistema de design: cantos retos (raio 0), exceto botoes de WhatsApp (pilula) e o flutuante (circulo);
   acento ambar da marca + verde WhatsApp so nos botoes de WhatsApp,
   tipografia Geist. Tema claro por padrao e escuro pelo sistema do visitante. */

/* ---------- Fontes (autohospedadas) ---------- */
@font-face {
  font-family: "Geist"; font-weight: 100 900; font-style: normal; font-display: swap;
  src: url("../fonts/geist-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Geist"; font-weight: 100 900; font-style: normal; font-display: swap;
  src: url("../fonts/geist-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Geist Mono"; font-weight: 100 900; font-style: normal; font-display: swap;
  src: url("../fonts/geist-mono-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Geist Mono"; font-weight: 100 900; font-style: normal; font-display: swap;
  src: url("../fonts/geist-mono-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  color-scheme: light dark;
  --bg: #f3f4f6;
  --bg2: #e8ebee;
  --surface: #ffffff;
  --ink: #0c1a29;
  --ink2: #435262;
  --line: #d2d8de;
  --hair: #b4bec9;

  --navy: #0b3d6b;
  --deep: #071f38;
  --amber: #f5a623;
  --amber-h: #ffbb45;
  --wa: #25d366;
  --wa-h: #1fbf5f;
  --wa-ink: #071f38;
  --on-deep: #eef3f8;
  --on-deep2: #b1c1d1;
  --line-deep: rgba(238, 243, 248, .18);

  --font: "Geist", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --gut: clamp(20px, 4vw, 56px);
  --max: 1320px;
  --hdr: 72px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #09121c;
    --bg2: #0f1b28;
    --surface: #132030;
    --ink: #eef2f6;
    --ink2: #a9b6c3;
    --line: #233242;
    --hair: #3a4f65;
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr) + 16px); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(16px, 1.05vw + 8px, 18px);
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, picture { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
::selection { background: var(--amber); color: var(--deep); }

.wrap { width: min(var(--max), 100% - var(--gut) * 2); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip {
  position: fixed; left: 12px; top: -80px; z-index: 100;
  background: var(--deep); color: var(--on-deep); padding: 12px 18px; text-decoration: none;
}
.skip:focus { top: 12px; }

.mono { font-family: var(--mono); font-feature-settings: "tnum"; }
.eyebrow {
  font-family: var(--mono); font-size: .78rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: .1em; color: var(--ink2);
}
.h-xl {
  font-size: clamp(2.3rem, 5.4vw, 5rem); line-height: 1.02; letter-spacing: -.04em; font-weight: 600;
}
.h-lg {
  font-size: clamp(1.9rem, 3.8vw, 3.4rem); line-height: 1.06; letter-spacing: -.035em; font-weight: 600;
}
.h-md { font-size: clamp(1.35rem, 2vw, 1.8rem); line-height: 1.15; letter-spacing: -.025em; font-weight: 600; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.3rem); line-height: 1.5; color: var(--ink2); max-width: 46ch; }
.prose p + p { margin-top: 1em; }
.prose { max-width: 62ch; color: var(--ink2); }
.prose strong { color: var(--ink); font-weight: 600; }

/* ---------- Botoes e links ---------- */
/* Regra de forma: botoes de WhatsApp em pilula (extremidades totalmente arredondadas) e o botao
   flutuante em circulo. Verde WhatsApp com texto azul-escuro (contraste 8:1; texto branco daria 2:1). */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 14px 28px;
  background: var(--wa); color: var(--wa-ink);
  border: 2px solid var(--wa); border-radius: 999px;
  font-weight: 650; font-size: 1rem; line-height: 1.1; text-decoration: none; white-space: nowrap;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .35s var(--ease); }
.btn:hover { background: var(--wa-h); border-color: var(--wa-h); }
.btn:hover svg { transform: translate(3px, -3px); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn--sm { min-height: 44px; padding: 10px 18px; font-size: .95rem; }
.acoes { display: flex; flex-wrap: wrap; gap: 12px; }

.tlink {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 600; text-decoration: none;
  border-bottom: 2px solid var(--amber); padding-bottom: 3px;
}
.tlink svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.tlink:hover svg { transform: translate(3px, -3px); }

/* ---------- Topo ---------- */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--hdr);
  color: var(--ink);
  isolation: isolate;
}
/* O fundo com desfoque fica num pseudo-elemento: backdrop-filter no proprio .hdr
   faria o menu do celular (position: fixed) se medir pela altura do topo. */
.hdr::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: 0 1px 0 var(--line);
  transition: opacity .4s var(--ease);
}
.hdr.is-scrolled::before { opacity: 1; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .hdr::before { background: var(--bg); } }
.hdr__in { height: 100%; display: flex; align-items: center; gap: 28px; }
.logo {
  font-family: Georgia, "Times New Roman", serif; font-weight: 700; font-size: 1.6rem;
  letter-spacing: .02em; text-decoration: none; color: inherit; line-height: 1;
}
.logo sup { color: var(--amber); font-size: .45em; margin-left: 1px; vertical-align: top; position: relative; top: .2em; }
.nav { margin-left: auto; display: flex; align-items: center; gap: clamp(16px, 2.2vw, 34px); }
.nav a {
  font-size: .95rem; font-weight: 500; text-decoration: none; padding: 8px 0;
  background: linear-gradient(var(--amber), var(--amber)) left bottom / 0 2px no-repeat;
  transition: background-size .4s var(--ease);
}
.nav a:hover, .nav a[aria-current="page"] { background-size: 100% 2px; }
.hdr .btn { min-height: 44px; padding: 10px 18px; font-size: .95rem; }
.menu-btn { display: none; }

@media (max-width: 900px) {
  .hdr__in { gap: 12px; }
  .hdr .btn { margin-left: auto; }
  .menu-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; background: transparent; border: 1px solid var(--line); cursor: pointer;
  }
  .menu-btn svg { width: 22px; height: 22px; }
  .menu-btn .i-close { display: none; }
  .menu-open .menu-btn .i-close { display: block; }
  .menu-open .menu-btn .i-open { display: none; }
  .nav {
    position: fixed; inset: var(--hdr) 0 0 0; margin: 0; background: var(--bg);
    flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 4px;
    padding: 24px var(--gut) 40px; overflow-y: auto;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  }
  .menu-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav a { font-size: clamp(1.8rem, 8vw, 2.6rem); font-weight: 600; letter-spacing: -.03em; padding: 10px 0; }
  .hdr::before { opacity: 1; }
}
.lbl-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 420px) {
  .hdr .btn .lbl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .hdr .btn { width: 44px; padding: 0; }
}

/* WhatsApp flutuante: circulo verde so com o icone (o texto fica para leitores de tela) */
.wa-float {
  position: fixed; z-index: 45;
  right: max(16px, env(safe-area-inset-right, 0px)); bottom: max(16px, env(safe-area-inset-bottom, 0px));
  width: 60px; height: 60px; min-height: 0; padding: 0; border-radius: 50%;
  box-shadow: 0 10px 28px rgba(7, 31, 56, .3);
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float .lbl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wa-float:hover svg, .hdr .btn:hover svg { transform: none; }
.js .wa-float { opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .4s var(--ease), transform .4s var(--ease), background-color .25s var(--ease), border-color .25s var(--ease); }
.js .wa-float.is-on { opacity: 1; transform: none; pointer-events: auto; }

/* ---------- Revelar ao rolar ---------- */
@media (prefers-reduced-motion: no-preference) {
  html.js [data-reveal] { opacity: 0; transform: translateY(36px); }
}

/* ---------- Hero: texto a esquerda, foto a direita na mesma altura do texto ---------- */
.hero {
  min-height: 100vh; min-height: 100dvh; display: flex; align-items: center;
  padding-top: calc(var(--hdr) + clamp(20px, 5vh, 56px));
  padding-bottom: clamp(32px, 7vh, 80px);
  background: var(--bg);
}
.hero__grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 4.5vw, 72px); align-items: stretch;
}
.hero__text {
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  gap: clamp(16px, 2.6vh, 28px);
}
.hero h1 {
  font-size: clamp(2.1rem, 4.3vw, 4.4rem); line-height: 1.03; letter-spacing: -.04em; font-weight: 600; max-width: 14em;
}
.hero h1 .wm { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.hero h1 .wi { display: inline-block; will-change: transform; }
.hero__sub { max-width: 46ch; font-size: clamp(1.02rem, 1.35vw, 1.3rem); line-height: 1.5; color: var(--ink2); }
/* A foto acompanha a altura do bloco de texto; o img fica absoluto para nao empurrar essa altura. */
.hero__media { position: relative; overflow: hidden; margin: 0; min-height: 300px; background: var(--c, #9d9894); }
.hero__media::after { content: ""; position: absolute; inset: auto 0 0 0; height: 30%; background: linear-gradient(to top, rgba(7, 31, 56, .6), rgba(7, 31, 56, 0)); pointer-events: none; }
.hero__media .case__note { z-index: 1; }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
@media (max-width: 900px) {
  .hero { min-height: 0; display: block; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { min-height: 0; aspect-ratio: 4 / 3; }
}

/* ---------- Numeros: faixa entre a primeira e a segunda dobra, com linha fina em cima e embaixo ---------- */
.numbers { background: var(--bg); border-block: 1px solid var(--hair); padding-block: clamp(28px, 5vh, 52px); }
.numbers__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px clamp(20px, 3vw, 48px); }
.numbers b { display: block; font-size: clamp(2rem, 3.8vw, 3.4rem); font-weight: 600; line-height: 1; letter-spacing: -.045em; color: var(--ink); }
.numbers span { display: block; margin-top: 8px; color: var(--ink2); font-size: .95rem; line-height: 1.35; max-width: 22ch; }
@media (max-width: 700px) { .numbers__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Casos: quatro textos lado a lado, sem fotos ---------- */
.cases { background: var(--bg2); padding-block: clamp(64px, 10vh, 120px); }
.cases__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(28px, 5vh, 56px); }
.cases__head p { max-width: 36ch; color: var(--ink2); }
/* --cg e o espaco entre um texto e o outro (colunas e linhas). O margin-bottom negativo da grade
   cancela o espaco que sobraria abaixo da ultima linha de cards. */
.cases__grid {
  --cg: clamp(20px, 2.4vw, 36px);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--cg); row-gap: 0;
  margin-bottom: calc(var(--cg) * -1);
}
.case {
  display: flex; flex-direction: column;
  padding: clamp(24px, 2.4vw, 36px); background: var(--surface); margin-bottom: var(--cg);
}
.case__place { font-family: var(--mono); font-size: .76rem; letter-spacing: .09em; text-transform: uppercase; color: var(--ink2); margin-bottom: 14px; }
.case h3 { font-size: 1.25rem; line-height: 1.2; letter-spacing: -.02em; margin-bottom: 8px; }
.case p { color: var(--ink2); font-size: .98rem; line-height: 1.5; }
.case p.case__desc { padding-bottom: 28px; }
.case__fig { margin-top: auto; font-size: clamp(1.9rem, 3vw, 2.9rem); line-height: 1; letter-spacing: -.05em; font-weight: 600; overflow-wrap: break-word; }
.case p.case__figtxt { margin: 8px 0 18px; }
.case .tlink { align-self: flex-start; }
/* Com subgrid, titulo, descricao, numero e link de cada card ficam alinhados com os dos vizinhos;
   a diferenca de tamanho dos textos vira pequenos intervalos alinhados, nao um buraco no meio.
   Sem suporte a subgrid, vale o layout em coluna acima. */
@supports (grid-template-rows: subgrid) {
  .case { display: grid; grid-row: span 6; grid-template-rows: subgrid; }
  .case__fig { margin-top: 0; }
  .case .tlink { justify-self: start; align-self: start; }
}
/* Legenda "Imagem ilustrativa" sobre fotos (hero e sequencia). */
.case__note {
  position: absolute; left: 12px; bottom: 10px; font-family: var(--mono); font-size: .68rem; letter-spacing: .08em;
  text-transform: uppercase; color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, .6);
}
@media (max-width: 1100px) { .cases__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .cases__grid { grid-template-columns: 1fr; } }

/* ---------- Antes e depois: duas colunas lado a lado, texto acima de cada foto ---------- */
/* Fotos com 50% da largura original (762 px em 1440 px de tela): a largura acompanha a tela
   (26,5vw = 381 px em 1440, teto de 520 px). A altura e 70% da que era (proporcao 762:551,6; 788 x 0,7).
   O espaco entre as duas fotos e o gap de colunas (4,4vw, teto de 61,6 px = 56 px + 10%). Os textos ficam numa linha da grade e as fotos na linha
   de baixo, entao as duas fotos ficam sempre alinhadas mesmo com textos de tamanhos diferentes. */
.seq { --seq-w: clamp(260px, 26.5vw, 520px); background: var(--deep); color: var(--on-deep); padding-block: clamp(32px, 4.9vw, 72px); }
.seq__row { display: grid; grid-template-columns: repeat(2, var(--seq-w)); justify-content: center; column-gap: clamp(22px, 4.4vw, 61.6px); row-gap: 24px; }
.seq__txt--antes { grid-area: 1 / 1; }
.seq__txt--depois { grid-area: 1 / 2; }
.seq__fig--antes { grid-area: 2 / 1; }
.seq__fig--depois { grid-area: 2 / 2; }
.seq__fig { position: relative; width: var(--seq-w); aspect-ratio: 762 / 551.6; overflow: hidden; margin: 0; background: var(--c, #777); }
.seq__fig img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.seq__txt h2 { font-size: clamp(1.25rem, 1.9vw, 1.7rem); letter-spacing: -.03em; line-height: 1.1; margin-bottom: 10px; }
.seq__txt p { color: var(--on-deep2); font-size: .98rem; line-height: 1.5; }
.seq__txt .k { font-family: var(--mono); font-size: .76rem; letter-spacing: .09em; text-transform: uppercase; color: var(--amber); margin-bottom: 12px; display: block; }
@media (max-width: 640px) {
  .seq__row { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 15.4px; row-gap: 16px; }
  .seq__fig { width: 100%; aspect-ratio: 8 / 7; }
  .seq__txt h2 { font-size: 1.15rem; }
  .seq__txt p { font-size: .9rem; }
}

/* ---------- Numeros ---------- */
.stats { position: relative; background: var(--deep); color: var(--on-deep); overflow: hidden; padding-block: clamp(88px, 15vh, 180px); }
.stats__bg { position: absolute; inset: -12% 0; }
.stats__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .34; }
.stats__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--deep) 0%, rgba(7, 31, 56, .55) 45%, var(--deep) 100%); }
.stats .wrap { position: relative; z-index: 1; }
.stats__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin-top: clamp(40px, 8vh, 96px); }
.stat b { display: block; font-size: clamp(2.6rem, 6.4vw, 6rem); font-weight: 600; line-height: .95; letter-spacing: -.05em; }
.stat span { display: block; margin-top: 12px; color: var(--on-deep2); max-width: 20ch; line-height: 1.35; }
@media (max-width: 800px) { .stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Servicos ---------- */
.svc { padding-block: clamp(80px, 14vh, 168px); }
.svc__title { text-align: center; margin-bottom: clamp(32px, 6vh, 64px); }
/* Tres itens na coluna da esquerda e tres na da direita. As linhas da grade fazem cada item da direita
   ficar na mesma altura do item da esquerda; o fluxo por coluna manda os 3 primeiros para a esquerda. */
.svc__items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(3, auto); grid-auto-flow: column; column-gap: clamp(36px, 7vw, 112px); }
.svc__items .sitem:first-child { border-top: 1px solid var(--line); padding-top: clamp(22px, 3.4vh, 34px); }
.thick { margin-top: clamp(28px, 5vh, 56px); }
.thick__row { display: grid; grid-template-columns: 1fr; gap: 8px; margin-bottom: 22px; }
.thick__lab { display: flex; justify-content: space-between; gap: 12px; font-size: .95rem; }
.thick__lab b { font-weight: 600; }
.thick__lab span { font-family: var(--mono); color: var(--ink2); font-size: .85rem; }
.thick__track { position: relative; height: 14px; border-bottom: 1px solid var(--line); }
.thick__track i {
  position: absolute; left: var(--a); width: var(--w); top: 0; height: 14px; background: var(--amber);
  transform-origin: left;
}
.js .thick__track i { transform: scaleX(0); }
.thick__axis { display: flex; justify-content: space-between; font-family: var(--mono); font-size: .72rem; color: var(--ink2); margin-top: 4px; }
.sitem { padding-block: clamp(22px, 3.4vh, 34px); border-top: 1px solid var(--line); }
.sitem:first-child { border-top: 0; padding-top: 0; }
.sitem__top { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
.sitem h3 { font-size: clamp(1.25rem, 2vw, 1.7rem); letter-spacing: -.03em; line-height: 1.12; }
.sitem .mm { font-family: var(--mono); font-size: .85rem; color: var(--ink2); border: 1px solid var(--line); padding: 2px 10px; white-space: nowrap; }
.sitem p { color: var(--ink2); max-width: 52ch; }
.sitem .tlink { margin-top: 12px; font-size: .95rem; }
.svc__cta { margin-top: clamp(28px, 5vh, 48px); padding-top: 28px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: center; text-align: center; }
.svc__cta p { font-weight: 600; max-width: 34ch; letter-spacing: -.01em; }
@media (max-width: 900px) { .svc__items { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; } }

/* ---------- Duvidas: titulo (H1) centralizado e as perguntas abaixo ---------- */
.faq { padding-block: clamp(64px, 10vh, 120px); background: var(--bg2); }
.faq__head { text-align: center; margin-bottom: clamp(28px, 5vh, 52px); }
.faq__head .lead { margin: 16px auto 0; }
.faq__list { max-width: 860px; margin-inline: auto; border-bottom: 1px solid var(--line); }
.faq details { border-top: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 0; font-size: clamp(1.05rem, 1.5vw, 1.25rem); font-weight: 600; letter-spacing: -.015em; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 20px; height: 20px; flex: none; transition: transform .4s var(--ease); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { padding: 0 44px 24px 0; color: var(--ink2); max-width: 60ch; }
.faq details a { color: var(--ink); }

/* ---------- Leituras ---------- */
.reads { padding-block: clamp(64px, 10vh, 120px); }
.reads__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); margin-top: clamp(24px, 4vh, 44px); }
.read { text-decoration: none; display: block; }
.read .frame { aspect-ratio: 16 / 10; margin-bottom: 18px; }
.read .frame img { transition: transform .9s var(--ease); }
.read:hover .frame img { transform: scale(1.05); }
.read h3 { font-size: clamp(1.25rem, 2vw, 1.7rem); letter-spacing: -.03em; line-height: 1.15; margin-bottom: 8px; }
.read p { color: var(--ink2); max-width: 46ch; }
@media (max-width: 800px) { .reads__grid { grid-template-columns: 1fr; } }

/* ---------- Chamada final ---------- */
.cta { position: relative; background: var(--deep); color: var(--on-deep); overflow: hidden; padding-block: clamp(96px, 18vh, 220px); }
.cta__bg { position: absolute; inset: -10% 0; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .3; }
.cta__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--deep) 8%, rgba(7, 31, 56, .6) 100%); }
.cta .wrap { position: relative; z-index: 1; }
.cta h2 { max-width: 14em; }
.cta p { color: var(--on-deep2); margin-top: 18px; max-width: 44ch; }
.cta .acoes { margin-top: clamp(24px, 4vh, 40px); }
.cta .mail { margin-top: 22px; font-size: .95rem; }
.cta .mail a { color: var(--on-deep); }

/* Chamada final da home: fundo azul da marca, sem foto. */
.cta--azul { background: var(--navy); }

/* ---------- Rodape ---------- */
.ftr { background: var(--deep); color: var(--on-deep2); padding-block: clamp(48px, 8vh, 88px) 32px; border-top: 1px solid var(--line-deep); }
.ftr__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.ftr .logo { color: var(--on-deep); font-size: 1.9rem; }
.ftr h4 { color: var(--on-deep); font-size: .82rem; font-family: var(--mono); text-transform: uppercase; letter-spacing: .1em; font-weight: 500; margin-bottom: 16px; }
.ftr li + li { margin-top: 8px; }
.ftr a { color: var(--on-deep2); text-decoration: none; }
.ftr a:hover { color: var(--on-deep); text-decoration: underline; text-underline-offset: 4px; }
.ftr p { max-width: 34ch; margin-top: 16px; }
.ftr__copy { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line-deep); font-size: .85rem; }
@media (max-width: 900px) { .ftr__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .ftr__grid { grid-template-columns: 1fr; } .ftr__copy { padding-right: 72px; } }

/* ---------- Paginas internas ---------- */
.phero { padding-top: calc(var(--hdr) + clamp(36px, 8vh, 96px)); padding-bottom: clamp(32px, 6vh, 72px); }
.crumbs { font-family: var(--mono); font-size: .76rem; letter-spacing: .07em; text-transform: uppercase; color: var(--ink2); margin-bottom: clamp(20px, 4vh, 40px); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; text-underline-offset: 3px; }
.crumbs span[aria-current] { color: var(--ink); }
.phero h1 { font-size: clamp(2.3rem, 6.2vw, 5.6rem); line-height: 1; letter-spacing: -.045em; font-weight: 600; max-width: 15em; }
.phero .lead { margin-top: clamp(18px, 3vh, 30px); }
.pband { position: relative; overflow: hidden; height: clamp(260px, 56vh, 640px); background: var(--c, #888); }
.pband img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; }
.pband__note { position: absolute; left: var(--gut); bottom: 14px; font-family: var(--mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, .6); }

.sec { padding-block: clamp(64px, 11vh, 132px); }
.sec--alt { background: var(--bg2); }
.sec--deep { background: var(--deep); color: var(--on-deep); }
.sec--deep .prose, .sec--deep .lead { color: var(--on-deep2); }
.split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.split__side { position: sticky; top: calc(var(--hdr) + 32px); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split__side { position: static; } }

.bigfig { font-size: clamp(3.4rem, 11vw, 10rem); font-weight: 600; letter-spacing: -.06em; line-height: .9; }
.bigfig small { display: block; font-size: clamp(1rem, 1.6vw, 1.4rem); letter-spacing: -.01em; font-weight: 500; margin-top: 18px; color: var(--ink2); line-height: 1.3; }

.facts { border-top: 1px solid var(--line); }
.fact { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 16px 32px; padding-block: clamp(22px, 4vh, 40px); border-bottom: 1px solid var(--line); }
.fact dt { font-family: var(--mono); font-size: .8rem; letter-spacing: .09em; text-transform: uppercase; color: var(--ink2); padding-top: .35em; }
.fact dd { font-size: clamp(1.15rem, 1.9vw, 1.65rem); line-height: 1.32; letter-spacing: -.02em; max-width: 30em; }
@media (max-width: 700px) { .fact { grid-template-columns: 1fr; } }

.rows a {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; text-decoration: none;
  padding-block: clamp(20px, 3.4vh, 32px); border-top: 1px solid var(--line);
  font-size: clamp(1.4rem, 3vw, 2.4rem); font-weight: 600; letter-spacing: -.035em; line-height: 1.1;
  transition: padding .4s var(--ease), color .3s;
}
.rows li:last-child a { border-bottom: 1px solid var(--line); }
.rows a:hover { padding-left: 14px; color: var(--navy); }
@media (prefers-color-scheme: dark) { .rows a:hover { color: var(--amber); } }
.rows svg { width: 28px; height: 28px; flex: none; transition: transform .4s var(--ease); }
.rows a:hover svg { transform: translate(4px, -4px); }
.rows small { display: block; font-size: 1rem; font-weight: 400; letter-spacing: 0; color: var(--ink2); margin-top: 6px; }

.tiles { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 24px); }
.tile { position: relative; display: block; overflow: hidden; text-decoration: none; color: #fff; background: var(--c, #555); min-height: clamp(280px, 46vh, 460px); }
.tile:nth-child(1) { grid-column: span 7; }
.tile:nth-child(2) { grid-column: span 5; }
.tile:nth-child(3) { grid-column: span 5; }
.tile:nth-child(4) { grid-column: span 7; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 31, 56, 0) 25%, rgba(7, 31, 56, .86) 100%); }
.tile:hover img { transform: scale(1.05); }
.tile__in { position: absolute; z-index: 1; inset: auto 0 0 0; padding: clamp(20px, 2.4vw, 36px); }
.tile__fig { font-size: clamp(2rem, 4.4vw, 4rem); font-weight: 600; line-height: 1; letter-spacing: -.05em; }
.tile h2, .tile h3 { font-size: clamp(1.15rem, 1.7vw, 1.5rem); letter-spacing: -.02em; margin-top: 10px; }
.tile p { color: #d7e1ea; margin-top: 6px; max-width: 40ch; font-size: .95rem; line-height: 1.45; }
@media (max-width: 800px) { .tile:nth-child(n) { grid-column: 1 / -1; } }

.caso { padding-block: clamp(40px, 8vh, 96px); }
.caso + .caso { border-top: 1px solid var(--line); }
.caso__media { aspect-ratio: 21 / 9; margin-bottom: clamp(24px, 4vh, 44px); }
.caso__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 6vw, 96px); align-items: start; }
.caso__grid h2 { margin-bottom: 20px; }
.caso__grid dl div { margin-bottom: 18px; }
.caso__grid dt { font-family: var(--mono); font-size: .76rem; letter-spacing: .09em; text-transform: uppercase; color: var(--ink2); margin-bottom: 4px; }
.caso__grid dd { max-width: 54ch; }
@media (max-width: 800px) { .caso__grid { grid-template-columns: 1fr; } .caso__media { aspect-ratio: 16 / 10; } }

.vals dt { font-size: clamp(1.4rem, 2.6vw, 2.2rem); font-weight: 600; letter-spacing: -.035em; margin-top: 28px; }
.vals dt:first-child { margin-top: 0; }
.vals dd { color: var(--ink2); margin-top: 6px; max-width: 46ch; }
.dif { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.dif li { padding-block: 16px; border-top: 1px solid var(--line); font-weight: 500; }
@media (max-width: 700px) { .dif { grid-template-columns: 1fr; } }

.contact-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.panel { background: var(--deep); color: var(--on-deep); padding: clamp(28px, 4vw, 56px); }
.panel .h-lg { margin-bottom: 16px; }
.panel p { color: var(--on-deep2); }
.panel ul { margin: 18px 0 28px; }
.panel li { padding: 10px 0; border-top: 1px solid var(--line-deep); color: var(--on-deep); }
.panel .mail { margin-top: 22px; font-size: .95rem; }
.panel .mail a { color: var(--on-deep); }
.data dt { font-family: var(--mono); font-size: .76rem; letter-spacing: .09em; text-transform: uppercase; color: var(--ink2); margin-top: 26px; }
.data dt:first-child { margin-top: 0; }
.data dd { font-size: 1.15rem; margin-top: 6px; }
.data a { color: var(--ink); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.article { max-width: 68ch; }
.article h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); letter-spacing: -.035em; line-height: 1.1; margin: 2.2em 0 .6em; }
.article p, .article li { color: var(--ink2); }
.article p + p { margin-top: 1em; }
.article ul { list-style: disc; padding-left: 1.2em; margin-top: 1em; }
.article li { margin-bottom: .5em; }
.article strong { color: var(--ink); }
.article a { color: var(--ink); }
.lead-p { font-size: clamp(1.15rem, 1.7vw, 1.45rem); line-height: 1.5; color: var(--ink) !important; letter-spacing: -.01em; }
.notfound { min-height: 100dvh; display: grid; place-items: center; text-align: left; }

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Sem JavaScript: tudo visivel e utilizavel */
