/* ==========================================================================
   CENTRO MÉDICO VIVER KIDS - DESIGN SYSTEM & STYLESHEET
   ========================================================================== */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Outfit:wght@500;600;700;800&display=swap');

:root {
  /* Brand Palette (From Logo) */
  --primary-navy: #0B4A75;
  --primary-navy-dark: #062F4C;
  --primary-navy-light: #16649C;
  
  --cyan-kids: #00A8E8;
  --cyan-light: #E0F7FC;
  --cyan-hover: #0093CD;
  
  --green-accent: #2EC4B6;
  --green-vibrant: #28B463;
  --green-light: #E8F8F5;
  
  --yellow-amber: #FFB703;
  --yellow-light: #FFF8E7;
  
  --red-accent: #E63946;
  --red-light: #FDEDEC;
  
  /* Neutral Palette */
  --bg-page: #F7FAFC;
  --bg-card: #FFFFFF;
  --bg-card-alt: #F1F5F9;
  
  --text-main: #0F172A;
  --text-muted: #475569;
  --text-light: #64748B;
  
  --border-color: #E2E8F0;
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  --border-radius-pill: 9999px;
  
  /* Shadows & Effects */
  --shadow-sm: 0 2px 8px rgba(11, 74, 117, 0.06);
  --shadow-md: 0 8px 24px rgba(11, 74, 117, 0.08);
  --shadow-lg: 0 16px 40px rgba(11, 74, 117, 0.12);
  --shadow-hover: 0 20px 48px rgba(0, 168, 232, 0.18);
  
  --transition-fast: all 0.2s ease;
  --transition-normal: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
}

/* Modo Conforto Sensorial (Accessibility Mode) */
body.sensory-mode {
  --bg-page: #FAF9F6;
  --bg-card: #FFFFFF;
  --text-main: #1C1917;
  --text-muted: #44403C;
  --primary-navy: #1C3D5A;
  --cyan-kids: #0077B6;
  --shadow-md: 0 2px 10px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 4px 14px rgba(0, 0, 0, 0.08);
  letter-spacing: 0.02em;
}

body.sensory-mode * {
  animation: none !important;
  transition: background-color 0.2s ease, color 0.2s ease !important;
}

/* CSS Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

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

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

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================================================
   TOP BAR & ACCESSIBILITY STRIP
   ========================================================================== */
/* ==========================================================================
   TOP BAR & ACCESSIBILITY STRIP
   ========================================================================== */
.top-bar {
  background-color: var(--primary-navy-dark);
  color: #E2E8F0;
  font-size: 0.78rem;
  padding: 0.25rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.top-info {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.top-info-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.top-info-item i {
  color: var(--cyan-kids);
}

.accessibility-toggle {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.12);
  padding: 0.15rem 0.6rem;
  border-radius: var(--border-radius-pill);
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition-fast);
  color: #FFF;
  font-weight: 500;
  font-size: 0.75rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.accessibility-toggle:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* ==========================================================================
   MAIN NAVBAR (ALTURA COMPACTA)
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  padding: 0.35rem 0;
  gap: 1rem;
  width: 100%;
}

/* Brand Logo (Official Image) */
.brand-logo-wrapper {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.main-logo-img {
  width: 170px;
  height: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.2s ease;
}

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

.footer-logo-white {
  width: 170px;
  height: auto;
  display: block;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.95;
  transition: opacity 0.2s ease;
}

.footer-logo-white:hover {
  opacity: 1;
}

/* Nav Links - Compact Height Capsule */
.nav-menu {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.25rem;
  list-style: none;
  background: transparent;
  padding: 0;
  border-radius: 0;
  border: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-link {
  font-weight: 600;
  color: var(--text-muted);
  font-size: 0.85rem;
  padding: 0.4rem 0.85rem;
  border-radius: var(--border-radius-pill);
  transition: var(--transition-fast);
  display: block;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--cyan-kids);
  background-color: var(--cyan-light);
}

.nav-link.active {
  color: #FFFFFF;
  background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-navy-light) 100%);
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(11, 74, 117, 0.2);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--border-radius-pill);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-normal);
  border: none;
  text-decoration: none;
  line-height: 1.2;
}

.btn-primary {
  background: linear-gradient(135deg, var(--cyan-kids) 0%, #0088C4 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(0, 168, 232, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0096D1 0%, #0077AC 100%);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #1EBE5B 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  background: linear-gradient(135deg, #20BA5A 0%, #189E4B 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.45);
}

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

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

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary-navy);
  cursor: pointer;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
/* ==========================================================================
   HERO ROTATING BANNER (3 SLIDES COM CORES DA MARCA)
   ========================================================================== */
