/* ── Category Bottom Sheet ─────────────────────────────────── */

.cat-sheet {
  position: fixed;
  inset: 0;
  z-index: 9100;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
}

.cat-sheet[hidden] {
  display: none;
}

.cat-sheet.is-open {
  pointer-events: auto;
}

/* ── Overlay ── */

.cat-sheet__overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 18, 12, 0.55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity 440ms cubic-bezier(0.32, 0.72, 0, 1);
}

.cat-sheet.is-open .cat-sheet__overlay {
  opacity: 1;
}

/* Fechamento: overlay some junto com o painel — a página já está na posição certa atrás */
.cat-sheet.is-closing .cat-sheet__overlay {
  opacity: 0;
  transition: opacity 380ms cubic-bezier(0.32, 0.72, 0, 1);
}

/* ── Panel — tokens responsivos (mobile → tablet → desktop) ── */

.cat-sheet__panel {
  --cs-max-w: 560px;
  --cs-max-h: 680px;
  --cs-vh: 84svh;
  --cs-radius: 28px;
  --cs-pad-x: 20px;
  --cs-pad-content-y: 16px;
  --cs-card-max-w: 424px;
  --cs-card-max-h: 500px;
  --cs-card-pad-y: 36px;
  --cs-card-pad-x: 28px;
  --cs-momento-title: 22px;
  --cs-momento-desc: 14px;
  --cs-tab-size: 14px;
  --cs-tab-pad-y: 11px;
  --cs-journey-title: 18px;
  --cs-journey-desc: 14px;
  --cs-cta-size: 13px;
  --cs-footer-pad-y: 12px;
  --cs-stage-pad-top: 44px;

  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: var(--cs-max-w);
  height: min(var(--cs-vh), var(--cs-max-h));
  background: #faf7f2;
  border-radius: var(--cs-radius) var(--cs-radius) 0 0;
  box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.18);
  transform: translateY(100%);
  transition:
    transform 440ms cubic-bezier(0.32, 0.72, 0, 1),
    opacity 320ms ease;
  will-change: transform;
  overflow: hidden;
}

.cat-sheet.is-open .cat-sheet__panel {
  transform: translateY(0);
  opacity: 1;
}

.cat-sheet.is-closing .cat-sheet__panel {
  opacity: 0;
  transition:
    transform 440ms cubic-bezier(0.32, 0.72, 0, 1),
    opacity 320ms ease 80ms;
}

.cat-sheet.is-dragging .cat-sheet__panel {
  transition: none;
}

/* ── Drag handle ── */

.cat-sheet__drag-zone {
  flex-shrink: 0;
  padding: 10px 0 4px;
  cursor: grab;
  touch-action: none;
  -webkit-tap-highlight-color: transparent;
}

.cat-sheet__drag-zone:active {
  cursor: grabbing;
}

.cat-sheet__drag {
  display: block;
  width: 38px;
  height: 4px;
  margin: 0 auto;
  border-radius: 2px;
  background: rgba(43, 73, 57, 0.15);
}

/* ── Header ── */

.cat-sheet__header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 4px var(--cs-pad-x) 12px;
  padding-top: max(4px, env(safe-area-inset-top));
  flex-shrink: 0;
}

.cat-sheet__header-main {
  grid-column: 1 / -1;
  grid-row: 1;
  justify-self: center;
  text-align: center;
}

.cat-sheet__title {
  margin: 0;
  font-family: 'Montserrat', var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.35;
  color: #2b4939;
}

.cat-sheet__close {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  z-index: 1;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid rgba(43, 73, 57, 0.18);
  background: transparent;
  color: #2b4939;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.cat-sheet__close:hover {
  background: rgba(43, 73, 57, 0.06);
}

.cat-sheet__close svg {
  width: 14px;
  height: 14px;
}

/* ── Tabs — glass pill segmented control ── */

.cat-sheet__tabs {
  flex-shrink: 0;
  padding: 0 var(--cs-pad-x) 14px;
}

