body.fotos main { max-width: 1400px; margin: 0 auto; padding: 40px 16px 56px; }
.topo { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; background: #253656; }
.topo img { display: block; height: 40px; width: auto; }
.topo-link { color: #e8e2d6; font-weight: 700; text-decoration: none; border: 2px solid #e8e2d6; padding: 8px 16px; line-height: 1; }
.topo-link:hover, .topo-link:focus-visible { background: #e8e2d6; color: #253656; }
.intro { text-align: center; margin-bottom: 28px; }
.intro h1 { margin: 0 0 8px; font-size: clamp(36px, 7vw, 64px); letter-spacing: -0.02em; }
.intro p { margin: 0; opacity: .8; }
.grade { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.grade a { display: block; aspect-ratio: 2 / 3; overflow: hidden; background: #253656; }
.grade img { display: block; width: 100%; height: 100%; object-fit: cover; transition: opacity .2s; }
.grade a:hover img, .grade a:focus-visible img { opacity: .85; }
.grade a:focus-visible { outline: 3px solid #253656; outline-offset: 2px; }
.voltar { text-align: center; margin-top: 32px; }
@media (min-width: 900px) { .grade { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; } }
