/**
 * Atena SMP — o site.
 *
 * A paleta e as fontes vieram do site atual: fundo quase preto azulado, o
 * dourado da logo, o verde do botão do Discord, e Press Start 2P nos títulos.
 * O corpo do texto usa uma fonte legível de propósito — parágrafo longo em
 * fonte pixelada não se lê.
 */

:root {
    --fundo: #02060d;
    --fundo-alt: #050b16;
    --caixa: #0a1120;
    --caixa-alta: #0e1728;
    --borda: #1b2540;
    --borda-forte: #2c3a5e;

    --dourado: #f5d678;
    --dourado-claro: #ffeaa7;
    --dourado-escuro: #c9a94e;

    --verde: #11ad32;
    --verde-claro: #22d34a;
    --roxo: #6363c6;

    --texto: #eeeeee;
    --texto-medio: #9e9e9e;
    --texto-fraco: #6b7280;

    --pixel: 'Press Start 2P', monospace;
    --corpo: 'Geist', system-ui, -apple-system, sans-serif;

    --suave: cubic-bezier(0.22, 1, 0.36, 1);
    --width: 1120px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    margin: 0;
    background: var(--fundo);
    color: var(--texto);
    /* O site do Atena e pixelado do titulo ao paragrafo: o texto corrido do
       site atual usa Press Start 2P a 12px. Fonte pixelada pede entrelinha
       larga, senao as linhas se colam. */
    font-family: var(--pixel);
    font-size: 12px;
    line-height: 2.1;
    letter-spacing: 0.2px;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
}

/* ------------------------------------------------------------ navegação -- */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    gap: 26px;
    padding: 16px clamp(16px, 4vw, 40px);
    background: rgba(2, 6, 13, 0.72);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s var(--suave), background 0.3s var(--suave);
}

.nav.scrolled {
    background: rgba(2, 6, 13, 0.92);
    border-bottom-color: var(--borda);
}

.nav-brand {
    display: flex;
    align-items: center;
    line-height: 0;
}

.nav-brand img {
    height: 26px;
    width: auto;
    /* A logo é pixel art: sem isto o navegador a borra ao reduzir. */
    image-rendering: pixelated;
    filter: drop-shadow(0 0 12px rgba(245, 214, 120, 0.35));
}

.nav-links {
    display: flex;
    gap: 24px;
    margin-left: auto;
}

.nav-links a {
    font-size: 9px;
    letter-spacing: 0.4px;
    color: var(--texto-medio);
    text-decoration: none;
    transition: color 0.2s var(--suave);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--dourado);
}

.nav-toggle {
    display: none;
    margin-left: auto;
    padding: 8px 12px;
    font-size: 14px;
    color: var(--texto);
    background: transparent;
    border: 1px solid var(--borda);
    cursor: pointer;
}

@media (max-width: 900px) {
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        margin: 0;
        background: rgba(2, 6, 13, 0.97);
        border-bottom: 1px solid var(--borda);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s var(--suave);
    }

    .nav-links.open {
        max-height: 320px;
    }

    .nav-links a {
        padding: 14px clamp(16px, 4vw, 40px);
        border-top: 1px solid var(--borda);
    }

    .nav-toggle {
        display: block;
    }

    .nav .btn-small {
        display: none;
    }
}

/* ---------------------------------------------------------------- botões - */

.btn {
    display: inline-block;
    padding: 16px 30px;
    font-family: var(--pixel);
    font-size: 11px;
    line-height: 1.6;
    letter-spacing: 0.5px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.25s var(--suave);
}

.btn-small {
    padding: 11px 18px;
    font-size: 9px;
}

.btn-green {
    color: var(--fundo);
    background: var(--verde);
}

.btn-green:hover {
    background: var(--verde-claro);
    transform: translateY(-2px);
}

.btn-gold {
    color: var(--fundo);
    background: var(--dourado);
}

.btn-gold:hover {
    background: var(--dourado-claro);
    transform: translateY(-2px);
}

.btn-ghost {
    color: var(--texto);
    background: transparent;
    border: 1px solid var(--borda-forte);
}

.btn-ghost:hover {
    color: var(--dourado);
    border-color: var(--dourado);
    transform: translateY(-2px);
}

