/* DOA Estúdio — Página Sobre (/nova-home/sobre/) */

.doa-about-page #hero .hero-subtitle {
  max-width: 980px;
}

/* Clipped Video Section: Arquiteto e Fred */
.doa-about-page .clipped-image {
  background-color: #000;
}

.doa-about-page .clipped-image img,
.doa-about-page .content-video-wrapper video.bgvid {
  object-position: center center;
}

@media (max-aspect-ratio: 1/1), (max-width: 900px) {
  .doa-about-page .clipped-image img,
  .doa-about-page .content-video-wrapper video.bgvid {
    object-fit: contain;
  }
}

.doa-about-page .clipped-image-gradient {
  background: linear-gradient(to bottom, transparent 0%, rgba(12, 12, 12, 0.78) 60%, #0c0c0c 100%) !important;
  -webkit-mask-image: none;
  mask-image: none;
}

.doa-about-page .clipped-image-content {
  padding-inline: clamp(20px, 5vw, 60px);
  box-sizing: border-box;
}

.doa-philosophy-panel {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(26px, 4vw, 48px) clamp(22px, 4vw, 52px);
  background: rgba(12, 12, 12, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

.doa-philosophy-panel h2 {
  font-size: clamp(38px, 4.6vw, 68px);
  line-height: 1.02;
  color: #fff;
  margin-bottom: 18px;
}

.doa-philosophy-panel p {
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.86);
  margin: 0;
}

.doa-philosophy-panel strong {
  color: #fff;
  font-weight: 500;
}

.doa-philosophy-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px 22px;
  margin-top: 26px;
}

/* Fallback and reduced-motion safety for Clipped Video & Move Thumbs */
@media (prefers-reduced-motion: reduce) {
  .doa-about-page .clipped-image {
    clip-path: none !important;
    height: min(72vh, 680px) !important;
  }
  .doa-about-page .clipped-image-wrapper {
    height: auto !important;
  }
  .doa-about-page .clipped-image-content {
    padding-top: 32px !important;
  }
  .doa-about-page .start-move-thumb {
    margin-top: 16px !important;
  }
  .doa-about-page .end-thumbs-wrapper {
    display: none;
  }
}

.runtime-fallback.doa-about-page .clipped-image-wrapper {
  height: auto !important;
}
.runtime-fallback.doa-about-page .clipped-image {
  clip-path: none !important;
  height: min(68vh, 620px) !important;
}
.runtime-fallback.doa-about-page .clipped-image-content {
  padding-top: 32px !important;
}
.runtime-fallback.doa-about-page .start-move-thumb {
  margin-top: 16px !important;
  width: calc(33.33% - 32px) !important;
  height: calc(33.33vw - 32px) !important;
  margin-inline: 16px !important;
}
.runtime-fallback.doa-about-page .end-thumbs-wrapper {
  display: none !important;
}
.runtime-fallback.doa-about-page dd.accordion-content {
  display: block !important;
}

@media (max-width: 767px) {
  .runtime-fallback.doa-about-page .start-move-thumb {
    width: calc(50% - 20px) !important;
    height: calc(50vw - 20px) !important;
    margin-inline: 10px !important;
  }
}

/* Reconhecimentos: keep square framing consistent and center trailing row */
.doa-about-page .move-thumb-inner .section-image {
  background: #141414;
}

.doa-about-page .move-thumb-inner .item-image {
  object-fit: cover;
}

.doa-about-page .end-thumbs-wrapper {
  justify-content: center;
}

/* Prêmios e Destaques: preserve pure #fff so mix-blend-mode: difference inverts cleanly on hover */
.doa-about-page .flex-list > span {
  color: #fff;
}

.doa-about-page .flex-list a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

.doa-about-page .flex-list-links {
  display: inline-block;
  margin-top: 6px;
  font-size: 12px;
  opacity: 0.78;
}

/* Para Quem Projetamos e Concursos — Moving Gallery (Montoya parallax rows) */
.doa-about-page .moving-gallery li {
  display: flex;
  flex-direction: column;
}

.doa-about-page .moving-gallery li > a,
.doa-about-page .moving-gallery li > .doa-gallery-item {
  display: block;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.doa-about-page .moving-gallery li > a:hover,
.doa-about-page .moving-gallery li > a:focus-visible {
  border-color: rgba(214, 174, 140, 0.72);
}

.doa-about-page .moving-gallery li img {
  display: block;
  width: 100%;
  height: auto;
  border: 0;
  border-radius: 0;
}

.doa-about-page .moving-gallery-caption {
  position: static;
  padding: 12px 10px 4px;
  opacity: 0.88;
  font-size: 13px;
  color: #dcdcdc;
  line-height: 1.4;
}

.doa-about-page .moving-gallery li:hover .moving-gallery-caption {
  opacity: 1;
  color: #fff;
}

.runtime-fallback.doa-about-page .moving-gallery .wrapper-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  padding: 0 24px;
  width: 100%;
  box-sizing: border-box;
}

.runtime-fallback.doa-about-page .moving-gallery li {
  width: auto;
  padding: 0;
  margin: 0;
}

@media (prefers-reduced-motion: reduce) {
  .doa-about-page .moving-gallery .wrapper-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    padding: 0 24px;
    width: 100%;
    box-sizing: border-box;
  }
  .doa-about-page .moving-gallery li {
    width: auto;
    padding: 0;
    margin: 0;
  }
}

/* Team section: preserve Montoya HoverImgFx1 reveal effect, refined framing & responsive grid */
.doa-about-page .team-members-list li {
  padding: 36px clamp(20px, 5vw, 80px);
}

.doa-about-page .team-members-list li > a {
  display: block;
  text-decoration: none;
  color: inherit;
}

.doa-about-page .team-member {
  display: grid;
  grid-template-columns: minmax(110px, 1fr) auto minmax(180px, 1fr);
  align-items: center;
  gap: 24px;
  width: 100%;
  font-size: clamp(34px, 4.4vw, 72px);
  line-height: 1.04;
}

.doa-about-page .team-member > span {
  position: static;
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

.doa-about-page .team-member > span:first-child {
  text-align: left;
  justify-self: start;
}

.doa-about-page .team-member > span:last-child {
  text-align: right;
  justify-self: end;
}

.doa-about-page .team-member > div {
  margin: 0 auto;
  text-align: center;
  text-shadow: 0 6px 26px rgba(0, 0, 0, 0.45);
}

.doa-about-page .team-members-list .hover-reveal {
  width: 300px;
  height: 375px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.72);
}

.doa-about-page .team-members-list .hover-reveal__img {
  background-position: center 20%;
}

/* Vitrine-style fullscreen portrait expansion when opening Diego's profile */
.doa-vitrine-expand {
  position: fixed;
  z-index: 9500;
  border-radius: 10px;
  overflow: hidden;
  pointer-events: none;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.75);
  background: #0c0c0c;
}

.doa-vitrine-expand-img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center 25%;
  background-repeat: no-repeat;
}

@media (max-width: 900px) {
  .doa-about-page .team-member {
    grid-template-columns: 1fr;
    gap: 10px;
    justify-items: center;
    text-align: center;
    font-size: clamp(36px, 9.5vw, 56px);
  }
  .doa-about-page .team-member > span:first-child,
  .doa-about-page .team-member > span:last-child {
    text-align: center;
    justify-self: center;
  }
}
