:root {
  --bg-main:#121b24;
  --bg-card:#1f2f3d;
  --text-main:#f5f7f8;
  --text-muted:#aab4bc;
  --gold:#c8a45d;
}

* { box-sizing:border-box; margin:0; padding:0; }

body {
  font-family:'Inter',sans-serif;
  background:var(--bg-card);
  color:var(--text-main);
}
html, body {
  overflow-x: hidden;
}

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

h1,h2,h3 {
  font-family:'Playfair Display',serif;
}

header {
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,.05);
  position: relative;
  z-index: 100;
}
.header-flex {
  display:flex;
  justify-content:space-between;
  align-items:center;
}
nav {
  display: flex;
  align-items: center;
}
nav a {
  margin-left:20px;
  color:var(--text-main);
}
/* ===============================
   HERO COM VÍDEO
================================ */

.hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* VÍDEO */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* OVERLAY (legibilidade + luxo) */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(0,0,0,.45),
    rgba(0,0,0,.85)
  );
  z-index: 2;
}

/* CONTEÚDO */
.hero-content {
  position: relative;
  z-index: 3;
  max-width: 760px;
}

.hero h1 {
  font-size: clamp(2.8rem, 5vw, 4.2rem);
}

.hero p {
  color: var(--text-muted);
  margin: 20px 0 40px;
  font-size: 1.1rem;
}

/* ===============================
   SEÇÃO CORRETOR
================================ */

.corretor {
  padding: 100px 0;
}

.corretor-grid {
  display: grid;
  grid-template-columns: 320px 1fr; /* foto controlada */
  gap: 60px;
  align-items: center;
}

/* FOTO */
.corretor-foto img {
  width: 100%;
  max-width: 280px;     /* limita o tamanho */
  height: auto;
  border-radius: 18px;
  box-shadow: 0 20px 40px rgba(0,0,0,.45);
}

/* TEXTO */
.corretor-info h2 {
  font-size: 2.4rem;
  margin-bottom: 6px;
}

.corretor-info .creci {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--gold);
  letter-spacing: 1px;
  font-weight: 500;
}

.corretor-info h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.corretor-info p {
  max-width: 560px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 30px;
}

/* ===============================
   RESPONSIVO
================================ */

@media (max-width: 768px) {
  .corretor-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .corretor-foto img {
    margin: 0 auto;
    max-width: 220px;
  }

  .corretor-info p {
    margin-left: auto;
    margin-right: auto;
  }
}
/* ===============================
   BOTÃO PRINCIPAL – BASE
================================ */

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 14px 34px;
  border-radius: 40px;
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: 
    background-color .3s ease,
    color .3s ease,
    transform .3s ease,
    box-shadow .3s ease;
}

/* ===============================
   HOVER GLOBAL – FUNCIONAL
================================ */

.btn-primary:hover,
.btn-primary:focus-visible {
  background-color: var(--gold);
  color: #111;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0,0,0,.35);
}

.grid-imoveis {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
  gap:40px;
}

/* ===============================
   CARD CONTENT – AJUSTE DE ESPAÇOS
================================ */
/* ===============================
   SOMBRA PREMIUM NOS CARDS
================================ */

.card {
  background: var(--bg-card);
  border-radius: 16px;
  overflow: hidden;
  transition: 
    transform .4s ease,
    box-shadow .4s ease;
  box-shadow:
    0 18px 40px rgba(0, 0, 0, .35),
    0 1px 0 rgba(255,255,255,.04);
}

/* Hover refinado */
.card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 30px 70px rgba(0, 0, 0, .55),
    0 1px 0 rgba(255,255,255,.06);
}

.card-content {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 26px 24px 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* TÍTULO */
.card-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  line-height: 1.3;
  margin: 0;
}

/* DESCRIÇÃO */
.card-content p {
  color: var(--text-muted);
  font-size: .95rem;
  line-height: 1.6;
  margin: 0;
}

/* ===============================
   BOTÃO "SAIBA MAIS" – LUXO
================================ */

.card-content .btn-primary {
  align-self: flex-start;
  margin-top: 18px;
  padding: 12px 32px;
  border-radius: 30px;
  font-size: .85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all .3s ease;
}

/* Hover refinado */
.card:hover .btn-primary {
  background: var(--gold);
  color: #111;
}

/* ===============================
   CARROSSEL – 1 IMAGEM POR VEZ
================================ */

.carousel {
  position: relative;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform .5s ease;
  will-change: transform;
}

.carousel-track img {
  min-width: 100%;
  height: 220px;
  object-fit: cover;
  cursor: pointer;
}

/* SETAS */
.carousel button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(70, 44, 44, 0.6);
  color: #fff;
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  z-index: 2;
}

.carousel .prev { left: 10px; }
.carousel .next { right: 10px; }

/* ===============================
BOLINHAS
================================ */

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 12px 0;
}

.carousel-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.3);
  cursor: pointer;
}

.carousel-dots span.active {
  background: var(--gold);
}

/* ===============================
   MODAL FULLSCREEN
================================ */

.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.9);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.modal.active {
  display: flex;
}