.cat-sheet__tabs-inner {
  position: relative;
  display: flex;
  gap: 4px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(18px) saturate(1.35);
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
  border: 1px solid rgba(255, 255, 255, 0.62);
  box-shadow:
    0 2px 16px rgba(43, 73, 57, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.cat-sheet__tab {
  position: relative;
  z-index: 1;
  flex: 1;
  padding: var(--cs-tab-pad-y) 10px;
  border: none;
  border-radius: 999px;
  background: transparent;
  font-family: var(--font-heading);
  font-size: var(--cs-tab-size);
  font-weight: var(--weight-title-soft);
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: rgba(43, 73, 57, 0.42);
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  white-space: nowrap;
  transition: color 0.25s ease, font-weight 0.25s ease;
}

.cat-sheet__tab:hover:not(.is-active) {
  color: rgba(43, 73, 57, 0.68);
}

.cat-sheet__tab.is-active {
  color: #faf7f2;
  font-weight: var(--weight-title);
}

.cat-sheet__tab-indicator {
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 0;
  z-index: 0;
  border-radius: 999px;
  background: #2b4939;
  border: 1px solid rgba(43, 73, 57, 0.2);
  box-shadow:
    0 2px 8px rgba(43, 73, 57, 0.22),
    0 6px 20px rgba(43, 73, 57, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition:
    left 0.35s cubic-bezier(0.32, 0.72, 0, 1),
    width 0.35s cubic-bezier(0.32, 0.72, 0, 1);
  will-change: left, width;
}

/* ── Content area ── */

.cat-sheet__content {
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  overscroll-behavior: contain;
}

.cat-sheet__panels {
  position: relative;
  height: 100%;
}

.cat-sheet__panel-tab {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: var(--cs-pad-content-y) var(--cs-pad-x);
  opacity: 0;
  visibility: hidden;
  transform: translateX(24px);
  transition: none;
  overflow: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  pointer-events: none;
  z-index: 0;
}

.cat-sheet__panel-tab.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  pointer-events: auto;
  z-index: 1;
}

.cat-sheet__panel-tab.is-exiting-left {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.cat-sheet__panel-tab.is-exiting-right {
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.cat-sheet__panel-tab.is-entering-from-right {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  transition: opacity 300ms ease, transform 300ms ease;
  pointer-events: auto;
  z-index: 2;
}

.cat-sheet__panel-tab.is-entering-from-left {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  transition: opacity 300ms ease, transform 300ms ease;
  pointer-events: auto;
  z-index: 2;
}

/* ── Footer CTA ── */

.cat-sheet__footer {
  flex-shrink: 0;
  padding: var(--cs-footer-pad-y) var(--cs-pad-x);
  padding-bottom: max(16px, env(safe-area-inset-bottom));
  border-top: 1px solid rgba(43, 73, 57, 0.08);
}

.cat-sheet__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 20px;
  border-radius: 20px;
  border: 2px solid var(--color-secondary);
  background: transparent;
  color: var(--color-secondary);
  font-size: var(--cs-cta-size);
  text-decoration: none;
  opacity: 1;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition:
    background var(--duration-fast) ease,
    border-color var(--duration-fast) ease,
    color var(--duration-fast) ease;
}

.cat-sheet__cta:hover,
.cat-sheet__cta:active {
  opacity: 1;
  background: var(--color-secondary);
  border-color: var(--color-secondary);
  color: var(--color-cream);
}

.cat-sheet__cta:focus-visible {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}

.cat-sheet__content:has([data-panel="momentos"].is-active) {
  overflow: visible;
}

.cat-sheet__panel-tab[data-panel="momentos"] {
  overflow: visible;
}

/* ── Aba 1 — Momentos (card stack) ── */

.cs-momentos {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}

.cs-momentos-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  min-height: 0;
  gap: 14px;
}

.cs-momentos-stack__stage {
  position: relative;
  flex: 1 1 auto;
  width: 100%;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--cs-stage-pad-top) 12px 4px;
  overflow: visible;
  cursor: pointer;
  touch-action: none;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
}

.cs-momentos-stack__cards {
  position: relative;
  width: min(100%, var(--cs-card-max-w));
  height: auto;
  max-height: min(100%, var(--cs-card-max-h));
  aspect-ratio: 5 / 6;
  flex-shrink: 0;
  overflow: visible;
}

.cs-momentos-stack__card {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: var(--cs-card-pad-y) var(--cs-card-pad-x);
  border-radius: 26px;
  background: #2b4939;
  border: none;
  box-shadow:
    0 14px 40px rgba(43, 73, 57, 0.22),
    0 2px 0 rgba(255, 255, 255, 0.06) inset;
  opacity: 0;
  overflow: hidden;
  transform:
    translate3d(var(--ms-x, 0), var(--ms-y, 0), 0)
    rotate(var(--ms-rotate, 0deg))
    scale(var(--ms-scale, 1));
  transform-origin: center center;
  transition:
    transform 0.56s cubic-bezier(0.22, 1.12, 0.36, 1),
    box-shadow 0.35s ease,
    opacity 0.3s ease;
  will-change: transform;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
  outline: none;
  pointer-events: none;
}

.cs-momentos-stack__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.cs-momentos-stack__media picture {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.cs-momentos-stack__media img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: blur(3px);
  transform: scale(1.08);
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.cs-momentos-stack__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      165deg,
      rgba(18, 32, 25, 0.42) 0%,
      rgba(18, 32, 25, 0.68) 42%,
      rgba(12, 24, 19, 0.86) 100%
    );
  pointer-events: none;
}

