/* ==========================================================================
   CLÍNICA CRESCER ATIBAIA — DESIGN SYSTEM & STYLESHEET
   Paleta extraída e harmonizada do logotipo oficial:
   - Berry/Framboesa Profundo (#A61769)
   - Verde-Petróleo Botânico (#2A726F / #133036)
   - Porcelana & Areia Quente (#FAF8F5 / #F3EFE9)
========================================================================== */

:root {
  /* Cores extraídas do logotipo */
  --brand-berry: #A61769;
  --brand-berry-hover: #881155;
  --brand-berry-soft: #F9EDF4;
  --brand-berry-border: rgba(166, 23, 105, 0.16);

  --brand-teal: #2A726F;
  --brand-teal-hover: #205B58;
  --brand-teal-deep: #133036;
  --brand-teal-darker: #0E2429;
  --brand-teal-soft: #EAF3F2;

  /* Neutros médicos premium */
  --bg-base: #FAF8F5;
  --bg-sand: #F3EFE9;
  --bg-surface: #FFFFFF;
  --bg-glass: rgba(250, 248, 245, 0.88);
  --bg-glass-solid: rgba(255, 255, 255, 0.96);

  /* Tipografia & Contraste */
  --ink-primary: #152B30;
  --ink-secondary: #485C60;
  --ink-muted: #6C7E82;
  --ink-on-dark: #F7F5F2;
  --ink-on-dark-muted: rgba(247, 245, 242, 0.78);

  /* Bordas & Sombras */
  --border-subtle: rgba(21, 43, 48, 0.08);
  --border-medium: rgba(21, 43, 48, 0.14);
  --shadow-xs: 0 2px 8px rgba(19, 48, 54, 0.05);
  --shadow-sm: 0 8px 24px rgba(19, 48, 54, 0.06);
  --shadow-md: 0 18px 42px rgba(19, 48, 54, 0.09);
  --shadow-lg: 0 28px 64px rgba(14, 36, 41, 0.16);
  --shadow-berry: 0 12px 28px rgba(166, 23, 105, 0.28);

  /* WhatsApp & Estrelas */
  --gold-star: #E6A82E;
  --wa-green: #25D366;
  --wa-green-dark: #1DA851;

  /* Espaçamentos & Raios */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 999px;

  --header-height: 82px;
  --container-max: 1200px;

  /* Tipografia */
  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Transições */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ==========================================================================
   RESET + PROTEÇÃO ANTI-SELEÇÃO & ANTI-IMPRESSÃO
========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-padding-top: calc(var(--header-height) + 16px);
}

body {
  font-family: var(--font-body);
  color: var(--ink-primary);
  background-color: var(--bg-base);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Permitir seleção e interação normal em campos de formulário */
input,
textarea,
select {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
  font-family: inherit;
}

/* Proteção de imagens contra arraste e clique direto */
img {
  display: block;
  max-width: 100%;
  height: auto;
  -webkit-user-drag: none;
  user-drag: none;
  pointer-events: none;
}

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

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* Bloqueio total de impressão e PDF */
@media print {
  body {
    display: none !important;
  }
}

/* ==========================================================================
   UTILITÁRIOS & BOTÕES
========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-inline: clamp(20px, 4vw, 36px);
}

.section {
  padding-block: clamp(72px, 8.5vw, 116px);
  position: relative;
}

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

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

.section-header {
  margin-bottom: clamp(40px, 5vw, 60px);
}

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

.section-header.split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px 48px;
  align-items: end;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-berry);
  margin-bottom: 14px;
}

.section-eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background-color: var(--brand-berry);
}

.section-eyebrow.eyebrow-light {
  color: #F4A8D1;
}

.section-eyebrow.eyebrow-light::before {
  background-color: #F4A8D1;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.2vw, 2.75rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: var(--ink-primary);
}

.section-subtitle {
  margin-top: 16px;
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  color: var(--ink-secondary);
  line-height: 1.7;
}

.section-header.split .section-subtitle {
  margin-top: 0;
}

/* Icons */
.icon-xs { width: 16px; height: 16px; flex-shrink: 0; }
.icon-sm { width: 18px; height: 18px; flex-shrink: 0; }
.icon-md { width: 20px; height: 20px; flex-shrink: 0; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  border-radius: var(--radius-pill);
  transition: transform 0.25s var(--ease-out), background-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), border-color 0.25s var(--ease-out), color 0.25s var(--ease-out);
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 2px solid var(--brand-berry);
  outline-offset: 3px;
}

