@media (max-width: 1000px) {
  .txt-hero h1 {
    font-size: 5em;
  }
}

@media (max-width: 1800px) and (min-width: 1200px) {
  .echo-vision-image img {
    max-width: 420px;
    height: auto;
  }

  .mascote {
    height: auto;
  }
}

@media (max-width: 1200px) {
  .case {
    width: auto;
  }
  .box-form {
    flex-direction: column;
  }
}

@media (max-width: 800px) {
  .txt-hero h1 {
    font-size: 3em;
  }
}

@media (max-width: 700px) {
  .txt-hero h1 {
    font-size: 2em;
    margin-top: 10px;
  }

  .tab-content {
    flex-direction: column;
  }

  .tab-content p {
    font-size: 1.3em;
    width: auto;
  }

  .tab-content h2 {
    text-align: center;
  }

  .tab-content h2 {
    color: var(--verde-principal);
  }

  #services-section h3 {
    text-align: center;
    font-size: 2.4em;
  }

  .tab-content i {
    display: none;
  }

  .mascote {
    height: auto;
  }

  .mascote h2 {
    font-size: 2.6em;
  }

  .echo-vision-image img {
    max-width: 340px;
  }

  .txt-quem-somos p {
    font-size: 1em;
  }

  .visao {
    display: none;
  }

  .valores {
    display: none;
  }

  .luis {
    flex-direction: column;
  }

  .luis img {
    height: 390px;
    padding: 10px;
  }

  .luis h2 {
    font-size: 2em;
    text-align: center;
  }
  .luis p {
    color: white;
    font-size: 0.8em;
    width: auto;
    text-align: justify;
    padding: 10px;
  }

  .box-form {
    flex-direction: column;
  }

  .case3 img {
    object-fit: cover;
  }

  .flutuar {
    height: 300px;
  }

  .box-cards-cases {
    flex-direction: column;
  }

  .visao {
    display: none;
  }

  form {
    padding: 10px;
  }

  .cta h3 {
    font-size: 2em;
    width: auto;
    margin-left: 10%;
  }

  .cta p {
    font-size: 1.3em;
    width: auto;
    text-align: left;
    color: #aaa;
    margin-left: 10%;
  }
  .cta {
    height: 700px;
  }

  .cta button {
    background: none;
    border: 2px solid white;
    height: 80px;
    width: 300px;
    border-radius: 12px;
    margin-top: 22px;
    margin-left: 10%;
    text-align: left;
  }

  .cta button a {
    color: white;
    font-size: 1.2em;
    font-weight: 500;
  }

  footer {
    flex-direction: column;
    height: auto;
    justify-content: center;
  }

  .box-footer {
    flex-direction: column;
    justify-content: center;
  }

  .links-footer li a {
    color: white;
    font-size: 1.2em;
    font-family: "Poppins";
    text-align: center;
  }

  .links-footer li {
    width: 300px;
  }

  .link-espacamento {
    margin-left: 0%;
  }

  .direitos {
    color: white;
    font-size: 16px;
  }

  footer img {
    display: none;
  }
}
.sidebar {
  position: fixed;
  top: 0;
  left: -280px;
  width: 280px;
  height: 100%;
  background: #000000f0;
  transition: left 0.3s ease;
  z-index: 1000;
}

.sidebar.open {
  left: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  z-index: 999;
}

.overlay.active {
  display: block;
}

.sidebar-header {
  display: flex;
  flex-direction: column;
}

.sidebar-header a {
  font-size: 1.5em;
  text-align: center;
  padding: 30px;
  color: var(--verde-principal);
  font-weight: 600;
}

.menu-btn {
  width: 30px;
  height: 25px;
  position: relative;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.menu-btn span {
  height: 3px;
  background: white;
  width: 100%;
  border-radius: 2px;
  transition: 0.3s ease;
}
.menu-btn.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-btn.open span:nth-child(2) {
  opacity: 0;
}

.menu-btn.open span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Responsivo */
@media (max-width: 1300px) {
  .menu-btn {
    display: flex;
  }

  nav {
    position: absolute;
    top: 70px;
    left: 0;
    background: #333;
    width: 100%;
    flex-direction: column;
    align-items: center;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  nav.active {
    max-height: 200px;
    padding: 1rem 0;
  }
}


@media (max-width: 767px) {
  .caption {
    text-align: center;
  }
  .caption3 h1 {
    font-size: clamp(2rem, 5vw + 1rem, 2rem);
  }
}

@media (max-width: 767px) {
  /* Esconde eixo central e conectores no mobile */
  .timeline .eixo,
  .timeline .linha { display: none; }

  /* O ponto deixa de ser absoluto e centraliza */
  .timeline .dot {
    position: static !important;
    transform: none !important;
    display: block;
    margin: 0 auto 12px;
  }

  /* Centraliza e remove paddings laterais apenas no mobile */
  .timeline .max-w-md {
    text-align: center !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* Opcional: reduz o espaçamento vertical no mobile */
  .timeline .space-y-24 > * + * { margin-top: 2.5rem; }
}