/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --azul: #070738;
    --azul-claro: #1e3a8a;
    --vermelho: #FE0000;
    --vermelho-escuro: #cc0000;
    --cinza-claro: #f8f9fa;
    --cinza-medio: #e9ecef;
    --cinza-escuro: #6c757d;
    --branco: #ffffff;
    --verde: #28a745;
    --amarelo: #FFC107;
    --laranja: #fd7e14;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--azul);
    background: linear-gradient(135deg, #f5f7fa 0%, #f8f9fa 100%);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* ===== HEADER ===== */
.header {
    background: var(--branco);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.5rem 0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logoimg {
    width: 40px;
    height: 40px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--azul);
    line-height: 1.2;
    font-family: 'Montserrat', sans-serif;
}

.logo-subtitle {
    font-size: 0.75rem;
    color: var(--cinza-escuro);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-desktop {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-desktop a {
    text-decoration: none;
    color: var(--cinza-escuro);
    font-weight: 500;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.nav-desktop a:hover,
.nav-desktop a.active {
    color: var(--vermelho);
}

#userDiv {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.5rem;
    border-radius: 30px;
    background: var(--cinza-claro);
}

#userAvatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
}

#userName {
    margin: 0;
    font-weight: 600;
    color: var(--azul);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    text-decoration: none;
}

.btn-accent {
    background: var(--vermelho);
    color: var(--branco);
}

.btn-accent:hover {
    background: var(--vermelho-escuro);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--azul);
    border: 2px solid var(--azul);
}

.btn-outline:hover {
    background: var(--azul);
    color: var(--branco);
}

.btn-success {
    background: var(--verde);
    color: var(--branco);
}

.btn-success:hover {
    background: #218838;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background: var(--azul);
    border-radius: 3px;
}

.nav-mobile {
    display: none;
}

@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
    }
    .menu-toggle {
        display: none;
    }
}

/* ===== HERO SECTION ===== */
.questions-hero {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, var(--cinza-claro) 0%, var(--branco) 50%, rgba(7, 7, 56, 0.03) 100%);
}

.questions-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg, var(--vermelho), #ff4444);
    color: var(--branco);
    font-weight: 700;
    font-size: 0.75rem;
    border-radius: 2rem;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.questions-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--azul);
    margin-bottom: 1rem;
}

.text-accent {
    color: var(--vermelho);
}

.questions-description {
    font-size: 1.125rem;
    color: var(--cinza-escuro);
    margin-bottom: 2rem;
    max-width: 600px;
}

.questions-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.questions-stats .stat {
    padding: 1rem 1.5rem;
    background: var(--branco);
    border-radius: 0.75rem;
    box-shadow: 0 4px 12px rgba(7, 7, 56, 0.05);
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--azul);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--cinza-escuro);
}

/* ===== MAIN CONTENT ===== */
.questions-main {
    padding: 3rem 0;
}

/* ===== FILTERS ===== */
.filters-section {
    background: var(--branco);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.filters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--azul);
}

.filter-group label i {
    color: var(--vermelho);
    margin-right: 0.5rem;
}

.filter-select {
    padding: 0.75rem 1rem;
    border: 1px solid var(--cinza-medio);
    border-radius: 8px;
    background: var(--branco);
    color: var(--azul);
    font-size: 0.9rem;
    cursor: pointer;
}

.filter-select:focus {
    outline: none;
    border-color: var(--vermelho);
}

.filter-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

/* ===== LAYOUT ===== */
.questions-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 992px) {
    .questions-layout {
        grid-template-columns: 2fr 1fr;
    }
}

