/* ============================================
   Geovani Oliveira | Corretor de Imóveis
   Paleta inspirada na identidade visual do
   Instagram: azul-marinho profundo + dourado.
   ============================================ */

:root {
  --navy: #0b1f3a;
  --navy-light: #14284a;
  --gold: #c9a24a;
  --gold-light: #e2c179;
  --whatsapp: #25d366;
  --whatsapp-dark: #1ebe5b;
  --text-muted: #6b7280;
  --bg-alt: #f6f5f2;
}

body {
  font-family: 'Poppins', sans-serif;
  color: #1c1c1c;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
}

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: .15em;
  font-size: .8rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: .5rem;
}

.eyebrow-light {
  color: var(--gold-light);
}

.section {
  padding: 5.5rem 0;
}

.section-alt {
  background-color: var(--bg-alt);
}

.section-heading {
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section-heading h2 {
  font-weight: 700;
  margin-bottom: .75rem;
}

/* ===== NAVBAR ===== */
#mainNav {
  background-color: rgba(11, 31, 58, 0);
  transition: background-color .3s ease, box-shadow .3s ease;
  padding-top: .9rem;
  padding-bottom: .9rem;
}

#mainNav.scrolled {
  background-color: var(--navy);
  box-shadow: 0 2px 16px rgba(0,0,0,.15);
  padding-top: .5rem;
  padding-bottom: .5rem;
}

.brand-logo {
  height: 32px;
  width: auto;
  margin-right: .5rem;
}

.brand-mark {
  color: var(--gold-light);
  font-weight: 700;
  letter-spacing: .03em;
  font-size: 1.15rem;
}

.brand-mark-light {
  color: #fff;
  font-weight: 600;
  font-size: 1.15rem;
  font-family: 'Playfair Display', serif;
  margin-left: .3em;
}

.navbar-nav .nav-link {
  color: #f2f2f2;
  font-weight: 500;
  font-size: .95rem;
}

.navbar-nav .nav-link:hover {
  color: var(--gold-light);
}

/* ===== BUTTONS ===== */
.btn-whatsapp {
  background-color: var(--whatsapp);
  border-color: var(--whatsapp);
  color: #fff;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
}

.btn-whatsapp:hover {
  background-color: var(--whatsapp-dark);
  border-color: var(--whatsapp-dark);
  color: #fff;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  background: url('../images/hero-fachada.jpg') center center / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,31,58,.75) 0%, rgba(11,31,58,.55) 45%, rgba(11,31,58,.85) 100%);
}

.badge-creci {
  display: inline-block;
  border: 1px solid rgba(255,255,255,.4);
  padding: .4rem 1rem;
  border-radius: 50px;
  font-size: .8rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.hero-title {
  font-weight: 700;
  font-size: clamp(2.2rem, 5vw, 3.75rem);
  margin: 1rem 0;
}

.hero-subtitle {
  font-size: 1.1rem;
  max-width: 620px;
  color: rgba(255,255,255,.85);
}

.scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 1.5rem;
  opacity: .8;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

.contact-arrow {
  display: block;
  text-align: center;
  font-size: 1.75rem;
  color: var(--gold);
  animation: bounceY 2s infinite;
}

@keyframes bounceY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ===== PROPERTY CARDS ===== */
.property-card {
  border: none;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(11,31,58,.08);
  transition: transform .25s ease, box-shadow .25s ease;
}

.property-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(11,31,58,.15);
}

.property-img {
  aspect-ratio: 4 / 5;
  background-size: cover;
  background-position: center;
  position: relative;
}

.property-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tag-status {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--gold);
  color: #fff;
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: .3rem .7rem;
  border-radius: 50px;
}

.property-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: .75rem;
}

.property-location {
  color: var(--text-muted);
  font-size: .9rem;
  margin-bottom: .5rem;
}

.property-specs {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem .75rem;
  font-size: .8rem;
  color: var(--text-muted);
  margin-bottom: .6rem;
}

.property-specs span {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
}

.property-specs i {
  color: var(--gold);
}

/* Mantém os botões alinhados mesmo quando as specs ocupam nº de linhas diferente */
.property-card .card-body {
  display: flex;
  flex-direction: column;
}

.property-card .card-body .btn {
  margin-top: auto;
}

/* ===== SOBRE ===== */
.about-avatar {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--navy), var(--navy-light));
  border: 4px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--gold-light);
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
}

.about-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.insta-link {
  color: var(--navy);
  font-weight: 600;
}

.insta-link:hover {
  color: var(--gold);
}

.finance-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--navy);
  font-size: .95rem;
  font-weight: 600;
  background-color: rgba(201,162,74,.12);
  border: 1px solid rgba(201,162,74,.4);
  padding: .65rem 1.4rem;
  border-radius: 50px;
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.finance-link i {
  color: var(--gold);
  font-size: 1.1rem;
}

