/* ===================================================
   Custom Template Style - Tema Verde Escuro
   Versão modificada para evitar questões de licença
   =================================================== */

/* Definição das cores personalizadas */
:root {
  --custom-primary:   #7B8A5B; /* Verde predominante */
  --custom-dark:      #4B643A; /* Tom mais escuro compatível */
   --custom-light:     #4B643A; /* Tom mais claro compatível */
  /*  --custom-light: #EDF6EB; /* Mesma cor do fundo */
  --custom-secondary: #4B643A; /* Verde secundário */
  --custom-white:     #ffffff;
  --custom-body:      #dcdcdc; /* Cinza claro para textos em fundos escuros */
}



/* Fundo do site definido como cinzento claro */
body {
  background-color: #EDF6EB !important;
}

/* ================================
   Spinner
   ================================ */
#spinner {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-out, visibility 0s linear 0.5s;
  z-index: 99999;
}
#spinner.show {
  transition: opacity 0.5s ease-out, visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}

/* Botão "Voltar ao topo" */
.back-to-top {
  position: fixed;
  right: 30px;
  bottom: 30px;
  transition: 0.5s;
  z-index: 99;
}

/* ================================
   Botões
   ================================ */
.btn {
  font-weight: 600;
  transition: 0.5s;
}
.btn-square    { width: 32px; height: 32px; }
.btn-sm-square { width: 34px; height: 34px; }
.btn-md-square { width: 44px; height: 44px; }
.btn-lg-square { width: 56px; height: 56px; }
.btn-xl-square { width: 66px; height: 66px; }
.btn-square, .btn-sm-square, .btn-md-square, .btn-lg-square, .btn-xl-square {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
}
.btn.btn-primary {
  color: var(--custom-white);
  background-color: var(--custom-primary);
  border: none;
}
.btn.btn-primary:hover {
  background-color: var(--custom-dark);
  color: var(--custom-primary);
}
.btn.btn-light {
  color: var(--custom-primary);
  border: none;
}
.btn.btn-light:hover {
  color: var(--custom-white);
  background-color: var(--custom-primary);
}

/* ================================
   Barra Superior
   ================================ */


.topbar .dropdown-toggle::after {
  border: none;
  content: "\f107";
  font-family: "Font Awesome 6 Free";
  font-weight: 600;
  vertical-align: middle;
  margin-left: 8px;
  color: var(--custom-primary);
}
.topbar .dropdown .dropdown-menu a:hover {
  background: var(--custom-primary);
  color: var(--custom-white);
}
.topbar .dropdown .dropdown-menu {
  transform: rotateX(0deg);
  visibility: visible;
  background: var(--custom-light);
  padding-top: 11px;
  border: 0;
  transition: 0.5s;
  opacity: 1;
}

/* ================================
   Navbar
   ================================ */
   .navbar {
  --custom-light: #EDF6EB;
}

.navbar-light .navbar-nav .nav-link {
  font-family: 'Roboto', sans-serif;
  position: relative;
  margin-right: 25px;
  padding: 35px 0;
  color: var(--custom-white);
  font-size: 17px;
  font-weight: 400;
  outline: none;
  transition: 0.5s;
}
.sticky-top.navbar-light .navbar-nav .nav-link,
.sticky-top.navbar-light .navbar-nav .nav-item .nav-link {
  padding: 20px 0;
 /* color: var(--custom-light); */
 color: #000 !important;

}
.navbar-light .navbar-nav .nav-item .nav-link {
  color: var(--custom-white);
}
.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-item .nav-link:hover,
.navbar-light .navbar-nav .nav-item .nav-link.active {
  /* color: var(--custom-primary); */
   color: #000 !important;
}
.navbar-light .navbar-brand img {
  max-height: 60px;
  transition: 0.5s;
}
.sticky-top.navbar-light .navbar-brand img {
  max-height: 45px;
}
.navbar .dropdown-toggle::after {
  border: none;
  content: "\f107";
  font-family: "Font Awesome 6 Free";
  font-weight: 600;
  vertical-align: middle;
  margin-left: 8px;
}
.dropdown .dropdown-menu a:hover {
  background: var(--custom-primary);
  color: var(--custom-white);
}
.navbar .nav-item:hover .dropdown-menu {
  transform: rotateX(0deg);
  visibility: visible;
  background: var(--custom-light);
  transition: 0.5s;
  opacity: 1;
}

