/* =========================================================================
   OFT-Review Depoimentos — production CSS
   Design system OFT (gold + onyx, Orbitron só no h2, ⬢ glyph)
   Mobile: scroll horizontal com peek do próximo card
   ========================================================================= */

.oft-depo,
.oft-depo *,
.oft-depo *::before,
.oft-depo *::after { box-sizing: border-box; }

.oft-depo {
  --gold-200: #F8DB7D;
  --gold-300: #ECC575;
  --gold-400: #DBAD6B;
  --gold-500: #B58851;
  --gold-700: #6E5230;
  --onyx-1000: #060606;
  --onyx-900: #131210;
  --onyx-800: #1A1A1A;
  --onyx-700: #232220;
  --paper-50: #FAF8F5;
  --fg-on-dark: #F4F0EA;
  --tracking-display: 0.02em;
  --tracking-eyebrow: 0.18em;

  position: relative;
  padding: 96px 0 80px;
  background: #111111;
  color: var(--fg-on-dark);
  font-family: 'Exo 2', 'Inter', system-ui, -apple-system, sans-serif;
  isolation: isolate;
  overflow: clip;
  -webkit-font-smoothing: antialiased;
}

.oft-depo a,
.oft-depo a:hover,
.oft-depo a:focus,
.oft-depo a:visited {
  text-decoration: none !important;
  color: inherit !important;
}

.oft-depo__container {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── HEADER ──────────────────────────────────────────────────────── */
.oft-depo__header {
  text-align: center;
  margin-bottom: 56px;
}

.oft-depo h2.oft-depo__heading {
  font-family: 'Orbitron', 'Eurostile', system-ui, sans-serif !important;
  font-size: clamp(28px, 3.6vw, 36px) !important;
  font-weight: 400 !important;
  line-height: 1.18 !important;
  letter-spacing: var(--tracking-display) !important;
  color: var(--fg-on-dark) !important;
  margin: 0 auto 14px !important;
  max-width: 28ch;
  text-wrap: balance;
}

.oft-depo h3.oft-depo__subheading {
  font-family: 'Exo 2', sans-serif !important;
  font-size: clamp(15px, 1.6vw, 17px) !important;
  font-weight: 400 !important;
  line-height: 1.55 !important;
  color: rgba(244, 240, 234, 0.72) !important;
  margin: 0 auto !important;
  max-width: 68ch;
  text-wrap: balance;
}

/* ─── GRID DE CARDS ───────────────────────────────────────────────── */
.oft-depo__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
}

/* ─── CARD ────────────────────────────────────────────────────────── */
.oft-depo__card {
  display: flex;
  flex-direction: column;
  background: var(--onyx-900);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
              border-color 320ms ease;
}
.oft-depo__card:hover {
  transform: translateY(-4px);
  border-color: rgba(219, 173, 107, 0.32);
}

/* Media area — video placeholder (16:9) com selo OFT */
.oft-depo__media {
  position: relative;
  aspect-ratio: 9 / 16;
  background:
    radial-gradient(circle at 30% 20%, rgba(219, 173, 107, 0.12), transparent 55%),
    linear-gradient(180deg, var(--onyx-800), var(--onyx-1000));
  overflow: hidden;
}

.oft-depo__media video,
.oft-depo__media iframe,
.oft-depo__media__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border: none;
}

/* Placeholder visual quando não há vídeo */
.oft-depo__media-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background:
    repeating-linear-gradient(
      45deg,
      var(--onyx-800) 0px,
      var(--onyx-800) 12px,
      var(--onyx-700) 12px,
      var(--onyx-700) 24px
    );
  color: rgba(244, 240, 234, 0.4);
  font-family: 'Exo 2', sans-serif;
  font-size: 13px;
  text-align: center;
  padding: 24px;
}
.oft-depo__media-placeholder span:first-child {
  font-size: 32px;
  color: var(--gold-400);
  opacity: 0.6;
  margin-bottom: 8px;
}

/* Selo OFT no topo direito do vídeo */
.oft-depo__seal {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-200), var(--gold-400));
  display: grid;
  place-items: center;
  box-shadow:
    0 8px 18px rgba(0, 0, 0, 0.5),
    0 0 0 3px var(--onyx-1000);
  overflow: hidden;
}
.oft-depo__seal img {
  width: 70%;
  height: 70%;
  object-fit: contain;
  filter: brightness(0); /* logo branca vira preta sobre o gold */
}

/* Play button */
.oft-depo__play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--gold-200), var(--gold-400));
  color: var(--onyx-1000);
  border: none;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow:
    0 12px 28px rgba(219, 173, 107, 0.45),
    0 0 0 4px rgba(248, 219, 125, 0.16);
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 240ms ease;
}
.oft-depo__play-btn:hover {
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow:
    0 16px 36px rgba(219, 173, 107, 0.55),
    0 0 0 6px rgba(248, 219, 125, 0.24);
}
.oft-depo__play-btn svg {
  width: 26px;
  height: 26px;
  margin-left: 4px;
}

/* ─── BODY do card ────────────────────────────────────────────────── */
.oft-depo__body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

.oft-depo__caption {
  font-family: 'Exo 2', sans-serif;
  font-size: 14.5px;
  line-height: 1.5;
  color: rgba(244, 240, 234, 0.82);
  margin: 0;
  font-style: italic;
}

.oft-depo__person {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed rgba(219, 173, 107, 0.22);
}

.oft-depo__name {
  font-family: 'Exo 2', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--fg-on-dark);
}

.oft-depo__role {
  font-family: 'Exo 2', sans-serif;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--gold-300);
  letter-spacing: 0.02em;
}

/* ─── DICA DE SWIPE (mobile only) ─────────────────────────────────── */
.oft-depo__swipe-hint {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
  color: var(--gold-300);
  font-family: 'Exo 2', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  opacity: 0.85;
}
.oft-depo__swipe-hint svg {
  width: 18px;
  height: 18px;
  animation: oft-depo-swipe 1.8s ease-in-out infinite;
}
@keyframes oft-depo-swipe {
  0%, 100% { transform: translateX(-4px); opacity: 0.6; }
  50%      { transform: translateX(4px);  opacity: 1;   }
}

/* ─── RESPONSIVE ──────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .oft-depo__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .oft-depo { padding: 64px 0; }
  .oft-depo__container { padding: 0; }
  .oft-depo__header { padding: 0 16px; margin-bottom: 28px; }
  .oft-depo__swipe-hint { display: inline-flex; padding-left: 24px; justify-content: flex-start; }

  /* Carrossel horizontal com peek do próximo card */
  .oft-depo__grid {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    padding: 4px 24px;
    /* Margin direita maior pra revelar peek do próximo */
    scroll-padding-left: 24px;
    scrollbar-width: none;
  }
  .oft-depo__grid::-webkit-scrollbar { display: none; }

  .oft-depo__card {
    flex: 0 0 calc(85% - 12px); /* mostra peek do próximo (~15%) */
    scroll-snap-align: start;
    min-width: 0;
  }

  .oft-depo__play-btn { width: 56px; height: 56px; }
  .oft-depo__play-btn svg { width: 22px; height: 22px; }
}
