/* ==========================================================================
   LANDING PAGE DRA. BRENDA ARAÚJO — DESIGN SYSTEM & STYLESHEET
   Paleta: Creme (#FAFAF0 / #F5F8FF), Azul (#3B7DD8), Verde Menta (#5E866C), Azul Gelo (#E8F0FC)
   Tipografia: Playfair Display (H1, H2, H3) + Inter (Corpo, Botões, Labels)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,600;0,700;1,400&family=Inter:wght@400;500;600;700&display=swap');

/* --- VARIÁVEIS CSS DE DESIGN SYSTEM --- */
:root {
  --bg-page: #F5F8FF;
  --bg-header: #F0F5FF;
  --bg-footer: #E8F0FC;
  --bg-subtle-beige: #EDF3FF;
  --bg-card-white: #FFFFFF;
  --bg-review-card: #F2F6FF;
  
  --primary-coral: #3B7DD8;
  --primary-coral-hover: #2D68BF;
  --primary-coral-light: #DDE9FA;
  --primary-coral-border: #5B93E0;
  
  --secondary-green: #5E866C;
  --secondary-green-light: #C9EBD9;
  --whatsapp-green: #25D366;
  --whatsapp-green-dark: #1EBE5A;
  
  --text-title: #0D1B2A;
  --text-body: #5A6475;
  --text-light: #7E8A9A;
  
  --icon-bg-pink: #DDE9FA;
  --avatar-bg-green: #D3F8E6;
  --blob-pink: #C5D9F5;
  --blob-green: #C9EBD9;
  --border-subtle: #D4E1F7;
  
  --font-title: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --radius-pill: 9999px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
  
  --shadow-sm: 0 4px 12px rgba(13, 27, 42, 0.05);
  --shadow-md: 0 8px 24px rgba(13, 27, 42, 0.09);
  --shadow-lg: 0 16px 36px rgba(13, 27, 42, 0.13);
  
  --container-max: 1240px;
  --transition-fast: 0.25s ease;
  --transition-smooth: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- RESET & BASICS --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  background-color: var(--bg-page);
  color: var(--text-body);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* --- CONTAINERS & LAYOUT --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 96px 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 60px 0;
  }
}

/* --- TYPOGRAPHY UTILITIES --- */
h1, h2, h3, .font-serif {
  font-family: var(--font-title);
  color: var(--text-title);
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: 3.5rem; /* ~56px */
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2.5rem; /* ~40px */
  margin-top: 8px;
  margin-bottom: 16px;
}

h3 {
  font-size: 1.35rem; /* ~22px */
}

@media (max-width: 768px) {
  h1 { font-size: 2.35rem; }
  h2 { font-size: 1.85rem; }
  h3 { font-size: 1.2rem; }
}

/* --- EYEBROWS (SECTION LABELS) --- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.825rem; /* ~13px */
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 8px;
}

.eyebrow--coral {
  color: var(--primary-coral);
}

.eyebrow--green {
  color: var(--secondary-green);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px auto;
}

.section-subtitle {
  color: var(--text-body);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--primary-coral);
  color: #FFFFFF;
  box-shadow: 0 4px 16px rgba(59, 125, 216, 0.25);
}

.btn-primary:hover {
  background-color: var(--primary-coral-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 125, 216, 0.35);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--primary-coral);
  color: var(--primary-coral);
}

.btn-outline:hover {
  background-color: var(--primary-coral-light);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.875rem;
}

.btn-full {
  width: 100%;
}

.btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* --- HEADER --- */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background-color: var(--bg-header);
  box-shadow: 0 2px 12px rgba(30, 20, 12, 0.04);
  z-index: 1000;
  transition: var(--transition-fast);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: contain;
  background-color: #FFFFFF;
  border: 1px solid var(--border-subtle);
}

.logo-text {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text-title);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-title);
  position: relative;
  padding: 8px 0;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-coral);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--primary-coral);
}

.nav-link.active {
  color: var(--primary-coral);
  font-weight: 600;
}

.nav-link.active::after {
  width: 100%;
}

.header-cta-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Hamburger mobile toggle */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--text-title);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
  flex-shrink: 0;
}

