/* Importando Montserrat do Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

/* Importando Lufga localmente (Certifique-se de ter os arquivos na pasta 'fonts') */
@font-face {
    font-family: 'Lufga';
    src: url('fonts/Lufga-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Lufga';
    src: url('fonts/Lufga-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
}

/* ─── RESET & TOKENS ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

:root {
  --navy:    #0f1e35;
  --navy2:   #0a1325;
  --navy3:   #1d2f52;
  --gold:    #c8a55a;
  --gold2:   #dfc07e;
  --gold3:   #f0daa0;
  --gold4:   #faf4e6;
  --white:   #ffffff;
  --off:     #f8f7f4;
  --g1:      #f2f1ee;
  --g2:      #e0ddd7;
  --g3:      #b0ac9f;
  --g4:      #6b6860;
  --g5:      #3a3830;
  
  /* NOVAS FONTES */
  --serif:   'Lufga', sans-serif; /* Lufga para títulos (substituindo a antiga serif) */
  --sans:    'Montserrat', sans-serif; /* Montserrat para textos gerais */
  
  --dur:     .35s;
  --ease:    cubic-bezier(.4,0,.2,1);
}

body {
  font-family: var(--sans);
  color: var(--g5);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 10px; }

/* ─── NAVBAR (MELHORADA) ─── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 85px;
  display: flex;
  align-items: center;
  padding: 0 60px;
  z-index: 999;
  backdrop-filter: saturate(180%);
  background: rgba(10, 20, 40, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.5s var(--ease);
}

.nav.scrolled {
  height: 70px;
  background: rgba(10, 20, 40, 0.95);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.nav-logo img { 
  height: 50px;
  transition: transform 0.3s;
}

.nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  list-style: none;
  gap: 10px;
}

.nav-links > li {
  position: relative; /* Isso cria a 'âncora' para o dropdown não fugir para o logo */
  display: flex;
  align-items: center;
}

.nav-links > li > a {
  padding: 10px 18px;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  position: relative;
  transition: color 0.3s;
}

.nav-links > li > a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: all 0.3s var(--ease);
  transform: translateX(-50%);
}

.nav-links > li > a:hover { color: #fff; }
.nav-links > li > a:hover::after { width: 70%; }

.nav-cta {
  margin-left: 25px;
  padding: 12px 28px !important;
  border-radius: 99px;
  border: 1px solid var(--gold);
  color: var(--gold) !important;
  background: transparent;
  transition: all 0.4s !important;
  font-weight: 600;
}

.nav-cta:hover {
  background: var(--gold) !important;
  color: var(--navy) !important;
  box-shadow: 0 8px 25px rgba(200, 165, 90, 0.3);
  transform: translateY(-2px);
}

/* ───── DROPDOWN PREMIUM ───── */
.nav-dropdown {
  position: absolute;
  top: 100%; /* Inicia logo abaixo do texto */
  left: 50%; /* Move para o meio do botão */
  transform: translateX(-50%) translateY(-10px); /* Centraliza e sobe um pouco para o efeito de entrada */
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s ease;
  
  /* Seu estilo visual */
  min-width: 220px;
  background: rgba(15, 30, 53, 0.98);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(200, 165, 90, 0.25);
  border-radius: 8px;
  padding: 8px 0;
  z-index: 1000;
}

/* Quando passar o mouse no LI, o dropdown aparece no lugar certo */
.nav-links li:hover .nav-dropdown {
  opacity: 1;
  transform: translateX(-50%) translateY(5px); /* Desce suavemente para a posição final */
  pointer-events: auto;
}

.nav-dropdown a {
  display: block;
  padding: 14px 22px;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(255,255,255,.7);
  transition: .25s;
}

.nav-dropdown a:hover {
  color: var(--gold);
  background: rgba(200, 165, 90, .08);
  padding-left: 28px;
}

.nav-links li:hover .nav-dropdown {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

/* ─── HERO (MELHORADO) ─── */
.hero {
  position: relative;
  overflow: hidden;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 30%, var(--navy3) 0%, var(--navy2) 100%);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(200, 165, 90, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 165, 90, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-glow {
  position: absolute;
  bottom: -10%;
  right: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(200, 165, 90, 0.12) 0%, transparent 70%);
  animation: pulseGlow 8s infinite alternate;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;           /* deixa o vídeo meio transparente */
  mix-blend-mode: multiply; /* opcional: faz o vídeo se misturar com o azul */
  z-index: 1;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2; /* elementos acima do vídeo */
}

.gallery-section {
  background: var(--white);
  padding: 80px 24px;
}

.gallery-section .section-title {
  margin-bottom: 36px;
  text-align: center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-auto-rows: 200px;
  gap: 12px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 4px;
  position: relative;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item.large {
  grid-column: span 2;
  grid-row: span 2;
}

@media (max-width: 768px) {
  .gallery-item.large {
    grid-column: span 1;
    grid-row: span 1;
  }
}

@keyframes pulseGlow {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.2); opacity: 0.8; }
}
/* 1. Esconda o menu mobile por padrão */
.nav-mobile {
    display: none; /* Isso remove essa lista feia do topo */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--navy);
    z-index: 999;
}

