feat: rebuild landing experience, content and analytics

This commit is contained in:
Evandro Fonseca Junior committed 2026-09-13 04:30:58 -03:00
1 parent d24ee12299
commit 9aff4d1035
51 files changed
+3023 -2595

No files matched your search

+123 -145
View File
@@ -47,6 +47,7 @@
--r-md: 8px;
--r-lg: 16px;
--r-full: 999px;
--site-header-height: 60px;
--font-display: var(--font-space-grotesk), sans-serif;
--font-hero: var(--font-monument-extended), sans-serif;
--font-mono: var(--font-geist-mono), monospace;
@@ -79,7 +80,13 @@ body {
html {
scroll-behavior: smooth;
scroll-padding-top: 68px;
scroll-padding-top: calc(var(--site-header-height) + var(--sp-4));
}
@media (min-width: 1280px) {
:root {
--site-header-height: 68px;
}
}
.site-header-nav,
@@ -764,138 +771,6 @@ textarea {
CINEMATIC STYLES - Awwwards Level
═══════════════════════════════════════════ */
/* Cinematic text gradient - hero heading */
.cinematic-text-gradient {
color: #f4f2ed;
}
/* Solid surfaces avoid expensive backdrop blur during first paint. */
.cinematic-glass {
border: 1px solid rgba(255, 255, 255, 0.12);
background: rgba(10, 10, 10, 0.78);
transition:
border-color 0.25s ease,
background 0.25s ease;
}
.cinematic-glass:hover {
border-color: rgba(204, 255, 0, 0.35);
background: rgba(10, 10, 10, 0.9);
}
/* Primary CTA - cinematic glow button */
.cinematic-cta-primary {
position: relative;
background: var(--slash);
overflow: hidden;
transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.cinematic-cta-primary::before {
content: "";
position: absolute;
inset: 0;
background: linear-gradient(
90deg,
transparent 0%,
rgba(255, 255, 255, 0.4) 50%,
transparent 100%
);
transform: translateX(-100%);
transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.cinematic-cta-primary:hover {
background: #ffffff;
box-shadow:
0 0 30px rgba(204, 255, 0, 0.4),
0 0 60px rgba(204, 255, 0, 0.15);
}
.cinematic-cta-primary:hover::before {
transform: translateX(100%);
}
/* Secondary CTA */
.cinematic-cta-secondary {
position: relative;
border: 1px solid rgba(244, 242, 237, 0.2);
background: rgba(10, 10, 10, 0.4);
backdrop-filter: blur(10px);
overflow: hidden;
transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.cinematic-cta-secondary::before {
content: "";
position: absolute;
inset: -1px;
background: linear-gradient(
135deg,
transparent 30%,
rgba(204, 255, 0, 0.3) 50%,
transparent 70%
);
background-size: 200% 200%;
opacity: 0;
transition: opacity 0.4s;
}
.cinematic-cta-secondary:hover {
border-color: var(--slash);
color: var(--slash);
box-shadow: 0 0 20px rgba(204, 255, 0, 0.1);
}
.cinematic-cta-secondary:hover::before {
opacity: 1;
animation: borderGlow 2s linear infinite;
}
@keyframes borderGlow {
0% {
background-position: 0% 0%;
}
100% {
background-position: 200% 200%;
}
}
/* Social links */
.cinematic-social-link {
border: 1px solid rgba(244, 242, 237, 0.12);
background: rgba(10, 10, 10, 0.3);
color: rgba(244, 242, 237, 0.86);
backdrop-filter: blur(8px);
transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.cinematic-social-link:hover {
border-color: var(--slash);
background: rgba(204, 255, 0, 0.08);
color: var(--slash);
box-shadow: 0 0 20px rgba(204, 255, 0, 0.15);
}
/* Aside card */
.cinematic-aside-card {
border: 1px solid rgba(255, 255, 255, 0.08);
background: linear-gradient(
180deg,
rgba(10, 10, 10, 0.6) 0%,
rgba(10, 10, 10, 0.3) 100%
);
backdrop-filter: blur(24px);
-webkit-backdrop-filter: blur(24px);
transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.cinematic-aside-card:hover {
border-color: rgba(204, 255, 0, 0.12);
box-shadow:
0 20px 60px rgba(0, 0, 0, 0.4),
0 0 1px rgba(204, 255, 0, 0.2);
}
/* Section divider animations */
@keyframes shimmerDivider {
0% {
@@ -1053,9 +928,7 @@ textarea {
min-height: var(--notebook-runway, 560vh);
}
@media (min-width: 1025px) and (hover: hover) and (pointer: fine) and (
prefers-reduced-motion: no-preference
) {
@media (prefers-reduced-motion: no-preference) {
.notebook-story-pending {
min-height: var(--notebook-runway, 560vh);
}
@@ -1133,6 +1006,10 @@ textarea {
pointer-events: none;
}
.notebook-story-controls {
display: none;
}
.notebook-story-static-content {
width: min(1080px, 100%);
margin: 0 auto;
@@ -1529,16 +1406,18 @@ textarea {
@media (max-width: 1024px) {
.notebook-story-runway {
min-height: auto;
min-height: var(--notebook-mobile-runway, 440svh);
}
.notebook-story-sticky {
position: relative;
min-height: auto;
height: 100svh;
min-height: 100svh;
padding: 64px 20px 16px;
}
.notebook-story-grid {
grid-template-columns: 1fr;
gap: 12px;
}
.notebook-story-copy {
@@ -1547,10 +1426,77 @@ textarea {
.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 {
min-height: min(78vw, 620px);
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);
}
}
@@ -1560,11 +1506,7 @@ textarea {
}
.notebook-story-copy h2 {
font-size: clamp(38px, 14vw, 64px);
}
.notebook-story-stage {
min-height: 84vw;
font-size: clamp(32px, 8vw, 44px);
}
.notebook-fallback {
@@ -1588,6 +1530,15 @@ textarea {
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;
}
@@ -1597,6 +1548,33 @@ textarea {
}
}
@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,