.hero-slider-section {
  position: relative;
  overflow: hidden;
  height: 720px;
  background-color: var(--bg-page);
}

.hero-slides-wrapper {
  display: flex;
  width: 300%;
  height: 100%;
  transition: transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.hero-slide {
  width: 33.33333%;
  height: 100%;
  flex-shrink: 0;
  padding: 4rem 0;
  display: flex;
  align-items: center;
  position: relative;
}

/* Background Gradients com as Cores Reais da Marca (Extraídas da Logomarca Oficial) */
.slide-1 {
  background: linear-gradient(135deg, #06263F 0%, #0A436C 50%, #0B5585 100%);
  color: #FFFFFF;
}

.slide-2 {
  background: linear-gradient(135deg, #07385E 0%, #0F5E4E 50%, #197B55 100%);
  color: #FFFFFF;
}

.slide-3 {
  background: linear-gradient(135deg, #08213B 0%, #5E1420 50%, #8C1C28 100%);
  color: #FFFFFF;
}

/* Ajustes de Tipografia & Badges para Fundo Escuro das Cores da Marca */
.hero-slide .hero-title {
  color: #FFFFFF !important;
}

.slide-1 .hero-title span.highlight {
  color: #38D2F8 !important;
}

.slide-2 .hero-title span.highlight {
  color: #45E6B5 !important;
}

.slide-3 .hero-title span.highlight {
  color: #FFB703 !important;
}

.hero-slide .hero-description {
  color: #E2E8F0 !important;
}

.hero-slide .hero-badge {
  background: rgba(255, 255, 255, 0.15) !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  backdrop-filter: blur(8px);
}

.hero-slide .trust-val {
  color: #FFFFFF !important;
}

.hero-slide .trust-lbl {
  color: #CBD5E1 !important;
}

.hero-slide .hero-trust-row-new {
  border-top: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.slide-1 .trust-icon-cyan { color: #38D2F8 !important; }
.slide-2 .trust-icon-cyan { color: #45E6B5 !important; }
.slide-3 .trust-icon-cyan { color: #FFB703 !important; }

/* Botões Customizados por Slide */
.btn-hero-cyan {
  background: var(--cyan-kids);
  color: #FFFFFF !important;
  border-radius: 9999px;
  padding: 0.85rem 1.85rem;
  font-weight: 700;
  font-size: 0.98rem;
  box-shadow: 0 8px 22px rgba(0, 168, 232, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  transition: var(--transition-normal);
}

.btn-hero-cyan:hover {
  background: #0096D6;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 168, 232, 0.55);
}

.slide-2 .btn-hero-cyan {
  background: #28B463 !important;
  box-shadow: 0 8px 22px rgba(40, 180, 99, 0.4) !important;
}

.slide-2 .btn-hero-cyan:hover {
  background: #239B56 !important;
}

.slide-3 .btn-hero-cyan {
  background: #FFB703 !important;
  color: #08213B !important;
  font-weight: 800 !important;
  box-shadow: 0 8px 22px rgba(255, 183, 3, 0.4) !important;
}

.slide-3 .btn-hero-cyan:hover {
  background: #FFA000 !important;
}

.btn-hero-navy-outline {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF !important;
  border: 2px solid rgba(255, 255, 255, 0.8);
  padding: 0.8rem 1.75rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: var(--transition-normal);
  backdrop-filter: blur(6px);
}

.btn-hero-navy-outline:hover {
  background: #FFFFFF;
  color: var(--primary-navy) !important;
  border-color: #FFFFFF;
}

/* Setas de Navegação do Hero Slider */
.hero-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.8);
  color: var(--primary-navy);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition-fast);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.hero-nav-btn:hover {
  background: #FFFFFF;
  color: var(--cyan-kids);
  transform: translateY(-50%) scale(1.1);
}

.hero-prev {
  left: 1.5rem;
}

.hero-next {
  right: 1.5rem;
}

/* Indicadores de Pontos (Dots) */
.hero-slider-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.6rem;
  z-index: 10;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: var(--transition-fast);
}

.hero-dot.active {
  width: 32px;
  border-radius: var(--border-radius-pill);
  background: #FFFFFF;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #E0F7FC;
  color: var(--primary-navy);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.4rem 1rem;
  border-radius: var(--border-radius-pill);
  margin-bottom: 1.25rem;
  border: 1px solid rgba(0, 168, 232, 0.25);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background-color: var(--green-vibrant);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(40, 180, 99, 0.2);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--primary-navy);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero-title span.highlight {
  color: var(--cyan-kids);
  position: relative;
  display: inline-block;
}

.hero-description {
  font-size: 1.08rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 600px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

/* Trust Row do Novo Estilo */
.hero-trust-row-new {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(11, 74, 117, 0.12);
}

.trust-item-new {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.trust-icon-cyan {
  font-size: 1.85rem;
  color: var(--cyan-kids);
}

.trust-val {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary-navy);
  display: block;
  line-height: 1.1;
}

.trust-lbl {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
  display: block;
}

/* Ambient Ring & Floating Puzzle Decoration around Media Card */
.hero-media-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-ambient-ring {
  position: absolute;
  width: 500px;
  height: 500px;
  border: 2px solid rgba(0, 168, 232, 0.25);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}

.hero-floating-puzzle {
  position: absolute;
  font-size: 2.5rem;
  opacity: 0.35;
  filter: drop-shadow(0 4px 10px rgba(0, 168, 232, 0.3));
  z-index: 1;
  animation: floatPuzzle 4s ease-in-out infinite alternate;
}

.puzzle-1 {
  top: 10%;
  left: -5%;
}

.puzzle-2 {
  bottom: 15%;
  right: -5%;
  animation-delay: 2s;
}

@keyframes floatPuzzle {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(-12px) rotate(10deg); }
}

.hero-image-card {
  position: relative;
  z-index: 2;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(11, 74, 117, 0.15);
  border: 4px solid #FFFFFF;
}

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

/* Hero Emblem Wrapper (Sem Quadrado & Sem Contorno) */
.hero-emblem-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 440px;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
}

.emblema-equipe-img {
  width: 100%;
  max-height: 440px;
  object-fit: contain;
  filter: drop-shadow(0 15px 30px rgba(0, 168, 232, 0.3));
  transition: transform 0.4s ease;
}

.hero-emblem-wrapper:hover .emblema-equipe-img {
  transform: scale(1.05) rotate(2deg);
}

.hero-floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 1.25rem;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.8);
  z-index: 2;
}

.floating-card-1 {
  bottom: -20px;
  left: -20px;
}

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

.floating-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.icon-yellow { background: var(--yellow-light); color: var(--yellow-amber); }
.icon-green { background: var(--green-light); color: var(--green-accent); }

.floating-text h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary-navy);
}

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

/* ==========================================================================
   TRIAGEM QUIZ SECTION (HIGH CONVERSION)
   ========================================================================== */
.triagem-section {
  padding: 5rem 0;
  background: linear-gradient(180deg, var(--bg-page) 0%, #EBF4FA 100%);
}

.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 3rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--cyan-kids);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--primary-navy);
  line-height: 1.2;
  margin-bottom: 0.85rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* Quiz Card Container */
