:root {
    --brand-dark: #0B1F4B;
    --brand-medium: #EEF2FF;
    --brand-accent: #F59E0B;
    --brand-accent2: #FBBF24;
    --brand-light: #93C5FD;
    --bg-dark: #F0F4FF;
    --card-bg: #FFFFFF;
    --card-border: rgba(245, 158, 11, 0.25);
    --text-primary: #0B1F4B;
    --text-secondary: #4B5E8A;
    --font-title: 'Montserrat', sans-serif;
    --font-inter: 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-inter);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

.silk-container {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100vw; height: 100vh;
    z-index: 0;
    pointer-events: none;
}

.app-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 500px;
    padding: 50px 24px;
    display: flex;
    flex-direction: column;
}

/* HEADER */
.header {
    text-align: center;
    margin-bottom: 28px;
    animation: fadeInDown 0.8s ease;
}

.brand-avatar {
    height: 110px; width: 110px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 16px auto;
    box-shadow: 0 8px 30px rgba(245, 158, 11, 0.5);
    border: 3px solid var(--brand-accent);
    background: linear-gradient(135deg, #0B1F4B, #1E3A8A);
    display: flex; align-items: center; justify-content: center;
}

.avatar-initials {
    font-family: var(--font-title);
    font-size: 36px;
    font-weight: 800;
    color: var(--brand-accent);
}

.urna-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--brand-accent), var(--brand-accent2));
    color: var(--brand-dark);
    font-family: var(--font-title);
    font-size: 22px;
    font-weight: 900;
    padding: 6px 20px;
    border-radius: 50px;
    letter-spacing: 3px;
    margin-bottom: 12px;
    box-shadow: 0 4px 20px rgba(245,158,11,0.4);
    animation: pulse-gold 2s infinite;
}

@keyframes pulse-gold {
    0%   { box-shadow: 0 0 0 0 rgba(245,158,11,0.5); }
    70%  { box-shadow: 0 0 0 12px rgba(245,158,11,0); }
    100% { box-shadow: 0 0 0 0 rgba(245,158,11,0); }
}

.brand-subtitle {
    font-family: var(--font-title);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--brand-accent);
    text-transform: uppercase;
    margin-top: 4px;
}

/* COUNTDOWN */
.countdown-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 28px;
    animation: fadeInUp 0.8s ease 0.1s both;
}

.countdown-item {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 14px;
    padding: 14px 8px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(11,31,75,0.06);
}

.countdown-num {
    font-family: var(--font-title);
    font-size: 26px;
    font-weight: 900;
    color: var(--brand-accent);
    line-height: 1;
}

.countdown-label {
    font-size: 10px;
    color: var(--text-secondary);
    font-family: var(--font-inter);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* BUTTONS */
.main-btn {
    background: linear-gradient(135deg, var(--brand-accent), var(--brand-accent2));
    color: var(--brand-dark);
    padding: 16px;
    border-radius: 30px;
    text-align: center;
    text-decoration: none;
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(245,158,11,0.3);
    display: flex; align-items: center; justify-content: center; gap: 10px;
    cursor: pointer; width: 100%; border: none; margin-bottom: 14px;
}

.main-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(245,158,11,0.5); }

