/* ==============================================================================
   Website Profissional - Denise Cardoso Bortolan | Psicóloga Clínica
   Prática Baseada em Evidências (PBE) • Adultos • Atendimento Online
   Versão: 1.7 (Cache Busting v=1.7)
   Design: Luminous, Clean, Harmonioso e Sério (Tipografia Lora + Áreas Brancas)
   ============================================================================== */

/* --- Importação de Tipografia Google Fonts --- */
/* Lora: Séria, harmoniosa, reflexiva e humana | Plus Jakarta Sans: Limpa, legível e técnica */
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

/* --- Variáveis e Tokens de Design --- */
:root {
  /* Paleta Clara & Áreas em Branco (Clean & Respirável) */
  --bg-white: #ffffff;
  --bg-light: #f8f9fb;
  --bg-light-warm: #f4f5f8;
  --bg-card-light: #ffffff;
  --bg-card-hover: #fafbfc;

  /* Paleta Escura (Cabeçalho, Rodapé e Destaques Institucionais) */
  --bg-darkest: #121214;
  --bg-dark: #18181b;
  --bg-dark-secondary: #222226;
  --bg-dark-card: #28282d;

  /* Paleta Ouro Velho / Dourado Sóbrio */
  --gold-primary: #b8903e;
  --gold-light: #d6c875;
  --gold-dark: #9a752b;
  --gold-subtle: rgba(184, 144, 62, 0.08);
  --gold-glow: rgba(184, 144, 62, 0.2);
  --gold-border: rgba(184, 144, 62, 0.3);

  /* Cores de Texto para Áreas Claras */
  --text-dark-primary: #18181b;
  --text-dark-secondary: #4b5563;
  --text-dark-muted: #6b7280;
  --text-dark-accent: #9a752b;

  /* Cores de Texto para Áreas Escuras (Header, Rodapé) */
  --text-light-primary: #f7f7f9;
  --text-light-secondary: #c5c5cb;
  --text-light-muted: #8e8e96;

  /* Bordas e Divisores */
  --border-light: #e5e7eb;
  --border-subtle: #f0f1f4;
  --border-dark: rgba(255, 255, 255, 0.08);

  /* Sombras Suaves e Orgânicas */
  --shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 18px 45px rgba(0, 0, 0, 0.09);
  --shadow-portrait: 0 20px 40px rgba(24, 24, 27, 0.12);

  /* Tipografia Séria, Harmoniosa e Humanizada */
  --font-heading: 'Lora', Georgia, 'Times New Roman', serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Transições */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.5s cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --container-max: 1220px;
  --header-height: 84px;
  --header-height-scrolled: 72px;
}

/* --- Reset e Prevenção Obrigatória de Overflow Mobile --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
  -webkit-text-size-adjust: 100%;
}

html,
body {
  overflow-x: hidden;
  max-width: 100%;
  background-color: var(--bg-white);
  color: var(--text-dark-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

header,
main,
section,
footer {
  max-width: 100%;
  position: relative;
}

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

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

button,
input,
textarea {
  font-family: inherit;
  color: inherit;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
  background: transparent;
}

ul,
ol {
  list-style: none;
}

/* --- Tipografia dos Títulos: Lora (Séria, Harmoniosa, Humana) --- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--text-dark-primary);
  line-height: 1.3;
  letter-spacing: -0.01em;
  word-break: break-word;
  overflow-wrap: break-word;
  font-weight: 600;
}

p {
  color: var(--text-dark-secondary);
  word-break: break-word;
  overflow-wrap: break-word;
  font-size: 1.02rem;
  line-height: 1.75;
}

/* --- Container Utilitário --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(16px, 4vw, 36px);
  padding-right: clamp(16px, 4vw, 36px);
}

/* --- Badges & Destaques de Rigor Científico --- */
.tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 9999px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: var(--gold-subtle);
  color: var(--gold-dark);
  border: 1px solid var(--gold-border);
}

