/* ==========================================================================
   IMPECCABLE ADAPT — Responsive Engine for Eminent Odontologia Avançada
   Preserves visual identity (#1A2440, #D4AF93, #9A5E36, #F4EFE8, Jost)
   Delivers flawless experience on Mobile (320px-640px), Tablet (641px-1023px)
   and Desktop (1024px+).
   ========================================================================== */

:root {
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --navy: #1A2440;
  --midnight: #141C33;
  --gold: #D4AF93;
  --wood: #9A5E36;
  --silk: #F4EFE8;
  --card: #FBF8F4;
}

/* ==========================================================================
   IMPECCABLE DELIGHT — Themed Browser Surfaces & Precision Details
   Subtle luxury: noble selection, refined scrollbar, accessible focus rings
   ========================================================================== */

/* 1. Themed Text Selection */
::selection {
  background: rgba(212, 175, 147, 0.35);
  color: #1A2440;
}

header ::selection, 
footer ::selection, 
section[style*="background: #1A2440"] ::selection,
section[style*="background:#1A2440"] ::selection,
section[style*="background: #141C33"] ::selection,
section[style*="background:#141C33"] ::selection,
.cockpit-panel ::selection,
.video-testimonials-section ::selection {
  background: #D4AF93;
  color: #141C33;
}

/* 2. Subdued Medical Scrollbar (No clunky default grey bars) */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
::-webkit-scrollbar-track {
  background: #141C33;
}
::-webkit-scrollbar-thumb {
  background: #2E3B5C;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #D4AF93;
}

/* 3. Surgical Focus Rings (WCAG AA & Medical Precision) */
:focus-visible {
  outline: 2px solid #D4AF93 !important;
  outline-offset: 3px !important;
}

/* 4. Form Fields Precision Focus */
input:focus, select:focus, textarea:focus {
  border-color: #D4AF93 !important;
  box-shadow: 0 0 0 3px rgba(212, 175, 147, 0.22) !important;
  outline: none !important;
}

/* 5. Reading Progress Bar (Blog Articles) */
.reading-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 2.5px;
  background: #D4AF93;
  width: 0%;
  z-index: 100001;
  transition: width 0.1s linear;
  box-shadow: 0 0 8px rgba(212, 175, 147, 0.6);
  pointer-events: none;
}

/* 6. Discrete Clinical Toast Notification */
.eminent-toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  opacity: 0;
  visibility: hidden;
  background: #141C33;
  color: #F4EFE8;
  border: 1px solid #D4AF93;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55);
  z-index: 100002;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, visibility 0.3s ease;
  pointer-events: none;
}

.eminent-toast.is-active {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  visibility: visible;
}

.eminent-toast .toast-check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.2);
  color: #34D399;
}

/* 7. Interactive Copy Affordance */
[data-copyable="true"] {
  cursor: copy;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
  position: relative;
}
[data-copyable="true"]:hover {
  color: #D4AF93 !important;
}


/* Universal Responsive Box Sizing & Anti-Overflow */
html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  max-width: 100vw;
  -webkit-text-size-adjust: 100%;
}

* {
  box-sizing: border-box;
}

img, picture, video, canvas, svg {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

/* Fluid Layout Container */
.wrap {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(16px, 4vw, 40px);
  padding-right: clamp(16px, 4vw, 40px);
}

/* Grid System Base (Desktop) */
.g2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
.cat { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); }

/* Navigation & Header */
.menu-btn {
  display: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

/* Microinterações P3: Hover sutil em cards */
@media (hover: hover) and (pointer: fine) {
  .g2 > a, .g3 > a, .g4 > a, .card-hover {
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease !important;
  }
  .g2 > a:hover, .g3 > a:hover, .g4 > a:hover, .card-hover:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 28px rgba(20, 28, 51, 0.09) !important;
  }
}

/* Microinterações P3: FAQ Accordion + rotacionando para × */
details summary span[aria-hidden="true"] {
  display: inline-block;
  transition: transform 0.25s ease;
  transform-origin: center center;
}

details[open] summary span[aria-hidden="true"] {
  transform: rotate(45deg);
  color: #D4AF93 !important;
}

/* P1: Micro Prova Social Badge */
.social-proof-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  background: rgba(212, 175, 147, 0.12);
  border: 1px solid rgba(212, 175, 147, 0.35);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: #D4AF93;
  letter-spacing: 0.04em;
  width: fit-content;
}

.social-proof-badge .stars {
  color: #E5A93C;
  letter-spacing: 2px;
}

/* P1: Google Maps Iframe Responsivo */
.map-container {
  width: 100%;
  min-height: 380px;
  height: 100%;
  border: 0;
  border-radius: 4px;
  overflow: hidden;
  background: #E7DED1;
}

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

/* Safe Touch Target Sizing (Coarse Pointers / Mobile / Tablet) */
@media (pointer: coarse) {
  button, 
  a.btn-main, 
  a.btn-gold, 
  .menu-btn,
  input, 
  select {
    min-height: 46px;
  }
}

/* Input Fields on Mobile (Eliminates iOS Safari Auto-Zoom) */
input, select, textarea {
  font-size: 16px !important;
}

/* ==========================================================================
   TABLET ADAPTATION (641px - 1023px)
   ========================================================================== */
@media (max-width: 1023px) {
  .nav-links, .hide-md {
    display: none !important;
  }
  
  .menu-btn {
    display: inline-flex !important;
  }

  .g4 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .g3 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .split {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 40px !important;
  }

  .cat {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 32px !important;
  }

  section {
    padding-top: clamp(64px, 7vw, 96px);
    padding-bottom: clamp(64px, 7vw, 96px);
  }
}

/* ==========================================================================
   MOBILE ADAPTATION (<= 640px)
   ========================================================================== */
@media (max-width: 640px) {
  .hide-sm {
    display: none !important;
  }

  .g2, .g3, .g4, .split, .cat {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  /* Responsive section spacing */
  section {
    padding-top: clamp(48px, 8vw, 64px) !important;
    padding-bottom: clamp(48px, 8vw, 64px) !important;
  }

  /* Mobile Hero Adjustments */
  .hero-section {
    padding-top: 48px !important;
    padding-bottom: 56px !important;
    background-position: center bottom !important;
    background-size: cover !important;
  }

  /* Touch-friendly full-width buttons on small screens */
  .mobile-full {
    width: 100% !important;
    justify-content: center !important;
  }

  /* WhatsApp Float Positioned with Safe Insets */
  .whatsapp-float {
    width: 56px !important;
    height: 56px !important;
    bottom: max(16px, env(safe-area-inset-bottom, 16px)) !important;
    right: 16px !important;
  }

  .whatsapp-float svg {
    width: 28px !important;
    height: 28px !important;
  }

  /* Table Horizontal Scrolling with Momentum */
  .table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid #CDBFAC;
    border-radius: 4px;
    margin-top: 16px;
  }

  /* Footer stack */
  footer .wrap {
    gap: 36px !important;
  }
  
  footer .g4 {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
}

/* ==========================================================================
   MOBILE NAVIGATION DRAWER
   ========================================================================== */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 16, 32, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 100000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-nav-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(340px, 88vw);
  background: #141C33;
  color: #F4EFE8;
  z-index: 100001;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  padding: max(24px, env(safe-area-inset-top, 24px)) 24px max(24px, env(safe-area-inset-bottom, 24px));
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
}

