/* Bacon & Caos — home */

/* =========================================================
   HERO — a caixa da boneca
   ========================================================= */
.hero { position: relative; background: var(--chiclete); overflow: clip; }
/* the seam: the hero's foot melts into the cotton-candy of the next section, so where the tapes' X opens up
   there's a soft gradient instead of a hard cut. Lives in the pin (which gets its own layer while pinned) over
   the glitter but under the copy (z 3), so the buttons stay crisp; full-bleed like the glitter */
.hero__pin::after {
  content: ""; position: absolute; z-index: 1; bottom: 0; left: 0; right: 0;
  height: clamp(140px, 14vw, 220px);
  pointer-events: none;
  background: linear-gradient(to bottom,
    rgba(255, 230, 243, 0) 0%,
    rgba(255, 230, 243, .2) 30%,
    rgba(255, 230, 243, .55) 60%,
    rgba(255, 230, 243, .88) 85%,
    var(--algodao) 100%);
}
/* the glitter canvas: fills the pin (always full width, see below), travels with it, never takes the
   pointer. Its CSS background is the satin pink (soft highlights, deeper rose at the edges) under the facets;
   it lives here, not on .hero, because the pin spacer makes .hero ~2.75 screens tall.
   No 50%-50vw trick: it slid left whenever the pin was narrower than the window, leaving a bare strip */