/* 2. Só mostre o menu quando ele tiver uma classe 'active' (que o JS vai colocar) */
.nav-menu-mobile.active {
    display: block;
}

/* 3. Garante que em telas grandes (Desktop) essa lista não apareça de jeito nenhum */
@media (min-width: 992px) {
    .nav-menu-mobile {
        display: none !important;
    }
}

.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  max-width: 1000px;
}

.hero-pill {
  display: inline-block;
  border: 1px solid rgba(200, 165, 90, 0.3);
  border-radius: 40px;
  padding: 8px 22px;
  margin-bottom: 30px;
  font-size: 10px;
  letter-spacing: 4px;
  color: var(--gold2);
  text-transform: uppercase;
  background: rgba(200, 165, 90, 0.05);
}

.hero-title {
  font-size: clamp(40px, 8vw, 82px);
  font-weight: 600;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 25px;
  letter-spacing: -1px;
}

.hero-title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(to right, #c8a55a, #f0daa0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: 18px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.5);
  max-width: 600px;
  margin: 0 auto 45px;
  line-height: 1.8;
}

/* ─── BOTÕES (REFEITOS) ─── */
.hero-btns {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-gold {
  background: linear-gradient(135deg, #c8a55a, #e6c47a);
  color: #0b1b33;
  padding: 16px 36px;
  border-radius: 99px;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.4s var(--ease);
  box-shadow: 0 10px 25px rgba(200, 165, 90, 0.2);
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-gold:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(200, 165, 90, 0.4);
}

.btn-gold::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transition: 0.6s;
}

.btn-gold:hover::before { left: 100%; }

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 16px 36px;
  border-radius: 99px;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  transition: all 0.4s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border: 1px solid var(--navy); /* Borda escura para contrastar com o fundo claro */
  border-radius: 99px;
  color: var(--navy) !important; /* Força a cor azul marinho da sua marca */
  text-decoration: none !important; /* Remove o sublinhado azul feio */
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all 0.4s var(--ease);
  margin-top: 20px;
}

.btn-outline-dark:hover {
  background: var(--navy);
  color: var(--white) !important;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(15, 30, 53, 0.15);
}

/* Ajuste para o container do botão (centralizar se necessário) */
.text-center {
  text-align: center;
  width: 100%;
}

.btn-outline:hover {
  border-color: var(--gold);
  background: rgba(200, 165, 90, 0.1);
  transform: translateY(-4px);
}

/* ─── STATSBAR (PREMIUM) ─── */
.statsbar {
  background: #0d1a30;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  border-top: 1px solid rgba(200, 165, 90, 0.15);
  border-bottom: 1px solid rgba(200, 165, 90, 0.15);
}

.stat-item {
  text-align: center;
  padding: 40px 60px;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  transition: background 0.3s;
}

.stat-item:last-child { border-right: none; }
.stat-item:hover { background: rgba(200, 165, 90, 0.03); }

