/* ==========================================================================
   IAPETUS CLÍNICA - ESTILOS PRINCIPAIS
   Paleta Médica Sofisticada:
   - Azul profundo: #123B5D
   - Azul médio: #2D6F91
   - Azul claro: #EAF5F8
   - Verde/teal: #35A69A
   - Branco: #FFFFFF
   - Cinza claro: #F5F7F9
   - Cinza escuro: #263238
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

/* --- VARIÁVEIS CSS --- */
:root {
  --primary-deep: #123B5D;
  --primary-medium: #2D6F91;
  --primary-light: #EAF5F8;
  --primary-hover: #0E2E49;
  --teal-accent: #35A69A;
  --teal-dark: #27857B;
  --teal-light: #E6F6F4;
  --teal-glow: rgba(53, 166, 154, 0.25);
  
  --white: #FFFFFF;
  --gray-bg: #F5F7F9;
  --gray-subtle: #EDF2F7;
  --gray-border: #E2E8F0;
  --gray-dark: #263238;
  --gray-muted: #546E7A;
  --gray-light: #90A4AE;
  
  --status-confirmed: #10B981;
  --status-confirmed-bg: #ECFDF5;
  --status-pending: #F59E0B;
  --status-pending-bg: #FEF3C7;
  --status-cancelled: #EF4444;
  --status-cancelled-bg: #FEE2E2;

  --font-heading: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --shadow-sm: 0 2px 4px rgba(18, 59, 93, 0.04);
  --shadow-md: 0 6px 18px rgba(18, 59, 93, 0.07);
  --shadow-lg: 0 12px 32px rgba(18, 59, 93, 0.10);
  --shadow-xl: 0 20px 48px rgba(18, 59, 93, 0.14);
  --shadow-teal: 0 8px 24px rgba(53, 166, 154, 0.35);

  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  
  --header-height: 84px;
}

/* --- RESET BÁSICO --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  color: var(--gray-dark);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
  background: none;
  transition: all var(--transition-fast);
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--primary-deep);
  line-height: 1.25;
  font-weight: 700;
}

/* --- UTILITÁRIOS DE LAYOUT --- */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section {
  padding: 96px 0;
  position: relative;
}

.section-bg {
  background-color: var(--gray-bg);
}

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

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--primary-light);
  color: var(--primary-medium);
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.section-tag.teal {
  background-color: var(--teal-light);
  color: var(--teal-dark);
}

.section-title {
  font-size: 2.375rem;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  color: var(--gray-muted);
  font-size: 1.0625rem;
  line-height: 1.6;
}

/* --- BOTÕES MODERNOS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  transition: all var(--transition-normal);
  white-space: nowrap;
  user-select: none;
}

.btn-primary {
  background-color: var(--teal-accent);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(53, 166, 154, 0.35);
}

.btn-primary:hover {
  background-color: var(--teal-dark);
  box-shadow: var(--shadow-teal);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--primary-deep);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(18, 59, 93, 0.25);
}

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

.btn-outline {
  background-color: transparent;
  color: var(--primary-deep);
  border: 1.5px solid var(--primary-deep);
}

.btn-outline:hover {
  background-color: var(--primary-light);
  color: var(--primary-deep);
  border-color: var(--primary-medium);
}

.btn-outline-white {
  background-color: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.6);
}

.btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: var(--white);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.8125rem;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.0625rem;
}

.btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
}

/* --- BADGES & TAGS --- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-success {
  background-color: var(--status-confirmed-bg);
  color: var(--status-confirmed);
}

.badge-warning {
  background-color: var(--status-pending-bg);
  color: var(--status-pending);
}

.badge-danger {
  background-color: var(--status-cancelled-bg);
  color: var(--status-cancelled);
}

.badge-info {
  background-color: var(--primary-light);
  color: var(--primary-medium);
}

/* ==========================================================================
   PRELOADER
   ========================================================================== */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

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

.preloader-symbol {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--primary-deep), var(--teal-accent));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 10px 25px rgba(53, 166, 154, 0.4);
  animation: pulse-glow 2s infinite ease-in-out;
}

.preloader-text {
  display: flex;
  flex-direction: column;
}

.preloader-text .brand-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 3px;
  color: var(--primary-deep);
}

.preloader-text .brand-sub {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 4px;
  color: var(--teal-accent);
  font-weight: 700;
}

.preloader-pulse-bar {
  width: 140px;
  height: 3px;
  background: var(--gray-subtle);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
  margin-top: 8px;
}

.preloader-pulse-bar::after {
  content: '';
  position: absolute;
  left: -50%;
  top: 0;
  height: 100%;
  width: 50%;
  background: linear-gradient(90deg, var(--primary-deep), var(--teal-accent));
  border-radius: 3px;
  animation: progress-slide 1.2s infinite ease-in-out;
}