.mobile-nav-overlay.is-active .mobile-nav-drawer {
  transform: translateX(0);
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid #2C3858;
}

.mobile-nav-close {
  width: 44px;
  height: 44px;
  border: 1px solid #3A4766;
  border-radius: 2px;
  background: transparent;
  color: #E7DED1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px 0;
  overflow-y: auto;
  flex-grow: 1;
}

.mobile-nav-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 12px;
  color: #E7DED1;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background 0.2s ease, color 0.2s ease;
}

.mobile-nav-links a:hover,
.mobile-nav-links a.active {
  background: #1A2440;
  color: #D4AF93;
}

.mobile-nav-sublinks {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 20px;
  margin-top: -4px;
  margin-bottom: 8px;
}

.mobile-nav-sublinks a {
  font-size: 13px !important;
  color: #AEB6C6 !important;
  padding: 8px 12px !important;
}

.mobile-nav-footer {
  padding-top: 20px;
  border-top: 1px solid #2C3858;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  background: #25D366;
  color: #FFFFFF;
  border-radius: 2px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
}

/* ==========================================================================
   LANDING PAGES STICKY BOTTOM BAR (Mobile Paid Traffic Conversion)
   ========================================================================== */
.lp-mobile-bar {
  display: none;
}

@media (max-width: 768px) {
  .lp-mobile-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #141C33;
    border-top: 1px solid #2C3858;
    padding: 12px 16px max(12px, env(safe-area-inset-bottom, 12px));
    z-index: 9998;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.35);
  }

  .lp-mobile-bar .lp-info {
    display: flex;
    flex-direction: column;
    color: #F4EFE8;
  }

  .lp-mobile-bar .lp-title {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: #D4AF93;
    text-transform: uppercase;
  }

  .lp-mobile-bar .lp-sub {
    font-size: 11px;
    color: #AEB6C6;
  }

  .lp-mobile-bar .lp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 18px;
    border-radius: 2px;
    background: #25D366;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
  }

  /* Add margin to footer on LPs so sticky bar doesn't cover content */
  .lp-body {
    padding-bottom: 72px;
  }
}

/* ==========================================================================
   INTERACTIVE GOOGLE MAPS & TOUCH TARGET ACCESSIBILITY
   ========================================================================== */
.map-container {
  width: 100%;
  position: relative;
  overflow: hidden;
  background: #E7DED1;
}

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

@media (max-width: 768px) {
  section[style*="padding: 120px"], 
  section[style*="padding: 128px"], 
  section[style*="padding: 90px"],
  section[style*="padding: 80px"] {
    padding-top: 56px !important;
    padding-bottom: 56px !important;
  }
  
  footer {
    padding-top: 56px !important;
    padding-bottom: 32px !important;
  }

  footer a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}

/* ==========================================================================
   WCAG AA CONTRAST & ACCESSIBILITY CALIBRATION (P2)
   ========================================================================== */
body [style*="color: #5B6273"],
body [style*="color:#5B6273"] {
  color: #384050 !important;
}

body [style*="color: #4B5368"],
body [style*="color:#4B5368"] {
  color: #2F3646 !important;
}

body [style*="background: #1A2440"] [style*="color: #AEB6C6"],
body [style*="background:#1A2440"] [style*="color:#AEB6C6"],
footer [style*="color: #AEB6C6"],
footer [style*="color:#AEB6C6"] {
  color: #CCD3DF !important;
}

/* ==========================================================================
   DOCTOR PORTRAIT BADGE (Luxury Medical Identity)
   ========================================================================== */
.doctor-portrait-badge {
  aspect-ratio: 4 / 5;
  background: linear-gradient(145deg, #1A2440 0%, #26345A 100%) !important;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px;
  text-align: center;
  border: 1px solid rgba(212, 175, 147, 0.25);
  box-shadow: 0 4px 14px rgba(20, 28, 51, 0.08);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.doctor-portrait-badge:hover {
  border-color: #D4AF93;
  transform: translateY(-3px);
}

.doctor-portrait-badge .crest {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 1.5px solid #D4AF93;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: #D4AF93;
  background: rgba(212, 175, 147, 0.1);
}

.doctor-portrait-badge .doc-name {
  font-size: 15px;
  font-weight: 400;
  color: #F4EFE8;
  letter-spacing: 0.04em;
}

.doctor-portrait-badge .badge-tag {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #D4AF93;
}

/* ==========================================================================
   PAINEL DE INSTRUMENTOS — COMPOSIÇÃO HÍBRIDA
   Cockpit Digital nas LPs + Instrumentação Nobre nas Páginas Institucionais
   ========================================================================== */

/* 1. Cockpit Telemetry Panel (Landing Pages) */
.cockpit-panel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  background: rgba(20, 28, 51, 0.9);
  border: 1px solid rgba(212, 175, 147, 0.35);
  border-radius: 4px;
  padding: 24px;
  margin: 32px 0 12px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(10, 16, 32, 0.4);
}

.cockpit-metric {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 16px;
  border-left: 1px solid #D4AF93;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 0 4px 4px 0;
  transition: background 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {
  .cockpit-metric:hover {
    background: rgba(212, 175, 147, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  }
}

.cockpit-metric .metric-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #D4AF93;
}

.cockpit-metric .metric-value {
  font-size: 15px;
  font-weight: 400;
  color: #F4EFE8;
  line-height: 1.4;
}

.cockpit-metric .metric-desc {
  font-size: 12px;
  color: #CCD3DF;
  line-height: 1.4;
}

/* ==========================================================================
   TELEMETRIA INTEGRADA (HUD SUÍÇO) — COMPONENTES NATIVOS DE ALTA PRECISÃO
   ========================================================================== */

/* 1. HUD Integrado no Hero */
.hero-hud-cluster {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(212, 175, 147, 0.25);
  margin-top: 8px;
}

.hero-hud-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.hero-hud-item .hud-value {
  font-size: 26px;
  font-weight: 400;
  color: #F4EFE8;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-hud-item .hud-label {
  font-size: 13px;
  color: #C3C9D6;
  font-weight: 400;
}

.hud-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34D399;
  box-shadow: 0 0 8px rgba(52, 211, 153, 0.7);
  display: inline-block;
}

/* 2. Micro-Telemetria em Cards de Tratamento */
.treatment-hud-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(154, 94, 54, 0.08);
  border: 1px solid rgba(154, 94, 54, 0.15);
  border-radius: 2px;
  font-size: 12px;
  font-weight: 500;
  color: #7A4826;
  letter-spacing: 0.04em;
  margin-top: auto;
  margin-bottom: 8px;
  width: fit-content;
}

.treatment-hud-tag svg {
  color: #9A5E36;
  flex-shrink: 0;
}

/* 3. Botões de Navegação GPS (Waze & Google Maps) */
.gps-nav-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.gps-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: all 0.2s ease;
}

