:root {
  --color-primary: #2ea3f2;
  --color-primary-dark: #1a7fc4;
  --color-primary-light: #5bb8f7;
  --color-accent: #d4af37;
  --color-bg: #f8f9fb;
  --color-surface: #ffffff;
  --color-text: #3e3e3e;
  --color-text-muted: #666666;
  --color-border: #e8eaed;
  --color-success: #059669;
  --color-danger: #dc2626;
  --color-warning: #d97706;
  --color-wa: #075e54;
  --color-wa-light: #128c7e;
  --color-wa-bg: #ece5dd;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --font: 'Open Sans', Arial, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Header */
.site-header {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  text-decoration: none;
}

.logo-icon { color: var(--color-accent); font-size: 1.5rem; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-links a { color: var(--color-text); font-weight: 500; text-decoration: none; }
.nav-links a:hover { color: var(--color-primary); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border: none;
  border-radius: 8px;
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-primary { background: var(--color-primary); color: #fff; }
.btn-primary:hover { background: var(--color-primary-dark); color: #fff; text-decoration: none; }

.btn-outline { background: transparent; border: 2px solid var(--color-primary); color: var(--color-primary); }
.btn-outline:hover { background: var(--color-primary); color: #fff; text-decoration: none; }

.btn-ghost { background: transparent; color: var(--color-text-muted); }
.btn-ghost:hover { color: var(--color-text); }

.btn-danger { background: var(--color-danger); color: #fff; }
.btn-sm { padding: 0.375rem 0.75rem; font-size: 0.8125rem; }
.btn-lg { padding: 0.875rem 1.75rem; font-size: 1rem; }
.btn-block { width: 100%; }

.inline-form { display: inline; }

/* Hero — banner panorâmico em largura total */
.hero--banner {
  width: 100%;
  min-height: clamp(480px, 55vw, 680px);
  display: flex;
  align-items: center;
  padding: 4rem 0;
  color: var(--color-text);
  text-align: left;
  background-color: #f8fbff;
  background-image: url('/img/agenda/hero-banner.webp');
  background-repeat: no-repeat;
  background-position: right center;
  background-size: cover;
}

.hero-banner-inner {
  width: 100%;
}

.hero-content {
  max-width: 580px;
}

.hero-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-brand-line {
  display: block;
  width: 72px;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--color-accent) 0%,
    var(--color-accent) 38%,
    #d1d5db 38%,
    #d1d5db 100%
  );
  flex-shrink: 0;
}

.hero-brand-name {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #333;
}

.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.15;
  color: #2b2b2b;
  margin-bottom: 1.5rem;
}

.hero-lead {
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
  max-width: 560px;
}

.hero-tagline {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  margin-bottom: 2.25rem;
  max-width: 560px;
}

.hero-tagline strong {
  color: #333;
  font-weight: 700;
}

.btn-hero-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.125rem 2.25rem;
  background: var(--color-primary);
  color: #fff;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(46, 163, 242, 0.35);
  transition: all 0.2s;
}

/* Seção de vídeo (após o hero) */
.home-video-section {
  background: #f9f9f9;
  padding: 4rem 0;
  text-align: center;
}

.home-video-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: #1a2b3c;
  margin-bottom: 2.5rem;
  line-height: 1.3;
}

.video-embed {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Especialidades terapêuticas */
.home-specialties-section {
  background: #f8f9fb;
  padding: 4rem 0 3.5rem;
  text-align: center;
}

.home-specialties-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 3.125rem);
  font-weight: 700;
  color: #2a3749;
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.home-specialties-subtitle {
  font-size: 1rem;
  color: var(--color-text-muted);
  margin-bottom: 2.5rem;
}

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

.specialty-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.specialty-card-visual {
  width: 100%;
  min-height: 220px;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  border-radius: 2px;
  margin-bottom: -2.5rem;
  position: relative;
  mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
}

.specialty-card-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(42, 46, 64, 0) 36%, #f8f9fb 74%);
  pointer-events: none;
}

.specialty-card-title {
  position: relative;
  z-index: 1;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  color: #000;
  line-height: 1.4;
  margin: 0 0 1rem;
  min-height: 2.8em;
}

.btn-specialty {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.375rem;
  background: #f8f9fb;
  color: #000;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 12px 14px -10px rgba(0, 122, 255, 0.33);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-specialty:hover {
  color: #000;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 14px 20px -8px rgba(0, 122, 255, 0.4);
}

.specialty-card:hover .specialty-card-visual {
  transform: translateY(-3px);
  transition: transform 0.3s ease;
}

.specialty-card-link {
  display: block;
  width: 100%;
  text-decoration: none;
}

.specialty-card-link:hover {
  text-decoration: none;
}

.btn-specialty--active,
.specialty-card--active .btn-specialty {
  background: #7cda24;
  color: #fff;
  box-shadow: 0 12px 18px -10px rgba(124, 218, 36, 0.55);
}

.btn-specialty--active:hover,
.specialty-card--active .btn-specialty:hover {
  color: #fff;
}

.specialty-intro {
  padding: 3rem 0 2.5rem;
  background: #fff;
}

.specialty-intro-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: #2a3749;
  margin: 0 0 1.5rem;
}