.quiz-card {
  background-color: var(--bg-card);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 2.5rem;
  max-width: 850px;
  margin: 0 auto;
  border: 1px solid var(--border-color);
  position: relative;
}

.quiz-progress-bar {
  height: 6px;
  background-color: #E2E8F0;
  border-radius: 3px;
  margin-bottom: 2rem;
  overflow: hidden;
}

.quiz-progress-fill {
  height: 100%;
  width: 33.33%;
  background: linear-gradient(90deg, var(--cyan-kids), var(--green-accent));
  transition: width 0.4s ease;
}

.quiz-step-indicator {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-light);
}

.quiz-step-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 1.5rem;
}

.quiz-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.quiz-option-card {
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 1.25rem;
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: var(--bg-card);
}

.quiz-option-card:hover {
  border-color: var(--cyan-kids);
  background-color: var(--cyan-light);
  transform: translateY(-2px);
}

.quiz-option-card.selected {
  border-color: var(--cyan-kids);
  background-color: var(--cyan-light);
  box-shadow: 0 4px 12px rgba(0, 168, 232, 0.15);
}

.quiz-checkbox {
  width: 20px;
  height: 20px;
  border: 2px solid #CBD5E1;
  border-radius: 4px;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFF;
  font-size: 0.75rem;
  transition: var(--transition-fast);
}

.quiz-option-card.selected .quiz-checkbox {
  background-color: var(--cyan-kids);
  border-color: var(--cyan-kids);
}

.quiz-option-card i {
  font-size: 1.35rem;
  color: var(--primary-navy);
}

.quiz-option-text h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 0.25rem;
}

.quiz-option-text p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.quiz-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
}

/* Quiz Result Box */
.quiz-result-box {
  display: none;
  text-align: center;
  padding: 1rem 0;
}

.quiz-result-box.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

.result-icon {
  width: 64px;
  height: 64px;
  background: var(--green-light);
  color: var(--green-vibrant);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1rem;
}

.result-tags {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin: 1.25rem 0;
}

.result-tag {
  background: var(--cyan-light);
  color: var(--primary-navy);
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: var(--border-radius-pill);
  font-size: 0.85rem;
}

