:root {
    --preto: #080808;
    --cinza: #111111;
    --cinza2: #181818;
    --cinza3: #242424;
    --amarelo: #f5c400;
    --amarelo2: #ffdc39;
    --branco: #ffffff;
    --texto: #cfcfcf;
    --verde: #25d366;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background:
        radial-gradient(circle at 85% 0%, rgba(245,196,0,.10), transparent 28%),
        radial-gradient(circle at 0% 35%, rgba(245,196,0,.035), transparent 26%),
        #080808;
    color: var(--branco);
    font-family: 'Inter', sans-serif;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: .035;
    background-image:
        linear-gradient(rgba(255,255,255,.4) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.4) 1px, transparent 1px);
    background-size: 40px 40px;
}

header {
    height: 84px;
    border-bottom: 1px solid #222;
    display: flex;
    align-items: center;
    background: rgba(8,8,8,.92);
    backdrop-filter: blur(14px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    width: 100%;
    max-width: 1250px;
    margin: auto;
    padding: 0 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: 'Bebas Neue';
    font-size: 36px;
    letter-spacing: 3px;
    color: var(--amarelo);
}

.logo span {
    color: white;
}

.header-text {
    color: #777;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2.5px;
}

.hero {
    min-height: 430px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #181818;
}

.hero-content {
    width: 100%;
    max-width: 1250px;
    margin: auto;
    padding: 70px 25px 55px;
}

.hero-badge {
    display: inline-block;
    color: var(--amarelo);
    border: 1px solid #403700;
    background: #181600;
    padding: 8px 14px;
    border-radius: 30px;
    font-weight: 800;
    font-size: 11px;
    letter-spacing: 1.8px;
    margin-bottom: 20px;
}

.hero h1 {
    font-family: 'Bebas Neue';
    font-size: clamp(55px, 8vw, 96px);
    line-height: .88;
    letter-spacing: 2px;
    max-width: 900px;
}

.hero h1 span {
    color: var(--amarelo);
}

.hero p {
    color: #8f8f8f;
    max-width: 650px;
    font-size: 16px;
    line-height: 1.75;
    margin-top: 25px;
}

.container {
    max-width: 1250px;
    margin: auto;
    padding: 55px 25px 90px;
}

.section-title {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin-bottom: 25px;
}

.section-kicker {
    display: block;
    color: var(--amarelo);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 4px;
}

.section-title h2,
.box h2 {
    font-family: 'Bebas Neue';
    letter-spacing: 1.2px;
}

.section-title h2 {
    font-size: 40px;
}

.section-title p,
.subtitle {
    color: #777;
    font-size: 13px;
}

.eventos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
    margin-bottom: 60px;
}

.evento {
    background: #111;
    border: 1px solid #202020;
    border-radius: 18px;
    overflow: hidden;
    cursor: pointer;
    transition: .25s;
    position: relative;
}

.evento:hover {
    transform: translateY(-5px);
    border-color: #4a4100;
}

.evento.selecionado {
    border: 2px solid var(--amarelo);
    box-shadow: 0 0 35px rgba(245,196,0,.09);
}

.evento-img {
    height: 260px;
    background: #191919;
    position: relative;
    overflow: hidden;
}

.evento-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .45s;
}

.evento:hover img {
    transform: scale(1.045);
}

.evento-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 35%, rgba(0,0,0,.92));
}

.evento-info {
    padding: 22px;
}

