/* 06 · Depoimentos: parede de vídeos reais (leque) + teatro que nasce do card */
.s-vozes { overflow: hidden; padding-top: clamp(64px, 9vh, 120px); padding-bottom: clamp(48px, 7vh, 88px); }
.s-vozes__topo { display: grid; justify-items: center; text-align: center; gap: 18px; margin-bottom: clamp(8px, 2vh, 24px); }
.s-vozes__titulo {
  margin: 0; font-family: "Nata Sans", "Arial Black", sans-serif; font-weight: 900; text-transform: uppercase;
  font-size: clamp(2.6rem, 5.4vw, 6.6rem); line-height: .86; letter-spacing: -.04em; text-wrap: balance;
}
.s-vozes__apoio { margin: 0; max-width: 46ch; color: var(--cinza); font-size: clamp(16px, 1.25vw, 19px); }
.s-vozes__dica-toque { display: none; }
.s-vozes__dica-mouse { display: block; font-size: .85em; margin-top: 4px; }

.s-vozes__parede {
  list-style: none; margin: 0; display: flex; justify-content: center; align-items: center;
  gap: 0; padding: 40px var(--pad);
}
.voz + .voz { margin-left: -16px; } /* cards levemente sobrepostos, como um leque na mão */
.voz.ativa { position: relative; z-index: 2; }
.voz { flex: 0 0 auto; width: clamp(200px, 19vw, 320px); will-change: transform; }
.voz__card {
  position: relative; display: block; width: 100%; aspect-ratio: 9 / 16; border-radius: var(--raio); overflow: hidden;
  background: var(--mata); text-align: left; color: var(--branco); padding: 0; border: 0; cursor: pointer;
  box-shadow: 0 30px 60px -30px rgba(10, 42, 28, .55);
  transition: box-shadow .6s;
}
.voz__poster, .voz__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.voz__video { opacity: 0; transition: opacity .4s; }
.voz.tocando .voz__video { opacity: 1; }
/* sombra em cima (trecho) e embaixo (nome); a faixa do meio, onde fica a legenda queimada do vídeo, fica limpa */
.voz__sombra {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(10,42,28,0) 78%, rgba(10,42,28,.9) 100%);
}
.voz__sombra::after { content: ""; position: absolute; inset: 0; background: var(--papel); opacity: 0; transition: opacity .5s; }
.voz.ativa .voz__sombra {
  background:
    linear-gradient(180deg, rgba(10,42,28,.85) 0%, rgba(10,42,28,0) 32%),
    linear-gradient(180deg, rgba(10,42,28,0) 78%, rgba(10,42,28,.9) 100%);
}
.s-vozes__parede.focada .voz:not(.ativa) .voz__sombra::after { opacity: .55; }
.voz__quem { position: absolute; left: 16px; right: 16px; bottom: 16px; display: grid; gap: 3px; line-height: 1.2; }
.voz__quem strong { font: 900 clamp(12px, .95vw, 16px)/1.05 "Nata Sans", sans-serif; text-transform: uppercase; white-space: nowrap; }
.voz__quem span { font-size: 12.5px; color: var(--nevoa); }
/* trecho da fala no TOPO do card: a legenda queimada dos vídeos fica no terço de baixo */
.voz__trecho {
  position: absolute; left: 16px; right: 34px; top: 16px; font-weight: 600; font-size: clamp(14px, 1.05vw, 17px); line-height: 1.25;
  opacity: 0; transform: translateY(-10px); transition: opacity .45s, transform .6s cubic-bezier(.2,.8,.2,1);
}
.voz.ativa .voz__trecho { opacity: 1; transform: none; }
.voz.ativa .voz__card { box-shadow: 0 50px 80px -30px rgba(10, 42, 28, .7); }
.voz__card:focus-visible { outline: 3px solid var(--laranja); outline-offset: 4px; }
.voz__card::before {
  content: ""; position: absolute; top: 18px; right: 16px; width: 9px; height: 9px; border-radius: 50%;
  background: var(--verde-vivo); box-shadow: 0 0 0 6px rgba(52,210,127,.25); z-index: 2; opacity: 0; transition: opacity .3s;
}
.voz.tocando .voz__card::before { opacity: 1; animation: s-vozes-pulsa 1.4s ease-in-out infinite; }
@keyframes s-vozes-pulsa { 50% { box-shadow: 0 0 0 10px rgba(52,210,127,0); } }

.s-vozes__fim { display: flex; justify-content: center; margin-top: clamp(24px, 4vh, 48px); }

