/* ============================================================
 * style.css - TEMA GLOBAL DO PROJETO (TREINO)
 * ============================================================ */

/* 1. VARIÁVEIS DE CORES (Altere aqui para mudar o tema todo) */
:root {
    /* Cores Principais */
    --primary: #CCFF00;        /* Amarelo Neon */
    --primary-hover: #aadd00;  /* Amarelo escurecido */
    --primary-text: #000000;   /* Texto sobre o amarelo */

    /* Fundos */
    --bg-main: #000000;        /* Fundo geral (Landing e App) */
    --bg-card: #161b26;        /* Fundo dos cards no Admin */
    --bg-input: #1f1f22;       /* Fundo dos inputs */
    --bg-drawer: #0a0a0a;      /* Fundo do menu lateral */

    /* Textos */
    --txt-main: #ffffff;
    --txt-muted: #888888;

    /* Bordas e Detalhes */
    --line: #2a2a2a;
    --radius: 16px;
    
    /* Alertas (Mantém cores semânticas) */
    --ok: #00ff88;
    --ok-bg: rgba(0,255,136,0.1);
    --danger: #ff4d4d;
    --danger-bg: rgba(255,77,77,0.15);
}

/* 2. RESET GLOBAL */
* { box-sizing: border-box; margin: 0; padding: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
html, body { background: var(--bg-main); color: var(--txt-main); min-height: 100vh; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }

/* ============================================================
 * 3. ESTILOS DO APP (app.php)
 * ============================================================ */
.app-body {
    /* Adiciona espaço no final para o menu-footer e a barra de ações não se sobreporem */
    padding-bottom: 180px; 
    overflow-x: hidden;
}

/* Topbar */
.topbar { position: sticky; top: 0; z-index: 30; background: rgba(0,0,0,0.85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); padding: 12px 16px; display: flex; align-items: center; gap: 14px; }
.menu-btn { width: 44px; height: 44px; border-radius: 14px; background: var(--bg-input); border: 1px solid var(--line); color: var(--txt-main); font-size: 20px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: 0.2s; }
.menu-btn:active { transform: scale(0.95); border-color: var(--primary); color: var(--primary); }
.topbar-title { font-size: 16px; font-weight: 800; letter-spacing: -0.5px; }
.topbar-sub { font-size: 12px; color: var(--primary); font-weight: 600; margin-top: 2px; }

/* Dias da Semana */
.days-nav { display: flex; gap: 10px; padding: 16px; overflow-x: auto; scrollbar-width: none; }
.days-nav::-webkit-scrollbar { display: none; }
.day-btn { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 800; background: var(--bg-input); color: var(--txt-muted); border: 2px solid transparent; text-decoration: none; position: relative; transition: 0.2s; }
.day-btn.active { background: var(--primary); color: var(--primary-text); border-color: var(--primary); box-shadow: 0 0 15px rgba(204,255,0,0.3); transform: scale(1.05); }
.day-btn.has-workout { background: var(--bg-input); color: var(--txt-main); border-color: var(--primary); }
.day-btn.has-workout::after { content: ''; position: absolute; bottom: -2px; right: 0px; width: 10px; height: 10px; border-radius: 50%; background: var(--primary); border: 2px solid var(--bg-main); }

/* Conteúdo do App */
.content-area { padding: 8px 16px 120px; }
.section-label { font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: var(--primary); margin: 20px 4px 12px; font-weight: 800; }

/* Músculos */
.muscles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (min-width: 480px) { .muscles-grid { grid-template-columns: repeat(4, 1fr); } }
.muscle-card { background: var(--bg-input); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 8px 12px; display: flex; flex-direction: column; align-items: center; gap: 8px; cursor: pointer; user-select: none; position: relative; transition: 0.2s; }
.muscle-card input { display: none; }
.muscle-card .img-muscle { width: 54px; height: 54px; object-fit: cover; border-radius: 50%; display: block; margin: 0 auto; background: #222; border: 2px solid var(--line); transition: 0.2s;}
.muscle-card .lbl-muscle { font-size: 12px; font-weight: 700; color: var(--txt-main); text-align: center; }
.muscle-card.selected { background: rgba(204,255,0,0.08); border-color: var(--primary); box-shadow: inset 0 0 20px rgba(204,255,0,0.05); }
.muscle-card.selected .img-muscle { border-color: var(--primary); }
.muscle-card.selected::before { content: '✓'; position: absolute; top: 8px; right: 10px; color: var(--primary-text); background: var(--primary); width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 900; }

/* Exercícios */
.ex-card { display: flex; align-items: center; gap: 14px; background: var(--bg-input); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; margin-bottom: 12px; cursor: pointer; user-select: none; transition: 0.2s; }
.ex-card input { display: none; }
.ex-card.selected { border-color: var(--primary); background: rgba(204,255,0,0.05); }
.ex-card.selected::before { content: '✓'; color: var(--primary-text); background: var(--primary); width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 900; flex-shrink: 0; }
.ex-card .thumb { width: 64px; height: 64px; border-radius: 14px; overflow: hidden; background: #000; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 24px; border: 1px solid var(--line);}
.ex-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.ex-card .meta { flex: 1; min-width: 0; }
.ex-card .name { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.ex-card .info { font-size: 12px; color: var(--txt-muted); }
.ex-card .play { width: 38px; height: 38px; border-radius: 50%; background: var(--primary); color: var(--primary-text); display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0; text-decoration: none; box-shadow: 0 0 10px rgba(204,255,0,0.2);}

/* Barra de Ações Fixa */
/* E na barra de ações, garanta que ela flutue acima do menu-footer */
.action-bar {
    position: fixed; 
    bottom: 90px; /* Sobe a barra para ficar logo acima do menu de bolinhas */
    left: 16px; 
    right: 16px; 
    z-index: 25; 
    display: flex; 
    gap: 10px;
}
.action-bar a, .action-bar button { flex: 1; padding: 18px; border-radius: var(--radius); font-size: 16px; font-weight: 800; text-align: center; cursor: pointer; border: none; text-decoration: none; transition: 0.2s; }
.action-bar a:active, .action-bar button:active { transform: scale(0.97); }
.btn-primary { background: var(--primary); color: var(--primary-text); box-shadow: 0 4px 20px rgba(204,255,0,0.25); }
.btn-outline { background: var(--bg-input); color: var(--txt-main); border: 1px solid var(--line) !important; }

/* Menu Lateral (Drawer) & Overlay */
.overlay { position: fixed; inset: 0; z-index: 90; background: rgba(0, 0, 0, 0.8); backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
.overlay.open { opacity: 1; pointer-events: auto; }
.drawer { position: fixed;
 z-index: 100; /* Era 50, agora é 100 (o mais alto de todos) */
 top: 0; bottom: 0; left: 0; width: 280px; max-width: 85vw; background: var(--bg-drawer); border-right: 1px solid var(--line); transform: translateX(-100%); transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); display: flex; flex-direction: column; padding: 24px 20px;
 /* 🔥 CORREÇÃO AQUI: Permite rolar o menu se o conteúdo for maior que a tela */
    overflow-y: auto;
	}
	/* Esconde a barra de rolagem para ficar mais bonito */
.drawer::-webkit-scrollbar { width: 0px; background: transparent; }

.drawer.open { transform: translateX(0); }
.drawer .logo { font-size: 22px; font-weight: 900; color: var(--primary); margin-bottom: 32px; display: flex; align-items: center; gap: 8px; letter-spacing: -0.5px;}
.drawer a { display: flex; align-items: center; gap: 12px; padding: 14px 12px; border-radius: 12px; color: var(--txt-main); text-decoration: none; font-size: 15px; margin-bottom: 6px; transition: 0.2s; font-weight: 500;}
.drawer a:hover, .drawer a:active { background: var(--bg-input); color: var(--primary); }
.drawer a .ic { font-size: 20px; }
.drawer .btn-sair { color: var(--danger); margin-top: 16px; }
.drawer .btn-sair:hover { background: var(--danger-bg); color: var(--danger); }
.drawer-footer { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); text-align: center; }
.drawer-footer .doacao { font-size: 13px; color: var(--txt-muted); text-decoration: none; display: block; margin-bottom: 8px; transition: color 0.2s; }
.drawer-footer .doacao:hover { color: var(--primary); }
.drawer-footer .creditos { font-size: 10px; color: #444; text-transform: uppercase; letter-spacing: 0.5px; }

/* Alertas */
.alert { margin: 16px; padding: 14px; border-radius: 12px; font-size: 14px; font-weight: 700; display: flex; align-items: center; gap: 8px;}
.alert-ok { background: var(--ok-bg); color: var(--ok); border: 1px solid rgba(0,255,136,0.3); }
.alert-err { background: var(--danger-bg); color: var(--danger); border: 1px solid rgba(255,77,77,0.3); }

/* ============================================================
 * 4. ESTILOS DO ADMIN (dashboard-admin.php)
 * ============================================================ */
.admin-body { display: flex; min-height: 100vh; background: var(--bg-main); }
.sidebar { width: 260px; background: var(--bg-card); border-right: 1px solid var(--line); padding: 30px 20px; border-top-right-radius: var(--radius); border-bottom-right-radius: var(--radius); }
.sidebar h2 { color: var(--primary); font-size: 22px; margin-bottom: 30px; font-weight: 800; letter-spacing: -0.5px; display: flex; align-items: center; gap: 8px;}
.sidebar a { display: flex; align-items: center; gap: 10px; padding: 14px 16px; color: var(--txt-muted); text-decoration: none; border-radius: var(--radius); font-size: 14px; font-weight: 600; margin-bottom: 8px; transition: 0.2s;}
.sidebar a:hover, .sidebar a.active { background: var(--bg-input); color: var(--primary); }

.admin-main { flex: 1; padding: 30px 40px; overflow-y: auto; }
.admin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.admin-header h2 { font-size: 24px; font-weight: 700; }
.btn { background: var(--primary); color: var(--primary-text); padding: 12px 24px; border-radius: 30px; text-decoration: none; border: none; font-weight: 800; cursor: pointer; font-size: 14px; display: inline-flex; align-items: center; gap: 8px; transition: 0.2s;}
.btn:hover { opacity: 0.9; transform: translateY(-2px); }
.btn-icon { width: 40px; height: 40px; border-radius: 50%; padding: 0; justify-content: center; background: var(--bg-input); color: var(--txt-main); }
.btn-icon:hover { background: var(--primary); color: var(--primary-text); }
.btn-red { background: rgba(239, 68, 68, 0.1); color: var(--danger); border: 1px solid var(--danger); }
.btn-red:hover { background: var(--danger); color: #fff; }

/* Tabelas */
.table-container { background: var(--bg-card); border-radius: var(--radius); padding: 10px; border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 16px; text-align: left; border-bottom: 1px solid var(--line); }
th { color: var(--txt-muted); font-size: 12px; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }
td { font-size: 14px; }
tr:last-child td { border-bottom: none; }
img.thumb { width: 56px; height: 56px; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--line); }
.badge { background: var(--bg-input); padding: 6px 12px; border-radius: 20px; font-size: 12px; font-weight: 600; color: var(--primary); }

/* Formulário Admin */
.form-box { background: var(--bg-card); padding: 30px; border-radius: var(--radius); max-width: 700px; border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-size: 13px; color: var(--txt-muted); font-weight: 600; }
.form-group input[type="text"], .form-group input[type="number"], .form-group select, .form-group textarea { width: 100%; padding: 16px; background: var(--bg-input); border: 1px solid var(--line); color: var(--txt-main); border-radius: var(--radius); font-size: 14px; transition: 0.2s; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(204, 255, 0, 0.1); }
.form-group input[type="file"] { width: 100%; padding: 14px; background: var(--bg-input); border: 1px dashed var(--primary); color: var(--txt-main); border-radius: var(--radius); cursor: pointer; }
.img-preview { display: block; width: 80px; height: 80px; object-fit: cover; border-radius: var(--radius); margin-bottom: 12px; border: 2px solid var(--primary); }
.flash { padding: 16px; margin-bottom: 24px; border-radius: var(--radius); font-size: 14px; font-weight: 600; }
.flash.ok { background: rgba(74, 93, 35, 0.3); color: #a3e635; border: 1px solid #4a5d23; }
.flash.err { background: rgba(239, 68, 68, 0.1); color: #fca5a5; border: 1px solid #ef4444; }



/* ============================================================
 * 5. EXECUÇÃO DO TREINO (MEU-TREINO.PHP)
 * ============================================================ */

/* Cabeçalho Fixo Superior */
.workout-header-fixed {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 14px;
}
.btn-back-circle {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--bg-input);
    border: 1px solid var(--line);
    color: var(--txt-main);
    display: flex; align-items: center; justify-content: center;
    text-decoration: none;
    transition: 0.2s;
}
.btn-back-circle:active {
    border-color: var(--primary);
    color: var(--primary);
}
.header-text h1 { font-size: 18px; font-weight: 800; line-height: 1.2; }
.header-text p { font-size: 12px; color: var(--primary); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }

/* Card do Exercício */
.workout-card {
    background: var(--bg-input);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 16px;
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: 0.3s;
}
.workout-card.done {
    opacity: 0.5;
    border-color: var(--ok);
}
.workout-card.active-timer {
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(204, 255, 0, 0.1);
}

.workout-header {
    display: flex;
    align-items: center;
    gap: 16px;
}
.workout-header .thumb {
    width: 64px; height: 64px;
    border-radius: 12px;
    background: #000;
    object-fit: cover;
    border: 1px solid var(--line);
}
.workout-info { flex: 1; }
.workout-title { font-size: 16px; font-weight: 800; margin-bottom: 4px; color: #fff; }
.workout-meta { font-size: 13px; color: var(--txt-muted); font-weight: 500;}

/* Bolinhas de Séries */
.series-dots { display: flex; gap: 8px; align-items: center;}
.dot {
    width: 14px; height: 14px; border-radius: 50%;
    background: var(--line); border: 1px solid var(--line);
    transition: 0.3s;
}
.dot.active { background: var(--primary); box-shadow: 0 0 10px var(--primary); border-color: var(--primary); }

/* ============================================================
 * RODAPÉ FIXO (TIMER GLOBAL)
 * ============================================================ */
.bottom-player {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 40;
    background: var(--bg-2); /* Fundo escuro profundo */
	 /* 🔥 AQUI ESTÁ A MÁGICA DA TRANSPARÊNCIA */
    background: rgba(10, 10, 10, 0.75); /* Fundo escuro com 75% de opacidade */
    backdrop-filter: blur(15px);        /* Desfoca o que estiver atrás (efeito vidro) */
    -webkit-backdrop-filter: blur(15px);/* Suporte para Safari/iOS */
	
    border-top: 1px solid var(--line);
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.8);
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}/* Linha superior com gradiente que some nas pontas */
.bottom-player::before {
    content: "";
    position: absolute;
    top: 0;
    left: 10%;   /* Começa a linha um pouco pra dentro */
    right: 10%;  /* Termina a linha um pouco antes da ponta */
    height: 2px; /* Espessura da borda */
    
    /* Gradiente que vai de transparente -> amarelo neon -> transparente */
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0.6; /* Deixa a linha mais suave */
    border-radius: 2px;
}
.bottom-player.show { transform: translateY(0); }

.bottom-player .current-ex {
    font-size: 13px; color: var(--txt-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; font-weight: 600;
}

/* O número do timer no meio */
.timer-circle {
    position: relative;
    width: 120px; height: 120px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: rgba(204, 255, 0, 0.05);
    border: 2px solid var(--line);
    margin-bottom: 12px;
}
.timer-circle.active {
    border-color: var(--primary);
    box-shadow: 0 0 25px rgba(204, 255, 0, 0.2);
}
.timer-text {
    font-size: 36px; font-weight: 900; color: var(--txt-main); letter-spacing: -1px;
    font-variant-numeric: tabular-nums;
}
.timer-text.active { color: var(--primary); }

.btn-finish-series {
    background: var(--primary); color: var(--primary-text);
    width: 100%; padding: 18px; border-radius: var(--radius);
    font-size: 16px; font-weight: 800; border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    transition: 0.2s;
    box-shadow: 0 4px 20px rgba(204,255,0,0.2);
}
.btn-finish-series:active { transform: scale(0.98); }

/* Animação de pulso enquanto o timer roda */
@keyframes pulse-ring {
    0% { box-shadow: 0 0 0 0 rgba(204, 255, 0, 0.4); }
    70% { box-shadow: 0 0 0 20px rgba(204, 255, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(204, 255, 0, 0); }
}
.timer-circle.rodando { animation: pulse-ring 1.5s infinite; border-color: var(--primary); }


/* ============================================================
 * PLAYER FIXO DE EXECUÇÃO (BOTTOM SHEET)
 * ============================================================ */
.bottom-player {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 40;
    background: var(--bg-2); 
    border-top: 1px solid var(--line);
    padding: 20px 16px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.9);
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.bottom-player.show { transform: translateY(0); }

.player-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}
.player-title { font-size: 16px; font-weight: 800; color: #fff; }
.player-subtitle { font-size: 12px; color: var(--txt-muted); text-transform: uppercase; letter-spacing: 1px; font-weight: 600;}
.btn-stop-mini {
    background: rgba(255, 77, 77, 0.15);
    color: #ff4d4d;
    border: 1px solid #ff4d4d;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

/* Círculo do Timer */
.timer-wrapper { display: flex; gap: 20px; align-items: center; justify-content: center; width: 100%; margin-bottom: 20px;}

.timer-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.timer-box span { font-size: 12px; color: var(--txt-muted); text-transform: uppercase; font-weight: 700; letter-spacing: 1px;}
.timer-circle {
    position: relative;
    width: 120px; height: 120px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: var(--bg-input);
    border: 3px solid var(--line);
    transition: 0.3s;
}
.timer-circle.active-exec {
    border-color: var(--primary);
    box-shadow: 0 0 25px rgba(204, 255, 0, 0.2);
}
.timer-circle.active-rest {
    border-color: #fff;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.2);
}
.timer-text {
    font-size: 36px; font-weight: 900; color: var(--txt-main);
    font-variant-numeric: tabular-nums; letter-spacing: -1px;
}
.timer-text.exec { color: var(--primary); }
.timer-text.rest { color: #fff; }

/* Botão Play dentro do Card */
.btn-play-card {
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--primary); color: var(--primary-text);
    display: flex; align-items: center; justify-content: center;
    border: none; cursor: pointer; transition: 0.2s;
}
.btn-play-card:active { transform: scale(0.95); }

/* Bolinhas */
.series-dots { display: flex; gap: 8px; align-items: center; margin-top: 10px;}
.dot {
    width: 14px; height: 14px; border-radius: 50%;
    background: var(--bg-input); border: 1px solid var(--line);
    transition: 0.3s;
}
.dot.active { background: var(--primary); box-shadow: 0 0 10px var(--primary); border-color: var(--primary); }


/* ============================================================
 * COMPONENTES GLOBAIS (MENUS E TOPO)
 * ============================================================ */
/* Topo Padrão */
.topbar-global {
    position: sticky; top: 0; z-index: 30;
    background: rgba(10,10,10,0.9); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line); padding: 12px 16px;
    display: flex; align-items: center; justify-content: space-between;
}
.btn-circle {
    width: 42px; height: 42px; border-radius: 50%;
    background: var(--bg-input); border: 1px solid var(--line);
    color: var(--txt-main); display: flex; align-items: center; justify-content: center;
    cursor: pointer; text-decoration: none; transition: 0.2s;
}
.btn-circle:active { border-color: var(--primary); color: var(--primary); }
.topbar-title { font-size: 16px; font-weight: 800; text-align: center; }
.topbar-title span { display: block; font-size: 11px; color: var(--primary); font-weight: 600; text-transform: uppercase; }

/* Menu Footer (Bolhas) */
/* Atualize a classe .footer-nav no style.css */
.footer-nav {
    position: fixed; 
    bottom: 0; left: 0; right: 0; 
    z-index: 50;
    background: rgba(10,10,10,0.95);
    backdrop-filter: blur(15px);
    border-top: 1px solid var(--line); 
    /*padding: 12px 20px 24px;*/
    display: flex; align-items: center; justify-content: space-around;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); /* Adicione isso */
}

/* Classe que esconde o menu deslizando para baixo */
.footer-nav.hide-menu {
    transform: translateY(100%);
}
.footer-nav .nav-dot {
    width: 50px; height: 50px; border-radius: 50%;
    background: var(--bg-input); border: 1px solid var(--line);
    display: flex; align-items: center; justify-content: center;
    color: var(--txt-muted); text-decoration: none; transition: 0.3s;
    font-size: 20px;
}
/* A bolinha do meio é maior e amarela */
.footer-nav .nav-dot.center {
    width: 64px; height: 64px;
    background: var(--primary); color: var(--primary-text);
    border: none; box-shadow: 0 4px 15px rgba(204,255,0,0.3);
    transform: translateY(-15px);
}
.footer-nav .nav-dot.active:not(.center) {
    color: var(--primary); border-color: var(--primary);
}








/* ============================================================
 * EFEITO PULSE FADE-OUT NO TIMER
 * ============================================================ */

/* O Círculo Base */
.timer-circle {
    position: relative;
    /* Seu restante do CSS do timer-circle (tamanho, borda, etc) */
}

/* A animação de pulso (só acontece quando tiver a classe .active-exec ou .active-rest) */
.timer-circle.active-exec {
    animation: pulse-primary 1.5s infinite;
}

.timer-circle.active-rest {
    animation: pulse-rest 1.5s infinite;
}

/* Keyframe para o amarelo (execução) */
@keyframes pulse-primary {
    0% {
        box-shadow: 0 0 0 0 rgba(204, 255, 0, 0.7); /* Amarelo neon forte */
        border-color: var(--primary);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(204, 255, 0, 0); /* Expande e fica transparente */
        border-color: var(--primary);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(204, 255, 0, 0); /* Reseta */
        border-color: var(--primary);
    }
}

/* Keyframe para o branco (descanso) */
@keyframes pulse-rest {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); /* Branco forte */
        border-color: #ffffff;
    }
    70% {
        box-shadow: 0 0 0 20px rgba(255, 255, 255, 0); /* Expande e fica transparente */
        border-color: #ffffff;
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); /* Reseta */
        border-color: #ffffff;
    }
}