.btn-sm {
  padding: 11px 22px;
  font-size: 0.9rem;
}

.btn-lg {
  padding: 16px 28px;
  font-size: 0.98rem;
}

.btn-full {
  width: 100%;
}

.btn-primary {
  background-color: var(--brand-berry);
  color: #FFFFFF;
  box-shadow: var(--shadow-berry);
}

.btn-primary:hover {
  background-color: var(--brand-berry-hover);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(166, 23, 105, 0.34);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-teal {
  background-color: var(--brand-teal-deep);
  color: #FFFFFF;
  box-shadow: 0 10px 24px rgba(19, 48, 54, 0.22);
}

.btn-teal:hover {
  background-color: var(--brand-teal);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(42, 114, 111, 0.28);
}

.btn-outline-light {
  color: #FFFFFF;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.48);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-outline-light:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: #FFFFFF;
  transform: translateY(-2px);
}

/* ==========================================================================
   1. CABEÇALHO FIXO (HEADER)
========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  height: var(--header-height);
  background-color: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(21, 43, 48, 0.06);
  transition: background-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), height 0.3s var(--ease-out);
}

.site-header.is-scrolled {
  background-color: var(--bg-glass-solid);
  box-shadow: 0 10px 30px rgba(19, 48, 54, 0.08);
  border-bottom-color: rgba(21, 43, 48, 0.09);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 4px 0;
  flex-shrink: 0;
}

.brand-mark-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 4px;
}

.brand-logo {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--brand-teal-deep);
  letter-spacing: -0.02em;
}

.brand-sub {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-berry);
  margin-top: 2px;
}

.desktop-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 3px;
}

.nav-link {
  position: relative;
  font-family: var(--font-display);
  font-size: 0.855rem;
  font-weight: 600;
  color: var(--ink-secondary);
  padding: 8px 10px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--brand-berry);
  background-color: var(--brand-berry-soft);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Mobile Menu Button */
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background-color: rgba(19, 48, 54, 0.06);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  transition: background-color 0.2s ease;
}

.menu-toggle:hover {
  background-color: var(--brand-berry-soft);
}

.menu-bar {
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background-color: var(--brand-teal-deep);
  transition: transform 0.25s var(--ease-out), opacity 0.2s ease;
}

.menu-toggle.is-open .menu-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open .menu-bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open .menu-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav Drawer */
.mobile-nav {
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 100%;
  background-color: #FFFFFF;
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-lg);
  transform: translateY(-16px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s var(--ease-out), opacity 0.25s ease;
}

.mobile-nav.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-inner {
  padding-block: 20px 28px;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 20px;
}

.mobile-nav-link {
  display: block;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--ink-primary);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.mobile-nav-link:hover {
  background-color: var(--brand-berry-soft);
  color: var(--brand-berry);
}

.mobile-nav-footer {
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.mobile-nav-phone {
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--ink-secondary);
  text-align: center;
}

.mobile-nav-phone a {
  color: var(--brand-teal-deep);
  font-weight: 600;
}

/* ==========================================================================
   2. HERO SECTION (PARALLAX REAL & FLUIDO)
========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-height) + 42px);
  padding-bottom: 42px;
  overflow: hidden;
  background-color: var(--brand-teal-deep);
}

.hero-parallax-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.hero-parallax-bg {
  position: absolute;
  top: -12%;
  left: 0;
  width: 100%;
  height: 124%;
  background-image: url('../img/hero-pediatria.jpg');
  background-size: cover;
  background-position: 64% 38%;
  background-repeat: no-repeat;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(14, 36, 41, 0.90) 0%, rgba(19, 48, 54, 0.78) 42%, rgba(19, 48, 54, 0.36) 72%, rgba(19, 48, 54, 0.18) 100%),
    linear-gradient(180deg, rgba(14, 36, 41, 0.25) 0%, rgba(14, 36, 41, 0.05) 45%, rgba(14, 36, 41, 0.72) 100%);
}

.hero-container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: calc(100svh - var(--header-height) - 84px);
  gap: 48px;
}

.hero-content {
  max-width: 660px;
  margin-top: auto;
  margin-bottom: auto;
  padding-top: 12px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background-color: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.26);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 24px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #F48EC5;
  box-shadow: 0 0 0 4px rgba(244, 142, 197, 0.28);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.4vw, 3.65rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  text-shadow: 0 4px 24px rgba(10, 26, 30, 0.28);
}

.hero-subtitle {
  margin-top: 22px;
  max-width: 560px;
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  line-height: 1.68;
  color: rgba(255, 255, 255, 0.90);
}

.hero-ctas {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Barra de Prova Social na base da Hero */
.hero-proof-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 20px 28px;
  padding: 20px 28px;
  border-radius: var(--radius-lg);
  background-color: rgba(16, 40, 46, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 20px 48px rgba(8, 22, 26, 0.28);
}

