/* A moldura permanece estável; as duas fotos se cruzam já carregadas. */
#bloco-06 .team-photo {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #111;
  will-change: auto;
}
#bloco-06 .team-copy { will-change: auto; }
#bloco-06 .team-photo-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: none;
  transition: opacity .48s ease, transform .48s cubic-bezier(.2,.8,.2,1);
}
#bloco-06 .team-photo-image.is-current { z-index: 1; opacity: 1; }
#bloco-06 .team-photo-image.is-incoming {
  z-index: 2;
  opacity: 0;
  transform: translateX(28px) scale(1.025);
}
#bloco-06 .team-photo.is-backwards .team-photo-image.is-incoming { transform: translateX(-28px) scale(1.025); }
#bloco-06 .team-photo.is-switching .team-photo-image.is-current { opacity: 0; transform: translateX(-24px) scale(1.025); }
#bloco-06 .team-photo.is-switching.is-backwards .team-photo-image.is-current { transform: translateX(24px) scale(1.025); }
#bloco-06 .team-photo.is-switching .team-photo-image.is-incoming { opacity: 1; transform: none; }
#bloco-06 .team-photo:hover .team-photo-image { filter: saturate(.9) contrast(1.04); }
#bloco-06 .team-copy.is-updating { animation: team-copy-arrive .42s ease both; }
@keyframes team-copy-arrive {
  from { opacity: .55; transform: translateX(12px); }
  to { opacity: 1; transform: none; }
}

/* Controle único, com áreas de toque amplas e direção legível. */
#bloco-06 .team-controls {
  display: inline-flex;
  flex-direction: row;
  width: max-content;
  max-width: 100%;
  align-items: center;
  gap: 0;
  margin-top: 30px;
  padding: 4px;
  border: 1px solid #4c3832;
  border-radius: 999px;
  background: linear-gradient(120deg, #211512, #101011);
  box-shadow: 0 10px 25px rgba(0,0,0,.25);
}
#bloco-06 .team-control {
  display: inline-flex;
  width: auto;
  min-width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #f5f1ef;
  font: 600 12px/1 Geist,Arial,sans-serif;
  letter-spacing: .04em;
  transition: background .2s, color .2s;
}
#bloco-06 .team-control svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
#bloco-06 .team-control span { color: inherit; }
#bloco-06 .team-control:hover,
#bloco-06 .team-control:focus-visible {
  border: 0;
  background: #4a2016;
  color: #fff;
  transform: none;
}
#bloco-06 .team-control:focus-visible { outline: 2px solid #ff8c65; outline-offset: 2px; }
#bloco-06 .team-control:disabled { opacity: .55; cursor: wait; }
#bloco-06 .team-controls-divider { width: 1px; height: 22px; background: #4d3731; }

/* A home não exibe dados fictícios do template no rodapé. */
#bloco-11 .footer-left { min-height: 250px; }
#bloco-11 .footer-brand { width: max-content; font: 500 clamp(44px,6vw,82px)/1 Oswald,Impact,sans-serif; letter-spacing: -.045em; }
#bloco-11 .footer-description { max-width: 380px; margin: 0; color: #a6a6a6; font-size: 14px; line-height: 1.55; }

/* Em telas sem hover, as listras saem sozinhas quando a foto está pronta. */
@media (hover: none), (pointer: coarse) {
  #journal .stripe-img::after { transform: translateX(105%); }
  .blog-auto-reveal #journal .article .stripe-img::after { transform: none; }
  .blog-auto-reveal #journal .article.is-image-revealed .stripe-img::after { transform: translateX(105%); }
  #journal .article:hover .stripe-img img { transform: none; }
}

@media (max-width: 600px) {
  #bloco-06.testimonial {
    grid-template-columns: minmax(0,1fr);
    gap: 22px;
    padding: 34px 20px 64px;
  }
  #bloco-06 .team-heading { grid-column: 1; margin-bottom: 0; }
  #bloco-06 .team-photo { grid-column: 1; width: 100%; height: min(112vw,460px); min-height: 0; }
  #bloco-06 .team-copy { grid-column: 1; padding: 0; }
  #bloco-06 .team-kicker { margin-bottom: 20px; font-size: 11px; letter-spacing: .1em; }
  #bloco-06 .team-quote { margin-bottom: 24px; font-size: clamp(26px,7vw,36px); line-height: 1.12; }
  #bloco-06 .team-bio-detail { margin: 0 0 24px; font-size: 14px; line-height: 1.5; }
  #bloco-06 .team-name { font-size: 13px; }
  #bloco-06 .team-role { font-size: 11px; line-height: 1.4; }
  #bloco-06 .team-controls { margin-top: 24px; }
  #bloco-06 .team-control { width: 48px; padding: 0; }
  #bloco-06 .team-control span { display: none; }

  #journal .journal-grid { grid-template-columns: minmax(0,1fr); gap: 46px; }
  #journal .stripe-img { height: min(67vw,310px); max-height: none; }
  #journal .article h3 { font-size: 22px; line-height: 1.16; }
  #journal .article small { margin-top: 14px; font-size: 11px; }
  #bloco-11 .footer-left { min-height: 170px; }
}

@media (prefers-reduced-motion: reduce) {
  #bloco-06 .team-photo-image { transition: none; }
  #bloco-06 .team-copy.is-updating { animation: none; }
  #journal .stripe-img::after { transition: none; }
}
