@import url('https://fonts.googleapis.com/css2?family=Chango&family=Courgette&family=Edu+AU+VIC+WA+NT+Hand:wght@400..700&family=Leckerli+One&family=Playwrite+NO&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=rem:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&family=Rufina:wght@400;700&family=Titan+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Chango&family=Courgette&family=Edu+AU+VIC+WA+NT+Hand:wght@400..700&family=Playwrite+NO:wght@100..400&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=rem:ital,wght@0,100..900;1,100..900&family=Rufina:wght@400;700&family=Titan+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Chango&family=Courgette&family=Edu+AU+VIC+WA+NT+Hand:wght@400..700&family=Leckerli+One&family=Playwrite+NO&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=rem:ital,wght@0,100..900;1,100..900&family=Raleway:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&family=Rufina:wght@400;700&family=Titan+One&display=swap');

:root{  
    --cor-primaria: #E8C9B5;  
    --cor-azul: #e9d7fd;  
    --cor-claro: #f7f0e6;  
    --cor-branco: #ffffff;  
    --cor--escuro: #3c1613;
    --cor-secundaria: #faf3ec;
    --cor--clara: #dbdeda;
    --cor-verde: #d4bba6;  
    --cor-azul: #888888;  
    --cor-azul-escuro: #996347;  
    --subtitulo: #e5dec2;
    --cor-black: #ff4700;  
    --laranja-escuro:#ff4700;  
    --cor--marron: #444444;
    --cor--black: #dbdeda;
    --branco: #ffffff;
    --perola: #fff1c5;
    --pastel:#faf3ec;
    --titulos: #90421c;
    --laranja-claro:#E98B33;
  }  
  

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
  
body .html{
    font-family: 'Arial', sans-serif;
    color: #493e51; 
    background:var(--pastel);   
    line-height: 1.6;
    overflow-x: hidden;
    font-weight: 300;
}


.navbar {  
    background:var(--laranja-escuro);  
    padding: 10px 10px; 
      
}  

.navbar-container {  
    display: flex;  
    align-items: center;  
    justify-content: space-between;  
}  


.menu-toggle {  
    display: none; /* Oculta em telas maiores */  
    flex-direction: column;  
    cursor: pointer;  
}  

.menu-toggle span {  
    height: 3px;  
    width: 25px;  
    background: white;  
    margin: 5px 0;  
}  

/* Adicionando estilos para o menu */  
.nav-menu {  
    display: flex;  
}  

.nav-menu li {  
    list-style: none;  
    margin-left: 20px; /* Espaçamento entre os itens do menu */  
}  

.nav-menu a {  
    color: white;  
    text-decoration: none;  
    text-transform: uppercase;
    align-items: end;
    text-align: end;
    display: flex;  
   
} 
.nav-menu li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color:var(--cor--escuro);
    transition: width 0.3s ease;
}

.nav-menu li a:hover {
    color: var(--cor--escuro);
}


/* Media query para telas pequenas */  
@media screen and (max-width: 768px) {  
    .menu-toggle {  
        display: flex; /* Mostra o toggle em telas pequenas */ 
        margin-right: 30px; 
    }  
    
    .nav-menu {  
        display: none; /* Oculta o menu por padrão */  
        flex-direction: column; /* Alinhamento vertical */  
        position: absolute; /* Necessário para o menu flutuar */  
        left: 0px; /* Alinhado à esquerda */  
        top: 49px; /* Ajustar a posição em relação à navbar */  
        background:var(--cor-azul-escuro); /* Cor de fundo do menu */  
        width: 100%; /* Largura total */  
    }  
    
    .nav-menu.active {  
        display: flex; /* Exibe o menu quando ativo */  
    }  

    .nav-menu li {  
        margin: 15px 10px; /* Espaçamento vertical para itens do menu */  
    }  
    .tab-content{
        margin: 50px;
    }
}  

