/* =============================================
   JDC QUIZ — Visual Identity
   ============================================= */

:root {
    --primary: #c9a227;
    /* Gold, more muted/warm — matches foto 2 */
    --primary-bright: #FFD700;
    /* Bright gold for highlights */
    --bg-dark: #090909;
    --card-bg: rgba(18, 18, 18, 0.85);
    --card-border: rgba(255, 255, 255, 0.07);
    --success: #22c55e;
    --text-primary: #f0f0f0;
    --text-secondary: #7a7a7a;
    --text-muted: #444;
    --font-titles: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --radius-card: 20px;
    --radius-btn: 10px;
    --transition: 0.2s ease;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-body);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Subtle background texture */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse at 15% 30%, rgba(201, 162, 39, 0.06) 0%, transparent 55%),
        radial-gradient(ellipse at 85% 70%, rgba(201, 162, 39, 0.04) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* =============================================
   LAYOUT
   ============================================= */

.page-wrapper {
    width: 100%;
    max-width: 560px;
    padding: 32px 20px 48px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

/* =============================================
   HEADER / LOGO
   ============================================= */

.site-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
}

.logo {
    height: 54px;
    width: auto;
    object-fit: contain;
}

/* Fallback text logo if image missing */
.logo-fallback {
    font-family: var(--font-titles);
    font-weight: 900;
    font-size: 1.1rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-fallback span {
    color: var(--text-primary);
}

/* Badge */
.badge-urgency {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.25);
    color: #4ade80;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    padding: 6px 16px;
    border-radius: 100px;
}

.badge-urgency::before {
    content: '';
    width: 7px;
    height: 7px;
    background: #4ade80;
    border-radius: 50%;
    animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

/* =============================================
   GLASS CARD
   ============================================= */

.glass-card {
    width: 100%;
    background: var(--card-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-card);
    padding: 36px 36px 32px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

/* =============================================
   INTRO SCREEN
   ============================================= */

.intro-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 14px;
    display: block;
}

.intro-title {
    font-family: var(--font-titles);
    font-size: 1.65rem;
    font-weight: 900;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.intro-title em {
    font-style: normal;
    color: var(--primary);
}

.intro-divider {
    width: 40px;
    height: 2px;
    background: var(--primary);
    margin: 0 0 20px 0;
    border: none;
    opacity: 0.6;
}

.intro-description {
    font-size: 0.9rem;
    line-height: 1.75;
    color: var(--text-secondary);
    margin-bottom: 28px;
}

.intro-description strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Intro paragraphs — original copy style */
.intro-p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Highlighted block for AO VIVO section */
.intro-highlight-block {
    background: rgba(201, 162, 39, 0.07);
    border: 1px solid rgba(201, 162, 39, 0.2);
    border-radius: 14px;
    padding: 18px 20px;
    margin-bottom: 20px;
    text-align: left;
}

.intro-highlight-block p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin: 0;
}

.intro-highlight-block strong {
    color: var(--text-primary);
    font-weight: 600;
}

.intro-live-badge {
    display: inline-block;
    background: var(--primary);
    color: #000;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    padding: 3px 11px;
    border-radius: 100px;
    text-transform: uppercase;
    margin-bottom: 12px;
}


/* Gold inline highlight */
.gold {
    color: var(--primary);
    font-weight: 600;
}

/* Intro context sentence */
.intro-context {
    font-size: 0.87rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 18px;
    padding-left: 14px;
    border-left: 2px solid rgba(201, 162, 39, 0.35);
}

/* Event Card */
.event-card {
    background: rgba(201, 162, 39, 0.07);
    border: 1px solid rgba(201, 162, 39, 0.22);
    border-radius: 14px;
    padding: 18px 20px;
    margin-bottom: 18px;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.event-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(201, 162, 39, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.event-card-badge {
    display: inline-block;
    background: var(--primary);
    color: #000;
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    padding: 3px 10px;
    border-radius: 100px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.event-card-date {
    font-family: var(--font-titles);
    font-size: 2rem;
    font-weight: 900;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

.event-card-desc {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Checklist */
.intro-checklist {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-bottom: 22px;
    text-align: left;
}

.checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.checklist-item strong {
    color: var(--text-primary);
    font-weight: 600;
}

.check-bullet {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.88rem;
    flex-shrink: 0;
    margin-top: 1px;
}


/* Steps indicator (dots) */
.steps-indicator {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 28px;
}

.step-dot {
    width: 28px;
    height: 4px;
    border-radius: 2px;
    background: var(--primary);
    opacity: 1;
}

.step-dot.inactive {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--text-muted);
    opacity: 1;
}

/* =============================================
   BUTTONS
   ============================================= */

.btn-primary {
    display: block;
    width: 100%;
    background: var(--primary);
    color: #000;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 17px 32px;
    border-radius: var(--radius-btn);
    border: none;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
    box-shadow: 0 4px 20px rgba(201, 162, 39, 0.25);
}

.btn-primary:hover {
    background: var(--primary-bright);
    box-shadow: 0 6px 28px rgba(255, 215, 0, 0.35);
    transform: translateY(-1px);
}

.btn-primary:active {
    transform: scale(0.98);
}

/* Arrow icon on button */
.btn-primary .arrow {
    margin-left: 8px;
    display: inline-block;
    transition: transform var(--transition);
}

.btn-primary:hover .arrow {
    transform: translateX(3px);
}

/* =============================================
   QUIZ SCREENS (questions)
   ============================================= */

/* Top row: question label + dot nav */
.step-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}

.step-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--primary);
}

.dot-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.dot-nav-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--text-muted);
    transition: all 0.3s ease;
}

.dot-nav-dot.active {
    background: var(--primary);
    width: 22px;
    border-radius: 3px;
}

.question {
    font-family: var(--font-titles);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.35;
    margin-bottom: 8px;
}

.question-hint {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-bottom: 22px;
    line-height: 1.5;
}

/* Options */
.options-container {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-bottom: 24px;
    text-align: left;
}

.option-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    padding: 13px 16px;
    border-radius: 10px;
    cursor: pointer;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    gap: 13px;
    font-size: 0.88rem;
    color: var(--text-primary);
}