.gps-btn-maps {
  background: #1A2440;
  color: #F4EFE8;
  border: 1px solid #2E3A5A;
}
.gps-btn-maps:hover {
  background: #25335A;
  color: #FFFFFF;
}

.gps-btn-waze {
  background: #F4EFE8;
  color: #1A2440;
  border: 1px solid #D5C8B6;
}
.gps-btn-waze:hover {
  background: #FFFFFF;
  border-color: #9A5E36;
  color: #9A5E36;
}

/* 4. Live Status Pill */
.live-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(37, 211, 102, 0.1);
  border: 1px solid rgba(37, 211, 102, 0.3);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: #166534;
  letter-spacing: 0.03em;
  width: fit-content;
}

.live-status-pill .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.2);
  animation: pulseLive 2s infinite;
}

@keyframes pulseLive {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* 5. Hospitalidade & Conforto (Página A Clínica) */
.hospitality-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.hospitality-card {
  padding: 24px;
  background: #FBF8F4;
  border: 1px solid #E2D7C7;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hospitality-card strong {
  font-size: 17px;
  font-weight: 500;
  color: #1A2440;
}

.hospitality-card span {
  font-size: 14px;
  color: #4B5368;
  line-height: 1.55;
}

@media (max-width: 960px) {
  .hospitality-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .hospitality-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .cockpit-panel {
    grid-template-columns: 1fr;
    padding: 16px;
    gap: 12px;
  }
}

/* ==========================================================================
   OPÇÃO 1: PAINEL HÍBRIDO — TELEMETRIA & HUMANIZAÇÃO (LP DESIGN SYSTEM)
   ========================================================================== */

/* Estação de Vídeos de Depoimentos (Reels / Stories Clínicos) */
.video-testimonials-section {
  padding: clamp(64px, 8vw, 100px) 0;
  background: #141C33;
  color: #F4EFE8;
  position: relative;
  overflow: hidden;
}

.video-reel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 48px;
}

.video-reel-card {
  position: relative;
  background: #1A2440;
  border-radius: 6px;
  border: 1px solid rgba(212, 175, 147, 0.28);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(10, 15, 30, 0.4);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.video-reel-card:hover {
  transform: translateY(-6px);
  border-color: #D4AF93;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5);
}

.video-reel-media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 4.8;
  overflow: hidden;
  background: #0D1322;
}

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

.video-reel-card:hover .video-reel-media img {
  transform: scale(1.04);
}

.video-reel-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 4px 10px;
  background: rgba(20, 28, 51, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(212, 175, 147, 0.4);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #D4AF93;
  z-index: 2;
}

.video-reel-duration {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 4px 8px;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  border-radius: 4px;
  font-size: 11px;
  color: #E7DED1;
  letter-spacing: 0.05em;
  z-index: 2;
}

/* Play Button com Pulso */
.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #D4AF93;
  color: #141C33;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transition: transform 0.25s ease, background 0.2s ease;
  z-index: 3;
}

.video-play-btn svg {
  width: 22px;
  height: 22px;
  margin-left: 3px;
  fill: #141C33;
}

.video-reel-card:hover .video-play-btn {
  transform: translate(-50%, -50%) scale(1.12);
  background: #E8C4AB;
  box-shadow: 0 0 28px rgba(212, 175, 147, 0.6);
}

.video-reel-content {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #1A2440;
  flex: 1;
}

.video-reel-quote {
  font-size: 15px;
  line-height: 1.55;
  color: #F4EFE8;
  font-style: italic;
  margin: 0;
}

.video-reel-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(212, 175, 147, 0.15);
  padding-top: 12px;
  margin-top: auto;
}

.video-reel-author {
  font-size: 13px;
  font-weight: 500;
  color: #D4AF93;
}

.video-reel-origin {
  font-size: 12px;
  color: #8F9BB3;
}

/* Aviso Legal CFO-196/2019 */
.video-legal-notice {
  margin-top: 36px;
  padding: 16px 20px;
  background: rgba(26, 36, 64, 0.5);
  border-left: 2px solid #D4AF93;
  border-radius: 0 4px 4px 0;
  font-size: 12px;
  line-height: 1.6;
  color: #CCD3DF;
}

/* Galeria de Fotos dos Bastidores / Estrutura Clínica */
.cockpit-gallery-section {
  padding: clamp(64px, 7vw, 96px) 0;
  background: #F4EFE8;
}

.structure-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.structure-photo-card {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid #DCCFBD;
  background: #FBF8F4;
  aspect-ratio: 4 / 3;
}

.structure-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.structure-photo-card:hover img {
  transform: scale(1.05);
}

.structure-photo-tag {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px 14px;
  background: linear-gradient(180deg, rgba(20, 28, 51, 0) 0%, rgba(20, 28, 51, 0.92) 100%);
  color: #F4EFE8;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.structure-photo-tag .indicator-num {
  color: #D4AF93;
  font-weight: 600;
}

/* ==========================================================================
   MOSAICO ARQUITETÔNICO ROBUSTO (Página A Clínica - Conheça o espaço)
   ========================================================================== */
.clinic-gallery-mosaic {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 16px !important;
  width: 100% !important;
}

.clinic-gallery-mosaic .structure-photo-card {
  position: relative !important;
  border-radius: 4px !important;
  overflow: hidden !important;
  border: 1px solid rgba(212, 175, 147, 0.25) !important;
  background: #141C33 !important;
  aspect-ratio: auto !important; /* Anula 4/3 para garantir grid perfeito */
  min-width: 0 !important;
  width: 100% !important;
  height: 340px !important;
}

.clinic-gallery-mosaic .structure-photo-card.is-wide {
  grid-column: span 2 !important;
}

.clinic-gallery-mosaic .structure-photo-card img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.clinic-gallery-mosaic .structure-photo-card:hover img {
  transform: scale(1.04) !important;
}

@media (max-width: 960px) {
  .clinic-gallery-mosaic {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }
  .clinic-gallery-mosaic .structure-photo-card {
    height: 280px !important;
  }
  .clinic-gallery-mosaic .structure-photo-card.is-wide {
    grid-column: span 2 !important;
  }
}

