/* ============================================
   QUIZ DIAGNÓSTICO DIGITAL - 8BIT LAB
   Estilizado com o design system oficial
   ============================================ */

/* Variáveis do Design System 8bit Lab */
:root {
    --primary-red: #ea532e;
    --light-gray: #D0D0D0;
    --medium-gray: #A6A6A6;
    --dark-bg: #1B1B1B;
    --darker-bg: #0f0f0f;
    --white: #FFFFFF;
    --blue-digital: #0096FF;

    --font-primary: 'Jersey 15', cursive;
    --font-secondary: 'Share Tech Mono', monospace;

    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 48px;
    --spacing-xl: 80px;

    --border-width: 2px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --navbar-height: 72px;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: auto;
}

body {
    font-family: var(--font-secondary);
    background-color: var(--dark-bg);
    color: var(--light-gray);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
}

/* Background com linhas (igual ao site) */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        repeating-linear-gradient(0deg,
            transparent,
            transparent 2px,
            rgba(234, 83, 46, 0.03) 2px,
            rgba(234, 83, 46, 0.03) 4px),
        repeating-linear-gradient(90deg,
            transparent,
            transparent 2px,
            rgba(0, 150, 255, 0.03) 2px,
            rgba(0, 150, 255, 0.03) 4px);
    pointer-events: none;
    z-index: 1;
}

/* Noise Overlay (igual ao site) */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
    opacity: 0.4;
}

::selection {
    background-color: var(--primary-red);
    color: var(--white);
}

/* Container */
.container {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: var(--spacing-lg) var(--spacing-md);
    overflow: visible;
    /* Permite que elementos filhos ultrapassem os limites */
}

/* Logo */
.logo {
    text-align: center;
    margin-top: var(--spacing-xl);
    margin-bottom: var(--spacing-lg);
    animation: fadeInDown 0.8s ease-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.logo-link {
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.logo-link:hover {
    transform: scale(1.05);
}

.logo-image {
    max-width: 450px;
    width: 100%;
    height: auto;
    margin-bottom: var(--spacing-sm);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    animation: fadeInDown 0.8s ease-out;
    transition: all 0.3s ease;
    display: block;
}

.logo-link:hover .logo-image {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4)) brightness(1.05);
    transform: scale(1.02);
}

.logo .tagline {
    font-family: var(--font-secondary);
    font-size: 10px;
    color: var(--blue-digital);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: var(--spacing-xs);
    position: relative;
    display: inline-block;
    font-weight: 400;
    padding: 8px 16px;
    border: 1px solid var(--blue-digital);
    animation: taglinePulse 2s infinite;
}

@keyframes taglinePulse {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(0, 150, 255, 0.7);
    }

    50% {
        opacity: 0.9;
        box-shadow: 0 0 0 8px rgba(0, 150, 255, 0);
    }
}

/* Progress Bar Fixa */
.progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(15, 15, 15, 0.95);
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(234, 83, 46, 0.2);
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-red), var(--blue-digital));
    transition: width 0.5s ease;
    box-shadow: none;
    position: relative;
    width: 0%;
}


.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: progressShimmer 2s linear infinite;
}

@keyframes progressShimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

/* Screens */
.screen {
    display: none;
    animation: fadeInUp 0.6s ease-out;
    overflow: visible;
    /* Permite que elementos filhos ultrapassem os limites */
}

.screen.active {
    display: block;
}

/* Cards com estilo 8bit Lab */
.card {
    background: rgba(15, 15, 15, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: var(--border-width) solid rgba(0, 150, 255, 0.2);
    border-radius: 8px;
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.7);
    transition: var(--transition);
}

/* Card especial para tela de resultados */
#screen-results .card {
    background: rgba(15, 15, 15, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--spacing-lg);
}

#screen-results .card::before {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 3s linear infinite;
}

#screen-results .card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        repeating-linear-gradient(0deg,
            transparent,
            transparent 2px,
            rgba(0, 150, 255, 0.03) 2px,
            rgba(0, 150, 255, 0.03) 4px),
        repeating-linear-gradient(90deg,
            transparent,
            transparent 2px,
            rgba(234, 83, 46, 0.03) 2px,
            rgba(234, 83, 46, 0.03) 4px);
    pointer-events: none;
    opacity: 0.15;
    /* Reduced from 0.4 for minimalism */
    z-index: 0;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--blue-digital), transparent);
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.card:hover {
    border-color: rgba(0, 150, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Question Number */
.question-number {
    font-family: var(--font-secondary);
    font-size: 12px;
    color: var(--primary-red);
    letter-spacing: 3px;
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    text-transform: uppercase;
}

.question-number::before {
    content: '';
    width: 30px;
    height: 2px;
    background: var(--primary-red);
    box-shadow: none;
}

/* Tipografia */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-primary);
    font-weight: 400;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 2px;
}

