/* Diagnóstico + Teste de Perfil (wizard). Compartilhado por diagnostico.php e perfil.php. */
.main-with-sidebar { flex: 1; min-width: 0; position: relative; overflow: hidden; }
.dg-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background: radial-gradient(620px circle at 80% -5%, rgba(var(--brand-accent-rgb,224,193,147),0.10), transparent 60%), radial-gradient(520px circle at -5% 80%, rgba(var(--brand-accent-rgb,224,193,147),0.06), transparent 60%); }
.dg-wrap { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; padding: 40px 24px calc(var(--mobile-nav-clearance,92px) + 40px); min-height: 100vh; }
/* Conteúdo do quiz mantém coluna legível dentro do container largo */
.dg-q, .dg-count { max-width: 860px; }

.dg-prog { height: 5px; background: rgba(var(--ink-rgb),0.08); border-radius: 4px; overflow: hidden; margin-bottom: 34px; }
.dg-prog span { display: block; height: 100%; width: 0; background: var(--brand-accent, #e0c193); border-radius: 4px; transition: width .4s cubic-bezier(.16,1,.3,1); }

.dg-step { animation: dgIn .45s cubic-bezier(.16,1,.3,1); }
@keyframes dgIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.dg-eyebrow { display: inline-flex; align-items: center; font-family: var(--brand-font-detail,'Clash Display','Inter',sans-serif); font-size: 0.72rem; font-weight: 400; text-transform: uppercase; letter-spacing: 0.3em; color: var(--accent-ink,#e0c193); }
.dg-title { font-family: var(--brand-font-display,'Source Serif 4',serif); font-weight: 400; font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1.08; color: var(--text-strong); margin: 12px 0 14px; }
.dg-body { color: rgba(var(--ink-rgb),0.62); font-size: 1.02rem; line-height: 1.6; max-width: 560px; }
.dg-muted { color: rgba(var(--ink-rgb),0.45); }

.dg-btn { touch-action: manipulation; -webkit-tap-highlight-color: transparent; display: inline-flex; align-items: center; gap: 8px; padding: 14px 26px; border-radius: 9999px; border: none; cursor: pointer; font-family: var(--brand-font-detail, 'Clash Display', 'Inter', sans-serif); font-weight: 500; font-size: 0.75rem; color: var(--on-accent); background: var(--brand-accent, #e0c193); box-shadow: 0 8px 26px rgba(var(--brand-accent-rgb,224,193,147),0.28); transition: transform .2s, box-shadow .2s, opacity .2s; text-decoration: none; letter-spacing: 0.1em; text-transform: uppercase;}
.dg-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 34px rgba(var(--brand-accent-rgb,224,193,147),0.42); }
.dg-btn:disabled { opacity: 0.35; cursor: not-allowed; transform: none; box-shadow: none; }
.dg-ghost { touch-action: manipulation; -webkit-tap-highlight-color: transparent; background: transparent; border: 1px solid rgba(var(--ink-rgb),0.25); color: var(--text-strong); padding: 12px 18px; border-radius: 9999px; cursor: pointer; font-family: var(--brand-font-detail, 'Clash Display', 'Inter', sans-serif); font-size: 0.7rem; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;}
.dg-ghost:hover { background: rgba(var(--ink-rgb),0.1); }
.dg-actions { margin-top: 32px; display: flex; gap: 12px; align-items: center; }
.dg-spacer { flex: 1; }
.dg-count { font-size: 0.8rem; color: rgba(var(--ink-rgb),0.4); }
.dg-lock { display: inline-flex; align-items: center; gap: 6px; font-size: 0.85rem; color: rgba(var(--ink-rgb),0.5); }

.dg-q { background: rgba(var(--ink-rgb),0.03); border: 1px solid rgba(var(--brand-accent-rgb, 224, 193, 147), 0.16); border-radius: 14px; padding: 18px 20px; margin-bottom: 14px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; transition: border-color .2s; }
.dg-q.answered { border-color: rgba(var(--brand-accent-rgb,224,193,147),0.3); }
.dg-q-text { flex: 1; min-width: 200px; font-size: 1.02rem; color: var(--text-strong); line-height: 1.4; }
.dg-yn { display: flex; gap: 8px; }
.dg-yn button { padding: 9px 18px; border-radius: 10px; border: 1px solid rgba(var(--ink-rgb),0.14); background: transparent; color: rgba(var(--ink-rgb),0.7); font-family: inherit; font-weight: 600; font-size: 0.88rem; cursor: pointer; transition: all .15s; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
@media (hover: hover) {
    .dg-yn button:hover { border-color: rgba(var(--brand-accent-rgb,224,193,147),0.5); }
}
.dg-yn button:active { border-color: rgba(var(--brand-accent-rgb,224,193,147),0.6); transition: none; }
.dg-yn button.sel-yes { background: var(--brand-accent,#e0c193); border-color: var(--accent-ink,#e0c193); color: var(--on-accent); }
.dg-yn button.sel-no { background: rgba(var(--ink-rgb),0.16); border-color: rgba(var(--ink-rgb),0.3); color: var(--text-strong); }

.dg-opt { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; padding: 16px 18px; margin-bottom: 12px; border-radius: 14px; border: 1px solid rgba(var(--brand-accent-rgb, 224, 193, 147), 0.16); background: rgba(var(--ink-rgb),0.02); color: var(--text-strong); font-family: inherit; font-size: 1rem; cursor: pointer; transition: all .18s; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
/* hover só onde existe hover de verdade — no touch, hover "grudento" atrasa/atrapalha o toque */
@media (hover: hover) {
    .dg-opt:hover { border-color: rgba(var(--brand-accent-rgb,224,193,147),0.45); transform: translateX(3px); }
}
/* feedback INSTANTÂNEO no toque (sem esperar a transição do .sel) */
.dg-opt:active { border-color: rgba(var(--brand-accent-rgb,224,193,147),0.6); background: rgba(var(--brand-accent-rgb,224,193,147),0.08); transition: none; }
.dg-opt.sel { border-color: var(--accent-ink,#e0c193); background: rgba(var(--brand-accent-rgb,224,193,147),0.1); }
.dg-opt .dg-dot { width: 22px; height: 22px; border-radius: 50%; border: 2px solid rgba(var(--ink-rgb),0.25); flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.dg-opt.sel .dg-dot { border-color: var(--accent-ink,#e0c193); background: var(--brand-accent,#e0c193); }
.dg-opt.sel .dg-dot::after { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--brand-bg,#000); }

/* resultado: hero em card dourado + selo de progresso */
.dg-hero-card { background: linear-gradient(180deg, rgba(var(--brand-accent-rgb,224,193,147),0.12), rgba(var(--brand-accent-rgb,224,193,147),0.02)); border: 1px solid rgba(var(--brand-accent-rgb,224,193,147),0.28); border-radius: 20px; padding: 30px 24px 26px; text-align: center; margin-top: 6px; }
.dg-kept { display: inline-flex; gap: 6px; align-items: center; margin-top: 14px; font-size: 0.8rem; color: #4ade80; background: rgba(74,222,128,0.1); border: 1px solid rgba(74,222,128,0.32); border-radius: 20px; padding: 5px 12px; }
.dg-kept .material-icons { font-size: 15px; }
.dg-divider { height: 1px; background: rgba(var(--ink-rgb),0.07); margin: 30px 0; }
.dg-result-hero { text-align: center; padding: 10px 0 6px; }
.dg-marco-badge { width: 84px; height: 84px; margin: 0 auto 16px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--brand-font-display,'Source Serif 4',serif); font-size: 2rem; color: var(--on-accent); background: linear-gradient(135deg, var(--brand-accent,#e0c193), var(--brand-accent-dark,#c5a877)); box-shadow: 0 0 0 8px rgba(var(--brand-accent-rgb,224,193,147),0.12); }
.dg-marco-name { font-family: var(--brand-font-display,'Source Serif 4',serif); font-size: 2rem; color: var(--text-strong); }
.dg-marco-tag { color: var(--accent-ink,#e0c193); margin-top: 4px; }
.dg-marco-next { color: rgba(var(--ink-rgb),0.66); margin-top: 12px; max-width: 520px; margin-left: auto; margin-right: auto; line-height: 1.55; }
.dg-animal-emoji { font-size: 3rem; line-height: 1; margin-bottom: 8px; }
.dg-section-h { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(var(--ink-rgb),0.45); margin: 28px 0 14px; }
.dg-prod { display: flex; align-items: center; gap: 14px; text-decoration: none; background: rgba(var(--ink-rgb),0.03); border: 1px solid rgba(var(--brand-accent-rgb, 224, 193, 147), 0.16); border-radius: 12px; padding: 12px 14px; margin-bottom: 10px; transition: border-color .2s, transform .2s; }
.dg-prod:hover { border-color: rgba(var(--brand-accent-rgb,224,193,147),0.4); transform: translateX(4px); }
.dg-prod-thumb { width: 70px; height: 44px; border-radius: 8px; background: var(--brand-bg-2, #11111e) center/cover no-repeat; flex-shrink: 0; }
.dg-prod-mid { flex: 1; min-width: 0; }
.dg-prod-name { color: var(--text-strong); font-weight: 500; }
.dg-prod-meta { font-size: 0.78rem; color: rgba(var(--ink-rgb),0.45); margin-top: 2px; }
.dg-prod-cta { color: var(--accent-ink,#e0c193); display: inline-flex; align-items: center; }
.dg-prod-in { color: #4ade80; font-size: 0.9rem; font-weight: 700; }
.dg-spin { animation: dgSpin 1s linear infinite; }
@keyframes dgSpin { to { transform: rotate(360deg); } }

/* pitch (copy adaptada ao perfil) */
.dg-pitch { color: rgba(var(--ink-rgb),0.72); font-style: italic; margin: 12px auto 0; max-width: 520px; line-height: 1.5; }

/* mini-mapa da Jornada (0–10) */
.dg-mini { display: flex; align-items: center; justify-content: center; gap: 0; margin: 24px auto 6px; max-width: 460px; }
.dg-mini-dot { width: 15px; height: 15px; border-radius: 50%; border: 2px solid rgba(var(--ink-rgb),0.18); flex-shrink: 0; }
.dg-mini-dot.done { background: var(--brand-accent,#e0c193); border-color: var(--accent-ink,#e0c193); }
.dg-mini-dot.cur { background: var(--brand-accent,#e0c193); border-color: var(--accent-ink,#e0c193); box-shadow: 0 0 0 4px rgba(var(--brand-accent-rgb,224,193,147),0.22); }
.dg-mini-line { height: 2px; flex: 1; background: rgba(var(--ink-rgb),0.1); }
.dg-mini-line.done { background: var(--brand-accent,#e0c193); }
.dg-mini-ends { display: flex; justify-content: space-between; max-width: 460px; margin: 0 auto 4px; font-size: 0.66rem; color: rgba(var(--ink-rgb),0.4); }

/* card do perfil no resultado do quiz */
.dg-profile-card { display: flex; gap: 14px; align-items: center; background: rgba(var(--ink-rgb),0.03); border: 1px solid rgba(var(--brand-accent-rgb, 224, 193, 147), 0.16); border-radius: 14px; padding: 16px 18px; margin: 26px 0; }
.dg-profile-ico { width: 48px; height: 48px; border-radius: 12px; background: rgba(var(--brand-accent-rgb,224,193,147),0.12); border: 1px solid rgba(var(--brand-accent-rgb,224,193,147),0.3); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; flex-shrink: 0; }
.dg-profile-hint { display: flex; gap: 10px; align-items: center; background: rgba(var(--brand-accent-rgb,224,193,147),0.06); border: 1px solid rgba(var(--brand-accent-rgb,224,193,147),0.2); border-radius: 12px; padding: 13px 16px; margin: 26px 0; font-size: 0.88rem; }
.dg-profile-hint a { color: var(--accent-ink,#e0c193); font-weight: 600; text-decoration: none; white-space: nowrap; }

/* evolução */
.dg-evo { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.dg-evo-item { display: inline-flex; align-items: center; gap: 8px; }
.dg-evo-badge { background: rgba(var(--brand-accent-rgb,224,193,147),0.12); border: 1px solid rgba(var(--brand-accent-rgb,224,193,147),0.3); color: var(--accent-ink,#e0c193); border-radius: 8px; padding: 3px 9px; font-size: 0.8rem; font-weight: 700; }
.dg-evo-date { font-size: 0.72rem; color: rgba(var(--ink-rgb),0.4); }
.dg-evo-arrow { color: rgba(var(--ink-rgb),0.3); }

@media (max-width: 560px) { .dg-wrap { padding: 24px 18px calc(var(--mobile-nav-clearance,92px) + 24px); } .dg-title { font-size: 1.8rem; } }

/* ============================================================
   RESULTADO PREMIUM (redesign) — diagnostico.php
   ============================================================ */
.dg-rv { opacity: 0; transform: translateY(20px); animation: dgRv .65s cubic-bezier(.16,1,.3,1) forwards; }
@keyframes dgRv { to { opacity: 1; transform: none; } }
.dg-center { display: flex; justify-content: center; }

/* Hero card com brilho */
.dg-hero-card { position: relative; overflow: hidden; }
.dg-hero-card::before { content: ''; position: absolute; top: -45%; left: 50%; transform: translateX(-50%); width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(var(--brand-accent-rgb,224,193,147),0.20), transparent 70%); pointer-events: none; }
.dg-hero-card > * { position: relative; z-index: 1; }

/* Anel de progresso com o número do Marco */
.dg-ring { position: relative; width: 132px; height: 132px; margin: 4px auto 16px; }
.dg-ring svg { transform: rotate(-90deg); width: 132px; height: 132px; }
.dg-ring .rt { fill: none; stroke: rgba(var(--ink-rgb),0.1); stroke-width: 8; }
.dg-ring .rb { fill: none; stroke: url(#dgGold); stroke-width: 8; stroke-linecap: round; transition: stroke-dashoffset 1.3s cubic-bezier(.16,1,.3,1); }
.dg-ring-num { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--brand-font-display,'Source Serif 4',serif); font-size: 2.7rem; color: var(--text-strong); line-height: 1; }
.dg-ring-pct { text-align: center; font-size: 0.72rem; letter-spacing: 0.06em; color: var(--accent-ink,#e0c193); text-transform: uppercase; margin: -2px 0 2px; }
.dg-result-label { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.72rem; color: rgba(var(--ink-rgb),0.45); }
.dg-hero-card .dg-marco-name { margin-top: 4px; }

/* Mini-mapa vivo */
.dg-mini-dot.cur { width: 19px; height: 19px; position: relative; }
.dg-mini-dot.cur::after { content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid rgba(var(--brand-accent-rgb,224,193,147),0.6); animation: dgPulse 2s ease-out infinite; }
@keyframes dgPulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.9); opacity: 0; } }

/* Card de perfil temático (cor por animal via --an-*) */
.dg-prof { display: flex; gap: 16px; align-items: center; border: 1px solid var(--an-border, rgba(var(--ink-rgb),0.1)); background: var(--an-bg, rgba(var(--ink-rgb),0.03)); border-radius: 16px; padding: 18px; margin: 0; }
.dg-prof-ico { width: 58px; height: 58px; border-radius: 15px; display: flex; align-items: center; justify-content: center; font-size: 1.9rem; flex-shrink: 0; background: var(--an-bg2, rgba(var(--brand-accent-rgb,224,193,147),0.14)); border: 1px solid var(--an-border, rgba(var(--brand-accent-rgb,224,193,147),0.3)); }
.dg-prof-label { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.66rem; color: rgba(var(--ink-rgb),0.45); }
.dg-prof-name { font-family: var(--brand-font-display,'Source Serif 4',serif); font-size: 1.35rem; color: var(--text-strong); line-height: 1.1; margin: 2px 0 4px; }
.dg-prof-sum { font-size: 0.86rem; color: rgba(var(--ink-rgb),0.62); line-height: 1.45; }
.dg-prof-desire { font-size: 0.84rem; color: var(--an-text, var(--brand-accent,#e0c193)); font-style: italic; margin-top: 6px; }

/* Botão compartilhar (secundário) */
.dg-share { touch-action: manipulation; background: rgba(var(--ink-rgb),0.05); border: 1px solid rgba(var(--ink-rgb),0.14); color: rgba(var(--ink-rgb),0.85); padding: 12px 18px; border-radius: 12px; cursor: pointer; font-family: inherit; font-weight: 600; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 7px; }
.dg-share:hover { background: rgba(var(--ink-rgb),0.1); }

/* Cooldown como chip */
.dg-cooldown { display: inline-flex; gap: 7px; align-items: center; margin: 18px auto 0; justify-content: center; background: rgba(var(--ink-rgb),0.04); border: 1px solid rgba(var(--brand-accent-rgb, 224, 193, 147), 0.16); border-radius: 20px; padding: 8px 16px; font-size: 0.8rem; color: rgba(var(--ink-rgb),0.55); max-width: 100%; }
.dg-cooldown .material-icons { font-size: 15px; color: rgba(var(--ink-rgb),0.4); }

/* Empty state de cursos */
.dg-empty-courses { text-align: center; padding: 22px; border: 1px dashed rgba(var(--brand-accent-rgb, 224, 193, 147), 0.16); border-radius: 14px; color: rgba(var(--ink-rgb),0.5); font-size: 0.9rem; }
.dg-empty-courses a { color: var(--accent-ink,#e0c193); text-decoration: none; font-weight: 600; }

/* Espaçamento consistente do corpo do resultado (flex com gap) */
.dg-result-body { display: flex; flex-direction: column; gap: 22px; margin-top: 20px; }
.dg-result-body .dg-section-h { margin: 0 0 12px; }
.dg-result-body .dg-divider { margin: 4px 0; }
.dg-result-body .dg-prof, .dg-result-body .dg-profile-hint { margin: 0; }
.dg-result-body .dg-actions { margin-top: 4px; }
.dg-evo-block .dg-section-h { margin: 0 0 10px; }

/* Prova social */
.dg-social { display: inline-flex; gap: 7px; align-items: center; margin: 14px auto 0; background: rgba(74,222,128,0.08); border: 1px solid rgba(74,222,128,0.28); color: #4ade80; border-radius: 20px; padding: 6px 14px; font-size: 0.84rem; font-weight: 600; }
.dg-social .material-icons { font-size: 16px; }

/* Confete (celebração) */
.dg-confetti-wrap { position: fixed; inset: 0; pointer-events: none; z-index: 60; overflow: hidden; }
.dg-confetti { position: absolute; top: -16px; width: 9px; height: 14px; border-radius: 2px; opacity: 0; animation: dgFall linear forwards; }
@keyframes dgFall { 0% { opacity: 1; transform: translateY(0) rotate(0); } 100% { opacity: 0.9; transform: translateY(105vh) rotate(720deg); } }

/* ============================================================
   HUD / SCAN (direção tech) — diagnostico.php + perfil.php
   ============================================================ */
:root { --dg-mono: ui-monospace, 'SF Mono', 'JetBrains Mono', 'Roboto Mono', Menlo, Consolas, monospace; }

/* fundo: adiciona grade técnica sutil sobre o radial existente */
.dg-bg::before { content: ''; position: absolute; inset: 0; opacity: 0.5;
    background-image: radial-gradient(rgba(var(--ink-rgb),0.045) 1px, transparent 1px); background-size: 26px 26px;
    -webkit-mask-image: linear-gradient(180deg, #000, transparent 78%); mask-image: linear-gradient(180deg, #000, transparent 78%); }

/* chip monospace (MARCO 05 / 10, PERFIL // 01, etc.) */
.dg-chip { display: inline-flex; align-items: center; gap: 6px; font-family: var(--dg-mono); font-size: 0.64rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-ink,#e0c193); border: 1px solid rgba(var(--brand-accent-rgb,224,193,147),0.32); border-radius: 6px; padding: 4px 9px; background: rgba(var(--brand-accent-rgb,224,193,147),0.05); }
.dg-chip .material-icons { font-size: 13px; }
.dg-chip.muted { color: rgba(var(--ink-rgb),0.5); border-color: rgba(var(--ink-rgb),0.14); background: rgba(var(--ink-rgb),0.03); }

/* moldura HUD com "cantos" (top-left + bottom-right) */
.dg-hud { position: relative; }
.dg-hud::before, .dg-hud::after { content: ''; position: absolute; width: 14px; height: 14px; border: 1.5px solid rgba(var(--brand-accent-rgb,224,193,147),0.55); pointer-events: none; }
.dg-hud::before { top: 10px; left: 10px; border-right: 0; border-bottom: 0; }
.dg-hud::after { bottom: 10px; right: 10px; border-left: 0; border-top: 0; }

/* SCAN de análise (estado de loading premium) */
.dg-scan { position: relative; max-width: 540px; margin: 36px auto; border: 1px solid rgba(var(--brand-accent-rgb,224,193,147),0.25); border-radius: 18px; padding: 40px 30px; overflow: hidden; background: linear-gradient(180deg, rgba(var(--brand-accent-rgb,224,193,147),0.05), rgba(var(--ink-rgb),0.01)); }
.dg-scan-line { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, rgba(var(--brand-accent-rgb,224,193,147),0.9), transparent); box-shadow: 0 0 18px rgba(var(--brand-accent-rgb,224,193,147),0.7); animation: dgSweep 1.15s cubic-bezier(.5,0,.5,1) infinite; }
@keyframes dgSweep { 0% { top: 0; } 100% { top: 100%; } }
.dg-scan-grid { font-family: var(--dg-mono); font-size: 0.72rem; color: rgba(var(--ink-rgb),0.45); line-height: 1.9; }
.dg-scan-grid b { color: var(--accent-ink,#e0c193); font-weight: 600; }
.dg-scan-pct { font-family: var(--brand-font-display,'Source Serif 4',serif); font-size: 2.6rem; color: var(--text-strong); line-height: 1; margin: 6px 0 14px; }
.dg-scan-status { font-family: var(--dg-mono); font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent-ink,#e0c193); display: flex; align-items: center; gap: 9px; }
.dg-scan-status .material-icons { font-size: 15px; animation: dgSpin 1s linear infinite; }

/* headline / fisga (citação serif com barra dourada) */
.dg-headline { font-family: var(--brand-font-display,'Source Serif 4',serif); font-size: 1.4rem; line-height: 1.36; color: var(--text-strong); border-left: 3px solid var(--brand-accent,#e0c193); padding: 2px 0 2px 16px; margin: 4px 0; text-align: left; }

/* corpo narrativo V2 (vários parágrafos) */
.dg-longread { text-align: left; }
.dg-longread p { color: rgba(var(--ink-rgb),0.72); font-size: 0.98rem; line-height: 1.72; margin-bottom: 12px; }
.dg-longread p:last-child { margin-bottom: 0; }

/* painel genérico (seções de texto no resultado) */
.dg-panel { background: rgba(var(--ink-rgb),0.025); border: 1px solid rgba(var(--brand-accent-rgb, 224, 193, 147), 0.16); border-radius: 16px; padding: 22px 24px; }

/* ícone do arquétipo (dourado único, diferencia por glyph) */
.dg-prof-ico .material-icons { font-size: 1.8rem; color: var(--accent-ink,#e0c193); }
.dg-prof-foco { font-family: var(--dg-mono); font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(var(--ink-rgb),0.5); margin-top: 4px; }

/* mapa dos 4 arquétipos (perfil) */
.dg-arch-map { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; margin: 4px 0; }
.dg-arch { border: 1px solid rgba(var(--brand-accent-rgb, 224, 193, 147), 0.16); border-radius: 13px; padding: 14px 8px; text-align: center; opacity: 0.55; transition: opacity .3s; }
.dg-arch .material-icons { font-size: 1.5rem; color: rgba(var(--ink-rgb),0.55); }
.dg-arch-name { font-size: 0.74rem; color: rgba(var(--ink-rgb),0.7); margin-top: 6px; font-weight: 600; }
.dg-arch.me { opacity: 1; border-color: rgba(var(--brand-accent-rgb,224,193,147),0.55); background: rgba(var(--brand-accent-rgb,224,193,147),0.08); box-shadow: 0 0 0 1px rgba(var(--brand-accent-rgb,224,193,147),0.18), 0 14px 38px -16px rgba(var(--brand-accent-rgb,224,193,147),0.5); }
.dg-arch.me .material-icons, .dg-arch.me .dg-arch-name { color: var(--accent-ink,#e0c193); }
@media (max-width: 560px) { .dg-arch-map { grid-template-columns: repeat(2, 1fr); } .dg-headline { font-size: 1.2rem; } }

/* hero do perfil (página de resultado do perfil) */
.dg-prof-hero { text-align: center; }
.dg-prof-hero .dg-prof-bigico { width: 76px; height: 76px; margin: 0 auto 14px; border-radius: 20px; display: flex; align-items: center; justify-content: center; background: rgba(var(--brand-accent-rgb,224,193,147),0.12); border: 1px solid rgba(var(--brand-accent-rgb,224,193,147),0.3); }
.dg-prof-hero .dg-prof-bigico .material-icons { font-size: 2.4rem; color: var(--accent-ink,#e0c193); }

/* ===== Seções do ebook no resultado (checklist / riesgos / reflexión / acción) ===== */
.dg-section-sub { color: rgba(var(--ink-rgb),0.5); font-size: 0.85rem; margin: -6px 0 12px; }
.dg-section-sub:empty { display: none; }
.dg-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.dg-list li { display: flex; gap: 10px; align-items: flex-start; color: rgba(var(--ink-rgb),0.78); font-size: 0.92rem; line-height: 1.55; }
.dg-list li .material-icons { font-size: 18px; margin-top: 2px; flex: 0 0 auto; }
.dg-list-check li .material-icons { color: var(--accent-ink, #e0c193); }
.dg-list-risk li .material-icons { color: rgba(var(--ink-rgb),0.55); }
.dg-list-ref li { font-style: italic; color: rgba(var(--ink-rgb),0.68); }
.dg-list-ref li .material-icons { color: rgba(var(--brand-accent-rgb,224,193,147),0.7); font-style: normal; }
.dg-quest-panel { border-color: rgba(var(--brand-accent-rgb,224,193,147),0.35); }
.dg-quest { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 0; }
.dg-quest + .dg-quest { border-top: 1px solid rgba(var(--ink-rgb),0.08); }
.dg-quest-title { color: var(--text-strong); font-weight: 600; font-size: 0.95rem; }
.dg-quest-desc { color: rgba(var(--ink-rgb),0.6); font-size: 0.85rem; margin-top: 2px; }
.dg-quest-meta { color: rgba(var(--brand-accent-rgb,224,193,147),0.85); font-size: 0.78rem; margin-top: 6px; text-transform: uppercase; letter-spacing: 0.06em; }
.dg-quest-cta { display: inline-flex; align-items: center; gap: 6px; color: var(--accent-ink, #e0c193); text-decoration: none; font-size: 0.85rem; font-weight: 600; white-space: nowrap; }
.dg-quest-cta .material-icons { font-size: 16px; }
.dg-quest-cta:hover { text-decoration: underline; }
@media (max-width: 480px) {
    .dg-quest { flex-direction: column; align-items: flex-start; gap: 8px; }
}
