/**
 * CTA bands — faixa escura reutilizável (serviços, canais, formatos, etc.)
 * Centraliza título, lead e botões sem depender só de utilitários Tailwind.
 */

.cc-cta-band {
    position: relative;
    overflow: hidden;
    padding: clamp(3rem, 7vw, 5rem) 0;
    background: #111827;
}

.especial-cta.cc-cta-band {
    background: transparent;
}

.cc-cta-band--compact {
    padding: clamp(2.5rem, 6vw, 3.5rem) 0;
}

.cc-cta-band__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.4;
    pointer-events: none;
}

.cc-cta-band__bg img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cc-cta-band__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 100%);
}

.fi-cta .cc-cta-band__overlay {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 100%);
}

.fi-cta .cc-cta-band__glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(34, 197, 94, 0.2), transparent 55%);
    pointer-events: none;
}

.cc-cta-band__container {
    position: relative;
    z-index: 1;
}

.cc-cta-band__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 44rem;
    margin: 0 auto;
    text-align: center;
}

.cc-cta-band__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(6px);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
}

.cc-cta-band__logo {
    display: block;
    height: 3rem;
    width: auto;
    margin: 0 auto 1.25rem;
    object-fit: contain;
}

.cc-cta-band__icon {
    display: block;
    width: 6rem;
    height: 6rem;
    margin: 0 auto 1.25rem;
    border-radius: 999px;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
}

.cc-cta-band__title {
    margin: 0 0 1.15rem;
    width: 100%;
    font-family: var(--display, 'Nunito', sans-serif);
    font-size: clamp(1.65rem, 5vw, 3rem);
    font-weight: 900;
    line-height: 1.14;
    letter-spacing: -0.02em;
    color: #fff;
    text-wrap: balance;
}

.cc-cta-band__highlight {
    display: block;
    margin-top: 0.2rem;
    color: var(--verde, #4aff6b);
}

.cc-cta-band__lead {
    margin: 0 auto 2rem;
    width: 100%;
    max-width: 36rem;
    font-size: clamp(1rem, 2.2vw, 1.125rem);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.82);
    text-align: center;
    text-wrap: pretty;
}

.cc-cta-band__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    width: 100%;
}

.cc-cta-band__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 3rem;
    padding: 0.875rem 1.75rem;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.cc-cta-band__btn--primary {
    background: var(--verde, #4aff6b);
    color: #0a0a0a;
}

.cc-cta-band__btn--primary:hover {
    background: var(--color-primary-hover, #3de85f);
    transform: translateY(-1px);
}

.cc-cta-band__btn--secondary {
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    backdrop-filter: blur(4px);
}

.cc-cta-band__btn--secondary:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.35);
}

/* Compat: seções antigas com utilitários Tailwind */
.cc-cta-band .cc-section-header {
    max-width: 44rem;
    margin-bottom: 2rem;
}

.cc-cta-band .cc-section-title {
    color: #fff;
    text-wrap: balance;
}

.cc-cta-band .cc-section-lead {
    max-width: 36rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.82);
}

@media (max-width: 639px) {
    .cc-cta-band__title {
        font-size: clamp(1.5rem, 7vw, 1.85rem);
    }

    .cc-cta-band__lead {
        margin-bottom: 1.5rem;
    }

    .cc-cta-band__actions {
        flex-direction: column;
    }

    .cc-cta-band__btn {
        width: 100%;
        max-width: 22rem;
    }
}
