/* Gerado por scripts/sync-disc-report.sh a partir de disc/index.html */
/* NAO edite aqui; edite disc/index.html e rode o script */

#reportPage, #pdfCoverPage, #teamReportTemplate, .disc-report-scope {
    --navy: #1E3A5F;
    --navy-mid: #2563EB;
    --navy-dark: #0F172A;
    --yellow: #F59E0B;
    --yellow-light: #FCD34D;
    --yellow-pale: #FFFBEB;
    --white: #FAFAF9;
    --off-white: #F8FAFC;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-500: #64748B;
    --gray-700: #334155;
    --text: #1F2937;
    --disc-d: #E74C3C;
    --disc-i: #F39C12;
    --disc-s: #27AE60;
    --disc-c: #3498DB;
    --sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    --radius: 10px;
}

.container { max-width: 1200px; margin: 0 auto; padding: 20px; }

.landing-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, rgba(15,23,42,0.75) 0%, rgba(37,99,235,0.55) 100%), url('bg-disc-new.jpg') center/cover no-repeat; background-color: var(--navy-dark); padding: 40px 20px; }
.landing-page.hidden { display: none; }
.landing-card { background: rgba(255, 255, 255, 0.97); border-radius: 16px; padding: 50px 44px; box-shadow: 0 24px 70px rgba(0, 0, 0, 0.3), 0 0 100px rgba(245,158,11,0.08); max-width: 600px; width: 100%; animation: slideUp 0.6s ease-out; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(255, 255, 255, 0.3); }

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

.landing-header { text-align: center; margin-bottom: 50px; }
.landing-logo { font-family: var(--sans); font-size: 42px; font-weight: 700; color: var(--navy-dark); margin-bottom: 10px; }
.landing-subtitle { font-size: 14px; color: var(--gray-500); text-transform: uppercase; letter-spacing: 2px; }

.form-group { margin-bottom: 24px; }
.form-group label { display: block; font-weight: 700; color: var(--navy-dark); margin-bottom: 8px; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; }
.form-group input, .form-group select { width: 100%; padding: 14px 16px; border: 1.5px solid var(--gray-200); border-radius: var(--radius); font-family: var(--sans); font-size: 14px; transition: all 0.3s ease; background: var(--white); }
.form-group input:focus, .form-group select:focus { outline: none; border-color: var(--yellow); box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.12); transform: translateY(-1px); }

.required-mark { color: var(--disc-d); margin-left: 4px; }

.form-button { width: 100%; padding: 16px; background: linear-gradient(135deg, var(--yellow), var(--yellow-light)); color: var(--navy-dark); border: none; border-radius: var(--radius); font-weight: 700; font-size: 16px; cursor: pointer; transition: all 0.3s ease; margin-top: 20px; box-shadow: 0 4px 15px rgba(245, 158, 11, 0.25); font-family: var(--sans); position: relative; overflow: hidden; }
.form-button::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent); transition: left 0.5s; }
.form-button:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(245, 158, 11, 0.5); }
.form-button:hover::before { left: 100%; }

.test-page { min-height: 100vh; background: linear-gradient(135deg, rgba(15,23,42,0.85) 0%, rgba(37,99,235,0.65) 100%), url('bg-disc-new.jpg') center/cover no-repeat; background-color: var(--navy-dark); padding: 40px 20px; display: none; }
.test-page.active { display: block; }

.test-header { text-align: center; margin-bottom: 40px; }
.test-progress { background: rgba(255, 255, 255, 0.08); border-radius: 8px; height: 8px; margin-bottom: 20px; overflow: hidden; backdrop-filter: blur(4px); }
.test-progress-bar { background: linear-gradient(90deg, var(--yellow), var(--yellow-light)); height: 100%; width: 0%; transition: width 0.5s cubic-bezier(0.22,1,0.36,1); border-radius: 8px; box-shadow: 0 0 12px rgba(245,158,11,0.4); }
.test-progress-text { color: var(--white); font-size: 14px; text-align: center; font-weight: 500; }

.test-title { color: var(--white); font-family: var(--sans); font-size: 24px; margin-bottom: 10px; }
.test-instruction { color: var(--gray-200); font-size: 14px; margin-bottom: 40px; }

