/* =========================================================
   FOOTER ENHANCED — Loja da Barba (Fase 11a)
   Flat #111, compacto, Lexend, dourado #D4AF68
   ========================================================= */

footer.ciFooter.ciFooter--enhanced {
    margin-top: 0;
    padding: 0;
    background: #111111;
    border-top: none;
    color: #cccccc;
    font-family: "Lexend", sans-serif;
}

footer.ciFooter.ciFooter--enhanced .ciFooter__main.container {
    background: transparent;
    padding: 22px 15px 10px;
    border-radius: 0;
}

footer.ciFooter.ciFooter--enhanced .ciFooter__grid {
    margin-bottom: 0;
    width: 100%;
}

footer.ciFooter.ciFooter--enhanced .ciFooter__grid > [class*="col-"] {
    float: left;
}

/* Desktop: 4 faixas iguais — LOJA à esquerda, AJUDA ao centro, MINHA CONTA à direita */
@media (min-width: 992px) {
    footer.ciFooter.ciFooter--enhanced .ciFooter__grid > .ciFooter__nav-col:nth-child(2) {
        text-align: left;
    }

    footer.ciFooter.ciFooter--enhanced .ciFooter__grid > .ciFooter__nav-col:nth-child(3) {
        text-align: center;
    }

    footer.ciFooter.ciFooter--enhanced .ciFooter__grid > .ciFooter__nav-col:nth-child(3) .ciFooter__accordion-btn {
        text-align: center;
    }

    footer.ciFooter.ciFooter--enhanced .ciFooter__grid > .ciFooter__nav-col:nth-child(4) {
        text-align: right;
    }

    footer.ciFooter.ciFooter--enhanced .ciFooter__grid > .ciFooter__nav-col:nth-child(4) nav {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
    }

    footer.ciFooter.ciFooter--enhanced .ciFooter__grid > .ciFooter__nav-col:nth-child(4) h5 {
        width: 100%;
        margin: 0 0 10px;
        text-align: right;
    }

    footer.ciFooter.ciFooter--enhanced .ciFooter__grid > .ciFooter__nav-col:nth-child(4) .ciFooter__accordion-btn {
        display: inline-block;
        width: auto;
        max-width: 100%;
        text-align: right;
    }

    footer.ciFooter.ciFooter--enhanced .ciFooter__grid > .ciFooter__nav-col:nth-child(4) ul {
        width: 100%;
        text-align: right;
    }

    footer.ciFooter.ciFooter--enhanced .ciFooter__grid > .ciFooter__nav-col:nth-child(4) ul li a:hover,
    footer.ciFooter.ciFooter--enhanced .ciFooter__grid > .ciFooter__nav-col:nth-child(4) ul li a:focus-visible {
        padding-left: 0;
        padding-right: 3px;
    }
}

/* —— Coluna marca —— */
footer.ciFooter.ciFooter--enhanced .ciFooter__brand {
    margin-bottom: 12px;
}

footer.ciFooter.ciFooter--enhanced .fLogo {
    max-width: 140px;
    height: auto;
    margin-bottom: 8px;
}

footer.ciFooter.ciFooter--enhanced .ciFooter__description {
    color: #aaaaaa;
    font-size: 12px;
    line-height: 1.5;
    margin: 0 0 10px;
    max-width: 260px;
}

footer.ciFooter.ciFooter--enhanced .ciFooter__description p {
    margin: 0 0 6px;
}

footer.ciFooter.ciFooter--enhanced .fSocial {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 0;
}

footer.ciFooter.ciFooter--enhanced .fSocial a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #cccccc;
    text-decoration: none;
    transition: color 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}

footer.ciFooter.ciFooter--enhanced .fSocial a:hover,
footer.ciFooter.ciFooter--enhanced .fSocial a:focus-visible {
    color: #D4AF68;
    border-color: rgba(212, 175, 104, 0.45);
    transform: scale(1.06);
    outline: none;
}

footer.ciFooter.ciFooter--enhanced .fSocial .ciFooter__whatsapp i {
    color: #25D366;
    font-size: 17px;
    line-height: 1;
}

