/* ==========================================================================
   DRA. SUELLEN NARIMATSU — REUMATOLOGIA
   Design System: Sofisticado, Acolhedor & Clínico Moderno
   Tipografia: Outfit (Títulos) + Inter (Corpo do texto)
   Paleta Oficial:
   - Branco: #FFFFFF
   - Tons Areia: #FAF7F2, #F3EDE4, #E8DFD2
   - Primária Logo (Orquídea/Ameixa): #A8589E (Escuro: #843D7B | Suave: #F7EEF6)
   - Cinza Logo: #929292 (Texto escuro: #282227 | Texto médio: #4D464B)
   - Secundário Verde-Sálvia: #A3B197 (Escuro: #4F6043 | Suave: #EFF3EC)
   - Secundário Rosé Suave: #D3B6B4 (Escuro: #875D5A | Suave: #F9F1F0)
   ========================================================================== */

:root {
  /* Opt-in global para animações de tamanhos intrínsecos (Modern Web Guidance) */
  interpolate-size: allow-keywords;

  /* Cores de Fundo */
  --bg-white: #ffffff;
  --bg-sand-light: #faf7f2;
  --bg-sand: #f3ede4;
  --bg-sand-deep: #e8dfd2;

  /* Cores da Marca (Logotipo) */
  --brand-primary: #a8589e;
  --brand-primary-dark: #843d7b;
  --brand-primary-deeper: #63295b;
  --brand-primary-soft: rgba(168, 88, 158, 0.1);
  --brand-primary-Tint: #f7eef6;
  --brand-gray: #929292;

  /* Cores Secundárias */
  --accent-sage: #a3b197;
  --accent-sage-dark: #4f6043;
  --accent-sage-soft: #eff3ec;
  --accent-rose: #d3b6b4;
  --accent-rose-dark: #875d5a;
  --accent-rose-soft: #f9f1f0;

  /* Tipografia & Contraste */
  --text-heading: #282227;
  --text-body: #4d464b;
  --text-muted: #70696e;
  --text-light: #929292;

  /* Bordas & Sombras */
  --border-subtle: rgba(146, 146, 146, 0.18);
  --border-sand: #e5ddd2;
  --border-brand: rgba(168, 88, 158, 0.28);
  --shadow-xs: 0 2px 8px rgba(40, 34, 39, 0.04);
  --shadow-sm: 0 8px 24px -4px rgba(40, 34, 39, 0.06);
  --shadow-md: 0 18px 40px -10px rgba(40, 34, 39, 0.09);
  --shadow-lg: 0 28px 60px -15px rgba(100, 50, 93, 0.16);
  --shadow-glow: 0 10px 28px -6px rgba(168, 88, 158, 0.42);

  /* Fontes Solicitadas: Outfit (Títulos) & Inter (Corpo) */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Geometria */
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 34px;
  --radius-full: 9999px;

  /* Transições */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.38s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  font-size: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--text-body);
  background-color: var(--bg-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Melhoria de Legibilidade e Quebra de Linha (Modern Web Guidance) */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-heading);
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

p, li, blockquote {
  text-wrap: pretty;
}

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

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

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

/* Utilitários de Layout */
.container {
  width: min(1220px, 100% - 2.5rem);
  margin-inline: auto;
}

.container-narrow {
  width: min(880px, 100% - 2.5rem);
  margin-inline: auto;
}

.section {
  padding-block: clamp(4.25rem, 7.5vw, 6.5rem);
  position: relative;
}

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

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

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

/* Cabeçalhos de Seção */
.section-header {
  max-width: 720px;
  margin-bottom: clamp(2.25rem, 4.5vw, 3.5rem);
}

.section-header.centered {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-primary-dark);
  background: var(--brand-primary-Tint);
  border: 1px solid rgba(168, 88, 158, 0.2);
  padding: 0.38rem 0.95rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.eyebrow.sage {
  color: var(--accent-sage-dark);
  background: var(--accent-sage-soft);
  border-color: rgba(163, 177, 151, 0.4);
}

.eyebrow.rose {
  color: var(--accent-rose-dark);
  background: var(--accent-rose-soft);
  border-color: rgba(211, 182, 180, 0.5);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.95rem, 3vw + 0.5rem, 2.75rem);
  font-weight: 600;
  margin-bottom: 0.95rem;
  color: var(--text-heading);
}

