/* ==========================================================================
   CLÍNICA AMBIANCE HEALTH INSTITUTE — WEBSITE INSTITUCIONAL OFICIAL
   Design System: Luxo Médico, Acolhimento, Glassmorphism & Responsividade
   Cores: Rose Gold Terracota (#a85d4c), Ouro Champanhe, Marfim (#fcfbf9)
   ========================================================================== */

:root {
  --primary: #a85d4c;
  --primary-light: #c98877;
  --primary-dark: #7a3a2d;
  --primary-surface: #fdf6f3;
  --primary-glow: rgba(168, 93, 76, 0.25);
  
  --gold: #d4af37;
  --gold-soft: #ecd9b3;
  --gold-gradient: linear-gradient(135deg, #c98877 0%, #a85d4c 50%, #8c4333 100%);
  --gold-gradient-shine: linear-gradient(135deg, #df9b8c 0%, #a85d4c 50%, #6e2c21 100%);
  
  --bg-main: #fcfbf9;
  --bg-card: #ffffff;
  --bg-card-alt: #faf6f2;
  --border-soft: #ebdcd3;
  --border-card: #e4d3c8;
  
  --text-main: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-light: #f8fafc;
  
  --success: #059669;
  --whatsapp: #25d366;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 9999px;
  
  --shadow-sm: 0 4px 16px rgba(168, 93, 76, 0.06);
  --shadow-md: 0 10px 30px rgba(168, 93, 76, 0.10);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.08);
  --shadow-glow: 0 0 25px rgba(168, 93, 76, 0.35);
}

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

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

/* html scroll-snap removido: o snap agora é controlado pelo #scroll-container */


@media (max-width: 768px) {
  html {
    scroll-padding-top: 68px;
  }
}

body {
  font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  /* overscroll-behavior natural */
  background-image: 
    radial-gradient(circle at 10% 15%, rgba(201, 136, 119, 0.06) 0%, transparent 45%),
    radial-gradient(circle at 90% 85%, rgba(201, 136, 119, 0.05) 0%, transparent 50%);
}

h1, h2, h3, h4, .font-serif {
  font-family: 'DM Serif Display', Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  /* clamp: 16px no mobile, escala até 32px em telas grandes */
  padding: 0 clamp(16px, 3vw, 32px);
}

/* ==========================================================================
   HEADER & NAVBAR NOBRE
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(252, 251, 249, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-soft);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  /* Garante que o header nunca seja cortado no mobile */
  overflow: visible;
  min-height: 64px;
}

.site-header .container {
  max-width: 1400px;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
  padding: 4px 0;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  flex-wrap: nowrap;
  gap: 16px;
  transition: height 0.3s ease;
}

.site-header.scrolled .navbar {
  height: 70px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 48px;
  max-height: 48px;
  width: auto;
  max-width: 230px;
  object-fit: contain;
  display: block;
  transition: transform 0.25s ease;
}

.brand-link:hover .brand-logo-img {
  transform: scale(1.02);
}

.brand-text-wrap {
  display: none; /* O novo logotipo já possui o nome Ambiance Health Institute integrado */
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  flex-wrap: nowrap;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
  flex-shrink: 0;
}

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

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

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  white-space: nowrap;
}

/* Botões do Topo */
.btn-system-access {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-dark);
  background: var(--primary-surface);
  border: 1px solid rgba(168, 93, 76, 0.3);
  transition: all 0.25s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-system-access:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 14px var(--primary-glow);
  transform: translateY(-1px);
}

.btn-cta-concierge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
  background: var(--gold-gradient);
  box-shadow: 0 4px 18px var(--primary-glow);
  cursor: pointer;
  border: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-cta-concierge:hover {
  box-shadow: 0 8px 25px rgba(168, 93, 76, 0.4);
  transform: translateY(-2px);
}

.btn-mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 24px;
  color: var(--text-main);
  cursor: pointer;
  padding: 6px;
  flex-shrink: 0;
}

/* ==========================================================================
   HERO SECTION DE ALTO IMPACTO COM PARALLAX
   ========================================================================== */
.hero-section {
  padding-top: 74px;
  padding-bottom: 90px;
  position: relative;
  overflow: hidden;
}

/* Orbes Luminosos de Fundo (Efeito Parallax Óptico Profundo) */
.parallax-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
  will-change: transform;
  transition: transform 0.12s cubic-bezier(0.16, 1, 0.3, 1);
}

.parallax-orb.orb-1 {
  width: 480px;
  height: 480px;
  top: -120px;
  right: -100px;
  background: radial-gradient(circle, rgba(201, 136, 119, 0.22) 0%, rgba(212, 175, 55, 0.10) 60%, transparent 80%);
}

.parallax-orb.orb-2 {
  width: 420px;
  height: 420px;
  bottom: -60px;
  left: -80px;
  background: radial-gradient(circle, rgba(168, 93, 76, 0.16) 0%, rgba(201, 136, 119, 0.08) 50%, transparent 75%);
}

.parallax-orb.orb-3 {
  width: 280px;
  height: 280px;
  top: 40%;
  left: 45%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.12) 0%, transparent 70%);
}

/* Elementos com Parallax Acelerado por GPU */
[data-parallax-item],
[data-parallax-img] {
  will-change: transform;
  transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-surface);
  border: 1px solid rgba(168, 93, 76, 0.3);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.hero-badge i {
  color: var(--primary);
  font-size: 13px;
}

.hero-title {
  font-size: 52px;
  line-height: 1.12;
  color: var(--text-main);
  margin-bottom: 22px;
}

.hero-title span.highlight {
  background: var(--gold-gradient-shine);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: italic;
}

.hero-description {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 34px;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  background: var(--gold-gradient);
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius-pill);
  box-shadow: 0 6px 25px var(--primary-glow);
  cursor: pointer;
  border: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(168, 93, 76, 0.45);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  background: #ffffff;
  color: var(--text-main);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--border-soft);
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.btn-hero-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-surface);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  max-width: 480px;
  gap: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--border-soft);
}

.metric-item h4 {
  font-size: 30px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 4px;
}

.metric-item p {
  font-size: 12.5px;
  color: var(--text-muted);
  font-weight: 600;
  line-height: 1.3;
}

/* Vitrine de Médicas na Hero */
.hero-visual-card {
  position: relative;
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border-soft);
  box-shadow: var(--shadow-lg);
  padding: 24px;
  overflow: hidden;
}

.hero-visual-card::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(201, 136, 119, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.doctors-duo-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.duo-card {
  background: var(--bg-card-alt);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
  transition: all 0.3s ease;
}

.duo-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
}

.duo-avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top 15%;
  margin: 0 auto 12px;
  border: 3px solid #ffffff;
  box-shadow: 0 4px 14px rgba(168, 93, 76, 0.2);
}

.duo-card h4 {
  font-size: 17px;
  color: var(--text-main);
  margin-bottom: 4px;
}

.duo-card span.spec-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-surface);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 8px;
}

.duo-card p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.35;
}

.hero-floating-seal {
  margin-top: 18px;
  background: #ffffff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-floating-seal i {
  font-size: 26px;
  color: var(--primary);
}

.seal-text h5 {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-main);
}

.seal-text p {
  font-size: 12px;
  color: var(--text-muted);
}

/* ==========================================================================
   SEÇÕES DE PERFIL MÉDICO INDIVIDUAL
   ========================================================================== */
.section-profile {
  padding: 100px 0;
  position: relative;
}

.section-profile.alt-bg {
  background-color: #faf7f4;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.profile-grid,
.profile-grid.reverse {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}

.profile-image-wrap {
  position: relative;
}

.profile-image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--border-soft);
  background: #ffffff;
  display: flex;
  flex-direction: column;
}

.profile-photo {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center 15%; /* Mantém o foco perfeito no rosto sem cortar queixo ou testa */
  transition: transform 0.5s ease;
  display: block;
}

.profile-image-frame:hover .profile-photo {
  transform: scale(1.02);
}

.profile-floating-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 10px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-soft);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 2;
}

.badge-info h5 {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.25;
  margin: 0;
}

.badge-info p {
  font-size: 11.5px;
  color: var(--primary);
  font-weight: 600;
  margin: 2px 0 0;
}

.badge-logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid rgba(168, 93, 76, 0.15);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
  flex-shrink: 0;
  max-width: 140px;
}

.badge-doctor-logo {
  height: 38px;
  max-height: 42px;
  width: auto;
  max-width: 125px;
  object-fit: contain;
  display: block;
}

.badge-doctor-logo.paula-logo {
  filter: contrast(1.15) brightness(0.95);
}

.profile-content .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary);
  margin-bottom: 10px;
}

.profile-title {
  font-size: 42px;
  color: var(--text-main);
  line-height: 1.15;
  margin-bottom: 8px;
}