.word-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-bottom: 40px; }
.word-card { background: rgba(255, 255, 255, 0.06); border: 2px solid rgba(255, 255, 255, 0.12); border-radius: 16px; padding: 30px 24px; text-align: center; cursor: pointer; transition: all 0.4s cubic-bezier(0.22,1,0.36,1); position: relative; min-height: 110px; display: flex; align-items: center; justify-content: center; margin-top: 12px; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.word-card:hover { border-color: rgba(255, 255, 255, 0.35); transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3); background: rgba(255,255,255,0.1); }

.word-card.mais { background: rgba(39,174,96,0.15); border-color: var(--disc-s); color: var(--white); box-shadow: 0 0 30px rgba(39,174,96,0.4), 0 0 60px rgba(39,174,96,0.15), inset 0 0 20px rgba(39,174,96,0.1); transform: translateY(-6px); }
.word-card.menos { background: rgba(231,76,60,0.15); border-color: var(--disc-d); color: var(--white); box-shadow: 0 0 30px rgba(231,76,60,0.4), 0 0 60px rgba(231,76,60,0.15), inset 0 0 20px rgba(231,76,60,0.1); transform: translateY(-6px); }

.word-text { color: var(--white); font-weight: 700; font-size: 18px; letter-spacing: 0.3px; }
.word-label { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); font-size: 14px; font-weight: 800; padding: 6px 16px; border-radius: 20px; text-transform: uppercase; display: none; letter-spacing: 1px; z-index: 2; }
.word-label.visible { display: block; } .word-card.mais .word-label { background: #27AE60; color: white; box-shadow: 0 4px 12px rgba(39, 174, 96, 0.4); } .word-card.menos .word-label { background: #E74C3C; color: white; box-shadow: 0 4px 12px rgba(231, 76, 60, 0.4); }

.test-buttons { display: flex; gap: 20px; justify-content: center; margin-top: 40px; }
.test-btn { padding: 12px 32px; border: none; border-radius: 8px; font-weight: 600; cursor: pointer; transition: all 0.3s ease; font-size: 14px; }
.btn-next { background-color: var(--yellow); color: var(--navy-dark); flex: 1; max-width: 400px; box-shadow: 0 4px 15px rgba(245, 158, 11, 0.25); font-weight: 700; font-family: var(--sans); }
.btn-next:hover:not(:disabled) { background-color: var(--yellow-light); transform: translateY(-3px); box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4); }
.btn-next:disabled { opacity: 0.5; cursor: not-allowed; }

.thank-you-page { min-height: 100vh; display: none; align-items: center; justify-content: center; background: linear-gradient(135deg, rgba(15,23,42,0.82) 0%, rgba(37,99,235,0.6) 100%), url('bg-disc-new.jpg') center/cover no-repeat; background-color: var(--navy-dark); padding: 40px 20px; }
.thank-you-page.active { display: flex; }

.thank-you-card { background: rgba(255, 255, 255, 0.95); border-radius: var(--radius); padding: 60px 50px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25); text-align: center; max-width: 600px; animation: slideUp 0.6s ease-out; backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, 0.2); }

.checkmark { width: 80px; height: 80px; margin: 0 auto 30px; background-color: var(--disc-s); border-radius: 50%; display: flex; align-items: center; justify-content: center; animation: scaleUp 0.6s ease-out; }

@keyframes scaleUp { from { transform: scale(0); } to { transform: scale(1); } }

.checkmark::after { content: '✓'; color: var(--white); font-size: 48px; font-weight: 700; }

.thank-you-title { font-family: var(--sans); font-size: 36px; color: var(--navy-dark); margin-bottom: 15px; }
.thank-you-subtitle { font-size: 16px; color: var(--gray-700); margin-bottom: 30px; line-height: 1.8; }
.thank-you-time { background: var(--gray-100); padding: 20px; border-radius: 8px; margin-bottom: 30px; font-size: 14px; color: var(--gray-700); }

.core-talent-footer { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--gray-200); }
.core-talent-logo { font-family: var(--sans); font-size: 24px; font-weight: 700; color: var(--navy-dark); }

.report-page { display: none; background: var(--white); color: var(--navy-dark); }
.report-page.active { display: block; }

