/* ==========================================================================
   CABRAL ODONTOLÓGICO - LUXURY DESIGN SYSTEM & STYLES
   Inspired by Apple, Stripe, Vercel, Linear & Framer
   Target: Barueri, SP - Implantes Dentários & Odontopediatria
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS & VARIABLES
   -------------------------------------------------------------------------- */
:root {
  /* Brand Colors */
  --primary: #0B63CE;
  --primary-hover: #084FA7;
  --primary-dark: #040B1E;
  --primary-light: #4F8EF7;
  --primary-subtle: #EAF4FF;
  --primary-gradient: linear-gradient(135deg, #0B63CE 0%, #3B82F6 50%, #60A5FA 100%);
  --brand-header-gradient: linear-gradient(90deg, #040B1E 0%, #0B132B 55%, #0B63CE 100%);
  --accent-glow: linear-gradient(135deg, rgba(11, 99, 206, 0.15) 0%, rgba(79, 142, 247, 0.15) 100%);
  --gold-accent: #C59B63;
  --gold-gradient: linear-gradient(135deg, #D4AF37 0%, #C59B63 50%, #9A7B3E 100%);
  --whatsapp-green: #25D366;
  --whatsapp-hover: #1EBE56;

  /* Neutral Spectrum */
  --bg-main: #FFFFFF;
  --bg-secondary: #F8FAFC;
  --bg-tertiary: #F1F5F9;
  --surface-card: #FFFFFF;
  --surface-glass: rgba(255, 255, 255, 0.82);
  --surface-glass-border: rgba(11, 99, 206, 0.12);
  --surface-glass-dark: rgba(15, 23, 42, 0.03);

  /* Typography Colors */
  --text-main: #0F172A;
  --text-muted: #475569;
  --text-light: #64748B;
  --text-white: #FFFFFF;

  /* Typography Specs - Neo-Grotesque Sans-Serif Bold */
  --font-heading: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-hero-title: 'Plus Jakarta Sans', 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Layout & Spacing */
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.03);
  --shadow-md: 0 12px 24px -6px rgba(11, 99, 206, 0.08);
  --shadow-lg: 0 24px 48px -12px rgba(11, 99, 206, 0.12);
  --shadow-glow: 0 0 40px rgba(11, 99, 206, 0.2);
  --shadow-whatsapp: 0 8px 24px rgba(37, 211, 102, 0.35);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   2. GLOBAL BASE RESET
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

button, input, select, textarea {
  font: inherit;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #F1F5F9;
}
::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-light);
}

/* Container Utility */
.container {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --------------------------------------------------------------------------
   3. TYPOGRAPHY & BADGES
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.gradient-text {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.gold-gradient-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.tagline-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: var(--primary-subtle);
  border: 1px solid rgba(11, 99, 206, 0.18);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 20px;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
}

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

.section-header .subtitle {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 12px;
  display: block;
}

.section-header h2 {
  font-family: var(--font-hero-title);
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.15;
  margin-bottom: 18px;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   4. BUTTONS, CTA GROUPS & MICRO-NOTES ("NÃO ATENDEMOS CONVÊNIO")
   -------------------------------------------------------------------------- */
.btn-cta-group {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
}

.cta-micro-note {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 6px;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.cta-micro-note i {
  font-size: 0.7rem;
  color: var(--primary);
}

.header .cta-micro-note {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.725rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.header .cta-micro-note i {
  color: #60A5FA;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1rem;
  transition: var(--transition-normal);
  cursor: pointer;
  border: none;
  text-align: center;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary-gradient);
  color: var(--text-white);
  box-shadow: 0 10px 25px -5px rgba(11, 99, 206, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -4px rgba(11, 99, 206, 0.5);
  background: linear-gradient(135deg, #084FA7 0%, #2563EB 100%);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: var(--text-white);
  box-shadow: var(--shadow-whatsapp);
  white-space: nowrap;
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
}

.btn-secondary {
  background: var(--surface-glass);
  color: var(--text-main);
  border: 1px solid var(--surface-glass-border);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}

.btn-secondary:hover {
  background: #FFFFFF;
  border-color: var(--primary-light);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-sm {
  padding: 12px 26px;
  font-size: 0.925rem;
  white-space: nowrap;
}

.pulse-glow::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 60%);
  transform: scale(0);
  opacity: 0;
  transition: transform 0.6s, opacity 0.6s;
}

.pulse-glow:hover::after {
  transform: scale(1);
  opacity: 1;
}

/* --------------------------------------------------------------------------
   5. HEADER & STICKY GRADIENT NAVBAR WITH HARMONIOUS SPACING
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 8px 0;
  background: var(--brand-header-gradient);
  box-shadow: 0 8px 30px rgba(4, 11, 30, 0.3);
  transition: var(--transition-normal);
}

.header.scrolled {
  padding: 6px 0;
  background: rgba(4, 11, 30, 0.96);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(11, 99, 206, 0.2);
  box-shadow: 0 12px 36px rgba(4, 11, 30, 0.4);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Elegant Transparent Logo Container */
.logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  padding: 0;
  border: none;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.logo-link:hover {
  transform: scale(1.04);
}

.logo-img {
  height: 150px; /* Grand & imposing logo as requested */
  width: auto;
  object-fit: contain;
  mix-blend-mode: lighten;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.45));
  transition: height 0.3s ease;
}

.header.scrolled .logo-img {
  height: 100px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  list-style: none;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  transition: var(--transition-fast);
  position: relative;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: #60A5FA;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2.5px;
  background: #60A5FA;
  border-radius: 2px;
  transition: var(--transition-fast);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 0;
  flex-shrink: 0;
}

.location-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.825rem;
  font-weight: 600;
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.12);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.2);
  white-space: nowrap;
  backdrop-filter: blur(8px);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #FFFFFF;
  cursor: pointer;
}