.stat-num {
  display: block;
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}

.stat-label {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 8px;
  display: block;
}

/* ─── SECTIONS ─── */
section { padding: 60px 24px; }
.container { max-width: 1160px; margin: 0 auto; }

.section-tag {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 10px; letter-spacing: 3.5px; text-transform: uppercase;
  color: var(--gold); font-weight: 500; margin-bottom: 14px;
}
.section-tag::before {
  content: ''; width: 28px; height: 1px; background: var(--gold);
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(32px, 4.5vw, 54px);
  font-weight: 600; line-height: 1.12; color: var(--navy);
  margin-bottom: 18px;
}
.section-title-light { color: var(--white); }

.section-sub {
  font-size: 16px; color: var(--g4); line-height: 1.78;
  max-width: 520px;
}

/* ─── CARDS ─── */
.card {
  background: var(--white); border-radius: 2px;
  overflow: hidden; box-shadow: 0 2px 20px rgba(0,0,0,.06);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  text-decoration: none; color: inherit; display: block;
}

.stretched-link::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1; /* Faz o link ficar por cima de tudo dentro do card */
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.card-thumb {
  aspect-ratio: 4/3; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy3) 100%);
  display: flex; align-items: center; justify-content: center;
}
.card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Esconde o ícone de erro se a imagem não existir */
    text-indent: -10000px; 
}
.card:hover .card-thumb img { transform: scale(1.06); }
.card-status {
  position: absolute; top: 14px; left: 14px;
  padding: 5px 12px; border-radius: 2px;
  font-size: 9px; letter-spacing: 1.5px;
  font-weight: 700; text-transform: uppercase;
}
.status-lancamento { background: var(--gold); color: var(--navy); }
.status-entregue { background: #059669; color: #fff; }
.status-breve { background: var(--navy3); color: var(--gold2); border: 1px solid rgba(200,165,90,.3); }

.card-body { padding: 26px; }
.card-body h3 {
  font-family: var(--serif); font-size: 22px; font-weight: 600;
  color: var(--navy); margin-bottom: 6px; line-height: 1.2;
}
.card-body p { font-size: 13px; color: var(--g4); line-height: 1.65; margin-bottom: 18px; }
.card-meta { display: flex; gap: 18px; margin-bottom: 18px; }
.card-meta-item { font-size: 11px; color: var(--g3); }
.card-meta-item strong { color: var(--navy); display: block; font-size: 12px; }
.card-link {
  font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--gold); text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
  transition: gap .2s;
}
.card-link:hover { gap: 10px; }

/* ─── FEATURE CARDS ─── */
.feat-card {
  padding: 28px; border: 1px solid var(--g2); border-radius: 2px;
  transition: border-color .2s, transform .2s;
}
.feat-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.feat-icon {
  width: 44px; height: 44px; border-radius: 2px;
  background: var(--gold4);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; margin-bottom: 14px;
}
.feat-card h4 { font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 7px; }
.feat-card p { font-size: 13px; color: var(--g4); line-height: 1.65; }

/* ─── GRIDS ─── */
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 2px; }

/* ─── DARK SECTIONS ─── */
.section-dark {
  background: var(--navy);
  position: relative; overflow: hidden;
}
.section-dark .section-title { color: var(--white); }
.section-dark .section-sub { color: rgba(255,255,255,.48); }
.dark-card {
  padding: 40px 30px; text-align: center;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  transition: background .25s, border-color .25s;
}
.dark-card:hover {
  background: rgba(200,165,90,.07);
  border-color: rgba(200,165,90,.25);
}
.dark-card-num {
  font-family: var(--serif); font-size: 52px; font-weight: 600;
  color: rgba(200,165,90,.18); line-height: 1; margin-bottom: 6px;
}
.dark-card h3 { font-size: 15px; font-weight: 600; color: var(--white); margin-bottom: 10px; }
.dark-card p { font-size: 13px; color: rgba(255,255,255,.44); line-height: 1.7; }

