/* ==========================================================================
   Dra. Elisangela Nobre - Fisioterapia Regenerativa & Funcional
   iOS Liquid Glass (Ultra-Modern Editorial NINA Reference Design)
   Identity: Nobre Centro Médico (Luxury Cover, Centered Logo, Full Screen)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Custom Properties & Design Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Color Palette - Identidade Visual Nobre Centro Médico (#55c0d8, #227790, #b48239) */
  --primary-teal-light: #55c0d8;  /* Cyan / Azul Claro Oficial */
  --primary-teal: #227790;        /* Azul Escuro / Teal Profundo Oficial */
  --primary-teal-dark: #175466;   /* Azul Escuro Concentrado */
  --brand-gold: #b48239;          /* Dourado Nobre Oficial */
  --brand-gold-light: #d4a359;    /* Dourado Suave */
  --teal-cyan-glow: #55c0d8;
  --teal-subtle: rgba(85, 192, 216, 0.08);

  /* iOS Liquid Glass Tokens */
  --liquid-glass-bg: rgba(255, 255, 255, 0.7);
  --liquid-glass-bg-hover: rgba(255, 255, 255, 0.9);
  --liquid-glass-border: rgba(255, 255, 255, 0.88);
  --liquid-glass-blur: blur(40px) saturate(220%);
  --liquid-header-blur: blur(48px) saturate(240%);

  /* Canvas Background */
  --bg-canvas: #edf1f4;
  --text-dark: #0f2430;
  --text-body: #2c4250;
  --text-muted: #5a7385;

  /* Fonts */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  /* Radius & Specular Elevation */
  --radius-sm: 16px;
  --radius-md: 24px;
  --radius-lg: 32px;
  --radius-pill: 9999px;

  /* Shadows ajustados para o tom azul/teal oficial */
  --shadow-liquid-sm: 0 10px 30px -10px rgba(34, 119, 144, 0.1), inset 0 1px 1px 0 rgba(255, 255, 255, 0.95);
  --shadow-liquid-md: 0 20px 48px -10px rgba(34, 119, 144, 0.14), inset 0 1.5px 2px 0 rgba(255, 255, 255, 0.95);
  --shadow-liquid-lg: 0 30px 65px -12px rgba(34, 119, 144, 0.2), inset 0 2px 3px 0 rgba(255, 255, 255, 1);
  --shadow-liquid-hover: 0 36px 80px -10px rgba(34, 119, 144, 0.26), inset 0 2.5px 4px 0 rgba(255, 255, 255, 1);

  --transition-liquid: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   2. Base Reset & Ambient Background
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--text-body);
  background-color: var(--bg-canvas);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

/* Universal SVG Constraints */
svg {
  display: block;
  max-width: 100%;
  max-height: 100%;
}

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

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

ul {
  list-style: none;
}

/* Typography Hierarchy */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--text-dark);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.6rem, 5.2vw, 4.2rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(2.1rem, 3.6vw, 2.85rem);
}

h3 {
  font-size: clamp(1.35rem, 2.3vw, 1.75rem);
}

p {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--text-body);
}

.container {
  width: 100%;
  max-width: 1220px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section {
  padding: 7.5rem 0;
  position: relative;
}

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

.section-tagline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary-teal);
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0.5rem 1.35rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-liquid-sm);
  margin-bottom: 1.25rem;
}

.section-header p {
  margin-top: 1.25rem;
  font-size: 1.15rem;
}

/* --------------------------------------------------------------------------
   3. Buttons & CTAs
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2.2rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius-pill);
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition-liquid);
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-teal-light), var(--primary-teal));
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 12px 30px rgba(13, 138, 138, 0.32), inset 0 1.5px 2px rgba(255, 255, 255, 0.6);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-teal), var(--primary-teal-dark));
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 18px 40px rgba(13, 138, 138, 0.42), inset 0 2px 3px rgba(255, 255, 255, 0.8);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: var(--primary-teal);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-liquid-md);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: var(--primary-teal-light);
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--shadow-liquid-hover);
}

.btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   4. Versell Floating Pill Navbar (Referência Anexada)
   -------------------------------------------------------------------------- */
