body {
  font-family: 'Montserrat', sans-serif;
}

/* Estilos gerais do header */
.main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 50px;
  background: linear-gradient(135deg, #c0c0c0, #e0e0e0, #a9a9a9);
  color: #333;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.text-cinza {
  color: #9b9797;
}

/* Botão do WhatsApp */
.especialidades .whatsapp-link a {
  color: white;
}

.especialidades .whatsapp-link a:hover {
  color: #555;
}

.proposito .whatsapp-link a {
  color: white !important;
}

.proposito .whatsapp-link a:hover {
  color: #555 !important;
}

.whatsapp-link a {
  display: block;
  gap: 8px;
  background-color: #18953b;
  color: white;
  text-decoration: none;
  padding: 10px 18px;
  font-weight: bold;
  border-radius: 4px;
  transition: background-color 0.3s ease;
  margin-bottom: 20px;
  width: 100%;
  text-align: center;
}

.whatsapp-link a:hover {
  background-color: #5dc87b;
  color: #555;
}

/* Logo central */
.logo img {
  height: 400px;
  width: 400px;
  object-fit: contain;
  cursor: pointer;
}


/* Redes sociais */
.redes-sociais {
  display: flex;
  font-size: 30px;
  color: #757474;
  gap: 15px;
}

.redes-sociais a {
  color: #757474;
  transition: color 0.3s ease;
  padding-right: 30px;
}

.redes-sociais a:hover {
  color: #C0C0C0;
}

.divider {
  width: 100%;
  height: 10px;
  background-color: #C0C0C0;
}