/* ─── TESTIMONIALS ─── */
.dep-card {
  padding: 34px; border: 1px solid var(--g2); border-radius: 2px;
  transition: border-color .2s, box-shadow .2s;
}
.dep-card:hover { border-color: var(--gold); box-shadow: 0 6px 24px rgba(200,165,90,.08); }
.dep-quote {
  font-family: var(--serif); font-size: 52px; color: var(--gold);
  line-height: 1; margin-bottom: 12px;
}
.dep-text { font-size: 14px; color: var(--g4); line-height: 1.75; margin-bottom: 22px; font-style: italic; }
.dep-author { display: flex; align-items: center; gap: 12px; }
.dep-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--navy); font-size: 15px; flex-shrink: 0;
}
.dep-stars { color: var(--gold); font-size: 12px; margin-bottom: 3px; }
.dep-name { font-size: 13px; font-weight: 600; color: var(--navy); }
.dep-role { font-size: 11px; color: var(--g3); }

/* ─── CONTACT FORM ─── */
.contact-form {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.09);
  padding: 44px; border-radius: 2px;
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block; font-size: 10px; letter-spacing: 1.5px;
  text-transform: uppercase; color: rgba(255,255,255,.42);
  margin-bottom: 8px; font-weight: 500;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 13px 16px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 2px; color: var(--white);
  font-size: 14px; font-family: var(--sans);
  outline: none; transition: border-color .2s;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(255,255,255,.25); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--gold); }
.form-group select option { background: var(--navy); color: var(--white); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.btn-submit {
  width: 100%; padding: 15px;
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  border: none; border-radius: 2px; cursor: pointer;
  font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--navy); font-family: var(--sans);
  transition: opacity .2s, transform .2s; margin-top: 4px;
}
.btn-submit:hover { opacity: .9; transform: translateY(-1px); }

/* ─── CONTACT INFO ─── */
.cinfo-grid { display: flex; flex-direction: column; gap: 18px; margin-top: 36px; }
.cinfo-item { display: flex; align-items: center; gap: 14px; }
.cinfo-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: rgba(200,165,90,.1);
  border: 1px solid rgba(200,165,90,.25); border-radius: 2px;
  display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.cinfo-item strong { display: block; font-size: 12px; font-weight: 600; color: var(--white); }
.cinfo-item span { font-size: 12px; color: rgba(255,255,255,.46); }

/* ─── FOOTER ─── */
footer {
  background: #07111f;
  border-top: 1px solid rgba(200,165,90,.1);
  padding: 60px 48px 28px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 44px;
}
.footer-brand p { font-size: 13px; color: rgba(255,255,255,.34); line-height: 1.75; margin-top: 14px; max-width: 260px; }
.footer-logo img { height: 40px; filter: brightness(0) invert(1); }
.footer-col h5 {
  font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 18px; font-weight: 600;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-col ul li a {
  text-decoration: none; font-size: 13px;
  color: rgba(255,255,255,.35); transition: color .2s, padding-left .2s;
}
.footer-col ul li a:hover { color: var(--gold2); padding-left: 4px; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 22px; border-top: 1px solid rgba(255,255,255,.06);
}
.footer-bottom p { font-size: 11px; color: rgba(255,255,255,.2); }
.footer-social { display: flex; gap: 10px; }
.social-btn {
  width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.1);
  border-radius: 2px; display: flex; align-items: center; justify-content: center;
  font-size: 15px; text-decoration: none; color: rgba(255,255,255,.35);
  transition: border-color .2s, color .2s;
}
.social-btn:hover { border-color: var(--gold); color: var(--gold); }

/* ─── WHATSAPP FLOAT ─── */
.wa-btn {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; display: flex; align-items: center; justify-content: center;
  font-size: 26px; box-shadow: 0 6px 22px rgba(37,211,102,.42);
  text-decoration: none; transition: transform .2s;
}
.wa-btn:hover { transform: scale(1.1); }

