/* ============================================================
   TRIPLEX CONSTRUTORA — style.css v3 FINAL
   Tipografia: Cormorant Garamond (display) + Inter (body)
   Paleta: Dourado #C9A84C | Grafite #111 | Branco #F0EDE8
   ============================================================ */

/* --- RESET ------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Cores */
  --gold:        #C9A84C;
  --gold-lt:     #E2C46A;
  --gold-dk:     #9E7A28;
  --bg-0:        #0D0D0D;
  --bg-1:        #111111;
  --bg-2:        #171717;
  --bg-3:        #1E1E1E;
  --bg-4:        #252525;
  --border:      rgba(201,168,76,.13);
  --border-h:    rgba(201,168,76,.38);
  --text-1:      #F0EDE8;
  --text-2:      #B8B3AB;
  --text-3:      #787063;

  /* Gradientes */
  --grad-gold: linear-gradient(135deg,#9E7A28 0%,#C9A84C 45%,#E2C46A 100%);
  --grad-hero: linear-gradient(135deg,rgba(13,13,13,.94) 40%,rgba(13,13,13,.6) 100%);

  /* Tipografia */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-ui:      'Inter', system-ui, sans-serif;

  /* Layout */
  --nav-h:    76px;
  --max-w:    1160px;
  --r:        8px;
  --r-lg:     16px;
  --t:        .3s cubic-bezier(.4,0,.2,1);
  --sp:       clamp(64px,8vw,112px);
  --shadow:   0 8px 48px rgba(0,0,0,.6);
  --shadow-s: 0 2px 18px rgba(0,0,0,.4);
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font-ui);
  background: var(--bg-1);
  color: var(--text-1);
  line-height: 1.65;
  overflow-x: hidden;
}

img  { max-width: 100%; display: block; }
a    { text-decoration: none; color: inherit; }
ul   { list-style: none; }
address { font-style: normal; }

/* TIPOGRAFIA */
h1,h2,h3,h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.4rem,5.5vw,4.2rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem,3.8vw,3rem);   font-weight: 700; }
h3 { font-size: clamp(1.1rem,2vw,1.4rem);   font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }

p {
  font-family: var(--font-ui);
  color: var(--text-2);
  font-size: clamp(.88rem,1.4vw,.98rem);
  line-height: 1.75;
}

/* UTILITÁRIOS */
.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 clamp(18px,5vw,44px); }
.sp   { padding: var(--sp) 0; }
.tc   { text-align: center; }
.gold { color: var(--gold); }

.label {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.rule {
  display: block;
  width: 44px; height: 2px;
  background: var(--grad-gold);
  border-radius: 2px;
  margin: 14px 0 30px;
}
.rule.c { margin-left: auto; margin-right: auto; }

/* BOTÕES */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--r);
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: .84rem;
  letter-spacing: .06em;
  border: none;
  cursor: pointer;
  transition: var(--t);
  white-space: nowrap;
}
.btn-gold {
  background: var(--grad-gold);
  color: var(--bg-0);
  box-shadow: 0 4px 22px rgba(201,168,76,.28);
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 8px 36px rgba(201,168,76,.48); filter: brightness(1.07); }
.btn-ghost {
  background: transparent;
  color: var(--text-1);
  border: 1.5px solid var(--border-h);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-3px); }
.btn-wa {
  background: #22c55e;
  color: #fff;
  box-shadow: 0 4px 22px rgba(34,197,94,.25);
}
.btn-wa:hover { background: #16a34a; transform: translateY(-3px); box-shadow: 0 8px 36px rgba(34,197,94,.42); }

/* ============================================================
   NAVBAR
   ============================================================ */
#nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 900;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background var(--t), box-shadow var(--t);
}
#nav.solid {
  background: rgba(11,11,11,.97);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(201,168,76,.1), var(--shadow-s);
}
#nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; }

.nav-logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 10px rgba(201,168,76,.35));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-2);
  position: relative;
  padding-bottom: 3px;
  transition: color var(--t);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0;
  width: 0; height: 1.5px;
  background: var(--grad-gold);
  transition: width var(--t);
  border-radius: 1px;
}
.nav-links a:hover,
.nav-links a.on { color: var(--gold); }
.nav-links a:hover::after,
.nav-links a.on::after { width: 100%; }

