/* Grupo Conarq — site institucional. Sem dependências externas: fonte, scripts e imagens
   são servidos pelo próprio site, portanto sem cookies e sem aviso de consentimento.

   Cores da marca: preto, cinza do logo e dourado. Em 06/11/2026 as mesmas cores ficaram
   mais nítidas (preto mais fundo, dourado mais vivo, cinza mais claro) e os títulos mais
   encorpados. A paleta não muda de família: nada de laranja, azul ou branco puro. */

:root {
  --ink: #0d0d0d;         /* preto do logo, mais fundo */
  --graphite: #191919;
  --ink-deep: #080808;
  --line: #303030;
  --logo: #b4b4b4;        /* cinza do logo, um pouco mais claro para ler bem no preto */
  --stone: #9a9a9a;
  --stone-soft: #c9c6c0;  /* texto corrido sobre preto */
  --paper: #f6f4f0;
  --paper-2: #ebe7e0;
  --rule: #d9d4cb;
  --text: #1f1d1a;
  --muted: #625e57;
  --accent: #d9a93e;      /* dourado: mais vivo que o bronze anterior */
  --accent-hover: #e8bd5a;
  --accent-deep: #8a6410; /* dourado escuro para TEXTO em fundo claro (contraste 4,9:1) */
  --accent-ink: #1a1206;  /* texto sobre o dourado */

  --wrap: 74rem;
  --gap: clamp(1.25rem, 3vw, 2.5rem);
  --radius: 14px;
  --shadow: 0 18px 36px -20px rgba(0, 0, 0, .45);
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

/* Fonte dos títulos: Jost, licença SIL Open Font License (fonts/OFL.txt), servida pelo
   próprio site. O texto corrido continua na fonte do sistema, que é mais leve. */
@font-face {
  font-family: "Jost";
  src: url("../fonts/jost-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

h1, h2, h3, .eyebrow, .btn, .site-nav a, .pillars-row strong, .card-num, .sub-head,
.contact dt, .pf-filter, .pf-cap, .wa-float, .work figcaption {
  font-family: "Jost", var(--font);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, dl, dd { margin: 0; }

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

.wrap { width: min(100% - 2 * var(--gap), var(--wrap)); margin-inline: auto; }

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

/* CEP e CNPJ nunca quebram no meio */
.nowrap { white-space: nowrap; }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  padding: .6rem 1rem; background: var(--accent); color: var(--accent-ink);
  border-radius: 8px; font-weight: 600; text-decoration: none;
}
.skip:focus { top: 1rem; }

/* ---------- Dado em aberto: destaque para trecho marcado com data-pendente ---------- */
[data-pendente] { color: var(--accent); font-style: italic; }
.section:not(.section-dark) [data-pendente] { color: var(--accent-deep); }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(13, 13, 13, .97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  color: var(--stone-soft);
}
.header-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; min-height: 5rem;
}
.brand { display: inline-flex; color: var(--logo); text-decoration: none; }
.brand-mark { height: 3.2rem; width: auto; }
.brand:hover { color: #d2d2d2; }

.site-nav { display: flex; align-items: center; gap: clamp(.9rem, 2vw, 2rem); }
.site-nav a {
  text-decoration: none; font-size: .8125rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
  padding: .5rem 0; border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
}
.site-nav a:hover { color: var(--accent); border-bottom-color: var(--accent); }
.site-nav .nav-cta {
  color: var(--accent-ink); background: var(--accent);
  padding: .65rem 1.25rem; border-radius: 999px; border: 0; font-weight: 700;
  transition: background-color .15s;
}
.site-nav .nav-cta:hover { color: var(--accent-ink); background: var(--accent-hover); }

.nav-toggle {
  display: none; width: 2.75rem; height: 2.75rem; padding: 0;
  background: none; border: 1px solid var(--line); border-radius: 10px;
  color: inherit; cursor: pointer;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 1.25rem; height: 2px; margin-inline: auto;
  background: currentColor; border-radius: 2px; content: "";
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before { position: absolute; top: -6px; left: 0; }
.nav-toggle-bars::after { position: absolute; top: 6px; left: 0; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; align-items: end;
  min-height: min(46rem, 86vh);
  padding-block: clamp(4rem, 10vw, 7rem) clamp(3rem, 7vw, 5rem);
  color: #e9e6e0; background: var(--ink);
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%;
}
/* escurece a foto do lado do texto e embaixo; à direita a foto aparece mais */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 10, 10, .9) 0%, rgba(10, 10, 10, .66) 42%, rgba(10, 10, 10, .16) 100%),
    linear-gradient(0deg, rgba(10, 10, 10, .72) 0%, rgba(10, 10, 10, 0) 42%);
}

/* rótulo curto acima dos títulos, com um traço dourado na frente */
.eyebrow {
  display: flex; align-items: center; gap: .8rem;
  font-size: .8125rem; font-weight: 700; letter-spacing: .22em;
  text-transform: uppercase; color: var(--accent-deep);
  margin-bottom: 1.1rem;
}
.eyebrow::before { content: ""; flex: none; width: 2.25rem; height: 2px; background: var(--accent); border-radius: 2px; }
.hero .eyebrow, .section-dark .eyebrow, .page-hero .eyebrow, .notfound .eyebrow { color: var(--accent); }

.hero h1 {
  max-width: 13em;
  font-size: clamp(2.4rem, 5.6vw, 4.25rem);
  line-height: 1.05; font-weight: 500; letter-spacing: -.02em;
  text-wrap: balance; color: #fff;
}
.hl { color: var(--accent); }
.lead { margin-top: 1.5rem; max-width: 35rem; font-size: 1.25rem; color: #e6e2db; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.25rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  min-height: 3.1rem; padding: .75rem 1.6rem; border-radius: 999px;
  font-size: .875rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; text-decoration: none;
  border: 1.5px solid transparent;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-solid { background: var(--accent); color: var(--accent-ink); }
.btn-solid::after { content: "→"; content: "→" / ""; margin-left: .6em; transition: transform .15s; }
.btn-solid:hover { background: var(--accent-hover); }
.btn-solid:hover::after { transform: translateX(4px); }
.btn-ghost { border-color: #cfcbc4; color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.btn-outline { border-color: var(--text); color: var(--text); }
.btn-outline:hover { background: var(--text); color: var(--paper); }

/* ---------- Compromissos ---------- */
.pillars { background: var(--graphite); color: var(--stone-soft); border-top: 1px solid var(--line); border-bottom: 3px solid var(--accent); }
.pillars-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pillars-row li { padding: 1.7rem 1.25rem 1.8rem 0; }
.pillars-row li + li { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.pillars-row strong {
  display: block; font-size: 1.625rem; font-weight: 500; letter-spacing: -.01em; color: var(--accent);
  line-height: 1.2;
}
.pillars-row span { display: block; margin-top: .3rem; font-size: .9375rem; color: var(--stone-soft); line-height: 1.4; }

/* ---------- Seções ---------- */
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section-slim { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section-tint { background: var(--paper-2); }
.section-dark { background: var(--ink); color: var(--stone-soft); }

.section-head { margin-bottom: clamp(1.75rem, 4vw, 3rem); }
.section h2 {
  font-size: clamp(1.85rem, 3.9vw, 2.85rem);
  line-height: 1.1; font-weight: 500; letter-spacing: -.018em; text-wrap: balance;
  color: #141414;
}
.section-dark h2 { color: #fff; }
.section-lead { margin-top: 1.1rem; font-size: 1.1875rem; color: var(--muted); max-width: 44rem; }
.section-dark .section-lead { color: var(--stone-soft); }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: var(--gap); }
.split .section-head { margin-bottom: 0; }
.prose { max-width: 42rem; }
.prose p + p { margin-top: 1.1rem; }

/* texto de um lado, foto do outro */
.media-split {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(1.75rem, 5vw, 4rem); align-items: center;
}
.media-split-rev { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.photo {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--radius); background: var(--paper-2);
  box-shadow: var(--shadow);
}
.photo-tall { aspect-ratio: 4 / 5; }

/* ---------- Atuação: a foto ocupa o cartão inteiro e o texto fica sobre ela ---------- */
.areas { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.area {
  position: relative; overflow: hidden; aspect-ratio: 4 / 5;
  border-radius: var(--radius); background: var(--ink); box-shadow: var(--shadow);
}
.area img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.area:hover img { transform: scale(1.05); }
.area-body {
  position: absolute; inset: auto 0 0 0;
  padding: 4.5rem 1.3rem 1.3rem;
  background: linear-gradient(0deg, rgba(10, 10, 10, .95) 0%, rgba(10, 10, 10, .7) 55%, rgba(10, 10, 10, 0) 100%);
  border-bottom: 3px solid var(--accent);
}
.area h3 { font-size: 1.4375rem; font-weight: 500; line-height: 1.15; margin-bottom: .35rem; color: #fff; }
.area p { color: #dedad3; font-size: 1rem; line-height: 1.45; }

/* ---------- Serviços ---------- */
/* seis serviços: três por fileira no computador */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.card {
  background: #fff; border: 1px solid var(--rule); border-top: 3px solid var(--ink);
  border-radius: var(--radius); padding: 1.5rem 1.4rem 1.7rem;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-top-color: var(--accent); }
.card-num {
  display: block; font-size: 2rem; font-weight: 500; letter-spacing: -.01em; line-height: 1;
  color: var(--accent-deep); margin-bottom: 1.25rem;
}
.card h3 { font-size: 1.25rem; font-weight: 600; line-height: 1.25; text-wrap: balance; }
.card p { margin-top: .6rem; color: var(--muted); font-size: 1rem; line-height: 1.5; }

.sub-block { margin-top: clamp(2.5rem, 6vw, 4rem); }
.sub-head {
  margin-bottom: 1.1rem;
  font-size: .8125rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent-deep);
}
.chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.chips li {
  background: var(--paper-2); border-radius: 999px; padding: .5rem 1.05rem;
  font-size: 1rem; line-height: 1.3;
}

/* ---------- Obras ---------- */
.works { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1.25rem; }
.work { grid-column: span 2; }
.work-wide { grid-column: span 3; }
.work figure { margin: 0; }
.work img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--radius); background: var(--paper);
}
.work-wide img { aspect-ratio: 3 / 2; }
.work figcaption {
  margin-top: .75rem; padding-left: .85rem; border-left: 3px solid var(--accent);
  font-size: 1.0625rem; font-weight: 500; line-height: 1.3; color: var(--text);
}

.works-more { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: clamp(1.75rem, 4vw, 2.5rem); }

/* ---------- Veículos ---------- */
.band {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1.5rem 2rem;
}
.band .section-lead { margin-top: .5rem; }

/* ---------- Orçamento ---------- */
.cta {
  background:
    linear-gradient(rgba(217, 169, 62, .07) 1px, transparent 1px) 0 0 / 100% 3rem,
    linear-gradient(90deg, rgba(217, 169, 62, .07) 1px, transparent 1px) 0 0 / 3rem 100%,
    var(--graphite);
  border-top: 3px solid var(--accent);
  text-align: center;
}
.cta-inner { max-width: 46rem; }
.cta .eyebrow { justify-content: center; }
.cta h2 { font-size: clamp(2rem, 4.8vw, 3.4rem); }
.cta-phrase { margin-top: 1rem; font-size: 1.25rem; font-style: italic; color: var(--accent); }
.cta .hero-actions { justify-content: center; }

/* ---------- Contato ---------- */
.section-contact { border-top: 1px solid var(--line); }
.contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 2rem; }
.contact dt {
  font-size: .75rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--accent); margin-bottom: .35rem;
}
.contact dd { font-size: 1.1875rem; overflow-wrap: anywhere; color: #f1eee8; }
.contact dd.contact-sub { font-size: 1rem; margin-top: .3rem; color: var(--stone-soft); }
.contact a { text-decoration-color: var(--stone); text-underline-offset: 4px; }
.contact a:hover { color: var(--accent); text-decoration-color: var(--accent); }

/* área de toque confortável no celular sem afastar as linhas */
.contact dd a { display: inline-block; padding-block: .55rem; margin-block: -.3rem; }

/* ---------- Atalho fixo do WhatsApp ---------- */
.wa-float {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 40;
  display: inline-flex; align-items: center; gap: .55rem;
  min-height: 3.25rem; padding: .6rem 1.15rem .6rem .95rem; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink); text-decoration: none;
  font-size: .8125rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .4);
  transition: background-color .15s;
}
.wa-float:hover { background: var(--accent-hover); }
.wa-float svg {
  width: 1.5rem; height: 1.5rem; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Rodapé ---------- */
.site-footer {
  background: var(--ink-deep); color: #9a968f; font-size: .875rem;
  border-top: 1px solid var(--line);
  /* espaço embaixo para o atalho fixo do WhatsApp não cobrir o CNPJ */
  padding-block: 1.75rem 5.5rem;
}
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; }

/* ---------- Etapas da obra (linha do tempo com fotos reais) ---------- */
.stages { counter-reset: etapa; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.75rem 1.25rem; }
.stage { counter-increment: etapa; }
.stage figure { margin: 0; }
.stage-photo { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--graphite); }
.stage-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s ease; }
.stage:hover .stage-photo img { transform: scale(1.04); }
.stage-photo::after {
  content: counter(etapa, decimal-leading-zero);
  position: absolute; left: .75rem; top: .75rem;
  padding: .25rem .7rem; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink);
  font-family: "Jost", var(--font); font-size: .875rem; font-weight: 700; letter-spacing: .12em;
}
.stage h3 { margin-top: .95rem; font-size: 1.3125rem; font-weight: 500; color: #fff; line-height: 1.25; }
.stage p { margin-top: .25rem; color: var(--stone-soft); font-size: 1rem; line-height: 1.5; }
.stages-more { margin-top: clamp(1.75rem, 4vw, 2.5rem); }

/* ---------- Página de portfólio ---------- */
.page-hero {
  color: #e9e6e0;
  background:
    linear-gradient(rgba(217, 169, 62, .07) 1px, transparent 1px) 0 0 / 100% 3rem,
    linear-gradient(90deg, rgba(217, 169, 62, .07) 1px, transparent 1px) 0 0 / 3rem 100%,
    var(--ink);
  border-bottom: 3px solid var(--accent);
  padding-block: clamp(3rem, 7vw, 5rem) clamp(2.25rem, 5vw, 3.5rem);
}
.page-hero h1 {
  font-size: clamp(2.1rem, 4.8vw, 3.5rem);
  line-height: 1.06; font-weight: 500; letter-spacing: -.02em; color: #fff; text-wrap: balance;
}
.section-portfolio { padding-top: clamp(2rem, 4vw, 3rem); }

.pf-filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.pf-filter {
  min-height: 2.75rem; padding: .5rem 1.1rem; border-radius: 999px;
  border: 1.5px solid var(--rule); background: #fff; color: var(--text);
  font-size: 1rem; font-weight: 500; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.pf-filter:hover { border-color: var(--accent); }
.pf-filter.is-active { background: var(--ink); border-color: var(--ink); color: var(--accent); }
.pf-count { margin: 1rem 0 1.5rem; font-size: .9375rem; color: var(--muted); min-height: 1.5em; }

/* colunas de alturas livres: as fotos em pé e deitadas convivem sem recorte */
.pf-grid { columns: 4; column-gap: 1rem; }
.pf-item { break-inside: avoid; margin-bottom: 1rem; }
.pf-item[hidden] { display: none; }
.pf-link {
  position: relative; display: block; overflow: hidden;
  border-radius: var(--radius); background: var(--paper-2); text-decoration: none;
}
.pf-link img { width: 100%; height: auto; transition: transform .4s ease; }
.pf-link:hover img, .pf-link:focus-visible img { transform: scale(1.04); }
.pf-cap {
  position: absolute; inset: auto 0 0 0;
  padding: 2.5rem .95rem .8rem;
  background: linear-gradient(0deg, rgba(10, 10, 10, .88) 0%, rgba(10, 10, 10, 0) 100%);
  color: #fff; font-size: 1rem; font-weight: 500; line-height: 1.25;
  border-bottom: 3px solid transparent; transition: border-color .2s;
}
.pf-link:hover .pf-cap, .pf-link:focus-visible .pf-cap { border-bottom-color: var(--accent); }

.pf-video {
  display: block; width: auto; max-width: 100%; height: auto; max-height: 70vh;
  margin-inline: auto; border-radius: var(--radius); background: #000;
}

/* ampliação da foto */
.lb {
  width: 100vw; max-width: 100vw; height: 100vh; max-height: 100vh;
  margin: 0; padding: 0; border: 0; background: rgba(8, 8, 8, .97); color: #fff;
}
.lb[open] { display: grid; place-items: center; }
.lb::backdrop { background: rgba(8, 8, 8, .97); }
.lb-fig { margin: 0; display: grid; justify-items: center; gap: .75rem; padding: 3.5rem 3.75rem 1.25rem; }
.lb-img { max-width: 100%; max-height: calc(100vh - 8rem); width: auto; height: auto; border-radius: 8px; }
.lb-cap { font-size: 1rem; color: #dedad3; text-align: center; }
.lb-btn {
  position: absolute; z-index: 1; width: 3rem; height: 3rem; padding: 0;
  display: grid; place-items: center; border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, .4); background: rgba(13, 13, 13, .8); color: #fff;
  font-size: 1.75rem; line-height: 1; cursor: pointer;
}
.lb-btn:hover { border-color: var(--accent); color: var(--accent); }
.lb-close { top: .9rem; right: .9rem; }
.lb-prev { left: .6rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: .6rem; top: 50%; transform: translateY(-50%); }

/* ---------- Página de erro ---------- */
.notfound { min-height: 100vh; display: grid; place-items: center; text-align: center;
  background: var(--ink); color: var(--stone-soft); padding: 2rem; }
.notfound h1 { font-size: clamp(2.5rem, 10vw, 5rem); font-weight: 500; color: #fff; line-height: 1.1; }
.notfound p { margin: .75rem 0 2rem; }
.notfound .eyebrow { justify-content: center; }

/* ---------- Telas menores ---------- */
@media (max-width: 64rem) {
  .cards, .areas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .area { aspect-ratio: 4 / 3; }
  .pillars-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pillars-row li { padding-left: 0; border-left: 0; }
  .pillars-row li + li { padding-left: 0; border-left: 0; }
  .pillars-row li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .pillars-row li:nth-child(even) { padding-left: 1.5rem; border-left: 1px solid var(--line); }
}

/* o menu tem sete itens: vira botão um pouco antes das demais mudanças de layout */
@media (max-width: 68rem) {
  .nav-toggle { display: inline-grid; place-items: center; }
  .site-nav {
    display: none; position: absolute; inset: 100% 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); border-bottom: 1px solid var(--line);
    padding: .5rem var(--gap) 1.25rem;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: .95rem 0; border-bottom: 1px solid var(--line); }
  .site-nav .nav-cta { margin-top: 1rem; text-align: center; padding: .9rem 1.1rem; }
}

@media (max-width: 60rem) {
  .works { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work, .work-wide { grid-column: span 1; }
  .work:last-child { grid-column: span 2; }
  .work img, .work-wide img { aspect-ratio: 4 / 3; }
  .work:last-child img { aspect-ratio: 2 / 1; }

  .split, .media-split, .media-split-rev { grid-template-columns: 1fr; }
  .split .section-head { margin-bottom: clamp(1.5rem, 4vw, 2.5rem); }
  .photo-tall { aspect-ratio: 4 / 3; }
}

@media (max-width: 40rem) {
  .brand-mark { height: 2.7rem; }
  .header-row { min-height: 4.5rem; }
  .cards, .areas, .contact, .works { grid-template-columns: 1fr; }
  .work:last-child { grid-column: span 1; }
  .work:last-child img { aspect-ratio: 4 / 3; }
  .card-num { margin-bottom: 1rem; }
  .hero { min-height: 34rem; }
  .hero::after {
    background: linear-gradient(0deg, rgba(10, 10, 10, .93) 0%, rgba(10, 10, 10, .7) 55%, rgba(10, 10, 10, .32) 100%);
  }
  .hero-actions .btn { width: 100%; }
  .hero .btn-solid::after { display: none; }
  .pillars-row strong { font-size: 1.375rem; }
}

/* página atual no menu */
.site-nav a[aria-current="page"] { color: var(--accent); border-bottom-color: var(--accent); }

/* portfólio, etapas e ampliação em telas menores */
@media (max-width: 64rem) {
  .pf-grid { columns: 3; }
  .stages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 44rem) {
  .pf-grid { columns: 2; column-gap: .75rem; }
  .pf-item { margin-bottom: .75rem; }
  .pf-cap { font-size: .875rem; padding: 1.75rem .65rem .55rem; }
  .lb-fig { padding: 3.5rem .75rem 4.5rem; }
  .lb-prev, .lb-next { top: auto; bottom: .9rem; transform: none; }
  .lb-prev { left: calc(50% - 3.5rem); }
  .lb-next { right: calc(50% - 3.5rem); }
}
@media (max-width: 40rem) {
  .stages { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .btn-solid::after, .card, .wa-float, .site-nav .nav-cta { transition: none; }
  .card:hover { transform: none; }
  .pf-link img, .area img, .stage-photo img { transition: none; }
  .pf-link:hover img, .pf-link:focus-visible img, .area:hover img, .stage:hover .stage-photo img { transform: none; }
}

@media print {
  .site-header, .hero-bg, .nav-toggle, .wa-float { display: none; }
  .hero, .hero::after, .section-dark, .cta, .pillars { background: #fff; color: #000; }
  .hero h1, .section-dark h2, .pillars-row strong, .stage h3 { color: #000; }
}