.report-header { background: linear-gradient(135deg, rgba(15,23,42,0.85) 0%, rgba(22,37,68,0.7) 40%, rgba(30,58,95,0.85) 100%), url('bg-disc-new.jpg') center/cover no-repeat; background-color: var(--navy-dark); color: var(--white); padding: 60px 40px; text-align: center; margin-bottom: 50px; position: relative; overflow: hidden; }
.report-logo { font-family: var(--sans); font-size: 42px; font-weight: 700; margin-bottom: 10px; color: var(--yellow); }
.report-title { font-size: 24px; font-weight: 700; margin-bottom: 30px; }

.report-badges { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 30px; }
.report-badge { background: rgba(255, 255, 255, 0.08); padding: 24px 20px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.15); text-align: center; transition: all 0.4s cubic-bezier(0.22,1,0.36,1); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.report-badge:hover { background: rgba(255, 255, 255, 0.15); transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,0.2); }
.report-badge-letter { font-size: 36px; font-weight: 800; margin-bottom: 5px; text-shadow: 0 2px 12px rgba(0,0,0,0.2); }
.report-badge-label { font-size: 12px; text-transform: uppercase; opacity: 0.9; }

.report-content { max-width: 900px; margin: 0 auto; padding: 40px 40px 80px; background: var(--white); }
.report-section { margin-bottom: 50px; padding-bottom: 40px; border-bottom: 1px solid var(--gray-100); page-break-inside: avoid; }
.report-section:last-child { border-bottom: none; }

.report-section-title { font-family: var(--sans); font-size: 24px; font-weight: 800; color: var(--navy-dark); margin-bottom: 25px; padding-bottom: 12px; border-bottom: 3px solid transparent; border-image: linear-gradient(90deg, var(--yellow), var(--yellow-light), transparent) 1; letter-spacing: -0.02em; }
.report-section-subtitle { font-family: var(--sans); font-size: 18px; font-weight: 600; color: var(--navy-mid); margin: 25px 0 15px; }

.report-text { color: var(--gray-700); font-size: 15px; line-height: 1.7; margin-bottom: 15px; }

.report-list { list-style: none; margin-bottom: 20px; }
.report-list li { padding: 10px 0; color: var(--gray-700); font-size: 15px; border-bottom: 1px solid var(--gray-100); }
.report-list li:before { content: '→ '; color: var(--yellow); font-weight: 700; margin-right: 10px; }

.chart-container { position: relative; height: 300px; margin-bottom: 40px; background: var(--off-white); padding: 20px; border-radius: 16px; border: 1px solid var(--gray-100); box-shadow: 0 4px 16px rgba(0,0,0,0.04); }

.profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-bottom: 30px; }
.profile-box { background: var(--off-white); padding: 22px; border-radius: 14px; border: 1px solid var(--gray-100); transition: all 0.3s; box-shadow: 0 2px 8px rgba(0,0,0,0.03); }
.profile-box:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.06); transform: translateY(-2px); }
.profile-box-title { font-weight: 700; color: var(--navy-dark); margin-bottom: 8px; font-size: 14px; display: flex; align-items: center; gap: 6px; }
.profile-box-title::before { content: ''; width: 3px; height: 16px; background: var(--yellow); border-radius: 2px; }
.profile-box-value { font-size: 14px; color: var(--gray-700); line-height: 1.6; }

.intensity-table { width: 100%; margin-bottom: 30px; border-collapse: collapse; }
.intensity-table thead { background: var(--navy-dark); color: var(--white); }
.intensity-table th, .intensity-table td { padding: 12px; text-align: left; font-size: 13px; border-bottom: 1px solid var(--gray-100); }
.intensity-table th { font-weight: 700; }
.intensity-table tr:hover { background: var(--off-white); }

.competency-item { margin-bottom: 20px; page-break-inside: avoid; }
.competency-name { font-weight: 600; color: var(--navy-dark); margin-bottom: 8px; font-size: 14px; }
.competency-bar { background: var(--gray-100); height: 10px; border-radius: 5px; overflow: hidden; margin-bottom: 4px; }
.competency-level { font-size: 12px; color: var(--gray-500); }

