/* SmartCerts: escrito à mão, sem build. Credencial como protagonista: papel, dados estruturados, estados de verificação. */
:root {
    /* Cores do logo SmartCerts: azul #68A4C4 e cinza #7C7A7A (o azul escuro garante contraste em textos e botões) */
    --ink: #17222C; --ink-2: #2C3A46; --muted: #5E6B76; --line: #DDE5EB; --paper: #F3F7FA; --card: #FFFFFF;
    --logo-blue: #68A4C4; --logo-gray: #7C7A7A;
    --brand: #2F7199; --brand-d: #225A7B; --brand-l: #D7E9F3; --sky: #9FD0EA; --amber: #F2B441; --coral: #EF7D62;
    --ok: #15803D; --ok-bg: #E6F4EA; --bad: #B42318; --bad-bg: #FDECEA; --warn: #9A6700; --warn-bg: #FFF4D6;
    --display: 'Fraunces', Georgia, serif; --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif; --mono: 'JetBrains Mono', ui-monospace, Menlo, monospace; --logo: 'Quicksand', 'Varela Round', system-ui, sans-serif;
    --r: 14px; --shadow: 0 1px 2px rgba(17, 20, 24, .06), 0 8px 24px rgba(17, 20, 24, .06);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.6 var(--body); }