.cs-momentos-stack.is-ready .cs-momentos-stack__card {
  opacity: 1;
}

.cs-momentos-stack__card.is-top {
  pointer-events: auto;
  cursor: pointer;
  box-shadow:
    0 20px 48px rgba(43, 73, 57, 0.28),
    0 2px 0 rgba(255, 255, 255, 0.08) inset;
}

.cs-momentos-stack__card.is-top:focus:not(:focus-visible) {
  outline: none;
}

.cs-momentos-stack__card.is-top:focus-visible {
  outline: 2px solid rgba(250, 247, 242, 0.85);
  outline-offset: 4px;
}

.cs-momentos-stack__card.is-top:active {
  transform:
    translate3d(var(--ms-x, 0), calc(var(--ms-y, 0px) + 2px), 0)
    rotate(var(--ms-rotate, 0deg))
    scale(calc(var(--ms-scale, 1) * 0.985));
}

.cs-momentos-stack__card.is-top.is-bouncing {
  transition: none;
  animation: cs-momentos-card-bounce 0.48s cubic-bezier(0.22, 1.12, 0.36, 1) both;
}

@keyframes cs-momentos-card-bounce {
  0%, 100% {
    transform:
      translate3d(var(--ms-x, 0), var(--ms-y, 0), 0)
      rotate(var(--ms-rotate, 0deg))
      scale(var(--ms-scale, 1));
  }
  42% {
    transform:
      translate3d(var(--ms-x, 0), calc(var(--ms-y, 0px) - 7px), 0)
      rotate(var(--ms-rotate, 0deg))
      scale(calc(var(--ms-scale, 1) * 1.028));
  }
  72% {
    transform:
      translate3d(var(--ms-x, 0), calc(var(--ms-y, 0px) + 2px), 0)
      rotate(var(--ms-rotate, 0deg))
      scale(calc(var(--ms-scale, 1) * 0.992));
  }
}

.cs-momentos-stack__body {
  position: relative;
  z-index: 2;
  width: 100%;
  text-align: left;
}

.cs-momentos-stack__name {
  margin: 0 0 14px;
  font-family: var(--font-heading);
  font-size: var(--cs-momento-title);
  font-weight: var(--weight-title);
  color: #faf7f2;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.cs-momentos-stack__desc {
  margin: 0;
  font-family: 'Montserrat', var(--font-body);
  font-size: var(--cs-momento-desc);
  font-weight: 300;
  line-height: 1.7;
  color: rgba(250, 247, 242, 0.78);
}

.cs-momentos-stack__card.has-media .cs-momentos-stack__desc {
  color: rgba(250, 247, 242, 0.82);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

.cs-momentos-stack__card.has-media .cs-momentos-stack__name {
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.4);
}

.cs-momentos-stack__cards .carousel-tap-hint {
  bottom: 22px;
}

/* Ícone do hint: mãozinha (toque) no mobile; cursor de clique no desktop
   (hover + ponteiro fino) — combina com o texto "Clique". */
