/* ======================================== */
/* LEMBRETE                                 */
/* ======================================== */

/* Celulares pequenos */
/* @media (max-width: 320px) */
/* estilos para telas até 320px */

/* Celulares maiores */
/* @media (max-width: 414px) */
/* estilos para telas até 414px */

/* Celulares maiores */
/* @media (max-width: 480px) */
/* estilos para telas até 480px */

/* Laptops e desktops (a partir de 769px) */
/* @media (min-width: 768px) */
/* estilos para telas maiores que 768px */

/* Laptops e desktops maiores (a partir de 1024px) */
/* @media (min-width: 1024px) */
/* estilos para telas maiores que 1024px */

/* Laptops e desktops grandes (a partir de 1440px) */
/* @media (min-width: 1440px) */
/* estilos para telas maiores que 1440px */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
    font-size: 15px;
}

main {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

body {
}

.displayN {
    display: none;
}


body.fade-out {
    opacity: 0;
    transition: opacity 0.5s ease;
}


/* ---------------------------------------------------------- */
/* -------------------------- HEADER -------------------------- */
/* ---------------------------------------------------------- */

/* ======================================== */
/* ESTILOS BASE (MOBILE FIRST)              */
/* ======================================== */

.cabecalhoMobile {
    background-color: #216c86;
    display: flex;
    padding: 10px;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    color: white;
}

    .cabecalhoMobile a {
        color: white !important;
        text-decoration: none
    }

#navLogin {
}

    #navLogin ul {
        list-style-type: none;
        padding: 10px 20px 0px 0px;
        display: flex;
        flex-direction: row;
        gap: 10px;
    }

        #navLogin ul li a {
            text-decoration: none;
            color: white;
        }

.cabecalhoDesktop {
    display: none;
}

header {
    width: 100%;
    display: flex;
    flex-direction: column;
    position: fixed;
    z-index: 1000;
    background-color: white;
}

#btnAreaDoClienteMobile {
    margin-top: 10px;
}

#btnAreaDoClienteDesktop {
    display: none;
}

.btnAreaDoCliente {
    background-color: #ff7724;
    color: white;
    font-weight: bold;
    border: transparent;
    border-radius: 10px;
    padding: 5px;
    cursor: pointer;
    display: block;
}

    .btnAreaDoCliente:hover {
        background-color: rgb(209, 95, 24);
    }

.headerMain {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 10vw;
}

img#logoMobile {
    height: 50px;
}

img#logoDesktop {
    display: none;
}

img#menuTruckar {
    width: 20px;
    height: 16px;
    cursor: pointer;
}

img#menuClose {
    width: 30px;
    height: 30px;
    cursor: pointer;
}


#navMenu {
    position: fixed;
    top: 180px;
    padding-bottom: 180px;
    right: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999;
    transform: translateX(100%);
    transition: transform 0.4s ease-in-out;
}

    #navMenu.active {
        transform: translateX(0);
    }

    #navMenu ul {
        list-style-type: none;
        background-color: #014456;
        padding: 0;
        display: flex;
        flex-direction: column;
        height: 100%;
        justify-content: space-evenly;
        align-items: center;
    }

        #navMenu ul li a {
            text-decoration: none;
            color: white;
            font-size: 25px;
        }

            #navMenu ul li a:hover {
                color: white !important;
            }

        #navMenu ul li.menuItem {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            text-align: center;
            padding: 0px 20px;
            cursor: pointer;
            height: 100%;
            width: 100vw;
        }


.hoverMenu {
    background: #ff772480;
}


/* ---------------------------------------------------------- */
/* -------------------------- FOOTER -------------------------- */
/* ---------------------------------------------------------- */


footer {
    background-color: #014456;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

    footer img {
        width: 300px;
    }

#localizacaoTruckar {
    width: 80vw;
}

.footerLeft {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.footerRight {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    color: white;
}

    .footerRight h1 {
        color: #ffbd59;
        margin-top: 20px;
    }

#dadosRodape {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

#iconsRedesSociais {
    width: 300px;
    display: flex;
    justify-content: center;
    gap: 30px;
}

    #iconsRedesSociais span {
        font-size: 30px;
    }

.copyright {
    margin-top: 10px;
    text-align: center;
}



/* ---------------------------------------------------------- */
/* -------------------------- EXTERNO -------------------------- */
/* ---------------------------------------------------------- */


#btnWhatsApp {
    position: fixed;
    right: 2vw;
    bottom: 5vw;
    height: 70px;
    width: 70px;
    font-size: 55px;
    color: white;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 1000;
    /* Animação: nome, duração, repetição infinita */
    animation: pulseWpp 2s infinite;
    transition: transform 0.3s ease;
    font-size: 50px;
}

    #btnWhatsApp:hover {
        transform: scale(1.1);
        animation: none; /* Para a pulsação quando o usuário interage */
    }