.hero__glitter {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  background:
    radial-gradient(60% 55% at 72% 22%, rgba(255, 238, 247, .75), rgba(255, 238, 247, 0) 70%),
    radial-gradient(55% 60% at 8% 92%, rgba(255, 120, 190, .38), rgba(255, 120, 190, 0) 70%),
    radial-gradient(45% 50% at 100% 100%, rgba(255, 140, 200, .3), rgba(255, 140, 200, 0) 70%),
    linear-gradient(160deg, #FFC4E2, var(--chiclete) 48%, #FFA9D4);
}
.hero__pin {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  align-items: center;
  gap: clamp(24px, 4vw, 72px);
  /* full width + centring by padding (not max-width + margin:auto): GSAP's pin-spacer zeroes the auto margins,
     which left the pinned hero glued to the left on wide/zoomed-out screens with a bare strip on the right */
  --cap: 1680px;
  padding: clamp(84px, 13svh, 112px) max(var(--gutter), calc((100% - var(--cap)) / 2 + var(--gutter))) clamp(28px, 6svh, 56px);
}
/* GSAP freezes a pinned section (and its spacer) at the px width of its last measurement. When the window
   width changes without a re-measure (zoom, Opera's sidebar, the window settling after load) the section was
   left narrower than the screen: content pushed left, bare strip on the right. Width always follows the
   window here; the inline px only wins for height. (core.js also re-measures on any width change.) */
.hero > .pin-spacer, .hero__pin,
.select > .pin-spacer, .select__pin { width: 100% !important; max-width: none !important; }
.hero__pin[style*="fixed"], .select__pin[style*="fixed"] { left: 0 !important; }
.hero__copy { position: relative; z-index: 3; max-width: 38rem; }
.hero__handle {
  display: inline-block;
  margin-bottom: 1.4rem; padding: .4em .9em;
  background: var(--branco); border: 2px solid var(--preto); border-radius: 999px;
  font-weight: 750; font-size: var(--t-s); line-height: 1;
  rotate: -3deg;
}
/* title: three voices. sassy retro script, then a dripping horror 'normal.' on a sticker */
.hero__title {
  display: flex; flex-direction: column; align-items: flex-start;
  gap: .1em;
  margin-bottom: 1.7rem;
  line-height: 1;
}
.ht { display: inline-block; }
.ht--uma, .ht--comp {
  font-family: 'Shrikhand', var(--f-sans);
  font-weight: 400;
  -webkit-text-stroke: .06em var(--preto);
  paint-order: stroke fill;
  letter-spacing: .005em;
}
.ht--uma {
  font-size: clamp(2.4rem, min(5.3vw, 9svh), 5.8rem);
  color: var(--batom);
  text-shadow: .07em .07em 0 var(--preto);
  rotate: -3deg;
}
.ht--comp {
  font-size: clamp(2rem, min(4.4vw, 7.4svh), 4.9rem);
  color: var(--branco);
  text-shadow: .07em .07em 0 var(--batom), .1em .1em 0 var(--preto);
  margin-left: .25em;
  rotate: 1deg;
}
.ht--normal { position: relative; display: flex; align-items: center; gap: .2em; margin-top: .12em; }
.ht__chip {
  display: inline-block;
  padding: .04em .22em .2em;
  font: 400 clamp(2.8rem, min(6.6vw, 11svh), 7.2rem)/1 'Rubik Wet Paint', var(--f-sans);
  color: var(--neon);
  background: var(--preto);
  border-radius: 16px;
  box-shadow: 7px 7px 0 var(--batom);
  rotate: -2deg;
}
/* the horror 'normal.' never sits still: a constant glitch, a harder one on hover */
.ht__chip { animation: glitch .9s steps(2) infinite; }
.ht__chip:hover { animation-duration: .45s; }
@keyframes glitch {
  0% { text-shadow: 3px 0 var(--batom), -3px 0 var(--branco); translate: 0 0; }
  50% { text-shadow: -4px 1px var(--batom), 3px -1px var(--branco); translate: 2px -1px; }
  100% { text-shadow: 2px -2px var(--batom), -2px 2px var(--branco); translate: -1px 1px; }
}
.ht__note {
  display: inline-flex; align-items: flex-end; gap: .15em;
  font: 400 clamp(1.1rem, 1.6vw, 1.6rem)/1 'Permanent Marker', var(--f-sans);
  color: var(--vinho);
  rotate: -8deg;
  translate: 0 -.4em;
  white-space: nowrap;
}
.ht__note svg { width: 1.9em; height: 1.3em; fill: none; stroke: currentColor; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }

/* marker highlights inside running text */
.hl {
  color: inherit;
  padding: 0 .12em;
  margin: 0 -.04em;
  border-radius: .2em;
  background-repeat: no-repeat;
  background-size: var(--hl, 100%) 100%;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  font-weight: 700;
}
.hl--neon { background-image: linear-gradient(100deg, rgba(77, 243, 255, .9), var(--neon)); }
.hl--pink { background-image: linear-gradient(100deg, rgba(255, 46, 147, .85), var(--batom)); }
.hl--white { background-image: linear-gradient(var(--branco), var(--branco)); }
.hero__lead { font-size: var(--t-lead); line-height: 1.45; max-width: 31rem; margin-bottom: 2.1rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* the box */
.box {
  position: relative; z-index: 2;
  justify-self: center;
  width: min(100%, calc((100svh - 170px) * .8), 600px);
  aspect-ratio: .8;
  perspective: 1400px;
  container-type: inline-size;
}
.box__tilt { position: absolute; inset: 0; transform-style: preserve-3d; will-change: transform; }
.box__body {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  padding: 7% 8.5% 25%;
  background:
    radial-gradient(circle at 12% 88%, rgba(255, 255, 255, .22) 0 2px, transparent 3px) 0 0 / 22px 22px,
    var(--batom);
  border: var(--line) solid var(--preto);
  border-radius: 26px;
  box-shadow: 14px 14px 0 var(--preto);
}
.box__body::before {
  content: ''; position: absolute; inset: 10px;
  border: 2px solid rgba(255, 255, 255, .75); border-radius: 18px;
  pointer-events: none;
}
.box__edition {
  position: absolute; left: 3.1%; top: 50%;
  writing-mode: vertical-rl; transform: translateY(-50%) rotate(180deg);
  font-weight: 800; font-size: 2.3cqw; letter-spacing: .06em;
  color: var(--branco); white-space: nowrap;
}
.box__window {
  position: relative; flex: 1;
  border: var(--line) solid var(--preto);
  border-radius: 50% 50% 16px 16px / 38% 38% 16px 16px;
  overflow: hidden;
  isolation: isolate;
  container-type: inline-size;
  background: radial-gradient(120% 90% at 50% 18%, var(--branco) 0%, var(--algodao) 38%, var(--chiclete) 100%);
}
.box__backdrop { position: absolute; inset: 0; }
.box__word {
  position: absolute; left: 0; right: 0; top: 11%;
  text-align: center;
  font: 900 46cqw/.8 var(--f-sans); font-stretch: 62%;
  letter-spacing: -.02em;
  color: var(--batom);
  -webkit-text-stroke: 2px var(--preto);
}
.box__spark { position: absolute; color: var(--branco); filter: drop-shadow(2px 2px 0 var(--preto)); }
.box__spark--1 { width: 9cqw; height: 9cqw; left: 8%; top: 52%; }
.box__spark--2 { width: 6cqw; height: 6cqw; right: 10%; top: 60%; color: var(--neon); }
.box__spark--3 { width: 8cqw; height: 8cqw; right: 14%; top: 8%; color: var(--batom); }
/* centred with left, not translate: GSAP folds the CSS translate into its own transform and drops it */
.box__doll {
  position: absolute; left: -8%; bottom: 0;
  width: 116%; max-width: none;
  z-index: 1;
}
/* twin of the doll, outside the window clip: this one walks out of the box on scroll */
.box__free {
  position: absolute; z-index: 5;
  top: calc(5.6% + 6px); bottom: calc(20% + 6px);
  left: calc(8.5% + 6px); right: calc(8.5% + 6px);
  opacity: 0; pointer-events: none;
}
.box__free-img {
  position: absolute; left: -8%; bottom: 0;
  width: 116%; max-width: none;
  transform-origin: 50% 100%;
  -webkit-mask-image: linear-gradient(to top, transparent 0, #000 var(--fade, 0%));
  mask-image: linear-gradient(to top, transparent 0, #000 var(--fade, 0%));
}
/* the cardboard front, cut into two halves along a tear, that rips off toward the viewer on scroll.
   Each half is a copy of the box face with the window punched out, over its own hard shadow. */
.box__window { visibility: visible; }
.box__rip { position: absolute; inset: 0; z-index: 5; pointer-events: none; opacity: 0; transform-style: preserve-3d; }
.box__half { position: absolute; inset: 0; will-change: transform; }
.box__half-shadow {
  position: absolute; left: 0; top: 0;
  width: calc(100% + 14px); height: calc(100% + 14px);
  background: var(--preto);
}
.box__half .box__body { box-shadow: none; visibility: visible; }
.box__half-over { position: absolute; inset: 0; }
.box__half .box__window { background: none; }
.hero__outro {
  position: absolute; inset: 0; z-index: 4;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  padding-bottom: calc(clamp(130px, 15vw, 220px) / 2 + 3vh);
  text-align: center; line-height: .8;
  pointer-events: none;
  opacity: 0;
}
.hero__outro-a {
  font: 800 clamp(3rem, 8vw, 8.5rem)/.8 var(--f-goth);
  color: var(--branco);
  -webkit-text-stroke: 4px var(--preto); paint-order: stroke fill;
  rotate: -5deg;
  align-self: flex-start;
  margin: 0 0 -.12em 9vw;
}
.hero__outro-b {
  font: 900 clamp(5rem, 17vw, 19rem)/.78 var(--f-sans); font-stretch: 62%;
  text-transform: uppercase; letter-spacing: -.01em;
  color: var(--batom);
  -webkit-text-stroke: 4px var(--preto); paint-order: stroke fill;
}
.box__plastic {
  position: absolute; inset: 0; z-index: 3;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(112deg,
      rgba(255, 255, 255, 0) 22%, rgba(255, 255, 255, .55) 30%, rgba(255, 255, 255, .08) 36%,
      rgba(255, 255, 255, 0) 56%, rgba(255, 255, 255, .32) 62%, rgba(255, 255, 255, 0) 68%);
  background-size: 240% 100%;
  background-position: calc(var(--gx, .5) * 100%) 0;
  mix-blend-mode: screen;
  box-shadow: inset 0 0 0 5px rgba(255, 255, 255, .9), inset 0 0 44px rgba(255, 255, 255, .45);
}
.box__brand {
  position: absolute; left: 0; right: 0; bottom: 8.5%; z-index: 4;
  text-align: center; line-height: .78;
}
/* the pink chrome logo, cut out like a sticker, printed over the window edge */
.box__brand-b { display: block; width: 46cqw; height: auto; margin-inline: auto; filter: drop-shadow(1cqw 1cqw 0 var(--preto)); }
.box__brand-c {
  /* centred under the logo; positioned so it paints over the logo (its drop-shadow filter makes its own layer) */
  position: relative; z-index: 1;
  display: block; margin: -6cqw 0 0;
  font: 800 14cqw/.8 var(--f-goth);
  color: var(--branco);
  -webkit-text-stroke: .5cqw var(--preto); paint-order: stroke fill;
  rotate: -5deg;
}
.box__includes {
  position: absolute; left: 12%; right: 12%; bottom: 3.3%; z-index: 4;
  text-align: center;
  font-size: 1.9cqw; font-weight: 650; line-height: 1.25;
  color: rgba(0, 0, 0, .78);
}
.box__badge {
  position: absolute; top: -5%; right: -8%; z-index: 6;
  width: 26cqw; aspect-ratio: 1;
  transform: translateZ(60px);
}
.box__badge::before {
  content: ''; position: absolute; inset: 0;
  border-radius: 50%;
  background: var(--neon);
  border: var(--line) solid var(--preto);
  box-shadow: 5px 5px 0 var(--preto);
}
.box__badge-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 16s linear infinite; }
.box__badge-ring text { font: 850 17.5px var(--f-sans); letter-spacing: .06em; fill: var(--preto); }
.box__badge-core {
  position: absolute; inset: 0; display: grid; place-items: center;
  font: 800 6.8cqw/1 var(--f-goth);
  rotate: -12deg;
}
@keyframes spin { to { rotate: 360deg; } }

/* floating stickers */
.stickers { position: absolute; inset: 0 max(0px, calc((100% - var(--cap, 100%)) / 2)); z-index: 1; pointer-events: none; }
.sticker { position: absolute; filter: drop-shadow(3px 3px 0 var(--preto)); will-change: transform; }
.sticker--star { width: 62px; height: 62px; top: 17%; left: 43%; color: var(--batom); }
.sticker--glasses { width: 122px; height: 54px; bottom: 9%; left: 36%; color: var(--batom); }
.sticker--pent { width: 66px; height: 66px; top: 13%; right: 3%; color: var(--preto); filter: drop-shadow(3px 3px 0 var(--branco)); }
.sticker--horns { width: 86px; height: 72px; bottom: 16%; right: 2.5%; color: var(--preto); filter: drop-shadow(3px 3px 0 var(--batom)); }
.sticker--bow { width: 84px; height: 64px; bottom: 5%; left: 3%; color: var(--branco); }
.sticker--spark { width: 38px; height: 38px; top: 30%; left: 50%; color: var(--neon); }
.sticker--heart { width: 44px; height: 40px; bottom: 30%; left: 48%; color: var(--neon); }

@media (max-height: 720px) { .sticker--glasses, .sticker--bow { display: none; } }

.hero__scroll {
  position: absolute; left: 50%; bottom: 18px; z-index: 4;
  width: 30px; height: 48px; margin-left: -15px;
  border: var(--line) solid var(--preto); border-radius: 999px;
  background: var(--branco);
}
.hero__scroll span {
  position: absolute; left: 50%; top: 8px;
  width: 6px; height: 10px; margin-left: -3px; border-radius: 3px;
  background: var(--batom);
  animation: scrollhint 1.6s var(--ease-out) infinite;
}
@keyframes scrollhint { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(16px); opacity: 0; } 100% { opacity: 0; } }

@media (max-width: 860px) {
  .hero__pin { grid-template-columns: 1fr; padding-top: 92px; gap: 40px; align-content: start; }
  .box { order: -1; width: min(86vw, calc(62svh * .8)); }
  .sticker--star, .sticker--spark, .sticker--heart, .sticker--glasses { display: none; }
  .sticker--pent { display: none; }
  .sticker--horns { bottom: 3%; }
  .sticker--bow { bottom: auto; top: 11%; left: 3%; width: 60px; }
  .hero__scroll { display: none; }
  /* the outro lands over the box (which stacks above the copy), not at the foot of the tall pin */
  .hero__outro { bottom: auto; height: calc(92px + min(107.5vw, 62svh)); padding-bottom: 2svh; }
  .hero__outro-a { font-size: clamp(2.4rem, 13vw, 4rem); -webkit-text-stroke-width: 3px; margin-left: 6vw; }
  .hero__outro-b { font-size: clamp(4.2rem, 25vw, 7.5rem); -webkit-text-stroke-width: 3px; }
  /* phones read centred: handle, the three-voice title, lead and buttons all on the middle line */
  .hero__copy { justify-self: center; text-align: center; }
  .hero__title { align-items: center; }
  .ht--comp { margin-left: 0; }
  .ht--normal { justify-content: center; }
  .hero__lead { margin-inline: auto; }
  .hero__actions { justify-content: center; }
  /* the "Novo!" badge rides further in on the box's corner, so the screen's right edge never cuts it */
  .box__badge { top: -5%; right: 2%; width: 25cqw; }
}

/* =========================================================
   FITAS
   ========================================================= */
.tapes {
  --h: clamp(130px, 15vw, 220px);
  position: relative; z-index: 6;
  height: var(--h);
  margin-block: calc(var(--h) / -2);
  pointer-events: none;
}
.js .tapes { visibility: hidden; }
.js .tapes.is-ready { visibility: visible; }
.tape {
  position: absolute; left: -6vw; right: -6vw; top: 50%;
  overflow: hidden;
  border-block: var(--line) solid var(--preto);
}
.tape--black { background: var(--preto); color: var(--batom); transform: translateY(-50%) rotate(-4deg); }
.tape--neon { background: var(--neon); color: var(--preto); transform: translateY(-50%) rotate(3deg); }
.tape__track {
  display: flex; align-items: center; gap: 1.1rem;
  width: max-content;
  padding: .65rem 0;
  white-space: nowrap;
  will-change: transform;
}
.tape__track span { font: 900 clamp(1.35rem, 2.7vw, 2.5rem)/1 var(--f-sans); font-stretch: 72%; text-transform: uppercase; }
.tape__track svg { width: 1.3rem; height: 1.3rem; flex: none; }
.tape--black .tape__track svg { color: var(--neon); }
.tape__logo { flex: none; width: auto; height: clamp(2rem, 4vw, 3.6rem); margin-block: -.4rem; }
/* phones: the tapes drop below the buttons and cross in a wide X, so both read */
@media (max-width: 860px) {
  .tapes { --h: 250px; margin-top: calc(var(--h) / -2 + 70px); margin-bottom: calc(var(--h) / -2 - 20px);
    /* those margins leave a 50px strip between the hero (ends 55px in) and .about where the body's pink showed
       through: paint it the cotton-candy of .about so the hero's fade lands on the same color */
    background: linear-gradient(transparent 55px, var(--algodao) 55px); }
  /* the hero ends 55px into the tapes here (the margin-top above), and the wide X leaves room, so a longer melt */  .tape { left: -20vw; right: -20vw; }
  .tape--black { transform: translateY(-50%) rotate(-15deg); }
  .tape--neon { transform: translateY(-50%) rotate(15deg); }
}

/* =========================================================
   QUEM É
   ========================================================= */
.about { position: relative; background: var(--algodao); padding: clamp(150px, 16vw, 240px) var(--gutter) clamp(90px, 10vw, 160px); }
.about__grid {
  max-width: 1500px; margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  grid-template-areas: "title photo" "tags photo";
  column-gap: clamp(32px, 6vw, 110px); row-gap: clamp(36px, 4vw, 56px);
  align-items: start;
}
.about__title {
  grid-area: title;
  font: 800 clamp(1.9rem, 3.6vw, 3.5rem)/1.08 var(--f-sans);
  font-stretch: 84%;
  letter-spacing: -.015em;
  max-width: 24ch;
}
/* the words start faded (only exists once JS splits them); the scroll scrub inks them in. No CSS transition:
   it fights the scrub and makes words flash */
.about__title .w { color: rgba(0, 0, 0, .14); }
/* photo booth: a stack of polaroids, one per alter ego */
.booth { grid-area: photo; position: relative; justify-self: center; width: min(100%, 420px); }
.booth__title {
  margin-bottom: 26px;
  font: 400 clamp(1.4rem, 2vw, 1.9rem)/1.1 'Permanent Marker', var(--f-sans);
  color: var(--vinho);
  rotate: -3deg;
  text-align: center;
}
.booth__stack { position: relative; aspect-ratio: 4 / 5; touch-action: pan-y; }
.polaroid {
  position: absolute; inset: 0; margin: 0;
  display: flex; flex-direction: column;
  padding: 5% 5% 0;
  background: var(--branco);
  border: var(--line) solid var(--preto); border-radius: 6px;
  box-shadow: 8px 8px 0 var(--preto);
  user-select: none;
  cursor: grab;
  will-change: transform;
}
.polaroid:active { cursor: grabbing; }
.polaroid::before {
  content: ''; position: absolute; left: 50%; top: -14px; z-index: 2;
  width: 38%; height: 28px; margin-left: -19%;
  background: rgba(77, 243, 255, .55);
  border: 1px solid rgba(0, 0, 0, .15);
  rotate: -4deg;
}
.polaroid:nth-child(even)::before { background: rgba(255, 46, 147, .5); rotate: 3deg; }
.polaroid__pic {
  position: relative; flex: 1; overflow: hidden;
  border: 2px solid var(--preto);
  background:
    radial-gradient(circle at 1px 1px, rgba(0, 0, 0, .16) 1.5px, transparent 2px) 0 0 / 16px 16px,
    var(--bg);
}
.polaroid__pic img {
  position: absolute; left: 50%; bottom: 0;
  height: 97%; width: auto; max-width: none;
  translate: -50% 0;
  pointer-events: none;
}
.polaroid--photo .polaroid__pic img { inset: 0; width: 100%; height: 100%; translate: none; object-fit: cover; }
.polaroid figcaption {
  padding: .55em 0 .7em;
  font: 400 clamp(1.15rem, 1.6vw, 1.5rem)/1 'Permanent Marker', var(--f-sans);
  text-align: center;
}
.booth__foot { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 34px; }
.booth__next {
  padding: .65em 1.3em;
  border: var(--line) solid var(--preto); border-radius: 999px;
  background: var(--neon);
  font-weight: 850; font-size: 1rem;
  box-shadow: 4px 4px 0 var(--preto);
  cursor: pointer;
  transition: translate .3s var(--ease-out), box-shadow .3s;
}
.booth__next:hover { translate: -2px -2px; box-shadow: 6px 6px 0 var(--preto); }
.booth__credit { font-size: .82rem; font-weight: 600; color: rgba(0, 0, 0, .7); }
.about__tags {
  grid-area: tags; position: relative;
  display: flex; flex-wrap: wrap; align-content: flex-start; gap: 14px 12px;
  min-height: 150px;
}
.about__tags-hint { width: 100%; font-size: var(--t-s); font-weight: 650; color: rgba(0, 0, 0, .65); }
.tag {
  display: inline-block;
  padding: .55em 1.15em .6em;
  border: var(--line) solid var(--preto); border-radius: 999px;
  font: 850 clamp(1rem, 1.5vw, 1.4rem)/1 var(--f-sans);
  box-shadow: 4px 4px 0 var(--preto);
  user-select: none; touch-action: none;
  cursor: grab;
  rotate: var(--r, 0deg);
  transition: box-shadow .2s, scale .25s var(--ease-back);
}
.tag.is-dragging { cursor: grabbing; scale: 1.08; box-shadow: 8px 10px 0 var(--preto); z-index: 5; }
.tag--pink { background: var(--batom); }
.tag--black { background: var(--preto); color: var(--branco); box-shadow: 4px 4px 0 var(--batom); }
.tag--neon { background: var(--neon); }
.tag--white { background: var(--branco); }
.tag:nth-of-type(1) { --r: -4deg; } .tag:nth-of-type(2) { --r: 3deg; } .tag:nth-of-type(3) { --r: -2deg; }
.tag:nth-of-type(4) { --r: 5deg; } .tag:nth-of-type(5) { --r: -6deg; } .tag:nth-of-type(6) { --r: 2deg; } .tag:nth-of-type(7) { --r: -3deg; }
.tag:nth-of-type(8) { --r: 4deg; }

@media (max-width: 860px) {
  .about__grid { grid-template-columns: 1fr; grid-template-areas: "title" "photo" "tags"; }
  .booth { width: min(78vw, 380px); margin-top: 10px; }
}

/* =========================================================
   CONHEÇA AS PERSONAGENS
   ========================================================= */
.select { position: relative; background: var(--batom); overflow: clip; }
/* 8-bit seams around the cast: stepped pink blocks that break up into loose pixels (tiles from tools/pixels.mjs).
   Up: the pink rises into the bottom of "quem é". Down: it crumbles into the top of the black redes section. */
.pixels {
  position: absolute; left: 0; right: 0;
  height: clamp(60px, 7.5vw, 120px);
  background: repeat-x left bottom / auto 100%;
  pointer-events: none;
}
.pixels--up { bottom: -1px; background-image: url("../img/fx/pixels-sobe.svg"); }
.pixels--down { top: -1px; background-image: url("../img/fx/pixels-desce.svg"); background-position: left top; }
.select__pin {
  --slot: clamp(58px, min(7.5vw, 10.5svh), 104px);
  height: 100svh; min-height: 600px;
  display: grid; grid-template-rows: auto minmax(0, 1fr) auto;
  gap: clamp(10px, 2.2svh, 26px);
  /* same as the hero: full width, centred by padding, so the pin never lands off-centre */
  padding: clamp(78px, 11svh, 108px) max(var(--gutter), calc((100% - 1600px) / 2 + var(--gutter))) clamp(14px, 3svh, 30px);
}
.select__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 10px 32px; }
.select__title {
  font: italic 900 clamp(2rem, min(4.3vw, 7.5svh), 4.6rem)/.86 var(--f-sans);
  font-stretch: 112%; letter-spacing: -.03em; text-transform: uppercase;
}
.select__lead { margin-top: 8px; max-width: 30rem; font-weight: 650; }
.select__nav { display: flex; align-items: center; gap: 12px; }
.select__arrow {
  width: 52px; height: 52px; display: grid; place-items: center;
  border: var(--line) solid var(--preto); border-radius: 50%;
  background: var(--branco); box-shadow: 4px 4px 0 var(--preto);
  cursor: pointer;
  transition: translate .25s var(--ease-out), box-shadow .25s, background-color .2s;
}
.select__arrow:hover { background: var(--neon); translate: -2px -2px; box-shadow: 6px 6px 0 var(--preto); }
.select__arrow:active { translate: 2px 2px; box-shadow: 1px 1px 0 var(--preto); }
.select__arrow svg { width: 24px; height: 24px; fill: none; stroke: var(--preto); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.select__count { min-width: 3.2em; text-align: center; font: 900 1.5rem/1 var(--f-sans); font-stretch: 80%; font-variant-numeric: tabular-nums; }
.select__count strong { font-size: 2.2rem; }

/* the stage: every character sits in the same grid cell; only the active one shows */
.select__stage { display: grid; grid-template-rows: minmax(0, 1fr); min-height: 0; touch-action: pan-y; user-select: none; }
.char {
  grid-area: 1 / 1;
  min-height: 0;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr);
  gap: clamp(18px, 3.5vw, 60px); align-items: stretch;
  visibility: hidden;
}
.char.is-active { visibility: visible; }
.char__art {
  position: relative; min-height: 0;
  border: var(--line) solid var(--preto); border-radius: 26px;
  background:
    radial-gradient(70% 55% at 50% 100%, var(--tone) 0%, transparent 72%),
    linear-gradient(transparent 31px, rgba(255, 46, 147, .4) 31px 32px) 0 0 / 100% 32px,
    linear-gradient(90deg, transparent 31px, rgba(255, 46, 147, .4) 31px 32px) 0 0 / 32px 100%,
    var(--preto);
  box-shadow: 10px 10px 0 var(--preto);
}
.char__clip { position: absolute; inset: 0; clip-path: inset(-18% 0 0 0 round 0 0 23px 23px); }
.char__img {
  position: absolute; left: -50%; right: -50%; bottom: 0;
  margin-inline: auto;
  height: 108%; width: auto; max-width: none;
  transform-origin: 50% 100%;
  pointer-events: none;
}
.char__flash { position: absolute; inset: 0; border-radius: 23px; background: var(--branco); opacity: 0; pointer-events: none; }
.char__info { align-self: center; display: flex; flex-direction: column; gap: clamp(8px, 1.6svh, 16px); min-width: 0; }
.char__p1 {
  align-self: flex-start;
  padding: .3em .7em; border: 2px solid var(--preto); border-radius: 10px;
  background: var(--neon); font: italic 900 1rem/1 var(--f-sans);
  rotate: -4deg;
}
.char__name { font: 800 clamp(2.4rem, min(4.8vw, 9svh), 5.2rem)/.88 var(--f-goth); }
.char__name .l { display: inline-block; white-space: pre; }
.char__tag { font-size: clamp(1rem, 1.3vw, 1.2rem); font-weight: 650; max-width: 28rem; }
.char__stats { display: grid; gap: clamp(8px, 1.4svh, 14px); max-width: 30rem; }
.char__stats > div { display: grid; grid-template-columns: 9.5em minmax(0, 1fr); align-items: center; gap: 12px; }
.char__stats dt { font-weight: 800; font-size: .95rem; line-height: 1.1; }
.char__stats dd { display: flex; align-items: center; gap: 10px; }
.char__bar {
  position: relative; flex: 1; height: 18px;
  border: 2px solid var(--preto); border-radius: 999px;
  background: rgba(255, 255, 255, .5);
}
.char__bar > span {
  position: absolute; left: 1px; top: 1px; bottom: 1px;
  width: calc((100% - 2px) * var(--v));
  border-radius: 999px;
  background: var(--preto);
  transform-origin: left center;
}
.char__bar > span.is-over { width: calc(100% + 8px); background: var(--neon); box-shadow: 0 0 0 2px var(--preto); rotate: -2deg; }
.char__val { position: relative; z-index: 1; }
.char__val { min-width: 2.6em; font: 900 1.15rem/1 var(--f-sans); font-stretch: 80%; font-variant-numeric: tabular-nums; }
.char__special {
  align-self: flex-start;
  padding: .55em 1em;
  border: var(--line) solid var(--preto); border-radius: 14px;
  background: var(--branco); box-shadow: 5px 5px 0 var(--preto);
  font-weight: 800; font-size: clamp(.95rem, 1.2vw, 1.1rem);
  rotate: 1.5deg;
}
.char__special span { display: block; margin-bottom: 3px; font: 400 .85rem/1 'Permanent Marker', var(--f-sans); color: var(--vinho); }
/* special and weak spot share one row, so a long line wraps inside its card instead of adding a row */
.char__moves { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; max-width: 36rem; }
.char__moves .char__special { align-self: stretch; }
.char__special--weak { background: var(--preto); color: var(--branco); box-shadow: 5px 5px 0 var(--branco); rotate: -1.5deg; }
.char__special--weak span { color: var(--chiclete); }

/* short pinned screens: drop the P1 badge and tighten the card so it fits the stage */
@media (max-height: 760px) {
  .char__p1 { display: none; }
  .char__stats { gap: 6px; }
  .char__bar { height: 14px; }
  .char__special { padding: .4em .85em; font-size: .95rem; }
}

/* roster */
.select__roster { display: flex; justify-content: center; gap: clamp(8px, 1.4vw, 18px); padding-bottom: 4px; }
.slot {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 0; border: 0; background: none; cursor: pointer;
}
.slot__pic {
  position: relative; display: block;
  width: var(--slot); aspect-ratio: 1;
  border: var(--line) solid var(--preto); border-radius: 16px;
  overflow: hidden;
  background: var(--tone);
  box-shadow: 4px 4px 0 var(--preto);
  outline: 4px solid transparent; outline-offset: 2px;
  transition: translate .3s var(--ease-back), box-shadow .3s, outline-color .2s;
}
.slot__pic img { position: absolute; left: 50%; top: 4%; width: 150%; max-width: none; translate: -50% 0; filter: saturate(.6); transition: filter .25s, scale .35s var(--ease-back); }
/* enquadra o rosto quando ele não está no alto e no centro da foto */
#slot-bakon .slot__pic img { left: 36%; top: -16%; }
#slot-jessica .slot__pic img { left: 16%; top: -42%; }
.slot__name { font-weight: 800; font-size: .78rem; line-height: 1.1; text-align: center; max-width: calc(var(--slot) + 16px); }
.slot:hover .slot__pic { translate: 0 -4px; box-shadow: 6px 8px 0 var(--preto); }
.slot:hover .slot__pic img { filter: none; scale: 1.08; }
.slot[aria-selected="true"] .slot__pic { outline-color: var(--neon); translate: 0 -6px; box-shadow: 6px 10px 0 var(--preto); }
.slot[aria-selected="true"] .slot__pic img { filter: none; }
.slot:focus-visible { outline: none; box-shadow: none; }
.slot:focus-visible .slot__pic { outline-color: var(--preto); }

/* short or narrow screens (zoomed browsers, small laptops, phones): no pin, content-sized stage */
@media (max-width: 860px), (max-height: 619px), (max-width: 1180px) and (max-height: 820px) {
  .select__pin { height: auto; min-height: 0; display: flex; flex-direction: column; padding-top: 96px; padding-bottom: 56px; }
  .char__art { height: clamp(340px, 62svh, 520px); }
}
@media (max-width: 860px) {
  .select__pin { --slot: 60px; gap: 22px; }
  .select__head { align-items: flex-start; flex-direction: column; }
  .select__nav { align-self: stretch; justify-content: space-between; }
  .char { grid-template-columns: 1fr; gap: 20px; align-items: start; }
  .char__art { height: clamp(300px, 48svh, 460px); width: 100%; }
  .char__info { gap: 10px; }
  .char { gap: 16px; }
  .char__stats > div { grid-template-columns: 8.5em minmax(0, 1fr); }
  .char__moves { grid-template-columns: minmax(0, 1fr); justify-items: start; }
  .char__moves .char__special { align-self: auto; }
  .select__roster { justify-content: flex-start; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding: 10px var(--gutter) 6px; scrollbar-width: none; }
  .select__roster::-webkit-scrollbar { display: none; }
  .slot { flex: none; }
  .select__roster { order: 1; }
  .select__stage { order: 2; }
  /* phones, centred: title + lead, the roster above the photo, the arrows right under the photo, then the stats.
     The head's two parts join the pin's column; home.js places the arrows from the photo's box (has-nav-under)
     and pushes the stats down by their height. Without JS the arrows simply follow the stage */
  .select__pin { position: relative; }
  .select__head { display: contents; }
  .select__head > div { order: 0; text-align: center; }
  .select__lead { margin-inline: auto; }
  .select__roster { justify-content: safe center; }
  .select__nav { order: 3; align-self: center; justify-content: center; gap: 28px; }
  .has-nav-under .select__nav { position: absolute; left: 0; right: 0; top: var(--nav-top); z-index: 4; }
  .has-nav-under .char__info { margin-top: calc(var(--nav-h, 56px) - 4px); }
}

/* =========================================================
   REDES — o taco
   ========================================================= */
.bat { position: relative; background: var(--preto); color: var(--branco); overflow: clip; }
.bat::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(60% 70% at 28% 70%, rgba(255, 46, 147, .38), transparent 70%),
    radial-gradient(30% 40% at 80% 20%, rgba(77, 243, 255, .12), transparent 70%);
  pointer-events: none;
}
/* her cut-off waist dissolves into the black that then fades into the feed's pink */
.bat::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  height: clamp(70px, 8vw, 120px);
  background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, .55) 55%, #000);
  pointer-events: none;
}
.bat__grid {
  position: relative;
  min-height: 100svh;
  max-width: 1600px; margin-inline: auto;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: end; gap: 24px;
  padding: 0 var(--gutter);
}
.bat__stage { position: relative; height: 100svh; min-height: 640px; align-self: end; }
.bat__girl {
  --girl-h: .92; /* her height, as a share of the stage: small enough that the bat's tip clears the top */
  position: absolute; bottom: 0;
  /* pinned to the screen's left edge (wide screens included), then pushed in so her hair isn't cut */
  left: calc(-1 * (max(0px, (100vw - 1600px) / 2) + var(--gutter)) + clamp(20px, 6.5vw, 150px));
  height: calc(var(--girl-h) * 100%); aspect-ratio: 720 / 1280;
  transform-origin: 55% 100%;
  will-change: transform;
}
.bat__pose { position: absolute; bottom: 0; max-width: none; }
/* pose 1: she winds up (idle). Left and bottom edges dissolve into the black */
.bat__pose--ready {
  left: 0; width: 100%; height: 100%;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 7%), linear-gradient(to top, transparent 0, #000 14%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0, #000 7%), linear-gradient(to top, transparent 0, #000 14%);
  mask-composite: intersect;
}
/* pose 2: the hit. Closer to the camera than pose 1 (she lunges at the screen): as tall as the stage, so the photo's
   flat top crop sits on the section's edge, and shifted so both faces line up (left stays off screen). The right
   edge (bat cut by the photo) and the bottom fade out; the canvas carries the cracks on past the photo */
