/* =========================================================
   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%;
}

/* Desktop: marca + quatro grupos, todos alinhados para leitura rápida */
@media (min-width: 992px) {
    footer.ciFooter.ciFooter--enhanced .ciFooter__grid::before,
    footer.ciFooter.ciFooter--enhanced .ciFooter__grid::after {
        content: none;
        display: none;
    }

    footer.ciFooter.ciFooter--enhanced .ciFooter__grid {
        display: grid;
        grid-template-columns: minmax(210px, 1.25fr) repeat(4, minmax(125px, 1fr));
        gap: 26px;
        margin-left: 0;
        margin-right: 0;
    }

    footer.ciFooter.ciFooter--enhanced .ciFooter__grid > [class*="col-"] {
        float: none;
        width: auto;
        padding-left: 0;
        padding-right: 0;
        text-align: left;
    }
}

/* —— 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 .ciFooter__social-svg {
    display: block;
    width: 18px;
    height: 18px;
}

footer.ciFooter.ciFooter--enhanced .ciFooter__social-svg--instagram {
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

footer.ciFooter.ciFooter--enhanced .ciFooter__social-svg--whatsapp {
    width: 17px;
    height: 17px;
    fill: currentColor;
    color: #25D366;
}

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 —— */
footer.ciFooter.ciFooter--enhanced .ciFooter__nav-col {
    margin-bottom: 4px;
}

footer.ciFooter.ciFooter--enhanced h2 {
    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-security-seal {
    gap: 8px;
    min-width: 174px;
    padding: 6px 11px 6px 7px;
    border: 1px solid rgba(255, 255, 255, 0.82);
    border-radius: 7px;
    background: #f7f7f5;
    color: #1f2f25;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.22);
}

footer.ciFooter.ciFooter--enhanced .footer-security-seal:hover,
footer.ciFooter.ciFooter--enhanced .footer-security-seal:focus-visible {
    opacity: 1;
    border-color: #72BF79;
    background: #ffffff;
}

footer.ciFooter.ciFooter--enhanced .footer-security-seal__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    margin: 0;
    border-radius: 0;
    background: transparent;
}

footer.ciFooter.ciFooter--enhanced .footer-security-seal__icon svg {
    width: 18px;
    height: 18px;
}

footer.ciFooter.ciFooter--enhanced .footer-security-seal__copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 0;
    text-transform: none;
    letter-spacing: 0;
}

footer.ciFooter.ciFooter--enhanced .footer-security-seal__copy strong {
    display: block;
    color: #24352a;
    font-size: 10.5px;
    font-weight: 700;
    line-height: 1.2;
}

footer.ciFooter.ciFooter--enhanced .footer-security-seal__copy small {
    display: block;
    color: #68736b;
    font-size: 9.5px;
    font-weight: 400;
    line-height: 1.25;
}

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 48px;
    width: 48px;
    height: 26px;
    max-width: 48px;
    border-radius: 4px;
    object-fit: contain;
    object-position: center;
    padding: 1px 3px;
    background: rgba(255, 255, 255, 0.94);
    box-sizing: border-box;
    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;
    padding-left: 5px;
    padding-right: 5px;
}

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: #aaaaaa;
    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 h2 {
        font-size: 14px;
        position: relative;
        padding: 8px 24px 8px 0;
        margin-bottom: 0;
    }

    /* stylesheet.css legado usa h2:before — evita seta duplicada no accordion */
    footer.ciFooter.ciFooter--enhanced h2:before {
        content: none;
        display: none;
    }

    footer.ciFooter.ciFooter--enhanced .ciFooter__accordion-btn {
        cursor: pointer;
        user-select: none;
    }

    footer.ciFooter.ciFooter--enhanced h2: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 h2 {
        color: #D4AF68;
    }

    footer.ciFooter.ciFooter--enhanced .ciFooter__nav-col.is-open h2: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;
    }

    footer.ciFooter.ciFooter--enhanced .trust-block,
    footer.ciFooter.ciFooter--enhanced .trust-block:first-child,
    footer.ciFooter.ciFooter--enhanced .trust-block--seals {
        text-align: center;
    }

    footer.ciFooter.ciFooter--enhanced .trust-block:first-child .footer-payment-flags,
    footer.ciFooter.ciFooter--enhanced .trust-block--seals .footer-trust-seals {
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    footer.ciFooter.ciFooter--enhanced .fSocial a,
    footer.ciFooter.ciFooter--enhanced ul li a,
    footer.ciFooter.ciFooter--enhanced h2:after,
    footer.ciFooter.ciFooter--enhanced .footer-seal-link {
        transition: none !important;
    }
}
