@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&display=swap');
/* ============================================================================
   Four Eventos — resultados.php
   Dark glass theme — alinhado com subscribe-kit.css  (2026)
   ============================================================================ */


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

body, html {
    background: #00032a !important;
    color: #fff !important;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    font-size: 16px !important;
    -webkit-font-smoothing: antialiased;
}
.container { background: transparent !important; }
section { margin: unset; }

/* ---- Design tokens (mirrors subscribe-kit theme.css) ----------------------- */
:root {
    --p:   #08ffb6;
    --ph:  #00e8a0;
    --pc:  #00032a;
    --pl:  rgba(8,255,182,.10);
    --pg:  rgba(8,255,182,.18);
    --bg:  #00032a;
    --s1:  rgba(6,11,53,.70);
    --s2:  rgba(6,11,53,.85);
    --gb:  rgba(255,255,255,.09);
    --gba: rgba(8,255,182,.22);
    --t0:  #ffffff;
    --t1:  rgba(255,255,255,.63);
    --t2:  rgba(255,255,255,.36);
    --warn:#f59e0b;
    --dng: #f87171;
    --r:   12px; --rsm: 8px; --rful: 9999px;
    --sh:  0 4px 24px rgba(0,0,0,.65);
    --shg: 0 0 28px rgba(8,255,182,.13);
    --tr:  .15s ease;
    --font:'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ---- Glass utility --------------------------------------------------------- */
.evt-glass {
    background: var(--s1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--gb);
    box-shadow: var(--sh), inset 0 1px 0 rgba(255,255,255,.05);
}

/* ============================================================================
   HERO
   ============================================================================ */
.evt-hero {
    position: relative;
    border-radius: var(--r);
    overflow: hidden;
    margin: 20px 0 20px;
    /* min-height: 360px; */
    background: linear-gradient(135deg, #020e59 0%, #00032a 100%);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
}
/* Overlay escuro sobre a foto */
.evt-hero__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(
        165deg,
        rgba(0,3,42,.55) 0%,
        rgba(0,3,42,.72) 55%,
        rgba(0,3,42,.92) 100%
    );
    z-index: 1;
}
/* Linha neon no topo */
.evt-hero::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, transparent, #08ffb6 50%, transparent);
    z-index: 3;
}
/* Gradiente de leitura na base */
.evt-hero::after {
    content: '';
    position: absolute; bottom: 0; left: 0; right: 0; height: 50%;
    background: linear-gradient(to top, rgba(0,3,42,.85) 0%, transparent 100%);
    z-index: 2;
}
.evt-hero__inner {
    position: relative; z-index: 4;
    width: 100%;
    padding: 0 32px 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
/* Badge de status */
.evt-hero__badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--p); color: var(--pc);
    padding: .28rem .85rem;
    border-radius: var(--rful);
    font-size: .78rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: .08em;
    width: fit-content;
}
.evt-hero__badge--past {
    background: rgba(255,255,255,.15); color: rgba(255,255,255,.9);
    border: 1px solid rgba(255,255,255,.25);
}
.evt-hero__badge--closed {
    background: var(--warn); color: #fff;
}
/* Título principal */
.evt-hero__title {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 900; color: #fff; margin: 0;
    line-height: 1.08; letter-spacing: -.025em;
    text-transform: uppercase;
    text-shadow: 0 3px 18px rgba(0,0,0,.55);
}
/* Meta pills */
.evt-hero__meta {
    display: flex; flex-wrap: wrap; gap: 8px;
}
.evt-hero__pill {
    display: inline-flex; align-items: center; gap: 7px;
    background: rgba(255,255,255,.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.16);
    border-radius: var(--rful);
    padding: .32rem .9rem;
    font-size: .88rem; color: rgba(255,255,255,.93); font-weight: 600;
    white-space: nowrap; line-height: 1;
}
.evt-hero__pill i { color: var(--p); font-size: .82rem; }
.evt-hero__pill a { color: inherit; text-decoration: underline; }
.evt-hero__pill a:hover { color: var(--p); text-decoration: none; }

/* ============================================================================
   CTA DE INSCRIÇÃO
   ============================================================================ */
