/* ============================================================
   PR Construções — Edson Pereira Resende
   Design system: preto/grafite + branco + dourado muito discreto
   ============================================================ */

:root {
  --black: #0a0a0b;
  --graphite: #17171a;
  --graphite-2: #232327;
  --graphite-border: #34343a;
  --white: #ffffff;
  --off-white: #f6f5f2;
  --paper: #efeee9;
  --ink: #17171a;
  --gray-700: #46464a;
  --gray-500: #75757a;
  --gray-300: #c9c8c3;
  --gray-200: #e2e0da;

  --gold: #ab8a4e;
  --gold-light: #cbad78;
  --gold-dim: rgba(171, 138, 78, 0.35);

  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1240px;
  --container-narrow: 860px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.12;
  margin: 0;
  color: var(--ink);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}
.container--narrow { max-width: var(--container-narrow); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}

section { position: relative; }

.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}
.section-head h2 { font-size: clamp(30px, 4vw, 44px); margin-top: 14px; }
.section-head p { margin-top: 16px; color: var(--gray-500); font-size: 17px; line-height: 1.7; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-media img { animation: none; transform: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: 2px;
  transition: all 0.4s var(--ease);
  white-space: nowrap;
}
.btn--primary {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}
.btn--primary:hover { background: var(--gold); border-color: var(--gold); color: var(--black); }

.btn--gold {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}
.btn--gold:hover { background: var(--gold-light); border-color: var(--gold-light); }

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}
.btn--outline:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.08); }

.btn--outline-dark {
  background: transparent;
  color: var(--ink);
  border-color: var(--gray-300);
}
.btn--outline-dark:hover { border-color: var(--ink); }

.btn--sm { padding: 12px 22px; font-size: 12px; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 26px 0;
  transition: background 0.5s var(--ease), padding 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; }

.site-header.is-scrolled {
  background: rgba(10, 10, 11, 0.92);
  backdrop-filter: blur(10px);
  padding: 16px 0;
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 44px; width: auto; border-radius: 3px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong {
  font-family: var(--font-display);
  color: var(--white);
  font-size: 17px;
  letter-spacing: 0.02em;
}
.brand-text span {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.nav-links { display: flex; align-items: center; gap: 40px; }
.nav-links a {
  color: rgba(255,255,255,0.82);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 4px;
}
.nav-links a::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.35s var(--ease);
}
.nav-links a:hover::after, .nav-links a.is-active::after { width: 100%; }
.nav-links a.is-active { color: var(--white); }

.nav-actions { display: flex; align-items: center; gap: 18px; }

.nav-toggle {
  display: none;
  background: none; border: none;
  width: 32px; height: 22px;
  position: relative;
  z-index: 200;
}
.nav-toggle span, .nav-toggle::before, .nav-toggle::after {
  content: "";
  position: absolute; left: 0; right: 0;
  height: 1px; background: var(--white);
  transition: all 0.35s var(--ease);
}
.nav-toggle span { top: 50%; transform: translateY(-50%); }
.nav-toggle::before { top: 0; }
.nav-toggle::after { bottom: 0; }
.nav-toggle.is-open::before { top: 50%; transform: rotate(45deg); }
.nav-toggle.is-open::after { bottom: 50%; transform: rotate(-45deg); }
.nav-toggle.is-open span { opacity: 0; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  position: relative;
  background: var(--black);
  color: var(--white);
  overflow: hidden;
}
.hero-media {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.62;
  transform: scale(1.06);
  animation: heroZoom 18s var(--ease) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,11,0.55) 0%, rgba(10,10,11,0.35) 35%, rgba(10,10,11,0.92) 100%);
}
.hero-media--placeholder {
  background: repeating-linear-gradient(135deg, #141416, #141416 2px, #1b1b1e 2px, #1b1b1e 40px);
}

.hero-content {
  position: relative; z-index: 2;
  padding: 190px 0 96px;
  width: 100%;
}
.hero-content .eyebrow { color: var(--gold-light); }
.hero-content .eyebrow::before { background: var(--gold-light); }

.hero-title {
  font-size: clamp(38px, 6vw, 74px);
  max-width: 920px;
  margin-top: 20px;
  color: var(--white);
  letter-spacing: -0.01em;
}
.hero-subtitle {
  margin-top: 24px;
  max-width: 560px;
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255,255,255,0.78);
  font-weight: 300;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }

