/* ==========================================================================
   DESIGN SYSTEM & CSS VARIABLES (Dr. Pedro Henrique Morais)
   Integrated Header, Seamless Hero Banner & 8-Item Education Grid
   ========================================================================== */

:root {
  /* Color Palette */
  --primary-dark: #0F2A38;
  /* Rich Dark Teal Hero Theme */
  --primary-navy: #0B192C;
  /* Deepest Navy */
  --primary-blue: #0284C7;
  /* Modern Electric Blue */
  --teal-accent: #0F766E;
  /* Deep Surgical Teal */
  --teal-bright: #14B8A6;
  /* Vibrant Medical Mint */
  --teal-soft: #EEFCFB;
  /* Soft Mint Background Tint */
  --gold-accent: #D97706;
  /* Warm Gold Accent */

  --bg-light: #F8FAFC;
  /* Pristine Slate Tint */
  --bg-card: #FFFFFF;
  /* Pure White Card */

  --text-main: #0F172A;
  /* Charcoal Black */
  --text-muted: #475569;
  /* Slate Grey */
  --text-light: #F8FAFC;
  /* White */

  --border-light: #E2E8F0;
  --border-focus: #0284C7;

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --base-font-size: 1rem;

  /* Shadows & Elevation */
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 35px -10px rgba(15, 23, 42, 0.12);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 36px;
  --radius-full: 9999px;

  --transition-fast: 0.2s ease;
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset & Accessibility Standards */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: var(--base-font-size);
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-light);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Skip Navigation Link for Screen Readers */
.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  background: var(--primary-dark);
  color: #FFFFFF;
  padding: 12px 24px;
  z-index: 10000;
  border-radius: var(--radius-sm);
  font-weight: 700;
  text-decoration: none;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 20px;
  outline: 3px solid var(--teal-bright);
}

:focus-visible {
  outline: 3px solid var(--border-focus);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Lucide Icon Helpers */
.lucide-icon {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  display: inline-block;
  vertical-align: middle;
}

.lucide-icon-lg {
  width: 28px;
  height: 28px;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--primary-dark);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.8rem);
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 0.8rem;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--teal-soft);
  color: var(--teal-accent);
  border: 1px solid rgba(13, 148, 136, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 55px auto;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent;
  z-index: 1000;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.header.scrolled {
  background: rgba(15, 42, 56, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 86px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: #FFFFFF;
}

.brand-logo-img {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  padding: 0;
  box-shadow: none;
}

.brand-svg-logo {
  height: 34px;
  width: auto;
  display: block;
}

.brand-text strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  line-height: 1.1;
  color: #FFFFFF;
}

.brand-text span {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  position: relative;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 4px 0;
  transition: color var(--transition-fast);
}

.nav-link:hover,
.nav-link:focus,
.nav-link.active {
  color: var(--teal-bright);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--teal-bright);
  border-radius: 2px;
  transition: width 0.25s ease;
  box-shadow: 0 0 8px rgba(45, 212, 191, 0.6);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.mobile-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 1.5rem;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all var(--transition-fast);
  min-height: 48px;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--teal-bright), var(--teal-accent));
  color: #FFFFFF;
  box-shadow: 0 4px 20px rgba(20, 184, 166, 0.35);
}

.btn-primary:hover,
.btn-primary:focus {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(20, 184, 166, 0.45);
}

.btn-secondary {
  background: #FFFFFF;
  color: var(--primary-dark);
  border: 1.5px solid var(--border-light);
}

.btn-secondary:hover,
.btn-secondary:focus {
  border-color: var(--teal-accent);
  color: var(--teal-accent);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #047857;
  color: #FFFFFF;
  box-shadow: 0 4px 18px rgba(4, 120, 87, 0.25);
}

.btn-whatsapp:hover,
.btn-whatsapp:focus {
  background: #065F46;
  transform: translateY(-2px);
}

/* ==========================================================================
   SLANTED SHAPE DIVIDERS (DIVISÓRIAS EM LINHA RETA INCLINADA ENTRE SEÇÕES)
   ========================================================================== */
.shape-divider {
  position: absolute;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  pointer-events: none;
  z-index: 2;
}

.shape-divider-top {
  top: -1px;
}

.shape-divider-bottom {
  bottom: -1px;
}

.shape-divider svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 55px;
}

@media (min-width: 1280px) {
  .shape-divider svg {
    height: 70px;
  }
}

@media (max-width: 768px) {
  .shape-divider svg {
    height: 30px;
  }
}

.shape-fill-white {
  fill: #FFFFFF;
}

.shape-fill-light {
  fill: var(--bg-light);
}

.shape-fill-dark {
  fill: var(--primary-dark);
}

.shape-fill-footer {
  fill: var(--primary-dark);
}

.shape-fill-atendimento {
  fill: #EEF2F6;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  padding: 160px 0 120px 0;
  background-color: #0F2A38;
  background-image:
    linear-gradient(90deg, #0F2A38 0%, #0F2A38 42%, rgba(15, 42, 56, 0.85) 58%, rgba(11, 25, 44, 0.35) 80%, transparent 100%),
    url('assets/images/dr-pedro-henrique-hero-banner.jpg');
  background-repeat: no-repeat;
  background-position: right center;
  background-size: cover;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-spacer {
  width: 100%;
  pointer-events: none;
}

.hero-subtag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--teal-bright);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 18px;
  background: rgba(45, 212, 191, 0.1);
  border: 1px solid rgba(45, 212, 191, 0.25);
  padding: 6px 14px;
  border-radius: 999px;
}