.profile-crm {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.profile-crm span.dot {
  width: 4px;
  height: 4px;
  background: var(--primary);
  border-radius: 50%;
}

.profile-crm-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(168, 93, 76, 0.08);
  border: 1px solid rgba(168, 93, 76, 0.22);
  color: var(--primary);
  font-size: 13.5px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.profile-crm-badge i {
  color: var(--primary);
  font-size: 14px;
}

.profile-bio-block {
  margin-bottom: 16px;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--text-secondary);
}

.profile-bio-block strong {
  color: var(--text-main);
  font-weight: 700;
}

.doctor-spec-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 28px 0;
}

.spec-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #fdf6f3;
  border: 1px solid rgba(168, 93, 76, 0.2);
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  transition: all 0.2s ease;
}

.spec-pill:hover {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(168, 93, 76, 0.18);
}

.spec-pill i {
  font-size: 12px;
}

.treatment-card .treatment-thumb img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
  display: block;
}

.profile-bio {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 28px;
}

/* Grid de Tratamentos de cada Médica */
.treatment-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}

.treatment-pill-card {
  background: #ffffff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  gap: 14px;
}

.treatment-pill-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.treatment-pill-thumb {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid var(--border-soft);
  background: #f1f5f5;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.treatment-pill-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.treatment-pill-card:hover .treatment-pill-thumb img {
  transform: scale(1.08);
}

.treatment-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--primary-surface);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.treatment-text h5 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 3px;
}

.treatment-text p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}

.profile-image-link {
  display: block;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  border-radius: var(--radius-lg);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.profile-image-link:hover {
  transform: translateY(-5px);
}

.profile-image-link:hover .profile-image-frame {
  border-color: var(--primary);
  box-shadow: 0 18px 45px rgba(168, 93, 76, 0.22);
}

.profile-image-link:hover .profile-photo {
  transform: scale(1.03);
}

.profile-image-link:hover .profile-floating-badge {
  background: #ffffff;
  border-color: rgba(168, 93, 76, 0.4);
  box-shadow: 0 8px 24px rgba(168, 93, 76, 0.16);
}

.profile-cta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap; /* Permite quebrar em 2 linhas quando não há espaço */
  overflow: hidden; /* Previne qualquer vazamento lateral */
}

.profile-cta-row .btn-hero-primary,
.profile-cta-row .btn-hero-secondary {
  padding: 13px 20px;
  font-size: 14px;
  white-space: nowrap;
  min-width: 0; /* Permite encolher sem overflow */
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==========================================================================
   SEÇÃO DO INSTITUTO & ESTRUTURA
   ========================================================================== */
.section-institute {
  padding: 100px 0;
  background: #ffffff;
}

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

.section-header-center h2 {
  font-size: 44px;
  color: var(--text-main);
  margin-bottom: 16px;
}

.section-header-center p {
  font-size: 16.5px;
  color: var(--text-secondary);
}

/* Grid Harmoniosa de 4 Colunas para os 8 Tratamentos Institucionais (2 linhas perfeitas de 4) */
.institute-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

/* ==========================================================================
   CARROSSEL LATERAL DE PROCEDIMENTOS (PORTFÓLIO MÉDICO OFICIAL)
   Garante visualização em tela única 100vh com navegação horizontal fluida
   ========================================================================== */
.treatments-carousel-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  margin-top: 10px;
}

.treatments-carousel-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 14px 4px;
  width: 100%;
}

.treatments-carousel-track::-webkit-scrollbar {
  display: none;
}

/* Cards no Carrossel */
.treatments-carousel-track .feature-box,
.treatments-carousel-track .treatment-card {
  flex: 0 0 calc(25% - 15px);
  scroll-snap-align: start;
  min-width: 250px;
  box-sizing: border-box;
}

@media (max-width: 1200px) and (min-width: 769px) {
  .treatments-carousel-track .feature-box,
  .treatments-carousel-track .treatment-card {
    flex: 0 0 calc(33.333% - 14px);
    min-width: 240px;
  }
}

@media (max-width: 768px) {
  .treatments-carousel-track .feature-box,
  .treatments-carousel-track .treatment-card {
    flex: 0 0 85%;
    min-width: 260px;
  }
}

/* Setas Laterais de Navegação Premium */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  border: 1.5px solid rgba(168, 93, 76, 0.28);
  color: var(--primary, #153e35);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 8px 24px rgba(28, 25, 23, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.carousel-arrow:hover {
  background: var(--primary, #153e35);
  color: #ffffff;
  border-color: var(--primary, #153e35);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 12px 30px rgba(168, 93, 76, 0.28);
}

.carousel-arrow.carousel-arrow-prev {
  left: -22px;
}

.carousel-arrow.carousel-arrow-next {
  right: -22px;
}

.carousel-arrow:disabled,
.carousel-arrow.is-disabled {
  opacity: 0.28;
  cursor: not-allowed;
  pointer-events: none;
  transform: translateY(-50%) scale(0.95);
}

@media (max-width: 900px) {
  .carousel-arrow.carousel-arrow-prev { left: 4px; }
  .carousel-arrow.carousel-arrow-next { right: 4px; }
}

/* Indicadores de Paginação do Carrossel (Dots) */
.carousel-indicators {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.carousel-dot {
  width: 9px;
  height: 9px;
  border-radius: 99px;
  background: rgba(168, 93, 76, 0.24);
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
  padding: 0;
}

.carousel-dot:hover {
  background: rgba(168, 93, 76, 0.6);
}

.carousel-dot.active {
  width: 30px;
  background: var(--primary, #153e35);
  box-shadow: 0 2px 8px rgba(168, 93, 76, 0.3);
}

.feature-box {
  background: #ffffff;
  border: 1.5px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 0;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
}

.feature-box.hidden {
  display: none !important;
}

.feature-box:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: 0 16px 36px rgba(168, 93, 76, 0.16);
}

.feature-thumb-wrap {
  width: 100%;
  height: 148px; /* Reduzido de 180px para caber 8 cards em 1 tela no desktop */
  overflow: hidden;
  position: relative;
  background: #f1f5f5;
}

.feature-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-box:hover .feature-thumb-img {
  transform: scale(1.08);
}

.feature-doctor-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(28, 25, 23, 0.88);
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 99px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(212, 175, 55, 0.4);
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.feature-doctor-badge.paula-badge {
  border-color: rgba(201, 136, 119, 0.6);
  background: rgba(43, 27, 23, 0.9);
}

.feature-body {
  padding: 14px 16px; /* Reduzido de 20px para compactar e caber 2 linhas em 1 tela */
  flex: 1;
  display: flex;
  flex-direction: column;
}

.feature-box h4 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 17px; /* Reduzido de 19px para compactar */
  color: var(--text-main);
  margin-bottom: 5px;
  line-height: 1.28;
}

.feature-box p {
  font-size: 12px; /* Reduzido de 13px para compactar */
  color: var(--text-secondary);
  line-height: 1.45;
  margin-bottom: 10px;
  flex: 1;
}

.feature-action-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.25s ease;
  margin-top: auto;
}

.feature-action-link:hover {
  gap: 10px;
  color: var(--primary-dark);
}

/* ==========================================================================
   CARDS DE PILARES / INFRAESTRUTURA DO INSTITUTO (COM ÍCONES NOBRES E ALINHAMENTO)
   ========================================================================== */
.institute-pillar-card {
  background: #ffffff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 38px 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px rgba(168, 93, 76, 0.05);
  position: relative;
  overflow: hidden;
}

.institute-pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold-gradient);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.institute-pillar-card:hover {
  transform: translateY(-6px);
  border-color: rgba(168, 93, 76, 0.4);
  box-shadow: 0 16px 36px rgba(168, 93, 76, 0.12);
}

.institute-pillar-card:hover::before {
  opacity: 1;
}

.pillar-icon-wrap {
  width: 62px;
  height: 62px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(168, 93, 76, 0.08) 0%, rgba(201, 136, 119, 0.18) 100%);
  border: 1px solid rgba(168, 93, 76, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--primary);
  font-size: 26px;
  transition: all 0.35s ease;
}

.institute-pillar-card:hover .pillar-icon-wrap {
  background: var(--gold-gradient);
  color: #ffffff;
  border-color: transparent;
  transform: scale(1.08) rotate(2deg);
  box-shadow: 0 8px 22px rgba(168, 93, 76, 0.32);
}

.institute-pillar-card h4 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--text-main);
  margin-bottom: 12px;
  line-height: 1.35;
  letter-spacing: -0.2px;
}

.institute-pillar-card p {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.68;
  margin: 0;
}

/* ==========================================================================
   CONCIERGE VIRTUAL SOFIA IA 24/7
   ========================================================================== */