/* ===== QUESTIONS GRID ===== */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.section-header h2 {
    font-size: 1.5rem;
    color: var(--azul);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.section-header h2 i {
    color: var(--vermelho);
}

.section-description {
    color: var(--cinza-escuro);
}

.questions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

/* ===== QUESTION CARD ===== */
.question-card {
    background: var(--branco);
    border-radius: 12px;
    padding: 1.2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.question-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.question-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.question-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.question-badge {
    padding: 0.2rem 0.75rem;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 600;
}

.badge-origin {
    background: var(--azul);
    color: var(--branco);
}

.badge-subject {
    background: var(--laranja);
    color: var(--branco);
}

.badge-difficulty {
    background: var(--verde);
    color: var(--branco);
}

.badge-difficulty.media {
    background: var(--amarelo);
    color: #856404;
}

.badge-difficulty.dificil {
    background: var(--vermelho);
    color: var(--branco);
}

.question-year {
    font-size: 0.8rem;
    color: var(--cinza-escuro);
}

.question-stats {
    display: flex;
    gap: 0.5rem;
}

.stat-bubble {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.2rem 0.5rem;
    background: var(--cinza-claro);
    border-radius: 0.5rem;
    font-size: 0.7rem;
    color: var(--cinza-escuro);
}

.question-statement {
    color: var(--cinza-escuro);
    font-size: 0.9rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.question-hashtags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.hashtag-small {
    padding: 0.2rem 0.6rem;
    background: var(--cinza-claro);
    color: var(--cinza-escuro);
    border-radius: 4px;
    font-size: 0.7rem;
    cursor: pointer;
}

.hashtag-small:hover {
    background: var(--vermelho);
    color: var(--branco);
}

.question-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: auto;
}

.action-btn {
    flex: 1;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.action-btn.solve {
    background: var(--vermelho);
    color: var(--branco);
}

.action-btn.solve:hover {
    background: var(--vermelho-escuro);
    transform: translateY(-2px);
}

/* ===== PAGINATION ===== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.pagination-btn {
    width: 40px;
    height: 40px;
    border: 1px solid var(--cinza-medio);
    background: var(--branco);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

.pagination-btn:hover:not(.active) {
    border-color: var(--vermelho);
    color: var(--vermelho);
}

.pagination-btn.active {
    background: var(--vermelho);
    border-color: var(--vermelho);
    color: var(--branco);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-ellipsis {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--cinza-escuro);
}

/* ===== SIDEBAR ===== */
.questions-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-card {
    background: var(--branco);
    border-radius: 12px;
    padding: 1.2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.sidebar-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--cinza-medio);
}

.sidebar-header i {
    color: var(--vermelho);
    font-size: 1.2rem;
}

.sidebar-header h3 {
    font-size: 1.1rem;
    color: var(--azul);
}

.stats-chart {
    height: 200px;
    margin-bottom: 1rem;
}

.stats-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0.75rem;
    background: var(--cinza-claro);
    border-radius: 8px;
}

.stat-item span {
    color: var(--cinza-escuro);
    font-size: 0.85rem;
}

.stat-item strong {
    color: var(--azul);
    font-size: 1rem;
}

.popular-hashtags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.popular-hashtag {
    padding: 0.4rem 0.8rem;
    background: var(--cinza-claro);
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.8rem;
    color: var(--azul);
}

.popular-hashtag:hover {
    background: var(--vermelho);
    color: var(--branco);
}

/* ===== MODAL ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--branco);
    border-radius: 16px;
    width: 100%;
    max-width: 900px;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.modal-header {
    position: sticky;
    top: 0;
    background: var(--branco);
    border-bottom: 1px solid var(--cinza-medio);
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    color: var(--azul);
    font-size: 1.2rem;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--cinza-escuro);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: var(--cinza-claro);
    color: var(--vermelho);
}

.modal-body {
    padding: 1.5rem;
}

/* Question Modal Content */
.question-modal-header {
    background: var(--cinza-claro);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1rem;
}

.modal-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.modal-badges span {
    padding: 0.3rem 0.8rem;
    background: var(--branco);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--azul);
}

.modal-badges i {
    color: var(--vermelho);
    margin-right: 0.3rem;
}

/* Question Statement */
.question-statement-full {
    background: var(--cinza-claro);
    border-radius: 12px;
    padding: 1.2rem;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--azul);
    white-space: pre-wrap;
    word-wrap: break-word;
}

.question-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 1rem;
}