/* Ajustes responsivos para Navbar */
@media (max-width: 991.98px) {
  .sticky-top.navbar-light {
    position: relative;
    background: var(--custom-white);
  }
  .navbar.navbar-expand-lg .navbar-toggler {
    padding: 10px 20px;
    border: 1px solid var(--custom-primary);
    color: var(--custom-primary);
  }
  .navbar-light .navbar-collapse {
    margin-top: 15px;
    border-top: 1px solid #DDDDDD;
  }
  .navbar-light .navbar-nav .nav-link,
  .sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 10px 0;
    margin-left: 0;
    color: var(--custom-dark);
  }
  .navbar-light .navbar-nav .nav-item .nav-link {
    color: var(--custom-dark);
  }
  .navbar-light .navbar-brand img {
    max-height: 45px;
  }
}
@media (min-width: 992px) {
  .navbar .nav-item .dropdown-menu {
    display: block;
    visibility: hidden;
    top: 100%;
    transform: rotateX(-75deg);
    transform-origin: 0% 0%;
    border: 0;
    border-radius: 10px;
    transition: 0.5s;
    opacity: 0;
  }
  .navbar-light {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 999;
  }
  .sticky-top.navbar-light {
    position: fixed;
    background: var(--custom-light);
  }
  .navbar-light .navbar-nav .nav-link::before {
    position: absolute;
    content: "";
    width: 0;
    height: 2px;
    bottom: -1px;
    left: 50%;
    background: var(--custom-primary);
    transition: 0.5s;
  }
  .navbar-light .navbar-nav .nav-link:hover::before,
  .navbar-light .navbar-nav .nav-link.active::before {
    width: calc(100% - 2px);
    left: 1px;
  }
  .navbar-light .navbar-nav .nav-link::after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    bottom: -1px;
    left: 50%;
    background: var(--custom-primary);
    transition: 0.5s;
  }
  .navbar-light .navbar-nav .nav-link:hover::after,
  .navbar-light .navbar-nav .nav-link.active::after {
    width: 2px;
    height: 12px;
  }
}

/* ================================
   Carousel Hero Header
   ================================ */
.header-carousel .header-carousel-item img {
  object-fit: cover;
}
.header-carousel .header-carousel-item,
.header-carousel .header-carousel-item img {
  height: 850px;
}
.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
  position: absolute;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--custom-primary);
  color: var(--custom-white);
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.5s;
}
.header-carousel .owl-nav .owl-prev {
  bottom: 30px;
  left: 30px;
  margin-left: 90px;
}
.header-carousel .owl-nav .owl-next {
  bottom: 30px;
  left: 30px;
}
.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
  box-shadow: inset 0 0 100px 0 var(--custom-light);
  color: var(--custom-primary);
}
.header-carousel .header-carousel-item .carousel-caption {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  bottom: 0;
  padding-top: 120px;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
}
@media (max-width: 991px) {
  .header-carousel .header-carousel-item .carousel-caption {
    padding-top: 45px;
  }
}
@media (max-width: 767px) {
  .header-carousel .owl-nav .owl-prev {
    left: 50%;
    transform: translateX(-50%);
    margin-left: -45px;
  }
  .header-carousel .owl-nav .owl-next {
    left: 50%;
    transform: translateX(-50%);
    margin-left: 45px;
  }
}
.header-carousel .header-carousel-item img {
  animation: img-zoom 10s alternate infinite;
  transition: 1s;
}
@keyframes img-zoom {
  0%   { height: 100%; opacity: 0.9; }
  25%  { height: 110%; opacity: 0.5; }
  50%  { height: 115%; opacity: 1; }
  75%  { height: 110%; opacity: 0.5; }
  100% { height: 100%; opacity: 0.9; }
}

/* ================================
   Single Page Hero Header
   ================================ */