@media (max-width: 640px) {
  .clinic-gallery-mosaic {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .clinic-gallery-mosaic .structure-photo-card {
    height: 230px !important;
  }
  .clinic-gallery-mosaic .structure-photo-card.is-wide {
    grid-column: span 1 !important;
  }
}

/* Card de Autoridade Médica Oficial */
.doctor-authority-section {
  padding: clamp(64px, 8vw, 96px) 0;
  background: #FBF8F4;
  border-top: 1px solid #E2D7C7;
  border-bottom: 1px solid #E2D7C7;
}

.doctor-authority-card {
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: 36px;
  align-items: center;
  background: #FFFFFF;
  border: 1px solid #DCCFBD;
  border-radius: 6px;
  padding: 36px;
  box-shadow: 0 10px 30px rgba(20, 28, 51, 0.05);
}

.doctor-authority-media {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1.15;
  border-radius: 4px;
  overflow: hidden;
  background: #1A2440;
  border: 1px solid rgba(212, 175, 147, 0.4);
}

.doctor-authority-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.doctor-authority-crest {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(145deg, #1A2440 0%, #141C33 100%);
  color: #D4AF93;
  padding: 20px;
  text-align: center;
}

.doctor-authority-crest .crest-letters {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 1.5px solid #D4AF93;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: #D4AF93;
}

.doctor-authority-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.doctor-authority-role {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #9A5E36;
}

.doctor-authority-name {
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 300;
  color: #1A2440;
  margin: 0;
  line-height: 1.2;
}

.doctor-authority-cro {
  font-size: 14px;
  font-weight: 600;
  color: #8A5430;
  letter-spacing: 0.12em;
}

.doctor-authority-desc {
  font-size: 16px;
  line-height: 1.65;
  color: #4B5368;
  margin: 0;
}

.doctor-authority-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.doctor-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: #F4EFE8;
  border: 1px solid #DCCFBD;
  border-radius: 999px;
  font-size: 13px;
  color: #1A2440;
}

/* ==========================================================================
   LP IMPLANTES: DUAL DOCTOR AUTHORITY, COMPARISON TABLE & STEPS
   ========================================================================== */
.doctor-dual-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 36px;
}

@media (max-width: 860px) {
  .doctor-dual-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.doctor-dual-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: #FFFFFF;
  border: 1.5px solid #DCCFBD;
  border-radius: 6px;
  padding: 32px 28px;
  box-shadow: 0 8px 24px rgba(20, 28, 51, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.doctor-dual-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(20, 28, 51, 0.08);
  border-color: #9A5E36;
}

.doctor-dual-header {
  display: flex;
  align-items: center;
  gap: 18px;
}

.doctor-dual-crest {
  width: 64px;
  height: 64px;
  min-width: 64px;
  border-radius: 50%;
  background: linear-gradient(145deg, #1A2440 0%, #141C33 100%);
  border: 1.5px solid #D4AF93;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 500;
  color: #D4AF93;
  letter-spacing: 0.06em;
}

.doctor-dual-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.doctor-dual-badge {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #9A5E36;
}

.doctor-dual-name {
  font-size: 20px;
  font-weight: 500;
  color: #1A2440;
  margin: 0;
  line-height: 1.25;
}

.doctor-dual-cro {
  font-size: 13px;
  font-weight: 500;
  color: #8A5430;
  letter-spacing: 0.06em;
}

.doctor-dual-desc {
  font-size: 15px;
  line-height: 1.65;
  color: #4B5368;
  margin: 0;
  flex-grow: 1;
}

.doctor-dual-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.doctor-dual-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: #F4EFE8;
  border: 1px solid #DCCFBD;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  color: #1A2440;
}

/* Tabela Comparativa de Implantes vs Dentadura */
.implant-compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #DCCFBD;
  background: #FFFFFF;
  margin-top: 28px;
  box-shadow: 0 4px 20px rgba(20, 28, 51, 0.04);
}

.implant-compare-table th,
.implant-compare-table td {
  padding: 18px 22px;
  text-align: left;
  border-bottom: 1px solid #EFE6D9;
}

.implant-compare-table thead tr th {
  background: #1A2440;
  color: #F4EFE8;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.implant-compare-table thead tr th:last-child {
  background: #232F50;
  color: #D4AF93;
}

.implant-compare-table tbody tr:last-child th,
.implant-compare-table tbody tr:last-child td {
  border-bottom: 0;
}

.implant-compare-table .badge-better {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  color: #10683E;
  font-size: 15px;
}

.implant-compare-table .badge-worse {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #727F9B;
  font-size: 15px;
}

/* Steps / Jornada do Paciente em 4 Etapas */
.implant-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 36px;
}

@media (max-width: 900px) {
  .implant-steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .implant-steps-grid {
    grid-template-columns: 1fr;
  }
}

.implant-step-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #FFFFFF;
  border: 1.5px solid #DCCFBD;
  border-radius: 4px;
  padding: 26px 22px;
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.implant-step-card:hover {
  transform: translateY(-2px);
  border-color: #9A5E36;
}

.implant-step-num {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: #9A5E36;
  text-transform: uppercase;
}

.implant-step-title {
  font-size: 18px;
  font-weight: 500;
  color: #1A2440;
  margin: 0;
  line-height: 1.3;
}

.implant-step-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #5B6273;
  margin: 0;
}

/* Micro-FAQ de Quebra de Objeções */
.cockpit-faq-section {
  padding: clamp(64px, 8vw, 96px) 0;
  background: #F4EFE8;
}

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

.cockpit-faq-item {
  background: #FFFFFF;
  border: 1px solid #DCCFBD;
  border-radius: 4px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cockpit-faq-item[open] {
  border-color: #9A5E36;
  box-shadow: 0 6px 18px rgba(20, 28, 51, 0.05);
}

.cockpit-faq-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 26px;
  cursor: pointer;
  user-select: none;
  font-size: 18px;
  font-weight: 400;
  color: #1A2440;
  list-style: none;
}

.cockpit-faq-summary::-webkit-details-marker {
  display: none;
}

.cockpit-faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid #DCCFBD;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9A5E36;
  font-size: 20px;
  font-weight: 300;
  flex-shrink: 0;
  transition: transform 0.25s ease, background 0.2s ease, color 0.2s ease;
}

.cockpit-faq-item[open] .cockpit-faq-icon {
  transform: rotate(45deg);
  background: #1A2440;
  border-color: #1A2440;
  color: #D4AF93;
}

.cockpit-faq-content {
  padding: 0 26px 24px;
  font-size: 16px;
  line-height: 1.7;
  color: #4B5368;
}

/* Video Lightbox Modal */
.video-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 15, 30, 0.92);
  backdrop-filter: blur(8px);
  z-index: 100000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.video-modal-backdrop.active {
  display: flex;
}

.video-modal-inner {
  position: relative;
  width: 100%;
  max-width: 480px;
  background: #141C33;
  border: 1px solid #D4AF93;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8);
}

.video-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: #1A2440;
  border-bottom: 1px solid rgba(212, 175, 147, 0.2);
}

.video-modal-title {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #D4AF93;
  font-weight: 500;
}

.video-modal-close {
  background: transparent;
  border: none;
  color: #F4EFE8;
  font-size: 24px;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}

.video-modal-player-wrap {
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: 75vh;
  background: #000000;
  position: relative;
}

.video-modal-player-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Responsividade Opção 1 */
@media (max-width: 1023px) {
  .video-reel-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
  .structure-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .video-reel-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .structure-gallery-grid {
    grid-template-columns: 1fr;
  }
  .doctor-authority-card {
    grid-template-columns: 1fr;
    padding: 24px;
    gap: 24px;
  }
  .doctor-authority-media {
    max-width: 220px;
    margin: 0 auto;
  }
  .cockpit-faq-summary {
    padding: 18px 20px;
    font-size: 16px;
  }
  .cockpit-faq-content {
    padding: 0 20px 20px;
  }
}