.cs-momentos-stack__cards .carousel-tap-hint__cursor {
  display: none;
}
.cs-momentos-stack__cards .carousel-tap-hint__cursor svg {
  display: block;
  width: 26px;
  height: 26px;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}
@media (hover: hover) and (pointer: fine) {
  .cs-momentos-stack__cards .carousel-tap-hint__hand {
    display: none;
  }
  .cs-momentos-stack__cards .carousel-tap-hint__cursor {
    display: block;
  }
}

.cs-momentos-stack__progress {
  width: 100%;
  max-width: min(100%, var(--cs-card-max-w));
}

.cs-momentos-stack__progress .cs-journey__pip[data-track] {
  position: relative;
  cursor: pointer;
  border: none;
  padding: 0;
  margin: 0;
  -webkit-tap-highlight-color: transparent;
}

.cs-momentos-stack__progress .cs-journey__pip[data-track]::before {
  content: '';
  position: absolute;
  inset: -12px -6px;
}

@media (pointer: coarse) {
  .cs-momentos-stack__stage {
    touch-action: none;
  }
}

/* ── Aba 2 — Como funciona (timeline) ── */

.cat-sheet__panel-tab[data-panel="como-funciona"],
.cat-sheet__panel-tab[data-panel="duvidas"] {
  justify-content: flex-start;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 20px;
}

.cat-sheet__panel-tab[data-panel="como-funciona"]::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 40% at 10% 15%, rgba(43, 73, 57, 0.04), transparent 55%);
  pointer-events: none;
  z-index: 0;
}

.cat-sheet__panel-tab[data-panel="como-funciona"] > * {
  position: relative;
  z-index: 1;
}

.cs-journey {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  padding: 2px 2px 0;
  -webkit-tap-highlight-color: transparent;
}

.cs-journey__track {
  position: relative;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}

.cs-journey__line {
  position: absolute;
  left: 11px;
  top: 14px;
  bottom: 0;
  width: 2px;
  background: rgba(43, 73, 57, 0.1);
  border-radius: 999px;
  overflow: hidden;
  pointer-events: none;
}

.cs-journey__line-fill {
  display: block;
  width: 100%;
  height: 0%;
  background: linear-gradient(to bottom, #2b4939 0%, rgba(43, 73, 57, 0.45) 100%);
  border-radius: 999px;
  transition: height 0.5s cubic-bezier(0.32, 0.72, 0, 1);
  will-change: height;
}

.cs-journey__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.cs-journey__step {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 0 14px;
  opacity: 0;
  transform: translateY(10px);
  flex-shrink: 0;
}

.cs-journey__step.is-active + .cs-journey__step {
  margin-top: 6px;
}

.cs-journey.is-ready .cs-journey__step {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.4s ease,
    transform 0.4s cubic-bezier(0.32, 0.72, 0, 1);
}

.cs-journey.is-ready .cs-journey__step:nth-child(1) { transition-delay: 0.04s; }
.cs-journey.is-ready .cs-journey__step:nth-child(2) { transition-delay: 0.09s; }
.cs-journey.is-ready .cs-journey__step:nth-child(3) { transition-delay: 0.14s; }
.cs-journey.is-ready .cs-journey__step:nth-child(4) { transition-delay: 0.19s; }

.cs-journey__marker {
  display: flex;
  justify-content: center;
  padding-top: 5px;
}

.cs-journey__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(43, 73, 57, 0.18);
  background: #faf7f2;
  transition:
    background 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    transform 0.35s ease;
}

.cs-journey__step.is-past .cs-journey__dot {
  background: #2b4939;
  border-color: #2b4939;
  opacity: 0.45;
}

.cs-journey__step.is-future .cs-journey__dot {
  background: #faf7f2;
  border-color: rgba(43, 73, 57, 0.16);
}

.cs-journey__step.is-active .cs-journey__dot {
  background: #2b4939;
  border-color: #2b4939;
  box-shadow: 0 0 0 4px rgba(43, 73, 57, 0.1);
  transform: scale(1.12);
  animation: cs-journey-dot-pulse 2.8s ease-in-out infinite;
}

@keyframes cs-journey-dot-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(43, 73, 57, 0.12); }
  50% { box-shadow: 0 0 0 7px rgba(43, 73, 57, 0.05); }
}