.hero-subtag .lucide-icon {
  width: 16px;
  height: 16px;
  color: var(--teal-bright);
}

.hero-title {
  color: #FFFFFF;
  margin-bottom: 22px;
  font-size: clamp(2.3rem, 4vw, 3.4rem);
  line-height: 1.18;
  font-weight: 800;
  font-family: var(--font-heading);
}

.hero-title span {
  background: linear-gradient(135deg, #2DD4BF, #38BDF8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 38px;
  max-width: 620px;
  line-height: 1.7;
}

.hero-pillars-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.hero-pillar-pill {
  font-size: 0.86rem;
  font-weight: 700;
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 5px 14px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  letter-spacing: 0.02em;
}

.hero-pillar-dot {
  color: var(--teal-bright);
  font-size: 1rem;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 38px;
}

.hero-meta-inline {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  flex-wrap: wrap;
}

.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.925rem;
  font-weight: 600;
}

.hero-meta-item .lucide-icon {
  color: var(--teal-bright);
}

/* ==========================================================================
   ESPECIALIDADES & PROCEDIMENTOS AVANÇADOS (4 DESTAQUES + OUTROS)
   ========================================================================== */
.specialties-section {
  position: relative;
  padding: 110px 0 120px 0;
  background-color: #F8FAFC;
  overflow: hidden;
}

.section-badge {
  display: inline-block;
  background: rgba(20, 184, 166, 0.1);
  color: var(--teal-accent);
  border: 1px solid rgba(20, 184, 166, 0.28);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}

.specialties-subtitle {
  font-size: 1.1rem;
  color: #64748B;
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.65;
}

/* GRADE DOS 4 BLOCOS PRINCIPAIS */
.treatment-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.treatment-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 6px 20px rgba(15, 42, 56, 0.04);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.3s ease;
}

.treatment-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 36px rgba(15, 42, 56, 0.1);
  border-color: #CBD5E1;
}

.treatment-card-media {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #0F2A38;
}

.treatment-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.treatment-card:hover .treatment-card-img {
  transform: scale(1.06);
}

.treatment-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 42, 56, 0.1) 0%, rgba(15, 42, 56, 0.5) 100%);
  pointer-events: none;
}

.treatment-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(15, 42, 56, 0.88);
  color: #2DD4BF;
  border: 1px solid rgba(45, 212, 191, 0.35);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.treatment-card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.treatment-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #0F2A38;
  margin-bottom: 10px;
  line-height: 1.35;
}

.treatment-desc {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.treatment-card-footer {
  border-top: 1px solid #F1F5F9;
  padding-top: 16px;
}

.btn-veja-mais {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #0F766E;
  background: rgba(20, 184, 166, 0.08);
  border: 1px solid rgba(20, 184, 166, 0.28);
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.22s ease;
  font-family: inherit;
}

.btn-veja-mais .lucide-icon {
  width: 16px;
  height: 16px;
  transition: transform 0.22s ease;
}

.btn-veja-mais:hover {
  background: #0F766E;
  color: #FFFFFF;
  border-color: #0F766E;
}

.btn-veja-mais:hover .lucide-icon {
  transform: translateX(3px);
}

/* OUTROS TRATAMENTOS CONTAINER (COLAPSÁVEL) */
.other-treatments-container {
  margin-top: 64px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 24px;
  box-shadow: 0 6px 24px rgba(15, 42, 56, 0.03);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.other-treatments-container:hover {
  border-color: #CBD5E1;
}

.other-treatments-container.is-expanded {
  box-shadow: 0 14px 36px rgba(15, 42, 56, 0.07);
  border-color: rgba(45, 212, 191, 0.45);
}

.other-treatments-trigger {
  width: 100%;
  padding: 34px 36px;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  text-align: left;
  transition: background-color 0.25s ease;
}

.other-treatments-trigger:hover {
  background-color: rgba(248, 250, 252, 0.85);
}

.other-treatments-trigger:focus-visible {
  outline: 2px solid var(--teal-accent);
  outline-offset: -2px;
}

.other-treatments-title-group {
  flex: 1;
}

.other-treatments-badge {
  display: inline-block;
  background: rgba(14, 165, 233, 0.1);
  color: #0284C7;
  border: 1px solid rgba(14, 165, 233, 0.25);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.other-treatments-heading {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 700;
  color: #0F2A38;
  margin-bottom: 8px;
}

.other-treatments-desc {
  font-size: 1rem;
  color: #64748B;
  max-width: 680px;
  line-height: 1.6;
  margin: 0;
}

.other-treatments-action {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.other-treatments-action-text {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: #0F766E;
  transition: color 0.2s ease;
}

.other-treatments-chevron-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #F1F5F9;
  color: #0F2A38;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.other-treatments-trigger:hover .other-treatments-chevron-circle {
  background: rgba(20, 184, 166, 0.15);
  color: #0F766E;
}

.other-treatments-trigger[aria-expanded="true"] .other-treatments-chevron-circle {
  transform: rotate(180deg);
  background: var(--teal-accent);
  color: #FFFFFF;
}

/* CSS Grid Smooth Height Collapse */
.other-treatments-collapse {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.38s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  opacity: 0;
}

.other-treatments-collapse.is-expanded {
  grid-template-rows: 1fr;
  opacity: 1;
}

.other-treatments-collapse-inner {
  overflow: hidden;
  padding: 0 36px 36px 36px;
}

.other-treatments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 10px;
}

.other-card {
  display: flex;
  gap: 18px;
  padding: 24px;
  background: #F8FAFC;
  border-radius: 16px;
  border: 1px solid #E2E8F0;
  transition: all 0.25s ease;
}

.other-card:hover {
  background: #FFFFFF;
  border-color: #CBD5E1;
  box-shadow: 0 10px 24px rgba(15, 42, 56, 0.06);
  transform: translateY(-3px);
}

.other-card-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 12px;
  background: rgba(20, 184, 166, 0.1);
  color: #0F766E;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.other-card-icon .lucide-icon {
  width: 24px;
  height: 24px;
}

.other-card-body h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #0F2A38;
  margin-bottom: 8px;
}