/* ==========================================================================
   IMPECCABLE ANIMATE — Motion System: "Precisão Cirúrgica e Quiet Luxury"
   Focal entrance, smooth scroll reveals, tactile feedback & subtle hover
   Preserves performance (GPU accelerated transforms & opacities only)
   Strictly honors @media (prefers-reduced-motion: reduce)
   ========================================================================== */

:root {
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-tactile: cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* 1. Base Safe State: All content is statically visible by default */
.reveal-on-scroll,
.hero-fade-in,
.hero-fade-in-d1,
.hero-fade-in-d2,
.hero-fade-in-d3 {
  opacity: 1;
  transform: none;
}

/* 2. Scroll Reveals (Triggered only when JS confirms motion readiness) */
html.js-motion-ready .reveal-on-scroll:not(.is-revealed) {
  opacity: 0;
  transform: translateY(18px);
  will-change: opacity, transform;
}

html.js-motion-ready .reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 540ms var(--ease-out-expo), transform 540ms var(--ease-out-expo);
  transition-delay: calc(var(--stagger-index, 0) * 70ms);
}

/* 3. Hero Phased Focal Entrance */
@keyframes heroPhasedIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

html.js-motion-ready .hero-fade-in {
  animation: heroPhasedIn 680ms var(--ease-out-expo) backwards;
}

html.js-motion-ready .hero-fade-in-d1 {
  animation: heroPhasedIn 680ms var(--ease-out-expo) backwards;
  animation-delay: 110ms;
}

html.js-motion-ready .hero-fade-in-d2 {
  animation: heroPhasedIn 680ms var(--ease-out-expo) backwards;
  animation-delay: 220ms;
}

html.js-motion-ready .hero-fade-in-d3 {
  animation: heroPhasedIn 680ms var(--ease-out-expo) backwards;
  animation-delay: 340ms;
}

/* 4. Tactile Button Feedback (Primary & Gold CTAs) */
a[style*="background: #D4AF93"],
a[style*="background:#D4AF93"],
a[style*="background-color: #D4AF93"],
a[style*="background-color:#D4AF93"],
.btn-main,
.btn-gold,
.lp-btn,
.mobile-nav-btn,
.gps-btn-maps,
button[type="submit"] {
  transition: transform 0.2s var(--ease-out-expo), 
              box-shadow 0.25s ease, 
              background-color 0.2s ease, 
              border-color 0.2s ease !important;
}

@media (hover: hover) and (pointer: fine) {
  a[style*="background: #D4AF93"]:hover,
  a[style*="background:#D4AF93"]:hover,
  a[style*="background-color: #D4AF93"]:hover,
  a[style*="background-color:#D4AF93"]:hover,
  .btn-main:hover,
  .btn-gold:hover,
  .lp-btn:hover,
  .mobile-nav-btn:hover,
  .gps-btn-maps:hover,
  button[type="submit"]:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(212, 175, 147, 0.35) !important;
  }
}

a[style*="background: #D4AF93"]:active,
a[style*="background:#D4AF93"]:active,
a[style*="background-color: #D4AF93"]:active,
a[style*="background-color:#D4AF93"]:active,
.btn-main:active,
.btn-gold:active,
.lp-btn:active,
.mobile-nav-btn:active,
.gps-btn-maps:active,
button[type="submit"]:active {
  transform: translateY(1px) scale(0.98) !important;
  box-shadow: 0 2px 8px rgba(20, 28, 51, 0.18) !important;
  transition-duration: 80ms !important;
}

/* 5. Secondary & Ghost Buttons Feedback */
a[style*="border: 1px solid #D4AF93"],
a[style*="border:1px solid #D4AF93"],
.btn-outline,
.gps-btn-waze,
header a[style*="border:"] {
  transition: transform 0.2s var(--ease-out-expo), 
              background 0.25s ease, 
              border-color 0.25s ease,
              box-shadow 0.25s ease !important;
}

@media (hover: hover) and (pointer: fine) {
  a[style*="border: 1px solid #D4AF93"]:hover,
  a[style*="border:1px solid #D4AF93"]:hover,
  .btn-outline:hover,
  .gps-btn-waze:hover,
  header a[style*="border:"]:hover {
    transform: translateY(-2px) !important;
    background: rgba(212, 175, 147, 0.12) !important;
    border-color: #D4AF93 !important;
    box-shadow: 0 6px 18px rgba(20, 28, 51, 0.12) !important;
  }
}

a[style*="border: 1px solid #D4AF93"]:active,
a[style*="border:1px solid #D4AF93"]:active,
.btn-outline:active,
.gps-btn-waze:active,
header a[style*="border:"]:active {
  transform: scale(0.98) !important;
  transition-duration: 80ms !important;
}

/* 6. Card Hover Elevation & Subtle Ambient Highlight */
@media (hover: hover) and (pointer: fine) {
  .g2 > div, .g3 > div, .g4 > div,
  .hospitality-card,
  .structure-photo-card,
  .doctor-authority-card,
  .treatment-hud-tag {
    transition: transform 0.35s var(--ease-out-expo), 
                box-shadow 0.35s var(--ease-out-expo), 
                border-color 0.25s ease !important;
  }
  
  .hospitality-card:hover,
  .structure-photo-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 16px 36px rgba(20, 28, 51, 0.1) !important;
    border-color: rgba(212, 175, 147, 0.5) !important;
  }
  
  .doctor-authority-card:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 16px 36px rgba(20, 28, 51, 0.08) !important;
    border-color: #9A5E36 !important;
  }
}

/* 7. Subtle Cinematic Image Zoom in Cards */
.structure-photo-card,
.hospitality-card,
.video-reel-thumb,
.doctor-authority-media {
  overflow: hidden !important;
}

.structure-photo-card img,
.hospitality-card img,
.video-reel-thumb img,
.doctor-authority-media img {
  transition: transform 0.65s var(--ease-out-expo) !important;
}

@media (hover: hover) and (pointer: fine) {
  .structure-photo-card:hover img,
  .video-reel-card:hover .video-reel-thumb img,
  .doctor-authority-card:hover .doctor-authority-media img {
    transform: scale(1.035) !important;
  }
}

/* 8. FAQ Accordion Smooth Expansion & Indicator */
details summary {
  transition: color 0.2s ease;
}
details summary:hover {
  color: #9A5E36 !important;
}
details summary > span {
  display: inline-block;
  transition: transform 0.28s var(--ease-out-expo), color 0.2s ease;
  transform-origin: center center;
}
details[open] summary > span {
  transform: rotate(45deg);
  color: #D4AF93 !important;
}
details[open] p {
  animation: faqItemIn 300ms var(--ease-out-expo);
}
@keyframes faqItemIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 9. Floating WhatsApp Beacon */
@keyframes eminent-beacon {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55), 0 4px 16px rgba(0, 0, 0, 0.28);
  }
  60% {
    box-shadow: 0 0 0 14px rgba(37, 211, 102, 0), 0 4px 16px rgba(0, 0, 0, 0.28);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), 0 4px 16px rgba(0, 0, 0, 0.28);
  }
}