.trait-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-bottom: 15px; align-items: center; }
.trait { padding: 15px; border-radius: 8px; text-align: center; font-weight: 600; font-size: 13px; transition: all 0.3s ease; border: 1px solid var(--gray-100); }
.trait.active { background: var(--yellow); color: var(--navy-dark); box-shadow: 0 4px 12px rgba(250, 207, 57, 0.3); border-color: var(--yellow); }
.trait.inactive { background: var(--off-white); color: var(--gray-500); border-color: var(--gray-100); }

.communication-section { background: var(--off-white); padding: 20px; border-radius: 12px; margin-bottom: 25px; border: 1px solid var(--gray-100); }
.communication-title { font-weight: 700; color: var(--navy-dark); margin-bottom: 15px; }
.communication-list { list-style: none; }
.communication-list li { padding: 8px 0; color: var(--gray-700); font-size: 14px; }
.communication-list li:before { content: '•'; color: var(--yellow); font-weight: 700; margin-right: 10px; }

.admin-panel { display: none; position: fixed; inset: 0; background: rgba(0, 0, 0, 0.7); z-index: 9999; align-items: center; justify-content: center; padding: 20px; }
.admin-panel.active { display: flex; }

.admin-content { background: var(--white); border-radius: var(--radius); padding: 40px; max-width: 900px; width: 100%; max-height: 90vh; overflow-y: auto; position: relative; box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.admin-title { font-family: var(--sans); font-size: 28px; color: var(--navy-dark); margin-bottom: 30px; }

.admin-password-form { margin-bottom: 30px; }
.admin-password-input { padding: 12px 16px; border: 1px solid var(--gray-200); border-radius: 8px; font-size: 14px; width: 100%; margin-bottom: 15px; }

.admin-button { padding: 10px 20px; background: var(--yellow); color: var(--navy-dark); border: none; border-radius: var(--radius); font-weight: 700; cursor: pointer; transition: all 0.3s ease; box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2); font-family: var(--sans); }
.admin-button:hover { background: var(--yellow-light); }

.admin-close { position: absolute; top: 20px; right: 20px; font-size: 28px; cursor: pointer; color: var(--gray-500); }

.admin-table-wrap { width: 100%; overflow-x: auto; margin-top: 20px; -webkit-overflow-scrolling: touch; }
.admin-table { width: 100%; border-collapse: collapse; table-layout: fixed; min-width: 700px; }
.admin-table th, .admin-table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--gray-200); font-size: 13px; vertical-align: middle; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-table th { background: var(--navy-dark); color: var(--white); font-weight: 700; }
.admin-table col.col-nome { width: 25%; }
.admin-table col.col-cargo { width: 18%; }
.admin-table col.col-data { width: 12%; }
.admin-table col.col-perfil { width: 7%; }
.admin-table col.col-tempo { width: 10%; }
.admin-table col.col-acoes { width: 28%; }

.admin-actions { display: flex; gap: 6px; }
.admin-search { width: 100%; padding: 10px 14px; border: 1.5px solid var(--gray-200); border-radius: var(--radius); font-family: var(--sans); font-size: 14px; margin-bottom: 12px; outline: none; transition: border-color 0.2s; }
.admin-search:focus { border-color: var(--yellow); }
.admin-action-btn { padding: 6px 12px; background: var(--gray-100); border: 1px solid var(--gray-200); border-radius: 6px; cursor: pointer; font-size: 12px; font-weight: 600; transition: all 0.3s ease; }
.admin-action-btn:hover { background: var(--yellow); color: var(--navy-dark); }
.admin-action-btn.delete { background: rgba(231, 76, 60, 0.1); color: var(--disc-d); }
.admin-action-btn.delete:hover { background: var(--disc-d); color: var(--white); }

.footer-admin { position: fixed; bottom: 20px; right: 20px; width: 50px; height: 50px; background: var(--navy-dark); color: var(--white); opacity: 0.7; border: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.3s ease; font-size: 24px; z-index: 9998; }
.footer-admin:hover { opacity: 1; }


.landing-page::before, .test-page::before, .thank-you-page::before {
    content: '';
    position: fixed;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}
.landing-card, .thank-you-card, .test-header, .word-grid, .test-buttons { position: relative; z-index: 1; }