/* ANIMAÇÃO DE SLIDE IN PELA DIREITA - CORRIGIDA */
@keyframes slideInFromRight {
    0% {
        opacity: 0;
        transform: translateX(100px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-slide-in {
    animation: slideInRight 0.2s ease-out forwards;
}

/* NOVA CLASSE PARA O CONTAINER DA IMAGEM COM ANIMAÇÃO SUAVE */
.image-container-animated {
    opacity: 0;
    animation: slideInFromRight 0.8s ease-out 0.3s forwards;
    min-width: 0;
    flex-shrink: 0;
}

.image-container {
    animation: slideInFromRight 0.8s ease-out 0.3s forwards;
    min-width: 0;
    flex-shrink: 0;
}

.image-container:hover .moving-image {
    transform: scale(1.05) rotate(2deg);
}

.moving-image{
    margin-top: 60px;
    width: 70%;
    height: 70%;
    display: block;
}

.bounce-in {
    animation: bounceIn 0.8s ease-out;
}

@keyframes bounceIn {
    0% { opacity: 0; transform: scale(0.3); }
    50% { opacity: 0.9; transform: scale(1.1); }
    70% { opacity: 1; transform: scale(0.9); }
    100% { opacity: 1; transform: scale(1); }
}

/*carrousel*/
.testimonials h2{
    margin: 30px 20px;
    color: var(--cor-black);
    font-size: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    
}

.text-h2 {
    margin-top: 70px;
    padding-left: 35px;
    color: var(--titulos);
    font-size: 2.7vw;
    display: flex;
    justify-content: left;
    align-items: left;
    font-family: "Rufina", serif;
    font-weight: bold;
    animation: slideInRight 0.5s ease-in-out; 
  }
  
  @keyframes slideInRight {
    0% {
      transform: translateX(-30%); 
      opacity: 0;
    }
    50% {
      transform: translateX(0); 
      opacity: 1;
    }
  }

.text-G {
    margin-top: 40px;
    padding-left: 35px;
    color: var(--laranja-escuro);
    font-size: 2.7vw;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: "Rufina", serif;
    font-weight: bold;
    animation: slideInRight 0.5s ease-in-out; 
  }
  
  @keyframes slideInRight {
    0% {
      transform: translateX(-100%); 
      opacity: 0;
    }
    100% {
      transform: translateX(0); 
      opacity: 1;
    }
  }

#subir{
	position:fixed;
	bottom:0px;
	right:0px;
}

#titulo{
    margin-top: 50px;
    color: var(--titulos);
    font-size: 3.5vw;
    display: flex;
    font-weight: bold;
    margin-left: 20px;
    justify-content: center;
    align-items: center;
    font-family: "Rufina", serif;
    animation: slideInRight 0.5s ease-in-out; 
  }
  
  @keyframes slideInRight {
    0% {
      transform: translateX(-100%);
      opacity: 0;
    }
    100% {
      transform: translateX(0);
      opacity: 1;
    }
  }
  
#titulo {
    line-height: 1.2;
  }


.text-2xl {
    margin-top: 50px;
    color: var(--titulos);
    font-size: 3.5vw;
    display: flex;
    font-weight: bold;
    margin-left: 40px;
    justify-content: center;
    align-items: center;
    font-family: "Rufina", serif;
    animation: slideInRight 0.5s ease-in-out; 
  }
  
  @keyframes slideInRight {
    0% {
      transform: translateX(-100%);
      opacity: 0;
    }
    100% {
      transform: translateX(0);
      opacity: 1;
    }
  }
  
.text-2xl {
    line-height: 1.2;
  }

.text-2x4{
    color: var(--cor--marron);
    font-weight: 1vw;
    display: flex;
    justify-content: left;
    align-items: left;
    font-family: 'Poppins', 'Arial Narrow', Arial, sans-serif;
    margin-left: 15px;
    margin-top: auto;
}

