/* =============================================
   🎨 RACINE BY GANDA - FOOTER & CTA CSS
   Extrait du layout frontend pour optimisation
   ============================================= */

/* ===== BLOC CTA BAS DE PAGE ===== */
#cta-racine {
    background: rgba(22,13,12,0.05);         /* beige doux */
    padding: 60px 0 50px;
    margin-bottom: 40px;       /* Espacement avec le footer */
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box;
}

#cta-racine .cta-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

#cta-racine .cta-title {
    font-size: 2.2rem;
    line-height: 1.2;
    font-weight: 700;
    color: #160D0C;
    margin-bottom: 10px;
}

#cta-racine .cta-subtitle {
    font-size: 0.95rem;
    color: rgba(22,13,12,0.6);
    max-width: 650px;
    margin: 0 auto 30px;
}

#cta-racine .cta-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
}

/* Cartes CTA */
#cta-racine .cta-card {
    flex: 1 1 280px;
    max-width: 520px;
    border-radius: 18px;
    padding: 24px 26px 26px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.12);
    text-align: center;
}

#cta-racine .cta-card-contact {
    background: #FFB800;        /* beige racine */
    color: #fff;
}

#cta-racine .cta-card-creator {
    background: #ED5F1E;        /* orange racine */
    color: #fff;
}

#cta-racine .cta-card-title {
    font-size: 1.4rem;
    margin-bottom: 10px;
    font-weight: 700;
}

#cta-racine .cta-card-text {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 18px;
}

/* Boutons CTA */
#cta-racine .cta-btn {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

#cta-racine .cta-btn-dark {
    background: #160D0C;
    color: #fff;
}

#cta-racine .cta-btn-dark:hover {
    background: #000;
}

#cta-racine .cta-btn-light {
    background: #fff;
    color: #ED5F1E;
}

#cta-racine .cta-btn-light:hover {
    background: rgba(237, 95, 30, 0.1);
}

#cta-racine .cta-btn-ghost {
    border: 1px solid rgba(237, 95, 30, 0.15);
    color: #fff;
    background: transparent;
}

#cta-racine .cta-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.08);
}

/* Actions & note */
#cta-racine .cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 10px;
}

#cta-racine .cta-note {
    font-size: 0.8rem;
    opacity: 0.9;
}

/* ===== FOOTER PREMIUM STYLES ===== */
.footer-premium {
    background: linear-gradient(180deg, #160D0C 0%, #160D0C 100%);
    color: white;
    font-family: 'Cormorant Garamond', serif;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box;
}

/* Main Footer */
.footer-main {
    padding: 4rem 0 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr 1.2fr;
    gap: 2.5rem;
}

/* Brand Column */
.footer-brand .brand-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.footer-brand .brand-logo img {
    height: 45px;
    width: 45px;
    object-fit: contain;
}

.footer-brand .brand-logo span {
    font-size: 1.75rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ED5F1E 0%, #FFB800 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 2px;
}

.footer-brand .brand-tagline {
    color: #ED5F1E;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.footer-brand .brand-description {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 1rem;
}

.social-link:hover {
    background: #ED5F1E;
    border-color: #ED5F1E;
    color: white;
    transform: translateY(-3px);
}

/* Links Columns */
.footer-links-col h4,
.footer-contact-col h4 {
    font-size: 1.15rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-links-col h4::after,
.footer-contact-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #ED5F1E, transparent);
}

.footer-links-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-col ul li {
    margin-bottom: 0.85rem;
}

.footer-links-col ul li a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
    font-size: 0.95rem;
}

.footer-links-col ul li a i {
    font-size: 0.6rem;
    color: #ED5F1E;
    transition: transform 0.3s;
}

.footer-links-col ul li a:hover {
    color: #ED5F1E;
    padding-left: 5px;
}

.footer-links-col ul li a:hover i {
    transform: translateX(3px);
}

/* Contact Column */
.contact-items {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: rgba(237, 95, 30, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ED5F1E;
    flex-shrink: 0;
}

.contact-text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.contact-text span:first-child {
    color: white;
    font-weight: 500;
}

.contact-text span:last-child {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

/* Bottom Bar */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.5rem 0;
    background: rgba(0, 0, 0, 0.2);
}

.bottom-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.copyright p {
    margin: 0;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.copyright strong {
    color: #ED5F1E;
}

.dev-credit {
    margin-top: 0.5rem !important;
    font-size: 0.8rem !important;
    color: rgba(255, 255, 255, 0.4);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.dev-link {
    color: #FFB800 !important;
    text-decoration: none;
    transition: all 0.3s;
}

.dev-link:hover {
    color: #ED5F1E !important;
    text-shadow: 0 0 10px rgba(237, 95, 30, 0.5);
}

.dev-separator {
    color: rgba(255, 255, 255, 0.2);
}

.dev-desc {
    color: rgba(255, 255, 255, 0.5);
}

.dev-flag {
    font-size: 1rem;
}

.dev-country {
    color: rgba(255, 255, 255, 0.4);
    font-style: italic;
}

.legal-links {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.legal-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.legal-links a:hover {
    color: #ED5F1E;
}

.legal-links span {
    color: rgba(255, 255, 255, 0.3);
}

.payment-methods {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.payment-methods > span {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

.payment-icons {
    display: flex;
    gap: 0.75rem;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.4);
}

.payment-icons i {
    transition: color 0.3s;
}

.payment-icons i:hover {
    color: white;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    #cta-racine .cta-title {
        font-size: 1.8rem;
    }
    
    #cta-racine .cta-card {
        padding: 20px 18px 22px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-links-col h4::after,
    .footer-contact-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links-col ul li a {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .contact-item {
        justify-content: center;
    }
    
    .bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .dev-credit {
        justify-content: center;
    }
}