.section-title span.accent,
.section-title em {
  font-style: normal;
  color: var(--brand-primary-dark);
}

.section-subtitle {
  font-size: clamp(1rem, 0.35vw + 0.9rem, 1.1rem);
  color: var(--text-muted);
  line-height: 1.7;
}

/* ==========================================================================
   TOP BAR & HEADER (GLASSMORPHISM)
   ========================================================================== */
.topbar {
  background: var(--bg-sand);
  border-bottom: 1px solid var(--border-sand);
  font-size: 0.81rem;
  color: var(--text-body);
  padding-block: 0.5rem;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.topbar-info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.topbar-item svg {
  color: var(--brand-primary);
  flex-shrink: 0;
}

.topbar-credentials {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--brand-primary-deeper);
  letter-spacing: 0.04em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: box-shadow var(--transition-fast), background-color var(--transition-fast);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  gap: 1.25rem;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

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

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.85rem;
}

.nav-link {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--text-body);
  position: relative;
  padding-block: 0.35rem;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand-primary);
  border-radius: 2px;
  transition: width var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--brand-primary-dark);
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mobile-menu-btn {
  display: none;
  background: var(--bg-sand-light);
  border: 1px solid var(--border-sand);
  border-radius: var(--radius-sm);
  padding: 0.55rem;
  cursor: pointer;
  color: var(--text-heading);
}

/* ==========================================================================
   BOTÕES
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.55rem;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast), border-color var(--transition-fast);
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

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

.btn:focus-visible {
  outline: 3px solid rgba(168, 88, 158, 0.4);
  outline-offset: 2px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-dark) 100%);
  color: #ffffff;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #b362a9 0%, #74336b 100%);
  box-shadow: 0 14px 32px -6px rgba(168, 88, 158, 0.52);
  color: #ffffff;
}

.btn-secondary {
  background: var(--bg-white);
  color: var(--text-heading);
  border-color: var(--border-sand);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary-dark);
  background: var(--brand-primary-Tint);
}

.btn-outline-brand {
  background: transparent;
  color: var(--brand-primary-dark);
  border-color: rgba(168, 88, 158, 0.4);
}

.btn-outline-brand:hover {
  background: var(--brand-primary);
  color: #ffffff;
  border-color: var(--brand-primary);
}

.btn-sm {
  padding: 0.62rem 1.2rem;
  font-size: 0.86rem;
}

.btn-lg {
  padding: 1rem 1.9rem;
  font-size: 1.02rem;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  padding-block: clamp(3rem, 6vw, 5.25rem) clamp(4rem, 7vw, 6rem);
  background:
    radial-gradient(circle at 85% 18%, rgba(211, 182, 180, 0.32) 0%, transparent 45%),
    radial-gradient(circle at 12% 80%, rgba(163, 177, 151, 0.24) 0%, transparent 42%),
    linear-gradient(180deg, var(--bg-sand-light) 0%, var(--bg-white) 100%);
  overflow: hidden;
}

.hero-arc-bg {
  position: absolute;
  right: -120px;
  top: -80px;
  width: 620px;
  height: 620px;
  pointer-events: none;
  opacity: 0.22;
  z-index: 0;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  align-items: center;
  gap: clamp(2.5rem, 5vw, 4.5rem);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 3.8vw + 0.5rem, 3.5rem);
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 1.25rem;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.hero-title span.highlight {
  color: var(--brand-primary-dark);
}

.hero-lead {
  font-size: clamp(1.02rem, 0.45vw + 0.92rem, 1.15rem);
  color: var(--text-body);
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 2.5rem;
}

.hero-trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-sand);
}

.trust-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.trust-item strong {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--text-heading);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.trust-item span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Coluna da Foto da Dra. Suellen */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.portrait-frame {
  position: relative;
  width: min(450px, 100%);
  border-radius: 32px 32px 32px 96px;
  background: linear-gradient(145deg, var(--bg-sand) 0%, #ffffff 100%);
  padding: 12px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(168, 88, 158, 0.2);
}

.portrait-inner {
  border-radius: 24px 24px 24px 86px;
  overflow: hidden;
  aspect-ratio: 4 / 4.8;
  background: var(--bg-sand-light);
  position: relative;
}

.portrait-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.8s var(--ease-out);
}

.portrait-frame:hover .portrait-inner img {
  transform: scale(1.025);
}

.floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  z-index: 2;
  animation: floatSlow 6s ease-in-out infinite;
}

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

.floating-card.card-bottom-right {
  bottom: 28px;
  right: -20px;
  animation-delay: -3s;
}

.floating-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.floating-icon.brand {
  background: var(--brand-primary-Tint);
  color: var(--brand-primary-dark);
}

.floating-icon.sage {
  background: var(--accent-sage-soft);
  color: var(--accent-sage-dark);
}

.floating-text strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  color: var(--text-heading);
}

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

@keyframes floatSlow {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -7px; }
}

/* ==========================================================================
   SEÇÃO: QUANDO PROCURAR UM REUMATOLOGISTA (SINTOMAS)
   ========================================================================== */
.symptoms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(265px, 1fr));
  gap: 1.35rem;
}

.symptom-card {
  background: var(--bg-white);
  border: 1px solid var(--border-sand);
  border-radius: var(--radius-md);
  padding: 1.65rem;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-smooth);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.symptom-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--accent-rose);
  transition: background-color var(--transition-fast), width var(--transition-fast);
}

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

.symptom-card:hover::before {
  background: var(--brand-primary);
  width: 6px;
}

.symptom-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--bg-sand-light);
  color: var(--brand-primary-dark);
  display: grid;
  place-items: center;
}

.symptom-card h3 {
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--text-heading);
}

.symptom-card p {
  font-size: 0.93rem;
  color: var(--text-muted);
  flex-grow: 1;
}

.symptom-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--brand-primary-dark);
  margin-top: 0.3rem;
}

/* ==========================================================================
   SEÇÃO: DOENÇAS E TRATAMENTOS (CARDS + FILTROS NO GUIA)
   ========================================================================== */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
}

.filter-btn {
  font-family: var(--font-heading);
  background: var(--bg-sand-light);
  border: 1px solid var(--border-sand);
  color: var(--text-body);
  padding: 0.62rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary-dark);
}

.filter-btn.active {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #ffffff;
  box-shadow: 0 6px 18px -4px rgba(168, 88, 158, 0.4);
}

.conditions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.condition-card {
  background: var(--bg-white);
  border: 1px solid var(--border-sand);
  border-radius: var(--radius-lg);
  padding: 1.85rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
  box-shadow: var(--shadow-xs);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-smooth);
  cursor: pointer;
}

.condition-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-primary);
}

.condition-card-top {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.condition-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.condition-category-badge {
  font-family: var(--font-heading);
  font-size: 0.73rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  background: var(--brand-primary-Tint);
  color: var(--brand-primary-dark);
}

.condition-category-badge[data-cat="ossea"] {
  background: var(--accent-sage-soft);
  color: var(--accent-sage-dark);
}

.condition-category-badge[data-cat="dor"] {
  background: var(--accent-rose-soft);
  color: var(--accent-rose-dark);
}

.condition-card h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-heading);
}

.condition-card p {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.condition-symptoms-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.symptom-chip {
  font-size: 0.76rem;
  background: var(--bg-sand-light);
  color: var(--text-body);
  padding: 0.24rem 0.65rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-sand);
}

.condition-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--bg-sand);
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--brand-primary-dark);
}

.condition-card-footer span.arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--brand-primary-Tint);
  transition: transform var(--transition-fast), background-color var(--transition-fast), color var(--transition-fast);
}

.condition-card:hover .condition-card-footer span.arrow {
  transform: translateX(4px);
  background: var(--brand-primary);
  color: #ffffff;
}

.conditions-hub-cta {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
}

