/* ============================================================
   BARMA FOOTER WIDGET — v5.0.0
   ============================================================ */

.barma-footer {
    background-color: var(--color-primary, #1E2F2A);
    color: var(--color-white, #FFFFFF);
    font-family: var(--font-body, "Montserrat", sans-serif);
    width: 100%;
}

/* ══════════════════════════════════════════════════════
   ÉTAGE 1 : 3 colonnes égales
══════════════════════════════════════════════════════ */
.barma-footer__top {
    padding: 5rem 4rem 4.5rem;
    max-width: 1440px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    align-items: center;
}

/* ── Colonne A : Logo Bârma + contact ── */
.barma-footer__brand {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    padding-right: 4rem;
}

.barma-footer__logo img {
    max-width: 160px;
    height: auto;
    display: block;
}

.barma-footer__contact {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.barma-footer__contact a,
.barma-footer__contact address {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.8125rem;
    font-style: normal;
    letter-spacing: 0.01em;
    line-height: 1.6;
    transition: color 0.2s ease;
}

.barma-footer__contact a:hover {
    color: var(--color-white, #FFFFFF);
}

/* ── Colonne B : French Collection + presse ── */
.barma-footer__collection {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding: 0 4rem;
    border-left: 1px solid rgba(255, 255, 255, 0.07);
    border-right: 1px solid rgba(255, 255, 255, 0.07);
}

.barma-footer__collection-logo {
    display: block;
}

.barma-footer__collection-logo img {
    max-width: 130px;
    height: auto;
    opacity: 0.7;
    filter: brightness(0) invert(1);
    transition: opacity 0.2s ease;
}

.barma-footer__collection-logo:hover img {
    opacity: 1;
}

.barma-footer__press {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.barma-footer__press-label {
    font-size: 0.625rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.3);
    margin: 0 0 0.35rem;
}

.barma-footer__press-agency {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
    margin: 0 0 0.2rem;
}

.barma-footer__press-name {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.barma-footer__press-mail {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    transition: color 0.2s ease;
}

.barma-footer__press-mail:hover {
    color: var(--color-white, #FFFFFF);
}

/* ── Colonne C : Newsletter + sociaux ── */
.barma-footer__newsletter-col {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding-left: 4rem;
}

.barma-footer__newsletter {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.barma-footer__newsletter-title {
    font-family: var(--font-display, "contralto-big", sans-serif);
    font-size: 0.9375rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-white, #FFFFFF);
    margin: 0;
    line-height: 1.2;
}

.barma-footer__newsletter-sub {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.01em;
    margin: 0;
    line-height: 1.6;
}

.barma-footer__newsletter-form {
    display: flex;
}

.barma-footer__newsletter-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-right: none;
    border-radius: 2px 0 0 2px;
    padding: 0.7rem 1rem;
    color: var(--color-white, #FFFFFF);
    font-family: var(--font-body, "Montserrat", sans-serif);
    font-size: 0.8125rem;
    outline: none;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.barma-footer__newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.barma-footer__newsletter-input:focus {
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.1);
}

.barma-footer__newsletter-btn {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 0 2px 2px 0;
    padding: 0.7rem 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    font-family: var(--font-body, "Montserrat", sans-serif);
    font-size: 0.6875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease;
}

.barma-footer__newsletter-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--color-white, #FFFFFF);
}

.barma-footer__social {
    display: flex;
    gap: 1.25rem;
    align-items: center;
}

.barma-footer__social a {
    color: rgba(255, 255, 255, 0.38);
    text-decoration: none;
    transition: color 0.25s ease;
    display: flex;
    align-items: center;
}

.barma-footer__social a:hover {
    color: var(--color-white, #FFFFFF);
}

.barma-footer__social svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* ══════════════════════════════════════════════════════
   SÉPARATEUR
══════════════════════════════════════════════════════ */
.barma-footer__divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    margin: 0;
    width: 100%;
    display: block;
}

/* ══════════════════════════════════════════════════════
   ÉTAGE 2 : 2 colonnes égales — nav gauche, légaux droite
══════════════════════════════════════════════════════ */
.barma-footer__bottom {
    padding: 2.5rem 4rem 3rem;
    max-width: 1440px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* Liens nav — colonne gauche, en ligne */
.barma-footer__links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.35rem 1.75rem;
    align-items: center;
}

.barma-footer__links a {
    font-family: var(--font-body, "Montserrat", sans-serif);
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    line-height: 1.5;
    transition: color 0.2s ease;
}

.barma-footer__links a:hover {
    color: var(--color-white, #FFFFFF);
}

/* Liens légaux — colonne droite, en ligne */
.barma-footer__legal {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.35rem 1.75rem;
    align-items: center;
}

.barma-footer__legal a {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    letter-spacing: 0.02em;
    font-weight: 400;
    line-height: 1.5;
    transition: color 0.2s ease;
}

.barma-footer__legal a:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* ── Responsive ── */
@media (max-width: 1100px) {
    .barma-footer__top {
        gap: 3rem;
        padding: 4rem 3rem 3.5rem;
    }
    .barma-footer__bottom {
        gap: 3rem;
        padding: 2rem 3rem 2.5rem;
    }
}

@media (max-width: 900px) {
    .barma-footer__top {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
        padding: 3.5rem 2.5rem 3rem;
    }
    .barma-footer__brand {
        padding-right: 0;
    }
    .barma-footer__collection {
        padding: 0;
        border: none;
    }
    .barma-footer__newsletter-col {
        padding-left: 0;
    }
    .barma-footer__bottom {
        padding: 2rem 2.5rem 2.5rem;
    }
}

@media (max-width: 600px) {
    .barma-footer__top {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 3rem 1.5rem 2.5rem;
    }
    .barma-footer__brand {
        padding-right: 0;
    }
    .barma-footer__collection {
        padding: 2rem 0;
        border-left: none;
        border-right: none;
        border-top: 1px solid rgba(255, 255, 255, 0.07);
        border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    }
    .barma-footer__newsletter-col {
        padding-left: 0;
    }
    .barma-footer__newsletter-form {
        flex-direction: column;
        gap: 0.5rem;
    }
    .barma-footer__newsletter-input {
        border-right: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 2px;
    }
    .barma-footer__newsletter-btn {
        border-radius: 2px;
        text-align: center;
    }
    .barma-footer__bottom {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1.5rem 1.5rem 2rem;
    }
}
