/* Camada expandida da página Quem Somos.
   Os estilos institucionais anteriores continuam carregados como fallback. */
.ier-about-page {
  --about-ink: #092a4b;
  --about-blue: #0b3e6f;
  --about-paper: #f4f0e8;
  --about-orange: #eb6b25;
  --about-line: rgba(9, 42, 75, .2);
  background: var(--about-paper);
}

.ier-about-page .about-video-hero {
  min-height: 760px;
}

.ier-about-page .about-video-hero__content {
  width: min(880px, calc(100% - 48px));
  bottom: clamp(110px, 14vh, 156px);
}

.ier-about-page .about-video-hero__content h1 {
  max-width: 10.5ch;
  font-size: clamp(4rem, 7.2vw, 7.4rem);
}

.about-hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 34px;
  margin-top: 32px;
}

.about-video-hero__content .about-hero-facts span {
  display: grid;
  grid-template-columns: auto auto;
  align-items: baseline;
  gap: 8px;
  margin: 0;
  color: rgba(255, 255, 255, .82);
  font-size: .78rem;
  font-weight: 650;
  letter-spacing: .02em;
}

.about-hero-facts strong {
  color: #fff;
  font-size: 1.15rem;
  font-variant-numeric: tabular-nums;
}

.ier-about-page .about-story {
  padding-top: clamp(110px, 11vw, 180px);
  padding-bottom: clamp(120px, 12vw, 190px);
  background: var(--about-paper);
}

.ier-about-page .about-story__intro {
  grid-template-columns: minmax(150px, .32fr) minmax(440px, 1.05fr) minmax(330px, .72fr);
  gap: clamp(36px, 6vw, 96px);
  padding-bottom: clamp(80px, 8vw, 120px);
}

.ier-about-page .about-story__intro h2 {
  color: var(--about-ink);
  font-size: clamp(3.4rem, 5.4vw, 6.2rem);
}

.ier-about-page .about-story__intro > p:last-child,
.ier-about-page .about-story__chapters p {
  color: #3d5264;
  font-size: clamp(1rem, 1.08vw, 1.15rem);
}

.ier-about-page .about-story__chapters {
  border-color: var(--about-line);
}

.ier-about-page .about-story__chapters article {
  min-height: 330px;
  padding-top: 56px;
  padding-bottom: 62px;
}

.ier-about-page .about-story__chapters article + article {
  border-color: var(--about-line);
}

.about-story__gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, .45fr);
  gap: clamp(18px, 2vw, 32px);
  margin-top: clamp(76px, 8vw, 120px);
}

.about-story__photo {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: var(--about-ink);
}

.about-story__photo--wide { min-height: clamp(540px, 48vw, 760px); }
.about-story__photo--portrait { margin-top: clamp(80px, 10vw, 160px); min-height: 510px; }

.about-story__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.22, 1, .36, 1);
}

.about-story__photo--wide img { object-position: center 46%; }
.about-story__photo--portrait img { object-position: 50% 62%; }
.about-story__photo:hover img { transform: scale(1.025); }

.about-story__photo figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 70px 28px 26px;
  color: #fff;
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.45;
  background: linear-gradient(transparent, rgba(3, 20, 37, .84));
}