h2 {
    font-size: clamp(24px, 4vw, 32px);
    color: var(--white);
    margin-bottom: var(--spacing-md);
}

.subtitle {
    font-family: var(--font-secondary);
    font-size: 14px;
    color: var(--light-gray);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
    letter-spacing: 1px;
}

/* Options */
.options {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.option {
    background: rgba(15, 15, 15, 0.6);
    backdrop-filter: blur(10px);
    border: var(--border-width) solid rgba(208, 208, 208, 0.1);
    border-radius: 6px;
    padding: var(--spacing-md) var(--spacing-md);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.option::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 150, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.option:hover {
    border-color: var(--blue-digital);
    background: rgba(0, 150, 255, 0.05);
    transform: translateX(5px);
    box-shadow: none;
}

.option:hover::before {
    left: 100%;
}

.option.selected {
    border-color: var(--primary-red);
    background: rgba(234, 83, 46, 0.1);
    box-shadow: none;
}

.option input[type="radio"],
.option input[type="checkbox"] {
    display: none;
}

.option-label {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    font-family: var(--font-secondary);
    font-size: 14px;
    font-weight: 400;
    color: var(--white);
}

.option-indicator {
    min-width: 24px;
    height: 24px;
    border: 2px solid var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    margin-top: 2px;
}

.option.selected .option-indicator {
    border-color: var(--primary-red);
    background: var(--primary-red);
    box-shadow: none;
}

.option.selected .option-indicator::after {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--white);
    border-radius: 50%;
    animation: ping 0.4s ease-out;
}

@keyframes ping {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Form */
.form-group {
    margin-bottom: var(--spacing-md);
}

label {
    display: block;
    font-family: var(--font-secondary);
    font-size: 12px;
    font-weight: 400;
    color: var(--white);
    margin-bottom: var(--spacing-xs);
    letter-spacing: 1px;
    text-transform: uppercase;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select {
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-md);
    background: rgba(15, 15, 15, 0.7);
    backdrop-filter: blur(10px);
    border: var(--border-width) solid rgba(208, 208, 208, 0.2);
    border-radius: 6px;
    color: var(--white);
    font-size: 14px;
    font-family: var(--font-secondary);
    transition: var(--transition);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
select:focus {
    outline: none;
    border-color: var(--blue-digital);
    box-shadow: none;
    background: rgba(15, 15, 15, 0.9);
}

select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%230096FF' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right var(--spacing-md) center;
    padding-right: 50px;
}

/* Botões (estilo 8bit Lab) */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: 16px 32px;
    font-family: var(--font-primary);
    font-size: 10px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: var(--border-width) solid;
    background: transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    color: var(--white);
    border-color: var(--primary-red);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-red);
    transition: left 0.3s;
    z-index: -1;
}

.btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(234, 83, 46, 0.45), 0 0 40px rgba(0, 150, 255, 0.2);
}

.btn:hover::before {
    left: 0;
}

.btn:active {
    transform: translateY(0);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    border-color: var(--medium-gray);
}

.btn-secondary {
    color: var(--light-gray);
    border-color: var(--light-gray);
}

.btn-secondary:hover {
    color: var(--white);
    border-color: var(--white);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.25), 0 0 30px rgba(255, 255, 255, 0.15);
}

.btn-secondary::before {
    background: var(--white);
}

.button-group {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

/* Score Display */
/* Score Display - Design Profissional */
.score-display {
    text-align: center;
    padding: var(--spacing-xl) var(--spacing-lg);
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: var(--spacing-lg);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.score-display::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        repeating-linear-gradient(0deg,
            transparent,
            transparent 2px,
            rgba(0, 150, 255, 0.02) 2px,
            rgba(0, 150, 255, 0.02) 4px),
        repeating-linear-gradient(90deg,
            transparent,
            transparent 2px,
            rgba(234, 83, 46, 0.02) 2px,
            rgba(234, 83, 46, 0.02) 4px);
    pointer-events: none;
    opacity: 0.1;
    /* Reduced from 0.3 for minimalism */
}

.score-display::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--blue-digital), transparent);
    animation: shimmer 3s linear infinite;
    pointer-events: none;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.score-number {
    font-family: var(--font-primary);
    font-size: clamp(120px, 25vw, 200px);
    font-weight: 400;
    color: var(--white);
    margin-bottom: var(--spacing-sm);
    position: relative;
    z-index: 2;
    letter-spacing: 4px;
    line-height: 1;
}

@keyframes scorePulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.01);
    }
}

.score-text-red {
    color: #ef4444 !important;
}

.score-text-yellow {
    color: #f59e0b !important;
}

.score-text-green {
    color: #10b981 !important;
}

