@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600&family=Poppins:wght@500;600;700&display=swap');

html,
body {
  width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  padding-top: 80px;
  font-family: 'Open Sans', sans-serif;
  background: linear-gradient(135deg, #f8f9fb 0%, #e6f2ff 100%);
  color: #333333;
}

.container {
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 1rem !important;
  padding-right: 1rem !important;
}

.navbar-collapse {
  text-align: center;
  border-radius: 10px;
  padding: 10px 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: #000e42;
}

h2 {
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.3s;
}

h2:hover {
  transform: scale(1.05);
}

.navbar {
  background-color: #e6f2ff !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease-in-out;
  z-index: 1030;
  transition: transform 0.3s ease-in-out;
}

.navbar-nav .nav-link,
.navbar a {
  position: relative;
  text-decoration: none;
  color: inherit;
}

.navbar-nav .nav-link::after,
.navbar a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: currentColor;
  transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar a:hover::after {
  width: 100%;
}

.navbar-brand {
  font-weight: bold;
  color: #000e42 !important;
}

.nav-link {
  color: #000e42 !important;
  transition: 0.3s;
}

.nav-link:hover {
  color: #0056b3 !important;
}

#agendarNav {
  background-color: #25d366;
  color: white !important;
  border-radius: 10px;
  padding: 6px 15px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.3s;
}

#agendarNav:hover {
  background-color: #1ebd59;
  color: white !important;
  transform: scale(1.05);
}

#agendarNav::after {
  display: none !important;
}

.navbar-toggler {
  color: white;
  background-color: #e6f2ff;
}

.hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-weight: 700;
  color: #000e42;
  opacity: 0;
  transform: translateY(20px);
  animation: slideFadeIn 1s forwards;
  height: 100vh;
  padding: 0 20px;
  background-size: cover;
  background-position: center;
}

.hero h1 {
  margin-top: 120px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.3s;
  font-size: 60px;

}

.hero h1:hover {
  transform: scale(1.05);
}


.logo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: -60px;
}


.hero .btn-primary {
  margin-top: 30px;
}

@keyframes slideFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#iconEfeito {
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.3s;

}

#iconEfeito:hover {
  transform: scale(1.1);

}

.section {
  padding: 60px 0;
}

.section.bg-light {
  background-color: #e6f2ff !important;
}

.section.bg-primary {
  background-color: #000e42 !important;
}

.treatment-card {
  border: none;
  background-color: #ffffff;
  border-radius: 50px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
  overflow: hidden;
}

.treatment-card img {
  border-top-left-radius: 50px;
  border-top-right-radius: 50px;
  height: 190px;
  object-fit: cover;
}

.treatment-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.1);
}

.treatment-card .card-body {
  flex: 1 1 auto;
  padding: 1.25rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#estetica .treatment-card .card-body {
  justify-content: flex-start;
}

.treatment-card .card-title {
  color: #000e42;
  font-weight: 600;
}

.treatment-card .card-text {
  color: #000e42;
  font-size: .95rem;
}

.treatment-card .btn {
  margin-top: auto;
}

.btn-primary {
  background-color: #000e42;
  border-color: #000e42;
  color: white;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.3s;

}

.btn-primary:hover {
  background-color: #00408a;
  border-color: #00408a;
  transform: scale(1.05);
}

.btn-outline-primary {
  background-color: #000e42;
  border-color: #000e42;
  color: white;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.3s;
}

.btn-outline-primary:hover {
  background-color: rgba(255, 255, 255, 0);
  border-color: #000e42;
  color: #000e42;
  transform: scale(1.05);
}

#resolver {
  color: white !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.3s;
}

#resolver:hover {
  transform: scale(1.05);
}

.botao {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.botao a {
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.3s;
}

.botao a:hover {
  transform: scale(1.05);
}

.map-responsive {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding-bottom: 56.25%;
  border-radius: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.map-responsive iframe {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 100%;
  border: 0;
}

footer {
  background-color: #000e42;
  color: white;
  padding: 10px 0;
  text-align: center;
  font-size: 0.9rem;
}

footer p {
  margin: 0;
}

/* Botão flutuante WhatsApp */
.wh-api {
  z-index: 99999;
  position: fixed;
  bottom: 20px;
  right: 20px;
}

button.wh-ap-btn {
  outline: none;
  width: 60px;
  height: 60px;
  border: 0;
  background-color: #25d366;
  padding: 0;
  border-radius: 100%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .12), 0 1px 2px rgba(0, 0, 0, .24);
  cursor: pointer;
  transition: opacity 0.3s, background 0.3s, box-shadow 0.3s, transform 0.3s;
  animation: pulse 5s infinite;
}

button.wh-ap-btn::after {
  content: '';
  background-image: url(img/whatsapp_btn_flutuante.webp);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 48%;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: pulse 5s infinite;

}

button.wh-ap-btn:hover {
  opacity: 1;
  background-color: #01E675;
  box-shadow: 0 3px 6px rgba(0, 0, 0, .16), 0 3px 6px rgba(0, 0, 0, .23);
  transform: scale(1.1);
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

#carouselConsultorio {
  overflow: hidden;
  border-radius: 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.3s;
}

#carouselConsultorio:hover {
  transform: scale(1.1);
}

#carouselConsultorio img {
  height: 500px;
  object-fit: cover;
  border-radius: 20px;
}

.carousel-indicators [data-bs-target] {
  background-color: #000e42;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(1);
}

@media (max-width: 768px) {
  #carouselConsultorio img {
    height: 250px;
  }
}

@media (max-width: 576px) {

  .hero h1 {
    font-size: 1.8rem;
    text-align: center;
  }

  .hero .logo img {
    width: 80% !important;
    max-width: 260px;
  }

  .hero .btn-lg {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.1rem;
    padding: 14px;
  }

  .navbar-brand img {
    width: 110px !important;
  }

  #agendarNav img {
    width: 14px;
  }

  .treatment-card img {
    width: 100%;
    height: auto;
  }

  .card-title {
    font-size: 1.1rem;
  }

  .card-text {
    font-size: 0.95rem;
  }

  section {
    padding: 40px 0;
  }

  h2 {
    font-size: 1.5rem !important;
  }
}