/* Kit Página no Ar sections, restyled with the page tokens (ink, paper, violet --gold, Barlow/Manrope).
   Everything is scoped under .kx-arc so nothing leaks into the rest of the page. */

/* Entrance: only hidden when JS runs and motion is allowed */
.js .kx-reveal { opacity: 0; transform: translateY(36px); transition: opacity 1s cubic-bezier(.16, 1, .3, 1) var(--kx-delay, 0ms), transform 1s cubic-bezier(.16, 1, .3, 1) var(--kx-delay, 0ms); }
.js .kx-reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Carine em campo (from "Arco de Imagens") ---------- */
.kx-arc { --kx-card: 19rem; --kx-step: 14deg; --kx-radius: 82em;
  position: relative; height: 100svh; min-height: 640px; overflow: hidden; isolation: isolate; background: var(--paper); color: var(--ink); }
.kx-arc::after { content: ''; position: absolute; z-index: 1; inset: auto 0 0; height: 5rem; pointer-events: none; background: linear-gradient(transparent, var(--paper)); }
.kx-arc__cluster { display: flex; flex-direction: column; gap: 2rem; height: 100%; padding: 72px 0 4rem; }
.kx-arc__copy h2 { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(40px, 6vw, 84px); line-height: .9; margin: 10px 0 14px; }
.kx-arc__copy h2 span { color: var(--gold-dark); }
.kx-arc__copy p:not(.eyebrow) { color: var(--muted); font-size: 15px; max-width: 46ch; }
.kx-arc__collection { position: relative; z-index: 0; flex: 1 1 auto; min-height: 0; display: grid; place-items: center; }
.kx-arc__ring { list-style: none; margin: 0; padding: 0; display: grid; width: var(--kx-card); transform-origin: 50% var(--kx-radius); will-change: transform; }
.kx-arc__card { position: relative; grid-area: 1 / 1; display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 1; width: var(--kx-card);
  overflow: hidden; border-radius: 16px; transform: rotate(calc(var(--kx-step) * (var(--kx-index) - 1))); transform-origin: 50% var(--kx-radius);
  box-shadow: 0 24px 50px -24px rgba(11,7,17, .55); }
.kx-arc__card::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(11,7,17, .05) 30%, rgba(11,7,17, .45) 60%, rgba(30, 12, 60, .9) 100%); }
.kx-arc__card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; pointer-events: none; }
.kx-arc__card h3 { position: relative; z-index: 2; margin: 0; padding: 1.4rem; font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: 1.6rem; line-height: .95; color: #f1ecf9; }
@media (min-width: 48rem) { .kx-arc { --kx-radius: 90em; } .kx-arc__card h3 { font-size: 1.9rem; } }
@media (min-width: 64rem) { .kx-arc { --kx-card: 26rem; --kx-step: 22deg; } .kx-arc__cluster { padding-top: 90px; } .kx-arc__card h3 { font-size: 2.4rem; } }

/* Static grid without GSAP, with reduced motion or when the visitor pauses animations */
.kx-arc.is-static { height: auto; min-height: 0; overflow: visible; }
.kx-arc.is-static::after { display: none; }
.kx-arc.is-static .kx-arc__cluster { padding-block: 80px; }
.kx-arc.is-static .kx-arc__ring { width: min(100% - 2 * var(--gutter, 20px), 1200px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 14px; transform: none !important; }
.kx-arc.is-static .kx-arc__card { grid-area: auto; width: 100%; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .kx-reveal { opacity: 1; transform: none; transition: none; }
}
.kx-arc__card:nth-child(3) img { object-position: 50% 62%; }

/* ---------- Emotional statement over a violet glass loop (from "Purple Glass") ---------- */
.kx-glass { position: relative; overflow: hidden; isolation: isolate; background: #07060c; }
.kx-glass__video { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.kx-glass__shade { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(70% 70% at 50% 50%, rgba(7, 6, 12, .62), rgba(7, 6, 12, .35) 70%), linear-gradient(180deg, rgba(7, 6, 12, .55), transparent 25%, transparent 75%, rgba(7, 6, 12, .6)); }
.kx-glass h2 { text-shadow: 0 4px 30px rgba(7, 6, 12, .6); }
.kx-glass p { color: #d9d3ea; }
@media (min-width: 900px) { .kx-glass { padding-block: 150px; } }

/* ---------- Offer: crossing ribbons behind the price card (from "Preço Creative") ---------- */
.offer { overflow-x: clip; }
.kx-offer-stage { position: relative; isolation: isolate; }
.kx-ribbons { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.kx-ribbon { position: absolute; top: 46%; left: 50%; width: 170vw; height: 40px; display: flex; align-items: center; overflow: hidden; white-space: nowrap; user-select: none; box-shadow: 0 6px 18px rgba(11,7,17, .14); }
.kx-ribbon--violet { background: var(--violet-button, #7c3aed); color: #fff; transform: translate(-50%, -50%) rotate(6.5deg); z-index: 2; border-block: 1px solid rgba(255, 255, 255, .25); }
.kx-ribbon--ink { background: #110c1a; color: #ebe4f7; transform: translate(-50%, -50%) rotate(-6.5deg); z-index: 1; border-block: 1px solid rgba(255, 255, 255, .12); }
.kx-ribbon__track { display: flex; align-items: center; gap: 26px; font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: .06em; text-transform: uppercase; will-change: transform; animation: kx-marquee 34s linear infinite; }
.kx-ribbon--ink .kx-ribbon__track { animation-duration: 30s; animation-direction: reverse; }
.kx-ribbon__track span { display: inline-flex; align-items: center; gap: 26px; }
.kx-ribbon__track span::after { content: '•'; font-size: 11px; opacity: .6; }
@keyframes kx-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.kx-offer-stage .offer-card { transition: transform .35s cubic-bezier(.2, 0, .2, 1), box-shadow .35s; }
@media (max-width: 640px) { .kx-ribbon { height: 34px; width: 190vw; } .kx-ribbon__track { font-size: 14px; gap: 16px; } .kx-ribbon__track span { gap: 16px; } }
@media (prefers-reduced-motion: reduce) { .kx-ribbon__track { animation: none; } .kx-glass__video { display: none; } .kx-glass { background: #07060c url("images/purple-glass-poster.webp") center / cover; } }
/* The ribbons cross as a band above the offer, clear of the copy and the card. */
.kx-ribbon-band { position: relative; height: 150px; margin: -55px 0 40px; overflow: hidden; pointer-events: none; }
.kx-ribbon-band .kx-ribbon { top: 50%; }
@media (min-width: 900px) { .kx-ribbon-band { height: 190px; margin: -70px 0 50px; } }