.bat__hit {
  position: absolute; bottom: 0;
  height: calc(100% / var(--girl-h)); aspect-ratio: 895 / 1030;
  left: calc((.446 - .832 / var(--girl-h)) * 100%);
  opacity: 0;
  transform-origin: 88% 42%; /* the impact point */
  pointer-events: none;
}
.bat__pose--hit {
  left: 0; width: 100%; height: 100%;
  -webkit-mask-image: linear-gradient(to left, transparent 0, #000 9%), linear-gradient(to top, transparent 0, #000 12%), linear-gradient(to right, transparent 0, #000 4%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to left, transparent 0, #000 9%), linear-gradient(to top, transparent 0, #000 12%), linear-gradient(to right, transparent 0, #000 4%);
  mask-composite: intersect;
}
.bat__cracks { position: absolute; left: 0; top: 0; width: 145%; height: 100%; }
.bat__panel { position: relative; z-index: 3; align-self: center; padding: 96px 0 64px; }
.bat__title {
  font: 900 var(--t-l)/.88 var(--f-sans); font-stretch: 66%;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.bat__title span {
  display: block; margin-top: .25em;
  font: 800 clamp(1.8rem, 3vw, 3rem)/1 var(--f-goth);
  text-transform: none;
  color: var(--batom);
}
.targets { display: grid; gap: 14px; max-width: 36rem; margin-top: 34px; }
.target {
  --r: 0deg;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 16px;
  padding: 10px 22px 10px 10px;
  border: var(--line) solid var(--preto); border-radius: 999px;
  background: var(--branco); color: var(--preto);
  text-decoration: none;
  box-shadow: 6px 6px 0 var(--batom);
  rotate: var(--r);
  transition: rotate .35s var(--ease-back), translate .35s var(--ease-back), box-shadow .3s, background-color .2s;
}
.targets li:nth-child(1) .target { --r: -1.4deg; }
.targets li:nth-child(2) .target { --r: 1deg; }
.targets li:nth-child(3) .target { --r: -.6deg; }
.targets li:nth-child(4) .target { --r: 1.5deg; }
.targets li:nth-child(5) .target { --r: -1deg; }
.target:hover, .target:focus-visible { --r: 0deg; translate: -8px 0; background: var(--neon); box-shadow: 10px 8px 0 var(--batom); }
.target:focus-visible { box-shadow: 10px 8px 0 var(--batom), 0 0 0 6px var(--preto); }
.target.is-hit { visibility: hidden; }
.target__ball {
  width: 56px; height: 56px; flex: none;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--preto); color: var(--branco);
  transition: background-color .2s;
}
.target:hover .target__ball { background: var(--batom); color: var(--preto); }
.target__icon { width: 26px; height: 26px; }
.target__name { font: 900 clamp(1.5rem, 2.3vw, 2.2rem)/1 var(--f-sans); font-stretch: 70%; text-transform: uppercase; }
.target__count { text-align: right; font-size: .9rem; line-height: 1.15; }
.target__count strong { display: block; font: 900 1.45rem/1 var(--f-sans); font-stretch: 78%; }
.bat__hint { margin-top: 22px; font-size: var(--t-s); color: rgba(255, 255, 255, .7); }

/* impact fx (fixed layer, created by JS) */
.fx { position: fixed; inset: 0; z-index: 80; pointer-events: none; overflow: hidden; }
.fx__ball {
  position: absolute; top: 0; left: 0;
  width: 56px; height: 56px; margin: -28px 0 0 -28px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--branco); color: var(--preto);
  border: var(--line) solid var(--preto);
  box-shadow: 0 0 0 4px var(--batom);
}
.fx__ball svg { width: 26px; height: 26px; }
.fx__pow {
  position: absolute; top: 0; left: 0;
  width: 240px; height: 240px; margin: -120px 0 0 -120px;
  display: grid; place-items: center;
}
.fx__pow svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.fx__pow span {
  position: relative;
  font: italic 900 3.2rem/1 var(--f-sans); font-stretch: 80%;
  color: var(--preto);
  rotate: -10deg;
  -webkit-text-stroke: 1px var(--preto);
}
.fx__bit { position: absolute; top: 0; left: 0; width: 22px; height: 22px; margin: -11px 0 0 -11px; }
.fx__flash { position: absolute; inset: 0; background: var(--branco); opacity: 0; }

