/* Depoimentos (acervo 60-vendas/depoimentos) — seção compartilhada pelas LPs da Operação.
   Usa os tokens do design system tático (--color-gold, --font-heading, --radius-*). */
.depo-section { position: relative; }
.depo-section .section__header { margin-bottom: clamp(1.75rem, 3vw, 2.5rem); }

.depo-results { display: flex; align-items: center; gap: 0.75rem 1rem; flex-wrap: wrap; justify-content: center; margin: 0 auto clamp(1.75rem, 3vw, 2.5rem); max-width: 1040px; }
.depo-results__label { font-family: var(--font-accent, 'Barlow Condensed', sans-serif); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--color-gold); }
.depo-results ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.depo-results li { padding: 0.4rem 0.8rem; border: 1px solid rgba(255, 215, 0, 0.28); border-radius: 999px; background: rgba(255, 215, 0, 0.06); color: var(--color-gray-100, #f0f0f0); font-size: 0.84rem; font-weight: 600; line-height: 1.2; white-space: nowrap; }

.depo-tabs { position: relative; }
.depo-tabs__input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.depo-tabs__bar { display: flex; justify-content: center; gap: 0.5rem; margin: 0 auto 1.5rem; padding: 0.35rem; width: max-content; max-width: 100%; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 999px; background: rgba(255, 255, 255, 0.03); overflow-x: auto; scrollbar-width: none; }
.depo-tabs__bar::-webkit-scrollbar { display: none; }
.depo-tabs__bar label { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.6rem 1.1rem; border-radius: 999px; color: var(--color-gray-300, #b0b0b0); font-family: var(--font-heading); font-size: 1.15rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; line-height: 1; white-space: nowrap; cursor: pointer; transition: background 0.2s ease, color 0.2s ease; }
.depo-tabs__bar label small { display: inline-grid; place-items: center; min-width: 1.35rem; height: 1.35rem; padding: 0 0.3rem; border-radius: 999px; background: rgba(255, 255, 255, 0.08); font-family: var(--font-body); font-size: 0.72rem; font-weight: 700; letter-spacing: 0; }
.depo-tabs__bar label:hover { color: #fff; }
#depo-t-op:checked ~ .depo-tabs__bar label[for="depo-t-op"],
#depo-t-s4p:checked ~ .depo-tabs__bar label[for="depo-t-s4p"],
#depo-t-m4p:checked ~ .depo-tabs__bar label[for="depo-t-m4p"] { background: var(--color-gold); color: #0b0b0b; }
#depo-t-op:checked ~ .depo-tabs__bar label[for="depo-t-op"] small,
#depo-t-s4p:checked ~ .depo-tabs__bar label[for="depo-t-s4p"] small,
#depo-t-m4p:checked ~ .depo-tabs__bar label[for="depo-t-m4p"] small { background: rgba(0, 0, 0, 0.16); }
#depo-t-op:focus-visible ~ .depo-tabs__bar label[for="depo-t-op"],
#depo-t-s4p:focus-visible ~ .depo-tabs__bar label[for="depo-t-s4p"],
#depo-t-m4p:focus-visible ~ .depo-tabs__bar label[for="depo-t-m4p"] { outline: 2px solid var(--color-gold); outline-offset: 3px; }
.depo-panel { display: none; }
#depo-t-op:checked ~ .depo-panel--op,
#depo-t-s4p:checked ~ .depo-panel--s4p,
#depo-t-m4p:checked ~ .depo-panel--m4p { display: block; animation: depo-in 0.35s ease both; }
.depo-panel__caption { margin: 0 0 1rem; text-align: center; color: var(--color-gray-400, #8a8a8a); font-size: 0.86rem; }

.depo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; align-items: stretch; }
.depo-card { position: relative; display: flex; flex-direction: column; gap: 1rem; margin: 0; padding: 1.5rem 1.4rem 1.3rem; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: var(--radius-lg, 12px); background: linear-gradient(160deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015)); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28); }
.depo-card::before { content: '“'; position: absolute; top: 0.2rem; right: 1rem; font-family: Georgia, 'Times New Roman', serif; font-size: 4.5rem; line-height: 1; color: rgba(255, 215, 0, 0.18); pointer-events: none; }
.depo-card__seal { align-self: flex-start; padding: 0.3rem 0.65rem; border-radius: var(--radius-sm, 4px); background: rgba(255, 215, 0, 0.12); border: 1px solid rgba(255, 215, 0, 0.35); color: var(--color-gold); font-family: var(--font-accent, 'Barlow Condensed', sans-serif); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.depo-card__quote { flex: 1; margin: 0; }
.depo-card__print { display: flex; flex-direction: column; gap: 0; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 8px; background: #090b0d; color: var(--color-gold); text-decoration: none; }
.depo-card__print img { display: block; width: 100%; height: 320px; object-fit: contain; }
.depo-card__print > span { display: flex; justify-content: space-between; align-items: center; padding: 0.75rem 0.9rem; border-top: 1px solid rgba(255, 255, 255, 0.09); background: rgba(255, 215, 0, 0.045); font-size: 0.8rem; font-weight: 600; }
.depo-card__print:hover { border-color: var(--color-gold); }
.depo-card__print:focus-visible { outline: 2px solid var(--color-gold); outline-offset: 4px; }
.depo-card__quote p { margin: 0; color: var(--color-gray-100, #f0f0f0); font-size: 0.98rem; line-height: 1.62; }
.depo-card__who { display: flex; align-items: center; gap: 0.7rem; padding-top: 0.9rem; border-top: 1px solid rgba(255, 255, 255, 0.07); }
.depo-card__avatar { display: grid; place-items: center; flex: 0 0 2.25rem; height: 2.25rem; border-radius: 50%; background: rgba(255, 215, 0, 0.14); border: 1px solid rgba(255, 215, 0, 0.35); color: var(--color-gold); font-family: var(--font-heading); font-size: 1.25rem; font-weight: 700; line-height: 1; }
.depo-card__who strong { display: block; color: #fff; font-size: 0.92rem; font-weight: 700; }
.depo-card__who small { display: block; margin-top: 0.1rem; color: var(--color-gray-400, #8a8a8a); font-size: 0.78rem; }

.depo-source { max-width: 760px; margin: 1.75rem auto 0; text-align: center; color: var(--color-gray-500, #666); font-size: 0.8rem; line-height: 1.6; }
.depo-source a { color: var(--color-gray-300, #b0b0b0); text-decoration: underline; text-underline-offset: 2px; }
.depo-source a:hover { color: var(--color-gold); }

/* Navigation stays inside the enlarged testimonial, separate from material previews. */
.media-gallery-nav[hidden] { display: none; }
.media-dialog--gallery { width: 440px; }
.media-dialog--gallery .media-dialog-body { touch-action: pan-y pinch-zoom; }
.media-dialog--gallery .media-dialog-body img { max-height: calc(92svh - 150px); }
.media-dialog--gallery > p { display: none; }
.media-gallery-nav { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; padding: 10px 12px; border-top: 1px solid #ffffff18; }
.media-gallery-nav button { display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem; min-height: 44px; padding: 0.5rem 0.75rem; border: 1px solid #ffffff29; border-radius: 6px; background: #ffffff06; color: var(--color-gold); font-size: 0.8rem; cursor: pointer; }
.media-gallery-nav button:hover { background: #f2d33d18; border-color: var(--color-gold); }
.media-gallery-nav button:focus-visible { outline: 2px solid var(--color-gold); outline-offset: 2px; }
.media-gallery-count { color: #b7bdc5; font-size: 0.78rem; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* PRF: one continuous, manually browsed collection. Other LP layouts stay scoped above. */
.depo-flow .section__header { margin-bottom: 1.5rem; }
.depo-flow__toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.depo-flow__hint { margin: 0; color: #9ba3ad; font-size: 0.82rem; }
.depo-flow__hint span { margin-left: 0.4rem; color: var(--color-gold); }
.depo-flow__controls { display: flex; align-items: center; gap: 0.8rem; }
.depo-flow__controls[hidden] { display: none; }
.depo-flow__controls button { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #ffffff29; border-radius: 50%; background: #ffffff06; color: var(--color-gold); font-size: 1.25rem; cursor: pointer; transition: background 0.2s; }
.depo-flow__controls button:hover:not(:disabled) { background: #f2d33d18; border-color: var(--color-gold); }
.depo-flow__controls button:disabled { opacity: 0.3; cursor: default; }
.depo-flow__controls button:focus-visible, .depo-flow__rail:focus-visible { outline: 2px solid var(--color-gold); outline-offset: 3px; }
.depo-flow__count { min-width: 5rem; text-align: center; color: #afb5bc; font-size: 0.78rem; font-variant-numeric: tabular-nums; }
.depo-flow__rail { position: relative; display: flex; align-items: flex-start; gap: 1rem; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: #f2d33d55 transparent; padding: 0.25rem 0 1rem; }
.depo-flow__rail .depo-card { flex: 0 0 calc((100% - 2rem) / 3); min-width: 0; scroll-snap-align: start; padding: 1rem; gap: 0.85rem; box-shadow: none; }
.depo-flow__rail .depo-card::before { display: none; }
.depo-flow__rail .depo-card__print img { height: 300px; }
.depo-flow__rail .depo-card__quote p { font-size: 0.9rem; line-height: 1.6; }
@media (max-width: 1100px) {
  .depo-flow__rail .depo-card { flex-basis: calc((100% - 1rem) / 2.15); }
}
@media (max-width: 700px) {
  .depo-flow__toolbar { flex-wrap: wrap; gap: 0.65rem; }
  .depo-flow__hint { font-size: 0.76rem; }
  .depo-flow__controls { margin-left: auto; gap: 0.4rem; }
  .depo-flow__count { min-width: 4.5rem; }
  .depo-flow__rail { gap: 0.75rem; margin-right: -1rem; padding-right: 1rem; }
  .depo-flow__rail .depo-card { flex-basis: 87%; }
}

@keyframes depo-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

@media (max-width: 1023px) {
  .depo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .depo-results { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; margin-left: calc(var(--container-padding, 1rem) * -1); margin-right: calc(var(--container-padding, 1rem) * -1); padding: 0 var(--container-padding, 1rem) 0.25rem; scrollbar-width: none; }
  .depo-results::-webkit-scrollbar { display: none; }
  .depo-results__label { flex: 0 0 auto; }
  .depo-results ul { flex-wrap: nowrap; }
  .depo-tabs__bar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.25rem; width: 100%; padding: 0.3rem; border-radius: 14px; }
  .depo-tabs__bar label { flex-direction: column; justify-content: center; gap: 0.3rem; padding: 0.55rem 0.3rem; border-radius: 10px; font-size: 0.98rem; line-height: 1.05; text-align: center; white-space: normal; }
  .depo-grid { display: flex; align-items: flex-start; gap: 0.75rem; overflow-x: auto; scroll-snap-type: x mandatory; margin-left: calc(var(--container-padding, 1rem) * -1); margin-right: calc(var(--container-padding, 1rem) * -1); padding: 0.25rem var(--container-padding, 1rem) 0.75rem; scroll-padding-left: var(--container-padding, 1rem); scrollbar-width: thin; }
  .depo-card { flex: 0 0 86%; scroll-snap-align: start; padding: 1.3rem 1.15rem 1.1rem; }
  .depo-card__quote p { font-size: 0.95rem; }
}
@media (prefers-reduced-motion: reduce) {
  #depo-t-op:checked ~ .depo-panel--op,
  #depo-t-s4p:checked ~ .depo-panel--s4p,
  #depo-t-m4p:checked ~ .depo-panel--m4p { animation: none; }
}