@keyframes pulse-glow {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

@keyframes progress-slide {
  0% { left: -50%; width: 30%; }
  50% { width: 70%; }
  100% { left: 100%; width: 30%; }
}

/* ==========================================================================
   TOAST NOTIFICATIONS
   ========================================================================== */
.toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 380px;
  width: calc(100% - 48px);
  pointer-events: none;
}

.toast {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(18, 59, 93, 0.15);
  border-left: 4px solid var(--teal-accent);
  padding: 16px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  pointer-events: auto;
  transform: translateX(120%);
  opacity: 0;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.toast.show {
  transform: translateX(0);
  opacity: 1;
}

.toast.toast-success {
  border-left-color: var(--teal-accent);
}

.toast.toast-warning {
  border-left-color: var(--status-pending);
}

.toast.toast-error {
  border-left-color: var(--status-cancelled);
}

.toast-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.toast-success .toast-icon {
  background: var(--teal-light);
  color: var(--teal-accent);
}

.toast-warning .toast-icon {
  background: var(--status-pending-bg);
  color: var(--status-pending);
}

.toast-error .toast-icon {
  background: var(--status-cancelled-bg);
  color: var(--status-cancelled);
}

.toast-content {
  flex: 1;
}

.toast-title {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--gray-dark);
  margin-bottom: 2px;
}

.toast-msg {
  font-size: 0.8125rem;
  color: var(--gray-muted);
  line-height: 1.4;
}

.toast-close {
  color: var(--gray-light);
  background: none;
  font-size: 1.25rem;
  padding: 2px;
  line-height: 1;
}

.toast-close:hover {
  color: var(--gray-dark);
}

.toast-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: rgba(0, 0, 0, 0.08);
  width: 100%;
}

.toast-progress-bar {
  height: 100%;
  width: 100%;
  background: var(--teal-accent);
  transition: width linear;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: all var(--transition-normal);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  height: 72px;
  box-shadow: 0 4px 20px rgba(18, 59, 93, 0.08);
  border-bottom-color: transparent;
}

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

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-symbol {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--primary-deep), var(--teal-accent));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 4px 12px rgba(53, 166, 154, 0.3);
  transition: transform var(--transition-fast);
}

.logo:hover .logo-symbol {
  transform: rotate(5deg) scale(1.05);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-family: var(--font-heading);
  font-size: 1.3125rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--primary-deep);
  line-height: 1;
}

.logo-tagline {
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--teal-accent);
  margin-top: 3px;
}

/* Navigation Links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--gray-dark);
  position: relative;
  padding: 6px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--teal-accent);
  transition: width var(--transition-normal);
  border-radius: 2px;
}

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

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: transparent;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  display: block;
  height: 2.5px;
  width: 100%;
  background-color: var(--primary-deep);
  border-radius: 2px;
  transition: all var(--transition-normal);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}

/* Mobile Menu Backdrop */
.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(18, 59, 93, 0.4);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

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

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  padding-top: calc(var(--header-height) + 48px);
  padding-bottom: 72px;
  background: radial-gradient(circle at 85% 20%, var(--primary-light) 0%, rgba(234, 245, 248, 0.3) 40%, var(--white) 70%);
  position: relative;
  overflow: hidden;
}

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

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--primary-light);
  color: var(--primary-deep);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
  border: 1px solid rgba(45, 111, 145, 0.15);
}

.hero-tag-dot {
  width: 8px;
  height: 8px;
  background: var(--teal-accent);
  border-radius: 50%;
  animation: pulse-glow 1.5s infinite;
}

.hero-title {
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--primary-deep);
  margin-bottom: 20px;
  letter-spacing: -0.025em;
}

.hero-title span {
  color: var(--teal-accent);
  position: relative;
  display: inline-block;
}

.hero-desc {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--gray-muted);
  margin-bottom: 36px;
  max-width: 540px;
}

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

/* Hero Stats Counter */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--gray-border);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-deep);
  line-height: 1.1;
  display: flex;
  align-items: baseline;
}

.stat-number span {
  color: var(--teal-accent);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--gray-muted);
  font-weight: 500;
  margin-top: 4px;
}

/* Hero Image & Floating Elements */
.hero-visual {
  position: relative;
  z-index: 1;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  background: var(--primary-light);
}

.hero-image-wrapper img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center 20%;
  transition: transform var(--transition-slow);
}

.hero-image-wrapper:hover img {
  transform: scale(1.02);
}

.hero-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 59, 93, 0) 60%, rgba(18, 59, 93, 0.4) 100%);
}

/* Floating Glass Cards */
.floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  box-shadow: 0 12px 30px rgba(18, 59, 93, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.8);
  z-index: 3;
  animation: float-slow 4s infinite ease-in-out;
}

.floating-card-1 {
  top: 32px;
  left: -28px;
}

.floating-card-2 {
  bottom: 40px;
  right: -24px;
  animation-delay: 2s;
}

