/* ==========================================================================
   UROPED — Design Inspirado no Padrão Urolaser Especialidades Médicas
   Identidade:
     - Primária (Urologia / Uroped): #0B5563 (Petróleo Nobre), Escuro: #073B45, Claro: #EEF6F7
     - Secundária (Pediatria): #A3401F (Coral Quente), Escuro: #7D2F15, Claro: #FBEEE8
     - Apoio / WhatsApp: #1F8A4C, Hover: #17703D, Claro: #E6F3EC
     - Superfícies: #FFFFFF (Puro), #F8FBFC (Off-white clínico), #EDF4F5 (Cinza suave)
     - Textos: #13262E (Grafite escuro), #4A5C63 (Cinza médico), #718288 (Muted)
   ========================================================================== */

:root {
  --primary: #0B5563;
  --primary-dark: #073B45;
  --primary-light: #EEF6F7;
  --primary-accent: #178396;
  
  --coral: #A3401F;
  --coral-dark: #7D2F15;
  --coral-light: #FBEEE8;
  
  --green: #1F8A4C;
  --green-dark: #17703D;
  --green-light: #E6F3EC;

  --text-title: #13262E;
  --text-body: #344850;
  --text-muted: #5E7178;
  --border-light: #E2ECEE;
  
  --bg-page: #F8FBFC;
  --bg-white: #FFFFFF;
  --bg-surface: #F2F7F8;

  --font-heading: 'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --container-max: 1140px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --shadow-subtle: 0 2px 10px rgba(11, 85, 99, 0.04);
  --shadow-card: 0 8px 24px rgba(11, 85, 99, 0.07);
  --shadow-hover: 0 14px 34px rgba(11, 85, 99, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-body);
  background-color: var(--bg-page);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--text-title);
  margin-top: 0;
  line-height: 1.25;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--primary-dark);
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   Barra Superior de Informações (TopBar)
   ========================================================================== */
.topbar {
  background-color: var(--primary-dark);
  color: #D6E7EA;
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.topbar-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.topbar a {
  color: #FFFFFF;
}

.topbar a:hover {
  color: #A6DCE5;
}

/* ==========================================================================
   Header & Navegação Principal
   ========================================================================== */
.main-header {
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-subtle);
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 170px;
  padding: 10px 0;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-logo-img {
  height: 152px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
  border-radius: var(--radius-sm);
  transition: transform 0.2s ease;
}

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

@media (max-width: 600px) {
  .nav-content {
    min-height: 140px;
    padding: 8px 0;
  }
  .brand-logo-img {
    height: 124px;
  }
}

.brand-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  background: var(--primary-light);
  color: var(--primary);
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 24px;
  font-weight: 600;
  font-size: 14px;
}

@media (min-width: 860px) {
  .nav-links {
    display: flex;
  }
}

.nav-links a {
  color: var(--text-title);
}

.nav-links a:hover {
  color: var(--primary);
}

.btn-header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--green);
  color: #FFFFFF !important;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  transition: all 0.2s ease;
  box-shadow: 0 3px 10px rgba(31, 138, 76, 0.2);
}

.btn-header-cta:hover {
  background-color: var(--green-dark);
  transform: translateY(-1px);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-wrapper {
  background: linear-gradient(135deg, #094754 0%, #0B5563 50%, #0D697B 100%);
  color: #FFFFFF;
  padding: 60px 0 70px;
  position: relative;
  overflow: hidden;
}

.hero-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 40%;
  background: radial-gradient(circle at 80% 30%, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

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

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  color: #D6F1F5;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-title {
  color: #FFFFFF;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 42px;
  }
}

.hero-desc {
  font-size: 17px;
  line-height: 1.6;
  color: #E2F2F5;
  margin-bottom: 28px;
  max-width: 580px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--green);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
}

.btn-hero-primary:hover {
  background-color: var(--green-dark);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 24px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: all 0.2s ease;
}

.btn-hero-secondary:hover {
  background-color: rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
}

/* Card Rápido de Destaque no Hero */
.hero-card-box {
  background: #FFFFFF;
  color: var(--text-body);
  border-radius: var(--radius-xl);
  padding: 28px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 14px;
}

.hero-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card-header h3 {
  font-size: 18px;
  margin: 0;
}

.hero-card-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}

.hero-card-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.hero-card-item svg {
  color: var(--green);
  flex-shrink: 0;
  margin-top: 3px;
}

/* ==========================================================================
   Pilares & Diferenciais (Padrão Clínica de Excelência)
   ========================================================================== */