.score-label {
    font-family: var(--font-secondary);
    font-size: 11px;
    color: var(--blue-digital);
    letter-spacing: 3px;
    text-transform: uppercase;
    position: relative;
    z-index: 2;
    font-weight: 400;
    padding: var(--spacing-xs) var(--spacing-md);
    border: 1px solid rgba(0, 150, 255, 0.2);
    border-radius: 4px;
    display: inline-block;
    background: rgba(0, 150, 255, 0.03);
    backdrop-filter: blur(10px);
}

/* Profile Badge - Design Profissional */
.profile-badge {
    display: inline-block;
    background: rgba(234, 83, 46, 0.15);
    color: var(--primary-red);
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: 6px;
    font-family: var(--font-primary);
    font-weight: 400;
    font-size: 14px;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: var(--spacing-lg);
    position: relative;
    border: 2px solid var(--primary-red);
    transition: var(--transition);
    z-index: 1;
}

@keyframes badgeGlow {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.01);
    }
}

.profile-badge:hover {
    background: rgba(234, 83, 46, 0.25);
    transform: translateY(-2px);
}

@keyframes badgeBorderGlow {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.7;
    }
}

/* Diagnosis - Design Profissional */
.diagnosis {
    font-family: var(--font-secondary);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: var(--spacing-lg);
    color: var(--light-gray);
    background: rgba(15, 15, 15, 0.6);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(0, 150, 255, 0.2);
    border-left: 4px solid var(--blue-digital);
    padding: var(--spacing-md);
    border-radius: 6px;
    position: relative;
    z-index: 1;
}

.diagnosis::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--blue-digital);
    border-radius: 2px;
}

@keyframes diagnosisBorder {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

/* Dashboard de Maturidade Digital - Design Profissional */
.maturity-traffic-light {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-sm);
    margin: var(--spacing-lg) 0;
    position: relative;
    z-index: 1;
}

