/* Três capítulos editoriais contínuos. As regras das abas antigas permanecem
   em ier-atualizado.css para preservar páginas legadas. */
#quem-somos.about-editorial { padding:0; scroll-margin-top:80px; background:#f8fafc; }
.about-chapter { position:relative; scroll-margin-top:78px; }
.about-shell { width:min(calc(100% - 48px),1380px); margin-inline:auto; }
.about-copy { position:relative; z-index:3; align-self:center; }
.about-eyebrow { margin:0 0 16px; color:var(--ier-orange); font-size:.92rem; font-weight:800; line-height:1; letter-spacing:.055em; text-transform:uppercase; }
.about-copy h2 { max-width:11.6ch; margin:0; color:var(--ier-navy); font-size:clamp(2.55rem,4.3vw,4.65rem); line-height:1.04; letter-spacing:-.055em; text-wrap:balance; }
.about-accent { display:block; width:54px; height:4px; margin:25px 0 23px; border-radius:999px; background:var(--ier-orange); }
.about-copy>p:not(.about-eyebrow) { max-width:59ch; margin:0 0 16px; color:#355574; font-size:clamp(.94rem,1.05vw,1.06rem); line-height:1.56; }
.about-link { display:inline-flex; align-items:center; justify-content:space-between; gap:28px; min-width:230px; margin-top:8px; padding:12px 16px; border:1.5px solid var(--ier-orange); border-radius:7px; color:var(--ier-navy); font-size:.91rem; font-weight:700; line-height:1.2; transition:color .24s ease,background-color .24s ease,transform .24s ease,box-shadow .24s ease; }
.about-link i { color:var(--ier-orange); transition:color .24s ease,transform .24s ease; }
.about-link:hover { background:var(--ier-orange); color:white; transform:translateY(-2px); box-shadow:0 12px 24px rgba(211,91,23,.18); }
.about-link:hover i { color:white; transform:translateX(3px); }
.about-link:active { transform:translateY(0) scale(.985); }

/* Capítulo 1: composição fiel à referência fornecida. */
.about-history { padding:0; background:#f6f8fc; }
.about-history .about-shell { width:100%; max-width:none; }
.about-history-card { display:grid; grid-template-columns:minmax(0,.98fr) minmax(570px,1.12fr); height:780px; min-height:780px; overflow:hidden; padding-block:52px; padding-inline:max(68px,calc((100vw - 1600px)/2 + 68px)); border-radius:0; background:radial-gradient(circle at 82% 28%,rgba(220,231,246,.78) 0 14%,transparent 14.2%),linear-gradient(120deg,#f6f8fc 0%,#f9fbfd 47%,#f1f5fa 100%); }
.about-history-card .about-copy { padding-right:0; }
.about-history-card .about-copy h2 { width:720px; max-width:none; font-size:clamp(3rem,4vw,4rem); }
.about-history-card .about-copy>p:not(.about-eyebrow) { max-width:46ch; }
.about-history-card .about-link { min-width:294px; }
.about-collage { position:relative; min-width:0; margin:0; }
.about-history-collage { min-height:650px; }
.about-collage-asset { position:absolute; z-index:2; top:-6%; left:-31.5%; width:161.5%; max-width:none; height:auto; filter:drop-shadow(0 22px 26px rgba(6,28,55,.16)); }
.about-photo { position:absolute; display:block; object-fit:cover; border:5px solid white; box-shadow:0 18px 40px rgba(6,28,55,.16); }
.about-photo--main { inset:0 auto 4% 3%; z-index:2; width:59%; height:96%; border:0; border-radius:32px; object-position:49% center; }
.about-photo--top { z-index:4; top:18%; right:0; width:49%; height:29%; border-radius:22px; object-position:center 38%; }
.about-photo--bottom { z-index:4; right:4%; bottom:7%; width:48%; height:32%; border-radius:22px; object-position:center 32%; }
.about-shape { position:absolute; pointer-events:none; }
.about-shape--blue { z-index:0; top:4%; right:6%; width:47%; aspect-ratio:1; border-radius:50%; background:#e4ecf8; }
.about-shape--orange { z-index:1; right:-3%; top:31%; width:55%; height:33%; border:3px solid var(--ier-orange); border-left-color:transparent; border-radius:0 999px 999px 0; transform:rotate(-4deg); }
.about-badge,.about-location-badge,.about-purpose-badge { position:absolute; z-index:6; display:inline-flex; align-items:center; gap:12px; border-radius:999px; background:var(--ier-navy); color:white; box-shadow:0 14px 27px rgba(6,28,55,.24); font-size:.86rem; font-weight:700; white-space:nowrap; }
.about-badge { bottom:0; left:18%; padding:14px 27px; font-size:.9rem; }
.about-badge i,.about-location-badge i { color:var(--ier-orange); }
.about-badge b,.about-location-badge b,.about-purpose-badge b { color:#89a0b7; }

/* Capítulo 2: o mesmo vocabulário visual em uma superfície azul-marinho. */
.about-purpose { overflow:hidden; padding:70px 0 76px; background:radial-gradient(circle at 9% 18%,rgba(37,112,179,.21),transparent 28%),radial-gradient(circle at 90% 84%,rgba(242,122,50,.13),transparent 24%),var(--ier-navy); }
.about-purpose::before { content:''; position:absolute; inset:0; pointer-events:none; opacity:.22; background-image:radial-gradient(rgba(255,255,255,.22) .7px,transparent .7px); background-size:8px 8px; }
.about-purpose-grid { position:relative; z-index:1; display:grid; grid-template-columns:minmax(620px,1.16fr) minmax(0,.84fr); align-items:center; gap:clamp(48px,5vw,80px); width:min(calc(100% - 72px),1600px); }
.about-copy--light h2 { color:white; }
.about-copy--light>p:not(.about-eyebrow) { color:#cedbe8; }
.about-purpose-collage { min-height:650px; }
.about-purpose-main,.about-purpose-small { position:absolute; display:block; object-fit:cover; box-shadow:0 24px 52px rgba(0,0,0,.28); }
.about-purpose-main { inset:0 auto 3% 0; z-index:2; width:84%; height:94%; border-radius:38px; object-position:center 42%; }
.about-purpose-small { z-index:4; right:0; bottom:0; width:50%; height:46%; border:7px solid #0c2a49; border-radius:27px; object-position:center 43%; }
.about-purpose-ring { position:absolute; z-index:1; top:-7%; right:-1%; width:62%; aspect-ratio:1; border:4px solid var(--ier-orange); border-radius:50%; }
.about-purpose-badge { left:6%; bottom:0; padding:15px 26px; background:var(--ier-orange); box-shadow:0 14px 27px rgba(0,0,0,.25); font-size:.9rem; }
.about-purpose-badge b { color:rgba(255,255,255,.66); }
.about-paths { display:flex; flex-wrap:wrap; gap:9px; margin:29px 0 0; padding:0; list-style:none; }
.about-paths li { padding:8px 12px; border:1px solid rgba(255,255,255,.18); border-radius:6px; background:rgba(255,255,255,.06); color:#eef5fb; font-size:.81rem; font-weight:650; }

/* Capítulo 3: localização, fachada e mapa no mesmo sistema editorial. */
.about-location { overflow:hidden; padding:0; background:radial-gradient(circle at 88% 22%,rgba(218,230,245,.82) 0 13%,transparent 13.2%),linear-gradient(120deg,#eef4fa 0%,#f5f8fb 48%,#eaf1f8 100%); }
.about-location-card { display:grid; grid-template-columns:minmax(0,.78fr) minmax(680px,1.22fr); align-items:center; gap:clamp(48px,4.5vw,72px); width:100%; max-width:none; padding-block:58px 62px; padding-inline:max(68px,calc((100vw - 1600px)/2 + 68px)); overflow:hidden; border-radius:0; background:transparent; }
.about-location-visual { position:relative; min-height:640px; margin:0; }
.about-location-visual::before { content:''; position:absolute; z-index:0; top:3%; right:-5%; width:58%; aspect-ratio:1; border:4px solid var(--ier-orange); border-radius:50%; }
.about-location-main { position:absolute; inset:0 0 auto 3%; z-index:1; width:96%; height:70%; border-radius:36px; object-fit:cover; object-position:center; box-shadow:0 24px 48px rgba(6,28,55,.16); }
.about-map-card { position:absolute; z-index:3; left:0; bottom:0; width:62%; min-height:280px; overflow:hidden; border:7px solid white; border-radius:28px; background:#dce8f1; box-shadow:0 20px 42px rgba(6,28,55,.17); }
.about-map-card svg { display:block; width:100%; height:205px; }
.map-road { fill:none; stroke:#fff; stroke-width:9; stroke-linecap:round; }
.map-road--wide { stroke:#b9cbd9; stroke-width:17; }
.map-road--small { stroke-width:5; }
.map-halo { fill:rgba(242,122,50,.18); }
.map-pin { fill:var(--ier-orange); filter:drop-shadow(0 5px 6px rgba(95,43,14,.2)); }
.about-map-label { position:absolute; inset:auto 14px 13px; display:flex; flex-direction:column; padding:10px 12px; border-radius:9px; background:rgba(255,255,255,.92); color:var(--ier-navy); font-size:.7rem; line-height:1.28; box-shadow:0 8px 18px rgba(6,28,55,.1); }
.about-map-label strong { font-size:.88rem; }
.about-location-small { position:absolute; z-index:4; right:0; bottom:0; width:51%; height:43%; border:7px solid white; border-radius:27px; object-fit:cover; object-position:center; box-shadow:0 19px 39px rgba(6,28,55,.17); }
.about-location-badge { top:60%; right:2%; padding:14px 22px; font-size:.9rem; }

@media (max-width:1120px) {
  .about-shell { width:min(calc(100% - 36px),980px); }
  .about-history-card,.about-purpose-grid,.about-location-card { grid-template-columns:1fr; }
  .about-history-card { height:auto; padding:60px; }
  .about-history-card .about-copy { max-width:670px; padding-right:0; }
  .about-history-card .about-copy h2 { width:auto; max-width:11.6ch; }
  .about-history-collage { min-height:570px; }
  .about-history .about-shell { width:100%; max-width:none; }
  .about-purpose { padding:72px 0 76px; }
  .about-purpose-grid { width:min(calc(100% - 36px),980px); gap:50px; }
  .about-purpose-collage { width:min(100%,760px); min-height:620px; }
  .about-purpose .about-copy { max-width:720px; }
  .about-location { padding:0; }
  .about-location-card { width:100%; max-width:none; gap:48px; padding-block:54px 58px; padding-inline:max(36px,calc((100vw - 980px)/2 + 36px)); border-radius:0; }
  .about-location-card .about-copy { max-width:680px; }
  .about-location-visual { width:min(100%,800px); min-height:620px; }
}

@media (max-width:680px) {
  .about-chapter { scroll-margin-top:64px; }
  .about-shell { width:min(calc(100% - 24px),560px); }
  .about-copy h2 { max-width:12.5ch; font-size:clamp(2.25rem,11.5vw,3.45rem); line-height:1.02; }
  .about-copy>p:not(.about-eyebrow) { font-size:.94rem; line-height:1.58; }
  .about-eyebrow { margin-bottom:14px; font-size:.79rem; }
  .about-accent { margin:21px 0 20px; }
  .about-link { width:100%; min-width:0; margin-top:7px; }
  .about-history { padding:0; }
  .about-history-card { min-height:0; padding:44px 24px 29px; border-radius:0; background:radial-gradient(circle at 90% 55%,rgba(220,231,246,.75) 0 13%,transparent 13.2%),linear-gradient(135deg,#f6f8fc,#f0f5fa); }
  .about-history-collage { min-height:420px; margin-top:38px; }
  .about-collage-asset { top:1%; left:-39%; width:170%; }
  .about-photo--main { left:0; width:68%; height:94%; border-radius:24px; }
  .about-photo--top { top:13%; width:50%; height:26%; border-width:4px; border-radius:17px; }
  .about-photo--bottom { right:0; bottom:10%; width:51%; height:29%; border-width:4px; border-radius:17px; }
  .about-shape--orange { right:-14%; width:61%; }
  .about-badge { left:6%; padding:11px 15px; font-size:.72rem; }
  .about-purpose { padding:62px 0 68px; }
  .about-purpose-grid { display:flex; width:min(calc(100% - 24px),560px); flex-direction:column-reverse; gap:42px; }
  .about-purpose-collage { width:100%; min-height:455px; }
  .about-purpose-main { width:88%; height:92%; border-radius:27px; }
  .about-purpose-small { width:52%; height:44%; border-width:5px; border-radius:20px; }
  .about-purpose-ring { top:-4%; right:-9%; width:67%; border-width:3px; }
  .about-purpose-badge { left:3%; padding:12px 17px; font-size:.7rem; }
  .about-paths { margin-top:24px; }
  .about-paths li { flex:1 1 auto; text-align:center; }
  .about-location { padding:0; }
  .about-location-card { width:100%; gap:38px; padding:42px 20px 28px; border-radius:0; }
  .about-location-visual { min-height:480px; }
  .about-location-visual::before { top:4%; right:-16%; width:72%; border-width:3px; }
  .about-location-main { left:0; width:100%; height:63%; border-radius:25px; }
  .about-map-card { width:70%; min-height:220px; border-width:5px; border-radius:20px; }
  .about-map-card svg { height:160px; }
  .about-map-label { inset:auto 9px 9px; padding:8px 9px; }
  .about-location-small { right:0; bottom:0; width:55%; height:38%; border-width:5px; border-radius:19px; }
  .about-location-badge { top:58%; right:2%; padding:10px 13px; font-size:.67rem; }
}

@media (prefers-reduced-motion:reduce) {
  .about-link,.about-link i { transition:none; }
}

/* Compactação responsiva das seções institucionais.
   Mantém as regras originais acima como fallback e reduz apenas o espaço vertical. */
@media (min-width:1121px) {
  .about-history-card { height:600px; min-height:600px; padding-block:40px; }
  .about-history-card .about-copy h2 { font-size:clamp(2.75rem,3.25vw,3.35rem); }
  .about-copy>p:not(.about-eyebrow) { font-size:clamp(.9rem,.88vw,1rem); line-height:1.62; }
  .about-copy>p:not(.about-eyebrow) { margin-bottom:20px; }
  .about-link { min-width:250px; padding:11px 15px; font-size:.86rem; }
  .about-history-collage { min-height:455px; }
  .about-history-collage .about-collage-asset { top:0; left:50%; width:auto; height:100%; max-width:none; transform:translateX(-50%); }
  .about-purpose { padding-block:54px 62px; }
  .about-purpose-collage { min-height:455px; }
  .about-purpose .about-copy h2 { font-size:clamp(2.7rem,3.35vw,3.5rem); }
  .about-purpose-main { border-radius:27px; }
  .about-purpose-small { border-radius:19px; }
  .about-location-card { padding-block:50px 56px; }
  .about-location-visual { min-height:450px; }
  .about-location .about-copy h2 { font-size:clamp(2.7rem,3.35vw,3.5rem); }
  .about-location-main { border-radius:25px; }
  .about-map-card { min-height:210px; border-radius:20px; }
  .about-location-small { border-radius:19px; }
}

@media (min-width:681px) and (max-width:1120px) {
  .about-history-card { padding-block:44px; }
  .about-history-collage { min-height:400px; }
  .about-history-collage .about-collage-asset { top:0; left:50%; width:auto; height:100%; max-width:none; transform:translateX(-50%); }
  .about-purpose { padding-block:50px 56px; }
  .about-purpose-collage { min-height:430px; }
  .about-purpose .about-copy h2 { font-size:clamp(2.2rem,4.8vw,3rem); }
  .about-purpose-main { border-radius:27px; }
  .about-purpose-small { border-radius:19px; }
  .about-location-card { gap:36px; padding-block:46px 52px; }
  .about-location-visual { min-height:430px; }
  .about-location-main { border-radius:25px; }
  .about-map-card { min-height:210px; border-radius:20px; }
  .about-location-small { border-radius:19px; }
}

@media (max-width:680px) {
  .about-history-card { padding-top:30px; }
  .about-history-card .about-copy h2 { font-size:clamp(1.8rem,8vw,2.4rem); }
  .about-history-collage { min-height:295px; margin-top:22px; }
  .about-history-collage .about-collage-asset { top:0; left:50%; width:auto; height:100%; max-width:none; transform:translateX(-50%); }
  .about-purpose { padding-block:38px 42px; }
  .about-purpose-grid { gap:26px; }
  .about-purpose-collage { min-height:320px; }
  .about-purpose .about-copy h2 { font-size:clamp(2rem,9vw,2.65rem); }
  .about-purpose-main { border-radius:19px; }
  .about-purpose-small { border-radius:14px; }
  .about-location-card { gap:24px; padding-top:30px; }
  .about-location-visual { min-height:335px; }
  .about-location-main { border-radius:18px; }
  .about-map-card { min-height:155px; border-radius:14px; }
  .about-location-small { border-radius:13px; }
}