.conditions-hub-banner {
  margin-top: 2.75rem;
  background: linear-gradient(135deg, var(--bg-sand) 0%, var(--accent-rose-soft) 100%);
  border: 1px solid var(--border-sand);
  border-radius: var(--radius-lg);
  padding: clamp(1.65rem, 3vw, 2.25rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.conditions-hub-banner h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}

/* ==========================================================================
   SEÇÃO: SOBRE A DRA. SUELLEN NARIMATSU & FORMAÇÃO
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}

.about-card-profile {
  background: var(--bg-white);
  border: 1px solid var(--border-sand);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 110px;
}

.about-photo-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 4.3;
  margin-bottom: 1.4rem;
  background: var(--bg-sand-light);
}

.about-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.about-credentials-box {
  background: var(--bg-sand-light);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.25rem;
  border-left: 4px solid var(--brand-primary);
}

.about-credentials-box h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  margin-bottom: 0.2rem;
}

.about-credentials-box .crm-line {
  font-family: var(--font-heading);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--brand-primary-dark);
  letter-spacing: 0.04em;
  margin-bottom: 0.65rem;
}

.timeline-list {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  margin-top: 2rem;
  position: relative;
}

.timeline-item {
  display: flex;
  gap: 1.15rem;
  background: var(--bg-white);
  border: 1px solid var(--border-sand);
  border-radius: var(--radius-md);
  padding: 1.3rem 1.45rem;
  box-shadow: var(--shadow-xs);
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.timeline-item:hover {
  border-color: var(--brand-primary);
  transform: translateX(4px);
}

.timeline-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--brand-primary-Tint);
  color: var(--brand-primary-dark);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-weight: 700;
}

.timeline-item.fleury-highlight {
  background: linear-gradient(135deg, #ffffff 0%, var(--accent-sage-soft) 100%);
  border-color: var(--accent-sage);
}

.timeline-item.fleury-highlight .timeline-badge {
  background: var(--accent-sage);
  color: #ffffff;
}

.timeline-content h4 {
  font-family: var(--font-heading);
  font-size: 1.04rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.timeline-content .institution {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-primary-dark);
  margin-bottom: 0.35rem;
}

.timeline-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ==========================================================================
   SEÇÃO: LOCALIZAÇÃO & CONSULTÓRIO (ALAMEDA SANTOS, 455)
   ========================================================================== */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2.5rem;
  align-items: stretch;
}

.location-card {
  background: var(--bg-white);
  border: 1px solid var(--border-sand);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3.5vw, 2.5rem);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
}

.location-details-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.location-detail-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.location-detail-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--brand-primary-Tint);
  color: var(--brand-primary-dark);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.location-detail-item strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.98rem;
  color: var(--text-heading);
  margin-bottom: 0.15rem;
}

.location-detail-item span,
.location-detail-item a {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.location-conveniences {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding-top: 1rem;
  border-top: 1px solid var(--bg-sand);
}

.convenience-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-heading);
  font-size: 0.81rem;
  font-weight: 600;
  background: var(--accent-sage-soft);
  color: var(--accent-sage-dark);
  padding: 0.42rem 0.85rem;
  border-radius: var(--radius-full);
}

.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-sand);
  box-shadow: var(--shadow-sm);
  min-height: 420px;
  background: var(--bg-sand-light);
  display: flex;
  flex-direction: column;
}

.map-container iframe {
  width: 100%;
  flex-grow: 1;
  border: 0;
  min-height: 360px;
}

.map-actions-bar {
  background: var(--bg-white);
  padding: 0.95rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  border-top: 1px solid var(--border-sand);
}

/* ==========================================================================
   FAQ (ACORDEÃO NATIVO <details name="faq-group">)
   ========================================================================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.faq-item {
  background: var(--bg-white);
  border: 1px solid var(--border-sand);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.faq-item[open] {
  border-color: var(--brand-primary);
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  list-style: none;
  padding: 1.3rem 1.6rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.03rem;
  color: var(--text-heading);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-sand-light);
  color: var(--brand-primary-dark);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform var(--transition-fast), background-color var(--transition-fast);
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
  background: var(--brand-primary);
  color: #ffffff;
}

.faq-answer {
  padding: 0 1.6rem 1.4rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  border-top: 1px solid var(--bg-sand-light);
  padding-top: 1rem;
}

/* ==========================================================================
   MODAL NATIVO DE DOENÇA / TRATAMENTO (<dialog closedby="any">)
   ========================================================================== */
dialog.site-dialog {
  margin: auto;
  width: min(740px, 100% - 2rem);
  max-height: min(88vh, 820px);
  border: 1px solid var(--border-sand);
  border-radius: var(--radius-lg);
  background: var(--bg-white);
  color: var(--text-body);
  box-shadow: var(--shadow-lg);
  padding: 0;
  overflow: hidden;
}

dialog.site-dialog[open] {
  display: flex;
  flex-direction: column;
  animation: dialogIn 0.28s var(--ease-out);
}

dialog.site-dialog::backdrop {
  background-color: rgba(32, 24, 31, 0.56);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

@keyframes dialogIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.dialog-header {
  padding: 1.5rem 2rem;
  background: var(--bg-sand-light);
  border-bottom: 1px solid var(--border-sand);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.dialog-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.45rem, 2.2vw, 1.85rem);
  margin-top: 0.4rem;
}