/* ─── BREADCRUMB ─── */
.breadcrumb {
  background: var(--g1); border-bottom: 1px solid var(--g2);
  padding: 14px 48px;
}
.breadcrumb-inner {
  max-width: 1160px; margin: 0 auto;
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--g3);
}
.breadcrumb-inner a { color: var(--gold); text-decoration: none; }
.breadcrumb-inner a:hover { text-decoration: underline; }
.breadcrumb-inner span { color: var(--g3); }

/* ─── PAGE HERO (inner pages) ─── */
.page-hero {
  padding: 140px 48px 80px;
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy3) 100%);
  position: relative; overflow: hidden;
}
.page-hero-pattern {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(200,165,90,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,165,90,.05) 1px, transparent 1px);
  background-size: 56px 56px;
}
.page-hero-inner { max-width: 1160px; margin: 0 auto; position: relative; z-index: 2; }
.page-hero h1 {
  font-family: var(--serif); font-size: clamp(38px, 5.5vw, 64px);
  font-weight: 600; color: var(--white); line-height: 1.1;
  margin-bottom: 16px;
}
.page-hero p { font-size: 17px; color: rgba(255,255,255,.55); max-width: 540px; line-height: 1.7; }

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

.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

/* ─── SOBRE PAGE ─── */
.sobre-img-wrap { position: relative; }
.sobre-img-main {
  aspect-ratio: 3/4; border-radius: 2px; overflow: hidden;
  background: var(--navy);
}
.sobre-img-main img { width: 100%; height: 100%; object-fit: cover; }
.sobre-img-accent {
  position: absolute; bottom: -20px; right: -20px;
  width: 140px; height: 140px;
  border: 2px solid var(--gold); border-radius: 2px; z-index: -1;
}
.sobre-gold-tag {
  position: absolute; top: 28px; left: -20px;
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  color: var(--navy); padding: 18px 22px; border-radius: 2px;
}
.sobre-gold-tag strong { display: block; font-family: var(--serif); font-size: 32px; font-weight: 600; line-height: 1; }
.sobre-gold-tag span { font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; }

/* Timeline */
.timeline { position: relative; padding-left: 32px; }
.timeline::before {
  content: ''; position: absolute; left: 8px; top: 0; bottom: 0;
  width: 1px; background: linear-gradient(to bottom, var(--gold), transparent);
}
.timeline-item { position: relative; margin-bottom: 32px; }
.timeline-item::before {
  content: ''; position: absolute;
  left: -28px; top: 6px;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--gold); border: 2px solid var(--white);
  box-shadow: 0 0 0 3px rgba(200,165,90,.25);
}
.timeline-item h4 { font-size: 13px; font-weight: 700; color: var(--gold); letter-spacing: 1px; margin-bottom: 4px; }
.timeline-item p { font-size: 14px; color: var(--g4); line-height: 1.65; }

/* ─── EMP PAGE ─── */
.emp-filter {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 44px;
}
.filter-btn {
  padding: 8px 20px; border-radius: 2px; font-size: 11px;
  font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
  cursor: pointer; transition: all .2s;
  border: 1.5px solid var(--g2);
  background: transparent; color: var(--g4); font-family: var(--sans);
}
.filter-btn.active, .filter-btn:hover {
  border-color: var(--gold); color: var(--gold);
  background: rgba(200,165,90,.06);
}

/* ─── EMP DETAIL ─── */
.emp-gallery {
  display: grid; grid-template-columns: 2fr 1fr;
  gap: 4px; border-radius: 2px; overflow: hidden;
  margin-bottom: 48px;
}
.emp-gallery-main {
  aspect-ratio: 16/10; overflow: hidden;
  background: var(--navy);
}
.emp-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.emp-gallery-thumbs { display: grid; gap: 4px; }
.emp-gallery-thumb {
  overflow: hidden; background: var(--navy2);
  cursor: pointer; position: relative;
}
.emp-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.emp-gallery-thumb:hover img { transform: scale(1.06); }

.emp-specs { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--g2); }
.emp-spec { background: var(--white); padding: 20px 18px; }
.emp-spec-label { font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--g3); margin-bottom: 5px; }
.emp-spec-value { font-family: var(--serif); font-size: 20px; font-weight: 600; color: var(--navy); }

