/* Marcas e relatos compartilham os tokens e a tipografia da página inicial. */
.proof-visually-hidden, .brand-name {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.brand-strip {
  display: grid;
  grid-template-columns: minmax(9rem, .19fr) minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 3rem);
  align-items: center;
  padding-block: 1.3rem;
  min-height: 7.7rem;
}
.brand-intro { font-size: .94rem; line-height: 1.45; color: #454250; }
.brand-intro strong { display: block; color: var(--ink); font-weight: 620; }
.story-controls { display: flex; align-items: center; }
.story-expand {
  min-height: 44px;
  border: 0;
  background: transparent;
  padding: 0;
  color: #463550;
  font-weight: 570;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: .26em;
  text-decoration-color: #93829f;
}
.story-navigation button {
  display: inline-grid;
  place-items: center;
  border: 1px solid #b6adbf;
  border-radius: 50%;
  background: transparent;
  color: #3c3048;
}
.story-navigation button:hover { background: #fdfaff; color: #41245d; }
.story-expand:hover { text-decoration-thickness: 2px; }
.brand-window { min-width: 0; background: #f2f1f5; }
.brand-track { mix-blend-mode: multiply; }
.brand-group { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit,minmax(min(7.8rem,100%),1fr)); gap: 1rem; }
.brand-group li { display: grid; place-items: center; position: relative; }
.brand-art {
  display: block;
  width: min(100%, 8.7rem);
  aspect-ratio: 320 / 124;
  background: url('/assets/marcas-ursa.webp') var(--brand-x) var(--brand-y) / 400% 600% no-repeat;
  filter: grayscale(1);
  opacity: .88;
}
.has-js .brand-strip .brand-window {
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
  mask-image: linear-gradient(to right, transparent, #000 2%, #000 98%, transparent);
}
.has-js .brand-strip .brand-track { display: flex; width: max-content; }
.has-js .brand-strip .brand-group {
  --logo-gap: clamp(1rem, 2.8vw, 3rem);
  display: flex;
  align-items: center;
  gap: var(--logo-gap);
  padding-inline-end: var(--logo-gap);
}
.has-js .brand-strip .brand-group li { width: clamp(6.8rem, 10vw, 8.7rem); }
.has-js .brand-strip.can-loop .brand-window { overflow: clip; }
.brand-strip.can-loop .brand-track { animation: brand-journey 105s linear infinite; }
.brand-strip.is-offscreen .brand-track { animation-play-state: paused!important; }
@media (hover: hover) and (pointer: fine) {
  .brand-strip .brand-window:hover .brand-track { animation-play-state: paused; }
}
@keyframes brand-journey { to { transform: translate3d(-50%, 0, 0); } }

.story-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .9rem 2rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.75rem);
}
.story-intro h2 { color: #2d203a; }
.story-controls, .story-navigation { display: flex; align-items: center; gap: .65rem; }
.story-controls {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto minmax(0,1fr);
  gap: .25rem .6rem;
  margin-top: clamp(.8rem, 1.7vw, 1.35rem);
}
.story-navigation { grid-column: 3; justify-self: end; gap: clamp(.15rem, 1.2vw, .65rem); }
.story-playback {
  grid-column: 1; grid-row: 1; justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 44px;
  padding: .25rem .5rem .25rem 0;
  background: transparent;
  border: 0;
  color: #483750;
  font-size: .88rem;
  font-weight: 570;
}
.story-playback:hover span { text-decoration: underline; text-underline-offset: .25em; }
.story-play-icon, .story-playback.is-stopped .story-pause-icon { display: none; }
.story-playback.is-stopped .story-play-icon { display: block; }
.story-navigation button { width: 44px; min-height: 44px; border-color: #9f8cae; }
.story-dots {
  grid-column: 2; grid-row: 1;
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
}
.story-dots button {
  width: 24px; height: 36px; display: grid; place-items: center;
  padding: 0; border: 0; border-radius: .35rem; background: transparent;
}
.story-dots button::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  border: 1.5px solid #79618b; background: transparent;
}
.story-dots button[aria-current="true"]::before { width: 11px; height: 11px; border-color: #513461; background: #513461; }
.story-dots button:hover::before { border-color: #382042; }
.story-dots button:focus-visible { outline-offset: -2px; }
@media (max-width: 34rem) {
  .story-controls { grid-template-columns: minmax(0,1fr) auto; }
  .story-dots { grid-column: 1 / -1; }
  .story-playback { grid-row: 2; }
  .story-navigation { grid-column: 2; grid-row: 2; }
}
@media (forced-colors: active) {
  .story-dots button::before { border-color: ButtonText; }
  .story-dots button[aria-current="true"]::before { background: Highlight; border-color: Highlight; forced-color-adjust: none; }
}
.story-expand { font-size: .88rem; }
.story-track {
  --stories-visible: 1;
  --story-gap: clamp(.85rem, 1.7vw, 1.5rem);
  --story-peek: 0px;
  display: grid;
  grid-template-columns: repeat(var(--stories-visible), minmax(0,1fr));
  gap: var(--story-gap);
  min-width: 0;
}
.story-slide {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  padding: clamp(1.15rem, 2.15vw, 2.05rem);
  background: #f5eff9;
  border-radius: .85rem;
}
.story-copy h3 { font-size: .94rem; line-height: 1.5; color: #614278; font-weight: 620; }
.story-slide blockquote {
  margin: .85rem 0 0;
  font-size: clamp(1.17rem, 1.5vw, 1.55rem);
  line-height: 1.43;
  letter-spacing: -.025em;
  font-weight: 490;
  color: #302037;
  text-wrap: pretty;
}
.story-source {
  min-height: 44px;
  color: #47334f;
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  text-decoration: none;
  font-size: .82rem;
  font-weight: 570;
}
.story-source img { width: 2rem; height: auto; border: 1px solid #ac92ba; border-radius: .25rem; }
.story-source span { display: inline-flex; align-items: center; gap: .25rem; }
.story-source svg { width: 1rem; height: 1rem; }
.story-source:focus-visible { outline-offset: 2px; }
.story-source span { text-decoration: underline; text-underline-offset: .25em; text-decoration-color: #b09cbd; }
.story-source:hover span { text-decoration-thickness: 2px; }
.has-js .voices:not(.is-expanded) .story-track {
  grid-template-columns: none;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% + var(--story-gap)) / var(--stories-visible) - var(--story-gap) - var(--story-peek));
  width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  position: relative;
}
.has-js .voices:not(.is-expanded) .story-track::-webkit-scrollbar { display: none; }
.has-js .voices:not(.is-expanded) .story-slide {
  scroll-snap-align: start;
}
.has-js .story-controls[hidden] { display: flex!important; visibility: hidden; }
.voices.is-expanded .story-controls { display: none; }
@media (min-width: 24rem) and (max-width: 42.49rem) {
  .story-track { --story-peek: calc(var(--story-gap) + 1.4rem); }
}
@media (min-width: 42.5rem) {
  .story-track { --stories-visible: 2; }
}
@media (min-width: 72rem) {
  .story-track { --stories-visible: 3; }
}

.proof-dialog {
  padding: 0;
  width: min(37rem, calc(100% - 2rem));
  max-width: none;
  max-height: calc(100dvh - 2rem);
  margin: auto;
  overflow: auto;
  overscroll-behavior: contain;
  color: #231a2f;
  background: #faf8fc;
  border: 0;
  border-radius: .75rem;
}
.proof-dialog::backdrop { background: rgb(14 13 25 / 79%); }
.proof-top {
  position: sticky;
  z-index: 1;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .7rem;
  padding: .6rem .9rem .6rem 1.2rem;
  background: #faf8fc;
  border-bottom: 1px solid #d9cde0;
}
.proof-top h3 { font-size: 1rem; line-height: 1.35; }
.proof-top form { margin: 0; }
.proof-top button {
  min-height: 44px;
  padding: .55rem 1rem;
  border-radius: 50px;
  border: 1px solid #b8a8c4;
  color: #32243d;
  background: #fff;
  font-size: .89rem;
  font-weight: 550;
}
.proof-full { width: 100%; height: auto; }
html:has(.proof-dialog[open]) { overflow: hidden; }

@media(max-width:760px) {
  .brand-strip { grid-template-columns: minmax(0,1fr); gap: .6rem; padding-block: 1rem 1.35rem; }
  .brand-intro strong { display: inline; }
  .brand-art { width: min(100%,7.5rem); }
  .story-intro { align-items: flex-start; }
  .story-slide { gap: 1.15rem; }

}
@media (prefers-reduced-motion: reduce) {
  .brand-strip .brand-track { animation: none!important; }
}
@media (forced-colors: active) {
  .brand-name { position: static; width: auto; height: auto; clip-path: none; white-space: normal; font-size: .87rem; text-align: center; }
  .brand-art { display: none; }
}
