/* =========================
   Paleta base – Moving2Home
   ========================= */
:root {
  /* Cores principais */
  --color-bg: #00152f; /* Fundo base */
  --color-bg-alt: #001b3b; /* Seções alternadas */
  --color-primary: #c6a24b; /* Dourado – Luxo/CTA */
  --color-primary-soft: rgba(198, 162, 75, 0.16);
  --color-secondary: #01ff02; /* Verde WhatsApp – Ação */
  --color-text: #dcdbd8; /* Texto principal */
  --color-text-muted: #9ca3af; /* Texto secundário */
  --color-border-soft: rgba(220, 219, 216, 0.16);

  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.85);
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 999px;
  --transition-fast: 0.18s ease-out;
  --container-width: 1120px;
}

/* Reset básico */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  font-family:
    system-ui,
    -apple-system,
    sans-serif;
  background: radial-gradient(circle at top, #002147 0, #00152f 45%, #000 100%);
  color: var(--color-text);
  line-height: 1.6;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* =========================
   HEADER NOVO (Com Branding)
   ========================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  backdrop-filter: blur(12px);
  background: linear-gradient(
    to bottom,
    rgba(0, 10, 30, 0.95),
    rgba(0, 10, 30, 0.6),
    transparent
  );
  border-bottom: 1px solid rgba(220, 219, 216, 0.08);
  transition: all 0.3s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1.5rem;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-img {
  height: 44px;
  width: auto;
  filter: drop-shadow(0 0 5px rgba(198, 162, 75, 0.2));
}

.corretor-branding {
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  padding-left: 1rem;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.corretor-name {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.corretor-role {
  margin: 0;
  font-size: 0.75rem;
  color: var(--color-text);
}

.corretor-creci {
  font-size: 0.65rem;
  color: var(--color-text-muted);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.main-nav a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.main-nav a:hover {
  color: #fff;
}

.nav-cta {
  background: var(--color-primary);
  color: #000 !important;
  padding: 6px 16px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem !important;
}

.nav-cta:hover {
  background: #fff;
  transform: translateY(-2px);
}

/* =========================
   HERO ANIMADO (Ken Burns)
   ========================= */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 0 4rem;
  overflow: hidden;
}

.hero-bg-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: slideShow 15s infinite;
}

.slide:nth-child(1) {
  animation-delay: 0s;
}
.slide:nth-child(2) {
  animation-delay: 5s;
}
.slide:nth-child(3) {
  animation-delay: 10s;
}

@keyframes slideShow {
  0% {
    opacity: 0;
    transform: scale(1);
  }
  10% {
    opacity: 1;
  }
  33% {
    opacity: 1;
    transform: scale(1.1);
  }
  43% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(0, 15, 35, 0.9),
    rgba(0, 15, 35, 0.5)
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
  width: 100%;
}

.badge-gold {
  background: var(--color-primary);
  color: #000;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: inline-block;
}

.hero-text-block h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  line-height: 1.1;
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.text-highlight {
  color: transparent;
  -webkit-text-stroke: 1px var(--color-primary);
}

.hero-sub {
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  color: #e0e0e0;
}

.hero-benefits {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.hero-benefits li {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  color: #ccc;
}

/* Glass Form */
.hero-form-glass {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
  transform: translateY(0);
  transition: transform 0.3s ease;
}

.hero-form-glass:hover {
  transform: translateY(-4px);
}

.glass-header h3 {
  color: #fff;
  margin: 0 0 0.2rem 0;
  font-size: 1.3rem;
}
.glass-header p {
  color: #aaa;
  font-size: 0.85rem;
  margin-bottom: 1.2rem;
}

.lead-form input {
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 12px 15px;
  border-radius: 8px;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.lead-form input:focus {
  border-color: var(--color-primary);
  background: rgba(0, 0, 0, 0.7);
  outline: none;
}

.btn-full {
  width: 100%;
}

.btn-glow {
  background: linear-gradient(135deg, var(--color-secondary), #00cc00);
  color: #000;
  border: none;
  padding: 1rem;
  font-weight: 700;
  border-radius: 50px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% {
    box-shadow: 0 0 0 0 rgba(1, 255, 2, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(1, 255, 2, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(1, 255, 2, 0);
  }
}

.privacy-text {
  display: block;
  text-align: center;
  color: #666;
  font-size: 0.7rem;
  margin-top: 0.8rem;
}

/* =========================
   SEÇÕES GERAIS
   ========================= */
.section {
  padding: 4rem 0;
}
.section-alt {
  background: var(--color-bg-alt);
}
.section-highlight {
  background: radial-gradient(circle at top, #01152c, #000);
}

h2 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: #fff;
}
.section-subtitle {
  color: var(--color-text-muted);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

/* Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.step {
  background: rgba(255, 255, 255, 0.03);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-soft);
}
.step-number {
  display: inline-block;
  background: var(--color-primary);
  color: #000;
  width: 30px;
  height: 30px;
  text-align: center;
  line-height: 30px;
  border-radius: 50%;
  font-weight: bold;
  margin-bottom: 1rem;
}

/* =========================
   NOVOS CARDS COM FOTO
   ========================= */
.card {
  padding: 0;
  background: rgba(0, 10, 30, 0.6);
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-8px);
  border-color: var(--color-primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.card-image-box {
  width: 100%;
  height: 200px;
  position: relative;
  overflow: hidden;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card:hover .card-img {
  transform: scale(1.1);
}

.card-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  border: 1px solid var(--color-primary);
  backdrop-filter: blur(4px);
}

.card-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-location {
  color: #aaa;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  display: block;
}

.card h3 {
  color: var(--color-primary);
  margin: 0 0 0.5rem;
}

.card-list {
  padding-left: 0;
  list-style: none;
  margin-bottom: auto;
}

.card-list li {
  margin-bottom: 0.6rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  display: flex;
  gap: 8px;
}

.card-foot {
  font-size: 0.8rem;
  color: #666;
  margin-top: 1rem;
}

/* =========================
   CONTATO ESTILO CARTÃO
   ========================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.contact-text {
  padding-right: 1rem;
}
.contact-text h2 {
  font-size: 2.2rem;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 1rem;
}

.contact-bullets {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}
.contact-bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: var(--color-text);
  margin-bottom: 0.8rem;
}
.contact-bullets li::before {
  content: "✓";
  color: #25d366;
  font-weight: bold;
}

.contact-form-wrapper {
  background: #020f1f;
  border: 1px solid rgba(198, 162, 75, 0.3);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
  position: relative;
}

.lead-form .form-group {
  margin-bottom: 1rem;
}
.lead-form .form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.85rem;
  color: var(--color-primary);
  font-weight: 600;
}
.lead-form input,
.lead-form select {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 12px 15px;
  color: #fff;
  font-size: 1rem;
  transition: border-color 0.2s;
}
.lead-form input:focus,
.lead-form select:focus {
  background: rgba(0, 0, 0, 0.3);
  border-color: #25d366;
  outline: none;
}
/* =========================
   CONTATO ESTILO CARTÃO (Seu código original)
   ========================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.contact-text {
  padding-right: 1rem;
}
.contact-text h2 {
  font-size: 2.2rem;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 1rem;
}

.contact-bullets {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}
.contact-bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: var(--color-text);
  margin-bottom: 0.8rem;
}
.contact-bullets li::before {
  content: "✓";
  color: #25d366;
  font-weight: bold;
}

.contact-form-wrapper {
  background: #020f1f;
  border: 1px solid rgba(198, 162, 75, 0.3);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
  position: relative;
}

.lead-form .form-group {
  margin-bottom: 1rem;
}
.lead-form .form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.85rem;
  color: var(--color-primary);
  font-weight: 600;
}
.lead-form input,
.lead-form select {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 12px 15px;
  color: #fff;
  font-size: 1rem;
  transition: border-color 0.2s;
}
.lead-form input:focus,
.lead-form select:focus {
  background: rgba(0, 0, 0, 0.3);
  border-color: #01ff02; /* Mudei para combinar com o botão! */
  outline: none;
}

/* =========================
   NOVO: BOTÃO CTA NEON (Cole aqui)
   ========================= */
#btn-submit {
  margin-top: 15px; /* Um respiro acima do botão */
  background-color: #01ff02 !important; /* Seu Verde Neon */
  color: #000000 !important; /* Preto para contraste */
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  border-radius: 8px;
  padding: 18px 25px;
  font-size: 1rem;
  cursor: pointer;
  width: 100%;

  /* Efeito de Sombra/Brilho */
  box-shadow: 0 4px 15px rgba(1, 255, 2, 0.3);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Efeito elástico */
}

/* Efeito Hover (Passar o mouse) */
#btn-submit:hover {
  background-color: #00e600 !important;
  box-shadow: 0 8px 25px rgba(1, 255, 2, 0.6); /* Brilha mais forte */
  transform: translateY(-4px) scale(1.02); /* Sobe e cresce */
}

/* Efeito Active (Clicar) */
#btn-submit:active {
  transform: translateY(2px); /* Afunda */
  box-shadow: 0 2px 5px rgba(1, 255, 2, 0.3);
}

/* =======================================================
   NOVO RODAPÉ (MERGED)
   ======================================================= */
.site-footer {
  background-color: #1a1a1a;
  color: #b0b0b0;
  padding: 50px 0 30px 0;
  font-family: sans-serif;
  font-size: 0.9rem;
  border-top: 4px solid #005f73;
  margin-top: 50px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 40px;
  align-items: start;
}

/* Coluna 1: Social */
.footer-col-social h4,
.footer-col-security h4 {
  color: #fff;
  margin-bottom: 20px;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.social-icons {
  display: flex;
  gap: 15px;
}
.social-btn-footer {
  width: 40px;
  height: 40px;
  border: 1px solid #444;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s;
}
.social-btn-footer:hover {
  background: #005f73;
  border-color: #005f73;
  transform: translateY(-3px);
}

/* Coluna 2: Centro */
.footer-col-center {
  text-align: center;
}
.footer-nav {
  margin-bottom: 20px;
}
.footer-nav a {
  color: #fff;
  text-decoration: none;
  margin: 0 10px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
}
.footer-nav a:hover {
  color: #4cc9f0;
  text-decoration: underline;
}

.footer-info-text {
  margin-bottom: 10px;
  line-height: 1.6;
}
.footer-disclaimer {
  font-size: 0.75rem;
  color: #666;
  margin-top: 15px;
}

/* Coluna 3: Segurança */
.badges-wrapper {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.badge-placeholder {
  background: #fff;
  border-radius: 4px;
  padding: 5px;
  height: 40px;
  width: auto;
  display: flex;
  align-items: center;
}

/* Copyright Final */
.footer-bottom {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #333;
  font-size: 0.8rem;
  color: #666;
}

/* =======================================================
   JANELAS MODAIS (ESTILO PAPEL TIMBRADO)
   ======================================================= */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  z-index: 9999;
  justify-content: center;
  align-items: start;
  overflow-y: auto;
  padding: 20px 0;
}
.modal-overlay.open {
  display: flex;
}

.modal-paper {
  background: #fff;
  width: 100%;
  max-width: 210mm;
  min-height: auto;
  padding: 20mm;
  position: relative;
  margin: auto;
  font-family: "Times New Roman", Times, serif;
  color: #000;
  text-align: left;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.modal-close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #c00;
  color: #fff;
  border: none;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  font-weight: bold;
  cursor: pointer;
  font-size: 18px;
  z-index: 10;
}

/* Estilos internos do Documento */
.doc-header {
  border-bottom: 2px solid #005f73;
  padding-bottom: 20px;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.doc-logo {
  height: 50px;
}
.doc-creci-info {
  text-align: right;
  font-family: Arial, sans-serif;
  font-size: 0.9rem;
  color: #555;
}

.doc-title {
  text-align: center;
  font-size: 18pt;
  margin-bottom: 20px;
  text-transform: uppercase;
  font-family: Arial, sans-serif;
  color: #333;
}
.doc-section-title {
  color: #005f73;
  font-weight: bold;
  font-family: Arial, sans-serif;
  margin-top: 25px;
  border-bottom: 1px solid #eee;
  padding-bottom: 5px;
  font-size: 1.1rem;
}
.doc-p {
  margin-bottom: 10px;
  line-height: 1.5;
  font-size: 11pt;
  text-align: justify;
}
.doc-ul {
  padding-left: 20px;
  margin-bottom: 10px;
}
.doc-ul li {
  margin-bottom: 5px;
  font-size: 11pt;
}

/* =======================================================
   WHATSAPP FLUTUANTE ANIMADO
   ======================================================= */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
}
.whatsapp-icon-img {
  width: 55px;
  height: 55px;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5));
  transition: transform 0.2s;
}

@keyframes whatsapp-vibrate {
  0% {
    transform: scale(1) rotate(0deg);
  }
  20% {
    transform: scale(1.1) rotate(-3deg);
  }
  40% {
    transform: scale(1.1) rotate(3deg);
  }
  60% {
    transform: scale(1.1) rotate(-3deg);
  }
  80% {
    transform: scale(1.1) rotate(3deg);
  }
  100% {
    transform: scale(1) rotate(0deg);
  }
}

.whatsapp-float:hover .whatsapp-icon-img {
  animation: whatsapp-vibrate 0.5s ease-in-out both;
  filter: drop-shadow(0 0 10px rgba(37, 211, 102, 0.8));
}

/* Responsivo Geral */
@media (max-width: 900px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }
  .social-icons {
    justify-content: center;
  }
  .badges-wrapper {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }
  .corretor-branding {
    display: none;
  }
  .main-nav {
    display: none;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .cards-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .contact-form-wrapper {
    padding: 1.5rem;
  }

  /* Modal Responsivo */
  .modal-paper {
    padding: 20px;
    max-width: 95%;
  }
  .doc-header {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
  .doc-creci-info {
    text-align: center;
  }
}