.features-section {
  padding: 50px 0;
  margin-top: -30px;
  position: relative;
  z-index: 10;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-light);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.feature-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon-wrapper.teal {
  background: var(--primary-light);
  color: var(--primary);
}

.feature-icon-wrapper.coral {
  background: var(--coral-light);
  color: var(--coral);
}

.feature-icon-wrapper.green {
  background: var(--green-light);
  color: var(--green-dark);
}

.feature-title {
  font-size: 17px;
  font-weight: 700;
  margin: 0;
  color: var(--text-title);
}

.feature-text {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

/* ==========================================================================
   Seções Gerais
   ========================================================================== */
.section-pad {
  padding: 60px 0;
}

.section-pad-alt {
  padding: 60px 0;
  background-color: var(--bg-surface);
}

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

.section-pretitle {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 8px;
  display: block;
}

.section-main-title {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 12px;
}

@media (min-width: 768px) {
  .section-main-title {
    font-size: 36px;
  }
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  margin: 0;
}

/* ==========================================================================
   Especialidades (Urologia & Pediatria)
   ========================================================================== */
.specialties-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 768px) {
  .specialties-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.spec-card-main {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
}

.spec-card-header {
  padding: 24px;
  color: #FFFFFF;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.spec-card-header.urologia {
  background: linear-gradient(135deg, #083F4A 0%, #0B5563 100%);
}

.spec-card-header.pediatria {
  background: linear-gradient(135deg, #853317 0%, #A3401F 100%);
}

.spec-card-title {
  font-size: 22px;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0;
}

.spec-card-sub {
  font-size: 13px;
  opacity: 0.9;
  margin-top: 4px;
}

.spec-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-grow: 1;
}

.spec-item-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.spec-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
}

.spec-item-bullet {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  margin-top: 8px;
  flex-shrink: 0;
}

.urologia-bullet {
  background-color: var(--primary);
}

.pediatria-bullet {
  background-color: var(--coral);
}

.spec-card-footer {
  padding: 16px 24px 24px;
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ==========================================================================
   Corpo Clínico (Dr. Gabriel & Dra. Narcisa)
   ========================================================================== */
.doctors-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 800px) {
  .doctors-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.doctor-profile-card {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.doctor-card-top {
  padding: 28px 24px 20px;
  display: flex;
  gap: 18px;
  align-items: center;
}

.doctor-avatar-circle {
  width: 84px;
  height: 84px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
  flex-shrink: 0;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.doctor-avatar-circle.teal {
  background: var(--primary-light);
  color: var(--primary);
  border: 2px solid #C9E2E6;
}

.doctor-avatar-circle.coral {
  background: var(--coral-light);
  color: var(--coral);
  border: 2px solid #F5D3C8;
}

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

.doctor-spec-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.doctor-spec-label.teal {
  color: var(--primary);
}

.doctor-spec-label.coral {
  color: var(--coral);
}

.doctor-full-name {
  font-size: 20px;
  font-weight: 800;
  margin: 0;
}

.doctor-reg-meta {
  font-size: 13px;
  color: var(--text-muted);
}

.doctor-card-body {
  padding: 0 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-body);
}

.badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.cred-badge {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  color: var(--text-title);
  border: 1px solid var(--border-light);
}

.doctor-card-bottom {
  padding: 16px 24px 20px;
  margin-top: auto;
  border-top: 1px solid var(--border-light);
  display: flex;
  gap: 10px;
}

/* ==========================================================================
   Como Funciona o Atendimento (3 Passos)
   ========================================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.step-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-subtle);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--primary);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
}

.step-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

/* ==========================================================================
   Onde Atendemos (Filtro Interativo de Cidades & Clínicas)
   ========================================================================== */
.locations-container {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
}

.filter-controls-row {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
}

@media (min-width: 768px) {
  .filter-controls-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.filter-btn-group {
  display: inline-flex;
  background: var(--bg-surface);
  padding: 4px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
}

.spec-toggle-btn {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.spec-toggle-btn.active {
  background: var(--primary);
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(11, 85, 99, 0.2);
}

.city-scroll-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.chip-btn {
  padding: 7px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
  background: var(--bg-page);
  color: var(--text-title);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
}

.chip-btn:hover {
  border-color: #A8C0C4;
}

.chip-btn.selected {
  background: var(--text-title);
  color: #FFFFFF;
  border-color: var(--text-title);
  font-weight: 600;
}

/* Cards de Clínicas em Grid */
.clinics-deck {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 18px;
}

.clinic-unit-card {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-white);
  box-shadow: var(--shadow-subtle);
  display: flex;
  flex-direction: column;
}

.unit-card-band {
  padding: 10px 16px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #FFFFFF;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.unit-card-band.urologia {
  background: var(--primary);
}

.unit-card-band.pediatria {
  background: var(--coral);
}

.unit-card-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}

.clinic-card-logo {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
  flex-shrink: 0;
  background: #FFFFFF;
}

.unit-clinic-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  color: var(--text-title);
}

.unit-address {
  display: flex;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
}

.unit-address svg {
  flex-shrink: 0;
  margin-top: 3px;
}

.unit-schedule-alert {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.unit-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: auto;
  padding-top: 10px;
}

.btn-unit-maps {
  height: 42px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
  background: var(--bg-white);
  color: var(--text-title);
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
}

.btn-unit-maps:hover {
  background: var(--bg-surface);
}

.btn-unit-wa {
  height: 42px;
  border-radius: var(--radius-full);
  background: var(--green);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(31, 138, 76, 0.2);
}

.btn-unit-wa:hover {
  background: var(--green-dark);
  color: #FFFFFF;
}

/* ==========================================================================
   Informações Práticas (Pagamentos, Retorno e Convênios)
   ========================================================================== */
.practical-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.info-box-item {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.info-box-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
  color: var(--text-title);
}

.info-box-header svg {
  color: var(--primary);
}

.info-box-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 20px 24px;
}

.faq-question {
  font-weight: 700;
  font-size: 16px;
  color: var(--text-title);
  margin-bottom: 8px;
}

.faq-answer {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ==========================================================================
   Rodapé & Conformidade CFM
   ========================================================================== */
.footer-corporate {
  background: #072F37;
  color: #C0D8DC;
  padding: 60px 0 30px;
  font-size: 14px;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

@media (min-width: 768px) {
  .footer-top-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}

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

.footer-brand p {
  line-height: 1.6;
  max-width: 380px;
}

.footer-links-col h4 {
  color: #FFFFFF;
  font-size: 16px;
  margin-bottom: 16px;
}

.footer-links-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-col a {
  color: #C0D8DC;
}

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

.footer-cfm-compliance {
  padding-top: 30px;
  font-size: 12px;
  line-height: 1.6;
  color: #8CAAB0;
}

/* ==========================================================================
   Modal Interativo de Agendamento por Cidade
   ========================================================================== */
.booking-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(7, 47, 55, 0.75);
  backdrop-filter: blur(6px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: fadeIn 0.2s ease;
}

.booking-modal-overlay.open {
  display: flex;
}

.booking-modal-card {
  background: var(--bg-white);
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: slideUp 0.25s ease;
}

.modal-header-bar {
  padding: 20px 24px;
  background: var(--primary-dark);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header-bar h3 {
  color: #FFFFFF;
  margin: 0;
  font-size: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-close-btn {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #FFFFFF;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  transition: background 0.2s ease;
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.modal-body-scroll {
  padding: 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.modal-step-title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

/* Grid de Cidades no Modal */
.modal-cities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}

.modal-city-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 14px;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.modal-city-card:hover {
  background: var(--primary-light);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(11, 85, 99, 0.1);
}

.modal-city-card.active {
  background: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
}

.modal-city-card.active .modal-city-name {
  color: #FFFFFF;
}

.modal-city-card.active .modal-city-badge {
  background: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
}

.modal-city-name {
  font-weight: 700;
  font-size: 15px;
  color: var(--text-title);
  display: flex;
  align-items: center;
  gap: 6px;
}

.modal-city-badge {
  font-size: 11px;
  color: var(--text-muted);
  background: var(--bg-white);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  align-self: flex-start;
  margin-top: 2px;
}

/* Lista de Clínicas no Modal */
.modal-clinics-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.modal-clinic-box {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 18px;
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--shadow-subtle);
}

.modal-clinic-box-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 8px;
}

.modal-clinic-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-title);
  margin: 0;
}

.modal-doc-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.modal-doc-tag.urologia {
  background: var(--primary-light);
  color: var(--primary);
}

.modal-doc-tag.pediatria {
  background: var(--coral-light);
  color: var(--coral);
}

.btn-modal-wa {
  background: var(--green);
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 18px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(31, 138, 76, 0.25);
  transition: all 0.2s ease;
  width: 100%;
  margin-top: 4px;
}

.btn-modal-wa:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
}

.btn-modal-back {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 0;
}

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

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.floating-wa-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background-color: var(--green);
  color: #FFFFFF !important;
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  z-index: 9999;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

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

.floating-wa-tooltip {
  position: absolute;
  right: 70px;
  background: var(--text-title);
  color: #FFFFFF;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.floating-wa-btn:hover .floating-wa-tooltip {
  opacity: 1;
}
