/* --- TEMA CYBER-MINIMALISTA --- */
:root {
    --bg-fundo: #0B1120;
    --bg-cartoes: #1E293B;
    --texto-principal: #F8FAFC;
    --texto-secundario: #94A3B8;
    --neon: #00E5FF;
    --neon-hover: #00B8CC;
}

* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; }
body { background-color: var(--bg-fundo); color: var(--texto-principal); line-height: 1.6; padding-bottom: 120px; }

/* --- Cabeçalho Limpo --- */
.topo-site { display: flex; justify-content: space-between; align-items: center; padding: 15px 20px; background-color: rgba(11, 17, 32, 0.8); backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 100; border-bottom: 1px solid rgba(255,255,255,0.05); }
.marca { display: flex; align-items: center; gap: 12px; }
.logotipo { width: 45px; border-radius: 50%; border: 1px solid rgba(0, 229, 255, 0.3); }
.logo-texto { font-size: 1.3rem; color: var(--texto-principal); font-weight: 800; letter-spacing: 0.5px; }

/* Perfil Topo */
.btn-entrar-topo { display: flex; align-items: center; gap: 8px; background-color: transparent; color: var(--texto-principal) !important; padding: 5px 12px 5px 5px; border: 1px solid rgba(255,255,255,0.2); border-radius: 25px; text-decoration: none; font-weight: 500; font-size: 0.9rem; transition: all 0.3s ease; }
.btn-entrar-topo:hover { background-color: rgba(0, 229, 255, 0.1); border-color: var(--neon); }
.avatar-vazio { font-size: 1.2rem; }
.avatar-logado { width: 30px; height: 30px; border-radius: 50%; background-color: var(--neon); color: #000; display: flex; justify-content: center; align-items: center; font-weight: bold; font-size: 0.9rem; letter-spacing: 0px; }
#btn-sair { color: #F43F5E; font-weight: 500; text-decoration: none; font-size: 0.8rem; padding: 6px; transition: color 0.3s; }
#btn-sair:hover { text-shadow: 0 0 8px rgba(244, 63, 94, 0.5); }

/* --- MENU RADIAL FLUTUANTE --- */
.menu-radial-container { position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 1000; display: flex; justify-content: center; align-items: center; }

/* OTIMIZADO: Performance de Animação para não drenar bateria */
.fab-principal { width: 78px; height: 78px; border-radius: 50%; background: transparent; border: none; cursor: pointer; z-index: 1001; display: flex; justify-content: center; align-items: center; padding: 0; animation: pulsar-coracao 1.8s infinite ease-in-out; will-change: transform, filter; }
.fab-principal img { width: 100%; height: 100%; border-radius: 50%; object-fit: contain; }
.fab-principal:active { transform: scale(0.92); }

.menu-radial-container.aberto .fab-principal { animation: none; transform: scale(1.08); }
.menu-radial-container.aberto .fab-principal img { filter: drop-shadow(0 0 18px rgba(0, 229, 255, 0.95)); }

@keyframes pulsar-coracao {
    0% { transform: scale(1); filter: drop-shadow(0 4px 10px rgba(0,0,0,0.8)) drop-shadow(0 0 4px rgba(0, 229, 255, 0.3)); }
    14% { transform: scale(1.08); filter: drop-shadow(0 4px 12px rgba(0,0,0,0.8)) drop-shadow(0 0 16px rgba(0, 229, 255, 0.9)); }
    28% { transform: scale(1.02); filter: drop-shadow(0 4px 10px rgba(0,0,0,0.8)) drop-shadow(0 0 8px rgba(0, 229, 255, 0.5)); }
    42% { transform: scale(1.12); filter: drop-shadow(0 4px 14px rgba(0,0,0,0.8)) drop-shadow(0 0 22px rgba(0, 229, 255, 1)); }
    70% { transform: scale(1); filter: drop-shadow(0 4px 10px rgba(0,0,0,0.8)) drop-shadow(0 0 4px rgba(0, 229, 255, 0.3)); }
    100% { transform: scale(1); filter: drop-shadow(0 4px 10px rgba(0,0,0,0.8)) drop-shadow(0 0 4px rgba(0, 229, 255, 0.3)); }
}

.fab-opcoes { position: absolute; top: 0; left: 0; right: 0; bottom: 0; pointer-events: none; }
.fab-opcao { position: absolute; top: 50%; left: 50%; width: 65px; height: 65px; margin-top: -32.5px; margin-left: -32.5px; border-radius: 50%; opacity: 0; transform: scale(0); transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); cursor: pointer; pointer-events: auto; text-decoration: none; }
.fab-opcao img { width: 100%; height: 100%; border-radius: 50%; object-fit: contain; filter: drop-shadow(0 4px 6px rgba(0,0,0,0.6)); transition: transform 0.2s, filter 0.2s; will-change: transform, filter; }
.fab-opcao:hover img { transform: scale(1.15) !important; filter: brightness(1.2) drop-shadow(0 0 15px rgba(0, 229, 255, 0.8)) !important; }