.about-story__photo figcaption span {
  display: block;
  margin-bottom: 7px;
  color: #ff9a51;
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.ier-about-page .about-story blockquote {
  max-width: 22ch;
  margin-top: clamp(100px, 11vw, 170px);
  font-size: clamp(3rem, 5.5vw, 6.6rem);
}

/* Os três capítulos usam ritmos e composições diferentes da home. */
.ier-about-page .about-history-card {
  height: auto;
  min-height: 900px;
  grid-template-columns: minmax(390px, .72fr) minmax(650px, 1.28fr);
  gap: clamp(48px, 6vw, 112px);
  padding-top: clamp(100px, 9vw, 150px);
  padding-bottom: clamp(110px, 10vw, 170px);
  background: #eef3f6;
}

.ier-about-page .about-copy h2,
.ier-about-page .about-history-card .about-copy h2 {
  width: auto;
  max-width: 10.8ch;
  font-size: clamp(3.2rem, 4.7vw, 5.5rem);
}

.ier-about-page .about-copy > p:not(.about-eyebrow) {
  font-size: clamp(1rem, 1.02vw, 1.12rem);
  line-height: 1.72;
}

.ier-about-page .about-history-collage {
  min-height: 680px;
}

.ier-about-page .about-history-collage .about-photo--main {
  inset: 0 auto auto 0;
  width: 72%;
  height: 88%;
  border: 0;
  border-radius: 0;
  object-position: center;
}

.ier-about-page .about-history-collage .about-photo--top {
  top: 8%;
  right: 0;
  width: 40%;
  height: 35%;
  border: 8px solid #eef3f6;
  border-radius: 0;
}

.ier-about-page .about-history-collage .about-photo--bottom {
  right: 3%;
  bottom: 0;
  width: 47%;
  height: 43%;
  border: 8px solid #eef3f6;
  border-radius: 0;
}

.ier-about-page .about-shape--blue { top: -5%; right: 9%; width: 52%; }
.ier-about-page .about-shape--orange { top: 45%; right: -5%; width: 57%; height: 36%; }
.ier-about-page .about-badge { bottom: 5%; left: 5%; }

.ier-about-page .about-purpose {
  min-height: 900px;
  padding-top: clamp(110px, 9vw, 150px);
  padding-bottom: clamp(120px, 10vw, 170px);
  background: #082b4d;
}

.ier-about-page .about-purpose-grid {
  grid-template-columns: minmax(590px, 1.08fr) minmax(390px, .92fr);
  gap: clamp(72px, 7vw, 130px);
}

.ier-about-page .about-purpose-collage { min-height: 700px; }
.ier-about-page .about-purpose-main { width: 88%; height: 92%; border-radius: 0; object-position: center; }
.ier-about-page .about-purpose-small { width: 49%; height: 45%; border: 9px solid #082b4d; border-radius: 0; object-position: center 30%; }
.ier-about-page .about-purpose-ring { top: -8%; right: -2%; }

.ier-about-page .about-paths {
  gap: 10px;
  margin-top: 34px;
}

.ier-about-page .about-paths li {
  padding: 10px 14px;
  border-radius: 0;
  font-size: .84rem;
}

.ier-about-page .about-location-card {
  min-height: 900px;
  grid-template-columns: minmax(390px, .72fr) minmax(660px, 1.28fr);
  gap: clamp(70px, 7vw, 130px);
  padding-top: clamp(110px, 9vw, 150px);
  padding-bottom: clamp(120px, 10vw, 170px);
}

.ier-about-page .about-location-visual { min-height: 690px; }
.ier-about-page .about-location-main { height: 72%; border-radius: 0; object-position: center 52%; }
.ier-about-page .about-map-card { min-height: 300px; border-radius: 0; }
.ier-about-page .about-location-small { height: 45%; border-radius: 0; }

/* Manifesto: deixa de ser faixa compacta e vira capítulo completo. */
.ier-about-page .ier-essence {
  height: auto;
  min-height: 760px;
  padding-top: 0;
}

.ier-about-page .ier-essence__inner {
  grid-template-columns: minmax(0, 44%) minmax(0, 56%);
  height: auto;
  min-height: 760px;
  clip-path: none;
}

.ier-about-page .ier-essence__photo {
  height: auto;
  min-height: 760px;
}

.ier-about-page .ier-essence__photo img { object-position: 52% center; }
.ier-about-page .ier-essence__manifesto { padding: 90px clamp(48px, 6vw, 112px); align-items: flex-start; }
.ier-about-page .ier-essence__heading { max-width: 800px; text-align: left; }
.ier-about-page .ier-essence__heading h2 { font-size: clamp(3.6rem, 5.2vw, 6.5rem); }
.ier-about-page .ier-essence__accent { margin: 20px 0; width: 84px; }
.ier-about-page .ier-essence__lead { font-size: clamp(1.2rem, 1.5vw, 1.6rem); line-height: 1.45; }
.ier-about-page .ier-essence__foundations { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 42px 56px; margin-top: 62px; }
.ier-about-page .ier-foundation { display: grid; grid-template-columns: 38px 1fr; column-gap: 18px; text-align: left; }
.ier-about-page .ier-foundation svg { grid-row: 1 / span 2; width: 32px; height: 32px; margin: 1px 0 0; }
.ier-about-page .ier-foundation h3 { font-size: 1.05rem; }
.ier-about-page .ier-foundation p { max-width: 34ch; margin: 0; font-size: .84rem; line-height: 1.55; }

.about-closing {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(420px, .84fr);
  min-height: 820px;
  background: #f7f2e9;
}

.about-closing__visual { min-height: 820px; overflow: hidden; }
.about-closing__visual img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }

.about-closing__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 90px clamp(48px, 6vw, 110px);
}

.about-closing__content h2 {
  max-width: 9ch;
  margin: 0;
  color: var(--about-ink);
  font-size: clamp(3.4rem, 5vw, 6rem);
  letter-spacing: -.055em;
  line-height: .98;
  text-wrap: balance;
}

.about-closing__content > p:not(.about-eyebrow) {
  max-width: 52ch;
  margin: 34px 0 0;
  color: #405569;
  font-size: clamp(1rem, 1.1vw, 1.16rem);
  line-height: 1.72;
}

