/* Estilos dedicados para a Página de Profissionais - Longe de Casa Psi */

:root {
  --bg: #FFFFFF;
  --surface: #FFFFFF;
  --surface-warm: #FFF8E6;
  --text: #404B56;
  --text-muted: #5A6370;
  --magenta: #CC2F68;
  --magenta-dark: #A3194A;
  --indigo: #2A187F;
  --indigo-dark: #1E1160;
  --indigo-light: #EFEDF8;
  --border: #E8E3F2;
  --border-dark: #CFC8E6;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --font-serif: 'Newsreader', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body.page-template-page-profissionais,
body.page-profissionais-custom {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  width: 100%;
  min-width: 320px;
}

p, li, span, h1, h2, h3, h4, h5, h6 { text-align: left; }
section[id], [id] { scroll-margin-top: 90px; }

:focus-visible {
  outline: 2px solid var(--magenta);
  outline-offset: 3px;
}

.prof-container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Navegação */
.prof-header {
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.96);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
}
.prof-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}
.prof-brand-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}
.prof-brand-title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.02em;
}
.prof-brand-tag {
  font-size: 12px;
  color: var(--magenta);
  font-weight: 600;
  letter-spacing: 0.02em;
}

nav.prof-nav-desktop {
  display: flex;
  align-items: center;
  gap: 28px;
}
nav.prof-nav-desktop a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s;
}
nav.prof-nav-desktop a:hover,
nav.prof-nav-desktop a.active {
  color: var(--text);
  font-weight: 600;
}
.prof-header-btn {
  background: var(--magenta);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.prof-header-btn:hover { background: var(--magenta-dark); }

/* Menu Mobile */
.prof-mobile-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--border-dark);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
}
.prof-mobile-drawer {
  display: none;
  position: absolute;
  top: calc(100% + 18px);
  left: 0;
  right: 0;
  background: var(--surface);
  border-bottom: 2px solid var(--border);
  padding: 16px 20px 20px;
  box-shadow: 0 16px 36px rgba(0,0,0,0.1);
  z-index: 101;
}
.prof-mobile-drawer.is-active { display: block; }
.prof-mobile-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  list-style: none;
}
.prof-mobile-links a {
  color: var(--text);
  text-decoration: none;
  font-size: 15.5px;
  font-weight: 500;
  padding: 8px 0;
  border-bottom: 1px solid var(--surface-warm);
  display: block;
}
.prof-mobile-drawer .prof-header-btn {
  margin-top: 14px;
  width: 100%;
  text-align: center;
}

/* Hero da Página Profissionais */
.prof-hero {
  padding: 60px 0 44px;
  background: linear-gradient(180deg, rgba(239, 237, 248, 0.4) 0%, rgba(255, 255, 255, 0) 100%);
  border-bottom: 1px solid var(--border);
}
.prof-hero-content {
  max-width: 820px;
}
.prof-eyebrow {
  display: inline-block;
  background: var(--indigo-light);
  color: var(--indigo);
  font-size: 13.5px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.prof-hero h1 {
  font-family: var(--font-serif);
  font-size: 44px;
  line-height: 1.18;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  color: var(--text);
}
.prof-hero-lead {
  font-size: 18.5px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.prof-purpose-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--indigo);
  padding: 22px 26px;
  border-radius: var(--radius-sm);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  margin-top: 24px;
  box-shadow: 0 4px 16px rgba(42, 24, 127, 0.04);
}

/* Seção de Perfil das Psicólogas */
.prof-profiles-section {
  padding: 72px 0 88px;
}
.prof-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
}
.prof-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 32px rgba(42, 24, 127, 0.05);
  transition: transform 0.2s, box-shadow 0.2s;
}
.prof-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(42, 24, 127, 0.08);
}
.prof-card-photo-wrap {
  height: 340px;
  overflow: hidden;
  background: #E6E1F2;
}
.prof-card-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.prof-card-body {
  padding: 34px 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.prof-card-name {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}
.prof-card-crp {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--magenta);
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}
.prof-card-bio {
  font-size: 15.5px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 24px;
  flex: 1;
}
.prof-card-focus {
  background: var(--surface-warm);
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  margin-bottom: 26px;
}
.prof-focus-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
  display: block;
}
.prof-focus-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}
.btn-magenta {
  background: var(--magenta);
  color: #fff !important;
  padding: 14px 28px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  display: inline-block;
  transition: background 0.2s;
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-align: center;
  width: 100%;
}
.btn-magenta:hover { background: var(--magenta-dark); }

