* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
:root {
--bg-page: #0a0a0c;
--card-bg: #121216;
--card-hover: #1a1a20;
--text-main: #ffffff;
--text-muted: #9ca3af;
--border-color: #27272a;
--primary: #1db954;
--primary-hover: #1ed760;
--lime: #84cc16;
--lime-bright: #a3e635;
--accent: #38bdf8;
--danger: #ef4444;
}
body {
background-color: var(--bg-page);
color: var(--text-main);
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
min-height: 100vh;
display: flex;
justify-content: center;
align-items: flex-start;
padding-top: 65px;
}
body.modal-open {
overflow: hidden;
position: fixed;
width: 100%;
height: 100vh;
}
/* Bloqueio Total até Carregar Tudo */
.hidden-until-loaded {
display: none !important;
}
.preloader-overlay {
position: fixed;
inset: 0;
width: 100vw;
height: 100vh;
background-color: var(--bg-page);
z-index: 9999;
display: flex;
align-items: center;
justify-content: center;
transition: opacity 0.22s ease;
}
.preloader-overlay.preloader-done {
opacity: 0;
pointer-events: none;
}
.preloader-spinner {
width: 48px;
height: 48px;
border-radius: 50%;
border: 4px solid rgba(163, 230, 53, 0.16);
border-top-color: var(--lime-bright);
border-right-color: var(--lime);
box-shadow: 0 0 18px rgba(132, 204, 22, 0.28);
animation: spinCircular 0.85s linear infinite;
}
@keyframes spinCircular {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
.app-shell {
width: 100%;
display: flex;
justify-content: center;
align-items: flex-start;
}
/* Cabeçalho Fixo Branco Estilizado */
.top-header-fixed {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 60px;
background-color: #ffffff;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
z-index: 2000;
display: flex;
justify-content: center;
align-items: center;
}
.header-content {
width: 100%;
max-width: 480px;
padding: 0 16px;
display: flex;
justify-content: space-between;
align-items: center;
}
.brand-logo {
display: flex;
align-items: center;
gap: 10px;
text-decoration: none;
color: #111827;
font-size: 1.2rem;
font-weight: 700;
}
.brand-logo i {
font-size: 1.35rem;
color: #1db954;
}
.brand-name strong {
color: #1db954;
font-weight: 800;
}
.menu-toggle-btn {
background: transparent;
border: none;
color: #111827;
font-size: 22px;
cursor: pointer;
width: 40px;
height: 40px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
transition: background 0.2s;
}
.menu-toggle-btn:hover {
background-color: rgba(0, 0, 0, 0.08);
}
/* Menu Dropdown Profissional à Direita */
.dropdown-menu-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.6);
z-index: 2900;
backdrop-filter: blur(4px);
display: flex;
justify-content: flex-end;
}
.dropdown-menu-card {
width: 280px;
height: 100%;
background-color: #121216;
border-left: 1px solid var(--border-color);
padding: 20px;
display: flex;
flex-direction: column;
gap: 20px;
animation: slideInRight 0.3s cubic-bezier(0.25, 1, 0.5, 1);
box-shadow: -5px 0 25px rgba(0,0,0,0.5);
}
@keyframes slideInRight {
from { transform: translateX(100%); }
to { transform: translateX(0); }
}
.dropdown-header {
display: flex;
justify-content: space-between;
align-items: center;
font-weight: 700;
font-size: 1.1rem;
color: var(--text-main);
border-bottom: 1px solid var(--border-color);
padding-bottom: 12px;
}
.dropdown-header button {
background: rgba(255, 255, 255, 0.05);
border: 1px solid var(--border-color);
color: var(--text-muted);
width: 32px;
height: 32px;
border-radius: 50%;
font-size: 16px;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.2s;
}
.dropdown-header button:hover {
background: var(--danger);
color: #fff;
border-color: var(--danger);
}
.dropdown-links {
list-style: none;
display: flex;
flex-direction: column;
gap: 10px;
}
.dropdown-links a {
display: flex;
align-items: center;
gap: 14px;
padding: 14px 16px;
color: var(--text-main);
text-decoration: none;
border-radius: 12px;
background-color: #16161c;
border: 1px solid var(--border-color);
transition: all 0.2s ease;
font-size: 0.95rem;
font-weight: 600;
}
.dropdown-links a i {
color: var(--accent);
font-size: 1.1rem;
width: 20px;
text-align: center;
}
.dropdown-links a:hover {
background-color: #1f1f28;
border-color: var(--primary);
color: var(--primary);
transform: translateX(4px);
}
.dropdown-links a:hover i {
color: var(--primary);
}
.app-container {
width: 100%;
max-width: 480px;
min-height: calc(100vh - 65px);
background-color: var(--bg-page);
padding: 20px 16px 70px 16px;
display: flex;
flex-direction: column;
}
.manual-list-section h2 {
font-size: 1.05rem;
color: var(--text-main);
display: flex;
align-items: center;
gap: 8px;
font-weight: 700;
}
/* Carrossel Fixo no Rodapé com Controle de Recolher */
.carrossel-footer-sticky {
position: sticky;
bottom: 10px;
z-index: 1000;
background-color: rgba(18, 18, 22, 0.96);
backdrop-filter: blur(8px);
padding: 12px 14px;
border: 1px solid var(--border-color);
border-radius: 14px;
box-shadow: 0 -4px 20px rgba(0,0,0,0.5);
transition: all 0.3s ease;
}
.carrossel-header-bar {
display: flex;
justify-content: space-between;
align-items: center;
}
.btn-toggle-carrossel {
background: rgba(255, 255, 255, 0.08);
border: 1px solid var(--border-color);
color: var(--accent);
width: 32px;
height: 32px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: transform 0.3s ease, background 0.2s;
}
.btn-toggle-carrossel:hover {
background: rgba(255, 255, 255, 0.15);
}
.carrossel-content-wrap {
overflow: hidden;
max-height: 600px;
transition: max-height 0.35s ease-in-out, opacity 0.3s ease-in-out, margin-top 0.3s ease;
opacity: 1;
margin-top: 12px;
}
.carrossel-footer-sticky.recolhido .carrossel-content-wrap {
max-height: 0;
opacity: 0;
margin-top: 0;
}
.carrossel-footer-sticky.recolhido .btn-toggle-carrossel i {
transform: rotate(180deg);
}
.lista-manuais {
display: flex;
flex-direction: column;
gap: 16px;
}
.manual-item {
background-color: var(--card-bg);
border: 1px solid var(--border-color);
border-radius: 14px;
padding: 16px;
display: flex;
flex-direction: column;
gap: 12px;
box-shadow: 0 2px 8px rgba(0,0,0,0.2);
transition: border-color 0.2s;
}
.manual-item:hover {
border-color: rgba(56, 189, 248, 0.4);
}
.manual-item img {
width: 100%;
height: auto;
max-height: 450px;
object-fit: contain;
background-color: #000000;
border-radius: 10px;
cursor: pointer;
transition: transform 0.2s;
}
.manual-item img:hover {
transform: scale(1.01);
}
.manual-item p {
font-size: 0.95rem;
line-height: 1.6;
color: #e4e4e7;
white-space: pre-wrap;
word-break: break-word;
}
/* Estilos do Carrossel Horizontal */
.carrossel-wrapper-outer {
width: 100%;
position: relative;
}
.carrossel-track {
display: flex;
overflow-x: auto;
scroll-snap-type: x mandatory;
gap: 12px;
padding-bottom: 4px;
scrollbar-width: none;
-ms-overflow-style: none;
}
.carrossel-track::-webkit-scrollbar {
display: none;
}
.carrossel-item {
flex: 0 0 100%;
width: 100%;
scroll-snap-align: start;
background-color: #16161c;
border: 1px solid var(--border-color);
border-radius: 12px;
padding: 10px;
display: flex;
flex-direction: column;
box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
.carrossel-item img {
width: 100%;
height: auto;
max-height: 400px;
object-fit: contain;
background-color: #000000;
border-radius: 8px;
cursor: pointer;
transition: transform 0.2s;
}
.carrossel-item img:hover {
transform: scale(1.01);
}
.carrossel-dots {
display: flex;
justify-content: center;
gap: 6px;
margin-top: 8px;
}
.carrossel-dot {
width: 8px;
height: 8px;
border-radius: 50%;
background-color: #3f3f46;
cursor: pointer;
transition: background-color 0.2s, transform 0.2s;
}
.carrossel-dot.active {
background-color: var(--accent);
transform: scale(1.25);
}
.loading-state, .empty-state {
color: var(--text-muted);
text-align: center;
padding: 30px;
font-size: 0.95rem;
display: flex;
flex-direction: column;
align-items: center;
gap: 10px;
background: var(--card-bg);
border-radius: 14px;
border: 1px solid var(--border-color);
}
/* Modal de Visualização (Sem Lupa) */
.modal-zoom {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.94);
z-index: 3000;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 16px;
backdrop-filter: blur(6px);
-webkit-backdrop-filter: blur(6px);
overflow-y: auto;
}
.modal-zoom.carrossel-zoom-ativo {
background: rgba(5, 5, 8, 0.78);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
}
@keyframes zoomToCenter {
0% {
transform: scale(0.68);
opacity: 0;
}
100% {
transform: scale(1);
opacity: 1;
}
}
.modal-zoom.carrossel-zoom-ativo .zoom-wrapper,
.modal-zoom.carrossel-zoom-ativo .zoom-texto-container {
animation: zoomToCenter 0.32s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.zoom-wrapper {
position: relative;
display: inline-block;
max-width: 100%;
max-height: 55vh;
overflow: hidden;
border-radius: 12px;
box-shadow: 0 10px 30px rgba(0,0,0,0.6);
flex-shrink: 0;
}
.modal-zoom img {
display: block;
max-width: 100%;
max-height: 55vh;
border-radius: 12px;
object-fit: contain;
user-select: none;
}
.zoom-texto-container {
width: 100%;
max-width: 480px;
margin-top: 12px;
background: rgba(18, 18, 22, 0.95);
border: 1px solid var(--border-color);
border-radius: 12px;
padding: 14px;
text-align: left;
max-height: 30vh;
overflow-y: auto;
}
.btn-fechar-zoom {
position: absolute;
top: 16px;
right: 16px;
background: rgba(255,255,255,0.1);
color: #fff;
border: none;
width: 40px;
height: 40px;
border-radius: 50%;
font-size: 20px;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: background 0.2s;
z-index: 20;
}
.btn-fechar-zoom:hover {
background: rgba(255,255,255,0.2);
}
