/**
 * Diagnóstico Interativo - Estilos
 * Visual teatral, tecnológico e premium
 */

/* ==========================================================================
   DIAGNOSTIC PAGE BASE - Layout Totalmente Fluido
   ========================================================================== */
body.diag-page-active {
    overflow-x: hidden;
}

.diagnostico-app {
    width: 100%;
    min-height: 100vh;
    background: var(--color-bg);
}

.diag-screen {
    display: none;
    width: 100%;
    min-height: 100vh;
    padding: 2rem 0;
}

.diag-screen.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* ==========================================================================
   INTRO SCREEN
   ========================================================================== */
.diag-intro {
    background: radial-gradient(ellipse at 50% 20%, rgba(36, 107, 253, 0.15) 0%, transparent 50%),
                radial-gradient(ellipse at 80% 80%, rgba(0, 212, 170, 0.08) 0%, transparent 40%),
                var(--color-bg);
}

.diag-container {
    max-width: 800px;
    padding: 2rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

/* Pulse Animation Visual */
.intro-visual {
    position: relative;
    width: 160px;
    height: 160px;
    margin: 0 auto 3rem;
}

.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border: 2px solid rgba(36, 107, 253, 0.3);
    border-radius: 50%;
    animation: pulse-ring 3s ease-out infinite;
}

.pulse-ring.delay-1 { animation-delay: 1s; }
.pulse-ring.delay-2 { animation-delay: 2s; }

@keyframes pulse-ring {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.6);
        opacity: 0;
    }
}

.intro-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    backdrop-filter: blur(var(--glass-blur));
    display: flex;
    align-items: center;
    justify-content: center;
}

.intro-icon svg {
    width: 50px;
    height: 50px;
}

/* Title */
.diag-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.title-line {
    display: block;
}

.gradient-text {
    background: linear-gradient(135deg, #246BFD 0%, #00D4AA 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.diag-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

/* Features */
.intro-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text-muted);
    font-size: 0.875rem;
    justify-content: center;
}

.feature-item svg {
    width: 20px;
    height: 20px;
    color: var(--color-primary);
}

/* Start Button */
.btn-start-diag {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 2.5rem;
    background: var(--gradient-primary);
    color: white;
    font-size: 1.125rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-glow);
    position: relative;
    overflow: hidden;
}

.btn-start-diag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn-start-diag:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow-strong);
}

.btn-start-diag:hover::before {
    left: 100%;
}

.btn-start-diag svg {
    width: 24px;
    height: 24px;
    transition: transform var(--transition-base);
}

.btn-start-diag:hover svg {
    transform: translateX(5px);
}

/* Particles Background */
.particles-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

/* ==========================================================================
   QUIZ SCREEN - Layout Simples e Fluido
   ========================================================================== */
.diag-quiz {
    background: var(--color-bg);
    padding: 7rem 1rem 2rem;
}

.quiz-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

/* Quiz Header */
.quiz-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-border);
}

.progress-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.section-badge {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: var(--gradient-primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-full);
}

.section-name {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.progress-bar {
    position: relative;
    width: 100%;
    height: 6px;
    background: var(--color-bg-alt);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    width: 0%;
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.progress-glow {
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(36, 107, 253, 0.5));
    animation: progress-glow 2s ease-in-out infinite;
}

@keyframes progress-glow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.question-counter {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    text-align: right;
}

.question-counter span:first-child {
    color: var(--color-primary);
    font-weight: 600;
}

.separator {
    margin: 0 0.25rem;
}

/* Questions Wrapper - Simples e Fluido */
.questions-wrapper {
    width: 100%;
    margin-bottom: 2rem;
    min-height: auto;
}

.question-slide {
    display: none;
}

.question-slide.active {
    display: block;
    animation: fadeInSlide 0.4s ease-out;
}

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

.question-slide.exit-left {
    display: none;
}

/* Question Content */
.question-number {
    display: inline-block;
    width: 32px;
    height: 32px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary);
    line-height: 30px;
    text-align: center;
    margin-bottom: 1rem;
}

