/* Catalogo de layouts: identidade do site da Lapin (preto esverdeado, verde neon, Inter). */
@font-face {
    font-family: "Inter";
    src: url("/fonts/inter-latin.woff2") format("woff2");
    font-weight: 100 900;
    font-display: swap;
}

:root {
    --neon: #48fc00;
    --neon-suave: #7dff4d;
    --fundo: #070c06;
    --fundo-2: #0d150b;
    --cartao: #0f180d;
    --borda: rgba(72, 252, 0, .16);
    --texto: #eaf5e6;
    --texto-fraco: #9bb394;
    --raio: 16px;
    --max: 1240px;
    --fonte: "Inter", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
    color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--fundo);
    color: var(--texto);
    font: 400 16px/1.6 var(--fonte);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
[hidden] { display: none !important; }

.caixa { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: 24px; }

/* topo */
.topo {
    position: sticky; top: 0; z-index: 10;
    background: rgba(7, 12, 6, .82);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(72, 252, 0, .08);
}
.topo-linha { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.marca { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 1.05rem; letter-spacing: -.01em; }
.marca img { width: 44px; height: auto; }
.marca b { color: var(--neon); font-weight: 700; }

.botao {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 44px; padding: 0 20px; border-radius: 999px;
    font-weight: 600; font-size: .95rem; text-decoration: none; white-space: nowrap;
    transition: background .2s, color .2s, box-shadow .2s, transform .2s;
}
.botao-contorno { border: 1px solid var(--borda); color: var(--texto); }
.botao-contorno:hover { border-color: var(--neon); color: var(--neon); }
.botao-cheio { background: var(--neon); color: #071006; }
.botao-cheio:hover { background: var(--neon-suave); box-shadow: 0 0 32px rgba(72, 252, 0, .35); }

/* abertura com hexagonos de fundo */
.heroi {
    position: relative; overflow: hidden;
    padding-block: clamp(56px, 9vw, 112px) clamp(32px, 5vw, 56px);
    background:
        radial-gradient(60% 80% at 85% 0%, rgba(72, 252, 0, .14), transparent 60%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 1 55 16.5v31L28 63 1 47.5v-31z M28 63v34' fill='none' stroke='%2348fc00' stroke-opacity='.07'/%3E%3C/svg%3E");
}
.heroi::after {
    content: ""; position: absolute; inset: auto 0 0 0; height: 120px;
    background: linear-gradient(transparent, var(--fundo)); pointer-events: none;
}
.heroi .caixa { position: relative; z-index: 1; }
.sobretitulo {
    margin: 0 0 16px; color: var(--neon);
    font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
}
h1 {
    margin: 0; max-width: 19ch; text-wrap: balance;
    font-size: clamp(2.3rem, 5.6vw, 4.4rem); line-height: 1.04; letter-spacing: -.035em; font-weight: 700;
}
h1 em { font-style: normal; color: var(--neon); }
.lide { max-width: 60ch; margin: 24px 0 0; color: var(--texto-fraco); font-size: clamp(1rem, 1.6vw, 1.15rem); }
.nota {
    display: inline-block; margin: 24px 0 0; padding: 10px 16px;
    border: 1px dashed var(--borda); border-radius: 12px;
    color: var(--texto-fraco); font-size: .9rem;
}
.nota b { color: var(--texto); }

/* filtros */
.catalogo { padding-block: 8px 72px; }
.filtros { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filtro {
    display: inline-flex; align-items: center; gap: 8px;
    min-height: 40px; padding: 0 16px; border-radius: 999px;
    border: 1px solid var(--borda); background: transparent; color: var(--texto-fraco);
    font: 500 .9rem var(--fonte); cursor: pointer; transition: all .2s;
}
.filtro span { font-size: .78rem; opacity: .7; }
.filtro:hover { color: var(--texto); border-color: rgba(72, 252, 0, .4); }
.filtro.ativo { background: var(--neon); border-color: var(--neon); color: #071006; }
.filtro:focus-visible, .cartao a:focus-visible, .botao:focus-visible { outline: 2px solid var(--neon); outline-offset: 3px; }

/* grade de cartoes */
.grade {
    list-style: none; margin: 0; padding: 0;
    display: grid; gap: 24px;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
}
.cartao a {
    display: flex; flex-direction: column; height: 100%;
    background: var(--cartao); border: 1px solid rgba(255, 255, 255, .06); border-radius: var(--raio);
    overflow: hidden; text-decoration: none;
    transition: transform .25s, border-color .25s, box-shadow .25s;
}
.cartao a:hover { transform: translateY(-4px); border-color: var(--borda); box-shadow: 0 18px 48px rgba(0, 0, 0, .45), 0 0 0 1px rgba(72, 252, 0, .08); }
.miniatura { position: relative; display: block; aspect-ratio: 16 / 10; background: var(--fundo-2); overflow: hidden; }
.miniatura img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .6s; }
.cartao a:hover .miniatura img { transform: scale(1.035); }
.numero {
    position: absolute; left: 12px; top: 12px;
    padding: 4px 10px; border-radius: 999px;
    background: rgba(7, 12, 6, .85); color: var(--neon);
    font-size: .8rem; font-weight: 700; letter-spacing: .04em;
}
.corpo { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 20px; flex: 1; }
.etiqueta { color: var(--neon); font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.corpo strong { font-size: 1.2rem; font-weight: 650; letter-spacing: -.01em; }
.descricao { color: var(--texto-fraco); font-size: .93rem; line-height: 1.5; }
.ver { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 12px; font-size: .9rem; font-weight: 600; color: var(--texto); }
.ver svg { width: 18px; height: 18px; fill: none; stroke: var(--neon); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.cartao a:hover .ver svg { transform: translateX(4px); }

/* chamada final */
.chamada { padding-block: 0 80px; }
.chamada-linha {
    display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
    padding-block: 36px; border-top: 1px solid var(--borda);
}
.chamada h2 { margin: 0 0 6px; font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -.02em; }
.chamada p { margin: 0; max-width: 58ch; color: var(--texto-fraco); }

.rodape { border-top: 1px solid rgba(255, 255, 255, .06); padding-block: 22px 96px; color: var(--texto-fraco); font-size: .88rem; }
.rodape .caixa { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.rodape a { text-decoration: none; }
.rodape a:hover { color: var(--neon); }

@media (max-width: 560px) {
    .caixa { padding-inline: 16px; }
    .topo .botao { padding: 0 14px; font-size: .85rem; }
    .marca span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
