* {
    box-sizing: border-box;
}

:root {
    --brand-blue: #001830;
    --text-on-brand: #fff;
    --surface: #fff;
    --surface-border: #dfe4ea;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: var(--brand-blue);
    color: var(--text-on-brand);
}

.container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.card {
    width: 100%;
    max-width: 680px;
    background: var(--surface);
    border: 1px solid var(--surface-border);
    border-radius: 12px;
    padding: 24px;
    color: var(--brand-blue);
}

.card-wide {
    max-width: 980px;
}

.brand-logo {
    width: 200px;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 24px;
}

h1 {
    margin: 0 0 8px;
    font-size: 24px;
    color: var(--brand-blue);
}

.subtitle {
    margin: 0 0 20px;
    color: var(--brand-blue);
    opacity: 0.7;
}

.form {
    display: grid;
    gap: 10px;
}

.form-completo {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 16px;
    row-gap: 12px;
}

.field-group {
    display: grid;
    gap: 6px;
}

.col-span-2 {
    grid-column: 1 / -1;
}

h2 {
    font-size: 18px;
    margin: 0 0 6px;
    color: var(--brand-blue);
}

label {
    font-weight: 600;
    color: var(--brand-blue);
}

input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--surface-border);
    border-radius: 8px;
    font-size: 14px;
    color: var(--brand-blue);
}

select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--surface-border);
    border-radius: 8px;
    font-size: 14px;
    background: var(--surface);
    color: var(--brand-blue);
}

button {
    margin-top: 4px;
    padding: 11px 14px;
    border: 0;
    border-radius: 8px;
    background: var(--brand-blue);
    color: var(--text-on-brand);
    font-weight: 600;
    cursor: pointer;
}

button.secondary {
    background: #4a5568;
}

button:disabled {
    opacity: 0.65;
    cursor: wait;
}

hr {
    border: 0;
    border-top: 1px solid #e5e9f2;
    margin: 22px 0;
}

.feedback,
.result {
    border-radius: 8px;
    padding: 10px 12px;
    margin-bottom: 14px;
}

.feedback.success,
.result.success {
    background: #e8f8ee;
    color: #11612d;
    border: 1px solid #aadfbc;
}

.feedback.error,
.result.error {
    background: #fdecec;
    color: #8b1f1f;
    border: 1px solid #f2b8b8;
}

.feedback.info,
.result.info {
    background: #eaf2ff;
    color: #1b3f7a;
    border: 1px solid #bfd4fb;
}

.hidden {
    display: none;
}

@media (max-width: 820px) {
    .card-wide {
        max-width: 680px;
    }

    .form-completo {
        grid-template-columns: 1fr;
    }

    .col-span-2 {
        grid-column: auto;
    }
}