.floating-card-inner {
  display: flex;
  align-items: center;
  gap: 14px;
}

.floating-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--teal-light);
  color: var(--teal-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.floating-icon.blue {
  background: var(--primary-light);
  color: var(--primary-medium);
}

.floating-title {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--primary-deep);
}

.floating-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 4px;
}

.floating-list-item {
  font-size: 0.75rem;
  color: var(--gray-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.floating-list-item svg {
  color: var(--teal-accent);
}

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

/* ==========================================================================
   QUICK ACCESS BAR (BARRA DE ACESSO RÁPIDO)
   ========================================================================== */
.quick-access-section {
  padding: 0 0 56px 0;
  margin-top: -36px;
  position: relative;
  z-index: 10;
}

.quick-access-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.quick-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-border);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.quick-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--teal-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-normal);
}

.quick-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(53, 166, 154, 0.3);
}

.quick-card:hover::before {
  transform: scaleX(1);
}

.quick-card.featured {
  background: linear-gradient(135deg, var(--primary-deep), #1c4b72);
  color: var(--white);
  border-color: transparent;
}

.quick-card.featured .quick-icon {
  background: rgba(255, 255, 255, 0.15);
  color: var(--teal-accent);
}

.quick-card.featured .quick-title {
  color: var(--white);
}

.quick-card.featured .quick-desc {
  color: rgba(255, 255, 255, 0.8);
}

.quick-card.featured .quick-arrow {
  color: var(--teal-accent);
}

.quick-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: all var(--transition-fast);
}

.quick-card:hover .quick-icon {
  background: var(--teal-accent);
  color: var(--white);
}

.quick-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary-deep);
  margin-bottom: 6px;
}

.quick-desc {
  font-size: 0.875rem;
  color: var(--gray-muted);
  line-height: 1.5;
  margin-bottom: 14px;
}

.quick-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--teal-accent);
  margin-top: auto;
}

.quick-card:hover .quick-arrow svg {
  transform: translateX(4px);
  transition: transform var(--transition-fast);
}

/* ==========================================================================
   ABOUT CLINIC (SOBRE A CLÍNICA)
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image-wrapper img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.about-badge-exp {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--primary-deep);
  color: var(--white);
  padding: 20px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 16px;
  border: 3px solid var(--white);
}

.about-badge-exp .num {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--teal-accent);
  line-height: 1;
}

.about-badge-exp .text {
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.3;
}

.about-content .section-tag {
  margin-bottom: 16px;
}

.about-title {
  font-size: 2.25rem;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.about-lead {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--gray-dark);
  margin-bottom: 28px;
  font-weight: 500;
}

.pillars-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}

.pillar-item {
  display: flex;
  gap: 16px;
  background: var(--gray-bg);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-border);
  transition: all var(--transition-fast);
}

.pillar-item:hover {
  background: var(--white);
  border-color: var(--teal-accent);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.pillar-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--teal-light);
  color: var(--teal-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pillar-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--primary-deep);
  margin-bottom: 4px;
}

.pillar-desc {
  font-size: 0.875rem;
  color: var(--gray-muted);
}

/* ==========================================================================
   SPECIALTIES (ESPECIALIDADES)
   ========================================================================== */
.specialties-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.specialty-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  border: 1px solid var(--gray-border);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.specialty-card:hover {
  transform: translateY(-6px);
  border-color: var(--teal-accent);
  box-shadow: var(--shadow-lg);
}

.specialty-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--primary-light);
  color: var(--primary-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all var(--transition-fast);
}

.specialty-card:hover .specialty-icon-box {
  background: var(--teal-accent);
  color: var(--white);
  transform: rotate(6deg);
}

.specialty-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-deep);
  margin-bottom: 8px;
}

.specialty-desc {
  font-size: 0.875rem;
  color: var(--gray-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.specialty-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--gray-border);
  margin-top: auto;
}

.specialty-count {
  font-size: 0.8125rem;
  color: var(--teal-dark);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.specialty-action {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--primary-medium);
  display: flex;
  align-items: center;
  gap: 4px;
}

.specialty-action:hover {
  color: var(--teal-accent);
}

/* ==========================================================================
   DOCTORS SECTION (MÉDICOS)
   ========================================================================== */
.doctors-filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  background: var(--white);
  color: var(--gray-muted);
  border: 1px solid var(--gray-border);
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  background: var(--gray-subtle);
  color: var(--gray-dark);
}

.filter-btn.active {
  background: var(--primary-deep);
  color: var(--white);
  border-color: var(--primary-deep);
  box-shadow: 0 4px 12px rgba(18, 59, 93, 0.2);
}

.doctors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.doctor-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-border);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.doctor-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(45, 111, 145, 0.3);
}

.doctor-image-wrap {
  position: relative;
  height: 250px;
  overflow: hidden;
  background: var(--primary-light);
}

