* {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

     body {
      font-family: Arial, sans-serif;
    }

    html{
       scroll-behavior: smooth;
       
    }
  

    @import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
    @import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

     header {
      width: 100%;
      padding: 20px 40px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      position: fixed;
      top: 0;
      left: 0;
      z-index: 9999;
      background-color: #ffffff;
      border-bottom: 1px solid #e5e5e5;
    }

    .logo {
       font-family: "Poppins", sans-serif;
      font-size: 0.5rem;
      font-weight: bold;
      color: #111;
    }

  #menu {
  display: none;
  position: absolute;
  top: 60px;
  left: 0;
  width: 100%;
  background: #001b4b;
  flex-direction: column;
}

#menu a {
  color: white;
  text-decoration: none;
  padding: 20px;
  border-top: 1px solid #333;
}

#menu.active {
  display: flex;
}


.home{
  position: relative;
  width: 100%;
  min-height: 100vh;
  background-image: url('../img/man-electrical-technician-working-switchboard-with-fuses.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-start;
  padding: 80px 24px;
  overflow: hidden;
}

.overlay{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}

.content{
  position: relative;
  z-index: 2;
  max-width: 320px;
  color: #fff;
}

.content h1{
  font-size: 2.5rem;
  line-height: 1.1;
  font-weight: 700;
  margin-bottom: 20px;
  font-family: "Poppins", sans-serif;
}

.content p{
  font-size: 1.2rem;
  line-height: 1.5;
  margin-bottom: 30px;
  color: #ffffff;
  font-family: "Inter", sans-serif;
;
}

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 18px 20px;
  background: #0a7fd9;
  color: #fff;
  box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  border-radius: 12px;
  margin-bottom: 30px;
  font-family: "Poppins", sans-serif;
  transform: scale(1);
  transition: background-color 0.3s ease;
  transition: box-shadow 0.3s ease-in-out;
}

.btn:hover{
  background-color:#0976ca ;
  box-shadow: 3px 3px 9px rgba(0,0,0,0.4);
  transform: scale(1.1);
  transition: all 300ms ease;
}

