/*
    ========================================
    SECTION-CTA.CSS
    Auteur                : Renaud
    Création              : 23 novembre 2025
    Dernière modification : 12 décembre 2025
    ========================================
*/
/**
*   @project   DEVENIR-ARTISAN.NET
*   Style de la section d'appel à l'action finale (Closing).
*   Fond sombre, texte blanc.
*
*   @file  css/section-cta.css
*
*   @see   includes/section-cta.php
*/

/* --- BLOCK : Section CTA --- */
.section-cta {
    /* VISUEL */
    background-color: var(--color-blue-060); /* Fond Bleu Nuit forcé */
    
    /* TEXTE */
    color: var(--color-white);
    text-align: center;
}

/* --- ELEMENT : Content (Wrapper) --- */
.section-cta__content {
    /* PLACEMENT */
    max-width: 700px;
    margin: 0 auto;
}

/* --- ELEMENT : Title --- */
.section-cta__title {
    /* PLACEMENT */
    margin-bottom: 1rem;

    /* TEXTE */
    font-family: var(--font-heading-main);
    font-size: 2.5rem;
    color: var(--color-white);
}

/* --- ELEMENT : Subtitle --- */
.section-cta__subtitle {
    /* PLACEMENT */
    margin-bottom: 2.5rem;

    /* TEXTE */
    font-family: var(--font-text-body);
    font-size: 1.2rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9); /* Blanc légèrement transparent */
}

/* --- ELEMENT : Price Box --- */
.section-cta__price {
    /* PLACEMENT */
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    margin-bottom: 2.5rem;

    /* VISUEL */
    background-color: rgba(0, 0, 0, 0.2); /* Fond noir semi-transparent */
    border: 1px solid rgba(255,255,255, 0.1);
    border-radius: 50px;
}

/* --- ELEMENT : Price Label --- */
.section-cta__price-label {
    /* TEXTE */
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.9;
}

/* --- ELEMENT : Price Amount --- */
.section-cta__price-amount {
    /* TEXTE */
    font-family: var(--font-ui-label);
    font-weight: 900;
    font-size: 2rem;
    color: var(--color-yellow-090); /* Jaune */
}

/* --- ELEMENT : Price Crossed (Nouveau) --- */
.section-cta__price-crossed {
    /* PLACEMENT */
    margin-left: 10px;
    
    /* TEXTE */
    text-decoration: line-through;
    opacity: 0.7;
}

/* --- ELEMENT : Actions (Bouton + Sécurité) --- */
.section-cta__actions {
    /* PLACEMENT */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

/* --- ELEMENT : Security Text --- */
.section-cta__security {
    /* PLACEMENT */
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.8rem;

    /* TEXTE */
    font-size: 0.85rem;
    opacity: 0.8;
}

/* --- ELEMENT : Payment Logos --- */
.section-cta__payment-logos {
    /* PLACEMENT */
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2.5rem;

    /* EFFET */
    opacity: 0.6;
    filter: grayscale(100%) brightness(1000%); /* Logos blancs */
    transition: opacity 0.3s;
}

/* ÉTAT : Hover sur les logos */
.section-cta__payment-logos:hover {
    opacity: 1;
}

/* --- RESPONSIVE --- */

@media (max-width: 768px) {
    .section-cta__title { 
        font-size: 2rem; 
    }
    
    .section-cta__price { 
        width: 100%; 
        justify-content: center; 
        box-sizing: border-box; 
    }
}