:root {
    --primary-color: #0056b3; /* Cor principal alterada para azul conforme pedido */
    --primary-hover: #004494;
    --text-main: #111827;
    --text-muted: #6b7280;
    --bg-color: #ffffff;
    --border-color: #e5e7eb;
    --error-color: #ef4444;
}

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

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-color);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    justify-content: center;
}

.form-container {
    width: 100%;
    max-width: 600px;
    padding: 24px;
    margin-top: 40px;
}

.form-step {
    display: none;
    animation: fadeIn 0.4s ease-out forwards;
}

.form-step.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.top-bar {
    height: 40px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
}

.prev-btn {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--text-muted);
    cursor: pointer;
    padding: 8px;
    margin-left: -8px;
}

.prev-btn:hover {
    color: var(--text-main);
}

h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-main);
    line-height: 1.3;
}

.required {
    color: var(--error-color);
}

p.subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 32px;
}

.options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
    counter-reset: option;
}

.option-label {
    display: flex;
    align-items: center;
    padding: 16px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.option-label:hover {
    border-color: var(--text-muted);
}

.option-label input {
    display: none;
}

.custom-radio {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #f3f4f6;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    margin-right: 16px;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-main);
    flex-shrink: 0;
}

.option-label .custom-radio::before {
    counter-increment: option;
    content: counter(option, upper-alpha);
}

.option-label:has(input:checked) {
    border-color: var(--primary-color);
    background: rgba(0, 86, 179, 0.05);
}

.option-label input:checked + .custom-radio {
    background: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

input[type="text"],
input[type="tel"] {
    width: 100%;
    padding: 12px 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-main);
    font-size: 1.1rem;
    font-family: inherit;
    transition: all 0.2s ease;
}

input[type="text"]::placeholder,
input[type="tel"]::placeholder {
    color: #d1d5db;
}

input[type="text"]:focus,
input[type="tel"]:focus {
    outline: none;
    border-bottom-color: var(--primary-color);
}

.phone-input-container {
    display: flex;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 32px;
}

.country-select {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 1.1rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.next-btn, .submit-btn {
    background: var(--primary-color);
    color: white;
    padding: 14px 24px;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-family: inherit;
    transition: all 0.2s ease;
    min-width: 160px;
}

.next-btn:hover:not(:disabled), 
.submit-btn:hover:not(:disabled) {
    background: var(--primary-hover);
}

.next-btn:disabled,
.submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.enter-text {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.enter-text strong {
    background: #f3f4f6;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: normal;
}

.final-screen {
    margin-top: 40px;
}

.final-screen p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.5;
}

/* Responsiveness */
@media (max-width: 480px) {
    .form-container {
        padding: 20px;
        margin-top: 0;
    }
    h2 {
        font-size: 1.75rem;
    }
}
