* {
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
}

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: fixed;
    background-color: #0b0f19;
}

/* --- VÉUS NEON DE FUNDO --- */
.veil {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    z-index: -1;
    opacity: 0.85;
}
.veil-1 { width: 60vw; height: 60vh; background: #00ff88; top: -10%; left: -10%; animation: float1 14s infinite alternate; }
.veil-2 { width: 75vw; height: 75vh; background: #6f42c1; bottom: -15%; right: -10%; animation: float2 18s infinite alternate; }
.veil-3 { width: 55vw; height: 55vh; background: #d63384; top: 30%; left: 20%; animation: float3 22s infinite alternate; }

@keyframes float1 { 0% { transform: translate(0, 0); } 100% { transform: translate(10vw, 10vh); } }
@keyframes float2 { 0% { transform: translate(0, 0); } 100% { transform: translate(-10vw, -10vh); } }
@keyframes float3 { 0% { transform: translate(0, 0); } 100% { transform: translate(15vw, -5vh); } }

/* --- CARD GLASS PRINCIPAL (Afastado exatamente 16px das bordas do Totem) --- */
#app {
    background: rgba(20, 25, 45, 0.45); 
    backdrop-filter: blur(50px);
    -webkit-backdrop-filter: blur(50px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);

    width: calc(100vw - 64px);
    max-width: 1048px;
    height: auto; 
    padding: 45px 24px; 
    border-radius: 40px;
    text-align: center;
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%); 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px; 
}

.logo-evento { max-width: 450px; width: 100%; margin-bottom: 10px; }
.screen { display: flex; flex-direction: column; align-items: center; width: 100%; }
.hidden { display: none !important; }

h1 { color: #ffffff; font-size: 48px; font-weight: 800; margin-bottom: 15px; }
.subtitle { font-size: 24px; color: #cbd5e1; margin-bottom: 30px; line-height: 1.4; }
.pergunta-titulo { font-size: 30px; color: #ffffff; margin-bottom: 30px; }

/* --- COMPONENTES DE BOTÕES --- */
button { border: none; padding: 20px 30px; font-size: 22px; border-radius: 15px; cursor: pointer; width: 100%; margin-bottom: 15px; font-weight: 700; transition: 0.2s; }
.option-btn { background-color: rgba(255, 255, 255, 0.08); backdrop-filter: blur(10px); color: #ffffff; border: 2px solid rgba(255, 255, 255, 0.15); text-align: left; }
.option-btn:hover { background-color: rgba(255, 255, 255, 0.12); }
.option-btn.selected { background-color: rgba(56, 189, 248, 0.2) !important; border-color: #38bdf8 !important; }

.action-btn { background: #ffffff; color: #0f172a; font-size: 28px; padding: 25px; max-width: 500px; margin-top: 10px; margin-bottom: 0; }
.action-btn:hover { transform: scale(1.02); }

.options-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; width: 100%; max-width: 850px; }
.options-grid button { margin-bottom: 0; }

/* --- GRID DO ALFABETO --- */
.alfabeto-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; width: 100%; max-width: 850px; margin-bottom: 20px; }
.letra-btn { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.15); color: white; font-size: 18px; font-weight: bold; width: 44px; height: 44px; border-radius: 10px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: 0.15s; margin-bottom: 0; padding: 0; }
.letra-btn:hover { background: rgba(255, 255, 255, 0.12); border-color: #38bdf8; }
.letra-btn.active { background: rgba(56, 189, 248, 0.2); border-color: #38bdf8; box-shadow: 0 0 10px #38bdf8; color: #38bdf8; }

/* --- CONTAINER CENTRALIZADO DE CIDADES --- */
.cidades-container {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    width: 100%;
    max-width: 850px;
    height: 200px;
    padding: 15px;
    overflow-y: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    align-content: center;
    align-items: center;
}
.placeholder-text { font-size: 18px; color: #cbd5e1; width: 100%; text-align: center; }

.cidade-item-btn { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12); color: #ffffff; padding: 10px 18px; font-size: 16px; border-radius: 10px; cursor: pointer; width: auto; margin-bottom: 0; font-weight: 500; transition: 0.15s; }
.cidade-item-btn:hover { background: rgba(255, 255, 255, 0.12); }
.cidade-item-btn.selected { background: rgba(0, 255, 136, 0.2) !important; border-color: #00ff88 !important; box-shadow: 0 0 10px #00ff88; color: #00ff88; }

/* --- CARD DO MAPA (Altura liberada para o vetor expandir nas laterais) --- */
#mapa-totem {
    width: 100%;
    max-width: 1000px; 
    height: 680px; /* 🟢 Liberado para 680px para dar fôlego vertical e fazer o mapa colar nos lados */
    border-radius: 20px;
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: inset 0 0 20px rgba(0,0,0,0.4);
}

/* --- OVERLAY MODAL GLASS --- */
.modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(11, 15, 25, 0.75); backdrop-filter: blur(10px); z-index: 10000; display: flex; align-items: center; justify-content: center; }
.modal-card { background: rgba(20, 25, 45, 0.95); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 25px; padding: 35px; max-width: 420px; width: 85%; text-align: center; box-shadow: 0 20px 60px rgba(0,0,0,0.7); }

/* --- RODAPÉ DA TELA --- */
.sebrae-footer { position: fixed; bottom: 0; left: 0; width: 100vw; background: rgba(11, 15, 25, 0.9); padding: 20px; display: flex; justify-content: center; z-index: 50; }
.sebrae-footer img { height: 40px; opacity: 0.8; }