html, body{
	margin:0;
	font-family: 'Arial';
	letter-spacing: 2px;
	overflow-x: hidden;
  scroll-behavior: smooth;
  transition: .5s;
}

h1,h2{
	font-weight: 400;
	font-style: normal;
	cursor: default;
	margin: 0;
}

#scrollButton {

  display: none; /* Inicialmente esconde o botão */
  position: fixed; /* Torna o botão fixo */
  bottom: 20px; /* Espaço a partir do canto inferior */
  right: 20px; /* Espaço a partir do canto direito */
  z-index: 1000; /* Coloca o botão sobre outros elementos */
}

/* Estilo adicional para o botão */
#scrollButton button {
  background-color: #007bff;
  color: white;
  border: none;
  cursor: pointer;
  width: 50px;
  height: 50px;
  border-radius: 100%;
  font-size: 16px;
  padding:5px;
  transition: .1s ease;
  border:0px;
}

#scrollButton:hover button{
  background-color: #99c0ed;
  border:1px solid #007bff;
}


.icon::before {
  display: inline-block;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
}



#contact-form{transition: 2s;}


a{color: #333;;text-decoration: none;}
a:visited{color: inherit;}
a:active{color:white;}

header{
  margin:0% 5%;
  width: 90%;
  position: fixed;
  z-index: 1;
  display: inline-grid;
  grid-template-rows: auto;
  grid-template-columns: auto auto;
  transition: transform 0.5s ease;
}

#nav-bar.animation 
{
  transform: translateY(0);
}

header img{
  padding:5px;
  width: 220px;
  height: 70px;
}

#nav-bar nav{

  -webkit-border-bottom-right-radius: 20px;
  -webkit-border-bottom-left-radius: 20px;
  -moz-border-radius-bottom-right: 20px;
  -moz-border-radius-bottom-left: 20px;
  border-bottom-right-radius: 20px;
  border-bottom-left-radius: 20px;
  -webkit-box-shadow: 10px 10px 50px -17px rgba(0,0,0,0.75);
  -moz-box-shadow: 10px 10px 50px -17px rgba(0,0,0,0.75);
  box-shadow: 10px 10px 50px -17px rgba(0,0,0,0.75);
}


/* ----------------------------------------*/

.banner-wallpaper{
  z-index: 0;
  position: relative;
  text-align: center;
  background-image: url("../IMG/sala_espera_banner.jpg");
  background-size: cover;
  overflow: hidden;
  height: auto;
  padding:50px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  max-height: 700px;
}

.fundo_blur {
  z-index: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.6);
  filter: blur(5px); /* define o efeito de blur */
}

.titulo, .slogan, .book-now {
  position: relative;
}

.titulo{
 color: rgb(0, 85, 143);
 font-size: 80px;
 letter-spacing: 25px;
 text-align: center;
 margin:10% 1% 5% 1%;
}

.slogan{
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.5);
  z-index: 1;
  font-weight: bold;
  font-size: 15px;
  margin-top:5%;
  text-align: center;
  color: white;
}

.banner-wallpaper button {
  background-color: #0078d7;
  color: #fff;
  font-weight: bold;
  font-size: 18px;
  margin:5% 0% 1% .5%;
  padding: 15px 30px;
  text-decoration: none;  
  border: 1px solid #0078d7;
  transition: background-color 0.3s ease-out, border-color 0.3s ease-out;
}

.banner-wallpaper button:hover {
  border:1px solid #0078d7;
  background-color: #99c0ed;
  cursor: pointer;
}



/* ------------------------------------------- */

.specialties {
  padding: 50px 0;
  background-color: #f8f8f8;
  text-align: center;
}

.specialties h2 {
  color:rgb(0, 85, 143);
  font-size:50px;
  letter-spacing: 7px;
  font-weight: bold;
  margin-top: 20px;
  margin-bottom: 50px;
}

.card-deck-c {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(4, auto);
  grid-gap: 20px;
  max-width: 95%;
  margin: 0 auto;
  transition: grid-template-columns 0.5s ease, grid-template-rows 0.5s ease, grid-gap 0.5s ease;
}

.card-esp {
  position: relative;
  cursor: default;
  background-color: #fff;
  border: 1px solid #e2e2e2;
  box-shadow: 0 2px 5px rgba(0, 85, 143,0.1);
  border-radius: 5px;
  padding: 20px;
  text-align: center;
  transition: all 0.3s ease-in-out;
}


.card-esp:hover {
  box-shadow: 0 5px 10px rgba(0, 85, 143, 0.2);

}



.card-esp span:hover
{
  font-weight: bold;
}


.card-esp img 
{
  max-width: 100%;
  border-radius: 50%;
  margin-bottom: 20px;
  border:2px solid rgb(0, 85, 143);
}

.card-esp h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.2;
  color: rgb(0, 85, 143);
}


.more-esp
{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: grid;
  align-items: end;
  justify-content: center;
  background-color: rgb(0, 85, 143,0.95);
  color:#FFFFFF;
  border:3px solid rgb(0, 85, 143);
  border-radius: 5px;
  cursor: pointer;
  opacity: 0;/* ADICIONAR OPACIDADE PARA ANIMAR COM O TRANSITION*/
  transition: opacity .5s ease;
  visibility: hidden;
}

.more-esp span 
{
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  padding-bottom: 15px;
  color:#FFFFFF;
}


.more-esp i{font-size:  100px;}

.card-esp:hover .more-esp{
  visibility: visible;
  opacity: 1;
}

