/* Atalhos Marçon v2 — base: Kit Página no Ar (creative-pastel + arco-de-imagens + cortina-show), media kit Marçon.
   Sem a classe .fx (JS/GSAP ausente ou movimento reduzido) tudo é estático e usável. */
@font-face {
  font-family: "Red Hat Display";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("../fonts/redhat.woff2") format("woff2");
}

:root {
  --creme: #FEEBD7;
  --creme-2: #F7DFC6;
  --vinho: #7F3F3F;
  --vinho-profundo: #5E2B2B;
  --tinta: #2E1F1F;
  --muted: rgba(46, 31, 31, 0.7);
  --line: rgba(127, 63, 63, 0.22);
  --side: clamp(20px, 5vw, 64px);
  --max: 1240px;
  --ease: cubic-bezier(.76, 0, .24, 1);
  --ease-out: cubic-bezier(.165, .84, .44, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html {
  font: 18px/1.4 "Red Hat Display", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-text-size-adjust: 100%;
  background: var(--creme);
  overflow-x: hidden; overflow-x: clip;
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; min-height: 100vh;
  background: var(--creme); color: var(--tinta);
  font-weight: 450; -webkit-font-smoothing: antialiased;
  overflow-x: hidden; overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p, h1, h2, ul { margin: 0; }
ul { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--vinho); outline-offset: 4px; }
.container {
  width: 100%; max-width: var(--max); margin: 0 auto;
  padding-left: calc(var(--side) + env(safe-area-inset-left));
  padding-right: calc(var(--side) + env(safe-area-inset-right));
}
.eyebrow {
  font-size: .66rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--vinho);
}

/* Botões */
.btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 26px;
  border-radius: 999px; font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  transition: transform .4s var(--ease-out), background-color .4s var(--ease-out);
}
.btn span { transition: transform .4s var(--ease-out); }
.btn:hover span { transform: translateX(4px); }
.btn:active { transform: scale(.97); }
.btn-light { background: var(--creme); color: var(--vinho); }
.btn-dark { background: var(--vinho); color: var(--creme); }

/* Entrada */
.loader { display: none; }
.fx .loader {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; align-content: center; gap: 22px;
  background: var(--creme);
}
.loader-logo {
  width: 150px; aspect-ratio: 2400 / 1554; background: var(--vinho);
  -webkit-mask: url("../images/logo.svg") center / contain no-repeat; mask: url("../images/logo.svg") center / contain no-repeat;
}
.loader-count { font-size: .7rem; font-weight: 800; letter-spacing: .2em; color: var(--vinho); font-variant-numeric: tabular-nums; }

/* Grão e progresso */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--vinho); transform: scaleX(0); transform-origin: left; }

/* Topo */
.topbar {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: calc(14px + env(safe-area-inset-top)) var(--side) 14px;
  pointer-events: none;
}
.topbar > * { pointer-events: auto; }
.logo {
  width: 104px; aspect-ratio: 2400 / 1554; background: var(--vinho);
  -webkit-mask: url("../images/logo.svg") center / contain no-repeat; mask: url("../images/logo.svg") center / contain no-repeat;
  transition: background-color .5s var(--ease-out);
}
.top-cta {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 999px;
  background: var(--vinho); color: var(--creme);
  font-size: .62rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  transition: background-color .5s var(--ease-out), color .5s var(--ease-out);
}
.topbar::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: rgba(254, 235, 215, .88); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line); transition: opacity .4s var(--ease-out), background-color .4s;
}
.topbar { isolation: isolate; }
.topbar.is-solid::before { opacity: 1; }
body.on-dark .topbar::before { background: rgba(127, 63, 63, .9); border-bottom-color: rgba(254,235,215,.14); }
body.on-dark .logo { background: var(--creme); }
body.on-dark .top-cta { background: var(--creme); color: var(--vinho); }

/* 1. Abertura: a embalagem ocupa a tela inteira; título e texto final ficam fora da área da sacola
   (o embalagem.js reserva esse espaço ao enquadrar cada quadro). Em pé = celular; deitado = desktop. */
