/* * Widget: CTA Box (Call to Action)
 * Handle: as-cta-box-css
 */

.as-cta-box-widget {
    padding: 20px 0;
}

.cta-box {
    /* Background PADRÃO (Dark) */
    background: linear-gradient(135deg, #1A1826 0%, #0E0C18 100%);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 20px;
    padding: 80px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Efeito de luz no fundo */
.cta-box:before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(230, 165, 92, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

/* --- OVERRIDE: FUNDO PERSONALIZADO DO USUÁRIO --- */
/* Se o usuário escolheu uma cor no Elementor, removemos o gradiente padrão */
.as-cta-box-widget.as-custom-bg .cta-box {
    background: none;
    background-image: none;
    background-color: transparent; /* Elementor aplica a cor no container */
}

/* Opcional: Remove o brilho extra se tiver fundo customizado para ficar limpo */
.as-cta-box-widget.as-custom-bg .cta-box:before {
    display: none;
}


.cta-content { 
    position: relative; 
    z-index: 2; 
    max-width: 700px; 
    margin: 0 auto; 
}

.cta-content h2 { 
    font-family: 'Cinzel', serif; 
    font-size: 2.5rem; 
    color: #fff; 
    margin-bottom: 20px; 
    line-height: 1.2;
}

.cta-content p { 
    color: #ccc; 
    margin-bottom: 40px; 
    font-size: 1.1rem; 
    line-height: 1.6;
}

/* Área de Ações (Botões) */
.cta-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Botão 1: Sólido */
.btn-gold-solid {
    background: #E6A55C;
    color: #000;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.btn-gold-solid:hover { 
    transform: scale(1.05); 
    background: #fff; 
    color: #000;
}

/* Botão 2: Outline (Borda) */
.btn-outline-light {
    border: 2px solid rgba(255,255,255,0.2);
    color: #fff;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
    text-decoration: none;
}

.btn-outline-light:hover { 
    border-color: #fff; 
    background: rgba(255,255,255,0.05);
}

/* --- TEMA LIGHT (Padrão Claro) --- */
.as-cta-box-widget.skin-light .cta-box {
    background: #fff;
    border: 1px solid #e5e5e5;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* Se tiver fundo customizado no light, remove o branco padrão */
.as-cta-box-widget.skin-light.as-custom-bg .cta-box {
    background: none;
    background-color: transparent;
    box-shadow: none; /* Opcional */
}

.as-cta-box-widget.skin-light .cta-box:before {
    background: radial-gradient(circle, rgba(230, 165, 92, 0.05) 0%, transparent 60%);
}

.as-cta-box-widget.skin-light .cta-content h2 {
    color: #111;
}

.as-cta-box-widget.skin-light .cta-content p {
    color: #555;
}

.as-cta-box-widget.skin-light .btn-outline-light {
    border-color: rgba(0,0,0,0.1);
    color: #333;
}
.as-cta-box-widget.skin-light .btn-outline-light:hover {
    border-color: #333;
    background: transparent;
}

/* Responsivo */
@media (max-width: 768px) {
    .cta-box { padding: 40px 20px; }
    .cta-content h2 { font-size: 2rem; }
    .cta-actions { flex-direction: column; width: 100%; }
    .btn-gold-solid, .btn-outline-light { width: 100%; justify-content: center; }
}