@charset "UTF-8";
/* =========================================================
   BullRock - landing page
   Paleta: palco preto/vermelho, papel bege envelhecido, grafite
   ========================================================= */

@font-face {
    font-family: "Staatliches";
    src: url("../fonts/staatliches.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Special Elite";
    src: url("../fonts/special-elite.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --palco: #070102;
    --sangue: #8e0f14;
    --vermelho: #c4161c;
    --brasa: #ff5a40;
    --bege: #e6d8b8;
    --bege-escuro: #c9b48a;
    --tinta: #1f120c;
    --grafite: #a39a93;

    --f-titulo: "Staatliches", "Oswald", "Arial Narrow", Impact, sans-serif;
    --f-texto: "Special Elite", "Courier New", Courier, monospace;

    --largura: 460px;
    --raio-toque: 56px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    background: var(--palco);
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--bege);
    font-family: var(--f-texto);
    background:
        radial-gradient(ellipse 70% 55% at 50% 30%, rgba(122, 13, 16, .45), transparent 70%),
        var(--palco);
    -webkit-tap-highlight-color: transparent;
}

/* Desktop: o palco vira um cartaz vertical centralizado, com o mesmo cenário
   desfocado ao fundo (parede do clube). */
body::before {
    content: "";
    position: fixed;
    inset: -40px;
    z-index: -1;
    background: url("../images/background.webp") center 20% / cover no-repeat;
    filter: blur(28px) brightness(.32) saturate(1.2);
}

.ico { width: 1em; height: 1em; display: inline-block; flex: none; }

/* ---------------------------------------------------------
   Palco (container principal)
   --------------------------------------------------------- */
.palco {
    position: relative;
    max-width: var(--largura);
    min-height: 100vh;
    min-height: 100svh;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #000;
    isolation: isolate;
}

.palco-fundo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    z-index: -1;
    pointer-events: none;
    animation: luzes-acendem 1.1s ease-out both;
}

@keyframes luzes-acendem {
    0%   { opacity: .15; filter: brightness(.4); }
    35%  { opacity: .55; filter: brightness(.7); }
    45%  { opacity: .35; filter: brightness(.5); }
    100% { opacity: 1;   filter: none; }
}

@media (min-width: 520px) {
    .palco {
        min-height: 0;
        margin: 28px auto;
        box-shadow: 0 0 0 1px rgba(196, 22, 28, .25), 0 30px 80px rgba(0, 0, 0, .85);
    }
}

/* ---------------------------------------------------------
   Compartilhar (geral)
   --------------------------------------------------------- */
.share-geral {
    position: absolute;
    top: max(14px, env(safe-area-inset-top));
    right: 14px;
    z-index: 5;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(230, 216, 184, .35);
    border-radius: 50%;
    background: rgba(7, 1, 2, .55);
    color: var(--bege);
    font-size: 19px;
    cursor: pointer;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}
.share-geral:active { transform: scale(.94); }

/* ---------------------------------------------------------
   Topo: logo + tagline
   --------------------------------------------------------- */
.topo {
    position: relative;
    padding: 50px 22px 4px;
    text-align: center;
}

/* brilho de refletor atrás do logo (sem moldura, sem cartão) */
.topo::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 40%;
    width: 125%;
    aspect-ratio: 1.15;
    transform: translate(-50%, -50%);
    background: radial-gradient(closest-side, rgba(255, 90, 64, .22), rgba(142, 15, 20, .16) 50%, transparent 78%);
    pointer-events: none;
    z-index: -1;
}

.logo {
    margin: 0;
    line-height: 0;
    animation: logo-entra .9s .35s ease-out both;
}

.logo-img {
    display: block;
    width: min(76%, 320px);
    height: auto;
    margin: 0 auto;
    /* respingos do topo do logo se dissolvem na luz do palco */
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 9%);
    mask-image: linear-gradient(to bottom, transparent 0, #000 9%);
}

/* Logo com fundo escuro chapado: o preto "some" no palco e as bordas se dissolvem */
.logo-img--escuro {
    mix-blend-mode: lighten;
    filter: none;
    -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent 100%);
    mask-image: radial-gradient(closest-side, #000 72%, transparent 100%);
}