.evt-cta {
    background: var(--s1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--gba);
    border-radius: var(--r);
    padding: 22px 26px;
    margin: 0 0 22px;
    display: flex; align-items: center;
    justify-content: space-between; flex-wrap: wrap; gap: 14px;
    box-shadow: var(--sh), var(--shg);
    position: relative; overflow: hidden;
}
.evt-cta::before {
    content: ''; position: absolute;
    top: 0; left: 0; right: 0; height: 2px;
    background: var(--p);
}
.evt-cta::after {
    content: ''; position: absolute;
    bottom: -40px; right: -40px;
    width: 160px; height: 160px;
    background: radial-gradient(circle, rgba(8,255,182,.07) 0%, transparent 70%);
    pointer-events: none;
}
.evt-cta__txt h3 {
    margin: 0 0 4px; font-size: 1.05rem; font-weight: 800;
    color: var(--t0); text-transform: uppercase; letter-spacing: .04em;
}
.evt-cta__txt p { margin: 0; font-size: .92rem; color: var(--t1); }
.evt-cta__btn {
    display: inline-flex; align-items: center; gap: 9px;
    background: var(--p); color: var(--pc);
    border-radius: var(--rsm); padding: .82rem 1.85rem;
    font-family: var(--font);
    font-size: .88rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: .06em;
    text-decoration: none; white-space: nowrap;
    transition: background var(--tr), box-shadow var(--tr), transform var(--tr);
    border: none; cursor: pointer;
}
.evt-cta__btn:hover {
    background: var(--ph); color: var(--pc);
    text-decoration: none;
    box-shadow: 0 0 28px rgba(8,255,182,.38);
    transform: translateY(-1px);
}

/* ============================================================================
   SECTION HEADING
   ============================================================================ */
.evt-section-head {
    display: flex; align-items: center; gap: 10px;
    margin: 0 0 16px;
    font-size: .92rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: .08em; color: var(--t0);
}
.evt-section-head::before {
    content: ''; width: 3px; height: 1.1em;
    background: var(--p); border-radius: 2px; flex-shrink: 0;
}
.evt-section-head i { color: var(--p); }

/* ============================================================================
   DESCRIÇÃO
   ============================================================================ */
.evt-descricao {
    background: var(--s1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--gb);
    border-radius: var(--r);
    padding: 24px 28px;
    margin: 0 0 22px;
    box-shadow: var(--sh);
    font-size: 1rem; color: var(--t1); line-height: 1.68;
}
.evt-descricao h2 {
    margin: 0 0 16px; font-size: .95rem; font-weight: 800;
    color: var(--t0); text-transform: uppercase; letter-spacing: .07em;
    padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,.07);
    display: flex; align-items: center; gap: 9px;
}
.evt-descricao h2::before {
    content: ''; width: 3px; height: 1em;
    background: var(--p); border-radius: 2px; flex-shrink: 0;
}
.evt-descricao p  { color: var(--t1); }
.evt-descricao a  { color: var(--p); }
.evt-descricao a:hover { color: var(--ph); }

/* ============================================================================
   KITS
   ============================================================================ */