/* Mobile Menu overlay */
.mobile-nav {
  display: none;
  position: fixed;
  top: 130px;
  left: 0;
  right: 0;
  background: rgba(4, 11, 30, 0.98);
  backdrop-filter: blur(20px);
  padding: 28px;
  border-bottom: 1px solid rgba(79, 142, 247, 0.2);
  box-shadow: var(--shadow-lg);
  z-index: 999;
}

.mobile-nav.active {
  display: block;
}

.mobile-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-nav a {
  font-size: 1.15rem;
  font-weight: 700;
  color: #FFFFFF;
}

/* --------------------------------------------------------------------------
   6. HERO SECTION & NEO-GROTESQUE BOLD HEADLINE
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 200px;
  padding-bottom: 80px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(4, 11, 30, 0.04) 0%, transparent 60%),
              radial-gradient(circle at 80% 20%, rgba(79, 142, 247, 0.08) 0%, transparent 50%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-content h1 {
  font-family: var(--font-hero-title);
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.08;
  color: var(--text-main);
  letter-spacing: -0.035em;
}

.hero-content .hero-subtitle {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 24px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.hero-subtitle-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.hero-subtitle-bullet {
  color: var(--text-light);
  font-weight: 400;
  margin-top: 2px;
}

.boleto-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #059669;
  background: #ECFDF5;
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  letter-spacing: 0.01em;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.08);
  white-space: nowrap;
}

.boleto-badge i {
  font-size: 0.75rem;
  color: #059669;
}

.hero-content p {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 580px;
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-trust-bar {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.stars-group {
  color: #F59E0B;
  display: flex;
  gap: 2px;
  font-size: 0.9rem;
}

.trust-text {
  font-size: 0.875rem;
  line-height: 1.2;
}

.trust-text strong {
  display: block;
  color: var(--text-main);
}

.trust-text span {
  color: var(--text-light);
}

/* Hero Media Wrapper & Vídeo 01.MOV Container */
.hero-media-wrapper {
  position: relative;
}

.hero-image-container {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid #FFFFFF;
  background: #000000;
  height: 560px;
}

.hero-video-element {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-overlay-gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.05) 0%, rgba(11, 99, 206, 0.25) 100%);
  pointer-events: none;
}