.maturity-pillar-card {
    background: rgba(15, 15, 15, 0.7);
    backdrop-filter: blur(20px);
    border: var(--border-width) solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: var(--spacing-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.maturity-pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, currentColor, transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.maturity-pillar-card:hover {
    transform: translateY(-3px);
    border-color: currentColor;
    box-shadow: none;
}

.maturity-pillar-card:hover::before {
    opacity: 0.6;
}

/* Header do Pillar */
.pillar-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.pillar-icon-wrapper {
    position: relative;
    flex-shrink: 0;
}

.pillar-icon {
    font-size: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

/* Removendo estilos antigos dos ícones CSS - agora usando Pixelarticons */
.pillar-icon.red::before,
.pillar-icon.yellow::before,
.pillar-icon.green::before {
    display: none !important;
}

/* CSS antigo removido - usando Pixelarticons agora */
/* 
.pillar-icon.red::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: #ef4444;
    border-radius: 0;
    image-rendering: pixelated;
    box-shadow: 
        0 0 0 0 #ef4444, 2px 0 0 0 #ef4444, 4px 0 0 0 #ef4444, 6px 0 0 0 #ef4444, 8px 0 0 0 #ef4444, 10px 0 0 0 #ef4444, 12px 0 0 0 #ef4444, 14px 0 0 0 #ef4444, 16px 0 0 0 #ef4444, 18px 0 0 0 #ef4444,
        0 2px 0 0 #ef4444, 2px 2px 0 0 #ef4444, 4px 2px 0 0 #ef4444, 6px 2px 0 0 #ef4444, 8px 2px 0 0 #ef4444, 10px 2px 0 0 #ef4444, 12px 2px 0 0 #ef4444, 14px 2px 0 0 #ef4444, 16px 2px 0 0 #ef4444, 18px 2px 0 0 #ef4444,
        0 4px 0 0 #ef4444, 2px 4px 0 0 #ef4444, 4px 4px 0 0 #ef4444, 6px 4px 0 0 #ef4444, 8px 4px 0 0 #ef4444, 10px 4px 0 0 #ef4444, 12px 4px 0 0 #ef4444, 14px 4px 0 0 #ef4444, 16px 4px 0 0 #ef4444, 18px 4px 0 0 #ef4444,
        0 6px 0 0 #ef4444, 2px 6px 0 0 #ef4444, 4px 6px 0 0 #ef4444, 6px 6px 0 0 #ef4444, 8px 6px 0 0 #ef4444, 10px 6px 0 0 #ef4444, 12px 6px 0 0 #ef4444, 14px 6px 0 0 #ef4444, 16px 6px 0 0 #ef4444, 18px 6px 0 0 #ef4444,
        0 8px 0 0 #ef4444, 2px 8px 0 0 #ef4444, 4px 8px 0 0 #ef4444, 6px 8px 0 0 #ef4444, 8px 8px 0 0 #ef4444, 10px 8px 0 0 #ef4444, 12px 8px 0 0 #ef4444, 14px 8px 0 0 #ef4444, 16px 8px 0 0 #ef4444, 18px 8px 0 0 #ef4444,
        0 10px 0 0 #ef4444, 2px 10px 0 0 #ef4444, 4px 10px 0 0 #ef4444, 6px 10px 0 0 #ef4444, 8px 10px 0 0 #ef4444, 10px 10px 0 0 #ef4444, 12px 10px 0 0 #ef4444, 14px 10px 0 0 #ef4444, 16px 10px 0 0 #ef4444, 18px 10px 0 0 #ef4444,
        0 12px 0 0 #ef4444, 2px 12px 0 0 #ef4444, 4px 12px 0 0 #ef4444, 6px 12px 0 0 #ef4444, 8px 12px 0 0 #ef4444, 10px 12px 0 0 #ef4444, 12px 12px 0 0 #ef4444, 14px 12px 0 0 #ef4444, 16px 12px 0 0 #ef4444, 18px 12px 0 0 #ef4444,
        0 14px 0 0 #ef4444, 2px 14px 0 0 #ef4444, 4px 14px 0 0 #ef4444, 6px 14px 0 0 #ef4444, 8px 14px 0 0 #ef4444, 10px 14px 0 0 #ef4444, 12px 14px 0 0 #ef4444, 14px 14px 0 0 #ef4444, 16px 14px 0 0 #ef4444, 18px 14px 0 0 #ef4444,
        0 16px 0 0 #ef4444, 2px 16px 0 0 #ef4444, 4px 16px 0 0 #ef4444, 6px 16px 0 0 #ef4444, 8px 16px 0 0 #ef4444, 10px 16px 0 0 #ef4444, 12px 16px 0 0 #ef4444, 14px 16px 0 0 #ef4444, 16px 16px 0 0 #ef4444, 18px 16px 0 0 #ef4444,
        0 18px 0 0 #ef4444, 2px 18px 0 0 #ef4444, 4px 18px 0 0 #ef4444, 6px 18px 0 0 #ef4444, 8px 18px 0 0 #ef4444, 10px 18px 0 0 #ef4444, 12px 18px 0 0 #ef4444, 14px 18px 0 0 #ef4444, 16px 18px 0 0 #ef4444, 18px 18px 0 0 #ef4444;
}

/* Yellow Circle para pillar */
.pillar-icon.yellow::before {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    background: #f59e0b;
    border-radius: 50%;
    image-rendering: pixelated;
    box-shadow:
        0 0 0 2px #f59e0b,
        2px 0 0 0 #f59e0b,
        -2px 0 0 0 #f59e0b,
        0 2px 0 0 #f59e0b,
        0 -2px 0 0 #f59e0b,
        1px 1px 0 0 #f59e0b,
        -1px -1px 0 0 #f59e0b,
        1px -1px 0 0 #f59e0b,
        -1px 1px 0 0 #f59e0b;
}

/* Green Circle para pillar */
.pillar-icon.green::before {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    background: #10b981;
    border-radius: 50%;
    image-rendering: pixelated;
    box-shadow:
        0 0 0 2px #10b981,
        2px 0 0 0 #10b981,
        -2px 0 0 0 #10b981,
        0 2px 0 0 #10b981,
        0 -2px 0 0 #10b981,
        1px 1px 0 0 #10b981,
        -1px -1px 0 0 #10b981,
        1px -1px 0 0 #10b981,
        -1px 1px 0 0 #10b981;
}

*/ .pillar-icon-wrapper::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border: 1px solid currentColor;
    border-radius: 6px;
    opacity: 0.2;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.maturity-pillar-card:hover .pillar-icon-wrapper::before {
    opacity: 0.4;
    box-shadow: none;
}

.pillar-info {
    flex: 1;
    min-width: 0;
}

.pillar-name {
    font-family: var(--font-primary);
    font-size: 14px;
    color: var(--white);
    margin: 0 0 4px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 400;
    line-height: 1.2;
}

.pillar-status {
    font-family: var(--font-secondary);
    font-size: 11px;
    color: var(--medium-gray);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: block;
}

/* Progress Bar */
.pillar-progress {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.progress-bar-wrapper {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.progress-bar-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(90deg,
            transparent,
            transparent 2px,
            rgba(255, 255, 255, 0.05) 2px,
            rgba(255, 255, 255, 0.05) 4px);
    opacity: 0.3;
}

.progress-bar-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 1s ease-out;
    position: relative;
    overflow: hidden;
}

.progress-bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: progressShine 2s linear infinite;
}

@keyframes progressShine {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.status-critical .progress-bar-fill {
    background: linear-gradient(90deg, #ef4444, #dc2626);
    box-shadow: none;
}

.status-warning .progress-bar-fill {
    background: linear-gradient(90deg, #f59e0b, #d97706);
    box-shadow: none;
}

.status-excellent .progress-bar-fill {
    background: linear-gradient(90deg, #10b981, #059669);
    box-shadow: none;
}

.pillar-score {
    font-family: var(--font-secondary);
    font-size: 12px;
    color: var(--light-gray);
    font-weight: 600;
    min-width: 35px;
    text-align: right;
}

/* Status Colors */
/* Status Colors & Icons */
.status-critical {
    --status-color: #ef4444;
    color: #ef4444;
}

.status-critical .pillar-status {
    color: #ef4444;
}

.status-critical .pillar-icon {
    filter: invert(36%) sepia(77%) saturate(2784%) hue-rotate(339deg) brightness(98%) contrast(92%);
}

.status-warning {
    --status-color: #f59e0b;
    color: #f59e0b;
}

.status-warning .pillar-status {
    color: #f59e0b;
}

.status-warning .pillar-icon {
    filter: invert(72%) sepia(50%) saturate(1989%) hue-rotate(359deg) brightness(101%) contrast(93%);
}

.status-excellent {
    --status-color: #10b981;
    color: #10b981;
}

.status-excellent .pillar-status {
    color: #10b981;
}

.status-excellent .pillar-icon {
    filter: invert(65%) sepia(48%) saturate(543%) hue-rotate(110deg) brightness(92%) contrast(89%);
}

/* Hover effects por status */
.status-critical:hover {
    box-shadow: none;
}

.status-warning:hover {
    box-shadow: none;
}

.status-excellent:hover {
    box-shadow: none;
}

.traffic-light-item.red {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

.traffic-light-item.yellow {
    border-color: #f59e0b;
    background: rgba(245, 158, 11, 0.1);
}

.traffic-light-item.green {
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.1);
}

/* Analysis Title - Design Profissional */
.analysis-title {
    font-family: var(--font-primary);
    color: var(--white);
    margin: var(--spacing-lg) 0 var(--spacing-sm) 0;
    font-size: clamp(18px, 2.5vw, 24px);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    padding-bottom: var(--spacing-xs);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.analysis-title::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, var(--white), transparent);
    animation: titleUnderline 3s ease-in-out infinite;
}

@keyframes titleUnderline {

    0%,
    100% {
        width: 100px;
        opacity: 1;
    }

    50% {
        width: 200px;
        opacity: 0.7;
    }
}

.analysis-title-icon {
    font-size: 2.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    position: relative;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
    padding: 0;
}

.analysis-title:hover .analysis-title-icon {
    transform: scale(1.1);
    filter: brightness(0) invert(1) drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
}

.analysis-title:hover .analysis-title-icon::before {
    opacity: 0.5;
    animation: pixelGridMove 2s linear infinite;
}

/* Analysis Grid - Layout Profissional Tipo Dashboard */
.analysis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
    position: relative;
    z-index: 1;
}

.analysis-item {
    background: rgba(15, 15, 15, 0.7);
    backdrop-filter: blur(20px);
    border: var(--border-width) solid;
    border-radius: 6px;
    padding: var(--spacing-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 160px;
}

.analysis-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, currentColor, transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.analysis-item:hover {
    transform: translateY(-3px);
    border-color: currentColor;
}

.analysis-item:hover::before {
    opacity: 0.8;
}

.analysis-item.critical {
    border-color: rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.02);
}

.analysis-item.critical:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.analysis-item.warning {
    border-color: rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.02);
}

.analysis-item.warning:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.analysis-item.good {
    border-color: rgba(255, 255, 255, 0.05);
    background: rgba(255, 255, 255, 0.02);
}

.analysis-item.good:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.analysis-item h3 {
    font-family: var(--font-primary);
    font-size: 16px;
    color: var(--white);
    margin: 0 0 var(--spacing-sm) 0;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    line-height: 1.3;
}

.status-icon {
    font-size: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
    filter: brightness(0) invert(1);
    /* Makes icons white */
    padding: 0;
    margin-right: 8px;
}

/* Efeito pixelado para status icons */
.status-icon::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border: 1px solid currentColor;
    border-radius: 6px;
    opacity: 0.2;
    z-index: -1;
    transition: opacity 0.3s ease;
}

/* Analysis Item Hover Effects */
.analysis-item:hover .status-icon {
    transform: scale(1.1);
    filter: brightness(0) invert(1) drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
}


.analysis-item.critical .status-icon {
    filter: brightness(0) invert(1);
}

.analysis-item.warning .status-icon {
    filter: brightness(0) invert(1);
}

.analysis-item.good .status-icon {
    filter: brightness(0) invert(1);
}

@keyframes statusIconGlow {

    0%,
    100% {
        filter: none;
    }

    50% {
        filter: none;
    }
}

.analysis-item p {
    font-family: var(--font-secondary);
    font-size: 13px;
    line-height: 1.7;
    color: var(--light-gray);
    margin: 0;
    flex: 1;
    display: flex;
    align-items: flex-start;
}

/* Golden Tip - Design Profissional */
.golden-tip {
    background: rgba(15, 15, 15, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.golden-tip::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        repeating-linear-gradient(45deg,
            transparent,
            transparent 2px,
            rgba(0, 150, 255, 0.02) 2px,
            rgba(0, 150, 255, 0.02) 4px);
    pointer-events: none;
    opacity: 0.3;
}

.golden-tip::after {
    display: none;
}

@keyframes goldenTipGlow {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

.golden-tip h3 {
    font-family: var(--font-primary);
    font-size: 16px;
    color: var(--blue-digital);
    margin-bottom: var(--spacing-sm);
    letter-spacing: 2px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    position: relative;
    z-index: 1;
}

/* Ícone da golden tip ao lado do título */
.golden-tip-icon {
    font-size: 2.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    position: relative;
    filter: brightness(0) invert(1);
    animation: lightbulbPulse 2s ease-in-out infinite;
    padding: 0;
}

.golden-tip:hover {
    border-color: rgba(0, 150, 255, 0.5);
    transform: translateY(-2px);
}

.golden-tip:hover .golden-tip-icon {
    transform: scale(1.15) rotate(5deg);
    filter: brightness(0) invert(1) drop-shadow(0 0 8px rgba(255, 255, 255, 0.6));
    animation: lightbulbPulse 1.5s ease-in-out infinite;
}

.golden-tip:hover .golden-tip-icon::before {
    opacity: 0.5;
    animation: pixelGridMove 2s linear infinite;
}

@keyframes lightbulbPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.golden-tip p {
    font-family: var(--font-secondary);
    font-size: 14px;
    line-height: 1.8;
    color: var(--white);
    position: relative;
    z-index: 1;
    margin: 0;
}

/* CTA Section - Design Profissional */
.cta-section {
    background: rgba(15, 15, 15, 0.8);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: var(--spacing-lg);
    border-radius: 8px;
    text-align: center;
    margin-top: var(--spacing-lg);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        repeating-linear-gradient(0deg,
            transparent,
            transparent 2px,
            rgba(234, 83, 46, 0.02) 2px,
            rgba(234, 83, 46, 0.02) 4px),
        repeating-linear-gradient(90deg,
            transparent,
            transparent 2px,
            rgba(0, 150, 255, 0.02) 2px,
            rgba(0, 150, 255, 0.02) 4px);
    pointer-events: none;
    opacity: 0.3;
}

.cta-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 3s linear infinite;
    pointer-events: none;
}

@keyframes ctaGlow {

    0%,
    100% {
        opacity: 0.4;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

.cta-section h3 {
    font-family: var(--font-primary);
    font-size: clamp(20px, 3.5vw, 26px);
    color: var(--white);
    margin-bottom: var(--spacing-sm);
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    z-index: 1;
}

.cta-section p {
    font-family: var(--font-secondary);
    font-size: 14px;
    color: var(--light-gray);
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.cta-section .btn {
    font-size: 11px;
    padding: 22px 45px;
    width: 100%;
    max-width: 600px;
    position: relative;
    z-index: 1;
    font-weight: 600;
    letter-spacing: 3px;
    box-shadow: none;
    animation: none;
}

.cta-section .btn:hover {
    box-shadow: none;
}

/* Intro Screen */
.intro-screen {
    text-align: center;
}

.intro-screen h2 {
    font-size: clamp(32px, 5vw, 48px);
    margin-bottom: var(--spacing-md);
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {

    0%,
    100% {
        text-shadow: none;
    }

    50% {
        text-shadow: none;
    }
}

.intro-screen .subtitle {
    font-size: 16px;
    margin-bottom: var(--spacing-lg);
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin: var(--spacing-lg) 0;
}

.feature-card {
    background: rgba(15, 15, 15, 0.7);
    backdrop-filter: blur(10px);
    border: var(--border-width) solid rgba(0, 150, 255, 0.2);
    border-radius: 6px;
    padding: var(--spacing-md);
    text-align: left;
    transition: var(--transition);
}

.feature-card:hover {
    border-color: var(--blue-digital);
    background: rgba(0, 150, 255, 0.05);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 150, 255, 0.2);
}

/* Feature Header com ícone ao lado */
.feature-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

.feature-icon {
    font-size: 2rem;
    line-height: 1;
    position: relative;
}

/* Ícones Pixelarticons */
[class^="pxi-"],
[class*=" pxi-"] {
    font-size: 2rem;
    display: inline-block;
    line-height: 1;
    vertical-align: middle;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}

.feature-icon[class^="pxi-"],
.feature-icon[class*=" pxi-"] {
    font-size: 2.5rem;
}

.analysis-title-icon[class^="pxi-"],
.analysis-title-icon[class*=" pxi-"] {
    font-size: 1.8rem;
}

.golden-tip-icon[class^="pxi-"],
.golden-tip-icon[class*=" pxi-"] {
    font-size: 1.8rem;
}

.pillar-icon[class^="pxi-"],
.pillar-icon[class*=" pxi-"] {
    font-size: 1.5rem;
}

.status-icon[class^="pxi-"],
.status-icon[class*=" pxi-"] {
    font-size: 1.5rem;
}

/* Cores para ícones de status */
.pillar-icon.red,
.status-icon.critical {
    color: #ef4444;
}

.pillar-icon.yellow,
.status-icon.warning {
    color: #f59e0b;
}

.pillar-icon.green,
.status-icon.good {
    color: #10b981;
}

/* Container pixelado para o ícone */
.pixel-icon::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background:
        repeating-linear-gradient(0deg,
            transparent,
            transparent 1px,
            rgba(0, 150, 255, 0.15) 1px,
            rgba(0, 150, 255, 0.15) 2px),
        repeating-linear-gradient(90deg,
            transparent,
            transparent 1px,
            rgba(234, 83, 46, 0.15) 1px,
            rgba(234, 83, 46, 0.15) 2px);
    border: 1px solid rgba(0, 150, 255, 0.4);
    border-radius: 4px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
    box-shadow: inset 0 0 10px rgba(0, 150, 255, 0.2);
}

.pixel-icon::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 150, 255, 0.1), rgba(234, 83, 46, 0.1));
    border-radius: 4px;
    z-index: -2;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover .pixel-icon {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 0 15px rgba(0, 150, 255, 0.6)) drop-shadow(0 0 25px rgba(234, 83, 46, 0.4)) contrast(1.2) brightness(1.1);
    animation: iconPulse 2s ease-in-out infinite, iconGlitch 4s ease-in-out infinite;
    text-shadow: 0 0 15px rgba(0, 150, 255, 0.8),
        0 0 25px rgba(234, 83, 46, 0.5);
}

.feature-card:hover .pixel-icon::before {
    opacity: 1;
    animation: pixelScan 3s linear infinite;
}

.feature-card:hover .pixel-icon::after {
    opacity: 0.3;
}

@keyframes iconPulse {

    0%,
    100% {
        filter: drop-shadow(0 0 15px rgba(0, 150, 255, 0.6)) drop-shadow(0 0 25px rgba(234, 83, 46, 0.4));
    }

    50% {
        filter: drop-shadow(0 0 20px rgba(0, 150, 255, 0.8)) drop-shadow(0 0 30px rgba(234, 83, 46, 0.6));
    }
}

@keyframes pixelScan {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 8px 8px;
    }
}

/* Glitch effect sutil para ícones */
@keyframes iconGlitch {

    0%,
    90%,
    100% {
        transform: scale(1.1) rotate(5deg) translate(0, 0);
    }

    91% {
        transform: scale(1.1) rotate(5deg) translate(-1px, 1px);
    }

    92% {
        transform: scale(1.1) rotate(5deg) translate(1px, -1px);
    }

    93% {
        transform: scale(1.1) rotate(5deg) translate(-1px, -1px);
    }

    94% {
        transform: scale(1.1) rotate(5deg) translate(1px, 1px);
    }

    95% {
        transform: scale(1.1) rotate(5deg) translate(0, 0);
    }
}

.feature-card h4 {
    font-family: var(--font-primary);
    color: var(--white);
    font-size: 18px;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    flex: 1;
}

.feature-card p {
    font-family: var(--font-secondary);
    font-size: 12px;
    color: var(--light-gray);
    line-height: 1.5;
}

/* Loading Screen */
#screen-loading.active {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    text-align: center;
}

