body {
  margin: 0;
  font-family: Arial, sans-serif;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 20px;
}

/* HEADER */
.header {
  background: #1b3c79;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* LOGO */
.logo img {
  height: 220px;
}

/* MENU */
.nav a {
  font-size: 30px;
  position: relative;
  margin-left: 25px;
  text-decoration: none;
  color: #ffffff;
  font-weight: 500;
  transition: color 0.3s ease;
}

/* EFEITO HOVER (linha animada elegante) */
.nav a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background: #1c1c3a;
  left: 0;
  bottom: -5px;
  transition: width 0.3s ease;
}

.nav a:hover {
  color: #000;
}

.nav a:hover::after {
  width: 100%;
}

.nav.active {
    right: 0;
  }
  
  .close-menu {
    align-self: flex-end;
    font-size: 24px;
    background: none;
    border: none;
    margin-bottom: 20px;
    display: none;

  }

.hero {
  padding: 60px 0;
  background: #ffffff;
}

.hero-content {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.hero-text h1 {
  font-size: 48px;
  color: #1c1c3a;
  font-weight: 700;
}

.hero-desc {
  max-width: 500px;
  color: #000000;
  line-height: 1.6;
}

.hero-image {
  margin-top: 40px;
}

.hero-image img {
  width: 80%;
  display: block;
  margin: 0 auto;
  border-radius: 12px;
}

.section-servicos {
  padding: 80px 0;
  background: #f8f8f8;
}

.servicos-container {
  display: flex;
  align-items: center;
  gap: 60px;
}

.servicos-img img {
  width: 100%;
  max-width: 600px;
  border-radius: 12px;
}

.servicos-text h2 {
  font-size: 36px;
  color: #1c1c3a;
  margin-bottom: 20px;
}

.servicos-text p {
  color: #000000;
  line-height: 1.6;
}

.btn {
  background: #fff;
  color: #0ea5e9;
  padding: 10px 20px;
  margin-top: 15px;
  text-decoration: none;
  border-radius: 5px;
}

.grid {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.depoimento {
  background: url('../images/clinica3.jpg') center/cover no-repeat;
  height: 400px;
  position: relative;
}

.overlay {
  background: rgba(0,0,0,0.6);
  height: 100%;
  display: flex;
  align-items: center;
}

.depoimento h2 {
  color: white;
  font-size: 28px;
  max-width: 800px;
  line-height: 1.6;
}

.tag {
  color: #9ca3af;
  display: block;
  margin-bottom: 10px;
}

.cta {
  background: #0f0f3a;
  color: white;
  text-align: center;
  padding: 80px 20px;
}

.cta h2 {
  font-size: 40px;
  margin-bottom: 20px;
}

.cta p {
  max-width: 700px;
  margin: 0 auto 30px;
  line-height: 1.6;
}

.btn-cta {
  background: #e5e5e5;
  color: #0f0f3a;
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
}

/* HOVER PROFISSIONAL */
.btn-cta:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
  background: #089c96;
}

.tratamentos-topo {
  background: #0AB3AC;
  padding: 80px 20px;
  color: white;
  text-align: center;
}

.tratamentos-topo h1 {
  font-size: 42px;
  margin-bottom: 50px;
}

.tratamentos-grid {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.card {
  max-width: 300px;
}

.card img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 15px;
}

.card p {
  font-size: 15px;
  line-height: 1.5;
}

.carrossel-section {
  padding: 80px 20px;
  text-align: center;
}

.carrossel-section h2 {
  margin-bottom: 40px;
  font-size: 36px;
}

.carrossel {
  position: relative;
  overflow: hidden;
}

.carrossel-track {
  display: flex;
  gap: 20px; /* usa gap em vez de margin */
  transition: transform 0.5s ease;
  will-change: transform;
}

.slide {
  min-width: calc((100% - 40px) / 3); /* 3 imagens + gap */
}

/* TAMANHO PADRÃO DAS IMAGENS */
.slide img {
  width: 100%;
  height: 300px; /* define altura fixa */
  object-fit: cover; /* mantém proporção */
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.3s;
}

.slide img:hover {
  transform: scale(1.05);
}

/* BOTÕES */
.prev, .next {
  position: absolute;
  z-index: 10;
  top: 50%;
  transform: translateY(-50%);
  background: #0AB3AC;
  color: white;
  border: none;
  font-size: 30px;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 50%;
}

.prev { left: 10px; }
.next { right: 10px; }

/* MODAL */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  align-items: center;     /* 🔥 centraliza vertical */
  justify-content: center; /* 🔥 centraliza horizontal */
}

.modal img {
  max-width: 90%;
  max-height: 80vh;
  border-radius: 10px;
}

.close {
  position: absolute;
  top: 20px;
  right: 40px;
  font-size: 40px;
  color: white;
  cursor: pointer;
}

