/* ============================================================
   MeuChecklist — landing estática
   Paleta: carvão/verde-escuro do painel + accent menta ("check")
   Mobile-first, sem framework, sem webfonts (system stack).
   ============================================================ */

:root {
  --carvao: #152420;
  --verde: #1e3d31;
  --verde-2: #2a5243;
  --menta: #5fd8a4;
  --menta-escura: #17795b;
  --sal: #f4f6f1;
  --branco: #ffffff;
  --tinta: #1c2b25;
  --tinta-2: #55665e;
  --nevoa: rgba(244, 246, 241, 0.72);
  --borda-clara: #dde4dc;

  --fonte: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas,
    "Liberation Mono", monospace;

  --raio: 10px;
  --raio-g: 16px;
}

/* ---------- reset básico ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--fonte);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--tinta);
  background: var(--sal);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--menta-escura);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--menta);
  outline-offset: 2px;
  border-radius: 4px;
}

h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
}

p {
  margin: 0 0 1em;
}

.wrap {
  width: min(100% - 2.5rem, 1080px);
  margin-inline: auto;
}

/* rótulo mono usado em eyebrows, horários e selos */
.rotulo {
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ---------- botões ---------- */

.btn {
  display: inline-block;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  border: 2px solid transparent;
  background: var(--menta);
  color: var(--carvao);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.btn:hover {
  background: #7ce4b8;
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  border-color: var(--verde-2);
  color: var(--sal);
}

.btn-ghost:hover {
  background: var(--verde);
  transform: none;
}

/* ---------- topo ---------- */

.topo {
  background: var(--carvao);
}

.topo-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
}

.logo {
  color: var(--sal);
  text-decoration: none;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-marca {
  display: inline-grid;
  place-items: center;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 7px;
  background: var(--menta);
  color: var(--carvao);
  font-size: 1rem;
  font-weight: 800;
}

.topo-links {
  display: none;
  gap: 1.5rem;
}

.topo-links a {
  color: var(--nevoa);
  text-decoration: none;
  font-size: 0.95rem;
}

.topo-links a:hover {
  color: var(--menta);
}

.topo .btn {
  padding: 0.55rem 1.1rem;
  font-size: 0.9rem;
}

@media (min-width: 760px) {
  .topo-links {
    display: flex;
  }
}

/* ---------- hero ---------- */

.hero {
  background: linear-gradient(170deg, var(--carvao) 62%, var(--verde) 100%);
  color: var(--sal);
  padding: 3.5rem 0 4.5rem;
}

.hero-grade {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.hero .rotulo {
  color: var(--menta);
  display: block;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2.1rem, 5.5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  max-width: 15ch;
}

.hero h1 em {
  font-style: normal;
  color: var(--menta);
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--nevoa);
  max-width: 46ch;
}

.hero-acoes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 1.8rem 0 1rem;
}

.hero-nota {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--nevoa);
}

@media (min-width: 900px) {
  .hero-grade {
    grid-template-columns: 1.15fr 1fr;
  }
}

/* ---------- comprovante de execução (assinatura do hero) ---------- */

.recibo {
  background: var(--verde);
  border: 1px solid var(--verde-2);
  border-radius: var(--raio-g);
  padding: 1.4rem 1.5rem 1.2rem;
  font-family: var(--mono);
  font-size: 0.85rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  max-width: 26rem;
  justify-self: center;
  width: 100%;
}

.recibo-topo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px dashed var(--verde-2);
}

.recibo-titulo {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--sal);
}

.selo {
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--menta);
  color: var(--menta);
  white-space: nowrap;
}

.recibo-itens {
  list-style: none;
  margin: 0;
  padding: 0.9rem 0;
  border-bottom: 1px dashed var(--verde-2);
  display: grid;
  gap: 0.7rem;
}

.recibo-itens li {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  color: var(--sal);
}

.recibo-itens .texto {
  flex: 1;
}

.check {
  display: inline-grid;
  place-items: center;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 5px;
  background: var(--menta);
  color: var(--carvao);
  font-size: 0.75rem;
  font-weight: 700;
  flex: none;
  transform: translateY(2px);
}

.check-vazio {
  background: transparent;
  border: 1px solid var(--verde-2);
}

.recibo-itens .pend {
  color: var(--nevoa);
}

.tag-foto {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--menta);
  border: 1px dotted var(--menta);
  border-radius: 4px;
  padding: 0.05rem 0.35rem;
}

.hora {
  color: var(--nevoa);
  font-size: 0.75rem;
}

.recibo-rodape {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.1rem;
  padding-top: 0.9rem;
  color: var(--menta);
  font-size: 0.75rem;
}

.recibo-rodape .quem {
  margin-left: auto;
  color: var(--nevoa);
}

/* ---------- seções claras ---------- */

.secao {
  padding: 4.5rem 0;
}

.secao-cab {
  max-width: 60ch;
  margin-bottom: 2.5rem;
}

.secao-cab .rotulo {
  color: var(--menta-escura);
  display: block;
  margin-bottom: 0.6rem;
}

