@import "reset.css";


/* =========================================================
   CABEÇALHO DESKTOP OCULTO NO MOBILE
========================================================= */

/* Mobile */
#cabecalho {
    display: none;
}

#cabecalho-mobile {
    display: block;
}

/* =========================================================
   CABEÇALHO MOBILE
========================================================= */

#cabecalho-mobile {

    display: block;

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 78px;

    background-color: var(--corSegundaria);

    z-index: 5000;

    box-shadow:
        0 2px 12px rgba(0, 0, 0, 0.08);
}


/* =========================================================
   CONTEÚDO
========================================================= */

.conteudo-cabecalho-mobile {

    width: 100%;
    height: 78px;

    padding: 0 20px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    box-sizing: border-box;
}


/* =========================================================
   LOGO
========================================================= */

.logo-mobile {

    display: flex;

    align-items: center;

    flex-shrink: 0;

    text-decoration: none;
}


.logo-mobile img {

    display: block;

    width: 145px;

    height: auto;
}


/* =========================================================
   AÇÕES
========================================================= */

.acoes-mobile {

    display: flex;

    align-items: center;

    gap: 10px;
}


/* =========================================================
   TELEFONE
========================================================= */

.botao-telefone-mobile {

    width: 39px;
    height: 39px;

    display: flex;

    align-items: center;
    justify-content: center;

    border: 1px solid var(--corPrincipal);

    border-radius: 50%;

    background-color: var(--corBranca);

    box-sizing: border-box;

    text-decoration: none;

    transition:
        transform .25s ease,
        background-color .25s ease;
}


.botao-telefone-mobile img {

    width: 19px;
    height: 19px;

    display: block;

    object-fit: contain;
}


/* =========================================================
   BOTÃO MENU
========================================================= */

#botao-menu-mobile {

    width: 40px;
    height: 35px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 5px;
    background-color: var(--corPrincipal);

    padding: 0;

    cursor: pointer;

    box-sizing: border-box;

    transition:
        transform .25s ease,
        background-color .25s ease;
}


#botao-menu-mobile img {

    width: 20px;
    height: 20px;

    display: block;

    object-fit: contain;
}




/* =========================================================
   ESTADO MENU ABERTO
========================================================= */

body.menu-aberto #botao-menu-mobile,
body.menu-aberto .botao-telefone-mobile {

    display: none;
}


body.menu-aberto #fechar-menu-mobile {

    display: flex;
}


/* =========================================================
   OVERLAY
========================================================= */

#menu-overlay {

    position: fixed;

    inset: 0;

    width: 100%;
    height: 100vh;

    background-color: rgba(0, 0, 0, .35);

    opacity: 0;

    visibility: hidden;

    pointer-events: none;

    z-index: 4500;

    transition:
        opacity .35s ease,
        visibility .35s ease;
}


body.menu-aberto #menu-overlay {

    opacity: 1;

    visibility: visible;

    pointer-events: auto;
}


/* =========================================================
   MENU LATERAL
========================================================= */

#menu-lateral-mobile {

    position: fixed;

    top: 0;
    right: 0;

    padding-bottom: 30px;

    width: 70%;
    max-width: 320px;

    height: 100vh;

    background-color: var(--corSegundaria);

    z-index: 5500;

    transform: translateX(100%);

    transition:
        transform .4s cubic-bezier(.4, 0, .2, 1);

    box-shadow:
        -8px 0 30px rgba(0, 0, 0, .20);

    overflow: hidden;
}


/* MENU ABERTO */

body.menu-aberto #menu-lateral-mobile {

    transform: translateX(0);
}


/* =========================================================
   NAVEGAÇÃO
========================================================= */

.navegacao-mobile {

    position: relative;

    width: 100%;
    height: 100%;

    padding: 50px 25px 25px;

    display: flex;

    flex-direction: column;

    box-sizing: border-box;
}


/* =========================================================
   BOTÃO FECHAR
========================================================= */

.fechar {
    position: absolute;

    top: 10px;
    right: 20px;

    width: 36px;
    height: 32px;

    padding: 0;

    border: none;
    border-radius: 4px;

    background-color: var(--corPrincipal);

    cursor: pointer;

    z-index: 10;

    display: flex;
    align-items: center;
    justify-content: center;
}


/* =========================================================
   IMAGEM DO BOTÃO
========================================================= */

.fechar img {
    width: 25px;
    height: 25px;
    padding-top: 10px;

    object-fit: contain;

    display: block;

    margin-bottom: 10px;
}


/* =========================================================
   EFEITO AO PASSAR O MOUSE
========================================================= */

.fechar:hover {
    background-color: var(--corSecundaria);
}
/* =========================================================
   LOGO DO MENU
========================================================= */

