/* Seção CTA */
.cta {
    background: linear-gradient(45deg, #0a0a0a, #222);
    position: relative;
    padding: 80px 20px;
    text-align: center;
    color: #fff;
    overflow: hidden;
    min-height: 350px; /* Garantir altura mínima */
    display: flex;
    justify-content: center;
    align-items: center;
}

.cta:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 224, 255, 0.2), rgba(0, 0, 0, 0.5));
    z-index: 0;
    animation: gradientAnimation 6s ease infinite;
}

/* Efeito dinâmico no fundo */
@keyframes gradientAnimation {
    0% {
        background-position: 0% 0%;
    }
    50% {
        background-position: 100% 100%;
    }
    100% {
        background-position: 0% 0%;
    }
}

.cta-content {
    z-index: 1;
    position: relative;
    padding: 0 20px;
    max-width: 900px; /* Limitar o tamanho para texto mais compacto */
    margin: 0 auto; /* Centralizar conteúdo */
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #00e0ff;
    font-weight: bold;
    letter-spacing: 2px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.6); /* Adicionando sombra ao texto */
}

.cta h3 {
    font-size: 1.5rem;
    color: #ccc;
    margin-bottom: 20px;
    line-height: 1.6;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4); /* Adicionando sombra ao texto */
}

/* Botão Inovador */
.cta-btn {
    background: linear-gradient(45deg, #00e0ff, #00a7d0);
    color: #111;
    padding: 18px 40px;
    font-size: 1.2rem;
    text-decoration: none;
    border-radius: 50px; /* Forma mais arredondada */
    box-shadow: 0 10px 30px rgba(0, 224, 255, 0.3);
    position: relative;
    overflow: hidden;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s ease;
}

.cta-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.5s ease;
}

.cta-btn:hover::before {
    transform: translate(-50%, -50%) scale(1); /* Criando um círculo expansivo no hover */
}

.cta-btn:hover {
    color: #fff; /* Altera a cor do texto no hover */
    background: linear-gradient(45deg, #00a7d0, #00e0ff);
    box-shadow: 0 20px 50px rgba(0, 224, 255, 0.5); /* Sombra mais forte e ampliada */
    transform: translateY(-8px); /* Eleva o botão mais durante o hover */
}

.cta-btn:focus {
    outline: none; /* Remove o contorno padrão */
    box-shadow: 0 0 0 3px rgba(0, 224, 255, 0.6); /* Cria um brilho sutil quando focado */
}

/* Adicionando uma animação sutil */
.cta-btn span {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease-in-out;
}

.cta-btn:hover span {
    transform: scale(1.1); /* Aumenta um pouco o texto ao passar o mouse */
}

/* Responsividade */
@media screen and (max-width: 768px) {
    .cta h2 {
        font-size: 2rem;
        margin-bottom: 8px;
    }

    .cta h3 {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }

    .cta-btn {
        padding: 12px 30px;
        font-size: 1.1rem;
    }

    .cta-content {
        padding: 0 15px;
    }
}

@media screen and (max-width: 480px) {
    .cta h2 {
        font-size: 1.8rem;
    }

    .cta h3 {
        font-size: 1rem;
    }

    .cta-btn {
        padding: 10px 25px;
        font-size: 1rem;
    }
}
