/* Diagnóstico Jooy: jooy.com.br/diagnostico
   Mobile-first. Desktop a partir de 960px. */

@font-face {
  font-family: "Inter Tight";
  src: url("../fonts/inter-tight-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../fonts/jetbrains-mono-latin.woff2") format("woff2");
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #051429;
  --ink-2: #061830;
  --text: #E2EDF3;
  --text-2: #A9BACB;
  --muted: #8BA0B6;
  --dim: #5E7690;
  --line: rgba(226, 237, 243, .1);
  --line-2: rgba(226, 237, 243, .18);
  --cyan: #01C8DD;
  --cyan-hi: #3FDCEC;
  --blue: #195AB4;
  --warn: #F2B544;
  --warn-soft: #FBE3B4;
  --paper: #EEF4F8;
  --paper-line: #D3DFE8;
  --paper-text: #3D5166;
  --sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --gutter: 20px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body.dg {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: var(--cyan); text-underline-offset: 3px; }
a:hover { color: #7FE9F4; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
button { font: inherit; }
input::placeholder { color: #6F859C; }
svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.dg-sr, .dg-skip:not(:focus) {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.dg-skip:focus { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 10px 14px; background: var(--cyan); color: var(--ink); border-radius: 10px; font-weight: 600; }
.dg-mono { font-family: var(--mono); }
.dg-num { font-variant-numeric: tabular-nums; }
.dg-muted { color: var(--muted); }
.dg-accent { color: var(--cyan); }

.dg-demo {
  position: relative; z-index: 20; padding: 8px var(--gutter);
  background: var(--warn); color: var(--ink); font-size: 13px; text-align: center; font-weight: 500;
}

/* ---------- Topo ---------- */
.dg-top {
  position: relative; z-index: 5; height: 64px; padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid rgba(226, 237, 243, .08);
}
.dg-top__logo img { height: 26px; width: auto; }
.dg-top__right { display: flex; align-items: center; gap: 28px; }
.dg-top__pillars, .dg-top .dg-top__wa { display: none; }
.dg-top__status, .dg-top__pillars {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.dg-top__pillars { display: none; }
.dg-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); animation: dg-dot 2s ease-in-out infinite; flex-shrink: 0; }
@keyframes dg-dot { 0%, 100% { box-shadow: 0 0 0 0 rgba(1, 200, 221, .55); } 50% { box-shadow: 0 0 0 6px rgba(1, 200, 221, 0); } }

/* ---------- Hero ---------- */
.dg-hero { position: relative; overflow: hidden; min-height: calc(100svh - 64px); padding: 0 var(--gutter) 120px; }
.dg-hero__media {
  position: absolute; left: 0; right: 0; top: 250px; height: 520px;
  background: url("../img/hero-scan-1000.webp") 50% 50% / cover no-repeat;
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.dg-hero__media video { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s var(--ease); }
.dg-hero__media video.is-playing { opacity: 1; }
.dg-hero__shade {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, var(--ink) 0%, rgba(5, 20, 41, .55) 38%, rgba(5, 20, 41, 0) 58%, rgba(5, 20, 41, .5) 80%, var(--ink) 97%);
}
.dg-hero__dots { display: none; }
.dg-hero.is-working .dg-hero__media { opacity: .32; transform: translateY(-120px); }

.dg-stage { position: relative; z-index: 2; }
.dg-screen { animation: dg-screen .5s var(--ease) both; }
@keyframes dg-screen { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.dg-in { animation: dg-in .7s var(--ease) both; }
.dg-in:nth-child(2) { animation-delay: .07s; }
.dg-in:nth-child(3) { animation-delay: .14s; }
.dg-in:nth-child(4) { animation-delay: .21s; }
@keyframes dg-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.dg-chip {
  display: inline-flex; align-items: center; gap: 10px; margin: 36px 0 0; padding: 6px 12px;
  border: 1px solid rgba(1, 200, 221, .3); border-radius: 999px; background: rgba(1, 200, 221, .06);
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--cyan);
}
.dg-h1 {
  margin: 18px 0 0; font-size: clamp(38px, 10.5vw, 96px); line-height: 1.02; font-weight: 600;
  letter-spacing: -0.04em; text-wrap: balance;
}
.dg-h1:focus { outline: none; }
.dg-br-desk { display: none; }
.dg-intro { margin: 16px 0 0; font-size: 16px; line-height: 1.5; color: var(--text-2); text-wrap: pretty; max-width: 640px; }

.dg-glitch { position: relative; display: inline-block; }
.dg-glitch::before, .dg-glitch::after { content: attr(data-text); position: absolute; left: 0; top: 0; pointer-events: none; opacity: 0; }
.dg-glitch::before { color: var(--cyan); clip-path: inset(0 0 55% 0); animation: dg-g1 5s steps(1) infinite 1.5s; }
.dg-glitch::after { color: var(--blue); clip-path: inset(52% 0 0 0); animation: dg-g2 5s steps(1) infinite 1.5s; }
@keyframes dg-g1 { 0%, 86%, 100% { transform: none; opacity: 0; } 87% { transform: translate(-.06em, -1px); opacity: 1; } 89% { transform: translate(.04em, 0); opacity: 1; } 91% { transform: translate(-.03em, 1px); opacity: 1; } 93% { opacity: 0; } }
@keyframes dg-g2 { 0%, 86%, 100% { transform: none; opacity: 0; } 87% { transform: translate(.06em, 1px); opacity: 1; } 90% { transform: translate(-.04em, 0); opacity: 1; } 92% { opacity: 0; } }

/* Formulário de URL */
.dg-urlform { margin-top: 28px; max-width: 720px; }
.dg-label {
  display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.dg-urlform__label { margin-bottom: 8px; }
.dg-ring { position: relative; overflow: hidden; padding: 1px; border-radius: 14px; background: rgba(226, 237, 243, .16); isolation: isolate; }
.dg-ring::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 1400px; height: 1400px; margin: -700px 0 0 -700px; z-index: -1;
  background: conic-gradient(rgba(1, 200, 221, 0) 0deg, rgba(1, 200, 221, 0) 255deg, var(--cyan) 325deg, rgba(1, 200, 221, 0) 360deg);
  animation: dg-spin 5s linear infinite;
}
@keyframes dg-spin { to { transform: rotate(360deg); } }
.dg-field {
  display: flex; align-items: center; gap: 2px; height: 56px; padding: 0 16px;
  border-radius: 13px; background: rgba(6, 24, 48, .94); transition: box-shadow .2s;
}
.dg-field:focus-within { box-shadow: 0 0 0 4px rgba(1, 200, 221, .18); }
.dg-field__prefix { font-family: var(--mono); font-size: 14px; color: var(--dim); }
.dg-field input {
  flex: 1 1 auto; min-width: 0; height: 100%; border: 0; outline: none; background: transparent;
  color: var(--text); font-family: var(--mono); font-size: 16px;
}
.dg-field--warn { border: 1px solid rgba(242, 181, 68, .45); border-radius: 14px; }

.dg-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 56px; padding: 0 24px;
  border: 0; border-radius: 14px; background: var(--cyan); color: var(--ink);
  font-size: 17px; font-weight: 600; letter-spacing: -0.01em; text-decoration: none; cursor: pointer;
  transition: background-color .18s, transform .18s;
}
.dg-btn:hover { background: var(--cyan-hi); color: var(--ink); }
.dg-btn:active { transform: translateY(1px); }
.dg-btn:disabled { opacity: .7; cursor: progress; }
.dg-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.dg-btn--inline { display: none; }
.dg-btn--block, .dg-btn--full { display: flex; width: 100%; margin-top: 12px; }
.dg-btn--auto { align-self: flex-start; }

.dg-btn-ghost {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px;
  border: 1px solid var(--line-2); border-radius: 12px; background: transparent; color: var(--text-2);
  font-size: 15px; font-weight: 500; text-decoration: none; cursor: pointer;
  transition: color .18s, border-color .18s, background-color .18s;
}
.dg-btn-ghost:hover { color: var(--text); border-color: rgba(1, 200, 221, .6); background: rgba(1, 200, 221, .06); }
.dg-btn-ghost svg { width: 16px; height: 16px; }
.dg-btn-ghost--lg { min-height: 56px; padding: 0 24px; border-radius: 14px; font-size: 16px; }

.dg-micro { margin: 14px 0 0; font-size: 13.5px; color: var(--muted); text-align: center; }
.dg-error { margin: 12px 0 0; font-size: 14px; color: var(--warn); }
.dg-note { margin: 18px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--muted); }

.dg-hint {
  position: absolute; z-index: 2; left: var(--gutter); right: var(--gutter); bottom: 64px;
  display: flex; justify-content: space-between; gap: 12px; padding-top: 16px;
  border-top: 1px dashed rgba(226, 237, 243, .16);
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); text-decoration: none;
}
.dg-hint span:last-child { display: none; }

