/* ==========================================================================
   Folha de estilos principal da 100 Engenharia & Manutenção
   --------------------------------------------------------------------------
   Índice
   01. Fontes
   02. Variáveis (cores, tipografia, espaçamentos)  ← ajuste a identidade aqui
   03. Base e reset
   04. Tipografia
   05. Layout (container, seções, grid)
   06. Botões e links
   07. Cabeçalho e menu
   08. Hero (Home e páginas de obra)
   09. Cabeçalho de páginas internas
   10. Home: apresentação, números e diferenciais
   11. Obras: destaques, índice, filtros e cartões
   12. Serviços
   13. Processo (etapas)
   14. Compromisso 100 / controle
   15. Clientes
   16. Conteúdo de texto, listas e FAQ
   17. Página de obra: carimbo e galeria
   18. Contato e formulário
   19. Rodapé
   20. Componentes flutuantes (WhatsApp, cookies, lightbox)
   21. Utilitários
   22. Tipografia da marca (Bourton) aplicada aos componentes
   As regras responsivas ficam junto de cada componente (mobile first).
   ========================================================================== */

/* 01. Fontes ------------------------------------------------------------ */
/* Bourton (fonte da marca, licença da empresa): títulos, rótulos e botões.
   Ela só tem maiúsculas. Textos corridos usam a Archivo, mais legível. */
