/* Paleta FUNDASEG: Azul Marinho #0B2046, Verde #10B981, Fundo #F8FAFC */
.fundaseg-container {
    max-width: 1100px;
    margin: 30px auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #1e293b;
    line-height: 1.5;
}

.fundaseg-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #0B2046;
    color: #ffffff;
    padding: 24px 30px;
    border-radius: 10px 10px 0 0;
}

.fundaseg-logo-area {
    display: flex;
    align-items: center;
    gap: 15px;
}

.fundaseg-logo {
    max-height: 50px;
    width: auto;
}

.fundaseg-brand-text h2 {
    margin: 0;
    font-size: 24px;
    letter-spacing: 1px;
    color: #ffffff;
}

.fundaseg-brand-text span {
    font-size: 13px;
    color: #94a3b8;
}

.fundaseg-header-badge {
    background: #10B981;
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.fundaseg-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 28px 32px;
    margin-bottom: 24px;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.fundaseg-card-intro {
    border-top: 4px solid #10B981;
}

.fundaseg-section-title {
    font-size: 20px;
    font-weight: 700;
    color: #0B2046;
    margin-top: 0;
    margin-bottom: 8px;
}

.fundaseg-section-subtitle {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 20px;
}

.fundaseg-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 15px;
}

.fundaseg-field label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #334155;
}

.fundaseg-field input[type="text"],
.fundaseg-field input[type="email"],
.fundaseg-field input[type="tel"] {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.fundaseg-field input:focus {
    border-color: #0B2046;
    outline: none;
    box-shadow: 0 0 0 3px rgba(11, 32, 70, 0.15);
}

.fundaseg-item-row {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 16px;
    transition: all 0.2s ease;
}

.fundaseg-item-row.is-nao-aplica {
    background: #f1f5f9;
    opacity: 0.7;
    border-color: #cbd5e1;
}

.fundaseg-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 12px;
}

.fundaseg-item-enunciado {
    font-weight: 600;
    color: #0B2046;
    margin: 0;
    font-size: 15px;
    flex-grow: 1;
}

.fundaseg-checkbox-nao-aplica {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    background: #e2e8f0;
    padding: 6px 12px;
    border-radius: 6px;
    white-space: nowrap;
}

.fundaseg-checkbox-nao-aplica input {
    cursor: pointer;
}

.fundaseg-field-row {
    margin-top: 10px;
}

.fundaseg-field-row label {
    display: block;
    font-size: 13px;
    color: #475569;
    margin-bottom: 4px;
}

.fundaseg-field-row textarea {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 10px;
    font-size: 14px;
    box-sizing: border-box;
}

.fundaseg-field-row input[type="file"] {
    display: block;
    font-size: 13px;
    color: #64748b;
}

.fundaseg-submit-area {
    text-align: center;
    padding: 30px 20px;
}

.fundaseg-button {
    background: #0B2046;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    padding: 15px 36px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(11, 32, 70, 0.2);
    transition: background 0.2s, transform 0.1s;
}

.fundaseg-button:hover {
    background: #143572;
    transform: translateY(-1px);
}

.fundaseg-security-note {
    font-size: 13px;
    color: #64748b;
    margin-top: 12px;
}

.fundaseg-alert {
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    text-align: left;
    font-size: 14px;
}

.fundaseg-alert.success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.fundaseg-alert.error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

@media (max-width: 768px) {
    .fundaseg-grid-2 {
        grid-template-columns: 1fr;
    }
    .fundaseg-item-header {
        flex-direction: column;
    }
    .fundaseg-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}