/* Logo com fundo claro: bordas esfumadas para não parecer um quadro colado */
.logo-img--claro {
    filter: none;
    -webkit-mask-image: radial-gradient(closest-side, #000 70%, transparent 100%);
    mask-image: radial-gradient(closest-side, #000 70%, transparent 100%);
}

/* Letreiro usado enquanto images/logo.* não for enviado */
.logo-letreiro {
    display: inline-block;
    font: 400 clamp(64px, 21vw, 92px)/.9 var(--f-titulo);
    letter-spacing: .03em;
    text-transform: uppercase;
    color: var(--bege);
    text-shadow: 0 0 2px rgba(0, 0, 0, .6), 0 8px 30px rgba(0, 0, 0, .9), 0 0 50px rgba(196, 22, 28, .55);
}

@keyframes logo-entra {
    0%   { opacity: 0; transform: scale(.96); }
    30%  { opacity: .8; }
    38%  { opacity: .3; }
    48%  { opacity: 1; }
    100% { opacity: 1; transform: none; }
}

.tagline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 6px 0 0;
    font: 400 20px/1 var(--f-titulo);
    letter-spacing: .32em;
    text-transform: uppercase;
    color: #ecd6b0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .9);
}
.tagline span { padding-left: .32em; } /* compensa o espaçamento da última letra */
.tagline .ico { font-size: 14px; color: var(--vermelho); filter: drop-shadow(0 0 6px rgba(255, 60, 40, .7)); }

/* ---------------------------------------------------------
   Ações (botões de papel)
   --------------------------------------------------------- */
.acoes {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    padding: 26px 16px 18px;
}

.acao {
    position: relative;
    display: flex;
    align-items: stretch;
    min-height: 84px;
    color: var(--tinta);
    background: url("../images/papel-bege.webp") center / 100% 100% no-repeat;
}
.acao--inclina-a { transform: rotate(-.6deg); }
.acao--inclina-b { transform: rotate(.5deg); }

.acao-corpo {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 14px 4px 14px 20px;
    color: inherit;
    text-decoration: none;
    font: inherit;
    text-align: left;
    background: none;
    border: 0;
    cursor: pointer;
}

.acao-icone {
    width: 30px;
    height: 30px;
    flex: none;
}

.acao-texto {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.acao-titulo {
    font: 400 clamp(19px, 5.5vw, 24px)/1.02 var(--f-titulo);
    letter-spacing: .03em;
    text-transform: uppercase;
}

.acao-sub {
    font: 400 13px/1.25 var(--f-texto);
    opacity: .85;
}

.acao-seta {
    width: 18px;
    height: 18px;
    flex: none;
    margin-left: auto;
    opacity: .7;
}

.acao-share {
    flex: none;
    width: 52px;
    display: grid;
    place-items: center;
    margin: 14px 10px 14px 0;
    padding: 0;
    color: inherit;
    font-size: 19px;
    background: none;
    border: 0;
    border-left: 2px dashed rgba(31, 18, 12, .35);
    cursor: pointer;
}

.acao-corpo:active,
.acao-share:active { transform: scale(.97); }

/* PIX: destaque vermelho */
.acao--vermelho {
    color: var(--bege);
    background-image: url("../images/papel-vermelho.webp");
    min-height: 92px;
    transform: rotate(-1deg) scale(1.02);
    filter: drop-shadow(0 0 18px rgba(196, 22, 28, .45));
}
.acao--vermelho .acao-titulo { font-size: clamp(22px, 6.4vw, 27px); }
.acao--vermelho .acao-sub { opacity: .95; }
.acao--vermelho .acao-icone { color: #ffe3d0; }
.acao--vermelho .acao-share { border-left-color: rgba(230, 216, 184, .4); }

/* Loja: grafite, indisponível */
.acao--grafite {
    color: var(--grafite);
    background-image: url("../images/papel-grafite.webp");
    min-height: 74px;
}
.acao--off .acao-corpo { cursor: default; }
.acao--off .acao-corpo:active { transform: none; }
.acao--off .acao-icone { width: 28px; height: 28px; opacity: .7; }
.acao--off .acao-titulo { font-size: clamp(18px, 5vw, 21px); }
.acao--off .acao-sub { font-size: 13px; opacity: .8; }

/* foco visível (teclado) */
.acao-corpo:focus-visible,
.acao-share:focus-visible,
.share-geral:focus-visible,
.pix-copiar:focus-visible,
.pix-fechar:focus-visible {
    outline: 3px solid #ffb347;
    outline-offset: 2px;
}

/* ---------------------------------------------------------
   Rodapé sobre o amplificador
   --------------------------------------------------------- */
.rodape {
    position: relative;
    flex: none;
    width: 100%;
    aspect-ratio: 860 / 290;
    max-height: 156px;
    margin-top: 6px;
    background: url("../images/amplificador.webp") center top / 100% auto no-repeat;
}

/* placa escura no painel do amplificador */
.rodape-placa {
    position: absolute;
    left: 22.8%;
    right: 22.8%;
    top: 31.1%;
    height: 20.7%;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .55em;
    font: 400 clamp(12px, 3.5vw, 15px)/1 var(--f-titulo);
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #e9cf96;
    text-shadow: 0 0 8px rgba(255, 140, 60, .35);
    white-space: nowrap;
}
.rodape-placa span + span::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 4px;
    margin-right: .55em;
    border-radius: 50%;
    background: var(--vermelho);
    vertical-align: middle;
    transform: translateY(-1px);
    box-shadow: 0 0 6px rgba(255, 60, 40, .8);
}

/* ---------------------------------------------------------
   Aviso (toast)
   --------------------------------------------------------- */
.aviso {
    position: fixed;
    left: 50%;
    bottom: max(22px, env(safe-area-inset-bottom));
    z-index: 50;
    max-width: min(92vw, 420px);
    padding: 12px 18px;
    transform: translate(-50%, 20px);
    opacity: 0;
    pointer-events: none;
    font: 400 14px/1.35 var(--f-texto);
    color: var(--tinta);
    background: var(--bege);
    border-left: 5px solid var(--vermelho);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .7);
    transition: opacity .2s ease, transform .2s ease;
    word-break: break-word;
}
.aviso.visivel { opacity: 1; transform: translate(-50%, 0); }

/* ---------------------------------------------------------
   Diálogo PIX
   --------------------------------------------------------- */
.pix-dialogo {
    width: min(94vw, 430px);
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--tinta);
    overflow-y: auto;
    overscroll-behavior: contain;
}
.pix-dialogo::backdrop { background: rgba(0, 0, 0, .82); }
.pix-dialogo.sem-suporte {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 60;
    display: block;
}
.pix-dialogo:not([open]) { display: none; }