.loading-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-lg);
}

.loading-gif {
    max-width: 100px;
    width: 100%;
    height: auto;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
    filter: drop-shadow(0 0 15px rgba(234, 83, 46, 0.2));
    animation: fadeInDown 0.8s ease-out;
}

.loading-text {
    font-family: var(--font-primary);
    font-size: clamp(64px, 12vw, 96px);
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin: 0;
    animation: fadeInUp 0.8s ease-out 0.3s both, loadingPulse 2s ease-in-out infinite;
    text-shadow: none;
    position: relative;
    display: inline-block;
}

/* Dots Animation */
.loading-text::after {
    content: '';
    animation: dots 1.5s steps(4, end) infinite;
    position: absolute;
    left: 100%;
    top: 0;
    text-align: left;
}

@keyframes dots {

    0%,
    20% {
        content: '';
    }

    40% {
        content: '.';
    }

    60% {
        content: '..';
    }

    80%,
    100% {
        content: '...';
    }
}

@keyframes loadingPulse {

    0%,
    100% {
        opacity: 1;
        text-shadow: none;
    }

    50% {
        opacity: 0.8;
        text-shadow: none;
    }
}

/* Animações */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: var(--spacing-md) var(--spacing-sm);
    }

    .logo {
        margin-top: var(--spacing-lg);
    }

    .logo-image {
        max-width: 280px;
    }

    .card {
        padding: var(--spacing-md);
    }

    h2 {
        font-size: 24px;
    }

    .score-number {
        font-size: 48px;
    }

    .button-group {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .maturity-traffic-light {
        grid-template-columns: 1fr;
    }

    .maturity-pillar-card {
        max-width: 100%;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .analysis-grid {
        grid-template-columns: 1fr;
    }

    .analysis-item {
        min-height: auto;
    }

    .analysis-title {
        font-size: 18px;
    }

    .score-number {
        font-size: 48px;
    }

    .cta-section {
        padding: var(--spacing-md);
    }

    .cta-section h3 {
        font-size: 20px;
        letter-spacing: 2px;
    }

    #screen-loading.active {
        min-height: 50vh;
    }

    .loading-gif {
        max-width: 90px;
    }

    .loading-text {
        font-size: 48px;
        letter-spacing: 2px;
    }
}@charset " UTF-8\;