.benefits{
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.benefits li{
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.benefits li::before{
  content: "✓";
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #0a7fd9;
  border-radius: 50%;
  color: #0a7fd9;
  font-size: 0.8rem;
}

.about{
  padding: 60px 24px;

  background: #f5f5f5;
}

.about h2{
  font-size: 2.5rem;
  font-weight: 700;

  color: #0d2346;

  margin-bottom: 30px;
}

.about p{
  font-size: 1.3rem;
  line-height: 1.5;
  color: #6b7280;
  margin-bottom: 30px;
}

.about strong{
  color: #0A1F44;
  font-weight: 700;
}
.services{
  padding: 60px 20px;

  background: #001b4b;
}

.services-header{
  margin-bottom: 30px;
}

.services-header h2{
  font-size: 2.2rem;
  font-weight: 700;

  color: #ffffff;

  margin-bottom: 12px;
}

.services-header p{
  font-size: 1rem;
  line-height: 1.5;
  color: #c7d2fe;
}

.services-list{
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.service-card{
  background: #0a2a63;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  overflow: hidden;
  transform: scale(1);
}

.service-card img{
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
  filter: brightness(50%);
}

.service-content{
  padding: 18px;
}

.service-content h3{
  font-size: 1.1rem;
  font-weight:bold;
  font-family: "Poppins", sans-serif;
  color: #ffffff;
  margin-bottom: 10px;

}

.service-content p{
  font-size: 0.95rem;
  line-height: 1.5;
  font-family: "Inter", sans-serif;
  color: #fff;
}

.service-card:hover{
  transition: all 400ms ease;
  transform: scale(1.05);
  border: 1px solid white;
}

.values{
  padding: 60px 20px;
  background: white;
}
.values_header{
  margin-bottom: 30px;
}

.values_header h2{
  display: grid;
  place-items: center;
  font-size: 2.2rem;
  font-weight: 700;

  color: #0a2a63;

  margin-bottom: 12px;
}

.values_list{
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 20px;
}

.values-card{
  background-color: white;
  width: 90%;
  border: 1px solid #001b4b;
  border-radius: 14px;
  overflow: hidden;
  display: grid;
  place-items: center;
  transform: scale(1);
}

.value_box{
  margin-top: 8px;
  width: 50px;
  height: 50px;
  background-color: #001b4b;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.value_box i{
  color: #ffffff;
  font-size: 25px;
}

.value_content{
  padding: 18px;
  font-size: 18px;
  text-align: center;
  color: #6B7280;
}

.values-card:hover{
  transform: scale(1.05);
  transition: all 400ms ease;
  border: 1px solid #0976ca;
  box-shadow: 1px 1px 3px rgba(0,0,0,0.4);
}

.values-card:hover .value_box{
  background-color: #0976ca;
  transition: all 400ms ease;
}

.costumer{
  padding: 70px 20px;

  background: #001b4b;
}
.costumer_header{
  margin-bottom: 30px;
  display: grid;
  place-items: center;
}

.costumer_header h2{
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}

.carousel {
  margin: 100px auto;
  width: 90%;
  display: flex;
  overflow-x: auto;
}

.carousel::-webkit-scrollbar{
  display: none;
}

.group{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2em;
  animation: spin 50s infinite linear;
  padding-right: 1em;
}

.card{
  position: relative;
  flex: 0 0 5em;
  height: 5em;
  padding: 1em;
  background: #ffff;
  font-size: 2.7rem;
  border-radius: .2em;
}

@keyframes spin {
  from {translate: 0;}
  to {translate: -100%;}
}

.card_header{
  position:absolute;
  top: -5px;
  left: 35px;
  z-index: 9999;
}

.fa-star{
  color: #0976ca;
  font-size: 40%;
}

.card_opinion {
  width: 250px;
  padding: 0px;

}

.card_opinion p {
  font-size: 17px;
  text-align: justi;
  margin-left: -8px;
}

.card_autor {
  font-size: 13px;
  margin-top:-8px;
  margin-left: -8px;
  padding-top: 15px;
  text-align: left;
}

.card_autor::before {
  content: "";
  display: block;
  width: 50px;
  height: 2px;
  background: #1E90FF;
  margin-bottom: 6px;
}

.questions{
  padding: 35px 20px;
  display: grid;
  place-items: center;
  background-color: #ffffff;
}

.questions h2{
  font-size: 2em;
  color: #001b4b
  ;
}

.accordion{
  margin-top: 20px;
  border: 1px solid #001b4b;
  background-color: transparent;
  border-radius: 8px;
  padding: 12px;
  cursor: pointer;
}

.accordion-header{
  width: 100%;
  border: none;
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content:space-between ;
  font-size: 16px;
  cursor: pointer;
}

.accordion-header span{
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 700;
  color: #001b4b;
}

.accordion-body{
  color: #444;
  font-size: 14px;
  opacity: 0;
  height: 0; 
  transition: opacity .4s;
  overflow: hidden;
}

.accordion-body.active{
  height: 100%;
  opacity: 1;
  border-top: 1px solid #001b4b;
  color: #6b7280;
  padding: 5px 0px;
  margin-top: 10px;
}

.arrow{
  color: #0976ca;
  transition: transform .2s linear;
}

.accordion:has(.active) .arrow{
  transform: rotate(180deg);
}

.cta{
  background-color: #001b4b;
}

.cta-header{
  padding: 35px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-header h2{
  font-size: 2.5em;
  color: #ffffff;
  text-align: center;
}

.cta-container{
  display: flex;
  align-items: center;
  justify-content: center;
  
}

.cta-container p{
  color: #fff;
  font-size: 20px;
  text-align: center;
}

.contato{
  width: 100%;
  padding: 50px;
  display: grid;
  place-items: center;
}




.btn-whats{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  padding: 18px 30px;
  background: #0a7fd9;
  border: none;
  color: #fff;
  box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  border-radius: 12px;
  margin: 20px auto;
  font-family: "Poppins", sans-serif;
  transform: scale(1);
  transition: background-color 0.3s ease;
  transition: box-shadow 0.3s ease-in-out;
}

.btn-whats:hover{
  background-color:#0976ca ;
  box-shadow: 3px 3px 9px rgba(0,0,0,0.4);
  transform: scale(1.1);
  transition: all 300ms ease;
}

.btn-whats i{
  margin-right: 10px;
  font-size: 24px; 
  display: flex;
  align-items: center;
}

.footer {
    background: #001b4b;
    border-top: 1px solid #837a7a;
    color: white;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    padding: 40px;
}

.footer-col {
    flex: 1;
    min-width: 200px;
}

.logo-col {
    max-width: 300px;
}

.logo-box {
    width: 60px;
    height: 60px;
    background: #1E90FF;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.company-info h3 {
    margin: 0;
}

.subtitle {
    color: #1E90FF;
    margin: 0;
}

.description {
    margin-top: 10px;
    color: #ccc;
}

.footer h4 {
    margin-bottom: 10px;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 8px;
}

.footer a {
    color: #ccc;
    text-decoration: none;
}




.direitos{
  background-color: #001b4b;
  padding: 20px 0px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 1px solid;
}

.direitos p {
  color: #6B7280;
}

.whatsapp-float{
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999 ;
}

.whatsapp-float img{
  width: 55px;
  height: 55px;
  transform: scale(1);
}

.whatsapp-float img:hover{
  transform: scale(1.1);
}

@media (min-width: 1024px) {

  header {
    padding: 20px 80px;
  }

  .logo {
    font-size: 0.8rem;
  }

  /* HOME */
  .home {
    align-items: center;
    padding: 120px 80px;
  }

  .content {
    max-width: 650px;
  }

  .content h1 {
    font-size: 5rem;
  }

  .content p {
    font-size: 1.4rem;
    max-width: 600px;
  }

  .btn {
    width: fit-content;
    padding: 18px 40px;
  }

  .benefits {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
  }

  /* ABOUT */
  .about {
    padding: 100px 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .about h2 {
    font-size: 3rem;
  }

  .about p {
    max-width: 900px;
    font-size: 1.2rem;
  }

  /* SERVICES */
  .services {
    padding: 100px 80px;
  }

  .services-header {
    text-align: center;
    margin-bottom: 60px;
  }

  .services-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .service-card:last-child{
    grid-column: 2/3;
  }

  .service-card img {
    height: 220px;
  }

  /* VALUES */
  .values {
    padding: 100px 80px;
  }

  .values_list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .values-card:last-child{
    grid-column: 2/3;
  }



  .values-card {
    width: 100%;
  }

  /* DEPOIMENTOS */
  .costumer {
    padding: 100px 80px;
  }

  .carousel {
    width: 100%;
  }

  .card {
    flex: 0 0 10em;
    height: auto;
    min-height: 250px;
    
    
  }

  /* FAQ */
  .questions {
    padding: 100px 80px;
  }

  .accordion {
    width: 800px;
  }

  /* CTA */
  .cta-header h2 {
    font-size: 4rem;
    max-width: 900px;
  }

  .cta-container p {
    max-width: 800px;
    font-size: 1.3rem;
  }

  /* CONTATO */
  .contato {
    padding: 100px 80px;
  }

  /* FOOTER */
  .footer {
    justify-content: center;
    gap: 80px;
    padding: 60px 80px;
  }

  
  .footer-col,
  .logo-col {
   min-width: 220px;
  }

  

  /* MENU DESKTOP */
  .menu-btn {
    display: none;
  }

  #menu {
    display: flex !important;
    position: static;
    flex-direction: row;
    width: auto;
    background: transparent;
    gap: 30px;
  }

  #menu a {
    border: none;
    color: #001b4b;
    padding: 0;
    font-weight: 600;
  }

  #menu a:hover {
    color: #0976ca;
  }

}