.specialty-intro-content {
  max-width: 920px;
  color: var(--color-text-muted);
  line-height: 1.75;
  font-size: 1rem;
}

.specialty-intro-content p {
  margin: 0 0 1rem;
}

.specialty-landing-section {
  padding-top: 1rem;
}

.specialty-facilitators-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: #2a3749;
  margin: 0 0 1.75rem;
}

.specialty-landing-layout {
  display: grid;
  grid-template-columns: minmax(240px, 280px) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.specialty-filters-sidebar {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  position: sticky;
  top: 1.5rem;
}

.specialty-filter-group + .specialty-filter-group {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-border);
}

.specialty-filter-heading {
  font-size: 0.875rem;
  font-weight: 700;
  color: #2a3749;
  margin: 0 0 0.75rem;
}

.specialty-service-option {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9375rem;
  color: var(--color-text);
  cursor: default;
}

.specialty-service-option input {
  margin-top: 0.2rem;
}

.specialty-service-option--active {
  font-weight: 600;
  color: #2a3749;
}

.specialty-filters-sidebar select {
  width: 100%;
  padding: 0.625rem 0.875rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-family: var(--font);
  font-size: 0.9375rem;
  background: #fff;
}

.specialty-filters-sidebar .home-filters-actions {
  margin-top: 1.25rem;
}

.btn-block {
  width: 100%;
  justify-content: center;
}

@media (max-width: 900px) {
  .specialty-landing-layout {
    grid-template-columns: 1fr;
  }

  .specialty-filters-sidebar {
    position: static;
  }
}

.public-body.specialty-landing-body .home-specialties-section {
  padding-top: 2.5rem;
}

/* Home — Temas para Consultar */
.home-topics-section {
  position: relative;
  padding: 4.5rem 0 5rem;
  background: linear-gradient(
    128deg,
    #f7f7f7 0%,
    #f7f7f7 42%,
    #ffffff 58%,
    #ffffff 100%
  );
  overflow: hidden;
}

.home-topics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.home-topics-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 700;
  color: #2a3749;
  line-height: 1.25;
  margin-bottom: 1.25rem;
}

.home-topics-divider {
  width: 100%;
  max-width: 420px;
  height: 2px;
  margin-bottom: 1.5rem;
  background: linear-gradient(
    90deg,
    var(--color-accent) 0%,
    var(--color-accent) 12%,
    #d1d5db 12%,
    #d1d5db 100%
  );
}

