.navbar {
  width: 100%;
  height: 60px;
  background-color: #f5eada;
  position: fixed;
  z-index: 20;
}

.hamburger {
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  width: 35px;
  height: 30px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 30;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0;
}

.hamburger span {
  display: block;
  height: 4px;
  width: 100%;
  background: #44250f;
  border-radius: 2px;
  transition: 0.3s ease;
      margin-bottom: 6px;
}

.span-menor-hamb{
    width: 70% !important;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(15px, 5px);
}

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

.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(9px, 0px);
}

.dropdown-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  overflow: hidden;
  background-color: #f5eada;
  transition: height 0.3s ease;
  z-index: 10;
}

.dropdown-menu ul {
  list-style: none;
  padding: 100px 20px 0 20px;
  margin: 0;
}

.dropdown-menu li {
  margin: 20px 0;
}

.dropdown-menu a {
  text-decoration: none;
  color: #333;
  font-size: 20px;
  letter-spacing: 5px;
  font-family: 'cera-pro-light';
  color: #5f5f5f;
}

.dropdown-menu a:hover{
  text-decoration: underline;
}

.dropdown-menu.open {
  height: 50vh;
}

.logo-menu{
  position: fixed;
  top: 70px;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 999;
  
}

.logo-menu img{
  width: 120px;
}

@media(max-width: 560px){
  .logo-menu img{
    width: 90px;
  }
}

/* DESKTOP MENU */
.menu-desktop{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background: #f5eada;
  z-index: 30;
  display: none;
}

.menu-desktop-container{
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}

.logo-desktop img{
  width: 120px;
  margin-top: 80px;
}

.menu-desktop-links{
  list-style: none;
  display: flex;
  gap: 15px;
  margin: 0;
  padding: 0;
}

.menu-desktop-links li{
  font-family: 'cera-pro-light';
  letter-spacing: 3px;
  color: #5f5f5f;
}

.menu-desktop-links li:not(:last-child)::after{
  content: "|";
  margin-left: 15px;
  color: #5f5f5f;
}

.menu-desktop-links a{
  text-decoration: none;
  color: #5f5f5f;
  font-size: 16px;
}

.menu-desktop-links a:hover{
  text-decoration: underline;
}

@media (min-width: 1000px){

  .menu{
    display:none;
  }

  .menu-desktop{
    display:block;
  }

}

.menu-desktop{
  transition: background-color 0.3s ease;
}

/* estado após scroll */
.menu-desktop.scrolled{
  background-color: rgba(74, 74, 74, 0.5);
  backdrop-filter: blur(6px);
}

/* cor dos links após scroll */
.menu-desktop.scrolled .menu-desktop-links a{
  color:#f5eada;
}

/* separadores | */
.menu-desktop.scrolled .menu-desktop-links li::after{
  color:#f5eada;
}

/* hero */

.hero {
    padding-top: 60px; /* Compensa a navbar fixa */
    max-height: 1000px;
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    background-color: #bb742c;
  }

.hero img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
  }

.hero-txt{
  position: absolute;
  font-family: 'cera-pro-light';
  color: #ffeda7;
  font-size: 140px;
} 

@media(max-width: 1400px){
  .hero-txt{
    font-size: 100px;
  }
}

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

@media(max-width: 700px){
  .hero-txt{
    font-size: 35px;
  }
}

/* INAUGURAÇÃO */

.inauguracao{
  background-color: #f5eada;
  padding-top: 60px;
  padding-bottom: 60px;
}

.inauguracao-content{
  display: flex;
  gap: 120px;
  justify-content: center;
  align-items: center;  
}

.inauguracao-img img{
  max-width: 500px;
}

.inauguracao-txt-container{
  max-width: 40%;
}

.inauguracao-txt{
  font-family: 'cera-pro-light';
  font-size: 32px;
  color: #5f5f5f;
  line-height: 42px;
}

@media(max-width:1280px){
  .inauguracao-img img{
    max-width: 250px;
  }
  .inauguracao-content{
    flex-wrap: nowrap;
    gap: 50px;
  }

  .inauguracao-txt{
    text-align: left;
    font-size: 25px;    
  } 
  
  .inauguracao-txt-container{
    max-width: 70%;
  }
}

@media(max-width:1000px){
  .inauguracao-img img{
    max-width: 250px;
  }
  .inauguracao-content{
    flex-wrap: nowrap;
    gap: 50px;
  }

  .inauguracao-txt{
    text-align: left;
    font-size: 25px;    
  }  

  .inauguracao-txt-container{
    max-width: 100%;
  }
}

