/* Importa Bootstrap SCSS */
@import "../../scss/bootstrap.scss";

/* Reset básico */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  background-color: #f9f9f9;
  padding-top: 1px; /* Ajuste conforme altura do header */
  overflow-x: hidden !important;
}

/* Scroll suave */
@media (prefers-reduced-motion: no-preference) {
  :root { scroll-behavior: smooth; }
}

/* Headings */
h1, h2, h3, h4 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-weight: 500;
  line-height: 1.2;
  color: #333333;
}
a {
  text-decoration: none;
}

h1 { color: #007bff; }
@media (min-width: 1200px) { h1 { font-size: 3.4375rem; } }

h2 { font-size: calc(1.45rem + 2.4vw); }
@media (min-width: 1200px) { h2 { font-size: 3.25rem; } }

h3 { font-size: calc(1.34375rem + 1.125vw); }
@media (min-width: 1200px) { h3 { font-size: 2.1875rem; } }

h4 { font-size: calc(1.3rem + 0.6vw); }
@media (min-width: 1200px) { h4 { font-size: 1.75rem; } }

h5 { font-size: 1.125rem; }
h6 { font-size: 1.0625rem; }

/* Separadores */
hr {
  margin: 1rem 0;
  border: 0;
  border-top: 1px solid;
  opacity: 0.25;
}
/* Espaçamento do conteúdo*/
.custom-margin-padding {
  margin-top: 70px;
  margin-bottom: 50px;
  padding-top: 50px;
  padding-bottom: 50px;
}
.custom-list-barra {
  list-style: none;
  padding-left: 30px;
  position: relative;
  margin: 0;
}

.custom-list-barra::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 5px;
  height: 100%;
  background-color: #007bff; /* azul Bootstrap */
  border-radius: 3px;
}