.header-wrapper-pill {
  position: fixed;
  top: 1.25rem;
  left: 0;
  width: 100%;
  z-index: 10000;
  display: flex;
  justify-content: center;
  padding: 0 1.25rem;
}

.header-pill {
  width: 100%;
  max-width: 1120px;
  background: var(--liquid-glass-bg);
  backdrop-filter: var(--liquid-header-blur);
  -webkit-backdrop-filter: var(--liquid-header-blur);
  border: 1px solid var(--liquid-glass-border);
  border-radius: var(--radius-pill);
  padding: 0.5rem 0.6rem 0.5rem 1.4rem;
  box-shadow: var(--shadow-liquid-md);
  transition: var(--transition-liquid);
}

.header-pill.scrolled {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(255, 255, 255, 1);
  box-shadow: var(--shadow-liquid-lg);
}

.header-pill-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: 100%;
}

.header-pill-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.header-pill-logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 2px 8px rgba(13, 138, 138, 0.25));
  transition: transform 0.35s ease;
}

.header-pill-logo:hover .header-pill-logo-img {
  transform: scale(1.08) rotate(3deg);
}

/* Center Nav Links */
.header-pill-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.2rem;
  flex: 1;
}

.header-pill-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-body);
  transition: var(--transition-liquid);
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.header-pill-link:hover, .header-pill-link.active {
  color: var(--primary-teal);
  font-weight: 600;
}

/* Right Actions */
.header-pill-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.header-pill-btn {
  background: linear-gradient(135deg, var(--primary-teal-light), var(--primary-teal));
  color: #ffffff;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.65rem 1.6rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 8px 24px rgba(13, 138, 138, 0.32), inset 0 1.5px 2px rgba(255, 255, 255, 0.6);
  transition: var(--transition-liquid);
  white-space: nowrap;
}

.header-pill-btn:hover {
  background: linear-gradient(135deg, var(--primary-teal), var(--primary-teal-dark));
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 30px rgba(13, 138, 138, 0.42);
  color: #ffffff;
}

/* Mobile Hamburger Toggle Button */
.header-pill-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  transition: var(--transition-liquid);
  outline: none;
}

.header-pill-toggle:hover {
  background: rgba(85, 192, 216, 0.12);
}

.toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--text-dark);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.menu-drawer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2.25rem;
}

.drawer-logo-img {
  height: 48px;
  width: auto;
  filter: drop-shadow(0 4px 12px rgba(85, 192, 216, 0.3));
}

.drawer-brand-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.12em;
}

/* --------------------------------------------------------------------------
   5. Full-Cover Hero Section (Reference NINA Layout)
   -------------------------------------------------------------------------- */
.hero-editorial {
  min-height: 100vh;
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-image: linear-gradient(180deg, rgba(15, 36, 48, 0.55) 0%, rgba(15, 36, 48, 0.72) 100%), url('assets/hero.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #ffffff;
  text-align: center;
  padding: 9rem 2rem 5rem 2rem;
  overflow: hidden;
}

.hero-editorial-content {
  max-width: 880px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-editorial-title {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 5.8vw, 4.8rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 2rem;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.hero-editorial-sub {
  font-size: 1.25rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.94);
  line-height: 1.85;
  max-width: 760px;
  margin-bottom: 2.75rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.hero-editorial-cta {
  margin-top: 1rem;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  z-index: 2;
}

.scroll-line {
  width: 1.5px;
  height: 44px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), transparent);
  animation: scrollLinePulse 2s infinite ease-in-out;
}

@keyframes scrollLinePulse {
  0% { transform: scaleY(0.4); opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(0.4); opacity: 0.4; }
}

/* --------------------------------------------------------------------------
   6. Full-Screen Liquid Glass Slide-In Menu Overlay
   -------------------------------------------------------------------------- */
.menu-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(36px) saturate(200%);
  -webkit-backdrop-filter: blur(36px);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

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

.menu-drawer-close {
  position: absolute;
  top: 2.5rem;
  right: 3.5rem;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-liquid);
}

.menu-drawer-close:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: rotate(90deg);
}

.menu-drawer-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.25rem;
}

.menu-drawer-link {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  color: #ffffff;
  letter-spacing: 0.05em;
  transition: var(--transition-liquid);
}