/* Alternatives */
.alternatives-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.alternative-item {
    background: var(--branco);
    border: 2px solid var(--cinza-medio);
    border-radius: 12px;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s;
}

.alternative-item:hover {
    border-color: var(--vermelho);
    transform: translateX(4px);
}

.alternative-item.selected {
    border-color: var(--vermelho);
    background: rgba(254, 0, 0, 0.05);
}

.alternative-item.correct {
    border-color: var(--verde);
    background: rgba(40, 167, 69, 0.05);
}

.alternative-item.wrong {
    border-color: var(--vermelho);
    background: rgba(254, 0, 0, 0.05);
}

.alternative-content {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.alt-letter {
    width: 32px;
    height: 32px;
    background: var(--cinza-claro);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--azul);
    flex-shrink: 0;
}

.alternative-item.selected .alt-letter {
    background: var(--vermelho);
    color: var(--branco);
}

.alternative-item.correct .alt-letter {
    background: var(--verde);
    color: var(--branco);
}

.alternative-item.wrong .alt-letter {
    background: var(--vermelho);
    color: var(--branco);
}

.alt-text {
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--azul);
    white-space: pre-wrap;
}

.alternative-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Answer Section */
.answer-section {
    background: var(--cinza-claro);
    border-radius: 12px;
    padding: 1.2rem;
    margin-bottom: 1.5rem;
}