.text-2x2{
    margin-top: 30px;
    color: #947863;
    font-size: 1.2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

.text-2x3{
    margin-top: 30px;
    padding-left: 0px;
    color: var(--titulos);
    font-size: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family:"Rufina", serif,'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-weight: bold;
    animation: slideInRight 0.5s ease-in-out; 
  }
  
  @keyframes slideInRight {
    0% {
      transform: translateX(-100%);
      opacity: 0;
    }
    100% {
      transform: translateX(0);
      opacity: 1;
    }
  }
  

.carousel-container {
    max-width: 1200px;
    overflow: hidden;
    position: relative;
    margin-left: 60px;
    margin-bottom: 30px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.rating {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.star {
    color: #FFD700;
    font-size: 2rem;
    margin: 0 5px;
}

.testimonial-slide {
    flex: 0 0 calc(33.333% - 20px);
    margin: 0 10px;
    justify-content: center;
    align-items: center;
    background-color: #ffe7c5;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.testimonial-mobile .testimonial-slide {
    flex: 0 0 100%;
}

.testimonial-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--cor-black);
    object-fit: cover;
}

.testimonial-quote {
    color: #444246;
    font-style: italic;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.nav-button {
    background-color: var(--cor-black);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.nav-button:hover {
    opacity: 1;
}

.testimonials .h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    position: relative;
    animation: slideInRight 1s ease-out forwards;
    opacity: 0;
  }

.servicos{
    background: var(--cor-azul-escuro);
}

.card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.modal {
    height: 600px;
    transition: opacity 0.3s ease;
}

.modal-content {
    transform: scale(0.7);
    opacity: 0;
    transition: all 0.3s ease;
}

.modal:not(.hidden) .modal-content {
    transform: scale(1);
    opacity: 1;
}

.text-h1{
    margin: 0px 0px;
    color: var(--cor-black);
    font-size: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.logo-text{
    color: var(--cor-branco);
    margin-left: 80px;
    font-family: "Courgette", cursive;
    font-size: 2rem;
    text-transform: none;
    margin-right: 160px;
}

.text-top{
    margin-top: 120px;
    color: var(--cor-black);
    font-weight: 800;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

.text-p{
    margin: 0px 0px;
    color: var(--cor-black);
    font-weight: 700;
    display: flex;
    justify-content: center;
    padding-left: 10px;
    margin-bottom: 10px;
    align-items: center;
    font-family: "Poppins", Haettenschweiler, 'Arial Narrow Bold', sans-serif;
}

.text-p1{
    padding: 10px 5px;
    margin-left: 30px;
    color: var(--cor-black);
    font-weight: 1rem;
    display: flex;
    justify-content: left;
    align-items: left;    
    font-weight: bold;
    font-family: "Poppins", Haettenschweiler, 'Arial Narrow Bold', sans-serif;
}

.text-p2{
    margin-left: 40px;
    font-weight: 5vw;
    display: flex;
    color: var(--cor--marron);
    justify-content: baseline;
    align-items: center;
    text-align: justify;
    font-family: "Poppins", Haettenschweiler, 'Arial Narrow Bold', sans-serif;
}

.text-h3{
    margin: 30px 20px;
    color:var(--subtitulo);
    font-size: 2rem;
    display: flex;
    justify-content: left;
    align-items: left;
    font-family: "Rufina", serif;
    font-weight: bold;
    animation: slideInRight 0.5s ease-in-out; 
  }
  
  @keyframes slideInRight {
    0% {
      transform: translateX(-100%); 
      opacity: 0;
    }
    100% {
      transform: translateX(0); 
      opacity: 1;
    }
  }

.text-h4{
    margin: 30px 20px;
    color: #ffffff;
    font-size: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
}

.text-h5{
    margin: 30px 40px;
    color: var(--cor--escuro);
    font-size: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Georgia, 'Times New Roman', Times, serif;
}

.text-h6{
    padding-left: 0px;
    color: var(--cor--escuro);
    font-size: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Georgia, 'Times New Roman', Times, serif;
}

.text-h7{
    padding-left: 30px;
    color: var(--cor--escuro);
    font-size: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: Georgia, 'Times New Roman', Times, serif;
}

.fa-paper-plane{
    color: #ece6f1;
}

.cta-text {
  flex: 1;
}

.cta-text h2 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  color: var(--cor-black);
}

.cta-text p {
  font-size: 1rem;
  margin-bottom: 20px;
}

.servicos-list {
  list-style: none;
  margin-bottom: 20px;
}

.servicos-list li {
  margin-bottom: 15px;
}

.servicos-list h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.servicos-list p {
  font-size: 0.9rem;
}

#cta-button {
    background-color: var(--cor--escuro);
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    margin-left: 15px;
    display: flex;
    align-items: left;
    gap: 0.5rem;
    margin-bottom: 2rem;
    margin-top: 10px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

#cta-button:hover {
    background-color:var(--cor-primaria);
    color: var(--cor--escuro);
    border-radius: 50%;
    border: 3px solid var(--cor--escuro);
}

#cta-button:before {
  top: 100%;
  left: 100%;
  transition: all 0.7s;
}

#cta-button:hover:before {
  top: -30px;
  left: -30px;
}