.option-card:hover {
    background: rgba(201, 162, 39, 0.06);
    border-color: rgba(201, 162, 39, 0.35);
}

.option-card input[type="radio"],
.option-card input[type="checkbox"] {
    accent-color: var(--primary);
    width: 17px;
    height: 17px;
    flex-shrink: 0;
}

.option-text {
    line-height: 1.4;
}

/* Text / Textarea inputs */
.custom-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 14px 18px;
    border-radius: 10px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    transition: border-color var(--transition);
    margin-bottom: 24px;
    resize: none;
}

.custom-input::placeholder {
    color: var(--text-secondary);
}

.custom-input:focus {
    border-color: var(--primary);
}

/* Other text field inside option card */
.other-input {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
    font-size: 0.85rem;
    padding: 4px 0;
    outline: none;
    width: 100%;
}

/* Character counter */
.char-counter {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: right;
    margin-top: 6px;
    transition: color 0.3s ease;
}

.char-counter--done {
    color: var(--success);
}

/* Impact / message block */
.impact-message {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text-secondary);
    margin-bottom: 28px;
    padding: 18px 20px;
    background: rgba(201, 162, 39, 0.05);
    border-left: 3px solid var(--primary);
    border-radius: 0 10px 10px 0;
}

/* =============================================
   PROGRESS BAR (used on some steps)
   ============================================= */

.progress-bar-container {
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    margin-bottom: 28px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: var(--primary);
    transition: width 0.45s ease;
}

/* =============================================
   FOOTER
   ============================================= */

.site-footer {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-align: center;
    letter-spacing: 0.03em;
}

/* =============================================
   SUCCESS SCREEN
   ============================================= */

.check-icon {
    display: block;
    font-size: 3.5rem;
    color: var(--success);
    margin-bottom: 16px;
    font-style: normal;
}

.badge-vaga {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.25);
    color: #4ade80;
    padding: 7px 18px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-top: 20px;
}

/* =============================================
   LOADER
   ============================================= */

.loader {
    border: 3px solid rgba(255, 255, 255, 0.08);
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    animation: spin 0.8s linear infinite;
    margin: 24px auto;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* =============================================
   ANIMATIONS
   ============================================= */

.fade-in {
    animation: fadeIn 0.45s ease both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 480px) {
    .glass-card {
        padding: 28px 22px 26px;
    }

    .intro-title {
        font-size: 1.4rem;
    }

    .question {
        font-size: 1.15rem;
    }

    .btn-primary {
        padding: 15px 20px;
    }
}