/* Certificado digital (/certificado-digital) */
.cert-secao { margin-bottom: 0; padding-bottom: 2.5rem; }
.cert-card { display: flex; flex-direction: column; height: 100%; overflow: hidden; background: #fff; border: 1px solid #e3e8f1; border-radius: 16px; box-shadow: 0 2px 10px rgba(34, 61, 128, .08); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.cert-card:hover { transform: translateY(-6px); box-shadow: 0 14px 28px rgba(34, 61, 128, .2); border-color: rgba(34, 61, 128, .3); }
.cert-card__topo { display: flex; align-items: center; justify-content: center; height: 108px; background: linear-gradient(135deg, #223d80 0%, #1a478a 55%, #2b6cb0 100%); }
.cert-card__icone { display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; background: #fff; color: #223d80; font-size: 1.8rem; box-shadow: 0 6px 16px rgba(0, 0, 0, .18); }
.cert-card:hover .cert-card__icone { color: #00933f; }
.cert-card__corpo { flex: 1 1 auto; padding: 1.25rem 1.4rem .5rem; text-align: left; }
.cert-card__titulo { margin: 0 0 .5rem; color: #223d80; font-weight: 800; }
.cert-card__desc { margin: 0 0 1rem; color: #4a5568; line-height: 1.6; }
.cert-card__validade { display: flex; gap: .5rem; align-items: flex-start; margin: 0; padding: .65rem .8rem; background: #f4f7fc; border: 1px solid #e3e8f1; border-radius: 10px; color: #2b3445; font-size: .95rem; line-height: 1.45; }
.cert-card__validade .bi { color: #00933f; margin-top: .1rem; }
.cert-card__acao { padding: 1rem 1.4rem 1.4rem; }
.cert-duvidas { display: flex; align-items: center; justify-content: center; gap: .75rem; margin: 2rem auto 1.25rem; padding: 1rem 1.25rem; max-width: 760px; background: #eaf7ef; border: 1px solid #cdebd8; border-radius: 12px; color: #1f3d2b; }
.cert-duvidas .bi { font-size: 1.8rem; color: #00933f; flex: 0 0 auto; }
.cert-duvidas p { margin: 0; line-height: 1.5; }
.cert-duvidas a { color: #1a478a; font-weight: 700; }
.cert-dpn { margin: 0 0 1.5rem; }
.cert-cartoes { display: block; margin: 0 auto; max-width: 100%; height: auto; }
/* documentos */
.cert-docs .cert-docs__titulo { margin-bottom: 2rem; color: #223d80; font-weight: 800; }
.cert-docs .cert-docs__grupo { color: #223d80; font-weight: 800; }
.cert-acordeao .accordion-button { font-weight: 700; color: #223d80; }
.cert-acordeao .accordion-button:not(.collapsed) { background: #eef3fb; color: #223d80; box-shadow: none; }
.cert-acordeao .accordion-body ul { margin: 0; padding-left: 1.2rem; line-height: 1.65; }
.cert-acordeao .accordion-body li { margin-bottom: .35rem; }
.cert-juridico { height: 100%; padding: 1.5rem; background: #fff; border: 1px solid #e3e8f1; border-radius: 16px; text-align: center; box-shadow: 0 2px 10px rgba(34, 61, 128, .06); }
.cert-juridico .bi { font-size: 2.4rem; color: #223d80; }
.cert-juridico h3 { margin: .5rem 0; color: #223d80; font-weight: 800; }
@media (max-width: 575.98px) {
  .cert-card__topo { height: 92px; }
  .cert-duvidas { flex-direction: column; text-align: center; }
  .cert-dpn .btn { width: 100%; white-space: normal; }
}
@media (prefers-reduced-motion: reduce) { .cert-card { transition: none; } .cert-card:hover { transform: none; } }

/* topo claro: os cards invadem a faixa azul do titulo e o topo azul "sumia" (azul no azul) */
.cert-card__topo { background: linear-gradient(135deg, #f3f6fc 0%, #e3ebf7 100%); border-bottom: 1px solid #e3e8f1; }
.cert-card__icone { background: #223d80; color: #fff; box-shadow: 0 6px 16px rgba(34, 61, 128, .28); }
.cert-card:hover .cert-card__icone { background: #00933f; color: #fff; }
.cert-juridico .bi { color: #223d80; }
.cert-docs { background: #f1f5fb; }