/* HEADER FIXO */
.app-header {
  background: linear-gradient(90deg, #ffffff, #f0f4ff);
  color: #1a1a1a;
  padding: 0.8rem 1.2rem;
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 99;
  border-bottom: 1px solid #d1d9ff;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: box-shadow 0.3s ease;
  font-family: 'Poppins', sans-serif;
}
.app-header.scrolled,
.app-header:hover {
  background: linear-gradient(90deg, #e6ecff, #ffffff);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

.logo a {
  font-size: 1.5rem;
  font-weight: 700;
  color: #003087;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: color 0.3s ease;
}
.logo a:hover { color: #0056d2; }

.app-header a.nav-link {
  font-size: 1rem;
  font-weight: 500;
  color: #003087;
  padding: 0.5rem 1rem;
  position: relative;
  transition: color 0.3s ease;
}
.app-header a.nav-link:hover { color: #0056d2; }

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0; left: 0;
  background-color: #0056d2;
  transition: width 0.3s ease;
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 100%;
}

.btn-solicitar-demo {
  padding: 0.4rem 1rem;
  font-size: 0.9rem;
  background-color: #003087 !important;
  color: #fff;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, background-color 0.3s ease;
}
.btn-solicitar-demo:hover {
  background-color: #0056d2;
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
.btn-solicitar-demo::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s;
}
.btn-solicitar-demo:hover::before { left: 100%; }

/* MENU MAIOR */
.navbar .nav-item { margin: 0 5px !important; position: relative; }
.navbar .nav-item::before,
.navbar .nav-item::after {
  content: '';
  position: absolute;
  width: 0; height: 0;
  border: 0 solid var(--bs-primary);
  transition: 0.5s;
}
.navbar .nav-item::before { top: 0; left: 0; }
.navbar .nav-item::after { bottom: 0; right: 0; }
.navbar .nav-item:hover::before,
.navbar .nav-item:hover::after,
.navbar .nav-item.active::before,
.navbar .nav-item.active::after {
  width: 100%; border-width: 1px;
}
.navbar .nav-link:hover,
.navbar .nav-link.active { color: var(--bs-primary) !important; }

.navbar .dropdown-toggle::after {
  content: "\f107" !important;
  font-family: "Font Awesome 5 Free";
  font-weight: 600;
}
@media (min-width: 1200px) {
  .navbar .dropdown-menu {
    display: block; visibility: hidden;
    top: 100%; transform: rotateX(-75deg);
    transform-origin: 0 0;
    border: 0; border-radius: 10px;
    margin-top: 20px; transition: .5s; opacity: 0;
    z-index: 9;
  }
  .navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    opacity: 1;
  }
}

@media (max-width: 1200px) {
  .navbar .dropdown-menu { margin-top: 15px; transition: 0.5s; }
}
@media (max-width: 991px) {
  .navbar-nav .nav-item { margin: 15px 0 !important; }
}
.dropdown .dropdown-menu a:hover { background: var(--bs-primary) !important; color: #fff; }

.navbar-toggler { padding: 8px 15px; color: var(--bs-dark); }

/* MODAL DE BUSCA */
#searchModal .modal-content { background: rgba(250,250,250,0.6); }
#searchModal .modal-header { background-color: var(--bs-white); }

/* SECTION DE INFORMAÇÕES */
.info-section {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  padding: 2rem;
}
.info-left, .info-right {
  width: 48%;
}
.info-left h1 { font-size: 2rem; margin-bottom: 0.5rem; }
.subtitle { font-size: 1.2rem; }
.info-right h2 { margin-top: 1.5rem; font-size: 1.3rem; }
.info-right p { line-height: 1.5; margin: 0.5rem 0; }

/* Responsivo: empilha o texto da .info-section em telas menores */
@media (max-width: 768px) {
  .info-section {
    flex-direction: column;
    gap: 1.5rem; /* espaço entre os blocos */
  }
  .info-left,
  .info-right {
    width: 100%;
  }
}


/* SOLUÇÕES (CARDS) */
.full-width-section { padding: 3rem 0; }
.container {
  max-width: 1400px;
  margin: 0 auto;
}
.container .custom-card-demo {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.custom-card {
  flex: 1 1 calc(33.333% - 20px);
  min-width: 280px;
  max-width: 350px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  min-height: 400px;
  background: #fff;
}
.custom-card:hover { transform: translateY(-3px); }
.custom-card .card-body { padding: 1.5rem; }
.custom-card .card-title { font-size: 1.25rem; margin-bottom: 0.75rem; color: #333; }
.custom-card .card-img-top { height: 250px; object-fit: cover; border-top-left-radius: 8px; border-top-right-radius: 8px; }

/*** Carousel Header Start ***/
.header-carousel .header-carousel-item {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.owl-prev,
.owl-next {
  position: absolute;
  width: 60px;
  height: 60px;
  top: 50%;
  transform: translateY(-50%);
  padding: 20px 20px;
  border-radius: 40px;
  background: var(--bs-primary);
  color: var(--bs-white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.5s;
}

.owl-prev {
  left: 30px;
}

.owl-next {
  right: 30px;
}

.owl-prev:hover,
.owl-next:hover {
  background: var(--bs-dark) !important;
  color: var(--bs-white) !important;
}

.header-carousel .header-carousel-item-img-1,
.header-carousel .header-carousel-item-img-2,
.header-carousel .header-carousel-item-img-3 {
  position: relative;
  overflow: hidden;
}

.header-carousel .header-carousel-item-img-1::before,
.header-carousel .header-carousel-item-img-2::before,
.header-carousel .header-carousel-item-img-3::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  top: -300px;
  right: -300px;
  border-radius: 300px;
  border: 100px solid rgba(68, 210, 246, 0.2);
  animation: RotateMoveCircle 10s linear infinite;
  background: transparent;
  z-index: 2 !important;
}

@keyframes RotateMoveCircle {
  0% {top: -400px;}
  50%   {right: -200px;}
  75%   {top: -200px;}
  100%  {top: -400px;}
}

.header-carousel .header-carousel-item-img-1::after,
.header-carousel .header-carousel-item-img-2::after,
.header-carousel .header-carousel-item-img-3::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 1200px;
  top: -150px;
  left: 70px;
  transform: rotate(-30deg);
  background: rgba(68, 210, 246, 0.2);
  animation: RotateMoveRight 5s linear infinite;
  z-index: 2 !important;
}

@keyframes RotateMoveRight {
  0%   {left: 0px;}
  50%   {left: 70px;}
  100%  {left: 0px;}
}

.header-carousel .header-carousel-item::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 1200px;
  top: -150px;
  left: -265px;
  transform: rotate(-30deg);
  background: var(--bs-dark);
  animation: RotateMoveLeft 5s linear infinite;
  opacity: 0.7;
  z-index: 2 !important;
}

@keyframes RotateMoveLeft {
  0%   {left: -240px;}
  50%   {left: -300px;}
  100%  {left: -240px;}
}

.header-carousel .header-carousel-item::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2 !important;
}

.header-carousel .header-carousel-item .carousel-caption {
  position: absolute;
  width: 80%;
  height: 100%;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 9;
}

@media (max-width: 992px) {
  .header-carousel .header-carousel-item .carousel-caption {
      width: 100% !important;
      margin-left: 0 !important;
      padding: 0 10px;
  }
  .header-carousel-item img {
      height: 700px;
      object-fit: cover;
  }

  .owl-prev,
  .owl-next {
      top: 40px !important;
  }

  .owl-prev {
      left: 65%;
  }
}
/*** Header Carousel End ***/

/* CARROSSEL DE SERVIÇOS */
.service-carousel { padding-top: 60px; }
.service-item { transition: transform 0.3s ease; border-radius: 10px; overflow: hidden; position: relative; }
.service-item:hover { transform: translateY(-5px); }
.service-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; justify-content: flex-end; align-items: center; }
.service-overlay h3, .service-overlay p { color: #003366; }
.service-overlay h3 { font-size: 1.5rem; margin-bottom: 15px; }
.service-overlay p { font-size: 1.1rem; line-height: 1.6; }
.service-carousel .owl-dots {
  text-align: center; /* Centraliza os dots */
  margin-top: 15px;   /* Espaço entre o carrossel e os dots */
}

.service-carousel .owl-dot span {
  width: 12px;
  height: 12px;
  margin: 0 5px;
  background: transparent;
  border: 2px solid #007bff;
  border-radius: 50%;
  display: inline-block;
  transition: background 0.3s, transform 0.3s;
}

.service-carousel .owl-dot.active span {
  background: #007bff;
  transform: scale(1.2); /* Dá um efeito de destaque */
}


/* CTA E BOTOÕES */
.btn-primary {
  background-color: #00b8d4;
  border-color: #00b8d4;
  color: #fff;
  transition: all 0.3s ease;
}
.btn-primary:hover {
  background-color: #0056b3;
  border-color: #00a8c0;
}

.cta-section {
  border-top: 1px solid rgba(255,255,255,0.08);
  background: #3cabab;
  color: #fff;
  text-align: center;
  padding: 4rem 1.5rem;
  width: 100%;
}
.cta-content h2 { font-size: 2.2rem; margin-bottom: 1.2rem; }
.cta-content p { font-size: 1.3rem; margin: 0 auto 2rem; max-width: 800px; }
.cta-btn {
  color: #fff;
  background: transparent;
  border: 2px solid #fff;
  padding: 0.9rem 1.8rem;
  font-size: 1.2rem;
  font-weight: bold;
  border-radius: 30px;
  transition: transform 0.3s ease;
}
.cta-btn:hover {
  background: #fff;
  color: #005f73;
  transform: scale(1.05);
}

/* FAQ */
.accordion-button:not(.collapsed) .rotating-icon {
  animation: rotateIcon 0.6s ease-in-out;
}
@keyframes rotateIcon { to { transform: rotate(180deg); } }

/* Modal custom */
.my-modal-overlay {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 100%;
  display: none; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.5);
  z-index: 9999;
}
.my-modal-overlay.active { display: flex; }
.my-modal { background: #fff; width: 90%; max-width: 500px; border-radius: 5px; padding: 20px 30px; animation: fadeInUp 0.5s ease; position: relative; }
.my-modal.closing { animation: fadeOutDown 0.5s ease forwards; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeOutDown { from { opacity: 1; transform: translateY(0); } to { opacity: 0; transform: translateY(20px); } }
.my-modal-close { position: absolute; top: 10px; right: 10px; background: transparent; border: none; font-size: 28px; cursor: pointer; }
.form-group { margin-bottom: 1rem; }
.form-control { width: 100%; padding: 0.5rem; border: 1px solid #ccc; border-radius: 3px; }
.modal-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 1rem; }

/* Preloader */
#preloader { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: #fff; display: flex; justify-content: center; align-items: center; z-index: 9999; }
.spinner { width: 50px; height: 50px; border: 6px solid #ccc; border-top-color: #007bff; border-radius: 50%; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Scroll to top */
#scrollToTop {
  position: fixed; bottom: 20px; right: 20px;
  width: 45px; height: 45px;
  background: #007bff;
  color: #fff;
  border: none;
  border-radius: 50%;
  display: none; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  z-index: 999;
}
#scrollToTop:hover { background: #0056b3; }
#scrollToTop.fadeIn { animation: fadeIn 0.3s forwards; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* WhatsApp float */
.whatsapp-float {
  position: fixed; bottom: 80px; right: 20px;
  width: 55px; height: 55px;
  background: #25d366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  z-index: 999;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.whatsapp-float svg,
#scrollToTop svg { pointer-events: none; fill: #fff; }
.whatsapp-float:hover { background: #20b954; }

/* Cookie Banner */
.cookie-banner {
  position: fixed; bottom: 0; width: 100%; background: #f8f9fa;
  padding: 15px 0; box-shadow: 0 -2px 5px rgba(0,0,0,0.1);
  z-index: 10000; display: none;
}
.cookie-banner .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.cookie-banner p { font-size: 14px; color: #333; margin: 0; }
.cookie-banner a { color: #007bff; text-decoration: underline; }
.cookie-banner .btn { margin-left: 10px; }

/* Footer */
.footer-section { background-color: #0f4b4b; width: 100%; }
.footer-section a { color: #d1d1d1; }
.footer-section a:hover { color: #008B8B; }

.copyright { border-top: 1px solid rgba(255,255,255,0.08); background: #007bff; }

.rodapé { background-color: #008B8B; }

.fs-7 { font-size: large; color: #777; }

p { color: #777; }
/* Estilizando a galeria para igualar alturas */
.gallery-section .row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch; /* Igualar alturas dos itens */
  margin: auto 0;
  
}

.gallery-section .col-lg-3 {
  display: flex;
  flex-direction: column;
}

.gallery-img-wrapper {
  flex: 1; /* Faz o contêiner ocupar todo o espaço disponível */
  min-height: 250px; /* Altura mínima, ajuste conforme necessário */
  overflow: hidden; /* Evita transbordo */
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Garante que a imagem preencha o espaço sem distorcer */
  transition: transform 0.3s ease; /* Efeito de hover suave */
}

.gallery-img:hover {
  transform: scale(1.05); /* Zoom leve ao passar o mouse */
}

/* Responsividade */
@media (max-width: 768px) {
  .gallery-img-wrapper {
    min-height: 200px; /* Ajuste para telas menores */
  }
}