/* ============================================================
   BASE — Tipografia, Botões e Utilitários Globais
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

/* ── Headings ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family);
  font-weight: 700;
  line-height: 1.2;
}

/* ── Section Labels ── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(2, 226, 109, 0.12);
  color: var(--verde-vibrante);
  border: 1px solid rgba(2, 226, 109, 0.3);
  border-radius: var(--radius-full);
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-label .dot {
  width: 7px;
  height: 7px;
  background: var(--verde-vibrante);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── Section Titles ── */
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--quase-preto);
  margin-bottom: 12px;
}

.section-title .highlight {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
  max-width: 600px;
}

.section-header {
  margin-bottom: 48px;
}

.section-header.centered {
  text-align: center;
}

.section-header.centered .section-subtitle {
  margin: 0 auto;
}

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gradient-verde);
  color: var(--branco);
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  box-shadow: 0 4px 20px rgba(2, 226, 109, 0.35);
  min-height: 48px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(2, 226, 109, 0.5);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--branco);
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: 600;
  padding: 13px 30px;
  border-radius: var(--radius-full);
  border: 2px solid rgba(255, 255, 255, 0.7);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-fast);
  min-height: 48px;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--branco);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--azul-escuro);
  font-family: var(--font-family);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  border: 2px solid var(--azul-escuro);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-fast);
  min-height: 48px;
}

.btn-outline:hover {
  background: var(--azul-escuro);
  color: var(--branco);
}

/* ── Gradient Text Utility ── */
.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Seção genérica ── */
section {
  padding: var(--section-padding);
}

/* ── Fade-in animation class (applied by JS) ── */
.fade-in-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Fallback: se JS não carregar, mostra tudo visível após 1s via animação CSS */
@keyframes appear-fallback {
  to { opacity: 1; transform: translateY(0); }
}

.fade-in-section {
  animation: appear-fallback 0.01s 2s forwards;
}

.fade-in-section.visible {
  animation: none;
}

/* ============================================================
   LUCIDE ICONS — Estilos Globais
   ============================================================ */

/* Tamanho base do ícone Lucide (SVG gerado via JS) */
i[data-lucide] svg,
[data-lucide] svg {
  display: block;
}

/* Ícones nos cards de diferenciais */
.diferencial-card__icon i[data-lucide] svg,
.diferencial-card__icon svg {
  width: 28px;
  height: 28px;
  stroke: #ffffff !important;
  stroke-width: 2 !important;
  color: #ffffff !important;
}

/* Ícones nos cards de especialidades */
.specialty-card__icon i[data-lucide] svg,
.specialty-card__icon svg {
  width: 32px;
  height: 32px;
  stroke: #ffffff !important;
  stroke-width: 2 !important;
  color: #ffffff !important;
  transition: stroke var(--transition-fast);
}

.specialty-card:hover .specialty-card__icon i[data-lucide] svg,
.specialty-card:hover .specialty-card__icon svg {
  stroke: #ffffff !important;
}

/* Ícones nos cards de exames */
.exam-card__icon i[data-lucide] svg {
  width: 36px;
  height: 36px;
  stroke: var(--verde-vibrante);
  stroke-width: 1.75;
}

/* Ícones no footer — social */
.footer__social-link i[data-lucide] svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 1.75;
}

/* Ícones no footer — contato */
.footer__contact-item .icon i[data-lucide] svg {
  width: 18px;
  height: 18px;
  stroke: var(--verde-vibrante);
  stroke-width: 2;
}

/* Ícones nas informações de unidade */
.info-icon i[data-lucide] svg {
  width: 18px;
  height: 18px;
  stroke: var(--verde-vibrante);
  stroke-width: 2;
}

/* Ícones nas unidades (cabeçalho do card) */
.unidade-card__icon i[data-lucide] svg {
  width: 36px;
  height: 36px;
  stroke: var(--verde-vibrante);
  stroke-width: 1.75;
}

/* Ícone de horários */
.horarios__icon i[data-lucide] svg {
  width: 40px;
  height: 40px;
  stroke: var(--verde-vibrante);
  stroke-width: 1.75;
}

/* Ícones em botões */
.btn-primary i[data-lucide] svg,
.btn-secondary i[data-lucide] svg,
.btn-white i[data-lucide] svg,
.unidade-btn i[data-lucide] svg,
.navbar__cta i[data-lucide] svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
}

/* Ícones nos cards da sidebar */
.sidebar__footer i[data-lucide] svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
}

/* Ícone no botão "Ver nossas unidades" do sobre.html */
.sobre__content .btn-primary i[data-lucide] svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2;
}
