footer{
    float: left;
    width: 100%;
    background-color: var(--cms-primary, #1b0688);
    padding: 30px 0;
}

footer img#logo-footer{
    display: inline-block;
    margin-top: 30px;
}

footer div#contato-footer{
    display: inline-block;
    width: 90%;
    margin-top: 30px;
}

footer div#contato-footer a{
    display: inline-block;
    width: 100%;
    margin-top: 10px;
    color: #fff;
    font-size: 22px;
    font-weight: 700;
}

footer div#contato-footer a img{
    display: inline-block;
    vertical-align: middle;
    margin-right: 5px;
}

footer div#contato-footer a i{
    display: inline-block;
    width: 28px;
    margin-right: 6px;
    text-align: center;
    vertical-align: middle;
    font-size: 28px;
}

footer div#contato-footer a i.icon-whatsapp{
    color: #fff;
}

footer div#contato-footer a i.icon-phone{
    color: #fff;
}

footer div#link-contato{
    display: inline-block;
    width: 90%;
    font-size: 15px;
    color: #fff;
    margin-top: 30px;
}

footer div#link-contato a{
    display: inline-block;
    font-size: 20px;
    color: #fff;
    background-color: var(--cms-secondary, #58c8ea);
    padding: 12px 28px;
    margin-top: 5px;
    border-radius: 999px;
	-webkit-transition:.4s;
	-moz-transition:.4s;
	-o-transition:.4s;
	transition:.4s;
}

footer div#link-contato a:hover{
    background-color: var(--cms-secondary, #58c8ea);
    color: #fff;
}

footer div#redes-sociais{
    display: inline-block;
    width: 90%;
    margin-top: 30px;
}

footer div#redes-sociais img{
    display: inline-block;
    margin: 0 3px;
    -webkit-transform-style: preserve-3d;
    -webkit-transition: -webkit-transform 1s;
    -moz-transform-style: preserve-3d;
    -moz-transition: -webkit-transform 1s;
    -o-transform-style: preserve-3d;
    -o-transition: -webkit-transform 1s;
    transform-style: preserve-3d;
    transition: -webkit-transform 1s;
    -webkit-transform: rotate3d(0, 0, 0);
}

footer div#redes-sociais img:hover{
    -webkit-transform: rotate3d(0, 0, 0);
    -webkit-transform: rotateY(360deg);
    -moz-transform: rotateY(360deg);
    -o-transform: rotateY(360deg);
    transform: rotateY(360deg);
}

footer div.separador{
    display: inline-block;
    width: 90%;
    margin-top: 30px;
    height: 2px;
    background-color: var(--cms-primary-dark, #100356);
}

footer address{
    display: inline-block;
    width: 90%;
    color: #fff;
    margin-top: 20px;
    font-size: 13px;
    line-height: normal;
}

footer img#dmawd{
    display: inline-block;
    margin-top: 30px;
}

@media screen and (min-width: 768px){
    footer img#logo-footer{
        float: left;
        margin-left: 5%;
        width: auto;
        text-align: left;
    }

    footer div#link-contato, footer div#contato-footer{
        float: left;
        width: 250px;
    }

    footer div#redes-sociais{
        margin-top:30px;
    }

    footer address{
        float: left;
        width: auto;
        margin-left: 5%;
        text-align: left;
    }

    footer img#dmawd{
        float: right;
        margin-right: 5%;
    }
}

@media screen and (min-width: 1024px){
    footer img#logo-footer, footer div#link-contato{
        margin-top: 50px;
    }

    footer div#redes-sociais{
        width: auto;
        float: right;
        margin-right: 5%;
        margin-top: 55px;
    }
}

@media screen and (min-width: 1200px){
    footer div#contato-footer{
        margin-left: 100px;
    }
    
    footer div#link-contato{
        margin-left: 50px;
    }
}

/* WhatsApp flutuante global */
a.whatsapp-flutuante{
    position: fixed;
    right: 22px;
    bottom: 92px;
    z-index: 9998;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px 10px 18px;
    background-color: #22b14c;
    color: #fff !important;
    border-radius: 999px;
    box-shadow: 0 8px 24px rgba(0,0,0,.22);
    text-decoration: none !important;
    font-weight: 700;
    line-height: 1;
    transition: transform .25s ease, box-shadow .25s ease;
}

