/* ===========================
   VARIÁVEIS E RESET - WELLNESS SPA THEME
   =========================== */
:root {
    /* Wellness/Spa Color Palette */
    --primary: #10b981;        /* Verde suave natural */
    --primary-dark: #059669;   /* Verde profundo */
    --secondary: #14b8a6;      /* Teal relaxante */
    --accent: #06b6d4;         /* Azul água */
    --success: #34d399;        /* Verde claro */
    --warning: #fbbf24;        /* Dourado suave */
    --danger: #f87171;         /* Coral suave */

    /* Backgrounds inspiradores */
    --bg-primary: #f0fdf4;     /* Verde menta muito claro */
    --bg-secondary: #ecfdf5;   /* Verde água suave */
    --bg-card: #ffffff;        /* Branco puro */

    /* Text colors naturais */
    --text-primary: #064e3b;   /* Verde escuro para texto */
    --text-secondary: #047857; /* Verde médio */
    --text-muted: #6ee7b7;     /* Verde claro */

    /* Borders sutis */
    --border-color: #d1fae5;   /* Verde pastel */

    /* Shadows suaves e naturais */
    --shadow-sm: 0 1px 3px rgba(16, 185, 129, 0.08);
    --shadow-md: 0 4px 12px rgba(16, 185, 129, 0.12);
    --shadow-lg: 0 10px 25px rgba(16, 185, 129, 0.15);
    --shadow-xl: 0 20px 40px rgba(16, 185, 129, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    min-height: 100vh;
    color: var(--text-primary);
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at top left, rgba(16, 185, 129, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at bottom right, rgba(20, 184, 166, 0.06) 0%, transparent 50%),
        linear-gradient(180deg, #f0fdf4 0%, #d1fae5 100%);
    pointer-events: none;
    z-index: 0;
}

/* Elementos decorativos Wellness */
body::after {
    content: '';
    position: fixed;
    bottom: -50px;
    right: -50px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(52, 211, 153, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    animation: float 15s ease-in-out infinite;
}

/* ===========================
   PARTÍCULAS ANIMADAS
   =========================== */
#particles-background {
    display: none; /* Desativado para visual mais limpo */
}

/* ===========================
   BARRA DE PROGRESSO SUPERIOR - WELLNESS
   =========================== */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--border-color);
    padding: 1.5rem 2.5rem;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-md);
}

.progress-container {
    flex: 1;
    max-width: 700px;
    background: var(--bg-secondary);
    padding: 1rem 1.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
}

.progress-bar {
    height: 12px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 20px;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.4),
                inset 0 2px 4px rgba(255, 255, 255, 0.3);
    position: relative;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 100%);
    animation: shimmer 2s infinite;
    border-radius: 20px;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.progress-text {
    display: flex;
    justify-content: space-between;
    margin-top: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 700;
}

.achievement-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    color: white;
    font-size: 0.875rem;
}

.badge-icon {
    font-size: 1.5rem;
}

/* ===========================
   CONTAINER PRINCIPAL
   =========================== */
.container {
    max-width: 900px;
    min-width: 600px;
    width: 100%;
    margin: 6rem auto 2rem;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .container {
        min-width: unset;
    }
}

.screen {
    display: none;
    animation: fadeInUp 0.5s ease;
}

