/* Poppins */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  transition: all 0.4s ease;
}

/* Poppins */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  transition: all 0.4s ease;
}

/* Cores (variáveis globais) */
:root {
  --body-color-light: #e4e9f7;
  --nav-color-light: #ffff;
  --side-nav-light: #010718;
  --text-color-white: #fff;
  --text-color-black: #000;
  --text-color-light: #464a50;
  --title-color-light: #333333;

  --body-color-dark: #1b1b1b;
  --nav-color-dark: #242526;
  --side-nav-dark: #242526;
  --color-light: #e4e9f7;
  --text-color-dark: #e4e9f7;
  --title-color-dark: #e4e9f7;
  --nav-color-dark2: #1e1e1e;
}

body {
  background-color: var(--body-color-light);
  color: var(--text-color-light);
}

body.dark {
  background-color: var(--body-color-dark);
  color: var(--text-color-dark);
}

nav {
  background-color: var(--nav-color-light);
}

body.dark nav {
  background-color: var(--nav-color-dark2);
  box-shadow:  0 0 14px #000;
  border-bottom: 1px solid #1e1e1e;
}

body.dark .titleServices,
body.dark .titleSectors,
body.dark .about-title {
  color: var(--title-color-dark);
}

.sector-item p,
.service-title,
.text-content {
  color: var(--text-color-light);
}

body.dark .sector-item p,
body.dark .service-title,
body.dark .text-content {
  color: var(--text-color-dark);
}

body.dark .footer {
  background-color: #1e1e1e;
}

body.dark .footer a,
body.dark .footer p {
  color: #e0e0e0;
}

#logoImg{
  max-width: 100%;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  height: 70px;
  width: 100%;
  z-index: 100;
}

nav .nav-bar {
  position: relative;
  height: 100%;
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#main-nav {
  background-color: rgba(0, 0, 0, 0);
  box-shadow: none;
  border: none;
}

nav .nav-bar .sidebarOpen {
  color: var(--text-color-white);
  font-size: 25px;
  padding: 5px;
  cursor: pointer;
  display: none;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  height: 70px;
  width: 100%;
  z-index: 100;
  transition: background-color 0.3s ease;
}

nav.scrolled {
  background-color: rgb(85, 85, 85);
}

.logo {
  flex: 0 0 30%;
  max-width: 25%;
  cursor: pointer;
}

@media screen and (max-width: 790px) {
  nav .nav-bar .sidebarOpen {
    display: block;
  }

  #logoImg{
    max-width: 125%;
    margin-left: -15px;
  }

  nav .nav-bar img.logo {
    width: 100%;
    max-width: 200px;
    height: auto;
    position: fixed;
    left: 50%;
    top: 3.5%;
    transform: translate(-50%, -50%);
    text-align: center;
  }
}

@media screen and (max-width: 610px){
  #logoImg{
    max-width: 150%;
    margin-left: -15px;
  }
}


@media screen and (max-width: 420px){
  #logoImg{
    max-width: 200%;
    margin-left: -15px;
  }
}

nav .nav-bar .logo a {
  font-size: 25px;
  font-weight: 500;
  color: var(--text-color-white);
  text-decoration: none;
}

.menu .logo-toggle {
  display: none;
}

.nav-bar .main-nav-links {
  display: flex;
  align-items: center;
}

.nav-bar .main-nav-links li {
  margin: 0 5px;
  list-style: none;
}

.main-nav-links li a {
  position: relative;
  font-size: 17px;
  font-weight: bold;
  color: var(--text-color-white);
  text-decoration: none;
  padding: 10px;
}

body.dark .main-nav-links li a {
  color: var(--text-color-dark);
  font-weight: 400;
}

.main-nav-links li a::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 4px;
  transition: width 0.3s ease-in-out, left 0.3s ease-in-out;
  transform: translateX(-50%);
  background-image: linear-gradient(
    to right,
    rgba(13, 51, 95, 1),
    rgba(60, 105, 130, 1)
  );
  border-radius: 5px;
}

.activate-nav-link {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 4px;
  background-image: linear-gradient(
    to right,
    rgba(13, 51, 95, 1),
    rgba(60, 105, 130, 1)
  );
  border-radius: 5px;
}

/* Estilo do link ativo */
.main-nav-links li a.active::before {
  width: 65%;
  left: 15%;
  transform: none;
}

/* Desabilitar hover para link ativo */
.main-nav-links li a.active:hover::before {
  width: 65%;
  left: 15%;
  transform: none;
}

/* Efeito ao passar o mouse sobre o link */
.main-nav-links li:hover a::before {
  width: calc(100% - 20px);
  transform: translateX(-50%) scaleX(0.8);
}

