/* Páginas de serviço (carregado em segundo plano; abrem só depois de um clique) */
/* ---------- Páginas de serviço ---------- */

.service-detail-top {
  position: sticky;
  top: 0;
  z-index: 5;
  margin: 0 -24px;
  padding: 14px 24px;
  border-radius: 0 0 22px 22px;
  background: rgba(250, 245, 242, 0.8);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  backdrop-filter: blur(16px) saturate(1.2);
}

.service-detail-progress {
  position: absolute;
  right: 24px;
  bottom: 0;
  left: 24px;
  height: 2px;
  overflow: hidden;
  border-radius: 2px;
  background: rgba(163, 18, 42, 0.08);
}

.service-detail-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #580011, #e04b55);
  transform: scaleX(var(--sp-progress, 0));
  transform-origin: left center;
}

.service-page { position: relative; }
.service-page[hidden] { display: none; }

.sp {
  --sp-ink: #160307;
  --sp-wine: #580011;
  --sp-crimson: #a3122a;
  --sp-rose: #e04b55;
  --sp-muted: #5d5357;
  --sp-grad: linear-gradient(135deg, #580011 0%, #a3122a 55%, #e04b55 100%);
  --sp-ease: cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  color: var(--sp-ink);
}

.sp > section { position: relative; z-index: 1; }

.sp em {
  color: var(--sp-crimson);
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 1.1em;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* Atmosfera */
.sp-ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.sp-ambient span {
  position: absolute;
  width: 46vmax;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  animation: sp-drift 22s ease-in-out infinite alternate;
}

.sp-ambient span:nth-child(1) { top: -18%; right: -12%; background: rgba(224, 75, 85, 0.28); }
.sp-ambient span:nth-child(2) { bottom: -25%; left: -15%; background: rgba(163, 18, 42, 0.18); animation-duration: 28s; animation-delay: -8s; }
.sp-ambient span:nth-child(3) { top: 40%; left: 40%; width: 30vmax; background: rgba(255, 190, 170, 0.35); animation-duration: 18s; animation-delay: -4s; }

@keyframes sp-drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-8vw, 6vh) scale(1.15); }
}

/* Entradas */
.sp-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 900ms ease, transform 1100ms var(--sp-ease);
  transition-delay: var(--d, 0ms);
}

.sp.is-live .sp-in { opacity: 1; transform: none; }

.sp-word {
  display: inline-block;
  margin: -0.1em 0 -0.16em;
  padding: 0.1em 0 0.16em;
  overflow: hidden;
  vertical-align: top;
}

.sp-word > span {
  display: inline-block;
  transform: translateY(112%) rotate(4deg);
  transform-origin: left bottom;
  transition: transform 1000ms var(--sp-ease);
  transition-delay: calc(var(--d0, 0ms) + var(--i) * 55ms);
}

.is-in .sp-word > span,
.sp.is-live .sp-hero .sp-word > span { transform: none; }

.sp [data-sp-reveal] > :not(.sp-section-head),
.sp [data-sp-reveal] .sp-section-head > :not(h3) {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 800ms ease 250ms, transform 1000ms var(--sp-ease) 250ms;
}

.sp [data-sp-reveal].is-in > :not(.sp-section-head),
.sp [data-sp-reveal].is-in .sp-section-head > :not(h3) { opacity: 1; transform: none; }

/* Abertura */
.sp-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(40px, 5vw, 90px);
  min-height: calc(100vh - 110px);
  padding: 40px 0 70px;
}

.sp-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 26px;
  padding: 8px 16px;
  border: 1px solid rgba(163, 18, 42, 0.18);
  border-radius: 999px;
  color: var(--sp-crimson);
  background: rgba(255, 255, 255, 0.55);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.sp-pill span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sp-grad);
  box-shadow: 0 0 0 4px rgba(195, 20, 50, 0.12);
  animation: sp-pulse 2.4s ease-in-out infinite;
}

@keyframes sp-pulse {
  50% { box-shadow: 0 0 0 8px rgba(195, 20, 50, 0); }
}