.nav-wa { padding: 9px 16px; font-size: .76rem; margin-left: 8px; }

/* HAMBURGUER */
.ham {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--r);
}
.ham span {
  display: block;
  height: 1.5px;
  width: 24px;
  background: var(--text-1);
  border-radius: 2px;
  transition: transform .35s ease, opacity .35s ease, width .35s ease;
}
.ham span:nth-child(2) { width: 16px; align-self: flex-end; }
.ham.x span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); width: 24px; }
.ham.x span:nth-child(2) { opacity: 0; width: 0; }
.ham.x span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); width: 24px; }

@media (max-width: 860px) {
  .ham { display: flex; }
  .nav-links {
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: rgba(10,10,10,.99);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s cubic-bezier(.4,0,.2,1);
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { max-height: 480px; }
  .nav-links a {
    padding: 15px 24px;
    border-bottom: 1px solid rgba(255,255,255,.04);
    font-size: .9rem;
  }
  .nav-links a::after { display: none; }
  .nav-wa { margin: 14px 24px 20px; justify-content: center; }
}

/* ============================================================
   HERO
   ============================================================ */
#hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../img/hero-fachada.jpg');
  background-size: cover;
  background-position: center;
  will-change: transform;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-hero);
}
/* Grain texture para premium feel */
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  z-index: 1;
  pointer-events: none;
}

/* Gold accent line top */
.hero-accent {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad-gold);
  z-index: 3;
}

.hero-body {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  padding-bottom: 40px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(201,168,76,.09);
  border: 1px solid rgba(201,168,76,.25);
  border-radius: 100px;
  padding: 6px 18px 6px 12px;
  font-family: var(--font-ui);
  font-size: .69rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 26px;
  animation: fadeUp .9s ease both;
}
.hero-badge i {
  display: block;
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .5; transform: scale(1.4); }
}

.hero-tagline {
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1rem,1.6vw,1.25rem);
  color: rgba(201,168,76,.7);
  margin-bottom: 14px;
  letter-spacing: .03em;
  animation: fadeUp .9s .1s ease both;
}

.hero-h1 {
  max-width: 740px;
  margin-bottom: 22px;
  animation: fadeUp .9s .2s ease both;
}

.hero-desc {
  max-width: 560px;
  font-size: clamp(.9rem,1.5vw,1.05rem);
  color: rgba(240,237,232,.7);
  margin-bottom: 36px;
  animation: fadeUp .9s .3s ease both;
  line-height: 1.8;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  animation: fadeUp .9s .4s ease both;
}

/* SCROLL INDICATOR */
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: .45;
  animation: fadeIn 1s 1.2s ease both;
}
.hero-scroll span {
  font-size: .64rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  font-family: var(--font-ui);
  font-weight: 600;
}
.hero-scroll-line {
  width: 1px;
  height: 36px;
  background: var(--grad-gold);
  animation: scrollLine 1.8s ease-in-out infinite;
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* STATS BAR */
.hero-stats {
  position: relative;
  z-index: 2;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  text-align: center;
}
.stat {
  padding: 24px 12px;
  border-right: 1px solid var(--border);
}
.stat:last-child { border-right: none; }
.stat-n {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.7rem,3.5vw,2.6rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.stat-l {
  display: block;
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-top: 6px;
}
@media (max-width: 560px) {
  .stats-row { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: none; }
  .stat { padding: 18px 8px; }
}

/* ============================================================
   SEÇÃO SERVIÇOS
   ============================================================ */
#servicos { background: var(--bg-2); }

.sec-head { margin-bottom: 48px; }

.grid-serv {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px,1fr));
  gap: 16px;
}
.card-s {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 20px;
  position: relative;
  overflow: hidden;
  transition: transform var(--t), border-color var(--t), box-shadow var(--t);
}
.card-s::after {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: var(--grad-gold);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .45s ease;
}
.card-s:hover { transform: translateY(-6px); border-color: var(--border-h); box-shadow: var(--shadow); }
.card-s:hover::after { transform: scaleY(1); }
.card-ico {
  width: 48px; height: 48px;
  background: rgba(201,168,76,.08);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
  transition: background var(--t);
}
.card-s:hover .card-ico { background: rgba(201,168,76,.16); }
.card-s h3 { font-size: .95rem; margin-bottom: 8px; font-family: var(--font-ui); font-weight: 600; }
.card-s p  { font-size: .82rem; }

