/* --- RESET & BASE --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: #f4f7fa;
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* VARIÁVEIS DE CORES */
:root {
    --medical-blue: #0056b3; 
    --light-blue: #e3f2fd;
    --alert-red: #dc2626;
    --warning-orange: #f59e0b;
    --success-green: #16a34a;
    --dark-text: #1e293b;
}

/* HEADER */
.quiz-header {
    background: #fff;
    padding: 12px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.header-content {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
}

.logo {
    font-size: 1.1rem;
    font-weight: 900;
    color: #0f172a;
    letter-spacing: 0.5px;
}

.secure-badge {
    font-size: 0.65rem;
    color: #64748b;
    background: #f1f5f9;
    padding: 5px 8px;
    border-radius: 20px;
    font-weight: 500;
}

/* BARRA DE PROGRESSO */
.progress-container {
    max-width: 600px;
    margin: 15px auto 0;
    padding: 0 15px;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background-color: #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background-color: var(--medical-blue);
    transition: width 0.5s ease;
}

.step-count {
    text-align: right;
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 5px;
    font-weight: 500;
}

/* CARD PRINCIPAL */
#quiz-container {
    flex: 1;
    width: 100%;
    max-width: 800px;
    margin: 15px auto;
    padding: 0 10px;
}

.card {
    background: #fff;
    padding: 25px 15px;
    border-radius: 12px;
    box-shadow: 0 5px 20px -5px rgba(0, 0, 0, 0.1);
    text-align: center;
    border-top: 5px solid var(--medical-blue);
    animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* TIPOGRAFIA (Mobile First) */
h1 {
    color: var(--medical-blue);
    font-size: 1.5rem;
    margin-bottom: 10px;
    line-height: 1.2;
    font-weight: 800;
}

h2 {
    color: var(--dark-text);
    font-size: 1.25rem;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.3;
}

p.subtitle {
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 25px;
}

/* IMAGENS GERAIS */
.quiz-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #e2e8f0;
}

/* BOTÕES */
.btn-option {
    display: block;
    width: 100%;
    padding: 15px 15px;
    margin-bottom: 10px;
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    text-align: left;
    font-size: 1rem;
    color: #334155;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
    position: relative;
}

.btn-option:hover {
    border-color: var(--medical-blue);
    background-color: #f0f9ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.btn-option span.arrow {
    float: right;
    color: var(--medical-blue);
    font-weight: bold;
}

.btn-primary {
    background: linear-gradient(135deg, #0056b3 0%, #004494 100%);
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    padding: 18px;
    border: none;
    border-radius: 8px;
    width: 100%;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 15px rgba(0, 86, 179, 0.25);
    transition: transform 0.2s;
    margin-top: 5px;
}

.btn-primary:active {
    transform: scale(0.98);
}

/* GRÁFICO VELOCÍMETRO */
.gauge-wrapper {
    position: relative;
    width: 260px;
    height: 130px;
    margin: 10px auto 30px auto;
    overflow: hidden;
}

.gauge-arc {
    width: 260px;
    height: 260px;
    background: conic-gradient(from 270deg, #22c55e 0deg 60deg, #eab308 60deg 120deg, #ef4444 120deg 180deg);
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 0;
    transform: rotate(-90deg);
}

.gauge-center {
    width: 200px;
    height: 200px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    top: 30px;
    left: 30px;
    z-index: 2;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.1);
}

.gauge-needle {
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 120px solid #1e293b;
    position: absolute;
    bottom: 0;
    left: 50%;
    margin-left: -10px;
    transform-origin: bottom center;
    transform: rotate(-90deg);
    z-index: 10;
    transition: transform 1.5s cubic-bezier(0.25, 1, 0.5, 1);
    filter: drop-shadow(2px 4px 6px rgba(0,0,0,0.3));
}

.gauge-pivot {
    width: 20px;
    height: 20px;
    background: #1e293b;
    border-radius: 50%;
    position: absolute;
    bottom: -10px;
    left: 50%;
    margin-left: -10px;
    z-index: 15;
    border: 3px solid #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.status-blinker {
    font-size: 1.2rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-top: -10px;
    margin-bottom: 15px;
    position: relative;
    z-index: 20;
    letter-spacing: 1px;
    animation: urgent-pulse 0.8s infinite;
}

@keyframes urgent-pulse {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.02); }
    100% { opacity: 1; transform: scale(1); }
}