.mobile-nav-toggle:hover,
.mobile-nav-toggle:focus {
  background-color: rgba(59, 125, 216, 0.08);
  color: var(--primary-coral);
}

.mobile-nav-toggle .icon-menu-open {
  display: block;
  width: 28px;
  height: 28px;
}

.mobile-nav-toggle .icon-menu-close {
  display: none;
  width: 28px;
  height: 28px;
}

.mobile-nav-toggle.active .icon-menu-open {
  display: none;
}

.mobile-nav-toggle.active .icon-menu-close {
  display: block;
  color: var(--primary-coral);
}

@media (max-width: 991px) {
  .main-nav {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--bg-header);
    flex-direction: column;
    padding: 32px 24px;
    gap: 24px;
    box-shadow: 0 12px 24px rgba(0,0,0,0.08);
    transform: translateY(-150%);
    transition: transform 0.35s ease;
    z-index: 999;
  }

  .main-nav.mobile-open {
    transform: translateY(0);
  }

  .mobile-nav-toggle {
    display: flex;
  }

  .header-cta-wrap .btn-header-cta {
    display: none !important;
  }
}

/* --- HERO SECTION --- */
.hero-section {
  background-color: var(--bg-page);
  padding: 64px 0 96px 0;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 56px;
}

.hero-subtitle {
  color: var(--primary-coral);
  font-weight: 600;
  font-size: 1.25rem;
  margin-top: 8px;
  margin-bottom: 24px;
}

.hero-bullets {
  margin-bottom: 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-body);
}

.bullet-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--primary-coral);
  margin-top: 8px;
  flex-shrink: 0;
}

.bullet-text strong {
  color: var(--text-title);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.scroll-hint-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--secondary-green);
  opacity: 0.7;
}

/* Badge pílula "Mais de 6 anos de experiência" acima do H1 */
.hero-exp-pill-top {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--icon-bg-pink);
  color: var(--primary-coral);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.badge-heart-icon {
  display: inline-flex;
  color: var(--primary-coral);
}

.badge-heart-icon i,
.badge-heart-icon svg {
  width: 16px;
  height: 16px;
  animation: heartbeat 1.8s ease-in-out infinite;
  transform-origin: center;
}

/* Hero Right Column (Photo Frame & Moldura Diamante) */
.hero-image-col {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-top-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #A3C4F0;
  position: absolute;
  top: -24px;
  right: 180px;
  z-index: 1;
}

.hero-side-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: #C5D9F5;
  position: absolute;
  top: 50%;
  right: -36px;
  z-index: 1;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 440px;
}

.hero-photo-blob {
  position: absolute;
  top: -16px;
  left: -16px;
  width: 100%;
  height: 100%;
  background-color: #C5D9F5;
  border-radius: 32px;
  z-index: 1;
  opacity: 0.5;
}

.photo-crop-wrapper {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--shadow-md);
  width: 100%;
}

.hero-photo,
.sobre-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 4/5;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.photo-crop-wrapper:hover .hero-photo,
.photo-crop-wrapper:hover .sobre-photo,
.sobre-image-wrapper:hover .sobre-photo {
  transform: scale(1.08);
}

/* ===== BADGE: "Odontopediatria / Especialista" (topo direito da foto) ===== */
.hero-badge-specialty {
  position: absolute;
  top: -12px;
  right: -28px;
  background-color: #FFFFFF;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  z-index: 4;
  text-align: left;
}

.hero-badge-specialty strong {
  display: block;
  font-size: 0.85rem;
  color: var(--primary-coral);
  font-weight: 700;
  line-height: 1.2;
}

.hero-badge-specialty span {
  font-size: 0.75rem;
  color: var(--text-light);
}

/* ===== BADGE CRO Ativo (inferior esquerdo) ===== */
.hero-badge-cro {
  position: absolute;
  bottom: 16px;
  left: -32px;
  background-color: #FFFFFF;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 4;
}

.badge-icon-box-green {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background-color: var(--secondary-green-light);
  color: var(--secondary-green);
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-text strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text-title);
  line-height: 1.2;
}

