/* clinicas-page.css */
/* Estética serena e micro-interações premium para Clínicas & Consultórios */

/* Hero - Design tranquilo e confiável */
.clinica-hero {
  background: linear-gradient(135deg, #f8fffe 0%, #e6f7ff 60%, #d1f2ff 100%);
  padding: 88px 0 72px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.clinica-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 40%;
  height: 200%;
  background: radial-gradient(circle, rgba(64, 169, 255, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  animation: floatGentle 12s ease-in-out infinite;
}

@keyframes floatGentle {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(3deg); }
}

.hero-content h1 {
  font-size: 2.4rem;
  font-weight: 600;
  color: #1a365d;
  margin-bottom: 20px;
  line-height: 1.3;
}

.hero-content p {
  font-size: 1.15rem;
  color: #4a5568;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.clinica-cta {
  background: #40a9ff;
  color: #ffffff;
  padding: 14px 36px;
  border-radius: 25px;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 14px rgba(64, 169, 255, 0.25);
}

.clinica-cta:hover {
  background: #1890ff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(64, 169, 255, 0.35);
}

/* Jornada do Cuidado - Infográfico premium */
.clinica-jornada {
  background: #ffffff;
  padding: 80px 0;
  position: relative;
}

.jornada-title {
  text-align: center;
  font-size: 2rem;
  color: #1a365d;
  margin-bottom: 60px;
  font-weight: 600;
}

.jornada-infografico {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.jornada-linha {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, #40a9ff, #91d5ff, #40a9ff);
  transform: translateX(-50%);
  border-radius: 3px;
  opacity: 0.3;
}

.jornada-etapa {
  display: flex;
  align-items: center;
  margin-bottom: 60px;
  position: relative;
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.jornada-etapa:nth-child(even) {
  flex-direction: row-reverse;
}

.jornada-etapa:nth-child(even) .jornada-conteudo {
  text-align: right;
  padding-right: 40px;
  padding-left: 0;
}

.jornada-etapa:nth-child(odd) .jornada-conteudo {
  padding-left: 40px;
}

.jornada-icone {
  background: #ffffff;
  border: 4px solid #40a9ff;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #40a9ff;
  position: relative;
  z-index: 2;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(64, 169, 255, 0.15);
}

.jornada-conteudo {
  flex: 1;
  max-width: 320px;
}

.jornada-conteudo h3 {
  font-size: 1.25rem;
  color: #1a365d;
  margin-bottom: 8px;
  font-weight: 600;
}

.jornada-conteudo p {
  color: #4a5568;
  font-size: 1rem;
  line-height: 1.5;
}

.jornada-etapa.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.jornada-etapa.is-visible .jornada-icone {
  background: #40a9ff;
  color: #ffffff;
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(64, 169, 255, 0.25);
}

/* Corpo Clínico - Cards elegantes */
.clinica-equipe {
  background: #fafcff;
  padding: 80px 0;
}

.equipe-title {
  text-align: center;
  font-size: 2rem;
  color: #1a365d;
  margin-bottom: 50px;
  font-weight: 600;
}

.equipe-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.profissional-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(64, 169, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.profissional-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #40a9ff, #91d5ff);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.profissional-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(64, 169, 255, 0.15);
}

.profissional-card:hover::before {
  transform: scaleX(1);
}

.profissional-foto {
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid rgba(64, 169, 255, 0.1);
  transition: all 0.3s ease;
}

.profissional-card:hover .profissional-foto {
  border-color: #40a9ff;
}

.profissional-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.profissional-card:hover .profissional-foto img {
  transform: scale(1.1);
}

.profissional-info h3 {
  font-size: 1.3rem;
  color: #1a365d;
  margin-bottom: 6px;
  font-weight: 600;
}

.especialidade {
  color: #40a9ff;
  font-weight: 500;
  font-size: 1.05rem;
  display: block;
  margin-bottom: 8px;
}

.profissional-info p {
  color: #718096;
  font-size: 0.9rem;
  margin-bottom: 20px;
}

.btn-perfil {
  display: inline-block;
  padding: 8px 20px;
  background: transparent;
  color: #40a9ff;
  border: 2px solid #40a9ff;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-perfil:hover {
  background: #40a9ff;
  color: #ffffff;
  transform: translateY(-1px);
}

/* Artigos - Layout clean e convidativo */
.clinica-artigos {
  background: #ffffff;
  padding: 80px 0;
}

.artigos-title {
  text-align: center;
  font-size: 2rem;
  color: #1a365d;
  margin-bottom: 50px;
  font-weight: 600;
}

.artigos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto 40px;
}

.artigo-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(64, 169, 255, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.artigo-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 30px rgba(64, 169, 255, 0.12);
}

.artigo-imagem {
  height: 180px;
  overflow: hidden;
}

.artigo-imagem img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.artigo-card:hover .artigo-imagem img {
  transform: scale(1.05);
}

.artigo-conteudo {
  padding: 24px;
}

.artigo-conteudo h3 {
  font-size: 1.2rem;
  color: #1a365d;
  margin-bottom: 10px;
  font-weight: 600;
  line-height: 1.4;
}

.artigo-conteudo p {
  color: #4a5568;
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 12px;
}

.artigo-data {
  color: #718096;
  font-size: 0.85rem;
}

.artigos-cta {
  text-align: center;
}

.btn-secondary {
  padding: 12px 30px;
  background: transparent;
  color: #40a9ff;
  border: 2px solid #40a9ff;
  border-radius: 25px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: #40a9ff;
  color: #ffffff;
  transform: translateY(-2px);
}

/* CTA Final - Sereno e confiável */
.clinica-cta-final {
  background: linear-gradient(135deg, #e6f7ff 0%, #bae7ff 100%);
  padding: 60px 0;
  text-align: center;
}

.clinica-cta-final h2 {
  font-size: 2rem;
  color: #1a365d;
  margin-bottom: 30px;
  font-weight: 600;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.clinica-cta-final .btn-primary {
  background: #40a9ff;
  color: #ffffff;
  padding: 16px 40px;
  border-radius: 30px;
  font-weight: 500;
  font-size: 1.1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 6px 20px rgba(64, 169, 255, 0.25);
}

.clinica-cta-final .btn-primary:hover {
  background: #1890ff;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(64, 169, 255, 0.35);
}

/* Responsividade suave */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 1.8rem;
  }
  
  .jornada-etapa {
    flex-direction: column !important;
    text-align: center;
  }
  
  .jornada-etapa .jornada-conteudo {
    padding: 20px 0 0 0 !important;
    text-align: center !important;
  }
  
  .jornada-linha {
    display: none;
  }
  
  .equipe-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
  
  .artigos-grid {
    grid-template-columns: 1fr;
  }
}
