/* Ribeiro V14 — desktop amplo e mobile auditado */
:root{--rb-deep:#072419;--rb-deeper:#041a11;--rb-gold:#d4ae60;--rb-cream:#f3f3ee;--rb-text:#173126;--rb-gutter:clamp(22px,4.5vw,88px)}
html,body{width:100%;max-width:100%;overflow-x:clip}
body{font-size:15px}

/* Página inicial: retirar a limitação de 1200px que centralizava tudo */
body:not(.inner) .wrap{width:100%!important;max-width:none!important;margin-inline:0!important;padding-inline:var(--rb-gutter)!important}
body:not(.inner) header{width:100%;background:var(--rb-deep)!important}
body:not(.inner) header .nav{width:100%!important;max-width:none!important;height:88px!important;padding-inline:var(--rb-gutter)!important;margin:0!important;gap:34px!important}
body:not(.inner) header .brand-left{flex:0 0 auto;margin:0!important}
body:not(.inner) header .brand-left img{width:118px!important;height:74px!important;object-fit:contain!important;object-position:left center!important}
body:not(.inner) header .nav nav{margin-left:auto!important;gap:clamp(20px,2.2vw,38px)!important}
body:not(.inner) header .nav nav a{font-size:12px!important;letter-spacing:.01em}

body:not(.inner) .hero{min-height:clamp(610px,calc(100svh - 88px),790px)!important;height:auto!important;justify-content:center!important}
body:not(.inner) .hero-content{width:100%!important;padding-top:clamp(74px,9vh,118px)!important;padding-bottom:100px!important}
body:not(.inner) .hero h1{max-width:720px!important;font-size:clamp(43px,4vw,66px)!important;line-height:1.08!important;letter-spacing:-.025em!important}
body:not(.inner) .hero-description{max-width:520px!important;font-size:14px!important;line-height:1.7!important}
body:not(.inner) .hero-actions{margin-top:28px!important}
body:not(.inner) .hero-media img{object-position:68% center!important}
body:not(.inner) .hero:after{background:linear-gradient(90deg,rgba(4,28,18,.97) 0%,rgba(4,28,18,.88) 31%,rgba(4,28,18,.46) 53%,rgba(4,28,18,.06) 76%)!important}
body:not(.inner) .hero-bottom{left:var(--rb-gutter)!important;right:var(--rb-gutter)!important;width:auto!important}
body:not(.inner) .expertise{background:var(--rb-deep)!important;color:#e4e8e5!important}

body:not(.inner) .section{padding-top:clamp(58px,5vw,82px)!important;padding-bottom:clamp(58px,5vw,82px)!important}
body:not(.inner) .about{grid-template-columns:minmax(0,1fr) minmax(380px,.92fr)!important;gap:clamp(42px,6vw,110px)!important}
body:not(.inner) .about-visual{height:clamp(330px,31vw,440px)!important;padding:20px 58px 0 20px!important}
body:not(.inner) .about-copy{max-width:650px}
body:not(.inner) .section-heading{margin-bottom:34px!important}
body:not(.inner) .section-heading h2,body:not(.inner) .about-copy h2,body:not(.inner) .field h2,body:not(.inner) .faq h2,body:not(.inner) .process h2,body:not(.inner) .contact h2{font-size:clamp(29px,2.7vw,43px)!important}
body:not(.inner) .services .wrap,body:not(.inner) .field.wrap,body:not(.inner) .faq.wrap,body:not(.inner) .process .wrap,body:not(.inner) .contact .wrap,body:not(.inner) .expertise .wrap{max-width:none!important}
body:not(.inner) .service-grid.four{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:clamp(16px,1.6vw,26px)!important}
body:not(.inner) .service-photo{width:100%!important;height:auto!important;aspect-ratio:16/10!important;object-fit:cover!important}
body:not(.inner) .service-text{padding:22px 22px 18px!important}
body:not(.inner) .service p{min-height:72px!important}
body:not(.inner) .field-grid{gap:clamp(16px,1.8vw,28px)!important}
body:not(.inner) .field img{width:100%!important;height:auto!important;aspect-ratio:16/10!important;object-fit:cover!important}
body:not(.inner) .process{padding:clamp(58px,5vw,82px) 0!important}
body:not(.inner) .process-layout{grid-template-columns:minmax(340px,.85fr) minmax(0,1.15fr)!important;gap:clamp(45px,7vw,120px)!important}
body:not(.inner) .faq{grid-template-columns:minmax(300px,.75fr) minmax(0,1.25fr)!important;gap:clamp(42px,6vw,105px)!important}
body:not(.inner) .contact{padding:55px 0 44px!important}

/* Páginas internas */
.inner .top{width:100%!important;height:88px!important;min-height:88px!important;padding-inline:var(--rb-gutter)!important}
.inner .top .brand{max-width:none!important;flex:0 0 auto!important}
.inner .top .brand-logo-real{width:132px!important;height:72px!important;object-fit:contain!important;object-position:left center!important}
.inner .top .nav{margin-left:auto!important;gap:clamp(18px,2vw,30px)!important}
.inner .top .nav a{font-size:13px}
.inner .top>.btn{margin-left:24px}
.inner .inner-hero{width:100%!important;padding:clamp(72px,7vw,104px) var(--rb-gutter) clamp(76px,7vw,108px)!important;min-height:430px!important}
.inner .section{width:100%!important;padding:clamp(56px,5vw,82px) var(--rb-gutter)!important}
.inner .section .split{gap:clamp(38px,5vw,84px)!important}
.inner .grid4,.inner .grid3,.inner .process{gap:clamp(16px,1.7vw,26px)!important}
.inner .cta-band{padding:clamp(42px,4.5vw,66px) var(--rb-gutter)!important}
.inner .inner-hero h1{font-size:clamp(37px,4.2vw,58px)!important}
.inner .section h2,.inner .detail-text-grid h2,.inner .related-services h2{font-size:clamp(27px,2.6vw,40px)!important}
.inner .scene{min-height:320px}

/* WhatsApp confirmado */
.rb-whatsapp-trigger{text-decoration:none!important}
.rb-whatsapp-number{display:block!important;color:#dce5dd!important;font:600 14px/1.5 Arial,Helvetica,sans-serif!important;margin-top:6px!important}

@media(max-width:1100px){
 body:not(.inner) .service-grid.four{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body:not(.inner) .about{gap:42px!important}
 body:not(.inner) .process-layout{gap:48px!important}
 .inner .top>.btn{display:none!important}
}

/* Auditoria mobile */
@media(max-width:760px){
 :root{--rb-gutter:18px}
 body{font-size:14px}
 body:not(.inner) header .nav{height:72px!important;padding-inline:16px!important;gap:10px!important}
 body:not(.inner) header .brand-left img{width:91px!important;height:58px!important}
 body:not(.inner) header .menu-toggle{width:auto!important;min-width:44px!important;height:42px!important;padding:0 12px!important;margin-left:auto!important;color:#fff!important;border:1px solid rgba(255,255,255,.35)!important;background:transparent!important}
 body:not(.inner) header .nav nav{top:72px!important;background:var(--rb-deep)!important;padding:20px 18px 24px!important;border-top:1px solid rgba(255,255,255,.14)}
 body:not(.inner) header .nav nav a{color:#fff!important;font-size:14px!important}
 body:not(.inner) .hero{min-height:620px!important;justify-content:flex-start!important}
 body:not(.inner) .hero-content{padding-top:54px!important;padding-bottom:70px!important}
 body:not(.inner) .hero-media img{object-position:72% center!important}
 body:not(.inner) .hero:after{background:linear-gradient(90deg,rgba(4,28,18,.93),rgba(4,28,18,.54)),linear-gradient(0deg,rgba(4,28,18,.45),transparent 62%)!important}
 body:not(.inner) .hero h1{font-size:clamp(37px,10vw,46px)!important;max-width:94%!important}
 body:not(.inner) .hero-description{max-width:92%!important;font-size:13.5px!important}
 body:not(.inner) .hero-actions{align-items:stretch!important;gap:12px!important;flex-wrap:wrap!important}
 body:not(.inner) .hero-actions .button{width:100%!important;max-width:290px!important}
 body:not(.inner) .hero-bottom{display:none!important}
 body:not(.inner) .expertise .wrap{display:grid!important;grid-template-columns:1fr 1fr!important;padding-block:16px!important;gap:12px 16px!important;text-align:center}
 body:not(.inner) .expertise i{display:none!important}
 body:not(.inner) .section{padding-top:52px!important;padding-bottom:52px!important}
 body:not(.inner) .about{grid-template-columns:1fr!important;gap:42px!important}
 body:not(.inner) .about-visual{height:auto!important;aspect-ratio:4/3!important;padding:0!important}
 body:not(.inner) .about-visual>img{height:100%!important}
 body:not(.inner) .visual-label{right:0!important;bottom:0!important;padding:16px 19px!important;max-width:82%!important}
 body:not(.inner) .section-heading{display:block!important;margin-bottom:26px!important}
 body:not(.inner) .section-heading>p{margin-top:15px!important}
 body:not(.inner) .service-grid.four,body:not(.inner) .field-grid{grid-template-columns:1fr!important}
 body:not(.inner) .service-photo,body:not(.inner) .field img{aspect-ratio:16/10!important}
 body:not(.inner) .service p{min-height:0!important}
 body:not(.inner) .process-layout,body:not(.inner) .faq{grid-template-columns:1fr!important;gap:38px!important}
 body:not(.inner) .process li{gap:18px!important}
 body:not(.inner) .contact-title{display:block!important}
 body:not(.inner) .contact-title .button{margin-top:22px!important}

 .inner .top{height:72px!important;min-height:72px!important;padding-inline:16px!important}
 .inner .top .brand-logo-real{width:94px!important;height:58px!important}
 .inner .top .menu-btn{display:block!important;min-width:44px;height:42px;padding:0 11px;border:1px solid rgba(255,255,255,.35);background:transparent;color:#fff}
 .inner .mobile-nav.open{top:72px!important;padding:20px 18px!important}
 .inner .inner-hero{min-height:350px!important;padding:58px 18px 62px!important}
 .inner .inner-hero.service-hero-single{min-height:520px!important;padding:270px 18px 54px!important;background-size:100% 100%,100% auto!important;background-position:center,top center!important}
 .inner .inner-hero.service-hero-single h1,.inner .inner-hero.service-hero-single p{max-width:100%!important}
 .inner .inner-hero h1{font-size:clamp(34px,10vw,43px)!important}
 .inner .section{padding:52px 18px!important}
 .inner .split,.inner .grid4,.inner .grid3,.inner .process,.inner .footer-grid{grid-template-columns:1fr!important}
 .inner .technical-panel{min-height:250px!important;padding:26px!important}
 .inner .cta-band{display:block!important;padding:42px 18px!important}
 .inner .cta-band .btn{margin-top:20px!important}
 .rb-footer{padding:42px 18px 22px!important}
 .rb-footer-grid{grid-template-columns:1fr!important;gap:28px!important}
 .rb-footer-brand img{width:150px!important;max-height:105px!important}
 .rb-footer-bottom{display:block!important}
 .rb-whatsapp{right:15px!important;bottom:15px!important}
 .rb-whatsapp-trigger{width:54px!important;height:54px!important}
}
