/* 1. Variáveis e Reset */
:root {
  --accent:     #f58220;
  --dark-blue:  #152d4a;
  --light-blue: #3b6399;
  --light-gray: #dddddd;
  --text-dark:  #343a40;
  --text-light: #fff;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  line-height: 1.5;
  color: var(--text-dark);
  background: #fff;
}

/* 2. Hero (.promo-top) */
.promo-top {
  position: relative;
  height: 80vh;
  background: url("../../assets/img/seu-fundo-carro.jpg") center/cover no-repeat;
  overflow: hidden;
}

.promo-top::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.2);
}

.promo-content {
  position: relative;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  z-index: 1;
}

.promo-logo {
  background: var(--accent);
  padding: 2rem 1rem;
}

.promo-logo img {
  display: block;
  width: 100%;
}

.price-pill {
  background: var(--light-blue);
  color: var(--text-light);
  border-radius: 0 0 1.5rem 1.5rem;
  padding: 1.5rem 2rem;
  text-align: center;
  min-width: 14rem;
}

.price-pill .price-title {
  font-size: 5rem;
  font-weight: 900;
  text-transform: uppercase;
}

.price-pill .price-sub {
  font-size: 1rem;
  text-transform: uppercase;
  margin: .5rem 0;
}

.price-pill .price-value {
  font-size: 3rem;
  font-weight: 900;
}

.price-pill .price-note {
  font-size: .875rem;
  text-transform: uppercase;
  opacity: .85;
}

/* 3. Register pill */
.register-pill-wrap {
  text-align: center;
  margin-top: -1.5rem;
  position: relative;
  z-index: 10;
}

.register-pill {
  display: inline-block;
  background: var(--accent);
  color: var(--text-light);
  padding: .75rem 1.5rem;
  border-radius: 5rem;
  font-weight: 400;
  font-size: 1.3rem;
  text-decoration: none;
}

/* 4. Promo bottom */
.promo-bottom {
  display: flex;
  align-items: flex-end;
  background: #fff;
  margin-top: -6rem;
}

.people-wrap {
  flex: 0 0 auto;
  margin-right: 2rem;
}

.people-img {
  display: block;
  max-width: 100%;
  position: relative;
}

.promo-text {
  display: flex;
  align-items: center;
}

.promo-number {
  font-size: 5rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.promo-dorms {
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark-blue);
  margin: 0 1rem;
}

.promo-lines .line1 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
}

.promo-lines .line2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  text-transform: uppercase;
  margin-top: .25rem;
}

/* 5. Parallax section */
.parallax-section {
  position: relative;
  height: 70vh;
  min-height: 300px;
  width: 100%;
  background: url("../../assets/img/bg-alameda.jpg") center/cover fixed no-repeat;
  overflow: hidden;
}

.parallax-section::before {
  content: "";
  position: absolute;
  background: rgba(0, 0, 0, 0.4);
}

.parallax-section .container {
  position: relative;
  z-index: 1;
}

/* 6. Plantas */
.plantas-section {
  background: var(--dark-blue);
  color: var(--text-light);
}

.plantas-banner {
  text-align: center;
  padding: 2rem 1rem;
}

.plantas-title {
  margin: 0;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
}

.plantas-title .highlight {
  color: var(--accent);
}

.plantas-images {
  padding: 2rem 0;
}

.planta-right {
  position: relative;
}

/* 7. Momentos */
.momentos-section {
  background: #fff;
}

.banner-momentos {
  background: var(--accent);
  padding: 2rem 0;
  text-align: center;
}

.banner-line1 {
  color: #000;
  font-size: 2.7rem;
  font-weight: 500;
  text-transform: uppercase;
}

.banner-line2 {
  color: var(--text-light);
  font-size: 3rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-top: .25rem;
}

.icon-item {
  display: flex;
  align-items: center;
}

.icon-item img {
  width: 3.5rem;
  margin-right: .75rem;
}

.icon-item span {
  color: var(--text-dark);
  font-size: 1.3rem;
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.2;
  width: 100%;
  text-align: center;
}

.icon-item small {
  display: block;
  font-size: .875rem;
  font-weight: 400;
  text-transform: none;
  margin-top: .125rem;
}

/* 8. Galeria */
.galeria-section {
  background: var(--dark-blue);
  padding: 4rem 0;
}

.gallery-item {
  position: relative;
  overflow: hidden; 
}

.gallery-item img {
  display: block;
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  object-position: center;
  transition: transform .3s ease;
}

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

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: .75rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-light);
  background: linear-gradient(
    to top,
    rgba(21,45,74,.8) 0%,
    rgba(21,45,74,0)   100%
  );
}

/* 9. Localização */
.localizacao-section {
  background: var(--light-gray);
  padding: 4rem 0;
}

.line-red {
  width: 5rem;
  height: 4px;
  background: #a0211d;
  margin-bottom: 1rem;
}

.localizacao-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: .5rem;
}

.localizacao-subtitle {
  font-size: 1rem;
  color: #495057;
  margin-bottom: 2rem;
}

.btn-location {
  background: #fff;
  color: var(--dark-blue);
  border: none;
  padding: .75rem 1.25rem;
  font-size: .875rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  border-radius: .5rem;
  box-shadow: 0 2px 6px rgba(0,0,0,.1);
  text-decoration: none;
}