.dg-ticker {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: 22px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.dg-ticker__track { display: flex; gap: 32px; width: max-content; animation: dg-marq 70s linear infinite; }
.dg-ticker span {
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #6F859C;
}
.dg-ticker i { width: 4px; height: 4px; border-radius: 1px; background: var(--blue); }
@keyframes dg-marq { to { transform: translateX(-50%); } }
.dg-hero.is-working .dg-hint, .dg-hero.is-working .dg-ticker { display: none; }
.dg-hero.is-working { padding-bottom: 64px; }

/* ---------- Varredura ---------- */
.dg-screen--scan { padding-top: 32px; max-width: 760px; margin: 0 auto; }
.dg-scan__meta {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.dg-scan__domain { margin: 10px 0 0; font-family: var(--mono); font-size: 22px; font-weight: 500; word-break: break-all; letter-spacing: -0.01em; }
.dg-scan__domain:focus { outline: none; }
.dg-bar {
  margin-top: 16px; height: 2px; border-radius: 2px;
  background: repeating-linear-gradient(90deg, rgba(1, 200, 221, .9) 0 18px, rgba(1, 200, 221, .15) 18px 36px);
  background-size: 72px 100%; animation: dg-bar 1.1s linear infinite;
}
.dg-bar.is-done { animation: none; background: var(--cyan); }
@keyframes dg-bar { to { background-position: 72px 0; } }
.dg-console {
  position: relative; overflow: hidden; margin-top: 24px; padding: 8px 16px;
  border: 1px solid var(--line); border-radius: 16px; background: rgba(6, 24, 48, .8);
}
.dg-sweep {
  position: absolute; left: 0; right: 0; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, rgba(1, 200, 221, 0), var(--cyan) 50%, rgba(1, 200, 221, 0));
  box-shadow: 0 0 18px 2px rgba(1, 200, 221, .45);
  animation: dg-sweep 2.6s cubic-bezier(.45, 0, .55, 1) infinite alternate;
}
.dg-console.is-done .dg-sweep { display: none; }
@keyframes dg-sweep { from { top: 0; } to { top: 100%; } }
.dg-lines { list-style: none; margin: 0; padding: 0; }
.dg-line { display: flex; gap: 12px; align-items: flex-start; padding: 13px 0; border-bottom: 1px solid rgba(226, 237, 243, .06); animation: dg-in .45s var(--ease) both; }
.dg-line:last-child { border-bottom: 0; }
.dg-line.is-final { animation: dg-flip .5s var(--ease) both; }
@keyframes dg-flip { from { opacity: 0; transform: perspective(500px) rotateX(-80deg); } to { opacity: 1; transform: none; } }
.dg-line__icon { width: 18px; height: 20px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.dg-line__icon svg { width: 18px; height: 18px; }
.dg-line__txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.dg-line__label { font-size: 15px; line-height: 1.35; color: var(--text); }
.dg-line__tag { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.dg-line.is-read .dg-line__label { color: var(--muted); }
.dg-line.is-warn .dg-line__label { color: var(--warn-soft); }
.dg-read-dot { width: 6px; height: 6px; border-radius: 50%; background: #3A5874; }
.ico-ok { color: var(--cyan); }
.ico-warn { color: var(--warn); }

.dg-spin {
  width: 14px; height: 14px; border-radius: 50%; flex-shrink: 0;
  border: 1.5px solid rgba(1, 200, 221, .22); border-top-color: var(--cyan);
  animation: dg-spin .8s linear infinite;
}
.dg-spin--dark { border-color: rgba(5, 20, 41, .25); border-top-color: var(--ink); }

/* ---------- Resultado ---------- */
.dg-screen--result { padding-top: 24px; }
.dg-back { font-size: 12px; }
.dg-back .dg-mono { font-size: 12px; }
.dg-count { margin: 20px 0 0; display: flex; align-items: flex-end; gap: 14px; font-weight: inherit; }
.dg-count:focus { outline: none; }
.dg-count__n { font-size: 88px; line-height: .82; font-weight: 600; letter-spacing: -0.05em; color: var(--warn); }
.dg-count__t { font-size: 19px; line-height: 1.2; font-weight: 500; letter-spacing: -0.015em; padding-bottom: 2px; }
#dg-count-sub { margin: 14px 0 0; font-size: 14px; }
.dg-list { list-style: none; margin: 16px 0 0; padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: rgba(6, 24, 48, .8); }
.dg-list li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-bottom: 1px solid rgba(226, 237, 243, .06); animation: dg-flip .55s var(--ease) both; }
.dg-list li:last-child { border-bottom: 0; }
.dg-list svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; }
.dg-list__txt { display: flex; flex-direction: column; gap: 4px; }
.dg-list__label { font-size: 15px; line-height: 1.35; }
.dg-list__tag { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.dg-list .dg-locked { position: relative; min-height: 64px; animation-delay: .4s; }
.dg-locked__blur { display: flex; flex-direction: column; gap: 10px; width: 100%; filter: blur(3px); opacity: .55; }
.dg-locked__blur i { display: block; height: 10px; border-radius: 4px; background: #2A4764; }
.dg-locked__blur i:nth-child(1) { width: 76%; }
.dg-locked__blur i:nth-child(2) { width: 56%; }
.dg-locked__front {
  position: absolute; inset: 0; display: flex; align-items: center; gap: 12px; padding: 0 16px;
  background: linear-gradient(90deg, rgba(6, 24, 48, .96) 55%, rgba(6, 24, 48, .5)); font-size: 15px; font-weight: 500;
}

.dg-badge {
  width: 56px; height: 56px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-2); background: rgba(6, 24, 48, .8); color: var(--cyan);
}
.dg-badge svg { width: 26px; height: 26px; stroke-width: 1.8; }
.dg-badge--ok { border-color: rgba(1, 200, 221, .4); background: rgba(1, 200, 221, .08); }
.dg-badge--warn { border-color: rgba(242, 181, 68, .35); color: var(--warn); }
#dg-clean { margin-top: 16px; }
.dg-h2 { margin: 20px 0 0; font-size: clamp(28px, 7vw, 56px); line-height: 1.06; font-weight: 600; letter-spacing: -0.035em; text-wrap: balance; }
.dg-h2:focus { outline: none; }
.dg-h3 { margin: 10px 0 0; font-size: 20px; line-height: 1.2; font-weight: 600; letter-spacing: -0.02em; }
.dg-body { margin: 14px 0 0; font-size: 16px; line-height: 1.55; color: var(--text-2); max-width: 560px; }
.dg-body strong { color: var(--text); font-weight: 500; white-space: nowrap; }
.dg-body--lg { font-size: 17px; }
.dg-eyebrow { margin: 0; font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); }
.dg-eyebrow--blue { color: var(--blue); }

.dg-lead { margin-top: 28px; padding-top: 24px; border-top: 1px dashed rgba(226, 237, 243, .16); display: flex; flex-direction: column; }
.dg-lead .dg-label { margin-top: 16px; }
.dg-input {
  margin-top: 8px; height: 52px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 12px;
  background: rgba(5, 20, 41, .9); color: var(--text); font-family: var(--sans); font-size: 16px; outline: none;
  transition: border-color .18s, box-shadow .18s;
}
.dg-input.dg-mono { font-family: var(--mono); }
.dg-input:focus { border-color: rgba(1, 200, 221, .6); box-shadow: 0 0 0 4px rgba(1, 200, 221, .16); }
.dg-input[aria-invalid="true"] { border-color: rgba(242, 181, 68, .7); }
.dg-check { margin-top: 18px; display: flex; gap: 12px; align-items: flex-start; min-height: 44px; font-size: 14px; line-height: 1.45; color: var(--text-2); cursor: pointer; }
.dg-check input { margin: 2px 0 0; width: 20px; height: 20px; flex-shrink: 0; accent-color: var(--cyan); }
.dg-btn--full { margin-top: 16px; }

/* ---------- Confirmação ---------- */
.dg-screen--done { padding-top: 40px; }
.dg-done__title { margin: 0; font-size: clamp(40px, 10vw, 88px); line-height: 1; font-weight: 600; letter-spacing: -0.04em; }
.dg-done__title:focus { outline: none; }
#dg-done-fail .dg-btn { margin-top: 20px; }
.dg-escape { margin-top: 32px; padding-top: 20px; border-top: 1px dashed rgba(226, 237, 243, .16); display: flex; flex-direction: column; gap: 4px; font-size: 14.5px; color: var(--muted); }
.dg-escape a { min-height: 44px; display: inline-flex; align-items: center; font-size: 15.5px; font-weight: 500; align-self: flex-start; }

.dg-cover {
  position: relative; overflow: hidden; margin-top: 32px; width: 100%; max-width: 400px; aspect-ratio: 400 / 480;
  padding: 28px; border-radius: 14px; background: var(--paper); color: var(--ink);
  display: flex; flex-direction: column;
  box-shadow: 0 40px 100px -40px rgba(1, 200, 221, .45), 0 20px 50px -20px rgba(0, 0, 0, .6);
  transform: rotate(2deg); transition: transform .6s var(--ease);
  animation: dg-in .8s var(--ease) both .15s;
}
.dg-cover:hover { transform: rotate(0) translateY(-6px); }
.dg-cover__shim {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(100deg, rgba(1, 200, 221, 0) 30%, rgba(1, 200, 221, .28) 50%, rgba(1, 200, 221, 0) 70%);
  background-size: 240% 100%; opacity: 0; animation: dg-shim 1.6s var(--ease) 1 both .3s;
}
@keyframes dg-shim { 0% { background-position: 120% 0; opacity: 1; } 85% { opacity: 1; } 100% { background-position: -120% 0; opacity: 0; } }
.dg-cover__top { display: flex; justify-content: space-between; align-items: center; }
.dg-cover__top img { height: 22px; width: auto; }
.dg-cover__chip { padding: 5px 10px; border-radius: 999px; background: rgba(1, 200, 221, .14); font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: #0B6F7C; }
.dg-cover__chip { display: inline-flex; align-items: center; gap: 6px; }
.dg-cover__chip svg { width: 11px; height: 11px; stroke-width: 2.6; }
.dg-cover.is-sent .dg-cover__chip, .dg-cover.is-ready .dg-cover__chip { background: var(--ink); color: var(--cyan); animation: dg-in .5s var(--ease) both 1.2s; }
.dg-cover__eyebrow { margin-top: 44px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.dg-cover__title { margin-top: 10px; font-size: 32px; line-height: 1.02; font-weight: 600; letter-spacing: -0.035em; }
.dg-cover__meta { margin-top: 10px; font-family: var(--mono); font-size: 13px; color: var(--paper-text); word-break: break-all; }
.dg-cover__rows { margin-top: auto; display: flex; flex-direction: column; border-top: 1px solid var(--paper-line); }
.dg-cover__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--paper-line); font-size: 14px; font-weight: 500; }
.dg-cover__ticks { display: flex; align-items: flex-end; gap: 3px; font-style: normal; }
.dg-cover__ticks b { width: 3px; height: 11px; border-radius: 1px; background: #C3D2DE; transition: background-color .35s, height .35s; }
.dg-cover.is-filled .dg-cover__ticks b.is-warn { background: #F2B544; height: 14px; }
.dg-cover.is-filled .dg-cover__ticks b.is-crit { background: #D2553A; height: 14px; }

/* ---------- Telas centrais (bloqueio e erros) ---------- */
.dg-screen--center { padding-top: 40px; display: flex; flex-direction: column; }
.dg-screen--center .dg-mono.dg-muted { margin-top: 22px; font-size: 13px; }
.dg-retry { margin-top: 24px; max-width: 720px; }
.dg-actions { margin-top: 28px; display: flex; flex-direction: column; gap: 12px; }
.dg-actions .dg-btn, .dg-actions .dg-btn-ghost { justify-content: center; }
.dg-actions .dg-btn--auto { align-self: stretch; }

/* ---------- O que é analisado ---------- */
.dg-sheet {
  position: relative; z-index: 3; margin: 16px 12px 0; padding: 32px 20px 20px;
  border-radius: 24px; background: var(--paper); color: var(--ink);
}
.dg-sheet__head p { margin: 14px 0 0; font-size: 15.5px; line-height: 1.55; color: var(--paper-text); text-wrap: pretty; }
.dg-h2--sheet { margin-top: 12px; font-size: clamp(32px, 8.5vw, 52px); }
.dg-cards { margin-top: 24px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.dg-card {
  display: flex; flex-direction: column; padding: 22px; border-radius: 16px; background: #fff; border: 1px solid var(--paper-line);
  transition: border-color .3s, transform .5s var(--ease), box-shadow .5s;
}
.dg-card__top { display: flex; justify-content: space-between; align-items: baseline; }
.dg-card__owner { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: #5A6E82; }
.dg-card__count { font-family: var(--mono); font-size: 28px; font-weight: 500; letter-spacing: -0.04em; color: var(--blue); font-variant-numeric: tabular-nums; }
.dg-card__title { margin: 12px 0 0; font-size: 21px; line-height: 1.15; font-weight: 600; letter-spacing: -0.02em; }
.dg-card__desc { margin: 8px 0 0; font-size: 15px; line-height: 1.5; color: var(--paper-text); }
.dg-ticks { margin-top: 18px; height: 22px; display: flex; align-items: flex-end; gap: 4px; }
.dg-ticks i { width: 3px; height: 12px; border-radius: 1px; background: #C3D2DE; transition: background-color .25s, height .25s; }
.dg-card.is-lit .dg-ticks i, .dg-card:hover .dg-ticks i { background: var(--cyan); height: 20px; }

/* ---------- Como funciona ---------- */
.dg-how { padding: 88px var(--gutter) 0; max-width: 1280px; margin: 0 auto; }
.dg-how .dg-h2 { margin-top: 12px; font-size: clamp(32px, 8.5vw, 52px); }
.dg-steps { position: relative; margin-top: 40px; }
.dg-steps__line { position: absolute; left: 27px; top: 28px; bottom: 28px; width: 1px; background: rgba(226, 237, 243, .14); overflow: hidden; }
.dg-steps__line i {
  position: absolute; left: -1px; width: 3px; height: 120px; border-radius: 3px;
  background: linear-gradient(180deg, rgba(1, 200, 221, 0), var(--cyan)); box-shadow: 0 0 14px rgba(1, 200, 221, .7);
  animation: dg-pulse-v 3.6s cubic-bezier(.45, 0, .55, 1) infinite;
}
@keyframes dg-pulse-v { from { top: -120px; } to { top: 100%; } }
.dg-steps ol { position: relative; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 36px; }
.dg-steps li { display: grid; grid-template-columns: 56px 1fr; column-gap: 20px; row-gap: 8px; align-items: start; }
.dg-steps__n {
  grid-row: span 2; width: 56px; height: 56px; border-radius: 50%; border: 1px solid rgba(226, 237, 243, .22); background: var(--ink);
  display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 14px;
  transition: border-color .3s, background-color .3s, color .3s;
}
.dg-steps li:hover .dg-steps__n { border-color: var(--cyan); background: rgba(1, 200, 221, .1); color: var(--cyan); }
.dg-steps__t { padding-top: 6px; font-size: 19px; line-height: 1.3; font-weight: 500; letter-spacing: -0.015em; }
.dg-steps__m { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #6F859C; }
.dg-how__cta { margin-top: 48px; width: 100%; justify-content: center; color: var(--text); }

/* ---------- Rodapé ---------- */
.dg-foot {
  margin: 88px var(--gutter) 0; padding: 32px 0 40px; border-top: 1px dashed rgba(226, 237, 243, .16);
  display: flex; flex-direction: column; gap: 22px;
}
.dg-foot img { height: 26px; width: auto; }
.dg-foot__links { display: flex; flex-direction: column; gap: 12px; font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: var(--muted); }
.dg-foot__links a { color: var(--text-2); text-decoration: none; min-height: 24px; }
.dg-foot__links a.dg-underline { text-decoration: underline; }

/* ======================= Desktop ======================= */
@media (min-width: 960px) {
  :root { --gutter: 80px; }
  .dg-top { height: 88px; border-bottom: 0; }
  .dg-top__logo img { height: 34px; }
  .dg-top__pillars { display: inline-flex; font-size: 11px; letter-spacing: .14em; }
  .dg-top__status { display: none; }
  body.is-working .dg-top__status { display: inline-flex; }
  .dg-top .dg-top__wa { display: inline-flex; }

  .dg-hero { min-height: 0; height: 960px; padding: 0 var(--gutter); }
  .dg-hero.is-working { height: auto; min-height: 872px; padding-bottom: 96px; }
  .dg-hero__media { top: 150px; height: 828px; background-image: url("../img/hero-scan-1920.webp"); }
  .dg-hero.is-working .dg-hero__media { opacity: .3; transform: translateY(110px); }
  .dg-hero__shade { background: linear-gradient(180deg, var(--ink) 0%, var(--ink) 14%, rgba(5, 20, 41, .35) 46%, rgba(5, 20, 41, 0) 62%, rgba(5, 20, 41, .4) 84%, var(--ink) 100%); }
  .dg-hero__dots {
    display: block; position: absolute; inset: 0; pointer-events: none;
    background-image: radial-gradient(rgba(226, 237, 243, .09) 1px, transparent 1.2px); background-size: 28px 28px;
    -webkit-mask-image: radial-gradient(ellipse 60% 45% at 50% 30%, #000 0%, transparent 100%);
    mask-image: radial-gradient(ellipse 60% 45% at 50% 30%, #000 0%, transparent 100%);
  }

  .dg-screen--input { width: 1080px; max-width: 100%; margin: 0 auto; padding-top: 84px; display: flex; flex-direction: column; align-items: center; text-align: center; }
  .dg-chip { margin-top: 0; padding: 8px 14px; font-size: 11.5px; letter-spacing: .12em; }
  .dg-chip .dg-dot { width: 7px; height: 7px; }
  .dg-h1 { margin-top: 28px; line-height: .98; letter-spacing: -0.045em; }
  .dg-br-desk { display: inline; }
  .dg-intro { margin-top: 28px; font-size: 20px; }
  .dg-urlform { margin-top: 44px; width: 720px; }
  .dg-urlform__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .dg-ring { border-radius: 20px; box-shadow: 0 30px 80px -30px rgba(1, 200, 221, .45); }
  .dg-field--url { height: 76px; padding: 0 10px 0 26px; border-radius: 19px; gap: 4px; }
  .dg-field--url .dg-field__prefix { font-size: 16px; }
  .dg-field--url input { font-size: 17px; text-align: left; }
  .dg-field--warn { border-radius: 20px; }
  .dg-btn--inline { display: inline-flex; height: 56px; padding: 0 26px; border-radius: 13px; }
  .dg-btn--block { display: none; }
  .dg-micro { margin-top: 18px; font-size: 14.5px; }

  .dg-hint { display: none; }
  .dg-ticker { bottom: 132px; }
  .dg-ticker span { font-size: 12px; }
  .dg-ticker__track { gap: 40px; }

  .dg-screen--scan { padding-top: 56px; }
  .dg-scan__meta { font-size: 12px; letter-spacing: .14em; }
  .dg-scan__domain { margin-top: 14px; font-size: 40px; letter-spacing: -0.02em; }
  .dg-bar { margin-top: 22px; background-size: 88px 100%; }
  .dg-console { margin-top: 32px; padding: 10px 28px; border-radius: 22px; box-shadow: 0 40px 100px -40px rgba(1, 200, 221, .35); }
  .dg-line { align-items: center; gap: 16px; padding: 18px 0; }
  .dg-line__txt { flex-direction: row; flex: 1; justify-content: space-between; align-items: center; gap: 16px; }
  .dg-line__label { font-size: 18px; }
  .dg-line__tag { font-size: 11px; white-space: nowrap; }
  .dg-line__icon, .dg-line__icon svg { width: 20px; height: 20px; }
  .dg-spin { width: 16px; height: 16px; }
  .dg-note { margin-top: 22px; font-size: 15px; text-align: center; }

  .dg-screen--result {
    width: 1120px; max-width: 100%; margin: 0 auto; padding-top: 40px;
    display: grid; grid-template-columns: minmax(0, 600px) minmax(0, 440px); gap: 80px; align-items: start;
  }
  .dg-back { font-size: 13px; }
  .dg-count { margin-top: 28px; gap: 22px; }
  .dg-count__n { font-size: 168px; line-height: .78; letter-spacing: -0.06em; }
  .dg-count__t { font-size: 30px; line-height: 1.1; letter-spacing: -0.025em; padding-bottom: 4px; }
  #dg-count-sub { margin-top: 22px; font-size: 16px; }
  .dg-list { border-radius: 20px; }
  .dg-list li { align-items: center; gap: 14px; padding: 18px 22px; }
  .dg-list svg { width: 20px; height: 20px; margin: 0; }
  .dg-list__txt { flex-direction: row; flex: 1; justify-content: space-between; align-items: center; gap: 16px; }
  .dg-list__label { font-size: 17px; }
  .dg-list__tag { font-size: 10.5px; white-space: nowrap; }
  .dg-locked__front { padding: 0 22px; font-size: 17px; }
  #dg-clean { margin-top: 36px; }
  .dg-badge { width: 72px; height: 72px; border-radius: 20px; }
  .dg-badge svg { width: 32px; height: 32px; }
  .dg-body { font-size: 18px; }
  .dg-lead {
    margin-top: 72px; padding: 32px; border: 1px solid rgba(226, 237, 243, .12); border-radius: 22px;
    background: rgba(6, 24, 48, .86); box-shadow: 0 40px 100px -50px rgba(1, 200, 221, .4);
  }
  .dg-h3 { font-size: 26px; line-height: 1.15; letter-spacing: -0.025em; }
  .dg-lead .dg-label:first-of-type { margin-top: 24px; }

  .dg-screen--done {
    width: 1120px; max-width: 100%; margin: 0 auto; padding-top: 88px;
    display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 96px; align-items: center;
  }
  .dg-body--lg { font-size: 21px; }
  .dg-escape { margin-top: 48px; padding-top: 24px; flex-direction: row; align-items: center; gap: 16px; font-size: 16px; }
  .dg-escape a { font-size: 16px; }
  .dg-cover { margin-top: 0; height: 520px; aspect-ratio: auto; padding: 36px 34px; transform: rotate(2.5deg); }
  .dg-cover__eyebrow { margin-top: 56px; }
  .dg-cover__title { font-size: 34px; }
  .dg-cover__meta { font-size: 14px; }

  .dg-screen--center { width: 720px; max-width: 100%; margin: 0 auto; padding-top: 112px; align-items: center; text-align: center; }
  .dg-screen--center .dg-body { margin-left: auto; margin-right: auto; font-size: 19px; }
  .dg-screen--center .dg-h2 { font-size: 52px; }
  .dg-retry { width: 720px; margin-top: 40px; }
  .dg-actions { flex-direction: row; margin-top: 36px; }
  .dg-actions .dg-btn--auto { align-self: auto; }

  .dg-sheet { width: 1280px; max-width: calc(100% - 64px); margin: -96px auto 0; padding: 64px; border-radius: 28px; }
  .dg-sheet__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; }
  .dg-sheet__head p { margin: 0; max-width: 400px; font-size: 17px; }
  .dg-h2--sheet { font-size: 52px; line-height: 1.02; letter-spacing: -0.04em; }
  .dg-cards { margin-top: 48px; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .dg-card { min-height: 312px; padding: 28px; border-radius: 18px; }
  .dg-card:hover { border-color: var(--cyan); transform: translateY(-4px); box-shadow: 0 24px 48px -28px rgba(5, 20, 41, .35); }
  .dg-card.is-lit .dg-ticks i { background: #C3D2DE; height: 12px; }
  .dg-card:hover .dg-ticks i { background: var(--cyan); height: 22px; }
  .dg-card__count { font-size: 34px; }
  .dg-card__title { margin-top: 28px; font-size: 23px; letter-spacing: -0.025em; }
  .dg-card__desc { margin-top: 10px; font-size: 15.5px; }
  .dg-ticks { margin-top: auto; padding-top: 24px; height: auto; }

  .dg-how { padding: 120px 64px 0; text-align: center; }
  .dg-how .dg-h2 { font-size: 52px; line-height: 1.02; letter-spacing: -0.04em; }
  .dg-steps { margin-top: 72px; }
  .dg-steps__line { left: 16.6%; right: 16.6%; top: 32px; bottom: auto; width: auto; height: 1px; }
  .dg-steps__line i { top: -1px; left: auto; width: 160px; height: 3px; background: linear-gradient(90deg, rgba(1, 200, 221, 0), var(--cyan)); animation-name: dg-pulse-h; }
  @keyframes dg-pulse-h { from { left: -160px; } to { left: 100%; } }
  .dg-steps ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
  .dg-steps li { display: flex; flex-direction: column; align-items: center; }
  .dg-steps__n { width: 64px; height: 64px; font-size: 15px; }
  .dg-steps__t { margin-top: 20px; max-width: 300px; font-size: 22px; line-height: 1.25; letter-spacing: -0.02em; text-wrap: balance; }
  .dg-steps__m { margin-top: 4px; font-size: 12px; }
  .dg-how__cta { width: auto; margin-top: 72px; }

  .dg-foot { flex-direction: row; justify-content: space-between; align-items: center; height: 150px; margin-top: 120px; padding: 0; }
  .dg-foot img { height: 28px; }
  .dg-foot__links { flex-direction: row; align-items: center; gap: 32px; letter-spacing: .06em; }
}

@media (min-width: 960px) and (max-width: 1180px) {
  :root { --gutter: 40px; }
  .dg-screen--result { grid-template-columns: minmax(0, 1fr) minmax(0, 400px); gap: 48px; }
  .dg-screen--done { grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; }
  .dg-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dg-card { min-height: 260px; }
  .dg-foot__links { gap: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .dg-ring::before, .dg-glitch::before, .dg-glitch::after, .dg-ticker__track, .dg-sweep, .dg-steps__line i, .dg-cover__shim { animation: none !important; }
  .dg-glitch::before, .dg-glitch::after { display: none; }
  .dg-bar { animation: none; }
}