/* ------------------------------------------------------------------ hero - */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 120px 20px 90px;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(180deg, rgba(2, 6, 13, 0.72) 0%, rgba(2, 6, 13, 0.86) 55%, var(--fundo) 100%),
        url('https://hebbkx1anhila5yf.public.blob.vercel-storage.com/2026-04-04_15.33.39-ioMsMCcLMrIE1xhnyrbaqwE5rAIx6x.png');
    background-size: cover;
    background-position: center;
    /* pixelado de proposito: e uma captura do jogo */
    image-rendering: pixelated;
}

.hero-glow {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 55% at 50% 30%, rgba(245, 214, 120, 0.11), transparent 70%),
        radial-gradient(ellipse 60% 50% at 80% 90%, rgba(99, 99, 198, 0.09), transparent 70%);
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 720px;
}

.hero-logo {
    width: min(520px, 88vw);
    height: auto;
    margin: 0 auto;
    filter: drop-shadow(0 0 40px rgba(245, 214, 120, 0.3));
    animation: subir 0.8s var(--suave) backwards;
}

.hero-domain {
    margin: 18px 0 0;
    font-family: var(--pixel);
    font-size: 12px;
    color: var(--texto-medio);
    animation: subir 0.8s 0.1s var(--suave) backwards;
}

.hero-text {
    margin: 30px auto 0;
    max-width: 600px;
    font-size: 12px;
    line-height: 2.2;
    color: var(--texto-medio);
    animation: subir 0.8s 0.2s var(--suave) backwards;
}

.hero-text b {
    color: var(--texto);
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 36px;
    animation: subir 0.8s 0.3s var(--suave) backwards;
}

.hero-status {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 32px;
    padding: 11px 20px;
    font-size: 9px;
    letter-spacing: 0.5px;
    color: var(--texto-medio);
    background: var(--caixa);
    border: 1px solid var(--borda);
    border-radius: 999px;
    animation: subir 0.8s 0.4s var(--suave) backwards;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--texto-fraco);
    transition: background 0.3s var(--suave);
}

.dot.online {
    background: var(--verde-claro);
    box-shadow: 0 0 0 0 rgba(34, 211, 74, 0.6);
    animation: pulsar 2.4s var(--suave) infinite;
}

.dot.offline {
    background: #e5484d;
}

@keyframes pulsar {
    to {
        box-shadow: 0 0 0 8px transparent;
    }
}

@keyframes subir {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.hero-down {
    position: absolute;
    bottom: 30px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-family: var(--pixel);
    font-size: 8px;
    letter-spacing: 1px;
    color: var(--texto-fraco);
    text-decoration: none;
    transition: color 0.2s var(--suave);
}

.hero-down:hover {
    color: var(--dourado);
}

.hero-down .arrow {
    font-size: 18px;
    animation: flutuar 2s ease-in-out infinite;
}

@keyframes flutuar {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(5px);
    }
}

/* ---------------------------------------------------------------- seções - */

.section {
    padding: clamp(70px, 11vw, 120px) 20px;
}

.section-alt {
    background: var(--fundo-alt);
    border-top: 1px solid var(--borda);
    border-bottom: 1px solid var(--borda);
}

.wrap {
    width: min(var(--width), 100%);
    margin: 0 auto;
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(32px, 6vw, 70px);
    align-items: center;
}

.reversed .copy {
    order: 2;
}

@media (max-width: 860px) {
    .split {
        grid-template-columns: 1fr;
    }

    .reversed .copy {
        order: 0;
    }
}

.label {
    margin: 0 0 14px;
    font-family: var(--pixel);
    font-size: 9px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--roxo);
}

h2 {
    margin: 0 0 22px;
    font-family: var(--pixel);
    font-size: clamp(16px, 2.6vw, 24px);
    line-height: 1.7;
    color: var(--dourado);
}

h3 {
    margin: 0 0 10px;
    font-size: 12px;
    line-height: 1.8;
    font-weight: 400;
    color: var(--texto);
}

.copy p {
    margin: 0 0 22px;
    font-size: 11px;
    line-height: 2.3;
    color: var(--texto-medio);
}

.copy b {
    color: var(--texto);
    font-weight: 600;
}

.lead {
    max-width: 660px;
    margin: 0 auto;
    font-size: 11px;
    line-height: 2.3;
    color: var(--texto-medio);
}

.head {
    text-align: center;
    margin-bottom: 52px;
}

