/* ==========================================================================
   CLÍNICA SÃO LUCAS - ESTILOS DA PÁGINA SOBRE A CLÍNICA (SOBRE.HTML)
   ========================================================================== */

@import url('design-system.css');

/* Page Hero */
.page-hero-about {
  background: linear-gradient(135deg, var(--primary-950) 0%, var(--primary-900) 100%);
  color: #ffffff;
  padding: 4.5rem 0 3.5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero-about::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(184, 54, 72, 0.2) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.6;
}

.page-hero-about .container {
  position: relative;
  z-index: 2;
}

.page-hero-about .page-hero-tag {
  display: inline-block;
  background-color: rgba(184, 54, 72, 0.25);
  color: #fecdd3;
  border: 1px solid rgba(184, 54, 72, 0.45);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

.page-hero-about .page-hero-title {
  font-size: clamp(1.75rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.page-hero-about .page-hero-subtitle {
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  color: rgba(255, 255, 255, 0.88);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.65;
}

@media (max-width: 768px) {
  .page-hero-about {
    padding: 2.5rem 0 2.25rem 0;
  }
}

/* Timeline / História */
.history-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: center;
}

@media (min-width: 992px) {
  .history-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.history-text-block h3 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: 1.25rem;
  color: var(--primary-900);
}

.history-text-block p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.history-stats-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.h-stat {
  display: flex;
  flex-direction: column;
}

.h-stat-num {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary-600);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.h-stat-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Galeria Slider Moderna */
.gallery-section {
  background-color: #f1f5f9;
}

.gallery-slider-wrap {
  max-width: 920px;
  margin: 0 auto;
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  background-color: var(--primary-950);
}

.gallery-slider {
  position: relative;
  width: 100%;
  height: 480px;
}

@media (max-width: 768px) {
  .gallery-slider {
    height: 320px;
  }
}

.gallery-slide {
  display: none;
  width: 100%;
  height: 100%;
  position: relative;
}

.gallery-slide.active {
  display: block;
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-slide-badge {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  background-color: rgba(6, 21, 39, 0.75);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
}

.gallery-slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(0deg, rgba(20, 3, 6, 0.9) 0%, transparent 100%);
  color: #ffffff;
  padding: 2.5rem 1.5rem 1.25rem 1.5rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.gallery-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(6px);
  color: var(--primary-900);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow-md);
  z-index: 10;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.gallery-nav-btn:hover {
  background-color: #ffffff;
  color: var(--primary-600);
  transform: translateY(-50%) scale(1.08);
}

.gallery-nav-prev {
  left: 1.25rem;
}

.gallery-nav-next {
  right: 1.25rem;
}

.gallery-dots-wrap {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.gallery-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #cbd5e1;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.gallery-dot.active, .gallery-dot:hover {
  background-color: var(--primary-600);
  transform: scale(1.2);
}