.box-footer {
    padding: 0px 183px 0px 183px;
    margin-top: 74px;
}

footer h5 {
    font-family: "Rawline";
    font-weight: 1000;
    color: #fff;
    font-size: 13px;
}

footer p {
    color: #fff;
    margin-bottom: 0px;
    font-family: "Rawline";
    font-weight: 300;
}

html {
    font-family: "Rawline";

}

body {
    font-family: "Rawline", sans-serif;
    font-weight: 400;
    background-color: #F2F2F2;
}

footer {
    position: relative;
    width: 100%;
}

/* Ajustes para IPAD OU TABLET na vertical e telas até 1489px */
@media (min-width: 768px) and (max-width: 1489px) {

    /*------------------------------------------------------------ FOOTER TABLET -------------------------------------------------------------------------------------*/

    .footer-tablet {
        background-color: #18181E;
    }

    .footer-tablet .tablet-brand-strip {
        background-color: #f2f2f2;
        width: 100%;
    }

    .footer-tablet .tablet-brand-strip img {
        width: 100%;
        display: block;
    }

    .footer-tablet .tablet-wrapper {
        padding: 48px 48px 24px 48px;
        max-width: 100%;
    }

    .footer-tablet .tablet-info {
        display: flex;
        gap: 32px;
        margin-bottom: 32px;
        align-items: flex-start;
    }

    .footer-tablet .tablet-info-logo {
        flex-shrink: 0;
    }

    .footer-tablet .tablet-info-logo img {
        width: 200px;
        height: auto;
    }

    .footer-tablet .tablet-info-address {
        flex: 1;
        max-width: 50%;
        margin-left: auto;
    }

    .footer-tablet .tablet-info-address h5 {
        color: #fff;
        font-family: "Rawline";
        font-weight: 600;
        font-size: 16px;
        margin-bottom: 6px;
    }

    .footer-tablet .tablet-info-address p {
        color: #fff;
        font-family: "Rawline";
        font-weight: 300;
        font-size: 15px;
        margin-bottom: 6px;
    }

    .footer-tablet .tablet-card {
        background-color: #151515;
        border-radius: 36px;
        position: relative;
        padding: 36px 36px 36px 60px;
        overflow: hidden;
        margin-top: 0;
    }

    .footer-tablet .tablet-card-content {
        position: relative;
        z-index: 1;
    }

    .footer-tablet .tablet-main-phone {
        color: #fff;
        border-bottom: 1px solid #3B3B45;
        padding-bottom: 19px;
        margin-bottom: 24px;
        font-family: "Rawline";
    }

    .footer-tablet .tablet-main-phone .label {
        font-weight: 400;
        font-size: 18px;
        line-height: 1.2;
    }

    .footer-tablet .tablet-main-phone .value {
        font-weight: 900;
        font-size: 32px;
        line-height: 1.2;
        margin-top: 4px;
    }

    .footer-tablet .tablet-emergency-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 17px 32px;
    }

    .footer-tablet .tablet-emergency-item {
        color: #fff;
        font-family: "Rawline";
    }

    .footer-tablet .tablet-emergency-item .label {
        font-weight: 400;
        font-size: 15px;
        margin-bottom: 4px;
    }

    .footer-tablet .tablet-emergency-item .value {
        font-weight: 900;
        font-size: 20px;
        line-height: 1.2;
    }

    .footer-tablet .tablet-emergency-item .value > div {
        margin-top: 2px;
    }

    .footer-tablet .tablet-footer-meta {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 24px 48px 36px 48px;
        color: #fff;
        font-family: "Rawline";
        font-size: 14px;
        margin-top: 0;
        position: relative;
    }

    .footer-tablet .tablet-footer-meta::before {
        content: '';
        position: absolute;
        top: 0;
        left: 48px;
        right: 48px;
        height: 1px;
        background-color: #fff;
    }

    .footer-tablet .tablet-footer-meta p {
        margin: 0;
        color: #fff;
    }

    .footer-tablet .tablet-footer-meta a {
        display: inline-block;
    }

    .footer-tablet .tablet-footer-meta img {
        width: 48px;
        height: 48px;
        display: block;
    }

    .marca-footer {
        width: 133%;
    }

    /* Ajuste específico para iPad Pro 13" e telas similares até 1489px - alinha logo e info ao lado do card como no desktop */
    @media (min-width: 1024px) and (max-width: 1489px) {
        .footer-tablet .tablet-wrapper {
            display: flex;
            align-items: flex-start;
            gap: 32px;
        }

        .footer-tablet .tablet-info {
            flex-direction: column;
            flex-shrink: 0;
            width: auto;
            margin-bottom: 0;
        }

        .footer-tablet .tablet-info-address {
            max-width: none;
            margin-left: 0;
            margin-top: 20px;
        }

        .footer-tablet .tablet-info-logo {
            margin-bottom: 0;
        }

        .footer-tablet .tablet-card {
            flex: 1;
            margin-top: 0;
            position: relative;
        }

        .footer-tablet .tablet-wrapper {
            position: relative;
            align-items: flex-start;
        }

        /* Calcula a posição das imagens em relação ao card - lado esquerdo sobre o card */
        .footer-tablet .tablet-info {
            min-width: 250px;
            width: 250px;
        }

        /* Posiciona as imagens exatamente na ponta do card, como no desktop */
        .footer-tablet .tablet-card {
            overflow: visible;
            position: relative;
        }

        /* Usa o card como referência para posicionar as imagens na ponta */
        .footer-tablet .tablet-wrapper > img[src*="background-telefone-footer"] {
            position: absolute !important;
            top: 30px !important;
            left: calc(48px + 250px + 32px - 50px) !important;
            width: 105px !important;
            height: 90px !important;
            z-index: 9 !important;
            pointer-events: none;
        }

        .footer-tablet .tablet-wrapper > img[src*="icone_telefone"] {
            position: absolute !important;
            top: 56px !important;
            left: calc(40px + 250px + 32px - 20px) !important;
            z-index: 10 !important;
            width: 60px !important;
            height: 43px !important;
            pointer-events: none;
        }
    }
}

/* Garante que o footer tablet apareça até 1489px e o footer desktop só a partir de 1490px */
@media (min-width: 1200px) and (max-width: 1489px) {
    /* Esconde o footer desktop */
    footer.d-none.d-xxl-block {
        display: none !important;
    }
    
    /* Mostra o footer tablet */
    footer.footer-tablet.d-none.d-md-block.d-xxl-none {
        display: block !important;
    }
}

/* Garante que o footer desktop apareça a partir de 1490px */
@media (min-width: 1490px) {
    footer.d-none.d-xxl-block {
        display: block !important;
    }
    
    footer.footer-tablet.d-none.d-md-block.d-xxl-none {
        display: none !important;
    }
}