/* ═══════════════════════════════════════════════════════════
   checklist-seo.css: "O que checamos na auditoria de SEO técnico".
   Conceito: 6 grupos em cards de borda fina e cantos arredondados, com
   os itens como linhas separadas por fio fino (sem marcadores). O 6o
   card (JavaScript) é o único preenchido em tinta: ele aponta pra seção
   seguinte, e o contraste é o que dá a direção de leitura.
═══════════════════════════════════════════════════════════ */

.checklist {
  padding: 104px 0;
}

.checklist-wrap {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 var(--pad);
  width: 80%;
}

.checklist-head {
  max-width: 720px;
  margin-bottom: 56px;
}

.checklist-head h2 {
  font-size: clamp(32px, 4.2vw, 52px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.08;
  text-wrap: balance;
  margin-bottom: 16px;
}

.checklist-head p {
  font-size: 16px;
  line-height: 1.68;
  color: var(--text2);
}

.checklist-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.checklist-group {
  border: 1px solid #CFCFC8;
  border-radius: 16px;
  padding: 28px 28px 24px;
}

.checklist-group h3 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.2;
  text-wrap: balance;
  margin-bottom: 14px;
}

.checklist-group ul {
  list-style: none;
}

.checklist-group li {
  padding: 11px 0;
  border-top: 1px solid var(--border);
  font-size: 15px;
  line-height: 1.5;
  color: var(--text2);
}

/* Único grupo em tinta: leva à seção de JavaScript */
.checklist-group--js {
  background: var(--text);
  color: #fff;
  border-color: var(--text);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
}

.checklist-group--js li {
  color: rgba(255, 255, 255, .82);
  border-top-color: rgba(255, 255, 255, .18);
}

.checklist-link {
  margin-top: auto;
  padding-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  border-bottom: 0;
}

.checklist-link span {
  border-bottom: 2px solid var(--accent);
  padding-bottom: 2px;
  transition: border-color .2s ease;
}

.checklist-link:hover span {
  border-color: #fff;
}

.checklist-link:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

@media (max-width: 980px) {
  .checklist-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .checklist-head {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 720px) {
  .checklist {
    padding: 64px 0;
  }

  .checklist-wrap {
    width: 90%;
  }

  .checklist-head {
    margin-bottom: 40px;
  }

  .checklist-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