a.whatsapp-flutuante:hover{
    color: #fff !important;
    text-decoration: none !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0,0,0,.28);
}

a.whatsapp-flutuante .whatsapp-flutuante-texto{
    font-size: 15px;
    white-space: nowrap;
}

a.whatsapp-flutuante .whatsapp-flutuante-icone{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    min-width: 42px;
    background-color: #16a03d;
    border-radius: 50%;
    font-size: 27px;
}

@media screen and (max-width: 767px){
    body{
        padding-bottom: 68px;
    }

    footer{
        padding-bottom: 80px !important;
    }

    a.whatsapp-flutuante{
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        justify-content: center;
        gap: 12px;
        padding: 12px 18px;
        border-radius: 0;
        box-sizing: border-box;
    }

    a.whatsapp-flutuante .whatsapp-flutuante-texto{
        font-size: 15px;
    }

    a.whatsapp-flutuante .whatsapp-flutuante-icone{
        width: 36px;
        height: 36px;
        min-width: 36px;
        font-size: 24px;
    }
}


/* Ajuste final: WhatsApp flutuante mais compacto e sem borda no responsivo */
a.whatsapp-flutuante{
    right: 26px !important;
    bottom: 78px !important;
    min-width: 168px !important;
    max-width: 190px !important;
    padding: 12px 14px 12px 18px !important;
    border-radius: 28px !important;
    gap: 10px !important;
    box-sizing: border-box !important;
}

a.whatsapp-flutuante .whatsapp-flutuante-texto{
    white-space: normal !important;
    text-align: center !important;
    line-height: 1.05 !important;
    font-size: 14px !important;
}

@media screen and (max-width: 767px){
    body{
        padding-bottom: 60px !important;
    }

    footer{
        padding-bottom: 60px !important;
    }

    a.whatsapp-flutuante{
        left: 0 !important;
        right: auto !important;
        bottom: 0 !important;
        width: 100vw !important;
        min-width: 100vw !important;
        max-width: 100vw !important;
        margin: 0 !important;
        padding: 9px 0 !important;
        border-radius: 0 !important;
        justify-content: center !important;
        transform: none !important;
        box-shadow: 0 -4px 18px rgba(0,0,0,.18) !important;
    }

    a.whatsapp-flutuante:hover{
        transform: none !important;
    }

    a.whatsapp-flutuante .whatsapp-flutuante-texto{
        font-size: 14px !important;
        line-height: 1.05 !important;
    }

    a.whatsapp-flutuante .whatsapp-flutuante-icone{
        width: 34px !important;
        height: 34px !important;
        min-width: 34px !important;
        font-size: 23px !important;
    }
}


/* Ajuste final rodapé/endereço e WhatsApp flutuante */
footer address{
    font-size: 15px !important;
    line-height: 1.35 !important;
}

footer address strong{
    display: inline-block !important;
    margin-bottom: 3px !important;
    font-size: 15px !important;
}

footer address strong::before{
    content: "\f3c5";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-right: 6px;
}

a.whatsapp-flutuante{
    right: 28px !important;
    bottom: 70px !important;
    min-width: 156px !important;
    max-width: 168px !important;
    padding: 12px 12px 12px 15px !important;
    border-radius: 26px !important;
    gap: 9px !important;
}

a.whatsapp-flutuante .whatsapp-flutuante-texto{
    white-space: normal !important;
    text-align: center !important;
    line-height: 1.05 !important;
    font-size: 14px !important;
}

