@charset "UTF-8";

* {
  font-family: "Sora", sans-serif;
}

:root {
  --cor-primaria: #29bbb8;
  --cor-secundaria: #218e8c;
  --cor-clara: #a1e5e4;
  --texto-escuro: #1f1f1f;
}

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 10px;
}

.bg-home {
  position: relative;
}

.bg-home::before {
  content: '';
  display: block;
  position: absolute;
  background-image: linear-gradient(to bottom, rgba(219, 219, 219, 0.021), white), url("../img/bghome.png");
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 50% 0;
  opacity: 0.9;
}

.hero {
  margin-top: 60px;
  color: var(--cor-primaria);
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px;
}

.hero h1 {
  text-align: center;
  line-height: 150%;
  max-width: 940px;
  font-size: 40px;
  color: #199797  ;
}

.hero p {
  text-align: center;
  margin: 14px 0;
  color: black;
}

.button-contact {
  padding: 14px 10px;
  color: white;
  background-color: var(--cor-primaria);
  border: 0;
  font-size: 18px;
  font-weight: 600;
  margin: 14px 0px;
  
}

.button-contact:hover {
  animation: scaleButton 0.8s alternate infinite;
}

@keyframes scaleButton {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.07);
  }
}

@media screen and (max-width: 768px) {
  .hero {
    min-height: 60vh;
  }
  .hero h1 {
    font-size: 34px;
    padding: 0 14px;
  }
  .hero p {
    font-size: 14px;
  }
}

@media screen and (max-width: 480px) {
  .hero h1 {
    font-size: 24px;
  }
}

.about {
  background-color: white;
  overflow: hidden;
  color: black;
}

.about-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 34px 14px 64px 14px;
}

.about-content img {
  max-width: 570px;
}

.about-content div {
  flex: 1;
}

.about-description h2 {
  font-size: 30px;
  margin-bottom: 24px;
}

.about-description h3 {
  font-size: 38px;
  margin-bottom: 24px;
}

.about-description p {
  margin-bottom: 14px;
  line-height: 150%;
}

.h2-com-barra {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--cor-primaria);
  position: relative;
  padding-left: 16px;
  font-weight: normal;
}

.h2-com-barra::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10%;
  width: 4px;
  height: 80%;
  background-color: var(--cor-primaria);
  border-radius: 2px;
}

@media screen and (max-width: 768px) {
  .about-content {
    flex-direction: column;
  }
}

/* Seção de especialidades */
.services-content {
  padding-top: 1em;
  text-align: center;
  background-color: var(--cor-secundaria);
  font-size: 25px;
  color: var(--cor-primaria);
}

.especialidades {
  background-color: var(--cor-secundaria);
  padding: 3rem 1rem;
  font-family: Arial, sans-serif;
  text-align: center;
}

.h2-especial{
  color:#50b1f1;
}

.especialidade {
  display: grid;
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.servico {
  background-color: var(--cor-clara);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
  gap: 5px;
  cursor: pointer;
  text-align: center;
 

}

.servico:hover {
  transform: translateY(-15px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25);
}

.servico span {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--texto-escuro);
  flex: 1;
  text-align: left;
}

.servico a.fa-whatsapp {
  background-color: var(--cor-primaria);
  color: #ffffff;
  text-decoration: none;
  padding: 0.6rem;
  border-radius: 50%;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
  box-shadow: 0 4px 10px rgba(41, 187, 184, 0.4);
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.servico a.fa-whatsapp:hover {
  transform: scale(1.1);
}

.servico a.fa-whatsapp:active {
  transform: scale(0.95);
  box-shadow: 0 2px 6px rgba(41, 187, 184, 0.3);
}

@media (max-width: 480px) {
  .servico {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  .servico span {
    text-align: center;
    font-size: 1.3rem;
  }
  .servico a.fa-whatsapp {
    margin-top: 0.5rem;
  }
}

/* Diferenciais */
.diferenciais {
  background-color: white;
  padding: 50px 20px;
}

.h3-com-barra {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--cor-primaria);
  font-weight: normal;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
}

.h3-com-barra::before {
  content: '';
  display: block;
  width: 4px;
  height: 20px;
  background-color: var(--cor-primaria);
  border-radius: 2px;
}

.diferenciais h2 {
  text-align: center;
  margin-bottom: 30px;
}

.diferenciais-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.diferencial-box {
  background-color: var(--cor-clara);
  border: 1px solid var(--cor-primaria);
  padding: 20px;
  text-align: center;
  flex: 1 1 200px;
  max-width: 250px;
  box-sizing: border-box;
}

.diferencial-box img {
  width: 100%;
  max-width: 150px;
  height: auto;
  display: block;
  margin: 0 auto 15px auto;
}

.nome-diferencial {
  font-size: 1rem;
  font-weight: 600;
  color: #333;
}

@media (max-width: 500px) {
  .diferencial-box {
    flex: 1 1 150px;
    max-width: 150px;
    padding: 15px;
  }
  .diferencial-box img {
    max-width: 100px;
  }
}

/*avaliações*/

.depoimentos-section {
  background-color:white;
  padding: 60px 20px;
  text-align: center;
  color: black;
}


.carrossel-container {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.carrossel {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 20px;
  padding: 10px;
}

.carrossel::-webkit-scrollbar {
  display: none;
}

.depoimento {
  min-width: 300px;
  max-width: 400px;
  background-color: #a1e5e4;
  padding: 20px;
  border-radius: 16px; /* Borda arredondada */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  color: #222;
  flex-shrink: 0;
  text-align: left;
}

.depoimento p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 10px;
}

.autor {
  font-weight: bold;
  color: #1b5e5c;
}

.botao-carrossel {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.6);
  border: none;
  font-size: 24px;
  padding: 8px 12px;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s;
}

.botao-carrossel:hover {
  background-color: rgba(255, 255, 255, 0.8);
}

.prev {
  left: -20px;
}

.next {
  right: -20px;
}
@media (min-width: 768px) {
  .depoimento {
    min-width: 300px;
  }
}

@media (max-width: 767px) {
  .depoimento {
    min-width: 90%;
  }
}

@media (max-width: 600px) {
  .depoimento {
    min-width: 90%;
  }

  .botao-carrossel {
    display: none;
  }
}



/* Footer */
iframe {
  background-color: var(--cor-secundaria);
  display: block;
}

.services {
  background-color: white;
}

.services h2 {
  text-align: center;
  margin-bottom: 45px;
}

.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 54px 0;
  gap: 24px;
  color: white;
  background-color: var(--cor-secundaria);
}

.footer-icons {
  display: flex;
  gap: 8px;
  color: white;
}

.footer-icons a i {
  color: white;
}

.btn-whatsapp{

  position: fixed;
  bottom: 14px;
  right: 24px;
  z-index: 99;
  img{
    max-width: 74px;
    transition: transform 0.4s;
  }
   img:hover{
    transform: scale(1.1);
   }
}

.btn-whatsapp .tooltip-text {
  visibility: hidden;
  position: absolute;
  width: 120px;
  top: 8px;
  left: -144px;
  padding: 6px;
  border-radius: 8px;
  text-align: center;
  background-color: black;
  color: white;
  opacity: 0;
  transition: opacity 0.4s;
}

.btn-whatsapp:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

@media screen and (max-width: 768px){
  btn-whatsapp{
    img{
      max-width: 54px;
    }
  }
}
