/*  azul #1E3663  verde #5FA903 */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

* {
  font-family: Montserrat;       
}

html, body {
  margin: 0;
  padding: 0;
  width: 100vw;
  height: 100vh;
  overflow-x: hidden;
}

main {
  margin: 0;
  padding: 0;
}

.contactos-header {        
  background-color: #1e366377 !important;
  color: white;
  font-size: 14px;
  padding: 15px 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: right; 
  gap: 10px;
}

.contactos-header p {
  margin: 0;
  display: flex;
  align-items: center;
  color: #ffffff;
}

.contactos-header i {
  font-size: 18px;
  margin-right: 8px;
  color: #ffffff;
}

@media (max-width: 991px) {
  main {
    padding-top: 50px;
  }

  .contactos-header {
    display: none;
  }
}

.navbar {
  background-color: #1E3663 !important;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between; 
  align-items: center;
  max-width: 100%;
}

.navbar-brand img {
  height: 100px; 
  width: auto;
  margin-left: 100px;
}

.navbar-collapse {
  display: flex;
  justify-content: flex-end; 
}


.navbar-nav {
  display: flex;
  align-items: center;
  gap: 15px; 
  margin-right: 100px;
}

.navbar-nav .nav-item .nav-link {
  color: white !important;
  font-size: 16px;
  font-weight: 500;
}

.navbar-nav .nav-item .nav-link:hover,
.navbar-nav .nav-item .nav-link.active {
  color: #5FA903 !important;
}

.navbar-nav .btn {
  background-color: #5FA903 !important;
  color: white;
  border-radius: 20px;
  padding: 8px 20px;
  font-weight: bold;
} 

.dropdown-menu {
  background-color: #5FA903  !important;
 
}

.dropdown-item {
  color: white !important;
}


.dropdown-item:hover {
  color: #5FA903 !important;
}




footer {
  background: linear-gradient(to top, #5b7dbb, #1E3663);
  color: white;
 
  .footer-contact {
    margin-left: 60px;
    margin-right: -20px;
    padding: 40px 40px; 
  }

  .assinatura {
    padding: 20px;
  }
}

footer a {
  color: #ffffff; 
  text-decoration: none;
}

footer a:hover {
  color: #ffffff;
  text-decoration: underline;
}


/* classe para as imagens com texto dinamico*/

.dinamica img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  transition: opacity 0.3s ease-in-out;
}

.dinamica img.first {
  opacity: 1;
}

.dinamica img.second {
  opacity: 0;
}

.dinamica:hover img.first {
  opacity: 0;
}

.dinamica:hover img.second {
  opacity: 1;
}



.carrossel {
  width: 100%;
  overflow: hidden;
}

.carrossel .carousel-inner,
.carrossel .carousel-item,
.carrossel img {
  width: 100%;
  height: auto;
  object-fit: cover; 
}

.carousel-caption {
  position: absolute;
  z-index: 2; 
  text-align: left;
  left: 5%;
  right: auto;
  bottom: 20%;
  transform: none;
  a {
    color: #FFFFFF;
  }
}

.cardNews {
  margin: 40px auto;
  background: linear-gradient(to top, #1E3663, #5b7dbb);
  padding: 40px 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.cardNews .card {
  width: 100%;
  max-width: 350px;
  padding: 20px;
  margin: 0;
}

@media (max-width: 768px) {
  .navbar-brand img {
    height: 50px;
  }

  .navbar-nav {
    gap: 10px;
  }

  .carousel-caption {
    position: absolute;
    z-index: 2;

    h2 {
      font-size: 16px;
    }
     p {
      font-size: 12px;
    }
  }

  .contactos-header {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .navbar-brand img {
    height: 40px;
  }

  .navbar-nav {
    flex-direction: column;
    gap: 5px;
  }

.carousel-caption {
    position: absolute;
    z-index: 2;

    h2 {
      font-size: 12px;
    }
     p {
      font-size: 10px;
    }

  }

  .contactos-header {
    flex-direction: column;
    align-items: center;
    gap: 5px;
  }
}


.especialidades {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  max-width: 95%;
}

.especialidades-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); 
  gap: 12px;
  justify-content: center;
  
}

.img-especialidade a {
  display: block; 
  width: 100%;
  height: 100%;
  position: relative;
}

.img-especialidade {
  width: 100%;
  max-width: 391px;
  height: auto;
  aspect-ratio: 391 / 376; 
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  margin: 0 auto; 
}

.img-especialidade img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain; 
  position: absolute;
  transition: opacity 0.3s;
}