.video-play-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-sm);
  z-index: 5;
}

.video-play-badge .live-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #EF4444;
  animation: blinkLive 1.5s infinite;
}

@keyframes blinkLive {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* Floating Glass Cards */
.glass-card-floating {
  position: absolute;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 10;
  animation: floatAnim 4s ease-in-out infinite alternate;
}

.glass-card-floating.card-top-right {
  top: -20px;
  right: -20px;
}

.glass-card-floating.card-bottom-left {
  bottom: 30px;
  left: -30px;
  animation-delay: -2s;
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--primary-subtle);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.card-info h5 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-main);
}

.card-info p {
  font-size: 0.775rem;
  color: var(--text-light);
}

@keyframes floatAnim {
  0% { transform: translateY(0); }
  100% { transform: translateY(-10px); }
}

/* --------------------------------------------------------------------------
   7. STATS TICKER BAR
   -------------------------------------------------------------------------- */
.stats-bar {
  background: var(--surface-card);
  padding: 40px 0;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: var(--shadow-sm);
  margin-top: -30px;
  position: relative;
  z-index: 20;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-item h3 {
  font-size: 2.75rem;
  color: var(--primary);
  margin-bottom: 4px;
  font-weight: 800;
}

.stat-item p {
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   8. SPECIALTIES SECTION (INTERACTIVE CARDS)
   -------------------------------------------------------------------------- */
.specialties {
  padding: 100px 0;
  background: var(--bg-secondary);
}

.category-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.tab-btn {
  padding: 10px 22px;
  border-radius: var(--radius-full);
  background: var(--surface-card);
  border: 1px solid rgba(15, 23, 42, 0.08);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-fast);
}

.tab-btn:hover,
.tab-btn.active {
  background: var(--primary);
  color: var(--text-white);
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

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

.specialty-card {
  background: var(--surface-card);
  border-radius: var(--radius-lg);
  padding: 0;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.specialty-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary-gradient);
  opacity: 0;
  z-index: 10;
  transition: var(--transition-fast);
}

.specialty-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(11, 99, 206, 0.25);
}

.specialty-card:hover::before {
  opacity: 1;
}

.specialty-media {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: var(--bg-tertiary);
}

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

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

.specialty-icon-floating {
  position: absolute;
  bottom: 14px;
  right: 16px;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.9);
  z-index: 5;
  transition: var(--transition-fast);
}

.specialty-card:hover .specialty-icon-floating {
  background: var(--primary);
  color: var(--text-white);
  transform: scale(1.05);
}

.specialty-body {
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.specialty-card h3 {
  font-size: 1.35rem;
  font-family: var(--font-hero-title);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: var(--text-main);
}

.specialty-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 22px;
  line-height: 1.55;
  flex-grow: 1;
}

.specialty-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.tag {
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--primary-subtle);
  color: var(--primary);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(11, 99, 206, 0.1);
}

.specialty-link {
  font-size: 0.925rem;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
  margin-top: auto;
}

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

/* --------------------------------------------------------------------------
   9. BEFORE & AFTER TRANSFORMATIONS SLIDER
   -------------------------------------------------------------------------- */
.transformations {
  padding: 100px 0;
  background: var(--bg-main);
}

.before-after-wrapper {
  max-width: 960px;
  margin: 0 auto;
  background: var(--surface-card);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 32px;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.slider-container {
  position: relative;
  width: 100%;
  height: 480px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  user-select: none;
  cursor: ew-resize;
}

.image-before,
.image-after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-after-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 50%;
  overflow: hidden;
  z-index: 2;
}

.slider-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: #FFFFFF;
  z-index: 10;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.4);
  transform: translateX(-50%);
}

.handle-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  color: var(--primary);
  font-size: 1.2rem;
}

.badge-label {
  position: absolute;
  bottom: 20px;
  padding: 6px 14px;
  background: rgba(15, 23, 42, 0.75);
  color: #FFFFFF;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  backdrop-filter: blur(8px);
  z-index: 5;
}

.badge-before { right: 20px; }
.badge-after { left: 20px; }

