* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden; /* ← impede rolagem lateral */
  width: 100%;
 background-color: #f9f9f9;
  scroll-behavior: smooth;

}

a {
  text-decoration: none; /* remove o sublinhado */
}

.hero {
  /* linear-gradient(
      45deg,             
      rgba(0, 0, 0, 0.7), 
      rgba(0, 0, 0, 0.0) 
    ), */
  background-image: url("fundonovo.png");
    background-size: auto;           /* Faz a imagem cobrir toda a área */

}

/* Base */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: relative;
  z-index: 999;
}

.logo img {
  height: 50px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links li a {
  text-decoration: none;
  color: #2c3e50;
  font-weight: 600;
  transition: color 0.3s ease;
  font-size: 20px;
}

.nav-links li a:hover {
  color: #d34343;
}

/* Ícone do menu */
.menu-icon {
  display: none;
  cursor: pointer;
  font-size: 2rem;
  user-select: none;
}

.menu-icon .open,
.menu-icon .close {
  display: none;
}

/* Esconde o checkbox */
#menu-toggle {
  display: none;
}

/* RESPONSIVO */
@media (max-width: 768px) {
  .menu-icon {
    display: block;
    color: #2c3e50;
  }

  /* Alterna os ícones com base no checkbox */
  #menu-toggle:not(:checked) ~ .menu-icon .open {
    display: inline;
  }

  #menu-toggle:checked ~ .menu-icon .close {
    display: inline;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #fff;
    flex-direction: column;
    align-items: center;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  #menu-toggle:checked ~ .nav-links {
    max-height: 500px;
    padding: 1rem 0;
  }

  .nav-links li {
    margin: 1rem 0;
  }




}

.hero {
  height: 50vh;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: start;
  padding-left: 50px;
  position: relative;
  color: white;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(190, 102, 102, 0.3); /* escurece um pouco a imagem para o texto aparecer melhor */
  z-index: 1;
}


.hero-content {
    align-items: end;
    width: 45%;
    text-align: start;
    position: relative;
    z-index: 2;
    padding: 2rem;
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  
}

.hero-content p {
    font-family: "Playwrite AU QLD", cursive;
  font-size: 1.4rem;
  font-weight:600 ;
}

.hero-content  button{
    margin-top: 10px;
    border: none;
  outline: none;
  background-color: #d34343;
  padding: 10px 20px;
  font-size: 16px;
  color: #fff;
  border-radius: 5px;
  transition: all ease 0.1s;
  box-shadow: 0px 5px 0px 0px #e27676;
  font-family: "Playfair Display", serif;
  font-weight:600 ;

}

.hero-content  button:active{
    transform: translateY(5px);
  box-shadow: 0px 0px 0px 0px #a29bfe;
}

/* RESPONSIVO */
@media (max-width: 768px) {
  .hero{
    align-items: end;
  }
.hero-content {
    width: 95%;
}

.hero-content h1 {
  font-size: 1.8rem;
  
}

.hero-content p {
  
  font-size: 1rem;
}
  
}

.sobre-inpodera {
  background-color: #f9f9f9;
  padding: 4rem 2rem;
  text-align: center;
  color: #333;
}


.container-sobre {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.destaque-in{
  color:#d34343
}

.sobre-inpodera h2 {
  font-size: 2.5rem;
  color: #444;
  margin-bottom: 2rem;
  text-align: center;
}

.sobre-inpodera p {
  font-family: "Playwrite AU QLD", cursive;
  font-size: 1.5rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}


.modalidades {
  padding: 3rem 1rem;
  background-color: #f9f9f9;
  max-width: 1200px;
  margin: 0 auto;
}

.title-modalidades h1 {
  font-size: 2.4rem;
  color: #2c3e50;
  text-align: center;
  margin-bottom: 3rem;
  font-weight: 700;
}

.modalidades-container {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  align-items: center;
}

.text-perfil-ana{
  display: flex;
  flex-direction: column;
  align-items: center;
}

.text-perfil-ana h1{
  font-size: 32px;
  margin-bottom: 16px;
}
.text-perfil-ana p{

  font-size: 1.4rem;
  margin-bottom: 16px;
}

.img-section-sobre {
  flex: 1 1 400px;
  max-width: 450px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.img-section-sobre img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 12px;
}

.text-section-sobre {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex: 1;
  min-width: 280px;
  max-width: 700px;
  color: #333;
  font-family: Arial, sans-serif;
  padding: 1rem;
}

/* Parágrafos do texto */
.text-section-sobre p {
  font-size: 1.4rem;
  line-height: 1.8;
  margin-bottom: 1.2rem;
}

/* Título da seção de formações */
.text-section-sobre h3 {
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #2c3e50;
  border-left: 4px solid #3498db;
  padding-left: 0.5rem;
}

/* Lista de formações e especializações */
.text-section-sobre ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.text-section-sobre li {
  margin-bottom: 0.6rem;
  font-size: 1rem;
  color: #444;
  display: flex;
  align-items: center;
}

.check-icon {
  color: #3498db; /* Azul suave, pode trocar por dourado, verde etc. */
  margin-right: 0.5rem;
  font-size: 1.2rem;
}



/* Responsivo */
@media (max-width: 768px) {
  .modalidades-container {
    flex-direction: column;
  }

  .img-section-sobre,
  .text-section-sobre {
    max-width: 100%;
  }

  .title-modalidades h1 {
    font-size: 1.8rem;
  }

  .text-section-sobre h2 {
    font-size: 1.4rem;
  }
}

.serviços{
    display: flex;
    
}

.servicosh2{
    color:#d34343;
}

.psicologos {
  padding: 4rem 2rem;
  background-color: #f9f9f9;
  text-align: center;
}

.psicologos h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #333;
}

