* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: linear-gradient(135deg, #f27600, #ff9f3d);
    min-height: 100svh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    color: #333;
}

.hero {
    width: 100%;
    display: flex;
    justify-content: center;
}

.container {
    width: 100%;
    max-width: 460px;
    background: #fff8ee;
    border-radius: 24px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14);
}

.badge {
    display: inline-block;
    background: #ffe7cf;
    color: #c96300;
    padding: 8px 14px;
    border-radius: 999px;
    font-weight: bold;
    margin-bottom: 16px;
    font-size: 0.9rem;
    letter-spacing: 0.04em;
}

h1 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    color: #2f2f2f;
    margin-bottom: 14px;
    line-height: 1.2;
}

p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 24px;
    font-size: 1rem;
}

form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #f0c18c;
    border-radius: 12px;
    outline: none;
    font-size: 1rem;
    background: #fff7ed;
    color: #333;
}

input::placeholder {
    color: #8a6a3f;
}

input:focus {
    border-color: #d96b00;
    box-shadow: 0 0 0 3px rgba(217, 107, 0, 0.15);
    background: #fff;
}


/* =========================
   CAMPO DE MUNICÍPIO
========================= */

.municipio-field {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.municipio-field input {
    flex: 1;
    width: 100%;
    padding: 14px 42px 14px 16px;
    border: 1px solid #f0c18c;
    border-radius: 12px;
    outline: none;
    font-size: 1rem;
    background: #fff7ed;
    color: #333;
}


/* =========================
   SETINHA DO MUNICÍPIO
========================= */

.dropdown-toggle {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);

    width: auto;
    height: auto;

    min-width: 16px;
    min-height: 16px;

    padding: 2px 4px;

    border: none;
    border-radius: 4px;

    background: transparent;
    color: #c96300;

    font-size: 0.72rem;
    line-height: 1;

    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    z-index: 2;
}

.dropdown-toggle:hover {
    background: transparent;
    transform: translateY(-50%);
    color: #d96b00;
}


/* =========================
   LISTA DE MUNICÍPIOS
========================= */

.suggestions {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;

    width: 100%;

    display: none;
    list-style: none;

    background: #fff;

    border: 1px solid #f0c18c;
    border-radius: 12px;

    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);

    max-height: 240px;
    overflow-y: auto;

    z-index: 10;

    text-align: left;
}

.suggestions.show {
    display: block;
}

.suggestions li button {
    width: 100%;

    padding: 12px 14px;

    background: transparent;
    color: #333;

    border: none;

    text-align: left;

    font-size: 0.95rem;
    font-weight: 400;

    border-radius: 0;
}

.suggestions li button:hover,
.suggestions li button:focus {
    background: #fff7ed;
    color: #d96b00;
    transform: none;
}

.suggestions li.empty {
    padding: 12px 14px;
    color: #8a6a3f;
    font-size: 0.95rem;
}


/* =========================
   BOTÃO PRINCIPAL
========================= */

button {
    width: 100%;
    padding: 15px;

    border: none;
    border-radius: 12px;

    background: #d96b00;
    color: white;

    font-size: 1rem;
    font-weight: bold;

    cursor: pointer;

    transition: transform 0.2s ease, background 0.2s ease;
}

button:hover {
    background: #bf5b00;
    transform: translateY(-1px);
}


/* Garante que a seta NÃO receba
   o tamanho do botão principal */

button.dropdown-toggle {
    width: auto;
    height: auto;

    padding: 2px 4px;

    background: transparent;

    color: #c96300;

    font-size: 0.72rem;

    border-radius: 4px;

    transform: translateY(-50%);
}

button.dropdown-toggle:hover {
    background: transparent;
    color: #d96b00;
    transform: translateY(-50%);
}


/* =========================
   CONSENTIMENTOS
========================= */

.consentimentos {
    width: 100%;
    margin: 15px 0 20px;

    display: flex;
    flex-direction: column;

    gap: 12px;
}

.checkbox-item {
    display: flex;
    align-items: flex-start;

    gap: 10px;

    font-size: 13px;
    line-height: 1.5;

    color: #555;

    cursor: pointer;
}

.checkbox-item input[type="checkbox"] {
    width: 17px;
    height: 17px;

    min-width: 17px;

    margin-top: 2px;

    cursor: pointer;

    accent-color: #f58220;
}

.checkbox-item a {
    color: #f58220;

    font-weight: 600;

    text-decoration: underline;
}

.checkbox-item a:hover {
    opacity: 0.8;
}

.checkbox-item strong {
    color: #f58220;
}


/* =========================
   LOGO
========================= */

.logo-container {
    display: flex;

    justify-content: center;
    align-items: center;

    margin-bottom: 15px;
}

.logo {
    width: 130px;
    height: 130px;

    object-fit: cover;

    border-radius: 50%;

    display: block;
}


/* =========================
   CELULAR
========================= */

@media (max-width: 480px) {

    body {
        padding: 14px;
    }

    .container {
        padding: 24px 18px;
        border-radius: 18px;
    }

    h1 {
        font-size: 1.5rem;
    }

    p {
        font-size: 0.95rem;
    }

    input,
    button {
        padding: 13px 14px;
        font-size: 0.95rem;
    }

    /* Corrige a seta no celular */

    button.dropdown-toggle {
        width: auto;
        height: auto;

        padding: 2px 4px;

        font-size: 0.72rem;

        right: 8px;

        background: transparent;

        transform: translateY(-50%);
    }

    button.dropdown-toggle:hover {
        background: transparent;
        transform: translateY(-50%);
    }

    .suggestions {
        max-height: 220px;
    }
}