Initial commit: Substituição pelo portal Apex Solutions

This commit is contained in:
2026-06-08 17:08:10 +01:00
commit 74a73f5cd0
10 changed files with 930 additions and 0 deletions
+474
View File
@@ -0,0 +1,474 @@
/* =========================================================
1. RESET E VARIÁVEIS
========================================================= */
:root {
--primary-color: #0f172a;
--accent-color: #3b82f6;
--bg-color: #f8fafc;
--card-bg: #ffffff;
--text-main: #334155;
--text-muted: #64748b;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Inter', sans-serif;
}
body {
background-color: var(--bg-color);
color: var(--text-main);
display: flex;
flex-direction: column;
min-height: 100vh;
}
.container {
max-width: 900px;
margin: 0 auto;
padding: 0 40px;
}
/* =========================================================
2. NAVEGAÇÃO E RODAPÉ
========================================================= */
.navbar {
background-color: rgba(15, 23, 42, 0.95); /* Cor escura com 5% de transparência */
backdrop-filter: blur(8px); /* Cria o efeito de vidro desfocado */
color: white;
padding: 20px 0;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15); /* Sombra mais suave e espalhada */
position: sticky; /* Fixa a barra no topo */
top: 0;
z-index: 1000; /* Garante que a barra fica sempre por cima do conteúdo */
}
.navbar .container {
display: flex;
justify-content: space-between;
align-items: center;
}
.logo {
font-size: 24px;
font-weight: 700;
letter-spacing: -0.5px; /* Junta ligeiramente as letras para um look corporativo */
}
.logo span {
color: var(--accent-color);
}
.navbar ul {
list-style: none;
display: flex;
gap: 10px; /* Reduzido o gap para acomodar o padding dos novos botões */
}
.navbar a {
color: #cbd5e1;
text-decoration: none;
font-weight: 500;
padding: 8px 16px; /* Transforma o link num botão clicável com espaço interno */
border-radius: 6px; /* Cantos arredondados */
transition: all 0.3s ease; /* Transição suave de cores e fundos */
}
/* Efeito ao passar o rato (Hover) */
.navbar a:hover {
color: white;
background-color: rgba(255, 255, 255, 0.1); /* Fundo branco muito subtil */
}
/* Estado da página atual (Active) */
.navbar a.active {
color: white;
background-color: var(--accent-color);
box-shadow: 0 2px 8px rgba(59, 130, 246, 0.4); /* Sombra azul ao redor do botão ativo */
}
footer {
background-color: white;
text-align: center;
padding: 40px 20px;
color: var(--text-muted);
font-size: 14px;
border-top: 1px solid #e2e8f0;
}
/* =========================================================
3. ESTRUTURA GERAL (MAIN & INTRO)
========================================================= */
main {
flex-grow: 1;
padding: 80px 20px;
}
.intro {
margin-bottom: 40px;
border-bottom: 1px solid #e2e8f0;
padding-bottom: 20px;
}
.intro h2 {
font-size: 28px;
color: var(--primary-color);
margin-bottom: 5px;
}
.intro p {
color: var(--text-muted);
}
/* --- Lógica de View (Single Page App) --- */
.view-section.hidden {
display: none;
}
.view-section.active {
display: block;
animation: fadeIn 0.4s ease-in-out;
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(10px); }
to { opacity: 1; transform: translateY(0); }
}
/* =========================================================
4. COMPONENTES (Cartões, Tabelas, Formulários)
========================================================= */
/* --- Diretório: Grelha de Cartões --- */
.grid-colaboradores {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
gap: 20px;
}
.cartao {
background: var(--card-bg);
border-radius: 8px;
padding: 20px;
box-shadow: 0 1px 3px rgba(0,0,0,0.1);
display: flex;
align-items: center;
gap: 15px;
transition: transform 0.2s, box-shadow 0.2s;
border: 1px solid #e2e8f0;
}
.cartao:hover {
transform: translateY(-2px);
box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.avatar {
width: 50px;
height: 50px;
background-color: var(--accent-color);
color: white;
border-radius: 50%;
display: flex;
justify-content: center;
align-items: center;
font-size: 20px;
font-weight: bold;
}
.info h3 {
font-size: 16px;
color: var(--primary-color);
}
.cargo {
font-size: 14px;
font-weight: 600;
color: var(--accent-color);
margin: 2px 0;
}
.departamento {
font-size: 13px;
color: var(--text-muted);
}
.email {
font-size: 13px;
color: var(--text-muted);
text-decoration: none;
display: inline-block;
margin-top: 5px;
}
.email:hover {
color: var(--accent-color);
text-decoration: underline;
}
/* --- Departamentos: Tabela --- */
.table-container {
background: var(--card-bg);
border-radius: 8px;
border: 1px solid #e2e8f0;
overflow: hidden;
box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.data-table {
width: 100%;
border-collapse: collapse;
text-align: left;
}
.data-table th {
background-color: #f1f5f9;
color: var(--primary-color);
padding: 15px;
font-size: 14px;
border-bottom: 2px solid #e2e8f0;
}
.data-table td {
padding: 15px;
border-bottom: 1px solid #e2e8f0;
color: var(--text-main);
font-size: 14px;
}
.data-table tr:last-child td {
border-bottom: none;
}
.data-table tr:hover td {
background-color: #f8fafc;
}
.badge {
background-color: #dcfce7;
color: #166534;
padding: 4px 8px;
border-radius: 12px;
font-size: 12px;
font-weight: 600;
}
.text-center {
text-align: center;
}
/* --- Definições: Cartões e Botões --- */
.settings-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
gap: 20px;
}
.settings-card {
background: var(--card-bg);
border-radius: 8px;
padding: 25px;
border: 1px solid #e2e8f0;
box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.settings-card h3 {
color: var(--primary-color);
margin-bottom: 10px;
}
.settings-card p {
color: var(--text-muted);
font-size: 14px;
margin-bottom: 20px;
min-height: 40px;
}
.btn-outline {
background: transparent;
color: var(--accent-color);
border: 1px solid var(--accent-color);
padding: 8px 16px;
border-radius: 6px;
font-weight: 600;
cursor: pointer;
transition: all 0.2s;
width: 100%;
margin-top: 0;
}
.btn-outline:hover {
background: var(--accent-color);
color: white;
}
/* --- Formulário de Contacto --- */
.divisor {
border: 0;
height: 1px;
background: #e2e8f0;
margin: 40px 0;
}
.contacto-suporte {
background: var(--card-bg);
padding: 30px;
border-radius: 8px;
border: 1px solid #e2e8f0;
box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.contacto-suporte h2 {
color: var(--primary-color);
margin-bottom: 5px;
}
.contacto-suporte p {
color: var(--text-muted);
margin-bottom: 20px;
font-size: 14px;
}
.formulario {
display: flex;
flex-direction: column;
gap: 15px;
max-width: 600px;
}
.grupo-input {
display: flex;
flex-direction: column;
gap: 5px;
}
.grupo-input label {
font-weight: 600;
font-size: 14px;
color: var(--text-main);
}
.grupo-input input,
.grupo-input textarea {
padding: 10px 12px;
border: 1px solid #cbd5e1;
border-radius: 6px;
font-size: 14px;
outline: none;
transition: border-color 0.2s;
font-family: inherit;
}
.grupo-input input:focus,
.grupo-input textarea:focus {
border-color: var(--accent-color);
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
button[type="submit"] {
background-color: var(--accent-color);
color: white;
border: none;
padding: 12px 20px;
border-radius: 6px;
font-weight: 600;
cursor: pointer;
transition: background-color 0.2s;
margin-top: 10px;
}
button[type="submit"]:hover {
background-color: #2563eb;
}
button[type="submit"]:disabled {
background-color: #94a3b8;
cursor: not-allowed;
}
/* Status da Mensagem / Notificações */
.status-oculto {
display: none;
}
.status-visivel {
display: block;
padding: 10px;
border-radius: 6px;
margin-top: 15px;
font-size: 14px;
font-weight: 600;
text-align: center;
}
.status-sucesso {
background-color: #dcfce7;
color: #166534;
border: 1px solid #bbf7d0;
}
.status-erro {
background-color: #fee2e2;
color: #991b1b;
border: 1px solid #fecaca;
}
/* =========================================================
5. RESPONSIVIDADE (Mobile & Tablets)
========================================================= */
@media (max-width: 768px) {
main {
padding: 40px 15px;
}
.container {
padding: 0 15px;
}
.navbar {
padding: 15px 0;
}
.navbar .container {
flex-direction: column;
gap: 15px;
}
.navbar ul {
flex-wrap: wrap;
justify-content: center;
gap: 5px;
}
.navbar a {
padding: 6px 12px;
font-size: 14px;
}
.intro h2 {
font-size: 24px;
}
.intro p {
font-size: 14px;
}
.grid-colaboradores {
grid-template-columns: 1fr;
}
.settings-grid {
grid-template-columns: 1fr;
}
.table-container {
overflow-x: auto;
-webkit-overflow-scrolling: touch;
}
.data-table th, .data-table td {
white-space: nowrap;
padding: 10px;
}
}