.bg-gradiente-verde {
  background-image: linear-gradient(90deg, #097c30, #74de97);
  transition: .40s ease-in-out;
}

.bg-gradiente-verde-hover:hover {
  background-image: linear-gradient(90deg, #74de97, #097c30);
  transition: .40s ease-in-out;
}

.bg-gradiente-prata {
  background-image: linear-gradient(90deg, #7a7a7a, #d9d9d9, #7a7a7a);
  transition: .40s ease-in-out;
}

/* Nav (menu) */
.nav {
  width: 100%;
  margin-top: 10px;
  margin-bottom: 10px;
}

/* Lista horizontal dentro da nav */
.nav ul {
  display: flex;
  justify-content: space-around;
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Itens da nav */
.nav ul li {
  font-weight: bold;
  text-transform: uppercase;
  cursor: pointer;
  color: #9d9fa5;
  transition: color 0.3s;
}

.nav ul li a {
  text-decoration: none;
  color: inherit;
  font-weight: bold;
  text-transform: uppercase;
  transition: color 0.3s;
}

.nav ul li:hover {
  color: #4a4b50;
}

.a-clinica h2 {
  font-size: 36px;
  text-align: center;
  font-weight: bold;
}

.swiper {
  width: 100%;
  max-width: 1200px;
  height: 500px;
  margin: 0 auto;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.swiper-clinica h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #444;
  margin-bottom: 20px;
}

.swiper-clinica {
  width: 100%;
  max-width: 600px;
  margin: 0 auto 40px auto;
  overflow: hidden;
}

.swiper-clinica .swiper-wrapper {
  display: flex;
  transition-timing-function: ease-in-out;
}

.swiper-clinica .swiper-slide {
  flex-shrink: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-clinica .swiper-slide img {
  width: auto;
  max-width: 100%;
  max-height: 800px;
  object-fit: contain;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* ----------------------
   FOOTER (GRID LAYOUT)
   ---------------------- */
.footer {
  padding: 40px;
  font-size: 14px;
  background: linear-gradient(135deg, #c0c0c0, #e0e0e0, #a9a9a9);
  color: #333;
}

.divider {
  margin: 0;
}

.divider.bg-gradiente-prata {
  margin: 0;
  /* remove margin */
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  /* três colunas */
  grid-template-areas:
    "logo logo logo"
    "redes topo responsavel"
    "endereco endereco horario"
    "contatos contatos politica"
    "dev dev dev";
  gap: 18px;
  align-items: start;
  text-align: left;
}

/* Áreas */
.logo-footer {
  grid-area: logo;
  justify-self: center;
  align-self: center;
}

.redes-sociais-footer {
  grid-area: redes;
  justify-self: start;
  align-self: center;
  display: flex;
  gap: 12px;
  align-items: center;
}

.footer-topo {
  grid-area: topo;
  justify-self: center;
  align-self: center;
}

.footer-responsavel {
  grid-area: responsavel;
  justify-self: end;
  text-align: right;
}

.footer-endereco {
  grid-area: endereco;
  justify-self: start;
}

.footer-horario {
  grid-area: horario;
  justify-self: end;
  text-align: right;
}

.footer-contatos {
  grid-area: contatos;
  justify-self: start;
}

.footer-politica {
  grid-area: politica;
  justify-self: end;
  text-align: right;
}

.dev-partner {
  grid-area: dev;
  justify-self: center;
  text-align: center;
}

.logo-footer img {
  height: 400px;
  width: 400px;
  object-fit: contain;
}

.footer-topo a,
.footer-politica a,
.dev-partner a {
  color: inherit;
  text-decoration: none;
}

.footer h4 {
  margin: 0 0 6px 0;
  font-size: 15px;
  font-weight: 600;
}

.footer p {
  margin: 0 0 6px 0;
  line-height: 1.4;
}

.footer {
  text-align: center;
}

.footer .footer-container .footer-endereco a:hover {
  text-decoration: none;
  color: #757474;
  font-weight: bold;
}

.footer .footer-container .footer-contatos a:hover {
  text-decoration: none;
  color: #757474;
  font-weight: bold;
}

.footer .footer-container .footer-politica a:hover {
  text-decoration: none;
  font-weight: bold;
}

.footer .footer-container .footer-topo a:hover {
  text-decoration: none;
  font-weight: bold;
}

.footer p {
  font-size: 0.9rem;
  color: #555;
}

.footer p a {
  color: #757474;
  font-weight: bold;
}

.centro {
  text-align: center;
}

/* Container geral que envolve os dois blocos */
.container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-top: 20px;
  padding: 20px;
  margin-left: 40px;
  margin-right: 40px;
}

.esquerda {
  background-color: bisque;
  border: 1px solid black;
  border-radius: 10px;
  margin-top: 20px;
}

.esquerda .contato {
  margin-top: 20px;
  text-align: center;
}

.contato i {
  font-size: 50px;
}

.contato a {
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #18953b;
  color: #fff;
  text-decoration: none;
  padding: 10px 18px;
  font-weight: bold;
  border-radius: 4px;
  transition: background-color 0.3s ease;
  margin-bottom: 20px;
}

.contato a i {
  font-size: 15px;
}

.contato h4 {
  font-size: 15px;
}

.contato h2 {
  padding: 20px;
  font-size: 28px;
}

/* Ajusta os títulos */
.agendamento h4 {
  text-align: center;
  font-size: 24px;
  margin-bottom: 10px;
}

/* Texto padrão */
.agendamento p {
  text-align: center;
  margin: 4px 0;
}

/* Links de contato */
.agendamento .contatos {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.agendamento .contatos a {
  text-decoration: none;
  font-size: 16px;
  color: #333;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s ease;
}

.agendamento .contatos a:hover {
  color: #18953b;
}

.agendamento .contatos i {
  font-size: 20px;
  color: #18953b;
  display: flex;
  align-items: center;
}

.preto {
  color: black;
}

.fonte20 {
  font-size: 2rem;
}

.centro {
  display: flex;
  align-items: center;
}

.link-neutro,
.link-neutro:hover,
.link-neutro:focus,
.link-neutro:visited {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.container .direita .agendamento a {
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
}

.mapa {
  margin-top: 10px;
  border: 2px solid #ccc;
  border-radius: 8px;
  overflow: hidden;
  max-width: 350px;
}

.mapa iframe {
  display: block;
  width: 100%;
  height: 200px;
}

hr {
  border: 0;
  border-top: 1px solid #ccc;
  margin: 15px 0;
}

.politica-privacidade {
  background-color: #f9f9f9;
  padding: 40px 20px;
  margin: 20px auto;
  max-width: 800px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.politica-privacidade h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #555;
  margin-bottom: 20px;
}

.politica-privacidade h3 {
  font-size: 1.6rem;
  color: #555;
  margin-top: 20px;
  font-weight: bold;
}

.politica-privacidade p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
  text-align: justify;
  margin-bottom: 15px;
}

.politica-privacidade ul {
  list-style: inside;
  padding-left: 0;
}

.politica-privacidade ul li {
  font-size: 1rem;
  color: #555;
  margin-bottom: 10px;
}

.politica-privacidade a {
  color: #555;
  text-decoration: none;
  font-weight: bold;
}

.politica-privacidade a:hover {
  text-decoration: none;
  color: #C0C0C0;
}

.politica-privacidade .divider {
  margin-top: 30px;
  margin-bottom: 30px;
  border-top: 1px solid #ddd;
}

.corpo,
.especialidades,
.tratamentos{
  background-color: #f9f9f9;
  padding: 40px 20px;
  margin: 20px auto;
  max-width: 800px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: -50px;
  margin-top: 0px;
}

.corpo h2,
.especialidades h3,
.tratamentos h4{
  text-align: center;
  font-size: 2.5rem;
  color: #444;
  margin-bottom: 20px;
}

.corpo h3,
.especialidades h4,
.tratamentos h2 {
  font-size: 1.8rem;
  color: #444;
  margin-top: 20px;
  font-weight: bold;
}

.corpo p,
.especialidades p {
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
  text-align: justify;
  margin-bottom: 15px;
}

.corpo ul,
.especialidades ul {
  list-style: inside;
  padding-left: 0;
}

.corpo ul li,
.especialidades ul li {
  font-size: 1rem;
  color: #444;
  margin-bottom: 10px;
}

.corpo a,
.especialidades a,
.tratamentos a {
  color: #444;
  text-decoration: none;
  font-weight: bold;
}

.corpo a:hover,
.especialidades a:hover,
.tratamentos a:hover {
  text-decoration: none;
  color: #C0C0C0;
}

.divider {
  margin-top: 30px;
  margin-bottom: 30px;
  border-top: 1px solid #ddd;
}

.proposito {
  background-color: #f9f9f9;
  padding: 40px 20px;
  margin: 20px auto;
  max-width: 800px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: -50px;
}

.proposito h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #444;
  margin-top: -20px;
  margin-bottom: 20px;
}

.proposito p {
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
  text-align: justify;
  margin-bottom: 20px;
}

.proposito a {
  color: #333;
  text-decoration: none;
  font-weight: bold;
}

.proposito a:hover,
.proposito a:focus,
.proposito a:visited {
  text-decoration: none;
  color: #C0C0C0;
}

.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.6);
  overflow-y: auto;
}

.modal-content {
  position: relative;
  background-color: #fff;
  margin: 5% auto;
  padding: 40px;
  border-radius: 12px;
  width: 90%;
  max-width: 800px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  animation: fadeIn 0.3s ease-in-out;
}

.modal-header h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #333;
  text-align: center;
}

.modal-body .divider {
  width: 100%;
  height: 10px;
  background-color: #C0C0C0;
  border: none;
  height: 2px;
}

.modal-button {
  display: inline-block;
  margin: 40px auto 0 auto;
  padding: 12px 24px;
  background-color: #e0e0e0; /* prata claro */
  color: #444; /* cinza escuro */
  font-weight: bold;
  text-align: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: background-color 0.3s ease;
}

.modal-button:hover {
  background-color: #acaaaa;
}

.modal-body p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #444;
  text-align: justify;
}

.close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  color: #999;
  cursor: pointer;
  z-index: 1;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

.modal-imagem {
  text-align: center;
  margin-bottom: 20px;
}

.modal-imagem img {
  width: 100%;
  max-width: 400px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.imagem-cortada {
  object-fit: cover;
  object-position: top;
  max-height: 350px;
  width: 100%;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}