.proof-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.proof-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.12);
  color: #9EE0DC;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.proof-icon svg {
  width: 22px;
  height: 22px;
}

.proof-icon-gold {
  background-color: rgba(230, 168, 46, 0.18);
  color: #F7C95C;
}

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

.proof-title {
  font-family: var(--font-display);
  font-size: 0.96rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.25;
}

.proof-desc {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.76);
  margin-top: 2px;
}

.proof-divider {
  width: 1px;
  height: 38px;
  background-color: rgba(255, 255, 255, 0.16);
}

/* ==========================================================================
   3. SEÇÃO "NOSSO JEITO DE CUIDAR" (4 ETAPAS)
========================================================================== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step-card {
  position: relative;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  box-shadow: var(--shadow-xs);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
}

.step-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 26px;
  right: 26px;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, var(--brand-berry), var(--brand-teal));
  opacity: 0;
  transition: opacity 0.35s var(--ease-out);
}

.step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-berry-border);
}

.step-card:hover::after {
  opacity: 1;
}

.step-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.step-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: rgba(166, 23, 105, 0.22);
}

.step-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background-color: var(--brand-teal-soft);
  color: var(--brand-teal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.step-icon svg {
  width: 22px;
  height: 22px;
}

.step-card:hover .step-icon {
  background-color: var(--brand-berry-soft);
  color: var(--brand-berry);
}

.step-title {
  font-family: var(--font-display);
  font-size: 1.16rem;
  font-weight: 700;
  color: var(--ink-primary);
  margin-bottom: 10px;
  letter-spacing: -0.015em;
}

.step-desc {
  font-size: 0.95rem;
  color: var(--ink-secondary);
  line-height: 1.65;
}

/* ==========================================================================
   4. SEÇÃO DE ESPECIALIDADES (BENTO GRID 3 + 2 EQUILIBRADO)
========================================================================== */
.specialties-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
}

.specialty-card {
  grid-column: span 2;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xs);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
}

.specialty-card-wide {
  grid-column: span 3;
  flex-direction: row;
  align-items: flex-start;
  gap: 22px;
}

.specialty-card-featured {
  background: linear-gradient(135deg, #FFFFFF 0%, #FBF5F9 100%);
  border-color: var(--brand-berry-border);
}

.specialty-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(42, 114, 111, 0.28);
}

.specialty-icon-box {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: 22px;
  transition: transform 0.3s var(--ease-out);
}

.specialty-card-wide .specialty-icon-box {
  margin-bottom: 0;
}

.specialty-card:hover .specialty-icon-box {
  transform: scale(1.06);
}

.specialty-icon-box svg {
  width: 26px;
  height: 26px;
}

.tone-berry {
  background-color: var(--brand-berry-soft);
  color: var(--brand-berry);
}

.tone-teal {
  background-color: var(--brand-teal-soft);
  color: var(--brand-teal);
}

.specialty-wide-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.specialty-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--ink-primary);
  margin-bottom: 10px;
  letter-spacing: -0.015em;
}

.specialty-desc {
  font-size: 0.96rem;
  color: var(--ink-secondary);
  line-height: 1.65;
  margin-bottom: 20px;
  flex: 1;
}

.specialty-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--brand-berry);
  margin-top: auto;
  width: fit-content;
  transition: gap 0.25s var(--ease-out), color 0.2s ease;
}

.specialty-link:hover {
  gap: 10px;
  color: var(--brand-teal-deep);
}

/* ==========================================================================
   5. SEÇÃO CORPO CLÍNICO
========================================================================== */
.doctors-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 1040px;
  margin-inline: auto;
}

.doctor-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

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

.doctor-photo-frame {
  position: relative;
  aspect-ratio: 4 / 4.25;
  background-color: var(--bg-sand);
  overflow: hidden;
}