/* === COMMUNICATION CARD (SHAREABLE) === */
.comm-share-card { background: white; border: 2px solid var(--gray-200); border-radius: 16px; padding: 28px; max-width: 480px; margin: 20px 0; page-break-inside: avoid; }
.comm-share-header { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--gray-100); }
.comm-share-badge { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 20px; color: white; }
.comm-share-name { font-size: 16px; font-weight: 700; color: var(--navy-dark); }
.comm-share-role { font-size: 12px; color: var(--gray-500); }
.comm-do-dont { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.comm-do h5, .comm-dont h5 { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 8px; }
.comm-do h5 { color: var(--disc-s); }
.comm-dont h5 { color: var(--disc-d); }
.comm-do li, .comm-dont li { font-size: 13px; color: var(--gray-700); padding: 3px 0; list-style: none; }
.comm-do li::before { content: '✓ '; color: var(--disc-s); font-weight: 700; }
.comm-dont li::before { content: '✗ '; color: var(--disc-d); font-weight: 700; }

/* === EXECUTIVE SUMMARY CARD === */
#execSummaryCard:empty { display: none; }
.exec-summary { background: linear-gradient(135deg, var(--navy-dark), var(--navy)); border-radius: 16px; padding: 32px; margin-bottom: 40px; color: white; display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; }
.exec-summary-badge { width: 80px; height: 80px; border-radius: 50%; background: rgba(245,158,11,0.15); border: 2px solid var(--yellow); display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 800; color: var(--yellow); }
.exec-summary-text h3 { font-size: 20px; font-weight: 800; color: var(--yellow); margin-bottom: 4px; }
.exec-summary-text p { font-size: 14px; color: rgba(255,255,255,0.65); line-height: 1.6; }
.exec-keywords { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.exec-keyword { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; padding: 4px 12px; border-radius: 20px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); color: rgba(255,255,255,0.7); }
@media(max-width:768px) { .exec-summary { grid-template-columns: 1fr; text-align: center; } .exec-keywords { justify-content: center; } }

/* === ADMIN DASHBOARD === */
.admin-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 24px; }
.admin-metric-card { background: var(--off-white); border: 1px solid var(--gray-200); border-radius: 10px; padding: 16px; text-align: center; }
.admin-metric-value { font-size: 28px; font-weight: 800; color: var(--navy-dark); line-height: 1; }
.admin-metric-label { font-size: 11px; color: var(--gray-500); margin-top: 4px; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }
.admin-filters { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.admin-filter-btn { padding: 6px 14px; font-size: 12px; font-weight: 600; border: 1px solid var(--gray-200); border-radius: 20px; background: var(--white); cursor: pointer; transition: all 0.2s; font-family: var(--sans); }
.admin-filter-btn:hover, .admin-filter-btn.active { background: var(--yellow); border-color: var(--yellow); color: var(--navy-dark); }
.admin-export-btn { padding: 8px 16px; font-size: 12px; font-weight: 700; background: var(--navy-dark); color: var(--white); border: none; border-radius: 8px; cursor: pointer; transition: all 0.2s; font-family: var(--sans); }
.admin-export-btn:hover { background: var(--navy); }
.admin-chart-mini { height: 120px; margin-bottom: 20px; background: var(--off-white); border-radius: 10px; border: 1px solid var(--gray-200); padding: 12px; display: flex; align-items: flex-end; gap: 8px; }
.admin-bar { flex: 1; border-radius: 4px 4px 0 0; min-height: 8px; transition: height 0.5s ease; position: relative; }
.admin-bar span { position: absolute; top: -18px; left: 50%; transform: translateX(-50%); font-size: 10px; font-weight: 700; color: var(--gray-700); }
@media (max-width: 768px) { .admin-metrics { grid-template-columns: repeat(2, 1fr); } }

@media (max-width: 768px) {
    .landing-page, .test-page, .thank-you-page, .instruction-page {
        background: linear-gradient(180deg, rgba(15,23,42,0.5) 0%, rgba(15,23,42,0.3) 35%, rgba(15,23,42,0.6) 100%), url('bg-disc-new.jpg') center 40%/cover no-repeat;
        background-color: var(--navy-dark);
    }
    .test-page { padding: 20px 12px; overflow-x: hidden; }
    .test-page .container { padding: 10px; max-width: 100%; overflow: hidden; }
    .test-instruction { font-size: 12px !important; }
    .test-instruction span { font-size: 12px !important; padding: 2px 8px !important; }
    .word-card { min-height: 80px; padding: 20px 16px; }
    .word-grid { gap: 12px; margin-bottom: 20px; }
    .landing-card, .thank-you-card, .admin-content { padding: 30px 16px; }
    .admin-content { max-height: 95vh; }
    .landing-logo { font-size: 32px; }
    .landing-logo img { height: 45px !important; }
    .landing-header { margin-bottom: 30px; }
    .landing-subtitle { font-size: 11px !important; letter-spacing: 1.5px !important; }
    .word-grid { grid-template-columns: 1fr; }
    .report-badges { grid-template-columns: repeat(2, 1fr); }
    .profile-grid { grid-template-columns: 1fr; }
    .trait-pair { grid-template-columns: 1fr; }
    .test-buttons { flex-direction: column; }
    .btn-next { max-width: 100%; }
    .report-header { padding: 40px 20px; }
    .report-content { padding: 20px 16px 60px; }
}


a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 2px solid var(--yellow);
    outline-offset: 2px;
}





