
/* =========================
   TÍTULO PADRÃO COM LINHA DECORATIVA
   ========================= */
.section-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

/* Título responsivo */
.section-title {
  font-family: 'Roboto', sans-serif;
  color: #0b7a45;
  /* Verde institucional */
  font-size: 36px;
  font-weight: 700;
  text-transform: uppercase;
  position: relative;
  margin-bottom: 10px;
  padding-left: 15px;
  flex-shrink: 0;
}

/* Faixa decorativa pequena abaixo do título */
.section-title::before {
  content: '';
  position: absolute;
  width: 30%;
  /* Faixa menor (30%) */
  height: 4px;
  background: linear-gradient(90deg, #0b7a45, #3ddc84);
  /* Verde para verde-claro */
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

/* Linha decorativa ao lado do título */
.title-decoration {
  height: 2px;
  background: linear-gradient(to right, #3ddc84, rgba(61, 220, 132, 0.15));
  margin-left: 1rem;
  border-radius: 1px;
  opacity: 0.8;
  flex-grow: 1;
}

/* Centraliza no celular */
@media (max-width: 768px) {
  .section-header {
    justify-content: center;
    text-align: center;
  }

  .section-title {
    padding-left: 0;
  }

  .title-decoration {
    display: none;
    /* Oculta a linha lateral no celular */
  }
}







/* =========================
   BANNERS INICIAIS
   ========================= */

.carousel-custom {
  width: 100vw;
  height: 55vh;
  margin: 0;
  padding: 0;
  overflow: hidden;
  position: relative;
  margin-bottom: 0 !important;
  /* Remove a margem inferior */
}

/* Para telas grandes */
@media (min-width: 1300px) {
  .carousel-custom {
    height: 55vh;
  }

  .carousel-caption {
    bottom: 10%;
    font-size: 1.1rem;
    margin-bottom: 0 !important;
    /* Remove a margem inferior da legenda */
  }

  /* Botões do carrossel */
  .carousel-control-prev,
  .carousel-control-next {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  /* Botão de navegação à esquerda */
  .carousel-control-prev {
    left: 20px;
  }

  /* Botão de navegação à direita */
  .carousel-control-next {
    right: 20px;
  }
}

/* Responsividade para telas menores (1300px até 768px) */
@media (max-width: 1300px) {
  .carousel-custom {
    height: 50vh;
  }

  .carousel-caption {
    bottom: 5%;
    font-size: 0.85rem;
    padding: 0 10px;
    margin-bottom: 0 !important;
    /* Remove a margem inferior da legenda */
  }

  .carousel-control-prev,
  .carousel-control-next {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    font-size: 16px;
    color: white;
  }
}

/* Responsividade para telas menores */
@media (max-width: 1300px) {
  .carousel-custom {
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
  }

  .carousel-item img {
    height: auto !important;
    width: 100% !important;
    object-fit: cover !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .carousel-caption {
    bottom: 2% !important;
    font-size: 0.85rem !important;
    padding: 0 10px !important;
    margin: 0 !important;
    margin-bottom: 0 !important;
    /* Remove a margem inferior da legenda */
  }

  .carousel-indicators {
    display: none !important;
  }

  .carousel-control-prev,
  .carousel-control-next {
    width: 40px !important;
    height: 40px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
  }

  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    width: 16px !important;
    height: 16px !important;
  }
}










/* =========================
     ESTILO SEÇÃO QUICK ACCESS
     ========================= */
.quick-access {
  background: #f4f6f9;
  /* Bg-light */
  padding: 80px 0;
  position: relative;
}

/* Efeito visual de fundo lateral */

.quick-access:after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: #0b7a45;
  z-index: -1;
  display: none !important;
}

/* =========================
     CARDS DE ACESSO RÁPIDO
     ========================= */
.quick-access-card .card {
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease, background 0.3s ease;
  position: relative;
  overflow: hidden;
  animation: cardAnimation 1s ease-in-out forwards;
}

@keyframes cardAnimation {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.quick-access-card .card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 1);
}

/* =========================
     ÍCONE NOS CARDS
     ========================= */
.icon-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  background: #0b7a45;
  /* Verde institucional */
  border-radius: 50%;
  margin-bottom: 15px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.icon-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  box-shadow: 0 0 15px rgba(61, 220, 132, 0.6);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.quick-access-card .card:hover .icon-wrapper {
  transform: scale(1.1) rotate(10deg);
}

.quick-access-card .card:hover .icon-wrapper::before {
  opacity: 1;
}

/* =========================
     TEXTO DOS CARDS
     ========================= */
.quick-access-icon {
  width: 40px;
  height: 40px;
  z-index: 1;
}

.quick-access-card .card-title {
  font-family: 'Roboto', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #222;
  text-transform: uppercase;
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.quick-access-card .card:hover .card-title {
  color: #0f9d58;
  /* Verde institucional */
}

.quick-access-card .card-text {
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  color: #555;
  line-height: 1.5;
  transition: color 0.3s ease;
}

.quick-access-card .card:hover .card-text {
  color: #333;
}

/* =========================
     RESPONSIVO
     ========================= */
@media (max-width: 991px) {
  .quick-access-card .card-title {
    font-size: 16px;
  }

  .quick-access-card .card-text {
    font-size: 13px;
  }

  .icon-wrapper {
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 575px) {
  .quick-access-card .card-title {
    font-size: 14px;
  }

  .quick-access-card .card-text {
    font-size: 12px;
  }

  .icon-wrapper {
    width: 50px;
    height: 50px;
  }
}