.como-funciona-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    padding-left: 30px; /* Espaço à esquerda */
    padding-right: 30px; /* Espaço à direita */
}
 
.como-funciona-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    margin-top: 50px; /* Para aumentar a distância entre o cabeçalho e o título */
    color: #0c2140;
}

.como-funciona-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
}

.como-funciona-item {
    width: calc(33.33% - 20px);
    padding: 20px;
    text-align: center;
    margin-bottom: 20px;
    transition: box-shadow 0.3s ease, border-radius 0.3s ease; /* Adiciona a transição da borda arredondada */
}

.como-funciona-item:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 15px; /* Bordas arredondadas ao passar o mouse */
}

.como-funciona-item i {
    background-color: transparent;
    padding: 20px;
    border-radius: 50%;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.como-funciona-item:hover i {
    background-color: #0c2140; /* Cor de fundo dos ícones no hover */
    color: #fff; /* Cor dos ícones no hover */
}

.como-funciona-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #333;
}

.como-funciona-item p {
    font-size: 1rem;
    color: #666;
}

.como-funciona-text {
    margin-bottom: 40px;
    font-size: 1rem;
    line-height: 1.5;
    color: #333;
}

.banner-horizontal {
    width: 100%;
    margin: 40px 0;
    text-align: center;
}

.banner-horizontal img {
    max-width: 100%;
    height: auto;
    max-height: 385px; /* Ajuste a altura máxima conforme necessário */
}

.additional-text {
    margin-bottom: 40px;
    font-size: 1rem;
    line-height: 1.5;
    color: #333;
}

.você-tambem-pode-gostar {
    text-align: left;
    font-size: 1.5rem;
    margin-top:30px;
    margin-bottom: 30px;
    color: #333;
}

.button-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.button-container a {
    display: inline-block;
    padding: 10px 20px;
    border: 1px solid #0c2140;
    border-radius: 5px;
    color: #0c2140;
    text-decoration: none;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .como-funciona-item {
        width: calc(50% - 20px);
    }
    .button-container {
        flex-direction: column;
    }
    .button-container a {
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .como-funciona-item {
        width: 100%;
    }
}
