img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .banner {
        padding: 30px 10px;
    }

    .features {
        flex-direction: column; /* Empilha os elementos */
        align-items: center;
    }

    .feature {
        width: 100%;
        max-width: 90%;
    }

    .button {
        font-size: 1rem;
        padding: 12px 20px;
    }
}


body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    font-size: 1rem;
}
.header {
    background-color: #1E3A5F; /* Mantém a cor de fundo */
    background-image: url('/static/images/juridico-prev.png');
    background-repeat: no-repeat;
    background-position: 20px center; /* Posiciona a imagem à esquerda */
    background-size: 127px 67px;
    color: #CFAE58;
    text-align: left;
    font-size: 24px;
    font-weight: bold;
    padding-left: 170px; /* Garante espaço para o texto ao lado da imagem */
    display: flex;
    align-items: center;
}
.header p {
    flex: 1;
}
.banner {
    position: relative;
    text-align: center;
    padding: 100px 20px;
    background: url('/static/images/banner-prev.png') no-repeat center center/cover;
    color: #CFAE58;

}

.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.banner h1 {
    font-size: 2rem;
    margin-bottom: 20px;
}
.banner p {
    font-size: 18px;
    margin-bottom: 20px;
}
.button {
    display: inline-block;
    background: #CFAE58;
    color: #000;
    padding: 15px 30px;
    font-size: 1.2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    width: 80%; /* Melhor toque em celulares */
    max-width: 300px;
}
.features {
    text-align: center;
    padding: 50px 20px;
}
.features h2 {
    font-size: 28px;
    margin-bottom: 20px;
}
.feature-list {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}
.feature {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    width: 250px;
    text-align: center;
}
.footer {
    background: #222;
    color: #CFAE58;
    text-align: center;
    padding: 20px;
    margin-top: 50px;
}