.intro { position: relative; }
.intro-stage { position: relative; min-height: 100svh; overflow: hidden; }
.intro-photo { position: absolute; inset: 0; background: #E5D8C6; }
.intro-poster, .intro-poster img { display: block; width: 100%; height: 100%; }
.intro-poster img { object-fit: cover; object-position: 50% 52%; }
.intro-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .35s var(--ease-out); }
.intro-canvas.is-ready { opacity: 1; }
.intro-veil { display: none; }

.intro-head {
  position: absolute; z-index: 3; left: 0; right: 0; pointer-events: none;
  top: calc(84px + env(safe-area-inset-top));
  padding: 0 calc(var(--side) + env(safe-area-inset-left));
}
.intro-kicker { font-size: .64rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--vinho-profundo); margin-bottom: 12px; }
.intro-title {
  margin: 0; font-weight: 800; text-transform: uppercase; color: var(--vinho);
  font-size: clamp(3rem, 15vw, 6.6rem); line-height: .86; letter-spacing: -.045em;
}
.intro-title .w { display: block; will-change: transform; }

.intro-over {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  display: grid; gap: 16px; justify-items: start;
  padding: 0 calc(var(--side) + env(safe-area-inset-left)) calc(56px + env(safe-area-inset-bottom));
  color: var(--vinho); opacity: 0; pointer-events: none;
}
.intro-over.is-on { pointer-events: auto; }
.intro-over-kicker { font-size: .64rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--vinho-profundo); }
.intro-over-title { font-size: clamp(2.6rem, 10vw, 6rem); font-weight: 800; line-height: .92; letter-spacing: -.035em; }

.intro-hint {
  position: absolute; bottom: calc(14px + env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); z-index: 3;
  display: grid; justify-items: center; gap: 8px; min-height: 48px;
  font-size: .6rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--vinho);
}
.intro-hint i { display: block; width: 1px; height: 24px; background: currentColor; transform-origin: top; animation: hint 1.8s var(--ease) infinite; }
@keyframes hint { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(0); transform-origin: bottom; } }

@media (min-aspect-ratio: 6/5) {
  .intro-head { top: 50%; right: auto; width: min(46vw, 640px); transform: translateY(-50%); }
  .intro-title { font-size: clamp(3.6rem, 8.2vw, 9rem); }
  .intro-over { top: 0; bottom: 0; right: auto; width: min(46vw, 640px); align-content: center; padding-top: 72px; padding-bottom: 0; }
}

.fx .intro { height: 420svh; }
.fx .intro-stage { position: sticky; top: 0; height: 100svh; }

/* Sem efeitos (movimento reduzido ou GSAP fora): título, pôster da embalagem e texto em sequência, tudo clicável */
html:not(.fx) .intro-stage { padding: 112px var(--side) 48px; }
html:not(.fx) .intro-head, html:not(.fx) .intro-photo, html:not(.fx) .intro-over { position: static; transform: none; width: auto; padding: 0; }
html:not(.fx) .intro-photo { margin: 28px 0; border-radius: 14px; overflow: hidden; }
html:not(.fx) .intro-poster, html:not(.fx) .intro-poster img { height: auto; }
html:not(.fx) .intro-canvas, html:not(.fx) .intro-hint { display: none; }
html:not(.fx) .intro-over { opacity: 1; pointer-events: auto; }