.evt-kits { margin: 0 0 22px; }
.evt-kits__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 14px;
}
.evt-kit {
    background: var(--s1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1.5px solid var(--gb);
    border-radius: var(--r);
    padding: 20px;
    display: flex; flex-direction: column; gap: 12px;
    box-shadow: var(--sh);
    transition: border-color var(--tr), box-shadow var(--tr), transform var(--tr);
    position: relative; overflow: hidden;
}
.evt-kit::before {
    content: ''; position: absolute;
    top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(8,255,182,.2), transparent);
}
.evt-kit:hover {
    border-color: rgba(8,255,182,.38);
    box-shadow: var(--sh), var(--shg);
    transform: translateY(-2px);
}
.evt-kit--expirado {
    opacity: .42;
    pointer-events: none;
    cursor: not-allowed;
}
.evt-kit__nome {
    font-weight: 800; color: var(--t0);
    font-size: 1rem; text-transform: uppercase; letter-spacing: .04em;
    line-height: 1.25;
}
.evt-kit__preco-label {
    font-size: .75rem; text-transform: uppercase; letter-spacing: .07em;
    color: var(--t2); font-weight: 700; margin-bottom: 5px;
}
.evt-kit__preco-stack { display: flex; flex-direction: column; gap: 3px; }
.evt-kit__preco-cheio {
    font-size: .88rem; color: var(--t2); text-decoration: line-through;
}
.evt-kit__preco-final {
    font-size: 1.8rem; font-weight: 900; color: var(--p);
    letter-spacing: -.025em; line-height: 1.05;
}
.evt-kit__taxa {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: .85rem; color: var(--warn); font-weight: 700;
}
.evt-kit__prazo {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: .82rem; font-weight: 700;
    background: rgba(248,113,113,.08); color: var(--dng);
    border: 1px solid rgba(248,113,113,.2);
    border-radius: var(--rful); padding: .22rem .7rem; width: fit-content;
}
.evt-kit__prazo--ativo {
    background: rgba(245,158,11,.08); color: var(--warn);
    border-color: rgba(245,158,11,.22);
}
.evt-kit__itens {
    font-size: .9rem; color: var(--t1); white-space: pre-line; line-height: 1.55;
    border-top: 1px solid rgba(255,255,255,.07); padding-top: 10px; margin-top: auto;
}
.evt-kit__cams {
    border-top: 1px solid rgba(255,255,255,.07); padding-top: 10px; margin-top: auto;
}
.evt-kit__cams-head {
    font-size: .75rem; text-transform: uppercase; letter-spacing: .07em;
    color: var(--t2); margin-bottom: 7px; font-weight: 800;
    display: flex; align-items: center; gap: 5px;
}
.evt-kit__cams-head i { color: var(--p); }
.evt-kit__cams ul { margin: 0; padding-left: 16px; }
.evt-kit__cams li { font-size: .9rem; color: var(--t1); margin-bottom: 3px; }
.evt-kit__btn-inscricao {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    margin-top: auto;
    background: var(--p); color: var(--pc);
    border-radius: var(--rsm); padding: .72rem 1rem;
    font-family: var(--font);
    font-size: .88rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em;
    text-decoration: none;
    transition: background var(--tr), box-shadow var(--tr), transform var(--tr);
    border: none;
}
.evt-kit__btn-inscricao:hover {
    background: var(--ph); color: var(--pc);
    text-decoration: none;
    box-shadow: 0 0 22px rgba(8,255,182,.32);
    transform: translateY(-1px);
}
.evt-kit__btn-esgotado {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    margin-top: auto;
    background: rgba(255,255,255,.04); color: var(--t2);
    border: 1px solid rgba(255,255,255,.1); border-radius: var(--rsm);
    padding: .72rem 1rem; font-family: var(--font);
    font-size: .88rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
    text-align: center; cursor: default; width: 100%;
}
.evt-kit__lote-enc {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: .85rem; color: var(--dng); font-weight: 700;
}

/* ============================================================================
   INFO GRID (prazos)
   ============================================================================ */
.evt-info-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 12px; margin: 0 0 22px;
}
.evt-info-card {
    background: var(--s1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--gb);
    border-radius: var(--rsm);
    padding: 14px 18px;
    box-shadow: var(--sh);
}
.evt-info-card h3 {
    margin: 0 0 6px; font-size: .78rem; text-transform: uppercase;
    letter-spacing: .07em; color: var(--p); font-weight: 800;
    display: flex; align-items: center; gap: 6px;
}
.evt-info-card h3 i { opacity: .85; }
.evt-info-card .v { font-size: .98rem; color: var(--t0); font-weight: 600; }

/* ============================================================================
   BLOCO GENÉRICO (regulamento, cronograma, premiação, pagamentos)
   ============================================================================ */
.evt-bloco {
    background: var(--s1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--gb);
    border-radius: var(--r);
    padding: 24px 28px; margin: 0 0 22px;
    box-shadow: var(--sh);
}
.evt-bloco h2 {
    margin: 0 0 16px; font-size: .95rem; font-weight: 800;
    color: var(--t0); text-transform: uppercase; letter-spacing: .07em;
    border-bottom: 1px solid rgba(255,255,255,.07); padding-bottom: 12px;
    display: flex; align-items: center; gap: 9px;
}
.evt-bloco h2::before {
    content: ''; width: 3px; height: 1em;
    background: var(--p); border-radius: 2px; flex-shrink: 0;
}
.evt-bloco h2 i { color: var(--p); }
.evt-bloco .conteudo {
    font-size: 1rem; color: var(--t1); line-height: 1.68; white-space: pre-line;
}

