/* ===============================
   CTA MODERN - GLASSMORPHISM
   =============================== */

.cta-modern {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
    background: linear-gradient(135deg, 
        rgba(214, 32, 39, 0.03) 0%, 
        rgba(214, 32, 39, 0.02) 100%
    );
}

.cta-modern__gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(214, 32, 39, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(214, 32, 39, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(214, 32, 39, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

.cta-modern__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

/* Header */
.cta-modern__header {
    text-align: center;
    margin-bottom: 4rem;
}

@media (max-width: 768px) {
    .cta-modern__header {
        margin-bottom: 3rem;
    }
}

.cta-modern__badge {
    display: inline-block;
    background: linear-gradient(135deg, 
        rgba(214, 32, 39, 0.15), 
        rgba(214, 32, 39, 0.12)
    );
    color: #D62027;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(214, 32, 39, 0.3);
    backdrop-filter: blur(10px);
}

.cta-modern__header h2 {
    font-size: 2.5rem;
    color: #212529;
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .cta-modern__header h2 {
        font-size: 1.8rem;
    }
}

.cta-modern__header p {
    font-size: 1.1rem;
    color: #495057;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .cta-modern__header p {
        font-size: 1rem;
    }
}

/* Cards Grid */
.cta-modern__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (max-width: 992px) {
    .cta-modern__cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Card Glassmorphism */
.cta-card {
    position: relative;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* Brilho superior */
.cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(214, 32, 39, 0.5), 
        transparent
    );
    opacity: 0;
    transition: opacity 0.4s ease;
}

/* Efeito de luz lateral */
.cta-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(214, 32, 39, 0.08)
    );
    transition: left 0.6s ease;
}

.cta-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(214, 32, 39, 0.4);
    box-shadow: 
        0 20px 60px rgba(214, 32, 39, 0.15),
        0 0 0 1px rgba(214, 32, 39, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}

.cta-card:hover::before {
    opacity: 1;
}

.cta-card:hover::after {
    left: 100%;
}

.cta-card:hover .cta-card__icon {
    background: #D62027;
    box-shadow: 0 8px 24px rgba(214, 32, 39, 0.4);
    transform: scale(1.05);
}

.cta-card:hover .cta-card__icon i {
    color: #212529;
    transform: scale(1.1);
}

.cta-card:hover .cta-card__button {
    background: #D62027;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(214, 32, 39, 0.3);
}

.cta-card:hover .cta-card__button i {
    transform: translateX(4px);
}

/* Card Primary (Destaque) */
.cta-card--primary {
    background: linear-gradient(135deg, 
        rgba(214, 32, 39, 0.12) 0%, 
        rgba(214, 32, 39, 0.08) 100%
    );
    border-color: rgba(214, 32, 39, 0.4);
}

.cta-card--primary::before {
    background: linear-gradient(90deg, 
        transparent, 
        rgba(214, 32, 39, 0.8), 
        transparent
    );
    opacity: 1;
}

.cta-card--primary:hover {
    background: linear-gradient(135deg, 
        rgba(214, 32, 39, 0.18) 0%, 
        rgba(214, 32, 39, 0.12) 100%
    );
}

/* Icon Wrapper */
.cta-card__icon-wrapper {
    margin-bottom: 1.5rem;
}

.cta-card__icon {
    width: 80px;
    height: 80px;
    background: rgba(214, 32, 39, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(214, 32, 39, 0.12);
}

.cta-card__icon i {
    font-size: 2.2rem;
    color: #D62027;
    transition: all 0.3s ease;
}

/* Text Content */
.cta-card h3 {
    font-size: 1.5rem;
    color: #212529;
    margin-bottom: 0.75rem;
    font-weight: 700;
    text-align: center;
}

.cta-card > p {
    color: #495057;
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 1.5rem;
}

/* Benefits List */
.cta-card__benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.cta-card__benefits li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #495057;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    padding-left: 0.5rem;
}

.cta-card__benefits li:last-child {
    margin-bottom: 0;
}

.cta-card__benefits li i {
    color: #D62027;
    font-size: 0.85rem;
    flex-shrink: 0;
}

/* Button */
.cta-card__button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 1rem 1.5rem;
    background: rgba(214, 32, 39, 0.1);
    color: #D62027;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(214, 32, 39, 0.2);
}

.cta-card__button i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

/* Footer */
.cta-modern__footer {
    text-align: center;
}

.cta-modern__footer p {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: #495057;
    font-size: 0.95rem;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    border: 1px solid rgba(214, 32, 39, 0.2);
}

.cta-modern__footer i {
    color: #D62027;
    font-size: 1.1rem;
}

/* Animations */
@keyframes floatIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cta-card {
    animation: floatIn 0.8s ease-out backwards;
}

.cta-card:nth-child(1) {
    animation-delay: 0.1s;
}

.cta-card:nth-child(2) {
    animation-delay: 0.2s;
}

.cta-card:nth-child(3) {
    animation-delay: 0.3s;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .cta-modern {
        padding: 4rem 0;
    }

    .cta-card {
        padding: 2rem 1.5rem;
    }

    .cta-card__icon {
        width: 70px;
        height: 70px;
    }

    .cta-card__icon i {
        font-size: 2rem;
    }

    .cta-card h3 {
        font-size: 1.3rem;
    }

    .cta-modern__footer p {
        padding: 0.75rem 1.5rem;
        font-size: 0.85rem;
    }
}