.home-topics-quote {
  font-size: clamp(0.8125rem, 1.5vw, 0.9375rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #2a3749;
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.home-topics-desc {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 480px;
}

.home-topics-card {
  background: var(--color-surface);
  border-radius: 10px;
  padding: 2.25rem 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.topics-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.topics-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #2a3749;
  line-height: 1.5;
}

.topics-icon {
  flex-shrink: 0;
  color: var(--color-primary);
  line-height: 0;
}

.topics-icon svg {
  display: block;
}

.home-topics-bottom-divider {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 80px;
  background: #fff;
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  pointer-events: none;
}

.btn-hero-pill:hover {
  background: var(--color-primary-dark);
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(46, 163, 242, 0.4);
}

.search-form {
  display: flex;
  gap: 0.75rem;
  max-width: 520px;
}

.search-input {
  flex: 1;
  padding: 0.875rem 1.25rem;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  font-size: 1rem;
  font-family: var(--font);
}

/* Home filters */
.home-filters {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow);
}

.home-filters-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: #2a3749;
  margin-bottom: 0.35rem;
}

.home-filters-subtitle {
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

.home-filters-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.home-filters-form .form-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.35rem;
  margin-top: 0.75rem;
}

.home-filters-form .form-group label:first-child {
  margin-top: 0;
}

.home-filters-form select,
.home-filters-form input[type="text"] {
  width: 100%;
  padding: 0.625rem 0.875rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-family: var(--font);
  font-size: 0.9375rem;
  background: #fff;
}

.home-filters-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.625rem;
}

.checkbox-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9375rem;
  cursor: pointer;
}

.checkbox-item input {
  margin-top: 0.2rem;
}

.location-fields .form-group label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
}

.location-fields select,
.location-fields input[type="text"] {
  width: 100%;
}

.card-location {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-top: 0.25rem;
}

.location-fields-block {
  margin-top: 0.75rem;
}

.location-fields-block label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-top: 0.75rem;
  margin-bottom: 0.35rem;
}

.location-fields-block label:first-child {
  margin-top: 0;
}

.location-fields-block select,
.location-fields-block input[type="text"] {
  width: 100%;
  padding: 0.625rem 0.875rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-family: var(--font);
  font-size: 0.9375rem;
}

.profile-highlight-card {
  background: linear-gradient(135deg, #f0f7ff 0%, #fff 100%);
  border: 1px solid #d6e8f8;
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow);
}

.profile-highlight-card h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  color: #2a3749;
  margin-bottom: 1rem;
}

.profile-highlight-group + .profile-highlight-group {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e3edf7;
}

.profile-highlight-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 0.5rem;
}

.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.profile-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  background: #fff;
  border: 1px solid #c5ddf3;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #1a5f8f;
}

.profile-tag--accent {
  background: #fff9e8;
  border-color: #e8d5a3;
  color: #7a5b12;
}

.profile-highlight-location {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #2a3749;
  margin: 0;
}

.auth-footer-muted {
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

/* Therapist cards */
.therapists-grid-section { padding: 3rem 0 2rem; }

/* Home — CTA WhatsApp */
.home-cta-section {
  background: #fff;
  padding: 3.5rem 0 5rem;
  text-align: center;
}

.home-cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: #0a0a0a;
  line-height: 1.25;
  margin-bottom: 1rem;
}

.home-cta-text {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: #000;
  max-width: 640px;
  margin: 0 auto 2rem;
  line-height: 1.65;
}

.btn-cta-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2.25rem;
  background: #aee650;
  color: #000;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 12px 14px -10px rgba(0, 122, 255, 0.33);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-cta-whatsapp:hover {
  color: #000;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 14px 20px -8px rgba(0, 122, 255, 0.4);
}

.therapists-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.75rem;
}

.therapist-card {
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  transition: transform 0.2s;
}

.therapist-card:hover {
  transform: translateY(-4px);
}

.card-portrait {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  padding: 2rem 1.25rem 1.25rem;
  overflow: visible;
  background: transparent;
}

.card-portrait-accent {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 50%;
  background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%);
  border-top-right-radius: 28px;
}

.card-portrait .avatar,
.card-portrait .photo-placeholder {
  position: relative;
  z-index: 2;
  box-shadow: none;
}