.finance-link:hover {
  color: var(--navy);
  background-color: rgba(201,162,74,.22);
  border-color: var(--gold);
  transform: translateY(-1px);
}

.feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature-item i {
  font-size: 1.4rem;
  color: var(--gold);
  margin-top: .2rem;
}

.feature-item h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: .2rem;
}

/* ===== ÁREAS DE ATUAÇÃO ===== */
.area-card {
  position: relative;
  height: 220px;
  border-radius: 14px;
  overflow: hidden;
  background-color: var(--navy);
}

.area-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.area-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  background: linear-gradient(180deg, rgba(11,31,58,0) 40%, rgba(11,31,58,.85) 100%);
}

.area-card-overlay h3 {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
}

/* ===== DEPOIMENTOS ===== */
.testimonial-card {
  background: #fff;
  border-radius: 14px;
  padding: 2rem;
  box-shadow: 0 6px 24px rgba(11,31,58,.06);
}

.testimonial-card i.bi-quote {
  font-size: 1.8rem;
  color: var(--gold);
}

.testimonial-card p {
  margin: 1rem 0 1.5rem;
  color: #333;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.avatar-initial {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold-light);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

/* ===== SIMULADOR / WIZARD ===== */
.wizard-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(11,31,58,.12);
  padding: 3.5rem;
  max-width: 920px;
}

.wizard-steps {
  display: flex;
  justify-content: space-between;
  gap: .35rem;
  margin-bottom: .75rem;
}

.wizard-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .35rem;
  flex: 1;
  text-align: center;
}

.step-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-muted);
  background: #fff;
  transition: all .25s ease;
}

.step-label {
  font-size: .72rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.wizard-step.active .step-circle,
.wizard-step.completed .step-circle {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--gold-light);
}

.wizard-step.active .step-label,
.wizard-step.completed .step-label {
  color: var(--navy);
}

.wizard-progress-bar {
  height: 6px;
  border-radius: 50px;
  background-color: #eee;
}

.wizard-progress-bar .progress-bar {
  background-color: var(--gold);
  transition: width .35s ease;
}

.wizard-question {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.wizard-pane {
  display: none;
}

.wizard-pane.active {
  display: block;
  animation: wizardFadeIn .3s ease;
}

@keyframes wizardFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1.1rem;
}

.option-grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.option-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  padding: 1.75rem 1.25rem;
  border: 2px solid #e6e6e6;
  border-radius: 14px;
  cursor: pointer;
  text-align: center;
  transition: border-color .2s ease, background-color .2s ease;
}

.option-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.option-icon {
  font-size: 1.85rem;
  color: var(--gold);
}

.option-text {
  font-weight: 600;
  font-size: 1rem;
}

.option-card:hover {
  border-color: var(--gold-light);
}

.option-card.selected {
  border-color: var(--gold);
  background-color: rgba(201,162,74,.08);
}

.wizard-nav {
  gap: 1rem;
}

.wizard-summary {
  background-color: var(--bg-alt);
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
}

.wizard-summary-title {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--gold);
  margin-bottom: .75rem;
}

.wizard-summary ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.wizard-summary li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .9rem;
  color: #333;
}

.wizard-summary li i {
  color: var(--whatsapp);
  margin-top: .15rem;
}

/* ===== CONTATO ===== */
.contact-section {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-light) 100%);
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .6rem 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
  color: #fff;
}

.contact-list li i {
  color: var(--gold);
  font-size: 1.1rem;
  width: 22px;
}

.contact-list li a {
  color: #fff;
}

.contact-list li a:hover {
  color: var(--gold-light);
}

.contact-form-card {
  background: #fff;
  border-radius: 14px;
  padding: 2.5rem;
  box-shadow: 0 20px 50px rgba(0,0,0,.25);
}

.contact-form-card h3 {
  font-weight: 700;
}

.form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 .2rem rgba(201,162,74,.2);
}

/* ===== FOOTER ===== */
.footer {
  background: #06152b;
  padding: 2.5rem 0;
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 58px;
  height: 58px;
  background: var(--whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.6rem;
  box-shadow: 0 8px 20px rgba(0,0,0,.25);
  z-index: 1050;
  transition: transform .2s ease;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  color: #fff;
}

@media (max-width: 991.98px) {
  #mainNav {
    background-color: var(--navy);
  }
  .navbar-collapse {
    margin-top: 1rem;
  }
}

@media (max-width: 575.98px) {
  .wizard-card {
    padding: 1.75rem 1.25rem;
  }

  .step-label {
    font-size: .62rem;
    letter-spacing: .01em;
  }

  .step-circle {
    width: 34px;
    height: 34px;
    font-size: .85rem;
  }
}