.section-sofia {
  padding: 100px 0;
  background: radial-gradient(circle at 50% 50%, #faf5f1 0%, #f6ece5 100%);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.sofia-container-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border-soft);
  box-shadow: var(--shadow-lg);
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.sofia-chat-preview {
  background: #fdfbf9;
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  padding: 24px;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.02);
}

.chat-bubble {
  padding: 14px 18px;
  border-radius: 16px;
  margin-bottom: 14px;
  font-size: 13.5px;
  line-height: 1.5;
  max-width: 88%;
}

.chat-bubble.user {
  background: #f1f5f9;
  color: var(--text-main);
  margin-left: auto;
  border-bottom-right-radius: 4px;
}

.chat-bubble.sofia {
  background: var(--primary-surface);
  border-left: 3.5px solid var(--primary);
  color: var(--text-main);
  border-bottom-left-radius: 4px;
}

.chat-bubble .badge-ia {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ==========================================================================
   RODAPÉ INSTITUCIONAL & COPYRIGHT
   ========================================================================== */
.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 40px 0 25px;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.85fr 0.9fr 1fr 1.35fr;
  gap: 24px;
  margin-bottom: 20px;
  align-items: start;
}

.footer-brand h3 {
  font-size: 20px;
  color: #ffffff;
  margin-bottom: 8px;
}

.footer-brand p {
  color: #94a3b8;
  font-size: 12.5px;
  line-height: 1.5;
  margin-bottom: 12px;
}

.footer-title {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 12px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 6px;
}

.footer-links a {
  color: #94a3b8;
  transition: color 0.2s;
  font-size: 12.5px;
}

.footer-links a:hover {
  color: #ffffff;
}

/* Coluna de Localização & Mapa no Rodapé */
.footer-location-col {
  display: flex;
  flex-direction: column;
}

.footer-address-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 12px;
  color: #cbd5e1;
  line-height: 1.45;
  margin-bottom: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-address-text {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.footer-address-text i {
  color: #e2a87a;
  margin-top: 2px;
  font-size: 13px;
  flex-shrink: 0;
}

.footer-maps-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #f1c48f;
  font-size: 11.5px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s, transform 0.2s;
  align-self: flex-start;
}

.footer-maps-link:hover {
  color: #ffffff;
  transform: translateX(2px);
}

.footer-map-container {
  width: 100%;
  height: 90px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  position: relative;
  background: #1e293b;
}

.footer-map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.cfm-disclaimer {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 11.5px;
  color: #94a3b8;
  line-height: 1.55;
  margin-bottom: 20px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
}

/* ==========================================================================
   BANNER DE COOKIES LGPD
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  max-width: 440px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  padding: 22px;
  z-index: 99999;
  display: none;
  animation: slideUp 0.35s ease;
}

.cookie-banner.show {
  display: block;
}

@keyframes slideUp {
  from { transform: translateY(50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.cookie-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.cookie-header i {
  color: var(--primary);
  font-size: 20px;
}

.cookie-header h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
}

.cookie-body p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 16px;
}

.cookie-body a {
  color: var(--primary);
  text-decoration: underline;
  font-weight: 600;
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-cookie-accept {
  flex: 1;
  background: var(--gold-gradient);
  color: #ffffff;
  border: none;
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-cookie-config {
  background: #ffffff;
  border: 1px solid var(--border-soft);
  color: var(--text-secondary);
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-cookie-config:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* ==========================================================================
   MODAL DE POLÍTICA DE PRIVACIDADE & TERMOS LGPD
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  z-index: 100000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.25s ease;
}

.modal-overlay.show {
  display: flex;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-privacy-card {
  background: #ffffff;
  width: 100%;
  max-width: 820px;
  max-height: 85vh;
  border-radius: var(--radius-md);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border-soft);
}

.modal-privacy-header {
  padding: 20px 28px;
  background: var(--bg-main);
  border-bottom: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-privacy-header h3 {
  font-size: 22px;
  color: var(--text-main);
}

.btn-close-modal {
  background: transparent;
  border: none;
  font-size: 24px;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
}

.modal-privacy-body {
  padding: 28px;
  overflow-y: auto;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.modal-privacy-body h4 {
  font-size: 16px;
  color: var(--text-main);
  margin-top: 18px;
  margin-bottom: 6px;
}

.modal-privacy-footer {
  padding: 16px 28px;
  background: var(--bg-main);
  border-top: 1px solid var(--border-soft);
  display: flex;
  justify-content: flex-end;
}

/* ==========================================================================
   RESPONSIVIDADE COMPLETA — DESKTOP MÉDIO, TABLET & MOBILE
   ========================================================================== */

/* ---- Desktop M\u00e9dio (\u22641240px) ---- */
@media (max-width: 1240px) {
  .nav-menu { gap: 14px; }
  .nav-link { font-size: 13.5px; }
  .btn-system-access { padding: 7px 14px; font-size: 12.5px; }
  .btn-cta-concierge { padding: 8px 16px; font-size: 13px; }
  .hero-title { font-size: 46px; }
  .profile-title { font-size: 38px; }
  .section-header-center h2 { font-size: 38px; }
}

/* ---- Tablet Landscape & Desktop Pequeno (\u22641024px) ---- */
@media (max-width: 1024px) {
  /* Navbar Mobile com anima\u00e7\u00e3o */
  /* Navbar Mobile com animação */
  .nav-menu,
  .nav-links {
    position: fixed !important;
    top: 68px !important;
    left: 0 !important;
    right: 0 !important;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(18px) !important;
    -webkit-backdrop-filter: blur(18px) !important;
    flex-direction: column !important;
    padding: 20px 20px 28px !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12) !important;
    border-bottom: 1px solid var(--border-soft) !important;
    display: none;
    gap: 6px !important;
    z-index: 99999 !important;
    max-height: calc(100vh - 68px) !important;
    overflow-y: auto !important;
  }

  .nav-menu.open,
  .nav-menu.active,
  .nav-links.open,
  .nav-links.active {
    display: flex !important;
    animation: slideNavDown 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }

  @keyframes slideNavDown {
    from { opacity: 0; transform: translateY(-14px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  .nav-link {
    padding: 11px 16px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    width: 100%;
  }

  .nav-link:hover { background: var(--primary-surface); }

  .btn-mobile-toggle,
  .nav-mobile-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(168, 93, 76, 0.08);
    color: var(--primary);
    font-size: 20px;
    border: 1px solid rgba(168, 93, 76, 0.2);
    cursor: pointer;
    flex-shrink: 0;
  }

  /* No Mobile: Botões de Ação na barra do topo */
  .nav-actions {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
  }

  /* No mobile, oculta o botão Acessar Sistema da barra superior (vai para dentro do menu hambúrguer) */
  .nav-actions .btn-system-access,
  .nav-actions .btn-system-nav.desktop-only,
  .nav-actions .btn-hub.desktop-only,
  .desktop-only {
    display: none !important;
  }

  /* O botão Agende sua Consulta fica visível no topo no celular */
  .nav-actions .btn-cta-concierge,
  .nav-actions .btn-mobile-schedule {
    display: inline-flex !important;
    padding: 8px 14px !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    border-radius: 99px !important;
    white-space: nowrap !important;
    gap: 6px !important;
  }

  /* Itens exclusivos do menu hambúrguer no celular */
  .nav-item-mobile-only {
    display: block !important;
    margin-top: 10px !important;
    padding-top: 12px !important;
    border-top: 1px dashed rgba(168, 93, 76, 0.25) !important;
    list-style: none !important;
  }

  .btn-system-access-mobile,
  .btn-system-nav-mobile,
  .btn-hub-mobile {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px 18px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14.5px;
    text-decoration: none;
    box-sizing: border-box;
    transition: all 0.2s ease;
  }

  .btn-system-access-mobile,
  .btn-system-nav-mobile {
    background: linear-gradient(135deg, #a85d4c 0%, #7d3f32 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(168, 93, 76, 0.35) !important;
  }

  .btn-hub-mobile {
    background: #f8fafc !important;
    color: #1e293b !important;
    border: 1px solid #cbd5e1 !important;
    margin-bottom: 8px !important;
  }

  /* Paddings das se\u00e7\u00f5es no tablet */
  .hero-section     { padding-top: 110px; padding-bottom: 60px; }
  .section-profile  { padding: 72px 0; }
  .section-institute{ padding: 72px 0; }
  .section-sofia    { padding: 72px 0; }
  .site-footer      { padding: 60px 0 28px; }

  /* Hero */
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-title { font-size: 44px; }
  .hero-metrics { grid-template-columns: repeat(2, 1fr); max-width: 100%; gap: 20px; }

  /* M\u00e9dicas */
  .profile-grid,
  .profile-grid.reverse { grid-template-columns: 1fr; gap: 36px; }
  .profile-photo  { height: 380px; }
  .profile-title  { font-size: 36px; }

  /* Tratamentos */
  .treatment-cards-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  /* Instituto */
  .institute-features-grid  { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .section-header-center    { margin-bottom: 44px; }
  .section-header-center h2 { font-size: 36px; }
  .institute-pillar-card    { padding: 28px 22px; }

  /* Sofia */
  .sofia-container-card { grid-template-columns: 1fr; padding: 32px; gap: 32px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 40px; }

  /* Nav dots ocultos em tablet */
  .section-scroll-nav { display: none; }
}

/* ---- Tablet Portrait & Mobile Grande (≤768px) ---- */
@media (max-width: 768px) {
  .navbar { height: 68px; }
  .brand-logo-img { height: 40px; max-width: 190px; }

  /* Hero no Mobile — Início seguro abaixo da navbar para nunca cortar o título */
  .hero-section      { padding-top: 84px !important; padding-bottom: 40px; }
  .hero-title        { font-size: clamp(26px, 6vw, 34px) !important; line-height: 1.18 !important; margin-bottom: 12px; }
  .hero-description  { font-size: 15px; margin-bottom: 22px; line-height: 1.5; }
  .hero-cta-group    { gap: 10px; }
  .btn-hero-primary  { padding: 13px 22px; font-size: 14px; }
  .btn-hero-secondary{ padding: 12px 18px; font-size: 14px; }
  .hero-metrics      { grid-template-columns: repeat(2, 1fr); gap: 14px; padding-top: 16px; }
  .metric-item h4    { font-size: 24px; }
  .hero-visual-card  { padding: 14px; }
  .duo-avatar        { width: 104px; height: 104px; border: 3px solid #ffffff; box-shadow: 0 6px 18px rgba(168, 93, 76, 0.25); object-fit: cover; object-position: center 15%; }
  .duo-card h4       { font-size: 14px; }
  .duo-card          { padding: 14px 8px; }

  /* Seções */
  .section-profile    { padding: 48px 0; }
  .section-profile.alt-bg { padding: 48px 0; }
  .section-institute  { padding: 48px 0; }
  .section-sofia      { padding: 48px 0; }

  /* Médicas no mobile — Contextualização de foto: a foto SEMPRE vem antes do texto (no topo) */
  .profile-grid,
  .profile-grid.reverse {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
  }
  .profile-grid .profile-image-wrap,
  .profile-grid.reverse .profile-image-wrap {
    order: -1 !important; /* Foto no topo da bio no mobile para ambas as médicas */
  }

  .profile-image-wrap {
    max-width: 320px !important;
    margin: 0 auto 16px !important;
    width: 100% !important;
  }

  .profile-photo {
    height: 300px !important;
    object-position: center top !important;
    object-fit: cover !important;
    border-radius: var(--radius-md) !important;
  }

  /* Esconde o badge flutuante no mobile para não cobrir o rosto */
  .profile-floating-badge { display: none !important; }

  .profile-title     { font-size: 28px !important; }
  .profile-bio       { font-size: 14.5px !important; line-height: 1.55 !important; }

  /* Botões CTA em coluna completa no mobile */
  .profile-cta-row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    overflow: visible;
  }
  .profile-cta-row .btn-hero-primary,
  .profile-cta-row .btn-hero-secondary {
    width: 100%;
    justify-content: center;
    text-align: center;
    white-space: normal;
    min-width: 0;
  }

  /* Tratamentos */
  .treatment-cards-grid { grid-template-columns: 1fr; gap: 10px; }

  /* Instituto */
  .institute-features-grid  { grid-template-columns: 1fr; gap: 14px; }
  .feature-thumb-wrap        { height: 160px; }
  .section-header-center h2  { font-size: 26px; }
  .section-header-center     { margin-bottom: 24px; }
  .institute-pillar-card     { padding: 20px 16px; }
  .pillar-icon-wrap          { width: 48px; height: 48px; font-size: 20px; }
  .institute-pillar-card h4  { font-size: 18px; }

  /* Sofia */
  .sofia-container-card  { padding: 20px 16px; gap: 20px; }
  .sofia-chat-preview    { padding: 14px; }
  .chat-bubble           { padding: 10px 12px; font-size: 12.5px; }

  /* Rodapé Compacto em Uma Página no Mobile */
  .site-footer    { padding: 24px 0 20px !important; }
  .footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 14px 12px !important;
    margin-bottom: 12px !important;
    width: 100% !important;
  }
  .footer-brand {
    grid-column: span 2 !important;
    text-align: center !important;
    margin-bottom: 4px !important;
  }
  .footer-brand h3, .footer-brand h4 {
    font-size: 17px !important;
    margin-bottom: 4px !important;
  }
  .footer-brand p {
    font-size: 11.5px !important;
    line-height: 1.4 !important;
    margin-bottom: 6px !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .footer-brand div {
    justify-content: center !important;
  }
  .footer-title, .footer-col h5 {
    font-size: 11.5px !important;
    margin-bottom: 6px !important;
    letter-spacing: 0.5px !important;
  }
  .footer-links {
    gap: 4px !important;
  }
  .footer-links li {
    margin-bottom: 0 !important;
  }
  .footer-links a {
    font-size: 11.5px !important;
    padding: 2px 0 !important;
    line-height: 1.35 !important;
    min-height: auto !important;
  }
  .footer-location-col {
    grid-column: span 2 !important;
    margin-top: 2px !important;
  }
  .footer-address-box {
    padding: 6px 10px !important;
    font-size: 11px !important;
    margin-bottom: 6px !important;
  }
  .footer-map-container {
    height: 75px !important;
  }
  .footer-grid div:nth-child(4) p {
    font-size: 11px !important;
    line-height: 1.35 !important;
    margin-bottom: 4px !important;
  }
  .cfm-disclaimer {
    padding: 8px 10px !important;
    font-size: 10px !important;
    line-height: 1.35 !important;
    margin-bottom: 10px !important;
  }
  .footer-bottom {
    padding-top: 8px !important;
    font-size: 10px !important;
    flex-direction: column !important;
    gap: 4px !important;
    text-align: center !important;
  }

  /* Cookie banner */
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; max-width: 100%; padding: 16px; }
}

/* ---- Smartphones (≤480px) ---- */
@media (max-width: 480px) {
  .navbar { height: 64px; }
  .brand-logo-img { height: 36px; max-width: 165px; }

  .hero-section     { padding-top: 78px !important; padding-bottom: 30px; }
  .hero-title       { font-size: 25px !important; }
  .hero-description { font-size: 14px; margin-bottom: 18px; }
  .hero-badge       { font-size: 10.5px; padding: 4px 10px; }

  /* Botões empilhados no smartphone */
  .hero-cta-group      { flex-direction: column; gap: 8px; align-items: stretch; }
  .btn-hero-primary,
  .btn-hero-secondary  { width: 100%; justify-content: center; padding: 13px 18px; font-size: 13.5px; }

  .hero-metrics    { grid-template-columns: 1fr 1fr; gap: 10px; }
  .metric-item h4  { font-size: 20px; }

  .doctors-duo-preview { grid-template-columns: 1fr 1fr; gap: 10px; }
  .duo-avatar          { width: 98px; height: 98px; border: 3px solid #ffffff; box-shadow: 0 5px 16px rgba(168, 93, 76, 0.25); object-fit: cover; object-position: center 15%; margin: 0 auto 10px; }
  .duo-card            { padding: 12px 6px; }
  .duo-card h4         { font-size: 13px; }
  .duo-card span.spec-tag { font-size: 10px; }

  .section-profile   { padding: 40px 0; }
  .section-institute { padding: 40px 0; }
  .section-sofia     { padding: 40px 0; }

  .profile-photo {
    height: 260px !important;
    object-position: center top !important;
  }
  .profile-title { font-size: 24px !important; }

  /* Botões CTA da médica em coluna no smartphone */
  .profile-cta-row {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .profile-cta-row .btn-hero-primary,
  .profile-cta-row .btn-hero-secondary {
    width: 100%;
    justify-content: center;
    white-space: normal;
    text-align: center;
  }

  .section-header-center h2 { font-size: 22px; }
  .section-header-center p  { font-size: 13.5px; }
  .section-header-center    { margin-bottom: 20px; }

  .sofia-container-card { padding: 16px 12px; gap: 16px; }
  .chat-bubble          { font-size: 12px; padding: 8px 10px; }

  .site-footer  { padding: 20px 0 16px !important; }
}

/* ---- Smartphones Pequenos (≤380px) ---- */
@media (max-width: 380px) {
  .hero-title   { font-size: 23px; }
  .duo-avatar   { width: 90px; height: 90px; border: 2.5px solid #ffffff; }
  .sofia-container-card { padding: 14px 12px; }
  .metric-item h4 { font-size: 19px; }
}

/* ==========================================================================
   SCROLL SNAP CONTAINER — INSTAGRAM REELS / TIKTOK STYLE
   Estratégia: o snap é aplicado em #scroll-container (filho do body),
   NÃO no html/body — isso garante comportamento mandatory preciso.
   Header e aside ficam fixed fora do fluxo do container.
   ========================================================================== */

/* ==========================================================================
   ARQUITETURA DE ROLAGEM FLUIDA & RESPONSIVIDADE NATURAL (ANTI-CORTE)
   ========================================================================== */

/* Container principal com rolagem natural do documento */
#scroll-container {
  position: relative !important;
  width: 100% !important;
  min-height: 100vh !important;
  overflow-y: visible !important;
  scroll-snap-type: none !important; /* Desativa a trava que empalava o conteúdo */
}

/* Todas as seções respiram naturalmente e nunca cortam conteúdo */
.snap-section,
section {
  position: relative !important;
  width: 100% !important;
  height: auto !important;
  min-height: 100vh !important;
  max-height: none !important;
  overflow-y: visible !important;
  overflow-x: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  align-items: center !important;
  box-sizing: border-box !important;
  
  /* Espaço de respiro para JAMAIS ficar atrás do cabeçalho fixo */
  padding-top: 14px !important;
  padding-bottom: clamp(50px, 7vh, 90px) !important;
  padding-left: clamp(16px, 3vw, 40px) !important;
  padding-right: clamp(16px, 3vw, 40px) !important;
}

/* Seção visível — ativada pelo JS Intersection Observer */
.snap-section.section-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Hero Section com enquadramento perfeito */
.hero-section,
.hero.snap-section {
  min-height: 100vh !important;
  height: auto !important;
  padding-top: 14px !important;
  padding-bottom: clamp(40px, 6vh, 70px) !important;
}

/* Footer / rodapé — Centralizado com respiro fluido e sempre visível */
.site-footer.snap-section,
.footer.snap-section {
  opacity: 1 !important;
  transform: none !important;
  height: auto !important;
  min-height: 80vh !important;
  scroll-snap-align: none !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  overflow-y: visible !important;
  padding: 50px 0 !important;
  box-sizing: border-box !important;
}

.site-footer .container,
.footer .container {
  width: 100%;
}

/* Seções de perfil médico individual (Dra. Paula e Dra. Cinara no Portal Principal) */
.section-profile.snap-section {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(168, 93, 76, 0.4) transparent;
  padding-top: clamp(75px, 8.5vh, 90px) !important;
  padding-bottom: clamp(15px, 2.5vh, 30px) !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  box-sizing: border-box;
}

.section-profile.snap-section .profile-grid {
  align-items: center;
  gap: clamp(20px, 3vw, 42px);
}

.section-profile.snap-section .profile-image-wrap {
  max-width: clamp(300px, 32vw, 400px);
  width: 100%;
}

.section-profile.snap-section .profile-photo {
  height: clamp(300px, 42vh, 420px) !important;
  object-fit: cover !important;
  object-position: center 12% !important;
}

.section-profile.snap-section .profile-title {
  font-size: clamp(26px, 2.2vw, 34px);
  margin-bottom: 4px;
}

.section-profile.snap-section .profile-crm {
  margin-bottom: 8px;
  font-size: 12.5px;
}

.section-profile.snap-section .profile-bio {
  font-size: clamp(13px, 0.9vw, 14.5px);
  line-height: 1.5;
  margin-bottom: clamp(10px, 1.4vh, 16px);
}

.section-profile.snap-section .treatment-cards-grid {
  gap: clamp(6px, 0.9vw, 12px);
  margin-bottom: clamp(10px, 1.5vh, 16px);
}

.section-profile.snap-section .treatment-pill-card {
  padding: clamp(6px, 0.9vh, 10px) clamp(8px, 1vw, 12px);
}

/* Seções de conteúdo longo: scroll interno */
.section-about.snap-section,
.section-faq.snap-section,
.section-contact.snap-section {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(168, 93, 76, 0.3) transparent;
  padding-top: clamp(75px, 9vh, 90px);
  padding-bottom: clamp(20px, 3vh, 35px);
  align-items: stretch;
  justify-content: flex-start;
}

/* Seções com Carrossel Lateral (Portfólio, Infraestrutura & Diferenciais): Rolagem fluida e respiro natural */
.section-institute.snap-section#tratamentos,
.section-profile.snap-section#instituto,
.section-treatments.snap-section,
.section-differentials.snap-section {
  min-height: 100vh !important;
  height: auto !important;
  max-height: none !important;
  overflow-y: visible !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  padding-top: 14px !important;
  padding-bottom: clamp(50px, 7vh, 90px) !important;
  box-sizing: border-box !important;
}

.section-differentials.snap-section .container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.section-institute.snap-section#tratamentos .section-header-center,
.section-profile.snap-section#instituto .section-header-center,
.section-treatments.snap-section .treatments-header,
.section-differentials.snap-section .differentials-header {
  margin-bottom: 12px !important;
  text-align: center;
}

.section-institute.snap-section#tratamentos .section-header-center h2,
.section-profile.snap-section#instituto .section-header-center h2,
.section-treatments.snap-section .treatments-header h2,
.section-treatments.snap-section .section-heading,
.section-differentials.snap-section .section-heading {
  font-size: clamp(22px, 2.2vw, 30px) !important;
  margin-bottom: 4px !important;
  line-height: 1.25 !important;
}

.section-institute.snap-section#tratamentos .section-header-center p,
.section-profile.snap-section#instituto .section-header-center p,
.section-treatments.snap-section .treatments-header p,
.section-differentials.snap-section .differentials-header p {
  font-size: 14px !important;
  margin-bottom: 6px !important;
  line-height: 1.45 !important;
}

/* Mobile: usa svh (safe viewport height — respeita notch iOS) */
@media (max-width: 768px) {
  .snap-section {
    height: auto !important;
    min-height: 100svh !important;
    width: 100vw !important;
    overflow-y: visible !important;
  }

  .hero-section.snap-section,
  .hero.snap-section,
  .section-profile.snap-section,
  .section-about.snap-section,
  .section-institute.snap-section,
  .section-sofia.snap-section,
  .section-treatments.snap-section,
  .section-differentials.snap-section,
  .section-faq.snap-section,
  .section-contact.snap-section {
    height: auto !important;
    min-height: 100svh !important;
    overflow-y: visible !important;
    padding-top: 84px !important;
    justify-content: flex-start !important;
  }
}



/* Indicador Lateral Flutuante (Dots Navigation) */
.section-scroll-nav {
  position: fixed;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 14px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(168, 93, 76, 0.2);
  box-shadow: 0 10px 30px rgba(168, 93, 76, 0.12);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.scroll-dot-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  text-decoration: none;
}

.scroll-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #cbd5e1;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
}

.scroll-dot-link:hover .scroll-dot {
  background: var(--primary-light);
  transform: scale(1.3);
}

.scroll-dot-link.active .scroll-dot {
  background: var(--primary);
  width: 12px;
  height: 12px;
  box-shadow: 0 0 10px var(--primary-glow);
  border-color: #ffffff;
}

/* Tooltip do Ponto de Rolagem */
.scroll-dot-tooltip {
  position: absolute;
  right: 28px;
  top: 50%;
  transform: translateY(-50%) translateX(10px);
  background: rgba(15, 23, 42, 0.92);
  color: #ffffff;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.scroll-dot-tooltip::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 100%;
  transform: translateY(-50%);
  border-width: 4px;
  border-style: solid;
  border-color: transparent transparent transparent rgba(15, 23, 42, 0.92);
}

.scroll-dot-link:hover .scroll-dot-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

@media (max-width: 1024px) {
  .section-scroll-nav { display: none; }
}

/* ==========================================================================
   MELHORIAS DE SCROLL, SCROLLBAR & TOQUES (MOBILE UX)
   ========================================================================== */

/* Scrollbar estilizada \u2014 desktop WebKit/Blink */
@media (min-width: 769px) {
  ::-webkit-scrollbar       { width: 5px; height: 5px; }
  ::-webkit-scrollbar-track { background: transparent; }
  ::-webkit-scrollbar-thumb {
    background: rgba(168, 93, 76, 0.28);
    border-radius: 9999px;
  }
  ::-webkit-scrollbar-thumb:hover {
    background: rgba(168, 93, 76, 0.52);
  }
}

/* Scroll momentum no iOS */
.sofia-chat-preview,
.modal-privacy-body {
  -webkit-overflow-scrolling: touch;
  overflow-y: auto;
}

/* Micro-intera\u00e7\u00f5es de toque \u2014 desativa hovers no mobile */
@media (hover: none) and (pointer: coarse) {
  .feature-box:hover,
  .duo-card:hover,
  .institute-pillar-card:hover,
  .treatment-pill-card:hover,
  .profile-image-link:hover { transform: none; box-shadow: none; }

  /* Feedback de toque nos cards */
  .feature-box:active          { transform: scale(0.98); opacity: 0.92; }
  .duo-card:active             { transform: scale(0.97); }
  .treatment-pill-card:active  { transform: scale(0.97); }

  /* Bot\u00f5es com resposta r\u00e1pida ao toque */
  .btn-hero-primary,
  .btn-hero-secondary,
  .btn-cta-concierge { transition: opacity 0.12s ease, transform 0.12s ease; }

  .btn-hero-primary:active,
  .btn-cta-concierge:active  { opacity: 0.82; transform: scale(0.97); }
  .btn-hero-secondary:active { opacity: 0.75; }

  /* Área de toque mínima (44px) para acessibilidade */
  .nav-link      { min-height: 44px; display: flex; align-items: center; }
  .footer-links a{ padding: 5px 0; display: inline-block; min-height: 36px; line-height: 2.2; }
  .scroll-dot-link { width: 28px; height: 28px; }
}

/* ==========================================================================
   ESQUADRÃO TECH SPEC: REDESIGN VISUAL DE ALTO PADRÃO & CONVERSÃO
   (Elena Ramos - UI/UX & Gabriel Costa - Frontend)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. BOTÃO FLUTUANTE DO WHATSAPP & BALÃO CONVIDATIVO DA SOFIA IA
   -------------------------------------------------------------------------- */
.whatsapp-floating-container {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  pointer-events: none; /* Só os botões internos capturam clique */
}

.whatsapp-float-btn {
  pointer-events: auto;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.4), 0 4px 12px rgba(0, 0, 0, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.85);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.whatsapp-float-btn:hover {
  transform: scale(1.08) translateY(-3px);
  box-shadow: 0 16px 36px rgba(37, 211, 102, 0.55), 0 6px 16px rgba(0, 0, 0, 0.2);
  color: #ffffff;
}

.whatsapp-float-btn::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.45);
  animation: pulseWaRing 2.2s infinite;
}

@keyframes pulseWaRing {
  0% { transform: scale(1); opacity: 0.9; }
  70% { transform: scale(1.3); opacity: 0; }
  100% { transform: scale(1.3); opacity: 0; }
}

/* Balão Convidativo com Avatar Sofia e Rose Gold Terracota */
.sofia-float-bubble {
  pointer-events: auto;
  position: absolute;
  bottom: 74px;
  right: 0;
  width: 310px;
  max-width: calc(100vw - 36px);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(212, 175, 55, 0.35);
  border-radius: 20px;
  padding: 18px;
  box-shadow: 0 18px 40px rgba(168, 93, 76, 0.18), 0 6px 16px rgba(0, 0, 0, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px) scale(0.96);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  margin-bottom: 8px;
}

.sofia-float-bubble.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.sofia-float-bubble.is-hidden {
  display: none !important;
}

.sofia-bubble-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.sofia-bubble-profile {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sofia-bubble-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c98877 0%, #a85d4c 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 17px;
  box-shadow: 0 3px 10px rgba(168, 93, 76, 0.35);
  border: 2px solid #ffffff;
}

.sofia-bubble-author-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--primary-dark, #7a3a2d);
  line-height: 1.2;
}

.sofia-bubble-badge-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  font-weight: 600;
  color: #059669;
}

