/* 1. Reset & variáveis */
:root {
  --brand-green: #009045;
  --accent-yellow: #ffcc00;
  --dark: #1a1a1a;
  --light: #ffffff;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

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

body {
  font-family: "Inter", sans-serif;
  color: var(--dark);
  background: var(--light);
  line-height: 1.5;
}

/* 2. Containers */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
}

/* 3. Top-bar */
.top-bar {
  background: var(--brand-green);
  color: var(--light);
  text-align: center;
  padding: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
}

/* 4. Header sticky */
header.sticky {
  position: sticky;
  top: 0;
  background: var(--light);
  box-shadow: var(--shadow);
  z-index: 1000;
}

header.scrolled {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

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

nav ul {
  display: flex;
  gap: 1rem;
  list-style: none;
}

nav a {
  font-weight: 500;
  color: var(--dark);
  text-decoration: none;
  transition: color 0.3s ease;
}

nav a:hover,
nav a.active {
  color: var(--brand-green);
}

/* 5. Botões */
.btn {
  border-radius: 3rem;
  text-decoration: none;
  font-weight: 600;
  padding: 0.6rem 1.4rem;
  display: inline-block;
  text-align: center;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--accent-yellow);
  color: var(--dark);
}

.btn-primary:hover {
  background: #e6b800;
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--brand-green);
  color: var(--light);
}

.btn-secondary:hover {
  background: #007a3a;
}

/* 6. Hero */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--light);
}

.hero .bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(50%);
  z-index: 1;
  
}

.hero .overlay {
  position: relative;
  padding: 1rem;
  max-width: 800px;
  z-index: 2;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--light);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  color: var(--light);
}

/* Seções gerais */
.section {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--brand-green);
}

.section-subtitle {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
  color: #666;
}

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

/* 7. Serviços em destaque */
.services-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.service-card {
  background: var(--light);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  border-radius: 8px;
  transition: transform .2s;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-4px);
}

.service-card .icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--accent-yellow);
}

.service-card h3 {
  color: var(--brand-green);
  margin-bottom: 0.5rem;
}

.service-card p {
  color: #666;
}

/* Como Funciona */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.step {
  background: var(--light);
  box-shadow: var(--shadow);
  padding: 2rem;
  border-radius: 8px;
  position: relative;
  text-align: center;
}

.step-number {
  background: var(--accent-yellow);
  color: var(--dark);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
  margin: 0 auto 1rem;
}

.step h3 {
  color: var(--brand-green);
  margin-bottom: 0.5rem;
}

.step p {
  color: #666;
}

/* 10. Stats */
.stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  background: #f4f4f4;
  padding: 3rem 0;
}

.stat {
  flex: 1 1 150px;
  text-align: center;
  padding: 1rem;
}

.stat h3 {
  font-size: 2rem;
  color: var(--brand-green);
  margin-bottom: .3rem;
}

.stat p {
  color: #666;
}

/* Depoimentos */
.testimonials {
  max-width: 800px;
  margin: 0 auto;
}

.carousel {
  position: relative;
  overflow: hidden;
  min-height: 200px;
  margin: 2rem 0;
  background: var(--light);
  box-shadow: var(--shadow);
  border-radius: 8px;
  padding: 2rem;
}

.testimonial-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
}

.testimonial-item.active {
  opacity: 1;
  z-index: 1;
}

.testimonial-item p {
  font-style: italic;
  margin-bottom: 1rem;
  text-align: center;
  color: #666;
}