/* ============================================
 FOOTER DESIGN
 ============================================ */
.quiz-footer {
 padding: var(--spacing-lg) 0;
 margin-top: var(--spacing-xl);
 border-top: 1px solid rgba(255, 255, 255, 0.05);
 position: relative;
 z-index: 2;
 background: rgba(15, 15, 15, 0.5);
}

.footer-container {
 max-width: 800px;
 margin: 0 auto;
 padding: 0 var(--spacing-md);
 display: flex;
 flex-direction: column;
 align-items: center;
 gap: var(--spacing-md);
}

.btn-portfolio {
 min-width: 250px;
 border-color: var(--blue-digital) !important;
 transition: var(--transition);
}

.btn-portfolio::before {
 background: var(--blue-digital) !important;
}

.footer-contact {
 display: flex;
 gap: var(--spacing-md);
 align-items: center;
}

.social-link {
 display: flex;
 align-items: center;
 justify-content: center;
 width: 44px;
 height: 44px;
 border-radius: 4px;
 border: 1px solid rgba(255, 255, 255, 0.1);
 background: rgba(255, 255, 255, 0.05);
 transition: var(--transition);
}

.social-link img {
 width: 24px;
 height: 24px;
 filter: invert(1) brightness(0.8);
 transition: var(--transition);
}

