/* ============================================
   R'KLIN — Radiologia Odontologica Digital
   Tema: Fundo Branco com Paleta Roxa Oficial
   Fonte: Inter (Google Fonts)
   ============================================ */

:root {
  --brand-primary:   #7c3aed;
  --brand-accent:    #a855f7;
  --brand-dark:      #4c1d95;
  --brand-light:     #ede9fe;
  --brand-mid:       #c084fc;
  --text-main:       #111827;
  --text-secondary:  #6b7280;
  --bg-main:         #ffffff;
  --bg-soft:         #faf5ff;
}

/* Tipografia */
body { font-family: 'Inter', ui-sans-serif, system-ui, sans-serif; }

/* Scroll suave */
html { scroll-behavior: smooth; }

/* ---- Glow de fundo ---- */
.hero-glow {
  position: absolute;
  border-radius: 9999px;
  filter: blur(120px);
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
}

/* ---- Texto gradiente ---- */
.gradient-text {
  background: linear-gradient(135deg, #7c3aed 0%, #a855f7 60%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- Badge da marca ---- */
.badge-rklin {
  background: rgba(124, 58, 237, 0.07);
  border: 1px solid rgba(124, 58, 237, 0.2);
  color: #7c3aed;
}

/* ---- Glass cards ---- */
.glass-card {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(124, 58, 237, 0.12);
  box-shadow: 0 4px 24px rgba(124, 58, 237, 0.07);
}

/* ---- Navegacao fixa (luz) ---- */
.glass-nav {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(124, 58, 237, 0.1);
  box-shadow: 0 1px 12px rgba(124, 58, 237, 0.06);
}
.glass-nav.scrolled {
  box-shadow: 0 4px 24px rgba(124, 58, 237, 0.12);
}

/* ---- Pulse WhatsApp ---- */
@keyframes pulse-wpp {
  0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55); }
  70%  { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
.pulse-whatsapp { animation: pulse-wpp 2s infinite; }

/* ---- Float animation ---- */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}
.animate-float { animation: float 4s ease-in-out infinite; }

/* ---- Scroll Reveal ---- */
.fade-in-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Scrollbar roxa ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #faf5ff; }
::-webkit-scrollbar-thumb { background: #7c3aed; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #a855f7; }

/* ---- Filtros de servico ---- */
.service-filter-btn.active {
  background: #7c3aed;
  color: #fff;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.3);
}

/* ---- Cards de servico ---- */
.service-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  background: #fff;
  border: 1px solid rgba(124, 58, 237, 0.1);
  border-radius: 1rem;
  padding: 1.5rem;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(124, 58, 237, 0.12);
  border-color: rgba(124, 58, 237, 0.3);
}

/* ---- Icone de servico ---- */
.service-icon {
  background: linear-gradient(135deg, rgba(124,58,237,0.08), rgba(168,85,247,0.04));
  border: 1px solid rgba(168,85,247,0.18);
}

/* ---- Footer escuro ---- */
footer.bg-gray-950 {
  background: #030712 !important;
}
footer.bg-gray-950 h4,
footer.bg-gray-950 strong,
footer.bg-gray-950 .text-white {
  color: #fff !important;
}
footer.bg-gray-950 p,
footer.bg-gray-950 span,
footer.bg-gray-950 li,
footer.bg-gray-950 .text-gray-400,
footer.bg-gray-950 .text-gray-500 {
  color: #c4b5fd !important;
}
footer.bg-gray-950 a:hover { color: #e9d5ff !important; }
footer.bg-gray-950 .border-t { border-color: rgba(139,92,246,0.2) !important; }

/* ---- Instagram card hover ---- */
#instagram-feed-grid > div:hover img {
  transform: scale(1.07);
  transition: transform 0.4s ease;
}

/* ---- Especialidades card ---- */
.specialty-card {
  border-radius: 1rem;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid rgba(124,58,237,0.1);
  transition: all 0.25s ease;
}
.specialty-card:hover {
  border-color: #a855f7;
  box-shadow: 0 8px 24px rgba(124,58,237,0.1);
  transform: translateY(-2px);
}

/* ---- Estrutura card ---- */
.structure-card {
  background: #fff;
  border: 1px solid rgba(124,58,237,0.1);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: all 0.25s ease;
}
.structure-card:hover {
  border-color: #7c3aed;
  box-shadow: 0 8px 24px rgba(124,58,237,0.1);
}