.testimonial-item .author {
  font-weight: 600;
  color: var(--brand-green);
  text-align: center;
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.control {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ddd;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}

.control.active {
  background: var(--accent-yellow);
}

/* 11. CTA Form */
.cta {
  background: var(--brand-green);
  color: var(--light);
  padding: 4rem 1rem;
    display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 400px; /* Ajustável */
}


.cta h2 {
  font-size: 2rem;
  margin-bottom: 1.2rem;
  text-align: center;
  color: var(--light);
}

.cta p {
  color: var(--light);
  text-align: center;
  margin-bottom: 2rem;
}

.cta form {
  display: grid;
  gap: 1rem;
  max-width: 500px;
  margin: 0 auto;
}

.cta input,
.cta textarea,
.cta select {
  padding: .9rem 1rem;
  border: none;
  border-radius: 8px;
  font-family: "Inter", sans-serif;
  color: var(--dark);
}

.cta textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group {
  margin: 1rem 0;
}

.form-group label {
  color: var(--light);
  font-size: 0.9rem;
}

.form-group a {
  color: var(--accent-yellow);
  text-decoration: underline;
}

/* Footer */
.footer {
  background: #222;
  color: var(--light);
  padding: 3rem 0 1.5rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer h3 {
  color: var(--accent-yellow);
  margin-bottom: 1rem;
}

.footer p {
  color: #ccc;
  margin-bottom: 0.5rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}

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

.footer-copyright {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid #444;
  font-size: 0.9rem;
  color: #ccc;
}

.footer-logo {
  max-height: 100px;
  margin-bottom: 1rem;
}

/* Logo no Navbar */
.logo-link {
  display: inline-block;
  line-height: 0;
}

.logo {
  max-height: 50px;
  width: auto;
  display: block;
}

/* Estilos específicos para páginas */

/* About Hero */
.about-hero {
  min-height: 80vh;
}
.about-hero .bg {
  object-position: center 15%; /* Ajusta verticalmente — aumenta o valor para mover mais para baixo */
}

/* Services Hero */
.services-hero {
  min-height: 80vh;
}

.services-hero .bg {
  object-position: center 95%;
}


/* Services Grid */
.services-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

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

.service-item {
  background: var(--light);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.service-item:hover {
  transform: translateY(-5px);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--accent-yellow);
  text-align: center;
}

.service-content {
  padding: 2rem;
}

.service-content h3 {
  color: var(--brand-green);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.service-content p {
  color: #666;
  line-height: 1.6;
}

.cta-services {
  margin-top: 4rem;
  text-align: center;
}

.cta-services h2 {
  color: var(--brand-green);
  margin-bottom: 1rem;
}

.cta-services p {
  color: #666;
  margin-bottom: 2rem;
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 20px;
  width: 4px;
  background: var(--brand-green);
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
  padding-left: 50px;
}

.timeline-dot {
  position: absolute;
  left: 18px;
  width: 8px;
  height: 8px;
  background: var(--accent-yellow);
  border-radius: 50%;
  transform: translateY(10px);
}

.timeline-content {
  background: var(--light);
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.timeline-content h3 {
  color: var(--brand-green);
  margin-bottom: 0.5rem;
}

.timeline-content p {
  color: #666;
}

/* Values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.value-card {
  background: var(--light);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.3s;
}

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

.value-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--accent-yellow);
}

.value-card h3 {
  color: var(--brand-green);
  margin-bottom: 1rem;
}

.value-card p {
  color: #666;
}

/* Team & Coverage */
.team-content,
.coverage-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin: 2rem 0;
  align-items: center;
}

.team-image img,
.coverage-map img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.team-text p,
.coverage-text p {
  margin-bottom: 1rem;
  color: #666;
}

.coverage-cities {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.city {
  background: var(--brand-green);
  color: var(--light);
  padding: 0.5rem 1.5rem;
  border-radius: 30px;
  font-weight: 500;
}

/* Future */
.future-content {
  max-width: 900px;
  margin: 0 auto;
}

.future-intro,
.future-goal {
  text-align: center;
  font-size: 1.2rem;
  margin: 2rem 0;
  color: #666;
}

.future-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.future-card {
  background: var(--light);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.3s;
}

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

.future-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--accent-yellow);
}

.future-card h3 {
  color: var(--brand-green);
  margin-bottom: 1rem;
}

.future-card p {
  color: #666;
}

/* Privacy Policy */
.privacy-container {
  max-width: 800px;
  margin: 2rem auto 4rem;
  padding: 0 1rem;
}

.privacy-content h1 {
  font-size: 2.5rem;
  color: var(--brand-green);
  margin-bottom: 1rem;
}

.privacy-content h2 {
  font-size: 1.5rem;
  color: var(--brand-green);
  margin: 2rem 0 1rem;
}

.privacy-content p {
  margin-bottom: 1rem;
  line-height: 1.6;
  color: #666;
}

.privacy-content ul {
  margin: 1rem 0 1rem 1.5rem;
}

.privacy-content li {
  margin-bottom: 0.5rem;
  color: #666;
}

.privacy-update {
  margin-top: 2rem;
  font-style: italic;
  color: #666;
}

/* Logo Carousel */
.logo-carousel-container {
  max-width: 1000px;
  margin: 3rem auto;
  padding: 0 1rem;
}

.logo-carousel-title {
  text-align: center;
  color: var(--brand-green);
  margin-bottom: 2rem;
}

.infinite-carousel {
  overflow: hidden;
  position: relative;
  background: var(--light);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 2rem 0;
}

.carousel-track {
  display: flex;
  animation: scrollLogos 20s linear infinite;
  align-items: center;
}

.carousel-slide {
  flex: 0 0 33.3333%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 15px;
}

.carousel-slide img {
  max-height: 70px;
  opacity: 0.7;
  transition: transform 0.3s, opacity 0.3s;
}

.infinite-carousel:hover .carousel-slide img {
  opacity: 1;
  transform: scale(1.2);
}

@keyframes scrollLogos {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-166.6665%);
  }
}

