/* SG METAIS 0.22.8.22 — vertical institutional timeline. Native page scroll. */
.sg-company-v13 #historia[hidden],.sg-company-v13 #historia [hidden]{display:none!important}
.sg-company-v13 #historia{--history-header:68px;--history-bar:70px;--history-left:36%;--history-gap:clamp(24px,4.4vw,66px);background:var(--dark,#111416);color:#f5f5f5;border:0;padding-block:clamp(32px,4vw,60px);overflow:visible}
.sg-company-v13 #historia>.shell{min-width:0;overflow:visible}
.sg-company-v13 #historia .sg-history-head{position:sticky;top:var(--history-header);z-index:5;display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0;padding:12px 0;background:#151719;border-bottom:1px solid #ffffff25;color:#fff}
.sg-company-v13 #historia .sg-history-head .sg-company-label{color:#fff;min-width:0;margin:0}
.sg-company-v13 #historia .sg-history-actions{flex:none}
.sg-company-v13 #historia .sg-history-skip{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:44px;padding:9px 15px;border:1px solid #ffffff70;color:white;background:transparent;font:inherit;font-size:12px;font-weight:600;cursor:pointer;text-align:left;line-height:1.3;transition:background .18s,color .18s}
.sg-company-v13 #historia .sg-history-skip span{color:#ff747b;font-size:19px;line-height:1}
.sg-company-v13 #historia .sg-history-skip:hover{background:white;color:#111416}
.sg-company-v13 #historia .sg-history-skip:focus-visible{outline:2px solid #ff747b;outline-offset:4px}
.sg-company-v13 #historia .sg-history-editor-note{margin:16px 0 8px;padding:10px 14px;border-left:2px solid #f2303a;font-size:13px;line-height:1.5;color:#e1e1e1}
.sg-company-v13 #historia .sg-history-stage-wrap{position:relative;min-width:0;padding:12px 0;}
.sg-company-v13 #historia .sg-history-stage-wrap::before{content:"";position:absolute;top:22px;bottom:22px;left:var(--history-left);width:1px;background:#ffffff37;pointer-events:none}
.sg-company-v13 #historia .sg-history-stage{position:relative;display:grid;grid-template-columns:minmax(0,var(--history-left)) minmax(0,1fr);align-items:center;min-width:0;min-height:clamp(300px,58svh,520px);padding-block:clamp(32px,5vw,72px);background:transparent;border:0;scroll-margin-top:calc(var(--history-header) + var(--history-bar) + 12px);overflow:visible}
.sg-company-v13 #historia .sg-history-stage:only-child{min-height:0}
.sg-company-v13 #historia .sg-history-identity{position:relative;align-self:start;margin-top:4px;padding-right:var(--history-gap);min-width:0;overflow-wrap:anywhere}
.sg-company-v13 #historia .sg-history-identity::after{content:"";position:absolute;top:19px;right:-5px;width:11px;height:11px;background:#929292;border-radius:50%;box-shadow:0 0 0 5px #151719;transition:background .2s,box-shadow .2s}
.sg-company-v13 #historia .sg-history-stage.is-current .sg-history-identity::after{background:#f2303a;box-shadow:0 0 0 5px #151719,0 0 0 7px #f2303a80}
.sg-company-v13 #historia .sg-history-period{color:#ff737a;font-size:clamp(30px,4.3vw,60px);line-height:1.03;letter-spacing:-.045em;font-weight:650;margin:0 0 14px;font-variant-numeric:tabular-nums}
.sg-company-v13 #historia .sg-history-identity h3{font-size:clamp(20px,2.2vw,32px);line-height:1.17;letter-spacing:-.025em;color:#f5f5f5;font-weight:600;margin:0;max-width:24ch}
.sg-company-v13 #historia .sg-history-copy{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:18px;padding:0 0 0 var(--history-gap);min-width:0;overflow-wrap:anywhere}
.sg-company-v13 #historia .sg-history-description{font-size:clamp(15px,1.2vw,17px);line-height:1.7;color:#e1e1e1;max-width:68ch;white-space:pre-line;margin:0;overflow-wrap:anywhere}
.sg-company-v13 #historia .sg-history-photo{display:block;width:100%;min-width:0;max-width:100%;background:transparent;border:0;box-shadow:none;overflow:hidden;aspect-ratio:16/9;height:auto;max-height:clamp(220px,43svh,400px);min-height:0;margin:0}
.sg-company-v13 #historia .sg-history-photo img{display:block;width:100%;max-width:100%;height:100%;max-height:100%;object-fit:contain;object-position:left center;background:transparent;border:0;box-shadow:none}
.sg-company-v13 #historia .sg-history-text-only{min-height:clamp(210px,34svh,330px)}
@media(min-width:761px) and (min-height:620px){.sg-company-v13 #historia .sg-history-identity{position:sticky;top:calc(var(--history-header) + var(--history-bar) + 28px)}}
@media(max-width:760px){
 .sg-company-v13 #historia{--history-left:0px;--history-gap:22px;padding-block:24px 34px}
 .sg-company-v13 #historia .sg-history-head{gap:8px;padding:10px 0;flex-wrap:nowrap;align-items:center}
 .sg-company-v13 #historia .sg-history-head .sg-company-label{font-size:13px;gap:7px}
 .sg-company-v13 #historia .sg-history-skip{font-size:11px;gap:6px;padding:7px 9px;max-width:150px}
 .sg-company-v13 #historia .sg-history-stage-wrap{padding-left:22px}
 .sg-company-v13 #historia .sg-history-stage{grid-template-columns:minmax(0,1fr);align-items:start;gap:14px;min-height:0;padding-block:30px 34px}
 .sg-company-v13 #historia .sg-history-stage:not(:last-child){border-bottom:1px solid #ffffff14}
 .sg-company-v13 #historia .sg-history-identity{padding:0;margin:0}
 .sg-company-v13 #historia .sg-history-identity::after{left:-27px;right:auto;top:11px}
 .sg-company-v13 #historia .sg-history-period{font-size:clamp(29px,8vw,42px);margin-bottom:8px}
 .sg-company-v13 #historia .sg-history-identity h3{font-size:21px;max-width:none}
 .sg-company-v13 #historia .sg-history-copy{padding:0;gap:14px}
 .sg-company-v13 #historia .sg-history-description{font-size:14px;line-height:1.65}
 .sg-company-v13 #historia .sg-history-photo{max-height:min(52svh,340px)}
}
@media(prefers-reduced-motion:reduce){.sg-company-v13 #historia *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* 0.22.8.23 - Scroll-driven storytelling. Native scroll, one stage at a time. */
.sg-company-v13 #historia{--history-accent:var(--sg-red,#f2303a);--history-view:480px;--history-step:450px;background:#111416}
.sg-company-v13 #historia .sg-history-head{background:#111416}
.sg-company-v13 #historia .sg-history-skip span{color:var(--history-accent)}
.sg-company-v13 #historia .sg-history-skip:focus-visible{outline-color:var(--history-accent)}
.sg-company-v13 #historia .sg-history-period{color:var(--history-accent);font-weight:650;letter-spacing:-.045em;font-size:clamp(36px,5vw,72px)}
.sg-company-v13 #historia .sg-history-stage-wrap{padding:0}
.sg-company-v13 #historia .sg-history-stage-wrap::before{display:none}
.sg-company-v13 #historia .sg-history-deck{position:relative;min-width:0}
.sg-company-v13 #historia .sg-history-stage{min-height:clamp(340px,70svh,680px);padding-block:clamp(24px,4vw,56px)}
.sg-company-v13 #historia .sg-history-identity{position:relative;top:auto;align-self:center;margin:0}
.sg-company-v13 #historia .sg-history-identity::after{display:none}
.sg-company-v13 #historia .sg-history-copy{gap:16px}
.sg-company-v13 #historia .sg-history-photo{max-height:clamp(160px,32svh,340px)}
.sg-company-v13 #historia .sg-history-rail{display:none}
/* Pin the shared stage only when all content fits the viewport. No wheel/touch capture. */
.sg-company-v13 #historia[data-history-mode="pinned"] .sg-history-stage-wrap{height:var(--history-track-height);position:relative}
.sg-company-v13 #historia[data-history-mode="pinned"] .sg-history-deck{position:sticky;top:calc(var(--history-header) + var(--history-bar) + 10px);height:var(--history-view);display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);align-items:center;isolation:isolate}
.sg-company-v13 #historia[data-history-mode="pinned"] .sg-history-stage{grid-area:1/1;min-height:0;height:auto;padding-block:18px;align-self:center;border:0;opacity:0;visibility:hidden;pointer-events:none;transform:translateY(-12px);transition:opacity .16s ease,transform .16s ease,visibility 0s linear .16s;z-index:1}
.sg-company-v13 #historia[data-history-mode="pinned"] .sg-history-stage.is-current{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0);transition:visibility 0s,opacity .34s cubic-bezier(.2,.72,.2,1) .16s,transform .34s cubic-bezier(.2,.72,.2,1) .16s;z-index:2}
.sg-company-v13 #historia[data-history-mode="pinned"] .sg-history-rail{display:block;position:absolute;left:var(--history-left);top:12%;bottom:12%;width:1px;background:#ffffff24;pointer-events:none;z-index:0}
.sg-company-v13 #historia .sg-history-rail::before{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background:var(--history-accent);transform:scaleY(var(--history-progress,0));transform-origin:top}
.sg-company-v13 #historia .sg-history-rail::after{content:"";position:absolute;top:calc(var(--history-progress,0)*100%);left:50%;width:7px;height:7px;border-radius:50%;transform:translate(-50%,-50%);background:var(--history-accent)}
.sg-company-v13 #historia[data-history-mode="pinned"] .sg-history-stage:only-of-type{transition:none}
/* Long texts, narrow/short screens and reduced motion remain readable in natural flow. */
.sg-company-v13 #historia[data-history-mode="flow"] .sg-history-stage{border-bottom:1px solid #ffffff16}
.sg-company-v13 #historia[data-history-mode="flow"] .sg-history-stage:last-child{border-bottom:0}
.sg-company-v13 #historia[data-history-mode="flow"] .sg-history-stage:only-of-type{min-height:0}
@media(max-width:760px){
 .sg-company-v13 #historia .sg-history-stage-wrap{padding-left:0}
 .sg-company-v13 #historia .sg-history-stage{gap:14px;min-height:clamp(260px,68svh,620px);align-content:center;padding-left:18px;border-left:1px solid #ffffff24}
 .sg-company-v13 #historia .sg-history-stage.is-current{border-left-color:var(--history-accent)}
 .sg-company-v13 #historia .sg-history-period{font-size:clamp(34px,9vw,48px);margin-bottom:8px}
 .sg-company-v13 #historia .sg-history-identity h3{font-size:clamp(19px,4.7vw,24px)}
 .sg-company-v13 #historia .sg-history-copy{gap:12px}
 .sg-company-v13 #historia .sg-history-photo{max-height:min(26svh,240px)}
 .sg-company-v13 #historia[data-history-mode="pinned"] .sg-history-stage{padding:12px 0 12px 19px;border:0}
 .sg-company-v13 #historia[data-history-mode="pinned"] .sg-history-rail{left:0;top:6%;bottom:6%}
}
@media(prefers-reduced-motion:reduce){.sg-company-v13 #historia .sg-history-stage{opacity:1;visibility:visible;transform:none;transition:none!important}}