.ticks {
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.ticks li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 14px;
    font-size: 10.5px;
    line-height: 2.1;
    color: var(--texto-medio);
}

.ticks li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 11px;
    width: 7px;
    height: 7px;
    background: var(--dourado);
}

/* figuras */

.shot img {
    width: 100%;
    border: 1px solid var(--borda);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.5);
}

/* Sem o arquivo no lugar, a moldura vira um espaço marcado em vez de um
   ícone de imagem quebrada. */
.shot.no-image::before,
figure.no-image::before {
    content: 'image goes here';
    display: grid;
    place-items: center;
    min-height: 240px;
    font-family: var(--pixel);
    font-size: 9px;
    color: var(--texto-fraco);
    background: var(--caixa);
    border: 1px dashed var(--borda-forte);
}

.shot.no-image img,
figure.no-image img {
    display: none;
}

/* galeria */

/* Duas colunas, nao tres: sao capturas de interface, e num quadro pequeno
   demais nao se le o que esta escrito na tela. */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
    gap: 26px;
    margin-bottom: 52px;
}

.gallery figure {
    margin: 0;
}

.gallery img {
    width: 100%;
    aspect-ratio: 16 / 9;
    /* contain, nao cover: cortar uma captura de menu tira justamente o menu */
    object-fit: contain;
    background: #0a0f18;
    border: 1px solid var(--borda);
}

.gallery figcaption {
    margin-top: 14px;
    font-size: 9.5px;
    line-height: 2;
    color: var(--texto-fraco);
}

/* cartões */

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

.card {
    padding: 26px 24px;
    background: var(--caixa);
    border: 1px solid var(--borda);
    transition: border-color 0.25s var(--suave), transform 0.25s var(--suave);
}

.card:hover {
    border-color: var(--borda-forte);
    transform: translateY(-4px);
}

.card p {
    margin: 0;
    font-size: 10px;
    line-height: 2.2;
    color: var(--texto-medio);
}

.row {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.row-note {
    font-size: 8.5px;
    color: var(--texto-fraco);
}

/* ---------------------------------------------------------------- números */

.totals {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
    margin-bottom: 56px;
}

.total {
    padding: 26px 18px;
    text-align: center;
    background: var(--caixa);
    border: 1px solid var(--borda);
}

.total-value {
    font-family: var(--pixel);
    font-size: clamp(15px, 2.4vw, 21px);
    color: var(--dourado);
}

.total-label {
    margin-top: 14px;
    font-size: 8px;
    line-height: 1.9;
    color: var(--texto-fraco);
}

/* ranking */

.rank {
    background: var(--caixa);
    border: 1px solid var(--borda);
}

.rank-tabs {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--borda);
}

.tab {
    flex: 1;
    min-width: 130px;
    padding: 16px 12px;
    font-family: var(--pixel);
    font-size: 8.5px;
    letter-spacing: 0.4px;
    color: var(--texto-fraco);
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s var(--suave);
}

.tab:hover {
    color: var(--texto);
}

.tab.active {
    color: var(--dourado);
    background: var(--caixa-alta);
    border-bottom-color: var(--dourado);
}

.rank-list {
    margin: 0;
    padding: 10px 0;
    list-style: none;
    counter-reset: pos;
}

.rank-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 11px clamp(14px, 3vw, 26px);
    counter-increment: pos;
    animation: aparecer 0.4s var(--suave) backwards;
}

