/* ---------- como começa (claro) ---------- */
.start2 { background: #fff; color: var(--text); padding: 140px 0 120px; }
.start2 .eyebrow { color: var(--brand); }
.start2 .h2 { color: var(--ink); max-width: 14em; }
.st-track { position: relative; height: 2px; margin: 64px 0 0; background: #e2e8f0; border-radius: 2px; }
.st-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--brand); border-radius: 2px; transition: width .2s linear; }
.st-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: -13px; }
.st-item { position: relative; opacity: .35; transform: translateY(12px); transition: opacity .5s, transform .5s; }
.st-item.is-on { opacity: 1; transform: none; }
.st-n { position: relative; z-index: 1; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid #cbd5e1; color: #64748b; font-size: 12px; font-weight: 900; transition: all .4s; }
.st-item.is-on .st-n { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 0 0 6px rgba(0,102,255,.14); }
.st-item > b { display: block; font-size: 19px; font-weight: 900; color: var(--ink); margin-top: 18px; }
.st-item > p { font-size: 15.5px; line-height: 1.55; color: #475569; margin-top: 6px; min-height: 4.6em; }
.st-ui { margin-top: 16px; border-radius: 4px; border: 1px solid #e2e8f0; background: #fff; box-shadow: 0 18px 36px -24px rgba(15,23,42,.35); overflow: hidden; font-family: Inter, 'Nunito Sans', sans-serif; }
.st-list { padding: 6px; }
.st-list > div { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 4px; font-size: 13px; font-weight: 600; color: #0f172a; }
.st-list > div + div { border-top: 1px solid #f1f5f9; }
.st-list img { width: 30px; height: 30px; border-radius: 4px; object-fit: cover; }
.st-list span { flex: 1; }
.st-list em { width: 18px; height: 18px; border-radius: 4px; display: grid; place-items: center; background: var(--brand); color: #fff; }
.st-list .off { opacity: .45; } .st-list .off em { background: #fff; border: 1.5px solid #cbd5e1; }
.st-photo { position: relative; height: 172px; }
.st-photo img { width: 100%; height: 100%; object-fit: cover; }
.st-photo > span { position: absolute; left: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 4px; background: rgba(255,255,255,.95); color: var(--brand); font-size: 12px; }
.st-photo > span b { color: #0f172a; font-weight: 700; }
.st-chips { display: flex; align-items: center; justify-content: center; gap: 10px; height: 172px; background: #f8fafc; }
.chip { display: inline-flex; align-items: center; gap: 5px; padding: 5px 9px; border-radius: 4px; font-size: 12px; font-weight: 700; }
.chip.violet { background: rgba(124,58,237,.1); color: #7c3aed; } .chip.green { background: rgba(22,163,74,.1); color: #16a34a; }
.st-arrow { color: #94a3b8; display: grid; }
.st-push { display: flex; gap: 10px; align-items: flex-start; margin-left: 0; padding: 14px; height: 172px; background: linear-gradient(160deg, #1e293b, #0f172a); }
.st-push > img { width: 26px; height: 26px; border-radius: 6px; flex: none; margin-top: 18px; }
.st-push > div { flex: 1; margin-top: 18px; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.95); }
.st-push b { display: block; font-size: 13px; color: #0f172a; }
.st-push p { font-size: 12px; line-height: 1.4; color: #475569; margin-top: 2px; }

/* ---------- as máquinas: duas faixas andando ---------- */
.machines2 { background: #f1f5f9; color: var(--text); padding: 120px 0 110px; overflow: hidden; }
.machines2 .eyebrow { color: var(--brand); }
.machines2 .h2 { color: var(--ink); }
.machines2 .lead { color: #475569; }
.mq-row { margin-top: 48px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.mq-rev .mq-row { margin-top: 16px; }
.mq-move { display: flex; gap: 16px; width: max-content; animation: mq 60s linear infinite; }
.mq-rev .mq-move { animation-direction: reverse; animation-duration: 70s; }
@keyframes mq { to { transform: translateX(-50%); } }
.mq-tile { width: 200px; flex: none; padding: 14px 14px 12px; border-radius: 4px; background: #fff; border: 1px solid #e2e8f0; transition: border-color .3s, box-shadow .3s, transform .3s; }
.mq-tile:hover { border-color: rgba(0,102,255,.35); box-shadow: 0 20px 36px -22px rgba(15,23,42,.35); transform: translateY(-3px); }
.mq-tile img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; }
.mq-tile span { display: block; margin-top: 8px; font-size: 14.5px; font-weight: 800; color: var(--ink); }
.mq-foot { margin-top: 36px; font-size: 16px; color: #475569; }
@media (prefers-reduced-motion: reduce) { .mq-move { animation: none; } }

@media (max-width: 900px) {
  .start2 { padding: 90px 0; }
  .st-track { display: none; }
  .st-grid { grid-template-columns: 1fr; gap: 36px; margin-top: 40px; }
  .st-item { opacity: 1; transform: none; }
  .st-item > p { min-height: 0; }
  .machines2 { padding: 80px 0; }
  .mq-tile { width: 150px; }
}
/* as máquinas com as falhas típicas de cada tipo, no azul claro da marca */
.machines2 { background: linear-gradient(180deg, #ffffff 0%, #eef4ff 100%); }
.mq-tile { width: 216px; border-color: #dbe6f7; }
.mq-tile small { display: inline-block; margin-top: 6px; padding: 3px 8px; border-radius: 4px; background: #e5efff; color: #0052cc; font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.mq-foot { font-size: 17px; color: #334155; font-weight: 600; }

/* ---------- conteúdo: o artigo mais novo em destaque e dois ao lado, nos cartões da casa (rounded-sm, borda slate-200) ---------- */
.content { padding: 120px 0 40px; background: #fff; }
.ct-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 40px; }
.ct-head .eyebrow { color: var(--brand); }
.ct-head .h2 { color: var(--ink); max-width: 18ch; }
.ct-head .lead { color: #475569; max-width: 56ch; }
.ct-all { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 4px; border: 1px solid #e2e8f0; color: #0f172a; font-weight: 700; font-size: 14.5px; white-space: nowrap; transition: border-color .2s, background .2s; }
.ct-all:hover { border-color: #cbd5e1; background: #f8fafc; }
.ct-all svg, .ct-read svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.ct-all:hover svg { transform: translateX(3px); }
.ct-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px; }
.ct-side { display: grid; gap: 24px; }
.ct-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 4px; border: 1px solid #e2e8f0; background: #fff; color: inherit; transition: border-color .25s, box-shadow .25s, transform .25s; }
.ct-card:hover { border-color: #cbd5e1; box-shadow: 0 24px 48px -28px rgba(15,23,42,.35); transform: translateY(-2px); }
.ct-cover { position: relative; display: block; aspect-ratio: 16 / 9; background: #f1f5f9; overflow: hidden; }
.ct-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.ct-card:hover .ct-cover img { transform: scale(1.03); }
.ct-nocover { position: absolute; inset: 0; display: grid; place-items: center; color: #cbd5e1; }
.ct-nocover svg { fill: none; stroke: currentColor; stroke-width: 1.6; }
.ct-body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 22px; }
.ct-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.ct-cat { font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); }
.ct-lang { padding: 1px 7px; border-radius: 4px; background: #f1f5f9; color: #64748b; font-size: 11px; font-weight: 700; }
.ct-title { font-size: 19px; line-height: 1.3; font-weight: 800; color: #0f172a; letter-spacing: -.01em; }
.ct-card.is-big .ct-title { font-size: clamp(22px, 2vw, 28px); line-height: 1.22; }
.ct-excerpt { font-size: 16px; line-height: 1.6; color: #475569; }
.ct-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: auto; font-size: 13px; color: #64748b; }
.ct-min { display: inline-flex; align-items: center; gap: 5px; }
.ct-min svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.ct-sep { width: 3px; height: 3px; border-radius: 50%; background: #cbd5e1; }
.ct-read { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 14.5px; font-weight: 800; color: var(--brand); }
.ct-card:hover .ct-read svg { transform: translateX(3px); }
/* os dois de lado: capa à esquerda, texto à direita */
.ct-side .ct-card { flex-direction: row; }
.ct-side .ct-cover { flex: 0 0 42%; aspect-ratio: auto; min-height: 100%; }
.ct-side .ct-body { padding: 18px 20px; }
.ct-side .ct-title { font-size: 17px; }
.ct-empty { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--brand); }
.ct-empty svg { fill: none; stroke: currentColor; stroke-width: 2; }
/* o esqueleto: o mesmo desenho, em cinza pulsando */
.ct-skel { pointer-events: none; }
.ct-skel .ct-cover, .ct-skel .ct-body i { animation: ctPulse 1.4s ease-in-out infinite; }
.ct-skel .ct-body i { display: block; height: 12px; border-radius: 4px; background: #f1f5f9; }
.ct-skel .ct-cover { background: #f1f5f9; }
@keyframes ctPulse { 50% { opacity: .55; } }
@media (max-width: 900px) {
  .content { padding: 80px 0 24px; }
  .ct-head { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 28px; }
  .ct-grid { grid-template-columns: 1fr; gap: 16px; }
  .ct-side { gap: 16px; }
  .ct-side .ct-card { flex-direction: column; }
  .ct-side .ct-cover { flex: none; aspect-ratio: 16 / 9; }
}
/* mais compacto (10/10): o destaque com capa 2:1 e os dois de lado com a altura do texto */
.ct-head .h2 { max-width: 26ch; }
.ct-card.is-big .ct-cover { aspect-ratio: 2 / 1; }
.ct-card.is-big .ct-excerpt { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ct-grid { align-items: start; }
.ct-side .ct-cover { flex: 0 0 38%; }
.ct-side .ct-meta { margin-top: 6px; }