.secao h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  font-weight: 800;
}

.secao-cab p {
  color: var(--tinta-2);
}

/* ---------- como funciona (sequência real: 1→2→3) ---------- */

.passos {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
  counter-reset: passo;
}

.passos li {
  counter-increment: passo;
  background: var(--branco);
  border: 1px solid var(--borda-clara);
  border-radius: var(--raio-g);
  padding: 1.6rem 1.5rem;
}

.passos li::before {
  content: counter(passo, decimal-leading-zero);
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--carvao);
  background: var(--menta);
  border-radius: 7px;
  padding: 0.25rem 0.5rem;
  display: inline-block;
  margin-bottom: 0.9rem;
}

.passos h3 {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.passos p {
  color: var(--tinta-2);
  margin: 0;
  font-size: 0.97rem;
}

.passos-fecho {
  margin-top: 1.5rem;
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--menta-escura);
}

@media (min-width: 760px) {
  .passos {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------- diferenciais ---------- */

.secao-escura {
  background: var(--carvao);
  color: var(--sal);
}

.secao-escura .secao-cab .rotulo {
  color: var(--menta);
}

.secao-escura .secao-cab p {
  color: var(--nevoa);
}

.difs {
  display: grid;
  gap: 1.25rem;
}

.dif {
  background: var(--verde);
  border: 1px solid var(--verde-2);
  border-radius: var(--raio-g);
  padding: 1.6rem 1.5rem;
}

.dif .rotulo {
  color: var(--menta);
  display: block;
  margin-bottom: 0.7rem;
}

.dif h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.dif p {
  color: var(--nevoa);
  margin: 0;
  font-size: 0.97rem;
}

@media (min-width: 760px) {
  .difs {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- preço ---------- */

.preco-card {
  background: var(--branco);
  border: 1px solid var(--borda-clara);
  border-radius: var(--raio-g);
  padding: 2.2rem 1.8rem;
  max-width: 30rem;
  margin-inline: auto;
  text-align: center;
  box-shadow: 0 18px 44px rgba(21, 36, 32, 0.08);
}

.preco-card .rotulo {
  color: var(--menta-escura);
}

.preco-valor {
  font-size: clamp(2.6rem, 7vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0.6rem 0 0.1rem;
}

.preco-valor small {
  font-size: 1rem;
  font-weight: 500;
  color: var(--tinta-2);
  letter-spacing: 0;
}

.preco-sub {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--menta-escura);
  margin-bottom: 1.4rem;
}

.preco-lista {
  list-style: none;
  margin: 0 0 1.8rem;
  padding: 0;
  display: grid;
  gap: 0.55rem;
  text-align: left;
  font-size: 0.97rem;
}

.preco-lista li {
  display: flex;
  gap: 0.6rem;
  align-items: baseline;
}

.preco-nota {
  font-size: 0.85rem;
  color: var(--tinta-2);
  margin: 0.9rem 0 0;
}

/* ---------- FAQ (details/summary — sem JS) ---------- */

.faq {
  display: grid;
  gap: 0.9rem;
  max-width: 46rem;
}

.faq details {
  background: var(--branco);
  border: 1px solid var(--borda-clara);
  border-radius: var(--raio);
  padding: 0 1.25rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  padding: 1.05rem 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  font-family: var(--mono);
  font-size: 1.2rem;
  color: var(--menta-escura);
  flex: none;
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  margin: 0 0 1.1rem;
  color: var(--tinta-2);
  font-size: 0.97rem;
}

/* ---------- CTA final ---------- */

.cta-final {
  background: var(--verde);
  color: var(--sal);
  text-align: center;
  padding: 4.5rem 0;
}

.cta-final h2 {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 800;
  max-width: 24ch;
  margin-inline: auto;
}

.cta-final p {
  color: var(--nevoa);
  max-width: 46ch;
  margin: 0 auto 1.8rem;
}

/* ---------- rodapé ---------- */

.rodape {
  background: var(--carvao);
  color: var(--nevoa);
  padding: 3rem 0 2rem;
  font-size: 0.9rem;
}

.rodape-grade {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

.rodape h3 {
  color: var(--sal);
  font-size: 0.95rem;
  margin-bottom: 0.7rem;
}

.rodape ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.rodape a {
  color: var(--nevoa);
  text-decoration: none;
}

.rodape a:hover {
  color: var(--menta);
  text-decoration: underline;
}

.rodape-fim {
  border-top: 1px solid var(--verde-2);
  padding-top: 1.4rem;
  font-family: var(--mono);
  font-size: 0.75rem;
}

@media (min-width: 760px) {
  .rodape-grade {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

/* ---------- páginas de artigo / política ---------- */

.pagina {
  padding: 3.5rem 0 4.5rem;
}

.artigo {
  max-width: 68ch;
  margin-inline: auto;
}

.artigo .rotulo {
  color: var(--menta-escura);
  display: block;
  margin-bottom: 0.8rem;
}

.artigo h1 {
  font-size: clamp(1.8rem, 4.5vw, 2.6rem);
  font-weight: 800;
}

.artigo h2 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-top: 2.2rem;
}

.artigo h3 {
  font-size: 1.1rem;
  margin-top: 1.6rem;
}

.artigo ul,
.artigo ol {
  padding-left: 1.4rem;
  margin: 0 0 1em;
}

.artigo li {
  margin-bottom: 0.4rem;
}

.artigo-abre {
  font-size: 1.15rem;
  color: var(--tinta-2);
}

.artigo .caixa-modelo {
  background: var(--branco);
  border: 1px solid var(--borda-clara);
  border-left: 4px solid var(--menta);
  border-radius: var(--raio);
  padding: 1.3rem 1.4rem;
  margin: 1.5rem 0;
}

.caixa-modelo .rotulo {
  margin-bottom: 0.5rem;
}

.artigo-cta {
  background: var(--carvao);
  color: var(--sal);
  border-radius: var(--raio-g);
  padding: 2rem 1.8rem;
  margin-top: 3rem;
  text-align: center;
}

.artigo-cta h2 {
  margin-top: 0;
  font-size: 1.4rem;
  color: var(--sal);
}

.artigo-cta p {
  color: var(--nevoa);
}

.artigo-rel {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--borda-clara);
}

/* política de privacidade */

.pendente {
  background: #fdf3d7;
  border: 1px dashed #d9b13b;
  border-radius: var(--raio);
  padding: 0.9rem 1.1rem;
  color: #6e5a14;
  font-size: 0.92rem;
}

/* ============================================================
   Demo interativo — dois frames fiéis aos produtos reais.
   Fone = tokens do app Android (Pierce light): teal #0e9da3,
   fundo #f5f7f8. Painel = tokens do painel React: verde #0e7a5a,
   sidebar #152420, fundo #f7f6f3, score emerald/amber/red.
   ============================================================ */

/* números do produto (faixa no fim do hero) */

.hero-numeros {
  list-style: none;
  margin: 3rem 0 0;
  padding: 1.6rem 0 0;
  border-top: 1px solid var(--verde-2);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem 2rem;
}

.hero-numeros strong {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--menta);
  line-height: 1.1;
}

.hero-numeros span {
  font-size: 0.85rem;
  color: var(--nevoa);
}

@media (min-width: 760px) {
  .hero-numeros {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* grade da seção demo */

.demo-grade {
  display: grid;
  gap: 2.2rem;
  justify-items: center;
}

@media (min-width: 960px) {
  .demo-grade {
    grid-template-columns: minmax(0, 1fr) 21.5rem;
    align-items: start;
  }
}

/* indicador de etapas do roteiro (1 Cadastro · 2 Execução · 3 Validação) */

.demo-etapas {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 1.4rem;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--tinta-2);
}

.demo-etapas li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.demo-etapas li span {
  display: inline-grid;
  place-items: center;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 50%;
  border: 1px solid var(--borda-clara);
  font-weight: 700;
  font-size: 0.72rem;
  background: var(--branco);
}

.demo-etapas li.ativa {
  opacity: 1;
  color: var(--menta-escura);
  font-weight: 700;
}

.demo-etapas li.ativa span {
  background: var(--menta);
  border-color: var(--menta);
  color: var(--carvao);
}

.demo-etapas li.feita {
  opacity: 0.8;
}

.demo-etapas li.feita span {
  background: var(--menta-escura);
  border-color: var(--menta-escura);
  color: var(--branco);
}

/* destaque pulsante de "onde clicar agora" (accent menta da landing) */

.pulsar {
  box-shadow: 0 0 0 3px rgba(95, 216, 164, 0.55);
  animation: demo-pulso 1.5s ease-out infinite;
}

@keyframes demo-pulso {
  0% { box-shadow: 0 0 0 2px rgba(95, 216, 164, 0.65); }
  70% { box-shadow: 0 0 0 9px rgba(95, 216, 164, 0); }
  100% { box-shadow: 0 0 0 2px rgba(95, 216, 164, 0); }
}

.demo-col {
  margin: 0;
  width: 100%;
  display: grid;
  gap: 0.8rem;
  justify-items: center;
}

/* Cover "Teste aqui" por cima dos frames — some no hover/clique */
.demo-grade { position: relative; }

.demo-cover {
  position: absolute;
  inset: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--carvao) 42%, transparent);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-radius: 1.25rem;
  opacity: 1;
  transition: opacity 0.45s ease, visibility 0.45s;
}

.demo-cover.saindo {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.demo-cover-btn {
  display: grid;
  justify-items: center;
  gap: 0.45rem;
  padding: 1.6rem 2.6rem;
  border: 0;
  border-radius: 1.1rem;
  background: var(--menta);
  color: var(--carvao);
  cursor: pointer;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  animation: cover-pulso 1.8s ease-in-out infinite;
}

.demo-cover-btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

.demo-cover-play {
  font-size: 1.6rem;
  line-height: 1;
}

.demo-cover-titulo {
  font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.demo-cover-sub {
  font-family: var(--mono);
  font-size: 0.85rem;
  max-width: 34ch;
}

@keyframes cover-pulso {
  0%, 100% { transform: scale(1); box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35), 0 0 0 0 color-mix(in srgb, var(--menta) 55%, transparent); }
  50% { transform: scale(1.035); box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35), 0 0 0 18px transparent; }
}

@media (prefers-reduced-motion: reduce) {
  .demo-cover-btn { animation: none; }
  .demo-cover { transition: none; }
}

.demo-col figcaption {
  order: -1; /* legenda vira cabeçalho do frame */
  text-align: center;
  display: grid;
  gap: 0.15rem;
  padding: 0.35rem 1.1rem 0.5rem;
  border-bottom: 3px solid var(--menta);
}

.demo-col figcaption strong {
  font-size: clamp(1.15rem, 1rem + 0.6vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--tinta);
}

.demo-col figcaption span {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--tinta-2);
}

.demo-reset-row {
  display: flex;
  justify-content: center;
  margin-top: 1.8rem;
}

.btn-reset {
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--tinta-2);
  background: var(--branco);
  border: 1px solid var(--borda-clara);
  border-radius: 999px;
  padding: 0.55rem 1.3rem;
  cursor: pointer;
}

.btn-reset:hover {
  border-color: var(--menta-escura);
  color: var(--menta-escura);
}

/* ---------- frame 1: celular (chrome) ---------- */

.fone {
  position: relative;
  width: min(100%, 21.5rem);
  background: #0b0d0d;
  border-radius: 2.3rem;
  padding: 0.55rem;
  box-shadow: 0 24px 60px rgba(21, 36, 32, 0.28);
}

.fone-furo {
  position: absolute;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #0b0d0d;
  z-index: 2;
}

.fone-tela {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 37.5rem;
  background: #f5f7f8; /* Pierce background */
  border-radius: 1.8rem;
  overflow: hidden;
  color: #16201f; /* Pierce foreground */
}

.fone-status {
  display: flex;
  justify-content: space-between;
  padding: 0.55rem 1.1rem 0.1rem;
  font-family: var(--mono);
  font-size: 0.62rem;
  color: #5a6664;
}

.fone-offline {
  align-self: center;
  margin: 0.45rem 0 0.2rem;
  padding: 0.18rem 0.65rem;
  border-radius: 999px;
  background: #3e5c76; /* Pierce statusAberta */
  color: #fff;
  font-family: var(--mono);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fone-flash {
  position: absolute;
  inset: 0;
  background: #fff;
  opacity: 0;
  pointer-events: none;
  z-index: 3;
}

.fone-flash.clarao {
  animation: demo-flash 0.45s ease-out;
}

@keyframes demo-flash {
  0% { opacity: 0; }
  25% { opacity: 0.95; }
  100% { opacity: 0; }
}

/* telas do app */

.app-tela {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

/* displays custom acima venceriam o [hidden] do user-agent */
.app-tela[hidden],
#passo-pin[hidden],
#passo-selfie[hidden],
.painel-view[hidden],
.painel-modal[hidden],
.painel-toast[hidden],
.lista-secao[hidden],
.lista-card[hidden],
.pm-itens li[hidden] {
  display: none !important;
}

.app-titulo {
  margin: 0 0 0.3rem;
  font-size: 1rem;
  font-weight: 700;
  color: #16201f;
}

.app-texto {
  margin: 0 0 0.4rem;
  font-size: 0.76rem;
  color: #5a6664; /* Pierce mutedForeground */
}

.btn-app {
  width: 100%;
  border: none;
  border-radius: 0.6rem;
  background: #0e9da3; /* Pierce primary */
  color: #fff;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.7rem;
  cursor: pointer;
}

.btn-app:hover {
  background: #0b8489;
}

.btn-app-sec {
  background: #fff;
  color: #16201f;
  border: 1px solid #e1e6ea;
}

.btn-app-sec:hover {
  background: #edf0f2;
}

/* identificação (PIN + selfie) */

.app-ident {
  justify-content: center;
  padding: 1rem 0.9rem;
}

.ident-card {
  background: #fff;
  border: 1px solid #e1e6ea;
  border-radius: 0.9rem;
  padding: 1rem 0.9rem;
  display: grid;
  gap: 0.55rem;
}

.ident-label {
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #5a6664;
}

.ident-select {
  width: 100%;
  font: inherit;
  font-size: 0.8rem;
  padding: 0.5rem 0.6rem;
  border: 1px solid #e1e6ea;
  border-radius: 0.5rem;
  background: #fff;
  color: #16201f;
}

.pin-dots {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.35rem 0;
}

.pin-dot {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  border: 1px solid #e1e6ea;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.pin-dot.cheio {
  background: #0e9da3;
  border-color: #0e9da3;
}

.ident-nota {
  margin: 0.5rem 0 0;
  font-size: 0.66rem;
  color: #5a6664;
  text-align: center;
}

.app-alerta {
  border: 1px solid #e0922f; /* Pierce moneyPending */
  background: #fdf3e3;
  color: #7a5310;
  border-radius: 0.6rem;
  padding: 0.55rem 0.65rem;
  font-size: 0.72rem;
  margin-bottom: 0.55rem;
}

.app-alerta strong {
  display: block;
}

/* execução: topbar + timer + progresso + itens */

.app-topbar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.85rem 0.1rem;
  font-size: 0.92rem;
  font-weight: 700;
}

.app-voltar {
  font-size: 1.3rem;
  line-height: 1;
  color: #5a6664;
}

.app-timer {
  text-align: center;
  padding: 0.25rem 0 0.1rem;
}

.app-timer-label {
  display: block;
  font-family: var(--mono);
  font-size: 0.58rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #5a6664;
}

.app-timer-valor {
  font-family: var(--mono);
  font-size: 1.9rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.app-progresso {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.3rem 0.85rem 0.5rem;
}

.prog-trilho {
  flex: 1;
  height: 6px;
  border-radius: 999px;
  background: #e1e6ea;
  overflow: hidden;
}

.prog-fill {
  height: 100%;
  border-radius: 999px;
  background: #0e9da3;
  transition: width 0.3s ease;
}

.prog-txt {
  font-family: var(--mono);
  font-size: 0.62rem;
  color: #5a6664;
  white-space: nowrap;
}

.app-itens {
  list-style: none;
  margin: 0;
  padding: 0 0.7rem;
  flex: 1;
  overflow-y: auto;
  display: grid;
  gap: 0.45rem;
  align-content: start;
}

.item-card {
  background: #fff;
  border: 1px solid #e1e6ea;
  border-radius: 0.7rem;
  padding: 0.55rem 0.65rem;
}

.item-linha {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.item-desc {
  flex: 1;
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1.35;
}

/* switch fiel ao PierceSwitch do app */

.item-switch {
  flex: none;
  position: relative;
  width: 2.15rem;
  height: 1.25rem;
  border: none;
  border-radius: 999px;
  background: #e1e6ea;
  cursor: pointer;
  transition: background-color 0.15s ease;
  padding: 0;
}

.item-switch::after {
  content: "";
  position: absolute;
  top: 0.17rem;
  left: 0.17rem;
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(22, 32, 31, 0.3);
  transition: transform 0.15s ease;
}

.item-switch[aria-checked="true"] {
  background: #0e9da3;
}

.item-switch[aria-checked="true"]::after {
  transform: translateX(0.9rem);
}

.item-foto {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.45rem;
}

.btn-foto {
  font: inherit;
  font-size: 0.66rem;
  font-weight: 700;
  padding: 0.28rem 0.6rem;
  border: 1px solid #e1e6ea;
  border-radius: 0.45rem;
  background: #fff;
  color: #16201f;
  cursor: pointer;
}

.btn-foto[aria-pressed="true"] {
  border-color: #2e9e5b; /* Pierce moneyPaid */
  background: #eaf6ef;
  color: #1d7a43;
}

.foto-hint {
  font-size: 0.62rem;
  color: #c0392b; /* Pierce destructive — "Foto obrigatória" */
}

.app-rodape {
  padding: 0.65rem 0.7rem 0.8rem;
}

/* resumo da conclusão */

.app-resumo {
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  padding: 1rem;
  text-align: center;
}

.resumo-check {
  display: grid;
  place-items: center;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  background: #eaf6ef;
  color: #2e9e5b;
  font-size: 1.7rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
}

.badge-sync {
  margin-top: 0.6rem;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: #3e5c76; /* aguardando sincronização */
}

.badge-sync.ok {
  background: #2e9e5b; /* sincronizada */
}

/* ---------- frame 2: navegador (chrome) ---------- */

.navegador {
  width: 100%;
  background: #fff;
  border: 1px solid var(--borda-clara);
  border-radius: 0.9rem;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(21, 36, 32, 0.14);
}

.nav-barra {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: #e9e7e1;
  border-bottom: 1px solid #dcd9d2;
  padding: 0.5rem 0.8rem;
}

.nav-pontos {
  display: flex;
  gap: 0.32rem;
}

.nav-pontos i {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: #cfccc4;
}

.nav-pontos i:first-child { background: #eb5f57; }
.nav-pontos i:nth-child(2) { background: #f5bd4f; }
.nav-pontos i:last-child { background: #61c454; }

.nav-url {
  flex: 1;
  background: #fff;
  border-radius: 999px;
  padding: 0.22rem 0.85rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  color: #6b7066;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* painel: sidebar carvão + main */

.painel {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  background: #f7f6f3; /* painel background */
  color: #20261f;
  min-height: 26rem;
}

.painel-side {
  background: #152420; /* sidebar carvão */
  padding: 0.7rem 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.side-logo {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.5rem 0.75rem;
  color: #e8efea;
  font-size: 0.72rem;
  font-weight: 800;
}

.side-logo-marca {
  display: inline-grid;
  place-items: center;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 4px;
  background: var(--menta);
  color: var(--carvao);
  font-size: 0.62rem;
  flex: none;
}

.side-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.5rem;
  border-radius: 0.4rem;
  color: #9db0a8; /* sidebar-foreground */
  font-size: 0.72rem;
  font-weight: 500;
}

.side-item svg {
  width: 0.85rem;
  height: 0.85rem;
  flex: none;
}

.side-item.ativo {
  background: rgba(14, 122, 90, 0.15); /* sidebar-accent */
  color: #e8efea;
}

.painel-main {
  padding: 0.9rem 0.95rem 1.1rem;
  display: grid;
  gap: 0.7rem;
  align-content: start;
  min-width: 0;
}

.painel-h {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.painel-sub {
  margin: 0.1rem 0 0;
  font-size: 0.7rem;
  color: #6b7066;
}

/* anel de conformidade (fiel ao ConformidadeRing) */

.card-conf {
  background: #fff;
  border: 1px solid #e4e2dc;
  border-radius: 0.7rem;
  padding: 0.8rem;
  display: grid;
  justify-items: center;
  gap: 0.2rem;
}

.conf-ring {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.conf-ring circle:last-child {
  transition: stroke-dashoffset 0.7s ease;
}

.conf-pct {
  position: absolute;
  font-size: 1.05rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.conf-verde { color: #059669; }
.conf-ambar { color: #f59e0b; }
.conf-verm { color: #dc2626; }

.conf-label {
  font-size: 0.66rem;
  color: #6b7066;
}

/* stat cards */

.painel-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.stat {
  background: #fff;
  border: 1px solid #e4e2dc;
  border-radius: 0.6rem;
  padding: 0.5rem 0.25rem;
  text-align: center;
  display: grid;
  gap: 0.1rem;
}

.stat-label {
  font-size: 0.6rem;
  color: #6b7066;
}

.stat-valor {
  font-size: 1.15rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* execuções de hoje */

.painel-execs {
  background: #fff;
  border: 1px solid #e4e2dc;
  border-radius: 0.7rem;
  overflow: hidden;
}

.painel-execs-h {
  margin: 0;
  padding: 0.5rem 0.7rem 0.35rem;
  font-size: 0.64rem;
  font-weight: 700;
  color: #6b7066;
}

.exec-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.7rem;
  border-top: 1px solid #efede8;
  font-size: 0.72rem;
}

.exec-info {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 0.05rem;
}

.exec-nome {
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.exec-meta {
  font-size: 0.62rem;
  color: #6b7066;
}

.exec-sub {
  color: #0e7a5a;
  font-weight: 600;
}

.badge-status {
  flex: none;
  padding: 0.14rem 0.5rem;
  border-radius: 999px;
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.st-pendente { background: #eceff3; color: #3e5c76; }
.st-iniciada { background: #e0f3f3; color: #0b5559; }
.st-concluida { background: #e7f4ee; color: #0a5c44; }

/* ranking de unidades (score 0–100) */

.painel-sub-h {
  margin: 0.1rem 0 -0.3rem;
  font-size: 0.66rem;
  font-weight: 700;
  color: #6b7066;
}

.rank-lista {
  list-style: none;
  margin: 0;
  padding: 0;
  background: #fff;
  border: 1px solid #e4e2dc;
  border-radius: 0.7rem;
  overflow: hidden;
}

.rank-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.7rem;
  font-size: 0.72rem;
  background: #fff;
}

.rank-item + .rank-item {
  border-top: 1px solid #efede8;
}

.rank-pos {
  width: 1.4rem;
  flex: none;
  text-align: center;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #6b7066;
}

.rank-info {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 0.25rem;
}

.rank-nome {
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rank-trilho {
  display: block;
  height: 0.32rem;
  max-width: 11rem;
  border-radius: 999px;
  background: #efede8;
  overflow: hidden;
}

.rank-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  transition: width 0.6s ease;
}

.sc-verde { background: #059669; }
.sc-ambar { background: #f59e0b; }
.sc-verm { background: #dc2626; }

.rank-score {
  flex: none;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.sc-t-verde { color: #047857; }
.sc-t-ambar { color: #b45309; }
.sc-t-verm { color: #b91c1c; }

/* sidebar compacta (só ícones) em telas estreitas */

@media (max-width: 520px) {
  .painel {
    grid-template-columns: 2.6rem 1fr;
  }

  .painel-side .side-txt {
    display: none;
  }

  .side-logo,
  .side-item {
    justify-content: center;
    padding-left: 0.3rem;
    padding-right: 0.3rem;
  }
}

/* ---------- fone: listagem de checklists do dia ---------- */

.app-topbar-lista {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.85rem 0.35rem;
}

.app-topbar-titulo {
  flex: 1;
  font-size: 0.92rem;
  font-weight: 700;
}

.app-tico {
  width: 1rem;
  height: 1rem;
  color: #5a6664;
  flex: none;
}

.app-lista-corpo {
  flex: 1;
  overflow-y: auto;
  padding: 0.2rem 0.7rem 0.7rem;
  display: grid;
  gap: 0.45rem;
  align-content: start;
}

.lista-secao {
  margin: 0.5rem 0 0;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #16201f;
}

.lista-card {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  background: #fff;
  border: 1px solid #e1e6ea;
  border-radius: 0.7rem;
  padding: 0.6rem 0.7rem;
  text-align: left;
}

.lista-card-btn {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

.lista-card-btn:hover {
  border-color: #0e9da3;
}

.lista-info {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 0.1rem;
}

.lista-nome {
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.3;
}

.lista-meta {
  font-size: 0.66rem;
  color: #5a6664;
}

.lista-cloud {
  width: 1.05rem;
  height: 1.05rem;
  color: #2e9e5b; /* Pierce moneyPaid (CloudDone) */
  flex: none;
}

/* badges de status do app (PierceBadge: cor sólida) */

.app-badge {
  flex: none;
  padding: 0.16rem 0.55rem;
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
}

.b-pendente { background: #3e5c76; }
.b-iniciada { background: #0e9da3; }
.b-concluida { background: #2e9e5b; }

/* estados do pill de conectividade */

.fone-offline.pill-on { background: #0e9da3; }
.fone-offline.pill-ok { background: #2e9e5b; }

/* entrada animada da checklist recém-gerada na lista */

.lista-card.chegando {
  animation: demo-chegar 0.45s ease-out;
}

@keyframes demo-chegar {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.ident-contexto {
  margin: 0 0 0.4rem;
  padding: 0 0.9rem;
  font-size: 0.72rem;
  color: #5a6664;
}

/* ---------- painel: views (Modelos / Hoje / Detalhe) ---------- */

.painel {
  position: relative; /* ancora modal e toast */
}

.painel-view {
  display: grid;
  gap: 0.7rem;
  align-content: start;
}

.painel-view-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.6rem;
}

.btn-painel {
  font: inherit;
  font-size: 0.7rem;
  font-weight: 700;
  border: none;
  border-radius: 0.45rem;
  background: #0e7a5a; /* primary do painel */
  color: #fff;
  padding: 0.42rem 0.7rem;
  cursor: pointer;
  white-space: nowrap;
  flex: none;
}

.btn-painel:hover {
  background: #0a5c44;
}

.btn-painel:disabled {
  opacity: 0.5;
  cursor: default;
}

.btn-painel-sec {
  background: #fff;
  color: #20261f;
  border: 1px solid #e4e2dc;
}

.btn-painel-sec:hover {
  background: #efede8;
}

/* tabela da página Modelos (DataTable simplificada) */

.ptab {
  background: #fff;
  border: 1px solid #e4e2dc;
  border-radius: 0.7rem;
  overflow: hidden;
}

.ptab-h,
.ptab-r {
  display: grid;
  grid-template-columns: 1.4fr 1fr 2.6rem;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.7rem;
}

.ptab-h {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6b7066;
  border-bottom: 1px solid #efede8;
}

.ptab-r + .ptab-r {
  border-top: 1px solid #efede8;
}

.ptab-nome {
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ptab-rec {
  font-size: 0.66rem;
  color: #6b7066;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* mini switch (verde do painel), usado na tabela e no editor */

.mi-switch {
  display: inline-block;
  width: 1.7rem;
  height: 1rem;
  border-radius: 999px;
  background: #e4e2dc;
  position: relative;
  flex: none;
}

.mi-switch::after {
  content: "";
  position: absolute;
  top: 0.13rem;
  left: 0.13rem;
  width: 0.74rem;
  height: 0.74rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(32, 38, 31, 0.3);
  transition: transform 0.15s ease;
}

.mi-switch.on {
  background: #0e7a5a;
}

.mi-switch.on::after {
  transform: translateX(0.7rem);
}

/* modal "Novo modelo" (editor de templates) */

.painel-modal {
  position: absolute;
  inset: 0;
  background: rgba(21, 36, 32, 0.45);
  display: grid;
  place-items: center;
  padding: 0.8rem;
  z-index: 4;
}

.painel-modal-card {
  width: min(100%, 24rem);
  max-height: 100%;
  background: #fff;
  border-radius: 0.8rem;
  box-shadow: 0 24px 60px rgba(21, 36, 32, 0.35);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.painel-modal-titulo {
  margin: 0;
  padding: 0.75rem 0.9rem 0.5rem;
  font-size: 0.88rem;
  font-weight: 800;
  color: #20261f;
}

.painel-modal-corpo {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 0 0.9rem 0.6rem;
  display: grid;
  gap: 0.45rem;
  align-content: start;
}

.pm-label {
  font-size: 0.62rem;
  font-weight: 700;
  color: #6b7066;
}

.pm-campo {
  margin: 0;
  min-height: 1.9rem;
  display: flex;
  align-items: center;
  border: 1px solid #e4e2dc;
  border-radius: 0.45rem;
  background: #fff;
  padding: 0.3rem 0.55rem;
  font-size: 0.74rem;
  color: #20261f;
}

.pm-cursor {
  display: inline-block;
  width: 1px;
  height: 0.9rem;
  background: #0e7a5a;
  margin-left: 1px;
  animation: demo-cursor 0.9s steps(2) infinite;
}

@keyframes demo-cursor {
  50% { opacity: 0; }
}

.pm-grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.pm-grid2 > div {
  display: grid;
  gap: 0.25rem;
}

.pm-itens-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.3rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: #20261f;
}

.pm-btn-mini {
  font-size: 0.62rem;
  font-weight: 700;
  border: 1px solid #e4e2dc;
  border-radius: 0.4rem;
  padding: 0.22rem 0.5rem;
  color: #20261f;
}

.pm-itens {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.pm-itens li {
  border: 1px solid #e4e2dc;
  border-radius: 0.5rem;
  background: #f7f6f3;
  padding: 0.42rem 0.55rem;
  display: grid;
  gap: 0.3rem;
  animation: demo-chegar 0.3s ease-out;
}

.mi-desc {
  font-size: 0.68rem;
  font-weight: 600;
  color: #20261f;
  line-height: 1.35;
}

.mi-meta {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.62rem;
  color: #6b7066;
}

.mi-pontos {
  margin-left: auto;
  border: 1px solid #e4e2dc;
  border-radius: 0.35rem;
  background: #fff;
  padding: 0.1rem 0.4rem;
  font-variant-numeric: tabular-nums;
}

.painel-modal-rodape {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  padding: 0.6rem 0.9rem 0.75rem;
  border-top: 1px solid #efede8;
}

/* toast (sonner) do painel */

.painel-toast {
  position: absolute;
  right: 0.7rem;
  bottom: 0.7rem;
  z-index: 5;
  margin: 0;
  background: #20261f;
  color: #f7f6f3;
  font-size: 0.66rem;
  font-weight: 600;
  border-radius: 0.5rem;
  padding: 0.5rem 0.7rem;
  box-shadow: 0 10px 28px rgba(21, 36, 32, 0.35);
  animation: demo-chegar 0.3s ease-out;
}

/* detalhe da execução (modal de ocorrência do painel real) */

.det-sec {
  margin: 0.2rem 0 -0.35rem;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6b7066;
}

.det-card {
  background: #f3f1ec; /* bg-secondary/30 */
  border: 1px solid #e4e2dc;
  border-radius: 0.55rem;
  padding: 0.3rem 0.7rem;
}

.det-row {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.28rem 0;
  font-size: 0.7rem;
}

.det-row span {
  color: #6b7066;
}

.det-row strong {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.det-itens {
  list-style: none;
  margin: 0;
  padding: 0;
  background: #fff;
  border: 1px solid #e4e2dc;
  border-radius: 0.55rem;
  overflow: hidden;
}

.det-itens li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.45rem 0.7rem;
  font-size: 0.7rem;
}

.det-itens li + li {
  border-top: 1px solid #efede8;
}

.det-marca {
  font-weight: 700;
  flex: none;
}

.det-marca.ok { color: #047857; }   /* ✓ emerald-700 */
.det-marca.falta { color: #b91c1c; } /* ✗ red-700 */

.det-info {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 0.15rem;
}

.det-desc {
  line-height: 1.35;
}

.det-foto {
  font-size: 0.62rem;
  color: #6b7066;
}

.det-pts {
  flex: none;
  font-size: 0.62rem;
  color: #6b7066;
  font-variant-numeric: tabular-nums;
}

.det-conf {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  padding: 0.6rem 0.7rem;
}

.det-conf > div {
  display: grid;
  gap: 0.05rem;
}

.det-conf span {
  font-size: 0.62rem;
  color: #6b7066;
}

.det-conf strong {
  font-size: 1.15rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.det-conf strong.ok { color: #047857; }
.det-conf strong.falta { color: #b91c1c; }

.det-conf small {
  font-size: 0.6rem;
  color: #6b7066;
  font-variant-numeric: tabular-nums;
}

.det-selfie {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  background: #fff;
  border: 1px solid #e4e2dc;
  border-radius: 0.55rem;
  padding: 0.5rem 0.7rem;
  font-size: 0.66rem;
  color: #6b7066;
}

.det-selfie-thumb {
  display: inline-grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 0.45rem;
  background: #e7f4ee;
  color: #0a5c44;
  flex: none;
}

.det-selfie-thumb svg {
  width: 1.2rem;
  height: 1.2rem;
}

/* ---------- seção multi-unidade ---------- */

.multi-grade {
  display: grid;
  gap: 2rem;
}

.multi-cab {
  margin-bottom: 0;
}

.multi-nota {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--menta-escura);
}

.multi-rank {
  display: grid;
  gap: 0.7rem;
  align-content: center;
}

.multi-rank .rank-lista {
  box-shadow: 0 18px 44px rgba(21, 36, 32, 0.08);
}

.multi-rank .rank-item {
  font-size: 0.85rem;
  padding: 0.75rem 0.9rem;
}

@media (min-width: 860px) {
  .multi-grade {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }
}

/* ---------- movimento reduzido ---------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
