/* Homepage Acolhimento Contemporâneo - Longe de Casa Psi */

:root {
      --bg: #FFFFFF;
      --surface: #FFFFFF;
      --surface-warm: #FFF8E6;
      --text: #404B56;
      --text-muted: #5A6370;
      --magenta: #CC2F68;       /* Magenta oficial #CC2F68: 5.0:1 com branco (WCAG AA) */
      --magenta-dark: #A3194A;  /* Hover: 7.9:1 com branco */
      --indigo: #2A187F;             /* Roxo-índigo oficial #2A187F: 13:1 com branco */
      --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;
    }

    /* Reset e Geometria Segura contra Transbordamento */
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }
    p, li, span, h1, h2, h3, h4, h5, h6, .hero-sub, .challenge-content p, .psychologist-bio, .focus-text, .faq-answer p {
      text-align: left;
    }
    section[id], [id] {
      scroll-margin-top: 90px;
    }
    body {
      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;
    }

    img { max-width: 100%; height: auto; }

    /* Acessibilidade de Foco por Teclado */
    :focus-visible {
      outline: 2px solid var(--magenta);
      outline-offset: 3px;
    }

    .container {
      width: 100%;
      max-width: 1160px;
      margin: 0 auto;
      padding: 0 24px;
    }

    /* Header & Navegação */
    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);
    }
    .header-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      position: relative;
    }
    .brand-link {
      display: flex;
      flex-direction: column;
      text-decoration: none;
    }
    .brand-title {
      font-family: var(--font-serif);
      font-size: 24px;
      font-weight: 600;
      color: var(--text);
      letter-spacing: -0.02em;
    }
    .brand-tag {
      font-size: 12px;
      color: var(--magenta);
      font-weight: 600;
      letter-spacing: 0.02em;
    }

    nav.nav-desktop {
      display: flex;
      align-items: center;
      gap: 28px;
    }
    nav.nav-desktop a {
      color: var(--text-muted);
      text-decoration: none;
      font-size: 15px;
      font-weight: 500;
      transition: color 0.2s;
    }
    nav.nav-desktop a:hover, nav.nav-desktop a.active { color: var(--text); font-weight: 600; }
    .mobile-nav-links a.active { color: var(--magenta); font-weight: 600; }
    .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;
    }
    .header-btn:hover { background: var(--magenta-dark); }

    /* Botão e Gaveta Mobile Acessíveis */
    .mobile-menu-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;
    }
    .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;
    }
    .mobile-drawer.is-active {
      display: block;
    }
    .mobile-nav-links {
      display: flex;
      flex-direction: column;
      gap: 6px;
      list-style: none;
    }
    .mobile-nav-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;
    }
    .mobile-drawer .header-btn {
      margin-top: 14px;
      width: 100%;
      text-align: center;
    }

    /* Hero Section */
    .hero {
      padding: 68px 0 60px;
    }
    .hero-grid {
      display: grid;
      grid-template-columns: 1.15fr 0.85fr;
      gap: 52px;
      align-items: center;
    }
    .hero-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: 20px;
    }
    .hero h1 {
      font-family: var(--font-serif);
      font-size: 45px;
      line-height: 1.18;
      font-weight: 500;
      letter-spacing: -0.02em;
      margin-bottom: 20px;
      color: var(--text);
      overflow-wrap: break-word;
    }
    .hero-sub {
      font-size: 18.5px;
      line-height: 1.58;
      color: var(--text-muted);
      margin-bottom: 32px;
      max-width: 530px;
    }
    .hero-actions {
      display: flex;
      align-items: center;
      gap: 16px;
      flex-wrap: wrap;
      margin-bottom: 32px;
    }
    .btn-magenta {
      background: var(--magenta);
      color: #fff;
      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;
    }
    .btn-magenta:hover { background: var(--magenta-dark); }
    .btn-outline {
      background: transparent;
      color: var(--text);
      padding: 13px 24px;
      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); }
    
    .hero-trust {
      display: flex;
      gap: 20px;
      padding-top: 22px;
      border-top: 1px solid var(--border);
      font-size: 13.5px;
      color: var(--text-muted);
      flex-wrap: wrap;
    }
    .trust-item {
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .trust-dot {
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: var(--indigo);
      flex-shrink: 0;
    }

    /* Composição Fotográfica do Hero (Sem selo decorativo) */
    .hero-media-composition {
      width: 100%;
    }
    .duo-frame {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 12px;
      background: var(--surface);
      padding: 12px;
      border-radius: var(--radius-lg);
      border: 1px solid var(--border);
      box-shadow: 0 16px 36px rgba(42, 24, 127, 0.06);
    }
    .duo-card {
      display: flex;
      flex-direction: column;
      border-radius: var(--radius-md);
      overflow: hidden;
      background: var(--surface-warm);
    }
    .duo-photo {
      height: 240px;
      width: 100%;
      object-fit: cover;
      object-position: top center;
      display: block;
    }
    .duo-caption {
      padding: 12px 14px;
      background: var(--surface);
    }
    .duo-name {
      font-family: var(--font-serif);
      font-size: 16px;
      font-weight: 600;
      color: var(--text);
      line-height: 1.25;
    }
    .duo-crp {
      font-size: 12px;
      font-weight: 600;
      color: var(--magenta);
      margin-top: 2px;
    }

    /* Seções Gerais */
    section { padding: 88px 0; }
    .section-header {
      max-width: 660px;
      margin-bottom: 52px;
    }
    .section-eyebrow {
      color: var(--magenta);
      font-size: 13px;
      font-weight: 600;
      margin-bottom: 12px;
      display: block;
      letter-spacing: 0.02em;
    }
    .section-title {
      font-family: var(--font-serif);
      font-size: 36px;
      line-height: 1.22;
      font-weight: 500;
      color: var(--text);
      letter-spacing: -0.01em;
      margin-bottom: 16px;
      overflow-wrap: break-word;
    }
    .section-sub {
      font-size: 17.5px;
      color: var(--text-muted);
      line-height: 1.6;
    }

    /* Seção Língua Materna */
    .section-language {
      background: var(--surface);
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
    }
    .features-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 30px;
    }
    .feature-card {
      padding: 32px 28px;
      background: var(--bg);
      border-radius: var(--radius-md);
      border: 1px solid var(--border);
    }
    .feature-symbol {
      width: 42px;
      height: 42px;
      border-radius: 10px;
      background: var(--indigo-light);
      color: var(--indigo);
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 20px;
      font-size: 18px;
      font-weight: 700;
    }
    .feature-title {
      font-family: var(--font-serif);
      font-size: 21px;
      font-weight: 500;
      margin-bottom: 10px;
      color: var(--text);
    }
    .feature-desc {
      font-size: 15.5px;
      color: var(--text-muted);
      line-height: 1.62;
    }

    /* Seção Desafios */
    .challenges-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 22px;
    }
    .challenge-card {
      padding: 28px 30px;
      background: var(--surface);
      border-radius: var(--radius-md);
      border: 1px solid var(--border);
      display: flex;
      gap: 18px;
      align-items: flex-start;
    }
    .challenge-badge {
      font-size: 12.5px;
      font-weight: 600;
      color: var(--magenta);
      background: rgba(204, 47, 104, 0.1);
      padding: 4px 10px;
      border-radius: 6px;
      white-space: nowrap;
    }
    .challenge-content h3 {
      font-size: 18px;
      font-weight: 600;
      margin-bottom: 8px;
      color: var(--text);
    }
    .challenge-content p {
      font-size: 15px;
      color: var(--text-muted);
      line-height: 1.58;
    }

    /* Seção Corpo Clínico */
    .section-team {
      background: var(--surface-warm);
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
    }
    .team-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 32px;
    }
    .psychologist-card {
      background: var(--surface);
      border-radius: var(--radius-lg);
      border: 1px solid var(--border);
      overflow: hidden;
      display: flex;
      flex-direction: column;
    }
    .psychologist-photo-wrap {
      height: 300px;
      overflow: hidden;
      background: #E6E1F2;
    }
    .psychologist-photo-wrap img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: top center;
    }
    .psychologist-body {
      padding: 32px 30px;
      flex: 1;
      display: flex;
      flex-direction: column;
    }
    .psychologist-header { margin-bottom: 16px; }
    .psychologist-name {
      font-family: var(--font-serif);
      font-size: 27px;
      font-weight: 600;
      color: var(--text);
      margin-bottom: 4px;
    }
    .psychologist-crp {
      font-size: 13px;
      font-weight: 600;
      color: var(--magenta);
      letter-spacing: 0.02em;
    }
    .psychologist-bio {
      font-size: 15px;
      color: var(--text-muted);
      line-height: 1.62;
      margin-bottom: 22px;
      flex: 1;
    }
    .psychologist-focus {
      background: var(--bg);
      padding: 16px 18px;
      border-radius: var(--radius-sm);
      border: 1px solid var(--border);
      margin-bottom: 24px;
    }
    .focus-label {
      font-size: 12px;
      font-weight: 700;
      color: var(--text);
      text-transform: uppercase;
      letter-spacing: 0.05em;
      margin-bottom: 6px;
      display: block;
    }
    .focus-text {
      font-size: 14px;
      color: var(--text-muted);
      line-height: 1.5;
    }
    .psychologist-card .btn-magenta {
      width: 100%;
      text-align: center;
    }

    /* Como Funciona */
    .steps-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 28px;
    }
    .step-item {
      padding: 30px 26px;
      background: var(--surface);
      border-radius: var(--radius-md);
      border: 1px solid var(--border);
    }
    .step-num {
      font-family: var(--font-serif);
      font-size: 38px;
      color: var(--magenta);
      line-height: 1;
      margin-bottom: 14px;
      font-style: italic;
    }
    .step-title {
      font-size: 18.5px;
      font-weight: 600;
      margin-bottom: 10px;
      color: var(--text);
    }
    .step-desc {
      font-size: 15px;
      color: var(--text-muted);
      line-height: 1.6;
    }

    /* FAQ */
    .section-faq {
      background: var(--surface);
      border-top: 1px solid var(--border);
    }
    .faq-list {
      max-width: 820px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      gap: 16px;
    }
    .faq-item {
      background: var(--bg);
      border: 1px solid var(--border);
      border-radius: var(--radius-md);
      padding: 22px 26px;
    }
    .faq-q {
      font-size: 17px;
      font-weight: 600;
      color: var(--text);
      margin-bottom: 8px;
    }
    .faq-a {
      font-size: 15px;
      color: var(--text-muted);
      line-height: 1.62;
    }

    /* Banner Final */
    .section-final-cta {
      background: var(--indigo);
      color: #fff;
      text-align: center;
      padding: 92px 0;
    }
    .final-cta-box {
      max-width: 680px;
      margin: 0 auto;
    }
    .section-final-cta h2 {
      font-family: var(--font-serif);
      font-size: 42px;
      line-height: 1.22;
      font-weight: 500;
      margin-bottom: 18px;
      color: #fff;
      overflow-wrap: break-word;
    }
    .section-final-cta p {
      font-size: 18px;
      color: rgba(255, 255, 255, 0.9);
      margin-bottom: 34px;
      line-height: 1.6;
    }
    .section-final-cta .btn-magenta {
      background: var(--magenta);
      font-size: 15.5px;
      padding: 16px 36px;
      box-shadow: 0 6px 20px rgba(0,0,0,0.16);
    }
    .section-final-cta .btn-magenta:hover {
      background: #D4145A;
    }

    /* Footer */
    footer {
      background: #1E1160;
      color: #DDD8EC;
      padding: 64px 0 36px;
      font-size: 14px;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 1.6fr 1fr 1fr;
      gap: 52px;
      margin-bottom: 48px;
    }
    .footer-brand h3 {
      font-family: var(--font-serif);
      font-size: 22px;
      color: #fff;
      margin-bottom: 10px;
    }
    .footer-brand p {
      color: #DDD8EC;
      line-height: 1.6;
      max-width: 340px;
    }
    .footer-col h4 {
      color: #fff;
      font-size: 14px;
      font-weight: 600;
      margin-bottom: 16px;
      letter-spacing: 0.03em;
    }
    .footer-col ul {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
    .footer-col a {
      color: #DDD8EC;
      text-decoration: none;
      transition: color 0.2s;
    }
    .footer-col a:hover { color: #fff; text-decoration: underline; }
    .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;
    }
    .footer-bottom a {
      color: #DDD8EC;
      text-decoration: none;
    }
    .footer-bottom a:hover {
      color: #fff;
      text-decoration: underline;
    }
    .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;
    }

    /* Breakpoints Responsivos Cuidadosos */
    @media (max-width: 960px) {
      .hero-grid { grid-template-columns: 1fr; gap: 40px; }
      .hero-media-composition { max-width: 480px; margin: 0 auto; }
      .features-grid { grid-template-columns: 1fr; }
      .challenges-grid { grid-template-columns: 1fr; }
      .team-grid { grid-template-columns: 1fr; }
      .steps-grid { grid-template-columns: 1fr; }
      .footer-grid { grid-template-columns: 1fr; gap: 32px; }
      nav.nav-desktop { display: none; }
      .mobile-menu-btn { display: block; }
      .hero h1 { font-size: 36px; }
      .section-title { font-size: 30px; }
    }
    @media (max-width: 480px) {
      .container { padding: 0 18px; }
      .hero { padding: 28px 0 32px; }
      .hero-eyebrow { font-size: 12.5px; padding: 5px 12px; margin-bottom: 14px; }
      .hero h1 { font-size: 28px; line-height: 1.22; margin-bottom: 14px; }
      .hero-sub { font-size: 15.5px; line-height: 1.52; margin-bottom: 22px; }
      .hero-actions { gap: 12px; margin-bottom: 20px; }
      .hero-actions .btn-magenta,
      .hero-actions .btn-outline { width: 100%; text-align: center; padding: 13px 20px; font-size: 14.5px; }
      .hero-trust {
        padding-top: 16px;
        gap: 8px 14px;
        display: flex;
        flex-direction: column;
        border-top: 1px solid var(--border);
      }
      .trust-item { font-size: 13px; line-height: 1.4; }
      .duo-frame { gap: 8px; padding: 8px; }
      .duo-photo { height: 150px; }
      .duo-name { font-size: 14px; }
      .duo-crp { font-size: 11px; }
      .duo-caption { padding: 10px 12px; }
      .psychologist-photo-wrap { height: 240px; }
      .psychologist-body { padding: 22px 18px; }
      .psychologist-name { font-size: 23px; }
      .psychologist-bio { font-size: 14.5px; margin-bottom: 18px; }
      .psychologist-focus { padding: 14px 15px; margin-bottom: 18px; }
      section { padding: 48px 0; }
      .section-header { margin-bottom: 32px; }
      .section-title { font-size: 25px; }
      .section-final-cta { padding: 52px 0; }
      .section-final-cta h2 { font-size: 28px; }
    }