/* === SHARE BUTTON === */
.share-bar { display: flex; gap: 10px; justify-content: center; margin: 30px 0; flex-wrap: wrap; }
.share-btn { display: inline-flex; align-items: center; gap: 6px; padding: 10px 20px; border-radius: var(--radius); font-size: 13px; font-weight: 700; cursor: pointer; transition: all 0.3s; border: 1.5px solid var(--gray-200); background: white; color: var(--navy-dark); font-family: var(--sans); }
.share-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.08); border-color: var(--yellow); }
.share-btn svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; }
.share-toast { position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%); background: var(--navy-dark); color: white; padding: 12px 24px; border-radius: 30px; font-size: 14px; font-weight: 600; z-index: 9999; opacity: 0; transition: opacity 0.3s; pointer-events: none; }
.share-toast.show { opacity: 1; }

/* === SHAKE ANIMATION === */
@keyframes shake { 0%,100% { transform: translateX(0); } 20%,60% { transform: translateX(-8px); } 40%,80% { transform: translateX(8px); } }
.shake { animation: shake 0.5s ease; }
.code-error-msg { color: var(--disc-d); font-size: 13px; font-weight: 600; margin-top: 8px; text-align: center; display: none; }
.code-error-msg.visible { display: block; animation: slideUp 0.3s ease; }

/* === INSTRUCTION PAGE === */
.instruction-page { min-height: 100vh; display: none; align-items: center; justify-content: center; background: linear-gradient(135deg, rgba(15,23,42,0.82) 0%, rgba(37,99,235,0.6) 100%), url('bg-disc-new.jpg') center/cover no-repeat; background-color: var(--navy-dark); padding: 40px 20px; }
.instruction-page.active { display: flex; }
.instruction-card { background: rgba(255,255,255,0.95); border-radius: var(--radius); padding: 50px 44px; box-shadow: 0 20px 60px rgba(0,0,0,0.25); max-width: 640px; width: 100%; animation: slideUp 0.6s ease-out; backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.2); }
.instruction-card h2 { font-family: var(--sans); font-size: 28px; font-weight: 800; color: var(--navy-dark); margin-bottom: 8px; letter-spacing: -0.02em; }
.instruction-card .sub { font-size: 14px; color: var(--gray-500); margin-bottom: 30px; }
.instruction-steps { display: flex; flex-direction: column; gap: 16px; margin-bottom: 30px; }
.instruction-step { display: flex; gap: 16px; align-items: flex-start; padding: 16px; border-radius: var(--radius); background: var(--off-white); border: 1px solid var(--gray-100); }
.instruction-step-num { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; flex-shrink: 0; }
.instruction-step-num.green { background: rgba(39,174,96,0.1); color: var(--disc-s); }
.instruction-step-num.red { background: rgba(231,76,60,0.1); color: var(--disc-d); }
.instruction-step-num.blue { background: rgba(52,152,219,0.1); color: var(--disc-c); }
.instruction-step h4 { font-size: 14px; font-weight: 700; color: var(--navy-dark); margin-bottom: 2px; }
.instruction-step p { font-size: 13px; color: var(--gray-500); line-height: 1.5; }
.instruction-demo { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 24px; padding: 20px; background: linear-gradient(135deg, var(--navy-dark), var(--navy)); border-radius: var(--radius); }
.demo-card { background: rgba(255,255,255,0.06); border: 2px solid rgba(255,255,255,0.12); border-radius: 10px; padding: 14px 8px; text-align: center; }
.demo-card span { color: white; font-weight: 700; font-size: 13px; }
.demo-card.demo-mais { background: var(--disc-s); border-color: var(--disc-s); box-shadow: 0 0 12px rgba(39,174,96,0.3); }
.demo-card.demo-menos { background: var(--disc-d); border-color: var(--disc-d); box-shadow: 0 0 12px rgba(231,76,60,0.3); }
.demo-labels { display: flex; justify-content: space-between; margin-top: 6px; padding: 0 4px; }
.demo-labels span { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; }
.demo-labels .lbl-mais { color: var(--disc-s); }
.demo-labels .lbl-menos { color: var(--disc-d); }
.instruction-info { display: flex; gap: 10px; align-items: center; padding: 14px 16px; background: rgba(245,158,11,0.06); border: 1px solid rgba(245,158,11,0.15); border-radius: var(--radius); margin-bottom: 24px; font-size: 13px; color: var(--gray-700); line-height: 1.5; }
.instruction-info svg { width: 20px; height: 20px; stroke: var(--yellow); fill: none; stroke-width: 2; flex-shrink: 0; }

