/* Importation de la typographie arabe Cairo */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;600;700&display=swap');

.footer-b2b {
    background-color: #0f172a; /* Bleu nuit B2B très élégant */
    color: #94a3b8; /* Gris bleuté pour le texte */
    font-family: 'Cairo', 'Inter', sans-serif;
    border-top: 4px solid #2563eb; /* Ligne de séparation bleue (charte LinkerB2B) */
    text-align: right;
}

.footer-b2b .footer-title {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

/* Petit soulignement stylisé sous les titres */
.footer-b2b .footer-title::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    height: 3px;
    width: 45px;
    background-color: #2563eb;
    border-radius: 3px;
}

.footer-b2b .footer-text {
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Bouton Soutenir modernisé */
.btn-soutenir {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 50px;
    padding: 8px 24px;
    transition: all 0.3s ease;
}

.btn-soutenir:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-color: #2563eb;
}

/* Icônes Réseaux Sociaux */
.footer-b2b .social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border-radius: 50%;
    margin-left: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-b2b .social-icons a:hover {
    background-color: #2563eb;
    transform: translateY(-4px);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.4);
}

/* Liens de navigation avec effet RTL */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a i {
    color: #475569;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #3b82f6; /* Bleu plus clair au survol */
    transform: translateX(-6px); /* Translation vers la gauche (logique RTL) */
}

.footer-links a:hover i {
    color: #3b82f6;
}

/* Carte Newsletter */
.newsletter-card {
    background: linear-gradient(145deg, #1e293b, #0f172a);
    border: 1px solid #334155;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.newsletter-icon {
    font-size: 2.2rem;
    color: #3b82f6;
    margin-bottom: 15px;
}

.newsletter-card h4 {
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.newsletter-card p {
    font-size: 0.9rem;
    color: #cbd5e1;
    margin-bottom: 0;
}

/* Formulaire Newsletter */
.newsletter-form .input-group {
    border-radius: 50px;
    overflow: hidden;
    border: 1px solid #475569;
    background: #1e293b;
    flex-direction: row;
}

.newsletter-form .form-control {
    background: transparent;
    border: none;
    color: #ffffff;
    padding: 12px 20px;
    font-size: 0.95rem;
    box-shadow: none;
    border-radius: 0;
}

.newsletter-form .form-control::placeholder {
    color: #64748b;
}

.newsletter-form .form-control:focus {
    background: transparent;
    color: #ffffff;
}

.newsletter-form .btn {
    background-color: #2563eb;
    border: none;
    padding: 10px 25px;
    font-weight: 700;
    font-family: 'Cairo', sans-serif;
    border-radius: 50px 0 0 50px !important; /* Coins arrondis adaptés à l'arabe */
}

.newsletter-form .btn:hover {
    background-color: #1d4ed8;
}

/* Footer Bottom (Droits d'auteur) */
.footer-bottom {
    background-color: #020617; /* Noir/Bleu très profond */
    padding: 20px 0;
    border-top: 1px solid #1e293b;
    font-size: 0.9rem;
    color: #64748b;
    margin-top: 40px;
}