/* ============================================================ */
/* HALLOWEEN ASMG 2026 — CSS PRINCIPAL                           */
/* ============================================================ */

:root {
    --asmg-blue: #002b80;
    --asmg-dark-blue: #001a4d;
    --asmg-light-blue: #e8f0fe;
    --asmg-yellow: #ffcc00;
    --halloween-purple: #6a0dad;
    --halloween-orange: #ff6b00;
    --halloween-dark: #1a0a2e;
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --text-primary: #1a1a1a;
    --text-secondary: #4a4a4a;
    --text-muted: #888888;
    --border-radius: 16px;
    --box-shadow: 0 8px 30px rgba(0, 43, 128, 0.08);
    --transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

body {
    background-color: var(--bg-white);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

/* ===== HERO ===== */
.bruxa-hero {
    background: linear-gradient(135deg, var(--asmg-blue) 0%, var(--halloween-dark) 100%);
    padding: 80px 0 60px;
    border-radius: 0 0 30px 30px;
    position: relative;
    overflow: hidden;
    margin-bottom: 40px;
    margin-top: -20px;
}
.bruxa-hero::before {
    content: '🧙‍♀️';
    position: absolute; bottom: 10%; right: 5%;
    font-size: 8rem; opacity: 0.08; pointer-events: none; transform: rotate(10deg);
}
.bruxa-hero::after {
    content: '🕷️';
    position: absolute; top: 10%; left: 5%;
    font-size: 5rem; opacity: 0.06; pointer-events: none;
}
.floating-bats {
    position: absolute; top: 20px; right: 20px;
    display: flex; gap: 15px; font-size: 2rem;
    color: rgba(255, 255, 255, 0.05);
    animation: floatBats 6s infinite alternate;
}
@keyframes floatBats {
    0%   { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-20px) rotate(5deg); }
}
.bruxa-hero .hero-content { position: relative; z-index: 2; }
.bruxa-hero h1 {
    font-weight: 900; color: #fff;
    font-size: 3.5rem; line-height: 1.1; margin-bottom: 15px;
}
.bruxa-hero .subtitle {
    color: rgba(255, 255, 255, 0.85); font-size: 1.2rem; max-width: 600px;
}
.bruxa-hero .badge-hero {
    background: rgba(255, 255, 255, 0.15); color: #fff;
    padding: 8px 20px; border-radius: 50px;
    font-size: 0.85rem; font-weight: 500; display: inline-block;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
}

/* ===== BOTÕES HERO ===== */
.btn-hero-primary {
    background: var(--bg-white); color: var(--asmg-blue);
    padding: 14px 35px; border-radius: 50px;
    font-weight: 700; text-decoration: none; display: inline-block;
    transition: var(--transition); border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.btn-hero-primary:hover:not(.disabled-link) {
    transform: scale(1.05);
    background: var(--asmg-yellow); color: var(--asmg-blue);
}
.btn-hero-outline {
    background: transparent; color: #fff;
    padding: 14px 35px; border-radius: 50px;
    font-weight: 600; border: 2px solid rgba(255,255,255,0.3);
    text-decoration: none; display: inline-block;
    transition: var(--transition); margin-left: 10px;
}
.btn-hero-outline:hover {
    background: rgba(255,255,255,0.1); border-color: #fff; color: #fff;
}

/* ===== STATUS DINÂMICO ===== */
.inscricao-status {
    display: inline-block; padding: 8px 22px;
    border-radius: 50px; font-weight: 700;
    font-size: 0.9rem; margin-bottom: 15px;
}
.status-aberta   { background: #28a745; color: #fff; }
.status-breve    { background: #ffc107; color: #000; }
.status-fechada  { background: #dc3545; color: #fff; }
.status-porta    { background: var(--asmg-yellow); color: var(--asmg-blue); }

/* ===== STATS / CONTADOR ===== */
.stat-card {
    background: var(--bg-white); border-radius: var(--border-radius);
    padding: 30px 20px; text-align: center;
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(0, 43, 128, 0.06);
    transition: var(--transition); height: 100%;
}
.stat-card:hover { transform: translateY(-5px); border-color: var(--asmg-blue); }
.stat-card .stat-icon { font-size: 2.2rem; color: var(--asmg-blue); margin-bottom: 10px; }
.stat-card h5, .stat-card .stat-label { color: var(--text-secondary); font-weight: 500; }
.stat-card .time-box span { color: var(--asmg-blue); }

.countdown-section { padding: 60px 0; }
.countdown-timer { display: flex; gap: 15px; margin-top: 15px; justify-content: center; }
.time-box {
    background: var(--bg-light); border-radius: 12px;
    padding: 15px 20px; text-align: center; min-width: 70px;
    border: 1px solid rgba(0, 43, 128, 0.05);
}
.time-box span { display: block; font-size: 2.2rem; font-weight: 800; color: var(--asmg-blue); }
.time-box small { text-transform: uppercase; font-size: 0.75rem; color: var(--text-muted); }

/* ============================================================ */
/* SEÇÃO ATIVIDADES                                              */
/* ============================================================ */
.atividades-section {
    padding: 80px 15px 60px;
    margin-top: 40px;
}
.atividades-header {
    text-align: center;
    margin-bottom: 30px;
    padding-top: 20px;
}
.atividades-header h2 {
    font-size: 2rem;
    display: inline-block;
    position: relative;
    padding-bottom: 12px;
}
.atividades-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--asmg-blue);
    border-radius: 4px;
}
.atividades-emoji { display: inline-block; margin-right: 6px; }
.atividades-sub {
    color: var(--text-secondary);
    margin-top: 14px;
    margin-bottom: 0;
    font-size: 1.05rem;
}

/* ===== CARDS DE ATIVIDADE ===== */
.service-card {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    padding: 30px 25px;
    border: 1px solid rgba(0, 43, 128, 0.05);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    height: 100%;
}
.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--asmg-blue);
}
.service-card .service-icon {
    font-size: 2.8rem;
    color: var(--asmg-blue);
    margin-bottom: 15px;
    line-height: 1;
}
.service-card h5 { color: var(--text-primary); font-weight: 700; }
.service-card p { color: var(--text-secondary); }

/* ===== DESFILE / TROFÉUS ===== */
.trofeu-section {
    background: linear-gradient(135deg, #1a0a2e 0%, #2d1b4e 100%);
    padding: 70px 0; border-radius: 30px;
    margin: 50px auto; max-width: 1200px;
    position: relative; overflow: hidden;
}
.trofeu-section::before {
    content: '🏆'; position: absolute; top: -30px; right: -30px;
    font-size: 12rem; opacity: 0.06;
}
.trofeu-section h2 { color: #fff; text-align: center; font-weight: 900; margin-bottom: 15px; }
.trofeu-section .trofeu-sub {
    color: rgba(255,255,255,0.75);
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.6;
}
.trofeu-card {
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 18px; padding: 28px 22px;
    text-align: center; color: #fff; height: 100%;
    transition: var(--transition);
}
.trofeu-card:hover {
    transform: translateY(-8px);
    border-color: var(--asmg-yellow);
    box-shadow: 0 12px 40px rgba(255, 204, 0, 0.15);
}
.trofeu-card .trofeu-icon { font-size: 3rem; margin-bottom: 12px; display: block; }
.trofeu-card h4 {
    color: var(--asmg-yellow); font-weight: 800;
    font-size: 1.1rem; margin-bottom: 8px;
}
.trofeu-card p { color: rgba(255,255,255,0.8); font-size: 0.92rem; margin: 0 0 8px; }
.trofeu-card .premio-tag {
    display: inline-block; background: rgba(255,204,0,0.15);
    border: 1px solid var(--asmg-yellow); color: var(--asmg-yellow);
    padding: 3px 12px; border-radius: 50px;
    font-size: 0.75rem; font-weight: 700;
}

/* ===== INGRESSOS ===== */
.ticket-section { padding: 80px 0; background: var(--bg-light); }
.ticket-card {
    background: var(--bg-white); border-radius: 24px;
    padding: 40px; text-align: center; max-width: 800px;
    margin: 0 auto; position: relative;
    box-shadow: 0 10px 40px rgba(0, 43, 128, 0.08);
    border: 1px solid rgba(0, 43, 128, 0.05);
}
.ticket-badge {
    position: absolute; top: -12px; left: 50%;
    transform: translateX(-50%);
    background: var(--halloween-purple); color: #fff;
    padding: 6px 25px; border-radius: 50px;
    font-weight: 700; font-size: 0.85rem;
    box-shadow: 0 4px 10px rgba(0, 43, 128, 0.2);
}
.ticket-value {
    font-size: 3.5rem; font-weight: 900;
    color: var(--asmg-blue); margin: 15px 0;
}
.btn-ticket-giant {
    background: var(--asmg-blue); color: #fff;
    padding: 18px 50px; border-radius: 50px;
    font-size: 1.3rem; font-weight: 700;
    text-decoration: none; display: inline-block;
    transition: var(--transition);
    box-shadow: 0 8px 25px rgba(0, 43, 128, 0.3);
    border: none;
}
.btn-ticket-giant:hover:not(.disabled-link) {
    transform: scale(1.05);
    background: var(--asmg-dark-blue); color: #fff;
}
.disabled-link {
    pointer-events: none !important;
    opacity: 0.7 !important;
    cursor: not-allowed !important;
    filter: grayscale(20%);
}

/* ===== FAQ ===== */
.faq-section { padding: 80px 0; }
.custom-accordion .accordion-item {
    background: var(--bg-white);
    border: 1px solid rgba(0, 43, 128, 0.08);
    margin-bottom: 15px;
    border-radius: var(--border-radius) !important;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}
.custom-accordion .accordion-button {
    background: #fff !important;
    color: var(--text-primary);
    font-weight: 600; padding: 20px 25px;
    box-shadow: none !important;
}
.custom-accordion .accordion-button:not(.collapsed) { color: var(--asmg-blue); }
.custom-accordion .accordion-body {
    padding: 0 25px 20px 25px;
    color: var(--text-secondary); line-height: 1.7;
}

/* ===== ANIMAÇÕES ===== */
.fade-up {
    opacity: 0; transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}
.fade-up.active { opacity: 1; transform: translateY(0); }

/* ===== BACK TO TOP ===== */
.back-to-top-btn {
    position: fixed; bottom: 30px; right: 30px;
    width: 50px; height: 50px;
    background: var(--asmg-blue); color: #fff;
    border: none; border-radius: 50%;
    font-size: 1.2rem; cursor: pointer;
    opacity: 0; visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    display: flex; align-items: center; justify-content: center;
}
.back-to-top-btn.visible { opacity: 1; visibility: visible; }
.back-to-top-btn:hover {
    background: var(--asmg-dark-blue); transform: translateY(-3px);
}

/* ============================================================ */
/* VÍDEO EM LIBRAS — PÁGINA HALLOWEEN                            */
/* ============================================================ */
.libras-video-section {
    padding: 20px 15px 40px;
    margin-top: 0;
}

.libras-video-wrapper {
    max-width: 900px;
    margin: 0 auto;
    border-radius: var(--border-radius);
    overflow: hidden;
    background: #000;
    border: 1px solid rgba(0, 43, 128, 0.08);
    box-shadow: var(--box-shadow);
}

.libras-video-wrapper iframe {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    border: 0;
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 991px) { .bruxa-hero h1 { font-size: 2.8rem; } }

@media (max-width: 768px) {
    .bruxa-hero { padding: 60px 0 40px; }
    .bruxa-hero h1 { font-size: 2.2rem; }
    .countdown-timer { flex-wrap: wrap; gap: 10px; }
    .time-box { min-width: 60px; padding: 10px; }
    .time-box span { font-size: 1.5rem; }
    .btn-hero-outline { margin-left: 0; margin-top: 10px; display: block; }
    .btn-hero-primary { display: block; }
    .ticket-value { font-size: 2.5rem; }
    .back-to-top-btn { right: 20px; bottom: 20px; width: 45px; height: 45px; }
    .trofeu-section { margin: 30px 12px; padding: 45px 15px; border-radius: 20px; }
    .atividades-section { padding: 50px 12px 40px; margin-top: 20px; }
    .atividades-header h2 { font-size: 1.5rem; }
    .atividades-sub { font-size: 0.95rem; }

    /* Vídeo Libras mobile */
    .libras-video-section { padding: 15px 12px 30px; }
    .libras-video-wrapper { border-radius: 12px; }
}