/* PMS · página de vendas. Paleta tirada do logo: creme, vermelho, tinta. */
/* fontes locais (só latin: cobre o português) */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 800;
  font-stretch: 75% 90%; /* arquivo recortado: só peso 800 e largura 75–90% */
  font-display: swap;
  src: url(assets/fonts/bricolage-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(assets/fonts/geist-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --cream: #F2EDE4; --paper: #FBF8F2; --sand: #E7DFD2; --red: #E6332A; --red-ink: #C9261E; --ink: #121212; /* --red-ink: vermelho para fundo de texto pequeno (contraste 4,7:1 com o creme) */
  --display: 'Bricolage Grotesque', 'Arial Narrow', system-ui, sans-serif;
  --text: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-back: cubic-bezier(.34, 1.56, .64, 1);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font: 400 16px/1.45 var(--text); background: var(--cream); color: var(--ink); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; border: 0; background: none; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; border-radius: 12px; }

/* cabeçalho */
.hd { position: fixed; z-index: 50; inset: 0 0 auto; height: 72px; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; pointer-events: none; }
.hd > * { pointer-events: auto; }
.hd-logo { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 16px 0 10px; border-radius: 999px; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(8px); text-decoration: none; box-shadow: 0 1px 0 rgba(0,0,0,.04); }
.hd-mark { width: 40px; height: 26px; }
.hd-word { font: italic 800 24px/1 var(--text); letter-spacing: -.02em; }
.hd-sub { font: 500 11px/1 var(--text); letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
@media (max-width: 640px) { .hd-sub { display: none; } }

.pill-cta { position: relative; display: inline-flex; align-items: center; gap: 12px; height: 44px; padding: 4px 4px 4px 18px; border-radius: 999px; background: var(--ink); color: var(--cream); font: 600 14px/1 var(--text); text-decoration: none; overflow: hidden; isolation: isolate; }
.pill-cta::before { content: ''; position: absolute; z-index: -1; right: 4px; top: 4px; width: 36px; height: 36px; border-radius: 50%; background: var(--red); transform: scale(0); transition: transform 600ms var(--ease-out); }
.pill-dot { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--red); font-size: 12px; transition: background-color .3s; }
@media (hover: hover) { .pill-cta:hover::before { transform: scale(9); } .pill-cta:hover .pill-dot { background: var(--ink); } }

/* hero */
.hero { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 120px 20px 80px; overflow-x: clip; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 13px/1 var(--text); letter-spacing: .16em; text-transform: uppercase; animation: rise .8s var(--ease-out) both; }
.eyebrow .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(230,51,42,.5); animation: beat 1.6s infinite; }

.h-hero { position: relative; margin-top: 26px; font-family: var(--display); font-weight: 800; font-stretch: 75%; text-transform: uppercase; font-size: clamp(46px, 8.4vw, 118px); line-height: .86; letter-spacing: -.005em; max-width: 1100px; }
.h-hero .line { display: block; animation: slide .9s var(--ease-out) both; } /* sem opacity: o título já pinta no 1º quadro (LCP) */
.h-hero .line:nth-child(2) { animation-delay: .08s; }
.h-hero .line:nth-child(3) { animation-delay: .16s; }
.h-hero .line:nth-child(4) { animation-delay: .24s; }
.h-hero em { font-style: normal; color: var(--red); }
.h-hero .line--sm { margin-top: .32em; font-size: .42em; line-height: 1; font-stretch: 90%; }
.h-hero .line--sm::after { content: ''; display: block; width: min(100%, 11em); height: .14em; margin: .18em auto 0; background: var(--red); border-radius: 99px; transform-origin: left; animation: draw 1s .7s var(--ease-out) both; }

.tag { position: absolute; display: inline-flex; padding: 9px 16px 10px; border-radius: 999px; background: var(--ink); color: var(--cream); font: 600 clamp(12px, 1.1vw, 15px)/1 var(--text); text-transform: none; letter-spacing: 0; white-space: nowrap; transform: rotate(var(--r, 0deg)); animation: pop .55s var(--ease-back) both; }
.tag--accent { background: var(--red-ink); }
.tag--a { left: 2%; top: -14%; animation-delay: .5s; }
.tag--b { right: -2%; top: 48%; animation-delay: .62s; }
@media (max-width: 760px) { .tag--a { left: 2%; top: auto; bottom: -46px; } .tag--b { right: 2%; top: auto; bottom: -46px; } }

.lead { max-width: 640px; margin-top: 40px; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.4; animation: rise .9s .35s var(--ease-out) both; }
.lead b { font-weight: 600; }
@media (max-width: 760px) { .lead { margin-top: 64px; } }

