CI / verify (push) Failing after 5m43s
- Biome: formatacao, ordem de imports, max-width duplicado no cabecalho de secao, supressao justificada para nomes de view-transition, ajustes nos scripts de auditoria de SEO - next 16.3.3 -> 16.3.8: GHSA-vcvr-r3jv-pc5j (execucao remota de codigo em next/og ImageResponse, usado nas imagens de compartilhamento) - overrides de brace-expansion (GHSA-qhr7-859c-m2p7, GHSA-6j4f-fj2g-mc7p, GHSA-q2hr-2g5m-vwhr), dependencia de desenvolvimento via jest - visibilidade das cenas le as posicoes a cada quadro e o GSAP remede as passagens quando a pagina muda de altura (fontes, imagens, Experiencia) Co-Authored-By: Claude Opus 5.5 <[email protected]>
1893 lines
38 KiB
CSS
1893 lines
38 KiB
CSS
@import "tailwindcss";
|
|
@config "../tailwind.config.js";
|
|
|
|
@theme {
|
|
/* Literal values only: var() indirection here stops Tailwind v4 from generating *-sp-* utilities. */
|
|
--spacing-sp-1: 4px;
|
|
--spacing-sp-2: 8px;
|
|
--spacing-sp-3: 12px;
|
|
--spacing-sp-4: 16px;
|
|
--spacing-sp-5: 20px;
|
|
--spacing-sp-6: 24px;
|
|
--spacing-sp-8: 32px;
|
|
--spacing-sp-10: 40px;
|
|
--spacing-sp-12: 48px;
|
|
--spacing-sp-16: 64px;
|
|
--spacing-sp-20: 80px;
|
|
--spacing-sp-24: 96px;
|
|
}
|
|
|
|
:root {
|
|
--ink: #0a0a0a;
|
|
--ink-80: rgba(10, 10, 10, 0.8);
|
|
--ink-40: rgba(10, 10, 10, 0.4);
|
|
--ink-12: rgba(10, 10, 10, 0.12);
|
|
--ink-06: rgba(10, 10, 10, 0.06);
|
|
--paper: #f4f2ed;
|
|
--paper-dark: #eceae4;
|
|
--white: #ffffff;
|
|
--slash: #ccff00;
|
|
--slash-dim: rgba(204, 255, 0, 0.16);
|
|
--meta: #4a4a4a;
|
|
--border: rgba(10, 10, 10, 0.1);
|
|
--border-light: rgba(10, 10, 10, 0.06);
|
|
--sp-1: 4px;
|
|
--sp-2: 8px;
|
|
--sp-3: 12px;
|
|
--sp-4: 16px;
|
|
--sp-5: 20px;
|
|
--sp-6: 24px;
|
|
--sp-8: 32px;
|
|
--sp-10: 40px;
|
|
--sp-12: 48px;
|
|
--sp-16: 64px;
|
|
--sp-20: 80px;
|
|
--sp-24: 96px;
|
|
--r-sm: 4px;
|
|
--r-md: 8px;
|
|
--r-lg: 16px;
|
|
--r-full: 999px;
|
|
--site-header-height: 60px;
|
|
/* Escala fluida: igual ao desenho original até ~1440px e cresce nas telas grandes. */
|
|
--shell: clamp(1240px, 76vw, 1760px);
|
|
--fs-section-title: min(max(clamp(24px, 4vw, 44px), 3.05vw), 68px);
|
|
--fs-lead: min(max(15px, 1.05vw), 19px);
|
|
--font-display: var(--font-space-grotesk), sans-serif;
|
|
--font-hero: var(--font-monument-extended), sans-serif;
|
|
--font-mono: var(--font-geist-mono), monospace;
|
|
--font-body: var(--font-display);
|
|
--ease-out: cubic-bezier(0.16, 1, 0.3, 1);
|
|
--ease-in: cubic-bezier(0.4, 0, 1, 1);
|
|
}
|
|
|
|
/* Layered so Tailwind utilities (later layer) can override the zero-reset. */
|
|
@layer base {
|
|
*,
|
|
*::before,
|
|
*::after {
|
|
box-sizing: border-box;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
a {
|
|
color: inherit;
|
|
}
|
|
}
|
|
|
|
html,
|
|
body {
|
|
width: 100%;
|
|
max-width: 100%;
|
|
overflow-x: hidden;
|
|
overscroll-behavior-x: none;
|
|
}
|
|
|
|
html {
|
|
scroll-behavior: smooth;
|
|
scroll-padding-top: calc(var(--site-header-height) + var(--sp-4));
|
|
}
|
|
|
|
@media (min-width: 1280px) {
|
|
:root {
|
|
--site-header-height: 68px;
|
|
}
|
|
}
|
|
|
|
.site-header-nav,
|
|
.site-header-cv,
|
|
.site-header-version {
|
|
display: none;
|
|
}
|
|
|
|
.site-header-menu-toggle,
|
|
.site-header-mobile-panel {
|
|
display: flex;
|
|
}
|
|
|
|
.site-header-menu-toggle {
|
|
width: 44px;
|
|
height: 44px;
|
|
flex: 0 0 44px;
|
|
}
|
|
|
|
@media (min-width: 1025px) {
|
|
.site-header-nav {
|
|
display: flex;
|
|
}
|
|
|
|
.site-header-cv,
|
|
.site-header-version {
|
|
display: inline-flex;
|
|
}
|
|
|
|
.site-header-menu-toggle,
|
|
.site-header-mobile-panel {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
.skip-link {
|
|
position: fixed;
|
|
top: 8px;
|
|
left: 16px;
|
|
z-index: 10000;
|
|
transform: translateY(-160%);
|
|
border: 1px solid var(--slash);
|
|
background: var(--ink);
|
|
color: var(--white);
|
|
padding: 10px 14px;
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
letter-spacing: 0.08em;
|
|
text-transform: uppercase;
|
|
text-decoration: none;
|
|
transition: transform 0.2s var(--ease-out);
|
|
}
|
|
|
|
.skip-link:focus {
|
|
transform: translateY(0);
|
|
outline: 2px solid var(--slash);
|
|
outline-offset: 3px;
|
|
}
|
|
|
|
:where(a, button, input, select, textarea):focus-visible {
|
|
outline: 2px solid var(--slash);
|
|
outline-offset: 3px;
|
|
}
|
|
|
|
.film-grain {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 9990;
|
|
pointer-events: none;
|
|
background:
|
|
repeating-radial-gradient(
|
|
circle at 20% 30%,
|
|
var(--paper) 0 0.6px,
|
|
transparent 0.8px 3px
|
|
),
|
|
repeating-radial-gradient(
|
|
circle at 70% 60%,
|
|
var(--ink) 0 0.5px,
|
|
transparent 0.7px 4px
|
|
);
|
|
mix-blend-mode: overlay;
|
|
opacity: 0.08;
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce), (pointer: coarse) {
|
|
.film-grain {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
body {
|
|
position: relative;
|
|
background: var(--paper);
|
|
color: var(--ink);
|
|
font-family: var(--font-mono);
|
|
font-size: 14px;
|
|
line-height: 1.68;
|
|
}
|
|
|
|
img,
|
|
video,
|
|
canvas,
|
|
svg {
|
|
max-width: 100%;
|
|
}
|
|
|
|
/* Texto corrido em sans (leitura); a monoespacada fica nos rotulos, tags e metadados.
|
|
:where() mantem especificidade zero: classes de componente e utilitarios continuam mandando. */
|
|
:where(main, footer) :where(p, li, dd) {
|
|
font-family: var(--font-body);
|
|
}
|
|
|
|
:where(
|
|
.ds-eyebrow,
|
|
.ds-kicker,
|
|
.ds-tag,
|
|
.ds-metric,
|
|
.quality-code,
|
|
.quality-hint,
|
|
.quality-disclaimer
|
|
) {
|
|
font-family: var(--font-mono);
|
|
}
|
|
|
|
@supports (overflow: clip) {
|
|
html,
|
|
body {
|
|
overflow-x: clip;
|
|
}
|
|
}
|
|
|
|
button,
|
|
input,
|
|
select,
|
|
textarea {
|
|
font: inherit;
|
|
}
|
|
|
|
::selection {
|
|
background: var(--slash);
|
|
color: var(--ink);
|
|
}
|
|
|
|
.bg-grid {
|
|
background-image:
|
|
linear-gradient(rgba(10, 10, 10, 0.03) 1px, transparent 1px),
|
|
linear-gradient(90deg, rgba(10, 10, 10, 0.03) 1px, transparent 1px);
|
|
background-size: 48px 48px;
|
|
}
|
|
|
|
.bg-grid-light {
|
|
background-image:
|
|
linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
|
|
linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
|
|
background-size: 48px 48px;
|
|
}
|
|
|
|
.ds-main {
|
|
/* no top padding needed */
|
|
}
|
|
|
|
.ds-section {
|
|
padding: clamp(72px, 9vw, 112px) clamp(24px, 6vw, 64px);
|
|
background: var(--paper);
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
|
|
.ds-section:nth-of-type(even):not(.ds-section-dark) {
|
|
background: var(--paper-dark);
|
|
}
|
|
|
|
.ds-section-dark {
|
|
background: var(--ink);
|
|
border-bottom-color: rgba(255, 255, 255, 0.06);
|
|
color: var(--white);
|
|
}
|
|
|
|
.ds-section-shell,
|
|
.ds-loading,
|
|
.ds-error {
|
|
width: min(var(--shell), 100%);
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.ds-section-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: flex-start;
|
|
gap: var(--sp-6);
|
|
margin-bottom: var(--sp-10);
|
|
/* o cabeçalho mede a si mesmo: a mesma regra serve para qualquer largura de tela */
|
|
container-type: inline-size;
|
|
}
|
|
|
|
.ds-section-meta {
|
|
flex: 1 1 auto;
|
|
min-width: 0;
|
|
max-width: 760px;
|
|
}
|
|
|
|
/* Largo: título à esquerda, descrição à direita, alinhados pela base (some a faixa vazia ao lado do título). */
|
|
@container (min-width: 880px) {
|
|
.ds-section-meta {
|
|
max-width: none;
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
|
|
grid-template-areas:
|
|
"eyebrow eyebrow"
|
|
"title lead"
|
|
"line line";
|
|
column-gap: var(--sp-10);
|
|
align-items: end;
|
|
|
|
> .ds-eyebrow {
|
|
grid-area: eyebrow;
|
|
}
|
|
|
|
> .ds-section-title {
|
|
grid-area: title;
|
|
}
|
|
|
|
> .ds-section-description {
|
|
grid-area: lead;
|
|
max-width: 62ch;
|
|
font-size: var(--fs-lead);
|
|
}
|
|
|
|
> .ds-draw-line {
|
|
grid-area: line;
|
|
}
|
|
}
|
|
}
|
|
|
|
.ds-eyebrow,
|
|
.ds-kicker {
|
|
font-size: 10px;
|
|
letter-spacing: 0.12em;
|
|
text-transform: uppercase;
|
|
color: var(--meta);
|
|
}
|
|
|
|
.ds-eyebrow {
|
|
margin-bottom: var(--sp-2);
|
|
}
|
|
|
|
.ds-section-title {
|
|
font-family: var(--font-display);
|
|
font-size: var(--fs-section-title);
|
|
line-height: 1.02;
|
|
font-weight: 800;
|
|
letter-spacing: -0.035em;
|
|
}
|
|
|
|
.ds-section-description {
|
|
max-width: 58ch;
|
|
color: rgba(10, 10, 10, 0.74);
|
|
font-size: 15px;
|
|
line-height: 1.7;
|
|
}
|
|
|
|
.ds-grid-2,
|
|
.ds-grid-4 {
|
|
display: grid;
|
|
gap: var(--sp-6);
|
|
}
|
|
|
|
.ds-grid-2 {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
}
|
|
|
|
/* Colunas automáticas: sem breakpoint. Cabem 2 até ~1360px de largura útil e 3 acima disso. */
|
|
.ds-grid-fluid {
|
|
display: grid;
|
|
gap: var(--sp-6);
|
|
grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
|
|
}
|
|
|
|
.ds-grid-4 {
|
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
}
|
|
|
|
.ds-card,
|
|
.ds-panel {
|
|
border: 1px solid var(--border);
|
|
min-width: 0;
|
|
}
|
|
|
|
.ds-card {
|
|
background: rgba(255, 255, 255, 0.92);
|
|
padding: clamp(20px, 3vw, 28px);
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.ds-panel {
|
|
background: rgba(10, 10, 10, 0.03);
|
|
padding: var(--sp-5);
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.ds-card-title {
|
|
font-family: var(--font-display);
|
|
font-size: clamp(16px, 2.4vw, 30px);
|
|
line-height: 1.08;
|
|
letter-spacing: -0.025em;
|
|
margin-top: var(--sp-4);
|
|
}
|
|
|
|
.ds-copy {
|
|
margin-top: var(--sp-4);
|
|
color: var(--ink-80);
|
|
font-size: 16px;
|
|
line-height: 1.6;
|
|
flex-grow: 1;
|
|
}
|
|
|
|
.ds-tags {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 10px;
|
|
list-style: none;
|
|
margin-top: auto;
|
|
padding-top: var(--sp-6);
|
|
}
|
|
|
|
.ds-tag {
|
|
padding: 8px 12px;
|
|
border: 1px solid rgba(10, 10, 10, 0.12);
|
|
background: rgba(10, 10, 10, 0.03);
|
|
font-size: 11px;
|
|
letter-spacing: 0.04em;
|
|
text-transform: none;
|
|
font-weight: 500;
|
|
/* pílula inteira numa linha: a quebra acontece entre tags (.ds-tags wrap), nunca dentro dela */
|
|
white-space: nowrap;
|
|
transition:
|
|
border-color 0.2s ease,
|
|
box-shadow 0.2s ease,
|
|
transform 0.2s ease;
|
|
}
|
|
|
|
.ds-tag:hover {
|
|
border-color: rgba(10, 10, 10, 0.3);
|
|
box-shadow: 0 2px 12px rgba(10, 10, 10, 0.1);
|
|
}
|
|
|
|
.ds-section-dark .ds-tag:hover {
|
|
border-color: rgba(204, 255, 0, 0.3);
|
|
box-shadow: 0 2px 16px rgba(204, 255, 0, 0.1);
|
|
}
|
|
|
|
.ds-metric {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: var(--sp-2);
|
|
color: rgba(10, 10, 10, 0.65);
|
|
font-size: 10px;
|
|
letter-spacing: 0.1em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.ds-link {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-height: 44px; /* alvo de toque minimo e mesma altura em todos os botoes */
|
|
gap: var(--sp-2);
|
|
text-decoration: none;
|
|
font-size: 11px;
|
|
letter-spacing: 0.08em;
|
|
text-transform: uppercase;
|
|
transition:
|
|
transform 0.2s ease,
|
|
background 0.2s ease,
|
|
border-color 0.2s ease;
|
|
}
|
|
|
|
.ds-link:hover {
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.ds-link-accent {
|
|
color: var(--ink);
|
|
background: var(--slash);
|
|
padding: 12px 18px;
|
|
transition:
|
|
transform 0.25s ease,
|
|
box-shadow 0.25s ease,
|
|
background 0.25s ease;
|
|
}
|
|
|
|
.ds-link-accent:hover {
|
|
background: #ffffff;
|
|
box-shadow:
|
|
0 0 20px rgba(204, 255, 0, 0.45),
|
|
0 0 48px rgba(204, 255, 0, 0.18);
|
|
}
|
|
|
|
.ds-section-dark .ds-link-accent:hover {
|
|
box-shadow:
|
|
0 0 24px rgba(204, 255, 0, 0.55),
|
|
0 0 60px rgba(204, 255, 0, 0.22);
|
|
}
|
|
|
|
.ds-link-muted {
|
|
padding: 12px 18px;
|
|
border: 1px solid var(--border);
|
|
transition:
|
|
transform 0.25s ease,
|
|
box-shadow 0.25s ease,
|
|
border-color 0.25s ease;
|
|
}
|
|
|
|
.ds-link-muted:hover {
|
|
border-color: var(--ink-40);
|
|
box-shadow: 0 4px 20px rgba(10, 10, 10, 0.12);
|
|
}
|
|
|
|
.ds-section-dark .ds-link-muted:hover {
|
|
border-color: rgba(204, 255, 0, 0.35);
|
|
box-shadow: 0 4px 20px rgba(204, 255, 0, 0.08);
|
|
}
|
|
|
|
.ds-list {
|
|
margin-top: var(--sp-5);
|
|
padding-left: 18px;
|
|
font-size: 15px;
|
|
line-height: 1.7;
|
|
flex-grow: 1;
|
|
}
|
|
|
|
.ds-list li::marker {
|
|
color: var(--slash);
|
|
}
|
|
|
|
.ds-loading,
|
|
.ds-error {
|
|
padding: var(--sp-10) clamp(24px, 6vw, 64px);
|
|
font-size: 11px;
|
|
letter-spacing: 0.1em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.ds-section-dark .ds-eyebrow,
|
|
.ds-section-dark .ds-kicker,
|
|
.ds-section-dark .ds-metric {
|
|
color: rgba(255, 255, 255, 0.65);
|
|
}
|
|
|
|
.ds-section-dark .ds-section-description {
|
|
color: rgba(255, 255, 255, 0.75);
|
|
}
|
|
|
|
.ds-section-dark .ds-card,
|
|
.ds-section-dark .ds-panel {
|
|
background: rgba(255, 255, 255, 0.03);
|
|
border-color: rgba(255, 255, 255, 0.08);
|
|
}
|
|
|
|
.ds-section-dark .ds-copy,
|
|
.ds-section-dark .ds-list {
|
|
color: rgba(255, 255, 255, 0.74);
|
|
}
|
|
|
|
.ds-section-dark .ds-tag {
|
|
border-color: rgba(255, 255, 255, 0.1);
|
|
background: rgba(255, 255, 255, 0.04);
|
|
}
|
|
|
|
.ds-section-dark .ds-link-muted {
|
|
border-color: rgba(255, 255, 255, 0.12);
|
|
}
|
|
|
|
.ds-draw-line {
|
|
display: block;
|
|
width: 100%;
|
|
height: 1px;
|
|
margin-top: var(--sp-4);
|
|
background: linear-gradient(
|
|
90deg,
|
|
rgba(10, 10, 10, 0.38) 0%,
|
|
rgba(10, 10, 10, 0.06) 100%
|
|
);
|
|
}
|
|
|
|
.ds-section-dark .ds-draw-line {
|
|
background: linear-gradient(
|
|
90deg,
|
|
rgba(204, 255, 0, 0.5) 0%,
|
|
rgba(204, 255, 0, 0.08) 100%
|
|
);
|
|
}
|
|
|
|
@keyframes ds-shimmer {
|
|
0% {
|
|
background-position: 200% 0;
|
|
}
|
|
|
|
100% {
|
|
background-position: -200% 0;
|
|
}
|
|
}
|
|
|
|
@keyframes marquee {
|
|
from {
|
|
transform: translateX(0);
|
|
}
|
|
|
|
to {
|
|
transform: translateX(-50%);
|
|
}
|
|
}
|
|
|
|
@keyframes marquee-reverse {
|
|
from {
|
|
transform: translateX(-50%);
|
|
}
|
|
|
|
to {
|
|
transform: translateX(0);
|
|
}
|
|
}
|
|
|
|
.scroll-velocity-text {
|
|
position: relative;
|
|
color: inherit;
|
|
}
|
|
|
|
.scroll-velocity-viewport {
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.scroll-velocity-track,
|
|
.scroll-velocity-group {
|
|
display: flex;
|
|
width: max-content;
|
|
}
|
|
|
|
.scroll-velocity-group {
|
|
flex-shrink: 0;
|
|
min-width: 100vw;
|
|
}
|
|
|
|
.scroll-velocity-item {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
flex-shrink: 0;
|
|
font-family: var(--font-display);
|
|
font-size: clamp(3rem, 10vw, 8rem);
|
|
font-weight: 800;
|
|
line-height: 1;
|
|
letter-spacing: -0.04em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.scroll-velocity-dot {
|
|
margin-inline: var(--sp-8);
|
|
color: var(--slash);
|
|
}
|
|
|
|
.animate-marquee {
|
|
animation: marquee 40s linear infinite;
|
|
}
|
|
|
|
.animate-marquee-reverse {
|
|
animation: marquee-reverse 45s linear infinite;
|
|
}
|
|
|
|
.scroll-velocity-text:hover .scroll-velocity-track,
|
|
.scroll-velocity-text:focus-within .scroll-velocity-track {
|
|
animation-play-state: paused;
|
|
}
|
|
|
|
.scroll-velocity-control {
|
|
position: absolute;
|
|
top: var(--sp-2);
|
|
right: var(--sp-3);
|
|
z-index: 1;
|
|
min-height: 44px;
|
|
border: 1px solid var(--slash);
|
|
background: var(--ink);
|
|
color: var(--paper);
|
|
padding-inline: var(--sp-3);
|
|
font-family: var(--font-mono);
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
letter-spacing: 0.06em;
|
|
text-transform: uppercase;
|
|
cursor: pointer;
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.scroll-velocity-text {
|
|
color: var(--paper);
|
|
}
|
|
|
|
.scroll-velocity-track {
|
|
animation: none;
|
|
transform: none;
|
|
}
|
|
|
|
.scroll-velocity-viewport {
|
|
overflow: visible;
|
|
white-space: normal;
|
|
}
|
|
|
|
.scroll-velocity-track,
|
|
.scroll-velocity-group {
|
|
display: block;
|
|
width: 100%;
|
|
}
|
|
|
|
.scroll-velocity-group {
|
|
min-width: 0;
|
|
}
|
|
|
|
.scroll-velocity-group[aria-hidden="true"] {
|
|
display: none;
|
|
}
|
|
|
|
.scroll-velocity-item {
|
|
display: block;
|
|
padding: var(--sp-6);
|
|
font-size: clamp(2rem, 8vw, 4rem);
|
|
line-height: 1.1;
|
|
white-space: normal;
|
|
}
|
|
|
|
.scroll-velocity-dot {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
.ds-skeleton-card {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--sp-3);
|
|
}
|
|
|
|
.ds-skeleton {
|
|
position: relative;
|
|
overflow: hidden;
|
|
border-radius: 4px;
|
|
background: #111;
|
|
}
|
|
|
|
.ds-skeleton::before {
|
|
content: "";
|
|
position: absolute;
|
|
inset: 0;
|
|
background: linear-gradient(90deg, #111 0%, #1f1f1f 50%, #111 100%);
|
|
background-size: 220% 100%;
|
|
animation: ds-shimmer 1.4s linear infinite;
|
|
}
|
|
|
|
.ds-skeleton-kicker {
|
|
height: 10px;
|
|
width: 30%;
|
|
}
|
|
|
|
.ds-skeleton-title {
|
|
height: 26px;
|
|
width: 72%;
|
|
}
|
|
|
|
.ds-skeleton-line {
|
|
height: 12px;
|
|
width: 100%;
|
|
}
|
|
|
|
.ds-skeleton-line-short {
|
|
width: 62%;
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
*,
|
|
*::before,
|
|
*::after {
|
|
/* biome-ignore lint/complexity/noImportantStyles: reduced-motion must override component animation styles. */
|
|
animation-duration: 0.01ms !important;
|
|
/* biome-ignore lint/complexity/noImportantStyles: reduced-motion must override component animation styles. */
|
|
animation-iteration-count: 1 !important;
|
|
/* biome-ignore lint/complexity/noImportantStyles: reduced-motion must override component transition styles. */
|
|
transition-duration: 0.01ms !important;
|
|
/* biome-ignore lint/complexity/noImportantStyles: reduced-motion must override smooth scrolling. */
|
|
scroll-behavior: auto !important;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 1024px) {
|
|
.site-header-nav,
|
|
.site-header-cv,
|
|
.site-header-version {
|
|
display: none;
|
|
}
|
|
|
|
.site-header-menu-toggle,
|
|
.site-header-mobile-panel {
|
|
display: flex;
|
|
}
|
|
|
|
.ds-section-header {
|
|
flex-direction: column;
|
|
gap: var(--sp-4);
|
|
}
|
|
|
|
.ds-grid-2,
|
|
.ds-grid-4 {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.ds-section {
|
|
padding: clamp(52px, 13vw, 64px) 20px;
|
|
}
|
|
|
|
.ds-section-header {
|
|
margin-bottom: var(--sp-8);
|
|
}
|
|
|
|
/* rotulos em 11-12px (antes 9-11px): legiveis no celular sem perder o estilo tecnico */
|
|
.ds-eyebrow,
|
|
.ds-kicker {
|
|
font-size: 11px;
|
|
}
|
|
|
|
.ds-tag,
|
|
.ds-link {
|
|
font-size: 12px;
|
|
}
|
|
|
|
.ds-section-title {
|
|
font-size: clamp(24px, 8vw, 34px);
|
|
}
|
|
|
|
.ds-card-title {
|
|
font-size: clamp(16px, 5vw, 24px);
|
|
}
|
|
|
|
.ds-section-description,
|
|
.ds-copy,
|
|
.ds-list {
|
|
font-size: 15px;
|
|
line-height: 1.65;
|
|
}
|
|
|
|
.ds-tags {
|
|
gap: 8px;
|
|
padding-top: var(--sp-5);
|
|
}
|
|
|
|
.ds-tag {
|
|
font-size: 10px;
|
|
padding: 7px 10px;
|
|
}
|
|
}
|
|
|
|
/* ═══════════════════════════════════════════
|
|
CINEMATIC STYLES - Awwwards Level
|
|
═══════════════════════════════════════════ */
|
|
|
|
/* Section divider animations */
|
|
@keyframes shimmerDivider {
|
|
0% {
|
|
transform: translateX(-100%);
|
|
opacity: 0;
|
|
}
|
|
|
|
50% {
|
|
opacity: 0.8;
|
|
}
|
|
|
|
100% {
|
|
transform: translateX(100%);
|
|
opacity: 0;
|
|
}
|
|
}
|
|
|
|
@keyframes pulseDot {
|
|
0%,
|
|
100% {
|
|
transform: scale(1);
|
|
opacity: 0.3;
|
|
}
|
|
|
|
50% {
|
|
transform: scale(2);
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
.section-divider {
|
|
pointer-events: none;
|
|
}
|
|
|
|
.section-divider-gradient {
|
|
position: relative;
|
|
width: 100%;
|
|
height: 1px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.section-divider-gradient span {
|
|
position: absolute;
|
|
inset: 0;
|
|
background: linear-gradient(90deg, transparent, var(--slash), transparent);
|
|
opacity: 0.3;
|
|
}
|
|
|
|
.section-divider-gradient span:last-child {
|
|
animation: shimmerDivider 3s ease-in-out infinite;
|
|
opacity: 0.6;
|
|
}
|
|
|
|
.section-divider-pulse {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: var(--sp-2);
|
|
padding-block: var(--sp-8);
|
|
}
|
|
|
|
.section-divider-pulse span {
|
|
width: 4px;
|
|
height: 4px;
|
|
border-radius: 50%;
|
|
background: var(--slash);
|
|
animation: pulseDot 2s ease-in-out infinite;
|
|
}
|
|
|
|
.section-divider-pulse span:nth-child(2) {
|
|
animation-delay: 0.15s;
|
|
}
|
|
|
|
.section-divider-pulse span:nth-child(3) {
|
|
animation-delay: 0.3s;
|
|
}
|
|
|
|
.section-divider-pulse span:nth-child(4) {
|
|
animation-delay: 0.45s;
|
|
}
|
|
|
|
.section-divider-pulse span:nth-child(5) {
|
|
animation-delay: 0.6s;
|
|
}
|
|
|
|
.section-divider-waveform {
|
|
width: 100%;
|
|
height: 60px;
|
|
color: var(--slash);
|
|
}
|
|
|
|
.section-divider-waveform svg {
|
|
display: block;
|
|
width: 100%;
|
|
height: 60px;
|
|
}
|
|
|
|
.section-divider-waveform path {
|
|
fill: none;
|
|
stroke: currentColor;
|
|
stroke-width: 1;
|
|
vector-effect: non-scaling-stroke;
|
|
}
|
|
|
|
.section-divider-waveform path:nth-child(1) {
|
|
opacity: 0.1;
|
|
}
|
|
|
|
.section-divider-waveform path:nth-child(2) {
|
|
opacity: 0.07;
|
|
}
|
|
|
|
.section-divider-waveform path:nth-child(3) {
|
|
opacity: 0.04;
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.section-divider-gradient span:last-child,
|
|
.section-divider-pulse span {
|
|
animation: none;
|
|
}
|
|
}
|
|
|
|
/* Hero: brilho de fundo e entrada em CSS (so posicao; o texto ja nasce visivel para o LCP) */
|
|
.hero-glow {
|
|
position: absolute;
|
|
inset: 0;
|
|
pointer-events: none;
|
|
background:
|
|
radial-gradient(
|
|
55% 65% at 78% 38%,
|
|
rgba(204, 255, 0, 0.11),
|
|
transparent 70%
|
|
),
|
|
radial-gradient(40% 50% at 6% 92%, rgba(204, 255, 0, 0.05), transparent 70%);
|
|
}
|
|
|
|
/* Hero: palco de 100svh; em telas grandes ele fica fixo enquanto a rolagem conduz o mergulho da cena 3D.
|
|
--hero-p (0 a 1) vem de cinematic/HeroField.tsx. */
|
|
.hero {
|
|
--hero-p: 0;
|
|
isolation: isolate;
|
|
}
|
|
|
|
.hero-stage {
|
|
position: relative;
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 100svh;
|
|
overflow: hidden;
|
|
}
|
|
|
|
/* Sem WebGL (ou antes de a cena carregar): malha de pontos estática no lugar das camadas */
|
|
.hero-glow::after {
|
|
content: "";
|
|
position: absolute;
|
|
inset: 0;
|
|
background:
|
|
radial-gradient(circle, rgba(244, 242, 237, 0.22) 1px, transparent 1.5px) 0
|
|
0 / 22px 22px;
|
|
mask: radial-gradient(38% 46% at 74% 50%, #000, transparent 75%);
|
|
transition: opacity 1.2s var(--ease-out);
|
|
}
|
|
|
|
.hero:has(.hero-field[data-ready]) .hero-glow::after {
|
|
opacity: 0;
|
|
}
|
|
|
|
.hero-field {
|
|
position: absolute;
|
|
inset: 0;
|
|
opacity: 0;
|
|
transition: opacity 1.6s var(--ease-out);
|
|
|
|
&[data-ready] {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
|
|
.hero-scrim {
|
|
position: absolute;
|
|
inset: 0;
|
|
pointer-events: none;
|
|
background:
|
|
linear-gradient(
|
|
90deg,
|
|
rgba(10, 10, 10, 0.86) 0%,
|
|
rgba(10, 10, 10, 0.55) 36%,
|
|
transparent 62%
|
|
), linear-gradient(0deg, rgba(10, 10, 10, 0.9), transparent 28%);
|
|
|
|
@media (max-width: 1023px) {
|
|
background: linear-gradient(
|
|
0deg,
|
|
rgba(10, 10, 10, 0.92) 0 30%,
|
|
rgba(10, 10, 10, 0.5) 65%,
|
|
rgba(10, 10, 10, 0.7)
|
|
);
|
|
}
|
|
}
|
|
|
|
/* Entrada: as palavras do título já pintam no primeiro quadro (sem opacity:0, bom para o LCP) e ganham foco em cascata */
|
|
.hero-word {
|
|
display: inline-block;
|
|
animation: hero-word 1.1s var(--ease-out) both;
|
|
animation-delay: calc(0.12s + var(--i) * 45ms);
|
|
}
|
|
|
|
@keyframes hero-word {
|
|
from {
|
|
transform: translateY(0.42em) rotate(2deg);
|
|
filter: blur(12px);
|
|
}
|
|
}
|
|
|
|
.hero-in,
|
|
.hero-foot > * {
|
|
animation: hero-in 1s var(--ease-out) both;
|
|
animation-delay: var(--d, 0.05s);
|
|
}
|
|
|
|
.hero-foot > * {
|
|
--d: 0.85s;
|
|
}
|
|
|
|
@keyframes hero-in {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(18px);
|
|
}
|
|
}
|
|
|
|
.hero-cue-line {
|
|
width: 56px;
|
|
height: 1px;
|
|
background: currentColor;
|
|
transform-origin: left;
|
|
animation: hero-cue 2.4s var(--ease-out) infinite;
|
|
}
|
|
|
|
@keyframes hero-cue {
|
|
0% {
|
|
transform: scaleX(0);
|
|
}
|
|
60% {
|
|
transform: scaleX(1);
|
|
opacity: 1;
|
|
}
|
|
100% {
|
|
transform: scaleX(1);
|
|
opacity: 0;
|
|
}
|
|
}
|
|
|
|
/* Etiquetas presas às camadas da cena: a posição vem da cena a cada quadro (transform), o recuo para a
|
|
esquerda do ponto de ancoragem fica no translate */
|
|
.hero-tag {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
display: none;
|
|
max-width: 230px;
|
|
translate: calc(-100% - 14px) -50%;
|
|
border: 1px solid rgba(244, 242, 237, 0.14);
|
|
background: rgba(10, 10, 10, 0.62);
|
|
backdrop-filter: blur(4px);
|
|
padding: 7px 11px;
|
|
color: rgba(244, 242, 237, 0.78);
|
|
font: 13px / 1.35 var(--font-body);
|
|
text-align: right;
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
|
|
&::after {
|
|
content: "";
|
|
position: absolute;
|
|
top: 50%;
|
|
right: -14px;
|
|
width: 14px;
|
|
height: 1px;
|
|
background: var(--slash);
|
|
}
|
|
|
|
@media (min-width: 1024px) {
|
|
display: block;
|
|
}
|
|
}
|
|
|
|
.hero-tag-title,
|
|
.hero-caption-title {
|
|
display: block;
|
|
color: var(--slash);
|
|
font: 600 11px / 1.4 var(--font-mono);
|
|
letter-spacing: 0.14em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.hero-captions {
|
|
display: none;
|
|
}
|
|
|
|
/* Hero fixo com o mergulho: em qualquer largura, desde que a tela tenha altura para o conteúdo caber */
|
|
@media (min-height: 700px) and (prefers-reduced-motion: no-preference) {
|
|
.hero {
|
|
height: 220svh;
|
|
}
|
|
|
|
/* Legendas do mergulho: cada uma aparece enquanto a câmera atravessa a sua camada (--hero-p) */
|
|
.hero-captions {
|
|
position: absolute;
|
|
inset: 0;
|
|
display: grid;
|
|
place-items: end center;
|
|
margin: 0;
|
|
padding: 0 var(--sp-6) 11svh;
|
|
list-style: none;
|
|
pointer-events: none;
|
|
/* faixa escura atrás da legenda, como em legenda de cinema, sem cobrir o centro da cena */
|
|
background: linear-gradient(0deg, rgba(10, 10, 10, 0.75), transparent 38%);
|
|
opacity: clamp(
|
|
0,
|
|
min((var(--hero-p) - 0.24) * 14, (0.94 - var(--hero-p)) * 14),
|
|
1
|
|
);
|
|
|
|
& li {
|
|
--mid: calc((var(--from) + var(--to)) / 2);
|
|
grid-area: 1 / 1;
|
|
max-width: 26ch;
|
|
color: #f4f2ed;
|
|
font: 600 clamp(24px, 2.8vw + 12px, 48px) / 1.12 var(--font-display);
|
|
letter-spacing: -0.035em;
|
|
text-align: center;
|
|
text-shadow: 0 2px 40px rgba(10, 10, 10, 0.9);
|
|
opacity: clamp(
|
|
0,
|
|
min(
|
|
(var(--hero-p) - var(--from)) *
|
|
14,
|
|
(var(--to) - var(--hero-p)) *
|
|
14
|
|
),
|
|
1
|
|
);
|
|
translate: 0 calc((var(--hero-p) - var(--mid)) * -160px);
|
|
}
|
|
|
|
/* mesmos intervalos em que a câmera enquadra cada camada (CAMERA_Z em HeroFieldScene.tsx) */
|
|
& li:nth-child(1) {
|
|
--from: 0.26;
|
|
--to: 0.46;
|
|
}
|
|
|
|
& li:nth-child(2) {
|
|
--from: 0.52;
|
|
--to: 0.71;
|
|
}
|
|
|
|
& li:nth-child(3) {
|
|
--from: 0.76;
|
|
--to: 0.92;
|
|
}
|
|
|
|
& .hero-caption-title {
|
|
margin-bottom: var(--sp-3);
|
|
font-size: 12px;
|
|
}
|
|
}
|
|
|
|
.hero-stage {
|
|
position: sticky;
|
|
top: 0;
|
|
height: 100svh;
|
|
}
|
|
|
|
/* o texto sai de cena enquanto a câmera mergulha: sobe, encolhe e perde o foco */
|
|
.hero-content {
|
|
transform: translate3d(0, calc(var(--hero-p) * -16vh), 0)
|
|
scale(calc(1 - var(--hero-p) * 0.08));
|
|
transform-origin: 0 50%;
|
|
opacity: calc(1 - var(--hero-p) * 4.2);
|
|
filter: blur(calc(var(--hero-p) * 18px));
|
|
}
|
|
|
|
.hero-foot {
|
|
opacity: calc(1 - var(--hero-p) * 5);
|
|
}
|
|
|
|
.hero-scrim {
|
|
opacity: calc(1 - var(--hero-p) * 1.4);
|
|
}
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.hero-word,
|
|
.hero-in,
|
|
.hero-foot > *,
|
|
.hero-cue-line {
|
|
animation: none;
|
|
}
|
|
}
|
|
|
|
/* Transições entre seções: app/components/cinematic/useCinematicScroll.ts (GSAP + Lenis).
|
|
O fundo escuro aparece nas frestas enquanto uma seção entra sobre a outra. */
|
|
.ds-main {
|
|
background: var(--ink);
|
|
}
|
|
|
|
/* Lenis controla a suavidade da rolagem: o scroll-behavior nativo brigaria com ele */
|
|
html.lenis,
|
|
html.lenis body {
|
|
height: auto;
|
|
}
|
|
|
|
html.lenis {
|
|
scroll-behavior: auto;
|
|
}
|
|
|
|
/* Capa dos cards de projeto: captura real ou painel gerado em codigo */
|
|
.ds-cover {
|
|
position: relative;
|
|
flex: none; /* o card e uma coluna flex: sem isto a capa encolhe e perde a proporcao */
|
|
aspect-ratio: 16 / 10;
|
|
overflow: hidden;
|
|
margin-bottom: var(--sp-5);
|
|
border: 1px solid var(--border);
|
|
background: var(--ink);
|
|
|
|
& img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
object-position: top;
|
|
transition: transform 0.7s var(--ease-out);
|
|
}
|
|
|
|
.ds-card:hover & img {
|
|
transform: scale(1.035);
|
|
}
|
|
}
|
|
|
|
.ds-section-dark .ds-cover {
|
|
border-color: rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
.ds-cover-fallback {
|
|
display: grid;
|
|
place-items: center;
|
|
padding: var(--sp-4);
|
|
color: var(--paper);
|
|
background:
|
|
radial-gradient(120% 90% at 100% 0%, var(--slash-dim), transparent 60%),
|
|
linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px) 0 0 / 100%
|
|
32px,
|
|
linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px) 0 0 /
|
|
32px 100%,
|
|
var(--ink);
|
|
|
|
& .ds-cover-mark {
|
|
font-family: var(--font-display);
|
|
font-size: clamp(48px, 7vw, 96px);
|
|
font-weight: 800;
|
|
letter-spacing: -0.05em;
|
|
color: var(--slash);
|
|
}
|
|
|
|
/* so decorativa: no celular some, para a pagina nao crescer sem informacao nova */
|
|
@media (max-width: 768px) {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
/* Cinematic card hover effect */
|
|
.ds-card {
|
|
transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
|
|
}
|
|
|
|
.ds-card:hover {
|
|
transform: translateY(-4px);
|
|
box-shadow: 0 20px 40px rgba(10, 10, 10, 0.12);
|
|
}
|
|
|
|
.ds-section-dark .ds-card:hover {
|
|
box-shadow:
|
|
0 20px 40px rgba(0, 0, 0, 0.4),
|
|
0 0 1px rgba(204, 255, 0, 0.1);
|
|
}
|
|
|
|
/* Cinematic section reveal transforms */
|
|
.cinematic-reveal {
|
|
will-change: transform, opacity;
|
|
}
|
|
|
|
/* Interactive quality laboratory — scoped to the Lighthouse section. */
|
|
.quality-lab {
|
|
--quality-muted: color-mix(in srgb, var(--paper) 72%, transparent);
|
|
--quality-line: color-mix(in srgb, var(--paper) 18%, transparent);
|
|
color: var(--paper);
|
|
}
|
|
|
|
.quality-intro {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.3fr);
|
|
gap: var(--sp-12);
|
|
align-items: center;
|
|
margin-bottom: var(--sp-10);
|
|
}
|
|
|
|
.quality-copy .ds-eyebrow {
|
|
color: var(--slash);
|
|
margin-bottom: var(--sp-5);
|
|
}
|
|
|
|
.quality-copy .ds-section-title {
|
|
max-width: 16ch;
|
|
}
|
|
|
|
.quality-copy h2 span {
|
|
display: block;
|
|
color: var(--slash);
|
|
}
|
|
|
|
.quality-copy > p:not(.ds-eyebrow) {
|
|
max-width: 44ch;
|
|
margin: var(--sp-6) 0;
|
|
color: var(--quality-muted);
|
|
font-size: 15px;
|
|
line-height: 1.8;
|
|
}
|
|
|
|
.quality-copy .ds-link {
|
|
white-space: normal;
|
|
line-height: 1.7;
|
|
}
|
|
|
|
.quality-visual {
|
|
min-width: 0;
|
|
border: 1px solid var(--quality-line);
|
|
}
|
|
|
|
.quality-visual-label {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
gap: var(--sp-4);
|
|
border-bottom: 1px solid var(--quality-line);
|
|
padding: var(--sp-4);
|
|
color: var(--quality-muted);
|
|
font: 10px / 1.5 var(--font-mono);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.06em;
|
|
}
|
|
|
|
.quality-visual-label span:first-child {
|
|
color: var(--paper);
|
|
}
|
|
|
|
.quality-blueprint {
|
|
display: block;
|
|
width: 100%;
|
|
height: auto;
|
|
}
|
|
|
|
.quality-dimensions {
|
|
stroke: var(--quality-line);
|
|
}
|
|
|
|
.quality-dimensions text {
|
|
fill: var(--quality-muted);
|
|
stroke: none;
|
|
font: 9px var(--font-mono);
|
|
}
|
|
|
|
.quality-browser-frame {
|
|
fill: var(--ink);
|
|
stroke: color-mix(in srgb, var(--paper) 38%, transparent);
|
|
}
|
|
|
|
.quality-wire {
|
|
stroke: color-mix(in srgb, var(--paper) 30%, transparent);
|
|
}
|
|
|
|
.quality-browser-dots {
|
|
fill: var(--quality-muted);
|
|
}
|
|
|
|
.quality-address {
|
|
fill: var(--quality-muted);
|
|
font: 10px var(--font-mono);
|
|
}
|
|
|
|
.quality-browser-heading {
|
|
fill: var(--paper);
|
|
font: 700 24px var(--font-display);
|
|
}
|
|
|
|
.quality-browser-button {
|
|
fill: var(--slash-dim);
|
|
stroke: color-mix(in srgb, var(--slash) 50%, transparent);
|
|
}
|
|
|
|
.quality-browser-button-label {
|
|
fill: var(--paper);
|
|
font: 9px var(--font-mono);
|
|
}
|
|
|
|
.quality-layer {
|
|
stroke: var(--slash);
|
|
stroke-width: 1.2px;
|
|
opacity: 0;
|
|
transition: opacity 180ms ease-out;
|
|
}
|
|
|
|
.quality-layer text {
|
|
fill: var(--slash);
|
|
stroke: none;
|
|
font: 10px var(--font-mono);
|
|
}
|
|
|
|
.quality-layer circle {
|
|
fill: var(--slash);
|
|
}
|
|
|
|
.quality-highlight {
|
|
fill: color-mix(in srgb, var(--slash) 5%, transparent);
|
|
}
|
|
|
|
.quality-focus-frame {
|
|
stroke-width: 2px;
|
|
stroke-dasharray: 5 3;
|
|
}
|
|
|
|
.quality-lab[data-inspection="performance"] [data-layer="performance"],
|
|
.quality-lab[data-inspection="accessibility"] [data-layer="accessibility"],
|
|
.quality-lab[data-inspection="practices"] [data-layer="practices"],
|
|
.quality-lab[data-inspection="seo"] [data-layer="seo"] {
|
|
opacity: 1;
|
|
}
|
|
|
|
.quality-annotation {
|
|
fill: var(--ink);
|
|
stroke: none;
|
|
}
|
|
|
|
@media (prefers-reduced-motion: no-preference) {
|
|
.quality-lab[data-inspection="performance"]
|
|
[data-layer="performance"]
|
|
.quality-trace,
|
|
.quality-lab[data-inspection="accessibility"]
|
|
[data-layer="accessibility"]
|
|
.quality-trace,
|
|
.quality-lab[data-inspection="practices"]
|
|
[data-layer="practices"]
|
|
.quality-trace,
|
|
.quality-lab[data-inspection="seo"] [data-layer="seo"] .quality-trace {
|
|
stroke-dasharray: 1;
|
|
animation: quality-trace 650ms ease-out;
|
|
}
|
|
}
|
|
|
|
/* Entrada do diagrama (classe is-drawing posta por useCinematicScroll): linhas se desenham e rótulos
|
|
aparecem uma única vez, sem acompanhar cada quadro da rolagem */
|
|
@media (prefers-reduced-motion: no-preference) {
|
|
/* só com as transições ativas (html.lenis): sem o script, o diagrama aparece normalmente */
|
|
html.lenis .quality-lab:not(.is-drawing)
|
|
:is(.quality-blueprint, .quality-visual-label, .quality-visual figcaption) {
|
|
opacity: 0;
|
|
}
|
|
|
|
.quality-lab.is-drawing
|
|
.quality-blueprint
|
|
:is(
|
|
.quality-dimensions path,
|
|
.quality-browser-frame,
|
|
.quality-wire,
|
|
.quality-browser-button
|
|
) {
|
|
stroke-dasharray: 1800; /* maior que o maior contorno (moldura: ~1600) */
|
|
animation: quality-draw 1.1s var(--ease-out) both;
|
|
}
|
|
|
|
.quality-lab.is-drawing
|
|
:is(.quality-blueprint, .quality-visual-label, .quality-visual figcaption) {
|
|
animation: quality-fade 0.6s var(--ease-out) both;
|
|
}
|
|
}
|
|
|
|
@keyframes quality-draw {
|
|
from {
|
|
stroke-dashoffset: 1800;
|
|
}
|
|
to {
|
|
stroke-dashoffset: 0;
|
|
}
|
|
}
|
|
|
|
@keyframes quality-fade {
|
|
from {
|
|
opacity: 0;
|
|
}
|
|
}
|
|
|
|
@keyframes quality-trace {
|
|
from {
|
|
stroke-dashoffset: 1;
|
|
}
|
|
to {
|
|
stroke-dashoffset: 0;
|
|
}
|
|
}
|
|
|
|
.quality-visual figcaption {
|
|
display: grid;
|
|
min-height: 64px;
|
|
border-top: 1px solid var(--quality-line);
|
|
padding: var(--sp-4);
|
|
color: var(--quality-muted);
|
|
font-size: 12px;
|
|
line-height: 1.65;
|
|
}
|
|
|
|
/* Overlapping hidden panels reserve the tallest content without fixed heights. */
|
|
.quality-visual figcaption span,
|
|
.quality-report {
|
|
grid-area: 1 / 1;
|
|
}
|
|
|
|
.quality-visual figcaption span[aria-hidden="true"],
|
|
.quality-report[aria-hidden="true"] {
|
|
visibility: hidden;
|
|
}
|
|
|
|
.quality-report-stack {
|
|
display: grid;
|
|
}
|
|
|
|
.quality-controls {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
min-width: 0;
|
|
border: 0;
|
|
}
|
|
|
|
.quality-control {
|
|
position: relative;
|
|
min-width: 0;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.quality-control input {
|
|
position: absolute;
|
|
inset: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
opacity: 0;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.quality-control-content {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--sp-3);
|
|
height: 100%;
|
|
padding: var(--sp-5);
|
|
border: 1px solid var(--quality-line);
|
|
border-top-width: 2px;
|
|
transition:
|
|
background-color 180ms ease-out,
|
|
border-color 180ms ease-out;
|
|
}
|
|
|
|
.quality-control + .quality-control .quality-control-content {
|
|
border-left: 0;
|
|
}
|
|
|
|
.quality-control:hover .quality-control-content {
|
|
background: color-mix(in srgb, var(--paper) 5%, transparent);
|
|
}
|
|
|
|
.quality-control input:checked + .quality-control-content {
|
|
border-top-color: var(--slash);
|
|
background: var(--slash-dim);
|
|
}
|
|
|
|
.quality-control input:focus-visible + .quality-control-content {
|
|
outline: 2px solid var(--slash);
|
|
outline-offset: 4px;
|
|
}
|
|
|
|
.quality-control-name {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--sp-2);
|
|
font-size: 15px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.quality-control-name::before {
|
|
content: "";
|
|
width: 7px;
|
|
height: 7px;
|
|
flex-shrink: 0;
|
|
border: 1px solid currentColor;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
.quality-control input:checked + span .quality-control-name::before {
|
|
background: var(--slash);
|
|
border-color: var(--slash);
|
|
}
|
|
|
|
.quality-control-target {
|
|
display: flex;
|
|
align-items: baseline;
|
|
gap: var(--sp-2);
|
|
color: var(--quality-muted);
|
|
font: 11px / 1.2 var(--font-mono);
|
|
}
|
|
|
|
.quality-control-target strong {
|
|
margin-left: auto;
|
|
color: var(--paper);
|
|
font-size: 36px;
|
|
font-weight: 500;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
.quality-control input:checked + span strong {
|
|
color: var(--slash);
|
|
}
|
|
|
|
.quality-hint,
|
|
.quality-disclaimer {
|
|
color: var(--quality-muted);
|
|
font-size: 12px;
|
|
line-height: 1.8;
|
|
}
|
|
|
|
.quality-hint {
|
|
margin-top: var(--sp-4);
|
|
}
|
|
|
|
.quality-report {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
|
|
align-items: start;
|
|
gap: var(--sp-12);
|
|
min-height: 240px;
|
|
padding: var(--sp-8) 0;
|
|
border-bottom: 1px solid var(--quality-line);
|
|
}
|
|
|
|
.quality-code {
|
|
color: var(--slash);
|
|
font: 10px / 1.8 var(--font-mono);
|
|
letter-spacing: 0.04em;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.quality-report h3 {
|
|
margin: var(--sp-2) 0 var(--sp-3);
|
|
font: 600 clamp(20px, 2.4vw, 28px) / 1.2 var(--font-display);
|
|
letter-spacing: -0.025em;
|
|
}
|
|
|
|
.quality-report-copy > p:last-child {
|
|
max-width: 60ch;
|
|
color: var(--quality-muted);
|
|
font-size: 14px;
|
|
line-height: 1.8;
|
|
}
|
|
|
|
.quality-report ul {
|
|
list-style: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.quality-report li {
|
|
display: flex;
|
|
gap: var(--sp-3);
|
|
padding: var(--sp-3) 0;
|
|
border-bottom: 1px solid var(--quality-line);
|
|
font-size: 13px;
|
|
line-height: 1.65;
|
|
}
|
|
|
|
.quality-report li span {
|
|
color: var(--slash);
|
|
}
|
|
|
|
.quality-disclaimer {
|
|
margin-top: var(--sp-5);
|
|
max-width: 90ch;
|
|
}
|
|
|
|
@media (max-width: 1000px) {
|
|
.quality-intro {
|
|
grid-template-columns: 1fr;
|
|
gap: var(--sp-8);
|
|
}
|
|
|
|
.quality-copy .ds-section-title,
|
|
.quality-copy > p:not(.ds-eyebrow) {
|
|
max-width: 650px;
|
|
}
|
|
|
|
.quality-visual {
|
|
width: min(100%, 720px);
|
|
}
|
|
}
|
|
|
|
@media (max-width: 680px) {
|
|
.quality-controls {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: var(--sp-2);
|
|
}
|
|
|
|
.quality-control + .quality-control .quality-control-content {
|
|
border-left: 1px solid var(--quality-line);
|
|
}
|
|
|
|
.quality-control-content {
|
|
padding: var(--sp-4) var(--sp-3);
|
|
}
|
|
|
|
.quality-control-name {
|
|
font-size: 13px;
|
|
}
|
|
|
|
.quality-control-target strong {
|
|
font-size: 28px;
|
|
}
|
|
|
|
.quality-visual-label {
|
|
padding: var(--sp-3);
|
|
font-size: 9px;
|
|
}
|
|
|
|
.quality-report {
|
|
grid-template-columns: 1fr;
|
|
gap: var(--sp-4);
|
|
min-height: 350px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 360px) {
|
|
.quality-control-content {
|
|
padding-inline: var(--sp-2);
|
|
}
|
|
|
|
.quality-control-name {
|
|
font-size: 12px;
|
|
}
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.quality-layer,
|
|
.quality-control-content {
|
|
transition: none;
|
|
}
|
|
}
|
|
|
|
/* Navegação entre páginas (app/template.tsx liga as transições de visualização do React): a página atual
|
|
recua e desfoca, a nova chega de baixo. O cabeçalho tem nome próprio e fica parado durante a troca. */
|
|
.site-header {
|
|
view-transition-name: site-header;
|
|
}
|
|
|
|
::view-transition-group(site-header) {
|
|
animation: none;
|
|
}
|
|
|
|
/* biome-ignore lint/correctness/noUnknownTypeSelector: page é um nome de view-transition, não um elemento */
|
|
::view-transition-group(page) {
|
|
animation: none;
|
|
}
|
|
|
|
/* biome-ignore lint/correctness/noUnknownTypeSelector: page é um nome de view-transition, não um elemento */
|
|
::view-transition-old(page) {
|
|
animation: page-out 280ms cubic-bezier(0.7, 0, 0.84, 0) both;
|
|
}
|
|
|
|
/* biome-ignore lint/correctness/noUnknownTypeSelector: page é um nome de view-transition, não um elemento */
|
|
::view-transition-new(page) {
|
|
animation: page-in 640ms var(--ease-out) 160ms both;
|
|
}
|
|
|
|
@keyframes page-out {
|
|
to {
|
|
opacity: 0;
|
|
transform: scale(0.97);
|
|
filter: blur(8px);
|
|
}
|
|
}
|
|
|
|
@keyframes page-in {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(40px) scale(1.015);
|
|
filter: blur(10px);
|
|
}
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
/* biome-ignore lint/correctness/noUnknownTypeSelector: page é um nome de view-transition, não um elemento */
|
|
::view-transition-old(page) {
|
|
animation: none;
|
|
}
|
|
|
|
/* biome-ignore lint/correctness/noUnknownTypeSelector: page é um nome de view-transition, não um elemento */
|
|
::view-transition-new(page) {
|
|
animation: none;
|
|
}
|
|
}
|
|
|
|
/* Títulos de seção (TextDiffuseReveal): entram palavra por palavra só com transparência e deslocamento,
|
|
que a placa de vídeo compõe sem redesenhar */
|
|
.text-reveal-word {
|
|
display: inline-block;
|
|
}
|
|
|
|
@media (prefers-reduced-motion: no-preference) {
|
|
.text-reveal-word {
|
|
transition:
|
|
opacity 0.7s var(--ease-out),
|
|
transform 0.9s var(--ease-out);
|
|
transition-delay: calc(var(--d, 0s) + var(--i, 0) * 55ms);
|
|
}
|
|
|
|
.text-reveal:not([data-shown]) .text-reveal-word {
|
|
opacity: 0;
|
|
transform: translateY(0.35em);
|
|
}
|
|
}
|