img { max-width: 100%; }
a { color: var(--brand); text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.01em; margin: 0 0 .5em; }
h1, h2 { font-family: var(--display); font-weight: 600; }
h1 { font-size: clamp(2.3rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
code, .mono { font-family: var(--mono); font-size: .92em; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.kicker { font: 700 .78rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--brand); margin: 0 0 14px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.section { padding: 84px 0; }
.section.tight { padding: 52px 0; }
.section.white { background: #fff; }
.section.ink { background: var(--ink); color: #E8EAED; }
.section.ink h2, .section.ink h3 { color: #fff; }
.section.ink .muted { color: #A9B0BA; }
.grid { display: grid; gap: 18px; }
@media (min-width: 760px) { .g2 { grid-template-columns: 1fr 1fr; } .g3 { grid-template-columns: repeat(3, 1fr); } .g4 { grid-template-columns: repeat(4, 1fr); } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.card h3 { margin-bottom: 6px; }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 12px; border: 1.5px solid var(--ink); background: var(--ink); color: #fff; font: 600 1rem var(--body); text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn:hover { background: var(--ink-2); }
.btn.primary { background: var(--brand); border-color: var(--brand); }
.btn.primary:hover { background: var(--brand-d); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: rgba(17, 20, 24, .05); }
.section.ink .btn.ghost { color: #fff; border-color: rgba(255, 255, 255, .5); }
.btn.sm { min-height: 38px; padding: 0 14px; font-size: .92rem; border-radius: 10px; }
.btn.danger { background: var(--bad); border-color: var(--bad); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

/* Cabeçalho */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(243, 247, 250, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 18px; min-height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font: 500 1.45rem/1 var(--logo); letter-spacing: -.01em; color: var(--logo-blue); }
.brand img { width: 32px; height: 32px; }
.brand b { color: var(--logo-gray); font-weight: 500; }
.brand i { font-style: normal; color: var(--logo-blue); }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav > a:not(.btn), .nav summary { color: var(--ink); text-decoration: none; font-weight: 500; padding: 8px 10px; border-radius: 8px; cursor: pointer; list-style: none; }
.nav summary::-webkit-details-marker { display: none; }
.nav > a:not(.btn):hover, .nav summary:hover { background: rgba(17, 20, 24, .05); }
.nav details { position: relative; }
.nav details .menu { position: absolute; top: 44px; left: 0; min-width: 240px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: 8px; }
.nav details .menu a { display: block; padding: 8px 10px; border-radius: 8px; color: var(--ink); text-decoration: none; }
.nav details .menu a:hover { background: var(--paper); }
.nav .btn { margin-left: 6px; }
.nav-toggle { display: none; }
@media (max-width: 960px) {
    .nav { display: none; position: absolute; top: 66px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 10px 16px 16px; }
    .nav.open { display: flex; }
    .nav details .menu { position: static; box-shadow: none; border: 0; padding: 0 0 0 10px; }
    .nav .btn { margin: 8px 0 0; }
    .nav-toggle { display: inline-flex; margin-left: auto; background: none; border: 1.5px solid var(--ink); border-radius: 10px; padding: 8px 12px; font: 600 .95rem var(--body); }
}

/* Hero */
.hero { padding: 64px 0 72px; }
.hero .wrap { display: grid; gap: 44px; align-items: center; }
@media (min-width: 980px) { .hero .wrap { grid-template-columns: 1.02fr 1fr; } }
.hero .lead { font-size: clamp(1.1rem, 2.4vw, 1.3rem); color: var(--ink-2); max-width: 36ch; }
.hero .micro { margin-top: 14px; color: var(--muted); font-size: .95rem; }

/* A credencial em destaque: documento + ficha de verificação */
.showcase { position: relative; }
.doc { background: #FBF8F1; border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 30px 60px -25px rgba(17, 20, 24, .35), var(--shadow); aspect-ratio: 297 / 210; position: relative; overflow: hidden; }
.doc iframe { position: absolute; top: 0; left: 0; border: 0; transform-origin: 0 0; pointer-events: none; }
.verify-card { position: relative; margin: -34px 0 0 auto; width: min(92%, 380px); background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: 16px 18px; font-size: .93rem; }
.verify-card dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 10px 0 0; }
.verify-card dt { color: var(--muted); }
.verify-card dd { margin: 0; font-weight: 600; }
.state { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: .9rem; padding: 5px 11px; border-radius: 999px; }
.state::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.state.valid { color: var(--ok); background: var(--ok-bg); }
.state.revoked { color: var(--bad); background: var(--bad-bg); }
.state.expired { color: var(--warn); background: var(--warn-bg); }

/* Fluxo CRIE → EMITA → ENTREGUE → COMPARTILHE → VERIFIQUE */
.flow { display: grid; gap: 12px; counter-reset: s; }
@media (min-width: 900px) { .flow { grid-template-columns: repeat(5, 1fr); } }
.flow li { list-style: none; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px; position: relative; }
.flow li::before { counter-increment: s; content: counter(s); font: 600 .8rem var(--mono); color: var(--brand); }
.flow h3 { font-family: var(--display); font-size: 1.35rem; margin: 6px 0 4px; }
.flow { padding: 0; margin: 0; }

/* O que você quer certificar? */
.pick { display: grid; gap: 12px; }
@media (min-width: 700px) { .pick { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .pick { grid-template-columns: repeat(4, 1fr); } }
.pick a { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px; text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s; }
.pick a:hover { border-color: var(--brand); transform: translateY(-2px); }
.pick span { display: block; color: var(--muted); font-size: .92rem; }
.pick b { display: block; font-family: var(--display); font-weight: 600; font-size: 1.2rem; margin-top: 4px; }

/* História (250 participantes) */
.story { display: grid; gap: 0; padding: 0; margin: 28px 0 0; border-left: 2px solid var(--brand-l); }
.story li { list-style: none; position: relative; padding: 0 0 18px 26px; }
.story li::before { content: ''; position: absolute; left: -7px; top: 7px; width: 12px; height: 12px; border-radius: 50%; background: var(--brand); }
.big-claim { font-family: var(--display); font-size: clamp(1.8rem, 4vw, 2.6rem); margin-top: 10px; }

/* Escala */
.scale { display: grid; gap: 12px; margin-top: 26px; }
@media (min-width: 800px) { .scale { grid-template-columns: repeat(4, 1fr); } }
.scale div { border: 1px solid rgba(255, 255, 255, .15); border-radius: var(--r); padding: 18px; }
.scale b { display: block; font: 600 1.9rem var(--display); color: var(--sky); }

/* Comparação arquivo x credencial */
.compare .card ul { margin: 10px 0 0; padding-left: 18px; }
.compare .card.hl { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-l); }

/* Números */
.numbers { display: flex; flex-wrap: wrap; gap: 28px 48px; }
.numbers b { display: block; font: 600 2.4rem/1 var(--display); }
.numbers span { color: var(--muted); }

/* Preços */
.price .amount { font: 600 2.2rem var(--display); margin: 6px 0 2px; }
.price .amount small { font: 500 1rem var(--body); color: var(--muted); }
.price ul { padding-left: 18px; margin: 14px 0 18px; }
.price.featured { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-l); }
.tag { display: inline-block; font: 700 .72rem var(--body); letter-spacing: .08em; text-transform: uppercase; background: var(--brand-l); color: var(--brand-d); padding: 4px 8px; border-radius: 6px; }

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: '+'; color: var(--brand); font-weight: 700; }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin: 10px 0 0; color: var(--ink-2); }

/* Páginas internas */
.page-hero { padding: 56px 0 30px; }
.page-hero .lead { font-size: 1.15rem; color: var(--ink-2); max-width: 62ch; }
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); }
.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-top: 1.6em; }
.prose li { margin-bottom: .4em; }
.note { border-left: 3px solid var(--brand); padding: 4px 0 4px 14px; color: var(--muted); font-size: .92rem; }
.related { display: grid; gap: 10px; }
@media (min-width: 760px) { .related { grid-template-columns: repeat(3, 1fr); } }
.related a { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; text-decoration: none; color: var(--ink); font-weight: 600; }
.cta-final { text-align: center; }
.cta-final .actions { justify-content: center; }
pre.code { background: #0D1117; color: #E6EDF3; border-radius: 12px; padding: 16px 18px; overflow-x: auto; font: 500 .86rem/1.55 var(--mono); }
table.data { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; font-size: .93rem; }
table.data th, table.data td { text-align: left; padding: 10px 12px; border-top: 1px solid var(--line); vertical-align: top; }
table.data th { background: #FAF8F3; border-top: 0; font-weight: 600; }
.table-wrap { overflow-x: auto; }

/* Rodapé */
.site-footer { background: var(--ink); color: #C9CED6; padding: 56px 0 30px; font-size: .95rem; }
.site-footer .cols { display: grid; gap: 28px; }
@media (min-width: 800px) { .site-footer .cols { grid-template-columns: 1.4fr repeat(3, 1fr); } }
.site-footer h4 { color: #fff; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #C9CED6; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer .brand { color: #fff; }

/* Formulários */
.form label { display: block; font-weight: 600; margin: 0 0 14px; }
.form input:not([type=checkbox]):not([type=radio]):not([type=file]), .form textarea, .form select { display: block; width: 100%; margin-top: 6px; font: 400 1rem var(--body); color: var(--ink); background: #fff; border: 1.5px solid #D6D1C4; border-radius: 10px; padding: 11px 13px; }
.form textarea { min-height: 120px; }
.form input:focus, .form textarea:focus, .form select:focus { outline: 3px solid var(--brand-l); border-color: var(--brand); }
.form .hint { display: block; font-weight: 400; font-size: .86rem; color: var(--muted); margin-top: 5px; }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.form .check input { margin-top: 5px; }
.err { color: var(--bad); font-weight: 600; font-size: .9rem; margin: -8px 0 14px; }
.flash { padding: 12px 16px; border-radius: 12px; margin: 0 0 18px; font-weight: 500; }
.flash.ok { background: var(--ok-bg); color: #14532D; }
.flash.bad { background: var(--bad-bg); color: #7A1A12; }
.flash.info { background: var(--brand-l); color: var(--brand-d); }
.hp { position: absolute; left: -9999px; }

/* Painel */
.panel-shell { display: grid; gap: 24px; padding: 28px 0 60px; }
@media (min-width: 960px) { .panel-shell { grid-template-columns: 230px 1fr; } }
.side { font-size: .95rem; }
.side .org { font-weight: 700; margin-bottom: 4px; }
.side nav a { display: block; padding: 8px 10px; border-radius: 8px; color: var(--ink); text-decoration: none; }
.side nav a.on, .side nav a:hover { background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.stat b { display: block; font: 600 1.8rem var(--display); }
.pill { display: inline-block; font-size: .78rem; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); }
.pill.ok { background: var(--ok-bg); border-color: transparent; color: #14532D; }
.pill.bad { background: var(--bad-bg); border-color: transparent; color: #7A1A12; }
.pill.warn { background: var(--warn-bg); border-color: transparent; color: #6B4800; }

/* Página da credencial */
.cred { padding: 34px 0 70px; }
.cred .layout { display: grid; gap: 26px; align-items: start; }
@media (min-width: 1000px) { .cred .layout { grid-template-columns: 1.55fr 1fr; } }
.cred .facts dl { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 16px 0; }
.cred .facts dt { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.cred .facts dd { margin: 2px 0 0; font-weight: 600; }
.cred .facts .actions .btn { flex: 1 1 auto; }
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50; max-width: 560px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 14px 16px; font-size: .93rem; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* ---------- Landing dinâmica ---------- */
.hero { position: relative; overflow: hidden; }
.hero::before, .hero::after { content: ''; position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; z-index: 0; animation: float 16s ease-in-out infinite alternate; }
.hero::before { width: 520px; height: 520px; background: #BFE0F1; top: -160px; right: -120px; }
.hero::after { width: 380px; height: 380px; background: #FCE3C2; bottom: -180px; left: -120px; animation-delay: -6s; }
.hero .wrap { position: relative; z-index: 1; }
.hero-grid { position: absolute; inset: 0; z-index: 0; background-image: linear-gradient(rgba(47, 113, 153, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(47, 113, 153, .06) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(ellipse at 70% 40%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 30%, transparent 75%); }
@keyframes float { to { transform: translate(40px, 30px) scale(1.08); } }
.hero h1 .rot { display: inline-block; color: var(--brand); }
.word-swap { display: inline-grid; }
.word-swap span { grid-area: 1 / 1; opacity: 0; transform: translateY(.4em); transition: opacity .5s, transform .5s; color: var(--brand); }
.word-swap span.on { opacity: 1; transform: none; }

.deck-wrap { position: relative; padding: 34px 6px 0; }
.deck { position: relative; aspect-ratio: 297 / 210; perspective: 1600px; }
.sheet { position: absolute; inset: 0; display: block; background: #FBF8F1; border-radius: 6px; overflow: hidden; box-shadow: 0 30px 60px -28px rgba(23, 34, 44, .45), 0 2px 8px rgba(23, 34, 44, .08); transition: transform .9s cubic-bezier(.2, .8, .2, 1), opacity .9s, filter .9s; will-change: transform; }
.sheet iframe { position: absolute; top: 0; left: 0; border: 0; transform-origin: 0 0; pointer-events: none; }
.sheet[data-pos="0"] { transform: none; z-index: 9; }
.sheet[data-pos="1"] { transform: translate(5%, -6%) rotate(3.5deg) scale(.95); z-index: 8; filter: brightness(.97); }
.sheet[data-pos="2"] { transform: translate(-5%, -10%) rotate(-4deg) scale(.9); z-index: 7; filter: brightness(.94); }
.sheet[data-pos="3"] { transform: translate(2%, -14%) rotate(1.5deg) scale(.85); z-index: 6; opacity: .75; filter: brightness(.92); }
.sheet[data-pos="4"], .sheet[data-pos="5"], .sheet[data-pos="6"], .sheet[data-pos="7"] { transform: translate(0, -16%) scale(.8); z-index: 5; opacity: 0; }
.sheet.out { transform: translate(-40%, 30%) rotate(-14deg) scale(.9) !important; opacity: 0 !important; z-index: 10 !important; }
.verify-chip { position: relative; z-index: 12; display: flex; align-items: center; gap: 12px; margin: -26px 0 0 auto; width: min(94%, 440px); background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 12px 14px; font-size: .9rem; }
.verify-chip div { flex: 1; min-width: 0; }
.verify-chip b { display: block; }
.verify-chip div span { display: block; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.verify-chip .kind { font: 700 .7rem var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--brand-d); background: var(--brand-l); padding: 4px 8px; border-radius: 6px; }
.verify-chip.swap div, .verify-chip.swap .kind { animation: chip .6s; }
@keyframes chip { 0% { opacity: 0; transform: translateY(6px); } 100% { opacity: 1; transform: none; } }
.deck-dots { display: flex; gap: 6px; justify-content: center; margin-top: 14px; }
.deck-dots i { width: 7px; height: 7px; border-radius: 50%; background: #C5D3DD; transition: width .3s, background .3s; }
.deck-dots i.on { width: 22px; border-radius: 4px; background: var(--brand); }

.marquees { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 16px 0; overflow: hidden; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee + .marquee { margin-top: 10px; }
.marquee .track { display: flex; gap: 10px; width: max-content; animation: scroll 55s linear infinite; }
.marquee.reverse .track { animation-direction: reverse; animation-duration: 45s; }
.marquee:hover .track { animation-play-state: paused; }
@keyframes scroll { to { transform: translateX(-50%); } }
.mchip { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; color: var(--ink); text-decoration: none; font-size: .9rem; }
.mchip i { width: 10px; height: 10px; border-radius: 3px; }
.mchip span { color: var(--muted); }
.mchip em { font-style: normal; color: var(--ok); font-weight: 700; }
.mchip.sector { background: #fff; font-weight: 600; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }
.pick a { position: relative; overflow: hidden; }
.pick a::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--c, var(--logo-blue)); transform: scaleX(.25); transform-origin: left; transition: transform .35s; }
.pick a:hover::after { transform: scaleX(1); }
.flow li { transition: transform .3s, box-shadow .3s; }
.flow li:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } .marquee .track { animation: none; } .hero::before, .hero::after { animation: none; } }
.hero .wrap > *, .grid > *, .cred .layout > * { min-width: 0; }
html, body { overflow-x: clip; }
@media (max-width: 600px) { .hero h1 { font-size: 2.35rem; } .deck-wrap { padding-top: 24px; } .verify-chip { margin-top: -14px; } .numbers b { font-size: 2rem; } }

.doc img, .sheet img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Certificação por prova ---------- */
.exam-flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: f; }
.exam-flow li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px 14px 56px; box-shadow: var(--shadow); }
.exam-flow li::before { counter-increment: f; content: counter(f); position: absolute; left: 16px; top: 14px; width: 28px; height: 28px; border-radius: 50%; background: var(--brand-l); color: var(--brand-d); font: 700 .9rem/28px var(--body); text-align: center; }
.exam-flow li.win { border-color: var(--ok); }
.exam-flow li.win::before { background: var(--ok); color: #fff; content: '✓'; }
.exam-flow b { display: block; }
.exam-flow span { color: var(--muted); font-size: .92rem; }
.checks { list-style: none; padding: 0; margin: 16px 0 0; }
.checks li { padding: 6px 0 6px 30px; position: relative; font-weight: 500; }
.checks li::before { content: '✓'; position: absolute; left: 0; color: var(--ok); font-weight: 700; }
.partner-block { display: grid; gap: 30px; align-items: center; background: linear-gradient(135deg, #17222C, #243B4E); color: #E8EAED; border-radius: 20px; padding: clamp(24px, 5vw, 48px); }
@media (min-width: 900px) { .partner-block { grid-template-columns: 1.1fr 1fr; } }
.partner-block h2 { color: #fff; }
.partner-block .exam-flow li { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); box-shadow: none; }
.partner-block .exam-flow span { color: #B7C3CE; }
.partner-block .exam-flow li::before { background: rgba(159, 208, 234, .2); color: var(--sky); }
.partner-block .exam-flow li.win { border-color: #4ADE80; }
.partner-block .exam-flow li.win::before { background: #4ADE80; color: #17222C; }
/* Prova */
.exam-shell { display: grid; gap: 22px; padding: 26px 0 60px; }
@media (min-width: 1000px) { .exam-shell { grid-template-columns: 1fr 280px; align-items: start; } }
.exam-bar { position: sticky; top: 0; z-index: 20; background: #17222C; color: #fff; }
.exam-bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 58px; }
.exam-bar .clock { font: 600 1.35rem var(--mono); }
.exam-bar .clock.low { color: #FCA5A5; }
.qcard { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; margin-bottom: 16px; }
.qcard .qn { font: 600 .8rem var(--mono); color: var(--muted); }
.qcard .qt { font-size: 1.08rem; font-weight: 600; margin: 8px 0 14px; white-space: pre-line; }
.qcard label.opt { display: flex; gap: 12px; align-items: flex-start; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; margin-bottom: 8px; cursor: pointer; font-weight: 400; }
.qcard label.opt:hover { border-color: var(--brand); }
.qcard label.opt input { margin-top: 4px; }
.qcard label.opt:has(input:checked) { border-color: var(--brand); background: var(--brand-l); }
.qnav { position: sticky; top: 76px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
.qnav .grid-n { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin: 10px 0; }
.qnav a { display: block; text-align: center; padding: 6px 0; border-radius: 8px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font: 600 .85rem var(--mono); }
.qnav a.done { background: var(--brand-l); border-color: var(--brand); }
.qnav a.flag { box-shadow: inset 0 -3px 0 var(--amber); }
.skill-bar { height: 8px; background: var(--line); border-radius: 4px; overflow: hidden; }
.skill-bar i { display: block; height: 100%; background: var(--brand); }
/* Trilha de certificação (degraus) */
.ladder { list-style: none; margin: 0; padding: 0; position: relative; }
.ladder::before { content: ''; position: absolute; left: 21px; top: 10px; bottom: 10px; width: 2px; background: var(--brand-l); }
.ladder li { position: relative; display: flex; gap: 18px; padding: 0 0 22px; }
.ladder .lvl { position: relative; z-index: 1; flex: none; width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 2px solid var(--brand); color: var(--brand-d); font: 700 1.05rem/40px var(--body); text-align: center; }
.ladder li > div { flex: 1; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.ladder li.done .lvl { background: var(--ok); border-color: var(--ok); color: #fff; }