.whatsapp-float {
  animation: eminent-beacon 3.5s infinite !important;
  transition: transform 0.25s var(--ease-out-expo), box-shadow 0.25s ease !important;
}

@media (hover: hover) and (pointer: fine) {
  .whatsapp-float:hover {
    transform: scale(1.08) translateY(-2px) !important;
    box-shadow: 0 10px 28px rgba(37, 211, 102, 0.5) !important;
  }
}

.whatsapp-float:active {
  transform: scale(0.94) !important;
  transition-duration: 80ms !important;
}

/* 10. Telemetry HUD Live Dot Pulsing */
@keyframes hudLiveDotPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7);
  }
  70% {
    box-shadow: 0 0 0 7px rgba(52, 211, 153, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0);
  }
}

.hud-live-dot {
  animation: hudLiveDotPulse 2.8s infinite !important;
}

/* 11. Lightbox Video Modal Transitions */
.video-modal-backdrop {
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.video-modal-backdrop .video-modal-inner {
  transform: scale(0.96) translateY(12px);
  transition: transform 0.35s var(--ease-out-expo);
}

.video-modal-backdrop.active .video-modal-inner {
  transform: scale(1) translateY(0);
}

/* 12. Accessibility: Strict Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  html.js-motion-ready .reveal-on-scroll:not(.is-revealed) {
    opacity: 1 !important;
    transform: none !important;
  }
  .hud-live-dot, .whatsapp-float {
    animation: none !important;
  }
}

/* ==========================================================================
   IMPECCABLE OVERDRIVE — Direção 1: HUD de Telemetria Óptica & Retículo Laser Suíço
   Focal Moment exclusivo no Hero das 3 Landing Pages
   GPU accelerated (60fps), CPU < 2%, zero layout shift, strict reduced-motion fallback
   ========================================================================== */

.overdrive-mockup-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 147, 0.45);
  background: #0E1526;
  box-shadow: 0 20px 50px rgba(10, 16, 32, 0.6),
              0 0 0 1px rgba(255, 255, 255, 0.05) inset;
  transform-style: preserve-3d;
  perspective: 1000px;
  transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s var(--ease-out-expo);
}

.overdrive-mockup-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-out-expo);
}

/* Cantoneiras de Calibração Óptica Suíça */
.overdrive-corner {
  position: absolute;
  width: 16px;
  height: 16px;
  border-color: #D4AF93;
  border-style: solid;
  pointer-events: none;
  z-index: 4;
}

.overdrive-corner-tl {
  top: 12px;
  left: 12px;
  border-width: 1.5px 0 0 1.5px;
}

.overdrive-corner-tr {
  top: 12px;
  right: 12px;
  border-width: 1.5px 1.5px 0 0;
}

.overdrive-corner-bl {
  bottom: 12px;
  left: 12px;
  border-width: 0 0 1.5px 1.5px;
}

.overdrive-corner-br {
  bottom: 12px;
  right: 12px;
  border-width: 0 1.5px 1.5px 0;
}

/* Régua Micrométrica Lateral (Escala 0.1mm) */
.overdrive-scale {
  position: absolute;
  top: 32px;
  bottom: 32px;
  right: 12px;
  width: 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  pointer-events: none;
  z-index: 4;
  opacity: 0.65;
}

.overdrive-scale-tick {
  width: 4px;
  height: 1px;
  background: #D4AF93;
}

.overdrive-scale-tick.major {
  width: 9px;
  height: 1.5px;
  background: #D4AF93;
}

/* Feixe de Calibração Laser Suíço (Milimétrico, suave, sem neon agressivo) */
.overdrive-laser-beam {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(212, 175, 147, 0.3) 15%, 
    #FFFFFF 50%, 
    rgba(212, 175, 147, 0.3) 85%, 
    transparent 100%
  );
  box-shadow: 0 0 12px rgba(212, 175, 147, 0.85);
  pointer-events: none;
  z-index: 5;
  animation: overdriveScanCycle 7s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  animation-delay: 600ms;
}

@keyframes overdriveScanCycle {
  0% {
    top: 0%;
    opacity: 0;
  }
  6% {
    opacity: 1;
  }
  38% {
    top: 100%;
    opacity: 1;
  }
  42% {
    top: 100%;
    opacity: 0;
  }
  100% {
    top: 0%;
    opacity: 0;
  }
}

/* Carimbo de Telemetria Médica */
.overdrive-telemetry-stamp {
  position: absolute;
  bottom: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(14, 21, 38, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(212, 175, 147, 0.35);
  border-radius: 2px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #D4AF93;
  z-index: 4;
  pointer-events: none;
}

.overdrive-telemetry-stamp .stamp-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34D399;
  box-shadow: 0 0 6px #34D399;
  animation: hudLiveDotPulse 2.5s infinite;
}

/* Fallback para prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .overdrive-laser-beam {
    display: none !important;
  }
  .overdrive-mockup-frame {
    transform: none !important;
  }
}

/* ==========================================================================
   PILAR 1: TRIAGEM CLÍNICA VIP EM 3 ETAPAS (PADRÃO OURO)
   ========================================================================== */
.vip-triage-card {
  background: #FBF8F4;
  border: 1px solid #DCCFBD;
  border-radius: 4px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  box-shadow: 0 4px 20px rgba(26, 36, 64, 0.04);
  position: relative;
}

@media (max-width: 640px) {
  .vip-triage-card {
    padding: 24px 18px;
  }
}

/* Tabs Superiores */
.triage-nav-tabs {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid #DCCFBD;
  padding-bottom: 16px;
  margin-bottom: 4px;
}

.triage-tab-btn {
  background: transparent;
  border: 1px solid transparent;
  padding: 10px 18px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #5B6273;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.triage-tab-btn:hover {
  color: #1A2440;
}

.triage-tab-btn.active {
  background: #1A2440;
  color: #F4EFE8;
  border-color: #1A2440;
}

/* Barra de Progresso Suíça */
.triage-progress-wrapper {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.triage-steps-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8A5430;
}

.triage-progress-track {
  width: 100%;
  height: 4px;
  background: #E7DED1;
  border-radius: 2px;
  overflow: hidden;
}