.logo-menu-mobile {

    width: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;

    margin-bottom: 18px;
}


/* LOGO */

.logo-menu-mobile img {

    display: block;

    width: 170px;
    max-width: 100%;

    height: auto;

    padding: 7px 12px;


    box-sizing: border-box;
}


/* DESCRIÇÃO */

.logo-menu-mobile p {

    width: 100%;

    margin: 5px 0 0;

    text-align: center;

    color: var(--corBranca);

    font-size: var(--esp-6);

    line-height: 1.4;

    font-weight:var(--peso-4);
}


/* =========================================================
   LINHA
========================================================= */

/* .linha-menu-mobile {

    width: 90%;

    height: 1px;

    margin: 0 auto 22px;

    background-color:
        color-mix(
            in srgb,
            var(--corBranca) 20%,
            transparent
        );
} */


/* =========================================================
   LISTA
========================================================= */

.lista-menu-mobile {

    width: 100%;

    list-style: none;

    margin: 0;
    padding: 0;

    padding: 20px 0 0;

}


.lista-menu-mobile li {

    width: 100%;

    margin-bottom: 10px;
    background-color: rgba(216, 174, 118, 0.10);
    border-radius: 5px;
}


/* =========================================================
   LINKS
========================================================= */

.lista-menu-mobile li a {

    width: 100%;

    min-height: 42px;

    padding: 0 12px;

    display: flex;

    align-items: center;

    gap: 8px;

    box-sizing: border-box;

    color: var(--corBranca);

    text-decoration: none;

    font-size: var(--esp-5);

    font-weight: var(--peso-4);

    border-radius: 5px;

    transition:
        background-color .25s ease,
        transform .25s ease;
}


/* =========================================================
   ATIVO
========================================================= */

.lista-menu-mobile li a.activo {

    background-color:
        color-mix(
            in srgb,
            var(--corPrincipal) 25%,
            transparent
        );

    transform: translateX(-3px);
}


/* =========================================================
   HOVER
========================================================= */

.lista-menu-mobile li a:hover {

    background-color:
        color-mix(
            in srgb,
            var(--corPrincipal) 25%,
            transparent
        );

    transform: translateX(-3px);
}


/* =========================================================
   ÍCONES
========================================================= */

.icone-menu-mobile {

    width: 27px;
    height: 27px;

    min-width: 27px;

    display: flex;

    align-items: center;
    justify-content: center;



    border-radius: 4px;

    overflow: hidden;
}


.icone-menu-mobile img {

    width: 17px;
    height: 17px;

    display: block;

    object-fit: contain;
}


/* =========================================================
   CONTACTAR
========================================================= */

.contactar-menu-mobile {
    width: 100%;
    margin-top: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.contactar-menu-mobile p {
    margin: 0;
    text-align: center;
    font-size: var(--esp-6);
    font-weight: var(--peso-4);
    line-height: 1.4;
}

.contactar-menu-mobile p span {
    display: block;
    margin-top: 2px;
    font-weight: var(--peso-2);
        font-size: var(--esp-5);
}

.contactar-menu-mobile a {
    min-width: 115px;
    padding: 7px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background-color: var(--corPrincipal);
    color: var(--corBranca);
    text-decoration: none;
    font-size: var(--esp-6);
    font-weight: var(--peso-4);
    border-radius: 30px;
}

.contactar-menu-mobile img {
    width: 15px;
    height: 15px;
    object-fit: contain;
}

/* =========================================================
   REDES SOCIAIS
========================================================= */

.redes-menu-mobile {

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    margin-top: 18px;

    margin-bottom: 30px;
}


.redes-menu-mobile a {

    width: 28px;
    height:28px;

    display: flex;

    align-items: center;
    justify-content: center;

    background-color: var(--corPrincipal);

    border-radius: 50%;

    transition:
        transform .3s ease,
        background-color .3s ease;
  
}


.redes-menu-mobile img {

    width: 16px;
    height: 16px;

    display: block;

    object-fit: contain;
}


.redes-menu-mobile a:hover {

    transform: translateY(-3px);

    background-color: var(--corBranca);
}


/* =========================================================
   BLOQUEAR SCROLL
========================================================= */

body.menu-aberto {

    overflow: hidden;
}


body {

    padding-top: 78px;
}


/* =========================================================
   ECRÃS PEQUENOS
========================================================= */

@media screen and (max-width: 600px) {

    .conteudo-cabecalho-mobile {

        padding: 0 16px;
    }


    .logo-mobile img {

        width: 135px;
    }


    #menu-lateral-mobile {

        width: 85%;
    }

}


/* =========================================================
   TELEMÓVEIS PEQUENOS
========================================================= */

