/**
 * CTA SECTION CSS - Call to Action Final
 * @package Nuntius Theme
 */

.about-cta-section {
    position: relative;
    background: linear-gradient(180deg, #16213e 0%, #0a0a0f 50%, #1a1a2e 100%);
    overflow: hidden;
    padding: 100px 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.cta-container {
    position: relative;
    z-index: 10;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
}

.cta-content {
    background: rgba(47, 49, 54, 0.6);
    border: 3px solid rgba(67, 181, 129, 0.5);
    border-radius: 40px;
    padding: 80px 60px;
    text-align: center;
    backdrop-filter: blur(20px);
    box-shadow: 0 30px 90px rgba(67, 181, 129, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(67, 181, 129, 0.1) 0%, transparent 100%);
    pointer-events: none;
}

/* ÍCONE PRINCIPAL */
.cta-icon-container {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-ring {
    position: absolute;
    border: 2px solid rgba(67, 181, 129, 0.3);
    border-radius: 50%;
    animation: ringPulse 3s ease-in-out infinite;
}

.icon-ring.ring-1 {
    width: 100%;
    height: 100%;
    animation-delay: 0s;
}

.icon-ring.ring-2 {
    width: 120%;
    height: 120%;
    animation-delay: 0.5s;
}

.icon-ring.ring-3 {
    width: 140%;
    height: 140%;
    animation-delay: 1s;
}

@keyframes ringPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.2);
        opacity: 0;
    }
}

.cta-main-icon {
    font-size: 100px;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 0 30px rgba(67, 181, 129, 0.8));
    animation: iconHeartbeat 2s ease-in-out infinite;
}

@keyframes iconHeartbeat {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
}

/* TÍTULO */
.cta-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: #fff;
    margin-bottom: 40px;
    font-weight: 900;
    line-height: 1.4;
}

.cta-title .highlight-brand {
    color: #5865F2;
    text-shadow: 0 0 20px rgba(88, 101, 242, 0.8);
}

.cta-title .highlight-job {
    color: #B9BBBE;
    font-style: italic;
}

.cta-title .highlight-passion {
    color: #43B581;
    text-shadow: 0 0 25px rgba(67, 181, 129, 0.9);
    font-size: 1.2em;
    display: inline-block;
    animation: passionPulse 2s ease-in-out infinite;
}

@keyframes passionPulse {
    0%, 100% {
        transform: scale(1);
        text-shadow: 0 0 25px rgba(67, 181, 129, 0.9);
    }
    50% {
        transform: scale(1.05);
        text-shadow: 0 0 35px rgba(67, 181, 129, 1);
    }
}

/* DIVIDER */
.cta-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
}

.divider-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, transparent, #43B581, transparent);
}

.divider-icon {
    font-size: 2rem;
    filter: drop-shadow(0 0 15px rgba(67, 181, 129, 0.8));
}

/* DESCRIÇÃO */
.cta-description {
    font-size: 1.2rem;
    color: #B9BBBE;
    line-height: 1.9;
    max-width: 800px;
    margin: 0 auto 50px;
}

.cta-description strong {
    color: #fff;
    font-weight: 700;
}

.cta-description .highlight-passion {
    color: #43B581;
    font-weight: 800;
}

/* STATS */
.cta-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin: 50px 0;
}

.stat-box {
    background: rgba(67, 181, 129, 0.1);
    border: 2px solid rgba(67, 181, 129, 0.3);
    border-radius: 20px;
    padding: 30px 20px;
    transition: all 0.4s ease;
}

.stat-box:hover {
    border-color: #43B581;
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(67, 181, 129, 0.4);
}

.stat-icon {
    font-size: 50px;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 15px rgba(67, 181, 129, 0.6));
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 900;
    color: #43B581;
    text-shadow: 0 0 20px rgba(67, 181, 129, 0.6);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1rem;
    color: #B9BBBE;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* BUTTONS */
.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 50px 0 40px;
}

.cta-button {
    position: relative;
    padding: 20px 45px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.cta-button-primary {
    background: linear-gradient(135deg, #5865F2, #7289DA);
    color: #fff;
    border: 2px solid #5865F2;
    box-shadow: 0 10px 40px rgba(88, 101, 242, 0.4);
}

.cta-button-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 60px rgba(88, 101, 242, 0.6);
}

.cta-button-secondary {
    background: rgba(67, 181, 129, 0.1);
    color: #43B581;
    border: 2px solid #43B581;
    box-shadow: 0 10px 40px rgba(67, 181, 129, 0.3);
}

.cta-button-secondary:hover {
    background: rgba(67, 181, 129, 0.2);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 60px rgba(67, 181, 129, 0.5);
}

.button-icon {
    font-size: 1.5rem;
}

.button-text {
    position: relative;
    z-index: 2;
}

.button-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.cta-button:hover .button-glow {
    opacity: 1;
    animation: buttonGlowRotate 4s linear infinite;
}

@keyframes buttonGlowRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* SOCIAL PROOF */
.cta-social-proof {
    margin-top: 40px;
}

.social-proof-text {
    font-size: 1rem;
    color: #7289DA;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* PARTÍCULAS */
.cta-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
}

.cta-particles .particle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #43B581;
    border-radius: 50%;
    box-shadow: 0 0 20px #43B581;
    animation: ctaParticleFloat 20s infinite;
}

.cta-particles .particle:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}
.cta-particles .particle:nth-child(2) {
    top: 20%;
    right: 15%;
    animation-delay: 2.5s;
}
.cta-particles .particle:nth-child(3) {
    top: 50%;
    left: 5%;
    animation-delay: 5s;
}
.cta-particles .particle:nth-child(4) {
    top: 70%;
    right: 10%;
    animation-delay: 7.5s;
}
.cta-particles .particle:nth-child(5) {
    top: 30%;
    left: 50%;
    animation-delay: 10s;
}
.cta-particles .particle:nth-child(6) {
    top: 85%;
    left: 30%;
    animation-delay: 12.5s;
}
.cta-particles .particle:nth-child(7) {
    top: 40%;
    right: 30%;
    animation-delay: 15s;
}
.cta-particles .particle:nth-child(8) {
    top: 60%;
    right: 50%;
    animation-delay: 17.5s;
}

@keyframes ctaParticleFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    50% {
        transform: translate(120px, -120px) scale(1.5);
        opacity: 0.5;
    }
    90% {
        opacity: 1;
    }
}

/* RESPONSIVIDADE */
@media (max-width: 1024px) {
    .cta-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .about-cta-section {
        padding: 80px 0;
    }

    .cta-container {
        padding: 0 20px;
    }

    .cta-content {
        padding: 60px 35px;
        border-radius: 30px;
    }

    .cta-title {
        font-size: 2rem;
    }

    .cta-description {
        font-size: 1.1rem;
    }

    .cta-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .cta-button {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .cta-content {
        padding: 40px 25px;
    }

    .cta-icon-container {
        width: 120px;
        height: 120px;
    }

    .cta-main-icon {
        font-size: 80px;
    }

    .cta-title {
        font-size: 1.6rem;
    }

    .cta-description {
        font-size: 1rem;
    }

    .stat-icon {
        font-size: 40px;
    }

    .stat-value {
        font-size: 2rem;
    }

    .cta-button {
        padding: 18px 35px;
        font-size: 1rem;
    }
}