@font-face {
  font-family: "Bourton Base";
  src: url("../assets/fonts/bourton-base-drop.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Bourton Line";
  src: url("../assets/fonts/bourton-line-bold.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
/* Reserva com métricas da Bourton: evita "pulo" do layout ao carregar */
@font-face {
  font-family: "Bourton Fallback";
  src: local("Arial Bold"), local("Arial-BoldMT"), local("Arial");
  size-adjust: 87.2%;
  ascent-override: 105.1%;
  descent-override: 9.5%;
  line-gap-override: 0%;
}

@font-face {
  font-family: "Archivo";
  src: url("../assets/fonts/archivo-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-stretch: 75% 120%;
  font-style: normal;
  font-display: swap;
}

/* Fallback com métricas ajustadas: evita "pulo" do layout ao carregar a fonte */
@font-face {
  font-family: "Archivo Fallback";
  src: local("Arial"), local("Helvetica Neue"), local("Helvetica");
  size-adjust: 98.5%;
  ascent-override: 89.1%;
  descent-override: 21.3%;
  line-gap-override: 0%;
}

/* 02. Variáveis ---------------------------------------------------------- */
:root {
  /* Cores da marca (manual 100 Engenharia) */
  --c-orange: #ff4b00;
  --c-wine: #930044;
  --c-gray: #adadad;
  --c-gray-dark: #606060;

  /* Cores de interface */
  --c-ink: #141312;          /* grafite: textos e fundos escuros */
  --c-ink-2: #1e1c1a;
  --c-paper: #f4f2ee;        /* fundo principal (papel de prancha) */
  --c-paper-2: #eae6df;      /* fundo alternado */
  --c-white: #fff;
  --c-text: #141312;
  --c-muted: #5c5853;        /* texto secundário em fundo claro (6:1) */
  --c-muted-dark: #a8a39c;   /* texto secundário em fundo escuro (7:1) */
  --c-orange-ink: #b83500;   /* laranja para textos pequenos em fundo claro (5:1) */
  --c-line: rgba(20, 19, 18, 0.14);
  --c-line-strong: rgba(20, 19, 18, 0.28);
  --c-line-dark: rgba(255, 255, 255, 0.16);
  --c-error: #b3261e;
  --c-success: #1f6f43;
  --c-whatsapp: #25d366;

  /* Tipografia */
  --font: "Archivo", "Archivo Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Bourton Base", "Bourton Fallback", var(--font);
  --font-label: "Bourton Line", "Bourton Fallback", var(--font);
  --fs-display: clamp(2.25rem, 0.9rem + 4.3vw, 5.25rem);
  --fs-h1: clamp(2.1rem, 1rem + 3.6vw, 4.5rem);
  --fs-h2: clamp(1.75rem, 1rem + 2.5vw, 3.5rem);
  --fs-h3: clamp(1.1rem, 0.98rem + 0.45vw, 1.45rem);
  --fs-statement: clamp(1.5rem, 1.05rem + 1.9vw, 2.9rem);
  --fs-lead: clamp(1.125rem, 1.02rem + 0.45vw, 1.375rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;
  --fs-label: 0.8125rem;

  /* Espaçamentos */
  --gutter: clamp(1rem, 4vw, 3.5rem);
  --gap: clamp(1rem, 2vw, 2rem);
  --section: clamp(5rem, 10vw, 10rem);
  --header-h: 64px;
  --container: 1440px;

  /* Movimento */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.25s;
}

@media (min-width: 1024px) {
  :root { --header-h: 76px; }
}

/* 03. Base e reset -------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-paper);
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body.menu-open { overflow: hidden; }

img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
/* <picture> dentro de molduras com proporção fixa ocupa toda a área */
[class*="__media"] > picture,
.gallery__item > picture { width: 100%; height: 100%; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul[class], ol[class], nav ul, nav ol, .footer-col ul { list-style: none; padding: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
address { font-style: normal; }
[hidden] { display: none !important; }

::selection { background: var(--c-orange); color: var(--c-ink); }

:focus-visible {
  outline: 2px solid var(--c-orange);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 200;
  padding: 0.75rem 1.25rem;
  background: var(--c-ink);
  color: var(--c-white);
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform var(--dur) var(--ease);
}
.skip-link:focus { transform: none; }

/* 04. Tipografia ---------------------------------------------------------- */
.display,
.h1,
.h2,
.h3 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  text-wrap: balance;
}
.display { font-size: var(--fs-display); line-height: 1; }
.h1 { font-size: var(--fs-h1); line-height: 1.02; }
.h2 { font-size: var(--fs-h2); line-height: 1.05; }
.h3 { font-size: var(--fs-h3); line-height: 1.15; letter-spacing: 0.03em; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: var(--fs-label);
  line-height: 1.3;
}
.eyebrow::before {
  content: "";
  width: 1.75rem;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.lead {
  font-size: var(--fs-lead);
  line-height: 1.5;
  text-wrap: pretty;
}

.statement {
  font-size: var(--fs-statement);
  font-weight: 450;
  line-height: 1.18;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.statement em { font-style: normal; color: var(--c-orange-ink); }
.statement--sm { font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); color: var(--c-text); }
.h2--sm { font-size: clamp(1.9rem, 1.2rem + 2.2vw, 3.25rem); }
.section--dark .statement em { color: var(--c-orange); }

.muted { color: var(--c-muted); }
.section--dark .muted { color: var(--c-muted-dark); }

.num { font-variant-numeric: tabular-nums; }

/* 05. Layout -------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: calc(var(--section) * 0.6); }
.section--flush-top { padding-top: 0; }
.section--alt { background: var(--c-paper-2); }
.section--dark { background: var(--c-ink); color: var(--c-paper); }
.section--dark ::selection { color: var(--c-ink); }

/* Cabeçalho de seção: índice numerado + título (estilo prancha técnica) */
.section-head {
  display: grid;
  gap: 1.25rem var(--gap);
  padding-top: 1.25rem;
  border-top: 1px solid var(--c-line-strong);
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}
.section--dark .section-head { border-top-color: var(--c-line-dark); }

.section-index {
  display: flex;
  gap: 0.75rem;
  font-size: var(--fs-label);
}
.section-index span { color: var(--c-orange-ink); font-variant-numeric: tabular-nums; }
.section--dark .section-index span { color: var(--c-orange); }

.section-head__body { display: grid; gap: 1.25rem; }
.section-head__aside { max-width: 44ch; color: var(--c-muted); }
.section--dark .section-head__aside { color: var(--c-muted-dark); }

@media (min-width: 900px) {
  .section-head {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: start;
  }
  .section-head > .section-index { grid-column: 1 / span 3; padding-top: 0.6rem; }
  .section-head > .section-head__body { grid-column: 4 / -1; }
  .section-head--split .section-head__body {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    align-items: end;
    gap: var(--gap);
  }
  .section-head--split .section-head__aside { justify-self: end; }
  /* Variante empilhada: rótulo, título e texto um abaixo do outro */
  .section-head--stacked > .section-index { grid-column: 1 / -1; padding-top: 0; }
  .section-head--stacked > .section-head__body { grid-column: 1 / span 9; }
}
.section-head--stacked .h2 { font-size: var(--fs-h1); }

/* 06. Botões e links ------------------------------------------------------ */
.btn {
  --btn-bg: var(--c-ink);
  --btn-fg: var(--c-paper);
  --btn-bd: var(--btn-bg);
  --btn-bg-h: var(--c-orange);
  --btn-fg-h: var(--c-ink);
  --btn-bd-h: var(--btn-bg-h);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 3.25rem;
  padding: 0.875rem 1.5rem;
  border: 1px solid var(--btn-bd);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 0.9375rem;
  line-height: 1.2;
  text-align: center;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease),
    border-color var(--dur) var(--ease), transform 0.15s var(--ease);
}
.btn:hover { background: var(--btn-bg-h); color: var(--btn-fg-h); border-color: var(--btn-bd-h); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 1.125rem; height: 1.125rem; flex: none; transition: transform 0.35s var(--ease); }
.btn:hover .icon-arrow { transform: translateX(4px); }

.btn--primary { --btn-bg: var(--c-orange); --btn-fg: var(--c-ink); --btn-bg-h: var(--c-ink); --btn-fg-h: var(--c-paper); }
.section--dark .btn--primary,
.on-dark .btn--primary { --btn-bg-h: var(--c-paper); --btn-fg-h: var(--c-ink); }

.btn--outline { --btn-bg: transparent; --btn-fg: var(--c-ink); --btn-bd: var(--c-ink); --btn-bg-h: var(--c-ink); --btn-fg-h: var(--c-paper); --btn-bd-h: var(--c-ink); }
.btn--outline-light { --btn-bg: transparent; --btn-fg: var(--c-white); --btn-bd: rgba(255, 255, 255, 0.55); --btn-bg-h: var(--c-white); --btn-fg-h: var(--c-ink); --btn-bd-h: var(--c-white); }
.btn--whatsapp svg { color: var(--c-whatsapp); }
.btn--whatsapp:hover svg { color: currentColor; }

.btn[aria-busy="true"] { pointer-events: none; opacity: 0.85; }
.btn .spinner {
  width: 1.1rem;
  height: 1.1rem;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Link com seta e sublinhado animado */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--fs-small);
  padding-block: 0.35rem;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0% 1px no-repeat;
  transition: background-size 0.45s var(--ease);
}
.link-arrow svg { width: 1rem; height: 1rem; transition: transform 0.35s var(--ease); }
.link-arrow:hover { background-size: 100% 1px; }
.link-arrow:hover svg { transform: translateX(4px); }

.text-link {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  text-decoration-color: var(--c-line-strong);
  transition: text-decoration-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.text-link:hover { text-decoration-color: currentColor; color: var(--c-orange-ink); }
.section--dark .text-link:hover { color: var(--c-orange); }

/* 07. Cabeçalho e menu ---------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  height: var(--header-h);
  color: var(--c-ink);
  background: var(--c-paper);
  border-bottom: 1px solid var(--c-line);
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease),
    border-color 0.35s var(--ease), transform 0.45s var(--ease);
}
.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.brand { display: inline-flex; align-items: center; gap: 0.85rem; flex: none; }
.brand__symbol { position: relative; width: 58px; height: 26px; }
.brand__symbol img { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity 0.35s var(--ease); }
.brand__symbol .logo-light { opacity: 0; }
.brand__name {
  display: grid;
  font-size: 0.6875rem;
  line-height: 1.35;
}
.brand__name small { font-size: 0.5625rem; opacity: 0.75; }

@media (min-width: 1024px) {
  .brand__symbol { width: 66px; height: 30px; }
}

/* Cabeçalho transparente sobre foto (Home e páginas de obra) */
.site-header.is-transparent {
  background: transparent;
  color: var(--c-white);
  border-bottom-color: transparent;
}
.site-header.is-transparent .logo-dark { opacity: 0; }
.site-header.is-transparent .logo-light { opacity: 1; }
.site-header.is-transparent .btn--primary { --btn-bg-h: var(--c-white); --btn-fg-h: var(--c-ink); }
.site-header.is-hidden { transform: translateY(-100%); }

.main-nav { display: none; margin-left: auto; }
.main-nav ul { display: flex; gap: clamp(1.25rem, 2.2vw, 2.25rem); }
.main-nav a {
  position: relative;
  display: inline-block;
  padding-block: 0.5rem;
  font-size: 0.9375rem;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.2rem;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.main-nav a[aria-current="page"]::after { background: var(--c-orange); height: 2px; }

.header-actions { display: flex; align-items: center; gap: 0.5rem; margin-left: auto; }
.header-actions .btn { min-height: 2.75rem; padding: 0.625rem 1.125rem; font-size: 0.875rem; }
.header-actions .btn--cta { display: none; }

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid currentColor;
  border-color: color-mix(in srgb, currentColor 30%, transparent);
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.icon-btn svg { width: 1.25rem; height: 1.25rem; }
.icon-btn:hover { border-color: currentColor; }
.icon-btn--wa:hover { background: var(--c-whatsapp); border-color: var(--c-whatsapp); color: var(--c-ink); }

.menu-toggle { position: relative; }
.menu-toggle__bars { position: relative; width: 20px; height: 12px; }
.menu-toggle__bars::before,
.menu-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.4s var(--ease), top 0.4s var(--ease);
}
.menu-toggle__bars::before { top: 2px; }
.menu-toggle__bars::after { top: 9px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { top: 5.5px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { top: 5.5px; transform: rotate(-45deg); }

@media (min-width: 1024px) {
  .main-nav { display: block; }
  .header-actions { margin-left: 1.5rem; }
  .header-actions .btn--cta { display: inline-flex; }
  .menu-toggle { display: none; }
}

/* Menu mobile (tela cheia) */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: flex;
  flex-direction: column;
  padding: calc(var(--header-h) + 2rem) var(--gutter) calc(2rem + env(safe-area-inset-bottom));
  background: var(--c-ink);
  color: var(--c-paper);
  overflow-y: auto;
  visibility: hidden;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.6s var(--ease-expo), visibility 0s linear 0.6s;
}
.mobile-menu.is-open {
  visibility: visible;
  clip-path: inset(0 0 0 0);
  transition: clip-path 0.6s var(--ease-expo), visibility 0s;
}
.mobile-menu__links { display: grid; gap: 0.25rem; }
.mobile-menu__links a {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding-block: 0.4rem;
  font-size: clamp(1.7rem, 7.5vw, 2.5rem);
  line-height: 1.1;
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), color var(--dur);
}
.mobile-menu__links a span { font-size: 0.75rem; color: var(--c-orange); }
.mobile-menu__links a[aria-current="page"] { color: var(--c-orange); }
.mobile-menu.is-open .mobile-menu__links a { opacity: 1; transform: none; transition-delay: calc(0.12s + var(--i, 0) * 0.05s); }
.mobile-menu__footer {
  margin-top: auto;
  padding-top: 2.5rem;
  display: grid;
  gap: 1.25rem;
  border-top: 1px solid var(--c-line-dark);
  margin-block-start: 2.5rem;
}
.mobile-menu__footer .btn { width: 100%; }
.mobile-menu__contacts { display: grid; gap: 0.35rem; color: var(--c-muted-dark); font-size: var(--fs-small); }
.mobile-menu__contacts a:hover { color: var(--c-paper); }

@media (min-width: 1024px) {
  .mobile-menu { display: none; }
}

/* Cabeçalho sobre o menu aberto */
body.menu-open .site-header { background: var(--c-ink); color: var(--c-paper); border-bottom-color: var(--c-line-dark); transform: none; }
body.menu-open .site-header .logo-dark { opacity: 0; }
body.menu-open .site-header .logo-light { opacity: 1; }

/* 08. Hero ---------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: max(640px, 100svh);
  display: flex;
  align-items: flex-end;
  color: var(--c-white);
  background: var(--c-ink);
  overflow: hidden;
  isolation: isolate;
}
.hero--work { min-height: max(560px, 88svh); }

.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media picture,
.hero__media img { width: 100%; height: 100%; }
.hero__media img { object-fit: cover; object-position: var(--focus, 50% 50%); }
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(12, 11, 10, 0.55) 0%, rgba(12, 11, 10, 0) 22%),
    linear-gradient(to top, rgba(12, 11, 10, 0.9) 0%, rgba(12, 11, 10, 0.55) 38%, rgba(12, 11, 10, 0) 70%);
}

.hero__content {
  width: 100%;
  padding-top: calc(var(--header-h) + 3rem);
  padding-bottom: clamp(2rem, 5vw, 4rem);
  display: grid;
  gap: 2rem;
}
.hero__main { display: grid; gap: 1.5rem; max-width: 62rem; }
.hero__title { max-width: 13em; }
.hero__lead { max-width: 48ch; color: rgba(255, 255, 255, 0.86); }
.hero__actions { margin-top: 0.5rem; }

/* Legenda em formato de carimbo técnico */
.hero__caption {
  display: grid;
  grid-template-columns: auto 1fr;
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: var(--fs-small);
  max-width: 24rem;
}
.hero__caption > * { padding: 0.75rem 1rem; }
.hero__caption dt {
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.7);
  border-right: 1px solid rgba(255, 255, 255, 0.28);
}
.hero__caption dd + dt,
.hero__caption dd + dt + dd { border-top: 1px solid rgba(255, 255, 255, 0.28); }
.hero__caption a:hover { color: var(--c-orange); }

/* Sequência de fotos da abertura (js/hero.js): as fotos ficam empilhadas e
   a ativa aparece por cima; a legenda e os controles acompanham a foto */
.hero--slides .hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s var(--ease); }
.hero--slides .hero__slide.is-active { opacity: 1; }
/* Véu extra: algumas fotos da sequência são muito claras (neon, luz do dia) */
.hero--slides .hero__media::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(12, 11, 10, 0.2); }
.hero--slides .hero__media::after { z-index: 1; }
.hero__side { display: grid; gap: 0.75rem; width: 100%; max-width: 24rem; }
.hero__side .hero__caption { max-width: none; }
.hero__controls { display: flex; align-items: center; gap: 0.375rem; }
/* Sem JavaScript não há troca de fotos: os controles somem. Com JavaScript
   eles já ocupam o espaço desde o início, para o texto não se deslocar. */
html:not(.js) .hero__controls { display: none; }
.hero__count { font-size: 0.6875rem; color: rgba(255, 255, 255, 0.8); white-space: nowrap; }
.hero__progress { position: relative; flex: 1; height: 1px; margin: 0 0.625rem; overflow: hidden; background: rgba(255, 255, 255, 0.28); }
.hero__progress i { position: absolute; inset: 0; background: var(--c-orange); transform: scaleX(0); transform-origin: left; animation: hero-progresso 7s linear forwards; }
.hero.is-paused .hero__progress i { animation-play-state: paused; }
@keyframes hero-progresso { to { transform: scaleX(1); } }
.hero__btn {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  flex: none;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--c-white);
  background: transparent;
  cursor: pointer;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.hero__btn:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.6); }
.hero__btn svg { width: 1.125rem; height: 1.125rem; }
.hero__btn .i-play,
.hero__btn[aria-pressed="true"] .i-pause { display: none; }
.hero__btn[aria-pressed="true"] .i-play { display: block; }

/* No celular o texto cobre boa parte da foto: escurecimento mais alto */
@media (max-width: 767px) {
  .hero__media::after {
    background:
      linear-gradient(to bottom, rgba(12, 11, 10, 0.5) 0%, rgba(12, 11, 10, 0) 18%),
      linear-gradient(to top, rgba(12, 11, 10, 0.92) 0%, rgba(12, 11, 10, 0.7) 45%, rgba(12, 11, 10, 0.15) 80%);
  }
}

@media (min-width: 1024px) {
  .hero__content {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }
}

/* 09. Cabeçalho de páginas internas -------------------------------------- */
.page-hero {
  padding-top: calc(var(--header-h) + clamp(3rem, 7vw, 6.5rem));
  padding-bottom: clamp(3rem, 6vw, 5rem);
}
.page-hero__grid { display: grid; gap: 1.75rem; }
.page-hero__title { max-width: 16em; }
.page-hero__lead { max-width: 52ch; color: var(--c-muted); }
.page-hero--tall { min-height: 75vh; }
.page-hero__media { margin-top: clamp(2.5rem, 5vw, 4rem); overflow: hidden; aspect-ratio: 16 / 9; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) {
  .page-hero__grid { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: end; }
  .page-hero__grid > .breadcrumb,
  .page-hero__grid > .eyebrow { grid-column: 1 / -1; }
  .page-hero__title { grid-column: 1 / span 8; }
  .page-hero__lead { grid-column: 9 / -1; }
  .page-hero__media { aspect-ratio: 21 / 9; }
}

.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 0.5rem; font-size: 0.8125rem; color: var(--c-muted); }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: 0.5rem; opacity: 0.6; }
.breadcrumb a:hover { color: var(--c-text); text-decoration: underline; text-underline-offset: 0.2em; }
.hero .breadcrumb ol { color: rgba(255, 255, 255, 0.75); }
.hero .breadcrumb a:hover { color: var(--c-white); }