/* === BLOCK TRANSITIONS === */
.word-grid { animation: blockSlideIn 0.4s ease-out; }
@keyframes blockSlideIn {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}
.competency-bar-fill { transition: width 1.2s cubic-bezier(0.22,1,0.36,1); }

/* === PULSE NEXT BUTTON === */
.btn-next.ready { animation: pulseNext 1.5s ease-in-out infinite; }
@keyframes pulseNext {
    0%,100% { box-shadow: 0 4px 15px rgba(245,158,11,0.3); }
    50% { box-shadow: 0 4px 30px rgba(245,158,11,0.6), 0 0 50px rgba(245,158,11,0.2); }
}

/* === REPORT SECTION DIVIDERS === */
.report-section { position: relative; }
.report-section::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--yellow), transparent); opacity: 0.3; }
.report-section:last-child::after { display: none; }

/* === LOADING BUTTON STATE === */
.btn-loading { pointer-events: none; opacity: 0.7; }
.btn-loading::after { content: ''; display: inline-block; width: 16px; height: 16px; border: 2px solid rgba(15,23,42,0.3); border-top-color: var(--navy-dark); border-radius: 50%; animation: spin 0.6s linear infinite; margin-left: 8px; vertical-align: middle; }
@keyframes spin { to { transform: rotate(360deg); } }



/* === THANK YOU PROFILE BADGE === */
.thankyou-profile { display: inline-flex; align-items: center; gap: 10px; background: var(--off-white); border: 2px solid var(--yellow); border-radius: 12px; padding: 16px 24px; margin: 20px 0; }
.thankyou-profile-letter { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 18px; color: white; }
.thankyou-profile-info { text-align: left; }
.thankyou-profile-info h4 { font-size: 16px; font-weight: 700; color: var(--navy-dark); }
.thankyou-profile-info p { font-size: 13px; color: var(--gray-500); }

/* === TIMER === */
.test-timer { color: rgba(255,255,255,0.35); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; text-align: center; margin-top: 8px; }
.block-feedback { position: fixed; top: 50%; left: 50%; transform: translate(-50%,-50%); background: var(--disc-s); color: white; font-weight: 800; font-size: 18px; padding: 12px 28px; border-radius: 30px; z-index: 9999; opacity: 0; pointer-events: none; transition: opacity 0.2s; box-shadow: 0 8px 24px rgba(39,174,96,0.4); }
.block-feedback.show { opacity: 1; }

