/*
|--------------------------------------------------------------------------
| TWANA FOOTER 4
|--------------------------------------------------------------------------
| TWANA_FOOTER4_CSS_M47G4A
|--------------------------------------------------------------------------
*/

.tw-footer {
    --twf-navy: #061c31;
    --twf-navy-2: #082640;
    --twf-navy-3: #0d304f;
    --twf-orange: #f45a24;
    --twf-orange-dark: #d94716;
    --twf-white: #ffffff;
    --twf-muted: #aab8c5;
    --twf-border: rgba(255,255,255,.10);

    position: relative;
    overflow: hidden;
    background:
        linear-gradient(
            135deg,
            #061a2d 0%,
            #061f36 58%,
            #031421 100%
        );
    color: var(--twf-white);
}

.tw-footer a {
    text-decoration: none !important;
}

.tw-footer-cta {
    padding: 38px 0 22px;
}

.tw-footer-cta-card {
    position: relative;
    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;

    padding: 28px 32px;

    border: 1px solid rgba(255,255,255,.08);
    border-radius: 24px;

    background:
        radial-gradient(
            circle at 90% 20%,
            rgba(244,90,36,.25),
            transparent 28%
        ),
        linear-gradient(
            120deg,
            #0a2947,
            #071b30
        );

    box-shadow:
        0 18px 55px rgba(0,0,0,.16);
}

.tw-footer-cta-copy {
    max-width: 670px;
}

.tw-footer-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-bottom: 10px;

    color: #ffb091;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.tw-footer-cta h2 {
    margin: 0 0 10px;

    color: #fff;

    font-size: clamp(24px, 2.2vw, 38px);
    font-weight: 900;
    line-height: 1.05;
}

.tw-footer-cta h2 span {
    color: var(--twf-orange);
}

.tw-footer-cta p {
    max-width: 590px;
    margin: 0;

    color: #b9c7d3;

    font-size: 13px;
    line-height: 1.7;
}

.tw-footer-cta-actions {
    display: flex;
    align-items: center;
    gap: 10px;

    flex: 0 0 auto;
}

.tw-footer-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    min-height: 46px;
    padding: 0 18px;

    border-radius: 12px;

    font-size: 12px;
    font-weight: 800;

    transition:
        transform .18s ease,
        background .18s ease,
        border-color .18s ease;
}

.tw-footer-btn:hover {
    transform: translateY(-1px);
}

.tw-footer-btn-primary {
    background: var(--twf-orange);
    color: #fff !important;
}

.tw-footer-btn-primary:hover {
    background: var(--twf-orange-dark);
}

.tw-footer-btn-secondary {
    border: 1px solid rgba(255,255,255,.16);
    background: rgba(255,255,255,.05);
    color: #fff !important;
}

.tw-footer-main {
    padding: 34px 0 30px;
}

.tw-footer-grid {
    display: grid;
    grid-template-columns:
        minmax(220px, 1.45fr)
        repeat(3, minmax(135px, .8fr))
        minmax(220px, 1.05fr);

    gap: 30px;
}

.tw-footer-logo {
    display: inline-flex;
    align-items: center;
}

.tw-footer-logo img {
    width: auto;
    max-width: 220px;
    max-height: 54px;
    object-fit: contain;
}

.tw-footer-brand p {
    max-width: 300px;
    margin: 18px 0 0;

    color: var(--twf-muted);

    font-size: 12px;
    line-height: 1.75;
}

.tw-footer-column h3 {
    margin: 4px 0 17px;

    color: #fff;

    font-size: 13px;
    font-weight: 900;
}

.tw-footer-column a {
    display: block;

    margin-bottom: 11px;

    color: #bdcad5 !important;

    font-size: 11px;
    font-weight: 500;

    transition:
        color .18s ease,
        transform .18s ease;
}

.tw-footer-column a:hover {
    color: var(--twf-orange) !important;
    transform: translateX(2px);
}

.tw-footer-help-card {
    align-self: start;

    padding: 20px;

    border: 1px solid rgba(255,255,255,.09);
    border-radius: 18px;

    background: rgba(13,48,79,.72);

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.04);
}

.tw-footer-help-icon {
    display: grid;
    place-items: center;

    width: 40px;
    height: 40px;

    margin-bottom: 14px;

    border-radius: 12px;

    background: rgba(244,90,36,.12);
    color: var(--twf-orange);

    font-size: 24px;
}

.tw-footer-help-card span {
    display: block;

    margin-bottom: 3px;

    color: #aebdca;

    font-size: 10px;
}

.tw-footer-help-card strong {
    display: block;

    color: #fff;

    font-size: 14px;
    font-weight: 900;
}

.tw-footer-help-card p {
    margin: 8px 0 15px;

    color: #adbbc7;

    font-size: 10px;
    line-height: 1.6;
}