.hero-authority {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.16);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  max-width: 640px;
}

.scroll-cue {
  position: absolute;
  right: 40px;
  bottom: 40px;
  z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: rgba(255,255,255,0.55);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.scroll-cue::after {
  content: "";
  width: 1px; height: 46px;
  background: linear-gradient(180deg, var(--gold-light), transparent);
  animation: scrollLine 2.2s ease-in-out infinite;
}
@keyframes scrollLine { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } }

/* ---------- Sobre ---------- */
.sobre { padding: 140px 0; background: var(--off-white); }
.sobre-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
  align-items: center;
}
.sobre-media { position: relative; }
.sobre-media-frame {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--graphite);
  position: relative;
}
.sobre-media-frame img { width: 100%; height: 100%; object-fit: cover; }
.sobre-media-frame .placeholder-tag { color: rgba(255,255,255,0.5); }
.sobre-media::before {
  content: "";
  position: absolute;
  top: -18px; left: -18px;
  width: 100%; height: 100%;
  border: 1px solid var(--gold-dim);
  z-index: -1;
}

.sobre-body p { color: var(--gray-700); font-size: 16.5px; line-height: 1.85; margin-top: 22px; }
.sobre-body p:first-of-type { margin-top: 28px; }

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 52px;
  padding-top: 40px;
  border-top: 1px solid var(--gray-200);
}
.stat-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(30px, 3.4vw, 42px);
  color: var(--ink);
}
.stat-item strong .plus { color: var(--gold); }
.stat-item span {
  display: block;
  margin-top: 6px;
  font-size: 12.5px;
  letter-spacing: 0.03em;
  color: var(--gray-500);
}

/* ---------- Obras em destaque ---------- */
.destaques { padding: 140px 0; background: var(--white); }
.destaques-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 56px;
}
.destaques-header .section-head { margin-bottom: 0; }

.destaques-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.destaques-grid .obra-card-media { aspect-ratio: 4/5; }

.obra-card { position: relative; overflow: hidden; background: var(--graphite); }
.obra-card-media { aspect-ratio: 4/5; overflow: hidden; position: relative; }
.obra-card-media--empty {
  background: repeating-linear-gradient(135deg, #141416, #141416 2px, #1b1b1e 2px, #1b1b1e 40px);
}
.obra-card-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.obra-card:hover .obra-card-media img { transform: scale(1.07); }
.obra-card-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,11,0) 35%, rgba(10,10,11,0.88) 100%);
}
.obra-card-body {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 28px;
  z-index: 2;
  color: var(--white);
}
.obra-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 12px;
}
.obra-status .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold-light); }
.obra-status.is-finalizada .dot { background: #8fbf8f; }

.obra-card-body h3 {
  font-size: 22px;
  color: var(--white);
  margin-bottom: 6px;
}
.obra-card-body .obra-loc {
  font-size: 12.5px;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.02em;
}
.obra-card-link {
  position: absolute; inset: 0; z-index: 3;
}

.empty-state {
  padding: 64px 32px;
  text-align: center;
  border: 1px dashed var(--gray-300);
  color: var(--gray-500);
  font-size: 14px;
  line-height: 1.8;
}

/* ---------- Portfólio (página /obras) ---------- */
.portfolio-hero {
  padding: 170px 0 60px;
  background: var(--black);
  color: var(--white);
}
.portfolio-hero .eyebrow { color: var(--gold-light); }
.portfolio-hero .eyebrow::before { background: var(--gold-light); }
.portfolio-hero h1 { color: var(--white); font-size: clamp(34px, 5vw, 54px); margin-top: 16px; max-width: 720px; }
.portfolio-hero p { margin-top: 18px; color: rgba(255,255,255,0.68); max-width: 560px; font-size: 16px; line-height: 1.75; }

.filters-bar {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gray-200);
  padding: 20px 0;
}
.filters-groups { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between; }
.filter-set { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-chip {
  padding: 9px 18px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--gray-200);
  background: transparent;
  color: var(--gray-700);
  border-radius: 999px;
  transition: all 0.3s var(--ease);
}
.filter-chip:hover { border-color: var(--ink); color: var(--ink); }
.filter-chip.is-active { background: var(--ink); border-color: var(--ink); color: var(--white); }
.filter-count { font-size: 12.5px; color: var(--gray-500); white-space: nowrap; }

