@import url('https://fonts.cdnfonts.com/css/bodidota');

header {
    background-color: var(--red-color) !important;
}
 
* {
    font-family: 'Creato Display', sans-serif;
    text-decoration: none;
    list-style: none;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

#voltarAoTopo {
    position: fixed;
    bottom: 60px;
    right: 30px;
    background-color: var(--secondary-color);
    color: var(--bg-color);
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    display: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all .50s ease;
    z-index: 100001;
}
 
#voltarAoTopo:hover {
    transform: scale(1.1);
}
 
#voltarAoTopo.show {
    display: block;
}

:root {
    --white-color: #fff;
    --main-color: #5d050ca8;
    --red-color: #5D050C;
    --secondary-color: #896a3e;
    --secondary-color-opacity: #896a3e9a;
    --bg-color: #000000;
    --background-cookies-color: rgba(0, 0, 0, 0.788);
    --whatsapp-color: #25d366;
    --border-black:  rgba(0, 0, 0, 0.425);
    --border-black-shadow:  rgba(0, 0, 0, 0.171);
    --border-white: rgba(255, 255, 255, 0.404);
    --text-grey:  rgb(61, 61, 61);
}

html {
    scroll-behavior: smooth;
}

body::-webkit-scrollbar {
    display: none;
}

.wrapper.dimmed {
    opacity: 0.8;
    transition: all .50s ease;
}

@keyframes flutuar {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.menu-solucoes-container {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 2rem;
    margin-top: calc(100px + 2rem);
    margin-bottom: 2rem;
}

.menu-solucoes {
    background-color: var(--white-color);
    padding: 1rem;
    border-radius: 5px;
    max-width: 235px;
    width: 100%;
    max-height: 315px;
    height: fit-content;
    position: absolute;
    right: 10%;
    top: 140px;
    align-self: flex-start;
    box-shadow: 0 0 10px var(--border-black-shadow);
}

.menu-solucoes ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 0;
    margin: 0;
}

.menu-solucoes ul li {
  border-bottom: 1px solid var(--secondary-color-opacity);
  list-style: none;
}

.menu-solucoes ul li a {
    text-decoration: none;
    color: var(--text-grey);
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 5px;
    transition: 0.3s;
    display: flex;
    align-items: center; 
    justify-content: start;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.menu-solucoes ul li a::before {
    content: '\25B6';
    position: absolute;
    font-size: 10pt;
    left: 12px;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    color: var(--red-color);
}

.menu-solucoes ul li a:hover {
    color: var(--red-color);
    padding-left: 32px;
}

.menu-solucoes ul li a:hover::before {
    opacity: 1;
    transform: translateX(0);
    color: var(--red-color);
}

.menu-solucoes ul li.active a {
    color: var(--red-color);
    padding-left: 32px; 
}

.menu-solucoes ul li.active a::before {
    opacity: 1;
    transform: translateX(0); 
    color: var(--red-color);
}

.menu-solucoes .ultimo_link {
    border-bottom: none;
}

.menu-solucoes ul.dropdown-menu-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 0;
    margin: 0;
}

.conteudo-solucoes {
    max-width: 800px;
    padding: 2rem;
    background-color: var(--white-color);
    color: var(--text-grey);
    border-radius: 10px;
}

.conteudo-solucoes h1 {
    font-weight: 400;
    font-size: 24pt;
}

.conteudo-solucoes h3 {
    font-weight: 700;
    color: var(--secondary-color);
    font-size: 10pt;
    margin-bottom: 0.5rem;
}

.conteudo-solucoes h4 {
    margin-bottom: 0.7rem;
    font-weight: 400;
}

.conteudo-solucoes p {
    line-height: 1.7;
}

main.conteudo-solucoes h4 {
    position: relative;
    padding-left: 20px;
     margin-bottom: 1em;
     line-height: 1.5;
}
 
main.conteudo-solucoes h4::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: var(--secondary-color);      
    border-radius: 0;
    position: absolute;
    left: 0px;
    top: 0.50em;
}

.separador {
    margin-bottom: 3rem;
    margin-top: 1.7rem;
    border-bottom: 3px solid var(--secondary-color);
    max-width: 200px;
}

.dropdown-header {
    display: none;
}

.menu-solucoes h1 {
    display: none;
}

.menu-solucoes-container.dimmed {
    opacity: 0.5;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

@media (max-width: 720px) {
    
    .menu-solucoes-container {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        padding: 0 0;
        margin-top: calc(100px + 1rem);
    }
    
    .menu-solucoes h1 {
        display: block;
        font-size: 1.2rem;
        text-align: start;
        max-width: 100%;
        width: 90%; 
        padding-bottom: 0.5rem;
        margin: 0 auto;
        color: var(--text-grey);
        font-weight: 550;
    }

    .conteudo-solucoes {
        max-width: 100%;
        width: 90%; 
        padding: 1rem;
        order: 2;
        margin: 0 auto; 
    }

    .menu-solucoes {
        position: relative;
        width: 90%;
        margin: 0 auto;
        right: 0;
        max-width: 100%;
        min-width: unset;
        padding: 0;
        order: 1;
        border-radius: 0;
        box-shadow: none;
        top: 10px;
    }
    
    .dropdown-header {
        display: block;
        background-color: rgb(248, 248, 248);
        border: 0.5px solid grey;
        color: var(--text-grey);
        padding: 15px 20px;
        text-align: left;
        font-weight: 700;
        cursor: pointer;
        border-radius: 5px;
        position: relative;
        width: 100%;
        margin: 0; 
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
        z-index: 100; 
    }
    
    .dropdown-header i {
        float: right;
        transition: transform 0.3s;
    }

    .menu-solucoes ul.dropdown-menu-list {
        display: none;
        position: absolute;
        width: 100%;
        top: 100%; 
        left: 0;
        transform: none;
        z-index: 99; 
        
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        border: 1px solid #ccc;
        border-top: none;
        border-radius: 0 0 5px 5px;
        background-color: var(--white-color);
        max-width: 100%; 
    }

    .menu-solucoes ul.dropdown-menu-list li {
        border-bottom: 1px solid var(--border-black-shadow);
    }

    .menu-solucoes.open ul.dropdown-menu-list {
        display: flex;
    }
    
    .menu-solucoes.open .dropdown-header i {
        transform: rotate(180deg);
    }
    
    .menu-solucoes ul li a:hover,
    .menu-solucoes ul li.active a {
        padding-left: 16px;
    }
    .menu-solucoes ul li a::before {
        content: '';
    }
}