.tag-badge svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* --- Botões Universais --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all var(--transition-normal);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, #18181b, #28282d);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(24, 24, 27, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #2a2a30, #18181b);
  box-shadow: 0 6px 22px rgba(24, 24, 27, 0.32);
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(184, 144, 62, 0.25);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #c9a34e, var(--gold-primary));
  box-shadow: 0 6px 24px rgba(184, 144, 62, 0.38);
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-outline {
  background: #ffffff;
  color: var(--text-dark-primary);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-xs);
}

.btn-outline:hover {
  background: var(--bg-light);
  border-color: var(--gold-primary);
  color: var(--gold-dark);
  transform: translateY(-2px);
}

.btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  transition: transform var(--transition-fast);
}

.btn:hover svg {
  transform: translateX(3px);
}

/* --- Cabeçalho Fixo Sóbrio (Dark Frame com Logotipo Dourado) --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(24, 24, 27, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background var(--transition-normal), padding var(--transition-normal);
  padding: 16px 0;
}

.site-header.scrolled {
  background: rgba(20, 20, 23, 0.98);
  padding: 10px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logotipo Exclusivo (Sem nome por extenso) */
.header-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-right: clamp(16px, 2.5vw, 40px);
  text-decoration: none;
}

.header-logo-img {
  height: 52px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  transition: transform var(--transition-normal), height var(--transition-normal);
}

.site-header.scrolled .header-logo-img {
  height: 44px;
}

/* Navegação Desktop: PBE | SOBRE MIM | ÁREAS DE ATUAÇÃO | FAQ | CONTATO */
.nav-desktop {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.8vw, 32px);
}

.nav-desktop ul {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.5vw, 26px);
}

.nav-link {
  font-family: var(--font-body);
  font-size: clamp(0.84rem, 0.9vw, 0.94rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-light-secondary);
  padding: 8px 6px;
  position: relative;
  white-space: nowrap !important;
  flex-shrink: 0;
  transition: color var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold-light);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gold-light);
  transition: width var(--transition-fast), left var(--transition-fast);
}

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

/* Botões do Header Desktop */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-header .btn {
  white-space: nowrap !important;
  flex-shrink: 0;
  padding: 10px 22px;
  font-size: 0.88rem;
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
  color: #ffffff;
  border: none;
}

.site-header .btn:hover {
  background: linear-gradient(135deg, #c9a34e, var(--gold-primary));
}

/* Botão Hambúrguer Mobile */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 32px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1010;
}

.hamburger-btn span {
  width: 100%;
  height: 2px;
  background-color: var(--gold-light);
  border-radius: 2px;
  transition: all var(--transition-normal);
}

.hamburger-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.hamburger-btn.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* --- Menu Drawer Mobile --- */
.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1005;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.mobile-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 85%;
  max-width: 360px;
  height: 100%;
  background: #18181b;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 1006;
  padding: 88px 28px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateX(100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform var(--transition-smooth), visibility var(--transition-smooth);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.6);
}

.mobile-drawer.active {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mobile-nav-link {
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-light-secondary);
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--gold-light);
}

.mobile-drawer-footer {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-drawer-footer .btn {
  width: 100%;
}

.mobile-crp-tag {
  font-size: 0.78rem;
  color: var(--text-light-muted);
  text-align: center;
}

/* ==============================================================================
   Seção Hero: Área em Branco, Acolhedora e Clean com a Foto da Profissional
   ============================================================================== */
.hero-section {
  padding-top: calc(var(--header-height) + 56px);
  padding-bottom: 84px;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-light) 100%);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.hero-tagline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-title {
  font-size: clamp(2rem, 3.2vw, 3.2rem);
  line-height: 1.25;
  font-weight: 600;
  color: var(--text-dark-primary);
}

.hero-title .highlight-gold {
  color: var(--gold-dark);
  font-weight: 600;
  font-style: italic;
  display: inline;
}

.hero-description {
  font-size: clamp(1.02rem, 1.15vw, 1.15rem);
  line-height: 1.8;
  color: var(--text-dark-secondary);
  max-width: 620px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 8px;
}