/* Bloco Ético & Como Trabalhamos */
.prof-ethics-section {
  padding: 64px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.prof-ethics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.prof-ethics-item {
  padding: 24px 22px;
  background: var(--bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}
.prof-ethics-item h3 {
  font-family: var(--font-serif);
  font-size: 19px;
  color: var(--text);
  margin-bottom: 10px;
}
.prof-ethics-item p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.58;
}

/* Banner de Chamada Final */
.prof-cta-section {
  padding: 80px 0;
  text-align: center;
  background: var(--bg);
}
.prof-cta-inner {
  max-width: 640px;
  margin: 0 auto;
}
.prof-cta-section h2 {
  font-family: var(--font-serif);
  font-size: 36px;
  line-height: 1.22;
  margin-bottom: 16px;
  color: var(--text);
  text-align: center;
}
.prof-cta-section p {
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.6;
  text-align: center;
}
.prof-cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.btn-outline {
  background: transparent;
  color: var(--text) !important;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1px solid var(--border-dark);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  display: inline-block;
  transition: background 0.2s;
  font-family: inherit;
}
.btn-outline:hover { background: var(--surface-warm); }

/* Rodapé Elegante Escuro (Idêntico à Homepage Homologada) */
footer.prof-footer {
  background: #1E1160;
  color: #F3F0FA;
  padding: 64px 0 36px;
  font-size: 14px;
}
.prof-footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 52px;
  margin-bottom: 48px;
}
.prof-footer-brand h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  color: #fff;
  margin-bottom: 10px;
}
.prof-footer-brand p {
  color: #DDD8EC;
  line-height: 1.6;
  max-width: 340px;
}
.prof-footer-col h4 {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: 0.03em;
}
.prof-footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.prof-footer-col a {
  color: #DDD8EC;
  text-decoration: none;
  transition: color 0.2s;
}
.prof-footer-col a:hover {
  color: #fff;
  text-decoration: underline;
}
.prof-footer-bottom {
  border-top: 1px solid #2F3640;
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #B5AFCB;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 16px;
}
.prof-footer-bottom a {
  color: #DDD8EC;
  text-decoration: none;
}
.prof-footer-bottom a:hover {
  color: #fff;
  text-decoration: underline;
}
.prof-footer-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  padding: 7px 14px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.16);
  color: #FFF8E6;
  font-size: 12.5px;
}

/* Modal Demonstrativo */
.demo-dialog {
  border: none;
  border-radius: var(--radius-md);
  padding: 30px;
  background: var(--surface);
  color: var(--text);
  max-width: 460px;
  width: 90%;
  margin: auto;
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}
.demo-dialog::backdrop {
  background: rgba(30, 17, 96, 0.6);
  backdrop-filter: blur(4px);
}
.demo-dialog h3 {
  font-family: var(--font-serif);
  font-size: 23px;
  margin-bottom: 12px;
  color: var(--text);
}
.demo-dialog p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 22px;
}
.demo-dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

/* Responsividade Acurada */
@media (max-width: 960px) {
  .prof-grid { grid-template-columns: 1fr; gap: 36px; }
  .prof-ethics-grid { grid-template-columns: 1fr; }
  .prof-footer-grid { grid-template-columns: 1fr; gap: 32px; }
  nav.prof-nav-desktop { display: none; }
  .prof-mobile-btn { display: block; }
  .prof-hero h1 { font-size: 35px; }
}
@media (max-width: 480px) {
  .prof-container { padding: 0 18px; }
  .prof-hero { padding: 24px 0 24px; }
  .prof-eyebrow { font-size: 12.5px; padding: 5px 12px; margin-bottom: 12px; }
  .prof-hero h1 { font-size: 27px; line-height: 1.22; margin-bottom: 12px; }
  .prof-hero-lead { font-size: 15.5px; line-height: 1.55; margin-bottom: 16px; }
  .prof-purpose-box { padding: 16px 16px; font-size: 14px; margin-top: 16px; }
  .prof-profiles-section { padding: 48px 0 60px; }
  .prof-card-photo-wrap { height: 260px; }
  .prof-card-body { padding: 22px 18px; }
  .prof-card-name { font-size: 24px; }
  .prof-card-bio { font-size: 14.5px; margin-bottom: 18px; }
  .prof-card-focus { padding: 14px 16px; margin-bottom: 20px; }
  .prof-cta-section { padding: 48px 0; }
  .prof-cta-section h2 { font-size: 27px; }
  .prof-cta-actions .btn-magenta,
  .prof-cta-actions .btn-outline { width: 100%; text-align: center; }
}