/* SOBRE */
.sobre {
  padding: 80px 20px;
  text-align: center;
}

.sobre h1 {
  font-size: 42px;
  margin-bottom: 20px;
}

.intro {
  max-width: 800px;
  margin: auto;
  line-height: 1.6;
  color: #000000;
}

/* DETALHE */
.sobre-detalhe {
  padding: 80px 20px;
  background: #ffffff;
}

.sobre-flex {
  display: flex;
  align-items: center;
  gap: 50px;
}

.sobre-img img {
  width: 100%;
  max-width: 500px;
  border-radius: 12px;
}

.titulo-detalhe {
  font-size: 32px;
  margin-bottom: 20px;
  color: #1c1c3a;
  position: relative;
}

/* LINHA DECORATIVA */
.titulo-detalhe::after {
  content: "";
  width: 50px;
  height: 3px;
  background: #0AB3AC;
  display: block;
  margin-top: 8px;
}

.detalhe-container {
  display: flex;
  gap: 50px;
  align-items: center;
}

.detalhe-texto {
  flex: 1;
  line-height: 1.6;
}

.detalhe-img img {
  width: 100%;
  border-radius: 12px;
}

/* VALORES */
.valores {
  padding: 80px 20px;
  text-align: center;
}

.valores-flex {
  display: flex;
  gap: 50px;
  align-items: center;
}

.valores-img img {
  width: 100%;
  max-width: 500px;
  border-radius: 12px;
}

.valores-texto h2{
font-size: 32px;
  margin-bottom: 20px;
  color: #1c1c3a;
  position: relative;
}

/* ESPECIALIDADES */

.titulo-especialidades {
  text-align: center;
  font-size: 36px;
  margin-bottom: 30px;
  position: relative;
}

/* LINHA DECORATIVA */
.titulo-especialidades::after {
  content: "";
  width: 60px;
  height: 3px;
  background: #0AB3AC;
  display: block;
  margin: 10px auto 0;
}

.especialidades-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.esp-card {
  background: white;
  color: #0AB3AC;
  padding: 25px 15px;
  border-radius: 15px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.esp-card i {
  font-size: 30px;
  margin-bottom: 10px;
}

/* HOVER PREMIUM */
.esp-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
  background: #0AB3AC;
  color: white;
}

.esp-desc {
  max-height: 0;
  overflow: hidden;
  font-size: 14px;
  margin-top: 10px;
  transition: all 0.3s ease;
  line-height: 1.6;
}

/* quando ativo */
.esp-card.active .esp-desc {
  max-height: 500px;
}

.equipe {
  padding: 80px 20px;
  background: #f9f9f9;
  text-align: center;
}

.titulo-equipe {
  font-size: 36px;
  margin-bottom: 50px;
}

.equipe-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 40px;
}

.equipe-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  position: relative;
  padding-bottom: 30px;
  transition: 0.3s;
}

.equipe-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

/* TOPO COLORIDO */
.equipe-topo {
  height: 120px;
  background: #1b2a5a; /* azul escuro */
}

.equipe-topo.verde {
  background: #0AB3AC;
}

/* FOTO */
.equipe-foto {
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
}

.equipe-foto img {
  width: 170px;
  height: 170px;
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid white;
  object-position: center top; /* 🔥 ajuste principal */
  display: block;
}

.equipe-card:nth-child(1) img {
  object-position: 27% center;
}

.equipe-card:nth-child(2) img {
  object-position: center 38%;
}

.equipe-card:nth-child(3) img {
  object-position: center 27%;
}

/* INFO */
.equipe-info {
  margin-top: 120px;
  padding: 0 20px;
}

.equipe-info h3 {
  margin-bottom: 5px;
  font-size: 18px;
}

.equipe-info span {
  display: block;
  margin-bottom: 15px;
  font-weight: bold;
  color: #000000;
}

.equipe-info p {
  font-size: 14px;
  margin-bottom: 5px;
  color: #000000;
}