.bg-breadcrumb {
  position: relative;
  overflow: hidden;
  background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url(../img/carousel-1.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 140px 0 60px;
  transition: 0.5s;
}
@media (min-width: 992px) {
  .bg-breadcrumb { padding: 140px 0 60px; }
}
@media (max-width: 991px) {
  .bg-breadcrumb { padding: 60px 0 60px; }
}
.bg-breadcrumb .breadcrumb {
  position: relative;
}
.bg-breadcrumb .breadcrumb .breadcrumb-item a {
  color: var(--custom-white);
}

/* ================================
   Seção de Serviços
   ================================ */
.service .service-item {
  background: var(--custom-light);
  border-radius: 10px;
  transition: 0.5s;
}
.service .service-item:hover {
  box-shadow: 0 0 45px rgba(0,0,0,0.2);
}
.service .service-item .service-img {
  position: relative;
  overflow: hidden;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  transition: 0.5s;
}
.service .service-item .service-img img {
  transition: 0.5s;
}
.service .service-item:hover .service-img img {
  transform: scale(1.2);
}

.servico-img {
  height: 300px; /* ajuste para o tamanho desejado */
  overflow: hidden;
}

.servico-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ================================
   Features
   ================================ */
.feature .feature-item {
  text-align: center;
  border-radius: 10px;
  background: var(--custom-light);
  border: 1px solid transparent;
  transition: 0.5s;
}
.feature .feature-item:hover {
  border: 1px solid var(--custom-primary);
}
.feature .feature-item .feature-icon {
  background: var(--custom-white);
  border-radius: 10px;
  display: inline-block;
}

/* ================================
   Features Quadrados Mesmo Tamanho
   ================================ */
.feature-item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.feature .row {
  display: flex;
  flex-wrap: wrap;
}

.feature .col-md-6 {
  display: flex;
}

/* ================================
   Seção de Ofertas
   ================================ */
.offer-section .nav a.accordion-link {
  width: 100%;
  border-radius: 10px;
  display: flex;
  background: var(--custom-white);
  transition: 0.5s;
}
.offer-section .nav a.accordion-link.active {
  color: var(--custom-white);
  background: var(--custom-primary);
}
.offer-section .nav a.accordion-link h5 {
  transition: 0.5s;
}
.offer-section .nav a.accordion-link.active h5 {
  color: var(--custom-white);
}

/* ================================
   Seção de Blog
   ================================ */
.blog .blog-item {
  border-radius: 10px;
  background: var(--custom-white);
  box-shadow: inset 0 0 45px rgba(0,0,0,0.1);
  transition: 0.5s;
}
.blog .blog-item a {
  transition: 0.5s;
}
.blog .blog-item:hover a:hover {
  color: var(--custom-primary);
}
.blog .blog-item .blog-img {
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}
.blog .blog-item .blog-img img {
  transition: 0.5s;
}
.blog .blog-item:hover .blog-img img {
  transform: scale(1.2);
}
.blog .blog-item .blog-img::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  border-radius: 10px;
  background: rgba(0, 208, 132, 0.1);
  opacity: 0;
  transition: 0.5s;
  z-index: 1;
}
.blog .blog-item:hover .blog-img::after {
  opacity: 1;
}
.blog .blog-item .blog-img .blog-title {
  position: absolute;
  bottom: 25px;
  left: 25px;
  z-index: 5;
}
.blog .blog-item .blog-img .blog-title a {
  color: var(--custom-white);
  background: var(--custom-primary);
  transition: 0.5s;
}
.blog .blog-item:hover .blog-img .blog-title a:hover {
  color: var(--custom-dark);
}
.blog-carousel .owl-stage-outer {
  margin-top: 58px;
}
.blog .owl-nav .owl-prev {
  position: absolute;
  top: -58px;
  left: 0;
  background: var(--custom-primary);
  color: var(--custom-white);
  padding: 6px 35px;
  border-radius: 30px;
  transition: 0.5s;
}
.blog .owl-nav .owl-prev:hover {
  background: var(--custom-dark);
  color: var(--custom-primary);
}
.blog .owl-nav .owl-next {
  position: absolute;
  top: -58px;
  right: 0;
  background: var(--custom-primary);
  color: var(--custom-white);
  padding: 6px 35px;
  border-radius: 30px;
  transition: 0.5s;
}
.blog .owl-nav .owl-next:hover {
  background: var(--custom-dark);
  color: var(--custom-primary);
}

.blog-img {
  height: 250px; /* Defina a altura desejada */
  overflow: hidden;
}

.blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ================================
   FAQs
   ================================ */
.faq-section .accordion .accordion-item .accordion-header .accordion-button {
  color: var(--custom-body);
}
.faq-section .accordion .accordion-item .accordion-header .accordion-button.collapsed {
  color: var(--custom-dark);
}

/* ================================
   Equipa (Team)
   ================================ */
.team .team-item {
  position: relative;
  padding: 0 25px 25px;
  border-radius: 10px;
  transition: 0.5s;
}
.team .team-item::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  bottom: 0;
  left: 0;
  background: var(--custom-light);
  border-radius: 10px;
  transition: 0.5s;
  z-index: -1;
}
.team .team-item:hover::before { height: 0; }
.team .team-item::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 0;
  bottom: 0;
  left: 0;
  border-radius: 10px;
  transition: 0.5s;
  z-index: -1;
}
.team .team-item:hover::after {
  height: 100%;
  background: var(--custom-primary);
}
.team .team-item .team-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  position: relative;
  margin-top: 50%;
  transform: translateY(-50%);
  margin-bottom: -50%;
  display: flex;
  justify-content: center;
  border: 4px dotted var(--custom-primary);
  padding: 4px;
  background: var(--custom-white);
  transition: 0.5s;
}
.team .team-item:hover .team-img {
  border: 4px dotted var(--custom-white);
  background: none;
}
.team .team-item .team-img img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  transition: 0.5s;
}
.team .team-item .team-title {
  padding: 25px 0;
  text-align: center;
}
.team .team-item .team-title h4,
.team .team-item .team-title p {
  transition: 0.5s;
}
.team .team-item:hover .team-title h4,
.team .team-item:hover .team-title p {
  color: var(--custom-white);
}
.team .team-item .team-icon {
  display: flex;
  justify-content: center;
}
.team .team-item .team-icon a {
  transition: 0.5s;
}
.team .team-item:hover .team-icon a {
  color: var(--custom-dark);
  background: var(--custom-white);
}
.team .team-item:hover .team-icon a:hover {
  color: var(--custom-primary);
  background: var(--custom-dark);
}