/* --------------------------------------------------------------------------
   10. DOCTORS / CORPO CLÍNICO
   -------------------------------------------------------------------------- */
.doctors {
  padding: 100px 0;
  background: var(--bg-secondary);
}

.doctors-carousel-container {
  position: relative;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
}

.doctors-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  gap: 32px;
  padding: 16px 4px 28px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.doctors-track::-webkit-scrollbar {
  display: none;
}

.doctor-card {
  flex: 0 0 calc(50% - 16px);
  min-width: 320px;
  scroll-snap-align: start;
  background: var(--surface-card);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  transition: var(--transition-normal);
}

.doctor-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.doctor-image {
  height: 380px;
  width: 100%;
  object-fit: cover;
  background: var(--primary-subtle);
  object-position: top center;
}

.doctor-info {
  padding: 32px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.doctor-info .btn-cta-group {
  margin-top: auto;
}

.doctor-cro {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
  display: block;
}

.doctor-info h3 {
  font-size: 1.75rem;
  margin-bottom: 8px;
}

.doctor-role {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.doctor-bio {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 24px;
  line-height: 1.6;
}

.doctor-specialties {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.doctors-carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
}

.doctors-carousel-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #CBD5E1;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.doctors-carousel-dots .dot:hover {
  background: var(--primary-light);
}

.doctors-carousel-dots .dot.active {
  width: 32px;
  border-radius: 8px;
  background: var(--primary);
}

/* --------------------------------------------------------------------------
   11. CLINIC SHOWCASE & FACADE HIGHLIGHT
   -------------------------------------------------------------------------- */
.process {
  padding: 100px 0;
  background: var(--bg-main);
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: flex-start;
}

.showcase-media-column {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.showcase-content h2 {
  font-family: var(--font-hero-title);
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
  margin-bottom: 16px;
  color: var(--text-main);
}

.showcase-lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.6;
}

.showcase-highlights {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.highlight-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: var(--primary-subtle);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.highlight-text h5 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.highlight-text p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.showcase-location-card {
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

.loc-row {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.925rem;
  color: var(--text-main);
  font-weight: 600;
}

.loc-row i {
  color: var(--primary);
  font-size: 1.15rem;
  width: 22px;
  flex-shrink: 0;
}

/* Facade Image Card */
.facade-image-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid #FFFFFF;
  background: var(--primary-dark);
}

.facade-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.facade-image-card:hover .facade-img {
  transform: scale(1.04);
}

.facade-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  padding: 16px 22px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-md);
}

.facade-badge i {
  color: var(--primary);
  font-size: 1.2rem;
}

/* --------------------------------------------------------------------------
   12. REVIEWS CAROUSEL & GOOGLE BADGE
   -------------------------------------------------------------------------- */
.reviews {
  padding: 100px 0;
  background: var(--bg-secondary);
}

.google-trust-card {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: #FFFFFF;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  margin-bottom: 40px;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.google-icon {
  width: 28px;
  height: 28px;
}

.reviews-carousel-container {
  position: relative;
  width: 100%;
}

.reviews-grid {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  gap: 24px;
  padding: 12px 4px 28px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.reviews-grid::-webkit-scrollbar {
  display: none;
}

.review-card {
  flex: 0 0 calc(33.333% - 16px);
  min-width: 310px;
  scroll-snap-align: start;
  background: var(--surface-card);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition-normal);
}

.review-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(11, 99, 206, 0.2);
}

.carousel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid rgba(15, 23, 42, 0.12);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
  z-index: 10;
  transition: var(--transition-fast);
}

.carousel-nav-btn:hover {
  background: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
  transform: translateY(-50%) scale(1.08);
}

.carousel-nav-btn.prev-btn {
  left: -20px;
}

.carousel-nav-btn.next-btn {
  right: -20px;
}

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

.review-text {
  font-size: 0.95rem;
  color: var(--text-main);
  margin-bottom: 24px;
  font-style: italic;
  flex-grow: 1;
  line-height: 1.6;
}

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

.reviewer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-subtle);
  color: var(--primary);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reviewer-info h5 {
  font-size: 0.95rem;
  font-weight: 700;
}

