/* Importação da fonte personalizada do Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    background-color: #1a1f2e; /* Fundo escuro */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    color: #1a1f2e;
    padding: 20px;
}

.form-container {
    background-color: #FFD700; /* Amarelo vibrante */
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    width: 100%;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.progress-bar-container {
    width: 100%;
    background-color: rgba(26, 31, 46, 0.2); /* Fundo escuro semi-transparente */
    height: 8px;
    border-radius: 4px;
    margin-bottom: 2rem;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #2c3e50 0%, #3498db 50%, #5dade2 100%);
    border-radius: 4px;
    transition: width 0.3s ease-in-out;
}

.step {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.step.active-step {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.question-title {
    font-size: 1.5rem;
    color: #1a1f2e; /* Texto escuro no card amarelo */
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.3;
}

.description {
    color: #1a1f2e;
    margin-bottom: 2rem;
    font-size: 1rem;
    font-weight: 400;
}

.input-group {
    margin-bottom: 1.5rem;
    text-align: left;
    width: 100%;
}

.input-group input[type="text"],
.input-group input[type="email"],
.input-group input[type="tel"],
.input-group input[type="url"] {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
    border: 2px solid rgba(26, 31, 46, 0.1);
    border-radius: 6px;
    box-sizing: border-box;
    background-color: #ffffff;
    color: #1a1f2e;
    font-family: 'Poppins', sans-serif;
}

.input-group input::placeholder {
    color: #7f8c8d;
}

.input-group input:focus {
    outline: none;
    border-color: #1a1f2e;
    box-shadow: 0 0 0 3px rgba(26, 31, 46, 0.1);
}

.options-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 1.5rem;
    text-align: left;
}

.options-group label {
    display: block;
    padding: 12px;
    border: 2px solid rgba(26, 31, 46, 0.1);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    background-color: #ffffff;
    color: #1a1f2e;
}

.options-group label:hover {
    background-color: #f8f9fa;
    border-color: #1a1f2e;
}

.options-group input[type="radio"] {
    margin-right: 10px;
}

.primary-btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    background-color: #1a1f2e; /* Botão escuro */
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    line-height: 1.4;
}

.primary-btn:hover {
    background-color: #0f1419;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.primary-btn:disabled {
    background-color: #95a5a6;
    cursor: not-allowed;
    transform: none;
}

@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translateY(20px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

/* Ajustes para telas menores, como celulares */
@media (max-width: 600px) {
    body {
        padding: 15px;
    }

    .form-container {
        padding: 2rem 1.5rem;
        max-width: 100%;
        border-radius: 8px;
    }

    .question-title {
        font-size: 1.3rem;
    }

    .description {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
        line-height: 1.5;
    }

    .primary-btn {
        width: 100%;
        padding: 14px 20px;
        font-size: 0.9rem;
        letter-spacing: 0.3px;
        display: block;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .form-container {
        padding: 1.5rem 1rem;
    }

    .question-title {
        font-size: 1.2rem;
    }

    .description {
        font-size: 0.9rem;
        margin-bottom: 1.2rem;
    }

    .input-group input {
        padding: 12px;
        font-size: 0.95rem;
    }

    .primary-btn {
        padding: 12px 16px;
        font-size: 0.85rem;
        line-height: 1.4;
        white-space: normal;
    }
}