@media(max-width:700px){
  .inauguracao-img img{
    max-width: 250px;
  }
  .inauguracao-content{
    flex-wrap: wrap;
    gap: 50px;
  }

  .inauguracao-txt{
    text-align: center;
    font-size: 18px;
    line-height: 30px;
  }

  .inauguracao-txt-container{
    max-width: 100%;
  }
}

/* QUALIDADE EXCELENCIA */

.qualidade-excelencia{
  background: #FFFFFF;
  text-align: center;
  font-family: 'cera-pro-light';
  padding-top: 50px;
  padding-bottom: 50px;
}

.qualidade-excelencia-title{
  color: #9b5a34;
  font-size: 60px;
  margin-bottom: 50px;
}

.qualidade-excelencia-txt{
  color: #5f5f5f;
  font-size: 23px;
  width: 80%;
  margin: 0 auto;
  line-height: 35px;
}

@media(max-width:1000px){
  .qualidade-excelencia-txt{
    width: 100%;
    font-size: 23px;
  }

  .qualidade-excelencia-title{
    font-size: 29px;
  }
}

@media(max-width:700px){
  .qualidade-excelencia-txt{
    width: 100%;
    font-size: 19px;
  }

  .qualidade-excelencia-title{
    font-size: 29px;
  }
}

/* INOVACAO */

.inovacao{
  background-color: #FFFFFF; 
  padding-bottom: 70px; 
}

.inovacao-container{
  background-color: #f9efde;
  padding: 50px 20px 50px 20px;
  margin: 0 auto;
  max-width: 1200px;  
}

.inovacao-title{
  text-align: center;
  color: #9b5a34;
  font-family: 'cera-pro-light';
  font-size: 33px;
  margin-bottom: 40px;
}

.inovacao-box-content{
  display: flex;
  gap: 30px;
  justify-content: center;
}

.inovacao-box{
  text-align: center;  
}

.inovacao-box img{
  width: 100px;
  margin-bottom: 20px;
}

.inovacao-box-txt{
  background-color: #fcf8f0;
  color: #9b5a34;
  font-family: 'cera-pro-light';
  padding: 25px;
  font-size: 20px;
  height: 175px;
  overflow-y: hidden;
}

@media(max-width: 980px){
  .inovacao-box-content{
    flex-wrap: wrap;
  }

  .inovacao-title{
    font-size: 20px;
  }

  .inovacao-box-txt{
    height: 130px;
    width: 300px;
  }
}

/* CUIDADO INTEGRAL */

.cuidado-integral{
  background-color: #d09e6d;
  padding-top: 80px;
  padding-bottom: 80px;
}

.cuidado-integral-content{
  display: flex;
  gap: 120px;
  justify-content: center;
  align-items: center;  
}

.cuidado-integral-img img{
  max-width: 500px;
}

.cuidado-integral-txt-container{
  max-width: 40%;
}

.cuidado-integral-txt{
  font-family: 'cera-pro-light';
  font-size: 32px;
  color: #FFFFFF;
  line-height: 42px;
}

@media(max-width:1280px){
  .cuidado-integral-img img{
    max-width: 250px;
  }
  .cuidado-integral-content{
    flex-wrap: nowrap;
    gap: 50px;
  }

  .cuidado-integral-txt{
    text-align: left;
    font-size: 25px;    
  } 
  
  .cuidado-integral-txt-container{
    max-width: 70%;
  }
}

@media(max-width:1000px){
  .cuidado-integral-img img{
    max-width: 250px;
  }
  .cuidado-integral-content{
    flex-wrap: nowrap;
    gap: 50px;
  }

  .cuidado-integral-txt{
    text-align: left;
    font-size: 25px;    
  }  

  .cuidado-integral-txt-container{
    max-width: 100%;
  }
}

@media(max-width:700px){
  .cuidado-integral-img img{
    max-width: 250px;
  }
  .cuidado-integral-content{
    flex-wrap: wrap;
    gap: 50px;
  }

  .cuidado-integral-txt{
    text-align: center;
    font-size: 20px;
    line-height: 30px;
  }

  .cuidado-integral-txt-container{
    max-width: 100%;
  }
}

/* ESPECIALIZAÇÕES */

.especializacoes{
  padding: 60px 50px 40px 50px;
  background-color: #f5eada;
}

.box{
  background: #faf5ed;
  padding: 40px;
  text-align: center;  
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  font-size: 18px;
  height: 150px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center; 
}