.portfolio-grid {
  padding: 64px 0 140px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 28px;
}
.portfolio-item { }
.portfolio-item:nth-child(6n+1), .portfolio-item:nth-child(6n+4) { grid-row: span 1; }
.portfolio-item .obra-card-media { aspect-ratio: 4/5; }
.portfolio-item:nth-child(5n+3) .obra-card-media { aspect-ratio: 3/4; }

.portfolio-item .obra-card { background: var(--graphite); }
.portfolio-item .obra-card-body h3 { font-size: 19px; }
.portfolio-item .obra-cat {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-top: 6px;
  display: block;
}

/* ---------- Página de obra ---------- */
.obra-hero {
  padding: 170px 0 0;
  background: var(--black);
  color: var(--white);
}
.obra-hero-top { padding-bottom: 48px; }
.obra-breadcrumb {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 24px;
}
.obra-breadcrumb a:hover { color: var(--gold-light); }
.obra-hero h1 { color: var(--white); font-size: clamp(32px, 5vw, 52px); max-width: 820px; }
.obra-meta-row {
  display: flex; flex-wrap: wrap; gap: 32px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.14);
}
.obra-meta-item span { display: block; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.45); margin-bottom: 6px; }
.obra-meta-item strong { font-family: var(--font-display); font-size: 18px; font-weight: 500; color: var(--white); }

.obra-cover { width: 100%; aspect-ratio: 16/8; overflow: hidden; background: var(--graphite); position: relative; }
.obra-cover img { width: 100%; height: 100%; object-fit: cover; }

.obra-body { padding: 90px 0; }
.obra-body-grid { display: grid; grid-template-columns: 1.4fr 0.6fr; gap: 90px; }
.obra-descricao { font-size: 17px; line-height: 1.9; color: var(--gray-700); white-space: pre-line; }
.obra-descricao h3, .obra-observacoes h4 { font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.obra-observacoes { margin-top: 44px; padding-top: 32px; border-top: 1px solid var(--gray-200); }
.obra-observacoes p { color: var(--gray-500); font-size: 15px; line-height: 1.8; white-space: pre-line; }

.obra-side { border-left: 1px solid var(--gray-200); padding-left: 44px; height: fit-content; position: sticky; top: 120px; }
.obra-side h4 { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray-500); margin-bottom: 18px; }
.obra-side .btn { width: 100%; margin-top: 8px; }

.galeria-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding-bottom: 100px;
}
.galeria-item { aspect-ratio: 1/1; overflow: hidden; cursor: zoom-in; background: var(--graphite); }
.galeria-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.galeria-item:hover img { transform: scale(1.05); }

.video-embed { padding-bottom: 100px; }
.video-embed .frame { aspect-ratio: 16/9; overflow: hidden; background: var(--graphite); }
.video-embed .frame iframe, .video-embed .frame video { width: 100%; height: 100%; border: 0; }

