/* ==========================================================================
   Fran Lima Confeitaria · page styles
   Palette comes from her own Instagram: the pink of the organza bow on the
   Bolo Laço, the terracotta backdrop of her portrait, and a cocoa ground so
   the white and pastel pieces glow. The engine (scrollcraft.css) is untouched;
   this file only sets tokens and styles the page's own markup.
   ========================================================================== */

:root {
  --sc-canvas:     #1A0C0F;
  --sc-surface:    #2A161A;
  --sc-ink:        #FFF3EC;
  --sc-ink-soft:   #D9B4A7;
  --sc-accent:     #D8086E;
  --sc-accent-ink: #FFF3EC;
  --sc-font-display: "Bricolage Grotesque", "Outfit", system-ui, sans-serif;
  --sc-font-text:    "Geist", system-ui, sans-serif;
  --sc-font-mono:    "Geist", system-ui, sans-serif;
  --sc-shadow-color: 348 60% 4%;

  --terracota: #CC7853;
  --blush:     #EBC0AE;
  --osso:      #F4E7E0;
  --bar-h:     4.25rem;
  --r-card:    20px;
}

html { scroll-padding-top: 0; }
body { background: var(--sc-canvas); }
h1, h2, h3, p { margin: 0; }

.sc-display { font-weight: 700; font-stretch: 86%; font-optical-sizing: auto; }

/* ------------------------------------------------------------------ chrome */
.skip {
  position: fixed; left: 1rem; top: 1rem; z-index: 100;
  padding: .7rem 1rem; border-radius: 999px;
  background: var(--sc-ink); color: var(--sc-canvas); font-weight: 600;
  transform: translateY(-200%); transition: transform 160ms var(--sc-ease-out);
}
.skip:focus-visible { transform: none; }

.bar {
  position: fixed; inset: 0 0 auto 0; z-index: var(--sc-z-chrome);
  height: var(--bar-h);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding-inline: var(--sc-gutter);
  background: linear-gradient(to bottom,
    color-mix(in oklab, var(--sc-canvas) 94%, transparent) 0%,
    color-mix(in oklab, var(--sc-canvas) 70%, transparent) 62%,
    transparent 100%);
}
.bar__mark {
  display: flex; flex-direction: column;
  font-family: var(--sc-font-display); font-weight: 800; font-stretch: 86%;
  font-size: 1.35rem; line-height: .9; letter-spacing: -0.02em;
  text-decoration: none;
}
.bar__mark small {
  font-family: var(--sc-font-text); font-weight: 500; font-size: .64rem;
  letter-spacing: .3em; text-transform: uppercase; color: var(--sc-ink-soft);
  margin-top: .32rem;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 3.1rem; padding: 0 1.5rem;
  border-radius: 999px; border: 0;
  background: var(--sc-accent); color: var(--sc-accent-ink);
  font: 600 1rem/1 var(--sc-font-text); letter-spacing: 0;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  box-shadow: var(--sc-e2), inset 0 1px 0 rgb(255 255 255 / .22);
  transition: transform 140ms var(--sc-ease-out), background-color 160ms var(--sc-ease-out);
}
.btn svg { width: 1.25rem; height: 1.25rem; flex: none; }
.btn:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .btn:hover { background: #E4127A; } }
.btn--bar { min-height: 2.6rem; padding: 0 1.1rem; font-size: .92rem; }
.bar__count {
  display: inline-grid; place-items: center;
  min-width: 1.45rem; height: 1.45rem; padding: 0 .35rem;
  border-radius: 999px; background: var(--sc-ink); color: var(--sc-accent);
  font-size: .8rem; font-weight: 700; font-variant-numeric: tabular-nums;
}
.bar__count[hidden] { display: none; }
.bar__count.is-pop { animation: pop 420ms var(--sc-ease-out); }
@keyframes pop { 0% { transform: scale(.6); } 60% { transform: scale(1.18); } 100% { transform: scale(1); } }

/* ------------------------------------------------------------- 1 · hero */
.hero__stage {
  --u: min(1vh, .62vw);
  --cx: calc(6vw + 33.3 * var(--u));      /* cake centre, measured from the right */
  background: radial-gradient(90% 80% at 70% 62%, color-mix(in oklab, var(--terracota) 12%, transparent), transparent 62%);
}
.plane { position: absolute; will-change: transform; }
.plane img { display: block; width: 100%; height: auto; max-width: none; }

.hero__glow {
  width: calc(140 * var(--u)); aspect-ratio: 1;
  right: calc(var(--cx) - 70 * var(--u)); bottom: calc(-26 * var(--u));
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in oklab, var(--terracota) 42%, transparent) 0%,
              color-mix(in oklab, var(--terracota) 14%, transparent) 38%, transparent 66%);
}
.hero__disc {
  width: calc(72 * var(--u)); aspect-ratio: 1;
  right: calc(var(--cx) - 36 * var(--u)); bottom: calc(15 * var(--u));
  border-radius: 50%;
  background: radial-gradient(circle at 36% 30%, #DC916D 0%, var(--terracota) 46%, #A95B3C 100%);
  box-shadow: 0 40px 80px -30px rgb(10 2 4 / .7);
}
.hero__disc i {
  position: absolute; inset: 6.5%; border-radius: 50%;
  border: 2px solid rgb(255 243 236 / .16);
}
.hero__subject {
  width: calc(45 * var(--u));
  right: calc(6vw + 10.8 * var(--u)); bottom: calc(3 * var(--u));
  transform-origin: 50% 100%;
}
/* two sculpted characters further back: smaller, softer, a touch darker */
.hero__back { transform-origin: 50% 100%; }
.hero__back img { filter: blur(.8px) brightness(.9) drop-shadow(0 18px 20px rgb(12 2 5 / .5)); }
.hero__back--urso    { width: calc(21.6 * var(--u)); right: calc(6vw + 49.5 * var(--u)); bottom: calc(6 * var(--u)); }
.hero__back--palhaco { width: calc(24.4 * var(--u)); right: calc(6vw - 3.5 * var(--u)); bottom: calc(5 * var(--u)); }
.hero__subject img { position: relative; filter: drop-shadow(0 26px 30px rgb(12 2 5 / .55)); }
.hero__pool {
  position: absolute; left: -12%; right: -12%; bottom: -5%; height: 16%;
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 45%, rgb(255 226 210 / .16), transparent 70%);
}
.hero__fg { pointer-events: none; }
.hero__fg--polvo { width: calc(20 * var(--u)); right: -3vw; bottom: calc(-16 * var(--u)); rotate: 9deg; }
.hero__fg--agua  { width: calc(19 * var(--u)); left: 58vw; bottom: calc(-26 * var(--u)); rotate: -9deg; }
.hero__fg--donut { width: calc(12 * var(--u)); left: 48vw; top: calc(14 * var(--u)); rotate: 16deg; }