/* ============================================================
   DIFERENCIAIS
   ============================================================ */
#dif { background: var(--bg-1); position: relative; overflow: hidden; }
#dif::before {
  content: '';
  position: absolute;
  top: -160px; right: -160px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(201,168,76,.04) 0%, transparent 72%);
  pointer-events: none;
}
.dif-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.dif-imgs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.dif-imgs img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--r);
  filter: brightness(.78) saturate(.9);
  transition: filter var(--t), transform var(--t);
}
.dif-imgs img:hover { filter: brightness(1) saturate(1); transform: scale(1.02); }
.dif-imgs img:first-child { grid-column: span 2; aspect-ratio: 16/6; }
.dif-pts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.dif-pt { display: flex; align-items: flex-start; gap: 11px; }
.dif-dot { width: 8px; height: 8px; background: var(--grad-gold); border-radius: 50%; margin-top: 7px; flex-shrink: 0; }
.dif-pt strong { display: block; color: var(--text-1); font-size: .88rem; font-family: var(--font-ui); font-weight: 600; margin-bottom: 2px; }
.dif-pt p { font-size: .8rem; margin: 0; }
@media (max-width: 760px) {
  .dif-grid { grid-template-columns: 1fr; gap: 32px; }
  .dif-pts  { grid-template-columns: 1fr; }
}

/* ============================================================
   METALFORCE
   ============================================================ */
#mf {
  background: var(--bg-0);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
#mf::before {
  content: '';
  position: absolute;
  bottom: -120px; left: -120px;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(201,168,76,.05) 0%, transparent 70%);
}
.mf-wrap { display: grid; grid-template-columns: 280px 1fr; gap: 56px; align-items: center; }
.mf-logo-wrap {
  background: rgba(255,255,255,.02);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 36px 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mf-logo-wrap img {
  width: 100%;
  max-width: 220px;
  height: auto;
  /* mix-blend-mode para integrar logo ao fundo escuro */
  mix-blend-mode: lighten;
  filter: contrast(1.05) brightness(1.05);
}
.mf-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 28px; }
.tag {
  background: rgba(201,168,76,.07);
  border: 1px solid rgba(201,168,76,.2);
  border-radius: 100px;
  padding: 4px 13px;
  font-size: .72rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: .05em;
  font-family: var(--font-ui);
}
@media (max-width: 700px) {
  .mf-wrap { grid-template-columns: 1fr; gap: 28px; }
  .mf-logo-wrap { padding: 22px; max-width: 260px; }
}

/* ============================================================
   PROJETOS PREVIEW
   ============================================================ */
#proj-prev { background: var(--bg-2); }
.proj-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  grid-template-rows: 240px 200px;
  gap: 12px;
  margin-bottom: 32px;
}
.pt { position: relative; border-radius: var(--r-lg); overflow: hidden; cursor: pointer; }
.pt img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, filter .5s ease; }
.pt:hover img { transform: scale(1.08); filter: brightness(.5); }
.pt:first-child { grid-column: span 2; }
.pt-info {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg,rgba(0,0,0,.82) 0%,transparent 52%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 16px;
}
.pt-info span { font-size: .64rem; font-weight: 700; color: var(--gold); letter-spacing: .15em; text-transform: uppercase; font-family: var(--font-ui); }
.pt-info h4   { font-family: var(--font-ui); font-size: .88rem; font-weight: 600; color: var(--text-1); margin-top: 2px; }
@media (max-width: 640px) {
  .proj-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .pt:first-child { grid-column: span 2; }
  .pt img { height: 200px; }
}
@media (max-width: 400px) {
  .proj-grid { grid-template-columns: 1fr; }
  .pt:first-child { grid-column: span 1; }
}

/* ============================================================
   TIMELINE — elegante e real
   ============================================================ */