/* ================================
   Testemunhos (Testimonial)
   ================================ */
.testimonial .testimonial-item {
  position: relative;
  margin-bottom: 30px;
  padding: 0 25px 25px;
}
.testimonial .testimonial-item::before {
  content: "";
  position: absolute;
  width: 100%;
  height: calc(100% - 50px);
  bottom: 0;
  left: 0;
  border-radius: 10px;
  background: var(--custom-light);
  z-index: -1;
}
.testimonial .testimonial-item .testimonial-img {
  display: flex;
  justify-content: center;
}
.testimonial .testimonial-item .testimonial-img img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 5px double var(--custom-light);
  background: var(--custom-white);
}
.testimonial .testimonial-item .testimonial-text {
  padding: 25px 0;
  text-align: center;
}
.testimonial .testimonial-item .testimonial-title {
  display: flex;
  justify-content: space-between;
}
.testimonial .testimonial-item .testimonial-quote-left {
  position: absolute;
  width: 60px;
  height: 60px;
  top: 20px;
  left: 25px;
  border-radius: 50%;
  color: var(--custom-primary);
  background: var(--custom-white);
  display: flex;
  align-items: center;
  justify-content: center;
}
.testimonial .testimonial-item .testimonial-quote-right {
  position: absolute;
  width: 60px;
  height: 60px;
  bottom: -30px;
  right: 25px;
  margin-top: -5px;
  border-radius: 50%;
  color: var(--custom-primary);
  background: var(--custom-white);
  display: flex;
  align-items: center;
  justify-content: center;
}
.testimonial-carousel .owl-stage-outer {
  margin-top: 58px;
  margin-right: -1px;
}
.testimonial .owl-nav .owl-prev {
  position: absolute;
  top: -58px;
  left: 0;
  background: var(--custom-primary);
  color: var(--custom-white);
  padding: 5px 30px;
  border-radius: 30px;
  transition: 0.5s;
}
.testimonial .owl-nav .owl-prev:hover {
  background: var(--custom-secondary);
  color: var(--custom-white);
}
.testimonial .owl-nav .owl-next {
  position: absolute;
  top: -58px;
  right: 0;
  background: var(--custom-primary);
  color: var(--custom-white);
  padding: 5px 30px;
  border-radius: 30px;
  transition: 0.5s;
}
.testimonial .owl-nav .owl-next:hover {
  background: var(--custom-secondary);
  color: var(--custom-white);
}
.testimonial-carousel .owl-dots {
  display: flex;
  justify-content: center;
}
.testimonial-carousel .owl-dots .owl-dot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  margin: 20px 10px 0 10px;
  background: var(--custom-primary);
  transition: 0.5s;
}
.testimonial-carousel .owl-dots .owl-dot.active {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--custom-secondary);
  transition: 0.5s;
}
.testimonial-carousel .owl-dots .owl-dot span {
  position: relative;
  margin-top: 50%;
  margin-left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.testimonial-carousel .owl-dots .owl-dot.active span::after {
  background: var(--custom-primary);
}
.testimonial-carousel .owl-dots .owl-dot span::after {
  content: "";
  width: 15px;
  height: 15px;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--custom-white);
  transition: 0.5s;
}

/* ================================
   Footer
   ================================ */
.footer {
  background: var(--custom-dark);
}
.footer .footer-item {
  display: flex;
  flex-direction: column;
}
.footer .footer-item a {
  color: var(--custom-body);
  line-height: 36px;
  transition: 0.5s;
}
.footer .footer-item p {
  line-height: 35px;
}
.footer .footer-item a:hover {
  color: var(--custom-primary);
}
.footer .footer-item .footer-btn a,
.footer .footer-item .footer-btn a i {
  transition: 0.5s;
}
.footer .footer-item .footer-btn a:hover {
  background: var(--custom-white);
}
.footer .footer-item .footer-btn a:hover i {
  color: var(--custom-primary);
}

/* ================================
   Copyright
   ================================ */
.copyright {
  background: var(--custom-dark);
}


/* ================================
   Botão Whatsapp
   ================================ */
.whatsapp-button {
  position: fixed;
  bottom: 100px;
  right: 30px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  padding: 28px;
  display: flex;
  font-size: 50px;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s;
  text-align: center;
}
.whatsapp-button:hover {
  background-color: #128c7e;
}
