:root {
    --bg-color: #1A211D; /* Verde Escuro Profundo */
    --accent-color: #C1B497; /* Dourado/Areia Premium */
    --accent-hover: #DFD3B6;
    --text-color: #FFFFFF;
    --text-muted: #BDBDBD;
    --glass-bg: rgba(26, 33, 29, 0.45); /* Vidro translúcido */
    --glass-border: rgba(193, 180, 151, 0.25);
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    background-image: url('bg-luxury.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

/* Escurecer a imagem de fundo para o texto ficar legível */
.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15,20,17,0.85) 0%, rgba(20,28,24,0.7) 100%);
    z-index: -1;
}

.quiz-container {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    width: 100%;
    max-width: 550px;
    border-radius: 24px;
    padding: 50px 40px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.1);
    text-align: center;
    position: relative;
    border: 1px solid var(--glass-border);
}

/* Barra de Progresso */
.progress-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255,255,255,0.1);
}

.progress-bar {
    height: 100%;
    width: 0%; /* Inicia zerado e o script muda */
    background: linear-gradient(90deg, #A29475, var(--accent-color));
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 10px rgba(193, 180, 151, 0.5);
}

.quiz-header {
    margin-bottom: 40px;
}

.logo {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--text-color);
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.logo-sub {
    font-family: 'Inter', sans-serif;
    display: block;
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 8px;
    color: var(--accent-color);
    margin-top: 8px;
    text-transform: uppercase;
}

.quiz-step {
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.quiz-step.hidden {
    display: none;
    opacity: 0;
    transform: translateY(15px);
}

.quiz-step.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.9rem;
    font-weight: 400;
    margin-bottom: 30px;
    line-height: 1.3;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

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

button {
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    border: none;
    outline: none;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.btn-option {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    color: var(--text-color);
    padding: 18px 20px;
    font-size: 1.1rem;
    font-weight: 300;
    border-radius: 14px;
    letter-spacing: 0.5px;
    backdrop-filter: blur(5px);
}

.btn-option:hover {
    background: rgba(193, 180, 151, 0.1);
    border-color: var(--accent-color);
    color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.btn-option.selected {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--bg-color);
    font-weight: 600;
}

#lead-form {
    margin-top: 35px;
}

.form-animate {
    animation: fadeUp 0.6s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

.subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 25px;
    font-weight: 300;
}

input {
    width: 100%;
    padding: 18px 20px;
    margin-bottom: 16px;
    border: 1px solid rgba(255,255,255,0.1);
    background-color: rgba(0,0,0,0.25);
    border-radius: 12px;
    color: var(--text-color);
    font-size: 1.05rem;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    transition: all 0.3s ease;
}

input:focus {
    outline: none;
    border-color: var(--accent-color);
    background-color: rgba(0,0,0,0.4);
    box-shadow: 0 0 0 3px rgba(193, 180, 151, 0.15);
}

input::placeholder {
    color: rgba(255,255,255,0.3);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-color) 0%, #908468 100%);
    color: #111;
    width: 100%;
    padding: 18px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    margin-top: 15px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--accent-hover) 0%, #A29475 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(193, 180, 151, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-muted);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 14px 30px;
    border-radius: 12px;
    margin-top: 35px;
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.btn-secondary:hover {
    background-color: rgba(255,255,255,0.05);
    color: #fff;
    border-color: rgba(255,255,255,0.4);
}

.result-step p {
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.7;
    font-size: 1.05rem;
    font-weight: 300;
}

.success-text {
    font-family: 'Playfair Display', serif;
    color: var(--accent-color);
    font-size: 2.6rem;
    margin-bottom: 15px;
}

.reject-text {
    font-family: 'Playfair Display', serif;
    color: var(--text-muted);
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.cta-text {
    font-weight: 400;
    color: var(--text-color) !important;
    margin-top: 35px;
    margin-bottom: 30px !important;
    font-size: 1.1rem !important;
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(193, 180, 151, 0.5); }
    70% { transform: scale(1.02); box-shadow: 0 0 0 20px rgba(193, 180, 151, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(193, 180, 151, 0); }
}

.btn-pulse {
    animation: pulse 2.5s infinite;
}

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