.btn-location i {
  font-size: 1.25rem;
  margin-right: .5rem;
}

.sales-info {
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: .5rem;
}

.more-info {
  font-size: .875rem;
  color: #6c757d;
  margin-bottom: .25rem;
}

.phone {
  font-size: 1.5rem;
  color: var(--text-dark);
}

.map-wrapper {
  min-height: 300px;
}

/* 10. Formulário */
.leparc-form {
  border-radius: .75rem;
  overflow: hidden;
}

.leparc-form .form-header,
.leparc-form .form-footer {
  background: var(--accent);
  color: var(--text-light);
  text-align: center;
  padding: 1rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.leparc-form .form-body {
  background: var(--light-blue);
  padding: 1.5rem 1rem;
  color: var(--text-light);
}

.leparc-form .form-body p {
  margin-bottom: 1.5rem;
  font-size: 1rem;
  text-align: center;
}

.leparc-form .form-control {
  width: 100%;
  margin-bottom: .75rem;
  text-align: center;
  border: none;
  height: calc(1.5em + .75rem + 2px);
}

.leparc-form .form-control:focus {
  box-shadow: none;
}

.leparc-form .form-footer button {
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 1.5rem;
  font-weight: 600;
  width: 100%;
  padding: .75rem 0;
  cursor: pointer;
}

/* 11. Sobre a Magnum & Tradição */
.container-sobre {
  padding: 5rem 1rem;
}

.titulo-magnum {
  color: #a0211d;
  font-weight: 900;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.texto-magnum {
  font-size: 1.3rem;
  line-height: 1.6;
}

.faixa-tradicao {
  background: var(--dark-blue);
  color: var(--text-light);
  text-align: center;
  padding: 2rem 1rem;
}

.linha-titulo,
.linha-subtitulo {
  display: block;
  width: 100%;
}

.linha-titulo {
  font-size: 3rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: .5rem;
}

.linha-titulo .laranja {
  color: var(--accent);
}

.linha-subtitulo {
  font-size: 1.25rem;
}

.linha-subtitulo .laranja {
  color: var(--accent);
}

.dePerto {
  text-transform: uppercase;
  color: var(--accent);
  font-size: 2.5rem;
  letter-spacing: .3rem;
  margin-bottom: 1rem;
}

/* 12. Responsive */
@media (max-width: 767.98px) {
  /* Hero */
  .promo-content {
    flex-direction: column;
    align-items: center;
    padding: 1rem 0;
  }
  .price-pill {
    min-width: auto;
    padding: 0px 1rem;
    margin-bottom: 30px;
    border-radius: 30px;
  }

  .price-pill .price-title {
    font-size: 3rem;
  }

  .price-pill .price-sub {
    font-size: 1rem;
    margin: 0;
  }

  /* Register pill */
  .register-pill-wrap {
    margin-top: -1rem;
  }

  /* Promo bottom */
  .promo-bottom {
    flex-direction: column;
    align-items: center;
    margin-top: 0;
  }
  .people-img {
    top: 0;
    max-width: 12rem;
    margin-bottom: 1rem;
  }
  .promo-text {
    flex-direction: column;
    text-align: center;
  }
  .promo-number {
    font-size: 3rem;
  }
  .promo-dorms {
    display: none;
  }
  .line1 {
    font-size: .875rem;
  }
  .line2 {
    font-size: 1.5rem;
  }

  /* Parallax */
  .parallax-section {
    background-attachment: scroll;
  }

  /* Plantas */
  .plantas-title {
    font-size: 2rem;
  }
  .plantas-images {
    padding: 1rem 0;
  }
  .planta-right::before {
    display: none;
  }

  /* Momentos */
  .banner-line1 {
    font-size: 1.2rem;
  }
  .banner-line2 {
    font-size: 1.3rem;
  }
  .icon-item {
    flex-direction: column;
    text-align: center;
  }
  .icon-item img {
    margin-bottom: .5rem;
  }

  /* Galeria */
  .gallery-caption {
    font-size: .875rem;
    text-align: center;
  }

  /* Localização */
  .localizacao-section {
    text-align: center;
    padding: 2rem 0;
  }
  .map-wrapper {
    margin-top: 2rem;
  }

  /* Formulário */
  .leparc-form {
    margin: 0 auto;
    width: 100%;
  }
  .leparc-form .form-body p {
    font-size: .875rem;
  }

  /* Sobre & Tradição */
  .titulo-magnum,
  .texto-magnum,
  .linha-titulo,
  .linha-subtitulo {
    text-align: center;
  }
  .linha-titulo {
    font-size: 2rem;
  }
  .linha-subtitulo {
    font-size: 1rem;
  }
  .promo-logo {
    max-width: 130px;
  }
  .btn-location {
    margin: auto;
    min-width: 240px;
    text-align: center;
    display: block;
    padding: 5px 0 10px 0;
  }
  .icon-item span {
    font-size: 1rem;
  }
  .dePerto {
    font-size: 1.5rem;
  }
  .line-red {
    margin: auto;
    margin-bottom: 1rem;
  }
  .container-sobre {
    padding: 1rem 1rem;
  }
}