@media screen and (max-width: 767px){
    body{
        padding-bottom: 0 !important;
    }

    footer{
        padding-bottom: 30px !important;
    }

    a.whatsapp-flutuante{
        left: 50% !important;
        right: auto !important;
        bottom: 18px !important;
        width: auto !important;
        min-width: 270px !important;
        max-width: calc(100vw - 42px) !important;
        padding: 10px 14px 10px 18px !important;
        border-radius: 999px !important;
        transform: translateX(-50%) !important;
        justify-content: center !important;
        box-shadow: 0 7px 22px rgba(0,0,0,.25) !important;
    }

    a.whatsapp-flutuante:hover{
        transform: translateX(-50%) !important;
    }

    a.whatsapp-flutuante .whatsapp-flutuante-texto{
        font-size: 0 !important;
        line-height: 1 !important;
        white-space: nowrap !important;
    }

    a.whatsapp-flutuante .whatsapp-flutuante-texto::before{
        content: "Atendimento pelo WhatsApp";
        font-size: 14px !important;
        white-space: nowrap !important;
    }

    a.whatsapp-flutuante .whatsapp-flutuante-icone{
        width: 34px !important;
        height: 34px !important;
        min-width: 34px !important;
        font-size: 23px !important;
    }
}

/* ===== AJUSTE FINAL RODAPÉ / WHATSAPP ===== */
footer{
    padding: 30px 0 24px !important;
}

footer .logo-footer-link{
    display: inline-block;
}

footer #redes-sociais a{
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    margin: 0 6px;
    color: #fff !important;
    text-decoration: none !important;
}

footer #redes-sociais a i{
    font-size: 25px;
    line-height: 1;
}

footer address{
    font-size: 15px !important;
    line-height: 1.45 !important;
}

footer address strong{
    display: inline-block;
    margin-bottom: 6px;
}

footer address .footer-unidade{
    display: inline-block;
    margin-top: 2px;
}

footer .dmawd{
    display: inline-block;
    margin-top: 18px;
}

@media screen and (min-width: 768px){
    footer .dmawd{
        float: right;
        margin-right: 5%;
        margin-top: 20px;
    }
}

a.whatsapp-flutuante{
    right: 24px !important;
    bottom: 24px !important;
    min-width: 168px !important;
    max-width: 180px !important;
    padding: 12px 14px 12px 18px !important;
    border-radius: 28px !important;
    gap: 10px !important;
    box-shadow: none !important;
}

a.whatsapp-flutuante:hover{
    transform: none !important;
    box-shadow: none !important;
}

a.whatsapp-flutuante .whatsapp-flutuante-texto{
    white-space: normal !important;
    text-align: center !important;
    line-height: 1.05 !important;
    font-size: 14px !important;
}

@media screen and (max-width: 767px){
    body{
        padding-bottom: 0 !important;
    }

    footer{
        padding-bottom: 26px !important;
    }

    a.whatsapp-flutuante{
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        padding: 9px 12px !important;
        border-radius: 0 !important;
        justify-content: center !important;
        transform: none !important;
        box-shadow: none !important;
    }

    a.whatsapp-flutuante .whatsapp-flutuante-texto{
        font-size: 0 !important;
        white-space: nowrap !important;
    }

    a.whatsapp-flutuante .whatsapp-flutuante-texto::before{
        content: "Atendimento pelo WhatsApp";
        font-size: 14px !important;
    }

    a.whatsapp-flutuante .whatsapp-flutuante-icone{
        width: 34px !important;
        height: 34px !important;
        min-width: 34px !important;
        font-size: 23px !important;
    }
}


/* ===== REFINO FINAL RODAPÉ / WHATSAPP ===== */
@media screen and (min-width: 768px){
    footer .interface{
        max-width: 1200px !important;
        width: 100% !important;
        overflow: visible !important;
    }

    footer .logo-footer-link{
        float: left !important;
        margin-left: 5% !important;
        margin-top: 50px !important;
        display: inline-block !important;
    }

    footer .logo-footer-link img#logo-footer{
        float: none !important;
        margin: 0 !important;
        display: block !important;
    }

    footer div#contato-footer{
        float: left !important;
        width: 250px !important;
        margin-left: 100px !important;
        margin-top: 50px !important;
        text-align: left !important;
    }

    footer div#link-contato{
        float: left !important;
        width: 250px !important;
        margin-left: 50px !important;
        margin-top: 50px !important;
        text-align: center !important;
    }

    footer div#redes-sociais{
        float: right !important;
        width: auto !important;
        margin-right: 5% !important;
        margin-top: 55px !important;
    }

    footer div.separador{
        clear: both !important;
        display: inline-block !important;
        width: 90% !important;
        margin-top: 30px !important;
    }

    footer address{
        float: left !important;
        width: calc(90% - 170px) !important;
        margin-left: 5% !important;
        text-align: left !important;
        line-height: 1.45 !important;
    }

    footer .dmawd{
        float: right !important;
        margin-right: 5% !important;
        margin-top: 18px !important;
    }
}

