/* RV GESTAO PORTAL SYSTEM v1 — 2026-10-08 */
:root{
 --rv-orange:#EE6F30;--rv-orange-dark:#C95721;--rv-ink:#111111;--rv-gray:#62666A;
 --rv-muted:#898C8E;--rv-paper:#F3F2EE;--rv-paper2:#E8E7E1;--rv-line:#D7D6D0;
 --rv-white:#fff;--rv-darkline:#30302E;--rv-max:1500px;--rv-gut:clamp(22px,4vw,62px);
}
.portal-page{background:#fff;color:var(--rv-ink)}
.portal-page main{overflow:hidden}
.portal-shell{width:min(var(--rv-max),100%);margin:0 auto;padding-inline:var(--rv-gut)}
.portal-kicker{display:flex;align-items:center;gap:10px;font-size:9px;line-height:1;text-transform:uppercase;letter-spacing:.16em;font-weight:820;color:var(--rv-gray)}
.portal-kicker:before{content:"";width:27px;height:3px;background:var(--rv-orange)}
.portal-display{font-size:clamp(46px,6vw,84px);line-height:.92;letter-spacing:-.06em;font-weight:620;margin:0}
.portal-title{font-size:clamp(36px,4.5vw,62px);line-height:.96;letter-spacing:-.052em;font-weight:630;margin:0}
.portal-h3{font-size:clamp(24px,2.4vw,34px);line-height:1.04;letter-spacing:-.038em;font-weight:650;margin:0}
.portal-body{font-size:15px;line-height:1.72;color:var(--rv-gray);margin:0}
.portal-small{font-size:12px;line-height:1.62;color:var(--rv-gray)}
.portal-link{display:inline-flex;align-items:center;gap:9px;width:max-content;font-size:11px;font-weight:780;border-bottom:1px solid currentColor;padding-bottom:4px}
.portal-link:after{content:"↗";font-size:13px}
.portal-rule{height:1px;background:var(--rv-line)}

/* GLOBAL NAV */
.site-header{overflow:visible!important}
.header-inner{overflow:visible!important}
.main-nav{overflow:visible}
.main-nav .nav-group{position:relative;height:76px;display:flex;align-items:center}
.main-nav .nav-trigger{
 appearance:none;border:0;background:transparent;color:var(--rv-ink);cursor:pointer;
 height:76px;padding:0;font:inherit;font-size:11px;font-weight:700;letter-spacing:-.01em;display:flex;align-items:center;gap:6px
}
.main-nav .nav-trigger:after{content:"+";font-size:13px;font-weight:500;color:var(--rv-muted)}
.main-nav .nav-group.is-open .nav-trigger:after{content:"−"}
.main-nav .nav-trigger:before{
 content:"";position:absolute;left:0;right:100%;bottom:18px;height:2px;background:var(--rv-orange);transition:right .18s ease
}
.main-nav .nav-trigger:hover:before,.main-nav .nav-trigger:focus-visible:before,.main-nav .nav-group.is-open .nav-trigger:before{right:0}
.mega{
 display:none;position:fixed;z-index:150;top:76px;left:50%;transform:translateX(-50%);
 width:min(1380px,calc(100vw - 40px));background:var(--rv-ink);color:#fff;border-top:4px solid var(--rv-orange);
 padding:28px 30px 30px
}
.nav-group.is-open .mega{display:block}
.mega-inner{display:grid;grid-template-columns:1.15fr repeat(3,1fr);gap:0}
.mega-intro{padding-right:34px}
.mega-intro .portal-kicker{color:#BDBDB7}
.mega-intro h3{margin:18px 0 12px;font-size:26px;line-height:1.02;letter-spacing:-.04em;font-weight:620}
.mega-intro p{margin:0;color:#AFAFAA;font-size:12px;line-height:1.6;max-width:300px}
.mega-col{padding:0 26px;border-left:1px solid var(--rv-darkline)}
.mega-col b{display:block;margin:0 0 12px;color:#fff;font-size:9px;text-transform:uppercase;letter-spacing:.14em}
.main-nav .mega a{
 display:block;padding:7px 0;border:0;color:#BEBEB8;font-size:11px;font-weight:570;line-height:1.4
}
.main-nav .mega a:after{display:none}
.main-nav .mega a:hover{color:#fff;background:transparent}
.main-nav .mega .mega-feature{color:#fff;font-weight:720}
.header-utility{display:flex;align-items:center;gap:8px;margin-left:8px}
.header-client{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 14px;border:1px solid var(--rv-line);border-radius:6px;font-size:10px;font-weight:740}
.header-client:hover{background:var(--rv-paper)}
.header-cta{margin-left:0!important}

@media(min-width:1121px){
 .main-nav{gap:22px!important}
 .main-nav>a{padding:29px 0 27px!important}
}
@media(max-width:1120px){
 .header-utility{margin-left:auto}
 .header-client,.header-utility .header-cta{display:none}
 .main-nav .nav-group{height:auto;display:block;border-bottom:1px solid var(--rv-darkline)}
 .main-nav .nav-trigger{width:100%;height:auto;min-height:58px;color:#fff;justify-content:space-between;font-size:17px;font-weight:620;text-align:left}
 .main-nav .nav-trigger:before{display:none}
 .main-nav .nav-trigger:after{color:#AAA}
 .mega{position:static;transform:none;width:100%;padding:0 0 18px;border:0;background:#111}
 .mega-inner{grid-template-columns:1fr}
 .mega-intro{display:none}
 .mega-col{padding:10px 0 0;border-left:0}
 .mega-col b{margin:4px 0 8px;color:#8F8F89}
 .main-nav .mega a{padding:9px 0 9px 14px!important;border:0!important;font-size:13px!important}
 .main-nav .mobile-nav-cta{margin-top:20px!important}
}
@media(max-width:768px){.mega{top:68px}}

/* INTERNAL HERO SYSTEM */
.page-hero{background:#fff;border-bottom:1px solid var(--rv-line)}
.page-hero-grid{display:grid;grid-template-columns:1.02fr .98fr;min-height:570px}
.page-hero-copy{padding:86px 56px 78px 0;display:flex;flex-direction:column;justify-content:center}
.page-hero-copy .portal-kicker{margin-bottom:28px}
.page-hero-copy .portal-display{max-width:820px}
.page-hero-copy .portal-body{margin-top:26px;max-width:680px;font-size:17px}
.page-hero-actions{display:flex;flex-wrap:wrap;gap:14px;margin-top:30px}
.portal-button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 18px;border-radius:6px;background:var(--rv-orange);color:#fff;font-size:11px;font-weight:780}
.portal-button:hover{background:var(--rv-orange-dark)}
.portal-button.secondary{background:#fff;color:var(--rv-ink);border:1px solid var(--rv-line)}
.page-hero-media{position:relative;overflow:hidden;background:var(--rv-paper)}
.page-hero-media img{width:100%;height:100%;object-fit:cover}
.page-hero.dark{background:var(--rv-ink);color:#fff;border-bottom-color:#2A2A28}
.page-hero.dark .portal-kicker{color:#C9C9C3}
.page-hero.dark .portal-body{color:#BDBDB7}
.page-hero.dark .page-hero-copy{padding-left:0}
.page-hero.dark .page-hero-media{border-left:1px solid #333}
.page-hero.compact .page-hero-grid{min-height:430px}
.page-hero.evidence .page-hero-grid{grid-template-columns:1.15fr .85fr}
.page-hero.evidence .page-hero-media{padding:50px;display:flex;align-items:center;background:var(--rv-paper)}
.evidence-panel{width:100%;border-top:4px solid var(--rv-orange);background:#fff;padding:28px;border-left:1px solid var(--rv-line);border-right:1px solid var(--rv-line);border-bottom:1px solid var(--rv-line)}
.evidence-panel .data{font-size:clamp(52px,6vw,86px);line-height:.9;letter-spacing:-.06em;font-weight:620;color:var(--rv-orange)}
.evidence-panel p{margin:16px 0 0;font-size:13px;line-height:1.6;color:var(--rv-gray)}

/* INTERNAL CONTENT SYSTEM */
.portal-section{padding:82px 0}
.portal-section.paper{background:var(--rv-paper)}
.portal-section.dark{background:var(--rv-ink);color:#fff}
.portal-section.orange{background:var(--rv-orange);color:#fff}
.section-head{display:grid;grid-template-columns:1.12fr .88fr;gap:72px;align-items:end;margin-bottom:38px}
.section-head .portal-title{margin-top:24px}
.section-head .portal-body{max-width:590px}
.intro-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:88px}
.intro-grid .portal-title{max-width:660px}
.intro-copy .portal-body+.portal-body{margin-top:18px}
.keyline-list{margin-top:30px;border-top:1px solid var(--rv-line)}
.keyline-item{display:grid;grid-template-columns:52px 1fr;gap:20px;padding:19px 0;border-bottom:1px solid var(--rv-line)}
.keyline-item .num{font-size:9px;font-weight:820;color:var(--rv-orange);letter-spacing:.1em;padding-top:4px}
.keyline-item b{display:block;font-size:15px;margin-bottom:5px}
.keyline-item span{display:block;font-size:12px;line-height:1.55;color:var(--rv-gray)}

.metric-rail{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--rv-line);border-left:1px solid var(--rv-line)}
.metric{min-height:142px;padding:24px;border-right:1px solid var(--rv-line);border-bottom:1px solid var(--rv-line)}
.metric b{display:block;font-size:28px;line-height:1;letter-spacing:-.045em;margin-bottom:12px}
.metric span{font-size:9px;line-height:1.5;text-transform:uppercase;letter-spacing:.11em;color:var(--rv-muted)}
.dark .metric-rail{border-color:#333}.dark .metric{border-color:#333}.dark .metric span{color:#999}

.cap-grid{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--rv-line);border-left:1px solid var(--rv-line)}
.cap-card{min-height:270px;padding:28px;border-right:1px solid var(--rv-line);border-bottom:1px solid var(--rv-line);display:flex;flex-direction:column;background:#fff}
.cap-card svg{width:28px;height:28px;fill:none;stroke:var(--rv-orange);stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;margin-bottom:34px}
.cap-card .cap-label{font-size:8px;text-transform:uppercase;letter-spacing:.14em;font-weight:820;color:var(--rv-orange);margin-bottom:14px}
.cap-card h3{font-size:21px;line-height:1.08;letter-spacing:-.035em;margin:0}
.cap-card p{font-size:12px;line-height:1.62;color:var(--rv-gray);margin:14px 0 0}
.cap-card .portal-link{margin-top:auto;padding-top:24px}
.paper .cap-card{background:transparent}
.dark .cap-grid{border-color:#333}.dark .cap-card{background:#151515;border-color:#333}.dark .cap-card p{color:#AAA}

.editorial-rows{border-top:1px solid var(--rv-line)}
.editorial-row{display:grid;grid-template-columns:.8fr 1.2fr;gap:68px;padding:34px 0;border-bottom:1px solid var(--rv-line)}
.editorial-row .row-title{font-size:24px;line-height:1.04;letter-spacing:-.035em;font-weight:640}
.editorial-row .row-copy{display:grid;grid-template-columns:1fr 1fr;gap:30px}
.editorial-row p{margin:0;font-size:12.5px;line-height:1.65;color:var(--rv-gray)}
.editorial-row ul{margin:0;padding:0;list-style:none}
.editorial-row li{font-size:12px;line-height:1.5;padding:8px 0;border-bottom:1px solid var(--rv-line);color:var(--rv-gray)}

.case-feature{display:grid;grid-template-columns:1.15fr .85fr;min-height:520px;border-top:1px solid var(--rv-line);border-bottom:1px solid var(--rv-line)}
.case-feature-media{overflow:hidden;background:#ddd}
.case-feature-media img{width:100%;height:100%;object-fit:cover}
.case-feature-copy{padding:50px 0 50px 52px;display:flex;flex-direction:column;justify-content:center}
.case-feature-copy .portal-kicker{margin-bottom:22px}
.case-feature-copy .portal-body{margin-top:20px}
.case-feature-copy .portal-link{margin-top:28px}

.evidence-strip{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid #343432;border-left:1px solid #343432}
.evidence-cell{padding:26px;border-right:1px solid #343432;border-bottom:1px solid #343432}
.evidence-cell span{display:block;font-size:8px;text-transform:uppercase;letter-spacing:.14em;color:#8D8D88;margin-bottom:10px}
.evidence-cell b{font-size:17px;line-height:1.25;font-weight:620}

.flow{display:grid;grid-template-columns:repeat(5,1fr);border-top:1px solid var(--rv-line);border-left:1px solid var(--rv-line)}
.flow-step{min-height:190px;padding:22px;border-right:1px solid var(--rv-line);border-bottom:1px solid var(--rv-line)}
.flow-step .num{font-size:9px;color:var(--rv-orange);font-weight:820;letter-spacing:.12em}
.flow-step b{display:block;margin-top:32px;font-size:15px}
.flow-step p{font-size:11.5px;line-height:1.55;color:var(--rv-gray);margin:9px 0 0}

.timeline{border-top:1px solid var(--rv-line)}
.timeline-row{display:grid;grid-template-columns:120px .8fr 1.2fr;gap:34px;padding:22px 0;border-bottom:1px solid var(--rv-line)}
.timeline-row .year{font-size:24px;letter-spacing:-.04em;font-weight:650;color:var(--rv-orange)}
.timeline-row b{font-size:15px}
.timeline-row p{margin:0;font-size:12px;line-height:1.62;color:var(--rv-gray)}

.article-grid{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--rv-line);border-left:1px solid var(--rv-line)}
.article-card{min-height:265px;padding:26px;border-right:1px solid var(--rv-line);border-bottom:1px solid var(--rv-line);display:flex;flex-direction:column}
.article-meta{font-size:8px;text-transform:uppercase;letter-spacing:.13em;color:var(--rv-orange);font-weight:800}
.article-card h3{font-size:22px;line-height:1.08;letter-spacing:-.035em;margin:22px 0 12px}
.article-card p{font-size:12px;line-height:1.6;color:var(--rv-gray);margin:0}
.article-card .portal-link{margin-top:auto;padding-top:24px}

.people-grid{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--rv-line);border-left:1px solid var(--rv-line)}
.person{min-height:220px;padding:26px;border-right:1px solid var(--rv-line);border-bottom:1px solid var(--rv-line);display:flex;flex-direction:column}
.person-photo{aspect-ratio:1/1;background:var(--rv-paper);margin:-26px -26px 24px;display:flex;align-items:center;justify-content:center;color:var(--rv-muted);font-size:9px;text-transform:uppercase;letter-spacing:.12em}
.person img{width:100%;height:100%;object-fit:cover}
.person b{font-size:19px;letter-spacing:-.025em}
.person span{margin-top:6px;font-size:9px;text-transform:uppercase;letter-spacing:.11em;color:var(--rv-orange)}
.person p{font-size:11.5px;line-height:1.58;color:var(--rv-gray);margin:16px 0 0}

.trust-list{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid var(--rv-line);border-left:1px solid var(--rv-line)}
.trust-item{padding:24px;border-right:1px solid var(--rv-line);border-bottom:1px solid var(--rv-line)}
.trust-item b{display:block;font-size:17px;margin-bottom:8px}
.trust-item p{margin:0;font-size:12px;line-height:1.6;color:var(--rv-gray)}

.portal-cta{background:var(--rv-orange);color:#fff}
.portal-cta-inner{display:grid;grid-template-columns:1fr auto;gap:60px;align-items:center;padding-block:48px}
.portal-cta h2{margin:0;max-width:920px;font-size:clamp(34px,4vw,54px);line-height:1;letter-spacing:-.05em;font-weight:630}
.portal-cta .portal-button{background:#fff;color:#111;min-height:50px}
.portal-cta .portal-button:hover{background:var(--rv-paper)}

.portal-breadcrumb{padding:14px 0;border-bottom:1px solid var(--rv-line);background:#fff}
.portal-breadcrumb ol{display:flex;gap:8px;align-items:center;margin:0;padding:0;list-style:none}
.portal-breadcrumb li,.portal-breadcrumb a{font-size:8px;text-transform:uppercase;letter-spacing:.12em;color:var(--rv-muted)}
.portal-breadcrumb li+li:before{content:"/";margin-right:8px;color:#BBB}

.intent-grid{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--rv-line);border-left:1px solid var(--rv-line)}
.intent{min-height:180px;padding:22px;border-right:1px solid var(--rv-line);border-bottom:1px solid var(--rv-line)}
.intent b{display:block;font-size:15px;margin-bottom:10px}.intent p{font-size:11.5px;line-height:1.55;color:var(--rv-gray);margin:0 0 18px}

@media(max-width:1120px){
 .page-hero-grid,.page-hero.evidence .page-hero-grid,.section-head,.intro-grid,.case-feature{grid-template-columns:1fr}
 .page-hero-copy{padding:64px 0 48px}
 .page-hero-media{min-height:420px}
 .page-hero.evidence .page-hero-media{padding:38px var(--rv-gut)}
 .section-head,.intro-grid{gap:30px}
 .cap-grid,.article-grid,.people-grid{grid-template-columns:repeat(2,1fr)}
 .metric-rail,.intent-grid{grid-template-columns:repeat(2,1fr)}
 .flow{grid-template-columns:repeat(3,1fr)}
 .editorial-row{grid-template-columns:1fr;gap:24px}
 .case-feature-copy{padding:38px 0}
 .portal-cta-inner{grid-template-columns:1fr}
}
@media(max-width:768px){
 :root{--rv-gut:20px}
 .portal-display{font-size:42px;line-height:.96}
 .portal-title{font-size:34px;line-height:1}
 .portal-body{font-size:14px}
 .page-hero-grid,.page-hero.compact .page-hero-grid{min-height:0}
 .page-hero-copy{padding:48px 0 36px}
 .page-hero-copy .portal-kicker{margin-bottom:20px}
 .page-hero-copy .portal-body{margin-top:20px;font-size:14px}
 .page-hero-media{min-height:0;aspect-ratio:4/3}
 .page-hero.evidence .page-hero-media{aspect-ratio:auto;padding:28px 20px}
 .portal-section{padding:56px 0}
 .section-head{margin-bottom:26px}
 .section-head .portal-title{margin-top:18px}
 .metric-rail,.cap-grid,.article-grid,.people-grid,.trust-list,.intent-grid{grid-template-columns:1fr}
 .metric{min-height:112px}
 .flow{grid-template-columns:1fr}
 .flow-step{min-height:0}
 .flow-step b{margin-top:18px}
 .editorial-row .row-copy{grid-template-columns:1fr}
 .timeline-row{grid-template-columns:70px 1fr;gap:14px}
 .timeline-row p{grid-column:2}
 .case-feature-media{aspect-ratio:4/3}
 .case-feature-copy{padding:32px 0}
 .evidence-strip{grid-template-columns:1fr 1fr}
 .portal-cta-inner{gap:24px;padding-block:38px}
 .portal-cta h2{font-size:31px}
 .portal-cta .portal-button{width:100%}
}
@media(max-width:390px){
 :root{--rv-gut:18px}
 .portal-display{font-size:38px}
 .portal-title{font-size:31px}
 .evidence-strip{grid-template-columns:1fr}
}


/* =========================================================
   RV GESTÃO — HERO SYSTEM V2
   Editorial families. No gradients, no shadows, no blur.
   ========================================================= */
.hero-v2{position:relative;overflow:hidden;background:#fff;color:var(--rv-ink);border-bottom:1px solid var(--rv-line)}
.hero-v2 .portal-display{max-width:980px}
.hero-v2 .portal-body{max-width:650px;font-size:16px}
.hero-v2 .page-hero-actions{margin-top:28px}
.hero-preview-note{
 position:absolute;z-index:4;right:18px;bottom:18px;padding:8px 10px;
 background:#111;color:#fff;font-size:8px;line-height:1;
 text-transform:uppercase;letter-spacing:.14em;font-weight:800;border:1px solid rgba(255,255,255,.25)
}
.hero-v2-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));max-width:620px;border-top:1px solid rgba(255,255,255,.28);border-left:1px solid rgba(255,255,255,.28)}
.hero-v2-meta>div{padding:14px 16px;border-right:1px solid rgba(255,255,255,.28);border-bottom:1px solid rgba(255,255,255,.28)}
.hero-v2-meta b{display:block;font-size:13px;line-height:1.15}
.hero-v2-meta span{display:block;margin-top:5px;font-size:8px;line-height:1.35;text-transform:uppercase;letter-spacing:.11em;color:rgba(255,255,255,.67)}

/* PLACE — image is the place, not a side illustration */
.hero-v2-place{min-height:690px;background:#111;color:#fff}
.hero-v2-place-media,.hero-v2-place-wash{position:absolute;inset:0}
.hero-v2-place-media img{width:100%;height:100%;object-fit:cover}
.hero-v2-place-wash{display:none;background:#111;z-index:1}
.hero-v2-place-content{
 position:relative;z-index:2;min-height:690px;padding-top:82px;padding-bottom:44px;
 display:flex;flex-direction:column;justify-content:flex-end;align-items:flex-start
}
.hero-v2-place-copy{width:min(820px,72%)}
.hero-v2-place .portal-kicker{color:#fff;margin-bottom:22px}
.hero-v2-place .portal-kicker:before{background:var(--rv-orange)}
.hero-v2-place .portal-display{font-size:clamp(54px,7.1vw,102px);line-height:.88;letter-spacing:-.065em}
.hero-v2-place .portal-body{color:rgba(255,255,255,.84);font-size:17px;margin-top:25px}
.hero-v2-place .portal-button.secondary{background:transparent;color:#fff;border-color:rgba(255,255,255,.45)}
.hero-v2-place .hero-v2-meta{margin-top:42px}

/* OPERATIONAL — dense black rail + large technical image */
.hero-v2-operational{background:#111;color:#fff}
.hero-v2-operational-grid{display:grid;grid-template-columns:.82fr 1.18fr;min-height:690px;padding-inline:0!important;max-width:none;width:100%}
.hero-v2-operational-copy{
 padding:74px clamp(34px,5vw,84px) 48px max(var(--rv-gut),calc((100vw - var(--rv-max))/2 + var(--rv-gut)));
 display:flex;flex-direction:column;justify-content:center;position:relative
}
.hero-v2-operational-copy .portal-kicker{color:#C7C7C1;margin-bottom:26px}
.hero-v2-operational-copy .portal-display{font-size:clamp(50px,6vw,88px);line-height:.9;letter-spacing:-.065em}
.hero-v2-operational-copy .portal-body{color:#BEBEB8;margin-top:24px}
.hero-v2-operational-copy .portal-button.secondary{background:transparent;color:#fff;border-color:#444}
.hero-v2-operational-media{position:relative;min-height:690px;background:#242424;border-left:1px solid #333}
.hero-v2-operational-media img{width:100%;height:100%;object-fit:cover}
.hero-v2-index{
 position:absolute;left:0;bottom:0;padding:12px 16px;background:#111;color:#aaa;
 font-size:8px;text-transform:uppercase;letter-spacing:.14em;border-top:1px solid #333;border-right:1px solid #333
}
.hero-v2-opmeta{display:grid;grid-template-columns:repeat(3,1fr);margin-top:42px;border-top:1px solid #383838}
.hero-v2-opmeta>div{padding:15px 14px 0 0;border-right:1px solid #383838;min-height:68px}
.hero-v2-opmeta>div+div{padding-left:14px}
.hero-v2-opmeta b{display:block;font-size:12px;color:#fff}
.hero-v2-opmeta span{display:block;margin-top:5px;font-size:8px;line-height:1.35;text-transform:uppercase;letter-spacing:.11em;color:#8E8E88}

/* RESIDENTIAL — architecture first, editorial slab second */
.hero-v2-residential{background:var(--rv-paper);padding-bottom:56px}
.hero-v2-residential-media{height:510px;position:relative;background:#d7d5ce}
.hero-v2-residential-media img{width:100%;height:100%;object-fit:cover}
.hero-v2-residential-card{
 position:relative;margin-top:-118px;background:#fff;border:1px solid var(--rv-line);padding:38px 42px 30px;
 width:min(1040px,82%);z-index:3
}
.hero-v2-residential-card .portal-kicker{margin-bottom:20px}
.hero-v2-residential-card .portal-display{font-size:clamp(50px,6.5vw,90px);line-height:.91}
.hero-v2-residential-lower{
 display:grid;grid-template-columns:1.2fr auto;gap:40px;align-items:end;padding-top:28px;margin-top:28px;border-top:1px solid var(--rv-line)
}
.hero-v2-residential-lower .portal-body{font-size:15px}
.hero-v2-residential-lower .page-hero-actions{margin:0;white-space:nowrap}
.hero-v2-residential .hero-v2-meta{
 margin-top:28px;border-color:var(--rv-line);max-width:none
}
.hero-v2-residential .hero-v2-meta>div{border-color:var(--rv-line)}
.hero-v2-residential .hero-v2-meta b{color:#111}
.hero-v2-residential .hero-v2-meta span{color:#777}

/* METHOD — title and process become one composition */
.hero-v2-method{background:#fff;padding:72px 0 56px}
.hero-v2-method-head{display:grid;grid-template-columns:1.2fr .8fr;gap:72px;align-items:end}
.hero-v2-method-head>.portal-kicker{grid-column:1/-1}
.hero-v2-method-head .portal-display{font-size:clamp(58px,8.5vw,122px);line-height:.82;letter-spacing:-.072em}
.hero-v2-method-intro{padding-bottom:8px}
.hero-v2-method-intro .portal-body{font-size:16px}
.hero-v2-method-band{display:grid;grid-template-columns:1.25fr .75fr;margin-top:50px;min-height:360px;padding-inline:0!important}
.hero-v2-method-media{position:relative;overflow:hidden}
.hero-v2-method-media img{width:100%;height:100%;object-fit:cover}
.hero-v2-method-steps{display:grid;grid-template-columns:1fr;background:#111;color:#fff}
.hero-v2-method-steps>div{display:grid;grid-template-columns:48px 1fr;gap:14px;align-items:center;padding:15px 22px;border-bottom:1px solid #323230}
.hero-v2-method-steps b{font-size:12px;color:var(--rv-orange)}
.hero-v2-method-steps span{font-size:10px;text-transform:uppercase;letter-spacing:.11em;color:#ddd}

/* TECHNOLOGY — dark system canvas with real infrastructure image */
.hero-v2-tech{background:#101010;color:#fff;padding:72px 0 54px}
.hero-v2-tech-grid{display:grid;grid-template-columns:.86fr 1.14fr;gap:70px;align-items:stretch}
.hero-v2-tech-copy{padding:34px 0;display:flex;flex-direction:column;justify-content:center}
.hero-v2-tech-copy .portal-kicker{color:#BDBDB7;margin-bottom:24px}
.hero-v2-tech-copy .portal-display{font-size:clamp(52px,6.8vw,94px);line-height:.88}
.hero-v2-tech-copy .portal-body{color:#B6B6B0;margin-top:26px}
.hero-v2-tech-copy .portal-button.secondary{background:transparent;color:#fff;border-color:#444}
.hero-v2-tech-system{display:grid;grid-template-rows:1fr auto;border:1px solid #30302e;min-height:540px}
.hero-v2-tech-media{position:relative;overflow:hidden;min-height:310px}
.hero-v2-tech-media:after{content:"";display:none}
.hero-v2-tech-media img{width:100%;height:100%;object-fit:cover}
.hero-v2-tech-nodes{border-top:1px solid #30302e}
.hero-v2-tech-meta{display:grid;grid-template-columns:repeat(2,1fr)}
.hero-v2-tech-meta>div{padding:17px 18px;border-right:1px solid #30302e;border-bottom:1px solid #30302e;min-height:78px}
.hero-v2-tech-meta b{display:block;color:var(--rv-orange);font-size:11px}
.hero-v2-tech-meta span{display:block;color:#A9A9A4;margin-top:6px;font-size:8px;text-transform:uppercase;letter-spacing:.11em}

/* INSTITUTIONAL — image and policy surface feel like one system */
.hero-v2-institutional{background:#F1F0EB}
.hero-v2-institutional-grid{display:grid;grid-template-columns:1fr 1fr;min-height:650px;padding-inline:0!important;max-width:none}
.hero-v2-institutional-media{position:relative;overflow:hidden;background:#ddd}
.hero-v2-institutional-media img{width:100%;height:100%;object-fit:cover}
.hero-v2-institutional-copy{
 background:#151515;color:#fff;padding:74px max(var(--rv-gut),calc((100vw - var(--rv-max))/2 + var(--rv-gut))) 50px 56px;
 display:flex;flex-direction:column;justify-content:center
}
.hero-v2-institutional-copy .portal-kicker{color:#BABAB4;margin-bottom:26px}
.hero-v2-institutional-copy .portal-display{font-size:clamp(52px,6.3vw,90px);line-height:.9}
.hero-v2-institutional-copy .portal-body{color:#B7B7B1;margin-top:25px}
.hero-v2-institutional-copy .portal-button.secondary{background:transparent;color:#fff;border-color:#444}
.hero-v2-institutional-copy .hero-v2-meta{margin-top:36px}

/* EDITORIAL — typography, hierarchy, archive rhythm */
.hero-v2-editorial{background:#fff;padding:76px 0 38px}
.hero-v2-editorial-grid{display:grid;grid-template-columns:1.12fr .88fr;gap:74px;align-items:end}
.hero-v2-editorial-grid .portal-kicker{margin-bottom:26px}
.hero-v2-editorial-grid .portal-display{font-size:clamp(60px,8.8vw,126px);line-height:.82;letter-spacing:-.075em}
.hero-v2-editorial-side{padding-bottom:9px}
.hero-v2-editorial-side .portal-body{font-size:16px}
.hero-v2-editorial-side .hero-v2-meta{margin-top:32px;border-color:var(--rv-line);max-width:none}
.hero-v2-editorial-side .hero-v2-meta>div{border-color:var(--rv-line)}
.hero-v2-editorial-side .hero-v2-meta b{color:#111}
.hero-v2-editorial-side .hero-v2-meta span{color:#777}
.hero-v2-editorial-rule{margin-top:52px;padding-top:14px;border-top:4px solid #111}
.hero-v2-editorial-rule span{font-size:8px;text-transform:uppercase;letter-spacing:.17em;font-weight:800;color:#666}

/* EVIDENCE — certification as graphic system, not side card */
.hero-v2-evidence{background:#111;color:#fff;padding:72px 0 58px}
.hero-v2-evidence-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:70px;align-items:center;min-height:510px}
.hero-v2-evidence-copy .portal-kicker{color:#B8B8B2;margin-bottom:25px}
.hero-v2-evidence-copy .portal-display{font-size:clamp(54px,7vw,96px)}
.hero-v2-evidence-copy .portal-body{color:#B7B7B1;margin-top:24px}
.hero-v2-evidence-copy .portal-button.secondary{background:transparent;color:#fff;border-color:#444}
.hero-v2-evidence-mark{display:flex;align-items:center;justify-content:center}
.hero-v2-evidence .evidence-panel{background:#171717;border:1px solid #383838;border-top:5px solid var(--rv-orange);padding:40px}
.hero-v2-evidence .evidence-panel .data{font-size:clamp(82px,10vw,150px);color:#fff}
.hero-v2-evidence .evidence-panel p{color:#AFAFAA;max-width:330px}

/* Refined fallback split */
.hero-v2-split-grid{display:grid;grid-template-columns:1fr 1fr;min-height:570px}
.hero-v2-split-copy{padding:72px 58px 60px 0;display:flex;flex-direction:column;justify-content:center}
.hero-v2-split-copy .portal-kicker{margin-bottom:25px}
.hero-v2-split-copy .portal-body{margin-top:24px}
.hero-v2-split-media{overflow:hidden;background:var(--rv-paper)}
.hero-v2-split-media img{width:100%;height:100%;object-fit:cover}
.hero-v2-empty{display:flex;align-items:center;justify-content:center;background:#111;color:#fff}
.hero-v2-empty span{font-size:100px;font-weight:600;letter-spacing:-.08em}

@media(max-width:1120px){
 .hero-v2-place-copy{width:min(900px,90%)}
 .hero-v2-operational-grid,.hero-v2-tech-grid,.hero-v2-institutional-grid,.hero-v2-split-grid,.hero-v2-method-head{grid-template-columns:1fr}
 .hero-v2-operational-copy{padding-left:var(--rv-gut);padding-right:var(--rv-gut)}
 .hero-v2-operational-media{min-height:480px;border-left:0;border-top:1px solid #333}
 .hero-v2-method-head{gap:26px}
 .hero-v2-method-band{grid-template-columns:1fr}
 .hero-v2-method-media{min-height:380px}
 .hero-v2-method-steps{grid-template-columns:repeat(5,1fr)}
 .hero-v2-method-steps>div{display:block;min-height:96px;border-right:1px solid #323230}
 .hero-v2-method-steps span{margin-top:8px;display:block}
 .hero-v2-tech-grid{gap:38px}
 .hero-v2-institutional-media{min-height:440px}
 .hero-v2-institutional-copy{padding:58px var(--rv-gut)}
 .hero-v2-editorial-grid{grid-template-columns:1fr;gap:34px}
 .hero-v2-split-copy{padding:56px 0 42px}
 .hero-v2-split-media{min-height:440px}
}
@media(max-width:768px){
 .hero-v2-place,.hero-v2-place-content{min-height:620px}
 .hero-v2-place-content{padding-top:60px;padding-bottom:26px}
 .hero-v2-place-copy{width:100%}
 .hero-v2-place .portal-display{font-size:45px;line-height:.94}
 .hero-v2-place .portal-body{font-size:14px}
 .hero-v2-place .hero-v2-meta{margin-top:28px}
 .hero-v2-meta{grid-template-columns:1fr 1fr}
 .hero-v2-meta>div:last-child:nth-child(odd){grid-column:1/-1}
 .hero-v2-operational-grid{min-height:0}
 .hero-v2-operational-copy{padding:50px 20px 32px}
 .hero-v2-operational-copy .portal-display{font-size:43px}
 .hero-v2-operational-media{min-height:0;aspect-ratio:4/3}
 .hero-v2-opmeta{grid-template-columns:1fr;margin-top:28px}
 .hero-v2-opmeta>div,.hero-v2-opmeta>div+div{padding:12px 0;border-right:0;border-bottom:1px solid #383838;min-height:0}
 .hero-v2-residential{padding-bottom:32px}
 .hero-v2-residential-media{height:auto;aspect-ratio:4/3}
 .hero-v2-residential-card{margin-top:-34px;width:calc(100% - 18px);padding:26px 22px 22px}
 .hero-v2-residential-card .portal-display{font-size:43px}
 .hero-v2-residential-lower{grid-template-columns:1fr;gap:20px;margin-top:20px;padding-top:20px}
 .hero-v2-residential-lower .page-hero-actions{white-space:normal}
 .hero-v2-method{padding:50px 0 34px}
 .hero-v2-method-head .portal-display{font-size:48px}
 .hero-v2-method-band{margin-top:34px}
 .hero-v2-method-media{min-height:0;aspect-ratio:4/3}
 .hero-v2-method-steps{grid-template-columns:1fr}
 .hero-v2-method-steps>div{display:grid;grid-template-columns:42px 1fr;min-height:0;padding:13px 17px;border-right:0}
 .hero-v2-method-steps span{margin-top:0}
 .hero-v2-tech{padding:48px 0 34px}
 .hero-v2-tech-copy{padding:0}
 .hero-v2-tech-copy .portal-display{font-size:44px}
 .hero-v2-tech-system{min-height:0}
 .hero-v2-tech-media{min-height:0;aspect-ratio:4/3}
 .hero-v2-tech-meta{grid-template-columns:1fr}
 .hero-v2-institutional-media{min-height:0;aspect-ratio:4/3}
 .hero-v2-institutional-copy{padding:44px 20px 34px}
 .hero-v2-institutional-copy .portal-display{font-size:44px}
 .hero-v2-editorial{padding:52px 0 28px}
 .hero-v2-editorial-grid .portal-display{font-size:49px;line-height:.9}
 .hero-v2-editorial-rule{margin-top:34px}
 .hero-v2-evidence{padding:48px 0 34px}
 .hero-v2-evidence-grid{grid-template-columns:1fr;gap:32px;min-height:0}
 .hero-v2-evidence-copy .portal-display{font-size:45px}
 .hero-v2-evidence .evidence-panel{padding:28px}
 .hero-v2-split-grid{min-height:0}
 .hero-v2-split-copy{padding:44px 0 30px}
 .hero-v2-split-media{min-height:0;aspect-ratio:4/3}
 .hero-preview-note{right:10px;bottom:10px;font-size:7px;padding:7px 8px}
}


/* Knowledge hero — archive mosaic */
.hero-v2-editorial-media{
 display:grid;grid-template-columns:1.35fr .65fr .8fr;gap:0;margin-top:46px;
 border-top:1px solid var(--rv-line);border-left:1px solid var(--rv-line);min-height:280px
}
.hero-editorial-tile{position:relative;overflow:hidden;border-right:1px solid var(--rv-line);border-bottom:1px solid var(--rv-line);background:#ddd}
.hero-editorial-tile img{width:100%;height:100%;object-fit:cover}
.hero-editorial-tile span{
 position:absolute;left:0;bottom:0;padding:9px 11px;background:#111;color:#fff;
 font-size:7px;font-weight:800;letter-spacing:.15em
}
.hero-editorial-tile-a{min-height:320px}
.hero-editorial-tile-b{min-height:320px}
.hero-editorial-tile-c{min-height:320px}
@media(max-width:768px){
 .hero-v2-editorial-media{grid-template-columns:1fr 1fr;margin-top:32px}
 .hero-editorial-tile-a{grid-column:1/-1;min-height:220px}
 .hero-editorial-tile-b,.hero-editorial-tile-c{min-height:170px}
}


/* Editorial visual breaks — photograph interrupts card rhythm */
.portal-story{padding:0 0 82px;background:#fff}
.portal-story-grid{
 display:grid;grid-template-columns:1.35fr .65fr;min-height:430px;
 padding-inline:0!important;max-width:var(--rv-max);border-top:1px solid var(--rv-line);border-bottom:1px solid var(--rv-line)
}
.portal-story-media{overflow:hidden;min-height:430px;background:#ddd}
.portal-story-media img{width:100%;height:100%;object-fit:cover}
.portal-story-copy{
 background:#111;color:#fff;padding:48px 42px;display:flex;flex-direction:column;justify-content:flex-end
}
.portal-story-copy .portal-kicker{color:#BDBDB7;margin-bottom:auto;padding-bottom:42px}
.portal-story-copy h2{margin:0;font-size:clamp(31px,3.4vw,48px);line-height:.96;letter-spacing:-.045em;font-weight:630}
.portal-story-copy p{margin:20px 0 0;color:#B7B7B1;font-size:13px;line-height:1.66}
.portal-story-tags{display:flex;flex-wrap:wrap;gap:7px;margin-top:28px}
.portal-story-tags span{
 border:1px solid #3A3A38;padding:8px 9px;font-size:7px;font-weight:800;letter-spacing:.13em;color:#D0D0CA
}
@media(max-width:900px){
 .portal-story{padding-bottom:56px}
 .portal-story-grid{grid-template-columns:1fr}
 .portal-story-media{min-height:0;aspect-ratio:4/3}
 .portal-story-copy{padding:34px 22px}
 .portal-story-copy .portal-kicker{margin-bottom:32px;padding-bottom:0}
}


/* Portfolio hero — breadth before individual case */
.hero-v2-portfolio{background:#fff;padding:68px 0 54px}
.hero-v2-portfolio-head{display:grid;grid-template-columns:1.1fr .9fr;gap:72px;align-items:end}
.hero-v2-portfolio-head>.portal-kicker{grid-column:1/-1;margin-bottom:-26px}
.hero-v2-portfolio-head .portal-display{font-size:clamp(58px,8vw,116px);line-height:.84;letter-spacing:-.07em}
.hero-v2-portfolio-head .portal-body{font-size:16px}
.hero-v2-portfolio-grid{display:grid;grid-template-columns:1.12fr .88fr;gap:8px;margin-top:44px}
.hero-v2-portfolio-image{position:relative;overflow:hidden;min-height:390px;background:#ddd}
.hero-v2-portfolio-image img{width:100%;height:100%;object-fit:cover}
.hero-v2-portfolio-image span{
 position:absolute;left:0;bottom:0;background:#111;color:#fff;padding:11px 13px;
 font-size:8px;font-weight:800;letter-spacing:.15em
}
@media(max-width:768px){
 .hero-v2-portfolio{padding:48px 0 32px}
 .hero-v2-portfolio-head{grid-template-columns:1fr;gap:24px}
 .hero-v2-portfolio-head>.portal-kicker{grid-column:auto;margin-bottom:0}
 .hero-v2-portfolio-head .portal-display{font-size:47px;line-height:.9}
 .hero-v2-portfolio-grid{grid-template-columns:1fr;margin-top:30px}
 .hero-v2-portfolio-image{min-height:0;aspect-ratio:4/3}
}


/* =========================================================
   RV GESTÃO — CANONICAL INTERNAL HERO
   One system for all institutional/service pages.
   Only Home and named case pages are exceptions.
   ========================================================= */
.hero-canon{background:#fff;border-bottom:1px solid var(--rv-line)}
.hero-canon-grid{
 display:grid;
 grid-template-columns:minmax(0,1.04fr) minmax(0,.96fr);
 min-height:590px;
}
.hero-canon-copy{
 padding:72px 58px 58px 0;
 display:flex;
 flex-direction:column;
 justify-content:center;
}
.hero-canon-copy .portal-kicker{margin-bottom:24px}
.hero-canon-copy .portal-display{
 font-size:clamp(50px,6.2vw,88px);
 line-height:.91;
 letter-spacing:-.065em;
 max-width:820px;
}
.hero-canon-copy .portal-body{
 margin-top:24px;
 max-width:650px;
 font-size:16px;
 line-height:1.65;
}
.hero-canon-copy .page-hero-actions{margin-top:30px}
.hero-canon-media{
 min-height:590px;
 overflow:hidden;
 background:var(--rv-paper);
 border-left:1px solid var(--rv-line);
}
.hero-canon-media img{
 width:100%;
 height:100%;
 object-fit:cover;
 object-position:center;
 display:block;
}

/* Named cases may break the internal system because the place itself is evidence. */
.hero-case{
 position:relative;
 min-height:690px;
 color:#fff;
 overflow:hidden;
 background:#111;
}
.hero-case-media,.hero-case-overlay{position:absolute;inset:0}
.hero-case-media img{width:100%;height:100%;object-fit:cover;display:block}
.hero-case-overlay{display:none;background:#111}
.hero-case-content{
 position:relative;
 z-index:2;
 min-height:690px;
 padding-top:82px;
 padding-bottom:48px;
 display:flex;
 flex-direction:column;
 justify-content:flex-end;
 align-items:flex-start;
}
.hero-case-content .portal-kicker{color:#fff;margin-bottom:22px}
.hero-case-content .portal-display{
 font-size:clamp(54px,7.1vw,102px);
 line-height:.88;
 letter-spacing:-.066em;
 max-width:900px;
}
.hero-case-content .portal-body{
 color:rgba(255,255,255,.86);
 margin-top:24px;
 max-width:700px;
 font-size:17px;
}
.hero-case-content .portal-button.secondary{
 background:transparent;
 color:#fff;
 border-color:rgba(255,255,255,.45);
}

@media(max-width:1120px){
 .hero-canon-grid{grid-template-columns:1fr;min-height:0}
 .hero-canon-copy{padding:56px 0 42px}
 .hero-canon-media{
   min-height:0;
   aspect-ratio:16/9;
   border-left:0;
   border-top:1px solid var(--rv-line);
 }
}
@media(max-width:768px){
 .hero-canon-copy{padding:46px 0 32px}
 .hero-canon-copy .portal-kicker{margin-bottom:20px}
 .hero-canon-copy .portal-display{font-size:42px;line-height:.95}
 .hero-canon-copy .portal-body{font-size:14px;margin-top:20px}
 .hero-canon-copy .page-hero-actions{margin-top:24px}
 .hero-canon-media{aspect-ratio:4/3}
 .hero-case,.hero-case-content{min-height:620px}
 .hero-case-content{padding-top:60px;padding-bottom:28px}
 .hero-case-content .portal-display{font-size:45px;line-height:.94}
 .hero-case-content .portal-body{font-size:14px}
}


/* =========================================================
   RV GESTÃO — SEMANTIC HERO SYSTEM v1
   Function + usability + aesthetics + meaning.
   Same brand grammar; composition follows page semantics.
   ========================================================= */

/* shared */
.hero-identity,
.hero-operations,
.hero-residential-signature,
.hero-method-signature,
.hero-tech-signature,
.hero-governance,
.hero-editorial-signature,
.hero-portfolio{
  position:relative;
  overflow:hidden;
  border-bottom:1px solid var(--rv-line);
}
.hero-identity img,
.hero-operations img,
.hero-residential-signature img,
.hero-method-signature img,
.hero-tech-signature img,
.hero-governance img,
.hero-editorial-signature img,
.hero-portfolio img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

/* 01 — IDENTITY: the brand enters as a position, not as a card */
.hero-identity{
  min-height:700px;
  background:#111;
  color:#fff;
}
.hero-identity-media{position:absolute;inset:0}
.hero-identity-media img{object-position:center 42%}
.hero-identity-panel{
  position:relative;
  z-index:2;
  min-height:700px;
  width:min(44vw,680px);
  padding:76px 52px 38px max(var(--rv-gut),calc((100vw - var(--rv-max))/2 + var(--rv-gut)));
  background:#111;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  border-right:1px solid rgba(255,255,255,.16);
}
.hero-identity-panel:before{
  content:"";
  position:absolute;
  left:max(var(--rv-gut),calc((100vw - var(--rv-max))/2 + var(--rv-gut)));
  top:42px;
  width:72px;
  height:4px;
  background:var(--rv-orange);
}
.hero-identity-copy .portal-kicker{color:#bdbdb7;margin-bottom:25px}
.hero-identity-copy .portal-display{
  font-size:clamp(62px,8vw,118px);
  line-height:.82;
  letter-spacing:-.075em;
}
.hero-identity-copy .portal-body{
  margin-top:28px;
  color:#c1c1bb;
  font-size:16px;
  max-width:540px;
}
.hero-identity-copy .portal-button.secondary{
  background:transparent;
  color:#fff;
  border-color:#444;
}
.hero-identity-meta{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  margin-top:42px;
  border-top:1px solid #363634;
}
.hero-identity-meta>div{
  padding:15px 16px 0 0;
  min-height:65px;
  border-right:1px solid #363634;
}
.hero-identity-meta>div+div{padding-left:16px}
.hero-identity-meta b{display:block;font-size:13px;color:#fff}
.hero-identity-meta span{
  display:block;margin-top:5px;color:#888983;
  font-size:8px;line-height:1.4;text-transform:uppercase;letter-spacing:.11em
}

/* 02 — OPERATIONS: copy anchored; image escapes the content grid */
.hero-operations{
  min-height:680px;
  background:#fff;
}
.hero-operations-media{
  position:absolute;
  z-index:0;
  top:0;right:0;bottom:0;
  width:61%;
  background:#ddd;
}
.hero-operations-media img{object-position:center}
.hero-operations-shell{
  position:relative;
  z-index:2;
  min-height:680px;
  display:flex;
  align-items:center;
}
.hero-operations-copy{
  width:41%;
  padding:70px 54px 112px 0;
  background:#fff;
}
.hero-operations-copy .portal-kicker{margin-bottom:26px}
.hero-operations-copy .portal-display{
  font-size:clamp(52px,6.5vw,94px);
  line-height:.88;
  letter-spacing:-.068em;
}
.hero-operations-copy .portal-body{
  margin-top:25px;
  max-width:520px;
  font-size:15.5px;
}
.hero-operations-rail{
  position:absolute;
  left:0;right:0;bottom:34px;
}
.hero-operations-rail:empty{display:none}
.hero-op-rail{
  width:min(760px,64%);
  margin-left:auto;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  background:#111;
  color:#fff;
  border-left:4px solid var(--rv-orange);
}
.hero-op-rail>div{
  padding:17px 20px;
  min-height:78px;
  border-right:1px solid #383836;
}
.hero-op-rail b{display:block;font-size:12px}
.hero-op-rail span{
  display:block;margin-top:5px;color:#92928d;
  font-size:8px;text-transform:uppercase;letter-spacing:.11em;line-height:1.35
}

/* 03 — RESIDENTIAL: architecture dominates, editorial deck explains */
.hero-residential-signature{
  background:var(--rv-paper);
  padding-bottom:74px;
}
.hero-residential-signature-media{
  height:610px;
  background:#d8d6d0;
}
.hero-residential-signature-media img{object-position:center 48%}
.hero-residential-signature-shell{position:relative}
.hero-residential-signature-card{
  position:relative;
  z-index:2;
  margin-top:-154px;
  width:min(1040px,82%);
  padding:38px 42px 30px;
  background:#fff;
  border-top:4px solid var(--rv-orange);
  border-left:1px solid var(--rv-line);
  border-right:1px solid var(--rv-line);
  border-bottom:1px solid var(--rv-line);
}
.hero-residential-signature-card .portal-kicker{margin-bottom:20px}
.hero-residential-signature-card .portal-display{
  font-size:clamp(55px,7vw,100px);
  line-height:.88;
  letter-spacing:-.068em;
}
.hero-residential-signature-lower{
  display:grid;
  grid-template-columns:1fr auto;
  gap:52px;
  align-items:end;
  margin-top:28px;
  padding-top:27px;
  border-top:1px solid var(--rv-line);
}
.hero-residential-signature-lower .portal-body{font-size:15px}
.hero-residential-signature-lower .page-hero-actions{margin:0;white-space:nowrap}
.hero-residential-meta{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  margin-top:28px;
  border-top:1px solid var(--rv-line);
}
.hero-residential-meta>div{
  padding:14px 16px 0 0;
  min-height:60px;
  border-right:1px solid var(--rv-line);
}
.hero-residential-meta>div+div{padding-left:16px}
.hero-residential-meta b{display:block;font-size:12px}
.hero-residential-meta span{
  display:block;margin-top:5px;color:#777;
  font-size:8px;text-transform:uppercase;letter-spacing:.11em
}

/* 04 — METHOD / QUALITY: the process is part of the first screen */
.hero-method-signature{
  background:#fff;
  padding-top:70px;
}
.hero-method-signature-head{
  display:grid;
  grid-template-columns:1.18fr .82fr;
  column-gap:72px;
  align-items:end;
  padding-bottom:46px;
}
.hero-method-signature-head>.portal-kicker{grid-column:1/-1;margin-bottom:30px}
.hero-method-title .portal-display{
  font-size:clamp(68px,9vw,132px);
  line-height:.8;
  letter-spacing:-.078em;
}
.hero-method-lead{
  padding-bottom:7px;
}
.hero-method-lead .portal-body{font-size:16px}
.hero-method-signature-body{
  display:grid;
  grid-template-columns:1.38fr .62fr;
  min-height:390px;
  background:#111;
}
.hero-method-image{overflow:hidden}
.hero-method-image img{object-position:center 46%}
.hero-method-process{
  display:grid;
  grid-template-columns:1fr;
  color:#fff;
  border-left:1px solid #343432;
}
.hero-method-process>div{
  display:grid;
  grid-template-columns:64px 1fr;
  align-items:center;
  gap:18px;
  padding:15px 30px;
  border-bottom:1px solid #343432;
}
.hero-method-process b{
  color:var(--rv-orange);
  font-size:12px;
  letter-spacing:.06em;
}
.hero-method-process span{
  color:#d0d0ca;
  font-size:10px;
  text-transform:uppercase;
  letter-spacing:.12em;
}

/* 05 — TECHNOLOGY: system canvas, not 'tech stock' */
.hero-tech-signature{
  background:#101010;
  color:#fff;
  padding:74px 0 0;
}
.hero-tech-signature-grid{
  display:grid;
  grid-template-columns:.78fr 1.22fr;
  gap:70px;
  align-items:stretch;
}
.hero-tech-copy{
  padding:34px 0 58px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.hero-tech-copy .portal-kicker{color:#bdbdb7;margin-bottom:24px}
.hero-tech-copy .portal-display{
  font-size:clamp(58px,7.2vw,104px);
  line-height:.84;
  letter-spacing:-.072em;
}
.hero-tech-copy .portal-body{
  margin-top:27px;
  color:#b8b8b2;
  font-size:15.5px;
}
.hero-tech-copy .portal-button.secondary{
  background:transparent;color:#fff;border-color:#444
}
.hero-tech-visual{
  min-height:470px;
  overflow:hidden;
  border-left:1px solid #333;
  border-top:1px solid #333;
}
.hero-tech-visual img{object-position:center}
.hero-tech-system{
  margin-top:0;
  border-top:1px solid #333;
}
.hero-tech-system-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
}
.hero-tech-system-grid>div{
  position:relative;
  padding:22px 20px 24px 34px;
  min-height:92px;
  border-right:1px solid #333;
}
.hero-tech-system-grid>div:before{
  content:"";
  position:absolute;
  left:0;top:0;bottom:0;width:3px;
  background:var(--rv-orange);
}
.hero-tech-system-grid b{display:block;color:#fff;font-size:13px}
.hero-tech-system-grid span{
  display:block;margin-top:6px;color:#888983;
  font-size:8px;text-transform:uppercase;letter-spacing:.11em
}

/* 06 — GOVERNANCE: evidence/document surface, not a generic corporate photo */
.hero-governance{
  display:grid;
  grid-template-columns:1.08fr .92fr;
  min-height:680px;
  background:#111;
  color:#fff;
}
.hero-governance-media{overflow:hidden}
.hero-governance-media img{object-position:center}
.hero-governance-copy{
  padding:74px max(var(--rv-gut),calc((100vw - var(--rv-max))/2 + var(--rv-gut))) 48px 58px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  border-left:1px solid #333;
}
.hero-governance-copy .portal-kicker{color:#bdbdb7;margin-bottom:25px}
.hero-governance-copy .portal-display{
  font-size:clamp(56px,7vw,100px);
  line-height:.87;
  letter-spacing:-.07em;
}
.hero-governance-copy .portal-body{margin-top:25px;color:#b9b9b3}
.hero-governance-copy .portal-button.secondary{
  background:transparent;color:#fff;border-color:#444
}
.hero-governance-docs{
  display:grid;
  grid-template-columns:1fr 1fr;
  margin-top:40px;
  border-top:1px solid #383836;
  border-left:1px solid #383836;
}
.hero-governance-docs span{
  padding:15px 16px;
  border-right:1px solid #383836;
  border-bottom:1px solid #383836;
  color:#d0d0ca;
  font-size:9px;
  text-transform:uppercase;
  letter-spacing:.11em;
}

/* 07 — EDITORIAL / PEOPLE: title first, media and thesis second */
.hero-editorial-signature{
  background:#fff;
  padding:72px 0 54px;
}
.hero-editorial-signature-head .portal-kicker{margin-bottom:30px}
.hero-editorial-signature-head .portal-display{
  font-size:clamp(72px,10vw,144px);
  line-height:.78;
  letter-spacing:-.08em;
  max-width:1240px;
}
.hero-editorial-signature-body{
  display:grid;
  grid-template-columns:1.34fr .66fr;
  margin-top:52px;
  padding-inline:0!important;
  max-width:var(--rv-max);
  min-height:360px;
}
.hero-editorial-media{overflow:hidden;background:#ddd}
.hero-editorial-media img{object-position:center}
.hero-editorial-copy{
  padding:38px 36px 30px;
  background:var(--rv-paper);
  border-top:1px solid var(--rv-line);
  border-right:1px solid var(--rv-line);
  border-bottom:1px solid var(--rv-line);
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
}
.hero-editorial-index{
  display:block;
  margin-bottom:auto;
  padding-bottom:48px;
  color:var(--rv-orange);
  font-size:8px;
  text-transform:uppercase;
  letter-spacing:.15em;
  font-weight:800;
}
.hero-editorial-copy .portal-body{font-size:14.5px}
.hero-editorial-meta{
  display:grid;
  grid-template-columns:1fr;
  margin-top:28px;
  border-top:1px solid var(--rv-line);
}
.hero-editorial-meta>div{
  display:grid;
  grid-template-columns:120px 1fr;
  gap:14px;
  padding:10px 0;
  border-bottom:1px solid var(--rv-line);
}
.hero-editorial-meta b{font-size:11px}
.hero-editorial-meta span{font-size:8px;text-transform:uppercase;letter-spacing:.1em;color:#777}

/* 08 — PORTFOLIO: breadth before case */
.hero-portfolio{background:#fff;padding:70px 0 0}
.hero-portfolio-head{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:70px;
  align-items:end;
  padding-bottom:44px;
}
.hero-portfolio-head>.portal-kicker{grid-column:1/-1;margin-bottom:-20px}
.hero-portfolio-title .portal-display{
  font-size:clamp(68px,9vw,130px);
  line-height:.8;
  letter-spacing:-.076em;
}
.hero-portfolio-intro .portal-body{font-size:16px}
.hero-portfolio-media{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:7px;
  padding:0 7px 7px;
  background:#111;
  min-height:470px;
}
.hero-portfolio-panel{position:relative;overflow:hidden}
.hero-portfolio-panel img{object-position:center}
.hero-portfolio-panel span{
  position:absolute;
  left:0;bottom:0;
  padding:11px 14px;
  background:#111;color:#fff;
  font-size:8px;font-weight:800;text-transform:uppercase;letter-spacing:.15em
}

/* cases remain the most immersive expression */
.hero-case{min-height:700px}
.hero-case-content{min-height:700px}
.hero-case-content .portal-display{
  font-size:clamp(58px,7.6vw,112px);
  line-height:.86;
}

/* responsive: semantic composition preserved, not merely squeezed */
@media(max-width:1120px){
  .hero-identity-panel{width:52vw}
  .hero-operations-media{width:56%}
  .hero-operations-copy{width:46%}
  .hero-method-signature-head,
  .hero-tech-signature-grid,
  .hero-governance,
  .hero-editorial-signature-body,
  .hero-portfolio-head{
    grid-template-columns:1fr;
  }
  .hero-method-signature-head{gap:28px}
  .hero-method-signature-body{grid-template-columns:1fr}
  .hero-method-image{min-height:360px}
  .hero-method-process{grid-template-columns:repeat(3,1fr);border-left:0}
  .hero-method-process>div{display:block;min-height:90px;border-right:1px solid #343432}
  .hero-method-process span{display:block;margin-top:8px}
  .hero-tech-signature-grid{gap:30px}
  .hero-governance-media{min-height:440px}
  .hero-governance-copy{padding:52px var(--rv-gut)}
  .hero-editorial-signature-body{grid-template-columns:1.2fr .8fr}
  .hero-portfolio-head{gap:28px}
}
@media(max-width:768px){
  .hero-identity{min-height:640px}
  .hero-identity-panel{
    width:88%;
    min-height:640px;
    padding:66px 22px 28px 20px;
  }
  .hero-identity-panel:before{left:20px;top:28px;width:54px}
  .hero-identity-copy .portal-display{font-size:48px;line-height:.92}
  .hero-identity-copy .portal-body{font-size:14px}
  .hero-identity-meta{grid-template-columns:1fr;margin-top:28px}
  .hero-identity-meta>div,.hero-identity-meta>div+div{
    padding:10px 0;border-right:0;border-bottom:1px solid #363634;min-height:0
  }

  .hero-operations{min-height:0;padding-bottom:0}
  .hero-operations-media{
    position:relative;
    width:100%;
    height:auto;
    aspect-ratio:4/3;
    order:2;
  }
  .hero-operations-shell{
    min-height:0;
    display:block;
    padding-top:44px;
  }
  .hero-operations-copy{width:100%;padding:0 0 34px}
  .hero-operations-copy .portal-display{font-size:44px;line-height:.94}
  .hero-operations-copy .portal-body{font-size:14px}
  .hero-operations-rail{position:static;margin:0 -20px}
  .hero-op-rail{width:100%;grid-template-columns:1fr}
  .hero-op-rail>div{min-height:0;padding:12px 20px;border-bottom:1px solid #383836}

  .hero-residential-signature{padding-bottom:34px}
  .hero-residential-signature-media{height:auto;aspect-ratio:4/3}
  .hero-residential-signature-card{
    width:calc(100% - 10px);
    margin-top:-44px;
    padding:25px 21px 22px;
  }
  .hero-residential-signature-card .portal-display{font-size:45px;line-height:.92}
  .hero-residential-signature-lower{grid-template-columns:1fr;gap:20px}
  .hero-residential-signature-lower .page-hero-actions{white-space:normal}
  .hero-residential-meta{grid-template-columns:1fr}

  .hero-method-signature{padding-top:48px}
  .hero-method-signature-head{grid-template-columns:1fr;gap:22px;padding-bottom:32px}
  .hero-method-signature-head>.portal-kicker{grid-column:auto;margin-bottom:0}
  .hero-method-title .portal-display{font-size:49px;line-height:.9}
  .hero-method-lead .portal-body{font-size:14px}
  .hero-method-image{min-height:0;aspect-ratio:4/3}
  .hero-method-process{grid-template-columns:1fr}
  .hero-method-process>div{display:grid;grid-template-columns:48px 1fr;min-height:0;padding:12px 20px}
  .hero-method-process span{margin-top:0}

  .hero-tech-signature{padding-top:48px}
  .hero-tech-signature-grid{grid-template-columns:1fr;gap:28px}
  .hero-tech-copy{padding:0 0 8px}
  .hero-tech-copy .portal-display{font-size:46px;line-height:.91}
  .hero-tech-visual{min-height:0;aspect-ratio:4/3;border-left:0}
  .hero-tech-system{margin:0 -20px}
  .hero-tech-system-grid{grid-template-columns:1fr}
  .hero-tech-system-grid>div{min-height:0;padding:13px 20px 13px 26px;border-bottom:1px solid #333}

  .hero-governance{grid-template-columns:1fr;min-height:0}
  .hero-governance-media{min-height:0;aspect-ratio:4/3}
  .hero-governance-copy{padding:42px 20px 30px;border-left:0}
  .hero-governance-copy .portal-display{font-size:46px;line-height:.92}

  .hero-editorial-signature{padding:48px 0 32px}
  .hero-editorial-signature-head .portal-display{font-size:50px;line-height:.88}
  .hero-editorial-signature-body{
    grid-template-columns:1fr;
    margin-top:32px;
  }
  .hero-editorial-media{aspect-ratio:4/3}
  .hero-editorial-copy{padding:25px 22px 22px;border-left:1px solid var(--rv-line)}
  .hero-editorial-index{margin-bottom:30px;padding-bottom:0}

  .hero-portfolio{padding-top:48px}
  .hero-portfolio-head{grid-template-columns:1fr;gap:22px;padding-bottom:30px}
  .hero-portfolio-head>.portal-kicker{grid-column:auto;margin-bottom:0}
  .hero-portfolio-title .portal-display{font-size:49px;line-height:.9}
  .hero-portfolio-media{grid-template-columns:1fr;padding:0 0 5px;min-height:0}
  .hero-portfolio-panel{aspect-ratio:4/3}
}


/* KNOWLEDGE — archive is part of the hero, not a section after it */
.hero-knowledge{
  position:relative;
  overflow:hidden;
  background:#fff;
  padding:68px 0 0;
  border-bottom:1px solid var(--rv-line);
}
.hero-knowledge-head .portal-kicker{margin-bottom:28px}
.hero-knowledge-head .portal-display{
  font-size:clamp(74px,10.5vw,152px);
  line-height:.76;
  letter-spacing:-.082em;
  max-width:1280px;
}
.hero-knowledge-stage{
  display:grid;
  grid-template-columns:1.32fr .68fr;
  margin-top:34px;
  min-height:470px;
  background:#111;
}
.hero-knowledge-image{overflow:hidden}
.hero-knowledge-image img{
  width:100%;height:100%;object-fit:cover;object-position:center;display:block
}
.hero-knowledge-copy{
  padding:42px max(var(--rv-gut),calc((100vw - var(--rv-max))/2 + var(--rv-gut))) 32px 40px;
  color:#fff;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  border-left:1px solid #343432;
}
.hero-knowledge-copy .portal-body{color:#b9b9b3;font-size:15px}
.hero-knowledge-copy .portal-button.secondary{
  background:transparent;color:#fff;border-color:#444
}
.hero-knowledge-archive{
  display:grid;
  grid-template-columns:1fr;
  margin-top:34px;
  border-top:1px solid #3a3a38;
}
.hero-knowledge-archive>span{
  padding:12px 0 8px;
  color:var(--rv-orange);
  font-size:8px;font-weight:800;text-transform:uppercase;letter-spacing:.14em
}
.hero-knowledge-archive a{
  padding:10px 0;
  border-bottom:1px solid #3a3a38;
  color:#fff;
  font-size:12px;
  font-weight:650;
}

/* PORTFOLIO — make the two operating worlds part of first impact */
.hero-portfolio{padding-top:64px}
.hero-portfolio-head{
  position:relative;
  z-index:3;
  padding-bottom:24px;
}
.hero-portfolio-media{
  margin-top:-4px;
  min-height:520px;
  grid-template-columns:1.08fr .92fr;
}
.hero-portfolio-panel span{
  padding:13px 16px;
  font-size:9px;
}
.hero-portfolio-panel:after{
  content:"";
  position:absolute;
  left:0;right:0;top:0;
  height:4px;
  background:var(--rv-orange);
}
@media(max-width:768px){
  .hero-knowledge{padding-top:48px}
  .hero-knowledge-head .portal-display{font-size:52px;line-height:.86}
  .hero-knowledge-stage{grid-template-columns:1fr;margin-top:26px;min-height:0}
  .hero-knowledge-image{aspect-ratio:4/3}
  .hero-knowledge-copy{padding:28px 20px 24px}
  .hero-portfolio-media{margin-top:0;min-height:0}
}


/* =========================================================
   RV GESTÃO — DS100 / MICROINTERACTION + NAV + GRID GOVERNANCE
   ========================================================= */

.ui-icon{
  width:16px;
  height:16px;
  flex:0 0 auto;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.portal-button,
.portal-link,
.header-client,
.header-cta,
.mobile-nav-cta,
.mega-overview,
.main-nav .mega a{
  display:inline-flex;
  align-items:center;
  gap:10px;
}
.portal-button{
  justify-content:center;
  min-height:48px;
  padding:0 17px 0 19px;
  transition:background-color .18s ease,color .18s ease,border-color .18s ease;
}
.portal-button .ui-icon{
  width:15px;
  height:15px;
  transition:transform .18s ease;
}
.portal-button:hover .ui-icon,
.portal-link:hover .ui-icon,
.header-cta:hover .ui-icon,
.header-client:hover .ui-icon,
.mega-overview:hover .ui-icon,
.main-nav .mega a:hover .ui-icon{
  transform:translateX(3px);
}
.portal-button:focus-visible,
.portal-link:focus-visible,
.nav-trigger:focus-visible,
.header-client:focus-visible,
.header-cta:focus-visible,
.main-nav .mega a:focus-visible{
  outline:2px solid var(--rv-orange);
  outline-offset:3px;
}
.portal-link{
  width:max-content;
  padding:0;
  border:0;
  font-size:11px;
  font-weight:780;
  line-height:1;
}
.portal-link:after{display:none!important}
.portal-link .ui-icon{
  width:14px;
  height:14px;
  color:var(--rv-orange);
  transition:transform .18s ease;
}
.portal-link span{
  border-bottom:1px solid currentColor;
  padding-bottom:4px;
}

/* NAV — full-width breathing room, actual chevrons */
.site-header .header-inner{
  max-width:1540px;
  padding-inline:28px;
}
@media(min-width:1121px){
  .main-nav{gap:16px!important}
}
.main-nav .nav-trigger{
  gap:7px;
  font-size:10.5px;
}
.main-nav .nav-trigger:after{display:none!important}
.nav-trigger .nav-chevron{
  width:14px;
  height:14px;
  color:#858680;
  transition:transform .18s ease,color .18s ease;
}
.nav-group.is-open .nav-trigger .nav-chevron{
  transform:rotate(180deg);
  color:var(--rv-orange);
}
.mega{
  width:min(1500px,calc(100vw - 32px));
  padding:38px 44px 42px;
}
.mega-inner{
  grid-template-columns:.92fr repeat(3,minmax(0,1fr));
  gap:42px;
}
.mega-intro{
  padding-right:40px;
  border-right:1px solid #343432;
}
.mega-intro h3{
  margin:20px 0 13px;
  font-size:30px;
}
.mega-intro p{
  max-width:270px;
  font-size:12.5px;
  line-height:1.65;
}
.mega-overview{
  margin-top:28px;
  color:#fff;
  font-size:10px;
  font-weight:760;
}
.mega-overview .ui-icon{color:var(--rv-orange)}
.mega-col{
  padding:0;
  border-left:0;
}
.mega-col b{
  margin-bottom:15px;
  font-size:8px;
  color:#90908A;
}
.main-nav .mega a{
  justify-content:space-between;
  gap:16px;
  padding:9px 0;
  color:#C6C6C0;
  font-size:11.5px;
  line-height:1.35;
}
.main-nav .mega a .ui-icon{
  width:13px;
  height:13px;
  color:#686863;
  opacity:.9;
  transition:transform .18s ease,color .18s ease;
}
.main-nav .mega a:hover .ui-icon{
  color:var(--rv-orange);
}
.header-client,
.header-cta{
  gap:8px;
}
.header-client .ui-icon,
.header-cta .ui-icon{
  width:14px;height:14px;
}
.menu-btn{
  align-items:center;
  gap:9px;
}
.menu-btn .menu-icon{width:18px;height:18px}

/* Breadcrumb is navigation, not punctuation */
.portal-breadcrumb ol{gap:7px}
.portal-breadcrumb li+li:before{display:none!important}
.portal-breadcrumb .breadcrumb-sep{
  display:flex;
  align-items:center;
}
.portal-breadcrumb .breadcrumb-sep .ui-icon{
  width:11px;
  height:11px;
  color:#B6B6B0;
}

/* GRIDS — no orphans on 6/9-capability systems */
.cap-grid{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
}
.cap-grid.count-6{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.cap-grid.count-9{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.cap-card{
  min-width:0;
  min-height:260px;
  padding:28px 28px 26px;
}
.cap-card>svg:first-child{
  width:30px;
  height:30px;
  margin-bottom:30px;
}
.article-grid.count-6{
  grid-template-columns:repeat(3,minmax(0,1fr));
}
.article-grid.count-8{
  grid-template-columns:repeat(4,minmax(0,1fr));
}
.people-grid.count-5{
  grid-template-columns:repeat(5,minmax(0,1fr));
}
.person{
  min-width:0;
  min-height:250px;
  padding:24px;
}
.person-index{
  margin-bottom:40px;
  color:var(--rv-orange);
  font-size:9px;
  font-weight:820;
  letter-spacing:.12em;
}

/* Lists are editorial components, not browser defaults */
.editorial-row li{
  display:flex;
  align-items:center;
  gap:10px;
  min-height:38px;
  padding:8px 0;
}
.editorial-row li .list-icon{
  width:16px;
  height:16px;
  color:var(--rv-orange);
  stroke-width:2;
}
.editorial-row li span{
  min-width:0;
}
.trust-item{
  position:relative;
  padding:28px 28px 26px;
}
.trust-item>.ui-icon{
  width:24px;
  height:24px;
  color:var(--rv-orange);
  margin-bottom:26px;
}
.intent .portal-link{
  margin-top:auto;
}
.intent{
  display:flex;
  flex-direction:column;
}

/* METHOD — keep the whole thesis in one confident first screen */
.hero-method-signature{
  padding-top:42px!important;
}
.hero-method-signature-head{
  padding-bottom:26px!important;
  column-gap:60px!important;
}
.hero-method-signature-head>.portal-kicker{
  margin-bottom:18px!important;
}
.hero-method-title .portal-display{
  font-size:clamp(58px,7.2vw,108px)!important;
  line-height:.82!important;
}
.hero-method-lead .portal-body{
  font-size:15px!important;
  line-height:1.55!important;
}
.hero-method-lead .page-hero-actions{
  margin-top:22px!important;
}
.hero-method-signature-body{
  min-height:300px!important;
  max-height:320px;
}
.hero-method-image{
  min-height:300px!important;
  max-height:320px;
}
.hero-method-image img{
  height:100%;
}
.hero-method-process{
  max-height:320px;
}
.hero-method-process>div{
  padding:11px 26px!important;
  min-height:0!important;
}

/* Section rhythm: same finish level across pages */
.portal-section{
  padding:78px 0;
}
.section-head{
  margin-bottom:34px;
}
.section-head>.portal-body{
  max-width:560px;
}
.cap-card h3,
.article-card h3,
.trust-item b,
.intent b{
  text-wrap:balance;
}

/* Desktop/tablet grid governance */
@media(max-width:1120px){
  .site-header .header-inner{padding-inline:22px}
  .mega-inner{gap:0}
  .mega-intro{border-right:0}
  .cap-grid.count-6,
  .cap-grid.count-9{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
  .article-grid.count-8{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .people-grid.count-5{
    grid-template-columns:repeat(5,minmax(0,1fr));
  }
}
@media(max-width:820px){
  .cap-grid.count-6{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .cap-grid.count-9{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
  .people-grid.count-5{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .portal-section{padding:64px 0}
}
@media(max-width:680px){
  .site-header .header-inner{padding-inline:20px}
  .cap-grid.count-6,
  .cap-grid.count-9,
  .article-grid.count-6,
  .article-grid.count-8,
  .people-grid.count-5{
    grid-template-columns:1fr!important;
  }
  .hero-method-signature{
    padding-top:40px!important;
  }
  .hero-method-signature-body,
  .hero-method-image,
  .hero-method-process{
    max-height:none!important;
  }
}


/* =========================================================
   RV GESTÃO — DS100 v2
   Vertical mega menu + readable operational rail
   ========================================================= */

/* MEGA MENU — editorial index, not column matrix */
@media(min-width:1121px){
  .mega{
    width:min(1180px,calc(100vw - 48px));
    max-height:calc(100vh - 108px);
    overflow:auto;
    padding:0;
  }
  .mega-inner{
    display:grid;
    grid-template-columns:minmax(260px,.72fr) minmax(0,1.72fr);
    column-gap:0;
    row-gap:0;
    align-items:start;
    padding:34px 40px 38px;
  }
  .mega-intro{
    grid-column:1;
    grid-row:1 / span 12;
    align-self:stretch;
    padding:4px 42px 4px 2px;
    margin-right:42px;
    border-right:1px solid #333330;
  }
  .mega-intro h3{
    margin:19px 0 12px;
    font-size:32px;
    line-height:.95;
    letter-spacing:-.045em;
  }
  .mega-intro p{
    max-width:250px;
    font-size:12px;
    line-height:1.65;
    color:#9A9A94;
  }
  .mega-overview{
    margin-top:28px;
    padding:10px 0;
  }

  .mega-col{
    grid-column:2;
    display:block;
    padding:18px 0 20px;
    border-top:1px solid #2E2E2B;
  }
  .mega-col:first-of-type{
    border-top:0;
    padding-top:2px;
  }
  .mega-col b{
    display:block;
    margin:0 0 10px;
    font-size:8px;
    line-height:1;
    letter-spacing:.16em;
    color:#72726D;
  }
  .main-nav .mega .mega-col a{
    display:flex;
    width:100%;
    justify-content:space-between;
    align-items:center;
    gap:22px;
    padding:8px 0;
    font-size:12px;
    line-height:1.35;
    color:#D1D1CB;
    border:0;
  }
  .main-nav .mega .mega-col a + a{
    margin-top:1px;
  }
  .main-nav .mega .mega-col a .ui-icon{
    width:13px;
    height:13px;
    color:#61615C;
  }
  .main-nav .mega .mega-col a:hover{
    color:#fff;
  }
  .main-nav .mega .mega-col a:hover .ui-icon{
    color:var(--rv-orange);
  }
}

/* OPERATIONAL RAIL — information, not caption */
.hero-operations-rail{
  bottom:24px;
}
.hero-op-rail{
  width:min(820px,68%);
  min-height:104px;
  margin-left:auto;
  grid-template-columns:repeat(3,minmax(0,1fr));
  border-left:4px solid var(--rv-orange);
}
.hero-op-rail>.hero-op-cell{
  display:grid;
  grid-template-columns:34px 1fr;
  gap:13px;
  align-items:center;
  min-height:104px;
  padding:18px 20px;
  border-right:1px solid #343431;
}
.hero-op-rail>.hero-op-cell:last-child{
  border-right:0;
}
.hero-op-icon{
  display:flex!important;
  align-items:center;
  justify-content:center;
  width:32px;
  height:32px;
  color:var(--rv-orange)!important;
}
.hero-op-icon svg{
  width:24px;
  height:24px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.55;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.hero-op-copy{
  display:block!important;
  min-width:0;
}
.hero-op-copy b{
  display:block;
  margin:0;
  font-size:14px!important;
  line-height:1.15;
  color:#fff!important;
  letter-spacing:-.01em;
}
.hero-op-copy small{
  display:block;
  margin-top:6px;
  font-size:10px;
  line-height:1.35;
  color:#A9A9A3;
  text-transform:none;
  letter-spacing:0;
}

@media(max-width:820px){
  .hero-op-rail{
    width:100%;
    grid-template-columns:1fr;
  }
  .hero-op-rail>.hero-op-cell{
    min-height:76px;
    padding:14px 20px;
    border-right:0;
    border-bottom:1px solid #343431;
  }
}


/* =========================================================
   RV PORTAL ATOMIC MASTER — 2026-10-09
   Governed visual layer: no gradient, no shadow, no blur.
   ========================================================= */

/* HUMAN / PEOPLE — typography first; portraits belong to the roster */
.people-v3-hero{
  background:#fff;
  border-bottom:1px solid var(--rv-line);
}
.people-v3-grid{
  display:grid;
  grid-template-columns:minmax(0,1.08fr) minmax(420px,.92fr);
  min-height:620px;
  padding-inline:0;
}
.people-v3-copy{
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:78px 70px 68px var(--rv-gut);
  min-width:0;
}
.people-v3-copy .portal-kicker{margin-bottom:32px}
.people-v3-copy .portal-display{
  max-width:820px;
  font-size:clamp(64px,7.2vw,112px);
  line-height:.84;
  letter-spacing:-.072em;
}
.people-v3-copy>.portal-body{
  max-width:660px;
  margin-top:34px;
  font-size:17px;
  line-height:1.68;
}
.people-v3-copy .page-hero-actions{margin-top:34px}
.people-v3-index{
  background:#EEE7DE;
  border-left:1px solid #D6CFC4;
  padding:62px 54px 50px;
  display:grid;
  grid-template-rows:auto 1fr auto;
  gap:42px;
}
.people-v3-total{
  display:flex;
  align-items:flex-end;
  gap:20px;
  border-bottom:1px solid #CFC6BA;
  padding-bottom:34px;
}
.people-v3-total b{
  font-size:clamp(112px,12vw,184px);
  line-height:.7;
  letter-spacing:-.08em;
  font-weight:610;
  color:var(--rv-ink);
}
.people-v3-total span{
  max-width:120px;
  padding-bottom:7px;
  font-size:9px;
  line-height:1.35;
  letter-spacing:.12em;
  text-transform:uppercase;
  font-weight:820;
  color:#69645E;
}
.people-v3-roles{
  align-self:end;
  border-top:1px solid #CFC6BA;
}
.people-v3-roles>div{
  display:grid;
  grid-template-columns:52px 1fr;
  gap:16px;
  align-items:center;
  min-height:54px;
  border-bottom:1px solid #CFC6BA;
}
.people-v3-roles span{
  font-size:9px;
  color:var(--rv-orange);
  font-weight:840;
  letter-spacing:.12em;
}
.people-v3-roles b{
  font-size:15px;
  line-height:1.2;
  font-weight:610;
  letter-spacing:-.02em;
}
.people-v3-index>p{
  margin:0;
  max-width:410px;
  font-size:12px;
  line-height:1.65;
  color:#69645E;
}
.people-v3-intro .intro-copy{max-width:790px}
.people-v3-roster{padding-top:74px}

/* Portrait surface: warm editorial mat, preserving real faces and original badge crops */
.people-roster-group{
  padding:44px 0 20px;
  border-top:1px solid var(--rv-ink);
}
.people-roster-group:first-of-type{padding-top:8px;border-top:0}
.people-roster-group-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:40px;
  margin-bottom:24px;
}
.people-roster-group-head span{
  display:block;
  color:var(--rv-orange);
  font-size:9px;
  font-weight:820;
  text-transform:uppercase;
  letter-spacing:.12em;
}
.people-roster-group-head h3{
  margin:8px 0 0;
  color:var(--rv-ink);
  font-size:clamp(24px,2.5vw,36px);
  line-height:1;
  letter-spacing:-.045em;
  font-weight:620;
}
.people-roster-group-head>b{
  color:#B8B0A6;
  font-size:42px;
  line-height:.9;
  letter-spacing:-.04em;
  font-weight:560;
}
.people-roster-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:1px;
  background:#D7CFC4;
  border:1px solid #D7CFC4;
}
.people-badge-card{
  margin:0;
  min-width:0;
  background:#fff;
}
.people-badge-photo{
  aspect-ratio:923/1065;
  overflow:hidden;
  background:#EEE7DE;
  isolation:isolate;
}
.people-badge-photo img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 28%;
}
.people-badge-card figcaption{
  min-height:78px;
  padding:16px 18px 17px;
  border-top:1px solid #DDD5CA;
  background:#F8F5F0;
}
.people-badge-card figcaption b{
  display:block;
  color:var(--rv-ink);
  font-size:15px;
  line-height:1.15;
  letter-spacing:-.025em;
  font-weight:660;
}
.people-badge-card figcaption span{
  display:block;
  margin-top:5px;
  color:var(--rv-orange-dark);
  font-size:9px;
  line-height:1.3;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.09em;
}
.people-v3-culture{
  padding:88px 0;
  background:var(--rv-ink);
  color:#fff;
}
.people-v3-culture-grid{
  display:grid;
  grid-template-columns:.82fr 1.18fr;
  gap:86px;
  align-items:start;
}
.people-v3-culture .portal-kicker{color:#BDBDB7}
.people-v3-culture h2{
  margin:26px 0 0;
  max-width:670px;
  font-size:clamp(42px,5vw,70px);
  line-height:.94;
  letter-spacing:-.055em;
  font-weight:620;
}
.people-v3-culture-copy>p{
  margin:0 0 34px;
  max-width:710px;
  color:#D0D0CB;
  font-size:15px;
  line-height:1.72;
}
.people-v3-culture-links{border-top:1px solid var(--rv-darkline)}
.people-v3-culture-links a{
  display:grid;
  grid-template-columns:minmax(160px,.55fr) 1fr;
  gap:24px;
  padding:20px 0;
  border-bottom:1px solid var(--rv-darkline);
  color:#fff;
}
.people-v3-culture-links a span{
  color:var(--rv-orange);
  font-size:10px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.1em;
}
.people-v3-culture-links a b{font-size:14px;font-weight:590}

/* RV CORP — system, not another technology photograph */
.hero-rvcorp-system{
  background:var(--rv-ink);
  color:#fff;
  border-bottom:1px solid #2F2F2D;
}
.hero-rvcorp-grid{
  min-height:620px;
  display:grid;
  grid-template-columns:minmax(380px,.76fr) minmax(600px,1.24fr);
  gap:72px;
  align-items:center;
}
.hero-rvcorp-copy{padding:74px 0}
.hero-rvcorp-copy .portal-kicker{color:#BDBDB7;margin-bottom:28px}
.hero-rvcorp-copy .portal-display{font-size:clamp(58px,6.4vw,94px)}
.hero-rvcorp-copy>.portal-body{margin-top:28px;max-width:600px;color:#BDBDB7;font-size:16px}
.hero-rvcorp-map{
  display:grid;
  grid-template-columns:1fr 36px 1fr 36px 1fr 36px 1fr;
  border-top:1px solid #3B3B38;
  border-bottom:1px solid #3B3B38;
  min-width:0;
}
.hero-rvcorp-node{
  min-height:270px;
  padding:28px 22px;
  border-left:1px solid #3B3B38;
  display:flex;
  flex-direction:column;
}
.hero-rvcorp-node:last-child{border-right:1px solid #3B3B38}
.hero-rvcorp-node span{
  color:var(--rv-orange);
  font-size:9px;
  font-weight:820;
  letter-spacing:.14em;
}
.hero-rvcorp-node b{
  margin-top:auto;
  font-size:25px;
  line-height:1;
  letter-spacing:-.04em;
  font-weight:620;
}
.hero-rvcorp-node small{
  margin-top:9px;
  color:#9F9F9A;
  font-size:9px;
  line-height:1.4;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.hero-rvcorp-arrow{
  display:flex;
  align-items:center;
  justify-content:center;
  color:#777771;
}
.hero-rvcorp-arrow svg{width:18px;height:18px;fill:none;stroke:currentColor}
.hero-rvcorp-principle{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  border-top:1px solid #2F2F2D;
}
.hero-rvcorp-principle span{
  padding:17px 18px;
  border-left:1px solid #2F2F2D;
  color:#B7B7B2;
  font-size:8px;
  font-weight:800;
  letter-spacing:.14em;
  text-transform:uppercase;
}
.hero-rvcorp-principle span:last-child{border-right:1px solid #2F2F2D}

/* GLÓRIA — archive as evidence, never fake place photography */
.hero-gloria-archive{
  background:#F4F0E8;
  border-bottom:1px solid #D8D0C4;
}
.hero-gloria-grid{
  display:grid;
  grid-template-columns:minmax(0,.9fr) minmax(520px,1.1fr);
  min-height:650px;
  align-items:stretch;
}
.hero-gloria-copy{
  padding:78px 70px 66px 0;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.hero-gloria-copy .portal-kicker{margin-bottom:28px}
.hero-gloria-copy .portal-display{font-size:clamp(58px,6.4vw,96px)}
.hero-gloria-copy>.portal-body{margin-top:26px;max-width:620px;font-size:16px}
.hero-gloria-note{
  margin-top:auto;
  padding-top:26px;
  border-top:1px solid #D1C8BB;
}
.hero-gloria-note span{
  display:block;
  color:var(--rv-orange);
  font-size:8px;
  font-weight:820;
  letter-spacing:.14em;
  text-transform:uppercase;
}
.hero-gloria-note b{
  display:block;
  margin-top:8px;
  max-width:360px;
  font-size:15px;
  line-height:1.4;
  font-weight:590;
}
.hero-gloria-evidence{
  margin:0;
  padding:48px 48px 30px;
  border-left:1px solid #D1C8BB;
  background:#EAE2D7;
  display:grid;
  grid-template-rows:minmax(0,1fr) auto;
}
.hero-gloria-evidence img{
  width:100%;
  height:100%;
  object-fit:contain;
  background:#fff;
}
.hero-gloria-evidence figcaption{
  padding-top:14px;
  color:#777068;
  font-size:9px;
  line-height:1.4;
  text-transform:uppercase;
  letter-spacing:.1em;
}

/* CONTACT — routing surface, not stock photography */
.hero-contact-route{
  background:#fff;
  border-bottom:1px solid var(--rv-line);
}
.hero-contact-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(420px,.75fr);
  min-height:500px;
  align-items:stretch;
}
.hero-contact-copy{
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:74px 64px 66px 0;
}
.hero-contact-copy .portal-kicker{margin-bottom:28px}
.hero-contact-copy>.portal-body{margin-top:26px;max-width:560px;font-size:16px}
.hero-contact-routing{
  background:var(--rv-paper);
  border-left:1px solid var(--rv-line);
  padding:48px 42px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.hero-contact-routing span{
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:56px;
  border-bottom:1px solid var(--rv-line);
  font-size:18px;
  font-weight:610;
  letter-spacing:-.025em;
}
.hero-contact-routing span:after{
  content:"↗";
  color:var(--rv-orange);
  font-size:14px;
}

/* Material truth wins generic stock */
.hero-identity-media img,
.hero-operations-media img,
.hero-residential-signature-media img,
.portal-story-media img{
  object-position:center;
}
.hero-operations-media img[src*="rv-real-6031"]{object-position:center 56%}
.hero-identity-media img[src*="torre.jpg"]{object-position:center 45%}
.hero-editorial-media img[src*="people-alexandre-roxo"]{object-position:center 20%}
.hero-editorial-media img[src*="horta-cemhs"]{object-position:center 52%}

/* Atomic editorial tightening */
.portal-story-copy{padding:52px 46px}
.portal-story-copy h2{max-width:520px}
.cap-card{min-height:248px}
.article-card{min-height:248px}
.portal-section.dark .portal-kicker{color:#BDBDB7}

@media(max-width:1180px){
  .people-v3-grid{grid-template-columns:minmax(0,1fr) minmax(360px,.8fr)}
  .people-v3-copy{padding-right:44px}
  .people-roster-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .hero-rvcorp-grid{grid-template-columns:1fr;gap:0;padding-top:44px}
  .hero-rvcorp-copy{padding:30px 0 46px}
  .hero-rvcorp-map{margin-bottom:42px}
  .hero-gloria-grid{grid-template-columns:minmax(0,.8fr) minmax(480px,1.2fr)}
}
@media(max-width:960px){
  .people-v3-grid{grid-template-columns:1fr}
  .people-v3-copy{padding:66px var(--rv-gut) 50px}
  .people-v3-index{border-left:0;border-top:1px solid #D6CFC4;padding:46px var(--rv-gut)}
  .people-v3-total b{font-size:120px}
  .people-v3-culture-grid{grid-template-columns:1fr;gap:48px}
  .people-roster-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hero-rvcorp-map{grid-template-columns:1fr 28px 1fr;grid-template-rows:auto 28px auto 28px auto 28px auto}
  .hero-rvcorp-node{min-height:190px}
  .hero-rvcorp-arrow:nth-of-type(1){grid-column:3;grid-row:1}
  .hero-rvcorp-arrow{transform:rotate(90deg)}
  .hero-rvcorp-principle{grid-template-columns:repeat(2,1fr)}
  .hero-gloria-grid{grid-template-columns:1fr}
  .hero-gloria-copy{padding:64px 0 46px}
  .hero-gloria-evidence{border-left:0;border-top:1px solid #D1C8BB;min-height:520px}
  .hero-contact-grid{grid-template-columns:1fr}
  .hero-contact-copy{padding:64px 0 48px}
  .hero-contact-routing{border-left:0;border-top:1px solid var(--rv-line)}
}
@media(max-width:680px){
  .people-v3-copy{padding:50px 0 42px}
  .people-v3-copy .portal-display{font-size:clamp(52px,15vw,74px)}
  .people-v3-copy>.portal-body{font-size:14px}
  .people-v3-index{padding:38px 22px}
  .people-v3-total{display:block}
  .people-v3-total b{font-size:106px}
  .people-v3-total span{margin-top:14px;max-width:none}
  .people-roster-group-head{gap:20px}
  .people-roster-grid{grid-template-columns:1fr 1fr}
  .people-badge-card figcaption{padding:14px}
  .people-v3-culture{padding:66px 0}
  .people-v3-culture-links a{grid-template-columns:1fr;gap:6px}
  .hero-rvcorp-grid{padding-top:30px}
  .hero-rvcorp-copy .portal-display{font-size:52px}
  .hero-rvcorp-map{grid-template-columns:1fr}
  .hero-rvcorp-node{min-height:145px;border-right:1px solid #3B3B38}
  .hero-rvcorp-arrow{display:none}
  .hero-rvcorp-principle{grid-template-columns:1fr 1fr}
  .hero-gloria-copy .portal-display{font-size:52px}
  .hero-gloria-evidence{padding:28px 22px 22px;min-height:420px}
  .hero-contact-routing{padding:30px 22px}
}
@media(max-width:430px){
  .people-roster-grid{grid-template-columns:1fr}
  .hero-rvcorp-principle{grid-template-columns:1fr}
}

/* People roster size governance — one human, one visual scale.
   Same card basis for every group; incomplete rows remain open, never enlarged. */
.people-roster-grid{
  display:flex;
  flex-wrap:wrap;
  gap:1px;
  background:transparent;
  border:0;
}
.people-roster-grid.count-2,
.people-roster-grid.count-4,
.people-roster-grid.count-5,
.people-roster-grid.count-7{
  grid-template-columns:none;
}
.people-roster-grid .people-badge-card,
.people-roster-grid.count-7 .people-badge-card,
.people-roster-grid.count-7 .people-badge-card:nth-last-child(-n+3){
  grid-column:auto;
  flex:0 0 calc((100% - 3px)/4);
  border:1px solid #D7CFC4;
}
@media(max-width:1180px){
  .people-roster-grid .people-badge-card,
  .people-roster-grid.count-7 .people-badge-card,
  .people-roster-grid.count-7 .people-badge-card:nth-last-child(-n+3){
    flex-basis:calc((100% - 2px)/3);
  }
}
@media(max-width:760px){
  .people-roster-grid .people-badge-card,
  .people-roster-grid.count-7 .people-badge-card,
  .people-roster-grid.count-7 .people-badge-card:nth-last-child(-n+3){
    flex-basis:calc((100% - 1px)/2);
  }
}
@media(max-width:430px){
  .people-roster-grid .people-badge-card,
  .people-roster-grid.count-7 .people-badge-card,
  .people-roster-grid.count-7 .people-badge-card:nth-last-child(-n+3){
    flex-basis:100%;
  }
}


/* CDO MASTER v2 · Impact programs + Trust Center links · 2026-10-09
   Flat integrity: no gradients, no shadows, no ornamental blur. */
.portal-page em{font-style:normal}
.impact-program-section{background:#fff}
.impact-programs{border-top:1px solid var(--rv-line);border-left:1px solid var(--rv-line)}
.impact-program{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(360px,.92fr);min-height:520px;border-right:1px solid var(--rv-line);border-bottom:1px solid var(--rv-line);background:#fff}
.impact-program.reverse{grid-template-columns:minmax(360px,.92fr) minmax(0,1.08fr)}
.impact-program.reverse .impact-program-media{order:2}
.impact-program.reverse .impact-program-copy{order:1}
.impact-program-media{min-height:520px;overflow:hidden;background:#e7e6e0}
.impact-program-media img{width:100%;height:100%;object-fit:cover;display:block}
.impact-program-copy{padding:clamp(38px,4.5vw,72px);display:flex;flex-direction:column;justify-content:center}
.impact-program-copy h3{font-size:clamp(36px,4.1vw,60px);line-height:.98;letter-spacing:-.052em;font-weight:620;margin:18px 0 22px;max-width:760px}
.impact-program-copy>p{font-size:16px;line-height:1.7;color:var(--rv-gray);margin:0;max-width:720px}
.impact-program-copy ul{list-style:none;padding:0;margin:34px 0 0;border-top:1px solid var(--rv-line)}
.impact-program-copy li{position:relative;padding:15px 0 15px 26px;border-bottom:1px solid var(--rv-line);font-size:12px;line-height:1.55;color:var(--rv-ink)}
.impact-program-copy li:before{content:"";position:absolute;left:0;top:21px;width:9px;height:2px;background:var(--rv-orange)}
.trust-link{color:inherit;text-decoration:none;display:block}
.trust-link:hover,.trust-link:focus-visible{background:#fff}
.trust-open{display:flex;align-items:center;gap:8px;margin-top:18px;font-size:9px;letter-spacing:.11em;text-transform:uppercase;font-weight:760;color:var(--rv-orange)}
.trust-open .ui-icon{width:14px;height:14px}
@media(max-width:900px){
  .impact-program,.impact-program.reverse{grid-template-columns:1fr;min-height:0}
  .impact-program.reverse .impact-program-media,.impact-program.reverse .impact-program-copy{order:initial}
  .impact-program-media{min-height:0;aspect-ratio:4/3}
  .impact-program-copy{padding:38px 28px 42px}
}
@media(max-width:560px){
  .impact-program-copy h3{font-size:38px}
  .impact-program-copy>p{font-size:15px}
}

/* CDO FLAT GATE v3 · governance icon legibility */
.hero-governance-docs span{display:flex;align-items:center;gap:12px}
.hero-governance-docs span svg{width:28px;height:28px;flex:0 0 28px;fill:none;stroke:#f2f1ec;stroke-width:1.45;stroke-linecap:round;stroke-linejoin:round}
.hero-governance-docs span em{font-style:normal;color:#d0d0ca}

/* CASE HERO · CDO flat split v3 */
.hero-case-split{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(480px,.88fr);min-height:680px;background:#111;color:#fff;border-bottom:1px solid var(--rv-line)}
.hero-case-split-media{overflow:hidden;background:#ddd}
.hero-case-split-media img{width:100%;height:100%;display:block;object-fit:cover}
.hero-case-split-copy{padding:76px max(var(--rv-gut),calc((100vw - var(--rv-max))/2 + var(--rv-gut))) 58px 58px;display:flex;flex-direction:column;justify-content:center}
.hero-case-split-copy .portal-kicker{color:#bdbdb7;margin-bottom:26px}
.hero-case-split-copy .portal-display{font-size:clamp(58px,7.4vw,104px);line-height:.86;letter-spacing:-.072em}
.hero-case-split-copy .portal-body{margin-top:26px;color:#b9b9b3;font-size:16px;line-height:1.65;max-width:620px}
.hero-case-split-copy .portal-button.secondary{background:#111;color:#fff;border-color:#444}
.hero-case-context{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:44px;padding-top:18px;border-top:1px solid #383836}
.hero-case-context b{font-size:11px;text-transform:uppercase;letter-spacing:.09em}
.hero-case-context span{font-size:10px;line-height:1.5;color:#92928d}
@media(max-width:960px){
 .hero-case-split{grid-template-columns:1fr;min-height:0}
 .hero-case-split-media{aspect-ratio:16/10}
 .hero-case-split-copy{padding:54px var(--rv-gut) 48px}
}
@media(max-width:560px){
 .hero-case-split-media{aspect-ratio:4/3}
 .hero-case-split-copy .portal-display{font-size:52px}
 .hero-case-context{grid-template-columns:1fr}
}

/* CLIENT DIRECTORY · CDO v3 */
.client-directory-section{background:#fff}
.client-directory-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-top:1px solid var(--rv-line);border-left:1px solid var(--rv-line)}
.client-directory-item{min-height:184px;border-right:1px solid var(--rv-line);border-bottom:1px solid var(--rv-line);padding:22px;display:flex;flex-direction:column;justify-content:space-between;background:#fff}
.client-directory-mark{height:82px;display:flex;align-items:center;justify-content:flex-start}
.client-directory-mark img{max-width:78%;max-height:62px;width:auto;height:auto;object-fit:contain;display:block}
.client-text-mark{display:flex;width:54px;height:54px;align-items:center;justify-content:center;border:1px solid var(--rv-line);font-size:16px;font-weight:750;letter-spacing:-.02em;color:var(--rv-orange)}
.client-directory-name b{display:block;font-size:13px;line-height:1.35}
.client-directory-name span{display:block;margin-top:7px;font-size:8px;letter-spacing:.11em;text-transform:uppercase;color:var(--rv-gray)}
@media(max-width:960px){.client-directory-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:680px){.client-directory-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.client-directory-item{min-height:158px;padding:18px}.client-directory-mark{height:66px}}

/* CDO QA fix · trust icons and editorial hero rhythm */
.trust-item>svg{width:30px;height:30px;display:block;fill:none;stroke:var(--rv-orange);stroke-width:1.55;stroke-linecap:round;stroke-linejoin:round;margin:0 0 24px}
.hero-editorial-signature-body{min-height:420px;height:520px}
.hero-editorial-media{min-height:0}
.hero-editorial-media img{height:100%;object-fit:cover}
.hero-editorial-copy{min-height:0}
@media(max-width:1120px){.hero-editorial-signature-body{height:500px}}
@media(max-width:768px){.hero-editorial-signature-body{height:auto}.hero-editorial-media{aspect-ratio:4/3}.hero-editorial-copy{min-height:330px}}

/* CDO mobile editorial rhythm v4 */
@media(max-width:768px){
  .hero-editorial-signature{padding:48px 0 32px}
  .hero-editorial-signature-head .portal-kicker{margin-bottom:22px}
  .hero-editorial-signature-head .portal-display{font-size:48px;line-height:.9;letter-spacing:-.065em}
  .hero-editorial-signature-body{margin-top:32px;height:auto;min-height:0}
  .hero-editorial-media{aspect-ratio:4/3}
  .hero-editorial-copy{min-height:0;padding:28px 20px 30px;justify-content:flex-start}
  .hero-editorial-index{margin-bottom:20px;padding-bottom:0}
  .hero-editorial-copy .portal-body{font-size:14px;line-height:1.6}
  .hero-editorial-meta{margin-top:22px}
}

/* Reference imagery disclosure for named cases */
.hero-case-split-media{position:relative}
.media-reference{position:absolute;right:14px;bottom:12px;z-index:4;padding:6px 8px;background:rgba(17,17,17,.76);color:#fff;font-size:8px;line-height:1;letter-spacing:.1em;text-transform:uppercase;font-weight:760}


/* =========================================================
   RV MOBILE CDO v5 — GLOBAL PORTAL / 2026-10-10
   Authoritative mobile layer. Desktop rules remain sovereign.
   ========================================================= */
@media(max-width:1120px){
  body.nav-open{overflow:hidden!important;touch-action:none}
  .site-header{
    z-index:300!important;
    background:#fff!important;
    border-bottom:1px solid #E2E0DA!important;
  }
  .site-header .header-inner{
    height:68px!important;
    min-height:68px!important;
    padding-inline:18px!important;
    gap:10px!important;
  }
  .brand{width:116px!important;flex:0 0 auto}
  .header-utility{margin-left:auto!important;gap:8px!important}
  .header-client{
    display:inline-flex!important;
    min-height:40px!important;
    padding:0 12px!important;
    border-radius:7px!important;
    font-size:9.5px!important;
    white-space:nowrap!important;
  }
  .header-utility .header-cta{display:none!important}
  .menu-btn{
    position:relative!important;
    display:flex!important;
    flex:0 0 42px!important;
    width:42px!important;height:42px!important;
    margin-left:0!important;
    border:1px solid #D8D6D0!important;
    border-radius:7px!important;
    background:#fff!important;
  }
  .menu-btn .menu-icon{display:none!important}
  .menu-btn:before,.menu-btn:after{
    content:""!important;
    position:absolute!important;
    left:11px!important;
    width:18px!important;height:1.5px!important;
    background:#111!important;
    transform-origin:center!important;
    transition:transform .18s ease!important;
  }
  .menu-btn:before{transform:translateY(-4px)!important}
  .menu-btn:after{transform:translateY(4px)!important}
  .menu-btn[aria-expanded="true"]:before{transform:rotate(45deg)!important}
  .menu-btn[aria-expanded="true"]:after{transform:rotate(-45deg)!important}

  .main-nav{
    display:none!important;
    position:fixed!important;
    inset:68px 0 0!important;
    z-index:290!important;
    width:100%!important;
    height:calc(100dvh - 68px)!important;
    margin:0!important;
    padding:10px 18px calc(18px + env(safe-area-inset-bottom))!important;
    background:#111!important;
    color:#fff!important;
    border-top:2px solid var(--rv-orange)!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    overscroll-behavior:contain!important;
    -webkit-overflow-scrolling:touch!important;
    align-content:start!important;
  }
  .main-nav.is-open{display:block!important}
  .main-nav:before{
    content:"Navegação"!important;
    display:block!important;
    padding:8px 0 9px!important;
    color:#74746F!important;
    font-size:8px!important;
    line-height:1!important;
    font-weight:820!important;
    letter-spacing:.16em!important;
    text-transform:uppercase!important;
  }
  .main-nav .nav-group{
    display:block!important;
    height:auto!important;
    border-bottom:1px solid #2F2F2C!important;
  }
  .main-nav .nav-trigger{
    width:100%!important;
    min-height:55px!important;
    height:auto!important;
    padding:0!important;
    justify-content:space-between!important;
    color:#F4F4F0!important;
    font-size:15px!important;
    line-height:1.15!important;
    font-weight:650!important;
    letter-spacing:-.025em!important;
  }
  .nav-trigger .nav-chevron{width:13px!important;height:13px!important;color:#71716C!important}
  .nav-group.is-open .nav-trigger{color:#fff!important}
  .nav-group.is-open .nav-trigger .nav-chevron{color:var(--rv-orange)!important}

  .main-nav .mega{
    display:none!important;
    position:static!important;
    inset:auto!important;
    transform:none!important;
    width:100%!important;
    max-width:none!important;
    max-height:none!important;
    margin:0!important;
    padding:0 0 13px!important;
    border:0!important;
    background:#111!important;
    overflow:visible!important;
  }
  .main-nav .nav-group.is-open .mega{display:block!important}
  .main-nav .mega-inner{
    display:block!important;
    width:100%!important;
    padding:0!important;
    margin:0!important;
  }
  .main-nav .mega-intro{
    display:block!important;
    padding:0!important;
    margin:0!important;
    border:0!important;
  }
  .main-nav .mega-intro>.portal-kicker,
  .main-nav .mega-intro>h3,
  .main-nav .mega-intro>p{display:none!important}
  .main-nav .mega-overview{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    min-height:43px!important;
    margin:0!important;
    padding:8px 10px 8px 14px!important;
    border:0!important;
    color:#fff!important;
    background:#191917!important;
    font-size:12.5px!important;
    font-weight:680!important;
  }
  .main-nav .mega-overview .ui-icon{width:13px!important;height:13px!important;color:var(--rv-orange)!important}
  .main-nav .mega-col{
    display:block!important;
    padding:12px 0 8px!important;
    margin:0!important;
    border:0!important;
    border-top:1px solid #292927!important;
  }
  .main-nav .mega-col b{
    display:block!important;
    margin:0 0 6px 14px!important;
    color:#71716C!important;
    font-size:7.5px!important;
    line-height:1!important;
    letter-spacing:.16em!important;
    text-transform:uppercase!important;
  }
  .main-nav .mega .mega-col a{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    min-height:38px!important;
    margin:0!important;
    padding:8px 9px 8px 14px!important;
    border:0!important;
    color:#C9C9C3!important;
    font-size:12.5px!important;
    line-height:1.28!important;
    font-weight:540!important;
  }
  .main-nav .mega .mega-col a .ui-icon{display:block!important;width:12px!important;height:12px!important;color:#5F5F5A!important}
  .main-nav .mobile-nav-cta{
    position:sticky!important;
    bottom:0!important;
    z-index:2!important;
    display:flex!important;
    min-height:48px!important;
    margin:16px 0 0!important;
    padding:0 18px!important;
    border:0!important;
    border-radius:6px!important;
    background:var(--rv-orange)!important;
    color:#fff!important;
    font-size:12.5px!important;
    font-weight:760!important;
  }
}

@media(max-width:768px){
  :root{--rv-gut:20px}
  .portal-shell{padding-inline:var(--rv-gut)!important}
  .portal-breadcrumb{
    min-height:38px!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    scrollbar-width:none!important;
  }
  .portal-breadcrumb::-webkit-scrollbar{display:none!important}
  .portal-breadcrumb ol{
    min-width:max-content!important;
    min-height:38px!important;
    padding:0!important;
    white-space:nowrap!important;
  }
  .portal-breadcrumb li{font-size:7.5px!important;letter-spacing:.12em!important}

  .portal-display{
    font-size:clamp(40px,11.8vw,49px)!important;
    line-height:.91!important;
    letter-spacing:-.062em!important;
  }
  .portal-title{font-size:clamp(32px,9vw,38px)!important;line-height:.98!important}
  .portal-h3{font-size:25px!important;line-height:1.03!important}
  .portal-body{font-size:14px!important;line-height:1.63!important}
  .portal-kicker{font-size:8px!important;letter-spacing:.14em!important}
  .portal-kicker:before{width:22px!important;height:2px!important}
  .portal-section{padding:52px 0!important}
  .section-head{
    display:block!important;
    margin-bottom:26px!important;
  }
  .section-head>.portal-body{max-width:none!important;margin-top:15px!important}

  .page-hero-grid,
  .hero-identity-grid,
  .hero-operations-grid,
  .hero-residential-signature-grid,
  .hero-tech-signature-grid,
  .hero-institutional-signature-grid,
  .hero-case-split-grid,
  .hero-rvcorp-grid,
  .hero-gloria-grid,
  .hero-contact-grid,
  .people-v3-grid{
    grid-template-columns:1fr!important;
    min-height:0!important;
  }

  .page-hero-copy,
  .hero-identity-copy,
  .hero-operations-copy,
  .hero-residential-signature-copy,
  .hero-tech-signature-copy,
  .hero-institutional-signature-copy,
  .hero-case-split-copy,
  .hero-rvcorp-copy,
  .hero-gloria-copy,
  .hero-contact-copy{
    min-height:0!important;
    padding:38px 0 42px!important;
  }

  .page-hero-media,
  .hero-identity-media,
  .hero-operations-media,
  .hero-residential-signature-media,
  .hero-tech-signature-media,
  .hero-institutional-signature-media,
  .hero-case-split-media{
    min-height:0!important;
    height:auto!important;
    aspect-ratio:4/3!important;
  }
  .page-hero-media img,
  .hero-identity-media img,
  .hero-operations-media img,
  .hero-residential-signature-media img,
  .hero-tech-signature-media img,
  .hero-institutional-signature-media img,
  .hero-case-split-media img{width:100%!important;height:100%!important;object-fit:cover!important}

  .page-hero-actions{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
    margin-top:24px!important;
  }
  .portal-button{
    width:100%!important;
    min-height:46px!important;
    padding:0 12px!important;
    border-radius:6px!important;
    font-size:10.5px!important;
    line-height:1.2!important;
    text-align:center!important;
  }

  .cap-grid,
  .article-grid,
  .article-grid.count-6,
  .article-grid.count-8,
  .trust-grid,
  .intent-grid{
    grid-template-columns:1fr!important;
  }
  .cap-card,.article-card,.trust-item,.intent{
    min-height:0!important;
    padding:22px 20px 23px!important;
  }
  .cap-card>svg:first-child,.trust-item>svg:first-child{
    width:27px!important;height:27px!important;margin-bottom:22px!important;
  }
  .cap-card h3,.article-card h3{font-size:22px!important;line-height:1.04!important}
  .editorial-row{grid-template-columns:1fr!important}
  .editorial-row>div{padding:22px 0!important}
  .metrics-grid,.evidence-grid{grid-template-columns:1fr 1fr!important}
  .metric,.evidence-card{min-height:0!important;padding:18px!important}

  .hero-op-rail{grid-template-columns:1fr!important;width:100%!important}
  .hero-op-rail>.hero-op-cell{
    min-height:62px!important;
    grid-template-columns:28px 1fr!important;
    gap:11px!important;
    padding:11px 15px!important;
  }
  .hero-op-icon{width:28px!important;height:28px!important}
  .hero-op-icon svg{width:20px!important;height:20px!important}

  .hero-method-signature{padding-top:36px!important}
  .hero-method-signature-head{display:block!important;padding-bottom:26px!important}
  .hero-method-title .portal-display{font-size:clamp(42px,12vw,52px)!important;line-height:.88!important}
  .hero-method-lead{margin-top:22px!important}
  .hero-method-signature-body{display:block!important;min-height:0!important;height:auto!important;max-height:none!important}
  .hero-method-image{aspect-ratio:4/3!important;min-height:0!important;height:auto!important;max-height:none!important}
  .hero-method-process{max-height:none!important}
  .hero-method-process>div{min-height:54px!important;padding:11px 18px!important}

  .hero-editorial-signature{padding:38px 0 28px!important}
  .hero-editorial-signature-head{display:block!important}
  .hero-editorial-signature-head .portal-display{font-size:clamp(40px,11.5vw,48px)!important}
  .hero-editorial-signature-body{margin-top:28px!important}
  .hero-editorial-media{aspect-ratio:4/3!important}
  .hero-editorial-copy{padding:24px 18px 26px!important}
  .hero-editorial-index{font-size:8px!important;margin-bottom:16px!important}
  .hero-editorial-meta{margin-top:18px!important}

  .hero-rvcorp-grid{padding-top:30px!important}
  .hero-rvcorp-copy{padding:24px 0 32px!important}
  .hero-rvcorp-map{grid-template-columns:1fr!important;margin-bottom:30px!important}
  .hero-rvcorp-node{min-height:122px!important;padding:20px!important}
  .hero-rvcorp-arrow{display:none!important}
  .hero-rvcorp-principle{grid-template-columns:1fr 1fr!important}

  .hero-gloria-copy{padding:38px 0 32px!important}
  .hero-gloria-evidence{min-height:0!important;padding:20px!important;border-left:0!important;border-top:1px solid #D1C8BB!important}
  .hero-gloria-evidence img{aspect-ratio:4/3!important;object-fit:contain!important}

  .hero-contact-copy{padding:38px 0 32px!important}
  .hero-contact-routing{padding:20px!important;border-left:0!important;border-top:1px solid var(--rv-line)!important}
  .hero-contact-routing span{min-height:50px!important;font-size:15px!important}

  .people-v3-copy{padding:42px 20px 36px!important}
  .people-v3-copy .portal-display{font-size:clamp(46px,13vw,56px)!important}
  .people-v3-index{padding:28px 20px 30px!important;gap:24px!important}
  .people-v3-total{padding-bottom:24px!important}
  .people-v3-total b{font-size:92px!important}
  .people-v3-roles>div{min-height:48px!important}
  .people-roster-group{padding:34px 0 14px!important}
  .people-roster-group-head{margin-bottom:18px!important}
  .people-roster-group-head h3{font-size:24px!important}
  .people-roster-group-head>b{font-size:32px!important}
  .people-roster-grid .people-badge-card,
  .people-roster-grid.count-7 .people-badge-card,
  .people-roster-grid.count-7 .people-badge-card:nth-last-child(-n+3){
    flex-basis:calc((100% - 1px)/2)!important;
  }
  .people-badge-card figcaption{min-height:69px!important;padding:12px 11px 13px!important}
  .people-badge-card figcaption b{font-size:13px!important}
  .people-badge-card figcaption span{font-size:7.5px!important}
  .people-v3-culture{padding:52px 0!important}
  .people-v3-culture-grid{display:block!important}
  .people-v3-culture-copy{margin-top:30px!important}

  .client-directory-grid{grid-template-columns:1fr 1fr!important}
  .client-directory-item{min-height:140px!important;padding:14px!important}
  .client-directory-mark{height:56px!important}

  .media-reference{
    right:8px!important;bottom:8px!important;
    padding:5px 6px!important;
    font-size:6.5px!important;
  }

  .portal-cta{padding:0!important}
  .portal-cta .portal-shell{padding-top:38px!important;padding-bottom:38px!important}
  .site-footer{padding-top:48px!important}
}

@media(max-width:360px){
  :root{--rv-gut:16px}
  .site-header .header-inner{padding-inline:14px!important}
  .brand{width:108px!important}
  .header-client{padding:0 9px!important;font-size:8.8px!important}
  .page-hero-actions{grid-template-columns:1fr!important}
  .people-roster-grid .people-badge-card,
  .people-roster-grid.count-7 .people-badge-card,
  .people-roster-grid.count-7 .people-badge-card:nth-last-child(-n+3){flex-basis:100%!important}
}

/* RV MOBILE CDO v5.1 — people metric alignment */
@media(max-width:768px){
  .people-v3-total{display:block!important}
  .people-v3-total b{display:block!important;line-height:.76!important}
  .people-v3-total span{
    display:block!important;
    max-width:none!important;
    margin-top:14px!important;
    padding:0!important;
    font-size:8px!important;
    letter-spacing:.12em!important;
  }
}

/* =========================================================
   RV UX PRECISION v1 — grid arithmetic + anchor geometry
   Non-regression layer: preserves visual language and fixes
   orphan grids, sticky-header fragment landing and mega alignment.
   ========================================================= */
:root{--rv-sticky-header:76px;--rv-anchor-breath:24px}
html{scroll-padding-top:0}
main#conteudo{scroll-margin-top:0}
:where(section[id]){
  scroll-margin-top:var(--rv-sticky-header);
}
:where(article[id],.cap-card[id],.flow-step[id],.anchor-alias[id]){
  scroll-margin-top:calc(var(--rv-sticky-header) + var(--rv-anchor-breath));
}
.anchor-alias[id]{
  display:block;
  height:0;
  visibility:hidden;
  pointer-events:none;
}

@media(min-width:1121px){
  .main-nav .nav-group,
  .main-nav .nav-trigger{height:var(--rv-sticky-header)}

  .mega{
    top:var(--rv-sticky-header);
    max-height:calc(100dvh - var(--rv-sticky-header) - 18px);
    overscroll-behavior:contain;
    scrollbar-gutter:stable;
  }

  /* Balanced desktop grids: no 3+1, 5+1 or stranded final cells. */
  .cap-grid.count-4{grid-template-columns:repeat(4,minmax(0,1fr))!important}
  .cap-grid.count-6{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .cap-grid.count-8{grid-template-columns:repeat(4,minmax(0,1fr))!important}
  .cap-grid.count-9{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .cap-grid.count-10{grid-template-columns:repeat(5,minmax(0,1fr))!important}

  .flow.count-6,
  .flow:has(> .flow-step:nth-child(6):last-child){
    grid-template-columns:repeat(3,minmax(0,1fr));
  }

  .intent-grid.count-2,
  .intent-grid:has(> .intent:nth-child(2):last-child){
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .intent-grid.count-6,
  .intent-grid:has(> .intent:nth-child(6):last-child){
    grid-template-columns:repeat(3,minmax(0,1fr));
  }

  .client-directory-grid.count-33,
  .client-directory-grid:has(> .client-directory-item:nth-child(33):last-child){
    grid-template-columns:repeat(3,minmax(0,1fr));
  }

  .article-grid.count-4{
    grid-template-columns:repeat(4,minmax(0,1fr));
  }
  .article-grid.count-11{
    grid-template-columns:repeat(6,minmax(0,1fr));
  }
  .article-grid.count-11>.article-card{grid-column:span 2}
  .article-grid.count-11>.article-card:nth-last-child(-n+2){grid-column:span 3}
}

@media(max-width:1120px){
  :root{--rv-sticky-header:72px;--rv-anchor-breath:20px}
}

@media(max-width:768px){
  :root{--rv-sticky-header:72px;--rv-anchor-breath:18px}
  .trust-list{grid-template-columns:1fr!important}
}
