/* Main Styles */

/* Variables */
:root {
  --primary: #169BA0;
  --primary-dark: #0d8085;
  --primary-light: #46b5b9;
  --secondary: #2d3e50;
  --accent: #ff9800;
  --text-dark: #333333;
  --text-light: #767676;
  --white: #ffffff;
  --light-gray: #f5f5f5;
  --gray: #e0e0e0;
  --dark-gray: #c4c4c4;
  --black: #000000;
  --shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: var(--primary);
  color: var(--white);
  border-radius: 4px;
  font-weight: 600;
  text-align: center;
  transition: var(--transition);
}

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

.btn-secondary {
  display: inline-block;
  padding: 8px 16px;
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  border-radius: 4px;
  font-weight: 600;
  text-align: center;
  transition: var(--transition);
}

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

/* Section Styles */
.section-title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 48px;
  position: relative;
  color: var(--secondary);
}

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

/* Header */
.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(3px);
  transition: var(--transition);
}

.header.scrolled {
  position: fixed;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow);
}

.header .container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  height: 80px;
}

.logo {
  position: absolute;
  left: 16px;
  height: 50px;
}

.nav {
  display: flex;
  justify-content: center;
}

.logo img {
  height: 100%;
  width: auto;
}

.nav .menu {
  display: flex;
  gap: 24px;
}

.nav .menu a {
  font-weight: 500;
  color: var(--text-dark);
  transition: var(--transition);
  position: relative;
}

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

.nav .menu a:hover,
.nav .menu a.active {
  color: var(--primary);
}

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

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
}

.menu-toggle span {
  display: block;
  width: 30px;
  height: 3px;
  background-color: var(--secondary);
  transition: var(--transition);
}

.header-actions {
  position: absolute;
  right: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-header {
  display: inline-block;
  padding: 7px 12px;
  background-color: var(--primary);
  color: var(--white);
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.78rem;
  line-height: 1.2;
  white-space: nowrap;
  transition: var(--transition);
}

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

/* Hero Slider */
.hero-slider {
  position: relative;
  height: 100vh;
  overflow: hidden;
  margin-top: 0;
}

.slides {
  height: 100%;
  position: relative;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
  z-index: 1;
}

.slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--white);
  width: 80%;
  max-width: 800px;
  z-index: 3;
}

.slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6));
  z-index: 2;
}

.slide-content h2 {
  font-size: 3rem;
  margin-bottom: 16px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.5s forwards 0.3s;
}

.slide-content p {
  font-size: 1.25rem;
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.5s forwards 0.5s;
}

.slide-content .btn {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.5s forwards 0.7s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slider-nav {
  position: absolute;
  bottom: 24px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  z-index: 3;
}

.prev-slide,
.next-slide {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  color: var(--white);
}

.prev-slide:hover,
.next-slide:hover {
  background: rgba(255, 255, 255, 0.4);
}

.slide-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: var(--transition);
}

.dot.active,
.dot:hover {
  background: var(--white);
  transform: scale(1.2);
}

/* Services Section */
.services {
  padding: 80px 0;
  background-color: var(--light-gray);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.service-card {
  background-color: var(--white);
  border-radius: 8px;
  padding: 32px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.service-icon {
  width: 80px;
  height: 80px;
  background-color: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.service-icon i {
  font-size: 32px;
  color: var(--white);
}

.service-icon .fa-whatsapp {
  font-size: 24px !important;
  opacity: 0.7;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: var(--secondary);
}

.service-card p {
  color: var(--text-light);
  margin-bottom: 24px;
}

/* Animações de carregamento de imagens */
.service-content-image {
  position: relative;
  overflow: hidden;
}

.service-content-image img {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.service-content-image img.loaded {
  opacity: 1;
  transform: translateY(0);
}

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

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 48px;
}

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

.footer-logo {
  margin-bottom: 16px;
  height: 40px;
}

.footer-logo img {
  height: 100%;
  width: auto;
}

.footer-col p {
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.7);
}

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

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

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

.footer-col h4 {
  font-size: 1.25rem;
  margin-bottom: 24px;
  position: relative;
}

.footer-col h4::after {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  background-color: var(--primary);
  margin-top: 8px;
}

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

.footer-col ul a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.footer-col ul a:hover {
  color: var(--primary);
  padding-left: 8px;
}

.contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.7);
}

.contact-info li i {
  color: var(--primary);
  margin-top: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Responsive Design */
@media (max-width: 992px) {
  .slide-content h2 {
    font-size: 2.5rem;
  }
  
  .slide-content p {
    font-size: 1.1rem;
  }
  
  .client-slide {
    flex: 0 0 calc(50% - 32px);
    max-width: calc(50% - 32px);
  }
}

@media (max-width: 768px) {
  .header .container {
    justify-content: flex-end;
    height: 70px;
  }

  .nav {
    justify-content: flex-end;
  }
  
  .menu-toggle {
    display: flex;
    z-index: 1002;
  }

  .header-actions {
    right: 52px;
    gap: 6px;
  }

  .btn-header {
    padding: 6px 9px;
    font-size: 0.72rem;
  }
  
  .nav .menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background-color: var(--white);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1001;
    transition: right 0.3s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  }
  
  .nav .menu.active {
    right: 0;
  }
  
  .nav .menu li {
    margin: 16px 0;
  }
  
  body.menu-open {
    overflow: hidden;
  }
  
  .menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
  
  .hero-slider {
    height: 80vh;
  }
  
  .slide-content {
    width: 90%;
  }
  
  .slide-content h2 {
    font-size: 2rem;
  }
  
  .slide-content p {
    font-size: 1rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .client-slide {
    flex: 0 0 calc(100% - 32px);
    max-width: calc(100% - 32px);
  }
  
  .footer-content {
    flex-direction: column;
    gap: 40px;
  }
  
  .footer-col {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 1.75rem;
  }
  
  .slide-content h2 {
    font-size: 1.5rem;
  }
  
  .slide-content p {
    font-size: 0.875rem;
  }
  
  .slide-content .btn {
    padding: 10px 16px;
    font-size: 0.875rem;
  }
  
  .prev-slide,
  .next-slide,
  .prev-client,
  .next-client {
    width: 32px;
    height: 32px;
  }
}

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

.about-header {
  position: relative;
  height: 300px;
  background-image: url('https://images.pexels.com/photos/3184291/pexels-photo-3184291.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 60px;
  border-radius: 8px;
  overflow: hidden;
}

.about-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7));
}

.about-header .section-title {
  position: relative;
  color: var(--white);
  margin-bottom: 0;
  z-index: 1;
}

.about-header .section-title::after {
  background-color: var(--white);
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-content h2 {
  font-size: 2.5rem;
  color: var(--secondary);
  margin-bottom: 16px;
}

.about-content h3 {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 24px;
}

.about-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 24px;
}

/* Numbers Section */
.numbers-section {
  padding: 80px 0;
  background-color: var(--light-gray);
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.number-card {
  text-align: center;
  padding: 32px;
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.number-card:hover {
  transform: translateY(-5px);
}

.number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
}

.number-card h3 {
  font-size: 1.2rem;
  color: var(--secondary);
  margin-bottom: 16px;
}

.number-card p {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.6;
}

@media (max-width: 992px) {
  .numbers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .about-content h2 {
    font-size: 2rem;
  }
  
  .about-content h3 {
    font-size: 1.5rem;
  }
  
  .about-content p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .numbers-grid {
    grid-template-columns: 1fr;
  }
  
  .number {
    font-size: 2.5rem;
  }
}