.question-text {
    font-size: 1.375rem;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 2rem;
    color: var(--color-text);
}

/* Answer Options */
.answer-options {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.answer-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.125rem 1.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.answer-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.answer-option:hover {
    border-color: var(--color-primary);
    transform: translateX(5px);
}

.answer-option.selected {
    border-color: var(--color-primary);
    background: rgba(36, 107, 253, 0.15);
}

.answer-option.selected::before {
    opacity: 0.1;
}

.answer-radio {
    position: relative;
    width: 22px;
    height: 22px;
    border: 2px solid var(--color-border);
    border-radius: 50%;
    flex-shrink: 0;
    transition: all var(--transition-base);
    z-index: 1;
}

.answer-option:hover .answer-radio,
.answer-option.selected .answer-radio {
    border-color: var(--color-primary);
}

.answer-option.selected .answer-radio::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: var(--color-primary);
    border-radius: 50%;
    animation: radio-pop 0.3s ease;
}

@keyframes radio-pop {
    0% { transform: translate(-50%, -50%) scale(0); }
    50% { transform: translate(-50%, -50%) scale(1.3); }
    100% { transform: translate(-50%, -50%) scale(1); }
}

.answer-text {
    font-size: 1rem;
    color: var(--color-text);
    z-index: 1;
}

/* Quiz Footer */
.quiz-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
    gap: 1rem;
}

.btn-nav {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 500;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-base);
    background: transparent;
    color: var(--color-text-muted);
}

.btn-nav svg {
    width: 18px;
    height: 18px;
}

.btn-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.btn-nav:not(:disabled):hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-2px);
}

.btn-next:not(:disabled),
.btn-finish:not(:disabled) {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
}

.btn-next:not(:disabled):hover,
.btn-finish:not(:disabled):hover {
    box-shadow: var(--shadow-glow);
    color: white;
}

.btn-nav.hidden {
    display: none;
}

/* ==========================================================================
   ANALYSIS SCREEN (THEATRICAL)
   ========================================================================== */
.diag-analysis {
    background: #030810;
    flex-direction: column;
    gap: 2rem;
}

.analysis-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

/* Matrix Rain Canvas */
.matrix-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.15;
    z-index: 0;
}

/* Analysis Visual */
.analysis-visual {
    position: relative;
    width: 200px;
    height: 200px;
    margin-bottom: 2rem;
    z-index: 1;
}

.scan-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid rgba(36, 107, 253, 0.3);
    border-radius: 50%;
    animation: scan-rotate 4s linear infinite;
}

.ring-1 {
    width: 180px;
    height: 180px;
    border-color: rgba(36, 107, 253, 0.5);
    animation-direction: normal;
}

.ring-2 {
    width: 140px;
    height: 140px;
    border-color: rgba(0, 212, 170, 0.4);
    animation-direction: reverse;
    animation-duration: 3s;
}

.ring-3 {
    width: 100px;
    height: 100px;
    border-color: rgba(36, 107, 253, 0.6);
    animation-duration: 2s;
}

@keyframes scan-rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.scan-ring::before,
.scan-ring::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--color-primary);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--color-primary);
}

.ring-1::before { top: -5px; left: 50%; transform: translateX(-50%); }
.ring-1::after { bottom: -5px; left: 50%; transform: translateX(-50%); }
.ring-2::before { top: 50%; left: -5px; transform: translateY(-50%); }
.ring-2::after { top: 50%; right: -5px; transform: translateY(-50%); }

.core-sphere {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: radial-gradient(circle at 30% 30%, #4C8BFE, #1852C9);
    border-radius: 50%;
    box-shadow: 0 0 40px rgba(36, 107, 253, 0.5),
                inset 0 0 30px rgba(255,255,255,0.1);
    animation: sphere-pulse 2s ease-in-out infinite;
}

@keyframes sphere-pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); box-shadow: 0 0 40px rgba(36, 107, 253, 0.5); }
    50% { transform: translate(-50%, -50%) scale(1.1); box-shadow: 0 0 60px rgba(36, 107, 253, 0.8); }
}