.other-card-body p {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}

/* ==========================================================================
   SEÇÃO DE VÍDEOS & ENTREVISTAS (CLEAN & SEM POLUIÇÃO)
   ========================================================================== */
.videos-section {
  position: relative;
  padding: 110px 0 130px 0;
  background: #FFFFFF;
  overflow: hidden;
}

.videos-subtitle {
  font-size: 1.1rem;
  color: #64748B;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.65;
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 48px;
  margin-bottom: 48px;
}

.video-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(15, 42, 56, 0.04);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}

.video-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(15, 42, 56, 0.08);
  border-color: #CBD5E1;
}

.video-thumb-container {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #0F2A38;
}

.video-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.video-card:hover .video-thumb-img {
  transform: scale(1.05);
}

.video-thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 42, 56, 0.2) 0%, rgba(15, 42, 56, 0.6) 100%);
  pointer-events: none;
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: rgba(15, 42, 56, 0.85);
  border: 2px solid rgba(45, 212, 191, 0.8);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-play-btn .play-icon {
  width: 26px;
  height: 26px;
  fill: #FFFFFF;
  margin-left: 3px;
  transition: transform 0.25s ease;
}

.video-card:hover .video-play-btn {
  transform: translate(-50%, -50%) scale(1.12);
  background: #0F766E;
  border-color: #2DD4BF;
  box-shadow: 0 0 30px rgba(45, 212, 191, 0.5);
}

.video-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(15, 42, 56, 0.9);
  color: #38BDF8;
  border: 1px solid rgba(56, 189, 248, 0.35);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.video-card-body {
  padding: 26px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.video-card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #0F2A38;
  margin-bottom: 10px;
  line-height: 1.4;
}

.video-card-desc {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.video-card-footer {
  border-top: 1px solid #F1F5F9;
  padding-top: 14px;
}

.btn-watch-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 700;
  color: #0F766E;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s ease;
  font-family: inherit;
}

.btn-watch-link .lucide-icon {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.btn-watch-link:hover {
  color: #115E59;
}

.btn-watch-link:hover .lucide-icon {
  transform: translateX(4px);
}

/* YOUTUBE CHANNEL STRIP (DISCRETO & ELEGANTE) */
.youtube-channel-strip {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.yt-strip-content {
  display: flex;
  align-items: center;
  gap: 20px;
}

.yt-strip-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 14px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.yt-brand-svg {
  width: 28px;
  height: 28px;
}

.yt-strip-text h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: #0F2A38;
  margin-bottom: 4px;
  font-weight: 700;
}

.yt-strip-text p {
  font-size: 0.92rem;
  color: #64748B;
  margin: 0;
}

.btn-youtube-clean {
  background: #CC0000;
  color: #FFFFFF;
  border-radius: 10px;
  padding: 12px 22px;
  font-size: 0.92rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(204, 0, 0, 0.25);
  transition: all 0.25s ease;
}

.btn-youtube-clean:hover,
.btn-youtube-clean:focus-visible {
  background: #990000;
  box-shadow: 0 6px 18px rgba(153, 0, 0, 0.35);
  transform: translateY(-2px);
  color: #FFFFFF;
}

.btn-youtube-clean .lucide-icon {
  width: 16px;
  height: 16px;
}

/* ==========================================================================
   MODAIS INTERATIVOS: DETALHES DE TRATAMENTO & PLAYER DE VÍDEO
   ========================================================================== */
.treatment-modal-card,
.modal-card.treatment-modal-card {
  max-width: 980px !important;
  width: 92% !important;
  max-height: min(88vh, 740px);
  padding: 0 !important;
  border-radius: 24px;
  overflow: hidden;
  background: #FFFFFF;
  box-shadow: 0 25px 60px -15px rgba(11, 25, 44, 0.35);
  display: flex;
  flex-direction: column;
}

.treatment-modal-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  height: 100%;
  max-height: min(88vh, 740px);
  overflow: hidden;
}

.treatment-modal-media {
  position: relative;
  background: #0F2A38;
  height: 100%;
  min-height: 100%;
  overflow: hidden;
}

.treatment-modal-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.treatment-modal-body {
  padding: 36px 36px 32px 36px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  min-width: 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #CBD5E1 transparent;
}

.treatment-modal-body::-webkit-scrollbar {
  width: 6px;
}

.treatment-modal-body::-webkit-scrollbar-track {
  background: transparent;
}

.treatment-modal-body::-webkit-scrollbar-thumb {
  background-color: #CBD5E1;
  border-radius: 4px;
}

.treatment-modal-heading {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: #0F2A38;
  margin-bottom: 4px;
  padding-right: 36px;
}