/* 10. Home: apresentação, diferenciais e números ------------------------- */
.intro__statement { max-width: 30ch; }
.intro__text { margin-top: 1.75rem; max-width: 60ch; color: var(--c-muted); }

.pillars {
  display: grid;
  gap: 0;
  margin-top: clamp(3rem, 6vw, 5rem);
  border-top: 1px solid var(--c-line-strong);
}
.pillar { padding: 1.75rem 0; border-bottom: 1px solid var(--c-line); display: grid; gap: 0.75rem; }
.pillar__num { font-size: var(--fs-label); color: var(--c-orange-ink); font-variant-numeric: tabular-nums; }
.pillar p { color: var(--c-muted); max-width: 42ch; }
@media (min-width: 900px) {
  .pillars { grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--c-line); }
  .pillar { padding: 2rem 2rem 2.5rem 0; border-bottom: 0; }
  .pillar + .pillar { padding-left: 2rem; border-left: 1px solid var(--c-line); }
}

.figures { display: grid; gap: 0; margin-top: clamp(3rem, 6vw, 5rem); }
.figure { padding: 1.5rem 0; border-top: 1px solid var(--c-line-strong); display: grid; gap: 0.35rem; }
.figure__value {
  font-size: clamp(2.6rem, 1.4rem + 4vw, 5.25rem);
  line-height: 0.9;
  font-variant-numeric: tabular-nums;
}
.figure__value small { font-size: 0.42em; margin-left: 0.15em; }
.figure__value .plus { color: var(--c-orange-ink); }
.section--dark .figure__value .plus { color: var(--c-orange); }
.figure__label { font-size: var(--fs-small); color: var(--c-muted); }
.section--dark .figure { border-top-color: var(--c-line-dark); }
.section--dark .figure__label { color: var(--c-muted-dark); }
@media (min-width: 700px) {
  .figures { grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
}

/* Faixa de foto em largura total com os números da empresa (Home) */
.band {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(520px, 82vh, 860px);
  color: var(--c-white);
  background: var(--c-ink);
  overflow: hidden;
  isolation: isolate;
}
.band__media { position: absolute; inset: 0; z-index: -1; }
.band__media img { width: 100%; height: 100%; object-fit: cover; }
.band__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 11, 10, 0.9) 0%, rgba(12, 11, 10, 0.5) 45%, rgba(12, 11, 10, 0.15) 100%);
}
.band__content { padding-block: clamp(3rem, 6vw, 5rem); }
.band .figures { margin-top: 0; }
.band .figure { border-top-color: rgba(255, 255, 255, 0.35); }
.band .figure__label { color: rgba(255, 255, 255, 0.82); }
.band .figure__value .plus { color: var(--c-orange); }
.band__caption { margin-top: 2rem; font-size: 0.875rem; color: rgba(255, 255, 255, 0.75); }
.band__caption a { text-decoration: underline; text-underline-offset: 0.2em; }
.band__caption a:hover { color: var(--c-white); }

