/* =========================
   Landing Page - CSS atualizado
   ========================= */
.btn-voltar {
  background-color: var(--custom-btn-bg-color);
  color: var(--white-color);
  font-size: 20px;
  font-weight: var(--font-weight-semibold);
  border-radius: var(--border-radius-large);
  padding: 8px 16px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.btn-voltar:hover {
  background-color: var(--custom-btn-bg-hover-color);
  color: var(--white-color);
  transform: translateY(-2px);
}


/* Hero Section */
.hero-section {
  background: linear-gradient(rgba(132, 189, 163, 0.85), rgba(90, 156, 125, 0.85)),
              url('../images/clinica1.png') center/cover no-repeat;
  color: var(--white-color);
  padding: 6rem 2rem;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.4);
}

.hero-section h1 {
  font-size: var(--h1-font-size);
  font-weight: var(--font-weight-bold);
}

.hero-section p {
  font-size: var(--p-font-size);
}

.profile-img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--white-color);
  box-shadow: 0 0 15px rgba(0,0,0,0.3);
}

/* Botão principal */
.custom-btn {
  
  border-radius: var(--border-radius-large);
  color: var(--white-color);
  font-weight: var(--font-weight-semibold);
  padding: 0.8rem 2rem;
  transition: all 0.3s ease;
}

.custom-btn:hover {
  filter: brightness(1.1);
  transform: scale(1.05);
}

/* Seções base */
section {
  padding: 4rem 2rem;
}

.sobre-section,
.servicos-section,
.contato-section {
  background-color: var(--section-bg-color);
  margin-bottom: 2rem;
  border-radius: var(--border-radius-medium);
}

.sobre-section h2,
.servicos-section h2,
.contato-section h2 {
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
}

/* Serviços */
.servicos-section .col-md-4 {
  background-color: var(--white-color);
  border-radius: var(--border-radius-medium);
  padding: 2rem 1rem;
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
}

.servicos-section .row { 
  gap: 1rem; 
}
.servicos-section .col-md-4 { 
  flex: 1 1 calc(33.333% - 1rem); 
}

.servicos-section .col-md-4:hover {
  transform: translateY(-8px);
  background-color: var(--section-bg-color);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.servicos-section i {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  transition: color 0.3s;
}

.servicos-section .col-md-4:hover i {
  color: var(--custom-btn-bg-hover-color);
}

/* =========================
   Depoimentos (lp- isolado)
   ========================= */
.lp-testimonials {
  background-color: var(--section-bg-color);
  padding: 5rem 2rem;
  border-radius: var(--border-radius-medium);
  margin-bottom: 4rem; /* espaçamento extra antes da seção de contato */
}

.lp-title {
  color: var(--secondary-color);
  font-size: var(--h2-font-size);
  font-weight: var(--font-weight-semibold);
  text-align: center;
  margin-bottom: 2rem;
}

/* Card de depoimento */
.lp-card {
  background-color: var(--white-color);
  border-radius: var(--border-radius-medium);
  box-shadow: 0 6px 15px rgba(0,0,0,0.08);
  padding: 2rem;
  text-align: center;
}

.lp-quote {
  color: var(--secondary-color);
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 1rem;
}

.lp-link {
  color: var(--custom-btn-bg-color);
  font-weight: var(--font-weight-semibold);
  text-decoration: none;
  transition: color 0.2s ease;
}

.lp-link:hover {
  color: var(--custom-btn-bg-hover-color);
}

/* Indicadores padrão do Bootstrap, estilo minimalista */
.carousel-indicators.lp-indicators {
  position: static; /* evita sobreposição no carrossel */
  margin-top: 1.25rem;
}

.carousel-indicators.lp-indicators .lp-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--p-color);
  border: none;
  margin: 0 6px;
  opacity: 0.5;
  transition: transform 0.2s, opacity 0.2s, background 0.2s;
}

.carousel-indicators.lp-indicators .lp-dot.active {
  background: var(--custom-btn-bg-color);
  opacity: 1;
  transform: scale(1.3);
}

/* Controles do carrossel */
.carousel-control-prev,
.carousel-control-next {
  width: 60px;   /* largura menor */
  height: 60px;  /* altura menor */
  top: 40%;
  padding: 1rem;
  opacity: 0;
  transform: translateY(-50%);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: var(--custom-btn-bg-color);
  border-radius: 50%;                           
  background-size: 60% 60%;                     
  background-position: center;
  background-repeat: no-repeat;
  opacity: 50%;
  width: 100%;
  height: 100%;
}


/* =========================
   Contato
   ========================= */
.contato-section {
  background-color: var(--section-bg-color);
  border-radius: var(--border-radius-medium);
}

.contato-section .btn.whatsapp-btn {
  background: #25D366; /* verde WhatsApp */
  border-radius: var(--border-radius-large);
  color: #fff;
  font-weight: bold;
  padding: 0.8rem 2rem;
  transition: transform 0.3s, filter 0.2s;
}

.contato-section .btn.whatsapp-btn:hover {
  transform: scale(1.06);
  filter: brightness(1.05);
}

/* =========================
   Rodapé
   ========================= */
.site-footer {
  background-color: var(--custom-btn-bg-color);
  color: var(--white-color);
}

.site-footer p {
  margin: 0;
  color: var(--white-color);
}

.site-footer .text-muted {
  color: rgba(255, 255, 255, 0.7) !important;
}


/* =========================
   Responsividade
   ========================= */
@media (max-width: 576px) {
  .hero-section {
    padding: 4rem 1.25rem;
  }
  .profile-img {
    width: 140px;
    height: 140px;
  }
  .lp-card {
    padding: 1.5rem;
  }
  .lp-quote {
    font-size: 1rem;
  }
  .servicos-section .col-md-4 {
    padding: 1.5rem 1rem;
  }
    .servicos-section .col-md-4 { 
    flex: 1 1 100%; 
  }
}

@media (min-width: 1200px) {
  .hero-section h1 {
    font-size: calc(var(--h1-font-size) * 1.1);
  }
  .hero-section p {
    font-size: calc(var(--p-font-size) * 1.05);
  }
}
