* {
    margin: 0;
    padding: 0;    box-sizing: border-box;
}

.c {
    display: flex;
    align-items: center;
    justify-content: center;
}

.c button {
    justify-content: end;
}

.c-img {
    display: flex;
    align-items: center;
    height: 110px;
}

.c-img a::after {
    content: none;
}

.lista {
    position: absolute;
    font-family: "Poppins";
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 40px;
    list-style: none;
}

.logo {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease;
    border-radius: 5px;
}

.logo:hover {
    transform: scale(1.05);
}

.menu {
    background: #1A1A1A;
    border-bottom: 1px solid #333333;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 10px 50px;

    box-shadow: 0 5px 10px rgba(212, 176, 106, 0.15);

    position: fixed;
    top: 0;
    left: 0;
    width: 100%;

    height: 80px;

    z-index: 10000;
}

.container-btn-menu {
    display: flex;
    align-items: center;
    gap: 10px;
    width: auto;
}

#abrirMenu {
    justify-content: end;
    background: none;
    z-index: 1000;
    border: none;
}

@media (max-width: 768px) {
    #abrirMenu {
        display: none;
    }
}

#abrirMenu i {
    font-size: 28px;
    color: #F5F5F5;
}

.sidebar {
    position: fixed;
    top: 0;
    right: 0;
    border-left: 2px solid #D4B06A;

    width: 350px;
    height: 100vh;

    background: #1A1A1A;

    padding: 30px;

    overflow-y: auto;

    transform: translateX(100%);
    transition: .4s ease;

    z-index: 30000;
}

.sidebar.ativo {
    transform: translateX(0);
}

.sidebar {
    overflow-y: auto;

    /* Firefox */
    scrollbar-width: none;

    /* IE e Edge antigo */
    -ms-overflow-style: none;
}

/* Chrome, Edge, Opera e Safari */
.sidebar::-webkit-scrollbar {
    display: none;
}

.btn-fechar {
    background: none;
    border: none;

    font-size: 28px;

    cursor: pointer;

    position: absolute;
    top: 20px;
    right: 20px;
}

.bf {
    color: #D4B06A;
}


.btn-sidebar {
    background: #D4B06A;
    color: #1A1A1A;

    text-decoration: none;

    padding: 14px 22px;

    border-radius: 8px;

    font-weight: 600;

    margin-top: 10px;

    transition: .3s;
}

.btn-sidebar:hover {
    background: #BE9A55;
}

.contatos a {
    color: #F5F5F5;
    text-decoration: none;
    transition: .3s;
}

.contatos a:hover {
    color: #D4B06A;
}

.container-sidebar {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.container-sidebar img {
    width: 220px;
    height: auto;
    margin-bottom: 20px;
}

.container-sidebar h2 {
    color: #D4B06A;
    margin-bottom: 15px;
}

.container-sidebar p {
    color: #EDEDED;
    line-height: 1.7;
    margin-bottom: 15px;
}

.contatos {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 20px 0;
}

.contatos a {
    color: #F5F5F5;
    text-decoration: none;
}

.btn-sidebar {
    background: #D4B06A;
    color: #1A1A1A;
    text-decoration: none;
    padding: 14px 22px;
    border-radius: 8px;
    font-weight: 600;
    margin-top: 10px;
}

/* Fundo escuro */
#overlay {
    position: fixed;
    inset: 0;

    background: rgba(0, 0, 0, 0.6);

    opacity: 0;
    visibility: hidden;

    transition: .4s ease;

    z-index: 20000;
}

#overlay.ativo {
    opacity: 1;
    visibility: visible;
}

.menu ul {
    list-style: none;
    display: flex;
    gap: 40px;
    align-items: center;
}

.menu li {
    position: relative;
}

.menu a {
    position: relative;
    text-decoration: none;
    color: #F5F5F5;
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s ease;
}

.menu a:hover {
    color: #D4B06A;
}

.menu a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -5px;

    width: 0%;
    height: 2px;
    background: #D4B06A;

    transform: translateX(-50%);
    transition: width 0.3s ease;
}

/* hover */
.menu a:hover::after {
    width: 100%;
}

/* ativo */
.menu a.ativo {
    color: #D4B06A;
}

.menu a.ativo::after {
    width: 100%;
}

.menu-mobile {
    display: none;
}

/* Menu Mobile */

@media (max-width: 1200px) {

    .container-btn-menu .menu-mobile {
        display: block;
        font-size: 28px;
        color: #D4B06A;
        cursor: pointer;
    }

    .container-btn-menu #abrirMenu {
        display: block;
        cursor: pointer;
    }

    .lista {
        position: fixed;
        top: 80px;
        left: 50%;
        transform: translate(-50%, -150%);

        width: 90%;
        max-width: 300px;

        background: #1A1A1A;
        border: 1px solid #333333;
        border-radius: 10px;
        padding: 20px;

        box-shadow: 0 10px 30px rgba(212, 176, 106, 0.15);

        transition: 0.3s ease;

        display: flex;
        justify-content: center;
    }

    .lista.active {
        transform: translate(-50%, 0);
    }

    .menu ul {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
}