.badge-text span {
  font-size: 0.78rem;
  color: var(--text-light);
}

/* Moldura Pontilhada SVG no tamanho da imagem com rotação no próprio eixo */
.hero-diamond-frame-svg {
  position: absolute;
  top: -18px;
  left: -18px;
  width: calc(100% + 36px);
  height: calc(100% + 36px);
  pointer-events: none;
  z-index: 1;
  transform-origin: center center;
  animation: spin-clockwise 22s linear infinite;
}

@keyframes spin-clockwise {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.traveling-dot {
  offset-path: rect(6px 454px 564px 6px rx 36px);
  animation: travel-dot 8s linear infinite;
}

/* Dots decorativos fundo superior direito */
.hero-dots-pattern {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  background-image: radial-gradient(var(--primary-coral) 20%, transparent 20%), radial-gradient(var(--bg-subtle-beige) 20%, transparent 20%);
  background-position: 0 0, 10px 10px;
  background-size: 20px 20px;
  opacity: 0.4;
  z-index: 1;
}

/* ========================================
   HERO ANIMATIONS
   ======================================== */

/* Efeito 1: Heartbeat (coração pulsante) */
@keyframes heartbeat {
  0%   { transform: scale(1); }
  14%  { transform: scale(1.18); }
  28%  { transform: scale(1); }
  42%  { transform: scale(1.18); }
  70%  { transform: scale(1); }
  100% { transform: scale(1); }
}

/* Efeito 2: Flutuação (float) dos badges decorativos */
.hero-float-element {
  animation: hero-float 4s ease-in-out infinite;
}

@keyframes hero-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

/* Override para o badge esquerdo (preservar o translateY(-50%) de centralização) */
.hero-badge-exp-left.hero-float-element {
  animation: hero-float-center 4s ease-in-out infinite;
}

@keyframes hero-float-center {
  0%, 100% { transform: translateY(-50%); }
  50%      { transform: translateY(calc(-50% - 8px)); }
}

/* Dots pattern: float + leve rotação */
.hero-dots-pattern.hero-float-element {
  animation: hero-float-rotate 5s ease-in-out infinite;
}

@keyframes hero-float-rotate {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-6px) rotate(6deg); }
}

/* Efeito 3: Ponto viajante percorrendo a linha SVG */
@keyframes travel-dot {
  0%   { offset-distance: 0%; opacity: 0.5; }
  50%  { opacity: 1; }
  100% { offset-distance: 100%; opacity: 0.5; }
}

/* Fallback para navegadores sem offset-path (Safari antigo): pulso estático */
@supports not (offset-path: path('M 0 0')) {
  .traveling-dot {
    animation: dot-pulse-fallback 2.5s ease-in-out infinite;
  }
  @keyframes dot-pulse-fallback {
    0%, 100% { r: 4; opacity: 0.4; }
    50%      { r: 6; opacity: 1; }
  }
}

/* Efeito 4: Entrada/Reentrada em cascata do conteúdo do Hero */
.hero-anim-target > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.hero-anim-target > *:nth-child(1) { transition-delay: 0s; }
.hero-anim-target > *:nth-child(2) { transition-delay: 0.08s; }
.hero-anim-target > *:nth-child(3) { transition-delay: 0.16s; }
.hero-anim-target > *:nth-child(4) { transition-delay: 0.24s; }
.hero-anim-target > *:nth-child(5) { transition-delay: 0.32s; }

.hero-section.hero-in-view .hero-anim-target > * {
  opacity: 1;
  transform: translateY(0);
}