.especializacoes-box-title{
  text-transform: uppercase;
  font-family: 'cera-pro-bold';
  color: #9c5b35;
  font-size: 30px;
  margin-bottom: -50px;
}

.especializacoes-box-txt{
  font-family: 'cera-pro-light';
  color: #9c5b35;
  font-size: 20px;
}

.box-txt-grande{
  padding-top: 20px !important;
  height: 170px;
}

.owl-prev, .owl-next {
  position: absolute;
  top: 47%;
  transform: translateY(-50%);
  background: none; 
  border: none;     
  width: 40px;
  height: 40px;
  cursor: pointer;
  color: transparent;
}

.owl-prev {
  left: -21px; 
}

.owl-next {
  right: -21px;
}

.owl-prev::before,
.owl-next::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background-size: contain;
  background-repeat: no-repeat;
}

.owl-prev::before {
  background-image: url('/src/image/nav-left.png');
}

.owl-next::before {
  background-image: url('/src/image/nav-right.png');
}

.owl-prev::after,
.owl-next::after {
  display: none;
}

.owl-prev span,
.owl-next span {
  display: none;
}

.title-grande-box-especializacoes{
  margin-bottom: 20px;
}

@media(max-width: 1200px){
  .title-grande-box-especializacoes{
    font-size: 20px;
  }
  
  .txt-grande-box-especializacoes{
    font-size: 19px;
  }
}

@media(max-width: 1000px){
  .title-grande-box-especializacoes{
    font-size: 16px !important;
  }

  .txt-grande-box-especializacoes{
    font-size: 15px !important;
  }

  .especializacoes-box-title{
    font-size: 20px;
    margin-bottom: 10px;
  }

  .especializacoes-box-txt{
    font-size: 18px;
  }
}

/* CORPO CLINICO */

.corpo-clinico{
  background-color: #FFFFFF;
  padding-bottom: 100px;
  padding-top: 100px;
  text-align: center;
  font-family: 'cera-pro-light';
}

.corpo-clinico-title{
  color: #9b5a34;
  text-transform: uppercase;
  font-size: 70px;
  margin-bottom: 40px;
}

.corpo-clinico-txt{
  color: #5f5f5f;
  font-size: 30px;
  margin: 0 auto;
  margin-bottom: 70px;
  max-width: 1100px;  
}

.corpo-clinico-link{
  color: #9b5a34;
  text-transform: uppercase;
  font-size: 30px;
  font-family: 'cera-pro-medium';
  display: inline-block;
  transition: transform 0.3s ease;
}

.corpo-clinico-link:hover{
  transform: scale(1.02);
}

@media(max-width: 700px){
  .corpo-clinico{
    padding-bottom: 60px;
    padding-top: 60px;
  }

  .corpo-clinico-title{
    font-size: 40px;
  }

  .corpo-clinico-txt{
    font-size: 20px;
  }

  .corpo-clinico-link{
    font-size: 20px;
  }
}

/* FOOTER */

.footer{
  padding: 50px 0;
  background-color: #f5eada;
  font-family: 'cera-pro-light';
  color: #9b5a34;
}

.footer-content{
  display: flex;
  gap: 80px;
  justify-content: center;
  align-items: center;
}

.footer-logo-img{
  max-width: 380px;
  height: 116px; 
}

.footer-telefone{
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
  justify-content:left;
}

.footer-localizacao{
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  justify-content:left;
}

.footer-telefone img, .footer-localizacao img{
  width: 35px;
}

.footer-telefone p{
  font-size: 33px;
  font-family: 'cera-pro-medium';
}

.footer-localizacao p{
  font-size: 22px;
}

@media(max-width: 800px){

  .footer-telefone img, .footer-localizacao img{
    width: 45px;
  }

  .footer-content{
    flex-wrap: wrap;
    gap: 50px;
  }

  .footer-telefone{
    justify-content:left;
    width: 280px;
  }

  .footer-localizacao{
    justify-content:left;
    width: 300px;
  }

  .footer-localizacao p{
    justify-content:left;
    max-width: 400px;
    font-size: 17px;
  }
}

@media(max-width: 500px){
  .footer-logo-img{
    max-width: 310px;
    max-height: 100px;
  }
}


/* COPYRIGHT */

.copyright{
  background-color: #44240f;
  color: white;
  font-family: 'cera-pro-light';
  text-align: center;
  padding: 5px 0;
}


/* PÁGINA CORPO CLINICO */