.reviewer-info span {
  font-size: 0.775rem;
  color: var(--text-light);
}

/* --------------------------------------------------------------------------
   13. FAQ ACCORDION
   -------------------------------------------------------------------------- */
.faq {
  padding: 100px 0;
  background: var(--bg-main);
}

.faq-list {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--surface-card);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-fast);
}

.faq-item.active {
  border-color: var(--primary-light);
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  padding: 22px 28px;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
}

.faq-question i {
  transition: transform 0.3s;
  color: var(--primary);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 28px;
  color: var(--text-muted);
  font-size: 0.975rem;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 24px;
}

/* --------------------------------------------------------------------------
   14. LOCATION & GOOGLE MAPS INTEGRATION
   -------------------------------------------------------------------------- */
.location {
  padding: 100px 0;
  background: var(--bg-secondary);
}

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

.location-details {
  background: var(--surface-card);
  padding: 40px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: var(--shadow-md);
}

.location-details h3 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.info-item i {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--primary-subtle);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.info-text h5 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.info-text p {
  font-size: 0.925rem;
  color: var(--text-muted);
}

.amenities-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.amenity-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.amenity-chip i {
  color: var(--primary);
}

.map-container {
  height: 480px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid #FFFFFF;
}

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

/* --------------------------------------------------------------------------
   15. INTERACTIVE QUIZ & BUDGET ESTIMATOR MODAL
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

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

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

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--bg-secondary);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.2rem;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quiz-step {
  display: none;
}

.quiz-step.active {
  display: block;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 24px 0;
}

.quiz-option {
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border: 1.5px solid rgba(15, 23, 42, 0.1);
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  transition: var(--transition-fast);
}

.quiz-option:hover,
.quiz-option.selected {
  border-color: var(--primary);
  background: var(--primary-subtle);
  color: var(--primary);
}

/* --------------------------------------------------------------------------
   16. FOOTER (MATCHING BRAND BLUE THEME)
   -------------------------------------------------------------------------- */
.footer {
  background: linear-gradient(180deg, #040B1E 0%, #081229 100%);
  color: #94A3B8;
  padding: 80px 0 30px;
  border-top: 1px solid rgba(11, 99, 206, 0.2);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand img {
  height: 64px;
  width: auto;
  object-fit: contain;
  mix-blend-mode: lighten;
  background: transparent;
  border: none;
  box-shadow: none;
  margin-bottom: 16px;
}

.footer-brand h3 {
  color: #FFFFFF;
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.925rem;
  margin-bottom: 20px;
  line-height: 1.6;
}

.footer-col h5 {
  color: #FFFFFF;
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

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

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

/* --------------------------------------------------------------------------
   17. FLOATING WHATSAPP BUTTON & FLOATING TOOLTIP
   -------------------------------------------------------------------------- */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 12px;
}

.whatsapp-btn-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #25D366;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: var(--transition-fast);
  cursor: pointer;
}

.whatsapp-btn-circle:hover {
  transform: scale(1.08);
}

.whatsapp-tooltip {
  background: #FFFFFF;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  flex-direction: column;
  gap: 2px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  animation: pulseTooltip 3s infinite;
}

.whatsapp-tooltip .online-header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.online-dot {
  width: 8px;
  height: 8px;
  background: #25D366;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px #25D366;
}

@keyframes pulseTooltip {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* --------------------------------------------------------------------------
   18. RESPONSIVE BREAKPOINTS (OPTIMIZED FOR LAPTOPS, DESKTOPS & MOBILE)
   -------------------------------------------------------------------------- */
@media (max-width: 1400px) {
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 0.875rem; }
  .logo-img { height: 130px; }
  .location-badge { padding: 6px 14px; font-size: 0.825rem; }
}

@media (max-width: 1240px) {
  .nav-links { gap: 12px; }
  .nav-links a { font-size: 0.85rem; }
  .logo-img { height: 115px; }
  .location-badge { padding: 5px 12px; font-size: 0.8rem; }
}

@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; text-align: center; }
  .hero-content p { margin: 0 auto 30px; }
  .hero-ctas { justify-content: center; }
  .hero-trust-bar { justify-content: center; }
  .showcase-grid { grid-template-columns: 1fr; gap: 40px; }
  .facade-img { height: 380px; }
  .specialties-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .reviews-grid { grid-template-columns: 1fr; }
  .location-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links, .nav-actions { display: none !important; }
  .mobile-toggle { display: block; }
  .logo-img { height: 95px; }
}

