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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.5;
}

/* Header */
.header {
    background-color: #fff;
    border-bottom: 1px solid #e0e0e0;
    padding: 0.75rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 1.75rem;
    width: auto;
}

.accessibility-buttons {
    display: flex;
    gap: 0.75rem;
}

.accessibility-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
    color: #1351B4;
    display: flex;
    align-items: center;
    justify-content: center;
}

.accessibility-btn:hover {
    opacity: 0.8;
}

.accessibility-btn svg {
    width: 1.5rem;
    height: 1.5rem;
}

/* Main Container */
.main-container {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 1.5rem 1rem;
    min-height: calc(100vh - 150px);
}

.card {
    background-color: #fff;
    border-radius: 0.25rem;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    width: 100%;
    max-width: 400px;
}

/* Steps */
.step {
    display: none;
}

.step.active {
    display: block;
}

/* Typography */
h1 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    color: #000;
}

h2 {
    font-size: 1rem;
    font-weight: 600;
    color: #1351B4;
}

h3 {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #333;
}

p {
    font-size: 0.875rem;
    color: #666;
}

/* Form Sections */
.form-section {
    margin-bottom: 1rem;
}

.section-header {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    align-items: center;
}

.icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1351B4;
    flex-shrink: 0;
}

.icon-box svg {
    width: 1.25rem;
    height: 1.25rem;
}

.description {
    font-size: 0.8125rem;
    color: #666;
    margin-bottom: 1rem;
}

.step-info {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    color: #666;
}

.step-label {
    font-size: 0.875rem;
    font-weight: 400;
    color: #333;
    margin-bottom: 0.75rem;
}

/* Form Groups */
.form-group {
    margin-bottom: 1rem;
}

label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 400;
    margin-bottom: 0.375rem;
    color: #333;
}

input[type="text"],
input[type="email"] {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 0.25rem;
    font-size: 0.9375rem;
    transition: border-color 0.2s;
}

input[type="text"]:focus,
input[type="email"]:focus {
    outline: none;
    border-color: #1351B4;
    box-shadow: 0 0 0 2px rgba(19, 81, 180, 0.1);
}

small {
    display: block;
    font-size: 0.75rem;
    color: #999;
    margin-top: 0.25rem;
}

/* Options Group */
.options-group {
    margin-bottom: 1rem;
}

.option {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: all 0.2s;
}

.option:hover {
    background-color: #f9f9f9;
    border-color: #1351B4;
}

.option input[type="radio"] {
    margin-right: 0.75rem;
    cursor: pointer;
    width: 1.125rem;
    height: 1.125rem;
    accent-color: #1351B4;
}

.option label {
    margin: 0;
    cursor: pointer;
    flex: 1;
    font-weight: 500;
    font-size: 0.875rem;
}

.option input[type="radio"]:checked + label {
    color: #1351B4;
}

/* Error Message */
.error-message {
    color: #C41C1C;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    font-weight: 400;
}

/* Buttons */
.button-group {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.btn {
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 100px;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
}

.btn-primary {
    background-color: #1351B4;
    color: #fff;
}

.btn-primary:hover:not(:disabled) {
    background-color: #0c3d8a;
}

.btn-primary:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.btn-secondary {
    background-color: #fff;
    color: #1351B4;
    border: 1px solid #1351B4;
}

.btn-secondary:hover {
    background-color: #f0f5ff;
}

/* Other Options */
.other-options {
    border-top: 1px solid #e0e0e0;
    padding-top: 1.25rem;
    margin-top: 1.25rem;
}

.options-list {
    list-style: none;
}

.option-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.875rem;
}

.option-dot {
    width: 0.375rem;
    height: 0.375rem;
    background-color: #1351B4;
    border-radius: 50%;
    flex-shrink: 0;
}

.option-icon {
    width: 1rem;
    height: 1rem;
    color: #1351B4;
    flex-shrink: 0;
}

.option-item a {
    color: #1351B4;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 400;
}

.option-item a:hover {
    text-decoration: underline;
}

/* Footer Help */
.footer-help {
    border-top: 1px solid #e0e0e0;
    padding-top: 1rem;
    margin-top: 1rem;
}

.footer-help a {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    color: #1351B4;
    text-decoration: none;
    font-size: 0.8125rem;
    margin-bottom: 0.5rem;
}

.footer-help a:hover {
    text-decoration: underline;
}

.footer-help a:first-child::before {
    content: "?";
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1rem;
    height: 1rem;
    border: 1px solid #1351B4;
    border-radius: 50%;
    font-size: 0.625rem;
    font-weight: bold;
}

.footer-help a:last-child::before {
    content: "";
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 2rem 0;
}

.success-icon {
    width: 4rem;
    height: 4rem;
    background-color: #4caf50;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1rem;
}

.success-message h1 {
    color: #4caf50;
    margin-bottom: 1rem;
}

.success-message p {
    margin-bottom: 0.5rem;
}

/* Footer Banner */
.footer {
    background-color: #fff;
    overflow: hidden;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 50;
}

.banner-image {
    width: 100%;
    height: auto;
    display: block;
}

/* Espaço para o banner fixo */
body {
    padding-bottom: 60px;
}

/* Responsive - Mobile First */
@media (max-width: 480px) {
    .card {
        padding: 1.25rem;
        box-shadow: none;
        border-radius: 0;
    }

    h1 {
        font-size: 1rem;
    }

    .button-group {
        flex-direction: column;
    }

    .header-container {
        padding: 0 0.75rem;
    }

    .logo {
        height: 1.5rem;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .accessibility-buttons,
    .footer-help {
        display: none;
    }
}