.doctor-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform var(--transition-slow);
}

.doctor-card:hover .doctor-image-wrap img {
  transform: scale(1.05);
}

.doctor-badge-rating {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--gray-dark);
  display: flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.doctor-badge-rating svg {
  color: #F59E0B;
}

.doctor-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.doctor-specialty {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--teal-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.doctor-name {
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--primary-deep);
  margin-bottom: 6px;
}

.doctor-exp {
  font-size: 0.8125rem;
  color: var(--gray-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
}

.doctor-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--gray-border);
}

.doctor-actions .btn {
  padding: 8px 12px;
  font-size: 0.8125rem;
}

/* ==========================================================================
   ONLINE BOOKING WIZARD (MARCAÇÃO DE CONSULTAS ONLINE) - CORE HIGHLIGHT
   ========================================================================== */
.booking-section {
  background: linear-gradient(180deg, #F0F6FA 0%, #FFFFFF 100%);
  padding: 100px 0;
  position: relative;
}

.booking-container {
  max-width: 980px;
  margin: 0 auto;
}

.booking-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--gray-border);
  overflow: hidden;
  position: relative;
}

/* Stepper Header */
.stepper-header {
  background: var(--primary-deep);
  padding: 28px 32px;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stepper-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.stepper-heading {
  font-size: 1.375rem;
  color: var(--white);
  font-weight: 700;
}

.stepper-step-indicator {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--teal-accent);
  background: rgba(53, 166, 154, 0.18);
  padding: 4px 14px;
  border-radius: var(--radius-full);
}

.stepper-progress-track {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  position: relative;
}

.step-node {
  display: flex;
  flex-direction: column;
  gap: 8px;
  cursor: default;
  transition: all var(--transition-fast);
}

.step-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  transition: background var(--transition-normal);
}

.step-node.active .step-bar,
.step-node.completed .step-bar {
  background: var(--teal-accent);
}

.step-label-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}

.step-num {
  font-size: 0.6875rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.6);
}

.step-name {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.step-node.active .step-num,
.step-node.active .step-name {
  color: var(--teal-accent);
  font-weight: 700;
}

.step-node.completed .step-num,
.step-node.completed .step-name {
  color: var(--white);
}

/* Stepper Body Container */
.stepper-body {
  padding: 40px 36px;
  min-height: 460px;
}

.step-content-pane {
  display: none;
  animation: fadeIn 0.3s ease forwards;
}

.step-content-pane.active {
  display: block;
}

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

.step-instruction {
  margin-bottom: 28px;
}

.step-title {
  font-size: 1.5rem;
  color: var(--primary-deep);
  margin-bottom: 6px;
}

.step-subtitle {
  color: var(--gray-muted);
  font-size: 0.9375rem;
}

/* STEP 1: ESPECIALIDADES */
.booking-specialty-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.booking-specialty-card {
  border: 1.5px solid var(--gray-border);
  border-radius: var(--radius-md);
  padding: 20px;
  cursor: pointer;
  transition: all var(--transition-normal);
  background: var(--white);
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.booking-specialty-card:hover {
  border-color: var(--teal-accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.booking-specialty-card.selected {
  border-color: var(--teal-accent);
  background: var(--teal-light);
  box-shadow: 0 4px 16px rgba(53, 166, 154, 0.2);
}

.b-spec-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.booking-specialty-card.selected .b-spec-icon {
  background: var(--teal-accent);
  color: var(--white);
}

.b-spec-details h4 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--primary-deep);
  margin-bottom: 4px;
}

.b-spec-details p {
  font-size: 0.8125rem;
  color: var(--gray-muted);
}

/* STEP 2: MÉDICOS */
.booking-doctor-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.booking-doctor-card {
  border: 1.5px solid var(--gray-border);
  border-radius: var(--radius-md);
  padding: 18px;
  cursor: pointer;
  transition: all var(--transition-normal);
  background: var(--white);
  display: flex;
  gap: 16px;
  align-items: center;
}

.booking-doctor-card:hover {
  border-color: var(--teal-accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.booking-doctor-card.selected {
  border-color: var(--teal-accent);
  background: var(--teal-light);
  box-shadow: 0 4px 16px rgba(53, 166, 154, 0.2);
}

.b-doc-avatar {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--primary-light);
}

.b-doc-info {
  flex-grow: 1;
}

.b-doc-name {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--primary-deep);
  margin-bottom: 2px;
}

.b-doc-spec {
  font-size: 0.8125rem;
  color: var(--teal-dark);
  font-weight: 600;
  margin-bottom: 6px;
}

.b-doc-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.75rem;
  color: var(--gray-muted);
}

.b-doc-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 700;
  color: var(--gray-dark);
}

.b-doc-rating svg {
  color: #F59E0B;
}

