/* Identidade e componentes vêm da prévia Legacy Doc. Ajustes para a página Branded Doc. */
.language-switcher {
  gap: 8px;
}

.language-switcher a,
.language-switcher [aria-current="page"] {
  display: grid;
  place-items: center;
  width: 28px;
  height: 27px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 3px;
}

.language-switcher [aria-current="page"] {
  border-color: var(--orange);
}

.language-switcher img {
  width: 20px;
  height: auto;
  border-radius: 1px;
}

.media-language {
  margin-top: 5px;
  color: var(--muted);
}

@media (max-width: 420px) {
  .language-switcher {
    gap: 3px;
    margin-right: 7px;
  }

  .language-switcher a,
  .language-switcher [aria-current="page"] {
    width: 25px;
  }
}

.opening-screen video {
  aspect-ratio: 12 / 5;
  max-height: 77svh;
}

.hero-portrait > img {
  object-position: 29% center;
}

.hero-portrait figcaption span:first-child {
  max-width: 24ch;
}

.evidence-item .story-cover,
.elder-slide > img,
.gallery-thumbs img,
.scope-phase-image img,
.case-figures img {
  aspect-ratio: 12 / 5;
}

.elder-slide > img {
  display: block;
  width: 100%;
  height: auto;
}

.elder-slide figcaption {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 16px;
  font-size: 14px;
  color: var(--muted);
}

#elder-slide-count {
  white-space: nowrap;
}

.case-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.case-partners {
  margin-top: 56px;
}

.case-partners .audience-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 26px;
}

.case-partners h4 {
  margin: 0;
  font-size: 20px;
}

.contact-portrait img {
  object-position: center;
}

@media (max-width: 560px) {
  .opening-screen video {
    max-height: none;
  }

  .elder-slide figcaption {
    font-size: 12px;
  }

  .case-stats,
  .case-partners .audience-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

.hero h1,
.section-heading h2 {
  text-wrap: balance;
}

.main-cta-button-final {
  color: #201407;
}

@media (max-width: 560px) {
  .hero h1 {
    font-size: clamp(34px, 10vw, 43px);
  }
}

.brand-role {
  margin-top: 48px;
  padding: 28px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  align-items: start;
  gap: 32px;
}

.brand-role p {
  color: var(--muted);
  font-size: 16px;
}

@media (max-width: 560px) {
  .brand-role {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}
