/* Vitrine — Marca e design */
.vt-marca { padding-top: var(--section); overflow: clip; }
.vt-marca__head { display: grid; grid-template-columns: 7fr 5fr; gap: 24px; align-items: end; }
.vt-marca__lead { color: var(--muted); max-width: 44ch; }

.vt-marca__layout { display: grid; grid-template-columns: 4fr 8fr; gap: 24px; margin-top: clamp(48px, 6vw, 80px); align-items: stretch; }

/* Seletor */
.vt-marca__picker { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.vt-marca__pick { display: grid; grid-template-columns: 34px 1fr; grid-template-rows: auto auto; align-items: baseline; gap: 2px 8px; padding: 18px 0; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--faint); text-align: left; cursor: pointer; font: inherit; transition: color 300ms ease; }
.vt-marca__pick:active { scale: .98; }
.vt-marca__pick-num { grid-row: span 2; font-size: 13px; font-variant-numeric: tabular-nums; }
.vt-marca__pick-name { font: 600 clamp(22px, 2.2vw, 34px)/1 var(--display); letter-spacing: -.04em; text-transform: uppercase; transition: transform 500ms var(--ease-out); }
.vt-marca__pick-niche { font-size: 13px; }
.vt-marca__pick.is-active { color: var(--fg); }
.vt-marca__pick.is-active .vt-marca__pick-name { transform: translateX(10px); }
.vt-marca__pick.is-active .vt-marca__pick-num { color: var(--accent-text); }
@media (hover: hover) and (pointer: fine) { .vt-marca__pick:not(.is-active):hover { color: var(--muted); } }