.menu-drawer-link:hover {
  color: var(--primary-teal-light);
  transform: scale(1.08);
}

/* --------------------------------------------------------------------------
   7. Treatments Section
   -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
   Treatments Grid (Reference Card Style)
   -------------------------------------------------------------------------- */
.treatments-reference-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.25rem;
}

.treatment-ref-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-liquid-md);
  border: 1px solid var(--liquid-glass-border);
  transition: var(--transition-liquid);
  display: flex;
  flex-direction: column;
}

.treatment-ref-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-liquid-hover);
  border-color: rgba(85, 192, 216, 0.4);
}

.treatment-card-media {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.treatment-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.treatment-ref-card:hover .treatment-card-media img {
  transform: scale(1.07);
}

.card-pill-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--text-dark);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.95);
  z-index: 2;
}

.treatment-card-body {
  padding: 1.85rem 1.6rem 1.6rem 1.6rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.treatment-card-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.treatment-card-text {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.65;
  margin-bottom: 1.6rem;
  flex: 1;
}

.treatment-card-btn {
  width: 100%;
  text-align: center;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(34, 119, 144, 0.22);
  background: rgba(85, 192, 216, 0.06);
  color: var(--primary-teal);
  font-weight: 600;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: var(--transition-liquid);
}

.treatment-card-btn:hover {
  background: linear-gradient(135deg, var(--primary-teal-light), var(--primary-teal));
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 8px 22px rgba(34, 119, 144, 0.35);
  transform: translateY(-2px);
}

.treatment-card-btn svg {
  transition: transform 0.25s ease;
}

.treatment-card-btn:hover svg {
  transform: translateX(4px);
}

.treatment-link:hover svg {
  transform: translateX(5px);
}

/* Secondary Specialities Box */
.specialties-box {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: var(--liquid-glass-blur);
  -webkit-backdrop-filter: var(--liquid-glass-blur);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  border: 1px solid var(--liquid-glass-border);
  box-shadow: var(--shadow-liquid-md);
  text-align: center;
  margin-top: 4.5rem;
}

.specialties-title {
  font-family: var(--font-serif);
  font-size: 1.38rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--text-dark);
  letter-spacing: 0.01em;
}

.specialties-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}

.specialty-item {
  background: rgba(237, 241, 244, 0.65);
  padding: 1.5rem 1rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: inset 0 1px 1.5px rgba(255, 255, 255, 0.9), 0 4px 12px rgba(0, 0, 0, 0.04);
  transition: var(--transition-liquid);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.specialty-item:hover {
  background: #ffffff;
  border-color: var(--primary-teal-light);
  transform: translateY(-5px);
  box-shadow: var(--shadow-liquid-hover);
}

.specialty-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(85, 192, 216, 0.15), rgba(34, 119, 144, 0.06));
  border: 1px solid rgba(85, 192, 216, 0.25);
  color: var(--primary-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 1px 1.5px rgba(255, 255, 255, 0.9), 0 4px 10px rgba(34, 119, 144, 0.08);
  transition: var(--transition-liquid);
}

.specialty-item:hover .specialty-icon {
  background: linear-gradient(135deg, var(--primary-teal-light), var(--primary-teal));
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 8px 20px rgba(34, 119, 144, 0.35);
  transform: scale(1.06);
}

.specialty-icon svg {
  width: 22px !important;
  height: 22px !important;
  max-width: 22px !important;
  max-height: 22px !important;
  stroke: currentColor;
  flex-shrink: 0;
}

.specialty-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
  text-align: center;
  line-height: 1.35;
}

/* --------------------------------------------------------------------------
   8. Clinic Environment Section (A Clínica)
   -------------------------------------------------------------------------- */
.clinic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.clinic-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--liquid-glass-bg);
  backdrop-filter: var(--liquid-glass-blur);
  -webkit-backdrop-filter: var(--liquid-glass-blur);
  box-shadow: var(--shadow-liquid-md);
  border: 1px solid var(--liquid-glass-border);
  transition: var(--transition-liquid);
}

.clinic-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-liquid-hover);
}

.clinic-image-container {
  height: 280px;
  overflow: hidden;
  position: relative;
}

.clinic-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.clinic-card:hover img {
  transform: scale(1.07);
}