.about-closing__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.about-closing__actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid var(--about-ink);
  color: var(--about-ink);
  font-size: .88rem;
  font-weight: 800;
  text-decoration: none;
  transition: color .24s ease, background-color .24s ease, transform .24s ease;
}
.about-closing__actions a:first-child { background: var(--about-ink); color: #fff; }
.about-closing__actions a:hover { background: var(--about-orange); border-color: var(--about-orange); color: #fff; transform: translateY(-2px); }
.about-closing__actions a:active { transform: translateY(0) scale(.985); }
.about-closing__actions a:focus-visible { outline: 3px solid var(--about-orange); outline-offset: 4px; }

@media (max-width: 1120px) {
  .ier-about-page .about-story__intro { grid-template-columns: 1fr; }
  .ier-about-page .about-history-card,
  .ier-about-page .about-purpose-grid,
  .ier-about-page .about-location-card { grid-template-columns: 1fr; }
  .ier-about-page .about-history-card { min-height: 0; padding: 100px 7vw 120px; }
  .ier-about-page .about-history-collage { min-height: 690px; }
  .ier-about-page .about-purpose-grid { display: grid; }
  .ier-about-page .about-purpose-collage { min-height: 680px; }
  .ier-about-page .about-location-card { min-height: 0; padding: 110px 6vw 130px; }
  .ier-about-page .about-location-visual { min-height: 650px; }
  .ier-about-page .ier-essence__inner { display: block; }
  .ier-about-page .ier-essence__photo { min-height: 560px; height: 560px; }
  .about-closing { grid-template-columns: 1fr; }
  .about-closing__visual { min-height: 620px; height: 62vw; }
  .about-closing__content { padding: 110px 7vw 130px; }
}

@media (max-width: 899px) {
  .ier-about-page .about-video-hero { min-height: 680px; }
  .ier-about-page .about-video-hero__content h1 { font-size: clamp(3.3rem, 10vw, 5.2rem); }
  .about-story__gallery { grid-template-columns: minmax(0, 1.25fr) minmax(220px, .75fr); }
  .ier-about-page .about-story__chapters article { min-height: 0; }
}

@media (max-width: 599px) {
  .ier-about-page .about-video-hero { min-height: 650px; }
  .ier-about-page .about-video-hero__content { bottom: 138px; }
  .ier-about-page .about-video-hero__content h1 { max-width: 9ch; font-size: clamp(2.8rem, 13.5vw, 4rem); }
  .ier-about-page .about-video-hero__content > span { max-width: 34ch; }
  .about-hero-facts { display: none; }
  .ier-about-page .about-story { padding: 86px 20px 100px; }
  .ier-about-page .about-story__intro { padding-bottom: 56px; }
  .ier-about-page .about-story__intro h2 { font-size: clamp(2.6rem, 12vw, 3.7rem); }
  .about-story__gallery { grid-template-columns: 1fr; margin-top: 64px; }
  .about-story__photo--wide { min-height: 410px; }
  .about-story__photo--portrait { min-height: 460px; margin-top: 0; }
  .ier-about-page .about-story blockquote { margin-top: 80px; font-size: clamp(2.45rem, 11vw, 3.45rem); }
  .ier-about-page .about-copy h2,
  .ier-about-page .about-history-card .about-copy h2 { font-size: clamp(2.55rem, 11.5vw, 3.5rem); }
  .ier-about-page .about-history-card { padding: 78px 20px 94px; }
  .ier-about-page .about-history-collage { min-height: 500px; margin-top: 50px; }
  .ier-about-page .about-history-collage .about-photo--main { width: 82%; height: 76%; }
  .ier-about-page .about-history-collage .about-photo--top { top: 6%; width: 46%; height: 30%; border-width: 5px; }
  .ier-about-page .about-history-collage .about-photo--bottom { right: 0; width: 56%; height: 39%; border-width: 5px; }
  .ier-about-page .about-badge { left: 0; bottom: 14%; }
  .ier-about-page .about-purpose { min-height: 0; padding: 88px 0 100px; }
  .ier-about-page .about-purpose-grid { display: flex; gap: 58px; }
  .ier-about-page .about-purpose-collage { min-height: 480px; }
  .ier-about-page .about-purpose-main { width: 92%; }
  .ier-about-page .about-purpose-small { border-width: 5px; }
  .ier-about-page .about-location-card { padding: 88px 20px 100px; }
  .ier-about-page .about-location-visual { min-height: 500px; }
  .ier-about-page .about-map-card { min-height: 220px; }
  .ier-about-page .ier-essence__photo { height: 380px; min-height: 380px; }
  .ier-about-page .ier-essence__manifesto { padding: 76px 22px 94px; }
  .ier-about-page .ier-essence__heading h2 { font-size: clamp(3rem, 14vw, 4.2rem); }
  .ier-about-page .ier-essence__foundations { grid-template-columns: 1fr; gap: 30px; margin-top: 48px; }
  .about-closing__visual { min-height: 400px; height: 108vw; }
  .about-closing__content { padding: 82px 22px 100px; }
  .about-closing__content h2 {
    font-size: clamp(2.35rem, 12vw, 3.4rem);
    overflow-wrap: normal;
    text-wrap: balance;
  }
  .about-closing__actions { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .about-story__photo img,
  .about-closing__actions a { transition: none; }
}