/* Entrada dos badges flutuantes (lado foto) */
.hero-image-col .hero-float-element,
.hero-image-col .hero-photo {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.hero-section.hero-in-view .hero-image-col .hero-photo {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s;
}

.hero-section.hero-in-view .hero-image-col .hero-float-element {
  opacity: 1;
  /* transform é controlado pela animation float — não setamos aqui */
}

/* Quando hero-in-view é adicionado, os float-elements precisam do animation */
.hero-section.hero-in-view .hero-badge-exp-left.hero-float-element {
  animation: hero-float-center 4s ease-in-out infinite;
  animation-delay: 0.5s;
  animation-fill-mode: backwards;
  opacity: 1;
}

.hero-section.hero-in-view .hero-badge-specialty.hero-float-element {
  animation: hero-float 4.2s ease-in-out infinite;
  animation-delay: 0.7s;
  animation-fill-mode: backwards;
  opacity: 1;
}

.hero-section.hero-in-view .hero-badge-cro.hero-float-element {
  animation: hero-float 4.5s ease-in-out infinite;
  animation-delay: 0.9s;
  animation-fill-mode: backwards;
  opacity: 1;
}

.hero-section.hero-in-view .hero-dots-pattern.hero-float-element {
  animation: hero-float-rotate 5s ease-in-out infinite;
  animation-delay: 0.3s;
  animation-fill-mode: backwards;
  opacity: 0.4;
}

/* ===== Responsive Hero ===== */
@media (max-width: 991px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-badge-cro {
    left: 10px;
    bottom: 10px;
  }
  .hero-badge-exp-left {
    left: -10px;
    font-size: 0.78rem;
  }
  .hero-badge-specialty {
    right: -10px;
    top: 16px;
  }
}

@media (max-width: 576px) {
  .hero-badge-exp-left,
  .hero-badge-specialty {
    display: none; /* Ocultar badges extras em mobile pequeno para não poluir */
  }
  .hero-float-element {
    animation: none !important;
  }
}

/* ===== SCROLL REVEAL EM TODAS AS DEMAIS SEÇÕES ===== */
.servicos-section .section-header,
.servico-card,
.consultorio-section .section-header,
.photo-card-mural,
.depoimentos-section .section-header,
.depoimento-card,
.contato-info-col,
.contato-card-col,
.site-footer .footer-grid {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.25, 1, 0.5, 1), transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}

.servicos-section .section-header.in-view,
.servico-card.in-view,
.consultorio-section .section-header.in-view,
.photo-card-mural.in-view,
.depoimentos-section .section-header.in-view,
.depoimento-card.in-view,
.contato-info-col.in-view,
.contato-card-col.in-view,
.site-footer .footer-grid.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Acessibilidade: prefers-reduced-motion ===== */
@media (prefers-reduced-motion: reduce) {
  .hero-float-element,
  .hero-badge-exp-left,
  .hero-badge-specialty,
  .hero-badge-cro,
  .hero-dots-pattern,
  .traveling-dot,
  .badge-heart-icon i,
  .badge-heart-icon svg,
  .hero-anim-target > *,
  .sobre-image-wrapper,
  .sobre-content > *,
  .sobre-badge-exp,
  .formacao-card,
  .servicos-section .section-header,
  .servico-card,
  .consultorio-section .section-header,
  .photo-card-mural,
  .depoimentos-section .section-header,
  .depoimento-card,
  .contato-info-col,
  .contato-card-col,
  .site-footer .footer-grid {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .hero-badge-exp-left {
    transform: translateY(-50%) !important;
  }
}

/* --- SEÇÃO SOBRE MIM --- */
.sobre-section {
  background-color: var(--bg-page);
  position: relative;
}

.sobre-grid {
  display: grid;
  grid-template-columns: 45% 55%;
  align-items: center;
  gap: 48px;
  margin-bottom: 72px;
}

/* Efeito 1: Entrada da imagem (slide + fade) */
.sobre-image-wrapper {
  position: relative;
  max-width: 440px;
  margin: 0 auto;
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.sobre-image-wrapper.in-view {
  opacity: 1;
  transform: translateX(0);
}

.sobre-photo {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 2;
}

/* Blobs decorativos (estáticos) */
.blob-pink-topleft {
  position: absolute;
  top: -24px;
  left: -24px;
  width: 180px;
  height: 180px;
  background-color: var(--blob-pink);
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  z-index: 1;
}

.blob-green-bottomright {
  position: absolute;
  bottom: -24px;
  right: -24px;
  width: 180px;
  height: 180px;
  background-color: var(--blob-green);
  border-radius: 60% 40% 30% 70% / 50% 30% 70% 50%;
  z-index: 1;
}

/* Efeito 3: Pop do Badge "10+ anos de experiência" */
.sobre-badge-exp {
  position: absolute;
  bottom: 24px;
  left: -20px;
  background-color: #FFFFFF;
  padding: 16px 22px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 3;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.5s ease-out, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  transition-delay: 0.4s;
}

.sobre-badge-exp.in-view {
  opacity: 1;
  transform: scale(1);
}

.badge-exp-number {
  font-family: var(--font-title);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary-coral);
  line-height: 1;
}

.badge-exp-label {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.2;
}

/* Efeito 2: Entrada do texto (fade + slide-up em cascata) */
.sobre-content > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.sobre-content.in-view > *:nth-child(1) { transition-delay: 0s; }
.sobre-content.in-view > *:nth-child(2) { transition-delay: 0.1s; }
.sobre-content.in-view > *:nth-child(3) { transition-delay: 0.2s; }
.sobre-content.in-view > *:nth-child(4) { transition-delay: 0.3s; }
.sobre-content.in-view > *:nth-child(5) { transition-delay: 0.4s; }
.sobre-content.in-view > *:nth-child(6) { transition-delay: 0.5s; }
.sobre-content.in-view > *:nth-child(7) { transition-delay: 0.6s; }

.sobre-content.in-view > * {
  opacity: 1;
  transform: translateY(0);
}

.sobre-content p {
  margin-bottom: 16px;
  font-size: 1.025rem;
  line-height: 1.7;
}

/* SUB-BLOCO FORMAÇÃO */
.formacao-subblock {
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid var(--border-subtle);
}

.formacao-label {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-title);
  margin-bottom: 24px;
  display: block;
}

