/* ══════════════════════════════════════════════
   SERENA ODONTOLOGIA — Custom CSS
   Complementa Tailwind CDN
   Paleta: #F8F5F2 · #A8C3A0 · #6F8F72
   Fontes: Playfair Display · Inter
   ══════════════════════════════════════════════ */

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #374151;
  background: #fff;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
}

/* ── SECTION LABEL ── */
.section-label {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6F8F72;
  margin-bottom: 10px;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  background: #6F8F72;
  color: #fff;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border: 2px solid #6F8F72;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary:hover {
  background: #567359;
  border-color: #567359;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(111,143,114,0.32);
}
.btn-primary.btn-lg { padding: 16px 34px; font-size: 0.95rem; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  background: transparent;
  color: #6F8F72;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border: 2px solid #A8C3A0;
  transition: all 0.3s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn-secondary:hover {
  background: #f2f7f1;
  border-color: #6F8F72;
  transform: translateY(-2px);
}
.btn-secondary.btn-lg { padding: 16px 34px; font-size: 0.95rem; }

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 40px;
  background: #fff;
  color: #6F8F72;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  text-decoration: none;
}
.btn-cta:hover {
  background: #F8F5F2;
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.18);
}

/* ── NAVBAR ── */
#navbar {
  background: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}
#navbar.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 24px rgba(0,0,0,0.07);
}
#navbar.scrolled .nav-logo-text-main { color: #445c48; }
#navbar.scrolled .nav-logo-text-sub  { color: #6F8F72; }