.treatment-modal-sub {
  font-size: 0.92rem;
  color: #0F766E;
  font-weight: 700;
  margin-bottom: 16px;
}

.treatment-modal-text {
  font-size: 0.92rem;
  color: #334155;
  line-height: 1.65;
  margin-bottom: 20px;
}

.treatment-modal-benefits h4 {
  font-size: 0.95rem;
  color: #0F2A38;
  font-weight: 700;
  margin-bottom: 10px;
}

.treatment-benefits-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.treatment-benefits-list li {
  font-size: 0.88rem;
  color: #475569;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}

.treatment-benefits-list li::before {
  content: "✓";
  color: var(--teal-accent);
  font-weight: 800;
  font-size: 0.95rem;
}

.treatment-modal-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 16px;
}

.treatment-modal-actions .btn {
  flex: 1;
  min-width: 160px;
  justify-content: center;
}

/* VIDEO MODAL PLAYER */
.video-modal-card,
.modal-card.video-modal-card {
  max-width: 800px !important;
  width: 92% !important;
  max-height: min(90vh, 720px);
  padding: 32px !important;
  border-radius: 22px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.video-modal-header {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.video-modal-header .video-tag {
  position: relative;
  top: auto;
  left: auto;
  display: inline-flex;
  align-items: center;
  margin-bottom: 12px;
  background: #0F2A38;
  color: #38BDF8;
  border: 1px solid rgba(56, 189, 248, 0.35);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.video-modal-heading {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  line-height: 1.35;
  color: #0F2A38;
  margin-top: 0;
  padding-right: 48px;
}

.video-modal-player-wrap {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 14px;
  overflow: hidden;
  background: #0F2A38;
  margin-bottom: 20px;
}

.video-modal-player-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.video-file-notice {
  margin-top: 14px;
  padding: 12px 16px;
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  border-radius: 10px;
  font-size: 0.84rem;
  line-height: 1.5;
  color: #92400E;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.video-file-notice svg {
  color: #D97706;
  margin-top: 2px;
}

.video-modal-desc-wrap {
  margin-top: 16px;
}

.video-modal-desc-wrap p {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 8px;
}

.video-modal-subtext {
  font-size: 0.85rem;
  color: #94A3B8;
}

.video-modal-footer-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #F1F5F9;
}

.btn-yt-modal {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #1E293B;
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.btn-yt-modal:hover {
  background: #F8FAFC;
  border-color: #CBD5E1;
  color: #0F2A38;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* ==========================================================================
   RECOGNITION & AWARDS
   ========================================================================== */
.recognition {
  position: relative;
  padding: 110px 0 130px 0;
  background: var(--primary-dark);
  color: #FFFFFF;
  overflow: hidden;
}

.recognition>.container {
  position: relative;
  z-index: 3;
}

.recognition .section-tag {
  background: rgba(20, 184, 166, 0.15);
  color: var(--teal-bright);
  border-color: rgba(20, 184, 166, 0.3);
}

.recognition h2 {
  color: #FFFFFF;
}

.recognition p {
  color: rgba(255, 255, 255, 0.85);
}

/* ==========================================================================
   RECOGNITION ACCORDION (CURRÍCULO, PRÊMIOS, PUBLICAÇÕES)
   ========================================================================== */
.recognition-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 40px;
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
}

.recognition-accordion-item {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-fast);
  backdrop-filter: blur(8px);
}

.recognition-accordion-item:hover {
  border-color: rgba(20, 184, 166, 0.35) !important;
}

.recognition-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 28px;
  background: transparent !important;
  border: none;
  cursor: pointer;
  text-align: left;
  color: #FFFFFF !important;
  font-family: var(--font-heading);
  font-size: 1.18rem;
  font-weight: 700;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.recognition-trigger:hover {
  background: rgba(255, 255, 255, 0.04) !important;
}

.recognition-trigger:focus-visible {
  outline: 2px solid var(--teal-bright);
  outline-offset: -2px;
}

.rec-trigger-title {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #FFFFFF !important;
}

.rec-trigger-title .lucide-icon {
  width: 24px;
  height: 24px;
  color: var(--teal-bright);
  flex-shrink: 0;
}

.recognition-trigger .chevron-icon {
  width: 22px;
  height: 22px;
  color: rgba(255, 255, 255, 0.6);
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color var(--transition-fast);
}

.recognition-trigger[aria-expanded="true"] {
  background: rgba(20, 184, 166, 0.08) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.recognition-trigger[aria-expanded="true"] .chevron-icon {
  transform: rotate(180deg);
  color: var(--teal-bright);
}

.accordion-panel[aria-hidden="true"] {
  display: none !important;
}

.accordion-panel[aria-hidden="false"] {
  display: block;
  animation: panelFadeIn 0.3s ease-out;
}

@keyframes panelFadeIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.recognition-panel {
  padding: 30px 28px;
  background: transparent !important;
  color: #FFFFFF !important;
}

/* 1. CURRÍCULO LIST IN COLLAPSE */
.education-list-collapse,
.education-grid-collapse {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 48px;
}

.edu-collapse-item,
.edu-collapse-card {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0;
  padding: 18px 2px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all var(--transition-fast);
}

.edu-collapse-item:hover,
.edu-collapse-card:hover {
  background: transparent;
  border-bottom-color: rgba(20, 184, 166, 0.5);
  transform: none;
}

.edu-collapse-item .edu-icon-box,
.edu-collapse-card .edu-icon-box {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: rgba(20, 184, 166, 0.12);
  border: 1px solid rgba(20, 184, 166, 0.3);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-bright);
  transition: all var(--transition-fast);
}

.edu-collapse-item:hover .edu-icon-box,
.edu-collapse-card:hover .edu-icon-box {
  background: rgba(20, 184, 166, 0.22);
  border-color: var(--teal-bright);
}

.edu-collapse-item .edu-body,
.edu-collapse-card .edu-body {
  flex-grow: 1;
}

.edu-collapse-item .edu-title,
.edu-collapse-card .edu-title {
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 3px 0;
  line-height: 1.35;
}

.edu-collapse-item .edu-institution,
.edu-collapse-card .edu-institution {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
  line-height: 1.5;
  margin: 0;
}

/* 2. PRÊMIOS ACADÊMICOS IN COLLAPSE */
.awards-collapse-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.award-collapse-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  transition: all var(--transition-fast);
}

.award-collapse-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(245, 158, 11, 0.5);
  transform: translateY(-2px);
}