.sp-title {
  margin: 0 0 28px;
  font-size: clamp(44px, 5.4vw, 86px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.sp-lead {
  max-width: 520px;
  margin: 0 0 36px;
  color: var(--sp-muted);
  font-size: clamp(17px, 1.3vw, 20px);
  line-height: 1.6;
}

.sp-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.sp-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 58px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 15.5px;
  font-weight: 700;
  cursor: pointer;
  transition: box-shadow 300ms ease, background 300ms ease, color 300ms ease;
}

.sp-button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 300ms var(--sp-ease); }
.sp-button:hover svg { transform: translateX(4px); }
.sp-button:focus-visible { outline: 3px solid var(--sp-crimson); outline-offset: 4px; }
.sp-button-primary { color: #fff; background: var(--sp-grad); box-shadow: 0 18px 34px -16px rgba(163, 18, 42, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.2); }
.sp-button-primary:hover { box-shadow: 0 24px 44px -16px rgba(163, 18, 42, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.2); }
.sp-button-ghost { border-color: rgba(163, 18, 42, 0.22); color: var(--sp-wine); background: rgba(255, 255, 255, 0.6); }
.sp-button-ghost:hover { background: #fff; }
.sp-button-light { color: var(--sp-wine); background: #fff6f2; box-shadow: 0 18px 34px -16px rgba(0, 0, 0, 0.6); }
.sp-button-outline { border-color: rgba(255, 220, 212, 0.35); color: #fff6f2; background: rgba(255, 255, 255, 0.06); }
.sp-button-outline:hover { background: rgba(255, 255, 255, 0.14); }

/* Assinatura: canais desalinhados que se alinham */
.sp-align {
  position: relative;
  height: 470px;
}

.sp-channel {
  --x: 0px;
  --y: 0px;
  --r: 0deg;
  --s: 1;
  position: absolute;
  top: 46%;
  left: 50%;
  width: 340px;
  margin: 0;
  padding: 20px 22px 22px;
  border: 1px solid rgba(40, 10, 16, 0.07);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 26px 50px -26px rgba(88, 0, 17, 0.4), 0 2px 6px rgba(40, 10, 16, 0.05);
  transform: translate(-50%, -50%) translate(var(--x), var(--y)) rotate(var(--r)) scale(var(--s));
  transition: transform 1100ms cubic-bezier(0.7, 0, 0.2, 1), opacity 700ms ease, filter 700ms ease;
}

.sp-channel-a { --x: -120px; --y: -158px; --r: -8deg; z-index: 1; }
.sp-channel-b { --x: 140px; --y: -28px; --r: 6deg; z-index: 2; }
.sp-channel-c { --x: -80px; --y: 118px; --r: -3deg; z-index: 3; }

.sp-channel-a,
.sp-channel-b,
.sp-channel-c { animation: sp-bob 5s ease-in-out infinite alternate; }

.sp-channel-b { animation-delay: -1.7s; }
.sp-channel-c { animation-delay: -3.1s; }

@keyframes sp-bob {
  from { translate: 0 -6px; }
  to { translate: 0 7px; }
}

.sp-channel-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  color: var(--sp-muted);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sp-channel-tag i { width: 8px; height: 8px; border-radius: 50%; background: #c9b8b3; }
.sp-channel-a .sp-channel-tag i { background: #d6336c; }
.sp-channel-b .sp-channel-tag i { background: #f08c00; }
.sp-channel-c .sp-channel-tag i { background: #2f9e44; }

.sp-channel-text { margin: 0; font-size: 19.5px; font-weight: 700; letter-spacing: -0.015em; line-height: 1.35; }

.sp-channel-aligned {
  z-index: 4;
  width: 390px;
  color: #fff6f2;
  border-color: transparent;
  background: radial-gradient(ellipse at 90% 0%, rgba(224, 75, 85, 0.45), transparent 60%), linear-gradient(125deg, #2a0610, #580011 62%, #7d0d22);
  box-shadow: 0 40px 70px -30px rgba(88, 0, 17, 0.8);
  opacity: 0;
  --s: 0.86;
  --y: 20px;
}

.sp-channel-aligned .sp-channel-tag { color: rgba(255, 228, 220, 0.7); }
.sp-channel-aligned .sp-channel-tag i { background: #ff8a80; box-shadow: 0 0 10px #ff6b6b; }

.sp-aligned-badge {
  position: absolute;
  top: -14px;
  right: 18px;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--sp-wine);
  background: #fff;
  box-shadow: 0 10px 20px -8px rgba(0, 0, 0, 0.35);
  font-size: 12px;
  font-weight: 800;
  opacity: 0;
  transform: scale(0.6) rotate(-8deg);
  transition: opacity 400ms ease, transform 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sp-align.is-aligned .sp-channel-a { --x: 0px; --y: -52px; --r: 0deg; --s: 0.86; opacity: 0.8; }
.sp-align.is-aligned .sp-channel-b { --x: 0px; --y: -26px; --r: 0deg; --s: 0.93; opacity: 0.92; }
.sp-align.is-aligned .sp-channel-c { --x: 0px; --y: 0px; --r: 0deg; --s: 1; }
.sp-align.is-aligned .sp-channel-aligned { --y: 0px; --s: 1; opacity: 1; transition-delay: 700ms; }
.sp-align.is-aligned .sp-aligned-badge { opacity: 1; transform: none; transition-delay: 1300ms; }

.sp-align-caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  margin: 0;
  color: rgba(22, 3, 7, 0.45);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
}

.sp-align-caption span { color: var(--sp-crimson); font-weight: 700; }

/* Seções */
.sp-section { padding: clamp(80px, 12vh, 140px) 0 0; }

.sp-section-head { max-width: 760px; margin-bottom: 48px; }

.sp-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  color: var(--sp-crimson);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.sp-kicker::before { width: 28px; height: 2px; border-radius: 2px; background: var(--sp-grad); content: ""; }

.sp-section-head h3 {
  margin: 0 0 14px;
  font-size: clamp(34px, 3.8vw, 60px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.sp-section-head p:not(.sp-kicker) { margin: 0; color: var(--sp-muted); font-size: 17.5px; line-height: 1.6; }

/* Checklist */
.sp-check-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; align-items: stretch; }

.sp-check-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }

.sp-check-item {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  overflow: hidden;
  border: 1px solid rgba(40, 10, 16, 0.07);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 30px -24px rgba(88, 0, 17, 0.35);
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
  user-select: none;
  transition: transform 400ms var(--sp-ease), border-color 300ms ease, background 400ms ease, color 400ms ease, box-shadow 400ms ease;
}

.sp-check-item::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--sp-grad);
  clip-path: circle(0% at 36px 50%);
  content: "";
  transition: clip-path 600ms var(--sp-ease);
}

.sp-check-item input { position: absolute; opacity: 0; pointer-events: none; }

.sp-check-box {
  display: grid;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 2px solid rgba(163, 18, 42, 0.3);
  border-radius: 9px;
  background: #fff;
  transition: border-color 300ms ease, background 300ms ease;
}

.sp-check-box::after {
  width: 12px;
  height: 7px;
  border-bottom: 2.5px solid var(--sp-crimson);
  border-left: 2.5px solid var(--sp-crimson);
  content: "";
  opacity: 0;
  transform: translateY(-2px) rotate(-45deg) scale(0.3);
  transition: opacity 250ms ease, transform 400ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sp-check-item:hover { transform: translateY(-3px); border-color: rgba(163, 18, 42, 0.25); box-shadow: 0 22px 40px -26px rgba(88, 0, 17, 0.5); }
.sp-check-item:has(input:checked) { color: #fff; border-color: transparent; box-shadow: 0 22px 40px -24px rgba(163, 18, 42, 0.7); }
.sp-check-item:has(input:checked)::before { clip-path: circle(150% at 36px 50%); }
.sp-check-item input:checked + .sp-check-box { border-color: #fff; }
.sp-check-item input:checked + .sp-check-box::after { opacity: 1; transform: translateY(-2px) rotate(-45deg) scale(1); }
.sp-check-item input:focus-visible + .sp-check-box { outline: 3px solid var(--sp-crimson); outline-offset: 3px; }

.sp-score {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 30px 26px;
  overflow: hidden;
  border-radius: 24px;
  color: #fff6f2;
  background: radial-gradient(ellipse at 80% 0%, rgba(224, 75, 85, 0.45), transparent 60%), linear-gradient(150deg, #2a0610, #580011 65%, #7d0d22);
  text-align: center;
}

.sp-score-ring { width: 150px; height: 150px; margin-bottom: -112px; transform: rotate(-90deg); }
.sp-score-ring circle { fill: none; stroke: rgba(255, 255, 255, 0.12); stroke-width: 7; }
.sp-score-ring .sp-score-fill { stroke: #ff8a80; stroke-dasharray: 100; stroke-dashoffset: 100; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(255, 107, 107, 0.8)); transition: stroke-dashoffset 800ms var(--sp-ease); }

.sp-score-number { margin: 0 0 58px; line-height: 1; }
.sp-score-number strong { font-size: 46px; font-weight: 800; letter-spacing: -0.04em; }
.sp-score-number span { color: rgba(255, 228, 220, 0.55); font-size: 18px; font-weight: 700; }
.sp-score-message { min-height: 4.2em; margin: 0; color: rgba(255, 236, 230, 0.9); font-size: 15px; font-weight: 600; line-height: 1.45; transition: opacity 250ms ease; }
.sp-score.is-bumping .sp-score-number { animation: sp-bump 450ms var(--sp-ease); }

@keyframes sp-bump {
  40% { transform: scale(1.18); }
}

/* Antes e depois */
.sp-rewrite-card {
  padding: clamp(28px, 3.4vw, 46px);
  border: 1px solid rgba(40, 10, 16, 0.07);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 30px 60px -36px rgba(88, 0, 17, 0.45);
}

.sp-rewrite-row { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 24px; align-items: baseline; padding: 22px 0; }
.sp-rewrite-row + .sp-rewrite-row { border-top: 1px dashed rgba(163, 18, 42, 0.2); }

.sp-rewrite-label {
  justify-self: start;
  padding: 6px 14px;
  border-radius: 999px;
  color: var(--sp-muted);
  background: rgba(40, 10, 16, 0.06);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sp-rewrite-after .sp-rewrite-label { color: #fff; background: var(--sp-grad); }
.sp-rewrite-row p { margin: 0; font-size: clamp(20px, 2vw, 30px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.32; }
.sp-rewrite-before p { color: rgba(22, 3, 7, 0.4); }

.sp-strike {
  background: linear-gradient(var(--sp-crimson), var(--sp-crimson)) no-repeat 0 58% / 0% 3px;
  transition: background-size 1100ms cubic-bezier(0.65, 0, 0.35, 1);
}

.sp-rewrite.is-played .sp-strike { background-size: 100% 3px; }
.sp-rewrite-after p { min-height: 2.7em; color: var(--sp-ink); }

.sp-rewrite-after p.is-typing::after {
  display: inline-block;
  width: 3px;
  height: 0.95em;
  margin-left: 3px;
  background: var(--sp-crimson);
  content: "";
  vertical-align: -0.1em;
  animation: sp-caret 800ms steps(1) infinite;
}

@keyframes sp-caret { 50% { opacity: 0; } }

.sp-mark {
  padding: 0 0.08em;
  color: inherit;
  background: linear-gradient(transparent 58%, rgba(224, 75, 85, 0.35) 58%) no-repeat 0 0 / 0% 100%;
  animation: sp-mark 900ms var(--sp-ease) forwards;
  animation-delay: var(--m, 0ms);
}

@keyframes sp-mark { to { background-size: 100% 100%; } }

.sp-rewrite-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 12px; color: rgba(22, 3, 7, 0.4); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; }

.sp-replay { padding: 6px 0; border: 0; color: var(--sp-crimson); background: none; font: inherit; font-size: 13px; font-weight: 700; letter-spacing: 0.02em; text-transform: none; cursor: pointer; }
.sp-replay:focus-visible { outline: 2px solid var(--sp-crimson); outline-offset: 4px; border-radius: 4px; }

/* Entregáveis */
.sp-bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }

.sp-tile {
  --mx: 50%;
  --my: 50%;
  position: relative;
  isolation: isolate;
  padding: 26px 24px 26px;
  overflow: hidden;
  border: 1px solid rgba(40, 10, 16, 0.07);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 40px -28px rgba(88, 0, 17, 0.4);
  transition: transform 500ms var(--sp-ease), box-shadow 500ms ease, border-color 400ms ease;
}

.sp-tile::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(260px circle at var(--mx) var(--my), rgba(224, 75, 85, 0.16), transparent 65%);
  content: "";
  opacity: 0;
  transition: opacity 400ms ease;
}

.sp-tile:hover { transform: translateY(-6px); border-color: rgba(163, 18, 42, 0.22); box-shadow: 0 30px 50px -28px rgba(88, 0, 17, 0.55); }
.sp-tile:hover::before { opacity: 1; }

.sp-tile i {
  display: grid;
  width: 50px;
  height: 50px;
  margin-bottom: 26px;
  place-items: center;
  border-radius: 15px;
  color: #fff;
  background: var(--sp-grad);
  box-shadow: 0 12px 24px -10px rgba(163, 18, 42, 0.7);
  transition: transform 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sp-tile:hover i { transform: rotate(-8deg) scale(1.08); }
.sp-tile svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.sp-tile h4 { margin: 0 0 8px; font-size: 18.5px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.25; }
.sp-tile p { margin: 0; color: var(--sp-muted); font-size: 14.5px; line-height: 1.55; }

.sp-tile-feature {
  grid-row: span 2;
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  padding: 34px;
  color: #fff6f2;
  border-color: transparent;
  background: radial-gradient(ellipse at 90% 0%, rgba(224, 75, 85, 0.45), transparent 55%), linear-gradient(140deg, #2a0610, #580011 62%, #7d0d22);
}

.sp-tile-feature::before { background: radial-gradient(320px circle at var(--mx) var(--my), rgba(255, 138, 128, 0.22), transparent 65%); }
.sp-tile-feature i { color: var(--sp-wine); background: #fff6f2; box-shadow: none; }
.sp-tile-feature h4 { max-width: 360px; font-size: clamp(26px, 2.3vw, 36px); letter-spacing: -0.035em; line-height: 1.08; }
.sp-tile-feature p { max-width: 420px; color: rgba(255, 236, 230, 0.78); font-size: 16px; }

.sp-tile-index { display: flex; flex-wrap: wrap; gap: 8px; margin: auto 0 0; padding: 30px 0 0; list-style: none; }
.sp-tile-index li { padding: 7px 13px; border: 1px solid rgba(255, 220, 212, 0.28); border-radius: 999px; background: rgba(255, 255, 255, 0.06); font-size: 13px; }

.sp-bento .sp-tile:nth-child(6),
.sp-bento .sp-tile:nth-child(7) { grid-column: span 2; }

/* Etapas */
.sp-timeline { position: relative; }

.sp-timeline-track {
  position: absolute;
  top: 13px;
  right: 10%;
  left: 10%;
  height: 2px;
  border-radius: 2px;
  background: rgba(163, 18, 42, 0.12);
}

.sp-timeline-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--sp-grad);
  box-shadow: 0 0 10px rgba(224, 75, 85, 0.6);
  transform: scaleX(var(--sp-line, 0));
  transform-origin: left center;
}

.sp-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }

.sp-steps li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }

.sp-step-dot {
  position: relative;
  width: 28px;
  height: 28px;
  margin-bottom: 26px;
  border: 2px solid rgba(163, 18, 42, 0.25);
  border-radius: 50%;
  background: #faf5f2;
  transition: border-color 400ms ease, background 400ms ease, box-shadow 400ms ease, transform 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sp-steps h4 { margin: 0 0 10px; font-size: 19px; font-weight: 800; letter-spacing: -0.02em; opacity: 0.4; transition: opacity 500ms ease; }
.sp-steps p { max-width: 220px; margin: 0; color: var(--sp-muted); font-size: 14.5px; line-height: 1.55; opacity: 0.4; transition: opacity 500ms ease; }

.sp-steps li.is-active .sp-step-dot { border-color: transparent; background: var(--sp-grad); box-shadow: 0 0 0 6px rgba(224, 75, 85, 0.15), 0 0 18px rgba(224, 75, 85, 0.6); transform: scale(1.1); }
.sp-steps li.is-active h4,
.sp-steps li.is-active p { opacity: 1; }

/* Resultados */
.sp-outcomes { margin: clamp(90px, 13vh, 150px) -24px 0; overflow: hidden; }

.sp-marquee { overflow: hidden; padding: 10px 0; }

.sp-marquee-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: sp-marquee 38s linear infinite;
}

.sp-marquee-reverse .sp-marquee-track { animation-direction: reverse; animation-duration: 44s; }

.sp-marquee span {
  display: inline-flex;
  align-items: center;
  padding-right: 34px;
  font-size: clamp(32px, 4vw, 64px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.1;
  white-space: nowrap;
}

.sp-marquee span::after {
  width: 14px;
  height: 14px;
  margin-left: 34px;
  border-radius: 50%;
  background: var(--sp-grad);
  content: "";
}

.sp-marquee-reverse span {
  color: transparent;
  font-family: "Instrument Serif", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  -webkit-text-stroke: 1.2px var(--sp-crimson);
}

@keyframes sp-marquee { to { transform: translateX(-50%); } }

.sp-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Perguntas */
.sp-faq-list { display: grid; gap: 10px; max-width: 880px; }

.sp-faq-item {
  border: 1px solid rgba(40, 10, 16, 0.07);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.85);
  transition: border-color 400ms ease, box-shadow 400ms ease;
}

.sp-faq-item.is-open { border-color: rgba(163, 18, 42, 0.3); box-shadow: 0 20px 40px -28px rgba(88, 0, 17, 0.5); }
.sp-faq-item h4 { margin: 0; }

.sp-faq-item button {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  padding: 22px 70px 22px 26px;
  border: 0;
  color: var(--sp-ink);
  background: none;
  font: inherit;
  font-size: 17px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.sp-faq-item button:focus-visible { outline: 3px solid var(--sp-crimson); outline-offset: -3px; border-radius: 20px; }

.sp-faq-item button i {
  position: absolute;
  top: 50%;
  right: 24px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(163, 18, 42, 0.08);
  transform: translateY(-50%);
  transition: background 400ms ease, transform 500ms var(--sp-ease);
}

.sp-faq-item button i::before,
.sp-faq-item button i::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 2px;
  border-radius: 2px;
  background: var(--sp-crimson);
  content: "";
  transform: translate(-50%, -50%);
  transition: transform 500ms var(--sp-ease), background 400ms ease;
}

.sp-faq-item button i::after { transform: translate(-50%, -50%) rotate(90deg); }
.sp-faq-item.is-open button i { background: var(--sp-grad); transform: translateY(-50%) rotate(180deg); }
.sp-faq-item.is-open button i::before,
.sp-faq-item.is-open button i::after { background: #fff; }
.sp-faq-item.is-open button i::after { transform: translate(-50%, -50%) rotate(0deg); }

.sp-faq-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 500ms var(--sp-ease); }
.sp-faq-panel > p { min-height: 0; margin: 0; padding: 0 26px; overflow: hidden; color: var(--sp-muted); font-size: 15.5px; line-height: 1.65; opacity: 0; transition: opacity 400ms ease, padding 500ms var(--sp-ease); }
.sp-faq-item.is-open .sp-faq-panel { grid-template-rows: 1fr; }
.sp-faq-item.is-open .sp-faq-panel > p { padding-bottom: 24px; opacity: 1; }

/* Fechamento */
.sp-final {
  position: relative;
  isolation: isolate;
  margin: clamp(80px, 12vh, 140px) 0 10px;
  padding: clamp(44px, 6vw, 84px);
  overflow: hidden;
  border-radius: 34px;
  color: #fff6f2;
  background: linear-gradient(125deg, #22040b, #580011 60%, #7d0d22);
  box-shadow: 0 40px 80px -40px rgba(42, 6, 16, 0.8);
}

.sp-final-glow {
  position: absolute;
  top: -40%;
  right: -10%;
  z-index: -1;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 75, 85, 0.55), transparent 65%);
  animation: sp-drift 14s ease-in-out infinite alternate;
}

.sp-final-bug {
  position: absolute;
  right: 5%;
  bottom: -12%;
  z-index: -1;
  width: clamp(200px, 26vw, 360px);
  height: auto;
  opacity: 0.12;
  filter: brightness(0) invert(1);
  animation: sp-spin 60s linear infinite;
}

@keyframes sp-spin { to { transform: rotate(360deg); } }

.sp .sp-final[data-sp-reveal] .sp-final-bug { opacity: 0.12; }
.sp .sp-final[data-sp-reveal] .sp-final-glow { opacity: 1; }

.sp-final h3 { max-width: 760px; margin: 0 0 16px; font-size: clamp(34px, 4vw, 64px); font-weight: 800; letter-spacing: -0.045em; line-height: 1.02; }
.sp-final h3 em { color: #ff9a92; }
.sp-final p { margin: 0 0 34px; color: rgba(255, 236, 230, 0.78); font-size: 18px; }

@media (max-width: 1050px) {
  .sp-hero { grid-template-columns: 1fr; min-height: 0; padding-top: 40px; }
  .sp-align { height: 430px; }
  .sp-check-layout { grid-template-columns: 1fr; }
  .sp-score { flex-direction: row; justify-content: flex-start; gap: 20px; text-align: left; }
  .sp-score-ring { width: 96px; height: 96px; margin: 0 -96px 0 0; }
  .sp-score-number { width: 96px; margin: 0; text-align: center; }
  .sp-score-number strong { font-size: 30px; }
  .sp-score-message { min-height: 0; }
  .sp-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sp-bento .sp-tile:nth-child(6),
  .sp-bento .sp-tile:nth-child(7) { grid-column: span 1; }
  .sp-timeline-track { top: 0; bottom: 0; right: auto; left: 13px; width: 2px; height: auto; }
  .sp-timeline-track span { width: 100%; height: 100%; transform: scaleY(var(--sp-line, 0)); transform-origin: top center; }
  .sp-steps { grid-template-columns: 1fr; gap: 34px; }
  .sp-steps li { display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 22px; align-items: start; text-align: left; }
  .sp-step-dot { grid-row: span 2; margin: 0; }
  .sp-steps p { max-width: none; }
}

@media (max-width: 700px) {
  .service-detail-top { margin: 0 -19px; padding: 12px 19px; }
  .service-detail-progress { right: 19px; left: 19px; }
  .sp-align { height: 400px; }
  .sp-channel { width: 236px; padding: 14px 16px 16px; }
  .sp-channel-aligned { width: 260px; }
  .sp-channel-text { font-size: 15.5px; }
  .sp-channel-a { --x: -40px; --y: -130px; }
  .sp-channel-b { --x: 40px; --y: -20px; }
  .sp-channel-c { --x: -26px; --y: 92px; }
  .sp-check-grid,
  .sp-bento { grid-template-columns: 1fr; }
  .sp-tile-feature,
  .sp-bento .sp-tile:nth-child(6),
  .sp-bento .sp-tile:nth-child(7) { grid-column: auto; grid-row: auto; }
  .sp-rewrite-row { grid-template-columns: 1fr; gap: 12px; }
  .sp-outcomes { margin-right: -19px; margin-left: -19px; }
  .sp-actions { flex-direction: column; }
  .sp-button { justify-content: space-between; width: 100%; }
  .sp-faq-item button { padding: 20px 64px 20px 20px; font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .sp-in,
  .sp [data-sp-reveal] > *,
  .sp [data-sp-reveal] .sp-section-head > * { opacity: 1 !important; transform: none !important; }
  .sp-word > span { transform: none !important; }
  .sp-marquee-track { animation: none; }
}

/* Páginas de serviço: fundo com corpo */
.service-detail {
  background: linear-gradient(160deg, #fbf2ee 0%, #f2ddd7 48%, #f8e9e4 100%);
}

.sp-ambient span { opacity: 0.85; filter: blur(80px); }
.sp-ambient span:nth-child(1) { background: rgba(224, 75, 85, 0.42); }
.sp-ambient span:nth-child(2) { background: rgba(163, 18, 42, 0.3); }
.sp-ambient span:nth-child(3) { background: rgba(255, 170, 150, 0.5); }

.sp-ambient::before {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(163, 18, 42, 0.16) 1px, transparent 1.5px);
  background-size: 26px 26px;
  content: "";
  mask-image: radial-gradient(ellipse 80% 70% at 60% 35%, #000 10%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 35%, #000 10%, transparent 80%);
}

.sp-ambient::after {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.35 0 0 0 0 0.05 0 0 0 0 0.1 0 0 0 0.5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  content: "";
  opacity: 0.35;
  mix-blend-mode: multiply;
}

.sp-cursor {
  position: absolute;
  top: 0;
  left: 0;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 75, 85, 0.26), transparent 62%);
  opacity: 0;
  transform: translate(calc(var(--cx, 50vw) - 50%), calc(var(--cy, 40vh) - 50%));
  transition: opacity 600ms ease;
  pointer-events: none;
}

.sp-ambient.has-cursor .sp-cursor { opacity: 1; }

/* Faixas escuras */
.sp .sp-dark {
  margin-top: clamp(80px, 12vh, 140px);
  padding: clamp(80px, 12vh, 130px) 0;
  color: #fff6f2;
}

.sp .sp-dark::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: -1;
  width: 100vw;
  background:
    radial-gradient(ellipse at 85% 0%, rgba(224, 75, 85, 0.38), transparent 52%),
    radial-gradient(ellipse at 0% 100%, rgba(120, 0, 24, 0.65), transparent 55%),
    linear-gradient(140deg, #1f030a 0%, #4a0612 55%, #6d0b1e 100%);
  content: "";
  transform: translateX(-50%);
}

.sp .sp-dark::after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: -1;
  width: 100vw;
  background-image: radial-gradient(circle, rgba(255, 220, 212, 0.12) 1px, transparent 1.5px);
  background-size: 28px 28px;
  content: "";
  transform: translateX(-50%);
  mask-image: radial-gradient(ellipse 60% 80% at 80% 30%, #000 10%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 60% 80% at 80% 30%, #000 10%, transparent 75%);
}

.sp .sp-dark + .sp-section { padding-top: clamp(80px, 12vh, 140px); }

.sp-dark .sp-kicker { color: #ff9a92; }
.sp-dark .sp-section-head h3 { color: #fff6f2; }
.sp-dark em { color: #ff9a92; }
.sp-dark .sp-section-head p:not(.sp-kicker) { color: rgba(255, 236, 230, 0.72); }

.sp-dark .sp-check-item {
  color: #fff6f2;
  border-color: rgba(255, 220, 212, 0.16);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: none;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.sp-dark .sp-check-item:hover { border-color: rgba(255, 220, 212, 0.4); box-shadow: 0 20px 40px -24px rgba(0, 0, 0, 0.6); }
.sp-dark .sp-check-item::before { background: linear-gradient(135deg, #a3122a, #e04b55); }
.sp-dark .sp-check-box { border-color: rgba(255, 220, 212, 0.45); background: transparent; }
.sp-dark .sp-check-item input:checked + .sp-check-box { border-color: #fff; background: #fff; }

.sp-dark .sp-score {
  color: var(--sp-ink);
  background: radial-gradient(ellipse at 80% 0%, rgba(224, 75, 85, 0.2), transparent 60%), linear-gradient(150deg, #fff7f4, #f5e2dd);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.6);
}

.sp-dark .sp-score-ring circle { stroke: rgba(163, 18, 42, 0.14); }
.sp-dark .sp-score-ring .sp-score-fill { stroke: #c31432; filter: drop-shadow(0 0 6px rgba(224, 75, 85, 0.6)); }
.sp-dark .sp-score-number span { color: rgba(22, 3, 7, 0.4); }
.sp-dark .sp-score-message { color: var(--sp-ink); }

.sp-dark .sp-timeline-track { background: rgba(255, 220, 212, 0.16); }
.sp-dark .sp-timeline-track span { background: linear-gradient(90deg, #ff8a80, #e04b55); }
.sp-dark .sp-step-dot { border-color: rgba(255, 220, 212, 0.35); background: #3a0812; }
.sp-dark .sp-steps h4 { color: #fff6f2; }
.sp-dark .sp-steps p { color: rgba(255, 236, 230, 0.75); }
.sp-dark .sp-steps li.is-active .sp-step-dot { background: linear-gradient(135deg, #ff8a80, #e04b55); box-shadow: 0 0 0 6px rgba(255, 138, 128, 0.18), 0 0 20px rgba(255, 107, 107, 0.7); }

@media (max-width: 1050px) {
  .sp-dark .sp-timeline-track span { background: linear-gradient(180deg, #ff8a80, #e04b55); }
}

/* Páginas de serviço: hero bordô com imagem */
.sp .sp-hero {
  --pawn-x: 70%;
  --pawn-top: 37%;
  --pawn-base: 62%;
  display: flex;
  align-items: center;
  min-height: calc(100vh - 116px);
  min-height: calc(100svh - 116px);
  padding: 20px 0 110px;
  color: #fff6f2;
  isolation: isolate;
}

.sp-hero-scene {
  position: absolute;
  top: -140px;
  bottom: 0;
  left: 50%;
  z-index: -1;
  width: 100vw;
  overflow: hidden;
  border-radius: 0 0 44px 44px;
  background: linear-gradient(135deg, #22040b 0%, #4a0612 45%, #6d0b1e 100%);
  box-shadow: 0 40px 80px -40px rgba(34, 4, 11, 0.7);
  transform: translateX(-50%);
}

.sp-hero-frame {
  position: absolute;
  inset: 0;
  transform: translate3d(calc(var(--rx, 0) * -10px), calc(var(--ry, 0) * -7px), 0) scale(1.08);
  transition: transform 2600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.sp.is-live .sp-hero-frame { transform: translate3d(calc(var(--rx, 0) * -10px), calc(var(--ry, 0) * -7px), 0) scale(1); }
.sp.is-live .sp-hero-frame.is-tracking { transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1); }

.sp-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 50%;
  opacity: 0;
  filter: saturate(1.08) contrast(1.04);
  transition: opacity 1400ms ease 100ms;
}

.sp.is-live .sp-hero-img { opacity: 1; }

.sp-hero-spot {
  position: absolute;
  top: var(--pawn-base);
  left: var(--pawn-x);
  width: var(--pawn-size, 260px);
  aspect-ratio: 1.6;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(255, 70, 80, 0.55), rgba(224, 30, 50, 0.18) 42%, transparent 70%);
  mix-blend-mode: screen;
  opacity: 0;
  transform: translate(-50%, -55%);
  pointer-events: none;
}

.sp.is-live .sp-hero-spot { animation: sp-spot 4.2s ease-in-out 1.4s infinite; }

@keyframes sp-spot {
  0%, 100% { opacity: 0.35; transform: translate(-50%, -55%) scale(0.92); }
  50% { opacity: 0.95; transform: translate(-50%, -55%) scale(1.08); }
}

.sp-hero-tag {
  position: absolute;
  top: var(--pawn-top);
  left: var(--pawn-x);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 15px 9px 12px;
  border: 1px solid rgba(255, 220, 212, 0.28);
  border-radius: 999px;
  color: rgba(255, 240, 236, 0.86);
  background: rgba(34, 4, 11, 0.45);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  transform: translate(-50%, calc(-100% - 46px)) translateY(10px);
  transition: opacity 700ms ease 1900ms, transform 900ms cubic-bezier(0.22, 1, 0.36, 1) 1900ms;
}

.sp-hero-tag { z-index: 2; }
.sp-hero-tag b { color: #fff; font-weight: 800; }

.sp-hero-tag i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff6b6b;
  box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.2), 0 0 12px #ff6b6b;
}

.sp-hero-tag::after {
  position: absolute;
  top: 100%;
  left: 50%;
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, rgba(255, 220, 212, 0.6), transparent);
  content: "";
  transform-origin: top;
  transform: scaleY(0);
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1) 2300ms;
}

.sp.is-live .sp-hero-tag { opacity: 1; transform: translate(-50%, calc(-100% - 46px)); }
.sp.is-live .sp-hero-tag::after { transform: scaleY(1); }

.sp-hero-embers {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.sp-hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(30, 4, 9, 0.92) 0%, rgba(30, 4, 9, 0.72) 30%, rgba(30, 4, 9, 0.12) 56%, transparent 68%),
    linear-gradient(180deg, rgba(34, 4, 11, 0.7) 0%, transparent 22%, transparent 74%, rgba(60, 6, 18, 0.65) 100%),
    radial-gradient(ellipse at 10% 100%, rgba(109, 11, 30, 0.55), transparent 55%);
  pointer-events: none;
}

.sp-hero-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.08;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.sp-hero-copy { position: relative; max-width: 660px; }

.sp-hero-frame::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, #8a0f26 0%, #5a0816 55%, #2a040c 100%);
  content: "";
  mix-blend-mode: color;
  opacity: 0.28;
  pointer-events: none;
}

.sp-hero .sp-pill {
  border-color: rgba(255, 220, 212, 0.24);
  color: #ffd9d2;
  background: rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.sp-hero .sp-pill span { background: linear-gradient(135deg, #ff8a80, #e04b55); box-shadow: 0 0 0 4px rgba(255, 138, 128, 0.18); }
.sp-hero .sp-title { color: #fff6f2; font-size: clamp(42px, 4.9vw, 78px); text-shadow: 0 2px 30px rgba(20, 2, 6, 0.4); }
.sp-hero .sp-title em { color: #ff9a92; }
.sp-hero .sp-lead { max-width: 500px; color: rgba(255, 236, 230, 0.78); }
.sp-hero .sp-button-light:hover { background: #fff; box-shadow: 0 24px 44px -16px rgba(0, 0, 0, 0.7); }

.sp-hero-cue {
  position: absolute;
  bottom: 40px;
  left: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0;
  border: 0;
  color: rgba(255, 228, 220, 0.66);
  background: none;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
}

.sp-hero-cue span {
  position: relative;
  width: 22px;
  height: 34px;
  border: 1.5px solid rgba(255, 228, 220, 0.45);
  border-radius: 12px;
}

.sp-hero-cue span::after {
  position: absolute;
  top: 7px;
  left: 50%;
  width: 3px;
  height: 7px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: #ff9a92;
  content: "";
  animation: sp-cue 1.8s ease-in-out infinite;
}

@keyframes sp-cue {
  0% { opacity: 0; transform: translateY(-3px); }
  40% { opacity: 1; }
  100% { opacity: 0; transform: translateY(10px); }
}

.sp-hero-cue:hover { color: #fff; }
.sp-hero-cue:focus-visible { outline: 3px solid #ff9a92; outline-offset: 6px; border-radius: 8px; }

/* Cabeçalho sobre o hero */
.service-detail-top { transition: background 400ms ease, box-shadow 400ms ease; }
.service-detail-kicker,
.service-detail-close { transition: color 400ms ease, background 400ms ease, border-color 400ms ease, transform 300ms ease; }

.service-detail.is-on-hero .service-detail-top { background: rgba(34, 4, 11, 0.62); -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2); }
.service-detail.is-on-hero.is-at-top .service-detail-top { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.service-detail.is-on-hero .service-detail-kicker { color: rgba(255, 228, 220, 0.7); }
.service-detail.is-on-hero .service-detail-kicker b { color: #ff9a92; }
.service-detail.is-on-hero .service-detail-close { border-color: rgba(255, 220, 212, 0.3); color: #fff6f2; background: rgba(255, 255, 255, 0.08); box-shadow: none; }
.service-detail.is-on-hero .service-detail-close:hover { background: rgba(255, 255, 255, 0.18); }
.service-detail.is-on-hero .service-detail-progress { background: rgba(255, 220, 212, 0.1); }

/* O sintoma */
.sp-symptom {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(40px, 5vw, 80px);
}

.sp-symptom .sp-section-head { margin-bottom: 0; }

@media (max-width: 1050px) {
  .sp-symptom { grid-template-columns: 1fr; }
}

@media (max-width: 840px) {
  .sp .sp-hero {
    display: block;
    min-height: 0;
    padding: clamp(250px, 70vw, 400px) 0 96px;
  }

  .sp-hero-frame { top: 70px; bottom: auto; height: calc(clamp(250px, 70vw, 400px) + 130px); }
  .sp-hero-img { object-position: 74% 50%; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 24%); mask-image: linear-gradient(180deg, transparent 0%, #000 24%); }
  .sp-hero-tag { font-size: 11.5px; padding: 7px 12px 7px 10px; }

  .sp-hero-shade {
    background:
      linear-gradient(180deg, rgba(34, 4, 11, 0.75) 0%, transparent 26%, transparent calc(clamp(250px, 70vw, 400px) + 60px), #3a0610 calc(clamp(250px, 70vw, 400px) + 190px)),
      linear-gradient(90deg, rgba(30, 4, 9, 0.55), transparent 45%);
  }

  .sp-hero-scene { border-radius: 0 0 32px 32px; }
  .sp-hero .sp-actions { flex-direction: column; align-items: stretch; }
  .sp-hero .sp-button { justify-content: space-between; }
  .sp-hero-cue { display: none; }
  .sp .sp-hero { padding-bottom: 64px; }
}

/* Páginas de serviço: modelo banner + blocos alternados */
.sp-brid { --spb-grad: linear-gradient(100deg, #580011 0%, #a3122a 45%, #e04b55 100%); padding-bottom: 20px; }





.spb-crumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: rgba(255, 228, 220, 0.62);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.spb-crumb i { color: rgba(255, 228, 220, 0.35); font-style: normal; }
.spb-crumb b { color: #ff9a92; }




/* Fundo limpo */
.service-detail:has(.sp-brid) { background: #fff; }
.service-detail:has(.sp-brid) .service-detail-glow { display: none; }
.service-detail:not(.is-on-hero):has(.sp-brid) .service-detail-top { background: rgba(255, 255, 255, 0.86); }

/* Blocos alternados */
.spb-heading {
  margin: 0 0 22px;
  color: #a3122a;
  background: var(--spb-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: clamp(32px, 3.4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.06;
}

.spb-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(40px, 6vw, 100px);
  padding-top: clamp(80px, 11vh, 130px);
}

.spb-row.is-flip .spb-media { order: 2; }

.spb-copy p:not(.spb-num) { max-width: 520px; margin: 0 0 16px; color: var(--sp-muted); font-size: 17px; line-height: 1.75; }

.spb-num {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  color: #a3122a;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.spb-num::after { width: 44px; height: 2px; border-radius: 2px; background: var(--spb-grad); content: ""; }

.spb-media {
  position: relative;
  min-height: 420px;
  margin: 0;
  overflow: hidden;
  border-radius: 28px;
  background:
    radial-gradient(ellipse at 85% 0%, rgba(224, 75, 85, 0.4), transparent 55%),
    radial-gradient(ellipse at 0% 100%, rgba(120, 0, 24, 0.6), transparent 55%),
    linear-gradient(140deg, #1f030a 0%, #4a0612 55%, #6d0b1e 100%);
  box-shadow: 0 40px 70px -40px rgba(88, 0, 17, 0.7);
  transition: transform 600ms var(--sp-ease), box-shadow 600ms ease;
}

.spb-media::after {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 220, 212, 0.1) 1px, transparent 1.5px);
  background-size: 26px 26px;
  content: "";
  pointer-events: none;
  mask-image: radial-gradient(ellipse 70% 80% at 80% 20%, #000 10%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 80% 20%, #000 10%, transparent 75%);
}

.spb-row:hover .spb-media { transform: translateY(-6px); box-shadow: 0 50px 80px -40px rgba(88, 0, 17, 0.8); }

.spb-media-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 66% 50%;
  transform: scale(1.5);
  transform-origin: 69% 52%;
  transition: transform 1600ms var(--sp-ease);
}

.spb-row.is-in .spb-media-photo img { transform: scale(1.35); }
.spb-media-photo::after { display: none; }

.spb-media-photo figcaption {
  position: absolute;
  right: 20px;
  bottom: 20px;
  left: 20px;
  z-index: 1;
  padding: 14px 18px;
  border: 1px solid rgba(255, 220, 212, 0.2);
  border-radius: 16px;
  color: #fff6f2;
  background: rgba(34, 4, 11, 0.5);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  font-size: 15px;
  font-weight: 700;
}

/* 01: checklist */
.sp .spb-media.sp-dark { margin: 0; padding: 28px; color: #fff6f2; }
.sp .spb-media.sp-dark::before { display: none; }
.sp .spb-media.sp-dark::after { right: 0; left: 0; width: auto; transform: none; }
.spb-media-check { display: grid; grid-template-columns: minmax(0, 1fr) 150px; gap: 14px; align-items: stretch; }
.spb-media-check .sp-check-grid { grid-template-columns: 1fr; gap: 10px; }
.spb-media-check .sp-check-item { min-height: 0; padding-top: 14px; padding-bottom: 14px; font-size: 14.5px; }
.spb-media-check .sp-score { position: relative; z-index: 1; padding: 20px 14px; }
.spb-media-check .sp-score-ring { width: 110px; height: 110px; margin-bottom: -84px; }
.spb-media-check .sp-score-number { margin-bottom: 44px; }
.spb-media-check .sp-score-number strong { font-size: 34px; }
.spb-media-check .sp-score-message { min-height: 0; font-size: 13px; }

/* 02: canais */
.spb-media-align { display: grid; place-items: center; }
.spb-media-align .sp-align { width: 100%; height: 420px; transform: scale(0.86); }
.spb-media-align .sp-align-caption { bottom: 6px; color: rgba(255, 228, 220, 0.5); }
.spb-media-align .sp-align-caption span { color: #ff9a92; }

/* 03: antes e depois */
.spb-media-rewrite { display: grid; align-items: center; padding: 28px; }
.spb-media-rewrite .sp-rewrite-card { position: relative; z-index: 1; padding: 22px 26px; }
.spb-media-rewrite .sp-rewrite-row { grid-template-columns: 1fr; gap: 10px; padding: 16px 0; }
.spb-media-rewrite .sp-rewrite-label { justify-self: start; }
.spb-media-rewrite .sp-rewrite-row p { font-size: clamp(18px, 1.6vw, 23px); }

/* 04: documento */
.spb-media-doc { display: grid; place-items: center; perspective: 1200px; }

.spb-doc {
  position: relative;
  z-index: 1;
  width: min(78%, 360px);
  padding: 30px 30px 26px;
  border-radius: 18px;
  color: var(--sp-ink);
  background: linear-gradient(170deg, #fffaf8, #f6e6e1);
  box-shadow: 0 40px 60px -30px rgba(0, 0, 0, 0.7);
  transform: rotate(-4deg) rotateY(8deg);
  transition: transform 900ms var(--sp-ease);
}

.spb-doc-back {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;
  height: 76%;
  background: rgba(255, 246, 242, 0.16);
  box-shadow: none;
  transform: translate(-44%, -50%) rotate(6deg);
}

.spb-row:hover .spb-doc:not(.spb-doc-back) { transform: rotate(0deg) rotateY(0deg) translateY(-6px); }
.spb-doc-kicker { margin: 0 0 8px; color: #a3122a; font-size: 11px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }
.spb-doc-title { margin: 0 0 20px; font-size: 26px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.spb-doc ol { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; counter-reset: doc; }
.spb-doc li { display: grid; grid-template-columns: auto auto minmax(0, 1fr); align-items: center; gap: 10px; font-size: 14px; font-weight: 700; counter-increment: doc; }
.spb-doc li::before { color: #e04b55; font-size: 12px; content: counter(doc, decimal-leading-zero); }
.spb-doc li i { height: 6px; border-radius: 4px; background: rgba(163, 18, 42, 0.12); transform-origin: left; transform: scaleX(0); transition: transform 900ms var(--sp-ease); }
.spb-doc li:nth-child(2) i { transition-delay: 120ms; }
.spb-doc li:nth-child(3) i { transition-delay: 240ms; }
.spb-doc li:nth-child(4) i { transition-delay: 360ms; }
.spb-doc li:nth-child(5) i { transition-delay: 480ms; }
.spb-doc li:nth-child(6) i { transition-delay: 600ms; }
.spb-row.is-in .spb-doc li i { transform: scaleX(1); }

/* Título de seção */
.spb-intro { padding-top: clamp(90px, 12vh, 140px); text-align: center; }
.spb-intro .sp-kicker { justify-content: center; }
.spb-intro .spb-heading { margin-bottom: 0; }

/* Faixa final */
.spb-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-top: clamp(90px, 12vh, 140px);
  padding: clamp(36px, 5vw, 64px);
  overflow: hidden;
  border: 1px solid rgba(255, 138, 128, 0.25);
  border-radius: 32px;
  color: #fff6f2;
  background:
    radial-gradient(ellipse at 90% 0%, rgba(224, 75, 85, 0.45), transparent 55%),
    linear-gradient(130deg, #22040b 0%, #4a0612 55%, #6d0b1e 100%);
  box-shadow: 0 40px 80px -40px rgba(88, 0, 17, 0.8);
}

.spb-cta .spb-heading { max-width: 640px; margin-bottom: 14px; background: linear-gradient(100deg, #ffd9d2 0%, #ff9a92 50%, #e04b55 100%); -webkit-background-clip: text; background-clip: text; }
.spb-cta p { margin: 0; color: rgba(255, 236, 230, 0.78); font-size: 16px; font-weight: 600; }
.spb-cta-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; flex-shrink: 0; }

.spb-next {
  padding: 6px 0;
  border: 0;
  color: rgba(255, 228, 220, 0.75);
  background: none;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.spb-next:hover { color: #fff; }
.spb-next:focus-visible { outline: 2px solid #ff9a92; outline-offset: 4px; border-radius: 4px; }

@media (max-width: 960px) {
  .spb-row { grid-template-columns: 1fr; gap: 32px; }
  .spb-row.is-flip .spb-media { order: 0; }
  .spb-cta { flex-direction: column; align-items: flex-start; }
  .spb-cta-actions { align-items: flex-start; }
}

@media (max-width: 840px) {
}

@media (max-width: 600px) {
  .spb-media { min-height: 0; border-radius: 22px; }
  .spb-media-photo { aspect-ratio: 4 / 3.4; }
  .spb-media-check { grid-template-columns: 1fr; padding: 18px; }
  .spb-media-check .sp-score { flex-direction: row; justify-content: flex-start; gap: 16px; text-align: left; }
  .spb-media-check .sp-score-ring { width: 80px; height: 80px; margin: 0 -80px 0 0; }
  .spb-media-check .sp-score-number { width: 80px; margin: 0; text-align: center; }
  .spb-media-check .sp-score-number strong { font-size: 26px; }
  .spb-media-align .sp-align { height: 380px; transform: scale(0.9); }
  .spb-media-rewrite { padding: 16px; }
  .spb-media-doc { padding: 40px 0; }
  .spb-copy p:not(.spb-num) { font-size: 16px; }
}

/* Páginas de serviço: hero de impacto */
.sp .spb-hero { --rx: 0; --ry: 0; min-height: calc(100vh - 116px); min-height: calc(100svh - 116px); }

.spb-hero .sp-hero-copy { z-index: 2; max-width: 640px; }
.spb-hero .spb-hero-title { font-size: clamp(46px, 5.6vw, 92px); line-height: 0.96; }
.spb-hero .spb-hero-title em { font-size: 1.08em; }
.spb-hero .spb-crumb { margin-bottom: 24px; }

.spb-hero .sp-hero-shade {
  background:
    radial-gradient(ellipse 60% 55% at 12% 0%, rgba(22, 3, 7, 0.92), transparent 70%),
    linear-gradient(90deg, rgba(26, 3, 8, 0.95) 0%, rgba(30, 4, 9, 0.78) 32%, rgba(30, 4, 9, 0.15) 58%, transparent 70%),
    linear-gradient(180deg, rgba(34, 4, 11, 0.75) 0%, transparent 24%, transparent 72%, rgba(50, 6, 15, 0.75) 100%);
}

.sp.is-live .spb-hero .sp-hero-frame {
  transform-origin: var(--pawn-x) var(--pawn-base);
  animation: spb-kenburns 18s ease-in-out 2.4s infinite alternate;
}

@keyframes spb-kenburns {
  from { scale: 1; }
  to { scale: 1.07; }
}

.spb-beam {
  position: absolute;
  top: -12%;
  left: var(--pawn-x);
  width: calc(var(--pawn-size, 260px) * 1.15);
  height: calc(var(--pawn-base) + 12%);
  background: linear-gradient(180deg, rgba(255, 130, 130, 0) 0%, rgba(255, 95, 105, 0.14) 50%, rgba(255, 80, 90, 0.34) 100%);
  clip-path: polygon(43% 0, 57% 0, 100% 100%, 0 100%);
  filter: blur(8px);
  mix-blend-mode: screen;
  opacity: 0;
  transform: translateX(-50%);
  pointer-events: none;
}

.sp.is-live .spb-beam { animation: spb-beam 5.5s ease-in-out 1.2s infinite; }

@keyframes spb-beam {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

.spb-sweep { animation-delay: 2s; }

.spb-hero-cards { position: absolute; inset: 0; z-index: 1; pointer-events: none; }

.spb-hero-cards .hero-card { animation-delay: -1s, 1500ms; }
.spb-card-1 { --depth: 1.4; right: 0; bottom: 120px; }
.spb-card-2 { --depth: 0.8; bottom: 56px; left: 47%; animation-delay: -3.5s, 1900ms !important; }

@media (max-width: 1180px) {
  .spb-card-2 { display: none; }
}

@media (max-width: 840px) {
  .sp .spb-hero { min-height: 0; }
  .spb-hero-cards { display: none; }
  .spb-beam { width: calc(var(--pawn-size, 200px) * 1.3); }
  .spb-hero .sp-hero-shade {
    background:
      linear-gradient(180deg, rgba(34, 4, 11, 0.75) 0%, transparent 26%, transparent calc(clamp(250px, 70vw, 400px) + 60px), #3a0610 calc(clamp(250px, 70vw, 400px) + 190px)),
      linear-gradient(90deg, rgba(30, 4, 9, 0.55), transparent 45%);
  }
}

/* Hero: foco de luz no peão */
.spb-hero { --img-w: 1300px; --img-h: 720px; --frame-top: 0px; }
.spb-hero .sp-hero-scene { background: #050102; }

.spb-dark {
  --spot-y: calc(var(--frame-top) + var(--pawn-top) + var(--img-h) * 0.15);
  --near-x: calc(var(--pawn-x) + var(--img-w) * 0.17);
  --near-y: calc(var(--frame-top) + var(--pawn-top) + var(--img-h) * 0.1);
  position: absolute;
  inset: 0;
  background: rgba(5, 1, 2, 0.97);
  pointer-events: none;
  -webkit-mask-image:
    radial-gradient(calc(var(--img-w) * 0.17) calc(var(--img-h) * 0.42) at var(--pawn-x) var(--spot-y), transparent 0%, rgba(0, 0, 0, 0.12) 22%, rgba(0, 0, 0, 0.45) 48%, rgba(0, 0, 0, 0.8) 72%, #000 100%),
    radial-gradient(calc(var(--img-w) * 0.14) calc(var(--img-h) * 0.34) at var(--near-x) var(--near-y), rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.45) 40%, rgba(0, 0, 0, 0.8) 72%, #000 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    radial-gradient(calc(var(--img-w) * 0.17) calc(var(--img-h) * 0.42) at var(--pawn-x) var(--spot-y), transparent 0%, rgba(0, 0, 0, 0.12) 22%, rgba(0, 0, 0, 0.45) 48%, rgba(0, 0, 0, 0.8) 72%, #000 100%),
    radial-gradient(calc(var(--img-w) * 0.14) calc(var(--img-h) * 0.34) at var(--near-x) var(--near-y), rgba(0, 0, 0, 0.18) 0%, rgba(0, 0, 0, 0.45) 40%, rgba(0, 0, 0, 0.8) 72%, #000 100%);
  mask-composite: intersect;
}

.spb-hero .sp-hero-frame::after { opacity: 0.12; }
.spb-tag { top: calc(var(--frame-top) + var(--pawn-top)); z-index: 1; }

.spb-hero .sp-hero-shade {
  background:
    linear-gradient(90deg, rgba(3, 0, 1, 0.7) 0%, rgba(3, 0, 1, 0.35) 35%, transparent 55%),
    linear-gradient(180deg, rgba(3, 0, 1, 0.5) 0%, transparent 25%, transparent 80%, rgba(3, 0, 1, 0.6) 100%);
}

.spb-hero .spb-beam { opacity: 0; }
.sp.is-live .spb-hero .spb-beam { animation: spb-beam-dark 5.5s ease-in-out 1.2s infinite; }

@keyframes spb-beam-dark {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

@media (max-width: 840px) {
  .spb-hero .sp-hero-shade { background: linear-gradient(180deg, rgba(3, 0, 1, 0.5) 0%, transparent 25%, transparent 60%, #050102 100%); }
}

/* Hero tipográfico */
.sp-brid em { font-family: inherit; font-size: 1em; font-style: normal; font-weight: 800; letter-spacing: -0.04em; }

.spk-hero {
  position: relative;
  z-index: 1;
  padding: clamp(24px, 4vh, 44px) 0 clamp(44px, 7vh, 64px);
  color: #fff6f2;
  isolation: isolate;
}

.spk-bg { border-radius: 0 0 36px 36px; box-shadow: none; }

.spk-marquee {
  position: absolute;
  bottom: -0.16em;
  left: 0;
  display: flex;
  width: max-content;
  font-size: clamp(110px, 15vw, 230px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 220, 212, 0.13);
  animation: spk-marquee 60s linear infinite;
}

@keyframes spk-marquee { to { transform: translateX(-50%); } }

.spk-glow {
  position: absolute;
  top: -30%;
  right: -8%;
  width: 55vw;
  max-width: 760px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 75, 85, 0.3), transparent 62%);
  animation: spk-drift 14s ease-in-out infinite alternate;
}

@keyframes spk-drift { to { transform: translate(-14vw, 12%) scale(1.12); } }

.spk-copy { position: relative; }

.spk-hero .sp-pill {
  margin-bottom: 22px;
  border-color: rgba(255, 220, 212, 0.24);
  color: #ffd9d2;
  background: rgba(255, 255, 255, 0.06);
}

.spk-hero .sp-pill span { background: linear-gradient(135deg, #ff8a80, #e04b55); box-shadow: 0 0 0 4px rgba(255, 138, 128, 0.18); }

.spk-title {
  margin: 0 0 18px;
  color: #fff6f2;
  font-size: clamp(38px, 4.4vw, 68px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.spk-line { display: block; }
.sp.is-live .spk-hero .sp-word > span { transform: none; }

.spk-rotator { position: relative; display: inline-block; }

.spk-rotator [data-spk-word] {
  background: linear-gradient(95deg, #ffb3a8 0%, #ff7a7a 45%, #e04b55 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.spk-rotator i {
  display: inline-block;
  width: 0.07em;
  height: 0.82em;
  margin-left: 0.06em;
  border-radius: 2px;
  background: #ff7a7a;
  vertical-align: -0.06em;
  animation: spk-caret 900ms steps(1) infinite;
}

@keyframes spk-caret { 50% { opacity: 0; } }

.spk-lead { max-width: 560px; margin: 0 0 26px; color: rgba(255, 236, 230, 0.74); font-size: clamp(16px, 1.2vw, 18px); line-height: 1.6; }

.spk-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }

.spk-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }

.spk-chips li {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px 10px 12px;
  border: 1px solid rgba(255, 220, 212, 0.18);
  border-radius: 14px;
  color: rgba(255, 240, 236, 0.8);
  background: rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  font-size: 14px;
  font-weight: 700;
  animation: spk-chip 6s ease-in-out infinite;
}

.spk-chips li:nth-child(2) { animation-delay: 2s; }
.spk-chips li:nth-child(3) { animation-delay: 4s; }
.spk-chips li span { color: #ff9a92; font-size: 11px; font-weight: 800; letter-spacing: 0.1em; }

@keyframes spk-chip {
  0%, 30%, 100% { border-color: rgba(255, 220, 212, 0.18); background: rgba(255, 255, 255, 0.05); color: rgba(255, 240, 236, 0.8); }
  8%, 22% { border-color: rgba(255, 154, 146, 0.65); background: rgba(255, 138, 128, 0.16); color: #fff; }
}

@media (max-width: 700px) {
  .spk-row { align-items: stretch; flex-direction: column; }
  .spk-row .sp-button { justify-content: space-between; }
  .spk-chips li { padding: 8px 12px 8px 10px; font-size: 13px; }
  .spk-line-2 { min-height: 2.04em; }
}

/* Cena de rolagem: mão colocando o peão */
.sp .spk-hero { z-index: 2; }

.sp .spx-scene {
  --spx-fade: 0;
  --spx-move: 0;
  --spx-copy: 0;
  --spx-hint: 1;
  z-index: 1;
  width: 100vw;
  height: 320vh;
  margin: -36px 0 0 calc(50% - 50vw);
  padding-top: 36px;
  overflow: clip;
  border-radius: 0 0 40px 40px;
  background: #0b0204;
}

.spx-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: #0b0204;
}

.spx-canvas {
  position: absolute;
  top: 0;
  left: -7vw;
  width: calc(100% + 14vw);
  height: 100%;
  transform: translateX(calc(var(--spx-move) * -7vw)) scale(calc(1 + var(--spx-move) * 0.05));
  transform-origin: 40% 70%;
}

.spx-fade { position: absolute; inset: 0; background: #0b0204; opacity: calc(1 - var(--spx-fade)); pointer-events: none; }

.spx-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 2, 4, 0.85) 0%, transparent 22%, transparent 78%, rgba(11, 2, 4, 0.9) 100%),
    linear-gradient(270deg, rgba(11, 2, 4, calc(var(--spx-copy) * 0.96)) 0%, rgba(11, 2, 4, calc(var(--spx-copy) * 0.86)) 42%, transparent 70%);
  pointer-events: none;
}

.spx-copy {
  position: absolute;
  top: 50%;
  right: max(5vw, calc((100vw - 1180px) / 2));
  width: min(500px, 40vw);
  color: #fff6f2;
  transform: translateY(-46%);
  pointer-events: none;
}

.spx-copy > * {
  --spx-local: clamp(0, calc(var(--spx-copy) * 1.7 - var(--i, 0) * 0.22), 1);
  opacity: var(--spx-local);
  transform: translateY(calc((1 - var(--spx-local)) * 34px));
}

.spx-copy > :nth-child(2) { --i: 1; }
.spx-copy > :nth-child(3) { --i: 2; }
.spx-copy > :nth-child(4) { --i: 3; }

.spx-kicker { margin: 0 0 14px; color: #ff9a92; font-size: 12px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; }

.spx-heading {
  margin: 0 0 22px;
  color: #fff6f2;
  background: linear-gradient(100deg, #fff6f2 0%, #ffd9d2 45%, #ff8a80 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: clamp(32px, 3.3vw, 52px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.spx-copy p:not(.spx-kicker) { margin: 0 0 14px; color: rgba(255, 236, 230, 0.78); font-size: 16.5px; line-height: 1.7; }

.spx-hint {
  position: absolute;
  bottom: 34px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 228, 220, 0.7);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: calc(var(--spx-hint) * var(--spx-fade));
  transform: translateX(-50%);
  pointer-events: none;
}

.spx-hint i { position: relative; width: 20px; height: 32px; border: 1.5px solid rgba(255, 228, 220, 0.5); border-radius: 11px; }
.spx-hint i::after { position: absolute; top: 6px; left: 50%; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: #ff9a92; content: ""; animation: sp-cue 1.8s ease-in-out infinite; }

.spx-scene + .spb-intro { padding-top: clamp(80px, 11vh, 120px); }

.spx-scene.is-static { height: auto; }
.spx-scene.is-static .spx-stage { position: relative; }

@media (max-width: 760px), (max-width: 1100px) and (orientation: portrait) {
  .spx-canvas { left: 0; width: 100%; transform: translateY(calc(var(--spx-move) * -14vh)); transform-origin: 50% 50%; }
  .spx-shade { background: linear-gradient(180deg, rgba(11, 2, 4, 0.85) 0%, transparent 22%, transparent 40%, rgba(11, 2, 4, calc(0.4 + var(--spx-copy) * 0.55)) 62%, rgba(11, 2, 4, 0.96) 100%); }
  .spx-copy { top: auto; right: 20px; bottom: 7vh; left: 20px; width: auto; transform: none; }
  .spx-heading { font-size: 30px; }
  .spx-copy p:not(.spx-kicker) { font-size: 15px; line-height: 1.6; }
}

/* Hero se dissolvendo na cena escura */
.sp-brid .spk-hero:has(+ .spx-scene) .spk-bg { border-radius: 0; }

.sp-brid .spk-hero:has(+ .spx-scene) .spk-bg::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 55%;
  background: linear-gradient(180deg, rgba(11, 2, 4, 0) 0%, rgba(11, 2, 4, 0.55) 55%, #0b0204 100%);
  content: "";
  pointer-events: none;
}

.sp .spx-scene { margin-top: 0; padding-top: 0; }
.spx-fade { background: linear-gradient(180deg, #0b0204 0%, #0b0204 100%); }

.spx-edge {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 60%;
  background: linear-gradient(180deg, #0b0204 0%, rgba(11, 2, 4, 0.85) 30%, rgba(11, 2, 4, 0) 100%);
  opacity: var(--spx-edge, 1);
  pointer-events: none;
}

/* Conteúdo: visuais dos blocos */

/* 01: calendário */
.spc-media-cal { display: grid; align-items: center; padding: 30px; }

.spc-cal {
  position: relative;
  z-index: 1;
  padding: 22px;
  border: 1px solid rgba(255, 220, 212, 0.16);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
}

.spc-cal-head { display: flex; justify-content: space-between; margin: 0 0 16px; color: rgba(255, 228, 220, 0.6); font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.spc-cal-head b { color: #ff9a92; }
.spc-cal-days, .spc-cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.spc-cal-days { margin-bottom: 8px; color: rgba(255, 228, 220, 0.4); font-size: 11px; font-weight: 700; text-align: center; }

.spc-cal-grid i {
  aspect-ratio: 1;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 500ms ease, transform 600ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.spc-cal-grid i:nth-child(7n + 1) { transition-delay: 100ms; }
.spc-cal-grid i:nth-child(7n + 2) { transition-delay: 160ms; }
.spc-cal-grid i:nth-child(7n + 3) { transition-delay: 220ms; }
.spc-cal-grid i:nth-child(7n + 4) { transition-delay: 280ms; }
.spc-cal-grid i:nth-child(7n + 5) { transition-delay: 340ms; }
.spc-cal-grid i:nth-child(7n + 6) { transition-delay: 400ms; }
.spc-cal-grid i:nth-child(7n) { transition-delay: 460ms; }
.spb-row.is-in .spc-cal-grid i { opacity: 1; transform: none; }

.spc-cal .p1 { --c: #ff9a92; }
.spc-cal .p2 { --c: #e04b55; }
.spc-cal .p3 { --c: rgba(255, 236, 230, 0.55); }
.spc-cal .p4 { --c: #a3122a; }
.spc-cal-grid i[class] { background: var(--c); box-shadow: 0 6px 16px -8px var(--c); }

.spc-cal-legend { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 18px 0 0; padding: 0; list-style: none; color: rgba(255, 236, 230, 0.75); font-size: 12.5px; font-weight: 700; }
.spc-cal-legend li { display: flex; align-items: center; gap: 7px; }
.spc-cal-legend li::before { width: 10px; height: 10px; border-radius: 3px; background: var(--c); content: ""; }

/* 03: grade do perfil */
.spc-media-grid { display: grid; place-items: center; padding: 28px; }

.spc-profile { position: relative; z-index: 1; width: min(100%, 330px); padding: 16px; border-radius: 22px; background: #fffaf8; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7); }
.spc-profile-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.spc-profile-head i { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, #580011, #e04b55); box-shadow: 0 0 0 3px #fffaf8, 0 0 0 5px #e04b55; }
.spc-profile-head p { display: grid; gap: 2px; margin: 0; }
.spc-profile-head b { color: #160307; font-size: 14px; }
.spc-profile-head span { color: #5d5357; font-size: 11.5px; }

.spc-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }

.spc-tiles span {
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 4px;
  color: #fff6f2;
  font-size: 22px;
  font-weight: 800;
  opacity: 0;
  transform: translate(var(--tx, 0), var(--ty, 0)) rotate(var(--tr, 0deg)) scale(0.8);
  transition: transform 900ms cubic-bezier(0.22, 1, 0.36, 1), opacity 500ms ease;
}

.spc-tiles .t1 { --tx: -30px; --ty: -20px; --tr: -12deg; background: linear-gradient(140deg, #580011, #a3122a); }
.spc-tiles .t2 { --ty: -34px; --tr: 8deg; color: #580011; background: #f3e1dc; transition-delay: 60ms; }
.spc-tiles .t3 { --tx: 30px; --ty: -18px; --tr: 14deg; background: radial-gradient(circle at 30% 30%, #ff9a92, #c31432); transition-delay: 120ms; }
.spc-tiles .t4 { --tx: -36px; --tr: -6deg; color: #e04b55; background: #160307; transition-delay: 180ms; }
.spc-tiles .t5 { --tr: 18deg; background: linear-gradient(200deg, #e04b55, #580011); transition-delay: 240ms; }
.spc-tiles .t6 { --tx: 34px; --tr: -10deg; color: #580011; background: #f3e1dc; transition-delay: 300ms; }
.spc-tiles .t7 { --tx: -24px; --ty: 26px; --tr: 10deg; background: radial-gradient(circle at 70% 70%, #ff9a92, #580011); transition-delay: 360ms; }
.spc-tiles .t8 { --ty: 32px; --tr: -14deg; background: #a3122a; transition-delay: 420ms; }
.spc-tiles .t9 { --tx: 28px; --ty: 24px; --tr: 6deg; color: #fff6f2; background: #160307; transition-delay: 480ms; }
.spb-row.is-in .spc-tiles span { opacity: 1; transform: none; }

/* 04: roteiro de vídeo */
.spc-media-reel { display: flex; align-items: center; justify-content: center; gap: 28px; padding: 28px; }

.spc-reel {
  --cycle: 10s;
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  width: 190px;
  height: 340px;
  padding: 16px 14px;
  border: 6px solid #1a0307;
  border-radius: 30px;
  background: radial-gradient(circle at 50% 30%, rgba(224, 75, 85, 0.5), transparent 60%), linear-gradient(170deg, #4a0612, #160307);
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.8);
}

.spc-reel-bars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.spc-reel-bars i { position: relative; height: 3px; overflow: hidden; border-radius: 2px; background: rgba(255, 255, 255, 0.25); }
.spc-reel-bars i::after { position: absolute; inset: 0; background: #fff; content: ""; transform: scaleX(0); transform-origin: left; animation: spc-bar var(--cycle) linear infinite; }
.spc-reel-bars i:nth-child(2)::after { animation-name: spc-bar-2; }
.spc-reel-bars i:nth-child(3)::after { animation-name: spc-bar-3; }
.spc-reel-bars i:nth-child(4)::after { animation-name: spc-bar-4; }

@keyframes spc-bar { 0% { transform: scaleX(0); } 25%, 100% { transform: scaleX(1); } }
@keyframes spc-bar-2 { 0%, 25% { transform: scaleX(0); } 50%, 100% { transform: scaleX(1); } }
@keyframes spc-bar-3 { 0%, 50% { transform: scaleX(0); } 75%, 100% { transform: scaleX(1); } }
@keyframes spc-bar-4 { 0%, 75% { transform: scaleX(0); } 100% { transform: scaleX(1); } }

.spc-reel-text { position: absolute; right: 16px; bottom: 34px; left: 16px; display: grid; margin: 0; }
.spc-reel-text span { grid-area: 1 / 1; color: #fff; font-size: 17px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.25; opacity: 0; animation: spc-line var(--cycle) ease infinite; }
.spc-reel-text span:nth-child(2) { animation-delay: 2.5s; }
.spc-reel-text span:nth-child(3) { animation-delay: 5s; }
.spc-reel-text span:nth-child(4) { animation-delay: 7.5s; }

@keyframes spc-line { 0% { opacity: 0; transform: translateY(10px); } 4%, 22% { opacity: 1; transform: none; } 26%, 100% { opacity: 0; transform: translateY(-8px); } }

.spc-steps { position: relative; z-index: 1; display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }

.spc-steps li {
  display: grid;
  gap: 2px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 220, 212, 0.14);
  border-radius: 12px;
  color: rgba(255, 240, 236, 0.7);
  font-size: 14px;
  font-weight: 800;
  animation: spc-step 10s ease infinite;
}

.spc-steps li b { color: #ff9a92; font-size: 11px; letter-spacing: 0.1em; }
.spc-steps li:nth-child(2) { animation-delay: 2.5s; }
.spc-steps li:nth-child(3) { animation-delay: 5s; }
.spc-steps li:nth-child(4) { animation-delay: 7.5s; }

@keyframes spc-step {
  0%, 25%, 100% { border-color: rgba(255, 220, 212, 0.14); background: transparent; color: rgba(255, 240, 236, 0.7); }
  3%, 22% { border-color: rgba(255, 154, 146, 0.6); background: rgba(255, 138, 128, 0.14); color: #fff; }
}

@media (max-width: 600px) {
  .spc-media-reel { flex-direction: column; }
  .spc-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; }
  .spc-media-cal, .spc-media-grid { padding: 16px; }
  .spc-cal { padding: 14px; }
  .spc-cal-days, .spc-cal-grid { gap: 5px; }
}

/* Cena: camada de mídia (vídeo + tela recortada) */
.spx-media {
  position: absolute;
  top: 0;
  left: -7vw;
  width: calc(100% + 14vw);
  height: 100%;
  transform: translateX(calc(var(--spx-move) * -7vw)) scale(calc(1 + var(--spx-move) * 0.05));
  transform-origin: 40% 70%;
}

.spx-media .spx-canvas { left: 0; width: 100%; transform: none; }

.spx-screen {
  position: absolute;
  top: 0;
  left: 0;
  width: 390px;
  height: 860px;
  overflow: hidden;
  background: #f2eeec;
  font-family: var(--font-display);
  transform-origin: 0 0;
  visibility: hidden;
}

.spx-screen.is-placed { visibility: visible; }

.spf-bar {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 104px;
  padding: 50px 22px 0;
  color: #160307;
  background: linear-gradient(180deg, #f2eeec 82%, rgba(242, 238, 236, 0));
  font-size: 22px;
}

.spf-bar b { font-weight: 800; letter-spacing: -0.03em; }
.spf-track { padding-top: 104px; will-change: transform; }

.spf-post { padding-bottom: 18px; color: #2b2527; background: #f2eeec; }
.spf-post header { display: flex; align-items: center; gap: 10px; padding: 10px 14px; font-size: 14px; }
.spf-post header i { width: 32px; height: 32px; border-radius: 50%; background: #c9c1bf; }
.spf-post header span { margin-left: auto; color: #9b9294; letter-spacing: 1px; }

.spf-img {
  position: relative;
  display: grid;
  height: 390px;
  place-items: center;
  padding: 30px;
  background: linear-gradient(160deg, #d6d0ce, #bdb5b3);
  text-align: center;
}

.spf-img p { margin: 0; color: #7a7173; font-size: 30px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.12; }
.spf-actions { display: flex; gap: 16px; padding: 10px 14px 4px; color: #6b6264; font-size: 22px; }
.spf-likes { position: relative; display: grid; margin: 0; padding: 0 14px; font-size: 13px; font-weight: 800; }
.spf-likes span { grid-area: 1 / 1; transition: opacity 300ms ease, transform 300ms ease; }
.spf-cap { margin: 4px 0 0; padding: 0 14px; color: #6b6264; font-size: 13px; line-height: 1.4; }
.spf-cap b { color: #2b2527; }

.spf-post.is-brand { color: #160307; }
.spf-post.is-brand header i { background: linear-gradient(135deg, #580011, #e04b55); box-shadow: 0 0 0 2px #f2eeec, 0 0 0 4px #e04b55; }
.spf-post.is-brand .spf-img { background: radial-gradient(circle at 75% 15%, rgba(255, 154, 146, 0.6), transparent 55%), linear-gradient(150deg, #4a0612, #a3122a 60%, #e04b55); }
.spf-post.is-brand .spf-img p { color: #fff6f2; font-size: 36px; }

.spf-burst {
  position: absolute;
  top: 50%;
  left: 50%;
  color: #fff;
  font-size: 130px;
  line-height: 1;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.2);
}

.spf-count-b { opacity: 0; transform: translateY(6px); }
.spx-screen.is-liked .spf-count-a { opacity: 0; transform: translateY(-6px); }
.spx-screen.is-liked .spf-count-b { opacity: 1; transform: none; }
.spx-screen.is-liked .is-brand .spf-like { color: #e0243c; }
.spx-screen.is-liked .is-brand .spf-like::before { content: "♥"; position: absolute; }
.spf-like { position: relative; }
.spx-screen.is-liked .spf-burst { animation: spf-burst 900ms cubic-bezier(0.34, 1.56, 0.64, 1) forwards; }

@keyframes spf-burst {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.2); }
  35% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
  70% { opacity: 1; transform: translate(-50%, -50%) scale(0.95); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(1.15); }
}

@media (max-width: 760px), (max-width: 1100px) and (orientation: portrait) {
  .spx-media { left: 0; width: 100%; transform: translateY(calc(var(--spx-move) * -14vh)); transform-origin: 50% 50%; }
}

/* Branding: visuais dos blocos */

/* Fotos dos blocos */
.spd-photo { min-height: 0; aspect-ratio: 4 / 3; }
.spd-photo::after { display: none; }
.spd-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1600ms var(--sp-ease); }
.spb-row.is-in .spd-photo img { transform: none; }
.spb-row:hover .spd-photo img { transform: scale(1.03); }

/* 03: antes e depois arrastável */
.spd-media-compare { min-height: 0; padding: 0; }
.spd-media-compare::after { display: none; }
.spd-media-compare .spd-compare { border-radius: 0; }
.spd-side img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.spd-side small { z-index: 1; }

.spd-compare {
  position: relative;
  z-index: 1;
  height: 100%;
  min-height: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 18px;
  user-select: none;
}

.spd-side { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.spd-side small { position: absolute; top: 14px; padding: 5px 11px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.spd-before { background: #e8e6e3; }
.spd-before p { margin: 0; color: #2a7ab8; font-family: "Comic Sans MS", "Chalkboard SE", cursive; font-size: 30px; font-weight: 700; line-height: 1.1; text-shadow: 2px 2px 0 #f5c542; }
.spd-before p span { display: block; font-size: 46px; text-shadow: none; }
.spd-before small { left: 14px; color: #fff; background: rgba(0, 0, 0, 0.6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.spd-after { background: radial-gradient(circle at 70% 20%, rgba(224, 75, 85, 0.35), transparent 55%), #160307; clip-path: inset(0 0 0 var(--pos)); }
.spd-after p { display: flex; align-items: center; gap: 10px; margin: 0; color: #fff6f2; font-size: 40px; font-weight: 800; letter-spacing: -0.05em; }
.spd-after svg { width: 92px; height: 92px; margin: -20px -14px -20px -20px; }
.spd-after path { fill: #ff9a92; fill-rule: evenodd; }
.spd-after em { color: #e04b55; font-style: normal; }
.spd-after small { right: 14px; color: #22040b; background: #ff9a92; }

.spd-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: #fff; box-shadow: 0 0 12px rgba(0, 0, 0, 0.4); pointer-events: none; }
.spd-handle i { position: absolute; top: 50%; left: 50%; display: grid; width: 44px; height: 44px; place-items: center; border-radius: 50%; color: #580011; background: #fff; box-shadow: 0 8px 20px -6px rgba(0, 0, 0, 0.5); font-size: 20px; font-style: normal; font-weight: 800; transform: translate(-50%, -50%); }

.spd-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.spd-range:focus-visible + * { outline: none; }
.spd-compare:has(.spd-range:focus-visible) { outline: 3px solid #ff9a92; outline-offset: 3px; }

@media (max-width: 600px) {
  .spd-before p { font-size: 24px; }
  .spd-after p { font-size: 30px; }
}

/* Cena do selo: papel claro, vinheta mais forte nas bordas */
.spx-scene-light .spx-shade {
  background:
    radial-gradient(ellipse 75% 85% at 38% 55%, transparent 40%, rgba(11, 2, 4, 0.55) 100%),
    linear-gradient(180deg, rgba(11, 2, 4, 0.85) 0%, transparent 22%, transparent 78%, rgba(11, 2, 4, 0.9) 100%),
    linear-gradient(270deg, rgba(11, 2, 4, calc(var(--spx-copy) * 0.96)) 0%, rgba(11, 2, 4, calc(var(--spx-copy) * 0.86)) 42%, transparent 70%);
}

.spx-scene-light .spx-canvas { filter: brightness(calc(1 - var(--spx-copy) * 0.18)); }

@media (max-width: 760px), (max-width: 1100px) and (orientation: portrait) {
  .spx-scene-light .spx-shade { background: linear-gradient(180deg, rgba(11, 2, 4, 0.85) 0%, transparent 22%, transparent 40%, rgba(11, 2, 4, calc(0.45 + var(--spx-copy) * 0.5)) 62%, rgba(11, 2, 4, 0.96) 100%); }
  .spx-scene-light .spx-media { transform: translateY(calc(var(--spx-move) * -30vh)); }
}

/* Cena do notebook: painel da campanha */
.sp .spx-scene-laptop { height: 560vh; }
.spx-scene-laptop .spx-media { left: 0; transform: translateX(calc(var(--spx-move) * -4vw)) scale(calc(1 + var(--spx-move) * 0.03)); transform-origin: 20% 50%; }

.spx-screen-dash {
  --play: 0;
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 22px;
  width: 1280px;
  height: 800px;
  padding: 36px 40px 40px;
  color: #fff6f2;
  background: radial-gradient(ellipse at 85% 0%, rgba(224, 75, 85, 0.25), transparent 55%), #12030a;
}

.spdash-top { display: flex; align-items: center; gap: 18px; font-size: 22px; }
.spdash-top b { font-weight: 800; letter-spacing: -0.02em; }
.spdash-top span { color: rgba(255, 228, 220, 0.5); font-size: 18px; }
.spdash-top em { display: flex; align-items: center; gap: 8px; margin-left: auto; padding: 8px 16px; border: 1px solid rgba(255, 138, 128, 0.4); border-radius: 999px; color: #ff9a92; font-size: 16px; font-style: normal; font-weight: 800; }
.spdash-top em i { width: 10px; height: 10px; border-radius: 50%; background: #ff6b6b; box-shadow: 0 0 12px #ff6b6b; }

.spdash-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.spdash-kpis div { display: grid; gap: 8px; padding: 22px 24px; border: 1px solid rgba(255, 220, 212, 0.12); border-radius: 18px; background: rgba(255, 255, 255, 0.04); }
.spdash-kpis span { color: rgba(255, 228, 220, 0.55); font-size: 17px; font-weight: 700; }
.spdash-kpis b { font-size: 40px; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.spdash-kpis .is-hot { border-color: rgba(255, 138, 128, 0.5); background: linear-gradient(140deg, rgba(163, 18, 42, 0.55), rgba(88, 0, 17, 0.4)); }

.spdash-body { display: grid; grid-template-columns: 1.65fr 1fr; gap: 16px; min-height: 0; }

.spdash-chart { position: relative; display: grid; grid-template-rows: auto 1fr auto; gap: 12px; padding: 22px 24px; border: 1px solid rgba(255, 220, 212, 0.12); border-radius: 18px; background: rgba(255, 255, 255, 0.03); }
.spdash-chart p { display: flex; align-items: baseline; justify-content: space-between; margin: 0; }
.spdash-chart p span { color: rgba(255, 228, 220, 0.55); font-size: 17px; font-weight: 700; }
.spdash-chart p b { color: #ff9a92; font-size: 44px; font-weight: 800; letter-spacing: -0.03em; }
.spdash-chart svg { width: 100%; height: 100%; overflow: visible; }
.spdash-grid { fill: none; stroke: rgba(255, 220, 212, 0.08); stroke-width: 1; }
.spdash-area { fill: rgba(224, 75, 85, 0.18); clip-path: inset(0 calc((1 - var(--play)) * 100%) 0 0); }
.spdash-line { fill: none; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--play)); stroke-linecap: round; vector-effect: none; }
.spdash-sales { stroke: #ff7a7a; stroke-width: 5; filter: drop-shadow(0 0 8px rgba(255, 90, 100, 0.7)); }
.spdash-invest { stroke: rgba(255, 228, 220, 0.4); stroke-width: 3; stroke-dasharray: 0.02 0.015; stroke-dashoffset: 0; clip-path: inset(0 calc((1 - var(--play)) * 100%) 0 0); }
.spdash-chart ul { display: flex; gap: 20px; margin: 0; padding: 0; list-style: none; color: rgba(255, 228, 220, 0.6); font-size: 15px; font-weight: 700; }
.spdash-chart ul li { display: flex; align-items: center; gap: 8px; }
.spdash-chart ul i { width: 18px; height: 4px; border-radius: 2px; }
.spdash-chart ul .a { background: #ff7a7a; }
.spdash-chart ul .b { background: rgba(255, 228, 220, 0.4); }

.spdash-feed { display: grid; align-content: start; gap: 10px; margin: 0; padding: 0; overflow: hidden; list-style: none; }

.spdash-feed li {
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 220, 212, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  opacity: 0;
  transform: translateY(-12px) scale(0.97);
  transition: opacity 300ms ease, transform 400ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.spdash-feed li.is-on { opacity: 1; transform: none; }
.spdash-feed li b { font-size: 19px; font-weight: 800; }
.spdash-feed li span { color: rgba(255, 228, 220, 0.6); font-size: 15px; font-weight: 600; }
.spdash-feed li:last-child { border-color: rgba(255, 138, 128, 0.55); background: rgba(163, 18, 42, 0.4); }

@media (max-width: 760px), (max-width: 1100px) and (orientation: portrait) {
  .spx-scene-laptop .spx-media { transform: translateY(calc(var(--spx-move) * -16vh)); }
}

/* Sites: hero com grade técnica */
.sp-brid .spk-hero:has(+ .spw-scene) .spk-bg { border-radius: 0; }

.sp-brid .spk-hero:has(+ .spw-scene) .spk-bg::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 55%;
  background: linear-gradient(180deg, rgba(11, 2, 4, 0) 0%, rgba(11, 2, 4, 0.55) 55%, #0b0204 100%);
  content: "";
  pointer-events: none;
}

.spw-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 154, 146, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 154, 146, 0.07) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 90% at 70% 30%, #000 10%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 90% at 70% 30%, #000 10%, transparent 75%);
}

.spw-scan {
  position: absolute;
  right: 0;
  left: 0;
  height: 120px;
  background: linear-gradient(180deg, transparent, rgba(255, 107, 107, 0.12), transparent);
  animation: spw-scan 6s linear infinite;
}

@keyframes spw-scan { from { top: -120px; } to { top: 100%; } }

.spw-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: -8px 0 24px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 220, 212, 0.16);
  border-radius: 10px;
  color: rgba(255, 236, 230, 0.75);
  background: rgba(10, 2, 4, 0.45);
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 13px;
}

.spw-status i { width: 8px; height: 8px; border-radius: 50%; background: #5ee08a; box-shadow: 0 0 10px #5ee08a; }
.spw-status b { color: #5ee08a; font-weight: 700; }

/* Cena: o site sendo construído */
.sp .spw-scene {
  --spx-fade: 0;
  --spx-copy: 0;
  --spx-hint: 1;
  --done: 0;
  z-index: 1;
  width: 100vw;
  height: 440vh;
  margin-left: calc(50% - 50vw);
  overflow: clip;
  border-radius: 0 0 40px 40px;
  background: #0b0204;
}

.spw-stage { position: sticky; top: 0; display: grid; height: 100vh; height: 100svh; place-items: center; overflow: hidden; }

.spw-stage-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 154, 146, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 154, 146, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000 0%, transparent 80%);
}

.spw-steps {
  position: absolute;
  top: 104px;
  left: 50%;
  display: flex;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  opacity: calc(1 - var(--done));
  transform: translateX(-50%);
}

.spw-steps li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 220, 212, 0.12);
  border-radius: 999px;
  color: rgba(255, 236, 230, 0.4);
  font-size: 13px;
  font-weight: 700;
  transition: color 300ms ease, border-color 300ms ease, background 300ms ease;
}

.spw-steps b { font-family: ui-monospace, Consolas, monospace; font-size: 11px; }
.spw-steps li.is-on { border-color: rgba(255, 138, 128, 0.55); color: #fff6f2; background: rgba(163, 18, 42, 0.35); }
.spw-steps li.is-on b { color: #ff9a92; }

.spw-work {
  position: relative;
  display: grid;
  grid-template-columns: 340px 620px;
  align-items: center;
  gap: 28px;
  margin-top: 60px;
  transform: translateX(calc(var(--done) * -22vw)) scale(calc(1 - var(--done) * 0.1));
}

.spw-code {
  height: 430px;
  padding: 14px 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 220, 212, 0.12);
  border-radius: 16px;
  color: rgba(255, 236, 230, 0.78);
  background: #12040a;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8);
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 12.5px;
  line-height: 1.95;
  opacity: calc(1 - var(--done) * 1.4);
}

.spw-code-head { display: flex; align-items: center; gap: 6px; margin: 0 0 10px; padding-bottom: 10px; border-bottom: 1px solid rgba(255, 220, 212, 0.08); }
.spw-code-head i, .spw-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); }
.spw-code-head span { margin-left: 10px; color: rgba(255, 236, 230, 0.5); }
.spw-code ol { margin: 0; padding: 0; list-style: none; counter-reset: line; }
.spw-code li { white-space: nowrap; opacity: 0; transform: translateX(-6px); transition: opacity 200ms ease, transform 250ms ease; counter-increment: line; }
.spw-code li::before { display: inline-block; width: 24px; color: rgba(255, 236, 230, 0.22); content: counter(line); }
.spw-code li.is-on { opacity: 1; transform: none; }
.spw-code li:last-child.is-on { color: #5ee08a; }
.spw-code em { color: #ff9a92; font-style: normal; }
.spw-code s { color: #ffd29a; text-decoration: none; }
.spw-code u { color: #9fd6ff; text-decoration: none; }

.spw-device {
  position: relative;
  justify-self: center;
  width: 620px;
  height: 430px;
  overflow: hidden;
  border: 1px dashed rgba(255, 220, 212, 0.3);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  transition: width 700ms cubic-bezier(0.22, 1, 0.36, 1), height 700ms cubic-bezier(0.22, 1, 0.36, 1), border-radius 700ms ease, background 500ms ease, border-color 500ms ease;
}

.spw-bar { display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-bottom: 1px solid rgba(255, 220, 212, 0.1); }
.spw-bar span { margin-left: 10px; padding: 3px 12px; border-radius: 6px; color: rgba(255, 236, 230, 0.45); background: rgba(255, 255, 255, 0.05); font-family: ui-monospace, Consolas, monospace; font-size: 11px; transition: opacity 300ms ease; }

.spw-cart { position: relative; margin-left: auto; font-size: 15px; opacity: 0.4; }
.spw-cart em { position: absolute; top: -6px; right: -9px; display: grid; width: 16px; height: 16px; place-items: center; border-radius: 50%; color: #fff; background: #e0243c; font-size: 10px; font-style: normal; font-weight: 800; opacity: 0; transform: scale(0); transition: opacity 200ms ease, transform 400ms cubic-bezier(0.34, 1.56, 0.64, 1); }

.spw-page { display: grid; gap: 12px; padding: 14px; }
.spw-nav { display: flex; align-items: center; gap: 10px; }
.spw-nav b { color: transparent; background: rgba(255, 236, 230, 0.1); border-radius: 5px; font-size: 14px; font-weight: 800; transition: color 400ms ease, background 400ms ease; }
.spw-nav span { width: 46px; height: 8px; border-radius: 4px; background: rgba(255, 236, 230, 0.1); }
.spw-nav span:first-of-type { margin-left: auto; }

.spw-banner { display: grid; align-content: center; justify-items: start; gap: 8px; height: 150px; padding: 0 22px; border: 1px dashed rgba(255, 220, 212, 0.2); border-radius: 12px; transition: background 500ms ease, border-color 500ms ease, height 600ms ease; }
.spw-banner p { margin: 0; }
.spw-h { color: transparent; background: rgba(255, 236, 230, 0.1); border-radius: 6px; font-size: 28px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; transition: color 400ms ease, background 400ms ease; }
.spw-sub { color: transparent; background: rgba(255, 236, 230, 0.08); border-radius: 5px; font-size: 13px; transition: color 400ms ease, background 400ms ease; }
.spw-btn { padding: 7px 16px; border-radius: 6px; color: transparent; background: rgba(255, 236, 230, 0.12); font-size: 12px; font-weight: 800; transition: color 400ms ease, background 400ms ease, border-radius 400ms ease; }

.spw-products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.spw-prod { display: grid; gap: 4px; padding: 8px; border: 1px dashed rgba(255, 220, 212, 0.18); border-radius: 10px; transition: background 400ms ease, border-color 400ms ease; }
.spw-prod i { height: 74px; border-radius: 7px; background: rgba(255, 236, 230, 0.06); transition: background 500ms ease; }
.spw-prod > b, .spw-prod > span { color: transparent; background: rgba(255, 236, 230, 0.08); border-radius: 4px; font-size: 12px; justify-self: start; transition: color 400ms ease, background 400ms ease; }
.spw-prod em { position: relative; justify-self: stretch; padding: 5px 0; border-radius: 6px; color: transparent; background: rgba(255, 236, 230, 0.08); font-size: 11px; font-style: normal; font-weight: 800; text-align: center; transition: color 400ms ease, background 300ms ease, transform 200ms ease; }

.spw-toast { position: absolute; right: 14px; bottom: 14px; left: 14px; display: flex; align-items: center; gap: 10px; margin: 0; padding: 12px 14px; border-radius: 12px; color: #160307; background: #fff6f2; box-shadow: 0 20px 40px -16px rgba(0, 0, 0, 0.7); font-size: 14px; font-weight: 800; opacity: 0; transform: translateY(30px); transition: opacity 300ms ease, transform 500ms cubic-bezier(0.34, 1.56, 0.64, 1); }
.spw-toast b { display: grid; width: 24px; height: 24px; place-items: center; border-radius: 50%; color: #fff; background: #2fb36b; }

.spw-cursor {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  width: 22px;
  height: 22px;
  background: #fff;
  clip-path: polygon(0 0, 0 78%, 24% 60%, 42% 100%, 56% 94%, 39% 56%, 72% 56%);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.6));
  opacity: 0;
  transform: translate(140px, 120px);
  transition: transform 900ms cubic-bezier(0.65, 0, 0.35, 1), opacity 300ms ease;
  pointer-events: none;
}

/* 02 design */
.spw-scene.is-s2 .spw-device { border-style: solid; border-color: rgba(255, 220, 212, 0.16); background: #fffaf8; }
.spw-scene.is-s2 .spw-bar { border-color: rgba(22, 3, 7, 0.08); background: #f3ebe8; }
.spw-scene.is-s2 .spw-bar i:nth-child(1) { background: #ff5f57; }
.spw-scene.is-s2 .spw-bar i:nth-child(2) { background: #febc2e; }
.spw-scene.is-s2 .spw-bar i:nth-child(3) { background: #28c840; }
.spw-scene.is-s2 .spw-bar span { color: #5d5357; background: #fff; }
.spw-scene.is-s2 .spw-nav b { color: #580011; background: none; }
.spw-scene.is-s2 .spw-nav span { background: rgba(22, 3, 7, 0.12); }
.spw-scene.is-s2 .spw-banner { border-color: transparent; background: radial-gradient(circle at 85% 20%, rgba(255, 154, 146, 0.55), transparent 50%), linear-gradient(130deg, #4a0612, #a3122a 60%, #e04b55); }
.spw-scene.is-s2 .spw-h { color: #fff; background: none; }
.spw-scene.is-s2 .spw-sub { color: rgba(255, 236, 230, 0.85); background: none; }
.spw-scene.is-s2 .spw-btn { border-radius: 99px; color: #580011; background: #fff6f2; }
.spw-scene.is-s2 .spw-prod { border-style: solid; border-color: rgba(22, 3, 7, 0.08); }
.spw-scene.is-s2 .spw-prod i { background: #efe6e3; }
.spw-scene.is-s2 .spw-prod em { border-radius: 99px; background: #f1e4e0; }
.spw-scene.is-s2 .spw-cart { opacity: 1; }

/* 03 conteúdo */
.spw-scene.is-s3 .spw-prod { background: #fff; box-shadow: 0 10px 20px -14px rgba(88, 0, 17, 0.4); }
.spw-scene.is-s3 .spw-prod:nth-child(1) i { background: radial-gradient(circle at 35% 30%, #ff9a92, #a3122a 60%, #4a0612); }
.spw-scene.is-s3 .spw-prod:nth-child(2) i { background: radial-gradient(circle at 60% 40%, #e9c9a8, #8a5a3c 70%); }
.spw-scene.is-s3 .spw-prod:nth-child(3) i { background: linear-gradient(160deg, #2a1418, #160307 60%, #580011); }
.spw-scene.is-s3 .spw-prod > b { color: #160307; background: none; }
.spw-scene.is-s3 .spw-prod > span { color: #a3122a; background: none; font-weight: 800; }
.spw-scene.is-s3 .spw-prod em { color: #fff; background: #160307; }

/* 04 responsivo */
.spw-scene.is-s4 .spw-device { width: 290px; height: 500px; border: 8px solid #1a0307; border-radius: 34px; }
.spw-scene.is-s4 .spw-bar span { opacity: 0; }
.spw-scene.is-s4 .spw-banner { height: 140px; padding: 0 16px; }
.spw-scene.is-s4 .spw-h { font-size: 22px; }
.spw-scene.is-s4 .spw-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.spw-scene.is-s4 .spw-prod:nth-child(3) { display: none; }
.spw-scene.is-s4 .spw-nav span { display: none; }
.spw-scene.is-s4 .spw-nav::after { width: 18px; height: 12px; margin-left: auto; border-top: 2px solid #580011; border-bottom: 2px solid #580011; content: ""; }

/* 05 conversão */
.spw-scene.is-s5 .spw-cursor { opacity: 1; transform: translate(-4px, -6px); }
.spw-scene.is-s6 .spw-add { color: #fff; background: #e0243c; transform: scale(0.94); }
.spw-scene.is-s6 .spw-cart em { opacity: 1; transform: scale(1); }
.spw-scene.is-s6 .spw-toast { opacity: 1; transform: none; }

.spw-copy { right: max(5vw, calc((100vw - 1180px) / 2)); }
.spw-hint { opacity: calc(var(--spx-hint) * var(--spx-fade)); }
.spw-scene .spx-fade { opacity: calc(1 - var(--spx-fade)); }

.spw-scene.is-static { height: auto; }
.spw-scene.is-static .spw-stage { position: relative; }

/* Serviços: artes 3D flutuando no fundo branco */
.spw-media { display: grid; place-items: center; padding: 28px; }

.spw-art { position: relative; display: grid; place-items: center; margin: 0; }
.spw-art img {
  width: 100%;
  max-width: 580px;
  height: auto;
  mix-blend-mode: multiply;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 9%, #000 91%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0%, #000 7%, #000 93%, transparent 100%), linear-gradient(180deg, transparent 0%, #000 9%, #000 91%, transparent 100%);
  mask-composite: intersect;
  animation: spw-float 6s ease-in-out infinite alternate;
}
.spb-row.is-flip .spw-art { order: 2; }
.spb-row.is-flip .spw-art img { animation-delay: -3s; }

@media (max-width: 960px) {
  .spb-row.is-flip .spw-art { order: 0; }
  .spw-art img { max-width: 440px; }
}

@keyframes spw-float {
  from { transform: translateY(-8px) rotate(-0.4deg); }
  to { transform: translateY(10px) rotate(0.4deg); }
}

@media (max-width: 1100px) {
  .spw-work { grid-template-columns: 300px 520px; }
  .spw-device { width: 520px; }
}

@media (max-width: 900px) {
  .spw-code { display: none; }
  .spw-work { grid-template-columns: 1fr; margin-top: 30px; transform: translateY(calc(var(--done) * -22vh)) scale(calc(1 - var(--done) * 0.18)); }
  .spw-device { width: min(88vw, 360px); height: 330px; }
  .spw-scene.is-s4 .spw-device { width: 230px; height: 400px; }
  .spw-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spw-prod:nth-child(3) { display: none; }
  .spw-steps { top: 90px; flex-wrap: wrap; justify-content: center; width: 92vw; gap: 6px; }
  .spw-steps li { padding: 6px 10px; font-size: 11px; }
  .spw-copy { top: auto; right: 20px; bottom: 6vh; left: 20px; width: auto; transform: none; }
  .spw-scene .spx-heading { font-size: 28px; }
  .spw-scene .spx-copy p:not(.spx-kicker) { font-size: 14.5px; }
}


/* Sites: abertura em vídeo (mãos no notebook, câmera entra na tela) */
.sp .spw-scene[data-spw-intro] { height: 760vh; }
.spw-scene .spx-fade { z-index: 5; }
.spw-scene[data-spw-intro] .spw-work { opacity: var(--build-in, 1); }
.spw-scene[data-spw-intro] .spw-steps { opacity: calc(var(--build-in, 1) * (1 - var(--done))); }

.spx-intro { position: absolute; inset: 0; z-index: 4; background: #0b0204; opacity: var(--intro-alpha, 1); pointer-events: none; }
.spx-intro .spx-media { left: 0; width: 100%; transform: scale(var(--zoom-scale, 1)); transform-origin: var(--zoom-x, 50%) var(--zoom-y, 50%); }

.spx-screen-code {
  display: grid;
  grid-template-rows: 52px 1fr 40px;
  width: 1280px;
  height: 800px;
  color: rgba(255, 236, 230, 0.85);
  background: #10030a;
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
}

.ide-top { display: flex; align-items: center; gap: 10px; padding: 0 20px; border-bottom: 1px solid rgba(255, 220, 212, 0.08); background: #170510; }
.ide-top i { width: 13px; height: 13px; border-radius: 50%; }
.ide-top i:nth-child(1) { background: #ff5f57; }
.ide-top i:nth-child(2) { background: #febc2e; }
.ide-top i:nth-child(3) { margin-right: 18px; background: #28c840; }
.ide-top span { padding: 10px 18px; border-radius: 8px 8px 0 0; color: rgba(255, 236, 230, 0.45); font-size: 17px; }
.ide-top span.is-active { color: #fff6f2; background: #10030a; box-shadow: inset 0 2px 0 #e04b55; }

.ide-body { display: grid; grid-template-columns: 220px 1fr; min-height: 0; }
.ide-tree { margin: 0; padding: 22px 0; border-right: 1px solid rgba(255, 220, 212, 0.08); background: #140410; list-style: none; font-size: 16px; }
.ide-tree li { padding: 7px 22px 7px 40px; color: rgba(255, 236, 230, 0.55); }
.ide-tree li.is-dir { padding-left: 22px; color: rgba(255, 236, 230, 0.8); }
.ide-tree li.is-dir::before { margin-right: 8px; color: #ffd29a; content: "▾"; }
.ide-tree li.is-active { color: #fff6f2; background: rgba(224, 75, 85, 0.18); }

.ide-code { margin: 0; padding: 22px 26px; overflow: hidden; list-style: none; counter-reset: ide; font-size: 21px; line-height: 1.85; }
.ide-code li { white-space: nowrap; opacity: 0; counter-increment: ide; }
.ide-code li::before { display: inline-block; width: 44px; color: rgba(255, 236, 230, 0.22); content: counter(ide); }
.ide-code li.is-on { opacity: 1; }
.ide-code li.is-last::after { display: inline-block; width: 11px; height: 24px; margin-left: 4px; background: #ff9a92; vertical-align: -4px; content: ""; animation: spk-caret 900ms steps(1) infinite; }
.ide-code em { color: #ff9a92; font-style: normal; }
.ide-code s { color: #ffd29a; text-decoration: none; }

.ide-status { display: flex; align-items: center; justify-content: space-between; padding: 0 22px; color: rgba(255, 236, 230, 0.6); background: #580011; font-size: 15px; }
.ide-status i { display: inline-block; width: 9px; height: 9px; margin-right: 8px; border-radius: 50%; background: #5ee08a; }

/* Sistemas: cena do robô (texto à esquerda) */
.sp .spx-scene-robot { height: 420vh; }
.spx-scene-robot .spx-media { left: -12vw; width: calc(100% + 12vw); transform: none; }
.spx-scene-robot .spx-copy { right: auto; left: max(5vw, calc((100vw - 1180px) / 2)); }

.spx-scene-robot .spx-shade {
  background:
    linear-gradient(180deg, rgba(11, 2, 4, 0.85) 0%, transparent 22%, transparent 78%, rgba(11, 2, 4, 0.9) 100%),
    linear-gradient(90deg, rgba(11, 2, 4, calc(var(--spx-copy) * 0.96)) 0%, rgba(11, 2, 4, calc(var(--spx-copy) * 0.86)) 42%, transparent 70%);
}

@media (max-width: 760px), (max-width: 1100px) and (orientation: portrait) {
  .spx-scene-robot .spx-media { left: 0; width: 100%; transform: translateY(calc(var(--spx-move) * -14vh)); }
  .spx-scene-robot .spx-copy { right: 20px; left: 20px; }
  .spx-scene-robot .spx-shade { background: linear-gradient(180deg, rgba(11, 2, 4, 0.85) 0%, transparent 22%, transparent 40%, rgba(11, 2, 4, calc(0.4 + var(--spx-copy) * 0.55)) 62%, rgba(11, 2, 4, 0.96) 100%); }
}



/* Páginas de serviço: entradas em sequência dos blocos */
.sp [data-sp-reveal] .spb-heading {
  opacity: 1;
  clip-path: inset(0 -6% 100% -6%);
  transform: translateY(0.5em);
  transition: clip-path 1100ms var(--sp-ease) var(--rd, 0ms), transform 1100ms var(--sp-ease) var(--rd, 0ms);
}

.sp [data-sp-reveal].is-in .spb-heading { clip-path: inset(-20% -6% -30% -6%); transform: none; }

.sp [data-sp-reveal] > .sp-kicker,
.sp [data-sp-reveal] .spb-copy > :not(.spb-heading),
.sp [data-sp-reveal] .spb-cta-copy > p,
.sp [data-sp-reveal] > .spb-cta-actions {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms ease var(--rd, 0ms), transform 1000ms var(--sp-ease) var(--rd, 0ms);
}

.sp [data-sp-reveal].is-in > .sp-kicker,
.sp [data-sp-reveal].is-in .spb-copy > :not(.spb-heading),
.sp [data-sp-reveal].is-in .spb-cta-copy > p,
.sp [data-sp-reveal].is-in > .spb-cta-actions { opacity: 1; transform: none; }

.sp [data-sp-reveal] > .spb-copy,
.sp [data-sp-reveal] > .spb-cta-copy { opacity: 1; transform: none; transition: none; }

/* ordem: número, título, textos */
.sp .spb-intro .spb-heading { --rd: 140ms; }
.sp .spb-copy > .spb-num { --rd: 120ms; }
.sp .spb-copy > .spb-heading { --rd: 220ms; }
.sp .spb-copy > :nth-child(3) { --rd: 420ms; }
.sp .spb-copy > :nth-child(4) { --rd: 520ms; }
.sp .spb-copy > :nth-child(n + 5) { --rd: 620ms; }
.sp .spb-cta .spb-heading { --rd: 320ms; }
.sp .spb-cta-copy > p { --rd: 460ms; }
.sp .spb-cta-actions { --rd: 580ms; }

.sp [data-sp-reveal] .spb-num::after { transform: scaleX(0); transform-origin: left; transition: transform 900ms var(--sp-ease) 380ms; }
.sp [data-sp-reveal].is-in .spb-num::after { transform: none; }

/* quadro escuro abre como uma cortina, do lado de fora para o texto */
.sp .spb-row[data-sp-reveal] > .spb-media {
  opacity: 1;
  transform: none;
  clip-path: inset(-30% 100% -30% 0 round 28px);
  transition: clip-path 1300ms var(--sp-ease), transform 600ms var(--sp-ease), box-shadow 600ms ease;
}

.sp .spb-row.is-flip[data-sp-reveal] > .spb-media { clip-path: inset(-30% 0 -30% 100% round 28px); }
.sp .spb-row[data-sp-reveal].is-in > .spb-media { clip-path: inset(-30% -30% -30% -30% round 28px); }
.sp .spb-row[data-sp-reveal].is-in:hover > .spb-media { transform: translateY(-6px); }

/* arte 3D surge do desfoque e encaixa no lugar */
.sp .spb-row[data-sp-reveal] > .spw-art {
  opacity: 0;
  filter: blur(14px);
  transform: translateY(60px) scale(0.9);
  transition: opacity 900ms ease, filter 1200ms ease, transform 1400ms var(--sp-ease);
}

.sp .spb-row[data-sp-reveal].is-in > .spw-art { opacity: 1; filter: none; transform: none; }

/* faixa final abre a partir do centro */
.sp .spb-cta[data-sp-reveal] {
  clip-path: inset(18% 12% 18% 12% round 32px);
  transition: clip-path 1200ms var(--sp-ease);
}

.sp .spb-cta[data-sp-reveal].is-in { clip-path: inset(-120px -120px -120px -120px round 32px); }

/* abertura: itens entregues entram um a um */
.sp .spk-chips li { opacity: 0; translate: 0 14px; transition: opacity 600ms ease, translate 800ms var(--sp-ease); }
.sp.is-live .spk-chips li { opacity: 1; translate: none; }
.sp.is-live .spk-chips li:nth-child(1) { transition-delay: 1050ms; }
.sp.is-live .spk-chips li:nth-child(2) { transition-delay: 1130ms; }
.sp.is-live .spk-chips li:nth-child(3) { transition-delay: 1210ms; }
.sp.is-live .spk-chips li:nth-child(n + 4) { transition-delay: 1290ms; }

@media (prefers-reduced-motion: reduce) {
  .sp [data-sp-reveal] .spb-heading,
  .sp .spb-row[data-sp-reveal] > .spb-media,
  .sp .spb-cta[data-sp-reveal] { clip-path: none !important; transform: none !important; }
  .sp [data-sp-reveal] .spb-copy > *,
  .sp [data-sp-reveal] .spb-cta-copy > p,
  .sp [data-sp-reveal] > .spb-cta-actions,
  .sp .spb-row[data-sp-reveal] > .spw-art,
  .sp .spk-chips li { opacity: 1 !important; filter: none !important; transform: none !important; translate: none !important; }
  .sp [data-sp-reveal] .spb-num::after { transform: none !important; }
}



/* Páginas de serviço no celular e em telas em pé: texto da cena só aparece com o fundo já escurecido */
@media (max-width: 760px), (max-width: 1100px) and (orientation: portrait) {
  .sp .spx-scene .spx-shade {
    background: linear-gradient(180deg,
      rgba(11, 2, 4, 0.85) 0%,
      rgba(11, 2, 4, calc(var(--spx-copy) * 0.7)) 22%,
      rgba(11, 2, 4, min(0.94, calc(var(--spx-copy) * 1.15))) 42%,
      rgba(11, 2, 4, min(0.97, calc(0.35 + var(--spx-copy) * 0.9))) 60%,
      rgba(11, 2, 4, 0.97) 100%);
  }
  .sp .spx-scene .spx-media { opacity: calc(1 - var(--spx-copy) * 0.6); }
  .sp .spx-scene .spx-copy > * { --spx-local: clamp(0, calc(var(--spx-copy) * 2.4 - 0.85 - var(--i, 0) * 0.15), 1); }
}

/* Páginas de serviço: faixas de largura total medidas pela área visível (sem a barra de rolagem) */
.service-detail .sp .sp-dark::before,
.service-detail .sp .sp-dark::after,
.service-detail .sp-hero-scene { width: var(--sp-vw, 100vw); }
.service-detail .sp .spx-scene,
.service-detail .sp .spw-scene { width: var(--sp-vw, 100vw); margin-left: calc(50% - var(--sp-vw, 100vw) / 2); }

/* Cena de vídeo em tablets em pé: texto maior e linhas mais curtas */
@media (min-width: 761px) and (max-width: 1100px) and (orientation: portrait) {
  .sp .spx-scene .spx-copy { right: auto; bottom: 8vh; left: 48px; width: min(620px, calc(100% - 96px)); }
  .sp .spx-scene .spx-heading { font-size: 42px; }
  .sp .spx-scene .spx-copy p:not(.spx-kicker) { font-size: 17px; line-height: 1.65; }
}

/* Sites em tablets em pé: montagem do site maior e texto final legível */
@media (min-width: 761px) and (max-width: 1100px) and (orientation: portrait) {
  .sp .spw-scene .spw-work { scale: 1.45; }
  .sp .spw-scene .spx-copy { right: auto; left: 48px; width: min(620px, calc(100% - 96px)); }
  .sp .spw-scene .spx-heading { font-size: 40px; }
  .sp .spw-scene .spx-copy p:not(.spx-kicker) { font-size: 17px; line-height: 1.65; }
}

/* Performance em telas deitadas estreitas: notebook mais à esquerda, longe do texto */
@media (min-width: 761px) and (max-width: 1280px) and (orientation: landscape) {
  .sp .spx-scene-laptop .spx-media { left: -7vw; }
}

/* Performance em telas deitadas: texto mais à direita, longe das notificações do painel */
@media (min-width: 761px) and (orientation: landscape) {
  .sp .spx-scene-laptop .spx-copy { right: max(4vw, calc((100vw - 1440px) / 2)); width: min(470px, 35vw); }
}

/* Sites no celular: no fim da cena o site montado recua e esmaece para o texto ficar em primeiro plano */
@media (max-width: 900px) {
  .sp .spw-scene[data-spw-intro] .spw-work { opacity: calc(var(--build-in, 1) * (1 - var(--done) * 0.6)); }
}
@media (max-width: 900px) and (max-height: 760px) {
  .sp .spw-scene .spw-work { transform: translateY(calc(var(--done) * -30vh)) scale(calc(1 - var(--done) * 0.3)); }
  .sp .spw-scene[data-spw-intro] .spw-work { opacity: calc(var(--build-in, 1) * (1 - var(--done) * 0.8)); }
}

/* Cena de vídeo em celular deitado (tela baixa): texto compacto, centralizado e com fundo escuro à direita */
@media (min-width: 561px) and (max-height: 500px) and (orientation: landscape) {
  .sp .spx-scene .spx-copy,
  .sp .spw-scene .spx-copy { top: 50%; right: 4vw; bottom: auto; left: auto; width: min(440px, 50vw); transform: translateY(-50%); }
  .sp .spx-scene-robot .spx-copy { right: auto; left: 4vw; }
  .sp .spx-scene .spx-kicker,
  .sp .spw-scene .spx-kicker { margin-bottom: 6px; font-size: 11px; }
  .sp .spx-scene .spx-media { opacity: calc(1 - var(--spx-copy) * 0.35); }
  .sp .spx-scene .spx-heading,
  .sp .spw-scene .spx-heading { margin-bottom: 10px; font-size: 24px; }
  .sp .spx-scene .spx-copy p:not(.spx-kicker),
  .sp .spw-scene .spx-copy p:not(.spx-kicker) { margin-bottom: 8px; font-size: 13.5px; line-height: 1.5; }
  .sp .spx-scene .spx-shade {
    background:
      linear-gradient(180deg, rgba(11, 2, 4, 0.8) 0%, transparent 25%, transparent 80%, rgba(11, 2, 4, 0.85) 100%),
      linear-gradient(270deg, rgba(11, 2, 4, calc(var(--spx-copy) * 0.97)) 0%, rgba(11, 2, 4, calc(var(--spx-copy) * 0.92)) 52%, transparent 82%);
  }
  .sp .spx-scene-robot .spx-shade {
    background:
      linear-gradient(180deg, rgba(11, 2, 4, 0.8) 0%, transparent 25%, transparent 80%, rgba(11, 2, 4, 0.85) 100%),
      linear-gradient(90deg, rgba(11, 2, 4, calc(var(--spx-copy) * 0.97)) 0%, rgba(11, 2, 4, calc(var(--spx-copy) * 0.92)) 52%, transparent 82%);
  }
}

/* Sites em celular deitado: montagem menor, abaixo da barra de etapas */
@media (min-width: 561px) and (max-height: 500px) and (orientation: landscape) {
  .sp .spw-scene .spw-work { scale: 0.6; translate: calc(var(--done) * -26vw) 42px; }
  .sp .spw-scene.is-s4 .spw-work { scale: 0.55; translate: calc(var(--done) * -26vw) 22px; }
  .sp .spw-scene[data-spw-intro] .spw-work { opacity: calc(var(--build-in, 1) * (1 - var(--done) * 0.3)); }
}
