/* Diagnóstico gratuito — shell minimalista (sem navegação/footer/preloader do site).
   Tokens do design system Onlip. */
:root {
    --dg-bg: #100D0A;
    --dg-card: #1D1813;
    --dg-fg: #F5F3EF;
    --dg-accent: #EE5D2B;
    --dg-accent-fg: #FFFFFF;
    --dg-muted: #9D9790;
    --dg-border: rgba(245, 243, 239, 0.14);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body.dg-body {
    background: var(--dg-bg);
    color: var(--dg-fg);
    font-family: "DM Sans", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.dg-body h1, .dg-body h2, .dg-body h3, .dg-body strong { font-family: "Archivo", sans-serif; font-weight: 600; }
.dg-body img { max-width: 100%; display: block; }
.dg-body a { color: inherit; }

.dg-label { font-family: "DM Mono", monospace; font-size: 11px; text-transform: uppercase; letter-spacing: 0.18em; color: var(--dg-accent); }
.dg-muted { color: var(--dg-muted); }

.dg-wrap { max-width: 80rem; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
@media (min-width: 640px) { .dg-wrap { padding-left: 32px; padding-right: 32px; } }

/* Header minimalista */
.dg-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(16, 13, 10, 0.95);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--dg-border);
}
.dg-header-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 80px; }
.dg-header-in img { width: 96px; height: auto; }
@media (min-width: 640px) { .dg-header-in img { width: 144px; } }

