/* Odontologia Rocha - Static Site Styles */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Work+Sans:wght@300;400;500;600&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Work Sans', sans-serif;
  color: #0f172a;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 { font-family: 'Outfit', sans-serif; }

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(32px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes pulseWhatsApp {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  50% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
}
@keyframes slideDown {
  from { opacity: 0; max-height: 0; }
  to { opacity: 1; max-height: 500px; }
}
@keyframes slideUp {
  from { opacity: 1; max-height: 500px; }
  to { opacity: 0; max-height: 0; }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}
.animate-on-scroll[data-delay="1"] { transition-delay: 0.1s; }
.animate-on-scroll[data-delay="2"] { transition-delay: 0.2s; }
.animate-on-scroll[data-delay="3"] { transition-delay: 0.3s; }
.animate-on-scroll[data-delay="4"] { transition-delay: 0.4s; }
.animate-on-scroll[data-delay="5"] { transition-delay: 0.5s; }

.animate-hero {
  animation: fadeInUp 0.7s ease-out forwards;
}
.animate-hero-delay {
  opacity: 0;
  animation: fadeInUp 0.7s ease-out 0.25s forwards;
}

.floating-whatsapp {
  animation: pulseWhatsApp 2s infinite;
}

/* Header */
.header-scrolled {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.92) !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  border-bottom: 1px solid #f1f5f9;
}

/* Mobile menu */
.mobile-menu {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.3s ease;
}
.mobile-menu.open {
  max-height: 500px;
  opacity: 1;
}

/* FAQ Accordion */
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out, padding 0.3s ease;
  padding: 0 24px;
}
.faq-content.open {
  max-height: 300px;
  padding: 0 24px 20px;
}
.faq-chevron {
  transition: transform 0.3s ease;
}
.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}

/* Dot pattern */
.dot-pattern {
  background-image: radial-gradient(circle at 1px 1px, #0284c7 1px, transparent 0);
  background-size: 40px 40px;
}

/* Card hover */
.card-hover {
  transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
}
.card-hover:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

/* Link hover */
.link-arrow {
  transition: gap 0.2s ease;
}
.link-arrow:hover { gap: 0.5rem; }