@media (max-width: 860px) {
  .bat__grid { grid-template-columns: 1fr; gap: 0; }
  .bat__panel { order: 2; padding: 0 0 72px; }
  /* the stage is 72px taller and she takes a smaller share of it: same size on screen, just lower, so the bat's tip
     clears the section's top (it was cut off). Pose 2 still fills the whole stage, so its flat top crop stays on the edge */
  .bat__stage { height: calc(72svh + 72px); min-height: 552px; margin-inline: calc(var(--gutter) * -1); }
  .bat__girl { --girl-h: .93; left: -2%; }
  .target { padding-right: 16px; gap: 12px; }
  .target__ball { width: 48px; height: 48px; }
}

/* =========================================================
   FEED
   ========================================================= */
.feed { --card-h: clamp(210px, calc((100svh - 330px) / 2), 380px); --fade: clamp(130px, 13vw, 200px); position: relative; background: var(--chiclete); overflow: clip; }
/* the hero's glitter (assets/js/glitter.js), on a softer satin; masked at both ends so the section's edges are
   flat chiclete and the fades into the black above and the white below never show a seam */
.feed__glitter {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  background:
    radial-gradient(50% 60% at 78% 30%, rgba(255, 238, 247, .7), rgba(255, 238, 247, 0) 70%),
    radial-gradient(45% 55% at 12% 75%, rgba(255, 120, 190, .32), rgba(255, 120, 190, 0) 70%),
    linear-gradient(170deg, #FFC4E2, var(--chiclete) 50%, #FFA9D4);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 var(--fade), #000 calc(100% - 90px), transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 var(--fade), #000 calc(100% - 90px), transparent);
}
/* the black of the redes section melts into the pink: eased stops, so it never reads as a band */
.feed::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; z-index: 1;
  height: var(--fade);
  background: linear-gradient(to bottom, #000, rgba(0, 0, 0, .93) 10%, rgba(0, 0, 0, .78) 22%, rgba(0, 0, 0, .56) 37%, rgba(0, 0, 0, .34) 53%, rgba(0, 0, 0, .16) 70%, rgba(0, 0, 0, .05) 86%, transparent);
  pointer-events: none;
}
.feed__pin {
  position: relative; z-index: 2;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  gap: clamp(14px, 2.2vh, 28px);
  padding: calc(var(--fade) + 8px) 0 32px;
}
.feed__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 32px; padding-inline: var(--gutter); }
.feed__title { font: 900 var(--t-xl)/.8 var(--f-sans); font-stretch: 62%; text-transform: uppercase; }
.feed__lead { max-width: 27rem; font-weight: 650; }
.rail { position: relative; }
.rail__label {
  position: absolute; left: var(--gutter); top: -8px; z-index: 3;
  display: inline-flex; align-items: center; gap: 8px;
  padding: .5em 1em .5em .7em;
  border: var(--line) solid var(--preto); border-radius: 999px;
  background: var(--preto); color: var(--branco);
  font-weight: 850; font-size: .95rem; line-height: 1;
  text-decoration: none;
  box-shadow: 3px 3px 0 var(--batom);
  rotate: -4deg;
  transition: background-color .2s, color .2s;
}
.rail--insta .rail__label { background: var(--branco); color: var(--preto); box-shadow: 3px 3px 0 var(--preto); rotate: 3deg; }
.rail__label:hover { background: var(--neon); color: var(--preto); }
.rail__icon { width: 18px; height: 18px; }
.rail__track { display: flex; gap: 18px; width: max-content; padding: 10px var(--gutter) 16px; will-change: transform; }
.rail__item:nth-child(odd) .post { --r: -1.2deg; }
.rail__item:nth-child(even) .post { --r: 1deg; }
.post {
  position: relative; display: block;
  height: var(--card-h); aspect-ratio: 9 / 16;
  border: var(--line) solid var(--preto); border-radius: 18px;
  overflow: hidden;
  background: var(--preto);
  box-shadow: 5px 5px 0 var(--preto);
  rotate: var(--r, 0deg);
  transition: rotate .4s var(--ease-back), translate .4s var(--ease-back), box-shadow .35s;
}
.post__img { -webkit-user-drag: none; user-select: none; width: 100%; height: 100%; object-fit: cover; transition: scale .6s var(--ease-out); }
.post::after {
  content: ''; position: absolute; left: 50%; top: 50%;
  width: 58px; height: 58px; margin: -29px 0 0 -29px;
  border-radius: 50%;
  border: var(--line) solid var(--preto);
  background: var(--neon) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E") 56% 50% / 46% no-repeat;
  scale: 0;
  transition: scale .35s var(--ease-back);
}
.post:hover, .post:focus-visible { --r: 0deg; translate: 0 -8px; box-shadow: 9px 12px 0 var(--preto); }
.post:hover .post__img { scale: 1.07; }
.post:hover::after, .post:focus-visible::after { scale: 1; }
.post__meta {
  position: absolute; inset: 8px;
  display: flex; flex-direction: column-reverse; justify-content: space-between; align-items: flex-start;
  font-size: .78rem; font-weight: 800; line-height: 1;
  white-space: nowrap;
  pointer-events: none;
}
.post__views { display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; border: 2px solid var(--preto); border-radius: 999px; background: var(--branco); }
.post__eye { width: 14px; height: 14px; }
.post time { padding: 5px 8px; border-radius: 999px; background: var(--preto); color: var(--branco); }