.avatar-card {
  --avatar-size: 140px;
}

.photo-placeholder.avatar-card {
  width: 140px;
  height: 140px;
  font-size: 2.75rem;
}

/* Avatares padronizados (fotos quadradas → máscara redonda) */
.avatar {
  width: var(--avatar-size, 120px);
  height: var(--avatar-size, 120px);
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  flex-shrink: 0;
  border: 3px solid #fff;
  box-shadow: var(--shadow);
}

.avatar-lg {
  --avatar-size: 250px;
}

.avatar-md {
  --avatar-size: 120px;
}

.photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--color-primary);
  background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: var(--shadow);
  flex-shrink: 0;
}

.photo-placeholder.avatar,
.photo-placeholder.avatar-md {
  width: 120px;
  height: 120px;
  font-size: 2.5rem;
}

.photo-placeholder.avatar-lg,
.photo-placeholder.large {
  width: 250px;
  height: 250px;
  font-size: 4rem;
  border-width: 4px;
}

.card-body {
  padding: 1.35rem;
  text-align: center;
  background: var(--color-surface);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s;
}

.therapist-card:hover .card-body {
  box-shadow: 0 12px 32px rgba(15, 27, 51, 0.12);
}

.card-body h2 { font-size: 1.2rem; margin-bottom: 0.35rem; }
.card-title { color: var(--color-primary); font-weight: 600; font-size: 0.875rem; }
.card-specialty { color: var(--color-text-muted); font-size: 0.875rem; margin: 0.5rem 0; }
.card-location { color: var(--color-text-muted); font-size: 0.8125rem; margin: 0.35rem 0; }
.card-bio { font-size: 0.9375rem; color: var(--color-text-muted); margin-bottom: 1rem; line-height: 1.55; }

.card-actions { display: flex; gap: 0.75rem; justify-content: center; }

/* Profile page */
.profile-hero {
  position: relative;
  margin-bottom: 1.5rem;
}

.profile-banner {
  height: 220px;
  background-size: cover;
  background-position: center;
}

.profile-banner-default {
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary-light));
}

.profile-hero-inner {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 2rem;
  align-items: start;
  margin-top: -110px;
  padding-bottom: 0.25rem;
}

.profile-container {
  padding-bottom: 4rem;
}

.profile-photo {
  flex-shrink: 0;
  width: 250px;
  height: 250px;
  position: relative;
  z-index: 2;
}

.profile-photo img,
.profile-photo .photo-placeholder {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  display: block;
  border: 4px solid #fff;
  box-shadow: var(--shadow);
  background: #e8f5e9;
}

.profile-info {
  padding-top: 148px;
  min-width: 0;
}

.profile-info h1 {
  font-family: var(--font-display);
  font-size: 2.25rem;
  margin-bottom: 0.25rem;
  color: #0f1b33;
}

.profile-title { color: var(--color-primary); font-weight: 600; }
.profile-short-bio {
  margin: 0.75rem 0 0;
  max-width: 560px;
  color: var(--color-text-muted);
  line-height: 1.65;
}

.profile-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2rem;
}

@media (max-width: 768px) {
  .profile-grid { grid-template-columns: 1fr; }
  .hero--banner {
    min-height: auto;
    padding: 2.5rem 0;
    background-position: 70% center;
  }
  .hero-content {
    max-width: 100%;
    text-align: center;
  }
  .hero-brand {
    justify-content: center;
  }
  .hero-lead,
  .hero-tagline {
    margin-left: auto;
    margin-right: auto;
  }
  .search-form {
    flex-direction: column;
  }
  .profile-hero-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    margin-top: -90px;
  }
  .profile-info {
    padding-top: 1rem;
  }
  .profile-short-bio {
    margin-left: auto;
    margin-right: auto;
  }
  .specialties-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .home-filters-grid {
    grid-template-columns: 1fr;
  }
  .home-topics-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .home-topics-desc {
    max-width: none;
  }
}

