body {
  font-family: 'Montserrat', sans-serif;
}

/* Opcional: para elementos específicos que devem manter outras fontes */
.display-1, .display-2, .display-3, .display-4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700; /* Pode ajustar conforme necessidade */
}
.fw-bold {
    font-weight: 900 !important;
}
.bold-500 {
  font-weight: 500;
}
.bold-600 {
  font-weight: 600;
}
.bold-700 {
  font-weight: 700;
}
.fs-7 {
  font-size:2rem;
}
.py-6 {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
}
.px-6 {
    padding-left: 4rem !important;
    padding-right: 4rem !important;
}
.p-6 {
    padding: 4rem;
}

:root {
  --bs-white: #fff;
  --bs-gray: #6c757d;
  --bs-gray-dark: #343a40;
  --bs-primary: #e06c1f;
  --bs-secondary: #052a66;
  --bs-light-blue: #025fb2;
  --text-white: #fff;
}

/* Estilos básicos para cores temáticas */
.btn-primary, .bg-primary {
  background-color: var(--bs-primary) !important;
  border-color: var(--bs-primary) !important;
}

.bg-white, .bg-white {
  background-color: white !important;
}

.bg-primary {
  background-color: var(--bs-primary) !important;
}

.bg-secondary {
  background-color: var(--bs-secondary) !important;
}

.bg-secondary-light {
  background-color: var(--bs-light-blue) !important;
}

.text-primary {
  color: var(--bs-primary) !important;
}

.btn-secondary, .bg-secondary {
  background-color: var(--bs-secondary) !important;
  border-color: var(--bs-secondary) !important;
}

.text-secondary {
  color: var(--bs-secondary) !important;
}

/* Estilo personalizado para os botões do menu */
.btn-menu {
  background-color: transparent !important;
  color: var(--text-white) !important;
  transition: all 0.3s ease;
}

.btn-menu:hover,
.btn-menu:focus,
.btn-menu.active {
  background-color: var(--bs-primary) !important;
  color: white !important;
}

#bannerCarousel {
  max-height: 1080px;
  overflow: hidden;
}

.carousel-item img {
  width: 100%;
  height: auto;
}
/* Ajuste para telas menores mantendo proporção */
@media (max-width: 1920px) {
  #bannerCarousel {
    height: auto;
  }
}

/* Ajuste para os controles do carrossel */
.carousel-control-prev {
  left: 1rem; /* Aumente este valor para afastar mais da borda */
  width: 4rem;
}

.carousel-control-next {
  right: 1rem; /* Aumente este valor para afastar mais da borda */
  width: 4rem;
}

/* Opcional: aumentar o tamanho dos ícones */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 2.5rem;
  height: 2.5rem;
}

:root {
  --bs-carousel-transition: transform 0.7s ease-in-out;
}

.carousel-item {
  transition: var(--bs-carousel-transition);
}

/* Ajuste fino das linhas */
@media (max-width: 767.98px) {
  .border-bottom {
    margin-left: 1rem;
    margin-right: 1rem;
    width: calc(100% - 2rem);
  }
  
  /* Remove a linha extra do último item */
  .col-md-4:last-child .border-bottom {
    display: none !important;
  }
}
/* Ajuste fino para dispositivos muito pequenos */
@media (max-width: 575.98px) {
  .border-bottom {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
  }
  .pb-4 {
    padding-bottom: 1.5rem !important;
  }
}
@media (max-width:991px) {
  .content-quem-somos {
    padding: 1rem;
  }
  i.fs-5.bold-700.text-white.bi-whatsapp, span.fs-5.bold-700.text-white.ms-2 {
    font-size: 11pt !important;
}
}
@media (min-width:992px) {
  #feedbacks {
  margin-top:-50px;
  z-index:2;
  position:relative;
  }
  .content-quem-somos {
    padding: 5rem;
  }
  .row-endereco {
    margin-bottom: -40px;
  }
  .servicos-title {
    max-width: 75%;
  }
}