.doctor-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.doctor-photo-agda {
  object-position: center 14%;
}

.doctor-photo-lais {
  object-position: center 18%;
}

.doctor-card:hover .doctor-photo {
  transform: scale(1.03);
}

.doctor-crm-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  background-color: rgba(19, 48, 54, 0.86);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.doctor-body {
  padding: 30px 30px 34px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.doctor-role {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-teal);
  margin-bottom: 6px;
}

.doctor-name {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--ink-primary);
  margin-bottom: 14px;
}

.doctor-bio {
  font-size: 0.96rem;
  color: var(--ink-secondary);
  line-height: 1.68;
  margin-bottom: 22px;
}

.doctor-highlights {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.doctor-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--ink-primary);
  font-weight: 500;
  line-height: 1.45;
}

.check-icon {
  width: 18px;
  height: 18px;
  color: var(--brand-berry);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ==========================================================================
   6. SEÇÃO DE AVALIAÇÕES (NOTA 5.0)
========================================================================== */
.reviews-header-band {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: clamp(40px, 5vw, 56px);
}

.reviews-heading {
  max-width: 600px;
}

.google-score-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 26px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.score-value {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--brand-teal-deep);
}

.stars-row {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: var(--gold-star);
}

.stars-row svg {
  width: 19px;
  height: 19px;
}

.stars-row.stars-sm svg {
  width: 16px;
  height: 16px;
}

.score-label {
  font-size: 0.92rem;
  color: var(--ink-primary);
  margin-top: 5px;
}

.score-sub {
  display: block;
  font-size: 0.8rem;
  color: var(--ink-muted);
}

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

.review-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xs);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.review-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.review-tag {
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--brand-teal);
  background-color: var(--brand-teal-soft);
  padding: 5px 11px;
  border-radius: var(--radius-pill);
}

.review-quote {
  font-size: 0.97rem;
  line-height: 1.72;
  color: var(--ink-secondary);
  margin-bottom: 24px;
  flex: 1;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-berry-soft), var(--brand-teal-soft));
  color: var(--brand-teal-deep);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.author-name {
  display: block;
  font-family: var(--font-display);
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--ink-primary);
}

.author-meta {
  display: block;
  font-size: 0.8rem;
  color: var(--ink-muted);
}

/* ==========================================================================
   7. SEÇÃO DE AGENDAMENTO (CONVERSÃO)
========================================================================== */
.booking-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
  background:
    radial-gradient(circle at 12% 18%, rgba(166, 23, 105, 0.24) 0%, transparent 45%),
    radial-gradient(circle at 88% 85%, rgba(42, 114, 111, 0.26) 0%, transparent 48%),
    var(--brand-teal-deep);
  border-radius: var(--radius-xl);
  padding: clamp(24px, 5vw, 56px);
  box-shadow: var(--shadow-lg);
  color: var(--ink-on-dark);
  overflow: hidden;
}

.booking-info,
.booking-form-card {
  min-width: 0;
  max-width: 100%;
}

.booking-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.1vw, 2.65rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: #FFFFFF;
}

.booking-text {
  margin-top: 16px;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--ink-on-dark-muted);
}

.modality-pills {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.modality-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.85rem;
  font-weight: 500;
  color: #FFFFFF;
}

.direct-contacts {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-channel {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: background-color 0.25s ease, transform 0.25s var(--ease-out), border-color 0.25s ease;
}

.contact-channel:hover {
  background-color: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateX(4px);
}

.contact-channel-wa {
  background-color: rgba(37, 211, 102, 0.14);
  border-color: rgba(37, 211, 102, 0.32);
}

.contact-channel-wa:hover {
  background-color: rgba(37, 211, 102, 0.22);
  border-color: rgba(37, 211, 102, 0.55);
}

.channel-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-channel-wa .channel-icon {
  background-color: var(--wa-green);
  color: #FFFFFF;
}

.channel-icon svg {
  width: 21px;
  height: 21px;
}

.channel-copy {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.channel-label {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.72);
}

.channel-value {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  color: #FFFFFF;
}

.channel-arrow {
  width: 18px;
  height: 18px;
  color: rgba(255, 255, 255, 0.65);
  transition: transform 0.25s var(--ease-out);
}

.contact-channel:hover .channel-arrow {
  transform: translateX(4px);
  color: #FFFFFF;
}

/* Booking Form Card */
.booking-form-card {
  background-color: var(--bg-surface);
  color: var(--ink-primary);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3.5vw, 38px);
  box-shadow: 0 24px 50px rgba(8, 22, 26, 0.26);
}

