/* =========================================================
   1. VARIÁVEIS DE DESIGN E PALETA LUXO (DARK & GOLD)
   ========================================================= */
:root {
  --bg-dark: #0a0a0a;
  --bg-card: #141414;
  --bg-card-hover: #1c1c1c;
  --gold-primary: #d4af37;
  --gold-light: #f3e5ab;
  --gold-dark: #aa820a;
  --text-main: #f0f0f0;
  --text-muted: #a0a0a0;
  --border-color: rgba(212, 175, 55, 0.2);
  --font-title: 'Playfair Display', serif;
  --font-body: 'Montserrat', sans-serif;
  --font-hand: 'Caveat', cursive;
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* =========================================================
   2. RESET GERAL
   ========================================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.section-padding {
  padding: 100px 0;
}

.gold-text {
  color: var(--gold-primary);
}

.gold-subtitle {
  color: var(--gold-primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  font-weight: 600;
  display: block;
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-title);
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 20px;
}

/* =========================================================
   3. NAVEGAÇÃO (HEADER & NAVBAR)
   ========================================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition);
  padding: 20px 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  font-family: var(--font-title);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: #fff;
}

.nav-menu {
  display: flex;
  gap: 30px;
}

.nav-link {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--gold-primary);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
  color: #000;
  padding: 12px 28px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: var(--transition);
  display: inline-block;
  border: none;
  cursor: pointer;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(212, 175, 55, 0.25);
}

.btn-outline {
  border: 1px solid var(--border-color);
  padding: 12px 28px;
  border-radius: 4px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: var(--transition);
  color: #fff;
}

.btn-outline:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
}

/* =========================================================
   4. HERO SECTION (DESKTOP)
   ========================================================= */
#home.hero {
  position: relative;
  width: 100vw;
  height: calc(100vh - 50px);
  min-height: 600px;
  display: flex;
  align-items: center;
  background-color: var(--bg-dark);
  overflow: hidden;
  padding: 0;
  margin: 0;
}

.hero-content-wrapper {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding-left: 6vw;
  pointer-events: none;
}

.hero-text {
  max-width: 500px;
  pointer-events: auto;
}

.hero-tag {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--gold-primary);
  margin-bottom: 20px;
  display: block;
}

.hero-title {
  font-family: var(--font-title);
  font-size: 4rem;
  line-height: 1.05;
  margin-bottom: 25px;
  font-weight: 400;
  color: #ffffff;
}

.hero-title span { 
  font-style: italic; 
  font-weight: 700; 
}

.hero-desc { 
  color: var(--text-muted); 
  font-size: 1rem; 
  line-height: 2; 
  margin-bottom: 50px; 
}

.hero-actions { 
  display: flex; 
  gap: 15px; 
  align-items: center; 
  margin-bottom: 35px; 
}

.hero-bg-image {
  position: absolute;
  top: 0;
  right: 0;
  width: 62vw;
  height: 100%;
  z-index: 1;
  display: flex;
  justify-content: flex-end;
}

.hero-bg-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 0;

  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.5) 15%, #000 45%);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.5) 15%, #000 45%);
}

/* =========================================================
   5. TICKER
   ========================================================= */
.ticker-bar {
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 0;
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
}

.ticker-track {
  display: flex;
  gap: 30px;
  width: max-content;
  animation: ticker-scroll 22s linear infinite;
}

.ticker-item {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 15px;
}

.ticker-item span {
  color: var(--gold-primary);
}

@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =========================================================
   6. NÚMEROS
   ========================================================= */
.stats-section {
  padding: 60px 0;
  background: rgba(255, 255, 255, 0.01);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-number {
  font-family: var(--font-title);
  font-size: 3rem;
  color: var(--gold-primary);
  font-weight: 700;
}

.stat-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
}

/* =========================================================
   7. PILARES
   ========================================================= */
.pilar-badges {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  grid-auto-rows: 1fr !important;
  gap: 20px !important;
  max-width: 1000px !important;
  margin: 40px auto 0 auto !important;
  clear: both;
}

.pilar-badges .badge {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
  text-align: left;
  transition: var(--transition);
}

.pilar-badges .badge:hover {
  border-color: var(--gold-primary);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
}

.badge-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}

.badge-header i {
  color: var(--gold-primary);
  font-size: 1.2rem;
}