/* Palco */
.vt-marca__stage { display: grid; grid-template-rows: 1fr auto; gap: 14px; min-width: 0; }
.vt-marca__hero { position: relative; display: grid; place-items: center; align-content: center; gap: 14px; min-height: clamp(300px, 34vw, 460px); padding: 32px; border-radius: 28px; background: var(--b1); color: var(--b2); overflow: hidden; text-align: center; transition: background-color 700ms var(--ease-in-out), color 700ms var(--ease-in-out); }
.vt-marca__hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 70% at 70% 20%, rgba(255,255,255,.10), transparent 70%); pointer-events: none; }
.vt-marca__symbol { width: clamp(64px, 7vw, 96px); height: auto; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.vt-marca__symbol .f, .vt-mini-symbol .f, .vt-build__symbol .f { fill: currentColor; stroke: none; }
.vt-marca__logo { font-family: var(--bf); font-weight: var(--bw); text-transform: var(--bc); letter-spacing: var(--bt); font-size: clamp(44px, 6.6vw, 104px); line-height: .95; }
.vt-marca__tagline { font-size: clamp(14px, 1.2vw, 17px); opacity: .75; letter-spacing: .04em; }

.vt-marca__specs { display: grid; grid-template-columns: 7fr 5fr; gap: 14px; }
.vt-marca__palette, .vt-marca__type { padding: 22px; border-radius: 22px; background: var(--bg-2); border: 1px solid var(--line); min-width: 0; }
.vt-marca__label { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.vt-marca__palette ul { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.vt-marca__palette li { display: grid; gap: 4px; font-size: 12px; }
.vt-marca__chip { aspect-ratio: 1 / 1.15; border-radius: 14px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); transition: background-color 700ms var(--ease-in-out); }
.vt-marca__palette b { font-weight: 500; margin-top: 6px; }
.vt-marca__palette small { color: var(--faint); font-variant-numeric: tabular-nums; }
.vt-marca__aa { font-family: var(--bf); font-weight: var(--bw); font-size: clamp(64px, 6vw, 96px); line-height: .9; }
.vt-marca__fontname { margin-top: 10px; font-weight: 500; }
.vt-marca__abc { margin-top: 6px; font-family: var(--bf); font-weight: var(--bw); color: var(--muted); font-size: 15px; overflow-wrap: anywhere; }

/* Aplicações */
.vt-marca__apps { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; margin-top: 16px; }
.vt-app { margin: 0; display: grid; gap: 10px; min-width: 0; }
.vt-app figcaption { font-size: 13px; color: var(--muted); }
.vt-app--card { grid-column: span 4; } .vt-app--letter { grid-column: span 3; } .vt-app--post { grid-column: span 5; }
.vt-app--bag { grid-column: span 6; } .vt-app--tag { grid-column: span 6; }
.vt-app > div { border-radius: 22px; }
.vt-brandname { font-family: var(--bf); font-weight: var(--bw); text-transform: var(--bc); letter-spacing: var(--bt); font-size: clamp(22px, 2.2vw, 34px); line-height: 1; }
.vt-brandname--sm { font-size: clamp(14px, 1.2vw, 18px); }
.vt-mini-symbol { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.vt-app--card { perspective: 1200px; }
.vt-card { position: relative; aspect-ratio: 1.75; border-radius: 16px; transform-style: preserve-3d; transition: transform 900ms var(--ease-out); cursor: pointer; background: var(--bg-2); padding: 0; outline-offset: 6px; }
.vt-card:focus-visible, .vt-card.is-flipped { transform: rotateY(180deg); }
@media (hover: hover) and (pointer: fine) { .vt-app--card:hover .vt-card { transform: rotateY(180deg); } }
.vt-card__face { position: absolute; inset: 0; border-radius: 16px; backface-visibility: hidden; -webkit-backface-visibility: hidden; display: flex; box-shadow: 0 30px 60px -30px rgba(0,0,0,.9); transition: background-color 700ms var(--ease-in-out), color 700ms var(--ease-in-out); }
.vt-card__front { background: var(--b1); color: var(--b2); flex-direction: column; justify-content: center; align-items: center; gap: 12px; }
.vt-card__back { background: var(--b3); color: var(--b1); transform: rotateY(180deg); flex-direction: column; justify-content: space-between; padding: 18px 20px; }
.vt-card__info { font-size: 11px; line-height: 1.5; }
.vt-card__info small { opacity: .7; }
.vt-card__info--r { align-self: flex-end; text-align: right; }

.vt-letter { aspect-ratio: 1 / 1.3; padding: 18px; background: #f7f6f3; color: var(--b1); display: flex; flex-direction: column; box-shadow: 0 30px 60px -30px rgba(0,0,0,.9); border-radius: 6px !important; }
.vt-letter__top { display: flex; align-items: center; gap: 8px; padding-bottom: 12px; border-bottom: 2px solid var(--b4); }
.vt-letter__top .vt-mini-symbol { width: 24px; height: 24px; }
.vt-letter__lines { display: grid; gap: 7px; margin-top: 18px; }
.vt-letter__lines i { height: 4px; border-radius: 2px; background: #dcdad5; }
.vt-letter__lines i:nth-child(1) { width: 45%; } .vt-letter__lines i:nth-child(4) { width: 80%; } .vt-letter__lines i:nth-child(7) { width: 60%; }
.vt-letter__foot { margin-top: auto; font-size: 8px; color: #8a877f; }

.vt-post { position: relative; aspect-ratio: 4 / 4.2; overflow: hidden; background: var(--b1); }
.vt-post img { width: 100%; height: 100%; object-fit: cover; }
.vt-post__band { position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--b1); color: var(--b2); font-size: 13px; transition: background-color 700ms var(--ease-in-out), color 700ms var(--ease-in-out); }
.vt-post__band .vt-mini-symbol { width: 26px; height: 26px; }

.vt-bag { position: relative; display: grid; place-items: center; min-height: 300px; padding-top: 40px; background: var(--bg-2); border: 1px solid var(--line); }
.vt-bag__handle { position: absolute; top: 34px; left: 50%; width: 90px; height: 70px; translate: -50% 0; border: 7px solid var(--b4); border-bottom: 0; border-radius: 60px 60px 0 0; }
.vt-bag__body { position: relative; display: grid; place-items: center; align-content: center; gap: 12px; width: min(240px, 70%); aspect-ratio: 1 / 1.05; margin-top: 50px; border-radius: 6px 6px 10px 10px; background: var(--b2); color: var(--b1); box-shadow: 0 40px 60px -30px rgba(0,0,0,.9), inset 0 -18px 30px rgba(0,0,0,.08); transition: background-color 700ms var(--ease-in-out), color 700ms var(--ease-in-out); }
.vt-bag__body .vt-mini-symbol { width: 42px; height: 42px; }

.vt-tag { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 12px; min-height: 300px; background: var(--bg-2); border: 1px solid var(--line); }
.vt-tag::before { content: ""; position: absolute; left: 50%; top: 50%; width: min(180px, 46%); aspect-ratio: 1 / 1.6; translate: -50% -50%; rotate: -8deg; border-radius: 14px; background: var(--b3); box-shadow: 0 30px 50px -25px rgba(0,0,0,.9); transition: background-color 700ms var(--ease-in-out); }
.vt-tag > * { position: relative; z-index: 1; color: var(--b1); rotate: -8deg; transition: color 700ms var(--ease-in-out); }
.vt-tag__hole { width: 14px; height: 14px; border-radius: 50%; background: var(--bg-2); box-shadow: inset 0 0 0 2px var(--b4); margin-bottom: 14px; }
.vt-tag__line { max-width: 150px; text-align: center; font-size: 11px; opacity: .8; }

/* Rascunho ao manual */
.vt-marca__build { margin-top: clamp(64px, 8vw, 120px); }
.vt-marca__build-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.vt-marca__build-title { font: 600 clamp(26px, 3vw, 46px)/1 var(--display); text-transform: uppercase; letter-spacing: -.04em; }
.vt-marca__build-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; }
.vt-build { margin: 0; display: grid; gap: 10px; }
.vt-build figcaption { font-size: 13px; color: var(--muted); }
.vt-build > svg, .vt-build > div { aspect-ratio: 1; width: 100%; border-radius: 22px; background: var(--bg-2); border: 1px solid var(--line); }
.vt-build__guides { fill: none; stroke: var(--accent-text); stroke-width: .6; opacity: .7; }
.vt-build__symbol { color: var(--fg); fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.vt-build--versions > div { display: flex; align-items: center; justify-content: center; gap: 10px; aspect-ratio: auto; height: calc(50% - 5px); }
.vt-build--versions { grid-template-rows: 1fr 1fr auto; }
.vt-build__v--pos { background: var(--b3) !important; color: var(--b1); }
.vt-build__v--neg { background: var(--b1) !important; color: var(--b3); }
.vt-build__v, .vt-build__v--pos, .vt-build__v--neg { min-height: 120px; transition: background-color 700ms var(--ease-in-out), color 700ms var(--ease-in-out); }
.vt-build__space { position: relative; display: grid; place-items: center; }
.vt-build__box { display: grid; place-items: center; padding: 34px; outline: 1px dashed var(--accent-text); outline-offset: 0; color: var(--fg); }
.vt-build__box .vt-mini-symbol { width: 72px; height: 72px; }
.vt-build__x { position: absolute; font-size: 12px; color: var(--accent-text); font-style: italic; }
.vt-build__x--t { top: 22%; left: 50%; } .vt-build__x--b { bottom: 22%; left: 50%; } .vt-build__x--l { left: 22%; top: 48%; } .vt-build__x--r { right: 22%; top: 48%; }

@media (max-width: 1000px) {
	.vt-marca__head, .vt-marca__layout { grid-template-columns: 1fr; }
	.vt-marca__picker { flex-direction: row; overflow-x: auto; gap: 8px; border: 0; scrollbar-width: none; }
	.vt-marca__picker::-webkit-scrollbar { display: none; }
	.vt-marca__pick { flex: none; display: block; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; }
	.vt-marca__pick-num, .vt-marca__pick-niche { display: none; }
	.vt-marca__pick-name { font-size: 15px; }
	.vt-marca__pick.is-active { background: var(--fg); color: var(--bg); }
	.vt-marca__pick.is-active .vt-marca__pick-name { transform: none; }
	.vt-app--card, .vt-app--letter, .vt-app--post { grid-column: span 6; }
	.vt-app--post { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
	.vt-marca__specs, .vt-marca__build-grid { grid-template-columns: 1fr; }
	.vt-marca__apps { grid-template-columns: 1fr; }
	.vt-app--card, .vt-app--letter, .vt-app--post, .vt-app--bag, .vt-app--tag { grid-column: 1; }
	.vt-letter { max-width: 280px; }
}
@media (prefers-reduced-motion: reduce) {
	.vt-card, .vt-card__face, .vt-marca__hero, .vt-marca__chip, .vt-post__band, .vt-bag__body, .vt-tag::before, .vt-tag > * { transition: none; }
}
