#sobre .section-intro {
  max-height: 550px;
  min-height: 0;
}

.section-sobre-video-wrapper {
  width: 100%;
  height: 755px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background-color: var(--color-white);
}

.section-sobre-mission-wrapper {
  display: flex;
  flex-direction: column;
  padding: clamp(60px, 8vw, 100px) clamp(20px, 5vw, 60px);
  gap: clamp(40px, 6vw, 63px);
}

.section-sobre-xodo-wrapper {
  padding: clamp(60px, 8vw, 100px) clamp(20px, 5vw, 60px);
}

#sobre .section-sobre-mission-card {
  gap: 0;
}

#sobre .section-sobre-mission-text {
  margin-top: 40px;
}

#sobre .section-sobre-authenticity .section-sobre-authenticity-highlight:last-of-type .section-sobre-authenticity-highlight-text {
  font-weight: 600;
}

#sobre .section-sobre-pillars-title {
  font-family: var(--font-family-secondary);
}

@media (max-width: 1024px) {
  .section-sobre-video-wrapper {
    height: auto;
    padding: clamp(40px, 6vw, 80px) 0;
  }
}

@media (max-width: 768px) {
  #sobre .section-intro {
    max-height: none;
    padding-top: 72px;
  }

  #sobre .section-sobre-mission-text {
    font-size: 14px;
  }

  #sobre .section-sobre-pillars {
    height: 100%;
  }

  #sobre .section-two-columns-highlight-label {
    text-align: center;
  }
}

/* ========================================
   Sobre motion
   ======================================== */

/* Entrada inicial do hero, independente de JavaScript. */
#sobre .topo-title {
  animation: sobre-hero-in 1s cubic-bezier(0.16, 1, 0.3, 1) 0.12s both;
}

#sobre .topo-subtitle {
  animation: sobre-hero-in 1s cubic-bezier(0.16, 1, 0.3, 1) 0.28s both;
}

@keyframes sobre-hero-in {
  from {
    opacity: 0;
    transform: translateY(28px);
    clip-path: inset(0 0 100% 0);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    clip-path: inset(0 0 0 0);
  }
}

/* Titulos e textos sobem em uma sequencia curta dentro de cada secao. */
#sobre.sobre-motion-enabled .sobre-motion-item {
  opacity: 1;
  transform: translateY(0);
  clip-path: inset(0 0 0 0);
  transition:
    opacity 0.7s ease,
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    clip-path 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--sobre-motion-delay, 0ms);
}

#sobre.sobre-motion-enabled .sobre-motion-pending .sobre-motion-item {
  opacity: 0;
  transform: translateY(28px);
  clip-path: inset(0 0 100% 0);
}

/* Video e imagens editoriais abrem como uma cortina vertical. */
#sobre.sobre-motion-enabled .sobre-motion-visual {
  opacity: 1;
  clip-path: inset(0 0 0 0);
  transition:
    clip-path 1.15s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.8s ease;
  transition-delay: var(--sobre-motion-delay, 0ms);
}

#sobre.sobre-motion-enabled .sobre-motion-visual > img,
#sobre.sobre-motion-enabled .video-frame-wrapper .section-video-bg {
  transform: scale(1);
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--sobre-motion-delay, 0ms);
}

#sobre.sobre-motion-enabled .sobre-motion-pending .sobre-motion-visual {
  opacity: 0;
  clip-path: inset(100% 0 0 0);
}

#sobre.sobre-motion-enabled .sobre-motion-pending .sobre-motion-visual > img,
#sobre.sobre-motion-enabled .sobre-motion-pending .video-frame-wrapper .section-video-bg {
  transform: scale(1.1);
}

@media (hover: hover) and (pointer: fine) {
  #sobre.sobre-motion-enabled .section-sobre-authenticity .section-two-columns-image-large:hover > img,
  #sobre.sobre-motion-enabled .section-sobre-legacy .section-two-columns-image-large:hover > img {
    transform: scale(1.035);
    transition-delay: 0ms;
  }
}

/* Cards institucionais entram em cascata, sem alterar suas medidas. */
#sobre.sobre-motion-enabled .sobre-motion-card {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.75s ease,
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--sobre-motion-delay, 0ms);
}

#sobre.sobre-motion-enabled .sobre-motion-pending .sobre-motion-card {
  opacity: 0;
  transform: translateY(28px);
}

#sobre.sobre-motion-enabled .section-sobre-mission-icon img,
#sobre.sobre-motion-enabled .section-sobre-pillars-icon img {
  transform: scale(1);
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

#sobre.sobre-motion-enabled .sobre-motion-pending .section-sobre-mission-icon img,
#sobre.sobre-motion-enabled .sobre-motion-pending .section-sobre-pillars-icon img {
  transform: scale(0.82);
}

/* Mapa: lista e mapa se encontram pelas laterais sem afetar o Google Maps. */
#sobre.sobre-motion-enabled .section-sobre-map-list.sobre-motion-visual {
  clip-path: inset(0 0 0 0);
}

#sobre.sobre-motion-enabled .section-sobre-map-map.sobre-motion-visual {
  clip-path: inset(0 0 0 0);
}

#sobre.sobre-motion-enabled .section-sobre-map.sobre-motion-pending .section-sobre-map-list {
  clip-path: inset(0 100% 0 0);
}

#sobre.sobre-motion-enabled .section-sobre-map.sobre-motion-pending .section-sobre-map-map {
  clip-path: inset(0 0 0 100%);
}

@media (prefers-reduced-motion: reduce) {
  #sobre .topo-title,
  #sobre .topo-subtitle,
  #sobre .scroll-indicator {
    animation: none !important;
  }

  #sobre .sobre-motion-item,
  #sobre .sobre-motion-card,
  #sobre .sobre-motion-visual,
  #sobre .sobre-motion-visual > img,
  #sobre .section-video-bg,
  #sobre .section-sobre-mission-icon img,
  #sobre .section-sobre-pillars-icon img {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
}