/* Selo "Assistir": pequeno, no canto de baixo do card */
.voz__play {
  position: absolute; right: 12px; bottom: 12px; z-index: 2; width: 72px; height: 72px; border-radius: 50%;
  display: grid; place-items: center; background: var(--verde); color: var(--branco);
  font: 900 11px/1 "Nata Sans", sans-serif; text-transform: uppercase; letter-spacing: .02em; padding-top: 14px;
  transform: scale(.6); opacity: 0; transition: transform .45s cubic-bezier(.3,1.6,.5,1), opacity .3s;
}
.voz__play::before { content: ""; position: absolute; top: 19px; left: 50%; margin-left: -4px; border-left: 11px solid currentColor; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.voz.ativa .voz__play { transform: none; opacity: 1; }
/* enquanto a prévia toca no hover, a legenda do vídeo já identifica: o nome sai de cena */
.voz__quem { transition: opacity .35s; }
@media (hover: hover) and (pointer: fine) { .voz.tocando .voz__quem { opacity: 0; } }
.voz__quem { right: 92px; }

/* Teatro */
.s-vozes .teatro { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; border: 0; padding: 0; background: transparent; color: var(--branco); overflow: hidden; }
.s-vozes .teatro::backdrop { background: transparent; }
.teatro__fundo { position: absolute; inset: 0; background: var(--mata); opacity: 0; }
.teatro__palco { position: relative; height: 100%; display: grid; grid-template-columns: auto minmax(0, 520px); align-items: center; justify-content: center; gap: clamp(32px, 5vw, 96px); padding: 4vh var(--pad); }
.teatro__moldura { position: relative; height: min(88vh, 900px); aspect-ratio: 9 / 16; border-radius: var(--raio); overflow: hidden; background: #000; transform-origin: 0 0; }
.teatro__video { width: 100%; height: 100%; object-fit: cover; background: #000; display: block; }
.teatro__aspas { font: 900 120px/.6 "Nata Sans", sans-serif; color: var(--verde-vivo); display: block; height: 52px; }
.teatro__fala { margin: 0; font-size: clamp(18px, 1.5vw, 26px); line-height: 1.4; font-weight: 500; }
.teatro__fala p { margin: 0; }
.teatro__quem { margin: 28px 0 0; display: grid; gap: 4px; }
.teatro__quem strong { font: 900 22px/1 "Nata Sans", sans-serif; text-transform: uppercase; }
.teatro__quem span { color: var(--nevoa); font-size: 15px; }
.teatro__nav { margin-top: 40px; display: flex; align-items: center; gap: 18px; }
.teatro__conta { font: 800 15px/1 "Nata Sans", sans-serif; color: var(--nevoa); min-width: 3ch; text-align: center; }
.teatro__btn, .teatro__fechar { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.25); background: none; color: inherit; cursor: pointer; transition: background-color .3s, color .3s, border-color .3s; }
.teatro__btn:hover, .teatro__fechar:hover { background: var(--verde-vivo); color: var(--mata); border-color: var(--verde-vivo); }
.teatro__fechar { position: absolute; top: 24px; right: var(--pad); }
.teatro__btn:focus-visible, .teatro__fechar:focus-visible { outline: 3px solid var(--laranja); outline-offset: 3px; }
.teatro__info > * { opacity: 0; }

@media (max-width: 760px) {
  .s-vozes__dica-mouse { display: none !important; }
  .s-vozes__dica-toque { display: block; font-size: .85em; margin-top: 4px; }
  .s-vozes__parede { justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; padding: 24px 14vw 32px; gap: 14px; scrollbar-width: none; }
  .s-vozes__parede::-webkit-scrollbar { display: none; }
  .voz { width: 72vw; scroll-snap-align: center; }
  .voz + .voz { margin-left: 0; }
  /* no celular o nome vai para o topo: a faixa de 70–85% da altura é das legendas queimadas */
  .voz__quem { right: 16px; top: 16px; bottom: auto; }
  .voz__trecho { top: auto; bottom: 18px; }
  .voz__sombra, .voz.ativa .voz__sombra { background:
    linear-gradient(180deg, rgba(10,42,28,.85) 0%, rgba(10,42,28,0) 22%),
    linear-gradient(180deg, rgba(10,42,28,0) 86%, rgba(10,42,28,.85) 100%); }
  .voz.ativa .voz__play { opacity: 0; } /* no celular o card inteiro já é o botão */
  .voz__trecho { opacity: 1; transform: none; font-size: 16px; }
  .s-vozes__parede.focada .voz:not(.ativa) .voz__sombra::after { opacity: .35; }
  .teatro__palco { grid-template-columns: 1fr; padding: 0; gap: 0; align-items: start; }
  .teatro__moldura { position: absolute; inset: 0; height: 100%; width: 100%; aspect-ratio: auto; border-radius: 0; }
  .teatro__info { position: relative; z-index: 1; padding: 84px 20px 64px; background: linear-gradient(rgba(10,42,28,.95) 62%, transparent); pointer-events: none; }
  .teatro__info .teatro__nav { pointer-events: auto; }
  .teatro__aspas { display: none; }
  .teatro__fala { font-size: 15px; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
  .teatro__quem { margin-top: 14px; }
  .teatro__nav { margin-top: 16px; }
  .teatro__video { object-fit: contain; }
  .teatro__fechar { z-index: 2; background: rgba(10,42,28,.6); top: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .voz__trecho, .voz__video, .voz__card { transition: none; }
}
