@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 65vw !important;
    }
}

img.foto {
    object-fit: cover;
}

body {
    font-family: Inter, Arial, Helvetica, sans-serif;
}


/*------------------------------------------------------------------------------------------------------------------ */
/* HEADER RESPONSIVO */
/*------------------------------------------------------------------------------------------------------------------*/
header {
    color: var(--branco);
    background-color: var(--preto);
    height: 80px;
    width: 100vw;
    padding: 10px 8vw;
    display: flex;
    text-align: center;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;

    position: sticky;
    top: 0;
}

header .site-branding img {
    max-height: 100px;
}

nav #primary-menu ul {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
}

@media (max-width:999px) {
    nav #primary-menu ul {
        flex-direction: column;
    }
}

header li {
    list-style: none;
}

header .contact-link.whatsapp {
    display: none;
}

/*------------------------------------------------------------------------------------------------------------------ */
/* BUTTONS */
/*------------------------------------------------------------------------------------------------------------------*/

.button, button {
    padding: 10px 20px;
    border-radius: 50px;
    transition: color 0.5s ease-in-out;
    border: none;

    background: var(--degrade-dourado);
    color: var(--preto);
    font-weight: bold;
    display: inline-block;

    text-align: center;
    font-weight: 400;
    margin-top: 20px;
}

.button:hover , button:hover {
    background: var(--degrade-dourado-escuro);
    color: var(--preto);
}

.container-button {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
}

.button-simple {
    transition: 0.3s;
    border: none;
    font-weight: bold;
}

.button-simple:hover {
    color: var(--dourado);
}

.button img.icon,
button img.icon {
    width: 20px;
    margin: 0 5px 2px 0;
}

/*------------------------------------------------------------------------------------------------------------------ */
/* MENU RESPONSIVO - DESKTOP (MIN 999px) */
/*------------------------------------------------------------------------------------------------------------------*/
@media (min-width: 999px) {
    header .infos {
        display: flex;
        gap: 10px;
    }
    
    header .infos .contact-link img {
        width: 14px;
    }
    
    header .infos .contact-link a {
        color: var(--branco);
        font-size: 12px;
    }
    
    header .infos .contact-link a:hover {
        color: var(--bege);
    }
    
    header li.menu-item a:not(header li.menu-item .sub-menu a) {
        text-decoration: none;
        color: var(--dourado);
    }

    header .menu-item > a:hover:not(.sub-menu a) {
        color: var(--bege);
    }

    header a:hover:not(header li.menu-item .sub-menu a) {
        color: var(--bege);
    }

    /* Style for menu items excluding submenu items */
    nav ul li.menu-item:not(header li.menu-item .sub-menu li) {
        margin-left: 20px;
        text-transform: uppercase;
        font-weight: 600;
        list-style: none;
    }

    nav li.menu-item-has-children:hover > a::after {
        transform: rotate(225deg);
    }

    /* Submenu hover effect: makes the submenu visible with a smooth transition */
    nav li.menu-item-has-children .sub-menu {
        display: block;
        position: absolute;
        top: 70px;
        border-top: 1px solid var(--dourado);
        background-color: var(--preto);
        padding: 20px;
        width: 300px;
        box-shadow: 0px 4px 6px rgba(30, 0, 221, 0.19);
        border-radius: 0 0 10px 10px;
        opacity: 0;
        transition: opacity .5s ease, visibility .5s ease;
    }

    nav li.menu-item-has-children:hover .sub-menu {
        opacity: 1;
    }

    .submenu li.menu-item a {
        color: var(--branco);
    }

    header li.menu-item .sub-menu a, header li.menu-item .sub-menu li {
        color: var(--branco);
        text-transform: none;
        font-weight: 500;
        margin-left: 0;
        text-decoration: none;
        text-align: left;
        list-style: none;
    }

    header li.menu-item .sub-menu li:hover {
        color: #fff;
    }

    header .sub-menu li:not(:last-child) {
        margin-bottom: 20px;
    }

    /* Hide mobile-menu hamburger in Desktop */
    nav .mobile-menu {
        display: none;
        transition: all 0.3s ease;
    }

    /* Show nav and hide mobile menu on screens larger than 999px */
    #primary-menu {
        display: flex;
    }

    .mobile-menu {
        display: none;
    }
}

