/**
 * BienHabille - Footer Styles
 * 
 * @package BienHabille
 */

/* ============================================================
   FOOTER GENERAL
   ============================================================ */
.bh-footer {
    background: #fff;
    border-top: 1px solid var(--bh-border-color, #e5e5e5);
    margin-top: 60px;
}

/* ============================================================
   SLOGAN
   ============================================================ */
.bh-footer__slogan {
    padding: 40px 0;
    text-align: center;
    border-bottom: 1px solid var(--bh-border-color, #e5e5e5);
}

.bh-footer__slogan-text {
    font-size: 48px;
    font-weight: 700;
    color: var(--bh-text-color, #000);
    letter-spacing: -2px;
}

/* ============================================================
   AVANTAGES
   ============================================================ */
.bh-footer__benefits {
    padding: 40px 0;
    border-bottom: 1px solid var(--bh-border-color, #e5e5e5);
}

.bh-benefits {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.bh-benefit {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
}

.bh-benefit__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    color: var(--bh-text-color, #000);
}

.bh-benefit__title {
    font-size: 13px;
    color: var(--bh-text-color, #333);
    line-height: 1.4;
}

/* ============================================================
   NEWSLETTER + RESEAUX SOCIAUX
   ============================================================ */
.bh-footer__connect {
    padding: 40px 0;
    border-bottom: 1px solid var(--bh-border-color, #e5e5e5);
}

.bh-footer__connect-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.bh-footer__title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 15px 0;
    color: var(--bh-text-color, #000);
}

/* Newsletter */
.bh-newsletter-form__field {
    display: flex;
    border: 1px solid var(--bh-border-color, #e5e5e5);
    border-radius: 0;
    overflow: hidden;
}

.bh-newsletter-form__field input {
    flex: 1;
    border: none;
    padding: 12px 15px;
    font-size: 14px;
    outline: none;
}

.bh-newsletter-form__field button {
    background: var(--bh-light-bg, #f5f5f5);
    border: none;
    padding: 12px 15px;
    cursor: pointer;
    transition: background 0.2s;
}

.bh-newsletter-form__field button:hover {
    background: var(--bh-border-color, #e5e5e5);
}

.bh-newsletter-form__gdpr {
    font-size: 11px;
    color: #666;
    margin-top: 10px;
    line-height: 1.5;
}

.bh-newsletter-form__gdpr a {
    color: inherit;
    text-decoration: underline;
}

/* Réseaux sociaux */
.bh-footer__social-desc {
    font-size: 13px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
}

.bh-social-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.bh-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--bh-text-color, #000);
    border: 1px solid var(--bh-border-color, #e5e5e5);
    border-radius: 50%;
    transition: all 0.2s;
}

.bh-social-link:hover {
    background: var(--bh-text-color, #000);
    color: #fff;
    border-color: var(--bh-text-color, #000);
}

/* ============================================================
   CATEGORIES (ACCORDEON)
   ============================================================ */
.bh-footer__categories {
    padding: 20px 0;
    border-bottom: 1px solid var(--bh-border-color, #e5e5e5);
}

.bh-footer__categories-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: none;
    border: none;
    padding: 10px 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--bh-text-color, #000);
    cursor: pointer;
}

.bh-footer__categories-content {
    display: none;
    padding-top: 15px;
}

.bh-footer__categories.is-open .bh-footer__categories-content {
    display: block;
}

.bh-footer__categories.is-open .bh-footer__categories-toggle svg {
    transform: rotate(45deg);
}

.bh-footer__categories-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.bh-footer__categories-list li a {
    font-size: 13px;
    color: #666;
    text-decoration: none;
    transition: color 0.2s;
}

.bh-footer__categories-list li a:hover {
    color: var(--bh-text-color, #000);
}

/* ============================================================
   LIENS FOOTER (COLONNES)
   ============================================================ */
.bh-footer__links {
    padding: 40px 0;
    border-bottom: 1px solid var(--bh-border-color, #e5e5e5);
}

.bh-footer__links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.bh-footer__column-title {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 15px 0;
    color: var(--bh-text-color, #000);
}

.bh-footer__menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.bh-footer__menu li {
    margin-bottom: 10px;
}

.bh-footer__menu li a {
    font-size: 13px;
    color: #666;
    text-decoration: none;
    transition: color 0.2s;
}

.bh-footer__menu li a:hover {
    color: var(--bh-text-color, #000);
}

.bh-footer__contact-info {
    font-size: 13px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
}

/* Bouton Contact */
.bh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.2s;
    cursor: pointer;
}

.bh-btn--outline {
    background: transparent;
    border: 1px solid var(--bh-text-color, #000);
    color: var(--bh-text-color, #000);
}

.bh-btn--outline:hover {
    background: var(--bh-text-color, #000);
    color: #fff;
}

.bh-btn--small {
    padding: 10px 20px;
    font-size: 12px;
}

/* ============================================================
   FOOTER BOTTOM
   ============================================================ */
.bh-footer__bottom {
    padding: 20px 0;
    background: #fff;
}

.bh-footer__bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.bh-footer__legal {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
}

.bh-footer__legal a {
    font-size: 12px;
    color: #666;
    text-decoration: none;
    transition: color 0.2s;
}

.bh-footer__legal a:hover {
    color: var(--bh-text-color, #000);
}

.bh-footer__copyright {
    font-size: 12px;
    color: #666;
}

.bh-footer__lang-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    font-size: 12px;
    color: #666;
    cursor: pointer;
}

.bh-footer__lang-flag {
    font-size: 16px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
    .bh-benefits {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .bh-footer__links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .bh-footer__slogan-text {
        font-size: 32px;
    }
    
    .bh-benefits {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .bh-benefit {
        flex-direction: row;
        text-align: left;
        gap: 15px;
    }
    
    .bh-footer__connect-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .bh-footer__links-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .bh-footer__column {
        border-bottom: 1px solid var(--bh-border-color, #e5e5e5);
        padding-bottom: 20px;
    }
    
    .bh-footer__column:last-child {
        border-bottom: none;
    }
    
    .bh-footer__bottom-inner {
        flex-direction: column;
        text-align: center;
    }
}