#timeline { background: var(--bg-1); }
.tl-outer { position: relative; max-width: 900px; margin: 0 auto; }
.tl-spine {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  background: linear-gradient(180deg, transparent 0%, var(--gold) 6%, var(--gold) 94%, transparent 100%);
  opacity: .35;
}
.tl-row {
  display: grid;
  grid-template-columns: 1fr 64px 1fr;
  align-items: start;
  margin-bottom: 40px;
}
.tl-row:last-child { margin-bottom: 0; }

/* Dot */
.tl-center { display: flex; flex-direction: column; align-items: center; padding-top: 22px; }
.tl-dot-wrap {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--bg-3);
  border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  z-index: 1;
  transition: border-color var(--t), background var(--t);
  flex-shrink: 0;
}
.tl-dot-wrap:hover { border-color: var(--gold); background: rgba(201,168,76,.08); }
.tl-dot-inner {
  width: 12px; height: 12px;
  background: var(--grad-gold);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(201,168,76,.4);
}

/* Card esquerdo */
.tl-l { padding-right: 20px; text-align: right; }
/* Card direito */
.tl-r { padding-left: 20px; }
/* Vazio quando alterna */
.tl-empty { }

.tl-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 20px 22px;
  transition: border-color var(--t), box-shadow var(--t), transform var(--t);
}
.tl-card:hover { border-color: var(--border-h); box-shadow: var(--shadow-s); transform: translateY(-3px); }
.tl-year {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.tl-icon { font-size: .9rem; }
.tl-card h3 { font-family: var(--font-ui); font-weight: 600; font-size: .92rem; margin-bottom: 6px; color: var(--text-1); }
.tl-card p  { font-size: .81rem; line-height: 1.65; }

/* Alternância L/R */
.tl-row:nth-child(odd)  .tl-l  { display: block; }
.tl-row:nth-child(odd)  .tl-r  { display: none; }
.tl-row:nth-child(even) .tl-l  { display: none; }
.tl-row:nth-child(even) .tl-r  { display: block; }

@media (max-width: 620px) {
  .tl-spine { left: 20px; }
  .tl-row { grid-template-columns: 52px 1fr; }
  .tl-l, .tl-r { grid-column: 2; text-align: left; padding: 0; display: block !important; }
  .tl-center { padding-top: 18px; grid-column: 1; grid-row: 1; }
  .tl-dot-wrap { width: 32px; height: 32px; }
  .tl-dot-inner { width: 10px; height: 10px; }
}

/* ============================================================
   CONTATO (SEÇÃO)
   ============================================================ */
#contato { background: var(--bg-2); }
.ct-wrap { display: grid; grid-template-columns: 1fr 1.45fr; gap: 52px; align-items: start; }
.ct-info .label { margin-bottom: 10px; }
.ct-info h2 { margin-bottom: 6px; }
.ct-info > p { margin-bottom: 28px; }
.ct-item { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 20px; }
.ct-ico {
  width: 40px; height: 40px;
  background: rgba(201,168,76,.08);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem;
  flex-shrink: 0;
  border: 1px solid var(--border);
}
.ct-item strong { display: block; color: var(--text-1); font-size: .85rem; font-weight: 600; margin-bottom: 2px; }
.ct-item a, .ct-item span { color: var(--text-2); font-size: .83rem; }
.ct-item a:hover { color: var(--gold); }

.ct-form-box {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 36px 30px;
}
.ct-form-box h3 { font-family: var(--font-ui); font-weight: 700; font-size: 1rem; margin-bottom: 22px; letter-spacing: .02em; }

.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fg   { margin-bottom: 16px; }
.fg label {
  display: block;
  font-size: .72rem;
  font-weight: 600;
  color: var(--text-3);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 7px;
  font-family: var(--font-ui);
}
.fg input, .fg select, .fg textarea {
  width: 100%;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(201,168,76,.12);
  border-radius: var(--r);
  padding: 11px 14px;
  color: var(--text-1);
  font-family: var(--font-ui);
  font-size: .88rem;
  outline: none;
  transition: border-color var(--t), box-shadow var(--t);
}
.fg input::placeholder, .fg textarea::placeholder { color: rgba(255,255,255,.18); }
.fg input:focus, .fg select:focus, .fg textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,.1);
}
.fg select { appearance: none; cursor: pointer; }
.fg select option { background: var(--bg-3); }
.fg textarea { resize: vertical; min-height: 100px; }
.btn-submit { width: 100%; justify-content: center; padding: 14px; }

