Kubric™ Hero Landing — Hero Cinemática Escura com Logotipo SVG Animado
Seção de herói proveniente da galeria
pulkitxm/claude-directorylicenciada sob MIT.
Uma landing page de herói escura, de página única e desktop-only para o estúdio fictício Kubric™, construída com TanStack Start v1 + React 19 + Vite 7 + Tailwind v4 e roteamento baseado em arquivos. Possui um vídeo de fundo em loop com um desfoque progressivo de 8 camadas backdrop-filter na parte inferior, um logotipo SVG animado com revelações de arco stroke-dashoffset, uma pílula de navegação estilo vidro, um título revelado caractere por caractere, uma navegação lateral vertical à direita e um cartão "Sobre nós" branco. Tudo é animado na primeira carga, assim que o vídeo de fundo estiver pronto.
Fluxo de Trabalho
- Clone
example.htmlno espaço de trabalho do usuário como arquivo de trabalho. - Substitua o conteúdo de espaço reservado pelo nome real da marca, títulos, corpo do texto, números e imagens do usuário. Mantenha as dimensões da imagem ao substituir os ativos.
- Preserve o sistema de design. A paleta, a escala tipográfica, o ritmo de espaçamento e o movimento na especificação de construção abaixo são a identidade — não substitua fontes, recolorir a paleta ou remover elementos decorativos.
- Estenda duplicando seções, nunca importando um layout de outro template. Se uma seção estiver faltando, projete-a do zero no vocabulário deste template.
- Mantenha o movimento acessível. Toda animação deve ficar atrás de
prefers-reduced-motion, conforme exigido pela especificação de construção.
Contrato de saída
Emita entre tags <artifact>:
<artifact identifier="kubric-hero-landing" type="text/html" title="Kubric™ Hero Landing — Hero Cinemática Escura com Logotipo SVG Animado">
<!doctype html>
<html>...</html>
</artifact>
Especificação de construção
O prompt upstream que produziu este design, na íntegra.
PROMPT DE CONSTRUÇÃO — KUBRIC™ HERO LANDING (TANSTACK START + REACT 19 + VITE 7 + TAILWIND V4)
OBJETIVO
CRIE UMA LANDING PAGE DE HERÓI ESCURA DE PÁGINA ÚNICA CHAMADA "KUBRIC™". É UM HERÓI DE VIEWPORT COMPLETA (MÍN 1024PX DE LARGURA, APENAS DESKTOP) COM UM VÍDEO DE FUNDO EM LOOP, UMA SOBREPOSIÇÃO DE DESFOQUE PROGRESSIVO NA PARTE INFERIOR, UM LOGOTIPO SVG ANIMADO, UMA PÍLULA DE NAVEGAÇÃO ESTILO VIDRO COM 4 LINKS (UM TEM UM DISTINTIVO NUMÉRICO CIRCULAR "3"), UM BOTÃO BRANCO "AGENDAR UMA CHAMADA", UM TÍTULO DE 3 LINHAS COM DESTAQUE ITÁLICO QUE REVELA CARACTERE POR CARACTERE, UMA NAVEGAÇÃO LATERAL VERTICAL À DIREITA COM UM SUBLINHADO ATIVO, UMA LINHA INFERIOR CONTENDO UM RÓTULO "01 — NOSSO OBJETIVO", UM PARÁGRAFO DE DESCRIÇÃO, UM BOTÃO PRIMÁRIO "DISCUTIR O PROJETO", UMA PÍLULA "ROLAR PARA BAIXO" ANIMADA E UM CARTÃO HORIZONTAL BRANCO "SOBRE NÓS" COM UMA IMAGEM E SETA. TUDO ANIMA NA PRIMEIRA CARGA APÓS O VÍDEO DE FUNDO ESTAR PRONTO.
STACK / ARQUIVOS
- TANSTACK START V1 ROTEAMENTO BASEADO EM ARQUIVOS. ROTAS EM SRC/ROUTES/. RAIZ EM SRC/ROUTES/__ROOT.TSX. HOME EM SRC/ROUTES/INDEX.TSX.
- TAILWIND V4 VIA
@import "tailwindcss"EM SRC/STYLES.CSS (SEM TAILWIND.CONFIG.JS). - TODOS OS ESTILOS KUBRIC SÃO CSS PURO ACRESCENTADOS EM SRC/STYLES.CSS (NÃO UTILIDADES TAILWIND).
- CARREGUE A FONTE GOOGLE "INTER TIGHT" (PESOS 300/400/500/700/800, ITÁLICO 400/700) VIA NO HEAD DA ROTA — NUNCA VIA CSS @IMPORT.
- SEM BACKEND, SEM BANCO DE DADOS, SEM AUTENTICAÇÃO. NENHUM COMPONENTE SHADCN USADO PELA PÁGINA.
VARIÁVEIS CSS GLOBAIS (ACRESCENTAR APÓS O BLOCO SHADCN EM SRC/STYLES.CSS)
:root {
--bg: #1e1e1e;
--text: #ffffff;
--text-muted: rgba(255,255,255,0.749);
--dark-text: #22282b;
--page-pad: clamp(24px, 3.4vw, 50px);
--btn-radius: 10px;
--card-radius: 4px;
}
html { min-width: 1024px; }
body {
font-family: "Inter Tight", sans-serif;
background: var(--bg);
color: var(--text);
-webkit-font-smoothing: antialiased;
overflow-x: hidden;
}
,::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; border: none; background: none; cursor: pointer; }
HIERARQUIA DE CAMADAS (ÁRVORE JSX EXATA DA PÁGINA INICIAL)
div.hero
├── div.hero__bg
│ └── video.hero__video (autoPlay muted loop playsInline preload="auto")
│ └── source src="https://qclay.design/lovable/kubric/body.mp4" type="video/mp4"
├── div.hero__overlay
├── div.hero__gradient-top (vazio, placeholder display:none)
├── div.hero__gradient-bottom (vazio, placeholder display:none)
├── div.hero__blur
│ ├── div.hero__blur-layer (× 8 — cada camada recebe um desfoque mais pesado + máscara)
│ └── ::after (sobreposição de escurecimento gradiente)
├── header.header
│ ├── a.logo href="#" aria-label="Kubric"
│ │ └── svg.logo__icon viewBox="0 0 122 30"
│ │ ├── circle.logo__circle cx=14.3 cy=14.9 r=7 stroke=#fff strokeWidth=3 fill=none
│ │ ├── path.logo__arc-1a (arco externo superior, veja SVG abaixo)
│ │ ├── path.logo__arc-1b (arco externo inferior)
│ │ ├── path.logo__arc-2a (arco distante superior)
│ │ ├── path.logo__arc-2b (arco distante inferior)
│ │ └── g.logo__text-group
│ │ ├── text x=46 y=22 font="Inter Tight" size=22 weight=700 fill=#fff letterSpacing=-0.5 → "Kubric"
│ │ └── text.logo__tm x=113 y=10 → "™"
│ ├── nav.nav-pill aria-label="Principal"
│ │ ├── a.nav-pill__link href="#features" → "Recursos"
│ │ ├── a.nav-pilllink href="#team" → "Equipe" + span.nav-pillbadge "3"
│ │ ├── a.nav-pill__link href="#roadmap" → "Roadmap"
│ │ └── a.nav-pill__link href="#contact" → "Contato"
│ └── button.btn.btn--header
│ ├── "Agendar uma chamada"
│ └── svg.btn__arrow viewBox="0 0 8 8" (path d="M1 7L7 1M7 1H2M7 1V6")
├── h1.hero__heading
│ ├── span.heroline > span.heroline-inner → "Tornando seu negócio"
│ ├── span.heroline > span.heroline-inner → "excepcional — é uma"
│ └── span.heroline > span.heroline-inner > em → "Ciência"
├── nav.side-nav aria-label="Seções"
│ ├── a.side-navlink.side-navlink--active href="#home"
│ │ ├── span.side-nav__link-text "Início"
│ │ └── span.side-nav__line
│ ├── a.side-navlink href="#services" → span.side-navlink-text "Nossos Serviços"
│ ├── a.side-navlink href="#about" → span.side-navlink-text "Sobre Nós"
│ ├── a.side-navlink href="#reviews" → span.side-navlink-text "Avaliações"
│ └── a.side-navlink href="#contact" → span.side-navlink-text "Contato"
├── div.hero__blur-bar
└── div.hero__bottom (CSS grid, 1fr auto / 3 linhas)
├── div.hero__label (linha 1) → "01 — Nosso objetivo"
├── p.hero__desc (linha 2) → 3 linhas:
│ "Permitimos que os investidores mais engajados do mundo e"
│ "family offices acessem estratégias de investimento"
│ "gerenciadas profissionalmente."
├── div.hero__actions (linha 3)
│ ├── button.btn.btn--footer
│ │ ├── "Discutir o projeto"
│ │ └── svg.btn__arrow (mesmo caminho da seta 8×8 do cabeçalho)
│ └── button.scroll-down#scrollDown
│ ├── span.scroll-down__text "Rolar para baixo"
│ └── span.scroll-down__circle
│ └── svg viewBox="0 0 7.222 8.667" (path d="M3.611 1V7.667M3.611 7.667L1 5M3.611 7.667L6.222 5")
└── a.about-card href="#about"
├── div.about-card__image > img src="https://qclay.design/lovable/kubric/card-image.png" alt="Close-up de tulipa rosa"
└── div.about-card__content
├── div
│ ├── h3.about-card__title "Sobre nós"
│ └── p.about-card__text "Somos movidos pelo design centrado no usuário que impulsiona a produtividade e aumenta a receita."
└── svg.about-card__arrow viewBox="0 0 77 13" (path d="M1 6.5H75M75 6.5L70 1.5M75 6.5L70 11.5")
FONTES DE ÍCONES / SVG (COLE TEXTUALMENTE — COORDENADAS E COMPRIMENTO DO CAMINHO SÃO EXATOS)
LOGOTIPO SVG (DENTRO DE A.LOGO):
<svg class="logo__icon" viewBox="0 0 122 30" fill="none" xmlns="http://www.w3.org/2000/svg">
<circle class="logo__circle" cx="14.3" cy="14.9" r="7" fill="none" stroke="#fff" stroke-width="3"/>
<path class="logo__arc-1a" pathLength="100" stroke="#fff" stroke-width="3" stroke-linecap="round" fill="none"
d="M28.4955 14.6513C28.4346 12.2923 27.7563 9.99047 26.5284 7.9753C25.3005 5.96012 23.5657 4.30202 21.4972 3.1663C19.4287 2.03059 17.0985 1.45693 14.7392 1.50252C12.3798 1.54811 10.0736 2.21137 8.05047 3.42615"/>
<path class="logo__arc-1b" pathLength="100" stroke="#fff" stroke-width="3" stroke-linecap="round" fill="none"
d="M28.4955 14.6513C28.5564 17.0104 27.998 19.3442 26.8757 21.4201C25.7535 23.496 24.1067 25.2414 22.0996 26.4824C20.0924 27.7234 17.795 28.4166 15.4365 28.4929C13.0779 28.5692 10.7405 28.026 8.65735 26.9173"/>
<path class="logo__arc-2a" pathLength="100" stroke="#fff" stroke-width="3" stroke-linecap="round" fill="none"
d="M37.4997 14.9144C37.4824 12.1783 36.634 9.51197 35.0671 7.26888C33.5001 5.02578 31.2885 3.31178 28.7254 2.35403"/>
<path class="logo__arc-2b" pathLength="100" stroke="#fff" stroke-width="3" stroke-linecap="round" fill="none"
d="M37.4997 14.9144C37.5171 17.6506 36.7026 20.3274 35.1642 22.5902C33.6258 24.853 31.4361 26.5949 28.8853 27.5851"/>
<g class="logo__text-group">
<text x="46" y="22" font-family="Inter Tight" font-size="22" font-weight="700" fill="#fff" letter-spacing="-0.5">Kubric</text>
<text class="logo__tm" x="113" y="10">™</text>
</g>
</svg>
ÍCONE DE SETA (USADO EM AMBOS OS BOTÕES) VIEWBOX="0 0 8 8":
<path d="M1 7L7 1M7 1H2M7 1V6" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round"/>
ÍCONE DE CHAVRON ROLAR PARA BAIXO VIEWBOX="0 0 7.222 8.667":
<path d="M3.611 1V7.667M3.611 7.667L1 5M3.611 7.667L6.222 5" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round"/>
SETA LONGA DO CARTÃO SOBRE NÓS VIEWBOX="0 0 77 13":
<path d="M1 6.5H75M75 6.5L70 1.5M75 6.5L70 11.5" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round"/>
CSS COMPLETO (ACRESCENTAR A SRC/STYLES.CSS TEXTUALMENTE — FONTE EXATA DE VERDADE)
/ ============ HERO ============ /
.hero { position: relative; width: 100%; height: 100vh; min-height: 700px; overflow: hidden; background: var(--bg); }
.hero__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero__video { position: absolute; top: 50%; left: 50%; width: 60%; height: 90%; object-fit: cover; transform: translate(-50%,-50%) scale(1.9); }
.hero__overlay { position: absolute; inset: 0; z-index: 1; background: rgba(8,8,8,0.25); pointer-events: none; }
.herogradient-top,.herogradient-bottom { display: none; }
/ ===== DESFOQUE PROGRESSIVO ===== /
.hero__blur { position: absolute; left:0; right:0; bottom:0; height: 26%; z-index:3; pointer-events:none; }
.hero__blur-layer { position: absolute; inset: 0; }
.hero__blur-layer:nth-child(1){ backdrop-filter: blur(0.6px); mask-image: linear-gradient(to bottom, transparent 0%, black 12%); }
.hero__blur-layer:nth-child(2){ backdrop-filter: blur(1px); mask-image: linear-gradient(to bottom, transparent 12%, black 25%); }
.hero__blur-layer:nth-child(3){ backdrop-filter: blur(1.5px); mask-image: linear-gradient(to bottom, transparent 25%, black 37%); }
.hero__blur-layer:nth-child(4){ backdrop-filter: blur(2px); mask-image: linear-gradient(to bottom, transparent 37%, black 50%); }
.hero__blur-layer:nth-child(5){ backdrop-filter: blur(3px); mask-image: linear-gradient(to bottom, transparent 50%, black 62%); }
.hero__blur-layer:nth-child(6){ backdrop-filter: blur(4px); mask-image: linear-gradient(to bottom, transparent 62%, black 75%); }
.hero__blur-layer:nth-child(7){ backdrop-filter: blur(6px); mask-image: linear-gradient(to bottom, transparent 75%, black 87%); }
.hero__blur-layer:nth-child(8){ backdrop-filter: blur(8px); mask-image: linear-gradient(to bottom, transparent 87%, black 100%); }
.hero__blur::after { content:""; position:absolute; inset:0; pointer-events:none;
background: linear-gradient(to bottom, transparent 0%, rgba(20,20,20,0.35) 40%, rgba(20,20,20,0.65) 70%, rgba(20,20,20,0.85) 100%); }
.hero__blur-bar { position: absolute; left:0; right:0; bottom:0;
height: calc(60px + clamp(20px,3vh,36px) + 24px); z-index:4; pointer-events:none;
background: linear-gradient(0.8deg, rgba(255,255,255,0.06) -51%, transparent 109%), rgba(255,255,255,0.01);
mask-image: linear-gradient(to bottom, transparent 0%, black 30%); }
/ ===== CABEÇALHO ===== /
.header { position: absolute; top:0; left:0; right:0; z-index:10; display:flex; align-items:center; justify-content: space-between; padding: 20px var(--page-pad); }
/ ===== LOGOTIPO ===== /
.logo { display:flex; align-items:center; }
.logo__icon { display:block; width: clamp(80px,7.6vw,110px); height: clamp(22px,2.08vw,30px); overflow:visible; }
body:not(.is-ready) .logo__circle,
body:not(.is-ready) .logoarc-1a, body:not(.is-ready) .logoarc-1b,
body:not(.is-ready) .logoarc-2a, body:not(.is-ready) .logoarc-2b,
body:not(.is-ready) .logo__text-group { opacity:0; animation-play-state: paused !important; }
.logo__circle { transform-origin: 14.3px 14.9px; transform: scale(0); opacity:0;
animation: logoCircleGrow 0.4s cubic-bezier(0.34,1.56,0.64,1) 0.1s forwards; }
@keyframes logoCircleGrow { to { transform: scale(1); opacity:1; } }
.logoarc-1a,.logoarc-1b { stroke-dasharray:100; stroke-dashoffset:100; opacity:0; transform: translateX(-14px);
animation: logoArcDraw1 0.65s cubic-bezier(0.16,1,0.3,1) 0.55s forwards; }
.logoarc-2a,.logoarc-2b { stroke-dasharray:100; stroke-dashoffset:100; opacity:0; transform: translateX(-14px);
animation: logoArcDraw2 0.5s cubic-bezier(0.16,1,0.3,1) 1.25s forwards; }
@keyframes logoArcDraw1 { to { stroke-dashoffset:0; opacity:1; transform: translateX(0);} }
@keyframes logoArcDraw2 { to { stroke-dashoffset:0; opacity:1; transform: translateX(0);} }
.logo__text-group { opacity:0; filter: blur(10px); transform: translateX(28px);
animation: logoTextReveal 1.9s cubic-bezier(0.16,1,0.3,1) 1.25s forwards; }
@keyframes logoTextReveal { to { opacity:1; filter: blur(0); transform: translateX(0);} }
.logo__tm { font-family:"Inter Tight",sans-serif; font-size:20px; fill:#fff; }
/ ===== PÍLULA DE NAVEGAÇÃO ===== /
.nav-pill {
display:inline-flex; align-items:center; gap: clamp(16px,2.3vw,33px);
padding: clamp(8px,0.76vw,11px) clamp
[truncado para tradução]