@keyframes aparecer {
    from {
        opacity: 0;
        transform: translateX(-8px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.rank-pos {
    width: 30px;
    flex-shrink: 0;
    font-family: var(--pixel);
    font-size: 11px;
    color: var(--texto-fraco);
}

/* Os três primeiros ganham cor: é o pódio. */
.rank-item:nth-child(1) .rank-pos {
    color: var(--dourado);
}

.rank-item:nth-child(2) .rank-pos {
    color: #c9d1d9;
}

.rank-item:nth-child(3) .rank-pos {
    color: #cd7f32;
}

.rank-head {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    image-rendering: pixelated;
    background: var(--borda);
}

.rank-name {
    flex: 1;
    min-width: 0;
    font-size: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-value {
    flex-shrink: 0;
    font-family: var(--pixel);
    font-size: 10px;
    color: var(--dourado-escuro);
}

.rank-bar {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--dourado-escuro), transparent);
    opacity: 0.35;
}

.rank-item {
    position: relative;
}

.rank-note {
    margin: 0;
    padding: 16px clamp(14px, 3vw, 26px);
    font-size: 8px;
    line-height: 1.9;
    color: var(--texto-fraco);
    border-top: 1px solid var(--borda);
}

/* ------------------------------------------------------------------ fim -- */

.section-close {
    text-align: center;
}

.ip {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 38px;
    padding: 12px 14px 12px 20px;
    background: var(--caixa);
    border: 1px solid var(--borda);
    border-radius: 999px;
    cursor: pointer;
    transition: border-color 0.2s var(--suave);
}

.ip:hover {
    border-color: var(--dourado);
}

.ip-label {
    font-family: var(--pixel);
    font-size: 8px;
    color: var(--texto-fraco);
}

.ip-value {
    font-family: var(--pixel);
    font-size: 12px;
    color: var(--dourado);
}

.ip-copy {
    padding: 6px 12px;
    font-size: 8px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--texto-fraco);
    background: var(--fundo);
    border-radius: 999px;
}

.ip-copy.copied {
    color: var(--fundo);
    background: var(--verde);
}

/* --------------------------------------------------------------- rodapé -- */

.footer {
    padding: 44px 20px;
    background: var(--fundo-alt);
    border-top: 1px solid var(--borda);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    width: min(var(--width), 100%);
    margin: 0 auto;
}

.footer-logo {
    height: 30px;
    width: auto;
    image-rendering: pixelated;
    filter: drop-shadow(0 0 12px rgba(245, 214, 120, 0.3));
}

.footer-note {
    margin: 10px 0 0;
    font-size: 8px;
    color: var(--texto-fraco);
}

.footer-links {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
}

.footer-links a {
    font-size: 9px;
    color: var(--texto-medio);
    text-decoration: none;
    transition: color 0.2s var(--suave);
}

.footer-links a:hover {
    color: var(--dourado);
}

/* -------------------------------------------------- aparecer ao rolar ---- */

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--suave), transform 0.7s var(--suave);
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* Quem pediu menos movimento não recebe nenhum. */
@media (prefers-reduced-motion: reduce) {

    .reveal,
    .reveal.is-visible {
        opacity: 1;
        transform: none;
        transition: none;
    }

    * {
        animation: none !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* ------------------------------------------------------------------ lore - */

.lore-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 40px;
}

.lore-card {
    display: block;
    padding: 26px 24px;
    text-decoration: none;
    background: var(--caixa);
    border: 1px solid var(--borda);
    transition: border-color 0.25s var(--suave), transform 0.25s var(--suave);
}

.lore-card:hover {
    border-color: var(--dourado);
    transform: translateY(-4px);
}

.lore-num {
    font-family: var(--pixel);
    font-size: 10px;
    color: var(--roxo);
}

.lore-card h3 {
    margin: 12px 0 4px;
    font-size: 17px;
    color: var(--dourado);
}

.lore-count {
    margin: 0;
    font-size: 8.5px;
    color: var(--texto-fraco);
}

/* o evento mais recente, em destaque */

.lore-latest {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 0;
    text-decoration: none;
    background: var(--caixa);
    border: 1px solid var(--borda);
    overflow: hidden;
    transition: border-color 0.25s var(--suave);
}

.lore-latest:hover {
    border-color: var(--dourado);
}

.lore-latest img {
    width: 100%;
    height: 100%;
    min-height: 240px;
    object-fit: cover;
}

.lore-latest-text {
    padding: 32px clamp(22px, 3vw, 38px);
    align-self: center;
}

.lore-latest-text h3 {
    margin: 0 0 12px;
    font-family: var(--pixel);
    font-size: 15px;
    line-height: 1.7;
    color: var(--dourado);
}

.lore-latest-text p {
    margin: 0 0 18px;
    font-size: 10px;
    line-height: 2.2;
    color: var(--texto-medio);
}

.link-arrow {
    font-size: 9px;
    color: var(--dourado);
}

@media (max-width: 800px) {
    .lore-latest {
        grid-template-columns: 1fr;
    }
}

/* ------------------------------------------------------------ apoiadores - */

.supporters {
    padding: 30px 28px;
    background: var(--caixa);
    border: 1px solid var(--borda);
}

/* auto-fit com um minimo largo: a coluna cresce ate caber o nome inteiro.
   Quem apoia o servidor nao pode aparecer com o nome cortado. */
.supporters-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px 18px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.supporters-list li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.supporters-list img {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    image-rendering: pixelated;
    background: var(--borda);
}

.supporters-list span {
    font-size: 8.5px;
    line-height: 1.7;
    color: var(--texto-medio);
    /* Nada de cortar: um nome comprido quebra em duas linhas. */
    overflow-wrap: anywhere;
}

/* -------------------------------------------- avisos e redes do topo ----- */

.hero-note {
    margin: 26px 0 0;
    font-family: var(--pixel);
    font-size: 10px;
    letter-spacing: 1.2px;
    color: var(--roxo);
    animation: subir 0.8s 0.25s var(--suave) backwards;
}

.hero-social {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 26px;
    animation: subir 0.8s 0.35s var(--suave) backwards;
}

.hero-social a {
    font-family: var(--pixel);
    font-size: 9px;
    letter-spacing: 0.5px;
    color: var(--texto-medio);
    text-decoration: none;
    transition: color 0.2s var(--suave);
}

.hero-social a:hover {
    color: var(--dourado);
}

/* O bloco de apoio fica lado a lado com o painel de apoiadores; sem isto o
   texto longo espremeria a lista. */
#support .split {
    align-items: start;
}