.tw-footer-help-card > a {
    display: flex;
    align-items: center;
    justify-content: space-between;

    min-height: 38px;
    padding: 0 12px;

    border-radius: 10px;

    background: var(--twf-orange);
    color: #fff !important;

    font-size: 10px;
    font-weight: 800;
}

.tw-footer-help-card > a:hover {
    background: var(--twf-orange-dark);
}

.tw-footer-help-card .tw-footer-help-quote {
    margin-top: 8px;

    border: 1px solid rgba(255,255,255,.10);

    background: rgba(255,255,255,.05);
}

.tw-footer-socials {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;

    margin-top: 20px;
}

.tw-footer-socials a {
    display: grid;
    place-items: center;

    width: 34px;
    height: 34px;

    border: 1px solid rgba(255,255,255,.08);
    border-radius: 10px;

    background: rgba(255,255,255,.04);
    color: #fff !important;

    font-size: 16px;
}

.tw-footer-socials a:hover {
    background: var(--twf-orange);
    border-color: var(--twf-orange);
}

.tw-footer-trust {
    border-top: 1px solid var(--twf-border);
    border-bottom: 1px solid var(--twf-border);
}

.tw-footer-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.tw-footer-trust-grid > div {
    display: flex;
    align-items: center;
    gap: 12px;

    min-height: 88px;
    padding: 16px 22px;

    border-right: 1px solid var(--twf-border);
}

.tw-footer-trust-grid > div:first-child {
    padding-left: 0;
}

.tw-footer-trust-grid > div:last-child {
    border-right: 0;
}

.tw-footer-trust-grid i {
    flex: 0 0 auto;

    color: var(--twf-orange);

    font-size: 28px;
}

.tw-footer-trust-grid strong,
.tw-footer-trust-grid small {
    display: block;
}

.tw-footer-trust-grid strong {
    margin-bottom: 4px;

    color: #fff;

    font-size: 11px;
    font-weight: 900;
}

.tw-footer-trust-grid small {
    color: #92a5b5;

    font-size: 9px;
}

.tw-footer-bottom {
    padding: 19px 0 22px;
}

.tw-footer-bottom-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.tw-footer-copyright,
.tw-footer-legal a,
.tw-footer-signature {
    color: #8fa2b2 !important;

    font-size: 9px;
}

.tw-footer-legal {
    display: flex;
    align-items: center;
    gap: 14px;
}

.tw-footer-signature {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    color: #ccd6de !important;
}

.tw-footer-signature i {
    color: var(--twf-orange);

    font-size: 16px;
}

/* MOBILE */

.tw-footer-mobile {
    padding: 28px 0 24px;
}

.tw-footer-mobile-brand {
    text-align: center;
}

.tw-footer-mobile-brand .tw-footer-logo img {
    max-width: 170px;
    max-height: 48px;
}

.tw-footer-mobile-brand p {
    max-width: 310px;
    margin: 14px auto 20px;

    color: #a9b9c6;

    font-size: 11px;
    line-height: 1.65;
}

.tw-footer-mobile-help {
    display: grid;
    grid-template-columns: 42px 1fr 18px;
    align-items: center;
    gap: 12px;

    min-height: 70px;
    padding: 12px 14px;

    border-radius: 16px;

    background: var(--twf-orange);
    color: #fff !important;

    box-shadow:
        0 12px 25px rgba(244,90,36,.16);
}

.tw-footer-mobile-help > span {
    display: grid;
    place-items: center;

    width: 42px;
    height: 42px;

    border-radius: 12px;

    background: rgba(255,255,255,.12);

    font-size: 23px;
}

.tw-footer-mobile-help small,
.tw-footer-mobile-help strong {
    display: block;
}

.tw-footer-mobile-help small {
    margin-bottom: 2px;

    color: rgba(255,255,255,.76);

    font-size: 9px;
}

.tw-footer-mobile-help strong {
    font-size: 12px;
    font-weight: 900;
}

.tw-footer-mobile-quote {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    min-height: 44px;
    margin-top: 9px;

    border: 1px solid rgba(255,255,255,.10);
    border-radius: 12px;

    background: rgba(255,255,255,.05);
    color: #fff !important;

    font-size: 11px;
    font-weight: 800;
}

.tw-footer-accordions {
    margin-top: 22px;

    border-top: 1px solid var(--twf-border);
}

.tw-footer-accordions details {
    border-bottom: 1px solid var(--twf-border);
}

.tw-footer-accordions summary {
    display: flex;
    align-items: center;
    justify-content: space-between;

    min-height: 54px;

    color: #fff;

    font-size: 11px;
    font-weight: 800;

    cursor: pointer;
    list-style: none;
}

.tw-footer-accordions summary::-webkit-details-marker {
    display: none;
}

.tw-footer-accordions details[open] summary i {
    transform: rotate(180deg);
}

.tw-footer-accordions summary i {
    transition: transform .2s ease;
}

.tw-footer-accordions details > div {
    padding: 0 0 13px;
}