/* ==========================================================================
   ESPECIALIDADES SECTION
   ========================================================================== */
.especialidades-section {
  padding: 5rem 0;
  background-color: var(--bg-card);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.service-card {
  background-color: var(--bg-page);
  border-radius: var(--border-radius-md);
  padding: 2rem;
  border: 1px solid var(--border-color);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 168, 232, 0.4);
}

.service-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
}

.card-navy { background-color: rgba(11, 74, 117, 0.1); color: var(--primary-navy); }
.card-cyan { background-color: rgba(0, 168, 232, 0.12); color: var(--cyan-kids); }
.card-green { background-color: rgba(46, 196, 182, 0.12); color: var(--green-accent); }
.card-yellow { background-color: rgba(255, 183, 3, 0.15); color: #D97706; }
.card-red { background-color: rgba(230, 57, 70, 0.12); color: var(--red-accent); }

.service-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 0.75rem;
}

.service-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-topics {
  list-style: none;
  margin-bottom: 1.5rem;
}

.service-topics li {
  font-size: 0.85rem;
  color: var(--text-main);
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Services Tab Navigation */
.services-tab-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.service-tab-btn {
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  color: var(--primary-navy);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  padding: 0.85rem 1.85rem;
  border-radius: var(--border-radius-pill);
  cursor: pointer;
  transition: var(--transition-fast);
  box-shadow: var(--shadow-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.service-tab-btn:hover,
.service-tab-btn.active {
  background: var(--primary-navy);
  color: #FFFFFF;
  border-color: var(--primary-navy);
  box-shadow: 0 10px 25px rgba(11, 74, 117, 0.25);
  transform: translateY(-2px);
}

.service-tab-btn.active i {
  color: var(--yellow-amber);
}

.services-tab-pane {
  display: none;
}

.services-tab-pane.active {
  display: block;
  animation: fadeIn 0.4s ease forwards;
}

/* Services Grid & Chip Cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.35rem;
}

.service-chip-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 1.25rem 1.35rem;
  display: flex;
  align-items: flex-start;
  gap: 1.15rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-chip-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--cyan-kids);
}

.service-chip-card.highlight-card {
  border-left: 4px solid var(--cyan-kids);
  background: linear-gradient(135deg, #FFFFFF 0%, #F0F9FF 100%);
}

.service-chip-card.exam-card {
  border-left: 4px solid var(--yellow-amber);
  background: linear-gradient(135deg, #FFFFFF 0%, #FFFDF5 100%);
}

.chip-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--cyan-light);
  color: var(--primary-navy);
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 168, 232, 0.15);
}

.exam-card .chip-icon {
  background: #FEF3C7;
  color: #D97706;
}

.chip-info h4 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 0.35rem;
  line-height: 1.3;
}

.chip-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.services-carousel-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  padding-bottom: 0.75rem;
}

.services-carousel-track::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.service-card-slide {
  flex: 0 0 calc(33.333% - 1rem);
  scroll-snap-align: start;
  min-width: 290px;
}

@media (max-width: 992px) {
  .service-card-slide {
    flex: 0 0 calc(50% - 0.75rem);
  }
}

@media (max-width: 640px) {
  .service-card-slide {
    flex: 0 0 100%;
  }
}

/* ==========================================================================
   REEMBOLSO GUIADO SECTION
   ========================================================================== */
.reembolso-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--primary-navy-dark) 0%, var(--primary-navy) 100%);
  color: #FFFFFF;
}

.reembolso-section .section-tag {
  color: var(--cyan-kids);
}

.reembolso-section .section-title {
  color: #FFFFFF;
}

.reembolso-section .section-subtitle {
  color: #CBD5E1;
}

.reembolso-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.reembolso-steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.reembolso-step-item {
  display: flex;
  gap: 1.25rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.25rem;
  border-radius: var(--border-radius-md);
  backdrop-filter: blur(10px);
}

.step-number {
  width: 40px;
  height: 40px;
  background: var(--cyan-kids);
  color: #FFF;
  border-radius: 50%;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.step-content h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
  color: #FFF;
}

.step-content p {
  font-size: 0.9rem;
  color: #CBD5E1;
}

.reembolso-box-card {
  background: #FFFFFF;
  color: var(--text-main);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.reembolso-box-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--primary-navy);
  margin-bottom: 1rem;
}

/* ==========================================================================
   ESTRUTURA & GALERIA
   ========================================================================== */
.estrutura-section {
  padding: 5rem 0;
  background-color: var(--bg-page);
}