/* endless belts: TikTok runs left, Instagram runs right; hover, press or hold stops them */
.rail { touch-action: pan-y; }
.rail__track.is-loop { gap: 0; padding-inline: 0; }
.rail__track.is-loop > .rail__item { padding-right: 18px; }
.feed.is-static .rail { overflow-x: auto; touch-action: auto; scrollbar-width: none; }
.feed.is-static .rail::-webkit-scrollbar { display: none; }

@media (max-width: 860px), (max-height: 619px) {
  .feed { --card-h: 300px; }
  .feed__pin { min-height: 0; }
  .rail { padding-top: 14px; }
  .rail__label { top: 0; }
  .rail__track { padding-top: 26px; }
}

/* =========================================================
   PUBLIS
   ========================================================= */
.brands { position: relative; background: var(--branco); padding: clamp(110px, 12vw, 180px) 0 clamp(90px, 10vw, 140px); overflow: clip; }
/* the chiclete of the feed fades into the white, inside the empty top padding (eased, no band) */
.brands::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: clamp(100px, 11vw, 170px);
  background: linear-gradient(to bottom, var(--chiclete), #FFC9E4 20%, #FFDDEE 42%, #FFEEF6 64%, #FFF9FC 84%, var(--branco));
  pointer-events: none;
}
.brands__head {
  max-width: 1500px; margin: 0 auto clamp(40px, 5vw, 72px);
  padding-inline: var(--gutter);
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: end; gap: 20px 48px;
}
.brands__title { font: 900 var(--t-l)/.86 var(--f-sans); font-stretch: 64%; text-transform: uppercase; }
.brands__lead { font-size: var(--t-lead); max-width: 30rem; }
.logos__row { overflow: hidden; border-block: var(--line) solid var(--preto); touch-action: pan-y; user-select: none; -webkit-user-select: none; } /* a finger slides the strips sideways (core.js) */
.logos__row--big { background: var(--batom); padding: clamp(20px, 2.6vw, 36px) 0; rotate: -1.2deg; margin-inline: -2vw; }
.logos__row--small { background: var(--preto); color: var(--branco); padding: 16px 0; border-top: 0; rotate: -1.2deg; margin-inline: -2vw; }
.logos__track { display: flex; align-items: center; gap: clamp(56px, 7vw, 120px); width: max-content; padding-right: clamp(56px, 7vw, 120px); will-change: transform; }
.logo {
  display: inline-flex; align-items: center; gap: .35em;
  height: clamp(40px, 5vw, 70px);
  color: var(--preto);
  transition: color .2s, scale .3s var(--ease-back);
}
.logo svg { height: 100%; width: auto; }
.logo--shein { height: clamp(32px, 4vw, 56px); }
.logo--tiktok { height: clamp(36px, 4.4vw, 62px); }
.logo--burgerking, .logo--capcut { height: clamp(58px, 7vw, 100px); }
.logo--capcut { height: clamp(50px, 6vw, 86px); }
.logo--warner { height: clamp(50px, 6vw, 86px); }
.logo--mihoyo { height: clamp(40px, 5vw, 70px); }
.logo--riotgames { height: clamp(50px, 6vw, 86px); }
.logo__word { font: 850 clamp(1.8rem, 3.4vw, 3rem)/1 var(--f-sans); font-stretch: 88%; }
.logo:hover { color: var(--branco); scale: 1.06; }
.wordmark { font: 800 clamp(1.4rem, 2.5vw, 2.3rem)/1 var(--f-sans); font-stretch: 90%; white-space: nowrap; }
.wordmark__sep { width: 20px; height: 20px; flex: none; color: var(--batom); }
.logos__row--small .logos__track { gap: clamp(28px, 3.4vw, 56px); padding-right: clamp(28px, 3.4vw, 56px); }