.dialog-close-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-sand);
  background: var(--bg-white);
  color: var(--text-heading);
  display: grid;
  place-items: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color var(--transition-fast);
}

.dialog-close-btn:hover {
  background: var(--brand-primary-Tint);
  color: var(--brand-primary-dark);
}

.dialog-body {
  padding: 1.85rem 2rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.dialog-section-box {
  background: var(--bg-sand-light);
  border: 1px solid var(--border-sand);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.4rem;
}

.dialog-section-box h4 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: var(--brand-primary-dark);
  margin-bottom: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.dialog-section-box ul {
  padding-left: 1.2rem;
  display: grid;
  gap: 0.4rem;
}

.dialog-footer {
  padding: 1.25rem 2rem;
  background: var(--bg-white);
  border-top: 1px solid var(--border-sand);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ==========================================================================
   RODAPÉ & BOTÃO FLUTUANTE WHATSAPP
   ========================================================================== */
.site-footer {
  background: #231e22;
  color: rgba(255, 255, 255, 0.78);
  padding-top: 4rem;
  padding-bottom: 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.85fr 0.85fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand-box {
  display: inline-block;
  margin-bottom: 1.15rem;
}

.footer-brand-box img {
  height: 46px;
  width: auto;
  object-fit: contain;
}

.footer-col h4 {
  font-family: var(--font-heading);
  color: #ffffff;
  font-size: 0.96rem;
  margin-bottom: 1rem;
  letter-spacing: 0.04em;
}

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

.footer-links a:hover {
  color: #e4b5de;
}

.footer-bottom {
  padding-top: 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.58);
}

/* Botão Flutuante WhatsApp */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: #1f8e4d;
  color: #ffffff;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-full);
  box-shadow: 0 12px 28px -6px rgba(31, 142, 77, 0.55);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px -6px rgba(31, 142, 77, 0.7);
}

/* ==========================================================================
   ANIMAÇÕES DE ENTRADA (SCROLL REVEAL)
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}

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

/* Página Guia de Doenças - Barra de Busca */
.hub-hero {
  background: linear-gradient(180deg, var(--bg-sand) 0%, var(--bg-sand-light) 100%);
  padding-block: clamp(3rem, 5vw, 4.5rem);
  border-bottom: 1px solid var(--border-sand);
}

.search-bar-wrap {
  max-width: 620px;
  margin: 1.75rem auto 0;
  position: relative;
}

.search-input {
  width: 100%;
  padding: 1rem 1.25rem 1rem 3rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-sand);
  background: var(--bg-white);
  box-shadow: var(--shadow-sm);
  font-size: 0.98rem;
}

.search-input:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 4px rgba(168, 88, 158, 0.15);
}

.search-icon {
  position: absolute;
  left: 1.15rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--brand-primary);
}

/* ==========================================================================
   RESPONSIVIDADE E ACESSIBILIDADE DE MOVIMENTO
   ========================================================================== */
@media (max-width: 980px) {
  .topbar {
    display: none;
  }

  .hero-grid,
  .about-grid,
  .location-grid {
    grid-template-columns: 1fr;
  }

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

  .about-card-profile {
    position: static;
    max-width: 480px;
    margin-inline: auto;
  }

  .floating-card.card-bottom-right {
    right: 8px;
  }
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: inline-flex;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-white);
    flex-direction: column;
    align-items: stretch;
    padding: 0 1.5rem;
    gap: 0;
    border-bottom: 1px solid var(--border-sand);
    box-shadow: var(--shadow-md);
    block-size: 0;
    overflow: hidden;
    transition: block-size 0.35s var(--ease-out), padding 0.35s var(--ease-out);
  }

  .main-nav.is-open {
    block-size: auto;
    padding: 1rem 1.5rem 1.5rem;
  }

  .nav-link {
    padding-block: 0.75rem;
    border-bottom: 1px solid var(--bg-sand-light);
  }

  .hero-trust-row {
    grid-template-columns: 1fr;
  }

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

  .whatsapp-float span {
    display: none;
  }

  .whatsapp-float {
    padding: 0.95rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after,
  .main-nav,
  .reveal,
  .floating-card {
    animation: none !important;
    transition: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