/* --------------------------------------------- fundo de cada seção ------ */

/* A imagem vem no style da própria seção (--bg), porque é conteúdo: cada
   categoria tem a sua. O véu por cima é forte de propósito — o fundo é
   textura, não ilustração, e o texto precisa continuar legível. */
.has-bg {
    position: relative;
    isolation: isolate;
}

.has-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(180deg, var(--fundo) 0%, rgba(2, 6, 13, 0.9) 22%,
            rgba(2, 6, 13, 0.9) 78%, var(--fundo) 100%),
        var(--bg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Fundo fixo custa caro em telas de toque, e alguns navegadores móveis
   simplesmente ignoram — melhor rolar junto. */
@media (max-width: 900px), (hover: none) {
    .has-bg::before {
        background-attachment: scroll;
    }
}

/* A seção alternada já tinha um fundo sólido, que taparia a imagem. */
.section-alt.has-bg {
    background: transparent;
}

/* ------------------------------------------------- ampliar a imagem ----- */

.zoomable {
    cursor: zoom-in;
}

/* O atributo hidden do HTML vale display:none, mas qualquer regra de classe
   com display ganha dele. Sem esta linha o visualizador nasce aberto. */
.viewer[hidden] {
    display: none;
}

.viewer {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    padding: 60px 20px;
    background: rgba(2, 6, 13, 0.94);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    animation: fade 0.2s var(--suave);
}

@keyframes fade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.viewer-figure {
    margin: 0;
    max-width: min(1200px, 100%);
    text-align: center;
}

.viewer-figure img {
    max-width: 100%;
    max-height: calc(100vh - 160px);
    margin: 0 auto;
    object-fit: contain;
    border: 1px solid var(--borda);
    animation: pop 0.25s var(--suave);
}

@keyframes pop {
    from {
        opacity: 0;
        transform: scale(0.97);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.viewer-figure figcaption {
    margin-top: 18px;
    font-size: 9px;
    line-height: 2;
    color: var(--texto-medio);
}

.viewer button {
    position: absolute;
    display: grid;
    place-items: center;
    color: var(--texto-medio);
    background: var(--caixa);
    border: 1px solid var(--borda);
    cursor: pointer;
    transition: all 0.2s var(--suave);
}

.viewer button:hover {
    color: var(--dourado);
    border-color: var(--dourado);
}

.viewer-close {
    top: 18px;
    right: 18px;
    width: 40px;
    height: 40px;
    font-size: 15px;
}

.viewer-prev,
.viewer-next {
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 60px;
    font-size: 26px;
    line-height: 1;
}

.viewer-prev {
    left: 18px;
}

.viewer-next {
    right: 18px;
}

.viewer-prev:hover,
.viewer-next:hover {
    transform: translateY(-50%);
}

@media (max-width: 620px) {

    .viewer-prev,
    .viewer-next {
        top: auto;
        bottom: 18px;
        transform: none;
        width: 56px;
        height: 44px;
    }

    .viewer-prev:hover,
    .viewer-next:hover {
        transform: none;
    }
}