.screen.active {
    display: block;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===========================
   TELA DE BOAS-VINDAS
   =========================== */
.welcome-hero {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(236, 253, 245, 0.95) 100%);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    border: 2px solid var(--border-color);
    padding: 3.5rem;
    box-shadow: var(--shadow-lg);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.welcome-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(52, 211, 153, 0.05) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.animated-icon {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.pulse-circle {
    display: none; /* Removido para visual mais clean */
}

.hero-emoji {
    font-size: 4rem;
    display: inline-block;
    opacity: 0.9;
}

.welcome-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #0f172a;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.highlight {
    color: var(--primary);
    font-weight: 700;
}

.welcome-subtitle {
    font-size: 1.125rem;
    color: #64748b;
    margin-bottom: 3rem;
    line-height: 1.7;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===========================
   CARDS INFORMATIVOS
   =========================== */
.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.info-card {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.2s ease;
    border: 1px solid #e2e8f0;
}

.info-card:hover {
    background: white;
    border-color: var(--primary);
}

.card-icon {
    font-size: 2.5rem;
}

.card-content strong {
    display: block;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.card-content small {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* ===========================
   FORMULÁRIO INICIAL
   =========================== */
.form-start {
    max-width: 500px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.input-group {
    margin-bottom: 1.5rem;
    text-align: left;
    position: relative;
    z-index: 10;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1rem;
    position: relative;
    z-index: 10;
}

.input-group input {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: white;
    position: relative;
    z-index: 10;
    cursor: text;
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

/* ===========================
   BOTÕES
   =========================== */
.btn-primary, .btn-secondary, .btn-large, .btn-download {
    padding: 1rem 2rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.25),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    font-weight: 700;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.btn-secondary {
    background: white;
    color: var(--text-primary);
    border: 1px solid #e2e8f0;
    font-weight: 600;
}

.btn-secondary:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.btn-large {
    width: 100%;
    padding: 1.25rem 2rem;
    font-size: 1.125rem;
}

/* ===========================
   TELA DE PERGUNTAS
   =========================== */
.question-container {
    background: white;
    border-radius: 24px;
    border: 2px solid var(--border-color);
    padding: 3.5rem 3rem;
    box-shadow: var(--shadow-md);
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    height: auto;
    min-height: fit-content;
    overflow: visible;
}

@media (max-width: 768px) {
    .question-container {
        min-width: unset;
    }
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
}

.section-icon {
    font-size: 4rem;
    margin-bottom: 1.25rem;
    display: inline-block;
    filter: drop-shadow(0 2px 8px rgba(16, 185, 129, 0.2));
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.section-subtitle {
    color: #6b7280;
    font-size: 1.125rem;
    font-weight: 500;
    line-height: 1.6;
    font-weight: 400;
}

.question-card {
    margin-bottom: 2rem;
    overflow: visible;
    height: auto;
    min-height: fit-content;
}

.question-number {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.question-text {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    line-height: 1.35;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

/* ===========================
   OPÇÕES DE RESPOSTA
   =========================== */
.answer-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.5rem;
    margin: 2.5rem 0;
    padding: 0 1rem;
    overflow: visible;
    min-height: fit-content;
    height: auto;
    grid-auto-rows: auto;
}

.answer-btn {
    padding: 2rem 1.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    background: white;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.05rem;
    font-weight: 600;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    min-height: 140px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.answer-btn:hover {
    border-color: var(--primary);
    background: white;
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(16, 185, 129, 0.15);
}

.answer-btn.selected {
    border-color: var(--primary);
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border-width: 3px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
    transform: translateY(-2px);
}

.answer-icon {
    font-size: 3rem;
    line-height: 1;
    display: block;
    text-align: center;
}

.answer-text {
    flex: 1;
}

/* Escala 0-10 */
.scale-container {
    display: grid;
    grid-template-columns: repeat(11, 1fr);
    gap: 0.5rem;
}

.scale-btn {
    aspect-ratio: 1;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.scale-btn:hover {
    border-color: var(--primary);
    background: #f8fafc;
}

.scale-btn.selected {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 4px 6px rgba(37, 99, 235, 0.2);
}

/* Checkboxes */
.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    grid-auto-rows: auto;
    height: auto;
    max-height: none;
}

.checkbox-item {
    padding: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: white;
}

.checkbox-item:hover {
    border-color: var(--primary);
    background: #f8fafc;
}

.checkbox-item.selected {
    border-color: var(--primary);
    background: #eff6ff;
    border-width: 2px;
}

.checkbox-icon {
    width: 24px;
    height: 24px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.checkbox-item.selected .checkbox-icon {
    background: var(--primary);
    border-color: var(--primary);
}

.checkbox-item.selected .checkbox-icon::after {
    content: '✓';
    color: white;
    font-weight: bold;
}

/* ===========================
   NAVEGAÇÃO
   =========================== */
.navigation-buttons {
    display: flex;
    gap: 1.25rem;
    margin-top: 3rem;
    justify-content: center;
    padding: 0 1rem;
}

.navigation-buttons button {
    min-width: 180px;
    padding: 1.25rem 2rem;
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: 12px;
    transition: all 0.3s ease;
}

/* Botão Anterior (Secondary) */
.navigation-buttons .btn-secondary {
    background: white;
    border: 2px solid #d1d5db;
    color: var(--text-secondary);
}

.navigation-buttons .btn-secondary:hover {
    background: #f9fafb;
    border-color: #9ca3af;
    transform: translateX(-4px);
}

/* Botão Próxima (Primary) */
.navigation-buttons .btn-primary {
    flex: 1;
    max-width: 300px;
}

/* ===========================
   DICA MOTIVACIONAL - BOX AMARELO
   =========================== */
.motivation-tip {
    margin: 2.5rem auto 0;
    max-width: 700px;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 2px solid #fbbf24;
    border-radius: 16px;
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.2);
}

.tip-icon {
    font-size: 2.5rem;
    line-height: 1;
    flex-shrink: 0;
}

.tip-text {
    color: #78350f;
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 600;
    font-weight: 500;
}

/* ===========================
   MINI-GAMES
   =========================== */
.minigame-area {
    margin: 2rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, #f0f9ff, #e0e7ff);
    border-radius: 16px;
    text-align: center;
}

.cannon-game-wrapper {
    width: 100%;
    max-width: 100%;
    min-width: 300px;
}

.game-instructions {
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
}

.cannon-game {
    position: relative;
    background: linear-gradient(to bottom, #87CEEB, #E0F6FF);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    min-height: 450px;
}

.cannon-game canvas {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    touch-action: none; /* Prevenir scroll durante o jogo */
}

@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.desktop-only {
    display: inline;
}

.mobile-only {
    display: none;
}

@media (min-width: 769px) {
    .answer-options {
        min-width: 500px;
    }
}

@media (max-width: 768px) {
    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: inline;
    }

    .cannon-game {
        padding: 0.5rem;
    }
}

/* ===========================
   TELA DE CONCLUSÃO
   =========================== */
.completion-hero {
    background: white;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    padding: 3rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    text-align: center;
}

.success-animation {
    position: relative;
    margin-bottom: 2rem;
}

.success-emoji {
    font-size: 5rem;
    display: inline-block;
    opacity: 0.9;
}

.confetti {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.stats-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 3rem 0;
}

.stat-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 1.5rem;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.processing-animation {
    margin: 2rem 0;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(99, 102, 241, 0.1);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===========================
   MODAL DE CONQUISTAS
   =========================== */
.achievement-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.achievement-modal.show {
    display: flex;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.achievement-content {
    background: white;
    padding: 2.5rem 3rem 2rem;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    text-align: center;
    max-width: 480px;
    box-shadow: 0 20px 25px rgba(0,0,0,0.15);
    animation: scaleIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes scaleIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.achievement-star,
.achievement-visual {
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: growPlant 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes growPlant {
    0% {
        transform: scale(0) translateY(20px);
        opacity: 0;
    }
    50% {
        transform: scale(1.1) translateY(-5px);
    }
    100% {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.achievement-visual svg {
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}

.achievement-visual.stage-semente svg {
    animation: plantSeed 0.6s ease;
}

@keyframes plantSeed {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.achievement-visual.stage-broto svg {
    animation: sproutGrow 0.8s ease;
}

@keyframes sproutGrow {
    0% { transform: scaleY(0); transform-origin: bottom; }
    100% { transform: scaleY(1); }
}

.achievement-visual.stage-arvore_completa {
    animation: celebration 1s ease;
}

@keyframes celebration {
    0% { transform: scale(0.8) rotate(-5deg); }
    25% { transform: scale(1.05) rotate(2deg); }
    50% { transform: scale(0.95) rotate(-2deg); }
    75% { transform: scale(1.02) rotate(1deg); }
    100% { transform: scale(1) rotate(0deg); }
}

.achievement-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.75rem;
    letter-spacing: -0.025em;
}

.achievement-description {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.achievement-description strong {
    color: var(--primary);
    font-weight: 700;
    display: block;
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.achievement-content .btn-primary {
    margin-top: 0.5rem;
}

/* ===========================
   RESPONSIVO
   =========================== */
@media (max-width: 1024px) {
    .container {
        max-width: 100%;
        padding: 1.5rem;
    }

    .welcome-title {
        font-size: 2rem;
    }

    .question-text {
        font-size: 1.25rem;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 15px;
    }

    .container {
        padding: 1rem;
        margin-top: 5rem;
    }

    /* Top Bar Mobile */
    .top-bar {
        padding: 0.75rem 1rem;
        flex-direction: column;
        gap: 0.75rem;
    }

    .progress-container {
        max-width: 100%;
    }

    .achievement-badge {
        font-size: 0.75rem;
        padding: 0.35rem 0.75rem;
    }

    .badge-icon {
        font-size: 1.25rem;
    }

    /* Welcome Screen Mobile */
    .welcome-hero {
        padding: 2rem 1.5rem;
    }

    .welcome-title {
        font-size: 1.75rem;
        line-height: 1.3;
    }

    .welcome-subtitle {
        font-size: 1rem;
    }

    .hero-emoji {
        font-size: 4rem;
    }

    .info-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .card-icon {
        font-size: 2rem;
    }

    /* Questions Mobile */
    .question-container {
        padding: 1.5rem;
    }

    .section-icon {
        font-size: 3rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .question-text {
        font-size: 1.1rem;
    }

    /* Answer Options Mobile */
    .answer-btn {
        padding: 1rem;
        font-size: 0.95rem;
    }

    .answer-icon {
        font-size: 1.5rem;
        min-width: 40px;
    }

    .scale-container {
        grid-template-columns: repeat(6, 1fr);
        gap: 0.35rem;
    }

    .scale-btn {
        font-size: 0.95rem;
        padding: 0.5rem;
    }

    .checkbox-grid {
        grid-template-columns: 1fr;
    }

    /* Navigation Mobile */
    .navigation-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .navigation-buttons button {
        width: 100%;
    }

    /* Completion Screen Mobile */
    .completion-hero {
        padding: 2rem 1.5rem;
    }

    .completion-title {
        font-size: 1.75rem;
    }

    .success-emoji {
        font-size: 4.5rem;
    }

    .stats-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    /* Report Mobile */
    .report-container {
        padding: 0;
    }

    .report-header {
        padding: 1.5rem;
    }

    .report-header h1 {
        font-size: 1.75rem;
    }

    .btn-download,
    .btn-secondary {
        width: 100%;
        margin: 0.5rem 0;
    }

    /* Motivation Tip Mobile */
    .motivation-tip {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
    }

    .tip-text {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0.75rem;
        margin-top: 4.5rem;
    }

    .welcome-title {
        font-size: 1.5rem;
    }

    .welcome-subtitle {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }

    .hero-emoji {
        font-size: 3.5rem;
    }

    .question-container {
        padding: 1rem;
    }

    .question-text {
        font-size: 1rem;
    }

    .section-icon {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 1.25rem;
    }

    .answer-btn {
        padding: 0.85rem;
        font-size: 0.9rem;
    }

    .scale-container {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.25rem;
    }

    .scale-btn {
        font-size: 0.85rem;
        padding: 0.4rem;
    }

    .btn-large {
        font-size: 1rem;
        padding: 1rem 1.5rem;
    }

    .completion-title {
        font-size: 1.5rem;
    }

    .stat-card {
        padding: 1rem;
    }

    .stat-number {
        font-size: 1.75rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }
}

/* Touch Optimization */
@media (hover: none) and (pointer: coarse) {
    /* Aumentar áreas de toque para dispositivos móveis */
    .answer-btn,
    .scale-btn,
    .checkbox-item,
    button {
        min-height: 44px;
        touch-action: manipulation;
    }

    /* Remover hover effects em dispositivos touch */
    .answer-btn:hover,
    .scale-btn:hover,
    .info-card:hover {
        transform: none;
    }

    /* Adicionar active states para feedback tátil */
    .answer-btn:active,
    .scale-btn:active,
    .btn-primary:active,
    .btn-secondary:active {
        transform: scale(0.98);
        opacity: 0.9;
    }
}

/* Landscape Mobile */
@media (max-width: 896px) and (orientation: landscape) {
    .container {
        margin-top: 4rem;
    }

    .welcome-hero,
    .completion-hero,
    .question-container {
        padding: 1.5rem;
    }

    .hero-emoji,
    .success-emoji {
        font-size: 3rem;
    }

    .section-icon {
        font-size: 2.5rem;
    }

    .info-cards {
        grid-template-columns: repeat(3, 1fr);
    }

    .stats-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Number Input */
.number-input-container {
    display: flex;
    justify-content: center;
    padding: 2rem 0;
}

.number-input-wrapper {
    display: flex;
    gap: 1rem;
    align-items: center;
    max-width: 400px;
    width: 100%;
}

/* ===========================
   RELATÓRIO
   =========================== */

.report-section {
    background: white;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.report-section h2 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
}

.chart-container {
    max-width: 800px;
    margin: 0 auto;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.pilar-card {
    background: #f9fafb;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.pilar-card h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.score-bar {
    background: #e5e7eb;
    height: 24px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.score-fill {
    height: 100%;
    transition: width 1s ease;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 8px;
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
}

.score-text {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1rem;
}

.personal-data {
    background: #f0fdf4;
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary);
}

.personal-data p {
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-size: 1.05rem;
}

.personal-data strong {
    color: var(--primary);
    margin-right: 0.5rem;
}

.btn-download {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    padding: 0.875rem 1.75rem;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
    margin-right: 1rem;
    margin-top: 1rem;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    transition: all 0.3s ease;
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
}

@media (max-width: 768px) {
    .pillars-grid {
        grid-template-columns: 1fr;
    }

    .report-section {
        padding: 1.5rem;
    }
}

.number-input {
    flex: 1;
    padding: 1rem 1.5rem;
    font-size: 1.125rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    background: white;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.number-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.number-input::placeholder {
    color: var(--text-muted);
}

/* Safety Alert */
.safety-alert-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    animation: fadeIn 0.3s ease;
}

.safety-alert-box {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.4s ease;
    text-align: center;
}

.safety-alert-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    animation: pulse 2s infinite;
}

.safety-alert-box h2 {
    color: var(--text-primary);
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.safety-alert-box > p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.safety-contacts {
    display: grid;
    gap: 1.5rem;
    margin: 2rem 0;
    text-align: left;
}

.contact-card {
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.contact-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.contact-card h4 {
    color: var(--text-primary);
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.phone-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin: 0.5rem 0;
    letter-spacing: 2px;
}

.contact-card .description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-top: 0.5rem;
}

.safety-message {
    background: linear-gradient(135deg, #dbeafe 0%, #e0e7ff 100%);
    border-left: 4px solid var(--primary);
    padding: 1.25rem;
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem;
    line-height: 1.6;
    margin: 2rem 0;
    font-weight: 600;
}

.safety-alert-box .btn-primary {
    margin-top: 1.5rem;
    width: 100%;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Print Styles */
@media print {
    .top-bar,
    .navigation-buttons,
    .btn-download,
    .btn-secondary,
    #particles-background,
    .safety-alert-overlay {
        display: none !important;
    }

    .report-container {
        padding: 0;
        background: white;
    }

    .report-section {
        page-break-inside: avoid;
        box-shadow: none;
    }

    body {
        background: white;
    }
}

/* Mobile Safety Alert */
@media (max-width: 768px) {
    .safety-alert-box {
        padding: 2rem 1.5rem;
        margin: 1rem;
    }

    .safety-alert-icon {
        font-size: 3rem;
    }

    .safety-alert-box h2 {
        font-size: 1.5rem;
    }

    .phone-number {
        font-size: 1.75rem;
    }

    .contact-card {
        padding: 1.25rem;
    }

    .number-input-wrapper {
        flex-direction: column;
        width: 100%;
    }

    .number-input-wrapper button {
        width: 100%;
    }
}