.pix-papel {
    position: relative;
    padding: 42px 30px 44px;
    text-align: center;
    background: url("../images/papel-cartaz.webp") center / 100% 100% no-repeat;
}
.pix-papel h2 {
    margin: 4px 0 16px;
    font: 400 34px/1 var(--f-titulo);
    letter-spacing: .03em;
    text-transform: uppercase;
}
.pix-papel h2:focus { outline: none; }
.pix-coracao { width: 40px; height: 40px; color: var(--vermelho); }

.pix-qr { margin: 0 0 16px; }
.pix-qr-img {
    width: 196px;
    height: 196px;
    margin: 0 auto;
    padding: 4px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 0 2px rgba(31, 18, 12, .55), 0 6px 14px rgba(0, 0, 0, .25);
}
.pix-qr-img svg { display: block; width: 100%; height: 100%; }
.pix-qr figcaption { margin-top: 10px; font-size: 15px; }

.pix-instrucao { margin: 0 0 4px; font-size: 16px; line-height: 1.45; }
.pix-instrucao strong { font-weight: 400; text-decoration: underline; text-decoration-color: var(--vermelho); text-underline-offset: 3px; }
.pix-valor { margin: 8px 0 0; font: 400 36px/1 var(--f-titulo); color: var(--sangue); }
.pix-rotulo { margin: 0; font: 400 16px/1 var(--f-titulo); letter-spacing: .12em; text-transform: uppercase; opacity: .75; }
.pix-chave { margin: 6px 0 4px; font-size: 18px; word-break: break-all; }
.pix-favorecido { margin: 14px 0 0; font-size: 15px; }