.nav-mobile-link {
  display: block;
  padding: 12px 0;
  font-size: 0.9rem;
  color: #555;
  border-bottom: 1px solid #f3f4f6;
  text-decoration: none;
  transition: color 0.2s;
}
.nav-mobile-link:hover { color: #6F8F72; }

/* ── HERO DECORATIVE ── */
.hero-circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.hero-circle-1 {
  top: -15%;
  right: -8%;
  width: 45vw;
  height: 45vw;
  background: radial-gradient(circle, #e4ede3 0%, transparent 70%);
  opacity: 0.55;
}
.hero-circle-2 {
  bottom: -20%;
  left: -10%;
  width: 35vw;
  height: 35vw;
  background: radial-gradient(circle, #F8F5F2 0%, transparent 70%);
  opacity: 0.7;
}
.hero-leaf {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  opacity: 0.06;
}
.hero-leaf-1 {
  top: 10%;
  right: 5%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, #6F8F72 0%, transparent 60%);
  border-radius: 50%;
}

/* ── TRUST ITEMS (hero) ── */
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.trust-item strong {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: #445c48;
  line-height: 1;
}
.trust-item span {
  font-size: 0.7rem;
  color: #9ca3af;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.trust-divider {
  width: 1px;
  height: 32px;
  background: #e5e7eb;
}

/* ── SCROLL HINT ── */
.scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  color: #9ca3af;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bounce-soft 2.5s ease infinite;
}
@keyframes bounce-soft {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(7px); }
}

/* ── CLINIC PHOTO FRAME ── */
.clinic-photo-frame {
  border-radius: 24px;
  overflow: hidden;
  height: 460px;
  position: relative;
  background: linear-gradient(135deg, #e4ede3 0%, #c9dbc6 100%);
  box-shadow: 0 20px 60px rgba(111,143,114,0.15);
}
.photo-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.clinic-photo-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.clinic-photo-frame img:not([style*="display:none"]) + .photo-placeholder { display: none; }

/* ── DRA PHOTO FRAME ── */
.dra-photo-frame {
  border-radius: 24px;
  overflow: hidden;
  height: 480px;
  position: relative;
  background: linear-gradient(160deg, #e4ede3 0%, #c9dbc6 100%);
  box-shadow: 0 20px 60px rgba(111,143,114,0.15);
}
.dra-photo-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.dra-photo-frame img:not([style*="display:none"]) + .photo-placeholder { display: none; }

.dra-instagram-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 12px 18px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

/* ── BADGE FLOAT (About) ── */
.badge-float {
  position: absolute;
  bottom: -18px;
  right: -18px;
  background: #6F8F72;
  color: #fff;
  padding: 18px 22px;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 8px 32px rgba(111,143,114,0.35);
}

/* ── DRA CARDS ── */
.dra-card {
  padding: 18px;
  background: #fff;
  border: 1px solid #e4ede3;
  border-radius: 14px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.dra-card:hover {
  border-color: #A8C3A0;
  box-shadow: 0 4px 20px rgba(111,143,114,0.1);
}

/* ── ESPECIALIDADES CARDS ── */
.espec-card {
  padding: 32px;
  background: #fff;
  border: 1px solid #f0faf0;
  border-radius: 20px;
  box-shadow: 0 2px 24px rgba(0,0,0,0.045);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.espec-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(111,143,114,0.14);
  border-color: #c9dbc6;
}
.espec-icon {
  width: 60px;
  height: 60px;
  background: #f2f7f1;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: background 0.3s;
}
.espec-card:hover .espec-icon { background: #e4ede3; }

/* ── PLANO CARDS ── */
.plano-card {
  padding: 32px;
  background: #fff;
  border: 1.5px solid #e4ede3;
  border-radius: 20px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.04);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.plano-card:hover {
  border-color: #A8C3A0;
  box-shadow: 0 8px 32px rgba(111,143,114,0.12);
  transform: translateY(-4px);
}
.plano-card-destaque {
  border-color: #A8C3A0;
  background: linear-gradient(160deg, #fff 0%, #f8fbf8 100%);
}

/* ── DEPOIMENTOS ── */
.dep-card {
  padding: 28px;
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 20px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.04);
  transition: box-shadow 0.3s, transform 0.3s;
}
.dep-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}

/* ── INSTAGRAM CARDS ── */
.insta-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  background: #fff;
  border: 1.5px solid #e4ede3;
  border-radius: 16px;
  text-decoration: none;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.insta-card:hover {
  border-color: #A8C3A0;
  box-shadow: 0 8px 28px rgba(111,143,114,0.14);
  transform: translateY(-3px);
}

/* ── MAP FRAME ── */
.map-frame {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.08);
  border: 1px solid #e5e7eb;
}
.map-frame iframe { display: block; }

/* ── CTA DECORATIVE CIRCLES ── */
.cta-circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.cta-circle-1 {
  top: -30%;
  right: -10%;
  width: 50vw;
  height: 50vw;
  background: rgba(255,255,255,0.04);
  z-index: 0;
}
.cta-circle-2 {
  bottom: -25%;
  left: -8%;
  width: 35vw;
  height: 35vw;
  background: rgba(255,255,255,0.04);
  z-index: 0;
}

/* ── WHATSAPP FLOAT ── */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 6px 28px rgba(37,211,102,0.45);
  z-index: 99;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}
.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 36px rgba(37,211,102,0.55);
}
.wa-float::before {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,0.35);
  animation: wa-pulse 2.8s ease infinite;
}
@keyframes wa-pulse {
  0%   { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.65); opacity: 0; }
}

/* ── SCROLL REVEAL ── */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .clinic-photo-frame { height: 300px; }
  .dra-photo-frame    { height: 340px; }
  .badge-float        { display: none; }
  .trust-divider      { display: none; }

  .hero-circle-1, .hero-circle-2 { opacity: 0.3; }

  .espec-card, .dep-card, .plano-card { padding: 22px; }

  .btn-primary.btn-lg,
  .btn-secondary.btn-lg { padding: 14px 26px; font-size: 0.9rem; width: 100%; justify-content: center; }

  .wa-float { bottom: 20px; right: 20px; width: 54px; height: 54px; }
}

@media (max-width: 480px) {
  .insta-card { flex-wrap: wrap; }
  .trust-item strong { font-size: 1.1rem; }
}
