/*
 * Tutoriais em video (spec 454). Prefixo tt-. Usa os tokens --pd-* do products.css.
 * Padrao da spec 022: planos chapados, linha de 1 px, raio 8 px so em imagem e video.
 */
.tt-hero { padding-bottom: 48px; }
.tt-grid { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 56px; align-items: start; margin-top: 28px; }
.tt-player { margin: 0; position: sticky; top: 110px; }
.tt-video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; max-height: 78vh; background: #000; border-radius: 8px; object-fit: contain; }
.tt-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 12px; font-size: 13px; color: var(--pd-fg3); }
.tt-h1 { font-size: clamp(28px, 3.6vw, 44px); }
.tt-h2 { margin-top: 40px; font-size: clamp(20px, 2.2vw, 26px); }
.tt-steps { margin-top: 18px; }
.tt-product { margin-top: 28px; }
.tt-group { padding: 40px 0; border-top: 1px solid var(--pd-line); }
.tt-group:first-child { border-top: 0; }
.tt-cards { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px; }
.tt-card { display: flex; flex-direction: column; gap: 8px; color: var(--pd-fg1); text-decoration: none; }
.tt-card strong { font-size: 16px; font-weight: 600; line-height: 1.35; }
.tt-card > span:last-child { font-size: 14px; line-height: 1.5; color: var(--pd-fg2); }
.tt-thumb { position: relative; display: block; aspect-ratio: 9 / 16; max-height: 360px; overflow: hidden; border-radius: 8px; background: var(--pd-plane); }
.tt-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--pd-ease); }
.tt-card:hover .tt-thumb img, .tt-card:focus-visible .tt-thumb img { transform: scale(1.03); }
.tt-card:hover strong { color: var(--pd-yellow-text); }
.tt-card:focus-visible { outline: 2px solid var(--pd-yellow); outline-offset: 4px; }
.tt-time { position: absolute; right: 8px; bottom: 8px; padding: 2px 8px; border-radius: 4px; background: rgba(0, 0, 0, .72); color: #fff; font-size: 12px; font-weight: 600; }
@media (max-width: 1024px) { .tt-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) {
    .tt-grid { grid-template-columns: 1fr; gap: 32px; }
    .tt-player { position: static; max-width: 360px; margin: 0 auto; }
    .tt-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
}
@media (prefers-reduced-motion: reduce) { .tt-thumb img { transition: none; } }
