refactor(home): remove a secao animada do notebook

O mergulho do hero termina direto em Projetos. As capturas de tela seguem nos
cards (ProjectCover). Remove componentes, testes e 670 linhas de CSS do notebook.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
Evandro Fonseca JuniorandClaude Opus 5.5 committed 2026-10-05 01:12:08 -03:00
1 parent 92c602c0ad
commit 44efcfcb20
18 files changed
+30 -3059

No files matched your search

-670
View File
@@ -1315,676 +1315,6 @@ html.lenis {
will-change: transform, opacity;
}
/* Notebook story */
.notebook-story {
position: relative;
overflow: clip;
background: var(--ink);
color: var(--paper);
}
.notebook-story-runway {
position: relative;
min-height: var(--notebook-runway, 560vh);
}
@media (prefers-reduced-motion: no-preference) {
.notebook-story-pending {
min-height: var(--notebook-runway, 560vh);
}
}
.notebook-story-sticky {
position: sticky;
top: 0;
display: grid;
height: 100dvh;
min-height: 100dvh;
place-items: center;
padding: 32px clamp(20px, 3vw, 48px);
}
.notebook-story-grid {
display: grid;
grid-template-columns: minmax(160px, 0.24fr) minmax(0, 1fr);
align-items: center;
gap: clamp(20px, 3vw, 48px);
width: min(1440px, 100%);
}
.notebook-story-copy {
max-width: 360px;
}
.notebook-story-kicker,
.notebook-fallback-kicker,
.notebook-browser-eyebrow {
color: var(--slash);
font-family: var(--font-mono);
font-size: 10px;
font-weight: 700;
letter-spacing: 0.16em;
line-height: 1.2;
text-transform: uppercase;
}
.notebook-story-copy h2 {
margin-top: var(--sp-4);
max-width: 8ch;
color: var(--white);
font-family: var(--font-display);
font-size: clamp(38px, 5vw, 72px);
font-weight: 500;
letter-spacing: -0.06em;
line-height: 0.94;
}
.notebook-story-copy p {
max-width: 32ch;
margin-top: var(--sp-6);
color: rgba(244, 242, 237, 0.64);
font-size: 13px;
line-height: 1.7;
}
.notebook-story-stage {
position: relative;
display: grid;
min-width: 0;
height: min(82dvh, 780px);
place-items: center;
}
.notebook-story-canvas {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
}
.notebook-story-canvas > div:first-child,
.notebook-story-canvas canvas {
pointer-events: none;
}
.notebook-story-controls {
display: none;
}
.notebook-story-static-content {
width: min(1080px, 100%);
margin: 0 auto;
padding: clamp(48px, 9vw, 112px) clamp(20px, 6vw, 80px);
}
.notebook-story-static-content > .notebook-fallback {
width: 100%;
margin: 0;
padding: 0;
}
.notebook-screen-surface {
pointer-events: auto;
overflow: hidden;
border-radius: 2px;
transform-origin: 0 0;
}
.notebook-screen-surface .notebook-browser {
width: 100%;
height: 100%;
box-shadow: none;
}
.notebook-screen-surface .notebook-browser {
display: flex;
flex-direction: column;
}
.notebook-screen-surface .notebook-browser-bar {
min-height: 26px;
}
.notebook-screen-surface .notebook-browser-body {
display: flex;
flex: 1;
min-height: 0;
flex-direction: column;
padding: 10px 14px;
}
.notebook-screen-surface .notebook-browser-heading {
display: none;
}
.notebook-screen-surface .notebook-tablist {
margin-top: 0;
}
.notebook-screen-surface .notebook-panel {
flex: 1;
min-height: 0;
grid-template-columns: 1fr;
grid-template-rows: minmax(0, 1fr) auto;
gap: 10px;
margin-top: 10px;
}
.notebook-screen-surface .notebook-panel .notebook-screenshot-wrap {
grid-row: 1;
align-self: stretch;
width: 100%;
min-height: 0;
aspect-ratio: auto;
}
.notebook-screen-surface .notebook-panel-copy {
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
column-gap: 12px;
align-items: center;
}
.notebook-screen-surface .notebook-panel-copy h3 {
font-size: 20px;
}
.notebook-screen-surface .notebook-panel-copy > p {
grid-column: 1;
margin-top: 4px;
font-size: 12px;
}
.notebook-screen-surface .notebook-panel-copy ul {
grid-column: 1;
margin-top: 6px;
}
.notebook-screen-surface .notebook-panel-copy > a,
.notebook-screen-surface .notebook-panel-copy > span {
grid-column: 2;
grid-row: 1 / 4;
max-width: 180px;
margin-top: 0;
font-size: 11px;
}
.notebook-fallback {
width: min(1080px, 100%);
margin: 0 auto;
padding: clamp(48px, 9vw, 112px) clamp(20px, 6vw, 80px);
}
.notebook-fallback-intro {
width: min(560px, 100%);
margin-bottom: var(--sp-8);
}
.notebook-fallback-intro p {
margin-top: var(--sp-3);
color: rgba(244, 242, 237, 0.68);
font-size: 13px;
}
.notebook-browser {
position: relative;
width: min(100%, 940px);
overflow: hidden;
border: 1px solid rgba(244, 242, 237, 0.16);
background: #101313;
color: var(--paper);
box-shadow: 0 26px 80px rgba(0, 0, 0, 0.34);
}
.notebook-browser-bar {
display: flex;
align-items: center;
gap: 6px;
min-height: 36px;
padding: 0 var(--sp-4);
border-bottom: 1px solid rgba(244, 242, 237, 0.1);
background: #181d1d;
}
.notebook-browser-dot {
width: 7px;
height: 7px;
border-radius: 50%;
background: rgba(244, 242, 237, 0.34);
}
.notebook-browser-dot:first-child {
background: #e46c4d;
}
.notebook-browser-dot:nth-child(2) {
background: #d6aa57;
}
.notebook-browser-dot:nth-child(3) {
background: #7cbd67;
}
.notebook-browser-address {
margin-left: var(--sp-3);
color: rgba(244, 242, 237, 0.42);
font-family: var(--font-mono);
font-size: 10px;
letter-spacing: 0.04em;
}
.notebook-browser-body {
padding: clamp(20px, 3vw, 32px);
}
.notebook-browser-heading {
display: flex;
align-items: baseline;
justify-content: space-between;
gap: var(--sp-4);
}
.notebook-browser-counter {
color: rgba(244, 242, 237, 0.44);
font-family: var(--font-mono);
font-size: 10px;
letter-spacing: 0.08em;
}
.notebook-tablist {
display: grid;
grid-auto-flow: column;
grid-auto-columns: minmax(0, 1fr);
gap: 1px;
margin-top: var(--sp-5);
border-block: 1px solid rgba(244, 242, 237, 0.12);
}
.notebook-tab {
display: flex;
min-width: 0;
min-height: 44px;
align-items: center;
gap: var(--sp-2);
padding: 10px;
border: 1px solid transparent;
border-bottom-width: 2px;
background: transparent;
color: rgba(244, 242, 237, 0.48);
cursor: pointer;
text-align: left;
transition:
color 180ms ease,
border-color 180ms ease,
background-color 180ms ease,
transform 160ms var(--ease-out, cubic-bezier(0.23, 1, 0.32, 1));
}
.notebook-tab:hover,
.notebook-tab[aria-selected="true"] {
border-bottom-color: var(--slash);
background: rgba(204, 255, 0, 0.06);
color: var(--white);
}
.notebook-tab:focus-visible {
outline: 2px solid var(--slash);
outline-offset: -3px;
}
.notebook-tab-number {
flex: 0 0 auto;
color: var(--slash);
font-family: var(--font-mono);
font-size: 10px;
}
.notebook-tab-title {
overflow: hidden;
font-family: var(--font-display);
font-size: 12px;
font-weight: 500;
text-overflow: ellipsis;
white-space: nowrap;
}
.notebook-panel {
display: grid;
grid-template-columns: 1fr;
align-items: start;
gap: var(--sp-6);
margin-top: var(--sp-6);
}
.notebook-panel-copy {
order: 2;
}
.notebook-panel-copy h3 {
color: var(--white);
font-family: var(--font-display);
font-size: clamp(22px, 3vw, 36px);
font-weight: 500;
letter-spacing: -0.04em;
line-height: 1;
}
.notebook-panel-copy > p {
margin-top: var(--sp-2);
color: rgba(244, 242, 237, 0.6);
font-size: 12px;
line-height: 1.5;
}
.notebook-panel-copy ul {
display: flex;
flex-wrap: wrap;
gap: 6px;
margin-top: var(--sp-4);
list-style: none;
}
.notebook-panel-copy li {
padding: 4px 7px;
border: 1px solid rgba(244, 242, 237, 0.15);
color: rgba(244, 242, 237, 0.7);
font-family: var(--font-mono);
font-size: 9px;
line-height: 1.2;
}
.notebook-panel-copy a {
display: inline-flex;
min-height: 44px;
align-items: center;
gap: 6px;
margin-top: var(--sp-5);
padding: 0 14px;
border: 1px solid var(--slash);
background: var(--slash);
color: var(--ink);
font-family: var(--font-mono);
font-size: 10px;
font-weight: 700;
letter-spacing: 0.08em;
text-decoration: none;
text-transform: uppercase;
transition:
background-color 180ms ease,
border-color 180ms ease,
transform 180ms ease;
}
.notebook-panel-copy a:hover {
border-color: var(--white);
background: var(--white);
color: var(--ink);
}
.notebook-panel-copy a:active {
transform: scale(0.98);
}
.notebook-panel-copy a:focus-visible {
outline: 2px solid var(--slash);
outline-offset: 3px;
}
.notebook-screenshot-wrap {
position: relative;
overflow: hidden;
aspect-ratio: 8 / 5;
border: 1px solid rgba(244, 242, 237, 0.16);
background: var(--paper-dark);
}
.notebook-screenshot-status {
position: absolute;
z-index: 2;
inset: auto 0 0;
padding: 10px 14px;
background: rgba(10, 10, 10, 0.92);
color: var(--paper);
font-size: 12px;
line-height: 1.4;
}
.notebook-screenshot-wrap img {
display: block;
width: 100%;
height: 100%;
object-fit: contain;
}
.notebook-screenshot {
position: absolute;
inset: 0;
}
.notebook-screenshot-current {
z-index: 1;
animation: notebook-screenshot-in 220ms ease both;
}
.notebook-screenshot-outgoing {
z-index: 0;
}
.notebook-screenshot-pending {
opacity: 0;
pointer-events: none;
}
@keyframes notebook-screenshot-in {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
.notebook-cursor {
position: absolute;
top: 0;
left: 0;
z-index: 3;
width: 28px;
height: 36px;
overflow: visible;
opacity: 0;
pointer-events: none;
transform-origin: 1px 1px;
filter: drop-shadow(1px 2px 1px rgba(0, 0, 0, 0.4));
}
.notebook-cursor-pulse {
opacity: 0;
}
.notebook-cursor.is-clicking .notebook-cursor-pulse {
opacity: 0.7;
}
@media (max-width: 1024px) {
.notebook-story-runway {
min-height: var(--notebook-mobile-runway, 440svh);
}
.notebook-story-sticky {
height: 100svh;
min-height: 100svh;
padding: 64px 20px 16px;
}
.notebook-story-grid {
grid-template-columns: 1fr;
gap: 12px;
}
.notebook-story-copy {
max-width: 560px;
}
.notebook-story-copy h2 {
max-width: 12ch;
margin-top: 8px;
font-size: clamp(32px, 6vw, 44px);
}
.notebook-story-copy p {
max-width: 44ch;
margin-top: 8px;
line-height: 1.45;
}
.notebook-story-stage {
height: min(68vw, 38svh);
min-height: 0;
}
.notebook-story-controls {
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
align-items: center;
gap: 8px 12px;
min-width: 0;
}
.notebook-story-project-buttons {
display: flex;
grid-column: 1 / -1;
gap: 8px;
}
.notebook-story-project-buttons button,
.notebook-story-controls > a {
display: inline-flex;
min-width: 44px;
min-height: 44px;
align-items: center;
justify-content: center;
padding: 8px 12px;
border: 1px solid rgba(244, 242, 237, 0.24);
color: var(--white);
font-family: var(--font-mono);
font-size: 11px;
text-decoration: none;
touch-action: manipulation;
}
.notebook-story-project-buttons button[aria-pressed="true"] {
border-color: var(--slash);
color: var(--slash);
}
.notebook-story-project-buttons button:focus-visible,
.notebook-story-controls > a:focus-visible {
outline: 2px solid var(--slash);
outline-offset: 3px;
}
.notebook-story-controls > p {
min-width: 0;
font-size: 14px;
overflow-wrap: anywhere;
}
.notebook-story-controls > span {
max-width: 18ch;
font-size: 10px;
}
}
@media (max-width: 1024px) and (prefers-reduced-motion: no-preference) {
.notebook-story-pending {
min-height: var(--notebook-mobile-runway, 440svh);
}
}
@media (max-width: 680px) {
.notebook-story-sticky {
padding-inline: 20px;
}
.notebook-story-copy h2 {
font-size: clamp(32px, 8vw, 44px);
}
.notebook-fallback {
padding-inline: 20px;
}
.notebook-browser-body {
padding: 16px;
}
.notebook-tablist {
grid-auto-flow: row;
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.notebook-tab {
padding: 12px 8px;
}
.notebook-tab-title {
white-space: normal;
}
.notebook-screen-surface .notebook-tablist {
grid-auto-flow: column;
grid-template-columns: none;
}
.notebook-screen-surface .notebook-tab-title {
white-space: nowrap;
}
.notebook-panel {
grid-template-columns: 1fr;
}
.notebook-panel-copy {
order: 2;
}
}
@media (max-width: 1024px) and (max-height: 520px) and (orientation: landscape) {
.notebook-story-grid {
grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr);
}
.notebook-story-copy h2 {
font-size: 28px;
}
.notebook-story-copy p {
display: none;
}
.notebook-story-stage {
height: 48svh;
}
.notebook-story-controls {
grid-column: 1 / -1;
grid-template-columns: auto minmax(0, 1fr) auto;
}
.notebook-story-project-buttons {
grid-column: auto;
}
}
@media (prefers-reduced-motion: reduce) {
.notebook-tab,
.notebook-cursor,
.notebook-screenshot-current,
.notebook-screenshot-outgoing {
transition: none;
animation: none;
}
}
/* Interactive quality laboratory — scoped to the Lighthouse section. */
.quality-lab {
--quality-muted: color-mix(in srgb, var(--paper) 72%, transparent);