@media (max-width: 520px) {
  .specialties-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin: 0 auto;
  }
}

.profile-section {
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow);
}

.profile-section h2 {
  font-size: 1.125rem;
  margin-bottom: 1rem;
  color: var(--color-primary-dark);
}

.contact-card {
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  position: sticky;
  top: 80px;
}

.contact-list { list-style: none; margin: 1rem 0; }
.contact-list li { padding: 0.375rem 0; font-size: 0.9375rem; }

.testimonial {
  border-left: 3px solid var(--color-accent);
  padding-left: 1rem;
  margin-bottom: 1rem;
}

.testimonial cite { display: block; margin-top: 0.5rem; font-size: 0.875rem; color: var(--color-text-muted); }
.testimonial-stars { margin-bottom: 0.5rem; }

.profile-rating-summary {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}

.profile-rating-text {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
}

.star-rating {
  display: inline-flex;
  gap: 0.15rem;
  line-height: 1;
}

.star-rating__star {
  color: #d1d5db;
  font-size: 1rem;
}

.star-rating__star.is-filled {
  color: #f59e0b;
}

.star-rating--sm .star-rating__star { font-size: 0.875rem; }
.star-rating--md .star-rating__star { font-size: 1.125rem; }
.star-rating--lg .star-rating__star { font-size: 1.5rem; }

.star-rating-field-label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.35rem;
}

.star-rating-input {
  display: inline-flex;
  gap: 0.25rem;
  margin-bottom: 0.75rem;
}

.star-rating-input__btn {
  border: none;
  background: transparent;
  color: #d1d5db;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

.star-rating-input__btn.is-active {
  color: #f59e0b;
}

.star-rating-input__btn:hover {
  color: #fbbf24;
}

.repeatable-list {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}

.faq-item { margin-bottom: 0.75rem; }
.faq-item summary { cursor: pointer; font-weight: 600; padding: 0.5rem 0; }
.faq-item p { padding: 0.5rem 0 0.5rem 1rem; color: var(--color-text-muted); }

/* WhatsApp modal */
.wa-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wa-modal.hidden { display: none; }

.wa-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}

.wa-modal-content {
  position: relative;
  width: 100%;
  max-width: 420px;
  max-height: 90vh;
  background: var(--color-wa-bg);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.wa-header {
  background: var(--color-wa);
  color: #fff;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.wa-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-wa-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  overflow: hidden;
}

.wa-avatar img { width: 100%; height: 100%; object-fit: cover; }

.wa-status { display: block; font-size: 0.75rem; opacity: 0.8; }

.wa-close {
  margin-left: auto;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

.wa-chat {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  min-height: 200px;
  max-height: 360px;
}

.wa-message {
  max-width: 85%;
  padding: 0.625rem 0.875rem;
  border-radius: 8px;
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
  line-height: 1.4;
}

.wa-bot {
  background: #fff;
  border-top-left-radius: 0;
}

.wa-user {
  background: #dcf8c6;
  margin-left: auto;
  border-top-right-radius: 0;
}

.wa-typing {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #fff;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border-top-left-radius: 0;
  margin-bottom: 0.5rem;
  min-width: 52px;
  min-height: 38px;
}

.wa-typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #9ca3af;
  animation: wa-typing-dot 1.2s ease-in-out infinite;
}

.wa-typing span:nth-child(2) { animation-delay: 0.15s; }
.wa-typing span:nth-child(3) { animation-delay: 0.3s; }

@keyframes wa-typing-dot {
  0%, 60%, 100% { opacity: 0.35; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-3px); }
}

.wa-form.is-waiting {
  opacity: 0.55;
  pointer-events: none;
}

.wa-form {
  background: #f0f0f0;
  padding: 0.75rem;
  border-top: 1px solid #ddd;
}

.wa-field label {
  display: block;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-bottom: 0.375rem;
}

.wa-field input,
.wa-field textarea,
.wa-field select {
  width: 100%;
  padding: 0.625rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: var(--font);
  font-size: 0.9375rem;
  margin-bottom: 0.5rem;
}

