/* Watt Construtora — estilos globais.
   Tokens no :root. Vermelho extraído da logo fornecida (#b22e31) — ajustar aqui se a marca for atualizada. */
:root {
  --red: #b22e31;
  --red-dark: #8f2326;
  --graphite: #2b2d31;
  --grey: #6d6e71;
  --ink: #111214;
  --paper: #f5f4f1;
  --line: #dedcd7;
  --white: #fff;

  --font-sans: "Helvetica Neue", "Segoe UI", Inter, system-ui, -apple-system, Arial, sans-serif;
  --gutter: clamp(20px, 4vw, 56px);
  --max: 1280px;
  --header-h: 84px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--font-sans); font-size: 17px; line-height: 1.65; color: var(--graphite); background: var(--white); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, dl, dd, figure, address { margin: 0; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { top: 12px; }
.container { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
.container--narrow { width: min(760px, 100% - 2 * var(--gutter)); }
.muted { color: var(--grey); }
.note { font-size: 14px; margin-top: 16px; }

/* ---------- Tipografia ---------- */
.eyebrow { display: flex; align-items: center; gap: 14px; font-size: 12.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--red); margin-bottom: 22px; }
.eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; }
.eyebrow--light { color: #fff; }
.section-title { font-weight: 300; font-size: clamp(28px, 3.4vw, 46px); line-height: 1.12; letter-spacing: -0.02em; color: var(--ink); max-width: 20ch; text-wrap: balance; }
.section-title--sm { font-size: clamp(22px, 2.2vw, 28px); max-width: none; margin-bottom: 24px; }
.section-lead { margin-top: 20px; color: var(--grey); max-width: 52ch; }
.lead { font-size: clamp(19px, 1.7vw, 23px); line-height: 1.5; font-weight: 300; color: var(--ink); }
.prose p + p { margin-top: 1.1em; }
.prose p:not(.lead) { max-width: 62ch; }

/* ---------- Botões ---------- */
.btn { display: inline-flex; align-items: center; gap: 12px; padding: 15px 26px; font: 600 13.5px/1 var(--font-sans); letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), gap 0.25s var(--ease); }
.btn svg { flex: none; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-dark); }
.btn--primary[disabled] { background: var(--line); color: var(--grey); cursor: not-allowed; }
.btn--ghost-light { color: #fff; border-color: rgba(255, 255, 255, 0.6); }
.btn--ghost-light:hover { background: #fff; color: var(--ink); }
.btn--text { padding: 8px 0; color: var(--ink); border-bottom: 1px solid var(--red); }
.btn--text:hover { color: var(--red); }
.inline-link { color: var(--red); font-weight: 600; font-size: 14px; display: inline-block; margin-top: 6px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.97); border-bottom: 1px solid var(--line); backdrop-filter: blur(8px); }
.site-header__bar { height: var(--header-h); display: flex; align-items: center; gap: 28px; }
.brand { display: block; flex: none; }
.logo { height: 62px; width: auto; }
.logo--footer { height: 96px; margin-bottom: 20px; mix-blend-mode: multiply; } /* fundo branco do arquivo da logo se funde ao fundo do rodapé */
.primary-nav { margin-left: auto; }
.primary-nav ul { display: flex; gap: clamp(16px, 2.2vw, 36px); }
.primary-nav a { position: relative; display: block; padding: 8px 0; font-size: 14px; font-weight: 500; text-decoration: none; color: var(--graphite); }
.primary-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease); }
.primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
.primary-nav a[aria-current="page"] { color: var(--ink); }
.lang { display: flex; gap: 2px; padding-left: 24px; border-left: 1px solid var(--line); }
.lang a { display: block; padding: 6px 7px; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-decoration: none; color: var(--grey); }
.lang a:hover { color: var(--ink); }
.lang a[aria-current="true"] { color: var(--red); }
.menu-toggle { display: none; margin-left: auto; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; position: relative; }
.menu-toggle__bars, .menu-toggle__bars::before, .menu-toggle__bars::after { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--ink); content: ""; transition: transform 0.3s var(--ease), opacity 0.2s; }
.menu-toggle__bars { top: 21px; }
.menu-toggle__bars::before { left: 0; right: 0; top: -7px; }
.menu-toggle__bars::after { left: 0; right: 0; top: 7px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: clamp(560px, calc(100svh - var(--header-h)), 860px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--ink); }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero__scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 15, 17, 0.82) 0%, rgba(14, 15, 17, 0.45) 55%, rgba(14, 15, 17, 0.2) 100%); }
.hero__inner { position: relative; padding-block: clamp(56px, 9vh, 110px); }
.hero__title { font-weight: 300; font-size: clamp(38px, 6vw, 88px); line-height: 1.02; letter-spacing: -0.03em; max-width: 14ch; text-wrap: balance; }
.hero__lead { margin-top: 28px; max-width: 46ch; font-size: clamp(17px, 1.5vw, 20px); font-weight: 300; color: rgba(255, 255, 255, 0.88); }
.hero__actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero__scroll { position: absolute; right: var(--gutter); bottom: 44px; width: 1px; height: 64px; background: rgba(255, 255, 255, 0.35); overflow: hidden; }
.hero__scroll i { position: absolute; left: 0; top: 0; width: 1px; height: 24px; background: #fff; animation: scroll-cue 2.4s var(--ease) infinite; }
@keyframes scroll-cue { 0% { transform: translateY(-24px); } 100% { transform: translateY(64px); } }

/* ---------- Seções ---------- */
.section { padding-block: clamp(72px, 10vw, 140px); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--paper { background: var(--paper); }
.section--ink { background: var(--ink); color: #d9d9d6; }
.section-head { margin-bottom: clamp(36px, 5vw, 64px); }
.section-head--flush { margin-bottom: 0; }
.section-head--light .section-title { color: #fff; }
.section-head--light .eyebrow { color: #e0777a; }
.section-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(32px, 4vw, 56px); flex-wrap: wrap; }
.section-more { margin-top: clamp(32px, 4vw, 56px); }
.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 7vw, 120px); align-items: start; }
.split__body .btn { margin-top: 28px; }
.split__head .btn { margin-top: 32px; }
.band { height: clamp(220px, 34vw, 480px); overflow: hidden; background: var(--paper); }
.band img { width: 100%; height: 100%; object-fit: cover; }

/* Indicadores */
.indicators { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 0 clamp(24px, 4vw, 56px); }
.indicator { border-top: 1px solid var(--ink); padding-top: 22px; display: flex; flex-direction: column; gap: 6px; }
.indicator__value { font-size: clamp(44px, 5.4vw, 76px); font-weight: 300; line-height: 1; letter-spacing: -0.03em; color: var(--ink); font-variant-numeric: lining-nums; }
.indicator__label { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); margin-top: 10px; }
.indicator__note { font-size: 14px; color: var(--grey); }

/* Áreas: lista tipográfica */
.areas { border-top: 1px solid var(--ink); }
.area { display: grid; grid-template-columns: 72px minmax(0, 5fr) minmax(0, 6fr) auto; gap: 24px; align-items: baseline; padding: 28px 0; border-bottom: 1px solid var(--line); transition: padding-left 0.35s var(--ease), background 0.35s; }
.area:hover { padding-left: 12px; }
.area__n { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; color: var(--red); }
.area__title { font-size: clamp(21px, 2.2vw, 30px); font-weight: 300; letter-spacing: -0.015em; color: var(--ink); line-height: 1.2; }
.area__text { color: var(--grey); font-size: 16px; }
.area__link { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); white-space: nowrap; }
.area__link:hover { color: var(--red); }

