/* Local Home proposal: restrained, dependency-free motion inspired by the reference demos. */
.home-motion-sample main>section:not(.hero) h2 .motion-word{transform:translateY(105%);transition:transform .65s cubic-bezier(.22,1,.36,1),opacity .45s ease;transition-delay:calc(var(--word-index,0)*30ms)}
.home-motion-sample main>section:not(.hero) h2.text-entered .motion-word{transform:none;opacity:1}
.home-motion-sample #grupo .institutional-video{clip-path:inset(0 var(--film-inset,0%) round var(--photo-radius,24px));transform:none!important;opacity:1!important;transition:none!important}
.home-motion-sample .launch-card>img,.home-motion-sample .launch-card:hover>img{width:calc(100% + 64px);max-width:none;left:-32px;transform:translate3d(var(--carousel-depth,0px),var(--image-y,0px),0) scale(1.025);transition:none}
.home-motion-sample .launch-card>span:not(.cap-launch-badge){transition:transform .45s cubic-bezier(.22,1,.36,1)}
@media(hover:hover){.home-motion-sample .launch-card:hover>span:not(.cap-launch-badge){transform:translateY(-6px)}}
@media(max-width:760px){.home-motion-sample #grupo .institutional-video{clip-path:none}.home-motion-sample .launch-card>img{width:calc(100% + 40px);left:-20px}}
@media(prefers-reduced-motion:reduce){.home-motion-sample main>section:not(.hero) h2 .motion-word{transform:none;filter:none;opacity:1;transition:none}.home-motion-sample #grupo .institutional-video{clip-path:none}.home-motion-sample .launch-card>img,.home-motion-sample .launch-card:hover>img{transform:none!important}.home-motion-sample .launch-card>span:not(.cap-launch-badge){transition:none;transform:none!important}}

/* Home review: a concise footprint metric, aligned to the common page grid. */
#inicio .hero-bottom .button{border-radius:999px!important;overflow:hidden}
#atuacao .presence-header{display:flex;justify-content:space-between;align-items:center;gap:40px;padding:0;margin-bottom:24px}
#atuacao #presence-title{font-size:clamp(32px,3.3vw,48px);line-height:1.12;flex-shrink:0}
#atuacao .presence-total{display:flex;align-items:center;gap:24px;margin:0;padding:0;border:0;background:none;box-shadow:none}
#atuacao .presence-total[hidden]{display:none}
#atuacao .presence-total strong{color:#80e6e9;font-size:clamp(64px,7vw,96px);font-weight:300;line-height:1;letter-spacing:-.06em;font-variant-numeric:tabular-nums;white-space:nowrap}
#atuacao .presence-total>span{font-size:clamp(17px,1.6vw,23px);line-height:1.45;color:#fff}
@media(max-width:760px){#atuacao .presence-header{align-items:flex-start;flex-direction:column;gap:24px;margin-bottom:12px}#atuacao #presence-title{font-size:32px}#atuacao .presence-total{gap:20px;padding:0;border:0}#atuacao .presence-total strong{font-size:64px}#atuacao .presence-total>span{font-size:16px}}
/* Home history: full-width section, copy anchored to the outer site guides. */
body.home-motion-sample #grupo{padding-top:64px}
body.home-motion-sample #grupo .intro-layout{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,.75fr);column-gap:12%;align-items:start;width:100%}
body.home-motion-sample #grupo .intro-heading{min-width:0}
body.home-motion-sample #grupo .section-label{margin:0 0 18px}
body.home-motion-sample #grupo h2{max-width:none;margin:0;text-wrap:pretty}
body.home-motion-sample #grupo .intro-copy{padding-top:34px;justify-self:end;width:100%;max-width:450px}
body.home-motion-sample #grupo .intro-copy p{font-size:15px;line-height:1.75;margin:0 0 20px}
body.home-motion-sample #grupo .institutional-video{margin-top:40px}
@media(max-width:760px){
 body.home-motion-sample #grupo{padding-top:40px}
 body.home-motion-sample #grupo .intro-layout{grid-template-columns:1fr;gap:22px}
 body.home-motion-sample #grupo .section-label{margin-bottom:14px}
 body.home-motion-sample #grupo .intro-copy{padding-top:0;max-width:none}
 body.home-motion-sample #grupo .institutional-video{margin-top:28px}
}

/* Approved Home sections: text-only segments and four photographic launch cards. */
body #segmentos{background:#0a1732;color:#fff;padding-block:48px}
#segmentos .cap-sector-heading{display:flex;align-items:center;justify-content:space-between;gap:28px;margin-bottom:28px}
#segmentos .cap-sector-heading h2{margin:0}
#segmentos .cap-sector-heading>p{font-size:13px;line-height:1.6;max-width:300px;margin:0;color:#bdcde3}
#segmentos .cap-sector-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
#segmentos .cap-sector-panel{position:relative;isolation:isolate;overflow:hidden;display:flex;flex-direction:column;min-height:350px;padding:28px;border:1px solid #ffffff20;border-radius:var(--photo-radius,24px);background:linear-gradient(140deg,#192c4c,#0e203d)}
#segmentos .cap-sector-panel:nth-child(2){background:linear-gradient(140deg,#28429e,#152858)}
#segmentos .cap-sector-panel:nth-child(3){background:linear-gradient(140deg,#194850,#112b42)}

#segmentos .cap-sector-panel h3{margin:0;min-height:40px;color:#fff}
#segmentos .cap-sector-panel p{color:#bdcde3;font-size:14px;line-height:1.75;margin:40px 0 24px}
#segmentos .cap-sector-panel a{display:inline-flex;align-items:center;gap:35px;min-height:44px;align-self:flex-start;margin-top:auto;font-size:13px;color:#90e9eb;text-decoration:none}
#segmentos .cap-sector-panel a>span{font-size:24px;transition:transform .25s}
#segmentos .cap-sector-panel a:hover>span{transform:translate(3px,-3px)}
body #lancamentos{--cap-launch-cols:4;--cap-launch-gap:20px;background:white;padding-block:48px}
#lancamentos .cap-launch-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:28px}
#lancamentos h2{margin:0}
#lancamentos h2{color:#142046}#lancamentos h2>.cap-launch-em{color:#2e4cec}
#lancamentos .cap-launch-heading p{font-size:14px;line-height:1.65;max-width:570px;color:#65738b;margin:12px 0 0}
#lancamentos .cap-launch-controls{display:flex;gap:8px;flex-shrink:0}
#lancamentos .cap-launch-controls button{width:44px;height:44px;display:grid;place-items:center;background:transparent;border:1px solid #b7c5d9;color:#142046;border-radius:50%;font-size:21px;cursor:pointer}
#lancamentos .cap-launch-controls button:disabled{opacity:.3;cursor:default}
#lancamentos .cap-launch-controls button:not(:disabled):hover{background:#142046;color:white}
#lancamentos .cap-launch-rail{overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;border-radius:var(--photo-radius,24px)}
#lancamentos .cap-launch-rail::-webkit-scrollbar{display:none}
#lancamentos .cap-launch-track{display:flex;gap:var(--cap-launch-gap)}
#lancamentos .cap-launch-tile{position:relative;isolation:isolate;flex:0 0 calc((100% - (var(--cap-launch-cols) - 1)*var(--cap-launch-gap))/var(--cap-launch-cols));min-width:0;height:340px;overflow:hidden;border-radius:var(--photo-radius,24px);background:#10213f;color:white;text-decoration:none;scroll-snap-align:start}
#lancamentos .cap-launch-tile>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:0;z-index:-2;transition:transform .6s}
#lancamentos .cap-launch-tile:before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,#07152a35,transparent 35%,#07152a80 90%)}
#lancamentos .cap-launch-tile:hover>img{transform:scale(1.035)}
#lancamentos .cap-launch-state{position:absolute;top:16px;left:16px;max-width:calc(100% - 32px);border:1px solid #ffffff55;background:#11234370;backdrop-filter:blur(12px);padding:7px 11px;border-radius:999px;font-size:10px;line-height:1.3}
#lancamentos .cap-launch-glass{position:absolute;bottom:12px;left:12px;right:12px;min-height:106px;padding:16px;border:1px solid #ffffff38;border-radius:16px;background:linear-gradient(130deg,#10213fbd,#10213f90);backdrop-filter:blur(18px);display:flex;flex-direction:column;justify-content:center;gap:8px}
body.home-motion-sample #lancamentos .cap-launch-glass h3{font-size:19px!important;line-height:1.3;letter-spacing:-.035em;font-weight:400;color:#fff;margin:0;padding-right:3px}
#lancamentos .cap-launch-glass>span{font-size:12px;line-height:1.5;color:#ecf3ff;padding-right:20px}
#lancamentos .cap-launch-glass>b{position:absolute;right:12px;bottom:15px;font-size:22px;font-weight:400;color:#8debed}
#lancamentos .cap-launch-footer{display:flex;justify-content:flex-end;margin-top:24px}
#lancamentos .cap-launch-footer a{display:inline-flex;align-items:center;gap:24px;font-size:13px;min-height:44px;text-decoration:none}
#lancamentos .cap-launch-footer span{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:#e9eef8;font-size:19px}
#lancamentos a:focus-visible,#lancamentos button:focus-visible,#segmentos a:focus-visible{outline:3px solid #3684ff;outline-offset:-3px}
@media(min-width:1600px){#lancamentos .cap-launch-tile{height:360px}}
@media(max-width:1000px){body #lancamentos{--cap-launch-cols:2}}
@media(max-width:760px){body #segmentos,body #lancamentos{padding-block:36px}#segmentos .cap-sector-heading{align-items:flex-start;flex-direction:column;gap:14px}#segmentos .cap-sector-grid{grid-template-columns:1fr}#segmentos .cap-sector-panel{min-height:245px;padding:24px}#segmentos .cap-sector-panel p{margin:22px 0}#segmentos .cap-sector-panel h3{min-height:0}}
@media(max-width:600px){body #lancamentos{--cap-launch-cols:1;--cap-launch-gap:14px}#lancamentos .cap-launch-heading{flex-wrap:wrap;gap:18px;margin-bottom:22px}#lancamentos .cap-launch-controls{margin-left:auto}#lancamentos .cap-launch-tile{height:330px}#lancamentos .cap-launch-footer{justify-content:flex-start;margin-top:16px}}
@media(prefers-reduced-motion:reduce){#lancamentos .cap-launch-tile>img,#segmentos .cap-sector-panel a>span{transition:none;transform:none!important}}

/* A horizontal connection carries the eye from national presence to its scale. */
#atuacao .presence-header{gap:32px}
#atuacao .presence-connection{position:relative;display:block;flex:1;min-width:48px;height:1px;background:#80e6e91c;align-self:center}
#atuacao .presence-connection i{display:block;width:100%;height:1px;background:linear-gradient(90deg,#80e6e920,#80e6e9);transform-origin:left;transform:scaleX(0)}
#atuacao .presence-connected .presence-connection i{animation:cap-presence-connect 1.6s cubic-bezier(.22,1,.36,1) both}
#atuacao .presence-connection:after{content:'';position:absolute;right:0;top:-2px;width:5px;height:5px;border-radius:50%;background:#80e6e9;opacity:0}
#atuacao .presence-connected .presence-connection:after{animation:cap-presence-arrive 1.1s 1.1s ease both}
@keyframes cap-presence-connect{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes cap-presence-arrive{0%{opacity:0;box-shadow:0 0 0 0 #80e6e900}50%{opacity:1;box-shadow:0 0 18px 3px #80e6e960}100%{opacity:1;box-shadow:0 0 0 0 #80e6e900}}
@media(max-width:760px){#atuacao .presence-header{gap:20px}#atuacao .presence-connection{flex:none;align-self:stretch;width:100%;min-width:0}#atuacao .presence-total{gap:18px}}
@media(prefers-reduced-motion:reduce){#atuacao .presence-connection i{transform:none;animation:none!important}#atuacao .presence-connection:after{opacity:1;animation:none!important}}
/* Compact national presence: scale the map to the available desktop height. */
body #atuacao.presence{padding-block:38px 34px;min-height:0}
#atuacao .presence-header{margin-bottom:22px}
#atuacao .presence-total strong{font-size:clamp(58px,5.5vw,78px)}
#atuacao .presence-total>span{font-size:clamp(15px,1.35vw,19px)}
#atuacao .map-explorer{display:grid;grid-template-columns:minmax(250px,310px) minmax(0,1fr);gap:clamp(24px,4vw,64px);align-items:center;margin:0}
#atuacao .map-wrap{height:clamp(360px,52svh,510px);width:100%;margin:0;overflow:hidden}
#atuacao .map-panel{padding:20px 22px;margin:0;min-width:0}
#atuacao .map-buttons{display:flex;flex-direction:row;gap:8px}
#atuacao .map-tab{font-size:12px;padding:11px 12px;min-height:44px;white-space:nowrap}
#atuacao .map-city-label{margin-top:20px}
#atuacao .map-result{margin-top:16px}
#atuacao .map-result a{margin-bottom:10px;font-size:13px;line-height:1.5}
#atuacao .map-zoom{right:12px;bottom:12px}
#atuacao .map-zoom button{width:44px;height:44px}
@media(max-width:760px){
 body #atuacao.presence{padding-block:32px}
 #atuacao .presence-header{display:grid;grid-template-columns:1fr;gap:14px;margin-bottom:18px}
 #atuacao .presence-total strong{font-size:56px}
 #atuacao .presence-total>span{font-size:15px}
 #atuacao .map-explorer{display:flex;flex-direction:column;gap:18px}
 #atuacao .map-wrap{order:0;height:clamp(280px,78vw,400px);width:100%;margin:0}
 #atuacao .map-panel{order:1;width:100%;padding:18px 20px}
 #atuacao .map-city-label{margin-top:14px}
}
/* Home footer: reduce the institutional signature by forty percent. */
body.home-motion-sample footer .footer-brand img{width:132px;height:auto}
@media(max-width:700px){body.home-motion-sample footer .footer-brand img{width:108px}}
/* Approved editorial history: copy and film share one compact row. */
body.home-motion-sample #grupo.history-approved{display:grid;grid-template-columns:1.08fr 1fr;gap:6%;align-items:center;padding-block:42px;background:#fff}
body.home-motion-sample #grupo.history-approved .intro-layout{display:block;margin:0;max-width:560px}
body #grupo.history-approved .section-label{display:flex;align-items:center;gap:16px;color:#304fff;font-size:11px;letter-spacing:.14em;margin:0 0 20px}
#grupo.history-approved .section-label:after{content:'';width:52px;height:1px;background:#304fff55}
body #grupo.history-approved .intro-copy{margin-top:22px;border-top:1px solid #dce5ef;padding-top:20px;max-width:510px}
body #grupo.history-approved .intro-copy p{font-size:14px;line-height:1.8;margin:0 0 24px}
#grupo.history-approved .intro-copy .text-link{margin:0;font-size:13px;gap:30px}
body.home-motion-sample #grupo.history-approved .institutional-video{position:relative;width:100%;height:auto;aspect-ratio:16/9;min-height:0;margin:0;clip-path:none!important;border-radius:24px!important;overflow:hidden;isolation:isolate;background:#09172c}
#grupo.history-approved .history-poster{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
#grupo.history-approved .institutional-video iframe{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
#grupo.history-approved .watch-institutional{position:absolute;inset:auto 24px 24px;display:flex;justify-content:flex-start;gap:14px;font-size:13px;color:white;z-index:2}
#grupo.history-approved .play-disc{width:48px;height:48px;min-width:48px;font-size:16px}
#grupo.history-approved .watch-arrow{display:none}
#grupo.history-approved .brand-ribbon{display:none}
@media(max-width:850px){body.home-motion-sample #grupo.history-approved{grid-template-columns:1fr;gap:28px;padding-block:34px}body.home-motion-sample #grupo.history-approved .intro-layout{max-width:none}body.home-motion-sample #grupo.history-approved .institutional-video{height:auto;aspect-ratio:16/9}body #grupo.history-approved .intro-copy{max-width:none}}
body #grupo.history-approved .intro-copy{padding-inline:0}

#lancamentos .cap-launch-glass {
  transition: transform .22s ease, box-shadow .22s ease;
}

#lancamentos .cap-launch-tile:focus-visible .cap-launch-glass,
#lancamentos .cap-launch-glass:hover {
  background: #fff;
  border-color: transparent;
  box-shadow: 0 10px 24px #050c1a70;
}

body.home-motion-sample #lancamentos .cap-launch-tile:focus-visible .cap-launch-glass :is(h3, span, b),
body.home-motion-sample #lancamentos .cap-launch-glass:hover :is(h3, span, b) {
  color: #142044;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  #lancamentos .cap-launch-glass:hover {
    transform: translateY(-4px);
  }

  #lancamentos .cap-launch-glass > b {
    transition: transform .22s ease;
  }

  #lancamentos .cap-launch-glass:hover > b {
    transform: translate(3px, -3px);
  }
}
