/* Base Styles */
:root {
  --primary-color: #0056b3;
  --primary-dark: #003d7a;
  --secondary-color: #f8f9fa;
  --accent-color: #ffc107;
  --text-color: #333;
  --light-text: #777;
  --white: #fff;
  --gray-light: #f8f9fa;
  --gray-medium: #e9ecef;
  --gray-dark: #6c757d;
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--secondary-color);
  overflow-x: hidden;
}

/* regra para suavizar a rolagem */
html {
  scroll-behavior: smooth;
}

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

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

ul {
  list-style: none;
}

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

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: var(--box-shadow);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 30px;
  text-align: center;
  position: relative;
  color: var(--primary-color);
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: var(--accent-color);
  margin: 15px auto 0;
}

/* Header Styles */
.header {
  background-color: var(--white);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  padding: 15px 0;
}

.header.scrolled {
  padding: 10px 0;
}

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

.logo img {
  height: 50px;
  transition: var(--transition);
}

.header.scrolled .logo img {
  height: 40px;
}

.nav-list {
  display: flex;
  gap: 30px;
}

.nav-list li a {
  padding: 10px 0;
  font-weight: 500;
  position: relative;
}

.nav-list li a::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.nav-list li a:hover::after,
.nav-list li a.active::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-color);
}

/* Hero Section */
.hero {
  height: 100vh;
  min-height: 500px;
  background: url('../images/hero-bg.jpg') no-repeat center center/cover;
  display: flex;
  align-items: center;
  position: relative;
  margin-top: 80px;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  text-align: center;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Clients Section */
.clients-section {
  padding: 40px 0;
  background-color: var(--primary-color);
  margin: 60px 0;
  overflow: hidden;
}

.clients-section .section-title {
  color: var(--white);
}

.client-track {
  display: flex;
  gap: 40px;
  animation: scroll 20s linear infinite;
  padding: 20px 0;
  align-items: center;
  width: calc(120px * 12);
}

.client-item {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 120px;
}

.client-item img {
  width: 80px;
  height: 60px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.client-item span {
  color: var(--white);
  font-size: 0.8rem;
  margin-top: 8px;
  text-align: center;
}

@keyframes scroll {
  0% {
      transform: translateX(0);
  }
  100% {
      transform: translateX(calc(-120px * 6));
  }
}

/* Carousel Selector */

/* Regra para garantir que a seção ativa seja visível */
.carousel-container {
  display: none;
  padding: 40px 0;
}

.carousel-container.active {
  display: block;
}

/* */
.carousel-selector {
  padding: 60px 0;
}

.selector-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.selector-btn {
  padding: 10px 20px;
  border-radius: 30px;
  background-color: var(--gray-medium);
  color: var(--text-color);
  font-weight: 500;
  transition: var(--transition);
  border: 2px solid transparent;
  font-size: 0.9rem;
}

.selector-btn:hover, 
.selector-btn.active {
  background-color: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}

.carousel-container {
  display: none;
}

.carousel-container.active {
  display: block;
}

.carousel {
  position: relative;
  overflow: hidden;
}

.carousel-items {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-item {
  min-width: 100%;
  padding: 0 15px;
  text-align: center;
}

.carousel-item img {
  border-radius: 8px;
  margin-bottom: 20px;
  height: 300px;
  width: 100%;
  object-fit: cover;
  box-shadow: var(--box-shadow);
}

.carousel-item h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.carousel-item p {
  color: var(--light-text);
  max-width: 600px;
  margin: 0 auto;
}

.carousel-prev,
.carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.8);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  border: none;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  z-index: 10;
}

.carousel-prev:hover,
.carousel-next:hover {
  background-color: var(--white);
}

.carousel-prev {
  left: 10px;
}

.carousel-next {
  right: 10px;
}

/* About Section */
.about-section {
  padding: 60px 0;
  background-color: var(--white);
}

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

.about-text {
  flex: 1;
}

.about-image {
  flex: 1;
}

.about-image img {
  border-radius: 8px;
  box-shadow: var(--box-shadow);
}

.about-features {
  margin-top: 20px;
}

.about-features li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.about-features i {
  color: var(--primary-color);
  margin-right: 10px;
  font-size: 1.1rem;
}

/* Contact Section */
.contact-section {
  padding: 60px 0;
  background-color: var(--gray-light);
}

.contact-content {
  display: flex;
  gap: 40px;
}

.contact-form {
  flex: 1;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--gray-medium);
  border-radius: 4px;
  font-family: 'Poppins', sans-serif;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.2);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.contact-info {
  flex: 1;
}