/* Gallery Filter Tabs */
.gallery-filter-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.gallery-tab-btn {
  background: var(--bg-card);
  border: 1.5px solid var(--border-color);
  color: var(--primary-navy);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.5rem 1.25rem;
  border-radius: var(--border-radius-pill);
  cursor: pointer;
  transition: var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.gallery-tab-btn:hover,
.gallery-tab-btn.active {
  background: var(--cyan-kids);
  color: #FFFFFF;
  border-color: var(--cyan-kids);
  box-shadow: 0 6px 16px rgba(0, 168, 232, 0.3);
}

.estrutura-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.gallery-card {
  background: var(--bg-card);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 168, 232, 0.3);
}

.gallery-img-wrapper {
  height: 280px;
  overflow: hidden;
  position: relative;
  background: #F1F5F9;
  cursor: pointer;
}

.gallery-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-card:hover .gallery-img-wrapper img {
  transform: scale(1.06);
}

.gallery-zoom-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 74, 117, 0.5);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(3px);
  z-index: 2;
}

.gallery-img-wrapper:hover .gallery-zoom-overlay {
  opacity: 1;
}

/* Fullscreen Lightbox Modal */
.gallery-lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 36, 62, 0.92);
  backdrop-filter: blur(10px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  padding: 1.5rem;
}

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

.lightbox-content {
  position: relative;
  max-width: 900px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img-container {
  max-height: 75vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  border: 3px solid rgba(255, 255, 255, 0.2);
}

.lightbox-img-container img {
  max-height: 75vh;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  border-radius: var(--border-radius-lg);
}

.lightbox-caption {
  margin-top: 1.25rem;
  text-align: center;
  color: #FFFFFF;
}

.lightbox-caption h4 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 0.35rem;
}

.lightbox-caption p {
  font-size: 0.95rem;
  color: #CBD5E1;
  max-width: 650px;
}

.lightbox-close-btn {
  position: absolute;
  top: -45px;
  right: 0;
  background: none;
  border: none;
  color: #FFFFFF;
  font-size: 2.5rem;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.lightbox-close-btn:hover {
  transform: scale(1.2);
  color: var(--cyan-kids);
}

.lightbox-nav-btn {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  color: var(--primary-navy);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  z-index: 10;
}

.lightbox-nav-btn:hover {
  background: var(--cyan-kids);
  color: #FFFFFF;
  transform: translateY(-50%) scale(1.1);
}

.lightbox-prev { left: -60px; }
.lightbox-next { right: -60px; }

@media (max-width: 768px) {
  .lightbox-prev { left: 0.5rem; top: 40%; }
  .lightbox-next { right: 0.5rem; top: 40%; }
  .lightbox-close-btn { top: -40px; right: 0.5rem; }
}

.gallery-card-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.gallery-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--cyan-light);
  color: var(--primary-navy);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: var(--border-radius-pill);
  width: fit-content;
}

.gallery-card-info h4 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-navy);
}

.gallery-card-info p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.estrutura-image-container {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid #FFF;
}

.estrutura-image-container img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

/* ==========================================================================
   CORPO CLÍNICO
   ========================================================================== */
/* ==========================================================================
   CORPO CLÍNICO MULTIDISCIPLINAR (+ DE 50 PROFISSIONAIS)
   ========================================================================== */
/* ==========================================================================
   CORPO CLÍNICO MULTIDISCIPLINAR (+ DE 50 PROFISSIONAIS - DESIGN OFICIAL)
   ========================================================================== */
.equipe-section {
  padding: 4rem 0;
  background-color: var(--bg-page);
}

.team-hero-banner {
  background: linear-gradient(135deg, #05243E 0%, #0B3A60 100%);
  border-radius: 28px;
  padding: 3.5rem 3rem 2.5rem;
  color: #FFFFFF;
  box-shadow: 0 20px 50px rgba(11, 58, 96, 0.25);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 168, 232, 0.2);
}

.team-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}

@media (max-width: 992px) {
  .team-hero-grid {
    grid-template-columns: 1fr;
  }
}

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

.team-top-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 168, 232, 0.2);
  color: #FFFFFF;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.35rem 1rem;
  border-radius: var(--border-radius-pill);
  border: 1px solid rgba(0, 168, 232, 0.35);
  letter-spacing: 0.04em;
}

.team-banner-title {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 1.25rem 0 0.5rem;
  line-height: 1.15;
}

.highlight-yellow {
  color: var(--yellow-amber);
}

.yellow-line-accent {
  width: 48px;
  height: 4px;
  background: var(--yellow-amber);
  border-radius: 2px;
  margin: 0.75rem 0 1.25rem;
}

.team-banner-subtitle {
  font-size: 0.98rem;
  color: #CBD5E1;
  line-height: 1.65;
  margin-bottom: 1.75rem;
}

/* 3 Stat Boxes */
.team-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.75rem;
}

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

