/* ═══════════════════════════════════════
   ELEVA — diagnostico.css (unificado)
═══════════════════════════════════════ */

/* ── Hero ── */
.diag-hero {
    padding: 100px 0 72px;
    background: #1c1c1c;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.diag-hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    opacity: 0.20;
    z-index: 0;
}

.diag-hero .container {
    position: relative;
    z-index: 1;
}
.diag-hero .sobre-label { color: var(--primary-gold); }
.diag-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 46px;
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
    margin: 20px auto 16px;
    max-width: 680px;
}
.diag-hero p { font-size: 15px; color: rgba(255,255,255,.65); margin-bottom: 28px; }
.diag-meta {
    display: flex;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary-gold);
}
.diag-meta span::before {
    content: '';
    display: inline-block;
    width: 5px; height: 5px;
    border-radius: 50%;
    background: var(--primary-gold);
    margin-right: 8px;
    vertical-align: middle;
}

/* ── Formulário ── */
.diag-form-section { padding: 60px 0 100px; background: var(--bg-light); }

.diag-lead {
    background: #fff;
    padding: 36px 40px;
    margin-bottom: 48px;
    border-left: 4px solid var(--primary-gold);
}
.diag-lead h3 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    color: var(--primary-dark);
    margin-bottom: 24px;
}
.diag-lead-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

/* Force light styles inside diag-lead (override any dark section inheritance) */
.diag-lead .cf-field label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    display: block;
    margin-bottom: 8px;
}
.diag-lead .cf-field input {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-light);
    border: 1px solid #dedad2;
    color: var(--text-dark);
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    border-radius: 2px;
    outline: none;
    transition: border-color 0.2s;
}
.diag-lead .cf-field input::placeholder { color: #bbb; }
.diag-lead .cf-field input:focus { border-color: var(--primary-gold); }

/* Cabeçalho de fase */
.diag-fase-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 12px;
    padding: 28px 0 16px;
    border-top: 2px solid #dedad2;
}
.diag-fase2-header { margin-top: 48px; }
.diag-fase-badge {
    background: var(--primary-dark);
    color: var(--primary-gold);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 6px 16px;
    border-radius: 2px;
    white-space: nowrap;
    flex-shrink: 0;
}
.diag-fase-badge2 { background: #8a6340; color: #fff; }
.diag-fase-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    color: var(--primary-dark);
    margin: 0 0 4px;
}
.diag-fase-header p { font-size: 13px; color: var(--text-muted); margin: 0; }

/* Cards de pergunta */
.diag-perguntas { display: flex; flex-direction: column; gap: 2px; background: #dedad2; margin-bottom: 0; }
.diag-card {
    background: #fff;
    padding: 28px 32px;
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 20px;
    align-items: start;
}
.diag-card-f2 { background: #fdf9f4; }
.diag-card-num {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-gold);
    opacity: .3;
    line-height: 1;
    padding-top: 4px;
}
.diag-categoria {
    display: inline-block;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-gold);
    margin-bottom: 8px;
}
.diag-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    color: var(--primary-dark);
    margin-bottom: 18px;
    line-height: 1.3;
}
.diag-opcoes { display: flex; gap: 8px; flex-wrap: wrap; }
.diag-opcoes-col { flex-direction: column; }
.diag-opcao {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 18px;
    border: 1.5px solid #ede9e1;
    cursor: pointer;
    border-radius: 2px;
    transition: all .2s;
}
.diag-opcao:hover, .diag-opcao.selecionada {
    border-color: var(--primary-gold);
    background: #fdf6ec;
}
.diag-opcao input { display: none; }
.diag-opcao-letra {
    width: 26px; height: 26px;
    border-radius: 50%;
    border: 1.5px solid #dedad2;
    display: flex; align-items: center; justify-content: center;
    font-size: 10px; font-weight: 700;
    color: var(--text-muted);
    flex-shrink: 0;
    transition: all .2s;
}
.diag-opcao.selecionada .diag-opcao-letra {
    background: var(--primary-gold);
    border-color: var(--primary-gold);
    color: #fff;
}
.diag-opcao span:last-child { font-size: 13px; color: var(--text-dark); line-height: 1.4; }

/* Progresso */
.diag-progresso-wrap { display: flex; align-items: center; gap: 20px; margin: 32px 0 0; }
.diag-progresso-bar { flex: 1; height: 4px; background: #dedad2; border-radius: 2px; overflow: hidden; }
.diag-progresso-fill { height: 100%; background: var(--primary-gold); border-radius: 2px; transition: width .4s ease; }
.diag-progresso-txt { font-size: 11px; color: var(--text-muted); white-space: nowrap; }
.diag-submit { margin-top: 40px; text-align: center; }
.diag-submit p { margin-top: 12px; font-size: 11px; color: var(--text-muted); }

/* Submit button — padrão do site */
#diag-btn {
    background-color: var(--primary-gold);
    color: #fff;
    border: none;
    padding: 18px 56px;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    border-radius: 2px;
    transition: background-color 0.3s, opacity 0.3s;
}
#diag-btn:disabled { opacity: 0.4; cursor: not-allowed; }
#diag-btn:not(:disabled):hover { background-color: #a8804f; }