.formacao-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Efeito 4: Grid Formação (stagger em cascata) */
.formacao-card {
  background-color: var(--bg-subtle-beige);
  padding: 20px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: flex-start;
  gap: 14px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.formacao-card.in-view {
  opacity: 1;
  transform: translateY(0);
}

.formacao-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background-color: var(--icon-bg-pink);
  color: var(--primary-coral);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.formacao-card-text strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-title);
  margin-bottom: 4px;
}

.formacao-card-text span {
  font-size: 0.85rem;
  color: var(--text-body);
}

@media (max-width: 991px) {
  .sobre-grid {
    grid-template-columns: 1fr;
  }
  .formacao-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .formacao-grid {
    grid-template-columns: 1fr;
  }
}

/* --- SEÇÃO SERVIÇOS ESPECIALIZADOS --- */
.servicos-section {
  background-color: var(--bg-page);
  position: relative;
}

.servicos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.servico-card {
  background-color: var(--bg-card-white);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
}

.servico-icon-box {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background-color: var(--icon-bg-pink);
  color: var(--primary-coral);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: var(--transition-fast);
}

.servico-card h3 {
  color: var(--text-title);
  margin-bottom: 12px;
  transition: color 0.25s ease;
}

.servico-card p {
  font-size: 0.95rem;
  color: var(--text-body);
  margin-bottom: 24px;
  line-height: 1.6;
}

.servico-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary-coral);
  transition: gap 0.25s ease;
}

.servico-link span {
  transition: transform 0.25s ease;
}