.team-stat-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.25rem 0.75rem;
  border-radius: 16px;
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.35rem;
}

.stat-icon {
  font-size: 1.5rem;
  color: var(--yellow-amber);
}

.team-stat-box .stat-number {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--yellow-amber);
}

.team-stat-box .stat-label {
  font-size: 0.78rem;
  color: #E2E8F0;
  font-weight: 600;
  line-height: 1.3;
}

/* Main White Pill CTA Button */
.team-cta-wrapper {
  margin-bottom: 1.25rem;
}

.btn-team-white-cta {
  background: #FFFFFF;
  color: #062A48 !important;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 0.45rem 1.5rem 0.45rem 0.45rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  transition: var(--transition-normal);
  text-decoration: none;
}

.btn-team-white-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.3);
  background: #F8FAFC;
}

.cta-icon-circle {
  width: 40px;
  height: 40px;
  background: var(--yellow-amber);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #062A48;
  font-size: 1.1rem;
}

.cta-arrow {
  margin-left: auto;
  font-size: 0.85rem;
  color: #062A48;
}

/* 3 Sub-Badges */
.team-sub-badges-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.sub-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #CBD5E1;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
}

.sub-badge-item i {
  color: var(--yellow-amber);
}

/* Right Column Doctor Card with Yellow Arch Backdrop */
.diretor-medico-card {
  background: #F4F6F9;
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 500px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.yellow-arch-backdrop {
  position: absolute;
  top: 100px;
  left: -20px;
  width: 120%;
  height: 320px;
  background: var(--yellow-amber);
  border-radius: 50% 50% 0 0;
  z-index: 1;
}

.diretor-img-wrapper {
  position: relative;
  z-index: 2;
  height: 380px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-bottom: -45px;
}

.diretor-img-wrapper img {
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: bottom center;
}

.diretor-info-floating {
  position: relative;
  z-index: 3;
  background: #FFFFFF;
  border-radius: 18px;
  padding: 1.25rem 1.5rem;
  margin: 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  text-align: left;
}

.diretor-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #E0F2FE;
  color: #0284C7;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.2rem 0.75rem;
  border-radius: 9999px;
  text-transform: uppercase;
}

.diretor-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: #0F172A;
  margin: 0.35rem 0 0.1rem;
}

.diretor-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0284C7;
}

.doc-line-yellow {
  width: 32px;
  height: 3px;
  background: var(--yellow-amber);
  border-radius: 2px;
  margin: 0.5rem 0;
}

.diretor-crm {
  font-size: 0.85rem;
  font-weight: 600;
  color: #64748B;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* Bottom 4 Feature Cards Bar */
.team-bottom-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 992px) {
  .team-bottom-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.feature-item-box {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.feature-icon {
  font-size: 1.75rem;
  color: var(--yellow-amber);
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-text-content h4 {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--yellow-amber);
  margin-bottom: 0.25rem;
}

.feature-text-content p {
  font-size: 0.83rem;
  color: #CBD5E1;
  line-height: 1.45;
}

/* ==========================================================================
   ESPECIALISTAS SECTION (BUSCA + CARROSSEL ROTATIVO)
   ========================================================================== */
.especialistas-section {
  padding: 5.5rem 0;
  background: linear-gradient(180deg, #F8FAFC 0%, #EFF6FF 100%);
  position: relative;
}

.especialistas-search-wrapper {
  max-width: 920px;
  margin: 0 auto 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.search-input-box {
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
}

.search-input-box .search-icon {
  position: absolute;
  left: 1.25rem;
  color: var(--cyan-kids);
  font-size: 1.15rem;
}

.search-input-box input {
  width: 100%;
  padding: 1rem 3rem 1rem 3.25rem;
  border-radius: var(--border-radius-pill);
  border: 2px solid rgba(0, 168, 232, 0.25);
  background: #FFFFFF;
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--primary-navy);
  box-shadow: 0 8px 24px rgba(11, 74, 117, 0.08);
  transition: var(--transition-fast);
}

.search-input-box input:focus {
  outline: none;
  border-color: var(--cyan-kids);
  box-shadow: 0 10px 30px rgba(0, 168, 232, 0.22);
}

.clear-search-btn {
  position: absolute;
  right: 1.25rem;
  background: rgba(11, 74, 117, 0.1);
  border: none;
  color: var(--primary-navy);
  font-size: 1.2rem;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.spec-filter-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
}

.spec-pill {
  background: #FFFFFF;
  border: 1.5px solid rgba(11, 74, 117, 0.15);
  color: var(--primary-navy);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.45rem 1.15rem;
  border-radius: var(--border-radius-pill);
  cursor: pointer;
  transition: var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.spec-pill:hover,
.spec-pill.active {
  background: var(--primary-navy);
  color: #FFFFFF;
  border-color: var(--primary-navy);
  box-shadow: 0 6px 18px rgba(11, 74, 117, 0.25);
}

/* Carousel Container */
.especialistas-carousel-container {
  position: relative;
  overflow: hidden;
  padding: 0.5rem 0.5rem 1.5rem;
}

.especialistas-track {
  display: flex;
  gap: 1.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0.5rem 0.25rem 1rem;
  scrollbar-width: none;
}

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

/* Specialist Cards */
.spec-card {
  flex: 0 0 calc(33.333% - 1.2rem);
  min-width: 310px;
  scroll-snap-align: start;
  background: #FFFFFF;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(11, 74, 117, 0.08);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.spec-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(11, 74, 117, 0.16);
  border-color: var(--cyan-kids);
}

.spec-img-box {
  height: 310px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #E0F7FC 0%, #EBF7FC 100%);
}

.spec-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s ease;
}

.spec-card:hover .spec-img-box img {
  transform: scale(1.05);
}

.spec-badge-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(5, 36, 62, 0.88);
  color: #FFFFFF;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: var(--border-radius-pill);
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.spec-card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.spec-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 0.2rem;
}

.spec-crp {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--cyan-kids);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.spec-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.spec-tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.spec-tags-cloud span {
  background: var(--cyan-light);
  color: var(--primary-navy);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.65rem;
  border-radius: var(--border-radius-sm);
}

.spec-card-footer {
  margin-top: auto;
}

.btn-spec-cta {
  width: 100%;
  background: #25D366;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.75rem;
  border-radius: var(--border-radius-pill);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.3);
  transition: var(--transition-fast);
}

.btn-spec-cta:hover {
  background: #1EBE57;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.45);
  color: #FFFFFF;
}

/* Nav Buttons for Specialist Carousel */
.spec-carousel-btn {
  position: absolute;
  top: 48%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  color: var(--primary-navy);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 8px 20px rgba(11, 74, 117, 0.15);
  transition: var(--transition-fast);
}

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

.spec-prev { left: 0.25rem; }
.spec-next { right: 0.25rem; }

.no-search-results {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--primary-navy);
}

