/* Estilos básicos */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #f4f4f4;
    flex-wrap: wrap; /* Ajusta para dispositivos menores */
}

.logo {
    display: flex;
    align-items: center;
}

.logo h1 {
    margin-right: 10px;
    font-size: 24px;
    font-weight: bold;
}

.logo img {
    width: 50px; 
    height: auto; 
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-size: 18px;
}

.banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to left, white, #a8b898);
    padding: 100px 50px;
    min-height: 80vh;
    flex-wrap: wrap; /* Permite que o conteúdo seja empilhado em telas menores */
}

.content {
    max-width: 50%;
    text-align: left;
}

.content h2 {
    font-size: 36px;
    color: white;
    margin-bottom: 20px;
}

.content strong {
    color: #333;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: white;
    color: #333;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 20px;
    font-weight: bold;
    border: 1px solid #a8b898;
}

.btn:hover {
    background-color: #333;
    color: white;
    border-color: #333;
}

.image img {
    max-width: 100%;
    border-radius: 10px;
}

.info-section {
    padding: 100px 50px;
    background-color: #edeced;
    text-align: center;
}

.info-section h2 {
    font-size: 36px;
    margin-bottom: 50px;
    color: #333;
}

.info-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap; /* Permite que os blocos sejam empilhados em dispositivos menores */
}

.info-card {
    background-color: #a8b898;
    border-radius: 20px;
    padding: 50px;
    text-align: center;
    width: 30%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px; /* Espaçamento entre os blocos */
}

.info-card img {
    width: 70px;
    height: auto;
    margin-bottom: 20px;
}

.info-card h3 {
    font-size: 28px;
    color: #333;
    margin-bottom: 10px;
}

.info-card p {
    font-size: 18px;
    color: #333;
    line-height: 1.6;
}

.como-funciona {
    background-color: #e0e5d8;
    padding: 80px 30px;
    text-align: center;
}

.como-funciona h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.como-funciona p {
    font-size: 20px;
    margin-bottom: 50px;
    color: #333;
}

.funciona-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.funciona-card {
    background-color: #a8b898;
    border-radius: 20px;
    padding: 40px;
    width: 30%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 10px;
}

.funciona-card img {
    width: 70px;
    height: auto;
    margin-bottom: 20px;
}

.funciona-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.funciona-card p {
    font-size: 16px;
    line-height: 1.5;
}

.contato-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 100px 50px;
    background-color: #a8b898;
    color: white;
    flex-wrap: wrap;
}

.contato-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    width: 100%;
    flex-wrap: wrap;
}

.contato-img {
    width: 400px;
    height: auto;
    margin-right: 50px;
    border-radius: 10px;
}

.contato-text {
    max-width: 50%;
    text-align: left;
}

.contato-text h2 {
    font-size: 36px;
    color: white;
    margin-bottom: 20px;
}

.contato-text p {
    font-size: 18px;
    color: white;
    margin-bottom: 30px;
}

.contato-text .btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: white;
    color: #333;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    border: 1px solid white;
}

.contato-text .btn:hover {
    background-color: #333;
    color: white;
}

/* Estilos responsivos */
@media (max-width: 1024px) {
    header {
        flex-direction: column;
        text-align: center;
    }

    nav ul {
        flex-direction: column;
        padding: 20px 0;
    }

    nav ul li {
        margin: 10px 0;
    }

    .banner {
        flex-direction: column;
        padding: 50px 20px;
        text-align: center;
    }

    .content, .image {
        max-width: 100%;
    }

    .info-section {
        flex-direction: column;
        padding: 50px 20px;
    }

    .info-card {
        width: 100%;
        margin-bottom: 20px;
    }

    .funciona-container {
        flex-direction: column;
    }

    .funciona-card {
        width: 100%;
        margin-bottom: 20px;
    }

    .contato-container {
        flex-direction: column;
    }

    .contato-img {
        width: 100%;
        margin: 0;
    }

    .contato-text {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 20px;
    }

    .content h2 {
        font-size: 28px;
    }

    .info-section {
        padding: 30px 20px;
    }

    .funciona-container {
        padding: 20px;
    }

    .contato-section {
        padding: 50px 20px;
    }
}

@media (max-width: 480px) {
    .content h2 {
        font-size: 24px;
    }

    .info-card h3 {
        font-size: 22px;
    }

    .info-card p {
        font-size: 16px;
    }

    .funciona-card h3 {
        font-size: 20px;
    }

    .funciona-card p {
        font-size: 14px;
    }

    .btn {
        padding: 8px 16px;
    }

    .contato-text h2 {
        font-size: 28px;
    }
}