/* ESTADO HOVER EXCLUSIVO DOS CARDS DE SERVIÇO */
.servico-card:hover {
  background: linear-gradient(135deg, #FFFFFF 0%, #DDE9FA 100%);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-coral-border);
}

.servico-card:hover .servico-icon-box {
  background-color: var(--primary-coral);
  color: #FFFFFF;
}

.servico-card:hover h3 {
  color: var(--primary-coral);
}

.servico-card:hover .servico-link span {
  transform: translateX(5px);
}

@media (max-width: 991px) {
  .servicos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .servicos-grid {
    grid-template-columns: 1fr;
  }
}

/* --- SEÇÃO A CLÍNICA (MURAL SOCIAL PROOF & GOOGLE REVIEWS) --- */
.consultorio-section {
  background-color: var(--bg-page);
  overflow: hidden;
}

/* Container Full-bleed scrollável/arrastável */
.mural-container-bleed {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 0 40px;
  overflow-x: auto;
  scroll-behavior: smooth;
  cursor: grab;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;  /* IE/Edge */
}

.mural-container-bleed:has(.mural-track--photos-only) {
  cursor: default;
  overflow-x: hidden;
  display: flex;
  justify-content: center;
}


.mural-container-bleed::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.mural-container-bleed:active {
  cursor: grabbing;
}

.mural-container-bleed:has(.mural-track--photos-only):active {
  cursor: default;
}



.mural-track {
  display: grid;
  grid-template-columns: repeat(6, 340px);
  gap: 24px;
  padding-bottom: 20px;
}

/* Seção A Clínica — Layout exato da imagem de referência */
.consultorio-header-centered {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 44px auto;
}

.consultorio-single-subtitle {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.6;
}

.consultorio-photos-container {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.consultorio-row-top {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.consultorio-row-top .photo-card-mural {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  height: 460px;
}

.consultorio-row-bottom {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.consultorio-row-bottom .photo-card-mural {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  height: 380px;
}

.photo-card-mural img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.photo-card-mural:hover img {
  transform: scale(1.08);
}

@media (max-width: 991px) {
  .consultorio-row-top,
  .consultorio-row-bottom {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .consultorio-row-top .photo-card-mural,
  .consultorio-row-bottom .photo-card-mural {
    height: 320px;
  }
}



/* Card Google Review */
.review-card-google {
  background-color: var(--bg-review-card);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  transition: var(--transition-fast);
  border: 1px solid var(--border-subtle);
  min-height: 280px;
}

.review-card-google:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  background-color: #FFFFFF;
}

.review-author-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.review-avatar-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--primary-coral-light);
  color: var(--primary-coral);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.review-author-info strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-title);
}

.review-author-info span {
  font-size: 0.8rem;
  color: var(--text-light);
}

.review-stars-row {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 12px;
  color: #FFC107; /* Estrelas amarelas */
  font-size: 0.9rem;
}

.review-stars-row .review-date {
  color: var(--text-light);
  font-size: 0.8rem;
  margin-left: 8px;
}

.review-text-snippet {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Card Foto da Clínica */
.photo-card-mural {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  height: 100%;
  min-height: 280px;
}

.photo-card-mural img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.photo-card-mural:hover img {
  transform: scale(1.04);
}

/* --- SEÇÃO DEPOIMENTOS --- */
.depoimentos-section {
  background-color: var(--bg-page);
}

.depoimentos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.depoimento-card {
  background-color: var(--bg-subtle-beige);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.depoimento-top {
  margin-bottom: 20px;
}

.quote-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background-color: var(--icon-bg-pink);
  color: var(--primary-coral);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.depoimento-stars {
  color: #FFC107;
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.depoimento-text {
  font-size: 0.975rem;
  font-style: italic;
  color: var(--text-body);
  line-height: 1.65;
  margin-bottom: 24px;
}

.depoimento-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar-green {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--avatar-bg-green);
  color: var(--secondary-green);
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-details strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-title);
}

.author-details span {
  font-size: 0.8rem;
  color: var(--text-light);
}

@media (max-width: 991px) {
  .depoimentos-grid {
    grid-template-columns: 1fr;
  }
}

/* --- SEÇÃO CONTATO --- */
.contato-section {
  background-color: var(--bg-page);
}

.contato-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contato-info-list {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contato-item-link {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  text-decoration: none;
  transition: transform 0.25s ease;
}

.contato-item-link:hover {
  transform: translateX(6px);
}

/* Hover Endereço (Azul #3B7DD8) */
.contato-item-link--endereco:hover .contato-icon-box {
  background-color: #3B7DD8;
  color: #FFFFFF;
  box-shadow: var(--shadow-md);
}

.contato-item-link--endereco:hover .contato-item-text p {
  color: #3B7DD8;
}

/* Hover Telefone (Verde Menta #55A384) */
.contato-item-link--telefone:hover .contato-icon-box {
  background-color: #55A384;
  color: #FFFFFF;
  box-shadow: var(--shadow-md);
}

.contato-item-link--telefone:hover .contato-item-text p {
  color: #55A384;
}

/* Hover E-mail (Azul Médio #5B93E0) */
.contato-item-link--email:hover .contato-icon-box {
  background-color: #5B93E0;
  color: #FFFFFF;
  box-shadow: var(--shadow-md);
}

.contato-item-link--email:hover .contato-item-text p {
  color: #5B93E0;
}

/* Hover Instagram (Gradiente / Rosa #BC1888 — mantido original da marca) */
.contato-item-link--insta:hover .contato-icon-box--insta {
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #FFFFFF;
  box-shadow: var(--shadow-md);
}

.contato-item-link--insta:hover .contato-item-text p {
  color: #BC1888;
}

.contato-icon-box--insta {
  color: #bc1888;
  background-color: #fce8f5;
}

.contato-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background-color: #FFFFFF;
  color: var(--secondary-green);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}
}

.contato-icon-box i,
.contato-icon-box svg {
  width: 22px;
  height: 22px;
  stroke-width: 2px;
}

.contato-item-text strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-title);
  margin-bottom: 2px;
}