footer.ciFooter.ciFooter--enhanced .fSocial .ciFooter__whatsapp:hover,
footer.ciFooter.ciFooter--enhanced .fSocial .ciFooter__whatsapp:focus-visible {
    border-color: rgba(37, 211, 102, 0.55);
    color: #25D366;
    background: rgba(37, 211, 102, 0.08);
}

/* —— Colunas de navegação (4× col-lg-3 na mesma linha do header) —— */
footer.ciFooter.ciFooter--enhanced .ciFooter__nav-col {
    margin-bottom: 4px;
}

footer.ciFooter.ciFooter--enhanced h5 {
    color: #D4AF68;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0 0 10px;
}

footer.ciFooter.ciFooter--enhanced .ciFooter__accordion-btn {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    font-size: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
    text-align: left;
    cursor: default;
}

footer.ciFooter.ciFooter--enhanced .footer-trust-seals {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
    align-items: center;
}

footer.ciFooter.ciFooter--enhanced .footer-seal-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
}

footer.ciFooter.ciFooter--enhanced .footer-seal-link:hover,
footer.ciFooter.ciFooter--enhanced .footer-seal-link:focus-visible {
    opacity: 0.9;
    transform: translateY(-1px);
    outline: none;
}

footer.ciFooter.ciFooter--enhanced .footer-seal-link__img {
    display: block;
    max-height: 34px;
    width: auto;
}

footer.ciFooter.ciFooter--enhanced .footer-seal-badge {
    background: #ffffff;
    color: #141414;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.2;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

footer.ciFooter.ciFooter--enhanced ul li {
    margin-bottom: 6px;
}

footer.ciFooter.ciFooter--enhanced ul li a {
    color: #cccccc;
    font-size: 13px;
    font-weight: 400;
    text-decoration: none;
    transition: color 0.22s ease, padding-left 0.22s ease;
}

footer.ciFooter.ciFooter--enhanced ul li a:hover,
footer.ciFooter.ciFooter--enhanced ul li a:focus-visible {
    color: #D4AF68;
    padding-left: 3px;
    outline: none;
}

/* —— Pagamentos + selos placeholder —— */
footer.ciFooter.ciFooter--enhanced .footer-trust-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 18px;
    padding-top: 14px;
    padding-bottom: 6px;
    width: 100%;
}

footer.ciFooter.ciFooter--enhanced .trust-block {
    flex: 1 1 280px;
    margin-bottom: 4px;
}

footer.ciFooter.ciFooter--enhanced .trust-block:first-child {
    text-align: left;
}

footer.ciFooter.ciFooter--enhanced .trust-block--seals {
    text-align: right;
}

footer.ciFooter.ciFooter--enhanced .trust-block span {
    display: block;
    color: #aaaaaa;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
    font-weight: 600;
}

footer.ciFooter.ciFooter--enhanced .trust-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

footer.ciFooter.ciFooter--enhanced .trust-block:first-child .trust-icons,
footer.ciFooter.ciFooter--enhanced .trust-block:first-child .footer-payment-flags {
    justify-content: flex-start;
}

footer.ciFooter.ciFooter--enhanced .trust-block--seals .footer-trust-seals,
footer.ciFooter.ciFooter--enhanced .trust-block--seals .trust-icons {
    justify-content: flex-end;
}

footer.ciFooter.ciFooter--enhanced .trust-icons i {
    font-size: 22px;
    color: #dddddd;
}

footer.ciFooter.ciFooter--enhanced .trust-icons .fa-pix {
    color: #32BCAD;
}

footer.ciFooter.ciFooter--enhanced .footer-payment-flags {
    gap: 6px;
    align-items: center;
}

footer.ciFooter.ciFooter--enhanced .footer-payment-flag {
    display: block;
    flex: 0 0 46px;
    width: 46px;
    height: 24px;
    max-width: 46px;
    border-radius: 4px;
    object-fit: contain;
    object-position: center;
    filter: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
}

footer.ciFooter.ciFooter--enhanced .footer-payment-flag--pix {
    flex: 0 0 68px;
    width: 68px;
    max-width: 68px;
    border-radius: 0;
    box-shadow: none;
}

footer.ciFooter.ciFooter--enhanced .trust-icons .fa-shield-halved {
    color: #4CAF50;
    font-size: 20px;
}

footer.ciFooter.ciFooter--enhanced .footer-trust-bar__soon {
    margin: 4px 0 0;
    color: #666666;
    font-size: 11px;
    line-height: 1.4;
}