.no-search-results i {
  font-size: 3rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.no-search-results h4 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.no-search-results p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

@media (max-width: 992px) {
  .spec-card {
    flex: 0 0 calc(50% - 0.9rem);
  }
}

@media (max-width: 640px) {
  .spec-card {
    flex: 0 0 100%;
    min-width: 100%;
  }
  .spec-prev { left: -0.25rem; }
  .spec-next { right: -0.25rem; }
}

/* ==========================================================================
   DEPOIMENTOS (PROVA SOCIAL)
   ========================================================================== */
.depoimentos-section {
  padding: 5rem 0;
  background: var(--cyan-light);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background-color: var(--bg-card);
  padding: 2rem;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0, 168, 232, 0.15);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.rating-stars {
  color: var(--yellow-amber);
  margin-bottom: 1rem;
  font-size: 1rem;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-main);
  font-style: italic;
  margin-bottom: 1.5rem;
}

.author-info {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

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

.author-details h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-navy);
}

.author-details p {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-section {
  padding: 5rem 0;
  background-color: var(--bg-card);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.faq-question {
  padding: 1.25rem 1.5rem;
  background: var(--bg-page);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--primary-navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

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

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

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background: #FFF;
}

.faq-item.active .faq-answer {
  padding: 1.25rem 1.5rem;
  max-height: 300px;
  border-top: 1px solid var(--border-color);
}

/* ==========================================================================
   CONTATO & LOCALIZAÇÃO
   ========================================================================== */
.contato-section {
  padding: 5rem 0;
  background-color: var(--bg-page);
}

.contato-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contato-form-card {
  background: var(--bg-card);
  padding: 2.5rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--primary-navy);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  outline: none;
  transition: var(--transition-fast);
}

.form-control:focus {
  border-color: var(--cyan-kids);
  box-shadow: 0 0 0 3px rgba(0, 168, 232, 0.15);
}

.info-cards {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.info-card-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--bg-card);
  padding: 1.25rem;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.info-card-item i {
  font-size: 1.5rem;
  color: var(--cyan-kids);
  margin-top: 3px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
  background-color: var(--primary-navy-dark);
  color: #94A3B8;
  padding: 4rem 0 2rem;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  color: #FFF;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
}

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

.footer-links a:hover {
  color: var(--cyan-kids);
}

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

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: #FFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: var(--transition-normal);
  text-decoration: none;
}

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