#cta-button:active:before {
  background: var(--cor-marron-medio);
  transition: background 0s;
}

.section-container {
    margin-bottom: -25px;
    perspective: 1000px;
    background: var(--cor-verde);
}

.text-lg {
    padding-left: 35px;
    margin-top: 20px;
    color: var(--branco);
    text-align: justify;
}

.text-h5{
    font-family: 'Poppins', Georgia, 'Times New Roman', Times, serif;
    margin-left: 30px;
    color: var(--cor--escuro);
}

.about-image {
    width: 100%;
    max-width: 400px;
    margin-left: 80px;
    height: auto;
    object-fit: cover;
    border-radius: 50px 50px 50px 50px;
    box-shadow: 
        0 15px 25px rgba(0, 0, 0, 0.15),
        0 5px 10px rgba(0, 0, 0, 0.1);
    transition: 
        transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
        box-shadow 0.3s ease;
    
    filter: brightness(0.95);
}

.about-image:hover {
    transform: scale(1.05) rotate(1deg);
    box-shadow: 
        0 20px 35px rgba(0, 0, 0, 0.2),
        0 10px 15px rgba(0, 0, 0, 0.15);
    filter: brightness(1.05);
    cursor: pointer;
}

.Btn {
  width: 140px;
  height: 40px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(to right,#77530a,#ffd277,#77530a,#77530a,#ffd277,#77530a);
  background-size: 250%;
  background-position: left;
  color: #ffd277;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition-duration: 1s;
  overflow: hidden;
}

.Btn::before {
  position: absolute;
  content: "AGENDAR";
  color: #ffd277;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 97%;
  height: 90%;
  border-radius: 8px;
  transition-duration: 1s;
  background-color: rgba(0, 0, 0, 0.842);
  background-size: 200%;
}

.Btn:hover {
  background-position: right;
  transition-duration: 1s;
}

.Btn:hover::before {
  background-position: right;
  transition-duration: 1s;
}

.Btn:active {
  transform: scale(0.95);
}

.btn-1 {
  background-color: var(--cor-black);
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  margin-left: 15px;
  display: flex;
  align-items: left;
  gap: 0.5rem;
  margin-bottom: 2rem;
  margin-top: 10px;
  border-radius: 7px;
  border: 2px solid transparent;
  text-shadow: 1px 1px 1px #00000040;
  box-shadow: 8px 8px 20px 0px #45090059;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.btn-1:hover {
  background-color: var(--cor-black);
  color: #fff9ff;
}  

.btn-2 {
    background-color: var(--laranja-escuro);
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    margin-left: 100px;
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    margin-top: 30px;
    border-radius: 7px;
    border: 2px solid transparent;
    text-shadow: 1px 1px 1px #00000040;
    box-shadow: 8px 8px 20px 0px #45090059;
    text-transform: uppercase;
    transition: all 0.3s ease;
  }
  
.btn-2:hover {
    background-color: var(--cor-black);
    color: #fff9ff;
  }  
  
.btn-3 {
  background-color: var(--cor-black);
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  margin-left: 190px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  margin-top: 30px;
  border-radius: 7px;
  border: 2px solid transparent;
  text-shadow: 1px 1px 1px #00000040;
  box-shadow: 8px 8px 20px 0px #45090059;
  text-transform: uppercase;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.btn-3:hover {
  background-color:var(--branco);
  color:var(--cor-marron-medio);
  border: 2px solid var(--cor-black);
  overflow: hidden;
  border-radius: 30px;
}  

.bi-x {
    position: absolute;
    top: 90px;
    right: 70px;
    font-size: 24px;
    cursor: pointer;
    color: var(--cor-marron-medio);
    transition: color 0.3s ease;
}

.bi-x:hover {
    color: #000;
}

.email-submit-btn {
    background-color: var(--cor-black);
    color: white;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.email-submit-btn:hover {
    background-color:var(--cor-marron-medio);
}

.email-submit-btn i {
    font-size: 1.2rem;
}

.img-top {
    background-color: var(--pastel);
}

.img-floating {
    max-width: 100%;
    margin-left: 79px;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease;
}
   
.img-floating:hover {
    transform: scale(1.05);
}

.btn-pastel {
    background-color: var(--pastel-soft-orange);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.btn-pastel:hover {
    background-color: darken(var(--pastel-soft-orange), 10%);
}

.brasao {
    position: fixed;
    z-index: 10;
    width: 150px;
    height: auto;
    top: 120px;
    right: 50px;
    transform: translateY(-50%);
    background:transparent;
    padding: 10px;
    border-radius: 50%;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.background {  
    background-image: url('../img/salapsi.jpg');  
    background-size: cover;  
    background-position: center;  
    background-repeat: no-repeat;  
    position: relative;  
    top: 0;  
    left: 0;  
    width: 100%;  
    height: 100%;
    filter: brightness(0.8);   
    z-index: -1;  
}

.container-contato {  
    display: flex;  
    justify-content: space-between;
    width: 80%;  
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}  

.clinic-info {  
    flex: 1;
    padding-right: 20px;
    display: flex;  
    flex-direction: column;  
    justify-content: center;  
}  

.clinic-details {
    margin-top: 60px;  
    margin-bottom: 20px;
    background: rgba(233, 139, 51, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);  
    padding: 20px;  
    color: #ffffff;
    border-radius: 15px;  
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);  
}  

.map-container {  
    flex: 1;
    display: flex;  
    align-items: center;  
    justify-content: center;  
}  

.map-container iframe {  
    width: 80%;  
    height: 300px;  
    border: 4px solid white;  
    border-radius: 15px;  
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    margin-top: 80px;
}  

.bi-facebook{
    font-size: 20px;
    margin-right: 10px;
}

.bi-facebook:hover{
    color: #3b5998;
}

.bi-instagram {
    font-size: 20px;
    margin-right: 10px;
}

.bi-instagram:hover{
    color: #e1306c;
}

footer {
  background-color:var(--cor-black);
  color: #2a2131;
  padding: 20px 0;
  text-align: center;
  font-family: 'Arial', sans-serif;
  font-size: 14px;
}

footer a {
  color: #e6e2ec;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.container {
    max-width: 1200px;
    margin: 10px auto;
    padding: 10px;
}

h4 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
    font-size: 24px;
}

.tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tab-button {
    padding: 12px 24px;
    border: none;
    background:var(--perola);
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-size: 16px;
    text-transform: uppercase;
}

.tab-button:hover {
    background: #e0e0e0;
}

.tab-button.active {
    background: var(--laranja-escuro);
    color: white;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 2fr));
    gap: 10px;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.content-card {
    background:var(--cor-black);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 80%;
    height: 80%;
    padding: 5px 5px;
    transition: transform 0.3s ease;
}

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

.content-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    background: var(--branco);
    display: block;
}

.card-info {
    padding: 20px;
}

.card-info h5 {
    margin-bottom: 10px;
    color:var(--cor--escuro);
    font-size: 18px;
}

.card-info p {
    color: #666;
    line-height: 1.6;
    font-size: 14px;
}

.background-logo {
    position: absolute;
    top: 260%;
    right: 0;
    transform: translateY(-50%);
    max-width: 200px;
    z-index: 1;
}

@media (max-width: 1024px) {
    .responsive-flex {
        flex-direction: column;
    }
    .responsive-flex > * {
        width: 100% !important;
    }
    .image-container {
        order: 2;
        height: 400px;
    }
    .content-container {
        order: 1;
        padding: 16px !important;
    }
    .background {
        background-image: url('../img/sala-psicologo.webp');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        position: relative;
        width: 100%;
        min-height: 100%;
        filter: brightness(0.8);
    }

    .container-contato {
        display: flex;
        flex-direction: column;
        max-width: 100%;
        margin: 0 auto;
        padding: 20px;
    }

    .clinic-info {
        width: 100%;
        padding-right: 0;
        margin-bottom: 20px;
    }
    .clinic-details {
        background: rgba(233, 139, 51, 0.4);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        backdrop-filter: blur(20px);  
        padding: 20px;  
        color: #ffffff;
        border-radius: 15px;  
        box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
        width: 100%;
    }
    
    .map-container {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .map-container iframe {
        width: 100%;
        height: 300px;
        border: 4px solid white;
        border-radius: 15px;
        box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    }
}

@media (max-width: 768px) {
    .brasao {
        position: fixed;
        z-index: 10;
        width: 100px;
        height: auto;
        top:100px;
        right: 50px;
        transform: translateY(-50%);
        background:transparent;
        padding: 10px;
        border-radius: 50%;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }
    .logo-text{
        color:var(--cor-branco);
        font-family: "Courgette", cursive;
        font-size: 1rem;
        text-transform: none;
        margin-top: 10px;
        margin-left: 10px;
    }        
    
    .text-p2{
        margin-top: 4px;
        margin: 20px;
        font-size: 4vw;
        color: var(--cor--marron);
        display: flex;
        justify-content: baseline;
        align-items: left;
        text-align:justify;
        font-size: 4vw;
        font-family: Verdana, Geneva, Tahoma, sans-serif;
        line-height: 1.5;
    }
    
    .text-h2roxo{
        margin: 30px 0px;
        font-size: 2rem;
        display: flex;
        justify-content: center;
        align-items: center;
        font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    }
    .about-image {
        max-width: 90%;
        margin-left: 10px;
        border-radius: 30px 30px 30px 30px;
        margin-top: 30px;
    }
    .text-p1{
        padding: 10px 5px;
        margin-left: 15px;
        color: var(--cor-black);
        font-weight: 1rem;
        display: flex;
        justify-content: left;
        align-items: left;    
        font-weight: bold;
        font-family: "Poppins", Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    }
    
    .text-h2 {
        margin-top: 20px;
        padding: 10px;
        color: var(--titulos);
        font-size: 2rem;
        display: flex;
        justify-content: center;
        align-items: center;
        font-family: "Rufina", serif;
        font-weight: bold;
        animation: slideInRight 0.5s ease-in-out;
    }
      
    @keyframes slideInRight {
        0% {
            transform: translateX(-100%); 
            opacity: 0;
        }
        100% {
            transform: translateX(0); 
            opacity: 1;
        }
    }          
    
    .text-2xl{
        margin-top: 35px;
        margin-left: 20px;
        color:var(--titulos);
        font-size: 1.5rem;
        display: flex;
        font-weight: bold;
        justify-content: left;
        text-align: left;
        align-items: left;
        font-family: "Rufina", serif;
    }
    
    .service-card {
        margin-right:30px;
        padding: 20px 20px;
        background-color: var(--cor-primaria);
        width: 300px;
        height: 200px;
    }
    .image-responsive{
        margin-left: 15px;
        margin-top: 30px;
        height:350px;
    }
    
    .carousel-container {
        max-width: 1200px;
        overflow: hidden;
        position: relative;
        margin-left: 10px;
        margin-bottom: 30px;
    }
    
    .carousel-track {
        display: flex;
        transition: transform 0.5s ease;
    }
   
    .testimonial-slide {
        flex: 0 0 calc(33.333% - 20px);
        margin: 0 10px;
        justify-content: center;
        align-items: center;
        background-color: #ffe7c5;
        border-radius: 15px;
        padding: 20px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }
    .testimonial-mobile .testimonial-slide {
        flex: 0 0 100%;
    }

    .testimonial-image {
        width: 80px;
        height: 80px;
        border-radius: 50%;
        border: 3px solid #d3cbdc;
        object-fit: cover;
    }
    .testimonial-quote {
        color: #444246;
        font-style: italic;
    }
    .carousel-nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        display: flex;
        justify-content: space-between;
        width: 100%;
    }
    .glass-container {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-image img {
        max-width: 300px;
    }
    .section-container {
        flex-direction: column;
    }
    .text-section, .image-section {
        width: 90% !important;
    }
              
    .responsive-flex {
        flex-direction: column;
    }
    .responsive-flex > * {
        width: 90% !important;
    }
    .image-container {
        order: 2;
        height: 300px;
    }
    .content-container {
        order: 1;
        padding: 10px !important;
    }
    .background {  
        background-image: url('../img/salapsi.jpg');  
        background-size: cover;  
        background-position: center;  
        background-repeat: no-repeat;  
        position: relative;  
        top: 0;  
        left: 0;  
        width: 100%;  
        height: 100%;  
        filter: brightness(0.8);   
        z-index: -1;  
    }
    .background {
        min-height: auto;
    }
    .container-contato {
        padding: 10px;
    }        
    
    .clinic-details {
        padding: 15px;
        color: #fff9ff;
    }
    
    .map-container iframe {
        height: 250px;
    }
    .container {
        padding: 10px;
    }

    .tab-content.active {
        grid-template-columns: 1fr;
    }

    .photo-card img {
        height: 250px;
    }
    .btn-3 {
        background-color:var(--cor-black);
        color: #ffffff;
        padding: 10px 10px;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        margin-bottom: 1rem;
        margin-top: 15px;
        border-radius: 7px;
        border: 2px solid transparent;
        text-shadow: 1px 1px 1px #00000040;
        box-shadow: 8px 8px 20px 0px #45090059;
        text-transform: uppercase;
        transition: all 0.3s ease;
    }
         
    .btn-3:hover {
        background-color:var(--cor-primaria);
        color:var(--cor-black);
        border: 2px solid var(--cor-black);
        overflow: hidden;
        border-radius: 30px;
    }
    .carousel-track {
        flex-wrap: nowrap;
    }
    .testimonial-slide {
        flex: 0 0 90%;
    }
    .testimonials h2{
        margin-left: 30px;
        color: var(--cor-black);
        font-size: 2rem;
        display: flex;
        justify-content: center;
        align-items: center;
        font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    }
    .text-h1{
        margin-top:-10px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .glass-container {
        flex-direction: column;
        align-items: center;
    }
        
    .cta-image img {
        max-width: 300px;
    }
    .section-container {
        flex-direction: column;
    }
    .text-section, .image-section {
        width: 90% !important;
    }
    .responsive-flex {
        flex-direction: column;
    }
    .responsive-flex > * {
        width: 90% !important;
    }
    .image-container {
        order: 2;
        height: 300px;
    }
    .content-container {
        order: 1;
        padding: 10px !important;
    }
    .btn-2 {
        background-color:  var(--laranja-escuro);
        color: #ffffff;
        padding: 0.75rem 1.5rem;
        margin-left: 0px;
        display: flex;
        gap: 0.2rem;
        margin-bottom: 2rem;
        margin-top: 10px;
        border-radius: 7px;
        border: 2px solid transparent;
        text-shadow: 1px 1px 1px #00000040;
        box-shadow: 8px 8px 20px 0px #45090059;
        text-transform: uppercase;
        transition: all 0.3s ease;
    }
              
    .btn-2:hover {
        background-color: var(--cor-azul-escuro);
        color: #fff9ff;
    }
           
    .text-top{
        margin-top: -15px;
        color: var(--cor--escuro);
        font-weight: 800;
        display: flex;
        justify-content: center;
        align-items: center;
        font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    }
    .content-card {
        background:var(--cor-black);
        border-radius: 10px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        overflow: hidden;
        width: 80%;
        height: 80%;
        padding: 5px 5px;
        margin: 30px 40px;
        transition: transform 0.3s ease;
    }
    .tab-button {
        padding: 12px 24px;
        border: none;
        background:var(--branco);
        cursor: pointer;
        border-radius: 5px;
        transition: all 0.3s ease;
        font-size: 17px;
        text-transform: uppercase;
    }
    .tab-button {
        padding: 12px 24px;
        border: none;
        background:var(--perola);
        cursor: pointer;
        border-radius: 5px;
        transition: all 0.3s ease;
        font-size: 16px;
        text-transform: uppercase;
    }
    .text-lg {
        padding: 20px;
        margin-top: 20px;
        color: var(--branco);
        text-align: justify;
        font-size: 4vw;
        font-family: Verdana, Geneva, Tahoma, sans-serif;
        line-height: 1.5;
    }
    .text-h6{
        padding-left: 0px;
        color: var(--cor--escuro);
        font-size: 1rem;
        display: flex;
        justify-content: center;
        align-items: center;
        font-family: Georgia, 'Times New Roman', Times, serif;
    }
    .background-logo {
        position: absolute;
        top: 405%;
        right: 0;
        transform: translateY(-50%);
        max-width: 150px;
        z-index: 1;
    }
}

@media (max-width: 480px) {
    .clinic-details {
        padding: 10px;
    }

    .map-container iframe {
        height: 200px;
        border: 2px solid white;
    }
}

.py-5{
    margin-top: -15px;
}
.home-wrapper {
    display: flex;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    background: var(--pastel);
}

.home-column {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    flex: 0 0 50%;
    width: 50%;
    padding: 0;
    margin: 0;
}

/* COLUNA ESQUERDA - TEXTO */
.home-column-left {
    padding: 60px 40px;
    animation: slideInFromLeft 0.8s ease-out forwards;
    opacity: 0;
}

@keyframes slideInFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-100px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* COLUNA DIREITA - IMAGEM */
.home-column-right {
    padding: 60px 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--pastel);
    animation: slideInFromRight 0.8s ease-out forwards;
    opacity: 0;
}

@keyframes slideInFromRight {
    0% {
        opacity: 0;
        transform: translateX(100px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.img-home-animated {
    max-width: 100%;
    width: 80%;
    height: auto;
    object-fit: contain;
    display: block;
}

/* ========== RESPONSIVE DESIGN ========== */

@media (max-width: 1024px) {
    .home-column-left {
        padding: 50px 30px;
    }
    
    .home-column-right {
        padding: 50px 30px;
    }
}

@media (max-width: 768px) {
    .home-wrapper {
        flex-direction: column;
    }

    .home-column {
        flex: 0 0 100%;
        width: 100%;
        padding: 30px 20px;
    }

    .home-column-left {
        order: 1;
        animation: slideInFromLeft 0.6s ease-out forwards;
        opacity: 0;
    }

    .home-column-right {
        order: 2;
        animation: slideInFromBottom 0.6s ease-out 0.2s forwards;
        opacity: 0;
        padding: 30px 20px;
    }

    @keyframes slideInFromBottom {
        0% {
            opacity: 0;
            transform: translateY(100px);
        }
        100% {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .img-home-animated {
        max-width: 80%;
        width: 80%;
    }
}

@media (max-width: 480px) {
    .home-wrapper {
        flex-direction: column;
    }

    .home-column {
        flex: 0 0 100%;
        width: 100%;
        padding: 20px 15px;
    }

    .home-column-left {
        padding: 20px 15px;
    }

    .home-column-right {
        padding: 20px 15px;
    }

    .img-home-animated {
        max-width: 90%;
    }
}