.contato-item-text p {
  font-size: 0.9rem;
  color: var(--text-body);
}

/* Card CTA WhatsApp (Coluna Direita) */
.contato-cta-card {
  background-color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-md);
  text-align: center;
  margin-bottom: 28px;
}

.cta-calendar-box {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background-color: var(--icon-bg-pink);
  color: var(--primary-coral);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
}

.contato-cta-card h3 {
  margin-bottom: 8px;
}

.contato-cta-card p {
  font-size: 0.95rem;
  color: var(--text-body);
  margin-bottom: 24px;
}

.cta-card-divider {
  height: 1px;
  background-color: var(--border-subtle);
  margin: 24px 0 16px 0;
}

.cta-disclaimer {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* Mapa Wrapper */
.map-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  height: 300px;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.btn-open-maps {
  position: absolute;
  top: 16px;
  left: 16px;
  background-color: #FFFFFF;
  color: #1A73E8; /* Google Link Blue */
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 2;
  transition: var(--transition-fast);
}

.btn-open-maps:hover {
  background-color: #F8F9FA;
  transform: translateY(-1px);
}

@media (max-width: 991px) {
  .contato-grid {
    grid-template-columns: 1fr;
  }
}

/* --- FOOTER --- */
.site-footer {
  background-color: var(--bg-footer);
  padding: 64px 0 32px 0;
  color: var(--text-body);
}

.footer-social-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.social-circle-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: #D4E4F7;
  color: var(--text-title);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.social-circle-btn i,
.social-circle-btn svg {
  width: 20px;
  height: 20px;
  stroke-width: 2px;
}

.social-circle-btn:hover {
  background-color: var(--primary-coral);
  color: #FFFFFF;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand-col .logo-brand {
  margin-bottom: 16px;
}

.footer-brand-col p {
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 380px;
}

.footer-col-title {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-title);
  margin-bottom: 20px;
}

.footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav-list a {
  font-size: 0.9rem;
  color: var(--text-body);
  transition: color 0.2s ease;
}

.footer-nav-list a:hover {
  color: var(--primary-coral);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 0.9rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-divider {
  height: 1px;
  background-color: rgba(30, 20, 12, 0.08);
  margin-bottom: 32px;
}

.footer-copyright {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-light);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* --- BOTÃO FLUTUANTE DO WHATSAPP --- */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background-color: var(--whatsapp-green);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.floating-whatsapp-btn:hover {
  background-color: var(--whatsapp-green-dark);
  transform: scale(1.08);
}

.floating-whatsapp-btn svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

/* --- MODAL DE REVIEWS DO GOOGLE --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 24px;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content-card {
  background-color: #FFFFFF;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 560px;
  padding: 32px;
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content-card {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-light);
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.modal-close-btn:hover {
  background-color: var(--bg-page);
  color: var(--text-title);
}

.modal-author-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.modal-author-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: var(--primary-coral-light);
  color: var(--primary-coral);
  font-weight: 700;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-stars-date {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #FFC107;
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.modal-stars-date span {
  color: var(--text-light);
  font-size: 0.85rem;
}

.modal-full-text {
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.7;
}