.hero-txt-corpo-clinico{
  position: absolute;
  font-family: 'cera-pro-light';
  color: #ffeda7;
  font-size: 140px;
  bottom: 0;
} 

@media(max-width: 1400px){
  .hero-txt-corpo-clinico{
    font-size: 100px;
  }
}

@media(max-width: 1000px){
  .hero-txt-corpo-clinico{
    font-size: 70px;
  }
}

@media(max-width: 700px){
  .hero-txt-corpo-clinico{
    font-size: 35px;
  }
}

.medicos{
  padding: 50px 0 100px 0;
  background-color: #f5eada;
}

.medicos-title{
  font-family: 'cera-pro-light';
  text-align: center;
  color: #9c5b35;
  text-transform: uppercase;
  font-size: 70px;
  margin-bottom: 210px;
}

@media(max-width: 1200px){
  .medicos-title{
    font-size: 50px;
  }
}

@media(max-width: 900px){
  .medicos-title{
    font-size: 35px;
  }
}

.medico-box{
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.medico-img{
  max-width: 200px;
  border: solid 10px #f5eada;
  background-color: #f5eada;
  border-radius: 105px;
  position: absolute;
  top: -8%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.medico-txt-box{
  background-color: #faf5ed;
  width: 370px;
  height: 350px;
  position: relative;
  text-align: center;
  padding: 90px 30px 0 30px;
  margin-bottom: 180px;
}

.medico-nome{
  font-family: 'cera-pro-medium';
  color: #9c5b35;
  font-size: 25px;
  text-transform: uppercase;
}

.medico-especializacao{
  font-family: 'cera-pro-light';
  color: #9c5b35;
  font-size: 20px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 30px;
}

.medico-curriculo{
  font-family: 'cera-pro-light';
  color: #9c5b35;
}

/* PÁGINA NOSSA CLÍNICA */

.nossa-clinica-fotos{
  background-color: white;  
  padding: 80px 20px;
}

  .nossa-clinica-title{
  font-family: 'cera-pro-light';
  color: #9c5b35;
  text-align: center;
  font-size: 50px;
  padding-top: 50px;
  padding-bottom: 50px;
}

.duo-img{
  max-width: 100%;
  display: flex; 
  gap: 30px; 
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 25px;
}

.duo-img img{
  max-width: 600px;
}

.single-img{
  text-align: center;
}

.single-img img{
  max-width: 1230px;
}

@media (max-width: 1280px){  
  .single-img img{
    max-width: 600px;
  }  
}

@media (max-width: 600px){
  .duo-img img{
    max-width: 300px;
  }
  .single-img img{
    max-width: 300px;
  }  
}

/* Overlay atrás do popup */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 9999;
}

/* Caixa central */
.popup-content {
  position: relative;
  background: transparent;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 30px rgba(0,0,0,0.5);
}

/* Botão fechar */
.popup-close {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 28px;
  font-weight: bold;
  background: none;
  border: none;
  cursor: pointer;
  color: #fff;
  text-shadow: 0 0 3px rgba(0,0,0,0.7);
}

/* Estado visível */
.popup-overlay.active {
  visibility: visible;
  opacity: 1;
}

@media (max-width: 999px) {
  #popup-overlay {
    display: none !important;
  }
}

/* botão wtsap */

.whatsapp-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
}

.whatsapp-btn img {
  width: 60px;
  height: auto;
  cursor: pointer;
  transition: transform 0.25s ease;
}

.whatsapp-btn img:hover {
  transform: scale(1.1);
}


/* PÁGINAS PARCEIROS */

/* estrutura das seções */
.secao{
  display:flex;
  align-items:center;
  gap:40px;
  padding:60px 0;
}

/* linha separadora */
.linha{
  border-bottom:3px solid #9c5b35;
}

/* inverter lado */
.reverso{
  flex-direction:row-reverse;
}

.secao-img,
.secao-texto{
  flex:1;
}

.secao-texto {
  color: #606060;
  font-size: clamp(18px, 3vw, 27px);
  font-family: 'cera-pro-light';
}

.secao-texto a {
  text-decoration: none;
  color: #9c5b35;
}

.secao-img img{
  width:80%;
  height:auto;
  display:block;
}

/* MOBILE */
@media (max-width:768px){

  .secao{
    flex-direction:column;
    text-align:center;
  }

  .reverso{
    flex-direction:column;
  }

  .secao-img{
    display:flex;
    justify-content:center;
  }

  .secao-img img{
    width:70%;
    margin:0 auto;
  }

}