/* 11. Obras -------------------------------------------------------------- */
.work-card { display: block; position: relative; }
.work-card__media {
  position: relative;
  overflow: hidden;
  background: var(--c-paper-2);
  aspect-ratio: var(--ratio, 4 / 3);
}
.work-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease-expo);
}
.work-card__tag {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.85rem;
  background: var(--c-paper);
  color: var(--c-ink);
  font-size: 0.8125rem;
  opacity: 0;
  transform: translateY(0.5rem);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.work-card__tag svg { width: 0.95rem; height: 0.95rem; }
.work-card__info {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.25rem 1rem;
  padding-top: 1rem;
  align-items: start;
}
.work-card__title { font-size: clamp(1.05rem, 0.95rem + 0.4vw, 1.35rem); line-height: 1.2; }
.work-card__meta { grid-column: 1; font-size: 0.875rem; color: var(--c-muted); }
.work-card__arrow {
  grid-column: 2;
  grid-row: 1 / span 2;
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--c-line-strong);
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.work-card__arrow svg { width: 1rem; height: 1rem; transition: transform 0.35s var(--ease); }
@media (hover: hover) {
  .work-card:hover .work-card__media img { transform: scale(1.045); }
  .work-card:hover .work-card__tag { opacity: 1; transform: none; }
  .work-card:hover .work-card__arrow { background: var(--c-orange); border-color: var(--c-orange); color: var(--c-ink); }
  .work-card:hover .work-card__arrow svg { transform: rotate(-45deg); }
}

/* Destaques da Home: grid editorial assimétrico */
.works-featured { display: grid; gap: clamp(2.5rem, 5vw, 4rem) var(--gap); }
.works-featured > :nth-child(6n + 1) { --ratio: 4 / 3; }
.works-featured > :nth-child(6n + 2),
.works-featured > :nth-child(6n + 3),
.works-featured > :nth-child(6n + 6) { --ratio: 4 / 5; }
.works-featured > :nth-child(6n + 4),
.works-featured > :nth-child(6n + 5) { --ratio: 3 / 2; }
/* Tablet: pares lado a lado, com a 1ª e a 4ª obra em largura total */
@media (min-width: 600px) and (max-width: 899px) {
  .works-featured { grid-template-columns: 1fr 1fr; }
  .works-featured > :nth-child(6n + 1),
  .works-featured > :nth-child(6n + 4) { grid-column: 1 / -1; }
  .works-featured > :nth-child(6n + 5) { --ratio: 4 / 5; }
}
@media (min-width: 900px) {
  .works-featured { grid-template-columns: repeat(12, minmax(0, 1fr)); row-gap: clamp(4rem, 7vw, 7rem); }
  .works-featured > :nth-child(6n + 1) { grid-column: 1 / span 7; }
  .works-featured > :nth-child(6n + 2) { grid-column: 9 / span 4; margin-top: clamp(6rem, 12vw, 11rem); }
  .works-featured > :nth-child(6n + 3) { grid-column: 2 / span 4; }
  .works-featured > :nth-child(6n + 4) { grid-column: 7 / span 6; margin-top: clamp(4rem, 8vw, 8rem); }
  .works-featured > :nth-child(6n + 5) { grid-column: 1 / span 6; }
  .works-featured > :nth-child(6n + 6) { grid-column: 8 / span 5; margin-top: clamp(3rem, 6vw, 6rem); }
}
.works-featured__more { margin-top: clamp(3rem, 6vw, 5rem); display: flex; justify-content: center; }

/* Filtros */
.filters {
  position: sticky;
  top: var(--header-h);
  z-index: 20;
  background: var(--c-paper);
  border-block: 1px solid var(--c-line);
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
  transition: top 0.45s var(--ease);
}
.header-hidden .filters { top: 0; }
.filters--static { position: static; margin-bottom: clamp(3rem, 6vw, 5rem); }
.filters__inner { display: flex; align-items: center; gap: 1.25rem; overflow-x: auto; scrollbar-width: none; padding-block: 0.875rem; }
.filters__inner::-webkit-scrollbar { display: none; }
.filters__label { flex: none; font-size: var(--fs-label); color: var(--c-muted); }
.filters__list { display: flex; gap: 0.5rem; }
.chip {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.5rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--c-line-strong);
  font-size: 0.875rem;
  white-space: nowrap;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.chip span { font-size: 0.75rem; color: var(--c-muted); font-variant-numeric: tabular-nums; }
.chip:hover { border-color: var(--c-ink); }
.chip[aria-pressed="true"] { background: var(--c-ink); color: var(--c-paper); border-color: var(--c-ink); }
.chip[aria-pressed="true"] span { color: var(--c-muted-dark); }
.filters__count { margin-left: auto; flex: none; font-size: 0.875rem; color: var(--c-muted); }

/* Índice de obras */
.works-grid { display: grid; gap: clamp(2.5rem, 5vw, 3.5rem) var(--gap); }
@media (min-width: 700px) { .works-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) {
  .works-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-flow: dense; }
  .works-grid > .work-card { grid-column: span 4; --ratio: 4 / 5; }
  /* 33/20 compensa os gaps: o card largo fica com a mesma altura dos cards 4/5 */
  .works-grid > .work-card--wide { grid-column: span 8; --ratio: 33 / 20; }
}
.works-grid > .is-hidden,
.works-others > .is-hidden { display: none; }
.works-grid > .is-entering,
.works-others > .is-entering { animation: card-in 0.6s var(--ease) both; }
@keyframes card-in { from { opacity: 0; transform: translateY(16px); } }