.sofia-bubble-badge-status::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px #10b981;
}

.sofia-bubble-close {
  background: transparent;
  border: none;
  font-size: 18px;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  border-radius: 50%;
  line-height: 1;
  transition: all 0.2s ease;
}

.sofia-bubble-close:hover {
  color: var(--primary);
  background: rgba(168, 93, 76, 0.1);
}

.sofia-bubble-message {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.sofia-bubble-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 11px 16px;
  border-radius: 99px;
  background: linear-gradient(135deg, #a85d4c 0%, #7a3a2d 100%);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(168, 93, 76, 0.3);
  transition: all 0.25s ease;
  text-decoration: none;
}

.sofia-bubble-btn:hover {
  background: linear-gradient(135deg, #c98877 0%, #a85d4c 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(168, 93, 76, 0.4);
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   2. VITRINE DE PROCEDIMENTOS COM EFEITO GLASSMORPHISM & 3D HOVER
   -------------------------------------------------------------------------- */
.feature-box,
.treatment-card-glass {
  background: rgba(255, 255, 255, 0.88) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border: 1px solid rgba(212, 175, 55, 0.28) !important;
  border-radius: 18px !important;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(168, 93, 76, 0.06), 0 2px 6px rgba(0, 0, 0, 0.03);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease !important;
}

.feature-box:hover,
.treatment-card-glass:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 20px 38px rgba(168, 93, 76, 0.14), 0 8px 18px rgba(212, 175, 55, 0.12) !important;
  border-color: rgba(212, 175, 55, 0.6) !important;
}

/* Micro-tags no topo dos cards */
.treatment-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin-bottom: 8px;
}

.treatment-micro-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 99px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.treatment-micro-tag.tag-category {
  background: rgba(212, 175, 55, 0.12);
  color: #8b6b15;
  border: 1px solid rgba(212, 175, 55, 0.35);
}

.treatment-micro-tag.tag-doctor {
  background: rgba(168, 93, 76, 0.1);
  color: var(--primary, #a85d4c);
  border: 1px solid rgba(168, 93, 76, 0.25);
}

/* Botão de Ação nos Cards: Consultar Valores & Horários */
.btn-treatment-consult {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  padding: 10px 14px;
  border-radius: 10px;
  background: #ffffff;
  color: var(--primary, #a85d4c);
  border: 1.5px solid var(--primary-light, #c98877);
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  margin-top: 10px;
}

.btn-treatment-consult:hover {
  background: linear-gradient(135deg, #a85d4c 0%, #7a3a2d 100%);
  color: #ffffff;
  border-color: #7a3a2d;
  box-shadow: 0 6px 16px rgba(168, 93, 76, 0.25);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   3. SELO METÁLICO DE AUTORIDADE MÉDICA NAS PÁGINAS DAS DOUTORAS
   -------------------------------------------------------------------------- */
.doctor-authority-seal {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 5;
  background: linear-gradient(135deg, rgba(252, 251, 249, 0.96) 0%, rgba(248, 237, 218, 0.95) 100%);
  border: 1.5px solid rgba(212, 175, 55, 0.65);
  border-radius: 14px;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.25), 0 2px 8px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.doctor-authority-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d4af37 0%, #ecd9b3 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5c440a;
  font-size: 15px;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.35);
  flex-shrink: 0;
}

.doctor-authority-meta {
  display: flex;
  flex-direction: column;
}

.doctor-authority-crm {
  font-size: 12px;
  font-weight: 800;
  color: #2b1b17;
  letter-spacing: 0.3px;
  line-height: 1.2;
}

.doctor-authority-spec {
  font-size: 10px;
  font-weight: 600;
  color: #8b6b15;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

/* Brilho Sutil (Glow) na Foto Profissional */
.profile-image-frame,
.hero-photo-wrapper {
  position: relative;
  box-shadow: 0 20px 50px rgba(168, 93, 76, 0.16), 0 0 35px rgba(212, 175, 55, 0.12) !important;
  border: 2px solid rgba(212, 175, 55, 0.35) !important;
}

.profile-image-frame::after,
.hero-photo-wrapper::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.6);
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   4. BARRA FIXA DE CONVERSÃO MOBILE (STICKY BOTTOM CTA)
   -------------------------------------------------------------------------- */
.mobile-sticky-cta-bar {
  display: none;
}

@media (max-width: 768px) {
  .mobile-sticky-cta-bar {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 9998;
    background: rgba(252, 251, 249, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    padding: 10px 16px;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .mobile-sticky-cta-bar.is-active {
    transform: translateY(0);
  }

  .mobile-sticky-cta-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    border-radius: 99px;
    background: linear-gradient(135deg, #a85d4c 0%, #7a3a2d 100%);
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(168, 93, 76, 0.35);
    text-decoration: none;
  }

  .mobile-sticky-cta-btn i {
    font-size: 19px;
    color: #25d366;
  }

  /* Ajusta o botão flutuante quando o sticky cta está ativo para não sobrepor */
  .whatsapp-floating-container {
    bottom: 78px;
    right: 18px;
  }
}

/* --------------------------------------------------------------------------
   5. SEÇÃO DE DEPOIMENTOS & AVALIAÇÕES 5 ESTRELAS
   -------------------------------------------------------------------------- */
.section-testimonials {
  padding: 90px 0;
  background-color: #faf6f2;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

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

@media (max-width: 992px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.testimonial-luxury-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 18px;
  padding: 30px 26px;
  box-shadow: 0 10px 30px rgba(168, 93, 76, 0.08);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.testimonial-luxury-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 45px rgba(168, 93, 76, 0.15);
  border-color: rgba(212, 175, 55, 0.55);
}

.testimonial-quote-icon {
  font-size: 34px;
  color: rgba(168, 93, 76, 0.25);
  line-height: 1;
  margin-bottom: 12px;
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  color: #d4af37;
  font-size: 15px;
  margin-bottom: 14px;
}

.testimonial-text {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 22px;
  flex: 1;
}

.testimonial-author-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(168, 93, 76, 0.12);
  padding-top: 16px;
}

.testimonial-author-info h5 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 2px;
}

.testimonial-author-info p {
  font-size: 11.5px;
  color: var(--text-muted);
}

.badge-verified-patient {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(5, 150, 105, 0.1);
  color: #059669;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 99px;
  border: 1px solid rgba(5, 150, 105, 0.25);
  white-space: nowrap;
}

/* ==========================================================================
   NAVEGAÇÃO LATERAL (SCROLL DOTS) - ANTI-OVERLAP EM TELAS CONVENCIONAIS
   ========================================================================== */
.section-scroll-nav {
  position: fixed !important;
  right: 18px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 990 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  padding: 12px 8px !important;
  border-radius: 99px !important;
  border: 1px solid rgba(168, 93, 76, 0.2) !important;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08) !important;
  pointer-events: auto !important;
}

/* Ocultar obrigatoriamente em telas <= 1440px para garantir respiro e nunca cobrir fotos ou cards */
@media (max-width: 1440px) {
  .section-scroll-nav {
    display: none !important;
  }
}

/* ==========================================================================
   WIDGET FLUTUANTE DA SOFIA IA & WHATSAPP
   ========================================================================== */
.whatsapp-floating-container {
  position: fixed !important;
  bottom: 28px !important;
  right: 28px !important;
  z-index: 9999 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  pointer-events: none !important;
}

.whatsapp-float-btn,
.sofia-float-bubble {
  pointer-events: auto !important;
}

.sofia-float-bubble {
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  margin-bottom: 14px;
}

.sofia-float-bubble.is-visible {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
}

.sofia-float-bubble.is-hidden {
  display: none !important;
}

/* ==========================================================================
   BOTÃO DE CONSULTA DE VALORES E HORÁRIOS NOS CARDS
   ========================================================================== */
.btn-treatment-consult {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  width: 100% !important;
  padding: 11px 16px !important;
  border-radius: 10px !important;
  background: #ffffff !important;
  color: #a85d4c !important;
  border: 1.5px solid #d8a499 !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  cursor: pointer !important;
  box-shadow: 0 2px 6px rgba(168, 93, 76, 0.08) !important;
  transition: all 0.25s ease !important;
  margin-top: 12px !important;
}

.btn-treatment-consult i {
  color: #25d366 !important;
  font-size: 15px !important;
}

.btn-treatment-consult:hover {
  background: linear-gradient(135deg, #a85d4c 0%, #874334 100%) !important;
  color: #ffffff !important;
  border-color: #874334 !important;
  box-shadow: 0 6px 18px rgba(168, 93, 76, 0.25) !important;
  transform: translateY(-2px) !important;
}

.btn-treatment-consult:hover i {
  color: #ffffff !important;
}

/* ==========================================================================
   SELO DE AUTORIDADE MÉDICA (CRM/RQE) NO HERO
   ========================================================================== */
.hero-photo-wrapper {
  position: relative !important;
  overflow: hidden !important;
}

.doctor-authority-seal {
  position: absolute !important;
  top: 16px !important;
  right: 16px !important;
  z-index: 10 !important;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(250, 245, 240, 0.95) 100%) !important;
  border: 1.5px solid rgba(168, 93, 76, 0.3) !important;
  border-radius: 12px !important;
  padding: 8px 14px !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
}

/* ==========================================================================
   MASTER SPEC: AJUSTES REFINADOS DE HERO, NAVBAR & CARROSSÉIS
   ========================================================================== */

/* Hero Grid e Tipografia Fluida */
.hero-grid {
  display: grid !important;
  grid-template-columns: 1.15fr 0.85fr !important;
  gap: clamp(24px, 4vw, 54px) !important;
  align-items: center !important;
  width: 100% !important;
  max-width: 1220px !important;
  margin: 0 auto !important;
}

.hero-title {
  font-size: clamp(32px, 3.8vw, 52px) !important;
  line-height: 1.14 !important;
  margin-top: 10px !important;
  margin-bottom: 16px !important;
  word-break: normal !important;
}

.hero-subtitle,
.hero-description {
  font-size: clamp(15px, 1.15vw, 17px) !important;
  line-height: 1.6 !important;
  margin-bottom: 24px !important;
  color: #475569 !important;
}

/* Moldura e foto da médica com proporção adaptativa e preservação facial */
.hero-photo-wrapper {
  position: relative !important;
  width: 100% !important;
  max-width: 440px !important;
  margin: 0 auto !important;
  border-radius: 28px !important;
  overflow: hidden !important;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12) !important;
  background: #ffffff !important;
}

.hero-photo-wrapper img {
  width: 100% !important;
  height: auto !important;
  max-height: clamp(380px, 52vh, 520px) !important;
  object-fit: cover !important;
  object-position: center top !important; /* Preserva o rosto da médica */
  display: block !important;
}

/* Navbar Responsiva sem Colisão de Textos e Logos */
.navbar {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  z-index: 1000 !important;
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8) !important;
  transition: all 0.25s ease !important;
}

.nav-container {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  height: 74px !important;
  max-width: 1240px !important;
  margin: 0 auto !important;
  padding: 0 clamp(16px, 2.5vw, 32px) !important;
  gap: 14px !important;
}

.brand-wrap {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  flex-shrink: 0 !important;
  text-decoration: none !important;
}

.brand-logo-paula,
.brand-logo-cinara {
  height: clamp(30px, 2.8vw, 38px) !important;
  width: auto !important;
  object-fit: contain !important;
}

.brand-divider {
  height: 22px !important;
  width: 1px !important;
  background: #cbd5e1 !important;
}

.brand-logo-ambiance {
  height: clamp(26px, 2.6vw, 34px) !important;
  width: auto !important;
  max-width: 135px !important;
  object-fit: contain !important;
}

/* Links do menu com espaçamento fluido proporcional */
.nav-links {
  display: flex !important;
  align-items: center !important;
  gap: clamp(10px, 1.4vw, 22px) !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.nav-link {
  color: #475569 !important;
  font-size: clamp(12.5px, 0.9vw, 14px) !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  transition: color 0.2s ease !important;
}

.nav-link:hover,
.nav-link.active {
  color: #a85d4c !important;
}

.nav-actions {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex-shrink: 0 !important;
}

.btn-hub,
.btn-system-nav {
  padding: 8px 14px !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  border-radius: 99px !important;
  white-space: nowrap !important;
}

/* Em telas com largura inferior a 1220px, recolhe links para nunca colidir */
@media (max-width: 1220px) {
  .nav-links {
    display: none !important;
  }
  .nav-mobile-toggle {
    display: block !important;
  }
}

/* Carrosséis de Tratamentos e Diferenciais */
.section-header {
  text-align: center !important;
  margin-bottom: clamp(24px, 4vh, 40px) !important;
  width: 100% !important;
  max-width: 800px !important;
}

.section-title {
  font-size: clamp(26px, 3vw, 42px) !important;
  line-height: 1.2 !important;
  margin-bottom: 10px !important;
}

.section-subtitle {
  font-size: clamp(14px, 1.1vw, 16px) !important;
  color: #64748b !important;
  line-height: 1.5 !important;
}

.treatment-card {
  display: flex !important;
  flex-direction: column !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05) !important;
  transition: all 0.3s ease !important;
}

.treatment-card-img {
  width: 100% !important;
  height: clamp(150px, 18vh, 185px) !important;
  object-fit: cover !important;
}

.treatment-card-body {
  padding: 16px 18px 20px !important;
  display: flex !important;
  flex-direction: column !important;
  flex: 1 !important;
}

.treatment-card-title {
  font-size: clamp(16px, 1.2vw, 18px) !important;
  font-weight: 700 !important;
  margin: 8px 0 6px !important;
}

.treatment-card-desc {
  font-size: 13px !important;
  line-height: 1.5 !important;
  color: #64748b !important;
  margin-bottom: 12px !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

/* ==========================================================================
   BLINDAGEM DE CLIQUES DA NAVBAR SUPERIOR
   ========================================================================== */
.top-announcement {
  position: relative !important;
  z-index: 10001 !important;
  pointer-events: auto !important;
}

.site-header,
.navbar {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  z-index: 10000 !important;
  pointer-events: auto !important;
}

/* Forçar captura de clique em todos os links e botões da barra superior */
.navbar a,
.navbar button,
.nav-link,
.btn-hub,
.btn-system-nav,
.btn-system-access,
.btn-cta-concierge,
.nav-mobile-toggle,
.btn-mobile-toggle {
  pointer-events: auto !important;
  cursor: pointer !important;
  position: relative !important;
  z-index: 10002 !important;
}

/* Desativar o scroll-container fixo que cobria a tela */
#scroll-container {
  position: relative !important;
  z-index: 1 !important;
  pointer-events: auto !important;
}

/* ==========================================================================
   RESTAURAÇÃO DE VISIBILIDADE TOTAL (ANTI-INVISIBILIDADE)
   ========================================================================== */

/* Todas as seções e containers 100% visíveis por padrão */
.snap-section,
section,
.hero,
.section-about,
.section-treatments,
.section-differentials,
.section-faq,
.section-contact,
footer {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  display: flex !important;
  flex-direction: column !important;
  height: auto !important;
  min-height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}

/* Container de rolagem sem travas invisíveis */
#scroll-container {
  position: relative !important;
  width: 100% !important;
  min-height: 100vh !important;
  overflow: visible !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Cards, títulos e fotos visíveis imediatamente */
.hero-content,
.hero-media,
.hero-photo-wrapper,
.hero-photo-wrapper img,
.treatment-card,
.diff-card,
.faq-card {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

/* ==========================================================================
   ENCAIXE PERFEITO DO TOPO (ZERO ESPAÇO GIGANTE)
   ========================================================================== */

/* 1. Altura real da Navbar: 74px desktop / 64px mobile */
.site-header,
.navbar {
  height: 74px !important;
}

@media (max-width: 768px) {
  .site-header,
  .navbar {
    height: 64px !important;
  }
}

/* 2. Respiro justo das seções: apenas 12px de folga abaixo da navbar */
.snap-section,
section,
.hero-section,
.hero.snap-section {
  padding-top: 86px !important; /* 74px menu + 12px respiro no desktop */
  padding-bottom: clamp(30px, 5vh, 60px) !important;
}

/* 3. Respiro enxuto no celular */
@media (max-width: 768px) {
  .snap-section,
  section,
  .hero-section,
  .hero.snap-section {
    padding-top: 74px !important; /* 64px menu + 10px respiro no mobile */
    padding-bottom: 30px !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  /* Títulos do Hero proporcionais para celular sem quebrar palavras */
  .hero-title {
    font-size: clamp(26px, 7.5vw, 34px) !important;
    line-height: 1.18 !important;
    margin-top: 6px !important;
    margin-bottom: 12px !important;
  }

  .hero-subtitle,
  .hero-description {
    font-size: 14px !important;
    line-height: 1.55 !important;
    margin-bottom: 18px !important;
  }

  /* Botões do Hero empilhados em largura total no mobile */
  .hero-cta-group,
  .hero-buttons {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 10px !important;
  }

  .btn-primary-hero,
  .btn-secondary-hero,
  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100% !important;
    justify-content: center !important;
    padding: 12px 18px !important;
    font-size: 14px !important;
  }

  /* Foto da Médica no mobile sem estourar altura */
  .hero-photo-wrapper {
    max-width: 100% !important;
    max-height: 380px !important;
    border-radius: 20px !important;
    margin: 16px auto 0 auto !important;
  }

  .hero-photo-wrapper img {
    max-height: 380px !important;
    object-position: center top !important;
  }

  /* Carrosséis Mobile: swipe horizontal nativo sem quebrar a margem */
  .treatments-carousel-track,
  .differentials-carousel-track,
  .faq-carousel-track {
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 14px !important;
    padding-bottom: 10px !important;
  }

  .treatment-card,
  .diff-card,
  .faq-card {
    flex: 0 0 88% !important;
    max-width: 320px !important;
    scroll-snap-align: center !important;
  }

  /* Ocultar setas que vazavam para fora da tela no celular */
  .carousel-arrow {
    display: none !important;
  }

  /* Botão WhatsApp flutuante discreto no celular */
  .whatsapp-floating-container {
    bottom: 18px !important;
    right: 16px !important;
  }

  .whatsapp-float-btn {
    width: 52px !important;
    height: 52px !important;
    font-size: 26px !important;
  }
}






/* ==========================================================================
   ENCAIXE CIRÚRGICO MOBILE & ZERO ESPAÇO NO TOPO (v20261008_mobile_v3)
   ========================================================================== */
.site-header,
.navbar {
  height: 64px !important;
}

.snap-section,
section,
.hero-section,
.hero.snap-section {
  padding-top: 74px !important;
  padding-bottom: 24px !important;
}

@media (max-width: 768px) {
  .snap-section,
  section,
  .hero-section,
  .hero.snap-section {
    padding-top: 70px !important;
    padding-bottom: 20px !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .carousel-arrow {
    display: none !important;
  }

  .treatments-carousel-track,
  .differentials-carousel-track,
  .faq-carousel-track {
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    gap: 12px !important;
    padding-bottom: 8px !important;
  }

  .treatment-card,
  .diff-card,
  .faq-card {
    flex: 0 0 88% !important;
    max-width: 320px !important;
    scroll-snap-align: center !important;
  }
}

@media (max-width: 480px) {
  .brand-logo-ambiance,
  .brand-divider {
    display: none !important;
  }
  .brand-logo-paula,
  .brand-logo-cinara {
    height: 32px !important;
  }
}

/* ==========================================================================
   CARDS DAS MÉDICAS NA HOME: BALÃO COMO RODAPÉ INTEGRADO (v5)
   ========================================================================== */
.profile-image-frame {
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  border-radius: 24px !important;
  background: #ffffff !important;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08) !important;
  border: 1.5px solid var(--border-soft) !important;
  position: relative !important;
}

.profile-photo {
  width: 100% !important;
  height: 380px !important;
  object-fit: cover !important;
  object-position: center 15% !important;
  display: block !important;
}

.profile-floating-badge {
  position: static !important; /* Desce para a base do card, sem sobrepor a foto */
  width: 100% !important;
  background: #ffffff !important;
  padding: 16px 20px !important;
  border: none !important;
  border-top: 1px solid rgba(226, 217, 210, 0.7) !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

/* ==========================================================================
   CARDS DAS MÉDICAS NA HOME: BALÃO COMO RODAPÉ INTEGRADO (v20261008_master_v6)
   ========================================================================== */
.profile-image-frame {
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  border-radius: 24px !important;
  background: #ffffff !important;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08) !important;
  border: 1.5px solid var(--border-soft) !important;
  position: relative !important;
}

.profile-photo {
  width: 100% !important;
  height: 380px !important;
  object-fit: cover !important;
  object-position: center 15% !important;
  display: block !important;
}

.profile-floating-badge {
  position: static !important;
  width: 100% !important;
  background: #ffffff !important;
  padding: 16px 20px !important;
  border: none !important;
  border-top: 1px solid rgba(226, 217, 210, 0.7) !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

/* ==========================================================================
   DESTRAVA DEFINITIVA DE SCROLL & ROLAGEM NATIVA (v20261008_scroll_fix_v7)
   ========================================================================== */
html {
  overflow-y: scroll !important;
  overflow-x: hidden !important;
  height: auto !important;
  scroll-behavior: smooth !important;
  scroll-snap-type: none !important;
}

body {
  overflow: visible !important;
  overflow-y: visible !important;
  overflow-x: hidden !important;
  height: auto !important;
  min-height: 100vh !important;
  position: relative !important;
  scroll-snap-type: none !important;
}

#scroll-container,
main#scroll-container {
  position: static !important;
  width: 100% !important;
  height: auto !important;
  min-height: 100vh !important;
  overflow: visible !important;
  overflow-y: visible !important;
  overflow-x: visible !important;
  scroll-snap-type: none !important;
}

/* ==========================================================================
   PACOTE DE CORREÇÕES RESPONSIVAS E VISUAIS (FRONT-END EXPERT SPEC)
   Regra 1: Hero-grid em coluna no mobile e remoção de larguras fixas
   Regra 2: Correção de sobreposição nos cards das Doutoras com margin-bottom
   Regra 3: Ocultação do botão Novo Agendamento das telas gerais (exclusivo sidebar)
   ========================================================================== */

/* Regra 1: Fim dos cortes laterais e quebra de grid no Mobile (<= 768px) */
@media screen and (max-width: 768px) {
  .hero-grid,
  .profile-grid,
  .doctors-duo-preview,
  .sofia-container-card,
  .about-grid,
  .contact-card-banner,
  .faq-layout {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .container,
  .hero-section,
  .section-profile,
  .section-institute,
  .section-sofia {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }
}

/* Regra 2: Correção das etiquetas sobrepondo o texto (Cards das Doutoras) */
@media screen and (max-width: 768px) {
  .profile-image-wrap {
    margin-bottom: 75px !important;
    height: auto !important;
    min-height: auto !important;
    width: 100% !important;
    max-width: 340px !important;
  }

  .profile-image-frame {
    height: auto !important;
    min-height: auto !important;
    position: relative !important;
  }

  .profile-photo {
    height: auto !important;
    max-height: 320px !important;
    width: 100% !important;
    object-fit: cover !important;
    display: block !important;
  }

  /* Sites Específicos (/dra-paula e /dra-cinara) no Celular:
     Ocultar balões flutuantes sobre a foto para não cobrir o rosto nem o texto abaixo */
  .doctor-authority-seal,
  .hero-floating-tag {
    display: none !important;
  }

  .hero-media {
    order: -1 !important;
    width: 100% !important;
    max-width: 320px !important;
    margin: 0 auto 20px auto !important;
  }

  .hero-photo-wrapper {
    height: auto !important;
    min-height: auto !important;
    max-width: 300px !important;
    margin: 0 auto !important;
    border-radius: 24px !important;
    overflow: hidden !important;
  }

  .hero-photo-wrapper img {
    height: auto !important;
    max-height: 340px !important;
    width: 100% !important;
    object-fit: cover !important;
    object-position: center top !important;
    display: block !important;
  }
}

/* Regra 3: Remoção do botão "+ Novo Agendamento" e "WhatsApp Online" das telas gerais */
.system-topbar-compact .topbar-right-actions,
.system-topbar-compact .btn-quick-new-appt,
.topbar-right-actions,
.btn-quick-new-appt {
  display: none !important;
}