@media (max-width: 768px) {
  .hero { padding: 140px 0 30px; }
  .hero .tagline-pill { display: none !important; }
  .hero-content h1 { font-size: 2.3rem; margin-bottom: 12px; }
  .hero-subtitle { 
    display: flex !important; 
    align-items: flex-start !important; 
    justify-content: center !important; 
    flex-wrap: wrap !important; 
    gap: 6px 10px !important; 
    font-size: 0.95rem !important; 
    margin-bottom: 18px !important; 
  }
  .hero-subtitle-item {
    align-items: center !important;
  }
  .boleto-badge {
    font-size: 0.7rem !important;
    padding: 2px 8px !important;
  }
  .desktop-only-cta { display: none !important; }
  .hero-trust-bar { display: none !important; }
  .section-header h2 { font-size: 2.2rem; }

  /* Mobile Stats Ticker Bar Touch Carousel */
  .stats-grid {
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    gap: 14px !important;
    padding: 8px 12px 18px !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .stats-grid::-webkit-scrollbar {
    display: none;
  }
  .stat-item {
    flex: 0 0 78% !important;
    max-width: 270px !important;
    scroll-snap-align: center !important;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(11, 99, 206, 0.15);
    border-radius: var(--radius-lg);
    padding: 18px 14px;
    box-shadow: 0 8px 20px rgba(11, 99, 206, 0.08);
  }

  /* Mobile Category Filter Tabs Horizontal Scroll Carousel */
  .category-tabs {
    display: flex !important;
    overflow-x: auto !important;
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
    gap: 10px !important;
    padding: 4px 12px 14px !important;
    margin-bottom: 24px !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .category-tabs::-webkit-scrollbar {
    display: none;
  }
  .tab-btn {
    flex-shrink: 0 !important;
    padding: 10px 18px !important;
    font-size: 0.85rem !important;
  }

  /* Mobile Specialties Cards Touch-Swipe Carousel */
  .specialties-grid {
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    gap: 18px !important;
    padding: 8px 12px 24px !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .specialties-grid::-webkit-scrollbar {
    display: none;
  }
  .specialty-card {
    flex: 0 0 84% !important;
    max-width: 320px !important;
    scroll-snap-align: center !important;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
  }

  /* Mobile Patient Reviews Carousel */
  .carousel-nav-btn {
    display: none !important;
  }
  .reviews-grid {
    padding: 8px 12px 24px !important;
    gap: 18px !important;
  }
  .review-card {
    flex: 0 0 85% !important;
    max-width: 320px !important;
    scroll-snap-align: center !important;
  }

  .doctors-track {
    gap: 18px !important;
    padding: 8px 12px 24px !important;
  }
  .doctors-track .doctor-card {
    flex: 0 0 88% !important;
    max-width: 340px !important;
    scroll-snap-align: center !important;
  }
  .process-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .hero-image-container { height: 380px; }
  .slider-container { height: 320px; }
  .logo-img { height: 105px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero { padding: 130px 0 25px; }
  .hero-content h1 { font-size: 2.05rem; }
  .hero-subtitle { font-size: 0.8rem !important; gap: 6px !important; }
  .showcase-content h2, .section-header h2 { font-size: 1.85rem; }
  .logo-img { height: 95px; }
  .whatsapp-float { right: 16px; bottom: 20px; }
  .whatsapp-tooltip { display: none; }
  .stat-item h3 { font-size: 2rem; }
  .hero-ctas { flex-direction: column; align-items: stretch; gap: 16px; }
  .btn-cta-group { width: 100%; }
  .btn { width: 100%; }
}