@media screen and (max-width: 380px) {

    .logo-mobile img {

        width: 125px;
    }


    .acoes-mobile {

        gap: 7px;
    }


    .botao-telefone-mobile,
    #botao-menu-mobile {

        width: 36px;
        height: 36px;
    }


    .botao-telefone-mobile img,
    #botao-menu-mobile img {

        width: 17px;
        height: 17px;
    }


    #menu-lateral-mobile {

        width: 88%;
    }

}




/* =========================================================
   TABLET — CABEÇALHO E MENU MOBILE
   768px ATÉ 1024px
========================================================= */

@media screen and (min-width: 768px) and (max-width: 1024px) {


    /* =====================================================
       CABEÇALHO
    ===================================================== */

    #cabecalho {
        display: none;
    }

    #cabecalho-mobile {
        display: block;

        width: 100%;
        height: 95px;
    }


    /* =====================================================
       CONTEÚDO DO CABEÇALHO
    ===================================================== */

    .conteudo-cabecalho-mobile {
        width: 100%;
        height: 95px;

        padding: 0 35px;
    }


    /* =====================================================
       LOGO
    ===================================================== */

    .logo-mobile img {
        width: 175px;
        height: auto;
    }


    /* =====================================================
       AÇÕES
    ===================================================== */

    .acoes-mobile {
        gap: 14px;
    }


    /* =====================================================
       TELEFONE
    ===================================================== */

    .botao-telefone-mobile {
        width: 48px;
        height: 48px;
    }


    .botao-telefone-mobile img {
        width: 23px;
        height: 23px;
    }


    /* =====================================================
       BOTÃO MENU
    ===================================================== */

    #botao-menu-mobile {
        width: 50px;
        height: 44px;

        border-radius: 6px;
    }


    #botao-menu-mobile img {
        width: 24px;
        height: 24px;
    }


    /* =====================================================
       BOTÃO FECHAR
    ===================================================== */

    .fechar {
        top: 15px;
        right: 30px;

        width: 45px;
        height: 40px;

        border-radius: 5px;
    }


    .fechar img {
        width: 29px;
        height: 29px;
    }


    /* =====================================================
       MENU LATERAL
    ===================================================== */

    #menu-lateral-mobile {
        width: 75%;
        max-width: 430px;

        padding-bottom: 40px;
    }


    /* =====================================================
       NAVEGAÇÃO
    ===================================================== */

    .navegacao-mobile {
        padding: 70px 35px 35px;
    }


    /* =====================================================
       LOGO DO MENU
    ===================================================== */

    .logo-menu-mobile {
        margin-bottom: 25px;
    }


    .logo-menu-mobile img {
        width: 210px;

        padding: 8px 14px;
    }


    /* =====================================================
       DESCRIÇÃO DA LOGO
    ===================================================== */

    .logo-menu-mobile p {
        margin-top: 8px;

        font-size: var(--esp-5);

        line-height: 1.4;
    }


    /* =====================================================
       LISTA
    ===================================================== */

    .lista-menu-mobile {
        padding-top: 25px;
    }


    .lista-menu-mobile li {
        margin-bottom: 13px;

        border-radius: 6px;
    }


    /* =====================================================
       LINKS
    ===================================================== */

    .lista-menu-mobile li a {
        min-height: 52px;

        padding: 0 16px;

        gap: 12px;

        font-size: var(--esp-4);

        border-radius: 6px;
    }


    /* =====================================================
       ÍCONES
    ===================================================== */

    .icone-menu-mobile {
        width: 34px;
        height: 34px;

        min-width: 34px;

        border-radius: 5px;
    }


    .icone-menu-mobile img {
        width: 21px;
        height: 21px;
    }


    /* =====================================================
       CONTACTAR
    ===================================================== */

    .contactar-menu-mobile {
        gap: 14px;
    }


    .contactar-menu-mobile p {
        font-size: var(--esp-5);

        line-height: 1.4;
    }


    .contactar-menu-mobile p span {
        margin-top: 3px;

        font-size: var(--esp-4);
    }


    .contactar-menu-mobile a {
        min-width: 145px;

        padding: 9px 14px;

        gap: 7px;

        font-size: var(--esp-5);

        border-radius: 30px;
    }


    .contactar-menu-mobile img {
        width: 18px;
        height: 18px;
    }


    /* =====================================================
       REDES SOCIAIS
    ===================================================== */

    .redes-menu-mobile {
        gap: 11px;

        margin-top: 22px;
        margin-bottom: 35px;
    }


    .redes-menu-mobile a {
        width: 34px;
        height: 34px;
    }


    .redes-menu-mobile img {
        width: 19px;
        height: 19px;
    }


    /* =====================================================
       BODY
    ===================================================== */

    body {
        padding-top: 95px;
    }

}