.hero-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
  margin-top: 8px;
}

.hero-badge-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-badge-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--gold-subtle);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-dark);
  flex-shrink: 0;
}

.hero-badge-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.hero-badge-text {
  display: flex;
  flex-direction: column;
}

.hero-badge-text strong {
  font-size: 0.9rem;
  color: var(--text-dark-primary);
}

.hero-badge-text span {
  font-size: 0.78rem;
  color: var(--text-dark-muted);
}

/* Card Visual do Hero com a FOTO REAL da Profissional */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-portrait-card {
  position: relative;
  width: 100%;
  max-width: 420px;
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-portrait);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.hero-portrait-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px rgba(24, 24, 27, 0.16);
}

.hero-photo-wrap {
  position: relative;
  width: 100%;
  height: 440px;
  overflow: hidden;
  background: #f0f0f3;
}

.hero-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  transition: transform var(--transition-smooth);
}

.hero-portrait-card:hover .hero-photo-img {
  transform: scale(1.02);
}

/* Selo de Experiência sobre a foto */
.hero-photo-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(24, 24, 27, 0.9);
  color: var(--gold-light);
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(214, 200, 117, 0.3);
}

.hero-card-footer {
  padding: 20px 24px;
  background: #ffffff;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-card-author {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-dark-primary);
}

.hero-card-subtitle {
  font-size: 0.82rem;
  color: var(--gold-dark);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ==============================================================================
   Seções Globais & Cabeçalhos em Áreas Claras
   ============================================================================== */
.section {
  padding: 96px 0;
  position: relative;
}

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

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

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

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.section-title {
  font-size: clamp(1.8rem, 2.5vw, 2.5rem);
  font-weight: 600;
  color: var(--text-dark-primary);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-dark-secondary);
  line-height: 1.7;
}

.section-divider {
  width: 50px;
  height: 2px;
  background: var(--gold-primary);
  margin-top: 6px;
}

/* ==============================================================================
   1. PBE (Prática Baseada em Evidências) - Seção Clara & Minimalista
   ============================================================================== */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.pillar-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 38px 30px;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--gold-primary);
  transition: width var(--transition-normal);
}

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

.pillar-card:hover::before {
  width: 100%;
}

.pillar-icon {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: var(--gold-subtle);
  border: 1px solid var(--gold-border);
  color: var(--gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.pillar-icon svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.pillar-title {
  font-size: 1.3rem;
  margin-bottom: 14px;
  color: var(--text-dark-primary);
}

.pillar-description {
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--text-dark-secondary);
}

/* O Percurso Psicoterapêutico (Fluxo de Eficácia) */
.workflow-wrap {
  margin-top: 64px;
  padding-top: 56px;
  border-top: 1px solid var(--border-light);
}

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

.workflow-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-xs);
}

.workflow-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-border);
  box-shadow: var(--shadow-sm);
}

.workflow-step-num {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--gold-dark);
  line-height: 1;
  opacity: 0.85;
}

.workflow-title {
  font-size: 1.15rem;
  color: var(--text-dark-primary);
}

.workflow-desc {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text-dark-secondary);
}