.card-esp:hover h3{
  z-index: 999;
}

/* -------------------------------------------------------------------*/

.mapa {
  width: 100%;
  margin-bottom: -7px;
}

/* ------------------------------------------------------------------ */

.section-contact {
  padding: 100px 0;
  background-color: #FFFFFF;
}

.contact-form {
  background-color: #fff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 10px;
}

.contact-form input,
.contact-form textarea {
  background-color: rgba(153, 192, 237,0.2);
  resize: none;
  font-size: 15px;
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 5px;
  overflow: hidden;
}

.contact-form select{background-color: rgba(153, 192, 237,0.2);}

.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus{background-color: rgba(153, 192, 237,0.2);}

.contact-form button[type="submit"] {
  background-color: #0078d7;
  color: #fff;
  border: 1px solid #0078d7;
  width: 100%;
  border-radius: 5px;
  padding: 10px 20px;
  font-weight: bold;
  cursor: pointer;
  transition: .5s;
}

.contact-form button[type="submit"]:hover {
  background-color: #99c0ed;
  border:1px solid #0078d7;
}

.clinic-info {
  cursor: default;
  background-color: #fff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
}

.clinic-info h3 {
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
}

.clinic-info p {

  text-align: center;
  font-size: 16px;
  margin-bottom: 10px;
}

.clinic-info ul {
  font-size: 16px;
  margin-bottom: 20px;
}

.clinic-info img{
  padding: 40px;
  width: auto;
}




/*-----------------------------------------------------------------*/

.sponsors {
  padding: 50px 0;
  background-color: #fff;
  text-align: center;
}

.sponsor-logos img {
  max-width: 200px;
  margin: 20px;
}

/*----------------------------------------------------------------- */
.footer {
  background-color: #003f6b;
  color: #dcdcdc;
  padding: 30px 15px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  line-height: 1.6;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 25px;
  max-width: 95%;
  margin: 0 auto;
}

.footer-column h4 {
  font-size: 14px;
  margin-bottom: 10px;
  color: #ffffff;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.footer-column p,
.footer-column ul li {
  margin-bottom: 8px;
  color: #cccccc;
}

.footer-column a {
  color: #cccccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: #ffffff;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li a {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
}

.footer-column i {
  font-size: 14px;
  color: #bbbbbb;
  transition: color 0.3s ease;
}

.footer-column a:hover i {
  color: #ffffff;
}

@media (max-width: 600px) {
  .footer {
    text-align: center;
  }

  .footer-column ul li a {
    justify-content: center;
  }
}

/* -----------------------------------------------------------------------*/


/* ------------------ consentir o uso de cookies ------------------------*/
#cookie-consent{
  position: fixed; 
  bottom: 5%; 
  left: 50%; 
  width: auto;
  background-color: #f0f0f0;
  border: 1px solid #CCC;
  padding: 20px; 
  text-align: center; 
  z-index: 9999;
  border-radius: 20px;
  transition: .5s;
  transform:translate(-50%,0);
}

#accept-cookies{
  margin-left: 10px; 
  background-color: #0078d7;
  border:1px solid #0078d7;
  color: white; 
  padding: 8px 20px; 
  cursor: pointer; 
  border-radius: 4px;
  transition: .5s;
}

#accept-cookies:hover{
  background-color: #99c0ed;}



  #cookie-consent.hidden {
    visibility: hidden;
    transform: translate(-50%,150%);
  }

  #cookie-consent p{margin:0;}






  /* ------------- COOKIES TERMOS E CONDICOES-------------  */
  .termos-e-cond, .cookies{
    margin:10% 5% 5% 5%;
    width:90%;
    padding:2% 5%;
    background-color:#f8f8f8;
  }

  .termos-e-cond h1, .cookies h1{
    text-align: center;
    font-weight: bold;
    margin-bottom: 50px;
    color: rgb(0, 85, 143);
  }

  .termos-e-cond article, .cookies article{color:#999;}

  .termos-e-cond article a, .cookies article a{
    font-weight: bold;
    color: #999;}

    /* ---- TABLETS ---*/
    @media only screen and (max-width: 820px) 
    {

       .footer-content {
        flex-direction: column;
        align-items: center;
    }

    .footer-section {
        margin-bottom: 15px;
        text-align: center;
    }

    
      header{
        position: static;
        margin:0;
        width:100%;
      }

      .banner-wallpaper
      {
        height:400px;
      }




      .titulo{
        font-size: 20px;
        letter-spacing: 5px;
      }
      .slogan{
        margin-top:7%;
        font-size: 10px;
      }
      .banner-wallpaper button{
        font-size: 10px;
      }
      .contact-form {
        padding: 20px;
      }
      .clinic-info {
        padding: 20px;
        width: 100%;
        margin-top: 5%;
      }

      .clinic-info img{
        max-width: 100%;

      }


      .specialties{height:1750px;}

      .specialties h2{
        font-size: 25px;
      }

      .card-deck-c{
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(8, auto);
        grid-gap: 1%;
        width: 95%;
        margin:auto;
      }

      .card-esp{
        padding:5px;
      }

      .card-esp h3{
        font-size: 10px;
      }

      .card-esp img{width:100px;}

      .more-esp i{font-size:80px;}

      .sponsors{margin-top:70px;}


      #cookie-consent{
       letter-spacing:0px;
       font-size:10px;
       left:30%;
       transform: translate(-20%,0);

     }

     #cookie-consent.hidden 
     {
      transform: translate(-20%,150%);
    }

  }


  /* ----------------------------------- */

