@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Podkova:wght@400..800&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Red+Hat+Display:ital,wght@0,300..900;1,300..900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  list-style: none;
  font-family: "Red Hat Display", sans-serif;
}

body {
  background: #f8f5f0;
  /* padding-top: 90px; */
}

html {
  scroll-behavior: smooth;
}

button[disabled] {
  opacity: 0.5;
  cursor: initial;
}

header.always-visible {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 12px rgba(93, 37, 28, 0.07);
  padding: 1rem 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lading-image {
  width: 100px;
  height: auto;
}
nav ul {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}
nav a {
  font-size: 20px;
  font-weight: 700;
  color: #43281c;
  letter-spacing: 0.5px;
}
nav a i {
  margin-right: 8px;
  color: #c7a16b;
}

/* HERO BANNER FULL WIDTH/HEIGHT */
.hero-banner-wrapper {
  position: relative;
  width: 100vw;
  min-height: 520px;
  margin-bottom: 0;
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
}
.banner-container {
  width: 100vw;
  height: 520px;
  min-height: 320px;
  position: relative;
  overflow: hidden;
}
.banner-container .banner-image {
  width: 100vw;
  height: 100%;
  object-fit: cover;
  display: block;
}
.banner-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}
.banner-logo {
  margin-bottom: 4em 0;
  height: 200px;
}
.titulo {
  font-family: 'Playfair Display', serif;
  font-size: clamp(40px, 5vw, 56px);
  color: #fff;
  font-weight: 700;
  margin-bottom: 48px;
  letter-spacing: -1px;
  text-align: center;
}
.titulo .highlight {
  color: #c7a16b;
  font-style: italic;
}

.hero-form-float {
  position: absolute;
  right: 6vw;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  box-shadow: 0 8px 32px rgba(67, 40, 28, 0.18);
  max-width: 400px;
  min-width: 320px;
  width: 100%;
  transition: top 0.2s, box-shadow 0.2s;
}
@media (min-width: 900px) {
  .hero-form-float.sticky-form-hero {
    position: sticky;
    top: 110px;
    right: 6vw;
    transform: none;
  }
}
@media (max-width: 900px) {
  .hero-banner-wrapper {
    flex-direction: column;
    min-height: unset;
    align-items: stretch;
  }
  .banner-container {
    height: 320px;
    min-height: 180px;
  }
  .hero-form-float {
    position: static;
    right: unset;
    top: unset;
    transform: none;
    margin: -40px auto 24px auto;
    max-width: 96vw;
    width: 100%;
    z-index: 10;
  }
}

/* GRID DE CONTEÚDO PRINCIPAL */
.main-grid {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: center;
  max-width: 1400px;
  margin: 0 auto 0 auto;
  gap: 32px;
  min-height: 100vh;
}
.main-content {
  flex: 0 1 75%;
  min-width: 0;
  max-width: 1000px;
  position: relative;
}
.sidebar-form {
  flex: 0 1 25%;
  min-width: 320px;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  position: sticky;
  top: 20em;
  right: 0;
  transform: translateY(-10em);
}
.sidebar-form #close-form-btn,
.sidebar-form #show-form-btn {
  display: none;
}

.sticky-form-sidebar {
  position: sticky;
  top: 110px;
  z-index: 10;
}

/* FORMULÁRIO */
.form-direito {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 2px 12px rgba(67, 40, 28, 0.07);
  padding: 22px 32px;
  max-width: 480px;
  margin: 0 auto;
}
.form-direito h2 {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  color: #43281c;
  background: none;
  padding: 0;
  border-radius: 0;
  margin-bottom: 20px;
  text-align: center;
}
.form-container-multistep {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.form-step {
  animation: fadeIn 0.3s;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}
.next-btn, .submit-btn {
  margin-top: 18px;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  background: #a32e2e;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s;
}
.next-btn:hover, .submit-btn:hover {
  background: #7a2323;
}

.prev-btn {
  margin-top: 18px;
  margin-right: 8px;
  padding: 12px 20px;
  background: #FFF;
  color: #a32e2e;
  border: 1px solid #a32e2e;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s;
}
.prev-btn:hover {
  background: #a32e2e;
  color: #FFF;
}


.form-step label {
  margin-top: 12px;
  font-weight: 500;
  color: #a32e2e;
}
.form-step input {
  width: 100%;
  padding: 10px;
  margin-top: 4px;
  margin-bottom: 8px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 1rem;
}
.form-step .row {
  display: flex;
  gap: 12px;
}
.form-step .row > div {
  flex: 1;
}
.info {
  font-size: 0.8rem;
  color: #555;
  margin-top: 12px;
  margin-bottom: 8px;
}
.radio-group {
  display: flex;
  gap: 18px;
  margin: 8px 0 0 0;
}
.radio-group label {
  font-weight: 400;
  color: #43281c;
  font-size: 1rem;
  margin-right: 10px;
  display: flex;
}
.radio-group input[type="radio"] {
  margin-right: 4px;
  width: initial;
}
.cep-result {
  /* margin: 8px 0 0 0; */
  font-size: 1rem;
  color: #2d1812;
  /* background: #f8f5f0; */
  /* border-radius: 6px; */
  /* padding: 6px 10px; */
  /* min-height: 24px; */
}

/* COMO FUNCIONA, LISTA, FOOTER, ETC. (mantendo o que é usado) */
.como-funciona {
  /* background: #fff; */
  padding: 40px 0 40px 0;
  display: flex;
  justify-content: center;
}
.como-funciona-assets {
  width: 100%;
  max-width: 90vw;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 2px 12px rgba(67, 40, 28, 0.07);
  padding: 48px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}
.como-funciona-titulo {
  color: #43281c;
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 24px;
  margin-top: 24px;
}
.como-funciona-assets-2 {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
}
.card-como {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(67, 40, 28, 0.07);
  padding: 32px 24px;
  width: 220px;
  min-height: 160px;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card-como i {
  font-size: 36px;
  color: #c7a16b;
  margin-bottom: 16px;
}
.card-como span {
  font-size: 18px;
  color: #43281c;
}
.card-como:hover {
  box-shadow: 0 8px 32px rgba(67, 40, 28, 0.13);
  transform: translateY(-2px) scale(1.01);
}
.page-2-esquerdo{
  max-width: 850px;
  margin: 0px auto;
  margin-bottom: 80px;
}
.page-2-esquerdo-container{
  background: #FFF;
  /* padding: 40px; */
  border-radius: 24px;
  display: flex;
  justify-content: center;
  gap: 0px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.2);
}
.page-2-esquerdo-container .map-container{
  flex: 0.8;
  height: 400px;
  border-radius: 20px 0 0 20px;
  margin: 0 auto;
  border: none;
}
.page-2-esquerdo-container #map {
  height: 400px;
  border-radius: 20px 0 0 20px;
  /* margin: 0 auto; */
  /* border: none; */
}