footer.ciFooter.ciFooter--enhanced .footer-trust-bar__soon i {
    color: #D4AF68;
    margin-right: 4px;
}

/* —— Copyright —— */
footer.ciFooter.ciFooter--enhanced .lojadabarba-copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 12px;
    padding-bottom: 4px;
    text-align: center;
    width: 100%;
}

footer.ciFooter.ciFooter--enhanced .lojadabarba-copyright p {
    color: #aaaaaa;
    font-size: 12px;
    line-height: 1.45;
    margin-bottom: 3px;
}

footer.ciFooter.ciFooter--enhanced .lojadabarba-copyright strong {
    color: #ffffff;
    font-weight: 600;
}

footer.ciFooter.ciFooter--enhanced .lojadabarba-copyright .sub-copy {
    color: #777777;
    font-size: 11px;
}

/* —— Desktop —— */
@media (min-width: 768px) {
    footer.ciFooter.ciFooter--enhanced .ciFooter__nav-col.is-open ul,
    footer.ciFooter.ciFooter--enhanced .ciFooter__nav-col ul {
        display: block;
    }
}

@media (min-width: 992px) {
    footer.ciFooter.ciFooter--enhanced .ciFooter__brand {
        margin-bottom: 0;
        padding-right: 16px;
    }

    footer.ciFooter.ciFooter--enhanced .ciFooter__nav-col {
        margin-bottom: 0;
    }
}

/* —— Mobile accordion —— */
@media (max-width: 767px) {
    footer.ciFooter.ciFooter--enhanced .ciFooter__main.container {
        padding: 14px 15px 8px;
    }

    footer.ciFooter.ciFooter--enhanced .ciFooter__brand {
        text-align: center;
        margin-bottom: 4px;
    }

    footer.ciFooter.ciFooter--enhanced .ciFooter__description {
        max-width: none;
        margin-left: auto;
        margin-right: auto;
    }

    footer.ciFooter.ciFooter--enhanced .fSocial {
        justify-content: center;
    }

    footer.ciFooter.ciFooter--enhanced .ciFooter__nav-col {
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        padding-top: 0;
        margin-top: 0;
    }

    footer.ciFooter.ciFooter--enhanced h5 {
        font-size: 14px;
        position: relative;
        padding: 8px 24px 8px 0;
        margin-bottom: 0;
    }

    /* stylesheet.css legado usa h5:before — evita seta duplicada no accordion */
    footer.ciFooter.ciFooter--enhanced h5:before {
        content: none;
        display: none;
    }

    footer.ciFooter.ciFooter--enhanced .ciFooter__accordion-btn {
        cursor: pointer;
        user-select: none;
    }

    footer.ciFooter.ciFooter--enhanced h5:after {
        position: absolute;
        content: "\f107";
        font: normal normal normal 14px / 1 FontAwesome;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        color: #888888;
        font-weight: 900;
        transition: color 0.2s ease;
        pointer-events: none;
    }

    footer.ciFooter.ciFooter--enhanced .ciFooter__nav-col.is-open h5 {
        color: #D4AF68;
    }

    footer.ciFooter.ciFooter--enhanced .ciFooter__nav-col.is-open h5:after {
        content: "\f106";
        color: #D4AF68;
        transform: translateY(-50%);
    }

    footer.ciFooter.ciFooter--enhanced .ciFooter__nav-col ul {
        display: none;
        padding: 2px 0 8px;
    }

    footer.ciFooter.ciFooter--enhanced .ciFooter__nav-col.is-open ul {
        display: block;
    }

    footer.ciFooter.ciFooter--enhanced ul li a:hover,
    footer.ciFooter.ciFooter--enhanced ul li a:focus-visible {
        padding-left: 0;
    }

    footer.ciFooter.ciFooter--enhanced .footer-trust-bar {
        margin-top: 12px;
        padding-top: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    footer.ciFooter.ciFooter--enhanced .fSocial a,
    footer.ciFooter.ciFooter--enhanced ul li a,
    footer.ciFooter.ciFooter--enhanced h5:after,
    footer.ciFooter.ciFooter--enhanced .footer-seal-link {
        transition: none !important;
    }
}