.cs-journey__body {
  min-width: 0;
}

.cs-journey__step.is-active .cs-journey__body {
  display: flex;
  flex-direction: column;
  align-self: start;
  width: 100%;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
}

.cs-journey__head {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  text-align: left;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
  outline: none;
}

.cs-journey__head:focus:not(:focus-visible) {
  outline: none;
}

.cs-journey__head:focus-visible {
  outline: 2px solid rgba(43, 73, 57, 0.45);
  outline-offset: 3px;
}

.cs-journey__step.is-future .cs-journey__head {
  cursor: pointer;
}

.cs-journey__title {
  display: block;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: var(--weight-title-soft);
  line-height: 1.35;
  color: rgba(43, 73, 57, 0.38);
  transition:
    color 0.3s ease,
    font-size 0.3s ease,
    font-weight 0.3s ease;
}

.cs-journey__step.is-future .cs-journey__title {
  color: rgba(43, 73, 57, 0.36);
}

.cs-journey__step.is-past .cs-journey__title {
  color: rgba(43, 73, 57, 0.58);
}

.cs-journey__step.is-active .cs-journey__title {
  font-size: var(--cs-journey-title);
  font-weight: var(--weight-title);
  color: #2b4939;
  letter-spacing: -0.02em;
}

.cs-journey__detail {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.48s cubic-bezier(0.32, 0.72, 0, 1);
}

.cs-journey__step.is-active .cs-journey__detail {
  grid-template-rows: 1fr;
}

.cs-journey__detail-inner {
  overflow: hidden;
  min-height: 0;
}

.cs-journey__step.is-active .cs-journey__detail-inner {
  display: flex;
  flex-direction: column;
  margin-top: 4px;
  padding: 16px 18px 18px;
  border-radius: 22px;
  background: #2b4939;
  border: none;
  box-shadow: 0 8px 28px rgba(43, 73, 57, 0.18);
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
}

.cs-journey__step.is-active .cs-journey__desc {
  color: rgba(250, 247, 242, 0.88);
}

.cs-journey__step.is-revealing .cs-journey__desc {
  animation: cs-journey-text-in 0.42s ease 0.1s both;
}

.cs-journey__step.is-revealing .cs-journey__nav,
.cs-journey__nav.is-revealing {
  animation: cs-journey-text-in 0.42s ease 0.28s both;
}

.cs-journey__step.is-active .cs-journey__arrow,
.cs-journey__detail-inner .cs-journey__arrow {
  background: rgba(250, 247, 242, 0.1);
  border-color: rgba(250, 247, 242, 0.32);
  color: #faf7f2;
  box-shadow: none;
}

.cs-journey__step.is-active .cs-journey__arrow:not(:disabled):hover,
.cs-journey__detail-inner .cs-journey__arrow:not(:disabled):hover {
  background: #faf7f2;
  border-color: #faf7f2;
  color: #2b4939;
  box-shadow: 0 4px 16px rgba(43, 73, 57, 0.2);
}

.cs-journey__step.is-active .cs-journey__arrow:focus-visible,
.cs-journey__detail-inner .cs-journey__arrow:focus-visible {
  outline-color: #faf7f2;
}

.cs-journey__desc {
  margin: 0;
  font-family: 'Montserrat', var(--font-body);
  font-size: var(--cs-journey-desc);
  font-weight: 400;
  line-height: 1.65;
  color: rgba(43, 73, 57, 0.88);
}

.cs-journey__step:not(.is-active) .cs-journey__desc {
  margin-top: 10px;
}

.cs-journey__action {
  margin-top: 16px;
  padding-top: 0;
  position: relative;
  z-index: 3;
  pointer-events: auto;
}

.cs-journey__nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
  position: relative;
  z-index: 2;
  pointer-events: auto;
}

.cs-journey__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  padding: 0;
  margin: 0;
  border-radius: 50%;
  border: 1px solid rgba(43, 73, 57, 0.28);
  background: rgba(43, 73, 57, 0.07);
  color: #2b4939;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
  outline: none;
  box-shadow: 0 2px 10px rgba(43, 73, 57, 0.08);
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease,
    opacity 0.25s ease,
    transform 0.2s ease;
}