/* STEP 3: VISUAL CALENDAR (CALENDÁRIO VISUAL) */
.calendar-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: start;
}

.calendar-widget {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.calendar-month-year {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--primary-deep);
}

.calendar-nav-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--gray-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-dark);
  transition: all var(--transition-fast);
}

.calendar-nav-btn:hover {
  background: var(--primary-light);
  color: var(--primary-deep);
  border-color: var(--primary-medium);
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gray-muted);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.calendar-days-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.cal-day {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-dark);
  cursor: pointer;
  position: relative;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
}

.cal-day:hover:not(.disabled):not(.empty) {
  background: var(--primary-light);
  color: var(--primary-deep);
}

.cal-day.available::after {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--teal-accent);
  border-radius: 50%;
  position: absolute;
  bottom: 4px;
}

.cal-day.selected {
  background: var(--teal-accent) !important;
  color: var(--white) !important;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(53, 166, 154, 0.4);
}

.cal-day.selected::after {
  background: var(--white);
}

.cal-day.today {
  border-color: var(--primary-deep);
}

.cal-day.disabled {
  color: #CBD5E1;
  cursor: not-allowed;
  background: transparent;
}

.cal-day.empty {
  cursor: default;
}

.calendar-info-panel {
  background: var(--gray-bg);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--gray-border);
}

.cal-info-card {
  margin-bottom: 20px;
}

.cal-info-title {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--gray-muted);
  margin-bottom: 8px;
}

.cal-selected-date-display {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-deep);
}

.cal-legend {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-border);
  font-size: 0.8125rem;
  color: var(--gray-muted);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.legend-dot.available { background: var(--teal-accent); }
.legend-dot.selected { background: var(--teal-dark); }
.legend-dot.disabled { background: #CBD5E1; }

/* STEP 4: HORÁRIOS */
.slots-section-wrap {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.slots-period-group {
  background: var(--gray-bg);
  padding: 20px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-border);
}

.slots-period-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--primary-deep);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.time-slots-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.time-slot-btn {
  background: var(--white);
  border: 1.5px solid var(--gray-border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--primary-deep);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  transition: all var(--transition-fast);
}

.time-slot-btn .slot-status {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--teal-accent);
}

.time-slot-btn:hover:not(.disabled) {
  border-color: var(--teal-accent);
  background: var(--teal-light);
  transform: translateY(-2px);
}

.time-slot-btn.selected {
  background: var(--teal-accent);
  color: var(--white);
  border-color: var(--teal-accent);
  box-shadow: 0 4px 12px rgba(53, 166, 154, 0.35);
}

.time-slot-btn.selected .slot-status {
  color: rgba(255, 255, 255, 0.9);
}

.time-slot-btn.disabled {
  background: var(--gray-subtle);
  border-color: var(--gray-border);
  color: #94A3B8;
  cursor: not-allowed;
  opacity: 0.6;
}

.time-slot-btn.disabled .slot-status {
  color: var(--status-cancelled);
}

/* STEP 5: DADOS DO PACIENTE */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.form-grid.full {
  grid-column: span 2;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-dark);
}

.form-label .required {
  color: var(--status-cancelled);
}

.form-control {
  border: 1.5px solid var(--gray-border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.9375rem;
  color: var(--gray-dark);
  background: var(--white);
  transition: all var(--transition-fast);
}

.form-control:focus {
  border-color: var(--teal-accent);
  box-shadow: 0 0 0 3px var(--teal-glow);
}

.form-control.error {
  border-color: var(--status-cancelled);
  background: #FFF8F8;
}

.form-error-msg {
  font-size: 0.75rem;
  color: var(--status-cancelled);
  display: none;
}

.form-group.has-error .form-error-msg {
  display: block;
}

.terms-checkbox-wrap {
  grid-column: span 2;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 12px;
  padding: 16px;
  background: var(--gray-bg);
  border-radius: var(--radius-sm);
}

.terms-checkbox-wrap input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--teal-accent);
  cursor: pointer;
}

.terms-label {
  font-size: 0.8125rem;
  color: var(--gray-muted);
  line-height: 1.5;
  cursor: pointer;
}

.terms-label a {
  color: var(--teal-dark);
  font-weight: 600;
  text-decoration: underline;
}

/* STEP 6: CONFIRMAÇÃO & RESUMO */
.summary-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
}

.summary-card {
  background: var(--gray-bg);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--gray-border);
}

.summary-card-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary-deep);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gray-border);
  display: flex;
  align-items: center;
  gap: 8px;
}

.summary-row-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
  font-size: 0.875rem;
}

.summary-row-item .label {
  color: var(--gray-muted);
}

.summary-row-item .val {
  font-weight: 700;
  color: var(--gray-dark);
  text-align: right;
}

.summary-total-box {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 2px dashed var(--gray-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.summary-total-label {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--primary-deep);
}

.summary-total-price {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--teal-dark);
}

