Documentos
<style>
:root {
--color-border: #e5e7eb;
--color-bg: #ffffff;
--color-bg-soft: #f9fafb;
--color-text: #1f2937;
--color-muted: #6b7280;
--color-primary: #2563eb;
}
.file-collection {
border: 1px solid var(--color-border);
border-radius: 10px;
background: var(--color-bg);
overflow: hidden;
font-family:
system-ui,
-apple-system,
Segoe UI,
Roboto,
sans-serif;
margin-bottom: 1rem;
}
.file-collection__summary {
cursor: pointer;
padding: 16px 18px;
font-weight: 600;
list-style: none;
display: flex;
align-items: center;
justify-content: space-between;
color: var(--color-text);
}
.file-collection__summary:hover {
background: var(--color-bg-soft);
}
.file-collection__summary::-webkit-details-marker {
display: none;
}
.file-collection__summary::after {
content: "▾";
font-size: 14px;
color: var(--color-muted);
transition: transform 0.2s ease;
}
.file-collection[open] .file-collection__summary::after {
transform: rotate(180deg);
}
.file-collection__list {
border-top: 1px solid var(--color-border);
padding: 12px 16px;
display: flex;
flex-direction: column;
gap: 8px;
}
.file-collection__item {
display: flex;
justify-content: space-between;
align-items: center;
padding: 8px 10px;
margin-bottom: 1rem;
border-radius: 6px;
transition: background 0.15s ease;
}
.file-collection__item:hover {
background: var(--color-bg-soft);
}
.file-collection__link {
text-decoration: none;
color: var(--color-primary);
font-weight: 500;
}
.file-collection__link:hover {
text-decoration: underline;
}
.file-collection__tag {
font-size: 12px;
font-weight: 600;
padding: 3px 8px;
border-radius: 4px;
text-transform: uppercase;
letter-spacing: 0.4px;
background: #e5e7eb;
color: #374151;
}
.loading {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 12px;
padding: 32px;
font-family:
system-ui,
-apple-system,
Segoe UI,
Roboto,
sans-serif;
color: #6b7280;
}
.loading__spinner {
width: 36px;
height: 36px;
border-radius: 50%;
border: 4px solid #e5e7eb;
border-top-color: #2563eb;
animation: loading-spin 0.8s linear infinite;
}
.loading__text {
font-size: 14px;
font-weight: 500;
margin: 0;
}
.loading--hidden {
display: none;
}
@keyframes loading-spin {
to {
transform: rotate(360deg);
}
}
</style>
<section class="home__section" data-assembly-id="3">
<h2 class="h2 decorator mb-8">Documentos</h2>
<div class="loading" role="status" aria-live="polite">
<div class="loading__spinner"></div>
<p class="loading__text">Carregando dados...</p>
</div>
</section>