/* TECNOLOGIA */
.tecnologia {
  padding: 80px 20px;
  background: linear-gradient(135deg, #0AB3AC, #089c96);
  color: white;
  text-align: center;
  border-radius: 0; /* remove arredondamento */
  margin: 60px 0;   /* opcional: ajusta laterais */
}

.tecnologia h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.tecnologia p {
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

/* DESTAQUES */
.tec-destaques {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.tec-item {
  background: rgba(255,255,255,0.1);
  padding: 15px 20px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  backdrop-filter: blur(5px);
}

.tec-item i {
  font-size: 20px;
}

/* GOOGLE */
.google {
  padding: 80px 20px;
  background: #ffffff;
  text-align: center;
}

.btn-google {
  display: inline-block;
  margin: 20px 0;
  padding: 12px 28px;
  background: #0AB3AC;
  color: white;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

/* HOVER PREMIUM */
.btn-google:hover {
  background: #089c96;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

  .joinha-img img {
  max-width: 350px;
  width: 100%;
  transform: translateY(104px);
}

/* TÍTULO */
.titulo-contato {
  text-align: center;
  font-size: 40px;
  margin-bottom: 50px;
}

/* TOPO */
.contato-topo {
  display: flex;
  gap: 50px;
  align-items: center;
}

/* FORM */
.form-contato {
  flex: 1;
}

.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
}

.form-contato input,
.form-contato textarea {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
}

.form-contato textarea {
  height: 120px;
  margin-bottom: 15px;
}

/* CHECKBOX */
.checkbox {
  display: block;
  font-size: 14px;
  margin-bottom: 20px;
}

/* BOTÃO */
.btn-contato {
  background: #0AB3AC;
  color: white;
  padding: 12px 25px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: 0.3s;
}

.btn-contato:hover {
  background: #089c96;
  transform: translateY(-2px);
}

/* IMAGEM */
.contato-img img {
  width: 100%;
  max-width: 450px;
  border-radius: 12px;
}

/* INFO + MAPA */
.contato-info {
  padding: 80px 20px;
}

.contato-grid {
  display: flex;
  gap: 50px;
  align-items: center;
}

.info h3 {
  margin-top: 20px;
}

.checkbox-linha {
  display: flex;
  justify-content: space-between; /* 🔥 separa texto e checkbox */
  align-items: center;
  gap: 15px;
  font-size: 14px;
  margin-bottom: 20px;
}

.checkbox-linha input {
  min-width: 16px;
  height: 16px;
}

.footer {
  background: #0AB3AC;
  color: white;
  text-align: center;
  padding: 40px 20px;
}

/* ÍCONES */
.footer-social {
  margin-bottom: 15px;
}

.footer-social a {
  margin: 0 10px;
  color: white;
  font-size: 30px;
  transition: transform 0.3s, opacity 0.3s;
  text-decoration: none; /* remove qualquer linha */
  display: inline-block; /* evita bug de linha */
  line-height: 1; /* remove espaço estranho */
}

.footer-social a:hover {
  transform: scale(1.2);
  opacity: 0.8;
}

/* TEXTO */
.footer-bottom p {
  font-size: 14px;
  margin: 0;
}

.footer-bottom a {
  color: white;
  font-weight: 600;
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

.menu-toggle {
  display: none;
}

.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25D366;
  color: white;
  font-size: 28px;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  z-index: 9999;
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

@media (max-width: 768px) {

  .hero-content {
    flex-direction: column;
  }

  .hero-text h1 {
    font-size: 32px;
  }
  
   .hero-image img {
    width: 100% !important;
    max-width: none;
  }
  
  .modal {
  display: none;
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);

  align-items: center;
  justify-content: center;
}

.modal img {
  max-width: 95%;
  max-height: 80vh;
}

   .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    height: 100%;
    background: #1b3c79; /* 🔥 cor da marca */
    display: flex;
    flex-direction: column;
    padding: 40px 25px;
    transition: 0.3s;
    z-index: 999;
  }

  .nav.active {
    right: 0;
  }

  .nav a {
    color: white;
    font-size: 22px;
    margin: 20px 0;
  }

  .menu-toggle {
    display: block;
    font-size: 28px;
    background: none;
    border: none;
    color: white;
  }

  .servicos-container {
    flex-direction: column;
  }

  .servicos-text h2 {
    font-size: 28px;
  }

  .depoimento h2 {
    font-size: 20px;
  }

  .cta h2 {
    font-size: 28px;
  }

  .footer-container {
    flex-direction: column;
    gap: 20px;
  }

  .slide {
    min-width: 100%;
  }

  .sobre-flex,
  .valores-flex,
  .detalhe-container {
    flex-direction: column;
  }

   .contato-topo,
  .contato-grid {
    flex-direction: column !important;
  }
  
  .info, .mapa {
    width: 100%;
  }
  
  .mapa {
  width: 100%;
  overflow: hidden; /* 🔥 impede de estourar */
}
  
  .container {
    padding: 15px;
  }

   .form-contato {
    width: 100%;
    max-width: 100%;
  }

  .form-row {
    flex-direction: column;
  }

  .form-contato input,
  .form-contato textarea {
    width: 100%;
    box-sizing: border-box;
  }

    .mapa iframe {
  width: 100% !important;
  max-width: 100%;
  height: 300px;
  display: block;
}

  .contato-topo {
    flex-direction: column;
    align-items: center;
  }

  .contato-img img {
    max-width: 100%;
  }

  .checkbox-linha {
    flex-direction: row;
    align-items: flex-start;
 }
  .close-menu {
    display: block;
    align-self: flex-end;
    font-size: 24px;
    background: none;
    border: none;
    margin-bottom: 20px;
    cursor: pointer;
  }
}