@media (max-width: 1024px) {
  .especialidades-grid {
    grid-template-columns: repeat(3, 1fr); 
  }
}

@media (max-width: 768px) {
  .especialidades-grid {
    grid-template-columns: repeat(2, 1fr); 
  }
}

@media (max-width: 480px) {
  .especialidades-grid {
    grid-template-columns: 1fr; 
  }
}


.mapa {
  position: relative; 

  h4{
    font-size: 37px;
  }
  
  h5{
    font-size: 20px;
  }

  p{
    font-size: 25px;
  }

}

.box-local {
  position: absolute;
  top: 0; 
  left: 224px; 
  width: 684px;
  height: 431px;
  background: #1E3663;
  box-shadow: 0px 3px 6px #00000029;
  color: #ffffff;
  padding: 20px;
  z-index: 10; 
  margin-bottom: 10px;
}

.mapa img {
  width: 100%;
  display: block; 
}


.print-maps img {
  width: 100%;
  display: block; 
}

.destaques img {
  width: 100%;
  display: block; 
}


.horarios {
  height: auto;
  background: #5FA903;
  opacity: 1;
  color: #FFFFFF;
  padding: 20px 0;
}

.horarios .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-left: 60px;
  margin-right: 60px;
  margin-top: 10px;
  margin-bottom: 10px;
}

.horarios .col {
  flex: 1 1 1 1 1 1 1 1 calc(33.333% - 15px);
  max-width: calc(33.333% - 20px);
  margin: 0 10px;
  text-align: center;
}

.horarios .col p {
  font-size: small;
}


@media (max-width: 768px) {


  .horarios .col {
    flex: 1 1 calc(50% - 20px);
    max-width: calc(50% - 20px);
  }
}

@media (max-width: 480px) {


  .horarios .col {
    flex: 1 1 100%;
    max-width: 100%;
  }
}



/* ÁREAS DE INTERVENÇÃO*/
.prancheta {
  max-width: fit-content;
  max-height: fit-content;
  margin: -10px;

}

.pilates, .fisiatria, .rpg, .terapia-da-fala, .osteopatia {
  margin: 100px;
  align-items: center;
}

.img-pilates, .img-fisiatria, .img-rpg, .img-terapia-da-fala, .img-osteopatia  {
  position: relative;
  width: 100%;
  max-width: 1640px; 
  aspect-ratio: 1640 / 552; 
  margin: 0 auto; 

  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    transition: opacity 0.3s ease-in-out;
  }
}



.massagem, .fisioterapia {
  margin: 100px;
  align-items: center;

  .img-massagem, .img-fisioterapia {
    position: relative;
    width: 100%;
    max-width: 812px;
    aspect-ratio: 812 / 573;
     
    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      position: absolute;
      transition: opacity 0.3s ease-in-out;
    }
     
  } 

}


@media (max-width: 768px) {
  .pilates, .fisiatria, .rpg, .terapia-da-fala, .osteopatia, .massagem, .fisioterapia {
    margin: 20px;
    padding-bottom: 20px;
  }
}

/*CONTACTOS*/
.topo {
  margin: 0px;
  height: 75vh;
  background: #5FA903 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: -90px;
}

.formulario form {
  background: #5FA903 !important;
  border-radius: 10px;
}