.sphere-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    opacity: 0.9;
}

/* Analysis Status */
.analysis-status {
    text-align: center;
    z-index: 1;
    margin-bottom: 2rem;
}

.analysis-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    background: linear-gradient(90deg, #246BFD, #00D4AA, #246BFD);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 3s ease-in-out infinite;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.analysis-phrase {
    color: var(--color-text-muted);
    font-size: 0.9375rem;
    min-height: 1.5em;
}

/* Analysis Sectors */
.analysis-sectors {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    z-index: 1;
    margin-bottom: 2rem;
}

.sector-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.25rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    min-width: 100px;
    opacity: 0.4;
    transition: all 0.5s ease;
}

.sector-item.analyzing {
    opacity: 1;
    border-color: var(--color-primary);
    box-shadow: 0 0 20px rgba(36, 107, 253, 0.3);
    animation: sector-glow 1s ease-in-out infinite;
}

.sector-item.completed {
    opacity: 1;
    border-color: var(--color-accent);
}

.sector-item.completed .sector-status::after {
    content: '✓';
    color: var(--color-accent);
    font-weight: bold;
}

@keyframes sector-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(36, 107, 253, 0.3); }
    50% { box-shadow: 0 0 40px rgba(36, 107, 253, 0.6); }
}

.sector-icon {
    width: 32px;
    height: 32px;
    color: var(--color-text-muted);
}

.sector-item.analyzing .sector-icon {
    color: var(--color-primary);
}

.sector-item.completed .sector-icon {
    color: var(--color-accent);
}

.sector-icon svg {
    width: 100%;
    height: 100%;
}

.sector-item span {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.sector-status {
    height: 16px;
    font-size: 0.875rem;
}

/* Analysis Loader */
.analysis-loader {
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 1;
    width: 100%;
    max-width: 400px;
}

.loader-bar {
    flex: 1;
    height: 8px;
    background: var(--color-bg-alt);
    border-radius: var(--radius-full);
    position: relative;
    overflow: hidden;
}

.loader-fill {
    height: 100%;
    background: linear-gradient(90deg, #246BFD, #00D4AA);
    border-radius: var(--radius-full);
    width: 0%;
    transition: width 0.3s ease;
}

.loader-pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: loader-pulse 1.5s ease-in-out infinite;
}

@keyframes loader-pulse {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.loader-percent {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-primary);
    min-width: 50px;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

/* Floating Data */
.floating-data {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.data-point {
    position: absolute;
    font-family: 'Courier New', monospace;
    font-size: 0.75rem;
    color: rgba(36, 107, 253, 0.4);
    animation: float-data 8s linear infinite;
    white-space: nowrap;
}

@keyframes float-data {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }
    10% { opacity: 0.6; }
    90% { opacity: 0.6; }
    100% {
        transform: translateY(-100px) translateX(50px);
        opacity: 0;
    }
}

/* ==========================================================================
   RESULT SCREEN
   ========================================================================== */
.diag-result {
    background: radial-gradient(ellipse at 50% 0%, rgba(36, 107, 253, 0.1) 0%, transparent 50%),
                var(--color-bg);
    overflow-y: auto;
}

.result-container {
    width: 100%;
    max-width: 900px;
    padding: 4rem 2rem 3rem;
    margin: 0 auto;
}

/* Result Header */
.result-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--color-border);
}

.result-level {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.level-badge {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    position: relative;
}

.level-badge::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: inherit;
    opacity: 0.3;
    animation: badge-pulse 2s ease-in-out infinite;
}

@keyframes badge-pulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.1); opacity: 0.1; }
}