/* ==============================================================================
   2. SOBRE MIM (Apresentação Institucional & Trajetória Acadêmica)
   ============================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

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

.about-portrait-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow-md);
  position: relative;
}

.about-photo-wrapper {
  position: relative;
  width: 100%;
  height: 380px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
  background: #f0f0f3;
}

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

.about-portrait-name {
  font-size: 1.35rem;
  margin-bottom: 4px;
  color: var(--text-dark-primary);
}

.about-portrait-creds {
  font-size: 0.85rem;
  color: var(--gold-dark);
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}

.about-pillars-mini {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
  padding-top: 18px;
  border-top: 1px solid var(--border-light);
}

.mini-check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-dark-secondary);
}

.mini-check-item svg {
  width: 16px;
  height: 16px;
  fill: var(--gold-dark);
  flex-shrink: 0;
}

.about-content-column {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.about-main-title {
  font-size: clamp(1.8rem, 2.5vw, 2.3rem);
  font-weight: 600;
  color: var(--text-dark-primary);
  line-height: 1.3;
}

.about-institutional-text {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-dark-secondary);
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-align: justify;
  text-justify: inter-word;
}

.about-institutional-text strong {
  color: var(--text-dark-primary);
}

.about-highlights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding-top: 12px;
}

.about-highlight-box {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-xs);
}

.about-highlight-box svg {
  width: 22px;
  height: 22px;
  fill: var(--gold-dark);
  flex-shrink: 0;
}

.about-highlight-box svg[fill="none"] {
  fill: none;
  stroke: var(--gold-dark);
}

.about-highlight-box span {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark-primary);
}

/* Linha do Tempo Integrada na Seção Sobre Mim */
.timeline-section-wrap {
  margin-top: 80px;
  padding-top: 64px;
  border-top: 1px solid var(--border-light);
}

.timeline-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 0;
}

.timeline-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--gold-primary) 10%, var(--gold-primary) 90%, transparent);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 44px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

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

.timeline-item:nth-child(even) .timeline-content {
  grid-column: 2;
  text-align: left;
}

.timeline-item:nth-child(even) .timeline-date-wrap {
  grid-column: 1;
  grid-row: 1;
  text-align: right;
}

.timeline-item:nth-child(odd) .timeline-content {
  grid-column: 1;
  text-align: right;
}

.timeline-item:nth-child(odd) .timeline-date-wrap {
  grid-column: 2;
  text-align: left;
}

.timeline-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid var(--gold-primary);
  box-shadow: 0 0 10px rgba(184, 144, 62, 0.3);
  z-index: 2;
}

.timeline-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 24px 24px;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-xs);
}

.timeline-card:hover {
  border-color: var(--gold-border);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.timeline-category {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 6px;
}

.timeline-item-title {
  font-size: 1.18rem;
  margin-bottom: 8px;
  color: var(--text-dark-primary);
}

.timeline-item-desc {
  font-size: 0.92rem;
  color: var(--text-dark-secondary);
  line-height: 1.7;
}

.timeline-date-badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--gold-dark);
}

/* ==============================================================================
   3. ÁREAS DE ATUAÇÃO (Antigo Focos Clínicos) - Limpa, Arejada e Clara
   ============================================================================== */
.focus-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.focus-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 38px 32px;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  box-shadow: var(--shadow-sm);
}

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

.focus-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.focus-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--gold-subtle);
  border: 1px solid var(--gold-border);
  color: var(--gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.focus-card-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.focus-card-icon svg[fill="none"] {
  fill: none;
  stroke: currentColor;
}

.focus-number {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-dark-muted);
}

.focus-card-title {
  font-size: 1.35rem;
  color: var(--text-dark-primary);
  line-height: 1.35;
}

.focus-card-desc {
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--text-dark-secondary);
}

.focus-card-points {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
}

.focus-point-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-dark-secondary);
}

.focus-point-item svg {
  width: 15px;
  height: 15px;
  fill: var(--gold-dark);
  margin-top: 4px;
  flex-shrink: 0;
}

/* ==============================================================================
   4. FAQ (Perguntas Frequentes) - Limpa & Organizada
   ============================================================================== */
.faq-grid {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.faq-item.active {
  border-color: var(--gold-border);
  box-shadow: var(--shadow-sm);
}

.faq-question-btn {
  width: 100%;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--text-dark-primary);
  background: transparent;
  transition: color var(--transition-fast);
}

.faq-question-btn:hover {
  color: var(--gold-dark);
}

.faq-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--gold-subtle);
  color: var(--gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition-normal);
}

.faq-icon svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  background: var(--gold-primary);
  color: #ffffff;
}

.faq-answer-wrap {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-smooth);
}