.cs-journey__arrow:not(:disabled):active {
  transform: scale(0.94);
}

.cs-journey__arrow:disabled {
  display: none;
}

.cs-journey__arrow:focus:not(:focus-visible) {
  outline: none;
}

.cs-journey__arrow:focus-visible {
  outline: 2px solid #2b4939;
  outline-offset: 3px;
}

.cs-journey__detail-inner .cs-journey__arrow:focus-visible {
  outline-color: #faf7f2;
}

.cs-journey__chevron {
  display: block;
  flex-shrink: 0;
}

.cs-journey__step:not(.is-active) .cs-journey__action {
  animation: none;
}

@keyframes cs-journey-text-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cs-journey__next {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid rgba(43, 73, 57, 0.28);
  background: rgba(43, 73, 57, 0.07);
  color: #2b4939;
  font-size: 12px;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
  outline: none;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(43, 73, 57, 0.08);
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease;
}

.cs-journey__next:focus:not(:focus-visible) {
  outline: none;
}

.cs-journey__next:hover {
  background: #2b4939;
  border-color: #2b4939;
  color: #faf7f2;
  box-shadow: 0 4px 16px rgba(43, 73, 57, 0.22);
}

.cs-journey__next:focus-visible {
  outline: 2px solid #2b4939;
  outline-offset: 2px;
}

.cs-journey__next--cta {
  width: 100%;
  background: #faf7f2;
  border-color: #faf7f2;
  color: #2b4939;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.cs-journey__next--cta:hover {
  background: #fff;
  border-color: #fff;
  color: #2b4939;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.16);
}

.cs-journey__step.is-active .cs-journey__next--cta {
  background: #faf7f2;
  border-color: #faf7f2;
  color: #2b4939;
}

.cs-journey__step.is-active .cs-journey__next--cta:hover {
  background: #fff;
  border-color: #fff;
  color: #2b4939;
}

.cs-journey__progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-shrink: 0;
  padding: 12px 0 0;
}

.cs-journey__pip {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(43, 73, 57, 0.14);
  transition:
    width 0.35s cubic-bezier(0.32, 0.72, 0, 1),
    background 0.35s ease,
    opacity 0.35s ease;
}

.cs-journey__pip.is-done {
  background: rgba(43, 73, 57, 0.32);
}

.cs-journey__pip.is-active {
  width: 22px;
  background: #2b4939;
}

/* ── Aba 3 — Dúvidas (accordion) ── */

.cat-sheet__faq.faq-accordion {
  --faq-bg: #2b4939;
  --faq-bg-hover: #345a47;
  --faq-radius: 1.75rem;
  --faq-gap: 8px;

  max-width: none;
  margin: 0;
  padding: 0;
}

.cat-sheet__faq .faq-accordion__item {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.45s cubic-bezier(0.33, 1, 0.68, 1),
    transform 0.45s cubic-bezier(0.33, 1, 0.68, 1);
}

.cat-sheet__faq .faq-accordion__item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.cat-sheet__faq .faq-accordion__item.is-open .faq-accordion__answer p {
  animation: cs-journey-text-in 0.35s ease 0.06s both;
}

.cat-sheet__faq .faq-accordion__item:not(.is-open) .faq-accordion__answer p {
  animation: none;
}

.cat-sheet__faq .faq-accordion__trigger {
  padding: 0.875rem 1.25rem;
  gap: 1.125rem;
  font-size: 0.8125rem;
  line-height: 1.45;
}

.cat-sheet__faq .faq-accordion__answer p {
  padding: 0 1rem 0.75rem;
}

/* ── Responsivo — telas estreitas (≤480px) ──
   Em celulares as 3 abas ("Momentos / Como funciona / Dúvidas") estouravam
   a pílula e o card de momentos cortava as descrições mais longas. Aqui
   reduzimos padding/tipografia para tudo caber sem cortes. */