/*------------------------------------------------------------------------------------------------------------------ */
/* MENU RESPONSIVO - MOBILE (MAX 999px) */
/*------------------------------------------------------------------------------------------------------------------*/
@media (max-width: 999px) {
    header {
        background-color: var(--preto);
        border-bottom: 1px solid var(--dourado);
        position: sticky;
        top: 0;
    }

    header .site-branding {
        order: 1;
    }

    header .infos {
        order: 2;
    }

    header nav {
        order: 3;
    }

    /* MENU HAMBURGUER */
    .mobile-menu .lines {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }

    .mobile-menu .lines div {
        width: 30px;
        height: 4px;
        background-color: var(--dourado);
        transition: all 0.3s ease;
    }

    .mobile-menu .lines.active .line1 {
        transform: rotate(-45deg) translate(-8px, 8px);
    }

    .mobile-menu .lines.active .line2 {
        opacity: 0;
    }

    .mobile-menu .lines.active .line3 {
        transform: rotate(45deg) translate(-4px, -5px);
    }

    .menu-item .sub-menu {
        display: none;
    }

    .menu-item.active .sub-menu {
        display: block;
    }

    nav .mobile-menu {
        display: block;
        cursor: pointer;
    }

    /* Hide nav and show mobile menu on screens smaller than 999px */
    nav #primary-menu  {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        right: 0;
        background-color: var(--preto);
        box-shadow: 0px 4px 6px rgb(39 48 155 / 16%);
        border-radius: 0 0 10px 10px;
        animation: fadeIn 0.5s ease-in-out;
        width: 100%;
        gap: 30px;
        padding: 50px 0;
        text-align: center;
    }

    nav #primary-menu a {
        color: var(--branco);
        text-transform: initial;
        text-align: left;
        font-weight: 400;
    }

    nav #primary-menu a:hover {
        font-weight: 600;
    }

    nav #primary-menu.active {
        display: flex;
        align-items: flex-start;
        padding: 50px;
        text-align: left;
    }

    .mobile-menu {
        display: block;
    }

    .button, button {
        width: 100%;
    }

    #contact-form .button {
        width: 100%;
    }
}

/* MENU RESPONSIVO - MOBILE (MAX 500px) */
@media (max-width: 500px) {
    nav .nav-list {
        width: 90vw;
        left: 0;
    }
}

/*------------------------------------------------------------------------------------------------------------------ */
/* FOOTER - RODAPÉ */
/*------------------------------------------------------------------------------------------------------------------*/

footer {
    width: 100vw;
    background-color: var(--preto);
    color: var(--branco);
    padding: 6vh 0;
    margin-top: 100px;
}

a.custom-logo-link img {
    width: 200px;
    height: auto;
}

footer .container.content-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

footer .content-footer > div {
    width: 33.3%;
}

footer .site-branding, footer .infos, footer .copyright {
    display: flex;
    justify-content: center;
}

footer .site-branding {
    align-items: center;
}

footer .copyright {
    flex-direction: column;
    align-items: flex-end;
}

footer .infos {
    flex-direction: column;
    align-content: flex-start;
}

footer .copyright span, .copyright a {
    margin-top: 15px;
}

footer .copyright img {
    width: 40px;
}

footer .infos .contact-link .endereco {
    text-align: right;
}

footer .site-branding img {
    max-width: 200px;
}

@media (max-width: 999px) {
    footer {
        padding: 5vh 0;
        margin-top: 100px;
    }
    
    a.custom-logo-link img {
        width: 150px;
        height: auto;
    }
    
    footer .content-footer {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    
    footer .copyright {
        order: 3;
        align-items: center;
    }
    
    footer .site-branding {
        order: 1;
    }
    
    footer .infos {
        order: 2;
    }
    
    footer .content-footer > div {
        width: 100%;
        padding: 20px;
    }
}

/*------------------------------------------------------------------------------------------------------------------ */
/* CONTATO links infos */
/*------------------------------------------------------------------------------------------------------------------*/

.infos .contact-link {
    display: flex;
    gap: 10px;
    margin: 10px 0;
    cursor: pointer;
}

.infos .contact-link span {
    display: block;
    text-transform: uppercase;
    font-size: 12px;
}

.infos .contact-link a {
    font-weight: 600;
}

.infos .contact-link .icon {
    width: 20px;
}

/*------------------------------------------------------------------------------------------------------------------ */
/* ANIMATIONS */
/*------------------------------------------------------------------------------------------------------------------*/

/* Smooth fade-in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

header {
    animation: fadeIn 1s ease-in-out;
}

main {
    animation: fadeIn 0.5s ease-in-out;
}

/*------------------------------------------------------------------------------------------------------------------ */
/* PÁGINAS INTERNAS */
/*------------------------------------------------------------------------------------------------------------------*/

.page-body {
    min-height: 50vh;
    color: var(--preto);
}

.page-body > h1, h2, h3, h4, h5, a {
    color: var(--marrom);
}

.info-text {
    margin: 20px 0;
}

.info-text a {
    text-transform: lowercase;
    font-weight: 600;
}

@media (max-width: 999px) {
    .lista-servicos li a {
        margin-left: 20px;
    }
}

/*------------------------------------------------------------------------------------------------------------------ */
/*  PAGE HOME */
/*------------------------------------------------------------------------------------------------------------------*/

#home .middle-area .container > div {
    padding: 20px 0;
}