.badge-title {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.badge-text {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* =========================================================
   8. CONCEITO
   ========================================================= */
.conceito-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.quote-box {
  border-left: 2px solid var(--gold-primary);
  padding-left: 20px;
  margin: 30px 0;
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-style: italic;
  color: #fff;
}

/* =========================================================
   9. LINHAS
   ========================================================= */
.detalhe-modelo {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 50px;
  margin-bottom: 40px;
  transition: var(--transition);
}

.container-detalhe {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.titulo-modelo {
  font-family: var(--font-hand);
  font-size: 3.5rem;
  color: #fff;
  margin-bottom: 15px;
  line-height: 1;
}

.descricao-linha {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
}

.detalhe-imagem img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.05);
  transition: opacity 0.3s ease;
}

.grid-4-linhas {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.card-modelo {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.card-modelo:hover, .card-modelo.active {
  border-color: var(--gold-primary);
  transform: translateY(-5px);
  background: var(--bg-card-hover);
}

.card-modelo img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 15px;
}

.card-modelo h3 {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.card-modelo h3 strong {
  display: block;
  color: var(--gold-primary);
  font-size: 0.95rem;
  margin-top: 4px;
}

/* =========================================================
   10. UNIDADES
   ========================================================= */
.unidades-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 40px;
}

.unidade-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 40px;
  transition: var(--transition);
}

.unidade-card:hover {
  border-color: var(--gold-primary);
  background: var(--bg-card-hover);
}

.unidade-badge {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold-primary);
  background: rgba(212, 175, 55, 0.1);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 15px;
}

.unidade-card h3 {
  font-family: var(--font-title);
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.unidade-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 25px;
}

/* =========================================================
   11. RODAPÉ
   ========================================================= */
.footer {
  background: #050505;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 80px 0 30px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--gold-primary);
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.whatsapp-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
  z-index: 999;
  transition: var(--transition);
}

.whatsapp-btn:hover {
  transform: scale(1.1);
}

/* =========================================================
   12. RESPONSIVIDADE (MOBILE & TABLET)
   ========================================================= */
@media (max-width: 992px) {
  .nav-menu {
    display: none;
  }

  .nav-container {
    padding: 0 10px;
  }

  .logo a {
    font-size: 1.1rem;
    letter-spacing: 1px;
  }

  .navbar .btn-gold {
    padding: 8px 16px;
    font-size: 0.7rem;
  }

  #home.hero {
    height: auto;
    min-height: auto;
    flex-direction: column;
    padding-top: 120px;
    padding-bottom: 40px;
  }

  .hero-content-wrapper {
    width: 100%;
    padding-left: 5%;
    padding-right: 5%;
    padding-top: 0;
    text-align: center;
  }

  .hero-text {
    max-width: 100%;
    margin: 0 auto;
  }

  .hero-title {
    font-size: 2.5rem;
    line-height: 1.1;
  }

  .hero-desc {
    font-size: 0.9rem;
    margin-bottom: 30px;
  }

  .hero-actions {
    justify-content: center;
    flex-direction: column;
    gap: 12px;
  }

  .hero-actions a {
    width: 100%;
    text-align: center;
  }

  .hero-bg-image {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    bottom: auto;
    width: 100%;
    height: 380px;
    margin-top: 30px;
  }

  .hero-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 10%, #000 90%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, #000 10%, #000 90%, transparent 100%);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .pilar-badges {
    grid-template-columns: 1fr !important;
  }

  .conceito-grid, .container-detalhe, .unidades-grid, .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .grid-4-linhas {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}
/* =========================================================
   ESTILOS UNIFICADOS E ALINHAMENTO DOS CARDS DE SERVIÇO
   ========================================================= */

/* Container que organiza o conteúdo do card */
/* 1. Alinha os títulos no topo e fixa uma altura padrão para todos */
.service-title {
  font-family: var(--font-title, 'Playfair Display', serif);
  font-size: 1.5rem;
  line-height: 1.25;
  color: var(--gold-primary, #d4af37);
  
  /* PULO DO GATO PARA ALINHAMENTO: */
  min-height: 3.6rem; /* Reserva o espaço exato de 2 linhas para todos os cards */
  display: flex;
  align-items: flex-start; /* Força o texto a começar na mesma linha do topo */
  margin-bottom: 15px;
}

/* 2. Garante que o container de texto distribua os elementos na vertical */
.service-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 25px;
}

.service-content > div {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* 3. Empurra os botões amarelos para a base, alinhando o rodapé */
.btn-card-gold {
  margin-top: auto;
}

/* =========================================================
   TICKER DE FOTOS ANTES & DEPOIS (CARROSSEL INFINITO)
   ========================================================= */
.ticker-galeria-section {
  padding: 60px 0;
  background-color: var(--bg-card);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  margin-top: 40px;
  overflow: hidden;
}

.ticker-fotos-bar {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

.ticker-fotos-track {
  display: flex !important;
  flex-direction: row !important;
  gap: 20px !important;
  width: max-content !important;
  animation: ticker-fotos-scroll 25s linear infinite !important;
}

.ticker-fotos-bar:hover .ticker-fotos-track {
  animation-play-state: paused !important;
}

.ticker-foto-item {
  width: 280px !important;
  height: 320px !important;
  flex-shrink: 0 !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  border: 1px solid var(--border-color) !important;
  background-color: var(--bg-dark) !important;
}

.ticker-foto-item img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform 0.4s ease;
}

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

/* Animação do carrossel contínuo */
@keyframes ticker-fotos-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Ajustes para Celular */
@media (max-width: 768px) {
  .ticker-foto-item {
    width: 220px !important;
    height: 260px !important;
  }
}