#formWhatsApp {
    background-color: #014456;
    border-radius: 20px;
    width: 320px;
    position: fixed;
    right: 2vw;
    bottom: 5vw;
    display: flex;
    flex-direction: column;
    padding: 30px 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transform: translateY(50px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

    #formWhatsApp.diplayActiveWhatsApp {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

.wppSector {
    display: flex;
    align-items: center;
    background-color: #216c86;
    color: white;
    padding: 15px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: bold;
    margin-bottom: 5px;
    transition: 0.3s;
}

    .wppSector .fa {
        padding: 10px;
    }

    .wppSector:hover {
        background-color: #ff7724;
    }

.wppSectorVerde {
    background-color: #25d366 !important; /* Verde do WhatsApp */
    color: white !important;
    font-weight: bold;
    cursor: pointer;
}

    .wppSectorVerde i {
        color: white !important;
    }

.subMenuWpp {
    padding: 10px 0 10px 15px;
    border-left: 2px solid #ff7724;
    margin-bottom: 10px;
}

.wppLink {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: #25d366;
    color: white !important;
    text-decoration: none;
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 8px;
    font-weight: bold;
    font-size: 14px;
    transition: 0.3s;
}

    .wppLink:hover {
        transform: translateX(5px);
        background-color: #128c7e;
    }

#wppClose {
    width: 25px;
    height: 25px;
    position: absolute;
    top: 15px;
    right: 15px;
    cursor: pointer;
}


@keyframes pulseWpp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}


/* ---------------------------------------------------------- */
/* -------------------------- MEDIA QUERIES -------------------------- */
/* ---------------------------------------------------------- */


@media (min-width: 768px) {

    /* HEADER */

    img#logoMobile {
        display: none;
    }

    img#logoDesktop {
        display: block;
        height: 80px;
    }

    #navMenu {
        top: 210px;
        padding-bottom: 210px;
    }
   
}


@media (min-width: 1024px) {

    #btnWhatsApp {
        height: 100px;
        width: 100px;
        font-size: 70px;
    }

    /* HEADER */

    .cabecalhoMobile {
        display: none;
    }

    .cabecalhoDesktop {
        background-color: #216c86;
        color: white;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-around;
        width: 100%;
        padding: 20px;
    }

        .cabecalhoDesktop a {
            text-decoration: none;
            color: white !important;
        }


    #navMenu {
        top: 0px;
        padding-bottom: 0px;
        position: static;
        width: auto;
        height: auto;
        background-color: transparent;
        transform: none !important;
        transition: none;
        display: flex !important;
    }

        #navMenu ul {
            flex-direction: row;
            background-color: transparent;
            height: 100px;
            gap: 0;
        }

            #navMenu ul li a {
                color: black;
                font-size: 15px;
            }

            #navMenu ul li.menuItem {
                width: auto;
                height: 50%;
            }

                #navMenu ul li.menuItem a.active {
                    color: #ff7724;
                }

                #navMenu ul li.menuItem.hoverMenu a {
                    color: white;
                }

    .hoverMenu {
        background-color: #ff7724;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        border-radius: 10px;
        color: white;
    }


    #btnAreaDoClienteMobile {
        display: none;
    }

    #btnAreaDoClienteIntermediario {
        display: block;
        width: 150px;
        order: 1;
    }

    .headerMain {
        width: 100%;
        padding: 10px 2vw;
    }

    img#menuTruckar {
        display: none;
    }

    img#menuClose {
        display: none;
    }

    #navMenu {
        position: static;
        display: flex !important;
        justify-content: space-around;
        height: 100px;
    }

        #navMenu ul {
            padding: 0px;
            background-color: transparent;
            flex-direction: row;
            gap: 0px;
            border-radius: 0px;
            align-items: center;
            height: 100px;
        }


    /* FOOTER */

    footer {
        flex-direction: row;
    }

    #localizacaoTruckar {
        width: 50vw;
    }

    .footerLeft {
        padding-bottom: 30px;
    }

    .footerRight {
        align-items: flex-start;
        padding-left: 5vw;
        height: 100%;
    }


}


@media (min-width: 1440px) {

    /* HEADER */

    #btnAreaDoClienteIntermediario {
        display: none;
    }

    #btnAreaDoClienteDesktop {
        display: block;
        width: 280px;
        padding: 10px;
        align-self: start;
        margin-top: 25px;
    }

    .headerMain {
        justify-content: space-around;
    }

    #navMenu {
        width: 50vw;
    }

    /* FOOTER */

    #localizacaoTruckar {
        width: 800px;
    }


}