footer #redes-sociais a{
    width: 34px !important;
    height: 34px !important;
    margin: 0 6px !important;
}

footer #redes-sociais a i{
    font-size: 32px !important;
    line-height: 1 !important;
}

footer address .footer-unidade{
    display: inline !important;
    margin-top: 0 !important;
}

a.whatsapp-flutuante{
    bottom: 12px !important;
}

@media screen and (max-width: 767px){
    a.whatsapp-flutuante{
        bottom: 0 !important;
    }

    footer #redes-sociais a{
        width: 32px !important;
        height: 32px !important;
        margin: 0 5px !important;
    }

    footer #redes-sociais a i{
        font-size: 30px !important;
    }

    footer address{
        width: 90% !important;
        line-height: 1.35 !important;
    }
}

/* ===== AJUSTE FINAL: WhatsApp mobile sem cortar a logo DMAWD ===== */
@media screen and (max-width: 767px){
    footer{
        padding-bottom: 82px !important;
    }

    footer .dmawd{
        margin-bottom: 14px !important;
    }

    a.whatsapp-flutuante{
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        border-radius: 0 !important;
        padding-top: 10px !important;
        padding-bottom: 10px !important;
        z-index: 9998 !important;
    }
}


/* Aviso de cookies */
.SPEEDMAX-cookie-aviso,
.speedmax-cookie-aviso{
    position: fixed !important;
    left: 18px !important;
    right: 18px !important;
    bottom: 18px !important;
    z-index: 999999 !important;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    max-width: 1120px;
    margin: 0 auto;
    padding: 16px 18px;
    background: #ffffff;
    color: #27333a;
    border: 1px solid rgba(11,68,84,.18);
    border-radius: 14px;
    box-shadow: 0 18px 45px rgba(0,0,0,.18);
    font-family: inherit;
    box-sizing: border-box;
}

.SPEEDMAX-cookie-aviso.is-visible,
.speedmax-cookie-aviso.is-visible{
    display: flex !important;
}

.SPEEDMAX-cookie-aviso p,
.speedmax-cookie-aviso p{
    margin: 0;
    font-size: 15px;
    line-height: 1.45;
    color: #27333a;
}

.SPEEDMAX-cookie-aviso a,
.speedmax-cookie-aviso a{
    color: var(--cms-primary, #1b0688);
    font-weight: 700;
    text-decoration: underline;
}

.SPEEDMAX-cookie-aviso button,
.speedmax-cookie-aviso button{
    flex: 0 0 auto;
    border: 0;
    border-radius: 999px;
    background: var(--cms-primary, #1b0688);
    color: #ffffff;
    padding: 11px 24px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    white-space: nowrap;
    appearance: none;
    -webkit-appearance: none;
    box-shadow: none;
    outline: none;
    transition: opacity .2s ease, transform .2s ease;
}

.SPEEDMAX-cookie-aviso button:hover,
.speedmax-cookie-aviso button:hover{
    opacity: .92;
    transform: translateY(-1px);
}

.SPEEDMAX-cookie-aviso button:active,
.speedmax-cookie-aviso button:active{
    transform: translateY(0);
}

@media screen and (max-width: 767px){
    .SPEEDMAX-cookie-aviso,
    .speedmax-cookie-aviso{
        left: 12px !important;
        right: 12px !important;
        bottom: 78px !important;
        flex-direction: column;
        align-items: flex-start;
        padding: 15px;
        border-radius: 12px;
    }

    .SPEEDMAX-cookie-aviso p,
    .speedmax-cookie-aviso p{
        font-size: 13px;
    }

    .SPEEDMAX-cookie-aviso button,
    .speedmax-cookie-aviso button{
        width: 100%;
        padding: 12px 18px;
        text-align: center;
    }
}
