/* Barra superior Net Empresa — separado do HTML para evitar conflito com .header/.title/.button do site */

.net-empresa-bar {
    display: flex;
    align-items: center;
    padding: 8px 16px;
    background: linear-gradient(to right, #d6002a, #6a3fa0);
    color: white;
    justify-content: space-between;
}

.net-empresa-bar__right {
    display: flex;
    align-items: center;
}

.net-empresa-bar__acessibilidade {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: 2px solid white;
    border-radius: 50px;
    color: white;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 0.5px;
    padding: 4px 12px;
    cursor: pointer;
}

.net-empresa-bar__dropdown {
    position: relative;
}

.net-empresa-bar__dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 0.5px;
    cursor: pointer;
    color: white;
    padding: 4px 8px;
}

.net-empresa-bar__dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    min-width: 220px;
    z-index: 9999;
    padding: 8px 0;
}

.net-empresa-bar__dropdown-menu span {
    display: block;
    padding: 14px 20px;
    font-size: 13px;
    font-weight: bold;
    color: #333;
    border-bottom: 1px solid #eee;
}

.net-empresa-bar__dropdown-menu span:last-child {
    border-bottom: none;
}

.net-empresa-bar__dropdown:hover .net-empresa-bar__dropdown-menu {
    display: block;
}


.net-empresa-bar__left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.net-empresa-bar__lock {
    width: 14px;
    height: 14px;
    border: 2px solid white;
    border-radius: 3px;
    position: relative;
    flex-shrink: 0;
}

.net-empresa-bar__lock::before {
    content: "";
    position: absolute;
    width: 8px;
    height: 5px;
    border: 2px solid white;
    border-bottom: none;
    border-radius: 10px 10px 0 0;
    top: -7px;
    left: 1px;
}

.net-empresa-bar__title {
    font-weight: bold;
    font-size: 12px;
    letter-spacing: 0.5px;
}

.net-empresa-bar__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    background: #2f4da0;
    padding: 6px 14px;
    border-radius: 16px;
    font-weight: bold;
    font-size: 12px;
    cursor: pointer;
    border: none;
    color: inherit;
    font-family: inherit;
    text-decoration: none;
}

.net-empresa-bar__btn:hover {
    filter: brightness(1.08);
    color: inherit;
}

/* Faixa clara no topo: #wrapper usa margin-top 40px em home/styles.css, mas mais abaixo no mesmo arquivo
   `body { background: 0 0 }` deixa o fundo transparente — a margem vira “barra branca”. */
body.home #wrapper {
    margin-top: 0 !important;
}

html,
body.home {
    background-color: #e4e5e9;
}

/* “Abra sua conta”: nav#mainMenu está absolute com top:130px (layout antigo). Com a .net-empresa-bar
   o header desce ~uma linha, mas o menu não — o botão sobrepõe a logo. Compensa a altura da barra. */
body.home nav#mainMenu {
    top: calc(130px + 44px);
}

body.home nav#mainMenu .botaoAbraConta {
    pointer-events: auto !important;
    cursor: pointer !important;
}

/* Bloco abaixo de “Abra sua conta” (menu lateral) */
.mainMenu-sidebar {
    clear: both;
    width: 100%;
    background: #fff;
    font-family: Bradesco, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    box-sizing: border-box;
    pointer-events: auto !important;
    user-select: none;
}

.mainMenu-sidebar__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 12px 12px;
    background: #fff;
}

.mainMenu-sidebar__laptop {
    width: 42px;
    height: auto;
    flex-shrink: 0;
}

.mainMenu-sidebar__brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    font-weight: 700;
    font-size: 0.8125rem;
    color: #d94e67;
}

.mainMenu-sidebar__security {
    background: #f0f0f5;
    border-left: 4px solid #5a5a6a;
    padding: 12px 12px 12px 14px;
    margin: 0;
}

.mainMenu-sidebar__security p {
    margin: 0;
    font-size: 0.75rem;
    line-height: 1.35;
    color: #4a4a4a;
    font-weight: 400;
}

.mainMenu-sidebar__security p + p {
    margin-top: 4px;
}

.mainMenu-sidebar__list {
    list-style: none;
    margin: 0;
    padding: 0;
    background: #fff;
}

.mainMenu-sidebar__list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 12px 12px 10px;
    border-bottom: 1px solid #dcdce2;
    font-size: 0.8125rem;
    color: #4a4a4a;
    box-sizing: border-box;
}

.mainMenu-sidebar__list li a {
    pointer-events: auto !important;
}


.mainMenu-sidebar__list li:last-child {
    border-bottom: none;
}

.mainMenu-sidebar__ico {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 28px;
    flex-shrink: 0;
}

.mainMenu-sidebar__ico svg {
    width: 28px;
    height: 28px;
    display: block;
}

/* Rodapé institucional (referência Bradesco PJ) */
.bradesco-site-footer {
    position: relative !important;
    z-index: 1;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    clear: both;
    width: 100% !important;
    margin-top: 0;
    font-family: Bradesco, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    box-sizing: border-box;
    pointer-events: none;
    user-select: none;
}

