/* =====================================================================
   Rodapé do checkout — selos de confiança + informações da empresa.
   Escopo .ck-footer (global, não vaza). Estética alinhada ao Flowbite.
   ===================================================================== */

/* ---- Topo: logo + selo de segurança (substitui o header fixo) ---- */
main { margin-top: 22px; }   /* sem header fixo, reduz o respiro do topo */

.ck-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}
.ck-topbar__logo img { height: 42px; width: auto; display: block; }

.ck-secure {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    padding: .42rem .8rem;
    color: #374151;
    font-size: .76rem;
    font-weight: 600;
    line-height: 1.1;
    white-space: nowrap;
    box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.ck-secure svg { width: 16px; height: 16px; color: #16a34a; flex-shrink: 0; }

.ck-footer { margin-top: 2.5rem; }

/* ---- Selos de confiança ---- */
.ck-footer__badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem 2.5rem;
    margin-bottom: 1.5rem;
}

.ck-badge {
    display: flex;
    align-items: center;
    gap: .7rem;
    /* sem moldura: só ícone + texto, para não competir com o card do form */
}

.ck-badge__icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eff6ff;          /* blue-50 */
    color: #1a56db;               /* blue-700 */
    font-size: 1.15rem;
}
.ck-badge__icon svg { width: 22px; height: 22px; }

.ck-badge__text { display: flex; flex-direction: column; line-height: 1.3; }
.ck-badge__text strong { font-size: .9rem; font-weight: 600; color: #111827; }
.ck-badge__text span   { font-size: .78rem; color: #6b7280; }

/* ---- Bloco de informações da empresa ---- */
.ck-footer__info {
    text-align: center;
    padding: 1.25rem 0 2rem;
    border-top: 1px solid #f3f4f6;
}
.ck-footer__info span {
    display: block;
    font-size: .8rem;
    color: #9ca3af;
    line-height: 1.7;
}
.ck-footer__info span:first-child { color: #6b7280; font-weight: 500; }

@media (max-width: 640px) {
    .ck-footer__badges { flex-direction: column; align-items: center; gap: 1rem; }
}

/* No mobile, o card fica a apenas 8px das laterais */
@media (max-width: 575px) {
    .container.container-checkout { padding-left: 8px; padding-right: 8px; }
}