/* 2. Faixas */
.band { background: var(--vinho); color: var(--creme); padding: 26px 0; overflow: hidden; display: grid; gap: 4px; }
.band-row { display: flex; white-space: nowrap; width: max-content; will-change: transform; }
.band-row span { font-size: clamp(1.6rem, 6vw, 3.6rem); font-weight: 800; letter-spacing: -.02em; text-transform: uppercase; line-height: 1.05; padding-right: .3em; }
.band-row-outline span { color: transparent; -webkit-text-stroke: 1px var(--creme); }
html:not(.fx) .band-row { animation: marquee 30s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* 3. Atalhos */
.links { position: relative; padding: 96px 0 110px; }
.links-head { display: grid; gap: 14px; margin-bottom: 40px; }
.links-title { font-size: clamp(2.2rem, 8.4vw, 4.6rem); font-weight: 800; line-height: .95; letter-spacing: -.035em; color: var(--vinho); }
.links-list { border-top: 1px solid var(--line); }
.row {
  position: relative; display: grid; align-items: center;
  grid-template-columns: 34px minmax(0, 1fr) 64px 20px; gap: 14px;
  min-height: 96px; padding: 16px 4px; border-bottom: 1px solid var(--line);
  isolation: isolate;
}
.row::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--vinho);
  transform: scaleY(0); transform-origin: bottom; transition: transform .55s var(--ease);
}
.row-idx { font-size: .62rem; font-weight: 800; letter-spacing: .12em; color: var(--vinho); align-self: start; padding-top: 6px; transition: color .4s; }
.row-main { display: grid; gap: 5px; min-width: 0; }
.row-title { font-size: clamp(1.45rem, 6.4vw, 2.6rem); font-weight: 800; line-height: .95; letter-spacing: -.03em; text-transform: uppercase; color: var(--vinho); transition: color .4s, transform .55s var(--ease); }
.row-text { font-size: .76rem; line-height: 1.35; color: var(--muted); transition: color .4s; }
.row-thumb { width: 64px; aspect-ratio: 1; overflow: hidden; border-radius: 6px; background: var(--creme-2); }
.row-thumb img { width: 100%; height: 100%; object-fit: cover; }
.row-thumb-icon { display: grid; place-items: center; color: var(--vinho); }
.row-arrow { font-size: 1.1rem; color: var(--vinho); transition: transform .5s var(--ease), color .4s; }
@media (hover: hover) {
  .row:hover::before { transform: scaleY(1); }
  .row:hover .row-title { color: var(--creme); transform: translateX(10px); }
  .row:hover .row-idx, .row:hover .row-arrow { color: var(--creme); }
  .row:hover .row-text { color: rgba(254,235,215,.85); }
  .row:hover .row-arrow { transform: translateX(6px) rotate(-45deg); }
}
.row:active::before { transform: scaleY(1); }
.row:active .row-title, .row:active .row-idx, .row:active .row-arrow { color: var(--creme); }
.row:active .row-text { color: rgba(254,235,215,.85); }

.row-featured { background: var(--vinho); padding-left: 14px; padding-right: 14px; border-bottom-color: transparent; margin-bottom: 8px; border-radius: 4px; }
.row-featured .row-title, .row-featured .row-idx, .row-featured .row-arrow { color: var(--creme); }
.row-featured .row-text { color: rgba(254,235,215,.82); }
.row-featured::before { background: var(--vinho-profundo); }

.cursor-preview {
  position: fixed; left: 0; top: 0; z-index: 40; width: 240px; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 10px;
  pointer-events: none; opacity: 0;
  transition: opacity .35s var(--ease-out);
  box-shadow: 0 30px 60px -20px rgba(46,31,31,.45);
}
.cursor-preview img { width: 100%; height: 100%; object-fit: cover; }
.cursor-preview.is-on { opacity: 1; }
@media (hover: none), (max-width: 1023px) { .cursor-preview { display: none; } }