.award-collapse-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #F59E0B;
}

.award-collapse-title {
  color: #FFFFFF !important;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 8px 0;
  line-height: 1.35;
}

.award-collapse-desc {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0;
}

.award-collapse-desc strong {
  color: var(--teal-bright);
}

/* 3. PUBLICAÇÕES IN COLLAPSE */
.pub-list-collapse {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  max-height: 620px;
  overflow-y: auto;
  padding-right: 14px;
}

/* Custom Scrollbar for dark theme publications list */
.pub-list-collapse::-webkit-scrollbar {
  width: 7px;
}

.pub-list-collapse::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}

.pub-list-collapse::-webkit-scrollbar-thumb {
  background: rgba(20, 184, 166, 0.35);
  border-radius: 4px;
}

.pub-list-collapse::-webkit-scrollbar-thumb:hover {
  background: rgba(20, 184, 166, 0.6);
}

.pub-list-collapse .pub-item {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0;
  padding: 22px 2px 24px 2px;
  transition: border-color var(--transition-fast);
}

.pub-list-collapse .pub-item:first-child {
  padding-top: 6px;
}

.pub-list-collapse .pub-item:last-child {
  border-bottom: none;
  padding-bottom: 6px;
}

.pub-list-collapse .pub-item:hover {
  background: transparent;
  border-bottom-color: rgba(20, 184, 166, 0.5);
  transform: none;
}

.pub-list-collapse .pub-header-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.pub-list-collapse .pub-year-badge {
  padding: 3px 12px;
  background: rgba(20, 184, 166, 0.18);
  color: var(--teal-bright);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 800;
  border: 1px solid rgba(20, 184, 166, 0.35);
}

.pub-list-collapse .pub-pmid-tag {
  padding: 3px 12px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.75);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  font-family: monospace;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.pub-list-collapse .pub-item h3,
.pub-list-collapse .pub-item h4 {
  font-size: 1.05rem;
  color: #FFFFFF !important;
  line-height: 1.45;
  margin: 6px 0;
  font-weight: 700;
}

.pub-list-collapse .pub-journal {
  font-size: 0.88rem;
  color: var(--teal-bright);
  font-weight: 600;
  font-style: italic;
  margin-bottom: 8px;
}

.pub-list-collapse .pub-summary {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 14px;
}

.pub-list-collapse .pub-link-wrap {
  margin-top: 4px;
}

.pub-list-collapse .pub-direct-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--teal-bright);
  background: rgba(20, 184, 166, 0.12);
  padding: 7px 16px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(20, 184, 166, 0.3);
  text-decoration: none;
  font-family: monospace;
  transition: all var(--transition-fast);
}

.pub-list-collapse .pub-direct-link:hover,
.pub-list-collapse .pub-direct-link:focus {
  background: var(--teal-bright);
  color: var(--primary-dark);
  border-color: var(--teal-bright);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(20, 184, 166, 0.35);
}

/* ==========================================================================
   ATENDIMENTO SECTION (CLÍNICA INSPIRE COM MAPA PERSONALIZADO)
   ========================================================================== */
.atendimento {
  position: relative;
  padding: 110px 0 125px 0;
  background-color: #EEF2F6;
  background-image: url('assets/images/mapa-atendimento-cinza.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.atendimento::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 45%, rgba(238, 242, 246, 0.78) 0%, rgba(238, 242, 246, 0.95) 100%);
  z-index: 1;
  pointer-events: none;
}

.atendimento-container {
  position: relative;
  z-index: 2;
}

.atendimento-content {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.atendimento-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 680px;
  margin: 0 auto 36px auto;
}

.atendimento-card-wrapper {
  display: inline-flex;
  position: relative;
  justify-content: center;
}

.atendimento-card {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding: 18px 32px;
  background: #FFFFFF;
  border: 1px solid rgba(15, 42, 56, 0.12);
  border-radius: var(--radius-xl);
  text-align: left;
  transition: all var(--transition-fast);
  box-shadow: 0 14px 35px rgba(15, 42, 56, 0.08), 0 2px 8px rgba(15, 42, 56, 0.04);
  text-decoration: none !important;
  color: inherit !important;
  cursor: pointer;
  position: relative;
}

.atendimento-card:hover,
.atendimento-card:focus-visible {
  background: #FFFFFF;
  border-color: var(--teal-accent);
  box-shadow: 0 20px 48px rgba(15, 42, 56, 0.14), 0 0 30px rgba(13, 148, 136, 0.18);
  transform: translateY(-3px);
  outline: none;
}

.atendimento-card:focus-visible {
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.35), 0 20px 48px rgba(15, 42, 56, 0.14);
}