.grid-psicologos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  justify-items: center;
}

.grid-psicologos img {
  width: 100%;
  max-width: 220px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.grid-psicologos img:hover {
  transform: scale(1.03);
}

.grupo-psicologos {
  margin-bottom: 4rem;
}

.titulo-grupo {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 2px solid #ddd;
  display: inline-block;
  padding-bottom: 0.5rem;
}


.servicos {
  padding: 3rem 1rem;
  background-color: #f7f7f7;
  text-align: center;
}

.servicos h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.grid-servicos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.card-servico {
  background-color: white;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.card-servico:hover {
  transform: translateY(-5px);
}

.card-servico h3 {
  font-size: 1.4rem;
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.card-servico p {
   font-family: "Mozilla Headline", sans-serif;
  font-size: 1.2rem;
  color: #555;
}

.convenios {
  padding: 3rem 1rem;
   background-color: #b81717;
  text-align: center;
}

.convenios h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #ffffff;
}

.carousel-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.3s ease;
}

.convenio {
  flex: 0 0 20%; /* 5 por vez no desktop (100% / 5 = 20%) */
  padding: 1rem;
  background: #fff;
  border-radius: 10px;
  margin: 0 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

.convenio img {
  max-width: 100%;
  max-height: 80px;
  object-fit: contain;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  z-index: 2;
}

.carousel-btn {
color: white;
}



.carousel-btn.prev { left: 5px; }
.carousel-btn.next { right: 5px; }

/* Responsivo */
@media (max-width: 1024px) {
  .convenio { flex: 0 0 25%; } /* 4 por vez */
}

@media (max-width: 768px) {
  .convenio { flex: 0 0 33.33%; } /* 3 por vez */
}

@media (max-width: 500px) {
  .convenio { flex: 0 0 50%; } /* 2 por vez */
}

.footer {
  background-color: #b81717;
  color: #ecf0f1;
  padding: 2.5rem 1rem 1rem 1rem;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.contato-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto 2rem auto;
  gap: 2rem;
}

.contatos, .horario-atendimento {
  flex: 1 ;
  margin-bottom: 20px;
}

.contatos h2, .horario-atendimento h3 {
  font-weight: 600;
  color: #ffff; /* amarelo suave */
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

.contatos p, .horario-atendimento p {
  line-height: 1.6;
  font-size: 1rem;
}

.contatos a.botao-contato.whatsapp {
  display: inline-block;
  background-color: #25d366;
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  margin: 0.5rem 0 1rem 0;
  transition: background-color 0.3s ease;
}

.contatos a.botao-contato.whatsapp:hover {
  background-color: #1ebe5b;
}

.contatos a:hover {
  text-decoration: underline;
}

.icones-contato {
  margin-top: 10px;
}

.icones-contato a {
  margin-right: 15px;
  font-size: 24px;
    color: #fff;
  transition: color 0.3s;
}

.icones-contato a:hover {
   color: #333;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #444;
  padding: 1rem 0 0.5rem 0;
  font-size: 0.9rem;
  color: #ffff;
}

@media (max-width: 600px) {
  .contato-footer {
    flex-direction: column;
    gap: 1px;
  }
}


.mapa {
  flex: 1 1 350px;
  min-width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  background-color: #25D366;
  border-radius: 50%;
  padding: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.whatsapp-float img {
  width: 32px;
  height: 32px;
  display: block;
}

/* Modal de imagem */
.modal-img {
  display: none; /* Escondido por padrão */
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.8); /* Fundo escuro */
  justify-content: center;
  align-items: center;
}

.modal-content-img {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
  animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
  from {transform: scale(0.7);}
  to {transform: scale(1);}
}

.close-modal {
  position: absolute;
  top: 30px;
  right: 50px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 2100;
}

.close-modal:hover {
  color: #f1c40f;
}


/* Container Pai */
.section-psicologos {
  padding: 4rem 1rem;
  background-color: #f9f9f9;
  width: 100%;
}
.container-equipe {
  display: flex;
  flex-direction: row; /* Alinha lado a lado por padrão */
  flex-wrap: wrap;     /* Se não couber (celular), ele joga para baixo */
  justify-content: center; 
  align-items: flex-start;
  gap: 3rem;           /* Espaço entre os dois blocos */
  max-width: 1200px;
  margin: 0 auto;
}

.psicologos-perfil {
  width: 100%;
  max-width: 500px; /* Limita o tamanho máximo para não ficar gigante no PC */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.psicologos-perfil h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #333;
}

/* Ajuste do Wrapper para não vazar da tela */
.carousel-wrapper {
  width: 100%; /* Ocupa a largura disponível do pai (max 500px) */
  position: relative;
  overflow: hidden;
  border-radius: 15px;
}

.carousel-image {
  width: 100%;
  height: auto;
  display: block;
  flex-shrink: 0;
  object-fit: cover; /* Ajusta a foto para preencher o espaço sem distorcer */
}

/* Ajuste dos Botões para não sumirem */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(223, 45, 45, 0.8); /* Um pouco de transparência fica elegante */
  color: white;
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.carousel-btn:hover {
  background-color: #b81717;
}

.carousel-btn.left { left: 10px; }
.carousel-btn.right { right: 10px; }

/* Ajuste específico para Celulares Pequenos */
@media (max-width: 480px) {
  .psicologos-perfil h2 {
    font-size: 1.6rem;
  }
  .carousel-btn {
    width: 35px;
    height: 35px;
  }
}

/* Responsivo tablet */
@media (max-width: 1024px) {
  .psicologos-perfil {
    flex: 1 1 100%;
    gap: 2rem;
  }

  .carousel-wrapper {
    width: 80%;
  }

  .text-perfil-psi-p {
    font-size: 1.3rem;
    text-align: center;
  }
}

/* Responsivo celular */
@media (max-width: 600px) {
  .div-psicologos {
    flex-direction: column; /* força um embaixo do outro */
    gap: 2rem;
  }

  .carousel-wrapper {
    width: 100%;
  }

  .carousel-btn {
    width: 35px;
    height: 35px;
    font-size: 18px;
  }

  .text-perfil-psi-p {
    font-size: 1.1rem;
  }

  .text-perfil-psi-btn button {
    font-size: 14px;
    padding: 10px 16px;
  }
}

.oquetratamos {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 1rem;
  color: black;
  border-radius: 8px;
}

.oquetratamos h2 {
  font-size: 2.5rem;
  margin-bottom: 3rem;
}


.div-text-title-oquetratamos{
  text-align: left;
  margin: 0px;
}

.oquetratamos p {
  width: 50%;
  font-size: 1.4rem;
  text-align: left;
}
/* wrapper do carrossel */
.activity-carousel-wrapper {
  max-width: 90%;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  padding: 0rem 0;
}

/* carrossel em si */
.activity-carousel {
  --duration: 10000ms; /* animação mais rápida, 10 segundos */
  --direction: normal;
  white-space: nowrap;
  overflow: hidden;
}

/* área que anima o slide */
.activity-slide {
  display: inline-flex;
  animation-name: activity-loop;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-direction: var(--direction);
  animation-duration: var(--duration);
}

/* cartões */
.activity-card {
  display: inline-block;
  flex-shrink: 0;
  background-color: #e93a3a; /* fundo preto */
  color: rgb(255, 255, 255);
  border-radius: 6px;
  padding: 1rem;
  margin-right: 1rem;
  width: auto;
  box-shadow: 0 3px 8px rgba(0,0,0,0.12);
  user-select: none;
  cursor: default;
  transition: transform 0.3s ease;
}


.activity-card p {
  font-size: 1.5rem;
  
}


/* efeito fade nas bordas */
.activity-fade-left,
.activity-fade-right {
  pointer-events: none;
  position: absolute;
  top: 0; bottom: 0;
  width: 0%; /* diminui para um fade mais sutil */
  z-index: 10;
}

.activity-fade-left {
  left: 0;
  background: linear-gradient(to right, #000000 0%, transparent 90%);
}

.activity-fade-right {
  right: 0;
  background: linear-gradient(to left, #000000 0%, transparent 100%);
}

/* espaçamento entre os carrosséis */
.activity-carousel-wrapper + .activity-carousel-wrapper {
  margin-top: 2rem;
}

/* responsivo */
@media (max-width: 600px) {
  .activity-card {
    padding: 0.8rem;
    font-size: 0.9rem;
  }

}


/* animação loop infinito */
@keyframes activity-loop {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}


.especialidades{
  gap: 2rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #b81717;
  color: white;
}

.icon {
  margin: auto;
  font-size: 48px; /* por exemplo */
  color: #ffffff;  /* cor que quiser */
}

.especialidades h2{
  font-size: 2.5rem;
}

.especialidades p{
  font-size: 1.5rem;
}


.lista-especialidades{
  width: 100%;
  display: flex;
  justify-content: space-evenly;
}

.lista-especialidades div{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
 
}

.container-oque-tratamos {
  display: flex;
  align-items: center;
  gap: 20px;
}

.div-title-oque-tratamos {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
}

.div-title-oque-tratamos h2 {
  font-size: 2rem;
}


.div-text-title-oquetratamos {
  padding: 1rem 2rem;
  width: 40%;
  font-size: 1.5rem;
}

.line-1 {
  flex: 0.3;
  height: 2px;
  background-color: #929191; /* cor da linha */
}
.line-2 {
  flex: 0.7;
  height: 2px;
  background-color: #929191; /* cor da linha */
}

/* Mobile: empilhar */
@media (max-width: 768px) {
  .container-oque-tratamos {
    flex-direction: column;
    text-align: center;
  }

  .div-title-oque-tratamos,
  .div-text-title-oquetratamos {
    width: 100%;
  }
}
/* Carrossel */
.carousel-wrapper {
  width: 500px; /* Mantém o tamanho fixo que você tinha */
  max-width: 100%;
  height: auto;
  overflow: hidden;
  position: relative;
}

.carousel {
  display: flex;
  transition: transform 0.5s ease;
  /* Isso impede que as imagens tentem caber todas juntas na mesma tela */
}

.carousel-image {
  width: 100%; /* Faz a imagem preencher o wrapper de 500px */
  height: auto;
  max-height: 700px;
  flex-shrink: 0; /* IMPEDE que a imagem diminua para caber */
  object-fit: contain; /* Mantém a proporção original da foto */
}


/* Estilos do Novo Carrossel de Equipe */
.carousel-container-equipe {
    position: relative;
    max-width: 1100px;
    margin: 40px auto;
    overflow: hidden;
    padding: 20px 0;
}

.carousel-equipe {
    display: flex;
    gap: 20px;
    transition: transform 0.4s ease-in-out;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

.card-equipe {
    background: white;
    border-radius: 12px;
    width: 220px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border: 2px solid #cfe0df;
    flex-shrink: 0;
}

.card-equipe img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
    border: 3px solid #c62828;
}

.nome-equipe { font-size: 18px; font-weight: bold; margin-bottom: 4px; color: #333; }
.cargo-equipe { color: #666; font-size: 14px; margin-bottom: 10px; }

.tag-equipe {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    margin-bottom: 15px;
    color: white;
    font-weight: bold;
}

.tag-equipe.online { background: #2ca58d; }
.tag-equipe.presencial { background: #3f7cac; }
.tag-equipe.ambos { background: #8a5cf6; }

.btn-vermais {
    display: block;
    background: #c62828;
    color: white;
    padding: 10px;
    border-radius: 8px;
    text-decoration: none;
    margin-top: 10px;
    transition: 0.3s;
}

.btn-vermais:hover { background: #a52222; }

.arrow-equipe {
    position: absolute;
    top: 40%;
    background: white;
    border: none;
    font-size: 25px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    z-index: 10;
}

.arrow-equipe.left { left: 5px; }
.arrow-equipe.right { right: 5px; }

#detalhes-profissional {
    min-height: 50px;
    margin-top: 20px;
}