/* Brasfaiber — CSS do footer (redesign v4). Externalizado de footer.php (era inline ~7.5KB em TODA pagina). Footer e sempre below-the-fold -> deferido. 16/mai/2026 */
/* ====== Footer — redesign v4 (23/abr/2026) ====== */
.footer { font-size: 14px; line-height: 1.6; }
.footer .container > .row { --bs-gutter-x: 2.5rem; align-items: flex-start; }

/* === Listas de menu — zero bullets, espaçamento aberto === */
.footer .nav.flex-column,
.footer .nav.flex-column ul,
.footer .nav.flex-column li {
    list-style: none !important;
    list-style-type: none !important;
    margin: 0;
    padding: 0;
}
.footer .nav.flex-column li::before,
.footer .nav.flex-column li::marker {
    content: none !important;
    display: none !important;
}

.footer .nav.flex-column li a {
    padding: 5px 0;
    color: rgba(255,255,255,0.8);
    font-size: 13.5px;
    line-height: 1.5;
    transition: color .15s ease, padding-left .15s ease;
    display: block;
    text-decoration: none;
    position: relative;
}
.footer .nav.flex-column li a:hover {
    color: #fff;
    padding-left: 6px;
    text-decoration: none;
}
.footer .nav.flex-column li a:hover::before {
    content: "";
    position: absolute;
    left: 0; top: 50%;
    width: 3px; height: 3px;
    background: #86c0e3;
    border-radius: 50%;
    transform: translateY(-50%);
}

/* === Título da categoria (menu item pai) === */
.footer .nav.flex-column > li.menu-item-has-children > a,
.footer .nav.flex-column > li:first-child:not(.menu-item-has-children) > a {
    font-size: 11px !important;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #86c0e3 !important;
    padding: 0 0 8px !important;
    border-bottom: 1px solid rgba(134,192,227,0.2);
    margin-bottom: 10px;
    cursor: pointer;
    position: relative;
    z-index: 2;
    transition: color .2s;
}
.footer .nav.flex-column > li.menu-item-has-children > a:hover,
.footer .nav.flex-column > li:first-child:not(.menu-item-has-children) > a:hover {
    color: #ffffff !important;
    text-decoration: underline;
}
.footer .nav.flex-column > li.menu-item-has-children > a:hover {
    padding-left: 0 !important;
}
.footer .nav.flex-column > li.menu-item-has-children > a:hover::before {
    display: none !important;
}
.footer .nav.flex-column > li.menu-item-has-children { margin-bottom: 1.8rem; }
.footer .nav.flex-column > li.menu-item-has-children:last-child { margin-bottom: 0; }

/* Coluna 1 — info */
.footer .footer-lead {
    font-size: 13.5px;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    color: rgba(255,255,255,0.85);
}
.footer .footer-cta-row { display: flex; flex-direction: column; gap: 10px; margin-bottom: 1.4rem; }
/* Reset defaults de <button> e <a> — garante box-model idêntico */
.footer .footer-cta,
button.footer-cta,
a.footer-cta {
    /* layout idêntico pros dois tipos de tag */
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    box-sizing: border-box !important;
    height: 48px;
    min-height: 48px;
    max-height: 48px;
    padding: 0 18px;
    margin: 0;
    /* visual */
    border-radius: 10px;
    border: 0 solid transparent;
    /* tipografia — idêntica em button e a */
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1;
    text-align: center;
    text-decoration: none !important;
    white-space: nowrap;
    /* interação */
    cursor: pointer;
    user-select: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    outline: none;
    box-shadow: 0 2px 6px rgba(0,0,0,.15);
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
    vertical-align: middle;
}
.footer .footer-cta:hover,
button.footer-cta:hover,
a.footer-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0,0,0,.28);
    text-decoration: none !important;
}
.footer .footer-cta svg { flex-shrink: 0; width: 18px; height: 18px; transition: transform .2s ease; }
.footer .footer-cta:hover svg { transform: translateX(2px); }
.footer .footer-cta span { display: inline-block; line-height: 1; }

/* WhatsApp — verde oficial */
.footer .footer-cta--wa {
    background: linear-gradient(135deg, #25D366 0%, #1EB854 100%);
    color: #fff;
}
.footer .footer-cta--wa:hover { color: #fff; background: linear-gradient(135deg, #1EB854 0%, #17A046 100%); }

/* Orçamento — branco sólido */
.footer .footer-cta--budget {
    background: #fff;
    color: #10557e;
}
.footer .footer-cta--budget:hover { color: #0d4263; background: #f7fafc; }

/* Bloco de contato */
.footer .contact-block {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    padding: 16px 18px;
    margin-bottom: 1.1rem;
}
.footer .contact-block .contact-label {
    font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase;
    color: #86c0e3; font-weight: 700; margin-bottom: 12px;
    padding-bottom: 10px; border-bottom: 1px solid rgba(134,192,227,0.2);
}
.footer .contact-block .icon-wrapper {
    display: flex; align-items: flex-start; gap: 12px;
    margin-bottom: 0.7rem; line-height: 1.45; font-size: 13.5px;
    min-width: 0;
}
.footer .contact-block .icon-wrapper > a,
.footer .contact-block .icon-wrapper > div,
.footer .contact-block .icon-wrapper > address {
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}
.footer .contact-block .icon-wrapper:last-child { margin-bottom: 0; }
.footer .contact-block svg { flex-shrink: 0; opacity: 0.75; margin-top: 3px; width: 16px; height: 16px; color: #86c0e3; }
.footer .contact-block a { color: rgba(255,255,255,0.92); text-decoration: none; }
.footer .contact-block a:hover { color: #fff; text-decoration: underline; }

.footer .contact-block address {
    font-style: normal; font-size: 13px; color: rgba(255,255,255,0.82);
    margin: 0; line-height: 1.55;
}

/* Social icons */
.footer-social { display: flex; gap: 8px; margin-top: 0; align-items: center; flex-wrap: wrap; }
.footer-social a { display: inline-flex; line-height: 0; transition: transform .2s ease, opacity .2s ease; }
.footer-social a:hover { transform: translateY(-2px); opacity: 0.95; }
.footer-social svg { width: 36px; height: 36px; }

/* Trust row */
.footer-trust {
    display: flex; gap: 20px; padding: 14px 0 18px; margin-bottom: 1rem;
    font-size: 10.5px; color: rgba(255,255,255,0.65); text-transform: uppercase;
    letter-spacing: 0.08em; flex-wrap: wrap;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-trust div { line-height: 1.2; }
.footer-trust strong { color: #86c0e3; font-size: 20px; font-weight: 700; display: block; letter-spacing: -0.01em; text-transform: none; margin-bottom: 2px; }

/* === Coluna com muitos items divide em 2 sub-colunas === */
@media (min-width: 992px) {
    .footer .footer-column.footer-column--dense .nav.flex-column {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 1.5rem;
    }
    .footer .footer-column.footer-column--dense .nav.flex-column > li.menu-item-has-children {
        margin-bottom: 1.2rem;
    }
}

/* Responsivo */
@media (max-width: 991px) {
    .footer .footer-cta { padding: 9px 12px; font-size: 12.5px; }
    .footer-social svg { width: 34px; height: 34px; }
    .footer .container > .row { --bs-gutter-x: 1.5rem; }
}
@media (max-width: 767px) {
    .footer .footer-column { margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
    .footer .footer-column:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
    .footer .nav.flex-column > li.menu-item-has-children > a { pointer-events: auto; }
    .footer .footer-column.footer-column--dense .nav.flex-column { grid-template-columns: 1fr; }
}
