/*
 * Dra. Marcia Lima — HOTFIX 1.0.2
 * Contraste e consistência cromática.
 * Regra principal: superfícies brancas/claras usam #274E13;
 * superfícies #274E13 usam texto branco.
 */

:root{
  --marcia-deep:#274E13;
  --marcia-paper:#F9F9F8;
}

/* 1. Card 03 de "Como posso ajudar": fundo claro = texto verde-escuro. */
.page-type-home .service-card--light,
.page-type-home .service-card--light .service-card__index,
.page-type-home .service-card--light .service-card__copy h3,
.page-type-home .service-card--light .service-card__copy p,
.page-type-home .service-card--light .service-card__copy a{
  color:var(--marcia-deep)!important;
}

/* 2. Recursos e Abordagem: item selecionado com contraste alto. */
.page-type-home .approach-tab.is-active{
  background:var(--marcia-deep)!important;
  background-image:none!important;
  border-color:var(--marcia-deep)!important;
  color:#fff!important;
  box-shadow:0 12px 30px rgba(39,78,19,.16)!important;
}
.page-type-home .approach-tab.is-active .approach-tab__index,
.page-type-home .approach-tab.is-active .approach-tab__text strong,
.page-type-home .approach-tab.is-active .approach-tab__text small{
  color:#fff!important;
  opacity:1!important;
}

/* 3. CTAs: um único tom, sem gradiente nem brilho de gradiente. */
.page-type-home main .button,
.site-header .button,
.mobile-menu .button,
.legal-page .button,
.links-page .button{
  background:var(--marcia-deep)!important;
  background-image:none!important;
  color:#fff!important;
  border-color:var(--marcia-deep)!important;
  text-shadow:none!important;
}
.page-type-home main .button::before,
.site-header .button::before,
.mobile-menu .button::before,
.legal-page .button::before,
.links-page .button::before{
  display:none!important;
  content:none!important;
}
.page-type-home main .button:hover,
.site-header .button:hover,
.mobile-menu .button:hover,
.legal-page .button:hover,
.links-page .button:hover{
  background:var(--marcia-deep)!important;
  background-image:none!important;
  color:#fff!important;
  border-color:var(--marcia-deep)!important;
  box-shadow:0 12px 28px rgba(39,78,19,.18)!important;
}
/* CTA do cabeçalho permanece identificável mesmo sobre o cabeçalho verde. */
.site-header .desktop-cta{
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.45),0 8px 22px rgba(0,0,0,.10)!important;
}

/* 4. Atendimento Individualizado: aba selecionada em verde escuro. */
.page-type-home .attendance-tab.is-active{
  background:var(--marcia-deep)!important;
  background-image:none!important;
  border-color:var(--marcia-deep)!important;
  color:#fff!important;
  box-shadow:0 12px 30px rgba(39,78,19,.16)!important;
}
.page-type-home .attendance-tab.is-active > span,
.page-type-home .attendance-tab.is-active strong,
.page-type-home .attendance-tab.is-active small{
  color:#fff!important;
  opacity:1!important;
}

/* 5. Dúvidas Frequentes: todo o conteúdo sobre fundo claro em #274E13. */
.page-type-home .section-faq,
.page-type-home .section-faq .eyebrow,
.page-type-home .section-faq h2,
.page-type-home .section-faq .faq-question,
.page-type-home .section-faq .faq-question span,
.page-type-home .section-faq .faq-answer p{
  color:var(--marcia-deep)!important;
}
.page-type-home .section-faq .faq-list,
.page-type-home .section-faq .faq-item{
  border-color:rgba(39,78,19,.20)!important;
}
.page-type-home .section-faq .faq-question span{
  border-color:rgba(39,78,19,.28)!important;
}

/* 6. Agendamento: CTA verde escuro e dados de contato legíveis em cartões claros. */
.page-type-home .section-contact .contact-copy .button{
  background:var(--marcia-deep)!important;
  color:#fff!important;
  border-color:rgba(255,255,255,.38)!important;
}
.page-type-home .section-contact .contact-card{
  background:rgba(249,249,248,.96)!important;
  border-color:rgba(255,255,255,.34)!important;
}
.page-type-home .section-contact .contact-card__ambient{
  opacity:.08!important;
}
.page-type-home .section-contact .contact-card a,
.page-type-home .section-contact .contact-card > div:not(.contact-card__ambient){
  background:#fff!important;
  border-color:rgba(39,78,19,.16)!important;
  color:var(--marcia-deep)!important;
}
.page-type-home .section-contact .contact-card span,
.page-type-home .section-contact .contact-card strong,
.page-type-home .section-contact .contact-card a,
.page-type-home .section-contact .contact-card a span,
.page-type-home .section-contact .contact-card a strong{
  color:var(--marcia-deep)!important;
}