/* CTA */
.dg-cta {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 48px; padding: 12px 24px; border: 0; border-radius: 999px; cursor: pointer;
    background: var(--dg-accent); color: var(--dg-accent-fg);
    font-family: "DM Sans", sans-serif; font-size: 15px; font-weight: 600; line-height: 1.3;
    text-decoration: none; white-space: normal; text-align: center;
    box-shadow: 0 8px 30px -16px var(--dg-accent);
    transition: background 0.2s ease, transform 0.2s ease;
}
.dg-cta:hover { background: #d94f20; }
.dg-cta:active { transform: translateY(1px); }
.dg-cta svg { flex-shrink: 0; }
.dg-cta--dark { background: var(--dg-bg); color: var(--dg-fg); box-shadow: none; }
.dg-cta--dark:hover { background: #000; }
.dg-cta--full { width: 100%; }
@media (min-width: 640px) { .dg-cta--full { width: auto; } }
.dg-cta--compact { min-height: 44px; padding: 10px 18px; font-size: 12px; }
@media (min-width: 640px) { .dg-cta--compact { padding: 10px 24px; font-size: 14px; } }

.dg-note { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 12px; color: var(--dg-muted); }
.dg-note svg { color: var(--dg-accent); flex-shrink: 0; }

/* Hero */
.dg-hero { padding-top: 56px; padding-bottom: 48px; }
@media (min-width: 1024px) { .dg-hero { padding-top: 80px; } }
.dg-hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1024px) { .dg-hero-grid { grid-template-columns: 1.45fr 0.8fr; gap: 64px; } }
.dg-hero h1 { font-size: 36px; line-height: 1.08; margin-top: 24px; }
@media (min-width: 640px) { .dg-hero h1 { font-size: 48px; } }
@media (min-width: 1024px) { .dg-hero h1 { font-size: 58px; } }
.dg-hero h1 span { color: var(--dg-accent); }
.dg-hero p.dg-lead { margin-top: 24px; max-width: 36rem; color: var(--dg-muted); font-size: 16px; }
@media (min-width: 640px) { .dg-hero p.dg-lead { font-size: 18px; } }
.dg-hero .dg-cta-row { margin-top: 32px; }

/* Ilustração do diagnóstico */
.dg-figure { position: relative; margin: 0 auto; width: 100%; max-width: 28rem; }
.dg-figure::before {
    content: ""; position: absolute; inset: -24px; border-radius: 999px;
    background: var(--dg-accent); opacity: 0.18; filter: blur(48px);
}
.dg-card {
    position: relative; border: 1px solid var(--dg-border); border-radius: 8px;
    background: var(--dg-card); padding: 24px; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
}
.dg-card-top { display: flex; align-items: center; justify-content: space-between; font-family: "DM Mono", monospace; font-size: 10px; text-transform: uppercase; color: var(--dg-muted); }
.dg-card-top .dg-live { display: flex; align-items: center; gap: 6px; color: var(--dg-accent); }
.dg-card-top .dg-live i { width: 6px; height: 6px; border-radius: 999px; background: var(--dg-accent); animation: dg-pulse 1.6s infinite; }
@keyframes dg-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.dg-score-row { display: flex; align-items: center; gap: 20px; margin-top: 24px; }
.dg-score-row svg { width: 96px; height: 96px; transform: rotate(-90deg); color: var(--dg-border); }
.dg-score-row svg circle { fill: none; stroke-width: 8; }
.dg-score-row svg .dg-arc { stroke: var(--dg-accent); stroke-linecap: round; stroke-dasharray: 264; stroke-dashoffset: 110; }
.dg-score-num { font-family: "Archivo", sans-serif; font-weight: 600; font-size: 36px; }
.dg-score-num span { font-size: 18px; color: var(--dg-muted); }
.dg-bars { list-style: none; margin-top: 24px; }
.dg-bars li { font-size: 12px; }
.dg-bars li + li { margin-top: 12px; }
.dg-bars .dg-bar-row { display: flex; justify-content: space-between; }
.dg-bars .dg-bar-row em { font-style: normal; font-family: "DM Mono", monospace; color: var(--dg-muted); }
.dg-bars .dg-track { margin-top: 6px; height: 6px; border-radius: 999px; background: var(--dg-border); }
.dg-bars .dg-fill { display: block; height: 100%; border-radius: 999px; background: var(--dg-accent); }
.dg-pdfrow { display: flex; align-items: center; gap: 12px; margin-top: 24px; padding: 12px; border: 1px solid var(--dg-border); border-radius: 6px; background: var(--dg-bg); font-size: 12px; }
.dg-pdfrow svg { color: var(--dg-accent); flex-shrink: 0; }
.dg-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Faixa de destaques */
.dg-strip {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 20px;
    border-top: 1px solid var(--dg-border); border-bottom: 1px solid var(--dg-border);
    padding: 28px 0; margin-top: 48px;
}
@media (min-width: 1024px) { .dg-strip { grid-template-columns: repeat(4, 1fr); } }
.dg-strip p { display: flex; align-items: center; gap: 12px; font-family: "DM Mono", monospace; font-size: 11px; text-transform: uppercase; }
.dg-strip b { color: var(--dg-accent); font-weight: 500; }
.dg-strip svg { color: var(--dg-accent); flex-shrink: 0; }

/* Seções */
.dg-sec { padding: 64px 0; }
@media (min-width: 640px) { .dg-sec { padding: 96px 0; } }
.dg-sec--card { background: var(--dg-card); }
.dg-sec--bordered { border-top: 1px solid var(--dg-border); border-bottom: 1px solid var(--dg-border); }
.dg-h2 { font-size: 28px; line-height: 1.2; margin-top: 20px; }
@media (min-width: 640px) { .dg-h2 { font-size: 36px; } }
@media (min-width: 1024px) { .dg-h2 { font-size: 44px; } }
.dg-h2 span { color: var(--dg-accent); }

/* Dores */
.dg-pains { display: grid; gap: 0 48px; margin: 40px 0; }
@media (min-width: 640px) { .dg-pains { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .dg-pains { grid-template-columns: repeat(3, 1fr); } }
.dg-pains p { display: flex; gap: 16px; padding: 24px 0; border-bottom: 1px solid var(--dg-border); font-size: 18px; line-height: 1.55; }
.dg-pains p::before { content: ""; margin-top: 12px; width: 20px; height: 1px; flex-shrink: 0; background: var(--dg-accent); }
.dg-pains-close { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; font-size: 24px; }
@media (min-width: 1024px) { .dg-pains-close { flex-direction: row; align-items: center; } }
.dg-pains-close span { color: var(--dg-accent); }

/* Áreas */
.dg-areas-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.dg-areas-ghost { display: none; font-family: "Archivo", sans-serif; font-weight: 600; font-size: 140px; line-height: 1; color: var(--dg-muted); opacity: 0.15; }
@media (min-width: 1024px) { .dg-areas-ghost { display: block; } }
.dg-areas { display: grid; gap: 0 48px; margin-top: 48px; }
@media (min-width: 640px) { .dg-areas { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .dg-areas { grid-template-columns: repeat(3, 1fr); } }
.dg-areas article { display: flex; gap: 16px; border-top: 1px solid var(--dg-border); padding: 24px 0; }
.dg-areas article b { font-weight: 500; }
.dg-areas article i { font-style: normal; padding-top: 4px; font-family: "DM Mono", monospace; font-size: 12px; color: var(--dg-accent); }
.dg-areas article p { margin-top: 8px; font-size: 14px; color: var(--dg-muted); }
.dg-sec--accent { background: var(--dg-accent); color: var(--dg-accent-fg); }
.dg-sec--accent .dg-label { color: var(--dg-accent-fg); opacity: 0.8; }
.dg-sec--accent .dg-areas-ghost { color: var(--dg-accent-fg); }
.dg-sec--accent .dg-areas article { border-top-color: rgba(255, 255, 255, 0.3); }
.dg-sec--accent .dg-areas article i { color: var(--dg-accent-fg); }
.dg-sec--accent .dg-areas article p { color: rgba(255, 255, 255, 0.85); }
.dg-sec--accent .dg-h2 { color: var(--dg-bg); }
.dg-sec--accent .dg-areas article h3 { color: var(--dg-bg); }

/* Entregáveis + PDF */
.dg-deliver-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1024px) { .dg-deliver-grid { grid-template-columns: 1fr 1fr; } }
.dg-deliver { list-style: none; margin-top: 32px; }
.dg-deliver li { display: flex; gap: 12px; }
.dg-deliver li + li { margin-top: 20px; }
.dg-deliver svg { color: var(--dg-accent); flex-shrink: 0; margin-top: 4px; }
.dg-deliver p { font-size: 14px; color: var(--dg-muted); }
.dg-deliver strong { color: var(--dg-fg); font-weight: 500; }
.dg-quote { margin: 32px 0; border-left: 2px solid var(--dg-accent); padding-left: 20px; font-size: 18px; }

.dg-pdf { position: relative; margin: 0 auto; height: 410px; width: 100%; max-width: 28rem; overflow: hidden; }
@media (min-width: 640px) { .dg-pdf { height: 460px; } }
.dg-paper { position: absolute; width: 68%; height: 350px; padding: 25px; border: 1px solid var(--dg-border); border-radius: 4px; box-shadow: 0 18px 40px -24px var(--dg-bg); }
@media (min-width: 640px) { .dg-paper { height: 385px; padding: 30px; } }
.dg-paper--back { right: 0; top: 12px; transform: rotate(10deg); background: var(--dg-fg); color: var(--dg-bg); }
.dg-paper--mid { right: 10%; top: 28px; transform: rotate(3deg); background: var(--dg-fg); color: var(--dg-bg); }
.dg-paper--cover { left: 2%; top: 55px; transform: rotate(-7deg); background: var(--dg-bg); color: var(--dg-fg); border-color: var(--dg-accent); }
.dg-paper h3 { font-size: 24px; line-height: 1.2; margin-top: 20px; }
.dg-paper .dg-mono { font-family: "DM Mono", monospace; font-size: 10px; text-transform: uppercase; }
.dg-paper .dg-mono--accent { color: var(--dg-accent); }
.dg-paper .dg-bar { height: 8px; background: rgba(16, 13, 10, 0.1); }
.dg-paper .dg-bar i { display: block; height: 100%; background: var(--dg-accent); }
.dg-paper .dg-bar + .dg-bar { margin-top: 6px; }
.dg-paper .dg-hairline { margin-top: 40px; height: 1px; background: var(--dg-accent); }
.dg-pdf figcaption, .dg-pdf-caption { position: absolute; left: 0; right: 0; bottom: 0; text-align: center; font-family: "DM Mono", monospace; font-size: 10px; text-transform: uppercase; color: var(--dg-muted); }

/* Quem conduz */
.dg-conductor { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1024px) { .dg-conductor { grid-template-columns: 0.8fr 1.2fr; gap: 80px; } }
.dg-conductor img { width: 100%; max-width: 28rem; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; border-radius: 8px; }
.dg-conductor p.dg-bio { margin-top: 24px; color: var(--dg-muted); font-size: 18px; }
.dg-conductor .dg-quote--bold { font-size: 20px; margin: 32px 0; }

/* Passos */
.dg-steps { display: grid; gap: 40px; margin: 48px 0; }
@media (min-width: 768px) { .dg-steps { grid-template-columns: repeat(3, 1fr); } }
.dg-steps article { border-top: 1px solid var(--dg-border); padding-top: 24px; }
.dg-steps i { font-style: normal; font-family: "DM Mono", monospace; font-size: 36px; color: var(--dg-accent); }
.dg-steps h3 { margin-top: 20px; font-size: 20px; }
.dg-steps p { margin-top: 12px; font-size: 14px; color: var(--dg-muted); }

/* Formulário (dados vão somente para o WhatsApp; nada é enviado a servidor) */
.dg-form-grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .dg-form-grid { grid-template-columns: repeat(2, 1fr); } }
.dg-field { display: block; font-size: 14px; }
.dg-field span { display: block; margin-bottom: 8px; }
.dg-field em { font-style: normal; color: var(--dg-accent); }
.dg-field input, .dg-field select {
    width: 100%; height: 48px; padding: 0 12px; border-radius: 6px;
    border: 1px solid var(--dg-border); background: var(--dg-bg); color: var(--dg-fg);
    font-family: "DM Sans", sans-serif; font-size: 15px;
}
.dg-field input:focus, .dg-field select:focus { outline: none; border-color: var(--dg-accent); box-shadow: 0 0 0 1px var(--dg-accent); }
.dg-field--wide { grid-column: 1 / -1; }
.dg-form-foot { grid-column: 1 / -1; }
.dg-form-foot small { display: block; margin-top: 16px; font-size: 12px; color: var(--dg-muted); line-height: 1.5; }
.dg-form-link { display: none; margin-top: 16px; font-size: 14px; color: var(--dg-accent); }
.dg-form-link.dg-show { display: block; }
.dg-agenda { display: grid; gap: 40px; }
@media (min-width: 1024px) { .dg-agenda { grid-template-columns: 0.8fr 1.2fr; } }

/* Para quem é */
.dg-who { display: grid; gap: 20px; margin-top: 40px; }
@media (min-width: 768px) { .dg-who { grid-template-columns: repeat(3, 1fr); } }
.dg-who article {
    border: 1px solid rgba(238, 93, 43, 0.4); border-radius: 8px; background: var(--dg-bg);
    padding: 28px; transition: transform 0.2s ease;
}
.dg-who article:hover { transform: translateY(-4px); }
.dg-who .dg-ico { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 999px; background: var(--dg-accent); color: var(--dg-accent-fg); }
.dg-who article p { margin-top: 24px; font-size: 20px; line-height: 1.4; }
.dg-not { display: grid; gap: 16px; margin-top: 20px; }
@media (min-width: 768px) { .dg-not { grid-template-columns: repeat(2, 1fr); } }
.dg-not p { display: flex; align-items: center; gap: 16px; border: 1px solid var(--dg-border); border-radius: 8px; padding: 20px; color: var(--dg-muted); }
.dg-not .dg-ico-x { position: relative; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; flex-shrink: 0; border-radius: 999px; border: 1px solid var(--dg-border); }
.dg-not .dg-ico-x svg:last-child { position: absolute; right: -4px; top: -4px; width: 16px; height: 16px; border-radius: 999px; background: var(--dg-bg); color: var(--dg-accent); }
.dg-h3muted { margin-top: 56px; font-size: 20px; color: var(--dg-muted); }

/* FAQ */
.dg-faq { display: grid; gap: 40px; }
@media (min-width: 1024px) { .dg-faq { grid-template-columns: 0.75fr 1.25fr; } }
.dg-faq details { border-bottom: 1px solid var(--dg-border); }
.dg-faq summary {
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
    padding: 24px 0; cursor: pointer; list-style: none; font-size: 16px; font-weight: 500;
}
.dg-faq summary::-webkit-details-marker { display: none; }
.dg-faq summary::after { content: "+"; font-size: 20px; color: var(--dg-accent); flex-shrink: 0; transition: transform 0.2s ease; }
.dg-faq details[open] summary::after { transform: rotate(45deg); }
.dg-faq details p { padding: 0 0 24px; color: var(--dg-muted); }

/* CTA final */
.dg-final { background: var(--dg-accent); color: var(--dg-accent-fg); text-align: center; }
.dg-final .dg-h2 { max-width: 56rem; margin-left: auto; margin-right: auto; }
.dg-final p.dg-lead { max-width: 36rem; margin: 24px auto 0; font-size: 18px; }
.dg-final .dg-label { color: var(--dg-accent-fg); }
.dg-final .dg-actions { margin-top: 32px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
@media (min-width: 640px) { .dg-final .dg-actions { flex-direction: row; justify-content: center; } }

/* Footer minimalista */
.dg-footer { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding: 40px 0; }
@media (min-width: 640px) { .dg-footer { flex-direction: row; } }
.dg-footer img { height: 32px; width: auto; }
.dg-footer p { margin-top: 16px; font-size: 14px; color: var(--dg-muted); }
.dg-footer nav { display: flex; flex-direction: column; gap: 16px; font-size: 14px; color: var(--dg-muted); }
.dg-footer nav a { text-decoration: underline; text-underline-offset: 4px; }

/* Botão flutuante mobile */
.dg-fab {
    display: none; position: fixed; bottom: 20px; right: 20px; z-index: 40;
    width: 56px; height: 56px; border-radius: 999px; align-items: center; justify-content: center;
    background: var(--dg-accent); color: var(--dg-accent-fg); box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
}
.dg-fab.dg-show { display: inline-flex; }
@media (min-width: 1024px) { .dg-fab { display: none !important; } }

/* Animação de entrada */
.dg-fade { opacity: 0; transform: translateY(16px); transition: opacity 0.7s ease, transform 0.7s ease; }
.dg-fade.dg-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .dg-fade { opacity: 1; transform: none; transition: none; }
    .dg-card-top .dg-live i { animation: none; }
}