#home .middle-area h2 {
    text-transform: uppercase;
    color: var(--marrom);
    font-weight: 600;
}

#home .beneficio .icon {
    width: 50px;
    display: block;
    margin: 10px auto;
}

#home .beneficios {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 40px 0;
    text-align: center;
    flex-wrap: wrap;
}

#home .beneficio {
    width: 200px;
}

#home .beneficio span {
    text-transform: uppercase;
    font-weight: 500;
    margin: 10px
}

#home .quem-somos {
    display: flex;
    gap: 20px;
}

#home .quem-somos .foto {
    min-width: 200px;
    max-width: 500px;
    width: 100vw;
    border-radius: 10px;
    height: 100%;
    object-fit: cover;
}

.section-header {
    margin: 20px 0;
}

#home .principais-produtos .section-header {
    text-align: center;
}

#home .box-produto {
    position: relative;
    padding: 35px;
    width: 280px;
    height: 380px;
    background: var(--dourado);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background-position: center;
    background-size: cover;
    overflow: hidden;
}

#home .box-produto::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(31 26 0 / 60%);
    border-radius: 20px;
    z-index: 1;
}

#home .box-produto * {
    position: relative;
    z-index: 2;
}

#home .box-produtos {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

@media (min-width: 999px) {
    .contato .container {
        display: flex;
        margin-top: 40px;
        gap: 25px;
    }
}
@media (max-width:999px) {
    #home .quem-somos {
        flex-wrap: wrap;
    }

    #home .quem-somos .foto {
        max-width: 100%;
        width: 100%;
        height: 300px;
    }
}

.caracteristicas-produto li {
    color: var(--branco);
    list-style: none;
    font-size: 12px;
}

.box-produtos h3.nome-produto {
    color: var(--branco);
    font-family: "Abril Fatface", serif;
    font-weight: 800;
    font-size: 45px;
    margin-top: 10px;
}

@media (min-width: 999px) {
    #contact-form {
        width: 40vw;
    }
}

/*------------------------------------------------------------------------------------------------------------------ */
/* FORM */
/*------------------------------------------------------------------------------------------------------------------ */

#contact-form {
    display: flex;
    width: 100%;
    flex-direction: column !important;
}

#contact-form .button {
    width: 50%;
}

#contact-form label {
    margin: 10px 0 5px 0;
}

#contact-form label {
    color: var(--dourado);
    font-size: 14px;
}

#contact-form input,
#contact-form textarea {
    padding: 10px;
    border: 1px solid var(--dourado);
    display: block;
}

#contact-form input::placeholder, #contact-form textarea::placeholder {
    color: var(--dourado);
    opacity: 0.5;
}

#contact-form input,
#contact-form textarea {
    width: 100%;
}

#search-form input {
    width: 100%;
    border-radius: 5px 0 0 5px;
}

#contact-form input,
#contact-form textarea {
    border-radius: 5px;
}

/*------------------------------------------------------------------------------------------------------------------ */
/* TABS PRODUTOS */
/*------------------------------------------------------------------------------------------------------------------ */

#produtoTabsContent {
    background-color: var(--preto);
    padding: 50px;
}

#produtoTabsContent h3 {
    color: var(--dourado);
    font-family: "Abril Fatface", serif;
    font-weight: 800;
    font-size: 75px;
}

#produtoTabsContent ul li {
    font-size: 0.8rem;
    margin-left: 14px;
}

#produtoTabsContent ul {
    margin-bottom: 20px;
}

#produtoTabs {
    display: flex;
    justify-content: center;
}

.page-header {
    color: var(--marrom);
    margin: 30px 0;
}

.nav-tabs .nav-link.active {
    background-color: var(--bege) !important;
    border: none;
}

.nav-tabs .nav-link.active:hover {
    color: var(--dourado) !important;
}

.nav-tabs .nav-link {
    color: var(--marrom) !important;
}

.nav-tabs .nav-link:hover {
    color: var(--dourado) !important;
}

#produtoTabsContent {
    background-color: var(--preto);
    padding: 50px;
}

.nav-tabs .nav-link.active {
    background-color: var(--marrom);
    color: var(--bege);
}

.album-produto img.img-fluid {
    border-radius: 20px;
}

.tab-pane li {
    color: var(--branco);
}

@media (max-width: 999px) {
    #produtoTabsContent .tab-pane .row {
        display: flex;
        flex-direction: column-reverse;
        gap: 20px;
    }
}