.form-header {
  margin-bottom: 24px;
}

.form-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink-primary);
  letter-spacing: -0.02em;
}

.form-desc {
  margin-top: 6px;
  font-size: 0.9rem;
  color: var(--ink-secondary);
}

.booking-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

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

.form-label {
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--ink-primary);
}

.form-control {
  width: 100%;
  padding: 13px 16px;
  font-size: 0.96rem;
  color: var(--ink-primary);
  background-color: var(--bg-base);
  border: 1.5px solid var(--border-medium);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.form-control::placeholder {
  color: var(--ink-muted);
}

.form-control:focus {
  outline: none;
  background-color: #FFFFFF;
  border-color: var(--brand-berry);
  box-shadow: 0 0 0 4px rgba(166, 23, 105, 0.12);
}

.form-control.is-invalid {
  border-color: #C82333;
  box-shadow: 0 0 0 4px rgba(200, 35, 51, 0.12);
}

.select-wrap {
  position: relative;
}

.select-wrap::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--ink-secondary);
  border-bottom: 2px solid var(--ink-secondary);
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
}

select.form-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: none;
  padding-right: 40px;
  cursor: pointer;
}

select.form-select::-ms-expand {
  display: none;
}

.radio-segmented {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.radio-option {
  position: relative;
  cursor: pointer;
}

.radio-option input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.radio-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-medium);
  background-color: var(--bg-base);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-secondary);
  transition: all 0.2s ease;
}

.radio-option input:checked + .radio-tile {
  background-color: var(--brand-berry-soft);
  border-color: var(--brand-berry);
  color: var(--brand-berry);
  box-shadow: 0 0 0 3px rgba(166, 23, 105, 0.1);
}

.radio-option input:focus-visible + .radio-tile {
  outline: 2px solid var(--brand-berry);
  outline-offset: 2px;
}

.form-feedback {
  min-height: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #C82333;
  margin-top: -6px;
}

.form-feedback.is-success {
  color: var(--brand-teal);
}

/* ==========================================================================
   8. LOCALIZAÇÃO E MAPA
========================================================================== */
.location-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 32px;
  align-items: stretch;
}

.location-card {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 4vw, 44px);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.location-details {
  margin-block: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

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

.location-icon svg {
  width: 20px;
  height: 20px;
}

.location-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  margin-bottom: 4px;
}

.location-value {
  font-size: 0.97rem;
  color: var(--ink-primary);
  line-height: 1.6;
}

.location-value a {
  color: var(--brand-berry);
  font-weight: 600;
  transition: color 0.2s ease;
}

.location-value a:hover {
  color: var(--brand-teal-deep);
}

.map-frame-wrap {
  min-height: 420px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  background-color: #E5E8EA;
}

.map-frame-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
}

/* ==========================================================================
   9. RODAPÉ (FOOTER)
========================================================================== */
.site-footer {
  background-color: var(--brand-teal-darker);
  color: var(--ink-on-dark);
  padding-top: 72px;
  padding-bottom: 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.75fr 1.15fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.footer-logo-badge {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background-color: var(--bg-base);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.footer-logo {
  height: 46px;
  width: auto;
  object-fit: contain;
}

.footer-brand-text {
  display: flex;
  flex-direction: column;
}

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
  color: #FFFFFF;
}

.footer-brand-sub {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #F4A8D1;
  margin-top: 2px;
}

.footer-summary {
  max-width: 360px;
  font-size: 0.94rem;
  line-height: 1.72;
  color: var(--ink-on-dark-muted);
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 18px;
}

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

.footer-links a {
  font-size: 0.94rem;
  color: var(--ink-on-dark-muted);
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-links a:hover {
  color: #FFFFFF;
  padding-left: 4px;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 0.93rem;
  color: var(--ink-on-dark-muted);
  line-height: 1.55;
}

.footer-contact-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8CD3CF;
  margin-bottom: 2px;
}

.footer-contact-list a {
  color: #FFFFFF;
  font-weight: 600;
  transition: color 0.2s ease;
}

.footer-contact-list a:hover {
  color: #F4A8D1;
}

.footer-bottom {
  padding-top: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  font-size: 0.86rem;
  color: rgba(247, 245, 242, 0.68);
}

.footer-credit a {
  color: #FFFFFF;
  font-weight: 600;
  border-bottom: 1px solid rgba(244, 168, 209, 0.55);
  padding-bottom: 1px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.footer-credit a:hover {
  color: #F4A8D1;
  border-bottom-color: #F4A8D1;
}

/* ==========================================================================
   BOTÃO FLUTUANTE DO WHATSAPP
========================================================================== */
.whatsapp-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 990;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--wa-green);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.42);
  transition: transform 0.25s var(--ease-out), background-color 0.25s ease;
}