.page-2-esquerdo img {
  max-width: 500px;
  width: 100%;
  height: auto;
}
.lista h1 {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  color: #43281c;
  margin-bottom: 24px;
}
.Lista-elementos {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}
.lista{
  flex: 0.2;
  margin-top: 1em;
  padding-left: 2em;
}
.lista li {
  color: #43281c;
  font-size: 14px;
  margin-bottom: 0.25em;
}
footer.last {
  background: #2d1812;
  color: #fff;
  padding: 48px 0 24px 0;
  font-size: 16px;
  border-top: 2px solid #c7a16b;
  text-align: center;
}

/* VANTAGENS (cards com ícones) */
.vantagens-container {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 0 auto 32px auto;
}
.vantagens {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  max-width: 700px;
  margin-top: 24px;
}
.card-vantagem {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(67, 40, 28, 0.07);
  padding: 24px 28px;
  font-size: 20px;
  color: #43281c;
  font-weight: 500;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card-vantagem i {
  font-size: 28px;
  color: #c7a16b;
}
.card-vantagem:hover {
  box-shadow: 0 8px 32px rgba(67, 40, 28, 0.13);
  transform: translateY(-2px) scale(1.01);
}

/* HEADER só aparece após scroll (já está no JS, mas garantir opacidade 0 por padrão) */
header.landin-page.sticky-header.always-visible {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-100%) !important;
  transition: 0.5s all ease-in-out;
}
header.landin-page.sticky-header.always-visible.show-header {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) !important;
}


/* RESPONSIVIDADE */
@media (max-width: 1200px) {
  .main-grid {
    gap: 16px;
  }
  .main-content {
    max-width: 100vw;
  }
}
@media (max-width: 900px) {
  .hero-banner-wrapper {
    flex-direction: column;
    min-height: unset;
    align-items: stretch;
  }
  .banner-container {
    height: 320px;
    min-height: 180px;
  }
  .banner-content{
    width: 100%;
  }
  .banner-logo{
    height: 120px;
  }
  .hero-form-float {
    position: static;
    right: unset;
    top: unset;
    transform: none;
    margin: -40px auto 24px auto;
    max-width: 96vw;
    width: 100%;
    z-index: 10;
  }
  .main-grid {
    flex-direction: column;
    gap: 0;
    padding: 0 2vw;
    align-items: stretch;
  }
  .sidebar-form {
    max-width: 90vw;
    min-width: 0;
    width: 100%;
    margin: 0 auto;
    z-index: 10;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    top: initial;
    transform: translateY(calc(100% - 80px));
    transition: transform 0.3s ease-in-out;
  }
  .sidebar-form h2 {
    display: none;
  }
  .show-form .sidebar-form h2 {
    display: block;
  }
  .sidebar-form #show-form-btn {
    width: 100%;
    margin-top: 0;
    margin-bottom: 1em;
    display: block;
  }
  .show-form .sidebar-form #show-form-btn {
    display: none;
  }

  .show-form .sidebar-form #close-form-btn {
    display: block;
    position: absolute;
    right: -1em;
    top: -3em;
  }

  .main-content,
  .banner-container {
    transition: all 0.5s ease-in-out;
  }
  .show-form .main-content,
  .show-form .banner-container {
    filter: blur(10px);
  }


  .show-form .sidebar-form {
    top: 50%;
    bottom: unset;
    transform: translateY(-50%);
  }
  .sticky-form-sidebar {
    position: static;
    top: unset;
    z-index: 1;
  }
  .vantagens {
    max-width: 98vw;
    padding: 0 2vw;
  }
  .page-2-esquerdo-container{
    flex-direction: column;
  }
  .page-2-esquerdo-container #map {
    width: 100vw;
    height: 300px;
  }
}
@media (max-width: 600px) {
  .form-direito {
    padding: 24px 4vw;
  }
  .form-container input {
    padding: 12px 8px;
    font-size: 14px;
  }
  .card-como {
    padding: 14px 8px;
    font-size: 15px;
  }
  .titulo {
    font-size: 28px;
  }
  .main-grid {
    padding: 0 0.5vw;
  }
}

