/* Reset e Estilos Gerais */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Roboto", sans-serif;
  line-height: 1.6;
  color: #333;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

.btn {
  display: inline-block;
  background-color: #f26522; /* Cor primária */
  color: #fff;
  padding: 12px 30px;
  border-radius: 4px;
  font-weight: 500;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.btn:hover {
  background-color: #d55314; /* Versão mais escura da cor primária */
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 36px;
  margin-bottom: 50px;
  position: relative;
  color: #333;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: #f26522; /* Cor primária */
}

.bg-light {
  background-color: #f9f9f9;
}

/* Header */
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: all 0.3s ease;
}

#header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  height: 60px;
}

.logo img {
  height: 100%;
}

.menu {
  display: flex;
}

.menu li {
  margin-left: 25px;
}

.menu a {
  font-weight: 500;
  position: relative;
  padding: 5px 0;
}

.menu a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #f26522; /* Cor primária */
  transition: width 0.3s ease;
}

.menu a:hover::after,
.menu a.active::after {
  width: 100%;
}

.mobile-menu-icon {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  width: 100%;
  background-color: #fff;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  z-index: 999;
  padding: 20px 0;
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}

.mobile-menu.active {
  transform: translateY(0);
}

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mobile-menu li {
  margin: 10px 0;
}

.mobile-menu a {
  font-weight: 500;
  font-size: 18px;
}

/* Banner */
.banner {
  height: 60vh;
  background-image: url("../images/banner.jpg");
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  text-align: center;
  color: #fff;
  margin-top: 80px;
}

.banner .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}

.banner-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.banner-content h1 {
  font-size: 48px;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.banner-content p {
  font-size: 20px;
  margin-bottom: 30px;
}

/* Quem Somos */
.about-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.about-image {
  flex: 1;
}

.about-text {
  flex: 1;
}

.about-text h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #f26522; /* Cor primária */
}

.about-text p {
  margin-bottom: 25px;
}

/* Serviços */
.services-split {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-split-item {
  background-color: #ffffff;
  padding: 40px 30px;
  border-radius: 5px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-split-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-split-icon {
  font-size: 50px;
  color: #f26522; /* Cor primária */
  margin-bottom: 25px;
}

.service-split-item h3 {
  font-size: 22px;
  margin-bottom: 20px;
  color: #3a3a3a;
}

.service-split-item p {
  margin-bottom: 25px;
  color: #666;
}

/* Certificações */
.certifications-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.certification-item {
  text-align: center;
  background-color: #ffffff;
  padding: 30px;
  border-radius: 5px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  width: 300px;
  max-width: 100%;
}

.certification-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.certification-image {
  margin-bottom: 20px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.certification-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 5px;
  transition: transform 0.3s ease;
}

.certification-item:hover .certification-image img {
  transform: scale(1.05);
}

.certification-item h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #3a3a3a;
}

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

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 5px;
  height: 250px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: #fff;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-overlay h3 {
  font-size: 18px;
  margin-bottom: 5px;
}

/* Marcas - Nova versão estática */
.partners-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.partner-item {
  background-color: #fff;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(20% - 30px);
  height: 120px;
  transition: all 0.3s ease;
}

.partner-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.partner-item img {
  max-width: 100%;
  max-height: 80px;
  object-fit: contain;
  transition: box-shadow 0.3s ease;
}

/* Sombra ao passar o mouse */
.partner-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Contato */
.contact-container {
  display: flex;
  gap: 50px;
}

.contact-info,
.contact-whatsapp {
  flex: 1;
}

.contact-info h3,
.contact-whatsapp h3 {
  font-size: 24px;
  margin-bottom: 25px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.info-item i {
  font-size: 20px;
  color: #f26522; /* Cor primária */
  margin-right: 15px;
  margin-top: 3px;
}

.social-links {
  display: flex;
  margin-top: 30px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #f26522; /* Cor primária */
  color: #fff;
  border-radius: 50%;
  margin-right: 15px;
  transition: all 0.3s ease;
}

.social-link:hover {
  background-color: #d55314; /* Versão mais escura da cor primária */
  transform: translateY(-3px);
}

/* WhatsApp na seção de contato */
.contact-whatsapp {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-whatsapp h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #333;
}

.contact-whatsapp p {
  margin-bottom: 20px;
  color: #666;
}

.btn-whatsapp {
  background-color: #25d366;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 18px;
  padding: 15px 30px;
  margin-bottom: 20px;
}

.btn-whatsapp:hover {
  background-color: #128c7e;
}

.btn-whatsapp i {
  font-size: 24px;
}

.whatsapp-info {
  background-color: #f9f9f9;
  padding: 15px;
  border-radius: 5px;
  margin-top: 20px;
}

.whatsapp-info p {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  font-size: 14px;
  color: #666;
}

.whatsapp-info p:last-child {
  margin-bottom: 0;
}

.whatsapp-info i {
  color: #25d366;
  margin-right: 10px;
  font-size: 16px;
}

/* Botão flutuante de WhatsApp */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  background-color: #128c7e;
  transform: scale(1.1);
  animation: none;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Footer */
#footer {
  background-color: #222;
  color: #fff;
  padding: 60px 0 20px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
}

.footer-logo,
.footer-links,
.footer-contact {
  flex: 1;
}

.footer-logo img {
  height: 60px;
  margin-bottom: 15px;
}

.footer-logo p {
  color: #aaa;
}

.footer-links h3,
.footer-contact h3 {
  font-size: 20px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-links h3::after,
.footer-contact h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: #f26522; /* Cor primária */
}

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

.footer-links ul li a {
  color: #aaa;
  transition: color 0.3s ease;
}

.footer-links ul li a:hover {
  color: #f26522; /* Cor primária */
}

.footer-contact p {
  color: #aaa;
  margin-bottom: 10px;
}

.footer-contact i {
  color: #f26522; /* Cor primária */
  margin-right: 10px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #444;
  color: #aaa;
}

/* Responsividade */
@media (max-width: 1024px) {
  .services-split {
    grid-template-columns: repeat(2, 1fr);
  }

  .certifications-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .partner-item {
    width: calc(25% - 30px); /* 4 itens por linha em tablets */
  }
}

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 30px;
    margin-bottom: 40px;
  }

  .menu {
    display: none;
  }

  .mobile-menu-icon {
    display: block;
  }

  .mobile-menu {
    display: block;
  }

  .banner-content h1 {
    font-size: 36px;
  }

  .banner-content p {
    font-size: 18px;
  }

  .about-content {
    flex-direction: column;
    gap: 30px;
  }

  .services-split,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .partner-item {
    width: calc(50% - 30px); /* 2 itens por linha em mobile */
  }

  .contact-container {
    flex-direction: column;
  }

  .footer-content {
    flex-direction: column;
    gap: 30px;
  }

  .whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 25px;
    bottom: 20px;
    right: 20px;
  }
}

@media (max-width: 576px) {
  .certifications-grid {
    grid-template-columns: 1fr;
  }

  .banner-content h1 {
    font-size: 28px;
  }

  .banner-content p {
    font-size: 16px;
  }
}