.summary-notice-box {
  background: var(--primary-light);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid rgba(45, 111, 145, 0.15);
}

.summary-notice-item {
  display: flex;
  gap: 10px;
  font-size: 0.8125rem;
  color: var(--primary-deep);
}

.summary-notice-item svg {
  color: var(--teal-accent);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Stepper Footer Nav */
.stepper-footer {
  background: var(--gray-bg);
  padding: 20px 36px;
  border-top: 1px solid var(--gray-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.stepper-footer-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ==========================================================================
   SUCCESS SCREEN (CONFIRMAÇÃO DA CONSULTA)
   ========================================================================== */
.booking-success-view {
  display: none;
  text-align: center;
  padding: 60px 32px;
  animation: fadeIn 0.4s ease forwards;
}

.booking-success-view.active {
  display: block;
}

.success-icon-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--teal-light);
  color: var(--teal-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px auto;
  box-shadow: 0 10px 24px rgba(53, 166, 154, 0.3);
  animation: scale-up 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes scale-up {
  from { transform: scale(0.5); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.success-title {
  font-size: 2rem;
  color: var(--primary-deep);
  margin-bottom: 8px;
}

.success-desc {
  color: var(--gray-muted);
  max-width: 520px;
  margin: 0 auto 32px auto;
  font-size: 1rem;
}

.booking-code-card {
  max-width: 500px;
  margin: 0 auto 36px auto;
  background: var(--gray-bg);
  border: 2px dashed var(--teal-accent);
  border-radius: var(--radius-md);
  padding: 24px;
}

.booking-code-label {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  color: var(--gray-muted);
  margin-bottom: 6px;
}

.booking-code-number {
  font-family: var(--font-heading);
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--primary-deep);
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.btn-copy-code {
  padding: 6px 12px;
  font-size: 0.75rem;
  border-radius: var(--radius-full);
  background: var(--white);
  border: 1px solid var(--gray-border);
  color: var(--primary-deep);
}

.btn-copy-code:hover {
  background: var(--primary-light);
  border-color: var(--primary-medium);
}

.success-details-list {
  max-width: 500px;
  margin: 0 auto 36px auto;
  text-align: left;
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.success-details-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.875rem;
}

.success-details-item svg {
  color: var(--teal-accent);
  flex-shrink: 0;
}

.success-actions-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==========================================================================
   MINHAS CONSULTAS / CONSULTA DE MARCAÇÃO
   ========================================================================== */
.lookup-section {
  background: var(--white);
  padding: 80px 0;
}

.lookup-box {
  max-width: 760px;
  margin: 0 auto;
  background: var(--gray-bg);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--gray-border);
  box-shadow: var(--shadow-md);
}

.lookup-form {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.lookup-form .form-control {
  flex-grow: 1;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.demo-codes-helper {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.8125rem;
  color: var(--gray-muted);
}

.demo-code-chip {
  background: var(--white);
  border: 1px solid var(--gray-border);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-family: monospace;
  font-weight: 600;
  color: var(--primary-deep);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.demo-code-chip:hover {
  background: var(--primary-light);
  border-color: var(--teal-accent);
  color: var(--teal-dark);
}

/* Lookup Results Card */
.lookup-result-card {
  margin-top: 32px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-border);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: none;
  animation: fadeIn 0.3s ease;
}

.lookup-result-card.show {
  display: block;
}

.result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-border);
  margin-bottom: 20px;
}

.result-code {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-deep);
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.result-item {
  display: flex;
  flex-direction: column;
}

.result-label {
  font-size: 0.75rem;
  color: var(--gray-muted);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 2px;
}

.result-value {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--gray-dark);
}

.result-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--gray-border);
}

/* ==========================================================================
   SERVICES (MAIS DO QUE CONSULTAS)
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  border: 1px solid var(--gray-border);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--teal-accent);
  box-shadow: var(--shadow-lg);
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all var(--transition-fast);
}

.service-card:hover .service-icon {
  background: var(--teal-accent);
  color: var(--white);
}

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-deep);
  margin-bottom: 10px;
}

.service-desc {
  font-size: 0.9375rem;
  color: var(--gray-muted);
  line-height: 1.6;
}

/* ==========================================================================
   WHY CHOOSE IAPETUS (POR QUE ESCOLHER A IAPETUS)
   ========================================================================== */
.why-section {
  background: linear-gradient(135deg, var(--primary-deep) 0%, #174A73 100%);
  color: var(--white);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}

.why-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(53, 166, 154, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.why-section .section-title {
  color: var(--white);
}

.why-section .section-subtitle {
  color: rgba(255, 255, 255, 0.8);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  transition: all var(--transition-normal);
}

.why-card:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-6px);
  border-color: var(--teal-accent);
}

.why-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(53, 166, 154, 0.2);
  color: var(--teal-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.why-card-title {
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.why-card-desc {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
}

/* ==========================================================================
   TESTIMONIALS CAROUSEL (DEPOIMENTOS)
   ========================================================================== */
.testimonials-section {
  padding: 96px 0;
  background: var(--gray-bg);
  overflow: hidden;
}

.testimonials-carousel-wrap {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
}

.testimonials-track-container {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.testimonials-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.testimonial-slide {
  min-width: 100%;
  padding: 12px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-border);
  text-align: center;
  position: relative;
}

.testimonial-stars {
  display: flex;
  justify-content: center;
  gap: 4px;
  color: #F59E0B;
  margin-bottom: 24px;
}

.testimonial-quote {
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--gray-dark);
  font-style: italic;
  margin-bottom: 32px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.author-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--teal-accent);
}

.author-info {
  text-align: left;
}

.author-name {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--primary-deep);
}

