/* Reset e Configurações Gerais */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Century Gothic", CenturyGothic, AppleGothic, sans-serif;
}

html {
  font-size: 100%;
}

@media (max-width: 768px) {
  html {
    font-size: 90%;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 85%;
  }
}

html,
body {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
}

body {
  color: #333;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

section {
  padding: 60px 20px;
}

section.break {
  background: linear-gradient(to bottom, #009bb5 0%, white 100%);
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0); /* invisível por padrão */
  transition: background-color 0.3s;
}

:hover::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.5); /* aparece ao passar o mouse */
}

.container {
  width: 100%;
  padding: 0 5%;
  margin: 0 auto;
}

@media (min-width: 1400px) {
  .container {
    max-width: 1200px;
    padding: 0;
  }
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Header */
.header {
  top: 0;
  left: 0;
  width: 100%;
  position: fixed;
  z-index: 1000;
  transition: all 0.3s ease;
  background: linear-gradient(90deg, #009bb5 0%, #47c177 100%);
}

.header.scrolled {
  background-color: rgba(0, 106, 78, 0.95);
  padding: 10px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

section[id] {
  scroll-margin-top: 60px;
  position: relative;
  display: block;
  overflow: visible;
}

.logo img {
  height: 50px;
  transition: all 0.3s ease;
  margin-top: 5px;
}

.header.scrolled .logo img {
  height: 40px;
}

/* Menu Desktop */
.menu-desktop ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

.menu-desktop a {
  color: white;
  text-decoration: none;
  font-size: clamp(0.9rem, 1.1vw, 1rem);
  transition: all 0.3s ease;
  position: relative;
  padding-bottom: 5px;
  font-weight: 600;
}

.menu-desktop a:after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: white;
  transition: width 0.3s ease;
}

.menu-desktop a:hover:after {
  width: 100%;
}

.menu-desktop .destaque a {
  background: #ffffff;
  color: #128c7e;
  padding: clamp(8px, 1vw, 10px) clamp(15px, 2vw, 20px);
  border-radius: 10px;
  font-weight: 600;
  font-weight: bold;
}

.menu-desktop .destaque a:after {
  display: none;
}

.menu-desktop .destaque a:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  background-color: #128c7e;
  color: #ffffff;
  border: 1px solid #ffffff;
}

/* Menu Mobile */
.menu-mobile-icon {
  display: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
}

.menu-mobile {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 300px;
  height: 100vh;
  background: linear-gradient(90deg, #009bb5 0%, #47c177 100%);
  z-index: 1100;
  transition: right 0.3s ease;
  padding: 20px;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
}

.menu-mobile.active {
  right: 0;
}

.menu-header {
  display: flex;
  justify-content: flex-end;
  padding: 15px;
}

.close-menu {
  font-size: 24px;
  color: white;
  cursor: pointer;
}

.menu-mobile ul {
  list-style: none;
  margin-top: 60px;
}

.menu-mobile li {
  margin-bottom: 20px;
}

.menu-mobile a {
  color: white;
  text-decoration: none;
  font-size: 1.1rem;
  display: block;
  padding: 10px 0;
  font-weight: 600;
}

.menu-mobile .destaque a {
  background: #128c7e;
  padding: 10px 20px;
  border-radius: 30px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-top: 30px;
  border: 2px solid #ffffff;
}

#dropdownMenu {
  border-radius: 10px;
  min-width: 145px;
  display: none;
  position: fixed;
  list-style: none;
  background: linear-gradient(90deg, #009bb5 0%, #47c177 100%);
  z-index: 1000;
  border: 2px solid #ffffff;
  margin-top: 10px;
}

#dropdownMenu hr {
  color: #ffffff;
  border: 1px solid #ffffff;
}

#dropdownMenu li {
  padding: 5px;
}

#dropdownMenu li a {
  display: block;
  padding: 5px 10px;
  color: rgb(255, 255, 255);
  text-decoration: none;
}

/* Banner */
.banner {
  position: relative;
  width: 100%;
  height: 100vh;
  max-height: 680px;
  min-height: 480px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
  .banner {
    min-height: 500px;
  }
}

.banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.5s ease;
}

.texto-fixo {
  position: relative;
  z-index: 2;
  padding: 30px;
  color: white;
  max-width: 600px;
  border-radius: 10px;
  background: linear-gradient(
    90deg,
    rgba(0, 155, 181, 0.5) 0%,
    rgba(71, 193, 119, 0.5) 100%
  );
  border: 3px solid #ffffff;
}

.texto-fixo a {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  color: #128c7e;
  background-color: #ffffff;
}

.texto-fixo a:hover {
  background: #128c7e;
  color: #ffffff;
  border-color: #ffffff;
}

.texto-fixo h2 {
  color: #ffffff;
  margin-bottom: 30px;
  font-weight: bold;
  font-size: 2em; /* aumenta o tamanho do texto */
  
}

.texto-fixo span {
  color: #ffffff;
  font-size: 2.5em; /* aumenta o tamanho do texto */
  font-weight: bold;
  justify-content: center;
  align-items: center;
  display: flex;
  margin-bottom: 10px;
}

.slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background-size: cover;
  background-position: center;
  transition: background-image 1s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.botao {
  display: inline-block;
  background-color: #128c7e;
  color: white;
  padding: clamp(12px, 2vw, 15px) clamp(25px, 4vw, 30px);
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid #128c7e;
  font-size: clamp(0.9rem, 2vw, 1rem);
  border-radius: 10px;
}

.botao:hover {
  background-color: transparent;
  color: rgb(0, 0, 0);
  transform: translateY(-3px);
  background-color: #ffffff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Seção Quem Somos */
.quem-somos {
  padding: 100px 0;
  background-color: #ffffff;
}

.quem-somos .container {
  display: flex;
  align-items: center;
  gap: 50px;
}

.imagens-sobrepostas {
  position: relative;
  width: 60%;
  min-height: 700px;
}

.imagens-sobrepostas img {
  position: absolute;
  width: 70%;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.5s ease;
}

.imagens-sobrepostas .img1 {
  top: 0;
  left: 0;
  z-index: 1;
  border: 2px solid #128c7e;
  background-color: #ffffff;
  padding: 10px;
}

.imagens-sobrepostas .img2 {
  top: 32%;
  left: 25%;
  z-index: 2;
  border: 2px solid #128c7e;
  background-color: #ffffff;
  padding: 10px;
}

.imagens-sobrepostas .img3 {
  top: 65%;
  left: 0;
  z-index: 3;
  border: 2px solid #128c7e;
  background-color: #ffffff;
  padding: 10px;
}

.texto-quem-somos {
  width: 50%;
}

.texto-quem-somos h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: #128c7e;
  margin-bottom: 20px;
}

.texto-quem-somos p {
  margin-bottom: 15px;
  color: #555;
  font-size: clamp(0.9rem, 1.1vw, 1rem);
}

.diferenciais {
  margin-top: 20px;
  list-style: none;
}

.diferenciais li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.diferenciais i {
  color: #25d366;
  margin-right: 10px;
}

/* Seção Serviços */
.servicos {
  padding: 100px 0;
  background-color: #f0f8f5;
}

.servicos h2 {
  text-align: center;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: #128c7e;
  margin-bottom: 10px;
}

.servicos .subtitulo {
  text-align: center;
  color: #666;
  margin-bottom: 50px;
  font-size: clamp(0.9rem, 1.1vw, 1.1rem);
}

.grid-servicos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.servico-card {
  background-color: white;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  text-align: center;
}

.servico-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.servico-card.destaque {
  grid-column: 1 / -1;
  background-color: #128c7e;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.servico-card.destaque h3,
.servico-card.destaque p {
  color: white;
}

.servico-card.destaque .botao {
  background-color: white;
  color: #128c7e;
  margin-top: 20px;
}

.servico-card.destaque .botao:hover {
  background-color: transparent;
  color: white;
  border-color: white;
}

.servico-icon {
  font-size: 2.5rem;
  color: #128c7e;
  margin-bottom: 20px;
}

.servico-card.destaque .servico-icon {
  color: white;
}

.servico-card h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  margin-bottom: 15px;
  color: #333;
}