.relacionadas { padding: 100px 0 140px; background: var(--off-white); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 999;
  background: rgba(6,6,7,0.96);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s var(--ease);
}
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: 88vw; max-height: 84vh; object-fit: contain; }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  background: none; border: 1px solid rgba(255,255,255,0.3);
  color: var(--white); width: 46px; height: 46px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  transition: all 0.3s var(--ease);
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { border-color: var(--gold-light); color: var(--gold-light); }
.lightbox-close { top: 28px; right: 28px; }
.lightbox-prev { left: 28px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 28px; top: 50%; transform: translateY(-50%); }
.lightbox-count { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,0.6); font-size: 12px; letter-spacing: 0.08em; }

/* ---------- CTA / Contato ---------- */
.cta-section {
  padding: 150px 0;
  background: var(--black);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(60% 60% at 50% 30%, rgba(171,138,78,0.12), transparent 70%);
}
.cta-section .eyebrow { justify-content: center; color: var(--gold-light); }
.cta-section .eyebrow::before { background: var(--gold-light); }
.cta-section h2 { color: var(--white); font-size: clamp(30px, 4.6vw, 50px); max-width: 720px; margin: 20px auto 0; position: relative; }
.cta-section p { color: rgba(255,255,255,0.7); margin: 20px auto 0; max-width: 480px; font-size: 17px; position: relative; }
.cta-actions { margin-top: 44px; display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; position: relative; }

/* ---------- Formulário de contato / lead ---------- */
.lead-form {
  position: relative;
  max-width: 520px;
  margin: 44px auto 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.lead-form-row { display: flex; gap: 14px; }
.lead-form input, .lead-form textarea {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 3px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14.5px;
  padding: 14px 16px;
}
.lead-form input::placeholder, .lead-form textarea::placeholder { color: rgba(255,255,255,0.4); }
.lead-form input:focus, .lead-form textarea:focus {
  outline: none;
  border-color: var(--gold-light);
  background: rgba(255,255,255,0.09);
}
.lead-form textarea { min-height: 90px; resize: vertical; line-height: 1.6; }
.lead-form .btn { align-self: center; margin-top: 4px; min-width: 240px; }
.lead-form-note { font-size: 12px; color: rgba(255,255,255,0.4); text-align: center; margin: 0; }

/* ---------- Modal de captura de lead (antes de ir pro WhatsApp) ---------- */
.wa-modal-overlay {
  position: fixed; inset: 0; z-index: 998;
  background: rgba(6,6,7,0.85);
  backdrop-filter: blur(3px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.wa-modal-overlay.is-open { opacity: 1; pointer-events: auto; }
.wa-modal {
  position: relative;
  background: var(--graphite);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  padding: 40px;
  width: 100%;
  max-width: 400px;
  transform: translateY(12px);
  transition: transform 0.3s var(--ease);
}
.wa-modal-overlay.is-open .wa-modal { transform: translateY(0); }
.wa-modal h3 { color: var(--white); font-size: 24px; margin-top: 10px; }
.wa-modal p { color: rgba(255,255,255,0.6); font-size: 14px; margin: 10px 0 24px; }
.wa-modal form { display: flex; flex-direction: column; gap: 12px; }
.wa-modal input {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 3px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14.5px;
  padding: 13px 15px;
}
.wa-modal input::placeholder { color: rgba(255,255,255,0.4); }
.wa-modal input:focus { outline: none; border-color: var(--gold-light); background: rgba(255,255,255,0.09); }
.wa-modal .btn { margin-top: 6px; }
.wa-modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 32px; height: 32px; border-radius: 50%;
  background: none; border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.6);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
}
.wa-modal-close:hover { border-color: var(--gold-light); color: var(--gold-light); }

.contact-info {
  margin-top: 64px;
  display: flex; justify-content: center; gap: 56px; flex-wrap: wrap;
  padding-top: 44px; border-top: 1px solid rgba(255,255,255,0.14);
  position: relative;
}
.contact-info-item span { display: block; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.45); margin-bottom: 8px; }
.contact-info-item a, .contact-info-item strong { font-size: 15px; color: var(--white); font-weight: 500; }
.contact-info-item a:hover { color: var(--gold-light); }