.author-role {
  font-size: 0.8125rem;
  color: var(--gray-muted);
}

.carousel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--gray-border);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-deep);
  z-index: 10;
  transition: all var(--transition-fast);
}

.carousel-nav-btn:hover {
  background: var(--teal-accent);
  color: var(--white);
  border-color: var(--teal-accent);
}

.carousel-prev { left: -24px; }
.carousel-next { right: -24px; }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gray-border);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.carousel-dot.active {
  width: 28px;
  border-radius: 10px;
  background: var(--teal-accent);
}

/* ==========================================================================
   BLOG / HEALTH (BLOG / SAÚDE)
   ========================================================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--gray-border);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(53, 166, 154, 0.4);
}

.blog-image-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.blog-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.blog-card:hover .blog-image-wrap img {
  transform: scale(1.06);
}

.blog-category-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-deep);
}

.blog-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.8125rem;
  color: var(--gray-muted);
  margin-bottom: 10px;
}

.blog-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-deep);
  margin-bottom: 10px;
  line-height: 1.35;
}

.blog-excerpt {
  font-size: 0.875rem;
  color: var(--gray-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.blog-read-btn {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--teal-dark);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
}

.blog-read-btn:hover {
  color: var(--primary-deep);
}

.blog-read-btn:hover svg {
  transform: translateX(4px);
  transition: transform var(--transition-fast);
}

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

.faq-item {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-border);
  overflow: hidden;
  transition: all var(--transition-fast);
}

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

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

.faq-icon-toggle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.faq-item.active .faq-icon-toggle {
  background: var(--teal-accent);
  color: var(--white);
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out;
}

.faq-answer-inner {
  padding: 0 28px 24px 28px;
  font-size: 0.9375rem;
  color: var(--gray-muted);
  line-height: 1.7;
}

/* ==========================================================================
   CONTACTS (CONTACTOS)
   ========================================================================== */
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-border);
}

.contact-items-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 36px;
}

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

.contact-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--teal-light);
  color: var(--teal-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-label {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--gray-muted);
  font-weight: 700;
  margin-bottom: 2px;
}

.contact-value {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--primary-deep);
}

.contact-sub {
  font-size: 0.8125rem;
  color: var(--gray-muted);
}

.contact-map-placeholder {
  height: 200px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #E2E8F0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-map-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.map-overlay-pin {
  position: absolute;
  background: var(--primary-deep);
  color: var(--white);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--white);
}

/* Contact Message Form */
.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-border);
}

.contact-form-title {
  font-size: 1.5rem;
  color: var(--primary-deep);
  margin-bottom: 6px;
}

.contact-form-desc {
  font-size: 0.9375rem;
  color: var(--gray-muted);
  margin-bottom: 24px;
}

/* ==========================================================================
   FLOATING WHATSAPP & BACK TO TOP
   ========================================================================== */
.floating-whatsapp-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 990;
  transition: all var(--transition-normal);
  text-decoration: none;
}

.floating-whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-tooltip {
  position: absolute;
  right: 72px;
  background: var(--primary-deep);
  color: var(--white);
  padding: 8px 14px;
  border-radius: var(--radius-md);
  font-size: 0.8125rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(10px);
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-md);
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -6px;
  transform: translateY(-50%);
  border-width: 6px 0 6px 6px;
  border-style: solid;
  border-color: transparent transparent transparent var(--primary-deep);
}

.floating-whatsapp-btn:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

.back-to-top-btn {
  position: fixed;
  bottom: 100px;
  right: 32px;
  width: 44px;
  height: 44px;
  background: var(--white);
  color: var(--primary-deep);
  border: 1px solid var(--gray-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 980;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-normal);
}