@media (max-width: 480px) {
  .cat-sheet__panel {
    --cs-pad-x: 16px;
    --cs-card-pad-y: 18px;
    --cs-card-pad-x: 20px;
    --cs-momento-title: 20px;
    --cs-momento-desc: 13.5px;
  }

  .cat-sheet__tabs-inner {
    gap: 2px;
  }

  .cat-sheet__tab {
    padding-left: 6px;
    padding-right: 6px;
    font-size: 12px;
  }

  .cs-momentos-stack__name {
    margin-bottom: 8px;
  }

  .cs-momentos-stack__desc {
    line-height: 1.5;
  }
}

/* ── Responsivo — tablet (768+) e desktop (900+) ── */

@media (min-width: 768px) {
  .cat-sheet__panel {
    --cs-max-w: 600px;
    --cs-max-h: 720px;
    --cs-vh: 86svh;
    --cs-pad-x: 24px;
    --cs-pad-content-y: 18px;
    --cs-card-max-w: 460px;
    --cs-card-max-h: 530px;
    --cs-card-pad-y: 38px;
    --cs-card-pad-x: 30px;
    --cs-momento-title: 23px;
    --cs-momento-desc: 14.5px;
    --cs-journey-title: 18px;
    --cs-journey-desc: 14px;
    --cs-stage-pad-top: 36px;
  }
}

@media (min-width: 900px) {
  .cat-sheet__panel {
    --cs-max-w: 660px;
    --cs-max-h: 760px;
    --cs-vh: 88svh;
    --cs-radius: 30px;
    --cs-pad-x: 28px;
    --cs-pad-content-y: 20px;
    --cs-card-max-w: 500px;
    --cs-card-max-h: 560px;
    --cs-card-pad-y: 40px;
    --cs-card-pad-x: 32px;
    --cs-momento-title: 24px;
    --cs-momento-desc: 15px;
    --cs-tab-size: 15px;
    --cs-tab-pad-y: 12px;
    --cs-journey-title: 19px;
    --cs-journey-desc: 15px;
    --cs-cta-size: 14px;
    --cs-footer-pad-y: 14px;
    --cs-stage-pad-top: 32px;
  }

  .cat-sheet__overlay {
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
  }

  .cat-sheet__close {
    width: 36px;
    height: 36px;
  }

  .cat-sheet__close svg {
    width: 15px;
    height: 15px;
  }

  .cat-sheet__faq .faq-accordion__trigger {
    padding: 1rem 1.375rem;
    gap: 1.25rem;
    font-size: 0.875rem;
    line-height: 1.45;
  }

  .cat-sheet__faq .faq-accordion__answer p {
    padding: 0 1.125rem 0.875rem;
    font-size: 0.9375rem;
  }
}

/* ── Body lock ── */

body.cat-sheet-open {
  overflow: hidden;
  width: 100%;
  overscroll-behavior: none;
  touch-action: none;
}

html.cat-sheet-open {
  overflow: hidden;
  overscroll-behavior: none;
}

/* ── Reduced motion ── */

@media (prefers-reduced-motion: reduce) {
  .cat-sheet__panel,
  .cat-sheet__overlay,
  .cat-sheet.is-closing .cat-sheet__panel,
  .cat-sheet.is-closing .cat-sheet__overlay,
  .cat-sheet__tab-indicator,
  .cat-sheet__panel-tab,
  .cs-momentos-stack__card,
  .carousel-tap-hint,
  .cs-journey__step,
  .cs-journey__dot,
  .cs-journey__title,
  .cs-journey__detail,
  .cs-journey__desc,
  .cs-journey__action,
  .cs-journey__nav,
  .cs-journey__arrow,
  .cs-journey__line-fill,
  .cs-journey__next,
  .cs-journey__pip,
  .cat-sheet__faq .faq-accordion__item,
  .cat-sheet__faq .faq-accordion__answer p {
    transition: none !important;
    animation: none !important;
  }

  .cat-sheet.is-open .cat-sheet__panel {
    transform: translateY(0);
  }

  .cs-journey.is-ready .cs-journey__step {
    opacity: 1;
    transform: none;
  }

  .cs-journey__step.is-active .cs-journey__detail {
    grid-template-rows: 1fr;
  }

  .cat-sheet__faq .faq-accordion__item,
  .cat-sheet__faq .faq-accordion__item.is-visible {
    opacity: 1;
    transform: none;
  }

  .cs-momentos-stack.is-hint-visible .carousel-tap-hint {
    animation: none;
  }
}
