body {
    margin: 0;
    font-family: 'Karla', serif;
    height: 100%;
    width: 100vw;
    overflow-x: hidden;
}

.main-content {
  flex: 1;  /* takes all available space */
}

.consultoria_container{
    width: 100%;
    max-width: 1400px;
    margin: 150px auto;
    margin-bottom: 0;
}

.h_rectangule1{
    display: block;
    margin: 0 auto; 
}

.consultoria_container h1 {
    margin-top: 0;
    font-size: 60px;
    font-weight: bolder;
    text-align: center;
    margin-bottom: 0;
}

.titulo2 {
  font-size: 45px;
  margin-bottom: 20px;
  color: #1a1a1a;
  text-align: center;
  font-weight: bold;
  margin-top: 0;
}

.simbolo{
    height: 60px;
    margin-top: 10px;
}

.title{
    display: flex;
    flex-direction: row;
    gap: 20px;
    width: 100%;
    max-width: 430px;
    margin: auto;
}

.sub_title{
    text-align: center;
    margin-top: 0;
    font-size: 18px;
    font-weight: 300;
    margin-bottom: 0;
}

.container{
    margin-top: 100px;
}

.texto{
    font-size: 24px;
    text-align: justify;
    max-width: 1000px;
    margin: 50px auto;
}

.consultoria_container ol{
    list-style: none;
    counter-reset: section;
    padding-left: 0;
    max-width: 850px;
    width: 100%;
    margin: 50px auto;
}

.consultoria_container ol li {
  counter-increment: section;
  margin-bottom: 50px;
  padding-left: 60px;
  position: relative;
  font-size: 24px;
  border-bottom: 3px solid #d4c092;
  padding-bottom: 10px;
}

.consultoria_container ol li::before {
  content: counter(section);
  position: absolute;
  left: 0;
  top: -10px;
  width: 40px;
  height: 40px;
  background: #d4c092;
  color: #ffff;
  border-radius: 50%;
  font-size: 30px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main_list{
    max-width: 850px;
    width: 100%;
    margin: 50px auto;
    font-size: 24px;
}

.sub-list {
  list-style-type: disc; /* Ensures bullet points are shown */
  color: black;          /* Makes bullets and text black */
  padding-left: 20px;
  margin-left: 50px;
}

.sub-list li {
  border-bottom: 3px solid #d4c092;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

/* ✅ Fix: Target bullets directly */
.sub-list li::marker {
  color: #d4c092; /* Change bullet color */
}

.contabilidade_column{
    display: flex;
    flex-direction: row;
    width: 100%;
    margin: auto;
    margin-bottom: 50px;
    gap: 20px;
}

.contabilidade_rectangule{
    background-color: #d4c092;
    height: 5px;
    width: 100%;
    margin-left: -20px;
    padding-left: 20px;
    padding-right: 20px;
    border-radius: 3px;
    margin-top: 10px;
}

.aquele_img{
    display: block;
    width: 80px;
    margin: auto;
}

.aquele_title{
    font-size: 40px;
    font-weight: bolder;
    color: #d4c092;
    text-align: center;
    margin-top: 0;
}

.aquele_descricao{
    font-size: 18px;
    text-align: justify;
}

.cvd{
    box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
    border: 1px solid #b9b9b9;
    margin-bottom: 50px;
    border-radius: 15px;
    padding: 20px;
    width: 300px;
    height: 300px;
}

@media only screen and (max-width: 800px) and (min-width: 300px){
    .simbolo{
        width: 60px;
        margin-top: 10px;
        margin: auto;
    }

    .title{
        display: flex;
        flex-direction: column;
        gap: 20px;
        width: 90%;
        margin: auto;
    }

    .sub_title{
        text-align: center;
        margin-top: 0;
        font-size: 18px;
        font-weight: 300;
        margin-bottom: 0;
    }

    .consultoria_container h1 {
        font-size: 35px
    }

    .consultoria_container{
        width: 90%;
    }
    
    .contabilidade_column{
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin: auto;
        width: 90%;
    }

    .cvd{
        max-width: 300px;
        width: 100%;
        padding: 0px;
    }

    .texto{
        font-size: 18px;
        width: 90%;
    }

    .consultoria_container ol li {
        font-size: 18px;
    }

    .main_list,
    .consultoria_container ol{
        width: 90%;
        font-size: 18px;
    }

    .sub-list li {
        font-size: 18px;
    }

    .title{
        margin-top: 0;
        font-size: 30px;
        font-weight: bold;
    }

    .titulo2 {
        font-size: 28px;
        margin-bottom: 20px;
        color: #1a1a1a;
        text-align: center;
        font-weight: bold;
        margin-top: 0;
    }

    .contabilidade_rectangule{
        background-color: #d4c092;
        height: 5px;
        width: 100%;
        margin-top: 10px;
        margin: auto;
        margin-left: 0px;
        padding-right: 0px;
        padding-left: 0px;
    }

    .aquele_descricao{
        font-size: 18px;
        text-align: justify;
        width: 90%;
        margin: auto;
    }
}

@media (min-width: 800px) and (max-width: 1500px) {
    .consultoria_container{
        width: 90%;
    }
    
    .contabilidade_column{
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin: auto;
        width: 300px;
    }

    .texto{
        font-size: 20px;
        width: 90%;
    }

    .consultoria_container ol li {
        font-size: 20px;
    }

    .main_list,
    .consultoria_container ol{
        width: 90%;
    }

    .sub-list li {
        font-size: 20px;
    }

    .title{
        margin-top: 0;
        font-size: 40px;
        font-weight: bold;
    }
}