/* ==========================================================
   Aquele Bolo — página inicial
   ========================================================== */
body.home {
  transition: background-color 0.01s;
}
body.is-loading {
  overflow: hidden;
}
section {
  position: relative;
}
h2 {
  font-size: clamp(2.4rem, 5.6vw, 5rem);
}
.hl {
  position: relative;
  padding: 0 0.1em;
  margin: 0 -0.1em;
  background: linear-gradient(var(--but), var(--but)) 0 88% / calc(var(--hl, 1) * 100%) 0.42em no-repeat;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  border-radius: 0.2em;
}
.hl--lav {
  background-image: linear-gradient(var(--lav-3), var(--lav-3));
}
.eyebrow--light {
  color: var(--but);
}
.eyebrow--light::before {
  box-shadow: 0 0 0 3px var(--paper);
}

/* ---------- Preloader ---------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: center;
  background: var(--cream);
  color: var(--ink);
}
.no-js .preloader,
.preloader.is-done {
  display: none;
}
.preloader {
  animation: failsafe 0.4s 10s forwards;
}
.preloader__inner {
  display: grid;
  justify-items: center;
  gap: 10px;
}
.preloader__cake {
  position: relative;
  width: min(190px, 44vw);
  aspect-ratio: 700 / 834;
}
.preloader__cake img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.pl-ghost {
  opacity: 0.18;
  filter: grayscale(0.4);
}
.pl-fill {
  clip-path: inset(100% 0 0 0);
}
.preloader__count {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(3rem, 9vw, 5.5rem);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--lav-deep);
}
.preloader__msg {
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--ink-2);
}
.preloader__edge {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  width: 100%;
  height: 40px;
  fill: var(--cream);
}

/* ---------- HERO ---------- */
.hero {
  min-height: 100svh;
  padding: calc(var(--header-h) + 90px) 0 90px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.awning {
  position: absolute;
  inset: 0 0 auto 0;
  height: calc(var(--header-h) + 34px);
  z-index: 1;
  transform-origin: top;
  pointer-events: none;
}
.awning__body {
  position: absolute;
  inset: 0 0 26px 0;
  background-size: 820px auto;
  background-position: 0 30%;
  background-repeat: repeat-x;
  border-bottom: 4px solid var(--ink);
}
.awning__edge {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -18px;
  width: 100%;
  height: 46px;
  filter: drop-shadow(0 10px 10px rgba(46, 37, 82, 0.15));
}
.hero .site-header {
  color: var(--ink);
}
.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: clamp(20px, 4vw, 60px);
}
.hero__title {
  font-size: clamp(2.9rem, 6.3vw, 6.3rem);
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 18px 0 22px;
}
.hero__title .w {
  display: inline-block;
  white-space: nowrap;
}
.hero__title .ch {
  display: inline-block;
  will-change: transform;
}
.hero__title em {
  font-style: normal;
  color: var(--lav-deep);
}
.hero__title .inline-cake {
  display: inline-block;
  width: 0.92em;
  height: 0.92em;
  vertical-align: -0.1em;
  margin: 0 0.08em;
  background: url('../img/cake-yellow-sticker.webp') center / contain no-repeat;
  filter: drop-shadow(0 6px 10px rgba(46, 37, 82, 0.25));
}
.hero__sub {
  max-width: 34ch;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  font-weight: 600;
  color: var(--ink-2);
}
.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}
.hero__ctas .btn--lg {
  padding: 0.9em 1.45em;
  font-size: 1.12rem;
}
.hero__stage {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 600px;
  justify-self: center;
}
.hero__halo {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, var(--but-2) 0 10deg, var(--but-3) 10deg 20deg);
  border: 4px solid var(--ink);
  animation: spin 60s linear infinite;
}
.hero__logo {
  position: absolute;
  left: 12%;
  top: 16%;
  width: 76%;
  filter: drop-shadow(0 26px 30px rgba(46, 37, 82, 0.3));
  z-index: 2;
  will-change: transform;
}
.badge {
  position: absolute;
  width: 26%;
  right: -2%;
  top: 2%;
  z-index: 3;
  animation: spin 18s linear infinite;
}
.sticker {
  position: absolute;
  z-index: 4;
  touch-action: none;
  user-select: none;
  -webkit-user-drag: none;
  filter: drop-shadow(0 12px 14px rgba(46, 37, 82, 0.28));
  cursor: grab;
}
.sticker:active {
  cursor: grabbing;
}
.sticker svg,
.sticker img {
  width: 100%;
  height: auto;
  pointer-events: none;
}
.st-brig1 {
  width: 20%;
  left: -2%;
  top: 56%;
}
.st-brig2 {
  width: 15%;
  left: 74%;
  top: 66%;
}
.st-brig3 {
  width: 13%;
  left: 18%;
  top: 2%;
}
.st-slice {
  width: 30%;
  left: 54%;
  top: 76%;
}
.st-round {
  width: 22%;
  left: -4%;
  top: 14%;
  transform: rotate(-14deg);
}
.st-heart {
  width: 10%;
  left: 82%;
  top: 36%;
}
.st-star {
  width: 9%;
  left: 6%;
  top: 84%;
}
.hero__hint {
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--lav-deep);
  white-space: nowrap;
}
.hero__scroll {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-2);
}
.hero__scroll .wheel {
  animation: wheel 1.6s var(--ease-out) infinite;
}
@keyframes wheel {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  80% {
    transform: translateY(6px);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

@media (max-width: 900px) {
  .hero {
    padding-top: calc(var(--header-h) + 64px);
    padding-bottom: 80px;
  }
  .hero__inner {
    grid-template-columns: 1fr;
  }
  .hero__stage {
    max-width: 440px;
    order: -1;
    margin-top: -10px;
  }
  .hero__title {
    margin-top: 10px;
  }
  .hero__hint {
    display: none;
  }
}
@media (max-width: 520px) {
  .hero__ctas .btn {
    width: 100%;
  }
  .hero__scroll {
    display: none;
  }
}

/* ---------- FITAS ---------- */
.ribbons {
  height: clamp(180px, 22vw, 300px);
  margin: -40px 0 0;
  z-index: 5;
  overflow: hidden;
  pointer-events: none;
}
.ribbon {
  position: absolute;
  left: -10%;
  width: 120%;
  top: 50%;
  border-top: 4px solid var(--ink);
  border-bottom: 4px solid var(--ink);
  overflow: hidden;
  box-shadow: 0 14px 30px -12px rgba(46, 37, 82, 0.35);
}
.ribbon--a {
  background: var(--lav);
  color: var(--paper);
  transform: translateY(-50%) rotate(-4deg);
}
.ribbon--b {
  background: var(--but);
  color: var(--ink);
  transform: translateY(-50%) rotate(3.5deg);
}
.ribbon__track {
  display: flex;
  width: max-content;
  will-change: transform;
}
.ribbon__item {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding: 14px 14px;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  line-height: 1;
  white-space: nowrap;
}
.ribbon__item svg {
  width: 0.8em;
  height: 0.8em;
}

/* ---------- SOBRE ---------- */
.about {
  padding: clamp(90px, 12vw, 170px) 0;
}
.about__grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}
.about__media {
  position: relative;
  min-height: 560px;
}
.polaroid {
  position: absolute;
  margin: 0;
  padding: 14px 14px 52px;
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 10px;
  box-shadow: var(--shadow-soft);
  width: 70%;
}
.polaroid img {
  border-radius: 6px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}
.polaroid figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  text-align: center;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--lav-deep);
}
.p1 {
  left: 0;
  top: 0;
  transform: rotate(-6deg);
}
.p2 {
  right: 0;
  bottom: 0;
  transform: rotate(5deg);
}
.about__sticker {
  position: absolute;
  width: 26%;
  right: 6%;
  top: 4%;
  transform: rotate(14deg);
  filter: drop-shadow(0 14px 16px rgba(46, 37, 82, 0.3));
}
.about__title {
  margin: 14px 0 26px;
}
.about__text {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(1.35rem, 2.3vw, 2rem);
  line-height: 1.28;
  color: var(--ink);
}
.about__text .word {
  display: inline-block;
}
.values {
  list-style: none;
  padding: 0;
  margin: 40px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.values li {
  display: grid;
  gap: 4px;
  padding: 18px;
  border: 3px solid var(--ink);
  border-radius: var(--r);
  background: var(--paper);
  box-shadow: 0 5px 0 var(--ink);
}
.values__ico {
  width: 46px;
  height: 46px;
  margin-bottom: 6px;
}
.values b {
  font-family: var(--f-display);
  font-size: 1.15rem;
}
.values small {
  color: var(--ink-2);
  font-weight: 600;
}
@media (max-width: 900px) {
  .about__grid {
    grid-template-columns: 1fr;
  }
  .about__media {
    min-height: 0;
    aspect-ratio: 1 / 0.85;
  }
  .values {
    grid-template-columns: 1fr;
  }
}

/* ---------- MONTE SEU BOLO ---------- */
.build {
  overflow: hidden;
}
.build__pin {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 10px) 0 40px;
}
.build__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(20px, 4vw, 70px);
  align-items: center;
}
.build__title {
  font-size: clamp(2.2rem, 4.6vw, 4.2rem);
  margin: 12px 0 26px;
}
.build__steps {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
  display: grid;
  gap: 8px;
}
.build__steps li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 12px 16px;
  border-radius: 18px;
  border: 3px solid transparent;
  opacity: 0.38;
  transition: opacity 0.4s, background 0.4s, border-color 0.4s, transform 0.5s var(--ease-back);
}
.build__steps li.is-on {
  opacity: 1;
  background: var(--paper);
  border-color: var(--ink);
  box-shadow: 0 5px 0 var(--ink);
  transform: translateX(8px);
}
.build__steps li.is-done {
  opacity: 0.75;
}
.build__steps b {
  font-family: var(--f-display);
  font-size: 1.6rem;
  color: var(--lav-deep);
  line-height: 1;
}
.build__steps span {
  display: grid;
  font-weight: 900;
  font-size: 1.1rem;
}
.build__steps small {
  font-weight: 600;
  color: var(--ink-2);
  font-size: 0.92rem;
}
.build__stage {
  position: relative;
  aspect-ratio: 1 / 1;
  width: min(100%, calc(100svh - var(--header-h) - 70px));
  justify-self: center;
  display: grid;
  place-items: center;
}
.build__disc {
  position: absolute;
  inset: 4%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, var(--paper) 0 30%, var(--lav-3) 31% 100%);
  border: 4px solid var(--ink);
  box-shadow: inset 0 -20px 0 rgba(46, 37, 82, 0.06);
}
.build__disc::after {
  content: '';
  position: absolute;
  inset: -22px;
  border-radius: 50%;
  border: 3px dashed var(--lav);
  animation: spin 40s linear infinite;
}
.build__cake {
  position: relative;
  width: 86%;
  z-index: 2;
}
.build__cake svg {
  width: 100%;
  overflow: visible;
}
.build__chips {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}
.build-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 8px;
  border-radius: var(--pill);
  border: 3px solid var(--ink);
  background: var(--paper);
  font-weight: 900;
  font-size: 0.95rem;
  box-shadow: 0 4px 0 var(--ink);
  white-space: nowrap;
  opacity: 0;
}
.build-chip i {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2.5px solid var(--ink);
}
.build__price {
  position: absolute;
  right: 0;
  top: 2%;
  z-index: 4;
  display: grid;
  justify-items: center;
  padding: 16px 22px;
  border-radius: 24px;
  border: 3px solid var(--ink);
  background: var(--but);
  box-shadow: 0 6px 0 var(--ink);
  transform: rotate(6deg);
}
.build__price small {
  font-weight: 800;
}
.build__price strong {
  font-family: var(--f-display);
  font-size: 1.7rem;
  line-height: 1;
}
.build__progress {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: 24px;
  height: 8px;
  border-radius: 4px;
  background: rgba(46, 37, 82, 0.1);
  overflow: hidden;
}
.build__progress span {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--lav);
  transform-origin: left;
  transform: scaleX(0);
}
@media (max-width: 900px) {
  .build__grid {
    grid-template-columns: 1fr;
  }
  .build__stage {
    order: -1;
    width: min(100%, 420px);
    justify-self: center;
  }
  .build__steps li:not(.is-on) {
    display: none;
  }
  .build__title {
    font-size: 2.2rem;
    margin-bottom: 14px;
  }
  .build__copy {
    text-align: left;
  }
  .build__pin {
    padding-top: calc(var(--header-h) + 4px);
  }
  .build__price {
    padding: 10px 14px;
  }
  .build__price strong {
    font-size: 1.25rem;
  }
}
@media (max-width: 900px) and (max-height: 760px) {
  .build__stage {
    width: min(100%, 320px);
  }
  .build__copy .btn {
    min-height: 52px;
    font-size: 1rem;
  }
}

