/*********************************************************/
/*CSS MODE - MRPSTUDIO 2026
/*********************************************************/
/* VERSÃO 2 */
.logo { display: flex; align-items: center; }
.logo-img { height: 65px; width: auto; display: block; }
/* ========== MENU CENTRALIZADO ========== */
.menu { position: absolute; left: 50%; transform: translateX(-70%); z-index: -1;}
.menu-list { list-style: none; display: flex; align-items: center; gap: 45px; }
.menu-list > li > a { display: flex; align-items: center; gap: 6px; font-size: 0.9em; text-transform: uppercase; font-weight: 400; color: #fff; padding: 10px 0; transition: color .2s ease; }
.menu-list > li > a:hover { color: var(--cor_3); }
.caret { transition: transform .2s ease; }
/* ========== SUBMENU ========== */
.has-submenu { position: relative; }
.submenu { position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(10px); min-width: 210px; background: #fff; border-radius: 8px; padding: 8px 0; list-style: none; opacity: 0; visibility: hidden; transition: opacity .2s ease, transform .2s ease, visibility .2s; }
.has-submenu:hover .submenu, .has-submenu:focus-within .submenu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.has-submenu:hover .caret { transform: rotate(180deg); }
.submenu a { display: block; padding: 10px 20px; font-size: .9rem; color: var(--cor_1); transition: background .2s ease, color .2s ease; text-align: center; text-transform: uppercase; }
.submenu a:hover { background: var(--cor_2); color: #FFF}
/* ========== AÇÕES DIREITA ========== */
.header-actions { display: flex; align-items: center; gap: 10px; }
.btn { display: inline-flex; align-items: center; gap: 8px; font-size: 0.9em; font-weight: 900; text-transform: uppercase; padding: 10px 18px; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.btn i {font-size: 1.2em;}
.btn-cart { color: var(--cor_3); }
.btn-cart:hover { color: #fff; }
.btn-whats { color: var(--cor_3); }
.btn-whats:hover { color: #fff;  }
.menu-ctas { display: none; }
/* ========== HAMBURGUER ========== */
.hamburger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 42px; height: 42px; padding: 10px; background: none; border: none; cursor: pointer; z-index: 1001; }
.hamburger span { display: block; width: 100%; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s ease, opacity .3s ease; }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
/* ========== RESPONSIVO ========== */
@media (max-width: 1152px) {
  .menu-list {gap: 15px; }
}
@media (max-width: 950px) {

    .hamburger {
        display: flex;
    }

    .header-actions {
        display: none;
    }

    .menu {
        position: fixed;
        inset: 0;
        left: 0;
        transform: none;
        background: var(--cor_1);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;

        opacity: 0;
        visibility: hidden;
        pointer-events: none; /* IMPORTANTE */

        transition: opacity .3s ease, visibility .3s;
        z-index: 1000;
    }

    .menu.open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto; /* volta a receber cliques */
    }

    .menu-list {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        width: 100%;
        padding: 0 10px;
    }

    .menu-list > li {
        width: 100%;
        text-align: center;
    }

    .menu-list > li > a {
        font-size: 1.25rem;
        justify-content: center;
        width: 100%;
        display: flex;
    }

    .has-submenu {
        width: 100%;
    }

    .submenu {
        position: static;
        transform: none;
        width: 100%;
        min-width: 10px;
        background: transparent;
        border: none;
        display: none;
        opacity: 1;
        visibility: visible;
        padding: 12px 0 0;
        margin: 0;
        list-style: none;
        text-align: center;
    }

    .has-submenu.open .submenu {
        display: block;
        width: 100%;
        margin: 0 auto;
        padding: 12px 0 0;
        text-align: center;
    }

    .submenu li {
        display: flex;
        justify-content: center;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .submenu li a {
        display: inline-block;
        width: auto;
        padding: 10px 0;
        color: #fff;
        text-align: center;
    }

    .has-submenu.open .caret {
        transform: rotate(180deg);
    }

    .submenu a:hover {
        background: transparent;
        color: #2b8b70;
    }

    .menu-ctas {
        display: flex;
        flex-direction: column;
        gap: 14px;
        margin-top: 40px;
        width: 100%;
        max-width: 260px;
        align-items: stretch;
    }

    .menu-ctas .btn {
        justify-content: center;
    }

    .container {
        max-width: 95%;
        margin: 0 auto;
    }
}
body.menu-open { overflow: hidden; }