.clinic-info {
  padding: 1.6rem;
}

.clinic-info h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.clinic-info p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   9. About Section (Dra. Elisangela Nobre)
   -------------------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 4.5rem;
  align-items: center;
}

.about-image-column {
  position: relative;
}

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

.about-image-wrapper img {
  width: 100%;
  height: 580px;
  object-fit: cover;
  object-position: top center;
}

.about-badge-card {
  position: absolute;
  bottom: 1.25rem;
  right: 1.25rem;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: var(--text-dark);
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12), inset 0 1px 1.5px rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.95);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  z-index: 5;
}

.about-badge-card .num {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--primary-teal);
  text-transform: uppercase;
}

.about-badge-card .txt {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dark);
}

.about-content {
  max-width: 680px;
}

.about-story-box {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-left: 3px solid var(--primary-teal);
  padding: 1.25rem 1.6rem;
  border-radius: var(--radius-sm);
  margin: 1.25rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.95);
  border-right: 1px solid rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-liquid-sm);
}

.about-story-quote {
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--text-dark);
  line-height: 1.65;
}

.about-story-patient {
  margin-top: 0.6rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--primary-teal);
}

/* --------------------------------------------------------------------------
   10. Testimonials Carousel
   -------------------------------------------------------------------------- */
.testimonials-slider-container {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
}

.testimonial-card {
  background: var(--liquid-glass-bg);
  backdrop-filter: var(--liquid-glass-blur);
  -webkit-backdrop-filter: var(--liquid-glass-blur);
  padding: 3.8rem 3.2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-liquid-md);
  border: 1px solid var(--liquid-glass-border);
  text-align: center;
  position: relative;
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.testimonial-card.active {
  display: block;
  opacity: 1;
}

.google-rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #ffffff;
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(85, 192, 216, 0.25);
  box-shadow: var(--shadow-liquid-sm);
  margin-bottom: 1.5rem;
  font-size: 0.88rem;
  color: var(--text-dark);
  font-weight: 600;
}

.google-stars {
  color: #f59e0b;
  letter-spacing: 2px;
  font-size: 0.95rem;
}

.quote-icon {
  font-family: var(--font-serif);
  font-size: 4rem;
  color: var(--primary-teal);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: -1rem;
}

.testimonial-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--text-dark);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.testimonial-author {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-teal-dark);
}

.testimonial-condition {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.slider-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2.5rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(100, 116, 139, 0.25);
  cursor: pointer;
  transition: var(--transition-liquid);
}

.dot.active {
  width: 34px;
  border-radius: var(--radius-pill);
  background: var(--primary-teal);
}

/* --------------------------------------------------------------------------
   11. Contact Section & Dedicated Contact Page
   -------------------------------------------------------------------------- */
.contact-page-hero {
  padding: 12.5rem 0 3rem 0;
  background: linear-gradient(180deg, rgba(85, 192, 216, 0.12) 0%, rgba(237, 241, 244, 0) 100%);
  text-align: center;
}

.page-title {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  text-align: center;
}

.page-subtitle {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  color: var(--text-body);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.7;
  text-align: center;
}

#contato {
  padding: 4.5rem 0;
}

#contato .section-header {
  margin-bottom: 2rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 2rem;
  align-items: stretch;
}

.contact-info-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 2.2rem 2.2rem;
  box-shadow: 0 12px 36px rgba(34, 119, 144, 0.08);
  border: 1px solid rgba(85, 192, 216, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.95rem;
  margin-bottom: 1.15rem;
}

.contact-item:last-child {
  margin-bottom: 0;
}

.contact-icon {
  width: 38px;
  height: 38px;
  min-width: 38px;
  min-height: 38px;
  max-width: 38px;
  max-height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(85, 192, 216, 0.14), rgba(34, 119, 144, 0.06));
  border: 1px solid rgba(85, 192, 216, 0.22);
  color: var(--primary-teal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.9);
}

.contact-icon svg {
  width: 18px !important;
  height: 18px !important;
  fill: var(--primary-teal) !important;
  flex-shrink: 0;
}

.contact-detail h4 {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.2rem;
}

.contact-detail p {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.45;
}