.works-others { display: grid; gap: 2rem var(--gap); grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); }
.work-mini { display: grid; gap: 0.85rem; text-align: left; width: 100%; }
.work-mini__media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--c-paper-2); }
.work-mini__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-expo); }
.work-mini__count {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.55rem;
  background: rgba(20, 19, 18, 0.78);
  color: var(--c-white);
  font-size: 0.75rem;
}
.work-mini__count svg { width: 0.85rem; height: 0.85rem; }
.work-mini__title { font-size: 1.0625rem; line-height: 1.25; }
.work-mini__meta { font-size: 0.875rem; color: var(--c-muted); }
.work-mini__desc { margin-top: 0.75rem; font-size: 0.875rem; line-height: 1.55; color: var(--c-muted); text-wrap: pretty; }
.work-mini__desc a { color: var(--c-text); text-decoration: underline; text-underline-offset: 0.2em; }
.work-mini__desc a:hover { color: var(--c-orange-ink); }
@media (hover: hover) { .work-mini:hover .work-mini__media img { transform: scale(1.05); } }


/* 12. Serviços ----------------------------------------------------------- */
.service-list { border-top: 1px solid var(--c-line-strong); counter-reset: svc; }
.service-row {
  display: grid;
  grid-template-columns: 3rem 1fr auto;
  gap: 0.5rem 1rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--c-line);
  align-items: start;
  position: relative;
}
.service-row__num { font-size: var(--fs-label); color: var(--c-muted); padding-top: 0.55rem; font-variant-numeric: tabular-nums; transition: color var(--dur) var(--ease); }
.service-row__title { font-size: clamp(1.2rem, 0.95rem + 1vw, 1.85rem); line-height: 1.1; transition: transform 0.45s var(--ease); }
.service-row__text { grid-column: 2 / -1; color: var(--c-muted); max-width: 52ch; font-size: var(--fs-small); }
.service-row__arrow { grid-column: 3; grid-row: 1; width: 2.5rem; height: 2.5rem; display: grid; place-items: center; border: 1px solid var(--c-line-strong); transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.service-row__arrow svg { width: 1rem; height: 1rem; transform: rotate(-45deg); transition: transform 0.35s var(--ease); }
@media (min-width: 900px) {
  .service-row { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); padding: 2rem 0; align-items: center; }
  .service-row__num { grid-column: 1 / span 1; padding-top: 0; }
  .service-row__title { grid-column: 2 / span 5; }
  .service-row__text { grid-column: 7 / span 5; }
  .service-row__arrow { grid-column: 12; grid-row: auto; justify-self: end; }
}
@media (hover: hover) {
  a.service-row:hover .service-row__num { color: var(--c-orange-ink); }
  a.service-row:hover .service-row__title { transform: translateX(0.5rem); }
  a.service-row:hover .service-row__arrow { background: var(--c-orange); border-color: var(--c-orange); }
  a.service-row:hover .service-row__arrow svg { transform: none; }
}

/* Blocos detalhados (página Serviços) */
.service-block { display: grid; gap: 2rem; padding-block: clamp(3rem, 6vw, 5.5rem); border-top: 1px solid var(--c-line-strong); scroll-margin-top: calc(var(--header-h) + 4rem); }
.service-block:first-child { border-top: 0; padding-top: 0; }
.service-block__head { display: grid; gap: 1rem; align-content: start; }
.service-block__num { font-size: var(--fs-label); color: var(--c-orange-ink); }
.service-block__body { display: grid; gap: 1.5rem; align-content: start; }
.service-block__body > p { max-width: 58ch; }
.service-block__media { overflow: hidden; aspect-ratio: 4 / 3; background: var(--c-paper-2); }
.service-block__media img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 1000px) {
  .service-block { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
  .service-block__head { grid-column: 1 / span 4; position: sticky; top: calc(var(--header-h) + 5rem); }
  .service-block__body { grid-column: 5 / span 4; }
  .service-block__media { grid-column: 9 / -1; aspect-ratio: 4 / 5; }
}

.tag-list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tag-list li { padding: 0.4rem 0.75rem; border: 1px solid var(--c-line-strong); font-size: 0.875rem; }
.section--dark .tag-list li { border-color: var(--c-line-dark); }

/* 13. Processo ----------------------------------------------------------- */
.process { position: relative; }
.process__steps { display: grid; gap: 0; }
.process__line { display: none; }
.step { position: relative; padding: 0 0 2.25rem 2.25rem; border-left: 1px solid var(--c-line-strong); }
.step:last-child { padding-bottom: 0; }
.step::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 0.35rem;
  width: 9px;
  height: 9px;
  background: var(--c-paper);
  border: 1px solid var(--c-ink);
}
.section--alt .step::before { background: var(--c-paper-2); }
.step__num { font-size: var(--fs-label); color: var(--c-orange-ink); font-variant-numeric: tabular-nums; }
.step__title { margin-top: 0.5rem; font-size: 1.25rem; }
.step__text { margin-top: 0.6rem; color: var(--c-muted); font-size: var(--fs-small); max-width: 40ch; }
@media (min-width: 1000px) {
  .process { padding-top: 2.5rem; }
  .process__steps { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--gap); }
  .process__line {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--c-ink);
    transform-origin: left;
  }
  .process__line::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--c-line-strong);
  }
  .step { padding: 0; border-left: 0; }
  .step::before { left: 0; top: calc(-2.5rem - 4px); }
  .step:last-child::before { background: var(--c-orange); border-color: var(--c-orange); }
}

/* 14. Compromisso 100 ---------------------------------------------------- */
.commit { display: grid; gap: clamp(3rem, 6vw, 5rem); }
.commit__list { border-top: 1px solid var(--c-line-dark); }
.commit__item { display: grid; gap: 0.5rem; padding: 1.5rem 0; border-bottom: 1px solid var(--c-line-dark); }
.commit__item dt { display: flex; gap: 1rem; align-items: baseline; font-size: 1.25rem; }
.commit__item dt span { font-size: var(--fs-label); color: var(--c-orange); font-variant-numeric: tabular-nums; }
.commit__item dd { color: var(--c-muted-dark); max-width: 54ch; padding-left: 2.1rem; }
@media (min-width: 1000px) {
  .commit { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
  .commit__visual { grid-column: 1 / span 5; position: sticky; top: calc(var(--header-h) + 3rem); align-self: start; }
  .commit__list { grid-column: 7 / -1; }
}

/* Curva S ilustrativa */
.s-curve { border: 1px solid var(--c-line-dark); padding: clamp(1rem, 2.5vw, 1.75rem); }
.s-curve svg { width: 100%; height: auto; overflow: visible; }
.s-curve__grid line { stroke: rgba(255, 255, 255, 0.09); stroke-width: 1; }
.s-curve__axis { fill: none; stroke: rgba(255, 255, 255, 0.45); stroke-width: 1; }
.s-curve__plan { fill: none; stroke: var(--c-gray); stroke-width: 2; stroke-dasharray: 6 6; }
.s-curve__real { fill: none; stroke: var(--c-orange); stroke-width: 3; stroke-linecap: round; }
.s-curve__dot { fill: var(--c-orange); }
.s-curve text { fill: var(--c-muted-dark); font-family: var(--font-label); font-size: 11px; letter-spacing: 0.12em; }
.s-curve figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1.5rem; margin-top: 1rem; font-size: 0.8125rem; color: var(--c-muted-dark); }
.s-curve__legend { display: flex; gap: 1.25rem; }
.s-curve__legend span { display: inline-flex; align-items: center; gap: 0.5rem; }
.s-curve__legend i { width: 1.25rem; height: 0; border-top: 2px dashed var(--c-gray); }
.s-curve__legend i.real { border-top: 3px solid var(--c-orange); }