.form-control {
  border: 1px solid #fff !important;
  background: #5FA903 !important;
  color: #fff !important;
}

.form-control::placeholder {
  color: #fff !important;
}

@media (max-width: 768px) {
  .formulario {
    width: 90%;
  }
  .col-md-6 {
    width: 100%;
  }
}


/* sobre nós */
.nossa-clinica{
  width: 100%;
  max-width: 1920px;
  aspect-ratio: 1920 / 360;
  background: transparent linear-gradient(180deg, #1E366382 0%, #18366B 100%) 0% 0% no-repeat padding-box;
  opacity: 1;

  h2 {
    padding-top: 200px;
    text-align: center;
    color: #FFFFFF;
    font-weight: bold;
  }

  p {
    text-align: center;
    color: #FFFFFF;
    font-size: 24px;
    font-weight: lighter;
    padding-bottom: 20px;
  }
}


.nossa-clinica-2{
  padding-top: 70px;
  width: 100%;
  max-width: 1920px;
  aspect-ratio: 1920 / 160;
  background: transparent linear-gradient(180deg, #1E366382 0%, #18366B 100%) 0% 0% no-repeat padding-box;
  opacity: 1;

  h2 {
    text-align: center;
    color: #FFFFFF;
    font-weight: bold;
  }

  p {
    text-align: center;
    color: #FFFFFF;
    font-size: 24px;
    font-weight: lighter;
    padding-bottom: 20px;
  }
}

.nossa-clinica-3{
  padding-top: 80px;
  width: 100%;
  max-width: 1920px;
  aspect-ratio: 1920 / 260;
  background: transparent linear-gradient(180deg, #1E366382 0%, #18366B 100%) 0% 0% no-repeat padding-box;
  opacity: 1;

  h2 {

    text-align: center;
    color: #FFFFFF;
    font-weight: bold;
  }

  p {
    text-align: center;
    color: #FFFFFF;
    font-size: 24px;
    font-weight: lighter;
    padding-bottom: 20px;
  }
}

.conteudo-sobre-nos {
  margin: 100px 100px !important;
  align-items: center;

  h3 {
    font-size: 25px;
    font-weight: 500; 
    margin-bottom: 15px;
    color: #5FA903;
  }
  
   p {
    font-size: 20px;
    font-weight: 300; 
    line-height: 1.5;
    color: #333;
    text-align: left;
  }
}

.conteudo-sobre-nos .row {
  display: flex;
  align-items: flex-start; 
  justify-content: space-between;
  margin-bottom: 40px;
  width: 100%; 
  gap: 50px; 
}

.conteudo-sobre-nos .row:nth-of-type(odd) {
  flex-direction: row-reverse;
}

.conteudo-sobre-nos .col-md-6 {
  display: flex;
  flex-direction: column;
  justify-content: flex-start; 
  padding: 0; 
}

.conteudo-sobre-nos .text-column {
  flex: 2; 
}

.conteudo-sobre-nos .image-column {
  flex: 1; 
}

.conteudo-sobre-nos .img-fluid {
  width: 100%; 
  height: auto;
  display: block;
  object-fit: cover;
}

@media (max-width: 1200px) {
  .conteudo-sobre-nos .row {
      flex-direction: column !important;
      gap: 20px; 
      justify-content: center; 
      align-items: center; 
      margin: 20px auto;
  }

  .conteudo-sobre-nos {
      margin: 20px auto !important;
      max-width: 100%;
      align-items: center;
  }

  .conteudo-sobre-nos .img-fluid {
      max-width: 350px;
      align-self: center;
      padding: 20px;
      
  }

  .conteudo-sobre-nos .text-column, .conteudo-sobre-nos .image-column {
      flex: 1; 
      width: 100%; 
  }
}



@media (max-width: 768px) {
  .nossa-clinica, .nossa-clinica-2, .nossa-clinica-3 {
      padding: 15px;
      text-align: center;
  }

  .conteudo-sobre-nos {
      flex-direction: column;
      align-items: center;
      padding: 15px;
      text-align: center;
  }

  .nossa-clinica h1, .nossa-clinica-2 h1, .nossa-clinica-3 h1 {
      font-size: 1.5rem;
  }

  .nossa-clinica p, .nossa-clinica-2 p, .nossa-clinica-3 p {
      font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .nossa-clinica h1, .nossa-clinica-2 h1, .nossa-clinica-3 h1 {
      font-size: 1.2rem;
  }

  .nossa-clinica p, .nossa-clinica-2 p, .nossa-clinica-3 p {
      font-size: 0.9rem;
  }

  .conteudo-sobre-nos {
      padding: 10px;
  }
}

.equipa {
  margin: 100px;
  align-items: center;

  .img-equipa {
  position: relative;
  width: 100%;
  width: 518px;
  aspect-ratio: 518 / 584;
	
    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      position: absolute;
      transition: opacity 0.3s ease-in-out;
    }
  }
}

.acordos {
  margin: 100px;
  text-align: center;
}

.acordos h2 {
  margin-bottom: 20px;
}

.acordos h3 {
  text-align: left;
  margin-top: 40px;
  margin-bottom: 16px;
}

.acordos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  justify-content: center;
}

.img-acordo {
  width: 100%;
  max-width: 401px;
  height: 287px;
  background: #FFFFFF;
  box-shadow: 0px 3px 6px #00000029;
  border-radius: 50px;
  opacity: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.2s;
}

.img-acordo img {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
  padding: 5px;
}

.img-acordo:hover {
  transform: scale(1.05);
}


@media (max-width: 1024px) {
  .acordos-grid{
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .acordos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .img-acordo {
    height: 200px;
  }
}

@media (max-width: 480px) {
  .acordos-grid {
    grid-template-columns: 1fr;
  }
  .img-acordo {
    height: 150px;
  }
}



/*modal*/
.consulta-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 110%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
  color: #FFFFFF;
}
.consulta-modal-content {
  background: #5FA903;
  padding: 20px;
  border-radius: 10px;
  width: 90%;
  max-width: 500px;
  display: flex;
  flex-direction: column;

  h2{
    align-self: center;
  }

}
.consulta-label {
  color: white;
  margin: 5px;


}
.consulta-input {
  margin-bottom: 10px;
  background: white;
  border: none;
  padding: 8px;
  border-radius: 5px;
  width: 100%;

}
.consulta-button {
  background: #1E3663;
  color: white;
  border: none;
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;
  width: 100%; 

}
.consulta-button.success {
  background: #1E3663;
}

.close-button {
  background: none;
  border: none;
  margin-left: 90%;
  color:#FFFFFF;
  font-weight: bolder;
  font-size: medium;
}




.politica-privacidade {
  margin: 100px;
}


.blog {
  margin: 50px;
}


.custom-card {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.custom-card img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

.card-overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgba(0, 0, 50, 0.7);
  color: white;
  padding: 20px;
}

.card-title {
  font-size: 1.2rem;
  font-weight: bold;
}

.card-text {
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.custom-btn {
  background-color: #77b300;
  color: white;
  border-radius: 5px;
  padding: 8px 15px;
  text-decoration: none;
  display: inline-block;
}

.custom-btn:hover {
  background-color: #669900;
  text-decoration: none;
  color: white;
}




.post {
  max-width: 900px; 
  margin: 40px auto; 
  padding-bottom: 60px; 
  font-family: Arial, sans-serif;
  color: #333;
}

/* Ttulo */
.post h1 {
  font-size: 2rem;
  color: #0073e6;
  text-align: center; 
  margin-bottom: 20px;
}


.post img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  margin: 0 auto 20px auto;
}


.post p {
  font-size: 1rem;
  line-height: 1.6;
  text-align: left; 
  margin: 0 auto;
  max-width: 800px; 
}