/* ══════════════════════════════
   RESULTADO
══════════════════════════════ */
.diag-res-hero {
    padding: 80px 0;
    background: var(--bg-light);
    border-bottom: 3px solid var(--cor, #c5a073);
}
.diag-res-hero .sobre-label { color: var(--primary-gold); }

.diag-res-top {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 60px;
    align-items: start;
    margin-top: 32px;
}

/* Gauge */
.diag-gauge-wrap { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.diag-gauge-svg { width: 100%; max-width: 260px; }
.gauge-arco { transition: stroke-dashoffset 1.6s cubic-bezier(.4,0,.2,1); }
.diag-estagio-badge {
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 8px 28px;
    border-radius: 2px;
}
.diag-score-detalhe {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0 8px;
}

/* Texto resultado */
.diag-res-texto h1 {
    font-family: 'Playfair Display', serif;
    font-size: 38px;
    color: var(--primary-dark);
    margin-bottom: 14px;
}
.diag-descricao {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 24px;
}
.diag-rec-box {
    background: #fff;
    padding: 28px 32px;
    border-left: 4px solid var(--primary-gold);
    margin-bottom: 28px;
}
.diag-rec-label {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--primary-gold);
    margin: 0 0 8px;
}
.diag-rec-intro {
    font-size: 13px;
    color: var(--text-dark);
    line-height: 1.7;
    margin: 0 0 20px;
}
.diag-servicos-cards {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}
.diag-servico-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #f9f7f4;
    border: 1px solid #ede9e1;
    border-radius: 4px;
    padding: 14px 18px;
}
.diag-servico-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}
.diag-servico-card span {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-dark);
}
.diag-rec-cta-txt {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
    border-top: 1px solid #ede9e1;
    padding-top: 16px;
}

/* Botão WhatsApp */
.diag-wa-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--primary-gold);
    color: #fff;
    padding: 16px 32px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-decoration: none;
    border-radius: 2px;
    transition: background .3s;
    margin-bottom: 16px;
}
.diag-wa-btn:hover { background: #a8804f; }
.diag-refazer {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color .2s;
}
.diag-refazer:hover { color: var(--primary-gold); }

/* Barras */
.diag-barras-section { padding: 72px 0; background: #fff; }
.diag-barras-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 30px;
    color: var(--primary-dark);
    margin-bottom: 8px;
}
.diag-barras-section > .container > p { font-size: 14px; color: var(--text-muted); margin-bottom: 44px; }
.diag-barras { display: flex; flex-direction: column; gap: 24px; }
.diag-barra-header { display: flex; justify-content: space-between; margin-bottom: 8px; }
.diag-barra-header span { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--primary-dark); }
.diag-barra-header strong { font-size: 13px; }
.diag-barra-bg { height: 8px; background: #ede9e1; border-radius: 4px; overflow: hidden; margin-bottom: 8px; }
.diag-barra-fill { height: 100%; border-radius: 4px; }
.diag-barra-opcao { font-size: 11px; color: var(--text-muted); margin: 0; }
.diag-barra-opcao em { color: var(--text-dark); font-style: normal; }

/* Banner CTA final */
.diag-cta-final {
    position: relative;
    min-height: 380px;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.diag-cta-img { position: absolute; inset: 0; }
.diag-cta-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.diag-cta-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to right, rgba(28,28,28,.95) 0%, rgba(28,28,28,.85) 55%, rgba(28,28,28,.4) 100%);
}
.diag-cta-content { position: relative; z-index: 2; padding: 80px 20px; max-width: 620px; }
.diag-cta-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 34px;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 14px;
}
.diag-cta-content > p { font-size: 14px; color: rgba(255,255,255,.7); margin-bottom: 32px; line-height: 1.7; }

/* Responsivo */
@media (max-width: 1024px) {
    .diag-lead-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
    .diag-hero h1 { font-size: 30px; }
    .diag-lead-grid { grid-template-columns: 1fr; }
    .diag-card { grid-template-columns: 1fr; gap: 12px; }
    .diag-card-num { font-size: 24px; }
    .diag-res-top { grid-template-columns: 1fr; }
    .diag-res-texto h1 { font-size: 28px; }
    .diag-cta-content h2 { font-size: 24px; }
    .diag-meta { gap: 16px; }
}