/* ---------- CARDÁPIO ---------- */
.menu {
  overflow: hidden;
}
.menu__pin {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-h) + 20px) 0 50px;
}
.menu__head {
  margin-bottom: 36px;
}
.menu__head h2 {
  margin-top: 12px;
}
.menu__viewport {
  overflow: visible;
}
.menu__track {
  display: flex;
  gap: clamp(18px, 2.4vw, 34px);
  padding: 10px var(--gutter) 30px;
  width: max-content;
  will-change: transform;
}
.menu-card {
  position: relative;
  flex: none;
  width: clamp(300px, 30vw, 420px);
  display: flex;
  flex-direction: column;
  border: 4px solid var(--ink);
  border-radius: var(--r-lg);
  background: var(--paper);
  box-shadow: 0 10px 0 var(--ink);
  overflow: hidden;
  transform-origin: 50% 100%;
}
.menu-card__art {
  position: relative;
  height: 230px;
  display: grid;
  place-items: center;
  border-bottom: 4px solid var(--ink);
  overflow: hidden;
}
.menu-card__art > svg,
.menu-card__art > img,
.menu-card__art > .art-inner {
  position: relative;
  z-index: 1;
  width: 74%;
  max-height: 92%;
  object-fit: contain;
  filter: drop-shadow(0 12px 12px rgba(46, 37, 82, 0.22));
  transition: transform 0.6s var(--ease-back);
}
.menu-card:hover .menu-card__art > * {
  transform: scale(1.07) rotate(-3deg);
}
.mc--bolo .menu-card__art {
  background: var(--lav-3);
}
.mc--fatia .menu-card__art {
  background: var(--but);
}
.mc--brig .menu-card__art {
  --sw: 34px;
  background: repeating-linear-gradient(90deg, var(--lav) 0 34px, var(--but) 34px 68px);
}
.mc--esp .menu-card__art {
  background: var(--ink);
}
.mc--esp .menu-card__art img {
  width: 62%;
}
.art-brigs {
  display: flex;
  gap: 0;
  align-items: flex-end;
  justify-content: center;
}
.art-brigs svg {
  width: 33%;
  margin: 0 -3%;
}
.art-brigs svg:nth-child(2) {
  transform: translateY(-18%);
  width: 38%;
}
.menu-card__body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.menu-card__tag {
  align-self: flex-start;
  padding: 4px 12px;
  border-radius: var(--pill);
  background: var(--lav-4);
  border: 2px solid var(--ink);
  font-weight: 900;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.menu-card h3 {
  font-size: 2.1rem;
}
.menu-card p {
  margin: 0;
  color: var(--ink-2);
  font-weight: 600;
}
.menu-card__list {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.menu-card__list li {
  padding: 4px 10px;
  border-radius: var(--pill);
  background: var(--cream-2);
  font-weight: 800;
  font-size: 0.82rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.menu-card__list li i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--ink);
}
.menu-card__foot {
  margin-top: auto;
  padding-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.from {
  font-weight: 800;
  font-size: 0.9rem;
}
.from strong {
  display: block;
  font-family: var(--f-display);
  font-size: 1.6rem;
  line-height: 1;
}
.from em {
  font-style: normal;
  font-weight: 700;
  font-size: 0.85rem;
  margin-left: 4px;
}
.mc--esp {
  background: var(--but-3);
}
.menu-end {
  flex: none;
  width: clamp(280px, 26vw, 380px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 26px;
  padding-left: 20px;
}
.menu-end .display {
  font-size: clamp(3rem, 5vw, 4.6rem);
  margin: 0;
  color: var(--lav-deep);
}
@media (max-width: 900px) {
  .menu__pin {
    min-height: 0;
    padding: 100px 0 70px;
  }
  .menu__viewport {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .menu__viewport::-webkit-scrollbar {
    display: none;
  }
  .menu-card,
  .menu-end {
    scroll-snap-align: center;
    width: min(82vw, 360px);
  }
  .menu-card__art {
    height: 200px;
  }
}

/* ---------- BRIGADEIROS ---------- */
.brig {
  padding: clamp(90px, 11vw, 160px) 0;
  color: var(--paper);
}
.brig__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(30px, 5vw, 80px);
  align-items: center;
}
.brig__title {
  margin: 12px 0 18px;
  color: var(--paper);
}
.brig__title .hl {
  color: var(--ink);
}
.brig__lead {
  font-size: 1.15rem;
  font-weight: 600;
  max-width: 38ch;
  opacity: 0.95;
}
.brig__flavors {
  list-style: none;
  padding: 0;
  margin: 24px 0 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.brig__flavors li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px 5px 5px;
  border-radius: var(--pill);
  background: rgba(255, 253, 247, 0.14);
  border: 2px solid rgba(255, 253, 247, 0.45);
  font-weight: 800;
  font-size: 0.92rem;
}
.brig__flavors li svg {
  width: 34px;
  height: 34px;
}
.brig__flavors li small {
  font-weight: 700;
  opacity: 0.8;
}
.brig__box {
  position: relative;
  height: clamp(420px, 46vw, 600px);
  border-radius: var(--r-lg);
  border: 4px solid var(--ink);
  padding: 22px;
  background: repeating-linear-gradient(90deg, var(--lav-2) 0 40px, var(--but) 40px 80px);
  box-shadow: 0 14px 0 var(--ink), 0 30px 60px -20px rgba(0, 0, 0, 0.35);
}
.brig__box-inner {
  position: relative;
  height: 100%;
  border-radius: 20px;
  border: 4px solid var(--ink);
  background: radial-gradient(circle at 50% 30%, #f3e2c7 0, var(--kraft) 85%);
  overflow: hidden;
  box-shadow: inset 0 18px 30px rgba(46, 37, 82, 0.25);
}
.phys-ball {
  position: absolute;
  left: 0;
  top: 0;
  will-change: transform;
  pointer-events: none;
}
.phys-ball svg {
  width: 100%;
  height: 100%;
}
.brig__box-hint {
  position: absolute;
  left: 50%;
  bottom: -54px;
  transform: translateX(-50%);
  margin: 0;
  font-family: var(--f-display);
  font-weight: 700;
  color: var(--but);
  white-space: nowrap;
}
@media (max-width: 900px) {
  .brig__grid {
    grid-template-columns: 1fr;
  }
  .brig__box {
    height: 420px;
    padding: 14px;
  }
}

/* ---------- GALERIA ---------- */
.gallery {
  padding: clamp(90px, 11vw, 150px) 0 clamp(60px, 8vw, 120px);
  overflow: hidden;
}
.gallery__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}
.gallery__head h2 {
  margin-top: 12px;
}
.gallery__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2vw, 28px);
  padding: 0 var(--gutter);
  max-width: 1500px;
  margin: 0 auto;
}
.gallery__col {
  display: grid;
  gap: clamp(14px, 2vw, 28px);
  align-content: start;
  will-change: transform;
}
.gallery__col:nth-child(2) {
  margin-top: 120px;
}
.g-item {
  position: relative;
  margin: 0;
  border-radius: var(--r-lg);
  border: 4px solid var(--ink);
  overflow: hidden;
  background: var(--lav-3);
  box-shadow: 0 8px 0 var(--ink);
  cursor: pointer;
  transform-origin: 50% 50%;
}
.g-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease-out);
}
.g-item:hover img {
  transform: scale(1.06);
}
.g-item figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  max-width: calc(100% - 28px);
  padding: 6px 14px;
  border-radius: var(--pill);
  border: 3px solid var(--ink);
  background: var(--paper);
  font-weight: 900;
  font-size: 0.9rem;
  transform: translateY(10px) rotate(-2deg);
  opacity: 0;
  transition: transform 0.45s var(--ease-back), opacity 0.3s;
}
.g-item:hover figcaption,
.g-item:focus-visible figcaption {
  transform: translateY(0) rotate(-2deg);
  opacity: 1;
}
.g-item--art {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  cursor: default;
}
.g-item--art > svg,
.g-item--art > img {
  width: 70%;
  height: auto;
  filter: drop-shadow(0 14px 14px rgba(46, 37, 82, 0.25));
}
.g-item--art figcaption {
  opacity: 1;
  transform: rotate(-2deg);
}
.g-bg-lav {
  background: var(--lav);
}
.g-bg-but {
  background: var(--but);
}
.g-bg-cream {
  background: var(--cream-2);
}
.g-bg-ink {
  background: var(--ink);
}
.g-bg-stripes {
  background: repeating-linear-gradient(90deg, var(--lav) 0 30px, var(--but) 30px 60px);
}
.g-bg-check {
  background: repeating-conic-gradient(var(--lav-3) 0 25%, var(--paper) 0 50%) 0 0 / 60px 60px;
}
@media (max-width: 760px) {
  .gallery__cols {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery__col:nth-child(3) {
    display: none;
  }
  .gallery__col:nth-child(2) {
    margin-top: 60px;
  }
  .g-item figcaption {
    opacity: 1;
    transform: rotate(-2deg);
    font-size: 0.78rem;
    left: 8px;
    bottom: 8px;
  }
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 24px;
  background: rgba(46, 37, 82, 0.86);
  backdrop-filter: blur(8px);
}
.lightbox[hidden] {
  display: none;
}
.lightbox figure {
  margin: 0;
  display: grid;
  justify-items: center;
  gap: 14px;
  max-height: 100%;
}
.lightbox img {
  max-height: 78vh;
  width: auto;
  border-radius: 20px;
  border: 4px solid var(--paper);
}
.lightbox figcaption {
  color: var(--paper);
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.3rem;
}
.lightbox__close {
  position: absolute;
  top: 20px;
  right: 20px;
}

/* ---------- COMO FUNCIONA ---------- */
.how {
  padding: clamp(90px, 11vw, 150px) 0;
}
.how__head {
  text-align: center;
  margin-bottom: 60px;
}
.how__head h2 {
  margin-top: 12px;
}
.how__steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  min-height: 420px;
}
.how__path {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.how-step {
  position: relative;
  z-index: 1;
  align-self: start;
  padding: 26px 22px 22px;
  border: 4px solid var(--ink);
  border-radius: var(--r-lg);
  background: var(--paper);
  box-shadow: 0 8px 0 var(--ink);
}
.how-step:nth-child(3) {
  margin-top: 150px;
}
.how-step:nth-child(4) {
  margin-top: 40px;
}
.how-step:nth-child(5) {
  margin-top: 210px;
}
.how-step__n {
  position: absolute;
  top: -26px;
  left: 20px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.6rem;
  background: var(--but);
  border: 4px solid var(--ink);
}
.how-step:nth-child(odd) .how-step__n {
  background: var(--lav);
  color: var(--paper);
}
.how-step h3 {
  font-size: 1.55rem;
  margin: 10px 0 8px;
}
.how-step p {
  margin: 0;
  font-weight: 600;
  color: var(--ink-2);
}
@media (max-width: 900px) {
  .how__steps {
    grid-template-columns: 1fr;
    gap: 40px;
    min-height: 0;
    padding-left: 8px;
  }
  .how-step:nth-child(n) {
    margin-top: 0;
  }
  .how__path {
    display: none;
  }
}

/* ---------- DÚVIDAS ---------- */
.faq {
  padding: clamp(90px, 11vw, 150px) 0;
}
.faq__grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(30px, 5vw, 80px);
  align-items: start;
}
.faq__intro h2 {
  margin: 12px 0 18px;
}
.faq__intro .btn {
  margin-top: 10px;
}
.faq__list {
  display: grid;
  gap: 14px;
}
.faq-item {
  border: 3px solid var(--ink);
  border-radius: 24px;
  background: var(--paper);
  box-shadow: 0 5px 0 var(--ink);
  overflow: hidden;
}
.faq-item button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  border: 0;
  background: transparent;
  text-align: left;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.15;
}
.faq-item .plus {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 3px solid var(--ink);
  background: var(--but);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  font-weight: 900;
  transition: transform 0.45s var(--ease-back), background 0.3s;
}
.faq-item.is-open .plus {
  transform: rotate(135deg);
  background: var(--lav-3);
}
.faq-item__a {
  height: 0;
  overflow: hidden;
}
.faq-item__a > div {
  padding: 0 22px 22px;
  font-weight: 600;
  color: var(--ink-2);
}
@media (max-width: 900px) {
  .faq__grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- FINAL ---------- */
.finale {
  min-height: 90svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 80px var(--gutter);
}
.checker {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(var(--cols, 10), 1fr);
}
.checker .tile {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
}
.checker .tile:nth-child(odd) {
  background: var(--lav);
}
.checker .tile:nth-child(even) {
  background: var(--but);
}
.checker .tile.alt:nth-child(odd) {
  background: var(--but);
}
.checker .tile.alt:nth-child(even) {
  background: var(--lav);
}
.checker .tile img {
  width: 72%;
  height: auto;
}
.finale__card {
  position: relative;
  z-index: 2;
  max-width: 640px;
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 16px;
  padding: 50px clamp(24px, 5vw, 60px) 46px;
  background: var(--paper);
  border: 4px solid var(--ink);
  border-radius: var(--r-xl);
  box-shadow: 0 14px 0 var(--ink), 0 40px 80px -30px rgba(46, 37, 82, 0.6);
}
.finale__icon {
  width: 120px;
  margin-top: -110px;
  filter: drop-shadow(0 14px 16px rgba(46, 37, 82, 0.3));
}
.finale__card h2 {
  font-size: clamp(2.4rem, 5vw, 4rem);
}
.finale__card p {
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--ink-2);
  margin: 0 0 8px;
}