.triage-progress-fill {
  height: 100%;
  width: 33.33%;
  background: #D4AF93;
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Seções das Etapas */
.triage-step-view {
  display: none;
  flex-direction: column;
  gap: 24px;
  animation: triageFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.triage-step-view.active {
  display: flex;
}

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

.triage-step-title {
  font-size: 24px;
  font-weight: 400;
  color: #1A2440;
  margin: 0;
  line-height: 1.25;
}

.triage-step-subtitle {
  font-size: 15px;
  line-height: 1.6;
  color: #4B5368;
  margin: 0;
}

/* Grid de Cards de Seleção */
.triage-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

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

.triage-option-card {
  border: 1.5px solid #DCCFBD;
  border-radius: 3px;
  background: #FFFFFF;
  padding: 18px 20px;
  cursor: pointer;
  transition: all 0.22s ease;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  text-align: left;
}

.triage-option-card:hover {
  border-color: #D4AF93;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(26, 36, 64, 0.06);
}

.triage-option-card.selected {
  border-color: #9A5E36;
  background: #FBF4EB;
  box-shadow: 0 4px 16px rgba(154, 94, 54, 0.12);
}

.triage-card-badge {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8A5430;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.triage-card-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid #DCCFBD;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: transparent;
  transition: all 0.2s ease;
}

.triage-option-card.selected .triage-card-check {
  background: #9A5E36;
  border-color: #9A5E36;
  color: #FFFFFF;
}

.triage-card-name {
  font-size: 17px;
  font-weight: 500;
  color: #1A2440;
  margin: 0;
  line-height: 1.3;
}

.triage-card-info {
  font-size: 13px;
  line-height: 1.5;
  color: #5B6273;
  margin: 0;
}

/* Painel de Resumo Clínico em Tempo Real */
.triage-summary-hud {
  background: #1A2440;
  color: #E7DED1;
  border: 1px solid #2C3858;
  border-radius: 3px;
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
}

.triage-summary-hud-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #D4AF93;
  display: flex;
  align-items: center;
  gap: 8px;
}

.triage-summary-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 640px) {
  .triage-summary-list {
    grid-template-columns: 1fr;
  }
}

.triage-summary-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.triage-summary-label {
  font-size: 11px;
  color: #8F9BB3;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.triage-summary-val {
  font-weight: 500;
  color: #F4EFE8;
}

/* Botões de Navegação da Triagem */
.triage-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 8px;
  padding-top: 18px;
  border-top: 1px solid #E7DED1;
}

.triage-btn-prev {
  background: transparent;
  border: 1px solid #CDBFAC;
  border-radius: 2px;
  height: 52px;
  padding: 0 24px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #4B5368;
  cursor: pointer;
  transition: all 0.2s ease;
}

.triage-btn-prev:hover {
  background: #EFE6D9;
  color: #1A2440;
}

.triage-btn-next {
  background: #9A5E36;
  color: #FFFFFF;
  border: 0;
  border-radius: 2px;
  height: 52px;
  padding: 0 32px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-left: auto;
}

.triage-btn-next:hover {
  background: #7A4826;
  transform: translateY(-1px);
}

.triage-btn-submit {
  background: #D4AF93;
  color: #1A2440;
  border: 0;
  border-radius: 2px;
  height: 56px;
  padding: 0 36px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-left: auto;
  box-shadow: 0 4px 14px rgba(212, 175, 147, 0.3);
}

.triage-btn-submit:hover {
  background: #C29878;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(212, 175, 147, 0.45);
}

/* ==========================================================================
   PILAR 2: COMPARADOR CIRÚRGICO "ANTES & DEPOIS" (SLIDER DE CORTINA)
   ========================================================================== */
.eminent-ba-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 4px;
  overflow: hidden;
  background: #141C33;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
  box-shadow: 0 8px 30px rgba(20, 28, 51, 0.08);
  border: 1px solid #DCCFBD;
  cursor: ew-resize;
}

.eminent-ba-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.eminent-ba-layer img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

/* Camada da Esquerda (Antes) */
.eminent-ba-before {
  z-index: 1;
}

/* Camada da Direita (Depois) recortada por clip-path */
.eminent-ba-after {
  z-index: 2;
  clip-path: polygon(var(--ba-pos, 50%) 0, 100% 0, 100% 100%, var(--ba-pos, 50%) 100%);
  -webkit-clip-path: polygon(var(--ba-pos, 50%) 0, 100% 0, 100% 100%, var(--ba-pos, 50%) 100%);
}

/* Linha Divisória de Precisão */
.eminent-ba-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--ba-pos, 50%);
  width: 2px;
  background: #D4AF93;
  box-shadow: 0 0 10px rgba(212, 175, 147, 0.6);
  z-index: 3;
  pointer-events: none;
  transform: translateX(-50%);
}

/* Botão Central com Micro-Setas */
.eminent-ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #1A2440;
  border: 1.5px solid #D4AF93;
  color: #D4AF93;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(20, 28, 51, 0.4), 0 0 12px rgba(212, 175, 147, 0.4);
  transition: transform 0.15s ease, background 0.15s ease;
}

.eminent-ba-container:hover .eminent-ba-handle {
  transform: translate(-50%, -50%) scale(1.08);
  background: #141C33;
}

/* Badges de Estado */
.eminent-ba-badge {
  position: absolute;
  top: 14px;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 2px;
  z-index: 4;
  pointer-events: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.eminent-ba-badge-before {
  left: 14px;
  background: rgba(26, 36, 64, 0.85);
  border: 1px solid rgba(212, 175, 147, 0.3);
  color: #E7DED1;
}

.eminent-ba-badge-after {
  right: 14px;
  background: rgba(212, 175, 147, 0.92);
  border: 1px solid #D4AF93;
  color: #1A2440;
}

/* Selo de Telemetria Integrada no Comparador */
.eminent-ba-telemetry {
  position: absolute;
  bottom: 12px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(14, 21, 38, 0.85);
  border: 1px solid rgba(212, 175, 147, 0.25);
  border-radius: 2px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #D4AF93;
  z-index: 4;
  pointer-events: none;
}

.eminent-ba-telemetry-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #34D399;
  box-shadow: 0 0 5px #34D399;
}

/* Fallback para prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .eminent-ba-container {
    cursor: default;
  }
}

/* ==========================================================================
   OVERDRIVE: NEGATOSCÓPIO DIGITAL ORTO-SECCIONAL (PAINEL DE INSTRUMENTOS)
   Estação Tomográfica Interativa com Eixos Ortogonais e Telemetria Cirúrgica
   ========================================================================== */
.negatoscope-station {
  position: relative;
  background: #0E1526;
  border: 1px solid #2C3858;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(10, 16, 32, 0.55), 0 0 0 1px rgba(212, 175, 147, 0.15);
  user-select: none;
  --reticule-x: 52%;
  --reticule-y: 46%;
}

/* Bezel Superior de Instrumentação */
.negatoscope-bezel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: #141C33;
  border-bottom: 1px solid #232E48;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  color: #AEB6C6;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.negatoscope-station-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #D4AF93;
  font-weight: 600;
}

.negatoscope-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34D399;
  box-shadow: 0 0 8px #34D399;
  animation: hudLiveDotPulse 2.5s infinite;
}

.negatoscope-status-pill {
  color: #AEB6C6;
  font-size: 10px;
}

/* Área de Tela do Negatoscópio */
.negatoscope-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #080D18;
  cursor: crosshair;
}

.negatoscope-view {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.35s ease-in-out, transform 0.35s ease-out;
  pointer-events: none;
  z-index: 1;
}

.negatoscope-view.active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

