/* Footer commun (24/10/2026) - charge par includes/footer_main.php.
   Classes .bf-* propres : aucune interference avec les anciennes regles .footer
   de style.css / product-style.css / dashboard-modern.css (devenues inutiles).
   Sobre : fonds neutres, bleu doux reserve aux petits elements. */

.bny-footer {
    position: relative;           /* reference du bouton .back-to-top */
    margin-top: 40px;
    padding-top: 56px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    /* fond plein (= ancien footer #0B0B0B) + halo bleu discret a gauche */
    background:
        radial-gradient(900px 420px at -5% 25%, rgba(0, 123, 255, 0.08), transparent 60%),
        #0B0B0B;
    color: #fff;
    font-size: 14px;
}

.bf-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Bandeau moyens de paiement */
.bf-pay {
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 18px 28px;
    padding: 20px 28px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(90deg, rgba(0, 123, 255, 0.16) 0%, rgba(0, 123, 255, 0) 45%),
        linear-gradient(135deg, #1b1b1b 0%, #0f0f0f 100%);
}

.bf-pay-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 30px;
    line-height: 1;
    transition: color 0.2s ease;
}

.bf-pay-item--text {
    font-size: 22px;
}

.bf-pay-item--text span {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.bf-pay-item:hover {
    color: rgba(255, 255, 255, 0.85);
}

/* Colonnes */
.bf-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1.3fr;
    gap: 40px;
    padding: 48px 0 44px;
}

.bf-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    font-weight: 700;
}

.bf-logo-img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.bf-desc {
    margin: 14px 0 0;
    max-width: 300px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 13.5px;
    line-height: 1.6;
}

.bf-title {
    margin: 0 0 16px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.bf-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.bf-links a {
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

.bf-links a:hover {
    color: #fff;
}

.bf-socials {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
}

.bf-social {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #16161a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 16px;
    text-decoration: none;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.bf-social:hover {
    border-color: rgba(90, 166, 248, 0.45);
    background: #1a1a20;
}

/* Carte de contact */
.bf-contact {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 300px;
    padding: 10px 10px 10px 12px;
    border-radius: 14px;
    background: #141418;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    text-decoration: none;
    transition: border-color 0.2s ease;
}

.bf-contact:hover {
    border-color: rgba(90, 166, 248, 0.35);
}

.bf-contact-ico {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 123, 255, 0.12);
    color: #5aa6f8;
}

.bf-contact-ico svg {
    width: 16px;
    height: 16px;
}

.bf-contact-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
    min-width: 0;
}

.bf-contact-label {
    color: rgba(255, 255, 255, 0.45);
    font-size: 11px;
    font-weight: 600;
}

.bf-contact-mail {
    font-size: 13.5px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bf-contact-go {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #5aa6f8 0%, #2f74e0 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
    color: #fff;
    transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.bf-contact-go svg {
    width: 15px;
    height: 15px;
}

.bf-contact:hover .bf-contact-go {
    transform: translate(1px, -1px);
}

/* Barre du bas */
.bf-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(0, 0, 0, 0.25);
}

.bf-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 20px;
    padding-bottom: 22px;
    color: rgba(255, 255, 255, 0.45);
    font-size: 12.5px;
    font-weight: 500;
}

.bf-bottom-links {
    display: flex;
    gap: 18px;
}

.bf-bottom-links a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    transition: color 0.2s ease;
}

.bf-bottom-links a:hover {
    color: #fff;
}

@media (max-width: 900px) {
    .bf-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px 28px;
    }
}

@media (max-width: 560px) {
    .bny-footer {
        padding-top: 44px;
    }
    .bf-container {
        padding: 0 16px;
    }
    .bf-pay {
        justify-content: center;
        padding: 16px 18px;
        gap: 14px 22px;
    }
    .bf-pay-item {
        font-size: 26px;
    }
    .bf-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 36px 0 32px;
    }
    .bf-contact {
        max-width: none;
    }
    .bf-bottom-inner {
        flex-direction: column;
        text-align: center;
    }
}