.social-link:hover {
 border-color: var(--primary-red);
 background: rgba(234, 83, 46, 0.1);
 transform: translateY(-3px);
}

.social-link:hover img {
 filter: invert(1) brightness(1);
}

.footer-copy {
 font-family: var(--font-secondary);
 font-size: 10px;
 color: var(--medium-gray);
 letter-spacing: 2px;
 text-transform: uppercase;
 opacity: 0.6;
}


/* Overrides para cones standard e animao pulse */
.social-link i {
    font-size: 20px;
    color: var(--light-gray);
    transition: var(--transition);
}

.social-link:hover i {
    color: var(--white);
}

.social-link.pulse {
    animation: socialPulse 3s infinite ease-in-out;
}

.social-link.pulse:nth-child(2) { animation-delay: 0.5s; }
.social-link.pulse:nth-child(3) { animation-delay: 1s; }

@keyframes socialPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(0, 150, 255, 0.4);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 15px 5px rgba(0, 150, 255, 0);
        transform: scale(1.05);
    }
}


/* Fix: Remover caixas dos icones */
.social-link {
    border: none !important;
    background: none !important;
    width: auto !important;
    height: auto !important;
    box-shadow: none !important;
}

.social-link:hover {
    background: none !important;
    border: none !important;
    transform: translateY(-5px);
}

.social-link i {
    font-size: 26px !important;
}

@keyframes socialPulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.2); opacity: 1; }
}


/* Fix Final: Remover sublinhados e sombras residuais */
.social-link, .social-link:hover, .social-link:active, .social-link:focus {
    text-decoration: none !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    border-bottom: none !important;
}

.social-link i {
    text-decoration: none !important;
}


.social-link {
    display: inline-flex !important;
    vertical-align: middle;
    color: inherit;
}