.data {
    color: var(--amarelo);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.evento-info h3 {
    font-family: 'Bebas Neue';
    font-size: 30px;
    line-height: 1;
    letter-spacing: .8px;
    margin-bottom: 12px;
}

.local {
    color: #888;
    font-size: 13px;
    margin-bottom: 22px;
}

.preco {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    border-top: 1px solid #252525;
    padding-top: 18px;
}

.preco span {
    color: #666;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .8px;
}

.preco strong {
    color: var(--amarelo);
    font-size: 23px;
}

.checkout {
    display: grid;
    grid-template-columns: 1.3fr .7fr;
    gap: 25px;
    align-items: start;
}

.box {
    background: rgba(17,17,17,.94);
    border: 1px solid #202020;
    border-radius: 18px;
    padding: 28px;
}

.resumo-box {
    position: sticky;
    top: 110px;
}

.box h2 {
    font-size: 32px;
    margin-bottom: 8px;
}

.subtitle {
    margin-bottom: 27px;
    line-height: 1.5;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 12px;
}

.form-group.full {
    grid-column: 1 / -1;
}

label {
    display: block;
    color: #aaa;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .8px;
    margin-bottom: 8px;
}

input {
    width: 100%;
    padding: 15px;
    border-radius: 9px;
    border: 1px solid #292929;
    background: #181818;
    color: white;
    font-family: inherit;
    outline: none;
    transition: .2s;
}

input::placeholder {
    color: #555;
}

input:focus {
    border-color: var(--amarelo);
    box-shadow: 0 0 0 3px rgba(245,196,0,.07);
}

.participante {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.participante input {
    flex: 1;
}

.remove {
    width: 46px;
    border: 1px solid #442020;
    background: #221111;
    color: #ff7777;
    border-radius: 9px;
    cursor: pointer;
    font-size: 20px;
}

.adicionar {
    width: 100%;
    background: transparent;
    color: var(--amarelo);
    border: 1px dashed #625400;
    border-radius: 9px;
    padding: 14px;
    font-weight: 800;
    cursor: pointer;
    margin-top: 5px;
    transition: .2s;
}

.adicionar:hover {
    background: #181600;
}

.pagamentos {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 8px;
}

.pagamento-opcao {
    position: relative;
    border: 1px solid #292929;
    background: #181818;
    border-radius: 12px;
    padding: 18px;
    cursor: pointer;
    transition: .2s;
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0;
}

.pagamento-opcao:hover {
    border-color: #625400;
}

.pagamento-opcao.selecionado {
    border-color: var(--amarelo);
    background: #1b1908;
}

.pagamento-opcao input {
    width: auto;
    accent-color: var(--amarelo);
}

.pagamento-icon {
    width: 44px;
    height: 44px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #222;
    border-radius: 10px;
    font-size: 22px;
    color: var(--amarelo);
}

.pagamento-texto {
    flex: 1;
}

.pagamento-texto strong {
    display: block;
    font-size: 15px;
    margin-bottom: 4px;
    color: white;
}

.pagamento-texto span {
    color: #777;
    font-size: 12px;
    text-transform: none;
    letter-spacing: 0;
    line-height: 1.4;
}

.resumo-evento {
    color: #999;
    border-bottom: 1px solid #242424;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.resumo-evento strong {
    color: white;
    display: block;
    margin-bottom: 6px;
    font-size: 18px;
    line-height: 1.35;
}

.resumo-evento span {
    font-size: 12px;
}

.resumo-line {
    display: flex;
    justify-content: space-between;
    padding: 9px 0;
    color: #999;
    font-size: 14px;
}

.resumo-line strong {
    color: #ddd;
}

.resumo-total {
    border-top: 1px solid #292929;
    margin-top: 13px;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.resumo-total span {
    font-weight: 700;
}

.resumo-total strong {
    color: var(--amarelo);
    font-size: 30px;
}

.finalizar {
    width: 100%;
    margin-top: 25px;
    border: 0;
    border-radius: 10px;
    background: var(--amarelo);
    color: #000;
    padding: 17px;
    font-weight: 900;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: .5px;
    font-size: 13px;
    transition: .2s;
}

.finalizar:hover {
    background: var(--amarelo2);
    transform: translateY(-2px);
}

.finalizar:disabled {
    opacity: .45;
    cursor: not-allowed;
    transform: none;
}

.seguro {
    text-align: center;
    margin-top: 17px;
    color: #5f5f5f;
    font-size: 10px;
    letter-spacing: .4px;
}

.loading {
    grid-column: 1 / -1;
    padding: 45px;
    text-align: center;
    color: #777;
    border: 1px dashed #242424;
    border-radius: 15px;
}

.alerta {
    padding: 14px;
    margin-bottom: 20px;
    border-radius: 8px;
    display: none;
    font-size: 13px;
}

.alerta.erro {
    display: block;
    border: 1px solid #5a2222;
    background: #231010;
    color: #ff9696;
}

.alerta.sucesso {
    display: block;
    border: 1px solid #315a22;
    background: #10230f;
    color: #96ff8a;
}

.modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.9);
    backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
    overflow-y: auto;
}

.modal.ativo {
    display: flex;
}

.modal-box {
    width: 100%;
    max-width: 520px;
    background: #111;
    border: 1px solid #2b2b2b;
    border-radius: 20px;
    padding: 34px;
    box-shadow: 0 30px 100px rgba(0,0,0,.65);
}

.modal-topo {
    text-align: center;
    margin-bottom: 27px;
}

.pix-icon {
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto auto 17px;
    border-radius: 50%;
    background: #181600;
    border: 1px solid #544900;
    color: var(--amarelo);
    font-size: 30px;
}

.modal-topo h2 {
    font-family: 'Bebas Neue';
    font-size: 38px;
    letter-spacing: 1px;
}

.modal-topo p {
    color: #777;
    font-size: 13px;
    margin-top: 8px;
    line-height: 1.6;
}

.pedido-confirmado {
    background: #171717;
    border: 1px solid #262626;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 18px;
    text-align: center;
}

.pedido-confirmado span {
    display: block;
    color: #777;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.pedido-confirmado strong {
    color: var(--amarelo);
    font-size: 19px;
}

.pix-box {
    border: 1px solid #313131;
    background: #171717;
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 17px;
}

.pix-label {
    color: #777;
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: .8px;
    margin-bottom: 5px;
}

.pix-chave {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 18px;
    word-break: break-all;
}

.pix-nome {
    color: #ddd;
    font-size: 13px;
}

.valor-box .pix-chave {
    margin-bottom: 0;
}

.pix-chave.valor {
    color: var(--amarelo);
    font-size: 29px;
}

.copiar-pix {
    width: 100%;
    background: var(--amarelo);
    border: 0;
    border-radius: 10px;
    padding: 16px;
    color: black;
    font-weight: 900;
    cursor: pointer;
    margin-bottom: 15px;
    transition: .2s;
}

.copiar-pix:hover {
    background: var(--amarelo2);
}

.pix-aviso {
    background: #151515;
    border-left: 3px solid var(--amarelo);
    padding: 16px;
    color: #aaa;
    font-size: 12px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.pix-aviso strong {
    color: var(--amarelo);
    display: block;
    margin-bottom: 7px;
}

.pix-aviso p + p {
    margin-top: 9px;
}

.whatsapp-btn {
    width: 100%;
    display: block;
    text-align: center;
    text-decoration: none;
    background: var(--verde);
    color: #061b0e;
    border-radius: 10px;
    padding: 17px;
    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;
    transition: .2s;
}

.whatsapp-btn:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.voltar-pagamento {
    width: 100%;
    margin-top: 12px;
    background: transparent;
    color: #777;
    border: 0;
    cursor: pointer;
    padding: 10px;
}

footer {
    border-top: 1px solid #202020;
    text-align: center;
    padding: 35px;
    color: #555;
    font-size: 11px;
    letter-spacing: 1px;
}

footer strong {
    color: var(--amarelo);
}

footer span {
    margin: 0 8px;
}

@media(max-width:800px) {
    header {
        height: 72px;
    }

    .checkout {
        grid-template-columns: 1fr;
    }

    .resumo-box {
        position: static;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: 360px;
    }

    .hero-content {
        padding-top: 50px;
    }

    .header-text {
        display: none;
    }

    .section-title {
        align-items: start;
        flex-direction: column;
        gap: 8px;
    }

    .evento-img {
        height: 235px;
    }
}

@media(max-width:520px) {
    .container,
    .header-content,
    .hero-content {
        padding-left: 17px;
        padding-right: 17px;
    }

    .box {
        padding: 20px;
    }

    .modal {
        padding: 12px;
        align-items: flex-start;
    }

    .modal-box {
        padding: 24px 18px;
        margin-top: 12px;
        margin-bottom: 12px;
    }

    .preco {
        align-items: flex-end;
    }
}
