/* ============================================================
   CTA INTERMEDIÁRIO | css/cta-banner.css
   Banner de conversão entre Stack Tech e Projetos
   ============================================================ */

.cta-banner {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(
        160deg,
        rgba(99, 102, 241, 0.08) 0%,
        var(--bg-main) 40%,
        rgba(99, 102, 241, 0.05) 100%
    );
    overflow: hidden;
    z-index: 2;
}

/* Glow radial decorativo */
.cta-banner::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.cta-banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}

.cta-banner-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 4.5vw, 4.5rem);
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.12;
    letter-spacing: -1.5px;
}

.cta-banner-title .accent-title-drama {
    font-family: var(--font-drama);
    font-style: italic;
    font-weight: 300;
    color: var(--accent);
    letter-spacing: 0;
    text-shadow: 0 0 30px rgba(129, 140, 248, 0.3);
}

.cta-banner-desc {
    font-family: var(--font-heading);
    font-size: 1.55rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 520px;
}

.cta-banner .btn-primary {
    font-size: 1.5rem;
    padding: 18px 40px;
    margin-top: 8px;
}

/* Setas decorativas animadas */
.cta-arrows {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0.15;
    pointer-events: none;
}

.cta-arrows--left {
    left: clamp(20px, 5vw, 80px);
}

.cta-arrows--right {
    right: clamp(20px, 5vw, 80px);
}

.cta-arrows svg {
    width: 28px;
    height: 28px;
    color: var(--primary);
    animation: arrowFloat 2.5s ease-in-out infinite;
}

.cta-arrows svg:nth-child(2) {
    animation-delay: 0.3s;
    opacity: 0.6;
}

.cta-arrows svg:nth-child(3) {
    animation-delay: 0.6s;
    opacity: 0.3;
}

@keyframes arrowFloat {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-6px); }
}

/* ─── Responsividade ─── */
@media (max-width: 768px) {
    .cta-banner {
        padding: 72px 0;
    }

    .cta-arrows {
        display: none;
    }
}
