/* Estilos para os ícones de tratamento - Design Simplificado */
:root {
  --primary-color: #0a3b5c;
  --secondary-color: #1a5b8c;
  --accent-color: #00b8d4;
  --accent-hover: #00d4f0;
  --dark-bg: #1a2a36;
  --light-text: #ffffff;
  --card-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  --hover-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  --transition: all 0.3s ease;
}

/* Sobrescrevendo os estilos originais para a seção de tratamentos */
.treatments {
  background-color: #f0f4f8;
  padding: 80px 0;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.section-header h2 {
  color: #5A7D9A;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  letter-spacing: 0px;
  position: relative;
  display: inline-block;
  text-transform: uppercase;
  color: #5A7D9A;
}

.section-header h2::after {
  display: none;
}

.section-header p {
  color: #445566;
  font-size: 1.1rem;
  max-width: 700px;
  margin: 20px auto 0;
  line-height: 1.5;
}

/* Grid simplificada e alinhada */
.treatments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 0 auto;
  max-width: 1200px;
  width: 90%;
}



/* Sem cards, apenas imagens com texto */
.treatment-card {
  position: relative;
  height: 280px;
  background: transparent;
}

.treatment-card:hover {
  opacity: 0.95;
}

/* Imagem sem bordas */
.treatment-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.treatment-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Gradiente escuro na parte inferior para legibilidade */
.treatment-image::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 70%, rgba(0, 0, 0, 0) 100%);
  z-index: 1;
}

.treatment-card:hover .treatment-image::before {
  background: linear-gradient(to top, rgba(10, 59, 92, 0.7) 0%, rgba(10, 59, 92, 0.3) 70%, rgba(10, 59, 92, 0) 100%);
}

/* Texto diretamente sobre as imagens */
.treatment-image h3 {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  text-align: center;
  color: var(--light-text);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.9), 0 0 5px rgba(0, 0, 0, 0.7);
  letter-spacing: 0.5px;
  background: transparent;
  z-index: 2;
}



/* Estilo para o CTA */
.treatment-cta {
  text-align: center;
  margin: 50px auto 0;
  max-width: 1200px;
  width: 90%;
}

.treatment-cta .btn {
  padding: 15px 30px;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  border-radius: 5px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.treatment-cta .btn i {
  font-size: 1.3rem;
}

.treatment-cta .btn-primary {
  background-color: #6f8aa3;
  color: white;
  border: none;
  border-radius: 30px;
  box-shadow: 0 4px 10px rgba(111, 138, 163, 0.2);
}

.treatment-cta .btn-primary:hover {
  background-color: #5A7D9A;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(90, 125, 154, 0.3);
}

/* Responsividade */
@media (max-width: 1200px) {
  .treatments-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
}

@media (max-width: 768px) {
  .treatments-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }
  
  .section-header h2 {
    font-size: 2.2rem;
  }
}