.atendimento-card:hover .atendimento-icon,
.atendimento-card:focus-visible .atendimento-icon {
  background: var(--teal-accent);
  color: #FFFFFF;
  border-color: var(--teal-accent);
  transform: scale(1.08);
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.35);
}

/* Tooltip 'Mostrar no mapa' */
.atendimento-tooltip {
  position: absolute;
  bottom: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: #0F2A38;
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 12px 30px -4px rgba(15, 42, 56, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.12);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.24s cubic-bezier(0.16, 1, 0.3, 1), transform 0.24s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.24s;
  z-index: 40;
}

.atendimento-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: #0F2A38 transparent transparent transparent;
}

.atendimento-tooltip .tooltip-icon {
  color: var(--teal-bright);
}

.atendimento-tooltip .tooltip-arrow-ext {
  color: rgba(255, 255, 255, 0.65);
  transition: transform 0.2s ease;
}

.atendimento-card:hover .atendimento-tooltip,
.atendimento-card:focus-visible .atendimento-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.atendimento-card:hover .atendimento-tooltip .tooltip-arrow-ext {
  transform: translate(2px, -2px);
  color: #FFFFFF;
}

.atendimento-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(13, 148, 136, 0.1);
  border: 1px solid rgba(13, 148, 136, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-accent);
  flex-shrink: 0;
}

.atendimento-icon .lucide-icon {
  width: 26px;
  height: 26px;
}

.atendimento-clinic-name {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--primary-dark) !important;
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.atendimento-divider {
  width: 1px;
  align-self: stretch;
  min-height: 48px;
  background: rgba(15, 42, 56, 0.12);
  flex-shrink: 0;
  margin: 2px 0;
}

.atendimento-address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-align: left;
}

.atendimento-address strong {
  display: block;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--primary-dark);
  letter-spacing: 0.01em;
}

.atendimento-address span {
  display: block;
  font-size: 0.88rem;
  color: var(--teal-accent);
  font-weight: 700;
}

.atendimento-address .atendimento-reference {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 1px;
}

/* ==========================================================================
   PATIENT REVIEWS
   ========================================================================== */
.reviews {
  padding: 100px 0 135px 0;
  background: var(--bg-light);
  position: relative;
  overflow: hidden;
}

.reviews>.container {
  position: relative;
  z-index: 2;
}

.review-stars {
  color: #F59E0B;
  display: flex;
  gap: 4px;
  margin-bottom: 14px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.review-card {
  background: #FFFFFF;
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.review-card .review-bg-icon {
  position: absolute;
  right: 15px;
  top: 15px;
  width: 80px;
  height: 80px;
  stroke: var(--teal-accent);
  opacity: 0.05;
  pointer-events: none;
}

.review-quote {
  font-style: italic;
  color: var(--text-main);
  margin-bottom: 24px;
  flex-grow: 1;
  font-size: 0.975rem;
  line-height: 1.6;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-author-avatar {
  width: 42px;
  height: 42px;
  background: var(--teal-soft);
  color: var(--teal-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.review-author strong {
  display: block;
  font-family: var(--font-heading);
  color: var(--primary-dark);
}

.review-author span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   PRICING TABLE
   ========================================================================== */
.pricing {
  padding: 100px 0;
  background: #FFFFFF;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 30px;
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.pricing-table th,
.pricing-table td {
  padding: 20px 28px;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
}

.pricing-table th {
  background: var(--primary-dark);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 1.05rem;
}

.pricing-table tr:hover {
  background: var(--teal-soft);
}

.price-tag {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--teal-accent);
  font-size: 1.2rem;
}



/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: var(--primary-dark);
  color: #FFFFFF;
  padding: 85px 0 40px 0;
  border-bottom: 4px solid var(--teal-bright);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  margin-top: 18px;
  font-size: 0.95rem;
}

.footer-col h4 {
  color: #FFFFFF;
  margin-bottom: 22px;
  font-size: 1.1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-links a:hover,
.footer-links a:focus {
  color: var(--teal-bright);
}

.footer-phone-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all var(--transition-fast);
}

.footer-phone-link:hover,
.footer-phone-link:focus {
  color: #FFFFFF;
}

.phone-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  line-height: 1.25;
  letter-spacing: 0.02em;
}

.phone-badge-whatsapp {
  background: rgba(37, 211, 102, 0.15);
  color: #25D366;
  border: 1px solid rgba(37, 211, 102, 0.35);
}

.footer-phone-link:hover .phone-badge-whatsapp {
  background: rgba(37, 211, 102, 0.25);
  border-color: #25D366;
}

.phone-badge-fixo {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.footer-phone-link:hover .phone-badge-fixo {
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

/* FLOATING DOCTORALIA / WHATSAPP CTAS ONLY */
.floating-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 9999;
}

.floating-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg);
  color: white;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform var(--transition-fast);
}

.floating-btn:hover,
.floating-btn:focus {
  transform: scale(1.04);
}

.floating-doctoralia {
  background: var(--teal-accent);
}

.floating-whatsapp {
  background: #047857;
}

/* MODAL DIALOG */
.modal-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  height: 100dvh;
  background: rgba(11, 25, 44, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-fast), visibility var(--transition-fast);
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  padding: 32px 16px;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: #FFFFFF;
  width: 100%;
  max-width: 520px;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  position: relative;
  margin: auto;
  transform: translateY(20px);
  transition: transform var(--transition-fast);
  box-sizing: border-box;
}

.modal-overlay.active .modal-card {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #1E293B;
  z-index: 50;
  transition: all 0.2s ease;
  padding: 0;
}

.modal-close:hover {
  background: #F8FAFC;
  color: #0F2A38;
  transform: scale(1.06);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}

.modal-close:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

.modal-close svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2.2;
}