.cases {
  max-width: 1500px; margin-inline: auto;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(22px, 2.6vw, 40px);
  padding: clamp(64px, 8vw, 110px) var(--gutter) 0;
}
.case__link {
  height: 100%;
  display: grid;
  grid-template-columns: 38% minmax(0, 1fr);
  grid-template-rows: auto auto 1fr auto;
  column-gap: 18px; row-gap: 8px;
  padding: 14px;
  border: var(--line) solid var(--preto); border-radius: 22px;
  background: var(--algodao);
  box-shadow: 7px 7px 0 var(--preto);
  text-decoration: none;
  transition: translate .4s var(--ease-back), box-shadow .35s, background-color .25s;
}
.case__link:hover, .case__link:focus-visible { translate: -4px -4px; box-shadow: 11px 11px 0 var(--batom); background: var(--chiclete); }
.case__media { grid-row: 1 / -1; align-self: stretch; overflow: hidden; border: 2px solid var(--preto); border-radius: 12px; background: var(--preto); min-height: 220px; }
.case__media img { width: 100%; height: 100%; object-fit: cover; transition: scale .6s var(--ease-out); }
.case__link:hover .case__media img { scale: 1.06; }
.case__brand { display: flex; align-items: center; gap: 8px; min-height: 26px; font-weight: 850; font-size: .95rem; padding-top: 4px; }
.case__logo { display: inline-flex; height: 22px; }
.case__logo svg { height: 100%; width: auto; }
.case__logo--burgerking, .case__logo--capcut, .case__logo--warner { height: 30px; }
.case__logo + .case__brand-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.case__title { font: 900 clamp(1.3rem, 1.7vw, 1.65rem)/.98 var(--f-sans); font-stretch: 76%; text-transform: uppercase; }
.case__text { font-size: .95rem; line-height: 1.4; }
.case__stats { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .85rem; font-weight: 600; line-height: 1.2; }
.case__stats strong { display: block; font: 900 1.7rem/1 var(--f-sans); font-stretch: 78%; }
.brands__cta { display: flex; justify-content: center; margin-top: clamp(48px, 6vw, 80px); padding-inline: var(--gutter); }

