*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'Poppins', sans-serif;
}

.banner img{
    width: 100%;
}
.consumidores{
    width: 100%;
    background: #ffffff;
    padding: 80px 20px;
}

.consumidores__container{
    max-width: 1000px;
    margin: 0 auto;
}

.consumidores__header h1{
    font-size: 34px;
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
    color: #000;
    margin-bottom: 30px;
    line-height: 1.1;
}

.consumidores__header p{
    font-size: 19px;
    line-height: 1.5;
    color: #111;
    max-width: 1200px;
    text-align: justify;
}

.consumidores__line{
    width: 120px;
    height: 1px;
    background: #474747;
    margin: 40px 0;
}

.consumidores__topbar{
    display: flex;
    justify-content: flex-end;
    margin: 40px 0 20px;
    padding-bottom: 5px;
    border-bottom: 1px solid #000;
}

.toggle-box{
    display: flex;
    align-items: center;
    gap: 12px;
}

.toggle-box span{
    font-size: 18px;
    font-weight: 500;
}

.switch{
    position: relative;
    width: 52px;
    height: 28px;
}

.switch input{
    opacity: 0;
    width: 0;
    height: 0;
}

.slider_consumidores{
    position: absolute;
    inset: 0;
    background: #ddd;
    border-radius: 50px;
    cursor: pointer;
    transition: .3s;
}

.slider_consumidores::before{
    content: "";
    position: absolute;
    width: 22px;
    height: 22px;
    left: 3px;
    top: 3px;
    background: white;
    border-radius: 50%;
    transition: .3s;
}

.switch input:checked + .slider_consumidores{
    background: #0b7bdc;
}

.switch input:checked + .slider_consumidores::before{
    transform: translateX(24px);
}

.consumidores__version{
    width: 100%;
    background: #EFEFEF;
    border-radius: 18px;
    padding: 18px 24px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    margin-bottom: 40px;
}

.consumidores__version span{
    font-size: 18px;
    color: #111;
}

.consumidores__strong {
    padding: 30px 0;
}

.consumidores__strong h2{
    font-size: 20px;
    font-weight: 700;
}

.titulo{
    font-size: 20px;
    padding-bottom: 30px;
    font-weight: 600;

}

.accordion{
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.accordion__item{
    background: #EFEFEF;
    border-radius: 22px;
    overflow: hidden;
}

.accordion__header{
    width: 100%;
    font-family: 'Poppins';
    border: none;
    background: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
}

.accordion__header i{
    font-size: 24px;
    color: #777;
}

.accordion__content{
    max-height: 0;
    overflow: hidden;

    padding: 0 30px;

    transition:
        max-height .4s ease,
        padding .4s ease;
}
.accordion__item.active .accordion__content{
    max-height: 500px;
    padding: 0 30px 35px;
}

.accordion__content h3{
    font-size: 19px;
    margin-bottom: 18px;
    font-weight: 500;
}

.accordion__content p{
    font-size: 18px;
    text-align: justify;
    line-height: 1.5;
    color: #222;
    font-weight: 400;
}
.accordion__header {
    cursor: pointer;
}

.accordion__header i {
    transition: transform 0.35s ease;
}

.accordion__item.active .accordion__header i {
    transform: rotate(180deg);
}

.accordion__content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.accordion__item.active .accordion__content {
    max-height: 1000px; /* suficientemente alto para cualquier contenido */
}

.accordion__item .accordion__header .fa-chevron-up {
    transition: transform 0.35s ease !important;
    display: inline-block;
}

.accordion__item.active .accordion__header .fa-chevron-up {
    transform: rotate(180deg) !important;
}
/* ===================
    RESPONSIVE
=====================*/

@media (max-width: 1200px) {
    .banner img {
        height: 300px;
        object-fit: cover;
    }
}

@media (max-width: 1100px){
    .consumidores__container{
        padding: 0 30px;
    }
}

@media (max-width: 768px){

    .consumidores{
        padding: 60px 18px;
    }

    .consumidores__header h1{
        font-size: 32px;
    }

    .consumidores__header p{
        font-size: 17px;
    }

    .consumidores__topbar{
        justify-content: center;
    }

    .toggle-box{
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }

    .toggle-box span{
        font-size: 16px;
    }

    .consumidores__version{
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .accordion__header{
        padding: 22px 20px;
        font-size: 18px;
        gap: 20px;
    }

    .accordion__content h3{
        font-size: 18px;
    }

    .accordion__content p{
        font-size: 16px;
    }
}

@media (max-width: 430px){
    .consumidores__container {
        padding: 0 10px;
    }
}