@media (max-width: 800px) {
  .ct-wrap { grid-template-columns: 1fr; gap: 32px; }
  .frow    { grid-template-columns: 1fr; }
  .ct-form-box { padding: 24px 18px; }
}

/* ============================================================
   PAGE CONTATO (contato.html)
   ============================================================ */
.page-ct-hero {
  min-height: 36svh;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
  padding-bottom: 40px;
}
.pch-bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: brightness(.22); }
.pch-over { position: absolute; inset: 0; background: linear-gradient(0deg,rgba(13,13,13,.95) 0%,transparent); }
.pch-content { position: relative; z-index: 2; padding-top: var(--nav-h); }
.pch-content h1 { font-size: clamp(2rem,4.5vw,3.2rem); }

/* ============================================================
   PAGE HERO (páginas internas)
   ============================================================ */
.ph {
  min-height: 42svh;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
  padding-bottom: 44px;
}
.ph-bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: brightness(.24); }
.ph-over { position: absolute; inset: 0; background: linear-gradient(0deg,rgba(13,13,13,.96) 0%,rgba(13,13,13,.4) 100%); }
.ph-c { position: relative; z-index: 2; padding-top: var(--nav-h); }
.ph-c h1 { font-size: clamp(2rem,5vw,3.4rem); }

/* ============================================================
   QUEM SOMOS — página
   ============================================================ */
.qs-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
  margin-bottom: 72px;
}
.qs-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.qs-imgs img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r); }
.qs-imgs img:first-child { grid-column: span 2; aspect-ratio: 16/7; }
@media (max-width: 700px) { .qs-intro { grid-template-columns: 1fr; gap: 28px; } }

.mvv-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 40px; }
.mvv-c {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 22px;
  transition: var(--t);
}
.mvv-c:hover { border-color: var(--border-h); transform: translateY(-4px); }
.mvv-ico { font-size: 1.7rem; margin-bottom: 12px; }
.mvv-c h3 { color: var(--gold); font-family: var(--font-ui); font-weight: 700; font-size: .92rem; margin-bottom: 9px; letter-spacing: .04em; text-transform: uppercase; }
.mvv-c p  { font-size: .83rem; }
@media (max-width: 620px) { .mvv-grid { grid-template-columns: 1fr; } }

.vals { display: grid; grid-template-columns: repeat(auto-fill,minmax(175px,1fr)); gap: 14px; margin-top: 40px; }
.val-c {
  background: rgba(201,168,76,.04);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px 16px;
  text-align: center;
  transition: var(--t);
}
.val-c:hover { background: rgba(201,168,76,.09); transform: translateY(-4px); }
.val-ico { font-size: 1.7rem; margin-bottom: 10px; }
.val-c h4 { color: var(--gold); font-family: var(--font-ui); font-weight: 700; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 7px; }
.val-c p  { font-size: .8rem; }

.nums {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 36px 0;
}
.nums .stat { border-right: 1px solid var(--border); }
.nums .stat:last-child { border-right: none; }
@media (max-width: 540px) {
  .nums { grid-template-columns: 1fr 1fr; gap: 24px; padding: 24px 0; }
  .nums .stat:nth-child(2) { border-right: none; }
}

/* ============================================================
   PROJETOS — página
   ============================================================ */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.fb {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 7px 18px;
  font-size: .76rem;
  font-weight: 600;
  font-family: var(--font-ui);
  color: var(--text-2);
  cursor: pointer;
  letter-spacing: .06em;
  transition: var(--t);
}
.fb.on, .fb:hover { background: var(--grad-gold); color: var(--bg-0); border-color: transparent; }