/* Fallback img clássico se não houver .negatoscope-view */
.negatoscope-screen > img:not(.negatoscope-view) {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Grid Orto-Seccional Translúcido */
.negatoscope-grid-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(212, 175, 147, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(212, 175, 147, 0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 2;
}

/* Eixo Ortogonal Horizontal */
.negatoscope-axis-h {
  position: absolute;
  left: 0;
  right: 0;
  top: var(--reticule-y);
  height: 1px;
  background: rgba(212, 175, 147, 0.45);
  box-shadow: 0 0 6px rgba(212, 175, 147, 0.25);
  pointer-events: none;
  z-index: 3;
  transition: top 0.04s linear;
}

/* Eixo Ortogonal Vertical */
.negatoscope-axis-v {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--reticule-x);
  width: 1px;
  background: rgba(212, 175, 147, 0.45);
  box-shadow: 0 0 6px rgba(212, 175, 147, 0.25);
  pointer-events: none;
  z-index: 3;
  transition: left 0.04s linear;
}

/* Retícula Central Suíça */
.negatoscope-reticule {
  position: absolute;
  left: var(--reticule-x);
  top: var(--reticule-y);
  width: 32px;
  height: 32px;
  transform: translate(-50%, -50%);
  border: 1px solid #D4AF93;
  border-radius: 50%;
  pointer-events: none;
  z-index: 4;
  transition: transform 0.04s linear;
}

.negatoscope-reticule::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  height: 4px;
  background: #FFFFFF;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 6px #FFFFFF;
}

/* Coordenadas Cirúrgicas Dinâmicas */
.negatoscope-hud-readout {
  position: absolute;
  left: calc(var(--reticule-x) + 20px);
  top: calc(var(--reticule-y) - 34px);
  padding: 4px 10px;
  background: rgba(14, 21, 38, 0.92);
  border: 1px solid rgba(212, 175, 147, 0.4);
  border-radius: 2px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: #F4EFE8;
  white-space: nowrap;
  pointer-events: none;
  z-index: 5;
  transition: all 0.04s linear;
}

@media (max-width: 600px) {
  .negatoscope-hud-readout {
    left: 12px !important;
    top: auto !important;
    bottom: 12px !important;
  }
}

.negatoscope-hud-readout .accent-val {
  color: #D4AF93;
  font-weight: 600;
}

/* Régua Cirúrgica Fixa nas Bordas */
.negatoscope-scale-bottom {
  display: flex;
  justify-content: space-between;
  padding: 4px 16px;
  background: #11182B;
  border-top: 1px solid #1E283F;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 9px;
  color: #8F9BB3;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Barra de Modos de Inspeção (Interativa) */
.negatoscope-mode-bar {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 8px 12px;
  background: #141C33;
  border-top: 1px solid #232E48;
  gap: 8px;
}

.negatoscope-mode-btn {
  flex: 1;
  background: transparent;
  border: 1px solid rgba(212, 175, 147, 0.25);
  color: #C3C9D6;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  padding: 6px 10px;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.negatoscope-mode-btn:hover {
  border-color: #D4AF93;
  color: #FFFFFF;
}

.negatoscope-mode-btn.active {
  background: #D4AF93;
  color: #1A2440;
  border-color: #D4AF93;
  font-weight: 600;
}

/* Fallback para prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .negatoscope-station {
    --reticule-x: 50% !important;
    --reticule-y: 50% !important;
  }
  .negatoscope-axis-h,
  .negatoscope-axis-v,
  .negatoscope-reticule,
  .negatoscope-hud-readout {
    transition: none !important;
  }
}

/* ==========================================================================
   LP IMPLANTES: DUAL DOCTOR AUTHORITY SECTION
   Dr. José Valentim (CRO-PI 2337) & Dr. Anselmo da Rocha Luz (CRO-PI 3038)
   ========================================================================== */
.doctor-dual-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  margin-top: 40px;
}

@media (max-width: 860px) {
  .doctor-dual-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.doctor-dual-card {
  background: #FFFFFF;
  border: 1px solid #E2D9CC;
  border-radius: 4px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 4px 20px rgba(26, 36, 64, 0.04);
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.doctor-dual-card:hover {
  transform: translateY(-2px);
  border-color: #D4AF93;
}

.doctor-dual-header {
  display: flex;
  align-items: center;
  gap: 18px;
}

.doctor-dual-crest {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #1A2440;
  border: 1.5px solid #D4AF93;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #D4AF93;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.06em;
  flex-shrink: 0;
}

.doctor-dual-titles {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.doctor-dual-role {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #9A5E36;
}

.doctor-dual-name {
  font-size: 21px;
  font-weight: 400;
  color: #1A2440;
  margin: 0;
}

.doctor-dual-cro {
  font-size: 13px;
  color: #6C7486;
  font-weight: 500;
}

.doctor-dual-desc {
  font-size: 15px;
  line-height: 1.65;
  color: #4B5368;
  margin: 0;
}

.doctor-dual-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #EFEAE3;
}

.doctor-dual-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: #F4EFE8;
  border: 1px solid #DCCFBD;
  border-radius: 2px;
  font-size: 12px;
  color: #1A2440;
  font-weight: 500;
}

/* ==========================================================================
   LP IMPLANTES: MATRIZ COMPARATIVA (PROTOCOLO FIXO VS PRÓTESE MÓVEL)
   ========================================================================== */
.implant-compare-wrap {
  margin-top: 48px;
  background: #FFFFFF;
  border: 1px solid #E2D9CC;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(26, 36, 64, 0.04);
}

.implant-compare-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 15px;
}

.implant-compare-table th {
  padding: 18px 24px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 13px;
}

.implant-compare-table th.col-feature {
  background: #F4EFE8;
  color: #1A2440;
  width: 32%;
}

.implant-compare-table th.col-fixed {
  background: #1A2440;
  color: #F4EFE8;
  width: 38%;
  border-left: 2px solid #D4AF93;
}

.implant-compare-table th.col-mobile {
  background: #EAE3D9;
  color: #5B6273;
  width: 30%;
}

.implant-compare-table td {
  padding: 16px 24px;
  border-top: 1px solid #EFEAE3;
  vertical-align: middle;
}

.implant-compare-table td.col-fixed {
  background: #FAF7F2;
  font-weight: 500;
  color: #1A2440;
  border-left: 2px solid #D4AF93;
}

.implant-compare-table td.col-mobile {
  color: #6C7486;
}

.badge-better {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #15803D;
  font-weight: 600;
}

.badge-worse {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #B91C1C;
}

@media (max-width: 720px) {
  .implant-compare-table {
    font-size: 13px;
  }
  .implant-compare-table th,
  .implant-compare-table td {
    padding: 12px 14px;
  }
}

/* ==========================================================================
   LP IMPLANTES: JORNADA DO PACIENTE EM 4 ETAPAS
   ========================================================================== */
.implant-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 48px;
}

@media (max-width: 960px) {
  .implant-steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 580px) {
  .implant-steps-grid {
    grid-template-columns: 1fr;
  }
}

.implant-step-card {
  background: #141C33;
  border: 1px solid #2C3858;
  border-radius: 4px;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.implant-step-card:hover {
  transform: translateY(-2px);
  border-color: #D4AF93;
}

.implant-step-num {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: #D4AF93;
  text-transform: uppercase;
}

.implant-step-title {
  font-size: 18px;
  font-weight: 400;
  color: #F4EFE8;
  margin: 0;
  line-height: 1.25;
}

.implant-step-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #AEB6C6;
  margin: 0;
}