.speed { position: absolute; width: clamp(140px, 22vw, 320px); opacity: .9; pointer-events: none; }
.speed path { fill: none; stroke: var(--red); stroke-width: 22; stroke-linecap: round; stroke-dasharray: 300; stroke-dashoffset: 300; animation: dash 1.4s .3s var(--ease-out) forwards; }
.speed--l { left: -4vw; top: 30%; }
.speed--r { right: -4vw; top: 62%; }
@media (max-width: 760px) { .speed { display: none; } }

/* vídeo blindado */
.vsl-wrap { position: relative; margin-top: 44px; width: min(380px, 88vw, max(240px, calc((100svh - 150px) * .5625))); animation: rise 1s .45s var(--ease-out) both; }
.vsl { position: relative; aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden; background: var(--ink) url('assets/poster.webp') center / cover; box-shadow: 0 0 0 6px var(--ink), 0 30px 60px -20px rgba(18,18,18,.55); user-select: none; -webkit-user-select: none; }
/* o iframe é mais alto que a moldura: a barra de título e a marca do YouTube ficam nas faixas cortadas */
.vsl-frame { position: absolute; left: 0; right: 0; top: -20%; height: 140%; pointer-events: none; }
.vsl-frame iframe, .vsl-frame #yt { width: 100%; height: 100%; border: 0; }
.vsl-shield { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.vsl-intro, .vsl-pause { grid-area: 1 / 1; display: grid; justify-items: center; gap: 16px; padding: 24px; transition: opacity .3s, transform .4s var(--ease-out); }
.vsl[data-state="intro"] .vsl-shield { background: radial-gradient(70% 50% at 50% 50%, rgba(18,18,18,.55), rgba(18,18,18,.15)); }
.vsl[data-state="paused"] .vsl-shield { background: rgba(18,18,18,.72); }
.vsl:not([data-state="intro"]) .vsl-intro, .vsl:not([data-state="paused"]) .vsl-pause { opacity: 0; transform: scale(.92); pointer-events: none; }
.vsl-play { position: relative; display: grid; place-items: center; width: 150px; height: 150px; border-radius: 50%; background: var(--cream); box-shadow: 0 14px 30px -8px rgba(0,0,0,.5); animation: bob 1.8s ease-in-out infinite; }
.vsl-play svg { width: 96px; height: 62px; margin-left: 6px; }
.vsl-play--sm { width: 110px; height: 110px; animation: none; }
.vsl-play--sm svg { width: 72px; height: 46px; }
.vsl-ring { position: absolute; inset: 0; border-radius: 50%; border: 3px solid var(--red); animation: ring 1.8s var(--ease-out) infinite; }
.vsl-ring--2 { animation-delay: .9s; }
.vsl-cta { padding: 12px 20px; border-radius: 999px; background: var(--red-ink); color: var(--cream); font: 800 22px/1 var(--display); font-stretch: 78%; text-transform: uppercase; letter-spacing: .01em; box-shadow: 0 8px 20px -6px rgba(230,51,42,.6); white-space: nowrap; }
@media (max-width: 480px) { .vsl-cta { font-size: 18px; padding: 10px 16px; } .vsl-play { width: 120px; height: 120px; } .vsl-play svg { width: 78px; height: 50px; } }
.vsl-muted { color: var(--cream); font: 500 13px/1 var(--text); opacity: .9; }
.vsl-tag { z-index: 3; animation-delay: 1s; }
/* etiqueta "feito com a skill", presa na borda de cima do vídeo, com a ponta para dentro */
.vsl-made { position: absolute; z-index: 4; left: 50%; top: -30px; translate: -50% 0; rotate: -4deg; display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 999px; background: var(--red-ink); color: var(--cream); font: 800 19px/1 var(--display); font-stretch: 78%; text-transform: uppercase; letter-spacing: .01em; white-space: nowrap; box-shadow: 0 8px 18px -6px rgba(230,51,42,.6); animation: made .6s .9s var(--ease-back) both; }
.vsl-made::after { content: ''; position: absolute; left: 50%; bottom: -9px; translate: -50% 0; border: 10px solid transparent; border-bottom: 0; border-top-color: var(--red-ink); }
.vsl-made > span { display: inline-block; animation: nudge 1.2s 1.6s ease-in-out infinite; }
@keyframes made { from { opacity: 0; transform: translateY(-14px) scale(.7); } }
@keyframes nudge { 50% { transform: translateY(3px); } }
.vsl-tag--l { left: -70px; top: 16%; }
.vsl-tag--r { right: -76px; top: 64%; }
@media (max-width: 640px) { .vsl-tag--l { left: -10px; top: 22%; } .vsl-tag--r { right: -10px; top: auto; bottom: -18px; } }

/* botão charge */
.charge { position: relative; width: min(860px, 100vw); height: 250px; margin-top: 20px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent), linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent), linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent); mask-composite: intersect; }
.charge canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.charge-fg { z-index: 3; }
.charge-btn { --mx: 50%; --my: 30%; --c: 0; position: absolute; z-index: 2; left: 50%; top: 50%; translate: -50% -50%; display: flex; align-items: center; justify-content: center; gap: 12px;
  width: min(600px, calc(100vw - 40px)); height: 80px; padding: 0 28px; border-radius: 40px; color: #fff; text-decoration: none; overflow: hidden;
  font: 700 clamp(14px, 3.7vw, 19px)/1 var(--text); letter-spacing: .04em; text-transform: uppercase; white-space: nowrap;
  background: radial-gradient(220px 110px at var(--mx) var(--my), rgba(255,255,255, calc(.08 + .12 * var(--c))), transparent 70%), linear-gradient(180deg, #1d1d20 0%, #111 52%, #0b0b0c 100%);
  box-shadow: 0 1px 2px rgba(20,20,30,.08), 0 14px 26px -10px rgba(20,20,30,.45), inset 0 1px 0 rgba(255,255,255,.14), inset 0 -3px 12px rgba(230,51,42, calc(.1 + .25 * var(--c))), inset 0 0 0 1px rgba(255,255,255,.06); }
.charge-ico { width: 22px; height: 22px; flex: none; transition: transform .4s var(--ease-out); }
.charge-lbl { position: relative; z-index: 1; }
.micro { margin-top: -18px; font: 500 15px/1.3 var(--text); opacity: .8; }

/* faixa */
.ribbon { position: relative; margin: 10px -6vw 0; padding: 18px 0; background: var(--red); color: var(--cream); transform: rotate(-2.5deg); overflow: hidden; }
.ribbon-track { display: flex; width: max-content; animation: marquee 28s linear infinite; }
.ribbon-track span { padding-right: .4em; font: 800 clamp(28px, 4vw, 54px)/1 var(--display); font-stretch: 75%; text-transform: uppercase; white-space: nowrap; }

/* rodapé */
.foot { margin-top: 90px; padding: 40px 20px 0; background: var(--red-ink); color: var(--cream); overflow: hidden; }
.foot-legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font: 500 13px/1.3 var(--text); }
.foot-brand { font: italic 800 34vw/.74 var(--text); letter-spacing: -.04em; text-align: center; margin-top: 20px; transform: translateY(8%); }

