/* Banners Contabilizei — identidade azul */

.ctz-b {
    --ctz-blue: #0066ff;
    --ctz-blue-dark: #0047cc;
    --ctz-blue-soft: #eff6ff;
    --ctz-blue-mid: #dbeafe;
    --ctz-blue-border: rgba(0, 102, 255, 0.24);
    font-family: Urbanist, system-ui, sans-serif;
    box-sizing: border-box;
}

.ctz-b *,
.ctz-b *::before,
.ctz-b *::after {
    box-sizing: border-box;
}

/* Horizontal */
.ctz-b--horizontal {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 16px;
    padding: 16px 18px;
    border-radius: 14px;
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f2ff 100%);
    border: 1px solid var(--ctz-blue-border);
    box-shadow: 0 4px 16px rgba(0, 102, 255, 0.08);
}

.ctz-b__logo-wrap {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--ctz-blue-border);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    flex-shrink: 0;
}

.ctz-b__logo-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.ctz-b__copy strong {
    display: block;
    font-size: 0.9375rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 2px;
    line-height: 1.3;
}

.ctz-b__copy span {
    display: block;
    font-size: 0.8125rem;
    color: #64748b;
    line-height: 1.4;
}

.ctz-b__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 18px;
    border-radius: 10px;
    background: #0066ff;
    background: linear-gradient(135deg, var(--ctz-blue) 0%, var(--ctz-blue-dark) 100%);
    color: #fff !important;
    font-size: 0.8125rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(0, 102, 255, 0.28);
    transition: transform 0.15s, box-shadow 0.15s;
    border: none;
    cursor: pointer;
}

.ctz-b__cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0, 102, 255, 0.35);
    color: #fff !important;
}

.ctz-b__cta--sm {
    padding: 9px 14px;
    font-size: 0.75rem;
}

/* Compact */
.ctz-b--compact {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--ctz-blue-soft);
    border: 1px solid var(--ctz-blue-border);
}

.ctz-b__logo-sm {
    height: 22px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
}

.ctz-b--compact .ctz-b__copy {
    flex: 1;
    min-width: 0;
}

.ctz-b--compact .ctz-b__copy strong {
    display: block;
    font-size: 0.875rem;
    color: #0f172a;
}

.ctz-b--compact .ctz-b__copy span {
    display: block;
    font-size: 0.75rem;
    color: #64748b;
    line-height: 1.35;
}

/* Onboarding inline */
.ctz-b--onboarding {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    align-items: center;
    margin-top: 4px;
    padding: 14px 16px;
    border-radius: 14px;
    background: linear-gradient(135deg, #f0f7ff 0%, #fff 100%);
    border: 1.5px solid var(--ctz-blue-border);
    animation: ctzBannerIn 0.35s ease-out;
}

@keyframes ctzBannerIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.ctz-b__onboard-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--ctz-blue-border);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    font-weight: 800;
    color: var(--ctz-blue);
}

.ctz-b__onboard-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.ctz-b__onboard-copy strong {
    display: block;
    font-size: 0.9375rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}

.ctz-b__onboard-copy p {
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: #64748b;
}

/* Card (modal / pós-candidatura) */
.ctz-b--card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--ctz-blue-border);
    background: #fff;
    box-shadow: 0 8px 28px rgba(0, 102, 255, 0.1);
}

.ctz-b__visual {
    background: linear-gradient(145deg, #eff6ff 0%, #dbeafe 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 16px;
    min-height: 180px;
}

.ctz-b__visual img {
    max-width: 100%;
    max-height: 150px;
    object-fit: contain;
    border-radius: 8px;
}

.ctz-b__body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
}

.ctz-b__logo {
    height: 20px;
    width: auto;
    object-fit: contain;
}

.ctz-b__chip {
    display: inline-flex;
    width: fit-content;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--ctz-blue-soft);
    color: var(--ctz-blue-dark);
    font-size: 0.6875rem;
    font-weight: 700;
}

.ctz-b__title {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.25;
    color: #0f172a;
}

.ctz-b__text {
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: #64748b;
}

@media (max-width: 640px) {
    .ctz-b--horizontal,
    .ctz-b--onboarding {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .ctz-b--horizontal .ctz-b__logo-wrap,
    .ctz-b--onboarding .ctz-b__onboard-icon {
        margin: 0 auto;
    }

    .ctz-b--horizontal .ctz-b__cta,
    .ctz-b--onboarding .ctz-b__cta {
        width: 100%;
    }

    .ctz-b--card {
        grid-template-columns: 1fr;
    }

    .ctz-b--compact {
        flex-wrap: wrap;
    }
}
