/*
COMO USAR:
Suba este arquivo como diag-style.css na MESMA pasta onde vão ficar todas
as páginas do diagnóstico (ex: desentupidoraturbo.app.br/diagnostico/diag-style.css)
Todas as páginas HTML referenciam ele via <link rel="stylesheet" href="diag-style.css">
*/

* { margin:0; padding:0; box-sizing:border-box; }

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #eef3f8;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 20px;
}

.quiz-container {
    width: 100%;
    max-width: 480px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(21,101,192,0.15);
    overflow: hidden;
    margin: 20px auto;
    border: 1px solid #e0e8f0;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: #e0e8f0;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #1565c0, #42a5f5);
    transition: width 0.3s ease;
}

.slide {
    padding: 30px 25px;
    display: flex;
    flex-direction: column;
    animation: fadeIn 0.35s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

.slide-icon { font-size: 3rem; text-align: center; margin-bottom: 15px; }

.slide-title {
    color: #1565c0;
    font-size: 1.35rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
    line-height: 1.35;
}

.slide-subtitle {
    color: #666;
    font-size: 0.95rem;
    text-align: center;
    margin-bottom: 22px;
    line-height: 1.5;
}

.options-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 10px;
}

.option {
    background: #f5f8fc;
    border: 2px solid #e0e8f0;
    border-radius: 12px;
    padding: 15px 18px;
    color: #2b2b2b;
    font-size: 0.98rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.option:hover { background: #e3f2fd; border-color: #90caf9; }

.option-circle {
    width: 20px; height: 20px; border-radius: 50%;
    border: 2px solid #b0bec5; flex-shrink: 0;
}

.btn-primary {
    background: linear-gradient(135deg, #1565c0, #1976d2);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 40px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    margin-top: 15px;
    text-decoration: none;
    text-align: center;
    display: block;
    transition: transform 0.2s ease;
}

.btn-primary:hover { transform: translateY(-2px); }

.ad-slot {
    margin: 20px -25px -30px -25px;
    padding: 16px 25px;
    background: #f8fafc;
    border-top: 1px solid #e8edf3;
    text-align: center;
}

.ad-slot-label {
    font-size: 0.7rem;
    color: #a0a8b0;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.ad-placeholder {
    background: repeating-linear-gradient(45deg, #eef2f6, #eef2f6 10px, #e4e9f0 10px, #e4e9f0 20px);
    border-radius: 8px;
    min-height: 90px;
    width: 100%;
    display: block;
    text-align: center;
    color: #9aa5b1;
    font-size: 0.8rem;
    padding-top: 35px;
}

.ad-placeholder .adsbygoogle {
    width: 100% !important;
    display: block !important;
}

.analyzing-container { display: flex; flex-direction: column; gap: 16px; margin: 20px 0; }
.analyzing-label { color: #444; font-size: 0.9rem; display: flex; justify-content: space-between; margin-bottom: 6px; }
.analyzing-bar { width: 100%; height: 8px; background: #e0e8f0; border-radius: 4px; overflow: hidden; }
.analyzing-fill { height: 100%; width: 0%; background: linear-gradient(90deg, #1565c0, #42a5f5); border-radius: 4px; transition: width 1s ease; }

.result-box { border-radius: 16px; padding: 22px; text-align: center; margin-bottom: 18px; }
.result-simples { background: #e8f5e9; border: 2px solid #4caf50; }
.result-atencao { background: #fff3e0; border: 2px solid #ff9800; }
.result-estrutural { background: #ffebee; border: 2px solid #e63946; }
.result-label { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; color: #666; }
.result-title { font-size: 1.3rem; font-weight: 800; margin-bottom: 12px; color: #2b2b2b; }
.result-desc { font-size: 0.95rem; line-height: 1.6; color: #444; text-align: left; }
.result-desc strong { color: #1565c0; }

.method-suggestion { background: #f5f8fc; border-radius: 12px; padding: 18px; margin-top: 15px; text-align: left; }
.method-suggestion h4 { color: #1565c0; font-size: 1rem; margin-bottom: 10px; }
.method-suggestion ul { margin-left: 18px; color: #444; font-size: 0.92rem; line-height: 1.8; }

.internal-link {
    display: block;
    text-align: center;
    color: #1565c0;
    font-weight: 700;
    text-decoration: none;
    margin-top: 18px;
    padding: 14px;
    border: 2px solid #1565c0;
    border-radius: 40px;
    transition: background 0.2s ease;
}

.internal-link:hover { background: #e3f2fd; }

@media (max-width: 480px) {
    .slide-title { font-size: 1.2rem; }
    .option { padding: 13px 15px; font-size: 0.92rem; }
}