@media (max-width: 1100px) { .cases { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .brands__head { grid-template-columns: 1fr; }
  .cases { grid-template-columns: 1fr; }
}

/* =========================================================
   CONTATO
   ========================================================= */
.contact { position: relative; background: var(--batom); padding: clamp(110px, 12vw, 180px) var(--gutter) clamp(90px, 9vw, 140px); overflow: clip; }
.contact__grid { position: relative; z-index: 1; }
.contact__grid {
  max-width: 1440px; margin-inline: auto;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(40px, 6vw, 100px); align-items: end;
}
.contact__title { font: 900 var(--t-xl)/.82 var(--f-sans); font-stretch: 62%; text-transform: uppercase; margin-bottom: 26px; }
.contact__lead { font-size: var(--t-lead); max-width: 27rem; margin-bottom: 14px; }
.contact__aside { max-width: 27rem; margin-bottom: 34px; font-weight: 750; }
.contact__aside span { display: block; margin-top: 4px; font: 400 1.05rem/1.35 'Permanent Marker', var(--f-sans); rotate: -1deg; }
.mail {
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
  max-width: 100%;
  padding: 18px 24px 20px;
  border: var(--line) solid var(--preto); border-radius: 22px;
  background: var(--preto); color: var(--branco);
  box-shadow: 7px 7px 0 var(--branco);
  text-align: left; cursor: pointer;
  transition: translate .3s var(--ease-out), box-shadow .3s;
}
.mail:hover { translate: -3px -3px; box-shadow: 10px 10px 0 var(--branco); }
.mail__addr { font: 900 clamp(1.4rem, 2.7vw, 2.6rem)/1.02 var(--f-sans); font-stretch: 74%; color: var(--neon); overflow-wrap: anywhere; }
.mail__hint { font-size: .9rem; font-weight: 750; }

/* foto única por cima do formulário: o cabelo encosta na borda de cima (73,5% da foto) e braços e mãos avançam sobre o card */
.contact__form-wrap { --girl-h: clamp(320px, 32vw, 480px); --girl-line: .735; position: relative; padding-top: calc(var(--girl-h) * var(--girl-line)); }
.contact__girl {
  position: absolute; top: 0; left: 0; right: 0; z-index: 3;
  margin-inline: auto;
  height: var(--girl-h); width: auto; max-width: none;
  pointer-events: none;
  filter: drop-shadow(5px 6px 0 rgba(0, 0, 0, .16));
}
.form {
  position: relative; z-index: 2;
  display: grid; gap: 18px;
  padding: clamp(20px, 3vw, 36px);
  padding-top: calc(var(--girl-h) * (1 - var(--girl-line)) + 16px);
  border: var(--line) solid var(--preto); border-radius: 26px;
  background: var(--branco);
  box-shadow: 10px 10px 0 var(--preto);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field__label { font-weight: 800; font-size: .9rem; padding: 0; }
.field__input {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--preto); border-radius: 12px;
  background: var(--algodao);
  font-size: 1rem; line-height: 1.4;
  transition: background-color .2s, box-shadow .2s;
}
.field__input::placeholder { color: rgba(0, 0, 0, .5); }
.field__input:focus { outline: none; background: var(--branco); box-shadow: 0 0 0 3px var(--neon), 0 0 0 5px var(--preto); }
.field__input--area { resize: vertical; min-height: 110px; }
.field__input[aria-invalid="true"] { border-color: var(--vinho); background: #FFE1EA; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.chips legend { width: 100%; margin-bottom: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; }
.chip span {
  display: inline-block; padding: 8px 15px;
  border: 2px solid var(--preto); border-radius: 999px;
  background: var(--branco);
  font-weight: 750; font-size: .95rem; line-height: 1;
  cursor: pointer;
  transition: background-color .2s, color .2s;
}
.chip span:hover { background: var(--chiclete); }
.chip input:checked + span { background: var(--preto); color: var(--neon); }
.chip input:focus-visible + span { outline: 3px solid var(--neon); outline-offset: 2px; box-shadow: 0 0 0 6px var(--preto); }
.form__error { color: var(--vinho); font-weight: 750; }
.form__note { font-size: .85rem; color: rgba(0, 0, 0, .7); text-align: center; }

@media (max-width: 960px) {
  .contact__grid { grid-template-columns: 1fr; }
  .contact__form-wrap { --girl-h: clamp(270px, 74vw, 430px); }
}
@media (max-width: 520px) { .form__row { grid-template-columns: 1fr; } }
@media (max-width: 860px) {
  /* the drips run ~110px deep here: room for all of them before the title (was 110px, the tips touched it) */
  .contact { padding-top: 172px; }
  /* "Assunto": legend and chips on the middle line */
  .chips { justify-content: center; }
  .chips legend { text-align: center; }
}