@media (max-width: 1200px) {
    .c {
        justify-content: space-between;
        width: 100%;
    }

    .menu-mobile {
        display: block;
    }
}

#menu-rpm {
    position: relative;

    display: inline-block;

    padding: 10px 18px;

    border: 1px solid #D4B06A;
    border-radius: 8px;

    color: #D4B06A;
    text-decoration: none;

    overflow: hidden;

    transition: color .3s ease;

    z-index: 1;
}

#menu-rpm:hover {
    color: #1A1A1A;
}

#menu-rpm:hover::before {
    width: 100%;
}

#menu-rpm::before {
    content: "";

    position: absolute;
    top: 0;
    left: 0;

    width: 0;
    height: 100%;

    background: #D4B06A;

    transition: width .35s ease;

    z-index: -1;
}

/* ========== RPM MODE ========== */

.menu.rpm-mode {
    background: #FFFFFF;
    border-bottom: 1px solid #D9D9D9;

    box-shadow: 0 5px 15px rgba(90, 154, 201, 0.10);

    position: fixed;
    top: 0;
    left: 0;
    width: 100%;

    z-index: 10000;
}

.menu.rpm-mode a {
    color: #1A1A1A;
}

.menu.rpm-mode a:hover,
.menu.rpm-mode a.ativo {
    color: #5A9AC9;
}

.menu.rpm-mode a::after {
    background: #5A9AC9;
}

.menu.rpm-mode #abrirMenu i {
    color: #1A1A1A;
}

/* Sidebar RPM */

.sidebar.rpm-mode {
    background: #FFFFFF;
    color: #1A1A1A;
}

/* Overlay RPM */

#overlay.rpm-mode {
    background: rgba(0, 0, 0, 0.4);
}

/* Mobile RPM */

@media (max-width: 1200px) {

    .menu.rpm-mode .menu-mobile {
        color: #5A9AC9;
    }

    .menu.rpm-mode .lista {
        background: #FFFFFF;
        border: 1px solid #D9D9D9;

        box-shadow: 0 10px 25px rgba(90, 154, 201, 0.12);
    }

    .menu.rpm-mode ul {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
}

/* Botão fechar sidebar */

.btn-fechar {
    position: absolute;
    top: 20px;
    right: 20px;

    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: none;
    border: none;

    cursor: pointer;

    font-size: 28px;

    color: inherit;

    z-index: 50000;

    transition: transform .3s ease;
}

.btn-fechar:hover {
    transform: rotate(90deg);
}

/* ================= RPM MODE ================= */

/* Menu */

.menu.rpm-mode {
    background: #F5F5F5;
}

.menu.rpm-mode a {
    color: #1a1a1a;
}

.menu.rpm-mode a:hover {
    color: #5A9AC9;
}

.menu.rpm-mode a::after {
    background: #5A9AC9;
}

.menu.rpm-mode #abrirMenu i {
    color: #1A1A1A;
}

/* Sidebar */

.sidebar.rpm-mode {
    background: #FFFFFF;
    color: #333333;
    border-left: 2px solid #5A9AC9;
}

/* Título */

.sidebar.rpm-mode h2 {
    color: #5A9AC9;
}

/* Texto */

.sidebar.rpm-mode p {
    color: #666666;
}

/* Contatos */

.sidebar.rpm-mode .contatos a {
    color: #333333;
}

.sidebar.rpm-mode .contatos a:hover {
    color: #5A9AC9;
}

/* Botão */

.sidebar.rpm-mode .btn-sidebar {
    background: #5A9AC9;
    color: #FFFFFF;
}

.sidebar.rpm-mode .btn-sidebar:hover {
    background: #4A89B8;
}

/* Botão fechar */

.sidebar.rpm-mode .btn-fechar {
    color: #5A9AC9;
}

.sidebar.rpm-mode .bf {
    color: #5A9AC9;
}

.sidebar.rpm-mode .btn-fechar:hover {
    color: #4A89B8;
}

/* Overlay */

#overlay.rpm-mode {
    background: rgba(90, 154, 201, 0.15);
}

.menu.rpm-mode #menu-rpm {
    border-color: #5A9AC9;
    color: #5A9AC9;
}

.menu.rpm-mode #menu-rpm::before {
    background: #5A9AC9;
}

.menu.rpm-mode #menu-rpm:hover {
    color: #FFFFFF;
}