/* Anexos */
.evt-anexos { display: flex; flex-wrap: wrap; gap: 10px; }
.evt-anexos a.btn-anexo {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--pl); color: var(--p);
    border: 1px solid rgba(8,255,182,.22);
    border-radius: var(--rsm); padding: .62rem 1.1rem;
    font-size: .9rem; font-weight: 700;
    text-decoration: none; text-transform: uppercase; letter-spacing: .04em;
    transition: all var(--tr);
}
.evt-anexos a.btn-anexo:hover {
    background: var(--p); color: var(--pc);
    text-decoration: none; box-shadow: 0 0 18px rgba(8,255,182,.3);
}
.evt-mapa-img {
    max-width: 100%; height: auto; border-radius: var(--rsm);
    margin-top: 16px; border: 1px solid var(--gb);
}

/* Formas de pagamento */
.evt-formas { display: flex; flex-wrap: wrap; gap: 10px; }
.evt-forma {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,.06);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--gb);
    border-radius: var(--rful); padding: .45rem 1.1rem;
    font-size: .9rem; color: var(--t1); font-weight: 600;
}
.evt-forma img { max-height: 20px; width: auto; }

/* ============================================================================
   PATROCINADORES
   ============================================================================ */
.evt-patrocs {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 14px;
}
.evt-patroc {
    background: rgba(255,255,255,.06);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--gb);
    border-radius: var(--rsm); padding: 16px; aspect-ratio: 1;
    display: flex; align-items: center; justify-content: center;
    transition: border-color var(--tr), box-shadow var(--tr), transform var(--tr);
}
.evt-patroc:hover {
    border-color: rgba(8,255,182,.3);
    box-shadow: var(--shg); transform: translateY(-2px);
}
.evt-patroc img { max-width: 100%; max-height: 100%; object-fit: contain; }
.evt-patroc a { display:flex; align-items:center; justify-content:center; width:100%; height:100%; }

/* ============================================================================
   ORGANIZADOR
   ============================================================================ */
.evt-organizador {
    background: var(--s1);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--gb);
    border-radius: var(--r); padding: 18px 22px; margin: 0 0 22px;
    display: flex; align-items: center; gap: 16px;
    box-shadow: var(--sh);
}
.evt-organizador img {
    width: 58px; height: 58px; object-fit: contain; flex-shrink: 0;
    border-radius: var(--rsm); border: 1px solid var(--gb);
    background: rgba(255,255,255,.05); padding: 4px;
}
.evt-organizador .info .lbl {
    font-size: .78rem; text-transform: uppercase; letter-spacing: .07em;
    color: var(--p); font-weight: 800; margin-bottom: 3px;
}
.evt-organizador .info .nome { font-size: 1.05rem; font-weight: 700; color: var(--t0); }
.evt-organizador .info a { color: var(--p); font-size: .92rem; font-weight: 600; }
.evt-organizador .info a:hover { color: var(--ph); text-decoration: none; }

/* ============================================================================
   RESULTADOS CSV (legacy — mantido e alinhado)
   ============================================================================ */
.pagination { display: none; }
.caixa { margin-bottom: 12px; cursor: pointer; }
.texto-filtro { margin-top: 6px; font-size: .88rem; color: var(--t1); font-family: var(--font); }

.input-group .form-control.busca-participante {
    background: var(--s1) !important;
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border: 1.5px solid var(--gb) !important;
    color: var(--t0) !important;
    border-radius: var(--rsm) 0 0 var(--rsm) !important;
    font-family: var(--font) !important; font-size: .9rem !important;
    height: 44px !important;
    transition: border-color var(--tr), box-shadow var(--tr);
}
.busca-participante::placeholder { color: var(--t2) !important; }
.busca-participante:focus {
    border-color: var(--p) !important; outline: none !important;
    box-shadow: 0 0 0 3px rgba(8,255,182,.2) !important;
}
.lupa {
    height: 44px !important;
    background: var(--p) !important; color: var(--pc) !important;
    border: none !important; border-radius: 0 var(--rsm) var(--rsm) 0 !important;
    font-size: 1rem !important; padding: 0 14px !important;
}