.answer-options {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.answer-btn {
    width: 45px;
    height: 45px;
    border: 2px solid var(--cinza-medio);
    background: var(--branco);
    border-radius: 50%;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
}

.answer-btn:hover {
    border-color: var(--vermelho);
    color: var(--vermelho);
}

.answer-btn.selected {
    background: var(--vermelho);
    border-color: var(--vermelho);
    color: var(--branco);
}

.modal-controls {
    display: flex;
    gap: 1rem;
}

.control-btn {
    flex: 1;
    padding: 0.75rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.control-btn.skip {
    background: var(--cinza-medio);
    color: var(--cinza-escuro);
}

.control-btn.skip:hover {
    background: var(--cinza-escuro);
    color: var(--branco);
}

.control-btn.submit {
    background: var(--verde);
    color: var(--branco);
    opacity: 0.5;
    cursor: not-allowed;
}

.control-btn.submit:not(:disabled) {
    opacity: 1;
    cursor: pointer;
}

.control-btn.submit:not(:disabled):hover {
    background: #218838;
}

/* Feedback Section */
.feedback-section {
    background: var(--branco);
    border-radius: 12px;
    border: 1px solid var(--cinza-medio);
    overflow: hidden;
}

.feedback-header {
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.feedback-header.correct {
    background: var(--verde);
    color: var(--branco);
}

.feedback-header.incorrect {
    background: var(--vermelho);
    color: var(--branco);
}

.feedback-header i {
    font-size: 1.5rem;
}

.feedback-header h4 {
    margin: 0;
    font-size: 1rem;
}

.feedback-content {
    padding: 1rem;
}

.result-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.result-item {
    padding: 0.75rem;
    background: var(--cinza-claro);
    border-radius: 8px;
    text-align: center;
}

.result-item span {
    display: block;
    font-size: 0.7rem;
    color: var(--cinza-escuro);
}

.result-item strong {
    font-size: 1.1rem;
    color: var(--azul);
}

.explanation {
    background: var(--cinza-claro);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    border-left: 4px solid var(--vermelho);
}

.explanation h5 {
    font-size: 0.9rem;
    color: var(--azul);
    margin-bottom: 0.5rem;
}

.explanation p {
    font-size: 0.9rem;
    color: var(--cinza-escuro);
    white-space: pre-wrap;
}

.feedback-actions {
    display: flex;
    gap: 1rem;
}

/* Hashtag Input */
.hashtag-input-container {
    position: relative;
}

.tags-input {
    border: 1px solid var(--cinza-medio);
    border-radius: 8px;
    padding: 0.5rem;
    background: var(--branco);
    min-height: 45px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.hashtag-tag {
    background: var(--azul);
    color: var(--branco);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hashtag-tag .remove-tag {
    background: none;
    border: none;
    color: var(--branco);
    cursor: pointer;
    font-size: 0.8rem;
}

.hashtag-input {
    border: none;
    outline: none;
    padding: 0.25rem;
    font-size: 0.85rem;
    flex: 1;
    min-width: 100px;
}

.hashtag-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--branco);
    border: 1px solid var(--cinza-medio);
    border-radius: 8px;
    margin-top: 4px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
}

.hashtag-suggestions.active {
    display: block;
}

.suggestion-item {
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    border-bottom: 1px solid var(--cinza-medio);
    font-size: 0.85rem;
}

.suggestion-item:hover {
    background: var(--cinza-claro);
}

/* Empty State */
.no-questions,
.loading-questions,
.error-message {
    text-align: center;
    padding: 3rem;
    background: var(--branco);
    border-radius: 16px;
    grid-column: 1 / -1;
}

.no-questions i,
.loading-questions i,
.error-message i {
    font-size: 3rem;
    color: var(--cinza-medio);
    margin-bottom: 1rem;
}

.no-questions h3,
.error-message h3 {
    color: var(--azul);
    margin-bottom: 0.5rem;
}

/* Toast */
.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    background: var(--azul);
    color: var(--branco);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 10000;
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.3s;
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast.success {
    background: var(--verde);
}

.toast.error {
    background: var(--vermelho);
}

/* Footer */
.footer {
    background: var(--azul);
    color: var(--branco);
    padding: 3rem 0 1.5rem;
    margin-top: 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand p {
    margin: 1rem 0;
    opacity: 0.9;
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--branco);
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--vermelho);
}

.footer-links h4,
.footer-contact h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
    padding: 0;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--vermelho);
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-desktop {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav-mobile.active {
        display: flex;
        flex-direction: column;
        padding: 1rem;
        background: var(--branco);
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
    
    .nav-mobile a {
        padding: 0.75rem 1rem;
        text-decoration: none;
        color: var(--cinza-escuro);
    }
    
    .questions-hero {
        padding: 100px 0 40px;
    }
    
    .questions-title {
        font-size: 1.8rem;
    }
    
    .filters-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-actions {
        flex-direction: column;
    }
    
    .filter-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .questions-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .modal-content {
        max-height: 90vh;
    }
    
    .answer-options {
        gap: 0.5rem;
    }
    
    .answer-btn {
        width: 40px;
        height: 40px;
    }
    
    .modal-controls {
        flex-direction: column;
    }
    
    .result-info {
        grid-template-columns: 1fr;
    }
    
    .feedback-actions {
        flex-direction: column;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.question-card {
    animation: fadeIn 0.3s ease;
}

/* ===== HERO SECTION MODERNO ===== */
.questions-hero {
    position: relative;
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #070738 0%, #1a1a5e 50%, #0a0a4a 100%);
    overflow: hidden;
    margin-bottom: 2rem;
}

/* Efeito de ondas/partículas */
.questions-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23ffffff' fill-opacity='0.05' d='M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: cover;
    opacity: 0.3;
    pointer-events: none;
}

/* Círculos decorativos */
.questions-hero::after {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(254, 0, 0, 0.15), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.questions-hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.questions-hero-info {
    flex: 1;
    min-width: 280px;
}

.questions-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--branco);
    font-weight: 600;
    font-size: 0.75rem;
    border-radius: 2rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.questions-badge i {
    font-size: 0.85rem;
    color: var(--vermelho);
}

.questions-title {
    font-size: 3rem;
    font-weight: 900;
    color: var(--branco);
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.questions-title .text-accent {
    color: var(--vermelho);
    position: relative;
    display: inline-block;
}

.questions-title .text-accent::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--vermelho), transparent);
    border-radius: 3px;
}

.questions-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
    max-width: 500px;
    line-height: 1.6;
}