/* ---------- RODAPÉ ---------- */
.site-footer {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  padding: 80px 0 30px;
  overflow: hidden;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer__brand img {
  width: 180px;
  margin-bottom: 18px;
}
.footer__brand p {
  max-width: 30ch;
  opacity: 0.8;
}
.site-footer h4 {
  font-size: 1.25rem;
  color: var(--but);
  margin-bottom: 14px;
}
.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  font-weight: 700;
}
.site-footer ul a {
  text-decoration: none;
  opacity: 0.9;
}
.site-footer ul a:hover {
  color: var(--but);
}
.footer__giant {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(3.4rem, 12.6vw, 13rem);
  line-height: 0.85;
  text-align: center;
  white-space: nowrap;
  color: var(--lav);
  margin: 60px 0 30px;
  user-select: none;
}
.footer__giant .l {
  display: inline-block;
  transition: color 0.3s;
}
.footer__giant .l:hover {
  color: var(--but);
}
.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.88rem;
  opacity: 0.7;
}
.footer__bottom a {
  text-decoration: none;
}
@media (max-width: 900px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer__brand {
    grid-column: 1 / -1;
  }
}

/* ---------- CTA flutuante ---------- */
.float-cta {
  position: fixed;
  z-index: 55;
  right: 18px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px 8px 8px;
  border-radius: var(--pill);
  border: 3px solid var(--ink);
  background: var(--but);
  box-shadow: 0 6px 0 var(--ink);
  font-family: var(--f-display);
  font-weight: 800;
  text-decoration: none;
  transform: translateY(140%);
  transition: transform 0.6s var(--ease-back);
}
.float-cta.is-on {
  transform: translateY(0);
}
.float-cta.is-on.is-muted {
  transform: translateY(140%);
}
@media (max-width: 600px) {
  .float-cta {
    right: 12px;
    bottom: 12px;
    padding: 6px 14px 6px 6px;
    font-size: 0.9rem;
  }
  .float-cta img {
    width: 32px;
    height: 32px;
  }
  .build-chip {
    font-size: 0.78rem;
    padding: 5px 10px 5px 5px;
  }
  .build-chip i {
    width: 16px;
    height: 16px;
  }
}
.float-cta img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.float-cta__count {
  position: absolute;
  top: -8px;
  right: -6px;
  min-width: 24px;
  height: 24px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-family: var(--f-body);
  font-size: 0.75rem;
  background: var(--lav);
  color: #fff;
  border: 2px solid var(--ink);
}

/* reduzido */
@media (prefers-reduced-motion: reduce) {
  .preloader {
    display: none;
  }
  .hero__halo,
  .badge,
  .build__disc::after {
    animation: none;
  }
}