.modal img {
  max-width: 92vw;
  max-height: 92vh;
  border-radius: 12px;
}

/* BOTÕES MODAL */
.modal-prev,
.modal-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 48px;
  background: none;
  color: #fff;
  border: none;
  cursor: pointer;
}

.modal-prev { left: 40px; }
.modal-next { right: 40px; }

.modal-close {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
}
.modal {
  display:none;
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.9);
  justify-content:center;
  align-items:center;
  z-index:999;
}

.modal img {
  max-width:90%;
  max-height:90%;
}

.modal-prev,.modal-next,.modal-close {
  position:absolute;
  color:#fff;
  font-size:40px;
  background:none;
  border:none;
  cursor:pointer;
}

.modal-prev { left:30px; }
.modal-next { right:30px; }
.modal-close { top:20px; right:30px; }

/* ===============================
   REDES SOCIAIS – FOOTER
================================ */


.footer-social {
  display: flex;
  gap: 18px;
  margin-top: 20px;
}


.footer-social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .3s ease;
}


.footer-social svg {
  width: 20px;
  height: 20px;
  fill: var(--gold);
}


/* Hover elegante */
.footer-social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  transform: translateY(-3px);
}


.footer-social a:hover svg {
  fill: #111;
}
/* ===============================
   FOOTER – LUXO / CONFIANÇA
================================ */

.footer {
  background: #0d151d;
  border-top: 1px solid rgba(255,255,255,.06);
  margin-top: 120px;
}
.footer-map {
  justify-self: end;      /* encosta na lateral direita */
  text-align: left;      /* título alinhado ao mapa */
}
.footer-map h3 {
  margin-bottom: 16px;
  text-align: left;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 420px; /* texto | mapa */
  gap: 60px;
  align-items: center;
}

/* COLUNAS */
.footer-col h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  margin-bottom: 18px;
  color: var(--gold);
  letter-spacing: .5px;
}

.footer-col p {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: .95rem;
}

/* MAPA */
.map-embed {
  max-width: 380px;
  aspect-ratio: 16 / 9;
  
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,.4);
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ASSINATURA */
.footer-bottom {
  text-align: center;
  padding: 20px 0;
  background: #0a1016;
  color: #7f8b93;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
/* ===============================
   WHATSAPP FLUTUANTE – PREMIUM
================================ */

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 58px;
  height: 58px;
  background: #1f2f3d;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  transition: all .3s ease;
  box-shadow: 0 12px 30px rgba(0,0,0,.45);
}

/* ÍCONE */
.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: var(--gold);
}

/* HOVER */
.whatsapp-float:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(0,0,0,.6);
  background: #263a4a;
}
@media (max-width: 768px) {
  .footer-grid {
    gap: 40px;
    padding: 60px 0;
  }

  .whatsapp-float {
    width: 52px;
    height: 52px;
    right: 16px;
    bottom: 16px;
  }

  .whatsapp-float svg {
    width: 24px;
    height: 24px;
  }
}
/* ===============================
   REDES SOCIAIS – FOOTER
================================ */

.footer-social {
  display: flex;
  gap: 18px;
  margin-top: 20px;
}

.footer-social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .3s ease;
}

.footer-social svg {
  width: 20px;
  height: 20px;
  fill: var(--gold);
}

/* Hover elegante */
.footer-social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  transform: translateY(-3px);
}

.footer-social a:hover svg {
  fill: #111;
}
/* ===============================
   FOOTER – BACKGROUND COM IMAGEM
================================ */

/* ===============================
   FOOTER – BACKGROUND COM IMAGEM
================================ */

.footer {
  position: relative;
  overflow: hidden;
  padding: 60px 0 30px;
  max-height: 520px; /* controla o limite */
}

.map-embed iframe {
  height: 180px; /* antes estava alto demais */
}

/* IMAGEM DEFINE O TAMANHO VISUAL */
.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: 
    url("../img/footer.jfif") center center / contain no-repeat;
 
  z-index: 1;
}

/* OVERLAY PARA LEITURA */
.footer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15,20,30,.85);
  z-index: 2;
}

/* CONTEÚDO DO FOOTER */
.footer > * {
  position: relative;
  z-index: 3;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: 40px;
}
.footer-bottom {
  margin-top: 50px;
  padding-top: 25px;
  border-top: 1px solid rgba(255,255,255,.15);
  text-align: center;
  font-size: .85rem;
  opacity: .7;
}




/* ==FORMULÁRIO / QUIZ== */
.quiz-section {
    padding: 80px 0;
    background: var(--primary-color);
    color: var(--white);
}

.form-box {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255,255,255,0.08);
    padding: 40px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 14px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    background: #ffffff;
    color: #333;
    font-size: 1rem;
}

.btn-submit {
    width: 100%;
    background: var(--accent-color);
    color: #ffffff;
    padding: 16px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    font-size: 1.1rem;
}

.btn-submit:hover {
    background: #ffffff;
    color: var(--primary-color);
}
.section-title {
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary-color);
}
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-map {
    justify-self: center;
  }

  .footer-map h3 {
    text-align: center;
  }
}