/* 7. Rodapé: respiro entre a divisória e as três colunas inferiores. */
.site-footer .footer-grid{
  padding-top:clamp(46px,5vw,72px)!important;
}

/* 8. Termos de Uso, Política de Privacidade e páginas institucionais claras. */
.legal-page,
.legal-page .eyebrow,
.legal-page h1,
.legal-page h2,
.legal-page h3,
.legal-page p,
.legal-page li,
.legal-page strong,
.legal-page em,
.legal-page a:not(.button){
  color:var(--marcia-deep)!important;
}
.legal-page a:not(.button){
  text-decoration-color:rgba(39,78,19,.48)!important;
}

/* 9. Blog em superfícies brancas/claras. A Hero verde do Blog continua branca. */
.page-type-home .section-blog,
.page-type-home .section-blog .eyebrow,
.page-type-home .section-blog h2,
.page-type-home .section-blog h3,
.page-type-home .section-blog p,
.page-type-home .section-blog .post-card,
.page-type-home .section-blog .post-card .tag,
.page-type-home .section-blog .post-card h2,
.page-type-home .section-blog .post-card h3,
.page-type-home .section-blog .post-card p,
.page-type-home .section-blog .post-card__link,
.page-type-blog .blog-mosaic,
.page-type-blog .blog-mosaic .post-card,
.page-type-blog .blog-mosaic .post-card h2,
.page-type-blog .blog-mosaic .post-card h3,
.page-type-blog .blog-mosaic .post-card p,
.page-type-blog .blog-mosaic .post-card .tag,
.page-type-blog .empty-state,
.page-type-post .article,
.page-type-post .article h1,
.page-type-post .article h2,
.page-type-post .article h3,
.page-type-post .article p,
.page-type-post .article li{
  color:var(--marcia-deep)!important;
}

/* 10. Regra geral para dobras claras da Home. As exceções escuras vêm depois. */
.page-type-home .section-light,
.page-type-home .section-about,
.page-type-home .section-audience,
.page-type-home .section-attendance{
  color:var(--marcia-deep)!important;
}
.page-type-home .section-light h1,
.page-type-home .section-light h2,
.page-type-home .section-light h3,
.page-type-home .section-light p,
.page-type-home .section-light strong,
.page-type-home .section-light small,
.page-type-home .section-light a:not(.button),
.page-type-home .section-about h1,
.page-type-home .section-about h2,
.page-type-home .section-about h3,
.page-type-home .section-about p,
.page-type-home .section-audience h1,
.page-type-home .section-audience h2,
.page-type-home .section-audience h3,
.page-type-home .section-audience p,
.page-type-home .section-attendance h1,
.page-type-home .section-attendance h2,
.page-type-home .section-attendance h3,
.page-type-home .section-attendance p,
.page-type-home .section-attendance strong,
.page-type-home .section-attendance small,
.page-type-home .section-attendance .attendance-kicker,
.page-type-home .section-attendance .attendance-location-link{
  color:var(--marcia-deep)!important;
}

/* Exceções deliberadas: elementos com fundo verde-escuro mantêm texto branco. */
.page-type-home .service-card--deep,
.page-type-home .service-card--accent,
.page-type-home .service-card--deep .service-card__index,
.page-type-home .service-card--deep h3,
.page-type-home .service-card--deep p,
.page-type-home .service-card--deep a,
.page-type-home .service-card--accent .service-card__index,
.page-type-home .service-card--accent h3,
.page-type-home .service-card--accent p,
.page-type-home .service-card--accent a,
.page-type-home .approach-tab.is-active,
.page-type-home .approach-tab.is-active *,
.page-type-home .attendance-tab.is-active,
.page-type-home .attendance-tab.is-active *,
.page-type-home .approach-panel__content,
.page-type-home .approach-panel__content .eyebrow,
.page-type-home .approach-panel__content h3,
.page-type-home .approach-panel__content p,
.page-type-home .approach-panel__content a,
.page-type-home .section-authority,
.page-type-home .section-authority .eyebrow,
.page-type-home .section-authority h2,
.page-type-home .section-authority h3,
.page-type-home .section-authority p,
.page-type-home .section-authority strong,
.page-type-home .section-authority span,
.page-type-home .section-contact .contact-copy,
.page-type-home .section-contact .contact-copy .eyebrow,
.page-type-home .section-contact .contact-copy h2,
.page-type-home .section-contact .contact-copy p,
.page-type-home .hero-video,
.page-type-home .hero-video .eyebrow,
.page-type-home .hero-video h1,
.page-type-home .hero-video .lead,
.page-type-home .hero-video__meta strong,
.page-type-home .hero-video__meta small{
  color:#fff!important;
}

/* Abordagem fotográfica: faixa inferior continua branca sobre verde translúcido. */
.page-type-home .approach-panel__content{
  background:rgba(19,35,12,.86)!important;
}

@media(max-width:760px){
  .site-footer .footer-grid{padding-top:38px!important}
}