.main-btn.dark {
    background: linear-gradient(135deg, var(--brand-dark), #1E3A8A);
    color: white;
    box-shadow: 0 4px 20px rgba(11,31,75,0.3);
    animation: pulse-dark 2.5s infinite;
}

.main-btn.dark:hover { box-shadow: 0 8px 30px rgba(11,31,75,0.5); }

.main-btn.outline {
    background: transparent;
    border: 2px solid var(--brand-accent);
    color: var(--brand-accent);
    box-shadow: none;
}

@keyframes pulse-dark {
    0%   { box-shadow: 0 0 0 0 rgba(11,31,75,0.4); }
    70%  { box-shadow: 0 0 0 10px rgba(11,31,75,0); }
    100% { box-shadow: 0 0 0 0 rgba(11,31,75,0); }
}

/* QUIZ */
.quiz-wrapper { max-height: 0; overflow: hidden; transition: all 0.6s cubic-bezier(0.4,0,0.2,1); opacity: 0; }
.quiz-wrapper.active { max-height: 900px; opacity: 1; margin-top: 4px; margin-bottom: 16px; }
.quiz-container { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 20px; padding: 24px; box-shadow: 0 10px 30px rgba(245,158,11,0.12); }
.step { display: none; animation: fadeIn 0.4s ease; }
.step.active { display: block; }
.question { font-family: var(--font-title); font-size: 15px; color: var(--text-primary); font-weight: 700; margin-bottom: 20px; text-align: center; line-height: 1.5; }
.options-grid { display: grid; gap: 10px; }
.option-btn { background: var(--brand-medium); border: 1px solid var(--card-border); color: var(--text-primary); padding: 13px; border-radius: 12px; font-family: var(--font-inter); font-size: 13px; font-weight: 500; cursor: pointer; transition: all 0.2s ease; text-align: left; display: flex; align-items: center; gap: 12px; }
.option-btn:hover { background: var(--brand-dark); color: white; border-color: var(--brand-dark); transform: translateY(-2px); }
.option-bg { background: white; width: 32px; height: 32px; border-radius: 8px; display: flex; justify-content: center; align-items: center; font-size: 16px; flex-shrink: 0; box-shadow: 0 2px 6px rgba(0,0,0,0.07); }
.progress-bar { height: 4px; width: 100%; background: var(--brand-medium); border-radius: 4px; margin-bottom: 20px; overflow: hidden; }
.progress-fill { height: 100%; background: linear-gradient(90deg, var(--brand-accent), var(--brand-accent2)); transition: width 0.4s ease; }
.result-box { margin-top:12px; padding:16px; background:rgba(245,158,11,0.08); border-left: 4px solid var(--brand-accent); border-radius:12px; font-family:var(--font-inter); font-size:13px; line-height:1.6; color:var(--text-primary); }

/* PROPOSTAS */
.list-section { margin-bottom: 36px; animation: fadeInUp 0.8s ease 0.3s both; }

.section-header { margin-bottom: 18px; padding-bottom: 10px; border-bottom: 2px solid var(--card-border); }
.section-header h2 { font-family: var(--font-title); font-size: 16px; color: var(--brand-accent); font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; }
.section-header p { font-size: 12px; color: var(--text-secondary); margin-top: 4px; }

.list-container { display: flex; flex-direction: column; gap: 10px; }

.list-item-wrapper { background: transparent; border-radius: 16px; overflow: hidden; transition: all 0.4s cubic-bezier(0.4,0,0.2,1); border: 1px solid transparent; cursor: pointer; }
.list-item-wrapper:hover:not(.active) { background: var(--brand-medium); border-color: var(--card-border); }
.list-item-wrapper.active { background: var(--card-bg); border-color: var(--card-border); box-shadow: 0 8px 25px rgba(11,31,75,0.08); margin: 6px 0; }
.list-item-header { display: flex; align-items: center; padding: 13px; }
.item-avatar { width: 44px; height: 44px; border-radius: 50%; margin-right: 14px; flex-shrink: 0; display: flex; justify-content: center; align-items: center; font-size: 20px; background: var(--brand-medium); border: 1px solid var(--card-border); transition: all 0.3s ease; }
.list-item-wrapper.active .item-avatar { background: linear-gradient(135deg, var(--brand-dark), #1E3A8A); }
.item-info h4 { font-family: var(--font-title); font-size: 14px; font-weight: 700; margin-bottom: 3px; color: var(--text-primary); }
.item-info p { font-size: 12px; color: var(--text-secondary); line-height: 1.4; }
.action-text { font-family: var(--font-title); font-size: 10px; font-weight: 700; color: var(--brand-accent); margin-top: 5px; display: block; }
.action-text svg { transition: transform 0.4s ease; width: 12px; height: 12px; display: inline-block; vertical-align: middle; }
.list-item-wrapper.active .action-text svg { transform: rotate(180deg); }
.list-item-content { max-height: 0; overflow: hidden; transition: all 0.4s cubic-bezier(0.4,0,0.2,1); }
.list-item-wrapper.active .list-item-content { max-height: 350px; }
.content-inner { padding: 0 16px 18px 72px; }
.content-inner p { font-size: 13px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 14px; }

/* TRAJECTORY */
.traj-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 36px; animation: fadeInUp 0.8s ease 0.35s both; }
.traj-card { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 16px; padding: 18px; text-align: center; box-shadow: 0 4px 15px rgba(11,31,75,0.05); transition: transform 0.3s ease; }
.traj-card:hover { transform: translateY(-4px); }
.traj-icon { font-size: 28px; margin-bottom: 8px; }
.traj-card h4 { font-family: var(--font-title); font-size: 13px; font-weight: 700; color: var(--text-primary); margin-bottom: 4px; }
.traj-card p { font-size: 11px; color: var(--text-secondary); line-height: 1.4; }

/* SOCIAL */
.social-row { display: flex; justify-content: center; gap: 14px; margin-bottom: 36px; animation: fadeInUp 0.8s ease 0.4s both; }
.social-btn { width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,0.7); border: 1px solid var(--card-border); display: flex; justify-content: center; align-items: center; color: var(--text-primary); text-decoration: none; transition: all 0.3s ease; backdrop-filter: blur(10px); }
.social-btn:hover { background: var(--brand-accent); color: var(--brand-dark); transform: translateY(-4px); box-shadow: 0 8px 20px rgba(245,158,11,0.3); }
.social-btn svg { width: 20px; height: 20px; }

/* FOOTER */
.footer { text-align: center; color: var(--text-secondary); font-size: 11px; margin-top: 16px; animation: fadeInUp 0.8s ease 0.5s both; line-height: 1.8; }
.footer a { color: inherit; text-decoration: none; font-weight: 700; }

@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