/* Obras */
.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 36px); }
.works-grid--list { margin-top: 36px; }
.work__link { display: block; text-decoration: none; }
.work__media { overflow: hidden; background: var(--paper); }
.work__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.7s var(--ease); }
.work__link:hover .work__media img { transform: scale(1.04); }
.work__body { padding-top: 18px; }
.work__meta { font-size: 12.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); }
.work__title { margin-top: 8px; font-size: 22px; font-weight: 400; color: var(--ink); line-height: 1.25; }
.work__status { margin-top: 6px; font-size: 14px; color: var(--grey); }
.work--pending .work__title { color: var(--grey); font-size: 18px; }
.work[hidden] { display: none; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; }
.filter { font: 500 14px var(--font-sans); padding: 10px 18px; background: none; border: 1px solid var(--line); cursor: pointer; color: var(--graphite); }
.filter:hover { border-color: var(--ink); }
.filter.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.work-cover { margin: 8px 0 clamp(32px, 4vw, 56px); }
.work-cover img { width: 100%; max-height: 620px; object-fit: cover; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }

/* Placeholder de foto pendente (nunca imagem de banco) */
.ph { aspect-ratio: var(--ratio, 4 / 3); width: 100%; display: grid; place-items: center; background: repeating-linear-gradient(135deg, #efeeea 0 12px, #f6f5f2 12px 24px); border: 1px solid var(--line); color: var(--grey); font-size: 12.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; text-align: center; padding: 16px; }

/* Diferenciais */
.diff { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(32px, 6vw, 96px); }
.diff__item { border-top: 1px solid rgba(255, 255, 255, 0.22); padding: 28px 0 44px; }
.diff__n { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; color: #e0777a; }
.diff__item h3 { margin-top: 14px; font-size: clamp(21px, 2vw, 27px); font-weight: 300; color: #fff; line-height: 1.25; letter-spacing: -0.01em; }
.diff__item p { margin-top: 12px; max-width: 44ch; color: #b9b9b5; }

/* Contato / canais */
.channels { display: grid; gap: 0; border-top: 1px solid var(--ink); }
.channels > div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.channels dt { font-size: 12.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); padding-top: 4px; }
.channels dd { color: var(--ink); }
.channels dd small { display: block; font-size: 13px; color: var(--grey); }
.channels a:not(.inline-link) { text-decoration: none; border-bottom: 1px solid var(--line); }
.channels a:not(.inline-link):hover { border-color: var(--red); }
.form { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--graphite); }
.req { color: var(--red); }
.field input, .field textarea { font: inherit; padding: 14px 16px; border: 1px solid #c9c7c1; background: #fff; color: var(--ink); border-radius: 0; width: 100%; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--red); outline-offset: 0; border-color: var(--red); }
.field input:disabled { background: var(--paper); cursor: not-allowed; }
.field .is-invalid { border-color: var(--red); }
.form .btn { justify-self: start; }

/* Páginas internas */
.page-hero { background: var(--graphite); color: #fff; padding-block: clamp(56px, 8vw, 112px) clamp(48px, 6vw, 88px); border-bottom: 3px solid var(--red); }
.page-hero__title { font-weight: 300; font-size: clamp(34px, 5vw, 68px); line-height: 1.05; letter-spacing: -0.03em; max-width: 18ch; text-wrap: balance; }
.page-hero__lead { margin-top: 22px; font-size: clamp(17px, 1.5vw, 20px); font-weight: 300; color: rgba(255, 255, 255, 0.82); max-width: 54ch; }
.page-hero .eyebrow { color: #e8878a; }
.crumbs { margin-bottom: clamp(32px, 4vw, 52px); font-size: 13px; color: var(--grey); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: #b5b3ad; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--red); }
.facts { border-top: 1px solid var(--ink); }
.facts__title { font-size: 12.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); padding-top: 20px; }
.facts dl > div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: 13px; color: var(--grey); }
.facts dd { color: var(--ink); }
.facts:not(:has(.facts__title)) dl > div:first-child { padding-top: 20px; }

.empty { border: 1px solid var(--line); padding: clamp(32px, 6vw, 80px); max-width: 860px; }
.empty__mark { width: 40px; height: 3px; background: var(--red); margin-bottom: 28px; }
.empty__title { font-weight: 300; font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -0.02em; color: var(--ink); }
.empty__text { margin-top: 14px; max-width: 58ch; color: var(--grey); }
.empty__label { margin-top: 36px; font-size: 12.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--graphite); }
.chips { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 8px 16px; border: 1px solid var(--line); font-size: 14px; color: var(--graphite); }
.empty__action { margin-top: 32px; }
.notice { background: var(--paper); border-left: 3px solid var(--red); padding: 14px 18px; font-size: 14.5px; color: var(--graphite); margin-bottom: 32px; max-width: 780px; }
.news-list { border-top: 1px solid var(--ink); }
.news-item { padding: 32px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 200px 1fr; gap: 8px 32px; }
.news-item time { color: var(--grey); font-size: 14px; }
.news-item h2 { font-weight: 300; font-size: 26px; color: var(--ink); }
.news-item p { grid-column: 2; color: var(--grey); }
.doc-group + .doc-group { margin-top: 48px; }
.doc-list li { display: flex; justify-content: space-between; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--paper); border-top: 1px solid var(--line); }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr; gap: clamp(28px, 4vw, 64px); padding-block: clamp(56px, 7vw, 96px); font-size: 15px; }
.site-footer__brand p { max-width: 30ch; }
.footer-h { font-size: 12.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); margin-bottom: 18px; }
.site-footer li + li { margin-top: 9px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--red); }
.site-footer address { line-height: 1.8; }
.site-footer__legal { background: var(--ink); color: #a9a9a5; font-size: 13.5px; }
.site-footer__legal .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 20px; }
.site-footer__legal a:hover { color: #fff; }

/* ---------- Revelação discreta ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 1100px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .area { grid-template-columns: 56px 1fr; }
  .area__text, .area__link { grid-column: 2; }
}
@media (max-width: 960px) {
  :root { --header-h: 72px; }
  .logo { height: 52px; }
  .menu-toggle { display: block; }
  .lang { margin-left: auto; padding-left: 0; border-left: 0; order: 2; }
  .menu-toggle { order: 3; margin-left: 0; }
  .primary-nav { position: fixed; inset: var(--header-h) 0 0 0; margin: 0; background: #fff; padding: 24px var(--gutter) 48px; overflow-y: auto; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity 0.25s, transform 0.25s var(--ease), visibility 0s 0.25s; }
  .primary-nav.is-open { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
  .primary-nav ul { flex-direction: column; gap: 0; }
  .primary-nav a { font-size: 22px; font-weight: 300; padding: 18px 0; border-bottom: 1px solid var(--line); }
  .primary-nav a::after { display: none; }
  body.menu-open { overflow: hidden; }
  .split { grid-template-columns: 1fr; }
  .works-grid, .gallery { grid-template-columns: repeat(2, 1fr); }
  .diff { grid-template-columns: 1fr; }
  .news-item { grid-template-columns: 1fr; }
  .news-item p { grid-column: 1; }
  .hero__scroll { display: none; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .works-grid, .gallery { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .channels > div, .facts dl > div { grid-template-columns: 1fr; gap: 4px; }
  .hero__actions .btn { width: 100%; justify-content: space-between; }
  .site-footer__legal .container { flex-direction: column; }
  .indicators { grid-template-columns: 1fr 1fr; }
}