/* ==========================================================================
   RESPONSIVE DESIGN & MOBILE OPTIMIZATIONS
   ========================================================================== */

/* Prevent horizontal scroll across viewports */
html,
body {
  overflow-x: hidden !important;
  width: 100% !important;
  position: relative;
}

/* Tablet Layouts (768px - 1150px) */
@media (max-width: 1150px) and (min-width: 768px) {
  .hero {
    background-image:
      linear-gradient(90deg, #0F2A38 0%, #0F2A38 48%, rgba(15, 42, 56, 0.85) 64%, rgba(15, 42, 56, 0.20) 84%, transparent 100%),
      url('assets/images/dr-pedro-henrique-hero-banner.jpg');
    background-position: 85% center;
    background-size: cover;
  }

  .hero-content {
    max-width: 520px;
  }

  .treatment-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .hero {
    padding: 125px 0 70px 0;
    background-image:
      linear-gradient(180deg, rgba(15, 42, 56, 0.65) 0%, rgba(15, 42, 56, 0.90) 55%, #0F2A38 95%),
      url('assets/images/dr-pedro-henrique-hero-banner.jpg');
    background-repeat: no-repeat;
    background-position: 68% 12%;
    background-size: cover;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-spacer {
    display: none;
  }

  .treatment-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .other-treatments-grid {
    grid-template-columns: 1fr;
  }

  .videos-grid {
    grid-template-columns: 1fr;
  }

  .treatment-modal-card,
  .modal-card.treatment-modal-card {
    max-width: 580px !important;
    width: 100% !important;
    max-height: none;
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    padding: 0 !important;
  }

  .treatment-modal-grid {
    display: flex;
    flex-direction: column;
    height: auto;
    max-height: none;
    overflow: visible;
  }

  .treatment-modal-media {
    height: 220px;
    min-height: 220px;
    max-height: 220px;
    width: 100%;
    flex-shrink: 0;
  }

  .treatment-modal-body {
    padding: 24px 20px;
    overflow-y: visible;
  }

  .hero-title {
    max-width: 100%;
  }

  .hero-description {
    max-width: 100%;
  }

  .mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #FFFFFF;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
  }

  .mobile-toggle:hover,
  .mobile-toggle:focus {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--teal-bright);
  }

  /* Fullscreen Backdrop Blur Mobile Hamburger Menu */
  .nav-menu {
    position: fixed;
    top: 86px;
    left: 0;
    width: 100vw;
    height: calc(100vh - 86px);
    background: rgba(11, 25, 44, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 40px 24px;
    gap: 16px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 9999;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    overflow-y: auto;
  }

  .nav-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-actions {
    margin-left: 0.5rem;
  }

  .nav-menu .nav-link {
    font-size: 1.2rem;
    font-weight: 700;
    color: #FFFFFF;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    width: 100%;
    text-align: center;
    display: block;
    transition: background var(--transition-fast), color var(--transition-fast);
  }

  .nav-menu .nav-link:hover,
  .nav-menu .nav-link:focus {
    background: rgba(20, 184, 166, 0.15);
    color: var(--teal-bright);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Mobile Responsive Layouts (< 768px) */
@media (max-width: 768px) {
  .container {
    padding: 0 18px;
  }

  .section-header {
    margin-bottom: 35px;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .hero {
    padding: 125px 0 70px 0;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-title {
    font-size: 2.1rem;
    max-width: 100%;
  }

  .hero-description {
    max-width: 100%;
  }

  .treatment-cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .other-treatments-container {
    margin-top: 48px;
    border-radius: 20px;
  }

  .other-treatments-trigger {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 20px;
    gap: 16px;
  }

  .other-treatments-action {
    width: 100%;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid #F1F5F9;
  }

  .other-treatments-collapse-inner {
    padding: 0 20px 24px 20px;
  }

  .youtube-channel-strip {
    flex-direction: column;
    align-items: stretch;
    padding: 24px 20px;
    gap: 18px;
  }

  .btn-youtube-clean {
    width: 100%;
    justify-content: center;
  }

  .treatment-modal-body {
    padding: 22px 18px;
  }

  .treatment-modal-actions {
    flex-direction: column;
    gap: 10px;
    padding-top: 14px;
    border-top: 1px solid #F1F5F9;
  }

  .treatment-modal-actions .btn {
    width: 100%;
    padding: 13px 18px;
  }

  .video-modal-card {
    padding: 24px 18px;
    max-height: none;
    border-radius: 18px;
  }

  /* Grids Stacked Cleanly */
  .cards-grid,
  .reviews-grid,
  .education-grid,
  .about-grid {
    grid-template-columns: 1fr !important;
    gap: 32px;
  }

  .about {
    padding: 60px 0;
  }

  .about-intro-col h2 {
    font-size: 1.75rem;
  }

  .specialties {
    padding: 80px 0 85px 0;
    background-image: none !important;
  }

  .specialties-focus-tags {
    gap: 8px;
    margin-top: 14px;
  }

  .focus-tag {
    font-size: 0.82rem;
    padding: 6px 12px;
  }

  .recognition {
    padding: 75px 0 85px 0;
  }

  .reviews {
    padding: 75px 0 110px 0;
  }

  .atendimento {
    padding: 75px 0 85px 0;
  }

  .atendimento-desc {
    font-size: 1rem;
    margin-bottom: 24px;
  }

  .atendimento-card {
    flex-direction: column;
    text-align: center;
    gap: 14px;
    padding: 24px 20px;
    width: 100%;
    max-width: 440px;
    box-sizing: border-box;
  }

  .atendimento-divider {
    display: none;
  }

  .atendimento-clinic-name {
    font-size: 1.35rem;
    white-space: normal;
  }

  .atendimento-address {
    text-align: center;
  }

  .atendimento-address strong {
    font-size: 0.92rem;
    line-height: 1.4;
  }

  .atendimento-address span {
    font-size: 0.84rem;
  }

  .atendimento-address .atendimento-reference {
    font-size: 0.8rem;
  }

  /* Publications Banner Mobile */
  .publications-banner {
    flex-direction: column;
    text-align: center;
    padding: 26px 20px;
    gap: 20px;
  }

  .publications-info {
    max-width: 100%;
  }

  .btn-pub-modal-trigger {
    width: 100%;
  }

  /* Pricing Table Stacked Mobile Layout (< 600px) */
}

@media (max-width: 600px) {
  .hero-title {
    max-width: 50%;
  }

  .hero-description {
    max-width: 70%;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  .about-intro-col h2 {
    font-size: 1.5rem;
  }

  .about-cta .btn {
    width: 100%;
    justify-content: center;
  }

  .edu-list-card {
    padding: 12px 14px;
    gap: 12px;
  }

  .edu-list-card .edu-icon-box {
    width: 30px;
    height: 30px;
  }

  .edu-list-card .edu-icon-box svg,
  .edu-list-card .edu-icon-box .lucide-icon {
    width: 30px;
    height: 30px;
  }

  .edu-list-card .edu-title {
    font-size: 0.96rem;
  }

  .edu-list-card .edu-institution {
    font-size: 0.82rem;
  }

  .pricing-table,
  .pricing-table thead,
  .pricing-table tbody,
  .pricing-table th,
  .pricing-table td,
  .pricing-table tr {
    display: block;
    width: 100% !important;
    box-sizing: border-box;
    padding: 0.5rem;
  }

  .pricing-table thead {
    display: none;
  }

  .pricing-table tr {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
  }

  .pricing-table th[scope="row"] {
    background: var(--primary-dark);
    color: #FFFFFF !important;
    border-radius: 0.5rem;
    padding: 10px;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
    text-align: left;
    margin-bottom: 12px;
    border-bottom: none;
  }

  .pricing-table td {
    padding: 8px 10px;
    border-bottom: none;
    font-size: 0.95rem;
    color: var(--text-muted);
    text-align: left;
  }

  .pricing-table td::before {
    content: attr(data-label);
    display: block;
    font-weight: 800;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--teal-accent);
    margin-bottom: 3px;
  }

  .pricing-table td.price-tag {
    font-size: 1.3rem;
    color: var(--primary-blue);
    font-weight: 800;
    margin-top: 8px;
    padding-top: 10px;
    border-top: 1px dashed var(--border-light);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .floating-cta {
    bottom: 16px;
    right: 12px;
    left: 12px;
    flex-direction: row;
    gap: 8px;
  }

  .floating-btn {
    flex: 1;
    padding: 12px 10px;
    font-size: 0.825rem;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
  }

  .floating-btn span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero-photo-seamless::before {
    width: 100%;
    height: 40%;
    background: linear-gradient(to bottom, #0F2A38 0%, transparent 100%);
  }

  /* Recognition Accordion Mobile Adaptation */
  .recognition-trigger {
    padding: 16px 18px;
    font-size: 1.05rem;
  }

  .recognition-panel {
    padding: 20px 14px;
  }

  .education-list-collapse,
  .education-grid-collapse {
    grid-template-columns: 1fr;
    column-gap: 0;
  }

  .awards-collapse-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .edu-collapse-item,
  .edu-collapse-card {
    padding: 14px 2px;
    gap: 14px;
  }

  .award-collapse-card {
    padding: 18px 16px;
    gap: 14px;
  }

  .pub-list-collapse {
    max-height: 520px;
  }

  .pub-list-collapse .pub-item {
    padding: 18px 2px 20px 2px;
  }

  .pub-list-collapse .pub-item h4 {
    font-size: 0.98rem;
  }

  .pub-list-collapse .pub-summary {
    font-size: 0.88rem;
  }

  /* Modal Optimizations for Small Mobile Devices */
  .modal-overlay {
    padding: 12px 10px;
  }

  .modal-card {
    padding: 30px 18px 24px 18px;
    border-radius: 18px;
  }

  .treatment-modal-card {
    border-radius: 18px;
  }

  .treatment-modal-media {
    height: 185px;
    min-height: 185px;
    max-height: 185px;
  }

  .treatment-modal-body {
    padding: 20px 16px 22px 16px;
  }

  .treatment-modal-heading {
    font-size: 1.35rem;
    padding-right: 32px;
  }

  .modal-close {
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
  }

  .modal-close svg {
    width: 18px;
    height: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}