.nav-bar .darkLight-searchBox {
  display: flex;
  align-items: center;
}

.darkLight-searchBox .dark-light,
.darkLight-searchBox .searchToggle {
  height: 40px;
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 5px;
}

.dark-light i,
.searchToggle i {
  position: absolute;
  color: var(--text-color-white);
  font-size: 22px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dark-light i.moon {
  color: var(--text-color-black); /* Define a cor do ícone da lua para preto */
}

.dark-light i.sun {
  opacity: 0;
  pointer-events: none;
}

.dark-light.active i.sun {
  opacity: 1;
  pointer-events: auto;
}

.dark-light.active i.moon {
  opacity: 0;
  pointer-events: none;
}

/* .searchToggle i.cancel {
  opacity: 0;
  pointer-events: none;
}

.searchToggle.active i.cancel {
  opacity: 1;
  pointer-events: auto;
}

.searchToggle.active i.search {
  opacity: 0;
  pointer-events: none;
} */

/* .searchBox {
  position: relative;
}

.searchBox .search-field {
  position: absolute;
  bottom: -85px;
  right: 5px;
  height: 50px;
  width: 300px;
  display: flex;
  align-items: center;
  background-color: var(--nav-color);
  padding: 3px;
  border-radius: 6px;
  box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}

.searchToggle.active ~ .search-field {
  bottom: -74px;
  opacity: 1;
  pointer-events: auto;
}

.search-field::before {
  content: "";
  position: absolute;
  right: 14px;
  top: -4px;
  height: 12px;
  width: 12px;
  background-color: var(--nav-color);
  transform: rotate(-45deg);
  z-index: -1; 
}

/* .search-field input {
  height: 100%;
  width: 100%;
  padding: 0 45px 0 15px;
  outline: none;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 400;
  color: var(--search-text);
  background-color: var(--search-bar);
} */

body.dark .search-field input {
  color: var(--text-color-white);
}

/* .search-field i {
  position: absolute;
  color: var(--nav-color);
  right: 15px;
  font-size: 22px;
  cursor: pointer;
} */

body.dark .search-field i {
  color: var(--text-color-white);
}

@media (max-width: 790px) {
  nav .nav-bar .sidebarOpen {
    display: block;
  }

  .menu {
    position: fixed;
    height: 100%;
    width: 275px;
    left: -100%;
    top: 0;
    padding: 20px;
    background-color: var(--side-nav-light);
    z-index: 100;
    transition: all 0.4s ease;
  }

  .menu.dark{
    background-color: var(--side-nav-dark);
  }

  nav.active .menu {
    left: -0%;
  }

  nav.active .nav-bar .navLogo a {
    opacity: 0;
    transition: all 0.3s ease;
  }

  .menu .logo-toggle {
    display: block;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .logo-toggle .siderbarClose {
    color: var(--text-color-white);
    font-size: 24px;
    cursor: pointer;
  }

  .nav-bar .main-nav-links {
    flex-direction: column;
    padding-top: 30px;
  }

  .nav-bar .nav-links {
    flex-direction: column;
    padding-top: 30px;
  }

  .nav-links li a {
    display: block;
    margin-top: 20px;
  }

  .main-nav-links li a {
    display: block;
    margin-top: 20px;
  }
}

/* Carousel */

.carousel-inner .item {
  height: 85vh;
}

.banner {
  -webkit-transition: all 1s ease;
  transition: all 1s ease;
  -webkit-background-size: cover;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  height: 85vh;
}

.carousel-content {
  position: absolute;
  bottom: 80px;
  right: 120px;
  color: #ffffff;
}

.carousel-title {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 5px;
}

.carousel-text p {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 20px;
  font-weight: 400;
}

@media (max-width: 610px) {
  .carousel-title{
    font-size: 20px;
  }

  .carousel-text p{
    font-size: 16px;
  }

  .carousel-text{
    display: grid;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .carousel-content{
    transform: translate(25%, 0);
  }
}

@media (max-width: 440px){
  .carousel-content{
    transform: translate(30%, 0);
  }
}

/* Cards de Serviço */

.titleServices {
  text-align: center;
  position: relative;
}

.titleServices::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 5px;
  border-radius: 20px;
  background-image: linear-gradient(
    135deg,
    rgba(13, 51, 95, 1),
    rgba(60, 105, 130, 1)
  );
}

.service-container {
  text-align: center;
  margin-top: 25px;
}

.service-card {
  position: relative;
  display: inline-block;
  width: calc(30% - 20px);
  margin: 20px;
  background-color: transparent;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.service-card:hover {
  transform: scale(1.05);
}

@media screen and (max-width: 768px) {
  .service-card {
    width: 90%;
  }
}

@media screen and (min-width: 1200px) {
  .service-card {
    width: calc(30% - 20px);
    margin: 15px;
    border-radius: 10px;
  }
}

@media screen and (min-width: 1500px) {
  .service-card {
    width: calc(30% - 30px);
    margin: 20px;
    border-radius: 10px;
  }
}

@media screen and (min-width: 1920px) {
  .service-card {
    width: calc(30% - 30px);
    margin: 30px;
    border-radius: 10px;
  }
}

.service-image {
  height: 280px;
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.service-card:hover .service-image {
  transform: scale(1.1);
}

.service-info {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  padding: 10px;
}

.service-title {
  font-size: 20px;
  margin-bottom: 10px;
  color: #fff;
  font-weight: bold;
  padding: 10px;
  border-radius: 5px;
}

.service-description {
  font-size: 14px;
  color: #ffffff;
}

.service-container {
  text-align: center;
}

.center-button {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 0px;
}

.green-button:hover {
  background-position: 100% 0;
  -moz-transition: all 0.4s ease-in-out;
  -o-transition: all 0.4s ease-in-out;
  -webkit-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
  text-decoration: none;
}

.green-button {
  color: white;
  border: none;
  padding: 15px 30px;
  font-size: 18px;
  border-radius: 30px;
  cursor: pointer;
  margin-top: 10px;
  background-size: 300% 100%;
  -o-transition: all 0.4s ease-in-out;
  -webkit-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
  background-image: linear-gradient(
    to right,
    rgba(13, 51, 95, 1),
    rgba(60, 105, 130, 1),
    rgb(62 165 181),
    rgba(60, 105, 130, 1),
    rgba(13, 51, 95, 1)
  );
}

.service-image.cleaning {
  background-image: url("images/limpeza-e-conservacao/limpeza.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.service-image.security {
  background-image: url("images/manutencao-industrial/imageHome-manutencaoIndustrial.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.service-image.reception {
  background-image: url("images/manutencao-eletrica/manutencaoEletrica5.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

@media screen and (max-width: 768px) {
  .service-image.cleaning {
    background-size: contain;
    background-repeat: no-repeat;
  }
  .service-image.security {
    background-size: contain;
    background-repeat: no-repeat;
  }
  .service-image.reception {
    background-size: contain;
    background-repeat: no-repeat;
  }
}

/* Setores */

.titleSectors {
  text-align: center;
  position: relative;
  margin-top: 40px;
}

.titleSectors::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 5px;
  border-radius: 20px;
  background-image: linear-gradient(
    to right,
    rgba(13, 51, 95, 1),
    rgba(60, 105, 130, 1)
  );
}

@media screen and (max-width: 768px) {
  .titleSectors::after {
    width: 80px;
  }
}

.sector-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.sector-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.sector-item {
  flex-basis: calc(33.33% - 20px);
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.sector-item img {
  width: 100px;
  height: 100px;
  margin-bottom: 10px;
  transition: filter 0.4s ease;
}

.sector-item p {
  font-family: "Poppins", sans-serif;
  font-weight: bold;
  color: #464a50;
  font-size: 25px;
}

@media screen and (max-width: 768px) {
  .sector-item {
    flex-basis: calc(50% - 20px);
  }
}

/* Sobre Nós*/

.linha-divisora {
  position: relative;
  margin: 20px 0;
}

.linha-divisora::after {
  content: "";
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 5px;
  border-radius: 20px;
  background-image: linear-gradient(
    to right,
    rgba(13, 51, 95, 1),
    rgba(60, 105, 130, 1)
  );
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.content {
  display: flex;
  align-items: center;
}

.image-container {
  flex: 1;
}

.reuniao-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.text-container {
  flex: 1;
  padding-left: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: 0;
  margin: 0px 20px;
}

.text-content {
  font-size: 16px;
  margin-bottom: 20px;
  font-family: "Poppins", sans-serif;
  color: #125a94;
  font-weight: 500;
}

.button:hover {
  background-position: 100% 0;
  -moz-transition: all 0.4s ease-in-out;
  -o-transition: all 0.4s ease-in-out;
  -webkit-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
}

.button {
  align-self: center;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 30px;
  cursor: pointer;
  margin-top: 10px;
  max-width: 250px;
  width: 100%;
  background-size: 300% 100%;
  -o-transition: all 0.4s ease-in-out;
  -webkit-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
  background-image: linear-gradient(
    to right,
    rgba(13, 51, 95, 1),
    rgba(60, 105, 130, 1),
    rgb(62 165 181),
    rgba(60, 105, 130, 1),
    rgba(13, 51, 95, 1)
  );
}

.about-title {
  display: none;
}

@media screen and (max-width: 1200px) {
  .content {
    flex-direction: column;
    text-align: justify;
  }

  .image-container {
    display: none;
  }

  .text-container {
    padding-left: 0;
    margin-top: -10px;
  }

  .about-title {
    display: block;
    text-align: center;
    font-family: "Poppins", sans-serif;
    margin-top: -20px;
  }
}

/*FOOTER*/
.footer {
  background: rgb(59, 96, 123);
  width: 100%;
  margin-top: 50px;
  padding: 20px;
  padding-top: 80px;
  font-size: 20px;
  color: var(--text-color-white);
}

.col-md-3 {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 15px;
}


.logo-footer {
  max-width: 60%;
  cursor: pointer;
  margin-top: 20px;
}

.hr-line {
  display: inline-block;
  margin: 8px;
  margin-right: 10px;
  position: relative;
  font-size: 2.5rem;
}

.hr-line::after {
  content: "";
  height: 3px;
  width: 6rem;
  top: 1.75rem;
  background: white;
  border-radius: 4px;
  position: absolute;
  right: -8rem;
}

.ul-footer {
  padding-left: 30px;
  font-size: 1.75rem;
}

.ul-footer a {
  color: var(--text-color-white);
}

.ul-footer:hover a {
  color: var(--text-color-white);
  text-decoration: none;
  cursor: pointer;
}

.direitos-autorais {
  margin-top: 30px;
}

#icon-whats{
  font-size: 24px;
}

#icon-email{
  font-size: 22px;
  margin-left: 1px;
}

#icon-locate{
  font-size: 24px;
}

.teste {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.teste p {
  margin: 0;
  padding-left: 10px;
}

.contatos {
  margin-top: 10px;
  margin-left: 10px;
  display: flex;
  align-items: center;
  font-size: 1.75rem;
  max-width: 260px;
}

.contatos p {
  margin: 0;
  margin-left: 12px;
}

.social-media {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border-style: solid;
  border-width: 3px;
  padding: 9px;
  width: 41px;
  height: 41px;
  margin-right: 10px;
  transition: 0.3s ease-in-out;
  transition-property: color, background-color, background-size, border-color,
    box-shadow;
}

.icon-media {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 11px;
  width: 41px;
  height: 41px;
}

#insta:hover {
  background: #e4405f;
  border-color: #e4405f;
  cursor: pointer;
}

#youtube:hover {
  background: red;
  border-color: red;
  cursor: pointer;
}

#facebook:hover {
  background: #0a66c2;
  border-color: #0a66c2;
  cursor: pointer;
}

.social-media-container {
  padding-left: 1rem;
  display: grid;
  grid-template-columns: 75px 75px 75px;
}

.social-media-container:hover a{
  text-decoration: none;
  color: #fff;
}

.social-media-container a:visited{
  text-decoration: none;
  color: inherit;
}

.social-media-container a{
  color: #fff;
}

.social-media-adjustment{
  position: relative;
  left: -20px;
}

@media screen and (max-width: 1400px){
  .logo-footer{
    max-width: 70%;
  }
}

@media screen and (max-width: 1200px){
  .logo-footer{
    max-width: 80%;
  }
}

@media screen and (max-width: 1100px){
  .logo-footer{
    max-width: 90%;
  }
}

@media screen and (max-width: 991px) {
  .row {
    display: math;
  }

  .logo-footer{
    max-width: 30%;
    cursor: pointer;
    margin-bottom: 20px;
  }
}

@media screen and (max-width: 550px){
  .logo-footer{
    max-width: 45%;
    margin-bottom: 0px;
  }

  .teste p{
    font-size: 16px;
  }

  .hr-line{
    font-size: 2.25rem
  }

  .ul-footer{
    font-size: 1.5rem;
  }

  .ul-footer li{
    padding-bottom: 5px;
  }

  .contatos{
    font-size: 1.5rem;
  }

  .service-adjustment{
    position: relative;
    left: -18px;
  }
}

@media screen and (max-width: 445px){
  .teste{
    align-items: flex-start;
  }
}

@media screen and (max-width: 440px){
  .logo-footer{
    max-width: 55%;
  }
}

@media screen and (max-width: 520px){
  .sector-item img{
    width: 80px;
    height: 80px;
  }

  .sector-item p{
    font-size: 20px;
  }
}

@media screen and (max-width: 440px){
  .sector-item img{
    width: 65px;
    height: 65px;
  }

  .sector-item p{
    font-size: 16px;
  }
}