/* Modal Overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 74, 117, 0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.modal-card {
  background: #FFF;
  border-radius: var(--border-radius-lg);
  max-width: 600px;
  width: 90%;
  padding: 2.5rem;
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

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

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-light);
}

/* ==========================================================================
   SISTEMA DE RESPONSIVIDADE COMPLETO (100% RESPONSIVO)
   ========================================================================== */

/* Breakpoint 1024px (Laptops Pequenos & Tablets Horizontais) */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.35rem;
  }
  
  .hero-description {
    font-size: 1.05rem;
  }

  .hero-grid {
    gap: 2.5rem;
  }
}

/* Breakpoint 992px (Tablets & Mobile Menu Activation) */
@media (max-width: 992px) {
  .top-bar {
    padding: 0.4rem 0;
  }

  .top-bar-inner {
    flex-direction: column;
    gap: 0.35rem;
    text-align: center;
    padding: 0.35rem 0.75rem;
  }

  .top-info {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    width: 100%;
  }

  .top-info-item {
    justify-content: center;
    text-align: center;
    font-size: 0.76rem;
    line-height: 1.35;
  }

  .top-address-item span {
    display: inline-block;
    max-width: 100%;
    word-break: break-word;
  }

  .top-actions {
    justify-content: center;
  }

  .mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: #FFFFFF;
    flex-direction: column;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    display: none;
    border-radius: 0 0 var(--border-radius-md) var(--border-radius-md);
    border: none;
    border-top: 1px solid var(--border-color);
    gap: 0.5rem;
    z-index: 999;
  }

  .nav-menu .nav-link {
    width: 100%;
    text-align: center;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
  }

  .nav-menu.active {
    display: flex;
  }

  /* Hero Slider Mobile Adaptations */
  .hero-slider-section {
    height: auto;
    min-height: 520px;
  }

  .hero-slide {
    padding: 3rem 0 4rem;
    height: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-content {
    text-align: center;
  }

  .hero-badge {
    margin: 0 auto 1.25rem;
  }

  .hero-description {
    margin: 0 auto 1.75rem;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-trust-row {
    justify-content: center;
  }

  .hero-nav-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .hero-prev {
    left: 0.5rem;
  }

  .hero-next {
    right: 0.5rem;
  }

  /* Sections Mobile Grids */
  .reembolso-grid,
  .estrutura-grid,
  .contato-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

/* Breakpoint 640px (Mobile portrait & Celulares Pequenos) */
@media (max-width: 640px) {
  .container {
    padding: 0 1.25rem;
  }

  .hero-title {
    font-size: 1.85rem;
    line-height: 1.25;
  }

  .hero-description {
    font-size: 0.95rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-trust-row {
    flex-direction: flex-wrap;
    gap: 1rem;
    justify-content: space-around;
  }

  .trust-number {
    font-size: 1.25rem;
  }

  .trust-label {
    font-size: 0.75rem;
  }

  .hero-media-wrapper {
    margin-top: 1rem;
  }

  .hero-image-card img {
    height: 280px;
  }

  .hero-floating-card {
    position: relative;
    bottom: auto;
    left: auto;
    margin-top: -1.5rem;
    justify-content: center;
  }

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

  .section-subtitle {
    font-size: 0.95rem;
  }

  .section-header-carousel {
    flex-direction: column;
    align-items: flex-start;
  }

  .carousel-controls {
    align-self: flex-end;
  }

  .estrutura-gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-img-wrapper {
    height: 220px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  /* Form control font size fix for mobile Safari zoom */
  .form-control, input, select, textarea {
    font-size: 16px !important;
  }

  .whatsapp-float {
    width: 52px;
    height: 52px;
    font-size: 1.75rem;
    bottom: 1.25rem;
    right: 1.25rem;
  }
}

/* ==========================================================================
   SCROLL-TRIGGERED REVEAL ANIMATIONS (FLUIDO & 100% RESPONSIVO)
   ========================================================================== */
.scroll-reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.98);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Delay Helpers for Staggered Sequence */
.scroll-reveal.delay-1 { transition-delay: 0.1s; }
.scroll-reveal.delay-2 { transition-delay: 0.2s; }
.scroll-reveal.delay-3 { transition-delay: 0.3s; }
.scroll-reveal.delay-4 { transition-delay: 0.4s; }
.scroll-reveal.delay-5 { transition-delay: 0.5s; }

/* Directional Variant Helpers */
.scroll-reveal.reveal-left {
  transform: translateX(-30px);
}

.scroll-reveal.reveal-right {
  transform: translateX(30px);
}

.scroll-reveal.reveal-left.revealed,
.scroll-reveal.reveal-right.revealed {
  transform: translateX(0);
}

/* Reduced Motion for Accessibility */
@media (prefers-reduced-motion: reduce) {
  .scroll-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
