.creditos_row{
    width: 100%;
    display: flex;
    flex-direction: row;
    column-gap: 20px;
    align-items: center;
    justify-content: center;
}

.credito_info{
    width: 350px;
    display: flex;
    flex-direction: column;
    row-gap: 20px;
    border: 1px solid #6868682a;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    padding: 25px;
    transition: border 0.2s ease;
    height: 475px;
}

.credito_info:hover{
    border: 1px solid #84b400;
}

.img_credito{
    width: 60px;
    height: 60px;
    display: flex;                 /* enable flexbox */
    align-items: center;   
    justify-content: center;       /* horizontal centering */
    border-radius: 10px;
    background-color: #84b40016 ;
}

.img_credito img{
    height: 40%;
}

.regra .sub_title,
.credito_info .sub_title{
    margin: 0;
    text-align: left !important;
    color: black !important;
    font-weight: bold !important;
}

.regra .text,
.credito_info .text{
    margin: 0;
    font-size: 18px;
    text-align: left;
}

.credito_info .text2{
    font-size: 16px;
    font-weight: bold;
    text-align: left;
    margin: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    column-gap: 10px;
}

.credito_info .text3{
    font-size: 16px;
    text-align: left;
    margin: 0;
    color: #686868;
}

.regra .text4,
.credito_info .text4{
    font-size: 16px;
    color: black;
    text-align: left;
    margin: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    column-gap: 10px;
}

.regra .text4 img,
.credito_info .text4 img{
    height: 16px;
} 

.preco_nota{
    display: flex;
    flex-direction: column;
    row-gap: 10px;
    background-color: rgb(240, 240, 240);
    padding: 20px;
    border-radius: 10px;
}

.preco_nota p{
    margin: 0;
}

.preco_nota .text_bold{
    font-weight: bold;
    font-size: 18px;
}

.preco_nota .text_small{
    font-size: 16px;
    color: rgb(128, 128, 128);;
}

.list_column{
    display: flex;
    flex-direction: column;
    row-gap: 5px;
}

.preco_nota2{
    display: flex;
    flex-direction: column;
    row-gap: 5px;
    background-color: rgb(250, 247, 228);
    padding: 20px;
    border: 1px solid rgb(253, 226, 135);
    border-radius: 10px;
}

.preco_nota2 p{
    margin: 0;
}

.preco_nota2 .text_bold{
    font-weight: bold;
    font-size: 16px;
    color: rgb(108, 47, 21);
}

.preco_nota2 .text_small{
    font-size: 14px;
    color: rgb(181, 97, 52);
}

.packs_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 equal columns */
    grid-auto-rows: auto; /* rows adjust to content */
    gap: 30px; /* space between grid items */
    width: 100%;
    max-width: 1200px; /* optional: center and limit width */
    margin: 0 auto; /* centers the grid */
    padding: 40px 0;
}

.pack {
    position: relative;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    row-gap: 20px;
}

.pack.mais_popular{
    border: 1px solid #85B400;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.pack:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.pack_button {
    background-color: #ffffff;
    border: 1px solid #dedede;
    border-radius: 10px;
    padding: 10px 70px;
    cursor: pointer;
    font-size: 18px;
    transition: background-color 0.2s;
    display: flex;
    flex-direction: row;
    column-gap: 10px;
    align-items: center;
    justify-content: center;
    margin: auto;
}

.pack_button:hover {
    background-color: #85B400;
    color: white;
    border: none;
}

.pack_button2 {
    background-color: #85B400;
    color: white;
    border: none;
    border-radius: 10px;
    padding: 10px 70px;
    cursor: pointer;
    font-size: 18px;
    transition: background-color 0.2s;
    display: flex;
    flex-direction: row;
    column-gap: 10px;
    align-items: center;
    justify-content: center;
    margin: auto;
}

.pack_button2:hover {
    background-color: #6c9600;
}

.pack button img{
    height: 13px ;
    margin-bottom: 3px;
}