.hero__copy { max-width: min(44rem, 46vw); width: fit-content; right: auto; }
.hero__kicker, .hero__sub { width: fit-content; }
.hero__kicker {
  font-size: .8rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--sc-ink-soft);
}
.hero__title {
  margin-top: 1.1rem;
  font-family: var(--sc-font-display); font-weight: 800; font-stretch: 84%;
  font-size: clamp(2.6rem, .9rem + 4.1vw, 5.6rem);
  line-height: .95; letter-spacing: -0.022em;
}
.ln { display: block; width: fit-content; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.ln > span { display: inline-block; }
.hero__sub {
  margin-top: 1.4rem; max-width: 34ch;
  font-size: var(--sc-t-lg); line-height: 1.45; color: var(--sc-ink);
  text-wrap: pretty;
}
.hero__copy .btn { margin-top: 1.9rem; }
.hero__beat { top: calc(var(--bar-h) + 9vh); bottom: auto; left: var(--sc-gutter); right: auto; width: fit-content; max-width: min(40rem, 46vw); }
.hero__menu {
  list-style: none; margin: 0; padding: 0;
  font-size: clamp(2.1rem, .9rem + 3vw, 4.2rem); line-height: 1.02;
}
.hero__menu li { width: fit-content; }
.hero__menu li + li { margin-top: .12em; }
.hero__menu li:nth-child(2) { color: var(--sc-ink-soft); }
.hero__beat-note { margin-top: 1.4rem; font-size: var(--sc-t-lg); color: var(--sc-ink-soft); max-width: 30ch; }

/* intro: runs once on load, then hands every property back */
@media (prefers-reduced-motion: no-preference) {
  .intro { animation: 1s var(--sc-ease-out) backwards; }
  .intro--1, .intro--4, .intro--5 { animation-name: introFade; }
  .intro--2, .intro--3 { animation-name: introLine; animation-duration: 1.1s; }
  .intro--cake { animation-name: introCake; animation-duration: 1.4s; }
  .intro--fg { animation-name: introFg; animation-duration: 1.6s; animation-delay: .25s; }
  .intro--back { animation-name: introCake; animation-duration: 1.5s; animation-delay: .12s; }
  .intro--1 { animation-delay: .15s; }
  .intro--2 { animation-delay: .25s; }
  .intro--3 { animation-delay: .36s; }
  .intro--4 { animation-delay: .55s; }
  .intro--5 { animation-delay: .68s; }
}
@keyframes introFade { from { opacity: 0; transform: translate3d(0, 14px, 0); } }
@keyframes introLine { from { transform: translate3d(0, 105%, 0); } }
@keyframes introCake { from { opacity: 0; transform: translate3d(0, 5%, 0) scale(.95); } }
@keyframes introFg   { from { opacity: 0; transform: translate3d(0, 18%, 0); } }

/* ------------------------------------------------------------- 2 · pausa */
.pausa { position: relative; height: 175vh; }
.pausa__l { position: absolute; }
.pausa__l--1 {
  top: 22vh; left: var(--sc-gutter); max-width: 11ch;
  font-size: clamp(2.6rem, .8rem + 5.2vw, 6.4rem);
}
.pausa__l--2 {
  top: 80vh; right: var(--sc-gutter); max-width: 25ch; text-align: right;
  font-size: var(--sc-t-xl); line-height: 1.35; letter-spacing: -0.01em;
  color: var(--sc-ink-soft); text-wrap: balance;
}
.pausa__l--3 {
  top: 128vh; left: 0; right: 0; margin-inline: auto; max-width: 15ch; text-align: center;
  font-size: clamp(2.4rem, .8rem + 4.6vw, 5.8rem);
}
.hl {
  background: var(--sc-accent); color: var(--sc-accent-ink);
  padding: 0 .12em; border-radius: .14em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* ------------------------------------------------------------- 3 · mesa */
.mesa__stage {
  --u: min(1vh, .62vw);
  --floor: max(0px, calc((100svh - 100 * var(--u)) * .45));
}
.mesa__light {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(40% 30% at 50% 34%, rgb(255 226 210 / .07), transparent 70%),
    radial-gradient(56% 50% at 50% 62%, color-mix(in oklab, var(--terracota) 18%, transparent), transparent 70%);
}
.mesa__ask { font-size: clamp(2.4rem, .8rem + 4.4vw, 5.4rem); max-width: 14ch; margin-inline: auto; }
/* inset-inline restated: the engine's mobile rule resets it on every .sc-copy,
   which would pull a centred block half its width off the left edge */
.mesa__copy--intro { inset-inline: auto; left: 50%; width: min(60rem, 90vw); max-width: none; }
.mesa__copy--outro {
  inset-inline: auto; left: 50%; translate: -50% 0;
  top: calc(var(--bar-h) + 2.5svh); bottom: auto;
  width: min(54rem, 90vw); max-width: none; text-align: center;
}
.mesa__title { font-size: clamp(2rem, .9rem + 2.9vw, 4.2rem); }
.mesa__note { margin-top: .8rem; color: var(--sc-ink-soft); font-size: var(--sc-t-base); }

.mesa__scene { position: absolute; inset: 0; z-index: 5; }
.mesa__scene > * {
  position: absolute; margin: 0;
  left: calc(50% + var(--x, 0) * var(--u));
  bottom: calc(var(--floor) + var(--b, 0) * var(--u));
  width: calc(var(--w, 10) * var(--u));
  translate: -50% 0;
  transform-origin: 50% 100%;
  will-change: transform, opacity;
}
.mesa__floor {
  --x: 0; --b: -12; --w: 180;
  height: calc(30 * var(--u)); border-radius: 50%;
  background: radial-gradient(ellipse at 50% 42%, rgb(255 224 206 / .2), transparent 70%);
}

.m-painel { aspect-ratio: 1; border-radius: 50%; box-shadow: 0 30px 60px -24px rgb(8 1 3 / .8); }
.m-painel i { position: absolute; inset: 6.5%; border-radius: 50%; border: 2px solid rgb(255 243 236 / .2); }
.m-painel--a { --x: 0;   --b: 14; --w: 54; background: radial-gradient(circle at 36% 30%, #DC916D 0%, var(--terracota) 48%, #A95B3C 100%); }
.m-painel--b { --x: -36; --b: 10; --w: 40; background: radial-gradient(circle at 38% 30%, #F6DACE 0%, var(--blush) 52%, #D39E89 100%); }
.m-painel--c { --x: 36;  --b: 16; --w: 30; background: radial-gradient(circle at 38% 30%, #EA3A8E 0%, var(--sc-accent) 52%, #A8074C 100%); }

.m-cil { height: calc(var(--h) * var(--u)); }
.m-cil::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  top: calc(var(--w) * var(--u) * .14);
  border-radius: 0 0 50% 50% / 0 0 calc(var(--w) * var(--u) * .14) calc(var(--w) * var(--u) * .14);
  background: linear-gradient(90deg, var(--c-sh) 0%, var(--c-lt) 28%, var(--c-hi) 46%, var(--c-lt) 64%, var(--c-sh) 100%);
  box-shadow: 0 24px 34px -18px rgb(8 1 3 / .85);
}
.m-cil i {
  position: absolute; left: 0; right: 0; top: 0;
  height: calc(var(--w) * var(--u) * .28); border-radius: 50%;
  background: radial-gradient(ellipse at 50% 40%, var(--c-hi), var(--c-top) 70%);
  box-shadow: inset 0 -2px 3px rgb(80 30 20 / .12);
}
.m-cil--1 { --x: 0;   --b: 4; --w: 26; --h: 24; --c-sh: #C9B2A6; --c-lt: #EFE0D7; --c-hi: #FFF7F2; --c-top: #F3E4DB; }
.m-cil--2 { --x: -36; --b: 4; --w: 26; --h: 15; --c-sh: #C48D7A; --c-lt: #E6B8A5; --c-hi: #F7D9CC; --c-top: #EDC6B6; }
.m-cil--3 { --x: 36;  --b: 4; --w: 28; --h: 10; --c-sh: #C9B2A6; --c-lt: #EFE0D7; --c-hi: #FFF7F2; --c-top: #F3E4DB; }

.m-peca { height: auto; max-width: none; filter: drop-shadow(0 16px 18px rgb(14 2 6 / .5)); }
.m-peca--torre      { --x: 0;   --b: 23.5; --w: 24; }
.m-peca--tartaruga  { --x: -36; --b: 14.6; --w: 17; }
.m-peca--polvo-a    { --x: 31;  --b: 9.3;  --w: 11; }
.m-peca--polvo-b    { --x: 42;  --b: 9.3;  --w: 13.5; }
.m-peca--agua       { --x: -61; --b: 1;    --w: 15; }
.m-peca--polvo-c    { --x: 61;  --b: 1;    --w: 14; }
.m-peca--cup19      { --x: -46; --b: 33;   --w: 15; filter: drop-shadow(0 8px 10px rgb(14 2 6 / .45)); }
.m-peca--cupestrela { --x: 40;  --b: 35;   --w: 12; filter: drop-shadow(0 8px 10px rgb(14 2 6 / .45)); }

.m-guirlanda { --x: 0; --b: 54; --w: 118; height: calc(14 * var(--u)); overflow: visible; filter: drop-shadow(0 6px 6px rgb(14 2 6 / .5)); }
.m-guirlanda path { fill: none; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; }
.m-guirlanda__fita   { stroke: var(--sc-accent); stroke-width: calc(1.5 * var(--u)); }
.m-guirlanda__brilho { stroke: rgb(255 243 236 / .34); stroke-width: calc(.34 * var(--u)); }
.m-laco { --w: 7; aspect-ratio: 4 / 3; height: auto; translate: -50% 50%; transform-origin: 50% 50%; filter: drop-shadow(0 4px 4px rgb(14 2 6 / .5)); }
.m-laco--1 { --x: -58; --b: 66.2; }
.m-laco--2 { --x: -19; --b: 64.4; }
.m-laco--3 { --x: 19;  --b: 64.4; }
.m-laco--4 { --x: 58;  --b: 66.2; }

.m-etiqueta {
  width: auto !important; white-space: nowrap;
  font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--sc-ink-soft);
}
.m-etiqueta--tartaruga { --x: -36; --b: .6; }
.m-etiqueta--polvos    { --x: 36;  --b: .6; }
.m-etiqueta--torre     { --x: 0;   --b: .6; }
.m-etiqueta--agua      { --x: -65; --b: 33; }

/* ------------------------------------------------------------- 4 · fran */
.fran__grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2.5rem, 7vw, 7rem); align-items: center;
}
.fran__media { position: relative; width: 100%; max-width: 28rem; justify-self: center; }
.fran__arch {
  margin: 0; padding: 14px; aspect-ratio: 4 / 5;
  border-radius: 999px 999px 28px 28px;
  background: var(--terracota);
  box-shadow: var(--sc-e3);
}
.fran__arch img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 26%;
  border-radius: 999px 999px 16px 16px;
}
.fran__selo {
  position: absolute; width: clamp(7.5rem, 11vw, 10rem); height: auto;
  right: -8%; bottom: -6%;
  rotate: calc(var(--sc-p, 0) * 140deg - 12deg);
  filter: drop-shadow(0 14px 18px rgb(10 2 4 / .5));
}
.fran__selo text { font: 700 11px var(--sc-font-text); letter-spacing: .12em; fill: #FFF3EC; }
@media (prefers-reduced-motion: reduce) { .fran__selo { rotate: -12deg; } }
.fran__lede { font-size: var(--sc-t-lg); line-height: 1.5; color: var(--sc-ink-soft); max-width: 40ch; }
.fran__quote { margin: var(--sc-6) 0 0; }
.fran__quote p {
  font-family: var(--sc-font-display); font-weight: 600; font-stretch: 90%;
  font-size: clamp(1.35rem, 1rem + 1.2vw, 2rem); line-height: 1.22; letter-spacing: -0.015em;
  max-width: 26ch; text-indent: -.42em; text-wrap: balance;
}
.fran__quote cite { display: block; margin-top: .7rem; font-style: normal; font-size: .9rem; color: var(--sc-ink-soft); }
.fran__fatos {
  display: flex; flex-wrap: wrap; gap: 1.25rem 2.75rem;
  margin: var(--sc-6) 0 0; padding-top: var(--sc-5);
  border-top: 1px solid var(--sc-hairline);
}
.fran__fatos dt { font-family: var(--sc-font-display); font-weight: 700; font-stretch: 88%; font-size: 1.3rem; letter-spacing: -0.01em; }
.fran__fatos dd { margin: .1rem 0 0; font-size: .92rem; color: var(--sc-ink-soft); }
.link {
  display: inline-flex; align-items: center; gap: .55rem;
  font-weight: 600; text-decoration: underline; text-decoration-color: color-mix(in oklab, var(--sc-ink) 40%, transparent);
  min-height: 2.75rem;
}
.link svg { width: 1.2rem; height: 1.2rem; }
@media (hover: hover) and (pointer: fine) { .link:hover { text-decoration-color: var(--sc-accent); } }

/* ------------------------------------------------------------- 5 · trilho */
.trilho__stage { display: flex; align-items: center; padding-top: calc(var(--bar-h) * .6); }
.trilho__rail {
  gap: clamp(1.25rem, 3vw, 3rem); align-items: flex-start;
  padding-inline: var(--sc-gutter);
}
.trilho__item { flex: none; }
.trilho__lead { width: clamp(17rem, 28vw, 26rem); padding-top: 2rem; }
.trilho__lead .sc-body { margin-top: 1.25rem; font-size: var(--sc-t-lg); line-height: 1.5; }
.trilho__lead strong { color: var(--sc-ink); font-weight: 600; }
.trilho__fim { width: clamp(16rem, 24vw, 22rem); padding-top: 6rem; }
.trilho__fim .sc-body { margin-top: 1rem; }
.trilho__fim .btn { margin-top: 1.6rem; }

.card { width: clamp(15rem, 22vw, 20.5rem); }
.card__img {
  aspect-ratio: 4 / 5; border-radius: var(--r-card); overflow: hidden;
  background: var(--sc-surface); box-shadow: var(--sc-e3), var(--sc-edge);
}
.card__img img { width: 100%; height: 100%; object-fit: cover; }
.card__cat {
  margin-top: 1.1rem; font-size: .74rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--sc-ink-soft);
}
.card__nome {
  margin-top: .3rem; font-family: var(--sc-font-display);
  font-weight: 700; font-stretch: 86%; font-size: 1.75rem; line-height: 1; letter-spacing: -0.02em;
}
.card__desc { margin-top: .45rem; font-size: .95rem; line-height: 1.45; color: var(--sc-ink-soft); max-width: 30ch; }
.card__quero {
  margin-top: 1rem;
  display: inline-flex; align-items: center; gap: .5rem;
  min-height: 2.75rem; padding: 0 1.15rem 0 .9rem;
  border-radius: 999px; border: 1.5px solid var(--sc-hairline-strong);
  background: transparent; color: var(--sc-ink);
  font: 600 .95rem/1 var(--sc-font-text); cursor: pointer;
  transition: background-color 160ms var(--sc-ease-out), border-color 160ms var(--sc-ease-out), transform 120ms var(--sc-ease-out);
}
.card__quero svg { width: 1.1rem; height: 1.1rem; }
.card__quero:active { transform: scale(.97); }
.card__quero[aria-pressed="true"] { background: var(--sc-accent); border-color: var(--sc-accent); color: var(--sc-accent-ink); }
@media (hover: hover) and (pointer: fine) {
  .card__quero:hover { border-color: var(--sc-ink); }
  .card__quero[aria-pressed="true"]:hover { background: #E4127A; border-color: #E4127A; }
}

/* the drawer-pull settle: each item arrives as the rail brings it in */
@media (prefers-reduced-motion: no-preference) {
  .trilho__item {
    --k: clamp(0, calc((var(--sc-p, 0) - var(--enter, -1)) / .09), 1);
    opacity: calc(.55 + .45 * var(--k));
    transform: translate3d(0, calc((1 - var(--k)) * 2.2rem), 0);
  }
}

/* ------------------------------------------------------------- 6 · pedido */
.pedido {
  --sc-ink-soft: #FFD9E6;
  --magenta-fundo: #A8074C;
  /* The ground is painted here as well as drifted: the flow act before this one
     still owns the page drift while this section scrolls in, so the pink would
     otherwise arrive only on the last screen. A gradient, not a hard edge. */
  background: linear-gradient(to bottom, transparent 0, var(--magenta-fundo) min(34vh, 18rem));
  min-height: 100svh;
  padding-block: calc(var(--bar-h) + clamp(2.5rem, 7vh, 5rem)) 0;
  display: flex; flex-direction: column;
}
.pedido__grid {
  flex: 1;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2.5rem, 6vw, 6rem); align-items: center;
}
.pedido__lede { margin-top: 1.4rem; font-size: var(--sc-t-lg); line-height: 1.5; max-width: 34ch; }
.pedido__direto { margin-top: 1.6rem; color: var(--sc-ink-soft); }
.pedido__direto a { color: var(--sc-ink); font-weight: 600; }
.pedido :focus-visible { outline-color: var(--sc-ink); }

.tag {
  --sc-ink: #1A0C0F; --sc-ink-soft: #6E4A44;
  color: var(--sc-ink);
  position: relative;
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem 1rem;
  padding: clamp(2.6rem, 4vw, 3.2rem) clamp(1.3rem, 3vw, 2.4rem) clamp(1.4rem, 3vw, 2.2rem);
  border-radius: 24px;
  background: #FFF3EC;
  box-shadow: 0 2px 4px rgb(60 0 22 / .2), 0 24px 50px -16px rgb(60 0 22 / .55), 0 60px 100px -40px rgb(60 0 22 / .5);
  rotate: -1.2deg;
}
.tag :focus-visible { outline-color: var(--sc-accent); }
.tag__furo {
  position: absolute; top: 1rem; left: 50%; translate: -50% 0;
  width: 1.1rem; height: 1.1rem; border-radius: 50%;
  background: var(--magenta-fundo);
  box-shadow: inset 0 2px 3px rgb(0 0 0 / .35);
}
.tag__fita {
  position: absolute; left: 50%; bottom: calc(100% - 1.7rem); translate: -50% 0;
  width: 7rem; overflow: visible; pointer-events: none;
}
.tag__fita path {
  fill: none; stroke: #FFF3EC; stroke-width: 5; stroke-linecap: round;
  stroke-dasharray: 260; stroke-dashoffset: 260;
  transition: stroke-dashoffset 1.4s var(--sc-ease-out) .2s;
}
.tag.is-in .tag__fita path { stroke-dashoffset: 0; }
.tag__titulo {
  grid-column: 1 / -1; text-align: center;
  font-family: var(--sc-font-display); font-weight: 800; font-stretch: 86%;
  font-size: 1.7rem; line-height: 1; letter-spacing: -0.02em;
}
.tag__label {
  display: block; font-size: .74rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--sc-ink-soft);
}
.tag__grupo { grid-column: 1 / -1; margin: 0; padding: 0; border: 0; min-width: 0; }
.tag__grupo legend { padding: 0; margin-bottom: .65rem; font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--sc-ink-soft); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; min-height: 2.6rem; padding: 0 1rem;
  border-radius: 999px; border: 1.5px solid rgb(26 12 15 / .2);
  background: #fff; font-weight: 500; font-size: .95rem;
  transition: background-color 160ms var(--sc-ease-out), border-color 160ms var(--sc-ease-out), color 160ms var(--sc-ease-out);
}
.chip input:checked + span { background: var(--sc-accent); border-color: var(--sc-accent); color: #FFF3EC; }
.chip input:focus-visible + span { outline: 2px solid var(--sc-accent); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .chip:hover span { border-color: rgb(26 12 15 / .5); } }

.tag__refs { grid-column: 1 / -1; }
.tag__refs[hidden] { display: none; }
.tag__refs ul { list-style: none; margin: .55rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.tag__refs li {
  display: inline-flex; align-items: center; gap: .25rem;
  padding: .3rem .3rem .3rem .8rem; border-radius: 999px;
  background: color-mix(in oklab, var(--sc-accent) 12%, #fff); font-size: .9rem; font-weight: 500;
}
.tag__refs button {
  display: grid; place-items: center; width: 1.9rem; height: 1.9rem;
  border: 0; border-radius: 50%; background: transparent; color: var(--sc-ink); cursor: pointer;
}
.tag__refs button svg { width: .95rem; height: .95rem; }
@media (hover: hover) and (pointer: fine) { .tag__refs button:hover { background: rgb(26 12 15 / .08); } }

.campo { display: flex; flex-direction: column; gap: .4rem; min-width: 0; }
.campo--full { grid-column: 1 / -1; }
.campo input, .campo textarea {
  width: 100%; padding: .8rem .95rem;
  border-radius: 14px; border: 1.5px solid rgb(26 12 15 / .16);
  background: #fff; color: var(--sc-ink); font-size: 1rem; line-height: 1.35;
  transition: border-color 160ms var(--sc-ease-out);
}
.campo textarea { resize: vertical; min-height: 4.6rem; }
.campo input::placeholder, .campo textarea::placeholder { color: #9C7F79; }
.campo input:focus, .campo textarea:focus { border-color: var(--sc-accent); outline: none; }
.campo input:focus-visible, .campo textarea:focus-visible { outline: 2px solid var(--sc-accent); outline-offset: 2px; }
.campo__un { position: relative; display: block; }
.campo__un input { padding-right: 3.1rem; }
.campo__un i {
  position: absolute; right: .95rem; top: 50%; translate: 0 -50%;
  font-style: normal; font-weight: 600; font-size: .92rem; color: var(--sc-ink-soft); pointer-events: none;
}
/* spinners would sit on top of the unit, and nobody types a party size with them */
.tag input[type="number"] { -moz-appearance: textfield; appearance: textfield; }
.tag input[type="number"]::-webkit-inner-spin-button,
.tag input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.tag__dica { grid-column: 1 / -1; margin-top: -.45rem; font-size: .86rem; color: var(--sc-ink-soft); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.btn--whats { grid-column: 1 / -1; min-height: 3.6rem; font-size: 1.05rem; margin-top: .4rem; }

.rodape {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .6rem 2rem;
  margin-top: clamp(3rem, 8vh, 5rem); padding-block: 1.6rem 2rem;
  border-top: 1px solid rgb(255 243 236 / .22);
  font-size: .9rem; color: var(--sc-ink-soft);
}
.rodape a { color: var(--sc-ink); }
.rodape__marca { font-family: var(--sc-font-display); font-weight: 800; font-stretch: 86%; font-size: 1.1rem; color: var(--sc-ink); }
.rodape__marca span { font-family: var(--sc-font-text); font-weight: 500; font-size: .66rem; letter-spacing: .28em; text-transform: uppercase; margin-left: .35rem; color: var(--sc-ink-soft); }
.rodape__nota { flex-basis: 100%; font-size: .82rem; }

/* ---------------------------------------------------- 5 · do detalhe à coleção */
.colecao__wall {
  --gap: clamp(6px, .9vw, 14px);
  --cols: 7; --rows: 3; --wh: 64svh;
  --tw: min(calc((92vw - (var(--cols) - 1) * var(--gap)) / var(--cols)),
            calc((var(--wh) - (var(--rows) - 1) * var(--gap)) / var(--rows) * .8));
  position: absolute; left: 50%; bottom: 5svh; translate: -50% 0;
  display: grid; grid-template-columns: repeat(var(--cols), var(--tw));
  grid-auto-rows: calc(var(--tw) * 1.25); gap: var(--gap);
}
.tile {
  margin: 0; border-radius: 12px; overflow: hidden;
  background: var(--sc-surface); box-shadow: var(--sc-e2);
  will-change: transform, opacity;
}
.tile img { width: 100%; height: 100%; object-fit: cover; }
.tile--slot { grid-column: 4; grid-row: 2; }
.js .tile--slot img { visibility: hidden; }
.colecao__macro {
  position: absolute; inset: 0; margin: 0; z-index: 3; overflow: hidden;
  transform-origin: 0 0; will-change: transform, clip-path;
  background: #fff;
}
.colecao__macro img {
  width: 100%; height: 100%; object-fit: cover; object-position: var(--ox, 50%) var(--oy, 46%);
  transform-origin: 50% 50%; will-change: transform;
}
html:not(.js) .colecao__macro, html:not(.js) .colecao__notas { display: none; }
.colecao__notas { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; z-index: 6; pointer-events: none; }
.nota {
  position: absolute; left: var(--nx, 50%); top: var(--ny, 50%);
  display: flex; align-items: center; gap: .7rem;
  translate: -9px -50%; opacity: 0; will-change: opacity, transform;
}
.nota::before {
  content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%;
  background: #FFF3EC; box-shadow: 0 0 0 5px rgb(216 8 110 / .55), 0 4px 10px rgb(20 4 8 / .4);
}
.nota--esq { flex-direction: row-reverse; translate: calc(-100% + 9px) -50%; }
.nota { font-size: clamp(.9rem, .8rem + .35vw, 1.1rem); color: #1A0C0F; white-space: nowrap; }
.nota > b {
  font-weight: 600; background: #FFF3EC; padding: .55rem 1rem; border-radius: 999px;
  box-shadow: 0 10px 24px -8px rgb(20 4 8 / .5);
}
.colecao__copy {
  inset-inline: auto; left: 50%; translate: -50% 0;
  top: calc(var(--bar-h) + 2svh); bottom: auto;
  width: min(56rem, 90vw); max-width: none; text-align: center;
}
.colecao__title { font-size: clamp(2rem, .9rem + 2.8vw, 4rem); }
.colecao__lede { margin: .8rem auto 0; max-width: 44ch; color: var(--sc-ink-soft); font-size: var(--sc-t-lg); line-height: 1.45; }

/* ------------------------------------------------------------- 7 · docinhos */
.docinhos__grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2.5rem, 6vw, 6rem); align-items: center;
}
.docinhos__lede { font-size: var(--sc-t-lg); line-height: 1.5; max-width: 38ch; }
.doce__pedido { margin-top: var(--sc-5); }
.docinhos__collage { position: relative; aspect-ratio: 1 / .95; }
.dc { position: absolute; margin: 0; border-radius: var(--r-card); overflow: hidden; box-shadow: var(--sc-e3), var(--sc-edge); }
.dc img { width: 100%; height: 100%; object-fit: cover; }
.dc--a { width: 50%; aspect-ratio: 4 / 5; left: 2%; top: 0; rotate: -3deg; }
.dc--b { width: 40%; aspect-ratio: 4 / 5; right: 0; top: 12%; rotate: 4deg; }
.dc--c { width: 34%; aspect-ratio: 4 / 5; left: 26%; bottom: -4%; rotate: -2deg; z-index: 2; }
.dc--torre {
  width: 27%; height: auto; max-width: none; right: 9%; bottom: -12%; z-index: 3;
  border-radius: 0; overflow: visible; box-shadow: none;
  filter: drop-shadow(0 24px 26px rgb(10 2 4 / .6));
}
.docinhos__faixa {
  display: grid; grid-template-columns: 1.5fr 1fr 1.5fr; gap: clamp(.75rem, 2vw, 1.5rem);
  margin-top: clamp(4rem, 10vw, 8rem);
}
.docinhos__faixa figure { margin: 0; height: clamp(11rem, 22vw, 19rem); border-radius: var(--r-card); overflow: hidden; box-shadow: var(--sc-e2); }
.docinhos__faixa img { width: 100%; height: 100%; object-fit: cover; }

/* ================================================= portrait compositions ==
   Phones and portrait tablets get their own arrangement of both scenes, not
   the desktop one shrunk. */
@media (max-aspect-ratio: 1 / 1) {
  .hero__stage { --u: min(1vw, .5svh); background: radial-gradient(110% 70% at 50% 76%, color-mix(in oklab, var(--terracota) 14%, transparent), transparent 64%); }
  .hero__subject { width: calc(46 * var(--u)); right: auto; left: 50%; translate: -50% 0; bottom: calc(4svh); }
  .hero__disc  { width: calc(80 * var(--u)); right: auto; left: 50%; translate: -50% 0; bottom: calc(4svh + 16 * var(--u)); }
  .hero__back--urso    { width: calc(22 * var(--u)); right: auto; left: calc(50% - 41 * var(--u)); bottom: calc(4svh + 3 * var(--u)); }
  .hero__back--palhaco { width: calc(24 * var(--u)); right: auto; left: calc(50% + 17 * var(--u)); bottom: calc(4svh + 3 * var(--u)); }
  .hero__glow  { width: calc(170 * var(--u)); right: auto; left: 50%; translate: -50% 0; bottom: calc(-40 * var(--u)); }
  .hero__fg--polvo { width: calc(22 * var(--u)); right: -9vw; bottom: calc(-14 * var(--u)); }
  .hero__fg--agua  { width: calc(22 * var(--u)); left: -9vw; bottom: calc(-16 * var(--u)); }
  .hero__fg--donut { width: calc(13 * var(--u)); left: 3vw; top: auto; bottom: calc(4svh + 62 * var(--u)); }
  .hero__copy { max-width: calc(100vw - 2 * var(--sc-gutter)); top: calc(var(--bar-h) + 2.5svh); bottom: auto; }
  .hero__beat { max-width: calc(100vw - 2 * var(--sc-gutter)); top: calc(var(--bar-h) + 2.5svh); }

  .mesa__stage { --u: min(1vw, .5svh); --floor: 11svh; }
  .mesa__floor { --b: -14; --w: 170; }
  .m-painel--a { --x: 0;   --b: 30; --w: 80; }
  .m-painel--b { --x: -32; --b: 22; --w: 50; }
  .m-painel--c { --x: 33;  --b: 40; --w: 40; }
  .m-cil--1 { --x: 0;   --b: 2; --w: 34; --h: 34; }
  .m-cil--2 { --x: -33; --b: 0; --w: 28; --h: 20; }
  .m-cil--3 { --x: 33;  --b: 0; --w: 30; --h: 13; }
  .m-peca--torre      { --x: 0;   --b: 30.3; --w: 30; }
  .m-peca--tartaruga  { --x: -33; --b: 15.3; --w: 19; }
  .m-peca--polvo-a    { --x: 27;  --b: 8;    --w: 12; }
  .m-peca--polvo-b    { --x: 39;  --b: 8;    --w: 14.5; }
  .m-peca--agua       { --x: -30; --b: -13;  --w: 18; }
  .m-peca--polvo-c    { --x: 29;  --b: -13;  --w: 16; }
  .m-peca--cup19      { --x: -36; --b: 56;   --w: 20; }
  .m-peca--cupestrela { --x: 36;  --b: 60;   --w: 16; }
  .m-guirlanda { --b: 88; --w: 86; height: calc(14 * var(--u)); }
  .m-laco { --w: 9; }
  .m-laco--1 { --x: -42.4; --b: 100.2; }
  .m-laco--2 { --x: -13.9; --b: 98.4; }
  .m-laco--3 { --x: 13.9;  --b: 98.4; }
  .m-laco--4 { --x: 42.4;  --b: 100.2; }
  .m-etiqueta { display: none; }

  .colecao__wall { --cols: 4; --rows: 4; }
  .tile--slot { grid-column: 2; grid-row: 2; }
  .tile--extra { display: none; }
}

/* ======================================================= narrow screens == */
@media (max-width: 860px) {
  .hero__title { font-size: clamp(2.3rem, 1.2rem + 4.6vw, 3.4rem); }
  .hero__sub { font-size: var(--sc-t-base); max-width: 32ch; margin-top: 1rem; }
  .hero__copy .btn { margin-top: 1.3rem; }
  .pausa__l--1 { max-width: 10ch; }
  .pausa__l--2 { left: var(--sc-gutter); max-width: 22ch; }
  .fran__grid, .pedido__grid, .docinhos__grid { grid-template-columns: minmax(0, 1fr); }
  .docinhos__collage { margin-top: 1rem; }
  .docinhos__faixa { grid-template-columns: 1fr 1fr; }
  .docinhos__faixa figure:first-child { grid-column: 1 / -1; }
  .fran__media { max-width: 21rem; }
  .card { width: min(72vw, 19rem); }
  .trilho__lead { width: min(78vw, 22rem); }
  .trilho__fim { width: min(74vw, 20rem); padding-top: 4rem; }
  .tag { rotate: 0deg; margin-top: 2.5rem; }
}
@media (max-width: 420px) {
  .bar__mark { font-size: 1.15rem; }
  .btn--bar { padding: 0 .9rem; font-size: .86rem; }
  .tag { grid-template-columns: minmax(0, 1fr); }
  .btn--whats { padding: 0 1rem; font-size: .97rem; gap: .5rem; }
}
@media (max-aspect-ratio: 1 / 1) and (max-height: 700px) {
  .hero__sub { display: none; }
  .hero__subject { width: calc(40 * var(--u)); }
  .hero__disc { width: calc(70 * var(--u)); bottom: calc(4svh + 12 * var(--u)); }
  .hero__glow { bottom: calc(-72 * var(--u)); }
  .colecao__wall { --wh: 48svh; }
}

/* ======================================================= reduced motion == */
@media (prefers-reduced-motion: reduce) {
  .tag__fita path { stroke-dashoffset: 0; transition: none; }
  /* both scenes become ordinary one-screen compositions (site.js turns the
     acts into flow), so their stages need a box of their own */
  #hero [data-sc-stage], #mesa [data-sc-stage], #colecao [data-sc-stage] {
    position: relative; height: 100vh; height: 100svh; overflow: clip;
  }
  .colecao__macro, .colecao__notas { display: none; }
  .js .tile--slot img { visibility: visible; }
}
