/**
 * Art Room Preview — CTA widget styles.
 *
 * Carte d'appel à l'action (« Essayez l'œuvre »).
 * Tout est surchargeable depuis les contrôles Elementor du widget.
 */

.arp-cta {
    --arp-cta-bg:        #0b1220;
    --arp-cta-border:    #00CBE1;
    --arp-cta-title:     #ffffff;
    --arp-cta-desc:      rgba(255, 255, 255, .78);
    --arp-cta-btn-from:  #00CBE1;
    --arp-cta-btn-to:    #34E9B5;
    --arp-cta-btn-color: #0b1220;

    background: var(--arp-cta-bg);
    border: 1px solid var(--arp-cta-border);
    border-radius: 14px;
    padding: 28px 32px;
    font-family: inherit;
    box-sizing: border-box;
    color: var(--arp-cta-title);
}

.arp-cta * {
    box-sizing: border-box;
}

.arp-cta__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.arp-cta__title {
    margin: 0;
    font-family: 'Libre Baskerville', Georgia, 'Times New Roman', serif;
    font-style: italic;
    font-weight: 400;
    font-size: 28px;
    line-height: 1.2;
    color: var(--arp-cta-title);
    flex: 1 1 auto;
    min-width: 0;
}

.arp-cta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    background-image: linear-gradient(135deg, var(--arp-cta-btn-from) 0%, var(--arp-cta-btn-to) 100%);
    color: var(--arp-cta-btn-color);
    border: none;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
    white-space: nowrap;
    flex: 0 0 auto;
}

.arp-cta__btn:hover,
.arp-cta__btn:focus {
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(0, 203, 225, .25);
    color: var(--arp-cta-btn-color);
    text-decoration: none;
    opacity: .95;
}

.arp-cta__desc {
    margin: 14px 0 0;
    font-size: 14px;
    line-height: 1.6;
    color: var(--arp-cta-desc);
}

/* Responsive : empile titre / bouton */
@media (max-width: 600px) {
    .arp-cta {
        padding: 22px 22px;
    }

    .arp-cta__head {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .arp-cta__btn {
        width: 100%;
    }

    .arp-cta__title {
        font-size: 24px;
    }
}