.faq-answer-inner {
  padding: 18px 24px 28px 24px;
  font-size: 0.98rem;
  line-height: 1.8;
  color: var(--text-dark-secondary);
  border-top: 1px solid var(--border-subtle);
}

/* ==============================================================================
   5. CONTATO & AGENDAMENTO - Equilíbrio Sofisticado & Newsletter
   ============================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-card-info {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 38px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  box-shadow: var(--shadow-sm);
}

.contact-info-title {
  font-size: 1.35rem;
  color: var(--text-dark-primary);
  font-weight: 600;
}

.contact-channel-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.channel-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--gold-subtle);
  border: 1px solid var(--gold-border);
  color: var(--gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.channel-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.channel-details {
  display: flex;
  flex-direction: column;
}

.channel-label {
  font-size: 0.78rem;
  color: var(--text-dark-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.channel-value {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark-primary);
  transition: color var(--transition-fast);
}

.channel-value:hover {
  color: var(--gold-dark);
}

.channel-desc {
  font-size: 0.85rem;
  color: var(--text-dark-secondary);
}

.crisis-alert-box {
  background: #fdfaf3;
  border: 1px solid var(--gold-border);
  border-radius: 8px;
  padding: 16px;
  font-size: 0.85rem;
  color: var(--text-dark-secondary);
  line-height: 1.55;
}

.crisis-alert-box strong {
  color: var(--gold-dark);
}

.contact-form-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: 38px 32px;
  box-shadow: var(--shadow-sm);
}

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

.form-label {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-dark-primary);
}

.form-input {
  width: 100%;
  padding: 13px 16px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  color: var(--text-dark-primary);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.form-input:focus {
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px rgba(184, 144, 62, 0.15);
  outline: none;
}

.form-input::placeholder {
  color: #9ca3af;
}

.form-privacy-note {
  font-size: 0.78rem;
  color: var(--text-dark-muted);
  line-height: 1.45;
}

/* Newsletter Científica Integrada ao Bloco de Contato */
.newsletter-card {
  margin-top: 64px;
  background: linear-gradient(145deg, #18181b, #222226);
  border: 1px solid rgba(214, 200, 117, 0.25);
  border-radius: 16px;
  padding: 56px 48px;
  box-shadow: var(--shadow-lg);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.newsletter-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
}

.newsletter-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.newsletter-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.newsletter-title {
  font-size: clamp(1.8rem, 2.5vw, 2.3rem);
  color: #ffffff;
}

.newsletter-desc {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-light-secondary);
}

.newsletter-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.newsletter-topic-pill {
  font-size: 0.76rem;
  padding: 4px 12px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-light-secondary);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.newsletter-form .form-label {
  color: #ffffff;
}

.newsletter-form .form-input {
  background: #121214;
  border-color: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.newsletter-form .form-input:focus {
  border-color: var(--gold-light);
  box-shadow: 0 0 0 3px rgba(214, 200, 117, 0.2);
}

.newsletter-form .form-privacy-note {
  color: var(--text-light-muted);
}

.form-status-msg {
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 0.86rem;
  display: none;
}

.form-status-msg.success {
  display: block;
  background: rgba(39, 174, 96, 0.15);
  color: #2ecc71;
  border: 1px solid rgba(39, 174, 96, 0.3);
}

.form-status-msg.error {
  display: block;
  background: rgba(231, 76, 60, 0.15);
  color: #e74c3c;
  border: 1px solid rgba(231, 76, 60, 0.3);
}

/* ==============================================================================
   Rodapé Institucional com Logotipo Ajustado e Área de Segurança
   ============================================================================== */
.site-footer {
  background: var(--bg-darkest);
  color: var(--text-light-secondary);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  /* Reserva de área de segurança obrigatória para o botão flutuante */
  padding-top: 64px;
  padding-bottom: 96px;
  position: relative;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 0.9fr 0.8fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo {
  height: 60px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
  margin-bottom: 8px;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
}

.footer-bio {
  font-size: 0.88rem;
  color: var(--text-light-secondary);
  line-height: 1.65;
  max-width: 320px;
}

.footer-crp {
  font-size: 0.82rem;
  color: var(--gold-light);
  font-weight: 600;
}

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

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

.footer-links a {
  font-size: 0.88rem;
  color: var(--text-light-secondary);
}

.footer-links a:hover {
  color: var(--gold-light);
  padding-left: 4px;
}

/* Faixa Inferior de Créditos & Segurança Anti-Sobreposição */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 28px;
  font-size: 0.84rem;
  color: var(--text-light-muted);
}

.footer-credits a {
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-credits a:hover {
  color: #ffffff;
}

/* --- Botão Flutuante Fixo do WhatsApp --- */
.whatsapp-float-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 990;
  display: flex;
  align-items: center;
  gap: 12px;
}

.whatsapp-float-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: all var(--transition-normal);
  text-decoration: none;
  flex-shrink: 0;
}