.back-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top-btn:hover {
  background: var(--teal-accent);
  color: var(--white);
  border-color: var(--teal-accent);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: var(--primary-deep);
  color: var(--white);
  padding-top: 80px;
  padding-bottom: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-brand .logo-name {
  color: var(--white);
}

.footer-brand .logo-tagline {
  color: var(--teal-accent);
}

.footer-slogan {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
  margin-top: 16px;
  margin-bottom: 24px;
  max-width: 320px;
  line-height: 1.6;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: all var(--transition-fast);
}

.social-link:hover {
  background: var(--teal-accent);
  transform: translateY(-3px);
}

.footer-col-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--teal-accent);
  border-radius: 2px;
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  color: var(--teal-accent);
  transform: translateX(4px);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
}

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

.footer-contact-item svg {
  color: var(--teal-accent);
  flex-shrink: 0;
}

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

.footer-demo-notice {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

.footer-legal-links {
  display: flex;
  gap: 20px;
}

.footer-legal-links a:hover {
  color: var(--teal-accent);
}

/* ==========================================================================
   MODAL COMPONENT (GENÉRICO & REUTILIZÁVEL)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(18, 59, 93, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

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

.modal-dialog {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 640px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  transform: scale(0.92) translateY(20px);
  transition: all var(--transition-normal);
  position: relative;
}

.modal-overlay.active .modal-dialog {
  transform: scale(1) translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gray-subtle);
  color: var(--gray-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  z-index: 10;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--primary-deep);
  color: var(--white);
}

.modal-body {
  padding: 36px;
}

/* Doctor Profile Modal Specifics */
.doc-modal-header {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--gray-border);
}

.doc-modal-photo {
  width: 100px;
  height: 100px;
  border-radius: 20px;
  object-fit: cover;
  background: var(--primary-light);
}

.doc-modal-bio {
  font-size: 0.9375rem;
  color: var(--gray-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.doc-modal-info-block {
  background: var(--gray-bg);
  padding: 16px;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.doc-modal-info-item .label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--gray-muted);
  font-weight: 700;
}

.doc-modal-info-item .val {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--primary-deep);
}

/* ==========================================================================
   ANIMAÇÃO NO SCROLL (REVEAL)
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVIDADE (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .hero-visual {
    max-width: 600px;
    margin: 0 auto;
  }

  .quick-access-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-visual {
    max-width: 600px;
    margin: 0 auto;
  }

  .specialties-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .doctors-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .booking-specialty-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 74px;
  }

  .section {
    padding: 64px 0;
  }

  .section-title {
    font-size: 1.875rem;
  }

  .hero {
    padding-top: calc(var(--header-height) + 24px);
    padding-bottom: 56px;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .floating-card {
    display: none; /* Hide floating badges on small mobile screens to prevent overflow */
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 340px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 90px 32px 32px 32px;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    transition: right var(--transition-normal);
    z-index: 999;
    gap: 20px;
  }

  .nav-menu.active {
    right: 0;
  }

  .hamburger {
    display: flex;
  }

  .header-cta-btn {
    display: none;
  }

  .quick-access-grid {
    grid-template-columns: 1fr;
  }

  .specialties-grid {
    grid-template-columns: 1fr;
  }

  .doctors-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .contacts-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  /* Booking Mobile */
  .stepper-header {
    padding: 20px 20px;
  }

  .stepper-progress-track {
    display: flex;
    overflow-x: auto;
    padding-bottom: 8px;
  }

  .step-node {
    min-width: 90px;
  }

  .stepper-body {
    padding: 24px 20px;
  }

  .booking-specialty-grid {
    grid-template-columns: 1fr;
  }

  .booking-doctor-grid {
    grid-template-columns: 1fr;
  }

  .calendar-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .time-slots-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-grid.full, .terms-checkbox-wrap {
    grid-column: span 1;
  }

  .summary-container {
    grid-template-columns: 1fr;
  }

  .stepper-footer {
    padding: 16px 20px;
    flex-direction: column;
    gap: 12px;
  }

  .stepper-footer button,
  .stepper-footer-right {
    width: 100%;
  }

  .stepper-footer-right button {
    flex: 1;
  }

  .carousel-nav-btn {
    display: none;
  }
}

/* Selo de demonstração — impede que o protótipo seja confundido com um negócio real */
.demo-ribbon{position:fixed;left:16px;bottom:16px;z-index:9999;display:flex;align-items:center;gap:10px;background:rgba(15,17,21,.92);backdrop-filter:blur(8px);color:#fff;padding:10px 16px;border-radius:99px;font-family:'Inter',system-ui,sans-serif;font-size:.78rem;font-weight:600;box-shadow:0 10px 30px rgba(0,0,0,.35)}
.demo-ribbon strong{color:#E0A063;font-weight:800;letter-spacing:.03em}
.demo-ribbon a{color:#fff;text-decoration:underline;text-decoration-color:rgba(255,255,255,.4)}
.demo-ribbon a:hover{text-decoration-color:#fff}
@media(max-width:640px){.demo-ribbon{left:8px;right:8px;bottom:8px;font-size:.72rem;justify-content:center;text-align:center}}