@keyframes slide { from { transform: translateY(24px); } }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
@keyframes pop { from { opacity: 0; transform: rotate(calc(var(--r) - 14deg)) scale(.5); } }
@keyframes draw { from { transform: scaleX(0); } }
@keyframes dash { to { stroke-dashoffset: 0; } }
@keyframes beat { 70% { box-shadow: 0 0 0 10px rgba(230,51,42,0); } 100% { box-shadow: 0 0 0 0 rgba(230,51,42,0); } }
@keyframes bob { 50% { transform: translateY(-6px) scale(1.03); } }
@keyframes ring { from { transform: scale(1); opacity: .9; } to { transform: scale(1.55); opacity: 0; } }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- celular: vídeo perto da dobra, CTA em 2 linhas, alvos de toque grandes ---------- */
.charge-btn { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
@media (max-width: 600px) {
  .hd { height: 60px; padding: 0 12px; }
  .hd-logo { height: 40px; padding: 0 12px 0 8px; gap: 8px; }
  .hd-mark { width: 34px; height: 22px; }
  .hd-word { font-size: 21px; }
  .pill-cta { height: 40px; padding-left: 14px; gap: 8px; font-size: 13px; }
  .pill-dot { width: 32px; height: 32px; }
  .hero { padding: 80px 16px 56px; }
  .eyebrow { display: none; }
  .h-hero { margin-top: 0; font-size: clamp(36px, 11.2vw, 56px); line-height: .88; }
  .h-hero .line--sm { font-size: .5em; }
  .h-hero > .tag { display: none; }
  .lead { margin-top: 16px; font-size: 16px; }
  .vsl-wrap { margin-top: 42px; }
  .vsl-made { font-size: 17px; padding: 10px 16px; top: -28px; }
  .vsl { border-radius: 18px; box-shadow: 0 0 0 5px var(--ink), 0 24px 40px -18px rgba(18,18,18,.5); }
  .vsl-tag { font-size: 12px; padding: 8px 12px; }
  .charge { height: 200px; margin-top: 12px; }
  .charge-btn { height: auto; min-height: 72px; padding: 14px 22px; gap: 10px; border-radius: 36px; white-space: normal; text-align: center; font-size: 16px; line-height: 1.2; letter-spacing: .02em; }
  .charge-lbl { text-wrap: balance; }
  .charge-ico { width: 20px; height: 20px; }
  .micro { margin-top: -14px; font-size: 14px; }
  .ribbon { padding: 14px 0; }
  .foot { margin-top: 64px; padding-top: 28px; }
  .foot-legal { justify-content: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