/* Level Colors */
.level-1 .level-badge { background: linear-gradient(135deg, #DC2626, #991B1B); color: white; }
.level-2 .level-badge { background: linear-gradient(135deg, #F97316, #C2410C); color: white; }
.level-3 .level-badge { background: linear-gradient(135deg, #EAB308, #A16207); color: white; }
.level-4 .level-badge { background: linear-gradient(135deg, #22C55E, #15803D); color: white; }

.level-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    margin-bottom: 0.25rem;
}

.level-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.level-1 .level-title { color: #EF4444; }
.level-2 .level-title { color: #F97316; }
.level-3 .level-title { color: #EAB308; }
.level-4 .level-title { color: #22C55E; }

.level-subtitle {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
}

/* Score Display */
.score-display {
    position: relative;
}

.score-ring {
    position: relative;
    width: 120px;
    height: 120px;
}

.score-ring svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.score-bg {
    fill: none;
    stroke: var(--color-bg-alt);
    stroke-width: 8;
}

.score-fill {
    fill: none;
    stroke: url(#scoreGradient);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 339.292;
    stroke-dashoffset: 339.292;
    transition: stroke-dashoffset 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.score-value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.score-value span:first-child {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1;
}

.score-total {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

/* Result Message */
.result-message {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    margin-bottom: 2rem;
}

.message-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.message-text {
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* Risk Areas */
.risk-areas {
    margin-bottom: 2rem;
}

.risk-areas h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.risk-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    list-style: none;
}

.risk-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    color: #FCA5A5;
}

.risk-list li::before {
    content: '⚠';
    font-size: 0.75rem;
}

/* Strategic Reading */
.strategic-reading {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(36, 107, 253, 0.1);
    border: 1px solid rgba(36, 107, 253, 0.2);
    border-radius: var(--radius-lg);
    margin-bottom: 2.5rem;
}

.reading-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.strategic-reading h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary-light);
    margin-bottom: 0.5rem;
}

.strategic-reading p {
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* Recommended Services */
.recommended-services {
    margin-bottom: 2.5rem;
}

.recommended-services h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--color-text);
}

.recommended-services h3 svg {
    width: 24px;
    height: 24px;
    color: var(--color-accent);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.service-card {
    padding: 1.25rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    text-decoration: none;
    color: inherit;
    display: block;
}

.service-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.service-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.service-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.service-icon svg {
    width: 22px;
    height: 22px;
}

.service-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
}

.service-desc {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* Result CTA */
.result-cta {
    text-align: center;
    margin-bottom: 2rem;
}

.btn-whatsapp-result {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: #25D366;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: all var(--transition-base);
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp-result:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp-result svg {
    width: 24px;
    height: 24px;
}

.cta-note {
    margin-top: 0.75rem;
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

/* Restart Button */
.btn-restart {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 1rem;
    background: transparent;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    color: var(--color-text-muted);
    font-size: 0.9375rem;
    cursor: pointer;
    transition: all var(--transition-base);
}

.btn-restart:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn-restart svg {
    width: 18px;
    height: 18px;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 768px) {
    .diag-container {
        padding: 1.5rem;
    }
    
    .intro-visual {
        width: 120px;
        height: 120px;
        margin-bottom: 2rem;
    }
    
    .intro-features {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .feature-item {
        justify-content: center;
        width: 100%;
    }
    
    .quiz-container {
        padding: 1.25rem 1rem;
    }
    
    .progress-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .question-slide {
        padding: 0.5rem 0;
    }
    
    .question-text {
        font-size: 1.125rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }
    
    .answer-option {
        padding: 1rem 1.25rem;
    }
    
    .quiz-footer {
        flex-wrap: wrap;
        gap: 0.75rem;
        padding-top: 1.5rem;
    }
    
    .btn-nav {
        flex: 1;
        justify-content: center;
        padding: 0.875rem 1rem;
        font-size: 0.875rem;
        min-width: 120px;
    }
    
    .analysis-sectors {
        gap: 0.5rem;
    }
    
    .sector-item {
        padding: 0.75rem;
        min-width: 80px;
    }
    
    .result-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .result-level {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* Telas grandes */
@media (min-width: 1200px) {
    .quiz-container {
        max-width: 900px;
        padding: 3rem;
    }
    
    .question-text {
        font-size: 1.5rem;
    }
    
    .answer-option {
        padding: 1.25rem 1.75rem;
    }
    
    .answer-text {
        font-size: 1.0625rem;
    }
}