/* 15. Clientes ------------------------------------------------------------ */
.clients {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--c-line-strong);
  border-left: 1px solid var(--c-line);
}
@media (min-width: 640px) { .clients { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .clients { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.client {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 3 / 2;
  padding: 1.25rem 1.5rem;
  border-right: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
  transition: background-color 0.35s var(--ease);
}
.client__link { position: absolute; inset: 0; z-index: 1; }
.client__link:focus-visible { outline-offset: -3px; }
.client img {
  /* --w: largura calculada para que todos os logos tenham peso visual parecido */
  width: min(var(--w, 120px), 76%);
  height: auto;
  opacity: 0.78;
  transition: opacity 0.35s var(--ease), transform 0.5s var(--ease);
}
.client__name {
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.6rem;
  font-size: 0.6875rem;
  color: var(--c-muted);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.client__name svg { display: inline; width: 0.75rem; height: 0.75rem; vertical-align: -0.1em; margin-left: 0.25rem; color: var(--c-orange-ink); }
.client:hover { background: var(--c-white); }
.client:hover img, .client:focus-within img { opacity: 1; transform: scale(1.04); }
.client:hover .client__name, .client:focus-within .client__name { opacity: 1; transform: none; }
.client--link .client__name { color: var(--c-text); }
@media (hover: none) {
  .client__name { opacity: 1; transform: none; }
  .client img { opacity: 0.9; }
}
.clients-note { margin-top: 1.5rem; font-size: 0.875rem; color: var(--c-muted); }

/* 16. Texto, listas e FAQ ----------------------------------------------- */
.prose { max-width: 64ch; display: grid; gap: 1.25rem; }
.prose p { text-wrap: pretty; }
.prose--muted p { color: var(--c-muted); }

.two-col { display: grid; gap: 2.5rem var(--gap); }
@media (min-width: 900px) {
  .two-col { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .two-col > :first-child { grid-column: 1 / span 5; }
  .two-col > :last-child { grid-column: 7 / -1; }
  .two-col--wide > :first-child { grid-column: 1 / span 4; }
  .two-col--wide > :last-child { grid-column: 5 / -1; }
}

.check-list { display: grid; gap: 0; border-top: 1px solid var(--c-line); }
.check-list li { display: grid; grid-template-columns: 1.25rem 1fr; gap: 0.85rem; padding: 0.9rem 0; border-bottom: 1px solid var(--c-line); }
.check-list li::before { content: ""; width: 0.6rem; height: 0.6rem; margin-top: 0.55rem; background: var(--c-orange); }
.section--dark .check-list,
.section--dark .check-list li { border-color: var(--c-line-dark); }

.cards-3 { display: grid; gap: 0; border-top: 1px solid var(--c-line-strong); }
.card-cell { padding: 1.75rem 0; border-bottom: 1px solid var(--c-line); display: grid; gap: 0.75rem; align-content: start; }
.card-cell__num { font-size: var(--fs-label); color: var(--c-orange-ink); }
.card-cell p { color: var(--c-muted); }
.section--dark .cards-3 { border-top-color: var(--c-line-dark); }
.section--dark .card-cell { border-bottom-color: var(--c-line-dark); }
.section--dark .card-cell p { color: var(--c-muted-dark); }
.section--dark .card-cell__num { color: var(--c-orange); }
@media (min-width: 800px) {
  .cards-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gap); }
}
@media (min-width: 1100px) {
  .cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .card-cell { padding: 2rem 2rem 2.5rem 0; }
}

.person {
  display: grid;
  gap: 1rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid var(--c-line-strong);
  max-width: 34rem;
}
.person__role { font-size: var(--fs-label); color: var(--c-orange-ink); }
.person__name { font-size: 1.75rem; line-height: 1.1; }
.person__reg { color: var(--c-muted); font-variant-numeric: tabular-nums; }

.faq { border-top: 1px solid var(--c-line-strong); }
.faq details { border-bottom: 1px solid var(--c-line); }
.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.35rem 0;
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 0.875rem;
  height: 0.875rem;
  margin-top: 0.4rem;
  background:
    linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat;
  transition: transform 0.35s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--c-orange-ink); }
.faq details p { padding: 0 3rem 1.5rem 0; color: var(--c-muted); max-width: 64ch; }

/* 17. Página de obra ----------------------------------------------------- */
.work-hero__title { font-size: clamp(2.25rem, 1rem + 4.4vw, 5.25rem); max-width: 14em; }
.work-hero__meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; color: rgba(255, 255, 255, 0.85); font-size: var(--fs-small); }
.work-hero__meta span { display: inline-flex; align-items: center; gap: 0.5rem; }
.work-hero__meta svg { width: 1rem; height: 1rem; opacity: 0.8; }