/* Efeitos nos cards de serviço */
.service-card {
  transition: all 0.3s ease;
  border: 2px solid transparent;
  min-height: 120px; /* Altura mínima para padronização */
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
  border-color: var(--bs-primary);
}

/* Garante quebras de linha consistentes */
h3 br {
  display: block;
  content: " ";
  margin-bottom: 0.5rem;
}

.rounded-custom-1 {
    border-radius: 15px;
}
.rounded-custom-2 {
    border-radius: 25px;
}

/* Ajuste para mobile */
@media (max-width: 767.98px) {
  .service-card {
    min-height: 120px;
  }
  
  h2.display-3 {
    font-size: calc(1.5rem + 3vw);
  }
}

@media (max-width: 991.98px) {
  /* Header fixo */
  #header {
    position: relative;
    overflow: visible; /* Permite que o menu ultrapasse o header */
    padding: 1rem 0;
    min-height: 60px; /* Altura mínima consistente */
  }

  /* Toggler posicionado absolutamente */
  .navbar-toggler {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1020;
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 0.35rem 0.65rem;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 70%;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
  }

  .btn-menu {
      border: 1px solid var(--bs-white) !important;
  }

  /* Menu dropdown estilo sidebar direito */
  .navbar-collapse {
    position: fixed;
    top: 60px; /* Altura do header */
    right: 0;
    width: 50%;
    height: calc(100vh - 60px);
    background-color: var(--bs-secondary);
    padding: 1rem;
    margin-top: 0;
    border-radius: 0;
    box-shadow: -5px 5px 10px rgba(0, 0, 0, 0.15);
    z-index: 1010;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
  }

  .navbar-collapse.show {
    transform: translateX(0);
  }

  /* Botões do menu mais compactos */
  .navbar-collapse .btn-menu {
    width: auto;
    min-width: 120px;
    margin: 0.25rem 0;
    padding: 0.375rem 0.75rem;
    text-align: left;
    white-space: nowrap;
  }

  /* Fundo escuro quando menu aberto */
  .navbar-collapse-backdrop {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    height: calc(100vh - 60px);
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1009;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  .navbar-collapse.show + .navbar-collapse-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  /* Ajuste para evitar scroll horizontal */
  body.menu-open {
    overflow-x: hidden;
  }

  /* Ajuste para o conteúdo não empurrar o header */
  #header .row > div:nth-child(2) {
    position: static; /* Container para posicionamento absoluto */
  }

  /* Redes sociais alinhadas */
  #header .row > div:nth-child(3) {
    padding-right: 50px; /* Espaço para o toggler */
  }
}

@media (max-width: 991.98px) {
  /* Ajuste para o layout mobile */
  #header .row > div:nth-child(1) { 
    order: 1; 
    flex: 1;
  }
  
  #header .row > div:nth-child(2) { 
    order: 3; 
    width: 100%; 
  }
  
  #header .row > div:nth-child(3) { 
    order: 2; 
    flex: 0 0 auto;
    width: auto;
  }

  /* Alinhamento vertical dos itens */
  #header .row {
    align-items: center;
  }

  /* Espaçamento entre logo e ícones */
  #header .row > div:nth-child(1) {
    padding-right: 15px;
  }
}

  /* Estilo para o fundo escurecido */
  .modal-backdrop {
    opacity: 0.9 !important;
    background-color: #000 !important;
  }
  
  /* Estilo para o modal personalizado */
  .service-modal .modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
  }
  
  .service-modal .modal-header {
    border-bottom: none;
    padding-bottom: 0;
    position: relative;
  }
  
  .service-modal .btn-close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 1.5rem;
  }
  
  .service-modal .modal-body {
    padding: 2rem;
  }
  
  .service-modal .modal-footer {
    border-top: none;
    justify-content: center;
    padding-top: 0;
  }
  .service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
  }

  .service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2) !important;
  }
  .modal-title {
    line-height: 1.2 !important;
  }