html, body {
    margin: 0;
    padding: 0;
    background-color: #0F1117;
    font-family: 'Inter', sans-serif;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

footer { margin-top: auto; }

* {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    text-decoration: none;
}

/* ── Header ──────────────────────────────────────── */

.cabecalho {
    background-color: #1A202C;
    border-bottom: 1px solid #2D3748;
    padding: 32px 24px;
    margin-bottom: 48px;
}

h1 {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 700;
    color: #818CF8;
    text-align: center;
    margin-bottom: 20px;
}

nav {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.linksNav {
    transition: color 0.2s ease;
    color: #94A3B8;
    font-size: 0.95rem;
    font-weight: 500;
}

.linksNav:hover { color: #818CF8; }

/* ── Videos Grid ─────────────────────────────────── */

.videos {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    padding: 0 40px 60px;
    justify-content: center;
}

.video {
    background-color: #1A202C;
    border: 1px solid #2D3748;
    border-radius: 10px;
    flex: 1 1 280px;
    max-width: 360px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.video:hover {
    border-color: #818CF8;
    box-shadow: 0 8px 24px rgba(129, 140, 248, 0.15);
    transform: translateY(-3px);
}

.separacaoImagem {
    width: 100%;
}

.separacaoImagem img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    border-radius: 0;
}

h2 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #E2E8F0;
    padding: 14px 16px 18px;
    line-height: 1.45;
    word-wrap: break-word;
}

/* ── Footer ──────────────────────────────────────── */

footer {
    height: 80px;
    background-color: #1A202C;
    border-top: 1px solid #2D3748;
    display: flex;
    align-items: center;
    justify-content: center;
}

.copyright {
    color: #64748B;
    font-size: 0.8rem;
    font-weight: 500;
    text-align: center;
}

/* ── Responsive ──────────────────────────────────── */

@media (max-width: 768px) {
    .videos { padding: 0 16px 48px; gap: 16px; }

    .video { flex: 1 1 100%; max-width: 100%; }
}