.contact-detail a {
  color: var(--primary-teal);
  font-weight: 600;
}

.contact-detail a:hover {
  text-decoration: underline;
}

.social-pills-group {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 0.35rem;
}

.social-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.38rem 0.9rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-teal);
  background: rgba(85, 192, 216, 0.08);
  border: 1px solid rgba(85, 192, 216, 0.22);
  transition: var(--transition-liquid);
}

.social-pill svg {
  width: 14px !important;
  height: 14px !important;
  fill: var(--primary-teal) !important;
  flex-shrink: 0;
}

.social-pill:hover {
  background: var(--primary-teal);
  color: #ffffff;
  border-color: var(--primary-teal);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(34, 119, 144, 0.28);
}

.social-pill:hover svg {
  fill: #ffffff !important;
}

.map-wrapper {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(34, 119, 144, 0.08);
  border: 1px solid rgba(85, 192, 216, 0.2);
  height: 100%;
  min-height: 350px;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  min-height: 350px;
  border: 0;
}

/* --------------------------------------------------------------------------
   Footer Versell Style (Reference Design)
   -------------------------------------------------------------------------- */
.footer-versell {
  background: linear-gradient(180deg, #eef5f8 0%, #e3eff3 100%);
  color: #475569;
  padding: 5.5rem 0 2.5rem 0;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  border-top: 1px solid rgba(13, 138, 138, 0.12);
}

.footer-versell-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 3.5rem;
  margin-bottom: 4.5rem;
}

.footer-col-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.footer-logo-img {
  height: 36px;
  width: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 2px 8px rgba(13, 138, 138, 0.25));
}

.footer-brand-name {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-brand-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #475569;
  margin-bottom: 1.75rem;
  max-width: 320px;
}

.footer-cta-pill {
  background: linear-gradient(135deg, var(--primary-teal-light), var(--primary-teal));
  color: #ffffff;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.65rem 1.6rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 8px 24px rgba(13, 138, 138, 0.3), inset 0 1.5px 2px rgba(255, 255, 255, 0.6);
  transition: var(--transition-liquid);
  display: inline-flex;
  align-items: center;
}

.footer-cta-pill:hover {
  background: linear-gradient(135deg, var(--primary-teal), var(--primary-teal-dark));
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(13, 138, 138, 0.4);
  color: #ffffff;
}

.footer-col-title {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}

.footer-links-list, .footer-contact-info {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-links-list a, .footer-contact-info a {
  color: #475569;
  transition: var(--transition-liquid);
  font-size: 0.88rem;
}

.footer-links-list a:hover, .footer-contact-info a:hover {
  color: var(--primary-teal-dark);
}

.footer-link-highlight {
  color: var(--primary-teal) !important;
  font-weight: 600;
}

.footer-crefito-tag {
  color: var(--primary-teal);
  font-weight: 600;
  font-size: 0.84rem;
}

/* Bottom Bar */
.footer-versell-bottom {
  padding-top: 2.25rem;
  border-top: 1px solid rgba(13, 138, 138, 0.14);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.84rem;
  color: #64748b;
}

.footer-bottom-left span, .footer-bottom-right span {
  color: #64748b;
}

/* --------------------------------------------------------------------------
   12. Floating Liquid Glass WhatsApp Button
   -------------------------------------------------------------------------- */
.whatsapp-float-wrapper {
  position: fixed;
  bottom: 2.25rem;
  right: 2.25rem;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.whatsapp-tooltip {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: var(--liquid-glass-blur);
  -webkit-backdrop-filter: var(--liquid-glass-blur);
  color: var(--text-dark);
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-liquid-hover);
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid var(--liquid-glass-border);
  white-space: nowrap;
  animation: tooltipFade 3s infinite alternate;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.whatsapp-tooltip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #22c55e;
}

.whatsapp-btn {
  width: 62px;
  height: 62px;
  min-width: 62px;
  min-height: 62px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
  position: relative;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 16px 36px rgba(37, 211, 102, 0.55);
}

.whatsapp-btn svg {
  width: 32px !important;
  height: 32px !important;
  fill: #ffffff !important;
  flex-shrink: 0;
}

.whatsapp-btn::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #25d366;
  opacity: 0.5;
  z-index: -1;
  animation: pulse-ring 2s cubic-bezier(0.455, 0.03, 0.515, 0.955) infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 0.6; }
  50% { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(0.95); opacity: 0; }
}

