/* SWIPER SLIDE */
.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  position: relative;
  color: #fff;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.4) 100%
  );
  z-index: 1;
}

.swiper .container {
  position: relative;
  z-index: 2;
}

.swiper .content {
  max-width: 800px;
}

.badge {
  color: #1591cb;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.badge span {
  display: block;
  width: 30px;
  height: 2px;
  background-color: #1591cb;
}

.swiper h1 {
  font-size: 2.2rem;
  line-height: 1.1;
  margin-bottom: 25px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.swiper-button-next,
.swiper-button-prev {
  display: none;
}

.swiper-slide h1 br {
  display: none;
}

@media (min-width: 420px) {
  .swiper h1 {
    font-size: 2.65rem;
  }
}

@media (min-width: 992px) {
  .swiper-button-next,
  .swiper-button-prev {
    display: block;
  }
  .swiper {
    height: 90vh;
  }
  .swiper-slide h1 br {
    display: block;
  }
}

@media (min-width: 1120px) {
  .swiper h1 {
    font-size: 3.2rem;
  }

  .swiper p {
    font-size: 18px;
    font-weight: 300;
    max-width: 420px;
    margin-bottom: 40px;
  }
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  background-color: #1591cb;
  color: white;
  text-decoration: none;
  padding: 15px 30px;
  border-radius: 5px;
  font-weight: 600;
  transition: background 0.3s ease;
}

.btn-cta:hover {
  background-color: #0482d6;
  color: #fff;
}

.swiper-button-next,
.swiper-button-prev {
  color: #fff !important;
  transform: scale(0.8);
}

.swiper-pagination-bullet {
  background: #fff !important;
  opacity: 0.5;
}

.swiper-pagination-bullet-active {
  background: #1591cb !important;
  opacity: 1;
}

.fact-item span {
  font-size: 45px;
  font-weight: 700;
  color: #111;
}

.fact-item {
  display: flex;
  flex-direction: column;
  justify-content: start;
  color: #111;
}

.fact-item .numero {
  font-size: 3rem;
  font-weight: 700;
}

.fact-item p {
  text-align: center;
}

.service-item figure {
  width: 100%;
  height: 260px;
  position: relative;
}

.service-item figure img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  object-position: top;
}

.service-item p {
  margin-bottom: 0;
  color: #494949;
}

.service-item__numero {
  position: absolute;
  bottom: 0;
  background-color: #0482d6;
  width: 44px;
  height: 44px;
  border: 2px solid #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
  font-weight: 700;
  transform: translateY(50%);
  z-index: 9;
  left: 30px;
}

/* SWIPER SLIDE . */

.project-item h6 {
  padding: 50px 0 20px 0;
  position: relative;
  text-align: center;
  color: #1591cb;
  line-height: 140%;
}

.project-item h6::after {
  content: "";
  position: absolute;
  width: 50px;
  height: 2px;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background-color: #1591cb;
}

.project-item p {
  margin-bottom: 0;
  margin-top: 20px;
}

.project-item figure {
  margin-bottom: 0;
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.project-item figure img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.project-item .icone {
  width: 80px;
  height: 80px;
  position: absolute;
  background-color: #e6f7ff;
  border-radius: 999px;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 50%);
  z-index: 3;
  border: 2px solid #fff;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

/* Customização do Acordeon */
.accordion-item {
  border: none;
  margin-bottom: 15px;
  border-radius: 8px !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.accordion-button {
  font-weight: 600;
  color: #333;
  background-color: #fff;
}

.accordion-button:not(.collapsed) {
  color: #0d6efd;
  background-color: #e7f1ff;
}

/* Animação extra suave */
.accordion-collapse {
  transition: all 0.35s ease-in-out;
}

/* Efeito de hover */
.accordion-button:hover {
  z-index: 2;
  background-color: #f1f7ff;
}

.testimonial-carousel .owl-item .testimonial-item img {
  width: 72%;
  height: auto;
  max-height: 90px;
}

.testimonial-carousel .owl-item .testimonial-item p {
  font-weight: 500;
  margin-top: auto;
}

.testimonial-carousel .owl-item .testimonial-item {
  display: flex;

  flex-direction: column;
  justify-content: center;
  height: auto;
  padding: 40px 0;
  min-height: 220px;
  background-color: #fff;
  border: 1px solid #f2f2f2;
}

.logo-cont {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 96px;
}

.navbar .navbar-nav .nav-link {
  margin-right: 0;
  padding: 20px;
}

.band-contact-start {
  display: none;
}

.navbar .navbar-nav .nav-link {
  padding-inline: 12px;
}

@media (min-width: 1080px) {
  .band-contact-start {
    display: block;
  }
}

/* ==========================================================================
       FOOTER GRID WRAPPER (Increased Typography & Balanced Spacing)
       ========================================================================== */

/* Reset e padrão base dos links */
.footer .footer-link-item {
  display: block;
  padding-left: 0;
  padding-right: 0;
  white-space: normal;
  word-wrap: break-word;
  font-size: 0.95rem;
  line-height: 1.45;
  margin-bottom: 0.35rem;
  transition:
    color 0.2s ease,
    opacity 0.2s ease;
}

/* Grid Layout Base (Mobile First) */
.footer-grid-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem 1.5rem;
  width: 100%;
}

/* Tablet (A partir de 576px) */
@media (min-width: 576px) {
  .footer-grid-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}

.footer-address-text p {
  margin-bottom: 6px !important;
}

/* DESKTOP (A partir de 992px) */
@media (min-width: 992px) {
  .footer-address-text br {
    display: block;
  }

  .footer-grid-wrapper {
    /* Colunas ajustadas ao tamanho do conteúdo */
    grid-template-columns: repeat(4, max-content);
    /* Distribuição proporcional do espaço */
    justify-content: space-between;
    gap: 0;
  }

  /* Aumento da tipografia dos links e textos institucionais */
  .footer .footer-link-item {
    white-space: nowrap;
    font-size: clamp(0.88rem, 0.95vw, 1.02rem);
  }

  .footer h5 {
    font-size: clamp(1.1rem, 1.25vw, 1.35rem);
  }

  .footer p,
  .footer .btn-link {
    font-size: clamp(0.96rem, 0.95vw, 1.02rem);
  }

  /* Reajuste proporcional para quebrar a linha exatamente antes de "Centro" */
  .footer .footer-address-text {
    max-width: 320px;
    white-space: normal;
  }

  /* Trava completa de movimentação no hover */
  .footer .footer-link-item:hover {
    padding-left: 0 !important;
    margin-left: 0 !important;
    letter-spacing: normal !important;
    transform: none !important;
    opacity: 0.8;
  }

  .footer .footer-link-item::before,
  .footer .footer-link-item::after {
    display: none !important;
    content: "" !important;
  }
}

@media (max-width: 768px) {
  .navbar-dark {
    background-color: #00253f !important;
  }
}
