/* ============ hero ============ */

.hero {
  position: relative;
  min-height: min(78vh, 720px);
  display: flex;
  align-items: flex-end;
  background-color: var(--ink);
  overflow: hidden;
}

.hero__slideshow {
  position: absolute;
  inset: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s var(--ease);
}

.hero__slide.is-active {
  opacity: 1;
}

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

.hero__overlay {
  position: relative;
  width: 100%;
  padding-block: 9rem 6.4rem;
  background: linear-gradient(
    to top,
    rgba(20, 23, 26, 0.92) 0%,
    rgba(20, 23, 26, 0.7) 45%,
    rgba(20, 23, 26, 0.15) 100%
  );
}

.hero__overlay .eyebrow {
  color: var(--clay);
  display: block;
  margin-bottom: 2rem;
}

.hero__overlay h1 {
  color: var(--white);
  font-size: clamp(3.2rem, 5.5vw, 6rem);
  max-width: 22ch;
  letter-spacing: -0.02em;
}

.hero__overlay p {
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.5rem, 2vw, 1.8rem);
  max-width: 58ch;
  margin-top: 2rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 3.6rem;
}

/* variante do botão fantasma sobre fundo escuro */
.btn--on-dark {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.38);
}

.btn--on-dark:hover {
  border-color: var(--white);
  background-color: rgba(255, 255, 255, 0.08);
}

.hero__dots {
  position: absolute;
  bottom: 2.4rem;
  right: 3.2rem;
  display: flex;
  gap: 0.8rem;
  z-index: 2;
}

.hero__dot {
  width: 2.8rem;
  height: 3px;
  border: none;
  padding: 0;
  background-color: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: background-color 0.2s var(--ease);
}

.hero__dot.is-active {
  background-color: var(--white);
}

/* ============ faixa de garantias ============ */

.assurances {
  background-color: var(--white);
  border-bottom: 1px solid var(--line);
}

.assurances__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.assurance {
  padding: 4rem 2.8rem;
  border-right: 1px solid var(--line);
}

.assurance:first-child {
  padding-left: 0;
}

.assurance:last-child {
  border-right: none;
  padding-right: 0;
}

.assurance i {
  font-size: 2rem;
  color: var(--clay);
  margin-bottom: 1.6rem;
  display: block;
}

.assurance h3 {
  font-size: 1.7rem;
  margin-bottom: 0.8rem;
}

.assurance p {
  font-size: 1.4rem;
  color: var(--graphite);
  line-height: 1.7;
}

/* ============ filtro por terreno ============ */

.lot-finder {
  background-color: var(--clay-tint);
  padding-block: 6.4rem;
}

.lot-finder__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.lot-finder .eyebrow {
  display: block;
  margin-bottom: 1.2rem;
}

.lot-finder p {
  margin-top: 1.2rem;
  color: var(--graphite);
}

.lot-finder__options {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.lot-chip {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 2rem;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--ink);
  transition: all 0.2s var(--ease);
}

.lot-chip small {
  font-size: 1.2rem;
  color: var(--stone);
  font-weight: 500;
}

.lot-chip:hover {
  background-color: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.lot-chip:hover small {
  color: rgba(255, 255, 255, 0.7);
}

.lot-chip--all {
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: grid;
  place-items: center;
}

/* ============ seções da home ============ */

.home-section {
  padding-block: 8rem;
}

.home-section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 3.2rem;
  margin-bottom: 4.8rem;
}

.home-section__head .eyebrow {
  display: block;
  margin-bottom: 1.6rem;
}

.home-section__lead {
  margin-top: 1.6rem;
  font-size: 1.6rem;
  color: var(--graphite);
  max-width: 60ch;
}

.disciplines-section {
  background-color: var(--white);
  border-block: 1px solid var(--line);
  padding-block: 8rem;
}

/* ============ depoimentos ============ */

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

.testimonial {
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 3.2rem;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.testimonial i {
  font-size: 1.8rem;
  color: var(--clay-tint);
}

.testimonial p {
  font-size: 1.5rem;
  line-height: 1.8;
  color: var(--graphite);
  flex: 1;
}

.testimonial footer {
  padding-top: 1.6rem;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
}

.testimonial strong {
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--ink);
}

.testimonial span {
  font-size: 1.3rem;
  color: var(--stone);
}

/* ============ FAQ ============ */

.faq-section {
  background-color: var(--white);
  border-block: 1px solid var(--line);
  padding-block: 8rem;
}

.faq {
  max-width: 90ch;
}

.faq__item {
  border-bottom: 1px solid var(--line);
}

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-block: 2.4rem;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary i {
  color: var(--clay);
  font-size: 1.4rem;
  flex-shrink: 0;
  transition: transform 0.25s var(--ease);
}

.faq__item[open] summary i {
  transform: rotate(45deg);
}

.faq__item p {
  padding-bottom: 2.8rem;
  font-size: 1.55rem;
  line-height: 1.8;
  color: var(--graphite);
  max-width: 80ch;
}

/* ============ CTA final ============ */

.home-cta {
  background-color: var(--ink);
  color: var(--white);
  padding-block: 9rem;
  text-align: center;
}

.home-cta .eyebrow {
  display: block;
  margin-bottom: 1.6rem;
  color: var(--clay);
}

.home-cta h2 {
  color: var(--white);
  font-size: clamp(2.6rem, 4vw, 4rem);
  max-width: 26ch;
  margin-inline: auto;
}

.home-cta p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.6rem;
  max-width: 52ch;
  margin: 2rem auto 3.6rem;
}

/* ============ responsivo ============ */

@media (max-width: 1024px) {
  .assurances__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .assurance {
    padding: 3.2rem 2.4rem;
    border-bottom: 1px solid var(--line);
  }

  .assurance:nth-child(2n) {
    border-right: none;
    padding-right: 0;
  }

  .assurance:nth-child(2n + 1) {
    padding-left: 0;
  }

  .assurance:nth-last-child(-n + 2) {
    border-bottom: none;
  }

  .lot-finder__inner {
    grid-template-columns: 1fr;
    gap: 3.2rem;
  }
}

@media (max-width: 767px) {
  .hero {
    min-height: 68vh;
  }

  .hero__overlay {
    padding-block: 8rem 4rem;
  }

  .hero__actions .btn {
    flex: 1;
    justify-content: center;
  }

  .hero__dots {
    right: 1.6rem;
    bottom: 1.6rem;
  }

  .assurances__grid {
    grid-template-columns: 1fr;
  }

  .assurance {
    padding: 2.4rem 0;
  }

  .assurance:nth-child(2n) {
    padding-right: 0;
  }

  .lot-finder,
  .home-section,
  .disciplines-section,
  .faq-section {
    padding-block: 4.8rem;
  }

  .home-section__head {
    flex-direction: column;
    align-items: stretch;
    gap: 2rem;
    margin-bottom: 2.8rem;
  }

  .faq__item summary {
    font-size: 1.55rem;
    padding-block: 2rem;
  }

  .home-cta {
    padding-block: 5.6rem;
  }
}
