/**
 * Apenas em projects.html — marca Hermano criativo: roxo #3b1979 no lugar dos fundos pretos/escuros.
 * Acoplado a body.page-projetos-hermano
 */
body.page-projetos-hermano,
body.page-projetos-hermano .bg-dark,
body.page-projetos-hermano.bg-dark {
  --bs-body-bg: #3b1979;
  /* Texto/secondary do Bootstrap: evita preto e cinza em fundo roxo (mobile) */
  --bs-body-color: rgba(232, 220, 197, 0.96);
  --bs-body-color-rgb: 232, 220, 197;
  --bs-secondary-color: rgba(232, 220, 197, 0.78);
  --bs-tertiary-color: rgba(232, 220, 197, 0.62);
  --bs-emphasis-color: #e8dcc5;
  --bs-dark: #3b1979;
  --bs-dark-rgb: 59, 25, 121;
  color-scheme: dark;
  background-color: #3b1979 !important;
}

/* Só a área de listagem: títulos globais h1–h6 são #333 no template */
body.page-projetos-hermano .portfolio-cases-section h2,
body.page-projetos-hermano .portfolio-section-head__title {
  color: #e8dcc5 !important;
}
body.page-projetos-hermano .portfolio-case h3.portfolio-case__title {
  color: #ffb646 !important;
}
body.page-projetos-hermano .portfolio-case__body,
body.page-projetos-hermano .portfolio-case__body .paragraph,
body.page-projetos-hermano .portfolio-case__body .portfolio-case__p {
  color: rgba(232, 220, 197, 0.94) !important;
}
body.page-projetos-hermano .portfolio-case__body strong {
  color: #f2ebe0;
}
body.page-projetos-hermano .portfolio-section-head__lead {
  color: rgba(232, 220, 197, 0.88) !important;
}

body.page-projetos-hermano .bg-black {
  background-color: #3b1979 !important;
}

/* Header ao rolar a página: main.js adiciona .is-sticky com cinza #212121 — troca para o roxo */
body.page-projetos-hermano .header.is-sticky {
  background-color: #3b1979 !important;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
}

/* Pré-vídeo: overlay do play (antes preto) */
body.page-projetos-hermano .shorts-play-icon circle {
  fill: rgba(59, 25, 121, 0.55) !important;
}

/*
 * Logos do header (PNG preto) → creme alinhado ao site (#e8dcc5, como hermanologo.svg).
 * brightness(0) deixa tudo preto; invert(1) branco; sepia/brightness afinam o creme.
 */
body.page-projetos-hermano img.projetos-hermano-logo,
body.page-projetos-hermano #sticky-header a img,
body.page-projetos-hermano .offcanvas-header a img {
  -webkit-filter: brightness(0) invert(1) sepia(0.5) saturate(0.2) brightness(0.88) !important;
  filter: brightness(0) invert(1) sepia(0.5) saturate(0.2) brightness(0.88) !important;
  opacity: 1 !important;
}

/*
 * Projetos: o template aplica .paragraph e h* em tons escuros (#333 / rgba(8,8,8)).
 * Corpo da listagem: força legível no roxo (incl. -webkit-text-fill no iOS). Não no body
 * inteiro — evita puxar fill para o rodapé com text-white.
 */
body.page-projetos-hermano .portfolio-cases-section {
  color: rgba(232, 220, 197, 0.96);
  -webkit-text-fill-color: rgba(232, 220, 197, 0.96);
}

body.page-projetos-hermano .portfolio-cases-section p,
body.page-projetos-hermano .portfolio-cases-section .paragraph,
body.page-projetos-hermano .portfolio-case__body,
body.page-projetos-hermano .portfolio-case__body p,
body.page-projetos-hermano .portfolio-section-head__lead,
body.page-projetos-hermano .portfolio-cases-loading,
body.page-projetos-hermano .portfolio-case__empty {
  color: rgba(232, 220, 197, 0.94) !important;
  -webkit-text-fill-color: rgba(232, 220, 197, 0.94) !important;
}

body.page-projetos-hermano .portfolio-case__empty strong,
body.page-projetos-hermano .portfolio-case__body strong {
  color: #f2ebe0 !important;
  -webkit-text-fill-color: #f2ebe0 !important;
}

/* h3 título do case continua laranja; h global #333 não pode vencer */
body.page-projetos-hermano .portfolio-cases-section h3.portfolio-case__title {
  color: #ffb646 !important;
  -webkit-text-fill-color: #ffb646 !important;
}

body.page-projetos-hermano .portfolio-cases-section h3.portfolio-cases__group-title {
  color: #ffb646 !important;
  -webkit-text-fill-color: #ffb646 !important;
}

/* Cabeçalho da secção: mantém kicker laranja e título claro (fill herdado puxava bege) */
body.page-projetos-hermano .portfolio-section-head__kicker.text-warning {
  color: #ffb646 !important;
  -webkit-text-fill-color: #ffb646 !important;
}

body.page-projetos-hermano h2.portfolio-section-head__title {
  color: #e8dcc5 !important;
  -webkit-text-fill-color: #e8dcc5 !important;
}