.pack p{
    margin: 0;
}

.pack_title{
    font-size: 24px;
    color: black;
    font-weight: bold;
    margin: 0;
}

.pack_sub_title{
    font-size: 18px;
    margin: 0;
    color: #686868;
}

.preco_dps{
    font-size: 40px;
    font-weight: bolder;
}

.preco_antes{
    text-decoration: line-through;
}

.iva{
    font-size: 13px;
}

.preco_credito{
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 16px;
    border: 1px solid #dbdbdb;
    font-weight: bold;
    margin: auto !important;
}

.desconto{
    padding: 5px;
    border-radius: 20px;
    font-size: 16px;
    color: white;
    border: none;
    background-color: #84b400;
    font-weight: bold;
    width: 100px;
    margin: auto !important;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.badge {
    position: absolute;
    top: -15px; /* slightly above the card */
    left: 50%;
    transform: translateX(-50%);
    background-color: #85B400;
    color: white;
    font-weight: 600;
    font-size: 14px;
    border-radius: 20px;
    padding: 5px 15px;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 9;
}

.badge img {
    width: 16px;
    height: 16px;
}

@media (max-width: 992px) {
    .packs_grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .packs_grid {
        grid-template-columns: 1fr;
    }
}

.credito_info img{
    height: 25px;
}

.regra_img1,
.regra_img2,
.regra_img3,
.regra_img4{
    height: 50px;
    width: 50px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.regra_img1{
    background-color: #fb00001a;
}
.regra_img2{
    background-color: #ffe13955;
}
.regra_img3{
    background-color: #4fbc281d;
}
.regra_img4{
    background-color: #aa00ff1b;
}

.nota{
    background-color: rgb(240, 240, 240);
    padding: 20px;
    border-radius: 10px;
}

.nota2{
    background-color: rgb(240, 240, 240);
    padding: 15px;
    border-radius: 10px;
    font-size: 16px !important;
    color: #686868;
}

.nota_vermelha{
    display: flex;
    flex-direction: column;
    background-color: #fb000012;
    border: 1px solid #fb000035;
    padding: 10px;
    border-radius: 10px;
    row-gap: 10px;
}

.nota_verde{
    display: flex;
    flex-direction: column;
    background-color: #4fbc280f;
    border: 1px solid #4fbc2843;
    padding: 10px;
    border-radius: 10px;
    row-gap: 10px;
}

.nota_vermelha img,
.nota_verde img{
    height: 18px;
}

.nota_text{
    display: flex;
    flex-direction: row;
    align-items: center;
    column-gap: 10px;
}

.nota_text_title_vermelho{
    font-weight: bold !important;
    color: #540101;
    margin: 0;
}

.nota_text_text_vermelho{
    margin: 0;
    color: #9e0101;
}

.nota_text_title_verde{
    font-weight: bold !important;
    color: #195b01;
    margin: 0;
}

.nota_text_text_verde{
    color: #278e01;
    margin: 0;
}

.bold{
    font-weight: bold;
}

.content_row{
    display: flex;
    flex-direction: row;
    column-gap: 20px;
    width: 100%;
    justify-content: center;
}

.faq{
    flex: 1;
    padding: 25px;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    row-gap: 40px;
}

.img_text{
    display: flex;
    flex-direction: row;
    align-items: center;
    column-gap: 10px;
}

.img_text img{
    height: 18px;
}

.img_text p{
    font-weight: bold;
    margin: 0;
    font-size: 20px;
}

.faq_text{
    font-size: 16px;
    color: #5f5f5f;
    margin: 0;
}

@media (max-width: 600px) {
    .creditos_row{
        flex-direction: column;
        row-gap: 20px;
    }

    .credito_info{
        box-sizing: border-box; /* 👈 key line */
        width: 100%;
        max-width: 350px;
    }

    .content_row{
        display: flex;
        flex-direction: column;
        row-gap: 20px;
        width: 100%;
        justify-content: center;
    }
}