.whatsapp-fab:hover {
  background-color: var(--wa-green-dark);
  transform: scale(1.07);
}

.whatsapp-fab-icon {
  width: 28px;
  height: 28px;
  position: relative;
  z-index: 2;
}

.whatsapp-fab-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background-color: rgba(37, 211, 102, 0.5);
  animation: waPulse 2.4s cubic-bezier(0.24, 0, 0.38, 1) infinite;
  z-index: 1;
}

.whatsapp-fab-tooltip {
  position: absolute;
  right: 72px;
  white-space: nowrap;
  background-color: var(--brand-teal-darker);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateX(8px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s var(--ease-out);
}

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

@keyframes waPulse {
  0% {
    transform: scale(1);
    opacity: 0.65;
  }
  70% {
    transform: scale(1.42);
    opacity: 0;
  }
  100% {
    transform: scale(1.42);
    opacity: 0;
  }
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS
========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-immediate {
  animation: heroFadeUp 0.85s var(--ease-out) both;
}

.delay-1 { animation-delay: 90ms; }
.delay-2 { animation-delay: 180ms; }
.delay-3 { animation-delay: 270ms; }
.delay-4 { animation-delay: 360ms; }

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

/* ==========================================================================
   RESPONSIVIDADE (DESKTOP COMPACTO, TABLET E MOBILE)
========================================================================== */
@media (max-width: 1160px) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

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

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

  .specialty-card,
  .specialty-card-wide {
    grid-column: span 1;
    flex-direction: column;
  }

  .specialty-card-wide .specialty-icon-box {
    margin-bottom: 22px;
  }

  .specialty-card-featured {
    grid-column: span 2;
    flex-direction: row;
  }

  .specialty-card-featured .specialty-icon-box {
    margin-bottom: 0;
  }
}

@media (max-width: 960px) {
  .section-header.split {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .hero-proof-bar {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px 22px;
  }

  .proof-divider {
    width: 100%;
    height: 1px;
  }

  .doctors-grid,
  .reviews-grid,
  .booking-shell,
  .location-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .reviews-header-band {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .footer-brand-col {
    grid-column: span 2;
  }
}

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

  .header-cta {
    display: none;
  }

  .brand-logo {
    height: 44px;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + 34px);
    padding-bottom: 36px;
  }

  .hero-parallax-bg {
    top: 0;
    height: 100%;
    background-position: 68% center;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(14, 36, 41, 0.84) 0%, rgba(19, 48, 54, 0.78) 55%, rgba(14, 36, 41, 0.90) 100%);
  }

  .hero-container {
    min-height: auto;
    gap: 32px;
  }

  .hero-ctas {
    flex-direction: column;
  }

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

  .btn {
    white-space: normal;
    text-align: center;
  }

  .btn-lg {
    padding: 15px 20px;
    font-size: 0.92rem;
  }

  .booking-shell {
    padding: 24px 18px;
    border-radius: var(--radius-lg);
  }

  .booking-form-card {
    padding: 22px 18px;
  }

  .contact-channel {
    padding: 14px 15px;
    gap: 12px;
  }

  .channel-value {
    font-size: 0.98rem;
  }

  .radio-tile {
    padding: 11px 8px;
    font-size: 0.85rem;
    gap: 6px;
  }

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

  .specialty-card-featured {
    grid-column: span 1;
    flex-direction: column;
  }

  .specialty-card-featured .specialty-icon-box {
    margin-bottom: 20px;
  }

  .google-score-card {
    width: 100%;
  }

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

  .footer-brand-col {
    grid-column: span 1;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .whatsapp-fab {
    right: 16px;
    bottom: 16px;
    width: 56px;
    height: 56px;
  }

  .whatsapp-fab-tooltip {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal,
  .reveal-immediate {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }
  .whatsapp-fab-pulse {
    animation: none;
  }
}