.fab-label { position: absolute; bottom: -25px; left: 50%; transform: translateX(-50%); color: white; font-size: 0.7rem; font-weight: bold; text-shadow: 0 2px 4px black; opacity: 0; transition: opacity 0.3s; }

.menu-radial-container.aberto .fab-opcao { opacity: 1; }
.menu-radial-container.aberto .fab-label { opacity: 1; }

.menu-radial-container.aberto .fab-opcao:nth-child(1) { transform: translate(-100px, -25px) scale(1); }
.menu-radial-container.aberto .fab-opcao:nth-child(2) { transform: translate(-75px, -80px) scale(1); }
.menu-radial-container.aberto .fab-opcao:nth-child(3) { transform: translate(0px, -105px) scale(1); }
.menu-radial-container.aberto .fab-opcao:nth-child(4) { transform: translate(75px, -80px) scale(1); }
.menu-radial-container.aberto .fab-opcao:nth-child(5) { transform: translate(100px, -25px) scale(1); }

@keyframes onda-neon {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 4px 6px rgba(0,0,0,0.6)); }
    20% { transform: scale(1.15); filter: brightness(1.3) drop-shadow(0 0 18px var(--neon)); }
}

.menu-radial-container.aberto .fab-opcao img { animation: onda-neon 2.5s infinite; }
.menu-radial-container.aberto .fab-opcao:nth-child(1) img { animation-delay: 0.0s; }
.menu-radial-container.aberto .fab-opcao:nth-child(2) img { animation-delay: 0.2s; }
.menu-radial-container.aberto .fab-opcao:nth-child(3) img { animation-delay: 0.4s; }
.menu-radial-container.aberto .fab-opcao:nth-child(4) img { animation-delay: 0.6s; }
.menu-radial-container.aberto .fab-opcao:nth-child(5) img { animation-delay: 0.8s; }

/* --- Secções e Estrutura --- */
.vista-seccao { display: none; padding: 40px 20px; animation: fadeIn 0.4s ease-in; max-width: 1000px; margin: 0 auto; }
.vista-seccao.ativa { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.seccao-contacto, .produto-card, .video-item, .painel-dashboard { background-color: var(--bg-cartoes); padding: 25px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.05); box-shadow: 0 4px 15px rgba(0,0,0,0.2); }
.video-item { margin-bottom: 30px; }
.desc-video { font-size: 0.95rem; color: var(--texto-secundario); margin-top: 15px; text-align: justify; }

.form-grupo { margin-bottom: 15px; text-align: left; }
.form-grupo label { display: block; margin-bottom: 5px; font-weight: bold; color: var(--texto-secundario); font-size: 0.9rem; }
.input-moderno { width: 100%; padding: 12px; border: 1px solid rgba(255,255,255,0.1); border-radius: 6px; font-size: 1rem; background-color: rgba(0,0,0,0.2); color: white; transition: border-color 0.3s; }
.input-moderno:focus { border-color: var(--neon); outline: none; box-shadow: 0 0 8px rgba(0, 229, 255, 0.2); }

/* OTIMIZADO: Acessibilidade visual na navegação por teclado */
.btn-nav-clicavel:focus-visible, .input-moderno:focus-visible { outline: 2px solid var(--neon); outline-offset: 3px; }

.btn-azul { width: 100%; background: linear-gradient(135deg, var(--neon), #0077FF); color: #fff; padding: 12px; border: none; border-radius: 6px; font-size: 1rem; cursor: pointer; font-weight: bold; transition: opacity 0.3s; text-shadow: 0 1px 2px rgba(0,0,0,0.3); }
.btn-azul:hover { opacity: 0.9; }

h2 { color: var(--texto-principal); margin-bottom: 20px; font-weight: 300; }
p { color: var(--texto-secundario); margin-bottom: 15px; }

@media (max-width: 480px) {
    #nome-user-topo { display: none; }
    .logo-texto { font-size: 1.1rem; }
}