mirror of
https://github.com/fsolla/teqo.git
synced 2026-11-17 21:03:06 +00:00
504 lines
20 KiB
HTML
504 lines
20 KiB
HTML
<!doctype html>
|
||
<html lang="pt-BR" data-theme="campaign-site">
|
||
<head>
|
||
<meta charset="utf-8" />
|
||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||
<script src="https://cdn.jsdelivr.net/npm/@tailwindcss/browser@4"></script>
|
||
<title>Design S23 · Drawer mobile do card Time de você</title>
|
||
<style type="text/tailwindcss">
|
||
:root {
|
||
--background: #ffffff;
|
||
--foreground: #000000;
|
||
--pt-red: #a21c1c;
|
||
--pt-red-dark: #47130e;
|
||
--pt-yellow: #ffe607;
|
||
--campaign-cream: #fff8f2;
|
||
--campaign-ink: #000000;
|
||
--campaign-muted: #6c615e;
|
||
--campaign-surface: #f9faff;
|
||
--campaign-band: #ebe9e9;
|
||
--campaign-line: rgb(0 0 0 / 12%);
|
||
--field-border: rgb(0 0 0 / 18%);
|
||
--font-exo2: 'Exo 2', 'Arial Black', sans-serif;
|
||
--font-arimo: Arimo, Arial, sans-serif;
|
||
}
|
||
|
||
* {
|
||
box-sizing: border-box;
|
||
}
|
||
html {
|
||
color-scheme: light;
|
||
}
|
||
body {
|
||
margin: 0;
|
||
font-family: var(--font-arimo);
|
||
}
|
||
button,
|
||
input {
|
||
font: inherit;
|
||
}
|
||
button {
|
||
cursor: pointer;
|
||
}
|
||
button:focus-visible,
|
||
input:focus-visible,
|
||
[tabindex]:focus-visible {
|
||
outline: 2px solid var(--pt-red);
|
||
outline-offset: 2px;
|
||
}
|
||
.font-display {
|
||
font-family: var(--font-exo2);
|
||
}
|
||
.stage-shadow {
|
||
box-shadow: 0 26px 80px rgb(0 0 0 / 32%);
|
||
}
|
||
.mobile-screen {
|
||
width: 390px;
|
||
height: 844px;
|
||
overflow: hidden;
|
||
background: #fff;
|
||
}
|
||
.drawer-full {
|
||
position: absolute;
|
||
inset: 0;
|
||
display: flex;
|
||
min-height: 0;
|
||
flex-direction: column;
|
||
overflow: hidden;
|
||
border-top: 1px solid var(--campaign-line);
|
||
border-radius: 12px 12px 0 0;
|
||
background: var(--background);
|
||
color: var(--foreground);
|
||
}
|
||
.swipe-handle {
|
||
width: 96px;
|
||
height: 4px;
|
||
border-radius: 999px;
|
||
background: #ebe9e9;
|
||
}
|
||
.control-button {
|
||
display: inline-flex;
|
||
width: 44px;
|
||
height: 44px;
|
||
flex: none;
|
||
align-items: center;
|
||
justify-content: center;
|
||
border: 1px solid var(--campaign-line);
|
||
border-radius: 8px;
|
||
background: white;
|
||
color: var(--campaign-ink);
|
||
}
|
||
.range {
|
||
appearance: none;
|
||
height: 4px;
|
||
min-width: 0;
|
||
border-radius: 999px;
|
||
background: linear-gradient(90deg, var(--pt-red) 0 47%, #d6d3d1 47% 100%);
|
||
}
|
||
.range::-webkit-slider-thumb {
|
||
appearance: none;
|
||
width: 20px;
|
||
height: 20px;
|
||
border: 3px solid white;
|
||
border-radius: 999px;
|
||
background: var(--pt-red);
|
||
box-shadow: 0 0 0 1px rgb(0 0 0 / 18%);
|
||
}
|
||
.preview-placeholder {
|
||
position: relative;
|
||
aspect-ratio: 1080 / 1440;
|
||
overflow: hidden;
|
||
border: 1px solid var(--campaign-line);
|
||
border-radius: 8px;
|
||
background:
|
||
linear-gradient(135deg, transparent 46%, rgb(0 0 0 / 5%) 46% 54%, transparent 54%),
|
||
#dedbd8;
|
||
box-shadow: 0 1px 2px rgb(0 0 0 / 8%);
|
||
}
|
||
.preview-placeholder::before {
|
||
content: '';
|
||
position: absolute;
|
||
inset: 12% 14%;
|
||
border: 1px dashed rgb(0 0 0 / 25%);
|
||
border-radius: 6px;
|
||
}
|
||
.switch {
|
||
position: relative;
|
||
width: 44px;
|
||
height: 26px;
|
||
flex: none;
|
||
border-radius: 999px;
|
||
background: var(--pt-red);
|
||
}
|
||
.switch::after {
|
||
content: '';
|
||
position: absolute;
|
||
top: 3px;
|
||
left: 21px;
|
||
width: 20px;
|
||
height: 20px;
|
||
border-radius: 999px;
|
||
background: white;
|
||
box-shadow: 0 1px 2px rgb(0 0 0 / 25%);
|
||
}
|
||
.primary-button,
|
||
.secondary-button {
|
||
display: inline-flex;
|
||
min-height: 44px;
|
||
flex: 1;
|
||
align-items: center;
|
||
justify-content: center;
|
||
border-radius: 8px;
|
||
padding: 0 20px;
|
||
font-size: 14px;
|
||
font-weight: 800;
|
||
}
|
||
.primary-button {
|
||
border: 0;
|
||
background: var(--pt-red);
|
||
color: white;
|
||
}
|
||
.secondary-button {
|
||
border: 2px solid var(--campaign-line);
|
||
background: white;
|
||
color: var(--pt-red);
|
||
}
|
||
.gate-dash {
|
||
background-image: linear-gradient(90deg, #a21c1c 50%, transparent 50%);
|
||
background-size: 8px 1px;
|
||
}
|
||
</style>
|
||
</head>
|
||
<body class="bg-zinc-950 text-zinc-100 antialiased">
|
||
<div
|
||
class="border-b border-emerald-400/40 bg-emerald-400/10 px-4 py-2 text-center text-[11px] font-black tracking-[0.14em] text-emerald-300 uppercase"
|
||
>
|
||
Design tier: openai/gpt-5.6-sol · frontier · gate humano obrigatório
|
||
</div>
|
||
|
||
<main class="mx-auto max-w-[1440px] px-4 py-10 sm:px-6 lg:px-10">
|
||
<header class="max-w-4xl">
|
||
<p class="m-0 text-xs font-black tracking-[0.12em] text-red-400 uppercase">
|
||
Gate visual · S23
|
||
</p>
|
||
<h1 class="mt-2 text-2xl font-black tracking-[-0.02em] sm:text-3xl">
|
||
Ajuste fino sem vaivém no celular
|
||
</h1>
|
||
<p class="mt-3 max-w-3xl text-sm leading-6 text-zinc-400">
|
||
Alvo do port: no mobile de 390px, o drawer do estúdio ocupa toda a viewport, respeitando a
|
||
safe-area. O aviso abre a área rolável e sai de cena ao descer; nada fica sobre a prévia.
|
||
Zoom e setas continuam no mesmo fluxo. O shell do dialog desktop mantém sua geometria.
|
||
</p>
|
||
<div class="mt-5 flex flex-wrap gap-2 text-[11px] font-bold text-zinc-300">
|
||
<span class="rounded-full border border-zinc-700 bg-zinc-900 px-3 py-2"
|
||
>390px · alvo do port</span
|
||
>
|
||
<span class="rounded-full border border-zinc-700 bg-zinc-900 px-3 py-2"
|
||
>1280px · conferência de escopo</span
|
||
>
|
||
<span class="rounded-full border border-zinc-700 bg-zinc-900 px-3 py-2"
|
||
>Conteúdo da prévia · NEEDS ASSET</span
|
||
>
|
||
</div>
|
||
</header>
|
||
|
||
<section class="mt-12" aria-labelledby="scene-01-title">
|
||
<div class="mb-5 flex flex-wrap items-end justify-between gap-3">
|
||
<div>
|
||
<p class="text-[11px] font-black tracking-[0.12em] text-emerald-300 uppercase">
|
||
Cena 01 · mobile 390 × 844
|
||
</p>
|
||
<h2 id="scene-01-title" class="mt-1 text-xl font-black">
|
||
Altura total · aviso no fluxo, prévia e controles
|
||
</h2>
|
||
</div>
|
||
<span
|
||
class="rounded-full bg-emerald-400/15 px-3 py-1.5 text-xs font-bold text-emerald-300"
|
||
>Alvo do port</span
|
||
>
|
||
</div>
|
||
|
||
<div class="overflow-x-auto pb-4">
|
||
<div
|
||
class="mobile-screen stage-shadow relative mx-auto text-black"
|
||
data-theme="campaign-site"
|
||
>
|
||
<div class="absolute inset-0 bg-black/10" aria-hidden="true"></div>
|
||
<article class="drawer-full" aria-label="Drawer do estúdio de cards">
|
||
<div class="flex h-3 shrink-0 items-end justify-center">
|
||
<div class="swipe-handle"></div>
|
||
</div>
|
||
<header class="flex shrink-0 items-start gap-3 px-5 pt-5">
|
||
<div class="min-w-0 flex-1 text-left">
|
||
<p class="m-0 text-[10px] font-black tracking-[0.1em] text-(--pt-red) uppercase">
|
||
Time de você
|
||
</p>
|
||
<h3 class="m-0 mt-0.5 text-lg leading-tight font-black tracking-[-0.01em]">
|
||
Confira seu card
|
||
</h3>
|
||
</div>
|
||
<button
|
||
class="inline-flex size-11 shrink-0 items-center justify-center rounded-lg text-xl text-(--campaign-muted)"
|
||
aria-label="Fechar"
|
||
>
|
||
×
|
||
</button>
|
||
</header>
|
||
|
||
<div class="min-h-0 flex-1 overflow-hidden px-5 pt-3 pb-4">
|
||
<p class="mx-auto mb-3 max-w-[350px] text-sm leading-5 text-(--campaign-muted)">
|
||
O recorte já foi centralizado. Se precisar, arraste a foto ou use os controles.
|
||
</p>
|
||
<div class="relative mx-auto w-[180px]" tabindex="0" aria-label="Ajuste da foto">
|
||
<div class="preview-placeholder" aria-hidden="true"></div>
|
||
</div>
|
||
<p
|
||
class="m-0 mt-1 text-center text-[9px] font-black tracking-[0.08em] text-zinc-500 uppercase"
|
||
>
|
||
Prévia real do visitante · NEEDS ASSET
|
||
</p>
|
||
|
||
<div class="mt-4">
|
||
<div class="flex items-center gap-3">
|
||
<label for="zoom-1" class="text-sm font-bold">Zoom</label>
|
||
<button class="control-button" aria-label="Diminuir zoom">−</button>
|
||
<input
|
||
id="zoom-1"
|
||
class="range h-11 w-full flex-1"
|
||
type="range"
|
||
value="47"
|
||
aria-label="Zoom da foto"
|
||
/>
|
||
<button class="control-button" aria-label="Aumentar zoom">+</button>
|
||
</div>
|
||
<div class="mt-3">
|
||
<p class="m-0 text-sm font-bold">Ajuste fino</p>
|
||
<div class="mt-2 grid grid-cols-4 gap-2">
|
||
<button class="control-button w-full" aria-label="Mover foto para a esquerda">
|
||
←
|
||
</button>
|
||
<button class="control-button w-full" aria-label="Mover foto para cima">
|
||
↑
|
||
</button>
|
||
<button class="control-button w-full" aria-label="Mover foto para baixo">
|
||
↓
|
||
</button>
|
||
<button class="control-button w-full" aria-label="Mover foto para a direita">
|
||
→
|
||
</button>
|
||
</div>
|
||
</div>
|
||
<div
|
||
class="mt-3 flex min-h-11 items-start gap-3 rounded-lg border border-(--campaign-line) bg-white p-3 opacity-60"
|
||
>
|
||
<span class="switch mt-1.5" aria-hidden="true"></span>
|
||
<span class="min-w-0">
|
||
<span class="block text-sm font-bold">Harmonizar cores</span>
|
||
<span class="mt-0.5 block text-xs leading-5 text-(--campaign-muted)"
|
||
>Ajusta o brilho e as cores da sua foto para combinar com as fotos do
|
||
card.</span
|
||
>
|
||
</span>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<footer class="flex shrink-0 gap-3 border-t border-(--campaign-line) px-5 py-4">
|
||
<button class="secondary-button">Cancelar</button>
|
||
<button class="primary-button">Criar meu card</button>
|
||
</footer>
|
||
</article>
|
||
</div>
|
||
</div>
|
||
<p class="mx-auto mt-3 max-w-[620px] text-center text-xs leading-5 text-zinc-400">
|
||
O topo branco coincide com a viewport e reserva a safe-area. A área rolável começa no
|
||
aviso; imagem, zoom e setas vêm em seguida, sem qualquer camada sobre a prévia.
|
||
</p>
|
||
</section>
|
||
|
||
<section class="mt-16" aria-labelledby="scene-02-title">
|
||
<div class="mb-5">
|
||
<p class="text-[11px] font-black tracking-[0.12em] text-amber-300 uppercase">
|
||
Cena 02 · mobile 390 × 844 · conteúdo rolado
|
||
</p>
|
||
<h2 id="scene-02-title" class="mt-1 text-xl font-black">
|
||
Aviso fora de cena · nada sobre a prévia
|
||
</h2>
|
||
</div>
|
||
<div class="grid items-start gap-6 lg:grid-cols-[390px_1fr] lg:justify-center">
|
||
<div
|
||
class="mobile-screen stage-shadow relative mx-auto text-black lg:mx-0"
|
||
data-theme="campaign-site"
|
||
>
|
||
<article class="drawer-full">
|
||
<div class="flex h-3 shrink-0 items-end justify-center">
|
||
<div class="swipe-handle"></div>
|
||
</div>
|
||
<header class="flex shrink-0 items-start gap-3 px-5 pt-5">
|
||
<div class="min-w-0 flex-1">
|
||
<p class="m-0 text-[10px] font-black tracking-[0.1em] text-(--pt-red) uppercase">
|
||
Time de você
|
||
</p>
|
||
<h3 class="m-0 mt-0.5 text-lg leading-tight font-black">Confira seu card</h3>
|
||
</div>
|
||
<button
|
||
class="inline-flex size-11 items-center justify-center rounded-lg text-xl text-(--campaign-muted)"
|
||
aria-label="Fechar"
|
||
>
|
||
×
|
||
</button>
|
||
</header>
|
||
<div class="min-h-0 flex-1 overflow-hidden px-5 pt-3 pb-4">
|
||
<div class="relative mx-auto w-[180px]">
|
||
<div class="preview-placeholder" aria-hidden="true"></div>
|
||
</div>
|
||
<p
|
||
class="m-0 mt-1 text-center text-[9px] font-black tracking-[0.08em] text-zinc-500 uppercase"
|
||
>
|
||
Prévia real do visitante · NEEDS ASSET
|
||
</p>
|
||
<div class="mt-4 flex items-center gap-3">
|
||
<span class="text-sm font-bold">Zoom</span
|
||
><button class="control-button">−</button>
|
||
<div class="range h-1 flex-1"></div>
|
||
<button class="control-button">+</button>
|
||
</div>
|
||
<p class="m-0 mt-3 text-sm font-bold">Ajuste fino</p>
|
||
<div class="mt-2 grid grid-cols-4 gap-2">
|
||
<button class="control-button w-full">←</button
|
||
><button class="control-button w-full">↑</button
|
||
><button class="control-button w-full">↓</button
|
||
><button class="control-button w-full">→</button>
|
||
</div>
|
||
</div>
|
||
<footer class="flex shrink-0 gap-3 border-t border-(--campaign-line) px-5 py-4">
|
||
<button class="secondary-button">Cancelar</button
|
||
><button class="primary-button">Criar meu card</button>
|
||
</footer>
|
||
</article>
|
||
</div>
|
||
|
||
<aside
|
||
class="mx-auto max-w-xl rounded-2xl border border-amber-400/35 bg-amber-400/10 p-5 lg:mx-0"
|
||
>
|
||
<p class="m-0 text-[11px] font-black tracking-[0.12em] text-amber-300 uppercase">
|
||
Estado após rolar
|
||
</p>
|
||
<p class="mt-3 text-sm leading-6 text-zinc-200">
|
||
<strong>O aviso continua existindo</strong>, mas ficou acima do recorte visível da
|
||
área rolável. Ele se move com o conteúdo — não acompanha a imagem nem fica preso ao
|
||
header.
|
||
</p>
|
||
<p class="mt-4 text-sm leading-6 text-zinc-200">
|
||
<strong>O badge “Arraste para ajustar” sai.</strong> A prévia permanece totalmente
|
||
limpa; gesto, zoom e setas comunicam o ajuste sem cobrir a foto.
|
||
</p>
|
||
<div
|
||
class="mt-5 rounded-xl border border-zinc-700 bg-zinc-900 p-4 text-xs leading-5 text-zinc-400"
|
||
>
|
||
Esta cena é o mesmo drawer da Cena 01 depois de rolar até os controles. Não há
|
||
anotação inserida dentro da interface-alvo.
|
||
</div>
|
||
</aside>
|
||
</div>
|
||
</section>
|
||
|
||
<section class="mt-16" aria-labelledby="scene-03-title">
|
||
<div class="mb-5 flex flex-wrap items-end justify-between gap-3">
|
||
<div>
|
||
<p class="text-[11px] font-black tracking-[0.12em] text-sky-300 uppercase">
|
||
Cena 03 · desktop 1280 × 800
|
||
</p>
|
||
<h2 id="scene-03-title" class="mt-1 text-xl font-black">
|
||
Dialog desktop · aviso no fluxo, imagem limpa
|
||
</h2>
|
||
</div>
|
||
<span
|
||
class="rounded-full border border-sky-400/30 bg-sky-400/10 px-3 py-1.5 text-xs font-bold text-sky-200"
|
||
>Sem mudança no shell desktop</span
|
||
>
|
||
</div>
|
||
|
||
<div class="overflow-x-auto pb-4">
|
||
<div
|
||
class="stage-shadow relative mx-auto h-[800px] w-[1280px] overflow-hidden bg-[#fff8f2] text-black"
|
||
data-theme="campaign-site"
|
||
>
|
||
<div class="absolute inset-0 bg-black/60"></div>
|
||
<article
|
||
class="absolute top-1/2 left-1/2 flex max-h-[736px] w-[512px] -translate-x-1/2 -translate-y-1/2 flex-col overflow-hidden rounded-xl border border-(--campaign-line) bg-white shadow-2xl"
|
||
>
|
||
<header class="flex shrink-0 items-start gap-3 px-5 pt-5">
|
||
<div class="min-w-0 flex-1">
|
||
<p class="m-0 text-xs font-black tracking-[0.1em] text-(--pt-red) uppercase">
|
||
Time de você
|
||
</p>
|
||
<h3 class="m-0 mt-0.5 text-xl font-black tracking-[-0.01em]">Confira seu card</h3>
|
||
</div>
|
||
<button
|
||
class="inline-flex size-11 items-center justify-center rounded-lg text-xl text-(--campaign-muted)"
|
||
aria-label="Fechar"
|
||
>
|
||
×
|
||
</button>
|
||
</header>
|
||
<div class="min-h-0 flex-1 overflow-y-auto px-5 pt-4 pb-5">
|
||
<p class="mx-auto mb-4 max-w-[420px] text-sm leading-5 text-(--campaign-muted)">
|
||
O recorte já foi centralizado. Se precisar, arraste a foto ou use os controles.
|
||
</p>
|
||
<div class="relative mx-auto w-[240px]">
|
||
<div class="preview-placeholder" aria-hidden="true"></div>
|
||
</div>
|
||
<p
|
||
class="m-0 mt-1 text-center text-[9px] font-black tracking-[0.08em] text-zinc-500 uppercase"
|
||
>
|
||
Prévia real do visitante · NEEDS ASSET
|
||
</p>
|
||
<div class="mx-auto mt-5 max-w-[420px]">
|
||
<div class="flex items-center gap-3">
|
||
<span class="text-sm font-bold">Zoom</span
|
||
><button class="control-button">−</button>
|
||
<div class="range h-1 flex-1"></div>
|
||
<button class="control-button">+</button>
|
||
</div>
|
||
<p class="m-0 mt-4 text-sm font-bold">Ajuste fino</p>
|
||
<div class="mt-2 grid grid-cols-4 gap-2">
|
||
<button class="control-button w-full">←</button
|
||
><button class="control-button w-full">↑</button
|
||
><button class="control-button w-full">↓</button
|
||
><button class="control-button w-full">→</button>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<footer class="flex shrink-0 gap-3 border-t border-(--campaign-line) px-5 py-4">
|
||
<button class="secondary-button">Cancelar</button
|
||
><button class="primary-button">Criar meu card</button>
|
||
</footer>
|
||
</article>
|
||
<div
|
||
class="absolute top-6 right-6 rounded-full border border-white/25 bg-black/50 px-4 py-2 text-xs font-black tracking-[0.08em] text-white uppercase"
|
||
>
|
||
Dialog 512px · 92dvh
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<p class="mt-3 text-xs leading-5 text-zinc-400">
|
||
O dialog permanece centralizado, com largura e teto atuais. A nova regra vale no conteúdo
|
||
compartilhado: aviso dentro do fluxo rolável e nenhuma camada sobre a imagem.
|
||
</p>
|
||
</section>
|
||
|
||
<section class="mt-16 rounded-2xl border border-zinc-800 bg-zinc-900/70 p-6">
|
||
<h2 class="text-lg font-black">Contrato visual para o port</h2>
|
||
<ul class="mt-4 grid gap-3 text-sm leading-6 text-zinc-300 md:grid-cols-2">
|
||
<li>• Mobile: drawer encosta no topo, cobre os 844px e respeita a safe-area.</li>
|
||
<li>• O aviso é o primeiro item da área rolável, acima da prévia.</li>
|
||
<li>• Ao descer, o aviso rola para fora; prévia, zoom e quatro setas ficam juntos.</li>
|
||
<li>• Nada se sobrepõe à imagem em drawer ou dialog.</li>
|
||
<li>• O badge “Arraste para ajustar” sai; gesto, zoom e setas permanecem.</li>
|
||
<li>• Desktop mantém dialog centralizado e dimensões atuais.</li>
|
||
</ul>
|
||
</section>
|
||
</main>
|
||
</body>
|
||
</html>
|