* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    overflow-x: hidden;

}

.banner {
    background-color: #0b2a5b;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 40px;
    gap: 40px;
    flex-wrap: wrap;
    /* ajuste */
}

.text-area {
    max-width: 70%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.title {
    font-size: 48px;
    font-weight: bold;
    letter-spacing: 2px;
}

.subtitle {
    font-size: 18px;
    margin-top: 10px;
}

.lines {
    display: flex;
    justify-content: center;
    margin-top: 8px;
    flex-wrap: wrap;
    /* ajuste */
}

.line {
    height: 4px;
    width: 70px;
}

.red {
    background-color: #e63946;
}

.green {
    background-color: #75ec06;
}

.yellow {
    background-color: #eaee0a;
}

.logo {
    max-height: 120px;
    max-width: 100%;
}

.titulo {
    background-color: #384a80;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 0 20px;
    flex-wrap: wrap;
    /* ajuste */
}

.titulo h2 {
    color: white;
    font-size: 18px;
    text-align: center;
}

.barras-verticais {
    display: flex;
    height: 100%;
    align-items: center;
}

.barra {
    width: 10px;
    height: 100%;
    transform: rotate(20deg);
    transform-origin: center;
}

.barra.red {
    background-color: #e63946;
}

.barra.green {
    background-color: #75ec06;
}

.barra.blue {
    background-color: #eaee0a;
}

.proposta-objetivo {
    padding: 20px;
    border-radius: 8px;
    margin: 20px auto;
    width: 70%;
    max-width: 100%;
    /* ajuste */
}

.proposta {
    font-size: 20px;
    text-align: center;
}

.objetivo {
    font-size: 20px;
    text-align: center;
    margin-top: 20px;
}

.municipio {
    display: flex;
    gap: 6px;
    max-width: 300px;
    font-family: Arial, sans-serif;
    margin-left: 15%;
    flex-wrap: wrap;
    /* ajuste */
}

.municipio label {
    font-size: 25px;
    font-weight: bold;
    color: #333;
    text-align: center;
    gap: 5px;
}

.municipio select {
    padding: 10px 25px;
    border-radius: 8px;
    border: 1px solid #ccc;
    background-color: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    max-width: 100%;
    /* ajuste */
}

/* Hover */
.municipio select:hover {
    border-color: #4f46e5;
}

/* Focus */
.municipio select:focus {
    outline: none;
    border-color: #4f46e5;
    box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.2);
}

/* Opcional: seta personalizada */
.municipio select {
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='%234f46e5' height='20' viewBox='0 0 20 20' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M5 7l5 5 5-5H5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
}

.acordeon {
    width: 70%;
    margin: 20px auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    /* ajuste */
}

.acordeon-btn {
    width: 100%;
    background-color: #4a90e2;
    color: white;
    padding: 16px 20px;
    font-size: 18px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
    border-radius: 5px 5px 0 0;
}

.acordeon-btn:hover {
    background-color: #6aaef5;
}

.acordeon-btn.active {
    background-color: #6aaef5;
}

.seta {
    transition: transform 0.3s ease;
    font-size: 18px;
    color: #fff;
}

.seta.rotated {
    transform: rotate(90deg);
}

.acordeon-content {
    overflow: hidden;
    max-height: 0;
    padding: 0 20px;
    background-color: #f0f5ff;
    border-top: 1px solid #ddd;
    border-radius: 0 0 5px 5px;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.acordeon-content p {
    margin: 10px 0 5px 0;
    font-size: 16px;
}

.acordeon-content textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 8px;
    font-size: 16px;
    resize: vertical;
    border-radius: 5px;
    border: 1px solid #ccc;
    margin-top: 5px;
}

.campo-extra {
    display: none;
    margin-top: 10px;
}

.submit-btn {
    background-color: #0b2a5b;
    color: white;
    padding: 12px 25px;
    font-size: 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s;
    display: flex;
    margin-left: 73%;
    margin-top: 20px;
    margin-bottom: 20px;
}

.submit-btn:hover {
    background-color: #1a3a7a;
}

/* Botão Enviar */
.submit-btn {
    background-color: #0b2a5b;
    color: white;
    padding: 12px 25px;
    font-size: 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s;
    display: flex;
    margin-left: 73%;
    margin-top: 20px;
    margin-bottom: 20px;
}

.submit-btn:hover {
    background-color: #1a3a7a;
}

.footer {
    width: 100%;
    padding: 15px 20px;
    background: #444;
    color: #f9fafb;
    text-align: center;
    font-family: Arial, sans-serif;
    font-size: 14px;
    position: relative;
    bottom: 0;
}

.footer p {
    margin: 0;
    letter-spacing: 0.5px;
}

/* efeito sutil */
.footer:hover {
    background: #1f2937;
    transition: 0.3s;
}

.inpNumber {
    font-size: 16px;
    padding: 7px 14px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    margin-top: 5px;
    width: 10%;
    transition: all 0.25s ease;
    outline: none;
}

/* Hover */
.inpNumber:hover {
    border-color: #6366f1;
}

/* Focus */
.inpNumber:focus {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
}

/* Remove setinhas do input number (Chrome, Edge, etc.) */
.inpNumber::-webkit-outer-spin-button,
.inpNumber::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Remove setinhas no Firefox */
.inpNumber[type=number] {
    -moz-appearance: textfield;
}

/* Placeholder mais suave */
.inpNumber::placeholder {
    color: #9ca3af;
}

/* ================= RESPONSIVO ================= */

@media (max-width: 768px) {
    .acordeon {
        width: 90%;
    }

    .inpNumber {
        width: 25%;
    }

    .banner {
        flex-direction: column;
        align-items: center;
        padding: 15px;
        gap: 20px;
    }

    .text-area {
        max-width: 100%;
    }

    .logo {
        max-height: 100px;
    }

    .titulo {
        flex-direction: column;
        height: auto;
        gap: 10px;
        padding: 15px;
    }

    .barras-verticais {
        height: 50px;
        justify-content: center;
    }

    .barra {
        height: 100%;
        width: 8px;
        transform: rotate(15deg);
    }

    /* correções principais */
    .municipio {
        margin-left: 0;
        justify-content: center;
    }

    .submit-btn {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 480px) {
    .inpNumber {
        width: 40%;
    }

    .title {
        font-size: 32px;
    }

    .line {
        width: 50px;
    }
}