.mason {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 12px;
}
.mc {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--t), box-shadow var(--t);
}
.mc:hover { transform: scale(1.022); box-shadow: var(--shadow); }
.mc img { width: 100%; height: 230px; object-fit: cover; display: block; transition: transform .6s ease, filter .5s ease; }
.mc:nth-child(3n+1) img { height: 290px; }
.mc:hover img { transform: scale(1.08); filter: brightness(.45); }
.mc-over {
  position: absolute; inset: 0;
  background: linear-gradient(0deg,rgba(0,0,0,.86) 0%,transparent 55%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 16px;
  opacity: 0;
  transform: translateY(6px);
  transition: var(--t);
}
.mc:hover .mc-over { opacity: 1; transform: translateY(0); }
.mc-over span { font-size: .64rem; font-weight: 700; color: var(--gold); letter-spacing: .14em; text-transform: uppercase; font-family: var(--font-ui); }
.mc-over h4   { color: var(--text-1); font-family: var(--font-ui); font-weight: 600; font-size: .86rem; margin-top: 2px; }
.mc.hide { display: none; }
@media (max-width: 660px) {
  .mason { grid-template-columns: 1fr 1fr; }
  .mc img, .mc:nth-child(3n+1) img { height: 185px; }
}
@media (max-width: 420px) {
  .mason { grid-template-columns: 1fr; }
  .mc img, .mc:nth-child(3n+1) img { height: 210px; }
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--bg-0);
  border-top: 1px solid var(--border);
  padding: 52px 0 20px;
}
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.foot-brand img { height: 48px; object-fit: contain; margin-bottom: 14px; }
.foot-brand p   { font-size: .83rem; max-width: 260px; }
.foot-col h5 {
  font-family: var(--font-ui);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.foot-col a, .foot-col address { display: block; color: var(--text-2); font-size: .83rem; margin-bottom: 8px; transition: color var(--t); }
.foot-col a:hover { color: var(--gold); }
.foot-btm {
  border-top: 1px solid rgba(255,255,255,.05);
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.foot-btm p { font-size: .76rem; color: var(--text-3); }
.foot-btm span { color: var(--gold); }
@media (max-width: 660px) {
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
  .foot-btm  { flex-direction: column; text-align: center; }
}

/* ============================================================
   WHATSAPP FLOAT + SCROLL TOP
   ============================================================ */
.wa-btn {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 800;
  width: 54px; height: 54px;
  background: #22c55e;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(34,197,94,.38);
  transition: transform var(--t), box-shadow var(--t);
  animation: waPop 3s ease-in-out infinite;
}
.wa-btn:hover { transform: scale(1.1); animation: none; box-shadow: 0 8px 32px rgba(34,197,94,.58); }
.wa-btn svg { width: 26px; height: 26px; fill: #fff; }
@keyframes waPop {
  0%,100% { box-shadow: 0 4px 20px rgba(34,197,94,.38); }
  50%      { box-shadow: 0 4px 32px rgba(34,197,94,.6), 0 0 0 8px rgba(34,197,94,.08); }
}

.up-btn {
  position: fixed;
  bottom: 24px; left: 24px;
  z-index: 800;
  width: 40px; height: 40px;
  background: rgba(201,168,76,.1);
  border: 1px solid var(--border-h);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-size: .9rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: var(--t);
}
.up-btn.show { opacity: 1; pointer-events: all; }
.up-btn:hover { background: rgba(201,168,76,.22); }

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lb {
  position: fixed; inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,.97);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.lb.on { opacity: 1; pointer-events: all; }
.lb img { max-width: 90vw; max-height: 87vh; border-radius: var(--r); object-fit: contain; }
.lb-x {
  position: absolute;
  top: 16px; right: 20px;
  background: none; border: none;
  color: var(--text-1);
  font-size: 2rem;
  cursor: pointer;
  opacity: .55;
  line-height: 1;
  transition: opacity var(--t);
}
.lb-x:hover { opacity: 1; }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-sec {
  background: linear-gradient(135deg,var(--bg-1),var(--bg-2));
  padding: var(--sp) 0;
  text-align: center;
  border-top: 1px solid var(--border);
}
.cta-sec h2 { margin-bottom: 8px; }
.cta-sec p  { max-width: 440px; margin: 0 auto 28px; }
.cta-btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
@keyframes fadeUp  { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn  { from { opacity: 0; } to { opacity: 1; } }

.rv {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .75s ease, transform .75s ease;
}
.rv.in { opacity: 1; transform: none; }
.d1 { transition-delay: .1s; }
.d2 { transition-delay: .2s; }
.d3 { transition-delay: .3s; }
.d4 { transition-delay: .4s; }
.d5 { transition-delay: .5s; }