.whatsapp-float-btn:hover {
  transform: scale(1.08) translateY(-3px);
  box-shadow: 0 6px 26px rgba(37, 211, 102, 0.65);
  background: #22bf5b;
}

.whatsapp-float-btn svg {
  width: 32px;
  height: 32px;
  fill: #ffffff;
}

.whatsapp-float-tooltip {
  background: #18181b;
  color: #ffffff;
  border: 1px solid var(--gold-border);
  border-radius: 20px;
  padding: 8px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: all var(--transition-normal);
}

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

/* ==============================================================================
   Media Queries & Responsividade Rigorosa (Anti-Overflow & Anti-Wrap)
   ============================================================================== */

/* Telas de Laptops Médios e Tablets Horizontais (Breakpoint Seguro 1024px) */
@media (max-width: 1024px) {
  .nav-desktop {
    display: none;
  }

  .hamburger-btn {
    display: flex;
  }

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

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

  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

/* Telas Médias / Tablets Verticais (<= 768px) */
@media (max-width: 768px) {
  :root {
    --header-height: 72px;
  }

  .hero-section {
    padding-top: calc(var(--header-height) + 24px);
    padding-bottom: 56px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-visual {
    order: -1;
  }

  .hero-title {
    font-size: clamp(1.75rem, 5.5vw, 2.3rem);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .focus-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

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

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

  /* Linha do tempo colapsa para lista linear vertical */
  .timeline-line {
    left: 20px;
    transform: none;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-left: 52px;
  }

  .timeline-item:nth-child(even) .timeline-content,
  .timeline-item:nth-child(odd) .timeline-content {
    grid-column: 1;
    text-align: left;
  }

  .timeline-item:nth-child(even) .timeline-date-wrap,
  .timeline-item:nth-child(odd) .timeline-date-wrap {
    grid-column: 1;
    grid-row: auto;
    text-align: left;
  }

  .timeline-dot {
    left: 20px;
    transform: translate(-50%, -50%);
  }

  /* Botões no mobile sem nowrap rígido */
  .btn {
    white-space: normal;
    text-align: center;
    max-width: 100%;
    padding: 12px 20px;
  }

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

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

  /* Footer com área de segurança expandida no mobile */
  .site-footer {
    padding-bottom: 110px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
}

/* Telas Pequenas de Celular (< 640px) */
@media (max-width: 639px) {
  .header-actions .btn {
    display: none;
  }

  .header-logo-img {
    max-width: 150px;
    height: auto;
  }

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

  .newsletter-card {
    padding: 36px 20px;
  }

  .contact-card-info,
  .contact-form-card {
    padding: 28px 20px;
  }

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

  .hero-photo-wrap {
    height: 360px;
  }

  .about-photo-wrapper {
    height: 320px;
  }

  /* Oculta tooltip do WhatsApp no mobile para não obstruir clique */
  .whatsapp-float-tooltip {
    display: none;
  }

  .whatsapp-float-container {
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-float-btn {
    width: 52px;
    height: 52px;
  }

  .whatsapp-float-btn svg {
    width: 28px;
    height: 28px;
  }
}