@keyframes tooltipFade {
  0% { transform: translateY(0); }
  100% { transform: translateY(-4px); }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

@media (max-width: 992px) {
  .header-pill-nav {
    display: none;
  }

  .header-pill-toggle {
    display: flex;
  }

  .header-pill {
    padding: 0.45rem 0.8rem 0.45rem 1.2rem;
  }

  .hero-editorial {
    background-attachment: scroll; /* Fixes iOS Safari parallax rendering issues */
    padding: 8rem 1.5rem 4.5rem 1.5rem;
  }

  .hero-editorial-title {
    font-size: clamp(2rem, 6.5vw, 3.4rem);
    margin-bottom: 1.5rem;
  }

  .hero-editorial-sub {
    font-size: 1.05rem;
    margin-bottom: 2.2rem;
  }

  .treatments-reference-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

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

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

  .about-image-wrapper img {
    height: 420px;
  }

  .clinic-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

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

@media (max-width: 768px) {
  .section {
    padding: 4rem 0;
  }

  .section-header {
    margin-bottom: 3rem;
  }

  .section-header h2 {
    font-size: 1.85rem;
  }

  .header-wrapper-pill {
    top: 0.85rem;
    padding: 0 0.85rem;
  }

  .header-pill-btn {
    padding: 0.55rem 1.15rem;
    font-size: 0.82rem;
  }

  .treatments-reference-grid {
    grid-template-columns: 1fr;
  }

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

  .specialties-box {
    padding: 2.2rem 1.25rem;
    margin-top: 3rem;
  }

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

  .about-image-wrapper img {
    height: 360px;
  }

  .testimonial-card {
    padding: 2.5rem 1.5rem;
  }

  .testimonial-text {
    font-size: 1.05rem;
    line-height: 1.65;
  }

  .footer-versell {
    padding: 4rem 0 2rem 0;
  }

  .footer-versell-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
    margin-bottom: 3rem;
  }

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

  .whatsapp-float-wrapper {
    bottom: 1.5rem;
    right: 1.25rem;
  }

  .whatsapp-tooltip {
    display: none;
  }

  .menu-drawer-close {
    top: 1.5rem;
    right: 1.5rem;
    width: 42px;
    height: 42px;
    font-size: 1.25rem;
  }

  .menu-drawer-link {
    font-size: 1.6rem;
  }
}

@media (max-width: 480px) {
  .header-pill-btn {
    display: none; /* Hide button on tiny screens, mobile hamburger drawer handles action */
  }

  .header-pill {
    padding: 0.4rem 0.75rem;
  }

  .hero-editorial-title {
    font-size: 1.85rem;
  }

  .hero-editorial-sub {
    font-size: 0.95rem;
    line-height: 1.65;
  }

  .btn {
    width: 100%;
    padding: 0.85rem 1.4rem;
    font-size: 0.88rem;
  }

  .contact-info-card {
    padding: 1.5rem 1.25rem;
  }

  .social-pills-group {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .contact-page-hero {
    padding: 8.5rem 0 2rem 0;
  }
}

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

/* --------------------------------------------------------------------------
   Instagram Section (Réplica Exata Urban Weekends Layout)
   -------------------------------------------------------------------------- */
.instagram-clean-section {
  padding: 4.5rem 0 5.5rem 0;
  background: #ffffff !important;
  position: relative;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
}

.insta-clean-container {
  max-width: 820px !important;
  margin: 0 auto !important;
  padding: 0 1.5rem !important;
  box-sizing: border-box !important;
}

/* Profile Header */
.uw-header {
  display: flex !important;
  align-items: flex-start !important;
  gap: 3rem !important;
  margin-bottom: 2.5rem !important;
}

.uw-avatar-box {
  width: 120px !important;
  display: flex !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

.uw-avatar-img {
  width: 86px !important;
  height: 86px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  padding: 2px !important;
}

.uw-profile-details {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.6rem !important;
}

.uw-top-line {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
}

.uw-username {
  font-size: 1.25rem !important;
  font-weight: 600 !important;
  color: #262626 !important;
  letter-spacing: -0.01em !important;
}

.uw-follow-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.4rem !important;
  padding: 5px 14px !important;
  border: 1px solid #d1d5db !important;
  border-radius: 4px !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  color: #374151 !important;
  background: #ffffff !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

.uw-follow-btn:hover {
  background-color: #f9fafb !important;
  border-color: #9ca3af !important;
}

.uw-stats-line {
  display: flex !important;
  gap: 2rem !important;
  font-size: 0.88rem !important;
  color: #6b7280 !important;
  margin-top: 2px !important;
}

.uw-stats-line span strong {
  color: #111827 !important;
  font-weight: 600 !important;
}

.uw-bio-box {
  margin-top: 4px !important;
  font-size: 0.85rem !important;
  line-height: 1.4 !important;
}

.uw-bio-bold {
  display: block !important;
  font-weight: 600 !important;
  color: #111827 !important;
  margin-bottom: 2px !important;
}

.uw-bio-text {
  color: #4b5563 !important;
  margin-bottom: 2px !important;
}

.uw-bio-sub {
  color: #6b7280 !important;
  margin-bottom: 4px !important;
}

.uw-bio-link {
  color: #2563eb !important;
  font-weight: 500 !important;
  text-decoration: none !important;
}

.uw-bio-link:hover {
  text-decoration: underline !important;
}

/* 3-Column Main Photo Grid */
.uw-photo-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 1.25rem !important;
  margin-bottom: 2.25rem !important;
}

.uw-grid-card {
  position: relative !important;
  aspect-ratio: 1 / 1 !important;
  overflow: hidden !important;
  display: block !important;
  background: #f3f4f6 !important;
  border-radius: 2px !important;
}

.uw-grid-card img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  transition: opacity 0.25s ease !important;
}

.uw-grid-card:hover img {
  opacity: 0.9 !important;
}

.uw-badge-multi {
  position: absolute !important;
  top: 8px !important;
  right: 8px !important;
  background: rgba(0, 0, 0, 0.5) !important;
  border-radius: 3px !important;
  padding: 3px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Load More Button */
.uw-load-more-box {
  display: flex !important;
  justify-content: center !important;
  margin-bottom: 3.5rem !important;
}

.uw-load-more-btn {
  padding: 7px 22px !important;
  border: 1px solid #9ca3af !important;
  border-radius: 4px !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  color: #374151 !important;
  background: #ffffff !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

.uw-load-more-btn:hover {
  background: #111827 !important;
  color: #ffffff !important;
  border-color: #111827 !important;
}

/* Hashtag Carousel Section */
.uw-hashtag-section {
  text-align: center !important;
  margin-top: 1.5rem !important;
}

.uw-hashtag-title {
  font-size: 1.1rem !important;
  font-weight: 600 !important;
  color: #111827 !important;
  margin-bottom: 1.5rem !important;
  letter-spacing: -0.01em !important;
}

.uw-hashtag-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 0.85rem !important;
  position: relative !important;
}

.uw-hash-card {
  flex: 1 !important;
  aspect-ratio: 1 / 1 !important;
  position: relative !important;
  overflow: hidden !important;
  display: block !important;
  background: #f3f4f6 !important;
  border-radius: 2px !important;
}

.uw-hash-card img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.uw-badge-play {
  position: absolute !important;
  top: 6px !important;
  right: 6px !important;
  background: rgba(0, 0, 0, 0.5) !important;
  border-radius: 2px !important;
  padding: 2px 4px !important;
  display: flex !important;
  align-items: center !important;
}

.uw-arrow-next {
  width: 28px !important;
  height: 28px !important;
  border-radius: 50% !important;
  background: #ffffff !important;
  border: 1px solid #d1d5db !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  color: #374151 !important;
  flex-shrink: 0 !important;
  margin-left: 4px !important;
}

@media (max-width: 768px) {
  .uw-header {
    flex-direction: column !important;
    align-items: center !important;
    gap: 1.5rem !important;
  }
  .uw-avatar-box {
    width: 100% !important;
  }
  .uw-photo-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.85rem !important;
  }
  .uw-hashtag-row {
    overflow-x: auto !important;
  }
}