.wa-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.8125rem;
  margin-bottom: 0.5rem;
}

.wa-checkbox input { width: auto; margin-top: 0.25rem; }

/* Auth */
.auth-page {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.auth-card {
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 2.5rem;
  width: 100%;
  max-width: 440px;
  box-shadow: var(--shadow);
}

.auth-card h1 { font-family: var(--font-display); margin-bottom: 0.5rem; }
.auth-subtitle { color: var(--color-text-muted); margin-bottom: 1.5rem; }
.auth-footer { margin-top: 1.5rem; text-align: center; font-size: 0.9375rem; }

.success-card { text-align: center; }
.success-icon {
  width: 64px;
  height: 64px;
  background: var(--color-success);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1rem;
}

/* Forms */
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-weight: 600; margin-bottom: 0.375rem; font-size: 0.9375rem; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.625rem 0.875rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-family: var(--font);
  font-size: 0.9375rem;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

/* Alerts */
.alert {
  padding: 1rem 1.25rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

.alert-error { background: #fef2f2; color: var(--color-danger); border: 1px solid #fecaca; }
.alert-success { background: #ecfdf5; color: var(--color-success); border: 1px solid #a7f3d0; }
.alert-warning { background: #fffbeb; color: var(--color-warning); border: 1px solid #fde68a; }
.alert-info { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }

.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--color-text-muted);
}

.error-page {
  text-align: center;
  padding: 6rem 2rem;
}

.error-page h1 { font-size: 4rem; color: var(--color-primary); margin-bottom: 1rem; }

.site-footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: 2rem 0;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.875rem;
  margin-top: 4rem;
}

.site-footer--legal {
  margin-top: 0;
  border-top: none;
  padding: 3rem 0 2.5rem;
  color: #4e5e77;
  font-size: 0.9375rem;
  line-height: 1.65;
}

.footer-legal-link {
  margin-bottom: 1.75rem;
}

.footer-legal-link a {
  font-weight: 600;
  color: #4e5e77;
  text-decoration: none;
}

.footer-legal-link a:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

.footer-disclaimer {
  margin-bottom: 1.5rem;
}

.footer-disclaimer p {
  margin: 0;
}

.footer-disclaimer strong {
  font-weight: 600;
}

.footer-legal-meta {
  margin: 0.15rem 0;
}

.site-footer .footer-credit {
  margin-top: 1.75rem;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.site-footer a {
  color: var(--color-primary);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

/* Página — Política de Privacidade */
.legal-page {
  padding: 3rem 0 4rem;
}

.legal-page-header {
  text-align: center;
  margin-bottom: 3rem;
}

.legal-page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: #2a3749;
  margin-bottom: 0.75rem;
}

.legal-page-header p {
  color: var(--color-text-muted);
  font-size: 1.0625rem;
}

.legal-content {
  max-width: 820px;
  margin: 0 auto;
  color: var(--color-text);
  line-height: 1.75;
}

.legal-content h2 {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  color: #2a3749;
  margin: 2.5rem 0 1rem;
}

.legal-content h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #2a3749;
  margin: 1.75rem 0 0.75rem;
}

.legal-content p {
  margin-bottom: 1rem;
}

.legal-content ul {
  margin: 0 0 1rem 1.25rem;
}

.legal-content li {
  margin-bottom: 0.75rem;
}

.legal-content-footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
  text-align: center;
  color: var(--color-text-muted);
}

.preview-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  display: block;
  margin-bottom: 0.5rem;
  border: 2px solid var(--color-border);
}

.banner-preview { max-width: 100%; max-height: 80px; }

.repeatable-item {
  border: 1px dashed var(--color-border);
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 0.75rem;
}

/* Cookie consent banner */
.cookie-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  transform: translateY(110%);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.cookie-consent.is-visible {
  transform: translateY(0);
  pointer-events: auto;
}

.cookie-consent.is-hidden {
  display: none;
}