.pix-copiar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 58px;
    margin-top: 14px;
    padding: 0 28px;
    font: 400 23px/1 var(--f-titulo);
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--bege);
    background: url("../images/papel-vermelho.webp") center / 100% 100% no-repeat;
    border: 0;
    cursor: pointer;
}
.pix-alternativa { margin: 18px 0 0; font-size: 15px; line-height: 1.5; }
.pix-link {
    padding: 8px 4px;
    font: inherit;
    color: var(--sangue);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
    background: none;
    border: 0;
    cursor: pointer;
}
.pix-link:focus-visible { outline: 3px solid #ffb347; outline-offset: 2px; }

.pix-fechar {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    font-size: 24px;
    color: var(--tinta);
    background: rgba(31, 18, 12, .1);
    border: 2px solid rgba(31, 18, 12, .45);
    border-radius: 50%;
    cursor: pointer;
}
.pix-fechar:active { transform: scale(.94); }

@media (max-height: 700px) {
    .pix-papel { padding-top: 34px; padding-bottom: 36px; }
    .pix-qr-img { width: 160px; height: 160px; }
    .pix-papel h2 { font-size: 30px; margin-bottom: 12px; }
}

/* ---------------------------------------------------------
   Integrantes
   --------------------------------------------------------- */
.dialogo--integrantes {
    width: min(94vw, 460px);
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--tinta);
    overflow: visible;
}
.dialogo--integrantes::backdrop { background: rgba(0, 0, 0, .82); }
.dialogo--integrantes.sem-suporte {
    position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 60; display: block;
}
.dialogo--integrantes:not([open]) { display: none; }
.dialogo--integrantes .pix-fechar { z-index: 2; }

.integrantes-papel {
    max-height: calc(100vh - 24px);
    max-height: calc(100dvh - 24px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 42px 26px 34px;
    background: url("../images/papel-cartaz.webp") center / 100% 100% no-repeat;
}
.integrantes-papel h2 {
    margin: 4px 60px 8px;
    text-align: center;
    font: 400 36px/1 var(--f-titulo);
    letter-spacing: .04em;
    text-transform: uppercase;
}
.integrantes-papel h2:focus { outline: none; }
.integrantes-intro { margin: 0 0 10px; text-align: center; font-size: 15px; line-height: 1.4; }

.membros { list-style: none; margin: 0; padding: 0; }
.membro {
    display: grid;
    grid-template-columns: 124px 1fr;
    gap: 16px;
    align-items: start;
    padding: 18px 0;
}
.membro + .membro { border-top: 2px dashed rgba(31, 18, 12, .28); }

.membro-foto {
    display: block;
    width: 124px;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
    border: 6px solid #f6eedb;
    border-bottom-width: 18px;
    background: #2a0405;
    box-shadow: 0 6px 14px rgba(0, 0, 0, .35);
    transform: rotate(-2.5deg);
}
.membro:nth-child(even) .membro-foto { transform: rotate(2deg); }

.membro-apelido {
    margin: 0;
    font: 400 32px/1 var(--f-titulo);
    letter-spacing: .03em;
    text-transform: uppercase;
}
.membro-nome { margin: 2px 0 8px; font-size: 13px; opacity: .78; }
.membro-funcao {
    display: inline-block;
    margin: 0 0 8px;
    padding: 4px 10px 3px;
    font: 400 15px/1 var(--f-titulo);
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--bege);
    background: var(--sangue);
    transform: rotate(-1deg);
}
.membro-descricao { margin: 0; font-size: 14.5px; line-height: 1.45; }

@media (max-width: 380px) {
    .membro { grid-template-columns: 104px 1fr; gap: 12px; }
    .membro-foto { width: 104px; border-width: 5px; border-bottom-width: 14px; }
    .membro-apelido { font-size: 28px; }
}

/* ---------------------------------------------------------
   Acessibilidade de movimento
   --------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    .palco-fundo, .logo { animation: none; }
    .aviso { transition: none; }
}

/* botões que entram depois de ler o config.json */
.acao--surge { animation: surge .45s ease-out both; }
@keyframes surge {
    from { opacity: 0; transform: rotate(-1deg) scale(.96); }
    to   { opacity: 1; transform: rotate(-1deg) scale(1.02); }
}
[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) { .acao--surge { animation: none; } }

/* botão Pix entra depois de ler o config.json */
.acao--surge { animation: surge .45s ease-out both; }
@keyframes surge {
    from { opacity: 0; transform: rotate(-1deg) scale(.96); }
    to   { opacity: 1; transform: rotate(-1deg) scale(1.02); }
}
[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) { .acao--surge { animation: none; } }

/* botão fechar dos Integrantes flutua sobre o texto ao rolar: fundo opaco */
.dialogo--integrantes .pix-fechar { background: rgba(236, 224, 196, .96); box-shadow: 0 2px 8px rgba(0, 0, 0, .2); }