/* Stats Cards */
.questions-stats {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.questions-stats .stat {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 1rem;
    padding: 1rem 1.5rem;
    min-width: 120px;
    transition: all 0.3s ease;
}

.questions-stats .stat:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--branco);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Hero Image / Illustration */
.questions-hero-image {
    flex: 1;
    min-width: 280px;
    text-align: center;
    position: relative;
}

.hero-illustration {
    position: relative;
    display: inline-block;
}

.hero-illustration img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.2));
}

/* Floating elements animation */
.floating-icon {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 1rem;
    padding: 0.75rem;
    animation: float 3s ease-in-out infinite;
}

.floating-icon:nth-child(1) {
    top: -20px;
    right: -20px;
    animation-delay: 0s;
}

.floating-icon:nth-child(2) {
    bottom: -30px;
    left: -30px;
    animation-delay: 1.5s;
}

.floating-icon:nth-child(3) {
    top: 50%;
    right: -40px;
    animation-delay: 0.8s;
}

.floating-icon i {
    font-size: 1.5rem;
    color: var(--vermelho);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

/* Hero Wave Bottom */
.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.hero-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.hero-wave .shape-fill {
    fill: var(--branco);
}

/* Responsive */
@media (max-width: 768px) {
    .questions-hero {
        padding: 100px 0 50px;
    }
    
    .questions-title {
        font-size: 2rem;
    }
    
    .questions-description {
        font-size: 1rem;
    }
    
    .questions-stats .stat {
        padding: 0.75rem 1rem;
        min-width: 100px;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .floating-icon {
        display: none;
    }
}

@media (max-width: 480px) {
    .questions-stats {
        gap: 0.75rem;
    }
    
    .questions-stats .stat {
        padding: 0.6rem 0.8rem;
    }
    
    .stat-number {
        font-size: 1.25rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
}

/* ===== CONTAINER CORRIGIDO ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

/* Para telas menores */
@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
}

/* ===== HEADER CORRIGIDO ===== */
.header {
    background: var(--branco);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.5rem 0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

@media (max-width: 768px) {
    .header-content {
        padding: 0 1.5rem;
    }
}

@media (max-width: 480px) {
    .header-content {
        padding: 0 1rem;
    }
}

/* ===== HERO SECTION CORRIGIDO ===== */
.questions-hero {
    position: relative;
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #070738 0%, #1a1a5e 50%, #0a0a4a 100%);
    overflow: hidden;
    margin-bottom: 2rem;
}

.questions-hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .questions-hero-content {
        padding: 0 1.5rem;
    }
}

@media (max-width: 480px) {
    .questions-hero-content {
        padding: 0 1rem;
    }
}

/* ===== MAIN CONTENT CORRIGIDO ===== */
.questions-main {
    padding: 3rem 0;
}

.questions-main .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .questions-main .container {
        padding: 0 1.5rem;
    }
}

@media (max-width: 480px) {
    .questions-main .container {
        padding: 0 1rem;
    }
}

/* ===== FOOTER CORRIGIDO ===== */
.footer {
    background: var(--azul);
    color: var(--branco);
    padding: 3rem 0 1.5rem;
    margin-top: 3rem;
}

.footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .footer .container {
        padding: 0 1.5rem;
    }
}

@media (max-width: 480px) {
    .footer .container {
        padding: 0 1rem;
    }
}

/* ===== FILTERS SECTION CORRIGIDO ===== */
.filters-section {
    background: var(--branco);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* ===== QUESTIONS LAYOUT CORRIGIDO ===== */
.questions-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 992px) {
    .questions-layout {
        grid-template-columns: 2fr 1fr;
    }
}

/* ===== SIDEBAR CARDS ===== */
.sidebar-card {
    background: var(--branco);
    border-radius: 12px;
    padding: 1.2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* ===== RESPONSIVE GLOBAL ===== */
@media (max-width: 768px) {
    .questions-hero {
        padding: 100px 0 50px;
    }
    
    .questions-title {
        font-size: 2rem;
    }
    
    .filters-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-actions {
        flex-direction: column;
    }
    
    .filter-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .questions-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}