/* Fotos de policiais da PMES no curso do CHS — colagem: recorte P&B, cor chapada, fita (sem degradê) */
.chs-hero,.chs-modulo,.cv-faixa,.mm-curso{position:relative}
.chs-hero::after,.chs-modulo[data-foto]::after,.cv-faixa::after,.mm-curso::after{
  content:"";display:block;flex:0 0 auto;width:132px;aspect-ratio:1/1;background-size:cover;background-position:center top;
  border:5px solid #fff;outline:2px solid #123447;box-shadow:5px 5px 0 #FF6D11;rotate:3deg;pointer-events:none}
.chs-hero::before,.chs-modulo[data-foto]::before,.cv-faixa::before,.mm-curso::before{
  content:"";position:absolute;width:46px;height:14px;background:#00CBFC;opacity:.9;rotate:-8deg;z-index:2;pointer-events:none}
/* Hero: Aluno Sargento em desfile */
.chs-hero::after{background-image:url(chs/pm-desfile.webp);width:150px;margin-left:auto;box-shadow:5px 5px 0 #00CBFC}
.chs-hero::before{right:118px;top:14px}
/* Módulo de Conhecimento Técnico-Policial */
.chs-modulo[data-foto]{padding-right:calc(18px + 104px)}
.chs-modulo[data-foto]::after{position:absolute;right:18px;top:18px;width:84px;aspect-ratio:4/5;border-width:4px;box-shadow:4px 4px 0 #FF6D11}
.chs-modulo[data-foto]::before{right:50px;top:10px;width:36px;height:12px}
.chs-modulo[data-foto=policial]::after{background-image:url(chs/pm-policial.webp)}
.chs-modulo[data-foto=sargento]::after{background-image:url(chs/pm-sargento.webp);box-shadow:4px 4px 0 #00CBFC}
/* Faixa de videoaulas e bloco de mapas mentais */
.cv-faixa{display:flex;align-items:center;gap:16px}
.cv-faixa>div{flex:1;min-width:0}
.cv-faixa::after{background-image:url(chs/pm-sargento.webp);width:96px;box-shadow:4px 4px 0 #00CBFC}
.cv-faixa::before{right:70px;top:6px;width:34px;height:12px}
.mm-curso::after{position:absolute;right:16px;top:14px;background-image:url(chs/pm-desfile.webp);width:84px;border-width:4px;box-shadow:4px 4px 0 #FF6D11}
.mm-curso::before{right:48px;top:6px;width:34px;height:12px}
.mm-curso .section-title{padding-right:104px}
@media (max-width:640px){
  .chs-hero::after{position:absolute;right:16px;top:18px;width:96px;margin:0}
  .chs-hero::before{right:60px;top:10px}
  .chs-modulo[data-foto]{padding-right:calc(14px + 78px)}
  .chs-modulo[data-foto]::after{width:66px;right:12px;top:14px}
  .chs-modulo[data-foto]::before{right:36px;top:8px}
  .cv-faixa{display:block;padding-right:calc(16px + 88px)}
  .cv-faixa::after{position:absolute;right:14px;top:16px;width:72px}
  .cv-faixa::before{right:44px;top:8px}
  .mm-curso::after{width:68px;right:12px}
  .mm-curso .section-title{padding-right:84px}
  .mm-curso::before{right:38px}
}
@media (prefers-reduced-motion:no-preference){.chs-hero::after,.chs-modulo[data-foto]::after,.cv-faixa::after,.mm-curso::after{animation:cg-foto-assenta .5s ease-out both}}
@keyframes cg-foto-assenta{from{opacity:.4;translate:0 6px;rotate:0deg}}

/* Provas do CHS (chs-destaque): foto da turma de Alunos Sargentos à direita do brasão, colagem b-roll */
.chs-destaque{position:relative}
.chs-destaque::after{content:"";flex:0 0 auto;width:230px;aspect-ratio:1.85/1;background:url(chs/pm-turma-sargentos.webp) center/cover;border:4px solid #fff;outline:2px solid #123447;box-shadow:6px 6px 0 #FF6D11;rotate:2deg;order:3;pointer-events:none}
.chs-destaque::before{content:"";position:absolute;width:46px;height:14px;background:#00CBFC;opacity:.95;rotate:-8deg;z-index:2;right:30px;top:12px;pointer-events:none}
@media(max-width:640px){
  .chs-destaque::after{position:absolute;right:20px;top:22px;width:calc(100% - 156px);min-width:160px;max-width:300px;box-shadow:5px 5px 0 #FF6D11}
  .chs-destaque>.chs-emblema{margin-bottom:46px}
  .chs-destaque::before{right:calc(20px + 24px)}
}

/* Topo do curso CHS: segunda polaroid (Sargento) entre o brasão e a foto do desfile */
.chs-hero-foto2{margin:0;position:relative;flex:0 0 auto;width:170px;border:5px solid #fff;outline:2px solid #123447;box-shadow:5px 5px 0 #00CBFC;rotate:-3deg;z-index:1}
.chs-hero-foto2::before{content:"";position:absolute;top:-10px;left:50%;width:42px;height:13px;margin-left:-21px;background:#FF6D11;rotate:5deg;z-index:2}
.chs-hero-foto2 img{display:block;width:100%;height:auto}
@media (max-width:640px){
  .chs-hero-foto2{position:absolute;left:calc(20px + 134px);top:40px;width:108px;box-shadow:4px 4px 0 #00CBFC}
}
@media (max-width:350px){.chs-hero-foto2{display:none}}