/* Carimbo: tabela de dados da obra (inspirada no carimbo de pranchas técnicas) */
.spec {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--c-ink);
  border-left: 1px solid var(--c-line-strong);
}
.spec > div { padding: 1rem 1.125rem 1.125rem; border-right: 1px solid var(--c-line-strong); border-bottom: 1px solid var(--c-line-strong); display: grid; gap: 0.35rem; align-content: start; }
.spec dt { font-size: 0.6875rem; color: var(--c-muted); }
.spec dd { line-height: 1.35; }
@media (min-width: 900px) { .spec { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.work-body { display: grid; gap: 2.5rem var(--gap); align-items: start; }
@media (min-width: 900px) {
  .work-body { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .work-body__text { grid-column: 1 / span 7; }
  .work-body__aside { grid-column: 9 / -1; position: sticky; top: 7rem; }
}

/* Texto da obra: a casa, o que a obra reuniu e as fontes */
.work-story { display: grid; gap: clamp(2.5rem, 5vw, 3.5rem); }
.work-story__block { display: grid; gap: 1.25rem; max-width: 64ch; }
.work-story__title { font-size: var(--fs-label); color: var(--c-orange-ink); }
.work-story__block p { text-wrap: pretty; }
.scope-list { border-top: 1px solid var(--c-line-strong); }
.scope-list > div {
  display: grid;
  gap: 0.35rem 1.5rem;
  padding: 1rem 0 1.05rem;
  border-bottom: 1px solid var(--c-line);
}
@media (min-width: 640px) { .scope-list > div { grid-template-columns: 10.5rem 1fr; } }
.scope-list dt { font-size: 0.75rem; padding-top: 0.3em; }
.scope-list dd { text-wrap: pretty; }
.work-sources { font-size: var(--fs-small); color: var(--c-muted); }
.work-sources a { color: inherit; text-decoration: underline; text-underline-offset: 0.2em; }
.work-sources a:hover { color: var(--c-orange-ink); }

/* Galeria justificada: numa mesma linha as fotos têm a mesma altura e a
   largura proporcional ao formato (--a = largura/altura). Nada é cortado. */
.gallery { --g: clamp(0.5rem, 1.2vw, 1rem); display: grid; gap: var(--g); }
.gallery__row { display: grid; gap: var(--g); }
.gallery__item {
  position: relative;
  display: block;
  flex: var(--a) 1 0;
  aspect-ratio: var(--a);
  min-width: 0;
  overflow: hidden;
  background: var(--c-paper-2);
  cursor: zoom-in;
}
@media (min-width: 700px) {
  .gallery__row { display: flex; }
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-expo); }
.gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  transition: border-color var(--dur) var(--ease);
  pointer-events: none;
}
.gallery__item:focus-visible::after { border-color: var(--c-orange); }
@media (hover: hover) { .gallery__item:hover img { transform: scale(1.03); } }

.work-nav { display: grid; border-top: 1px solid var(--c-line-strong); }
.work-nav a { display: grid; gap: 0.5rem; padding: 2rem 0; border-bottom: 1px solid var(--c-line); }
.work-nav__label { font-size: var(--fs-label); color: var(--c-muted); }
.work-nav__title { font-size: clamp(1.4rem, 1rem + 1.8vw, 2.6rem); line-height: 1.05; transition: color var(--dur) var(--ease); }
.work-nav a:hover .work-nav__title { color: var(--c-orange-ink); }
@media (min-width: 900px) {
  .work-nav { grid-template-columns: 1fr 1fr; }
  .work-nav a:last-child { text-align: right; border-left: 1px solid var(--c-line); padding-left: 2rem; }
}

/* 18. Contato e formulário ---------------------------------------------- */
.contact { display: grid; gap: clamp(3rem, 6vw, 5rem); }
@media (min-width: 1000px) {
  .contact { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
  .contact__info { grid-column: 1 / span 5; }
  .contact__form { grid-column: 7 / -1; }
}
.contact__info { display: grid; gap: 2rem; align-content: start; }

.channels { border-top: 1px solid var(--c-line-strong); }
.section--dark .channels { border-top-color: var(--c-line-dark); }
.channel {
  display: grid;
  grid-template-columns: 2.75rem 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--c-line);
  transition: color var(--dur) var(--ease);
}
.section--dark .channel { border-bottom-color: var(--c-line-dark); }
.channel__icon { width: 2.75rem; height: 2.75rem; display: grid; place-items: center; border: 1px solid var(--c-line-strong); }
.section--dark .channel__icon { border-color: var(--c-line-dark); }
.channel__icon svg { width: 1.2rem; height: 1.2rem; }
.channel__icon--wa svg { color: var(--c-whatsapp); }
.channel__label { display: block; font-size: var(--fs-label); color: var(--c-muted); }
.section--dark .channel__label { color: var(--c-muted-dark); }
.channel__value { display: block; font-weight: 600; overflow-wrap: anywhere; }
.channel__go svg { width: 1rem; height: 1rem; transform: rotate(-45deg); transition: transform 0.35s var(--ease); }
a.channel:hover { color: var(--c-orange-ink); }
.section--dark a.channel:hover { color: var(--c-orange); }
a.channel:hover .channel__go svg { transform: none; }

.form-card { background: var(--c-white); color: var(--c-ink); padding: clamp(1.5rem, 4vw, 3rem); border: 1px solid var(--c-line); }
.section--dark .form-card { border-color: transparent; }
.form-card__title { margin-bottom: 0.5rem; }
.form-card__intro { color: var(--c-muted); margin-bottom: 2rem; font-size: var(--fs-small); }

.form { display: grid; gap: 1.25rem; }
.form__row { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }

.field { display: grid; gap: 0.45rem; align-content: start; }
.field label { font-size: 0.875rem; font-weight: 600; }
.field label .req { color: var(--c-orange-ink); margin-left: 0.15rem; }
.field label .opt { font-weight: 400; color: var(--c-muted); font-size: 0.8125rem; }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 3.25rem;
  padding: 0.8rem 1rem;
  border: 1px solid var(--c-line-strong);
  border-radius: 0;
  background: var(--c-white);
  font-size: 1rem;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.field textarea { min-height: 9rem; resize: vertical; line-height: 1.5; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23141312' stroke-width='1.5'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1rem;
  padding-right: 2.75rem;
}
.field input::placeholder,
.field textarea::placeholder { color: #8a857e; }
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: var(--c-ink); }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-color: var(--c-ink); box-shadow: 0 0 0 3px rgba(255, 75, 0, 0.35); }
.field [aria-invalid="true"] { border-color: var(--c-error); }
.field [aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(179, 38, 30, 0.25); }
.field__error { display: flex; gap: 0.4rem; align-items: flex-start; font-size: 0.8125rem; color: var(--c-error); font-weight: 500; }
.field__error:empty { display: none; }
.field__error::before { content: "!"; flex: none; display: grid; place-items: center; width: 1rem; height: 1rem; margin-top: 0.1rem; border-radius: 50%; background: var(--c-error); color: var(--c-white); font-size: 0.6875rem; font-weight: 700; }

