/* ============================================
   DIAGNÓSTICO LGPD - CSS
   ============================================ */

.diagnostico-page {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 100px;
    padding-bottom: 50px;
}

.diagnostico-hero,
.diagnostico-quiz,
.diagnostico-result {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    background: var(--color-bg-dark);
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid rgba(34, 211, 238, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    text-align: center;
    animation: fadeIn 0.5s ease-out forwards;
}

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

/* HERO SECTION */
.diagnostico-hero .page-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--color-tech-cyan);
}

.diagnostico-hero .page-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

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

.explicativo-cards .card {
    background: rgba(2, 6, 23, 0.5);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.explicativo-cards .card svg {
    width: 40px;
    height: 40px;
    color: var(--color-tech-blue);
    margin-bottom: 1rem;
}

.btn-large {
    font-size: 1.2rem;
    padding: 1rem 2rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
}

/* QUIZ SECTION */
.progress-bar-container {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    margin-bottom: 2rem;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--color-tech-cyan), var(--color-tech-blue));
    width: 0%;
    transition: width 0.3s ease;
}

.question-container h2 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.options {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.option-btn {
    flex: 1;
    max-width: 200px;
    padding: 1rem;
    font-size: 1.2rem;
    font-weight: bold;
    border: 1px solid var(--color-tech-cyan);
    background: transparent;
    color: var(--color-white-tech);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.option-btn:hover {
    background: rgba(34, 211, 238, 0.1);
    transform: translateY(-2px);
}

/* RESULT SECTION */
.score-circle {
    width: 150px;
    margin: 0 auto 1.5rem;
}

.circular-chart {
    display: block;
    margin: 0 auto;
    max-width: 80%;
    max-height: 250px;
}

.circle-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 2.5;
}

.circle {
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
    transition: stroke-dasharray 1s ease-out;
}

.percentage {
    fill: var(--color-white-tech);
    font-family: var(--font-display);
    font-size: 0.4em;
    text-anchor: middle;
    font-weight: bold;
}

.result-title {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.result-desc {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.lead-capture {
    background: rgba(2, 6, 23, 0.5);
    padding: 2rem;
    border-radius: 8px;
    text-align: left;
}

.lead-capture h3 {
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.3rem;
}

.lead-capture .form-group {
    margin-bottom: 1rem;
}

.lead-capture label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--color-text-muted);
}

.lead-capture input {
    width: 100%;
    padding: 0.8rem;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-white-tech);
    font-family: var(--font-primary);
}

.lead-capture input:focus {
    outline: none;
    border-color: var(--color-tech-cyan);
}

.w-100 {
    width: 100%;
    justify-content: center;
    padding: 1rem;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: bold;
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .diagnostico-hero,
    .diagnostico-quiz,
    .diagnostico-result {
        padding: 2rem 1.5rem;
    }
    
    .diagnostico-hero .page-title {
        font-size: 2rem;
    }
    
    .options {
        flex-direction: column;
    }
    
    .option-btn {
        max-width: 100%;
    }
}