/* Responsivo */
@media (max-width: 768px) {
  nav ul {
    display: none;
  }

  .services-highlights,
  .process-steps,
  .services-grid,
  .values-grid,
  .future-grid {
    grid-template-columns: 1fr;
  }

  .team-content,
  .coverage-content {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }


  .section {
    padding: 3rem 0;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .logo {
    max-height: 40px;
  }

  .timeline-item {
    padding-left: 40px;
  }

  .timeline::before {
    left: 15px;
  }

  .timeline-dot {
    left: 13px;
  }

  .carousel-slide {
    flex: 0 0 50%;
  }

  @keyframes scrollLogos {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-250%);
    }
  }
}

@media (max-width: 480px) {
  .carousel-slide {
    flex: 0 0 100%;
  }

  @keyframes scrollLogos {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-500%);
    }
  }
}


.menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--dark);
  z-index: 10000;
}

#mobile-menu ul {
  display: flex;
  gap: 1rem;
  list-style: none;
}

/* MOBILE */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  #mobile-menu {
    display: none;
  }

  #mobile-menu.show-mobile {
    display: block;
  }

  #mobile-menu ul {
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 1rem;
    background: white;
    padding: 1rem;
    box-shadow: var(--shadow);
    z-index: 9999;
  }

  #mobile-menu ul li {
    margin: 0.5rem 0;
  }
}

/* DESKTOP */
@media (min-width: 769px) {
  .menu-toggle {
    display: none;
  }

  #mobile-menu {
    display: block !important;
  }

  #mobile-menu ul {
    flex-direction: row;
    position: static;
    background: none;
    box-shadow: none;
    padding: 0;
  }

  #mobile-menu ul li {
    margin: 0 1rem;
  }
}

.logo-carousel-container {
  max-width: 1000px;
  margin: 3rem auto;
  padding: 0 1rem;
}

.infinite-carousel {
  overflow: hidden;
  position: relative;
  background: #fff;
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 2rem 0;
}

.carousel-track {
  display: flex;
  animation: scrollLogos 20s linear infinite;
  align-items: center;
}

.carousel-slide {
  flex: 0 0 33.3333%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 15px;
}

.carousel-slide img {
  max-height: 70px;
  opacity: 0.7;
  transition: transform 0.3s, opacity 0.3s;
}

.infinite-carousel:hover .carousel-slide img {
  opacity: 1;
  transform: scale(1.2);
}

@keyframes scrollLogos {
  0% { transform: translateX(0); }
  100% { transform: translateX(-166.6665%); }
}

@media (max-width: 768px) {
  .carousel-slide {
    flex: 0 0 50%;
  }
  @keyframes scrollLogos {
    0% { transform: translateX(0); }
    100% { transform: translateX(-250%); }
  }
}

@media (max-width: 480px) {
  .carousel-slide {
    flex: 0 0 100%;
  }
  @keyframes scrollLogos {
    0% { transform: translateX(0); }
    100% { transform: translateX(-500%); }
  }
}