/* Cores de status */
.text-green { color: #16a34a; }
.text-orange { color: #ea580c; }
.text-red { color: #dc2626; text-shadow: 0 0 10px rgba(220, 38, 38, 0.1); }

/* SEÇÃO VSL / OFERTA */
.vsl-wrapper {
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    position: relative;
}

/* Email Box */
.email-container {
    text-align: left;
    margin: 15px 0;
    background: #f8fafc;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.email-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--medical-blue);
    margin-bottom: 5px;
}

.email-input {
    width: 100%;
    padding: 12px;
    border: 2px solid #cbd5e0;
    border-radius: 6px;
    font-size: 0.95rem;
    transition: border-color 0.3s;
}

.email-input:focus {
    border-color: var(--medical-blue);
    outline: none;
}

/* Checklist Azul */
.checklist-box {
    background: linear-gradient(135deg, #0056b3 0%, #004494 100%);
    color: #fff;
    padding: 20px 15px;
    border-radius: 10px;
    margin: 25px 0;
    text-align: left;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.checklist-box h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 15px;
    text-align: center;
    text-transform: uppercase;
    font-family: 'Oswald', sans-serif;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 0.9rem;
    font-weight: 500;
}

.check-icon {
    min-width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    color: #0056b3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 12px;
}

/* CARDS PRETOS (Grid Vertical) */
.cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 25px 0;
}

.benefit-card {
    background: #111;
    color: #fff;
    border: 1px solid #333;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.benefit-card img {
    width: 100%;
    height: auto;
    display: block;
    border-bottom: 2px solid #f59e0b;
}

.benefit-card-content {
    padding: 10px 8px;
}

.benefit-card h4 {
    color: #f59e0b;
    margin-bottom: 5px;
    font-size: 0.85rem;
    text-transform: uppercase;
    font-family: 'Oswald', sans-serif;
}

.benefit-card p {
    font-size: 0.75rem;
    color: #ccc;
    line-height: 1.3;
    margin: 0;
}

/* GARANTIA (GIGANTE) */
.guarantee-box {
    background: #fffaf0;
    border: 2px dashed #f59e0b;
    padding: 20px 10px;
    border-radius: 10px;
    margin: 25px 0;
}

.guarantee-img {
    width: 100%;
    max-width: 300px; /* Aumentei aqui */
    margin-bottom: 15px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    filter: drop-shadow(0 5px 5px rgba(0,0,0,0.1));
}

/* FAQ */
.faq-container {
    text-align: left;
    margin-top: 25px;
}

.faq-btn {
    width: 100%;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    padding: 12px;
    text-align: left;
    font-weight: bold;
    cursor: pointer;
    margin-bottom: 5px;
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    color: #333;
    font-size: 0.9rem;
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #fff;
    padding: 0 12px;
    font-size: 0.9rem;
    color: #555;
    border-left: 3px solid var(--medical-blue);
}

/* BOTÃO CTA (VERDE) */
.btn-cta {
    background: linear-gradient(180deg, #16a34a 0%, #15803d 100%);
    color: #fff;
    font-size: 1.3rem;
    font-weight: 900;
    padding: 18px;
    border-radius: 8px;
    border: none;
    width: 100%;
    cursor: pointer;
    text-transform: uppercase;
    box-shadow: 0 5px 15px rgba(22, 163, 74, 0.4);
    animation: pulse 2s infinite;
    text-decoration: none;
    display: block;
    margin: 15px 0;
    font-family: 'Oswald', sans-serif;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

/* FOOTER */
.quiz-footer {
    text-align: center;
    padding: 20px 15px;
    color: #94a3b8;
    font-size: 0.7rem;
    margin-top: auto;
}

/* IA Stack */
.ai-img-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 15px 0;
}

.ai-img-stack img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    border: 1px solid #ddd;
}