:root {
    --ml-bg-color-rgb: #F7D032;
    --ml-color-btn: #2C6BFF;
    --brz-bg-color: #000000;
    --brz-color-btn: #931D1D;
    --terciary-color: #ffffff;
    --primary-font: "DM Sans", sans-serif;
    --second-font: Arial, Helvetica, sans-serif;
}

body {
    padding: 0px;
    margin: 0px;
    font-family: var(--primary-font);
    height: 100vh;
}

a {
    text-decoration: none;
    color: #fff;
}

#brz-sec, #ml-sec {
    transition: all 0.3s ease-in-out; /* Já está, pode ser refinado */
}

#main {
    display: flex;
    height: auto;
    position: relative;
    overflow: hidden;
}

/* BRZ SECTION */
#brz-sec {
    height: 100vh;
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--brz-bg-color);
    ;
    /* Opacidade 20% */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: 0.3s ease-in-out;
}

#box-brz-logo {
    display: flex;
    justify-content: center;
}

#box-brz-logo img {
    max-height: 100px;
}

#brz-container {
    max-width: 650px;
}

#box-brz-text h1 {
    color: var(--terciary-color);
    font-size: 36px;
    font-weight: 900;
}

#box-brz-text p {
    color: var(--terciary-color);
    font-size: 18px;
    margin: 30px 0px;
}

#brz-container-btn {
    cursor: pointer;
    background: linear-gradient(90deg, #931D1D 0%, #2D0909 80%);
    background-size: 200% 100%;
    background-position: left center;
    transition: background-position 0.5s ease, transform 0.3s ease;
    color: var(--terciary-color);
    font-size: 20px;
    font-weight: bold;
    border: none;
    padding: 10px 36px;
    border-radius: 8px;
    margin: 30px 0px;
}
#brz-container-btn a{
    text-decoration: none;
    color: white
}

#brz-container button:hover {
    background-position: right center;
}

.card-black {
    height: 270px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: solid var(--terciary-color) 1px;
    color: var(--terciary-color);
    border-radius: 10px;
    max-width: 170px;
    padding: 15px;
    margin: 0px;
    text-align: center;
}

.card-black img {
    height: 100px;
}

.card-black h4 {
    margin: 15px 0px;
    padding: 0px;
}


/* ML SECTION */
#ml-sec {
    height: 100vh;
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #F7D032 0%, #F7D032 60%, #D4AB06 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: 0.3s ease-in-out;
}

#box-ml-logo {
    display: flex;
    justify-content: center;
    max-height: 100px;
}

#box-ml-logo img {
    max-height: 100px;
}

#ml-container {
    max-width: 650px;
}

#box-ml-text h1 {
    font-size: 36px;
    margin: 30px 0px;
    font-weight: 900;
}

#box-ml-text p {
    font-size: 18px;
    margin-top: 30px 0px;
}

#ml-container-btn {
    cursor: pointer;
    background: linear-gradient(90deg, #2C6BFF 0%, #1259C3 80%);
    background-size: 200% 100%;
    background-position: left center;
    transition: background-position 0.5s ease, transform 0.3s ease;
    color: var(--terciary-color);
    font-size: 20px;
    font-weight: bold;
    border: none;
    padding: 10px 36px;
    border-radius: 8px;
    margin: 30px 0px;
}
#ml-container-btn a{
    text-decoration: none;
    color: #fff;
}
#ml-container button:hover {
    background-position: right center;
}

.btn-left {
    display: flex;
    justify-content: left;
    width: 100%;
    margin: 10px;
}

/* CARD BOX */
#box-product {
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 15px;
    margin: 0px;
}

.card {
    height: 270px;
    width: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: solid var(--terciary-color) 1px;
    background-color: var(--terciary-color);
    color: #000000;
    border-radius: 10px;
    max-width: 170px;
    padding: 15px;
    margin: 0px;
    text-align: center;
    padding: 20px;
}

.card img {
    border-radius: 10px;
    width: auto;
    height: 50%;
}

.card div {
    display: flex;
    flex-direction: column;
}

.btn-product {
    cursor: pointer;
    background-color: #2C6BFF;
    transition: 0.3s;
    color: var(--terciary-color);
    font-size: 12px;
    font-weight: bold;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    margin: 0px;
}

/* Limita a descrição do produto para apenas 2 linhas */
.product-desc{
    display: -webkit-box;
    -webkit-line-clamp: 2;      /* Limita a 2 linhas */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;    
}

.btn-product:hover {
    background-color: #275ad1;
}

/* Desktop médio */
@media (max-width: 1300px){
    #brz-sec{
        padding: 0 25px;
    }
    #ml-sec{
        padding: 0 25px;
    }
}

/* Mobile */
@media (max-width: 992px) {
    #main {
        flex-direction: column;
    }

    #brz-sec {
        width: 100%;
        height: auto;
    }

    #ml-sec {
        width: 100%;
        height: auto;
    }

    #brz-container {
        width: 100%;
        justify-content: center;
        align-items: center;
        margin: 100px 30px 50px 30px;
    }

    #brz-container h1 {
        width: 100%;
    }

    #button-box {
        display: flex;
        justify-content: center;
    }

    #ml-container {
        width: 100%;
        justify-content: center;
        align-items: center;
        margin: 100px 30px 50px 30px;
    }

    #box-product {
        gap: 25px;
        width: 100%;
        height: fit-content;
        margin: 0px;
        flex-wrap: nowrap;
        flex-direction: column;
    }

    .card-black {
        max-width: 100%;
        height: fit-content;
        display: flex;
        flex-direction: row;
        justify-content: start;
        align-items: center;
        border: solid var(--terciary-color) 1px;
        color: var(--terciary-color);
        border-radius: 10px;
        padding: 15px 25px;
        margin: 0px;
        text-align: center;
        column-gap: 24px;
    }
    .card-black img {
        height: 70px;
    }
    .card-black h4 {
        padding: 0px;
        font-size: 16px;
    }

    .card {
        height: auto;
        max-width: 100%;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        border: solid var(--terciary-color) 1px;
        background-color: var(--terciary-color);
        color: #000000;
        border-radius: 10px;
    }
    .card .btn-product{
        width: fit-content;
        font-size: 14px;
    }
    .card div{
        flex-direction: row;
        column-gap: 20px;
        text-align: left;
    }
    .card .ml-mobile-div{
        flex-direction: column;
        justify-content: space-between;
    }
    .card .ml-mobile-div p{
        font-size: 18px;
    }

    .card img {
        border-radius: 10px;
        width: 30%;

    }
    #ml-container #box-product{
        align-items: center;
    }

    #box-brz-text h1{
        font-size: 28px;
    }

    #box-ml-text h1{
        font-size: 32px;
    }

    #box-ml-logo img{
        height: 80px;
    }
}