.info-box {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
  align-items: flex-start;
}

.info-icon {
  width: 45px;
  height: 45px;
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.info-text h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
  color: var(--primary-color);
}

.info-text p {
  color: var(--light-text);
  font-size: 0.9rem;
}

.map-container {
  margin-top: 30px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  height: 250px;
}

/* Footer */
.footer {
  background-color: var(--text-color);
  color: var(--white);
  padding: 50px 0 0;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between; /* Adicionado para melhor distribuição */
}

.footer-col {
  flex: 1;
  min-width: 250px;
  margin-bottom: 30px;
}

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

.footer-col p {
  color: var(--gray-medium);
  margin-bottom: 15px;
  font-size: 0.9rem;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.9rem;
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

.footer-col h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--accent-color);
}

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

.footer-col ul li a {
  color: var(--gray-medium);
  transition: var(--transition);
  font-size: 0.9rem;
}

.footer-col ul li a:hover {
  color: var(--white);
  padding-left: 5px;
}

/* Removida a seção .newsletter-form */

.footer-bottom {
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 30px;
}

.footer-bottom p {
  color: var(--gray-medium);
  margin-bottom: 10px;
  font-size: 0.8rem;
  width: 100%;
  text-align: center;
}

.footer-bottom a:hover {
  color: var(--accent-color);
}

.footer-links {
  display: flex;
  gap: 20px;
  justify-content: center;
  width: 100%;
}

.footer-links a {
  color: var(--gray-medium);
  transition: var(--transition);
  font-size: 0.8rem;
}

.footer-links a:hover {
  color: var(--white);
}


/* WhatsApp Button */
.whatsapp-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.8rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 999;
  transition: var(--transition);
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .hero-title {
      font-size: 2.5rem;
  }
  
  .hero-subtitle {
      font-size: 1.1rem;
  }
  
  .about-content {
      gap: 30px;
  }
  
  .contact-content {
      gap: 30px;
  }
}

@media (max-width: 768px) {
  .mobile-menu-btn {
      display: block;
  }
  
  .nav-list {
      position: fixed;
      top: 80px;
      left: -100%;
      width: 100%;
      height: calc(100vh - 80px);
      background-color: var(--white);
      flex-direction: column;
      align-items: center;
      justify-content: flex-start;
      gap: 20px;
      padding-top: 40px;
      box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
      transition: var(--transition);
      z-index: 999;
  }
  
  .nav-list.active {
      left: 0;
  }
  
  .hero {
      min-height: 450px;
      margin-top: 70px;
  }
  
  .hero-title {
      font-size: 2rem;
  }
  
  .section-title {
      font-size: 2rem;
      margin-bottom: 20px;
  }
  
  .section-title::after {
      width: 60px;
      height: 3px;
      margin: 10px auto 0;
  }
  
  .client-track {
      gap: 30px;
  }
  
  .client-item {
      min-width: 100px;
  }
  
  .carousel-item img {
      height: 250px;
  }
  
  .about-content {
      flex-direction: column;
  }
  
  .about-image {
      margin-top: 30px;
  }
  
  .contact-content {
      flex-direction: column;
  }
  
  .contact-info {
      margin-top: 30px;
  }
}

@media (max-width: 480px) {
  .hero {
      min-height: 400px;
  }
  
  .hero-title {
      font-size: 1.8rem;
  }
  
  .hero-subtitle {
      font-size: 1rem;
  }
  
  .selector-buttons {
      gap: 10px;
  }
  
  .selector-btn {
      padding: 8px 15px;
      font-size: 0.8rem;
  }
  
  .carousel-item img {
      height: 200px;
  }
  
  .carousel-item h3 {
      font-size: 1.3rem;
  }
  
  .carousel-prev,
  .carousel-next {
      width: 40px;
      height: 40px;
      font-size: 0.8rem;
  }
  
  .client-item {
      min-width: 80px;
  }
  
  .client-item img {
      width: 60px;
      height: 40px;
  }
  
  .info-box {
      flex-direction: column;
      align-items: center;
      text-align: center;
  }
  
  .info-icon {
      margin-bottom: 10px;
  }
  
  .whatsapp-btn {
      width: 50px;
      height: 50px;
      font-size: 1.5rem;
      bottom: 20px;
      right: 20px;
  }
}

@media (max-width: 360px) {
  .hero-title {
      font-size: 1.6rem;
  }
  
  .hero-subtitle {
      font-size: 0.9rem;
  }
  
  .section-title {
      font-size: 1.5rem;
  }
  
  .btn {
      padding: 10px 20px;
      font-size: 0.9rem;
  }
}