/* Armadilha anti-spam (campo invisível para pessoas) */
.form__trap { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.form__foot { display: grid; gap: 1rem; align-items: center; }
.form__legal { font-size: 0.8125rem; color: var(--c-muted); }
@media (min-width: 640px) {
  .form__foot { grid-template-columns: 1fr auto; }
}

.form-status {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  padding: 1rem 1.125rem;
  border-left: 3px solid var(--c-error);
  background: #fbeceb;
  font-size: 0.9375rem;
}
.form-status:empty { display: none; }
.form-status--info { border-left-color: var(--c-orange); background: #fff1ea; }
.form-status__icon { display: grid; place-items: center; width: 1.375rem; height: 1.375rem; margin-top: 0.1rem; border-radius: 50%; background: var(--c-error); color: var(--c-white); font-size: 0.8125rem; font-weight: 700; }
.form-status--info .form-status__icon { background: var(--c-orange); color: var(--c-ink); }
.form-status strong { display: block; margin-bottom: 0.2rem; }
.form-status a { text-decoration: underline; text-underline-offset: 0.15em; font-weight: 600; }

.form-success { display: grid; gap: 1rem; padding-block: 1rem; }
.form-success:focus { outline: none; }
.form-success__icon { width: 3.25rem; height: 3.25rem; display: grid; place-items: center; background: var(--c-orange); color: var(--c-ink); }
.form-success__icon svg { width: 1.5rem; height: 1.5rem; }
.form-success p { color: var(--c-muted); }

/* 19. Rodapé -------------------------------------------------------------- */
.site-footer { background: var(--c-ink); color: var(--c-paper); padding-top: clamp(4rem, 8vw, 7rem); padding-bottom: calc(2rem + env(safe-area-inset-bottom)); }
.footer-cta {
  display: grid;
  gap: 2rem;
  padding-bottom: clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid var(--c-line-dark);
}
.footer-cta__title { max-width: 16em; }
@media (min-width: 900px) {
  .footer-cta { grid-template-columns: 1fr auto; align-items: end; }
}
.footer-grid { display: grid; gap: 2.5rem var(--gap); padding-block: clamp(3rem, 6vw, 4.5rem); }
.footer-brand img { width: 150px; height: auto; }
.footer-brand p { margin-top: 1.5rem; max-width: 34ch; color: var(--c-muted-dark); font-size: var(--fs-small); }
.footer-col h2 { font-size: var(--fs-label); color: var(--c-muted-dark); margin-bottom: 1.25rem; }
.footer-col ul { display: grid; gap: 0.6rem; }
.footer-col a { transition: color var(--dur) var(--ease); }
.footer-col a:hover { color: var(--c-orange); }
.footer-col address { display: grid; gap: 0.6rem; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) {
  .footer-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / span 4; }
  .footer-col:nth-child(2) { grid-column: 6 / span 2; }
  .footer-col:nth-child(3) { grid-column: 8 / span 3; }
  .footer-col:nth-child(4) { grid-column: 11 / span 2; }
}
.footer-legal {
  display: grid;
  gap: 0.75rem;
  padding-top: 2rem;
  border-top: 1px solid var(--c-line-dark);
  font-size: 0.8125rem;
  color: var(--c-muted-dark);
}
.footer-legal a:hover { color: var(--c-paper); text-decoration: underline; }
.footer-credit a { text-decoration: underline; text-underline-offset: 0.2em; }
@media (min-width: 900px) {
  .footer-legal { grid-template-columns: auto 1fr auto auto; gap: 2rem; }
  .footer-legal > :nth-child(2) { text-align: center; }
}

/* 20. Componentes flutuantes --------------------------------------------- */
.wa-float {
  position: fixed;
  right: calc(1rem + env(safe-area-inset-right));
  bottom: calc(1rem + env(safe-area-inset-bottom));
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  height: 3.5rem;
  min-width: 3.5rem;
  padding: 0 1rem;
  justify-content: center;
  background: var(--c-ink);
  color: var(--c-white);
  font-size: 0.9375rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(1rem);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0s linear 0.4s, background-color var(--dur) var(--ease);
}
.wa-float.is-visible { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.wa-float svg { width: 1.5rem; height: 1.5rem; color: var(--c-whatsapp); transition: color var(--dur); }
.wa-float:hover { background: var(--c-whatsapp); color: var(--c-ink); }
.wa-float:hover svg { color: var(--c-ink); }
.wa-float__label { display: none; }
@media (min-width: 1024px) {
  .wa-float { right: 1.5rem; bottom: 1.5rem; padding: 0 1.25rem 0 1rem; }
  .wa-float__label { display: inline; }
}
body.menu-open .wa-float { opacity: 0; visibility: hidden; }

.consent {
  position: fixed;
  left: calc(1rem + env(safe-area-inset-left));
  right: calc(1rem + env(safe-area-inset-right));
  bottom: calc(1rem + env(safe-area-inset-bottom));
  z-index: 70;
  display: grid;
  gap: 1rem;
  max-width: 26rem;
  padding: 1.25rem;
  background: var(--c-ink);
  color: var(--c-paper);
  font-size: 0.875rem;
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.45);
}
.consent p { color: var(--c-muted-dark); }
.consent a { color: var(--c-paper); text-decoration: underline; }
.consent .actions .btn { min-height: 2.75rem; padding: 0.5rem 1rem; flex: 1; }
@media (min-width: 640px) { .consent { right: auto; } }

.lightbox {
  width: 100vw;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(12, 11, 10, 0.97);
  color: var(--c-white);
  overflow: hidden;
}
.lightbox::backdrop { background: rgba(12, 11, 10, 0.9); }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; animation: lb-in 0.35s var(--ease); }
@keyframes lb-in { from { opacity: 0; } }
.lightbox__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.75rem var(--gutter); }
.lightbox__count { font-size: 0.875rem; color: var(--c-muted-dark); font-variant-numeric: tabular-nums; }
.lightbox__stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 var(--gutter); touch-action: pan-y; }
.lightbox__stage picture { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; min-height: 0; }
.lightbox__stage img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; transition: opacity 0.3s var(--ease); }
.lightbox__stage img.is-loading { opacity: 0.25; }
.lightbox__caption { padding: 1rem var(--gutter) calc(1rem + env(safe-area-inset-bottom)); font-size: 0.9375rem; color: rgba(255, 255, 255, 0.85); min-height: 3.5rem; }
.lightbox__btn { width: 3rem; height: 3rem; display: grid; place-items: center; border: 1px solid var(--c-line-dark); color: var(--c-white); background: rgba(12, 11, 10, 0.5); transition: background-color var(--dur), border-color var(--dur); }
.lightbox__btn:hover { background: var(--c-white); color: var(--c-ink); }
.lightbox__btn svg { width: 1.25rem; height: 1.25rem; }
.lightbox__prev,
.lightbox__next { position: absolute; top: 50%; transform: translateY(-50%); }
.lightbox__prev { left: 0.75rem; }
.lightbox__next { right: 0.75rem; }
@media (max-width: 699px) {
  .lightbox__prev,
  .lightbox__next { top: auto; bottom: -3.75rem; transform: none; }
  .lightbox__prev { left: auto; right: calc(var(--gutter) + 3.5rem); }
  .lightbox__next { right: var(--gutter); }
  .lightbox__caption { padding-right: 8.5rem; }
}

/* 21. Utilitários --------------------------------------------------------- */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.mt-s { margin-top: 1rem; }
.mt-m { margin-top: 2rem; }
.mt-l { margin-top: clamp(3rem, 6vw, 5rem); }
.center { text-align: center; }
.on-dark { color: var(--c-paper); }

/* 22. Tipografia da marca -------------------------------------------------
   Títulos de itens e números: Bourton Base Drop.
   Rótulos, menu, botões e filtros: Bourton Line, espaçada como no logo. */
.service-row__title,
.work-card__title,
.work-mini__title,
.step__title,
.commit__item dt,
.work-nav__title,
.person__name,
.figure__value,
.mobile-menu__links a {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.eyebrow,
.section-index,
.pillar__num,
.step__num,
.card-cell__num,
.service-row__num,
.service-block__num,
.spec dt,
.spec dd,
.work-story__title,
.scope-list dt,
.hero__caption dt,
.hero__caption dd,
.hero__count,
.filters__label,
.chip,
.footer-col h2,
.work-nav__label,
.channel__label,
.person__role,
.client__name,
.brand__name,
.main-nav a,
.btn,
.link-arrow,
.tag-list li,
.lightbox__count,
.work-card__tag,
.work-mini__count,
.commit__item dt span,
.mobile-menu__links a span,
.work-hero__meta,
.wa-float {
  font-family: var(--font-label);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.main-nav a,
.btn,
.link-arrow,
.chip,
.tag-list li,
.work-hero__meta,
.wa-float { letter-spacing: 0.08em; }
.spec dd,
.hero__caption dd { letter-spacing: 0.05em; }
/* Botões com a Bourton Base (traço cheio): mais peso que a Bourton Line */
.btn { font-family: var(--font-display); letter-spacing: 0.07em; }
.brand__name { letter-spacing: 0.26em; }
.brand__name small { letter-spacing: 0.2em; }