.cookie-consent__bar,
.cookie-consent__panel {
  background: #1a2b4a;
  color: #fff;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.18);
}

.cookie-consent__panel {
  background: #fff;
  color: var(--color-text);
  max-width: 520px;
  margin: 0 auto 1rem;
  border-radius: 14px 14px 0 0;
  padding: 1.5rem;
}

.cookie-consent.is-settings .cookie-consent__panel {
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.15);
}

.cookie-consent__text {
  max-width: 1100px;
  margin: 0 auto 1rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  text-align: center;
}

.cookie-consent__actions,
.cookie-consent__panel-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.cookie-consent__link {
  background: none;
  border: none;
  color: #fff;
  text-decoration: underline;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.5rem 0.75rem;
}

.cookie-consent__btn {
  border: none;
  border-radius: 6px;
  padding: 0.625rem 1.125rem;
  font-family: var(--font);
  font-size: 0.8125rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}

.cookie-consent__btn:hover {
  transform: translateY(-1px);
}

.cookie-consent__btn--primary,
.cookie-consent__btn--secondary {
  background: #fff;
  color: #1a2b4a;
}

.cookie-consent__btn--accept {
  background: #1f5f3f;
  color: #fff;
}

.cookie-consent__btn--ghost {
  background: transparent;
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
}

.cookie-consent__panel-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #1f5f3f;
  margin-bottom: 0.5rem;
}

.cookie-consent__panel-lead {
  font-size: 0.9375rem;
  margin-bottom: 1rem;
}

.cookie-consent__panel-box {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 1rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.cookie-consent__panel-links {
  font-size: 0.875rem;
  margin-bottom: 1.25rem;
}

.cookie-consent__panel-links a {
  color: #1f5f3f;
  font-weight: 600;
  text-decoration: underline;
}

.cookie-consent__toggles {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  margin-bottom: 1.25rem;
}

.cookie-consent__toggle {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.875rem;
}

.cookie-consent__toggle input {
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.cookie-consent__toggle strong {
  display: block;
  color: var(--color-text);
  margin-bottom: 0.15rem;
}

.cookie-consent__toggle small {
  color: var(--color-text-muted);
  line-height: 1.4;
}

body.has-cookie-consent {
  padding-bottom: env(safe-area-inset-bottom, 0);
}

@media (max-width: 768px) {
  .cookie-consent__bar,
  .cookie-consent__panel {
    padding: 1rem;
  }

  .cookie-consent__text {
    text-align: left;
    font-size: 0.875rem;
  }

  .cookie-consent__actions,
  .cookie-consent__panel-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-consent__btn,
  .cookie-consent__link {
    width: 100%;
    text-align: center;
  }

  .cookie-consent__panel {
    max-width: none;
    border-radius: 0;
    margin: 0;
  }
}

.repeatable-item input,
.repeatable-item textarea { margin-bottom: 0.5rem; }

/* Constelação para Todos */
.cpt-page {
  background: #fff;
  padding: 3rem 0 4rem;
  text-align: center;
}

.cpt-container {
  max-width: 1140px;
}

.cpt-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 700;
  color: #5c2d91;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.cpt-lead {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 640px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.cpt-video {
  margin-bottom: 2.5rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.cpt-video-cta {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 700;
  color: #5c2d91;
  line-height: 1.35;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.cpt-pricing {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.cpt-pricing strong {
  color: var(--color-text);
}

.cpt-divider {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.cpt-divider span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5c2d91;
  opacity: 0.55;
}

.cpt-therapists {
  text-align: left;
}

.cpt-therapists .therapists-grid {
  margin-top: 0;
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 960px) {
  .cpt-therapists .therapists-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .cpt-therapists .therapists-grid {
    grid-template-columns: 1fr;
  }
}

.profile-back-bar {
  padding: 1rem 0 0;
}

.profile-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  color: var(--color-primary);
}

.profile-back-link:hover {
  color: var(--color-primary-dark);
  text-decoration: none;
}