.bradesco-site-footer * {
    box-sizing: border-box;
}

.bradesco-site-footer__contact {
    background: #f0f0f0;
    color: #4a4a4a;
    padding: 20px 24px 24px;
}

.bradesco-site-footer__tabs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px 32px;
    margin-bottom: 20px;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    line-height: 1.3;
}

.bradesco-site-footer__tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #4a4a4a;
}

.bradesco-site-footer__chev {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
}

.bradesco-site-footer__chev--up {
    border-bottom: 5px solid #cc092f;
    margin-top: 2px;
}

.bradesco-site-footer__chev--down {
    border-top: 5px solid #cc092f;
    margin-top: 0;
}

.bradesco-site-footer__phones {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px 20px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #d4d4d4;
}

.bradesco-site-footer__col {
    min-width: 0;
}

.bradesco-site-footer__label {
    font-size: 0.7rem;
    color: #6a6a6a;
    margin: 0 0 6px;
    line-height: 1.3;
    font-weight: 400;
}

.bradesco-site-footer__num {
    font-size: 1.25rem;
    font-weight: 700;
    color: #3a3a3a;
    margin: 0 0 4px;
    line-height: 1.2;
}

.bradesco-site-footer__hint {
    font-size: 0.65rem;
    color: #6a6a6a;
    margin: 0;
    line-height: 1.2;
}

.bradesco-site-footer__sac-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0 24px;
}

.bradesco-site-footer__sac-block {
    flex: 1 1 200px;
    min-width: 0;
}

.bradesco-site-footer__divider {
    width: 1px;
    align-self: stretch;
    min-height: 48px;
    background: #c8c8c8;
    margin: 0 8px;
    flex: 0 0 auto;
}

.bradesco-site-footer__fake-link {
    font-size: 0.75rem;
    font-weight: 700;
    color: #3a3a3a;
    text-decoration: underline;
    margin: 6px 0 0;
}

.bradesco-site-footer__gradient {
    background: linear-gradient(90deg, #3b3b8c 0%, #5a2d7a 40%, #c41e3a 75%, #e30613 100%);
    color: #fff;
    padding: 20px 24px 16px;
}

.bradesco-site-footer__gradient-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto 16px;
}

.bradesco-site-footer__social-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 12px;
}

.bradesco-site-footer__acompanhe {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.bradesco-site-footer__social {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.bradesco-site-footer__social li {
    margin: 0;
    padding: 0;
}

.bradesco-site-footer__soc-ring {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 2px solid rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    color: #fff;
}

.bradesco-site-footer__soc-ring svg {
    width: 16px;
    height: 16px;
    display: block;
}

.bradesco-site-footer__company {
    flex: 1 1 240px;
    text-align: center;
    font-size: 0.65rem;
    line-height: 1.5;
    opacity: 0.95;
    min-width: 0;
}

.bradesco-site-footer__company p {
    margin: 0 0 2px;
}

.bradesco-site-footer__logo-wrap {
    flex: 0 0 auto;
    text-align: right;
}

.bradesco-site-footer__logo-side {
    max-width: 200px;
    height: auto;
    display: block;
    margin-left: auto;
}

.bradesco-site-footer__rule {
    max-width: 1200px;
    margin: 0 auto 14px;
    height: 1px;
    background: rgba(255, 255, 255, 0.35);
}

.bradesco-site-footer__legal {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px 4px;
    font-size: 0.58rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1.5;
    text-align: center;
}

.bradesco-site-footer__sep {
    opacity: 0.55;
    font-weight: 400;
}

@media (max-width: 900px) {
    .bradesco-site-footer__phones {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bradesco-site-footer__gradient-inner {
        flex-direction: column;
        text-align: center;
    }

    .bradesco-site-footer__company {
        text-align: center;
        order: 2;
    }

    .bradesco-site-footer__social-wrap {
        justify-content: center;
        order: 1;
    }

    .bradesco-site-footer__logo-wrap {
        text-align: center;
        order: 3;
    }

    .bradesco-site-footer__logo-side {
        margin-left: auto;
        margin-right: auto;
    }

    .bradesco-site-footer__divider {
        display: none;
    }

    .bradesco-site-footer__sac-row {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 520px) {
    .bradesco-site-footer__phones {
        grid-template-columns: 1fr;
    }
}

.bradesco-site-footer__legal a {
    color: #fff;
    text-decoration: none;
    font-size: 0.58rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    pointer-events: auto;
}

.bradesco-site-footer__legal a:hover {
    text-decoration: underline;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #1a1a2e;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 10px 32px;
    z-index: 99999;
    box-sizing: border-box;
    font-size: 13px;
    line-height: 1.5;
    pointer-events: auto !important;
}

.cookie-banner p {
    margin: 0;
    max-width: 650px;
}

.cookie-banner p a {
    color: white;
    text-decoration: underline;
}

.cookie-banner__buttons {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-banner__btn {
    pointer-events: auto !important;
    padding: 7px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
    white-space: nowrap;
}

.cookie-banner__btn--outline {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.cookie-banner__btn--red {
    background: #cc092f;
    border: 2px solid #cc092f;
    color: white;
}