.box {
    background: var(--s1);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--gb);
    border-radius: var(--rsm);
    float: left; width: 100%;
    transition: border-color var(--tr), box-shadow var(--tr);
}
.caixa:hover .box { border-color: rgba(8,255,182,.3); box-shadow: var(--shg); }

.position {
    background: rgba(8,255,182,.12);
    border: 1px solid rgba(8,255,182,.22);
    margin: 15px 0; padding: 10px; font-size: 1.05rem;
    border-radius: var(--rsm); color: var(--p);
    font-weight: 800; text-align: center; font-family: var(--font);
}
hr { width: 50%; opacity: .12; padding: 0; margin: 5px auto; border-color: var(--p); }

#produto { padding: 0 !important; background: transparent !important; }
#produto h2 {
    font-size: .95rem; padding-left: 40px; font-family: var(--font);
    font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--t0);
}
.itens {
    display: inline-block; padding-left: 40px; margin-top: 8px;
    font-size: .87rem; color: var(--t1); font-family: var(--font);
}
.itens.certificado { display: none; position: absolute; top: 33px; right: 22px; }
.open {
    background: rgba(8,255,182,.06);
    border: 1px solid rgba(8,255,182,.15); border-top: none;
    min-height: 130px; padding-left: 150px;
}
.duo { background: rgba(8,255,182,.12) !important; margin-top: 0 !important; }
.exibe { display: none; width: 100%; float: left; }

/* ---- Iframe Wiclax --------------------------------------------------------- */
#produto iframe { float: left; width: 100%; border-radius: var(--r); }
.iframe-wrapper { position: relative; float: left; width: 100%; }
.iframe-wrapper iframe { width: 100%; height: 650px; border: none; border-radius: var(--r); }
.bt-maximizar {
    position: absolute; top: 12px; left: 12px; z-index: 10;
    background: var(--s2); color: #fff;
    border: 1px solid var(--gb);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    padding: 6px 12px; cursor: pointer; border-radius: var(--rsm); font-size: .85rem;
}
.iframe-wrapper.popup { position: fixed; top: 2vw; left: 5vh; width: 94vw; height: 94vh; z-index: 999; }
.iframe-wrapper.popup iframe { width: 100%; height: 100%; }
.iframe-wrapper.popup .bt-maximizar { top: 15px; left: 15px; }

/* ============================================================================
   RESPONSIVO
   ============================================================================ */
@media (max-width: 991px) {
    .evt-kits__grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
}
@media (max-width: 767px) {
    .bt-whatsapp-flutuante { bottom: 75px !important; }
    .evt-hero { min-height: 260px; margin: 10px 0 16px; }
    .evt-hero__inner { padding: 0 18px 22px; }
    .evt-hero__title { font-size: 1.5rem; }
    .evt-kits__grid { grid-template-columns: 1fr 1fr; }
    .evt-cta { flex-direction: column; text-align: center; }
    .evt-cta__btn { width: 100%; justify-content: center; }
    .evt-descricao, .evt-bloco { padding: 18px 16px; }
    .open { padding-left: 10px; min-height: 120px; }
    .iframe-wrapper.popup { top: 0; left: 0; width: 100vw; height: 100vh; }
}
@media (max-width: 479px) {
    .evt-hero { border-radius: 8px; min-height: 220px; }
    .evt-hero__inner { padding: 0 14px 18px; }
    .evt-hero__title { font-size: 1.2rem; }
    .evt-hero__meta { gap: 6px; }
    .evt-hero__pill { font-size: .82rem; padding: .26rem .65rem; }
    .evt-kits__grid { grid-template-columns: 1fr; }
    .evt-kit { padding: 16px; }
    .evt-bloco, .evt-descricao { padding: 14px 14px; }
    .evt-info-grid { grid-template-columns: 1fr; }
    .evt-patrocs { grid-template-columns: repeat(auto-fill, minmax(100px,1fr)); }
    .itens { padding-left: 14px; }
    .open { padding-left: 8px; }
}
@media (min-width: 768px) and (max-width: 1024px) {
    .evt-hero { min-height: 310px; }
    .evt-hero__title { font-size: 1.85rem; }
    .evt-kits__grid { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
}