/* ---------- Footer ---------- */
.site-footer { background: var(--graphite); color: rgba(255,255,255,0.6); padding: 72px 0 32px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .brand-text strong { color: var(--white); }
.footer-brand p { margin-top: 18px; font-size: 14px; line-height: 1.8; max-width: 320px; color: rgba(255,255,255,0.5); }
.footer-col h5 { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.42); margin-bottom: 20px; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col a { font-size: 14.5px; color: rgba(255,255,255,0.78); }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom {
  padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
  font-size: 12.5px; color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: rgba(255,255,255,0.4); }
.footer-bottom a:hover { color: var(--gold-light); }
.admin-discreet-link { font-size: 11px; letter-spacing: 0.06em; color: rgba(255,255,255,0.22) !important; }
.admin-discreet-link:hover { color: rgba(255,255,255,0.45) !important; }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed;
  right: 26px; bottom: 26px;
  z-index: 90;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #1f1f22;
  border: 1px solid var(--gold-dim);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
  transition: transform 0.35s var(--ease), background 0.35s var(--ease);
}
.wa-float:hover { transform: translateY(-4px) scale(1.04); background: var(--gold); }
.wa-float svg { width: 26px; height: 26px; }
.wa-float:hover svg path { fill: var(--black); }

/* ---------- 404 ---------- */
.notfound { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; background: var(--black); color: var(--white); padding: 40px 24px; }
.notfound span { color: var(--gold-light); font-size: 13px; letter-spacing: 0.15em; text-transform: uppercase; }
.notfound h1 { color: var(--white); font-size: clamp(40px, 8vw, 90px); margin-top: 20px; }
.notfound p { margin-top: 18px; color: rgba(255,255,255,0.6); }
.notfound .btn { margin-top: 36px; }

/* ---------- Placeholder helper ---------- */
.placeholder-tag {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 24px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.55);
  border: 1px dashed rgba(255,255,255,0.2);
}

.placeholder-tag--card {
  flex-direction: column;
  gap: 12px;
  border: none;
  color: rgba(255,255,255,0.4);
}
.placeholder-tag--card svg { width: 30px; height: 30px; opacity: 0.55; }
.placeholder-tag--card span {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  max-width: 200px;
  line-height: 1.6;
}

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .sobre-grid { grid-template-columns: 1fr; gap: 56px; }
  .destaques-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .obra-body-grid { grid-template-columns: 1fr; gap: 50px; }
  .obra-side { border-left: none; padding-left: 0; border-top: 1px solid var(--gray-200); padding-top: 32px; position: static; }
}

/* O overlay do menu mobile fica sempre no DOM (para a transição de abertura/
   fechamento funcionar), então sua ocultação em telas largas não pode depender
   do media query abaixo — precisa valer em qualquer largura. */
.mobile-menu {
  position: fixed; inset: 0; z-index: 150;
  background: var(--black);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s var(--ease);
}
.mobile-menu.is-open { opacity: 1; pointer-events: auto; }
.mobile-menu a { font-family: var(--font-display); font-size: 26px; color: var(--white); }
.mobile-menu .btn { margin-top: 12px; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-actions .btn { display: none; }

  .hero-content { padding: 150px 0 80px; }
  .scroll-cue { display: none; }
  .sobre, .destaques { padding: 90px 0; }
  .stat-row { grid-template-columns: 1fr; gap: 28px; }
  .destaques-header { flex-direction: column; align-items: flex-start; }
  .destaques-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; gap: 32px; }
  .filters-groups { flex-direction: column; align-items: flex-start; gap: 16px; }
  .galeria-grid { grid-template-columns: repeat(2, 1fr); }
  .lead-form-row { flex-direction: column; }
  .lead-form .btn { width: 100%; }
  .cta-section { padding: 100px 0; }
  .contact-info { gap: 32px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 480px) {
  .container { padding: 0 20px; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
  .galeria-grid { grid-template-columns: 1fr 1fr; }
}