/* 4. Arco */
.arc { background: var(--vinho); color: var(--creme); position: relative; }
.arc-stage { position: relative; overflow: hidden; padding: 96px 0 72px; }
.arc .eyebrow { color: var(--creme); opacity: .8; }
.arc-head { display: grid; gap: 14px; position: relative; z-index: 2; }
.arc-title { font-size: clamp(2.2rem, 8.4vw, 4.6rem); font-weight: 800; line-height: .95; letter-spacing: -.035em; }
.arc-ring {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 36px var(--side) 12px; scrollbar-width: none;
}
.arc-ring::-webkit-scrollbar { display: none; }
.arc-card { flex: 0 0 auto; scroll-snap-align: center; width: clamp(200px, 62vw, 300px); }
.arc-card a {
  position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 14px; background: var(--vinho-profundo);
  box-shadow: 0 26px 50px -24px rgba(0,0,0,.55);
}
.arc-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.arc-card a:hover img { transform: scale(1.06); }
.arc-card a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(46,31,31,.82)); }
.arc-info { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1; display: grid; gap: 3px; }
.arc-name { font-size: 1.3rem; font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.arc-det { font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .85; }
.arc-price { margin-top: 6px; font-size: .78rem; font-weight: 800; }
.arc-all {
  display: flex; justify-content: center; align-items: center; gap: 8px; min-height: 48px; margin-top: 22px; position: relative; z-index: 2;
  font-size: .7rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
}
.fx .arc { height: 340svh; }
.fx .arc-stage { position: sticky; top: 0; height: 100svh; padding: 0; display: grid; grid-template-rows: auto 1fr auto; }
.fx .arc-head { padding-top: calc(96px + env(safe-area-inset-top)); text-align: center; justify-items: center; }
.fx .arc-ring { position: relative; display: block; overflow: visible; padding: 0; }
.fx .arc-card { position: absolute; left: 50%; top: 0; width: clamp(180px, 46vw, 290px); will-change: transform; }
.fx .arc-all { margin: 0 0 calc(28px + env(safe-area-inset-bottom)); }

/* 5. Manifesto */
.manifesto { padding-top: 120px; padding-bottom: 130px; display: grid; gap: 40px; justify-items: start; }
.manifesto-text { font-size: clamp(1.9rem, 6.6vw, 4rem); font-weight: 800; line-height: 1.04; letter-spacing: -.03em; color: var(--vinho); max-width: 22ch; }
.manifesto-text .wd { opacity: .14; transition: opacity .2s linear; }
html:not(.fx) .manifesto-text .wd { opacity: 1; }

/* Rodapé */
.footer { background: var(--vinho); color: var(--creme); padding: 72px 0 calc(40px + env(safe-area-inset-bottom)); overflow: hidden; }
.footer .eyebrow { color: var(--creme); opacity: .75; margin-bottom: 10px; }
.footer-grid { display: grid; gap: 36px; }
.footer-big { display: inline-block; font-size: clamp(1.15rem, 4.6vw, 1.8rem); font-weight: 700; line-height: 1.2; letter-spacing: -.01em; border-bottom: 1px solid rgba(254,235,215,.35); padding-bottom: 4px; }
.footer-mark {
  width: min(92vw, 1100px); margin: 64px auto 24px; aspect-ratio: 2400 / 1554; background: var(--creme);
  -webkit-mask: url("../images/logo.svg") center / contain no-repeat; mask: url("../images/logo.svg") center / contain no-repeat;
}
.footer-copy { font-size: .62rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .7; text-align: center; }

@media (min-width: 768px) {
  .logo { width: 128px; }
  .row { grid-template-columns: 56px minmax(0, 1fr) 88px 28px; gap: 24px; min-height: 124px; padding: 22px 8px; }
  .row-featured { padding-left: 22px; padding-right: 22px; }
  .row-thumb { width: 88px; }
  .row-text { font-size: .82rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .fx .arc-card { width: clamp(220px, 22vw, 300px); }
  .fx .arc-all { margin-bottom: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}



/* Crédito Kyn (snippet oficial kyn-marketing-styleguide), discreto no fim do rodapé */
.footer-credit { display: flex; justify-content: center; margin-top: 18px; }
.kyn-credito {
  display: inline-flex; align-items: center; gap: .5em; min-height: 32px;
  font-size: .62rem; letter-spacing: .02em; color: inherit; text-decoration: none;
  opacity: .45; transition: opacity .25s ease;
}
.kyn-credito:hover, .kyn-credito:focus-visible { opacity: 1; }
.kyn-credito svg { display: block; flex: none; }




/* Grupo VIP: selo discreto ao lado do título */
.row-badge {
  display: inline-block; vertical-align: middle; margin-left: .5em; padding: .32em .7em .3em; border-radius: 999px;
  font-style: normal; font-size: .52rem; font-weight: 800; letter-spacing: .14em; line-height: 1;
  background: var(--vinho); color: var(--creme); transform: translateY(-.2em); transition: background-color .4s, color .4s;
}
@media (hover: hover) { .row:hover .row-badge { background: var(--creme); color: var(--vinho); } }
.row:active .row-badge { background: var(--creme); color: var(--vinho); }
