

article p{
    line-height: 1.6;
    margin-bottom: 20px;
    color: #ccc;
}

article li{
    color: #ccc;
}

.artigo {
    position: relative;
    margin: 0 auto;
    padding: 20px;

    > div {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 20px;

        p {
            margin: 0;
        }

        svg {
            position: relative;
            transition: all 300ms;
        }

        &:hover {
            cursor: pointer;

            >svg {
                transform: translateX(-10px);
            }
        }
    }

    .voltar-todos-produtos{
        a{
            display: flex;
            align-items: center;
        }
    }

    a{
        text-decoration: none;
        color: inherit;
    }

    a:hover{
        cursor: pointer;
        text-decoration: underline;
    }

    h1 {
        margin-bottom: 20px;
        max-width: 600px;
        font-family:'Technor', sans-serif; 
        font-weight: bold;
        font-size: 2.5em;
    }

    h2 {
        font-size: 1.5em;
        margin-bottom: 10px;
        font-weight: 400;
    }

    &::after {
        content: '';
        width: 100%;
        height: 1px;
        background: rgba(255, 255, 255, .2);
        position: absolute;
        bottom: 0;
    }

    .link {
        display: block;
        color: rgb(006, 145, 192);
        font-size: 1.25em;
        max-width: 768px;
    }
}

.container-relacionados {
    margin-top: 20px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px;

    /* > div {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    } */

    > article {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 20px; 

        > * {
            margin: 0;
            padding: 0;
        }

        p, svg {
            color: rgb(006, 145, 192);
            font-weight: 600;
            font-size: 1.1em;
        }   
        
    }

    .relacionado {
        width: 100%;
        /* max-width: 300px; */
        /* margin-bottom: 20px; */
        padding: 7px;

        &:hover{
            cursor: pointer;

            >.saibamais::after{
                transform: translateX(15px);
            }
        }

        h2 {
            position: relative;
            font-weight: 400;
            font-size: 1.4em;
            margin-bottom: 10px;

            &::after {
                display: inline-block;
                position: relative;
                content: '>';
                color: rgb(006, 145, 192);
                font-weight: bold;
                margin-left: 5px;
                transition: all 300ms;
            }
        }

        p {
            font-size: 0.9em;
            width: 100%;
        }

        a{
            text-decoration: none;
            color: inherit;
        }

        .saibamais{
            color:  rgb(006, 145, 192);
            font-weight: bold;
            font-size: 1.2em;

            &::after {
                display: inline-block;
                position: relative;
                content: '>';
                color: rgb(006, 145, 192);
                font-weight: bold;
                margin-left: 5px;
                transition: all 300ms;
            }
            
        }
    }
}

.artigos-footer{
    position: relative;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #03192e;

    > div {
        display: flex;
        padding: 20px;
        align-items: center;
        width: 100%;
        justify-content: center;
        gap: 5%;
    }

    p {
        font-size: 1.5em;
        color: #ccc;
    }


    .btn {
        display: inline-block;
        padding: 20px 40px;
        background-color: rgb(006, 145, 192);
        color: #fff;
        text-decoration: none;
        border-radius: 15px;
        transition: background-color 300ms;
        font-size: 1.25em;
        text-align: center;

        &:hover {
            background-color: rgb(005, 120, 170);
        }
    }
}

.main-container {
    display: flex;
}

main {
    flex: 1;
    margin: 0 auto;
    margin-top: 100px;
    max-width: 1280px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-left: 30px;
    height: calc(100vh - 100px);
}

.linha-servicos {
    margin: 0 auto;
    margin-top: 100px;
    height: auto;
    overflow: hidden;
}

main::-webkit-scrollbar {
    width: 8px;
    background-color: transparent;
}

main::-webkit-scrollbar-thumb {
    width: 8px;
    background-color: #00b7ff;
    border-radius: 4px;
}

.sidebar {
    position: relative;
    margin-top: 100px;
    width: 330px;
    height: calc(100vh - 100px);
    background-color: #0b0019;
    padding: 15px;
    transition: all 0.3s ease;
    z-index: 1;
    border-left: none;
    border-radius: 0 15px 15px 0;
}

.sidebar-content::-webkit-scrollbar {
    width: 8px;
    background-color: transparent;
}

.sidebar-content::-webkit-scrollbar-thumb {
    width: 8px;
    background-color: #00b7ff;
    border-radius: 4px;
}

.sidebar.collapsed {
    width: 0px;
    padding: 0px;
}

.sidebar.collapsed .sidebar-content {
    transform: scaleX(0);
    padding: 0px;
}

.sidebar-content {
    width: 320px;
    height: 100%;
    overflow-y: auto;
    padding-right: 10px;
    transition: transform 0.3s ease, width 0.3s ease, padding 0.3s ease;
    transform-origin: left;
    transform: scaleX(1);
}

.toggle-btn {
    position: absolute;
    right: -30px;
    top: 50%;
    transform: translateY(-50%) rotate(180deg);
    width: 20px;
    height: 40px;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border-radius: 15px 0 0 15px;
    font-size: 18px;
    z-index: 1000;
    padding: 50px 0;
    background-color: rgb(006, 145, 192);
}

.sidebar.collapsed .toggle-btn {
    transform: translateY(-50%) rotate(0deg);
    border-radius: 0 15px 15px 0;
}

.menu-section {
    margin-bottom: 10px;
}

.accordion {
    position: relative;
    background-color: transparent;
    color: white;
    cursor: pointer;
    padding: 15px 0;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    font-size: 14px;
    font-weight: 400;
}

.accordion::after {
    content: url('../../img/arrow-down.svg');
    float: right;
    margin-left: 5px;
    transition: transform 0.3s;
    position: absolute;
    right: 0;
}

.accordion.active::after {
    transform: rotate(180deg);
}

.panel {
    display: block;
    position: relative;
    padding-left: 20px;
}

.panel ul {
    list-style: none;
    padding: 0;
}

.panel li {
    font-size: 13px;
    margin: 12px 0;
    color: #ccc;

    a{
        text-decoration: none;
        color: inherit;
        transition: color 0.3s;

        &:hover {
            color: rgb(006, 145, 192);
        }
    }
}

.panel .title {
    color: #00b7ff;
    font-size: 14px;
    margin-bottom: 8px;
    font-weight: 400;
}

.panel::after{
    content: '';
    position: absolute;
    display: block;
    height: 100%;
    width: 3px;
    left: 0;
    top: 0;
    border-radius: 50px;
    background-color: rgb(006, 145, 192)
}

footer{
    margin-top: 5%;
}

.voltar-secao-produtos{
    a{
        display: flex;
        padding: 20px;
        gap: 5px;
        text-decoration: none;
        color: inherit;
    }

    a:hover{
        text-decoration: underline;
    }
}

@media (max-width: 768px) {
    .sidebar {
        width: 100%;
    }

    .sidebar-content {
        width: 100%;
    }

    .toggle-btn {
        right: -20px;
    }

    .artigos-footer p {
        font-size: 1.2em;
    }

    .artigos-footer > div {
        flex-direction: column;
        gap: 20px;

        .btn { 
            width: 100%;
            padding: 15px;
            font-size: 1em;
        }
    }
}