.tw-footer-accordions details a {
    display: block;

    padding: 6px 0;

    color: #a9bac7 !important;

    font-size: 10px;
}

.tw-footer-socials-mobile {
    justify-content: center;
    margin-top: 20px;
}

@media (max-width: 991px) {

    .tw-footer-cta {
        padding: 24px 0 12px;
    }

    .tw-footer-cta-card {
        display: block;

        padding: 22px 18px;

        border-radius: 18px;
    }

    .tw-footer-cta h2 {
        font-size: 25px;
    }

    .tw-footer-cta-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;

        margin-top: 18px;
    }

    .tw-footer-btn {
        width: 100%;
    }

    .tw-footer-trust {
        overflow: hidden;
    }

    .tw-footer-trust-grid {
        display: flex;

        overflow-x: auto;

        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .tw-footer-trust-grid::-webkit-scrollbar {
        display: none;
    }

    .tw-footer-trust-grid > div {
        min-width: 205px;
        min-height: 74px;

        padding: 14px 18px;

        scroll-snap-align: start;
    }

    .tw-footer-trust-grid > div:first-child {
        padding-left: 18px;
    }

    .tw-footer-bottom {
        padding-bottom: 88px;
    }

    .tw-footer-bottom-row {
        flex-direction: column;
        justify-content: center;
        gap: 10px;

        text-align: center;
    }

}

@media (max-width: 420px) {

    .tw-footer-cta h2 {
        font-size: 22px;
    }

    .tw-footer-cta p {
        font-size: 11px;
    }

}

/*
|--------------------------------------------------------------------------
| TWANA FOOTER FINAL POLISH
|--------------------------------------------------------------------------
| TWANA_FOOTER_POLISH_M47G4D
|
| - melhora contraste da marca sobre fundo navy
| - transforma trust mobile em 2x2
| - compacta area comercial mobile
| - preserva desktop e footer publico
|--------------------------------------------------------------------------
*/

/* Marca: cria uma pequena superficie clara somente para a logo atual. */
.tw-footer-brand .tw-footer-logo,
.tw-footer-mobile-brand .tw-footer-logo {
    position: relative;

    padding: 8px 11px;

    border: 1px solid rgba(255,255,255,.08);
    border-radius: 13px;

    background: rgba(255,255,255,.96);

    box-shadow:
        0 8px 24px rgba(0,0,0,.10);
}

.tw-footer-brand .tw-footer-logo img,
.tw-footer-mobile-brand .tw-footer-logo img {
    display: block;
}

/* Mobile */
@media (max-width: 991px) {

    .tw-footer-mobile {
        padding-top: 22px;
        padding-bottom: 20px;
    }

    .tw-footer-mobile-brand .tw-footer-logo {
        padding: 7px 10px;
        border-radius: 12px;
    }

    .tw-footer-mobile-brand .tw-footer-logo img {
        max-width: 145px;
        max-height: 38px;
    }

    .tw-footer-mobile-brand p {
        margin-top: 11px;
        margin-bottom: 16px;
    }

    .tw-footer-mobile-help {
        min-height: 64px;
        padding: 10px 12px;
        border-radius: 14px;
    }

    .tw-footer-mobile-help > span {
        width: 38px;
        height: 38px;
        border-radius: 10px;
        font-size: 21px;
    }

    .tw-footer-mobile-quote {
        min-height: 41px;
        margin-top: 7px;
    }

    .tw-footer-accordions {
        margin-top: 18px;
    }

    /*
    |--------------------------------------------------------------------------
    | TRUST 2x2
    |--------------------------------------------------------------------------
    */

    .tw-footer-trust {
        overflow: visible;
    }

    .tw-footer-trust-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));

        overflow: visible;

        scroll-snap-type: none;
    }

    .tw-footer-trust-grid > div {
        min-width: 0;
        min-height: 82px;

        padding: 13px 12px;

        border-right: 1px solid var(--twf-border);
        border-bottom: 1px solid var(--twf-border);

        scroll-snap-align: none;
    }

    .tw-footer-trust-grid > div:first-child {
        padding-left: 12px;
    }

    .tw-footer-trust-grid > div:nth-child(2n) {
        border-right: 0;
    }

    .tw-footer-trust-grid > div:nth-last-child(-n+2) {
        border-bottom: 0;
    }

    .tw-footer-trust-grid i {
        font-size: 24px;
    }

    .tw-footer-trust-grid strong {
        font-size: 10px;
        line-height: 1.25;
    }

    .tw-footer-trust-grid small {
        font-size: 8px;
        line-height: 1.35;
    }

}

@media (max-width: 420px) {

    .tw-footer-trust-grid > div {
        gap: 9px;
        min-height: 78px;
        padding: 11px 9px;
    }

    .tw-footer-trust-grid > div:first-child {
        padding-left: 9px;
    }

    .tw-footer-trust-grid i {
        font-size: 22px;
    }

}