/* === CONFETTI ANIMATION === */
.confetti-container { position: fixed; inset: 0; pointer-events: none; z-index: 1000; overflow: hidden; }
.confetti-piece { position: absolute; width: 8px; height: 8px; top: -10px; opacity: 0; animation: confetti-fall 3s ease-in-out forwards; }
@keyframes confetti-fall {
    0% { transform: translateY(0) rotate(0deg); opacity: 1; }
    100% { transform: translateY(100vh) rotate(720deg); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}


@media (max-width: 480px) {
    .landing-card, .thank-you-card { padding: 30px 20px; }
    .landing-logo, .landing-header .logo-svg { height: 32px !important; }
    .test-title { font-size: 20px; }
    .word-text { font-size: 16px; }
    .report-badges { grid-template-columns: 1fr 1fr; }
}


/* === REPORT MOBILE === */
@media(max-width: 768px) {
    .report-header { padding: 40px 20px; }
    .report-content { padding: 20px 16px 60px; }
    .report-section-title { font-size: 20px; }
    .intensity-table { font-size: 12px; }
    .intensity-table th, .intensity-table td { padding: 8px 6px; }
    .chart-container { height: 220px; padding: 12px; }
    .comm-do-dont { grid-template-columns: 1fr; }
    .exec-summary { padding: 20px; }
    .share-bar { flex-direction: column; align-items: center; }
    .instruction-demo { grid-template-columns: repeat(2, 1fr); }
}

@media print {
    body { background: var(--white); }
    .footer-admin, .test-buttons, .share-bar, #execSummaryCard, #shareBar { display: none; }
    .report-section { page-break-inside: avoid; }
}

.pdf-cover-page {
    display: none;
    width: 794px;
    min-height: 1123px;
    background: linear-gradient(160deg, #0F172A 0%, #162544 35%, #1E3A5F 65%, #0F172A 100%);
    color: white;
    position: relative;
    overflow: hidden;
    font-family: var(--sans);
}
.pdf-cover-page.visible { display: block; }
.pdf-cover-decoration {
    position: absolute;
    top: -80px;
    right: -80px;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(231,76,60,0.08) 0%, rgba(243,156,18,0.05) 50%, transparent 70%);
}
.pdf-cover-decoration-2 {
    position: absolute;
    bottom: -120px;
    left: -120px;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(39,174,96,0.06) 0%, rgba(52,152,219,0.04) 50%, transparent 70%);
}
.pdf-cover-decoration-3 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    border-radius: 50%;
    border: 1px solid rgba(245,158,11,0.06);
}
.pdf-cover-decoration-4 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    border-radius: 50%;
    border: 1px solid rgba(245,158,11,0.04);
}
.pdf-cover-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #E74C3C, #F59E0B, #27AE60, #3498DB);
}
.pdf-cover-line-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3498DB, #27AE60, #F59E0B, #E74C3C);
}
.pdf-cover-content {
    position: relative;
    z-index: 2;
    padding: 70px 60px 50px;
    display: flex;
    flex-direction: column;
    min-height: 1123px;
}
.pdf-cover-logo { margin-bottom: 50px; }
.pdf-cover-main { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.pdf-cover-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 5px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 16px;
    font-weight: 600;
}
.pdf-cover-title {
    font-family: var(--sans);
    font-size: 56px;
    font-weight: 800;
    color: #F59E0B;
    line-height: 1.05;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}
.pdf-cover-subtitle {
    font-size: 22px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 50px;
    font-weight: 300;
    letter-spacing: 0.5px;
}
.pdf-cover-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #F59E0B, #FCD34D);
    margin-bottom: 35px;
    border-radius: 2px;
}
.pdf-cover-info { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 40px; max-width: 500px; }
.pdf-cover-info-item { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.pdf-cover-info-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.4);
    margin-bottom: 4px;
}
.pdf-cover-info-value {
    font-size: 16px;
    color: white;
    font-weight: 600;
}
.pdf-cover-badges {
    display: flex;
    gap: 14px;
    margin-top: 45px;
}
.pdf-cover-badge {
    width: 75px;
    height: 75px;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    border: 1px solid rgba(255,255,255,0.1);
}
.pdf-cover-badge-letter { font-size: 24px; color: white; font-weight: 800; }
.pdf-cover-badge-score { font-size: 11px; color: rgba(255,255,255,0.7); margin-top: 2px; }
.pdf-cover-footer {
    text-align: center;
    padding: 25px 0;
    font-size: 10px;
    color: rgba(255,255,255,0.3);
    letter-spacing: 2px;
    text-transform: uppercase;
    border-top: 1px solid rgba(255,255,255,0.06);
}

/* Report page PDF optimizations */
.report-page .report-content { max-width: 794px; }