.servico-card p {
  color: #666;
  margin-bottom: 15px;
  font-size: clamp(0.85rem, 1.1vw, 1rem);
}

/* =================== */
/* SEÇÃO DE EQUIPE */
/* =================== */
.equipe {
  padding: 100px 0;
  background-color: #f8fafb;
}

.equipe .container {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.profissional {
  display: flex;
  align-items: center;
  gap: 50px;
  padding: 30px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.profissional:hover {
  transform: translateY(-5px);
}

.profissional.reverse {
  flex-direction: row-reverse;
}

.imagem-equipe {
  flex: 0 0 45%;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

.imagem-equipe img {
  width: 100%;
  height: 400px;
  object-fit: scale-down;
  transition: transform 0.3s ease;
}

.imagem-equipe:hover img {
  transform: scale(1.03);
}

.texto-equipe {
  flex: 1;
  padding: 0 30px;
}

.texto-equipe h3 {
  color: #128c7e;
  font-size: 2.2rem;
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 10px;
}

.texto-equipe h3:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: #47c177;
}

.cargo {
  color: #47c177;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 25px;
  display: block;
}

.descricao-equipe {
  color: #4a5568;
  line-height: 1.8;
  font-size: 1rem;
  margin-bottom: 20px;
}

.especialidades {
  list-style: none;
  columns: 2;
  gap: 30px;
}

.especialidades li {
  margin-bottom: 12px;
  padding-left: 25px;
  position: relative;
}

.especialidades li:before {
  content: "•";
  color: #25d366;
  position: absolute;
  left: 0;
  font-size: 1.4em;
  line-height: 1;
}

@media (max-width: 1200px) {
  .equipe {
    padding: 80px 0;
  }

  .profissional {
    gap: 40px;
    padding: 25px;
  }

  .imagem-equipe img {
    height: 350px;
  }
}

@media (max-width: 992px) {
  .especialidades {
    columns: 1;
  }
}

@media (max-width: 768px) {
  .equipe {
    padding: 60px 0;
  }

  .profissional {
    flex-direction: column !important;
    gap: 30px;
    padding: 20px;
  }

  .imagem-equipe {
    width: 100%;
    flex: none;
  }

  .imagem-equipe img {
    height: 400px;
  }

  .texto-equipe {
    padding: 0 15px;
    text-align: center;
  }

  .texto-equipe h3:after {
    left: 50%;
    transform: translateX(-50%);
  }

  .especialidades {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .imagem-equipe img {
    height: 250px;
  }

  .texto-equipe h3 {
    font-size: 1.8rem;
  }
}

/* Seção Localização */
.localizacao {
  padding: 100px 0;
  background-color: white;
}

.localizacao .container {
  display: flex;
  gap: 50px;
}

.mapa-container {
  width: 60%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.mapa-container iframe {
  width: 100%;
  height: 500px;
  border: none;
}

.contatos {
  width: 40%;
}

.contatos h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: #128c7e;
  margin-bottom: 30px;
}

.info-contato {
  margin-bottom: 30px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.info-item i {
  font-size: 1.2rem;
  color: #128c7e;
  margin-right: 15px;
  margin-top: 3px;
}

.info-item p {
  color: #555;
  font-size: clamp(0.9rem, 1.1vw, 1rem);
}

.redes-sociais {
  display: flex;
  gap: 15px;
}

.redes-sociais a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #128c7e;
  color: white;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.redes-sociais a:hover {
  color: #128c7e;
  background-color: #ffffff;
  border: 1px solid #128c7e;
  transform: translateY(-3px);
}

.section-form {
  padding: 100px 0;
  background-color: #f0f8f5;
}

.form-header {
  text-align: center;
  margin-bottom: 50px;
}

.form-header h2 {
  color: #128c7e;
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.form-header p {
  color: #666;
  font-size: 1.1rem;
}

.formulario-carreira {
  max-width: 800px;
  margin: 0 auto;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #333;
  font-weight: 600;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="url"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #128c7e;
  outline: none;
  box-shadow: 0 0 8px rgba(18, 140, 126, 0.2);
}

.file-upload {
  position: relative;
}

.custom-file-input {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px;
  border: 2px dashed #128c7e;
  border-radius: 8px;
  background-color: rgba(18, 140, 126, 0.05);
  cursor: pointer;
  transition: all 0.3s ease;
}

.custom-file-input:hover {
  background-color: rgba(18, 140, 126, 0.1);
}

.custom-file-input i {
  color: #128c7e;
  font-size: 1.2rem;
}

input[type="file"] {
  position: absolute;
  left: -9999px;
}

.termos {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  font-size: 0.8rem;
  font-weight: bold;
}

.termos input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: #128c7e;
}

.required {
  color: #e74c3c;
  margin-left: 3px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.fa-spinner {
  animation: spin 1s linear infinite;
  margin-left: 8px;
}

@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .section-form {
    padding: 60px 0;
  }

  .form-header h2 {
    font-size: 2rem;
  }
}

.alert {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  padding: 15px 25px;
  border-radius: 10px;
  font-weight: 700;
  z-index: 9999;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.alert-content h4 {
  padding: 0;
  margin: 0;
  font-size: larger;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.alert-content p {
  padding-top: 10px;
  padding-left: 0;
  margin-bottom: 5px; /* espaço entre os itens */
}

.alert.success {
  background: #28a745;
  color: #ffffff;
}

.alert.error {
  background: #dc3545;
  color: #ffffff;
}

.close-alert {
  float: right;
  cursor: pointer;
  background: transparent;
  border: none;
  color: #ffffff;
  padding-top: 10px;
  font-size: large;
}

/* Footer */
footer {
  background: linear-gradient(90deg, #009bb5 0%, #47c177 100%);
  color: #ffffff;
  padding: 40px 0 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h3:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: #25d366;
}

.logo-footer {
  height: 50px;
  margin-bottom: 20px;
}

.footer-col p {
  color: #ffffff;
  margin-bottom: 20px;
  font-size: clamp(0.85rem, 1.1vw, 1rem);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: clamp(0.85rem, 1.1vw, 1rem);
}

.footer-col ul li a:hover {
  color: #ffffff;
  padding-left: 5px;
}

.footer-col ul li i {
  margin-right: 10px;
  color: #1eea68;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  color: #ffffff;
  font-size: 0.9rem;
}

/* Responsividade */
@media (max-width: 1200px) {
  .quem-somos .container,
  .localizacao .container {
    flex-direction: column;
  }

  .texto-quem-somos,
  .mapa-container,
  .contatos {
    width: 100%;
  }

  .imagens-sobrepostas {
    min-height: 500px;
    margin-bottom: 40px;
  }
}

@media (max-width: 1040px) {
  .menu-desktop {
    display: none;
  }

  .menu-mobile-icon {
    display: block;
  }
  
  .imagens-sobrepostas {
    min-height: 360px;
    margin-bottom: 40px;
  }
}

@media (max-width: 992px) {
  .grid-servicos {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .menu-desktop {
    display: none;
  }

  .menu-mobile-icon {
    display: block;
  }

  .imagens-sobrepostas {
    width: 100%;
    min-height: 250px;
  }

  .imagens-sobrepostas img {
    width: 70%;
  }

  .img1 {
    top: 0 !important;
    left: 5% !important;
  }
  .img2 {
    top: 15% !important;
    left: 25% !important;
  }
  .img3 {
    top: 30% !important;
    left: 10% !important;
  }

  .servico-card {
    padding: 20px;
  }

  .mapa-container iframe {
    height: 400px;
  }
}

@media (max-width: 576px) {
  .grid-servicos {
    grid-template-columns: 1fr;
  }

  .servico-card.destaque {
    grid-column: auto;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .slide-nav {
    bottom: 30px;
  }

}