/* Price table */
.price-table { width: 100%; border-collapse: collapse; font-size: 13px; margin-top: 24px; }
.price-table th {
  text-align: left; padding: 11px 14px; background: var(--navy);
  color: var(--gold2); font-size: 10px; letter-spacing: 1.5px;
  text-transform: uppercase; font-weight: 500;
}
.price-table td { padding: 12px 14px; border-bottom: 1px solid var(--g1); color: var(--g5); }
.price-table tr:last-child td { border-bottom: none; }
.price-table tr:hover td { background: var(--g1); }
.badge-livre { background: var(--gold4); color: #7a5a10; padding: 3px 10px; border-radius: 20px; font-size: 10px; font-weight: 700; }
.badge-vendida { background: #fee2e2; color: #991b1b; padding: 3px 10px; border-radius: 20px; font-size: 10px; font-weight: 700; }
.badge-entregue { background: #dcfce7; color: #166534; padding: 3px 10px; border-radius: 20px; font-size: 10px; font-weight: 700; }

/* ─── OBRAS PAGE ─── */
.obra-card {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border: 1px solid var(--g2); border-radius: 2px; overflow: hidden;
  transition: box-shadow .3s;
}
.obra-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,.09); }
.obra-card-img { position: relative; overflow: hidden; min-height: 280px; background: var(--navy2); }
.obra-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.obra-card:hover .obra-card-img img { transform: scale(1.04); }
.obra-card-body { padding: 36px; display: flex; flex-direction: column; justify-content: center; }
.obra-card-body h3 { font-family: var(--serif); font-size: 26px; font-weight: 600; color: var(--navy); margin-bottom: 8px; }
.obra-card-body p { font-size: 14px; color: var(--g4); line-height: 1.7; margin-bottom: 20px; }

/* ─── CONTATO PAGE ─── */
.map-placeholder {
  aspect-ratio: 16/6; background: var(--navy2);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.2); font-size: 60px; border-radius: 2px;
  position: relative; overflow: hidden;
}
.map-placeholder::after {
  content: 'R. Antonio Ferraro, 89 — Cidade Ocian — Praia Grande/SP';
  position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%);
  font-size: 12px; letter-spacing: 2px; color: var(--gold2);
  font-family: var(--sans); white-space: nowrap;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2,1fr); }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .obra-card { grid-template-columns: 1fr; }
  .emp-gallery { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  section { padding: 64px 20px; }
  .breadcrumb { padding: 12px 20px; }
  .page-hero { padding: 120px 20px 56px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .statsbar .stat-item { padding: 20px 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 16px; }
  .footer { padding: 44px 20px 22px; }
  .sobre-img-accent { display: none; }
  .sobre-gold-tag { left: 12px; }
  .form-row { grid-template-columns: 1fr; }
  .emp-specs { grid-template-columns: 1fr 1fr; }
  .contact-form { padding: 28px 20px; }
  .hero-title{
  font-size: clamp(42px,5vw,72px);
  line-height:1.05;
  font-weight:600;
  letter-spacing:-1px;
}

.hero-title em{
  font-style:normal;
  background:linear-gradient(90deg,#fff,#e6c47a);
  -webkit-background-clip:text;
  color:transparent;}
}

@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .stat-item { padding: 18px 20px; }
}

*{
  scroll-behavior:smooth;
}

.reveal{
  opacity:0;
  transform:translateY(40px);
  transition:1s cubic-bezier(.2,.6,.2,1);
}

.reveal.active{
  opacity:1;
  transform:none;
}
/* Ajustes dos residenciais centralizados via JS */
.card-thumb > div { min-height: 100%; }
@media (max-width: 900px) {
  .emp-page-grid { grid-template-columns: 1fr !important; }
}
@media (max-width: 768px) {
  [data-render="empreendimento-destaque"] > div { grid-template-columns: 1fr !important; padding: 32px 24px !important; }
}


/* ===== FIX DEFINITIVO: PÁGINA OBRAS =====
   Impede o CSS antigo (.obra-card com duas colunas) de quebrar a grade da página Obras. */
body.obras-page .obras-section{
  background: var(--off) !important;
  padding: 46px 24px 96px !important;
}
body.obras-page .filter-container{
  display:flex !important;
  justify-content:center !important;
  flex-wrap:wrap !important;
  gap:14px !important;
  margin:0 0 54px !important;
  position:relative !important;
  z-index:5 !important;
}
body.obras-page .filter-btn{
  background:var(--white) !important;
  border:1px solid var(--g2) !important;
  color:var(--navy) !important;
  padding:14px 28px !important;
  border-radius:999px !important;
  font-size:12px !important;
  font-weight:700 !important;
  text-transform:uppercase !important;
  letter-spacing:2px !important;
  box-shadow:0 8px 22px rgba(0,0,0,.05) !important;
}
body.obras-page .filter-btn.active,
body.obras-page .filter-btn:hover{
  background:var(--gold) !important;
  border-color:var(--gold) !important;
  color:var(--navy) !important;
  transform:translateY(-2px) !important;
}
body.obras-page .obras-grid{
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:32px !important;
}
body.obras-page .obras-grid .obra-card{
  display:block !important;
  grid-template-columns:none !important;
  background:var(--white) !important;
  border:1px solid rgba(15,30,53,.06) !important;
  border-radius:8px !important;
  overflow:hidden !important;
  cursor:pointer !important;
  box-shadow:0 10px 30px rgba(15,30,53,.04) !important;
  min-height:auto !important;
}
body.obras-page .obras-grid .obra-card:hover{
  transform:translateY(-6px) !important;
  border-color:rgba(200,165,90,.65) !important;
  box-shadow:0 24px 50px rgba(15,30,53,.10) !important;
}
body.obras-page .obra-img-wrapper{
  position:relative !important;
  width:100% !important;
  aspect-ratio:4/3 !important;
  overflow:hidden !important;
  background:var(--navy2) !important;
}
body.obras-page .obra-img-wrapper img{
  width:100% !important;
  height:100% !important;
  display:block !important;
  object-fit:cover !important;
}
body.obras-page .obra-badge{
  position:absolute !important;
  top:16px !important;
  right:16px !important;
  background:var(--gold) !important;
  color:var(--navy) !important;
  padding:7px 15px !important;
  border-radius:3px !important;
  font-size:10px !important;
  font-weight:800 !important;
  text-transform:uppercase !important;
  letter-spacing:1.8px !important;
  z-index:2 !important;
}
body.obras-page .obra-content{
  padding:28px 30px 32px !important;
}
body.obras-page .obra-cat{
  font-size:10px !important;
  color:var(--gold) !important;
  text-transform:uppercase !important;
  letter-spacing:3px !important;
  font-weight:700 !important;
  margin-bottom:12px !important;
}
body.obras-page .obra-content h3{
  font-family:var(--serif) !important;
  font-size:25px !important;
  color:var(--navy) !important;
  margin:0 0 16px !important;
  line-height:1.15 !important;
}
body.obras-page .meta-item{
  color:var(--g4) !important;
  display:flex !important;
  align-items:center !important;
  gap:8px !important;
  font-size:14px !important;
}
@media (max-width:980px){
  body.obras-page .obras-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important;}
}
@media (max-width:720px){
  body.obras-page .obras-grid{grid-template-columns:1fr !important;}
}


/* ===== FIX CSS OBRAS V9 =====
   Cards da página Obras sempre verticais: imagem em cima e conteúdo embaixo. */
body.obras-page .obras-grid > .obra-card{
  display:block !important;
  grid-template-columns:none !important;
  grid-template-rows:none !important;
}
body.obras-page .obras-grid > .obra-card > .obra-img-wrapper{
  display:block !important;
  width:100% !important;
  aspect-ratio:4/3 !important;
}
body.obras-page .obras-grid > .obra-card > .obra-content{
  display:block !important;
  width:100% !important;
  padding:28px 30px 32px !important;
}
body.obras-page .obras-grid > .obra-card > .obra-img-wrapper img{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
}
