/*
 * Rebellum OS — editorial refinement
 * Scoped typography, responsive cards, and article reading system.
 */
.rb-eyebrow{font-size:11px;letter-spacing:.19em;font-weight:700;text-transform:uppercase}
.rb-editorial-hero{background:#141413;color:var(--ivory);overflow:hidden}
.rb-editorial-hero-inner{padding-top:clamp(80px,10vw,152px);padding-bottom:27px}
.rb-editorial-hero .rb-eyebrow{color:#ed7e8f;margin:0 0 clamp(44px,6vw,86px)}
.rb-editorial-hero h1{font-family:'Playfair Display',Georgia,serif;font-size:clamp(54px,8.2vw,127px);font-weight:600;letter-spacing:-.015em;line-height:1.08;max-width:1180px;margin:0}
.rb-editorial-hero h1 em,.rb-editorial-outro h2 em,.rb-related-heading h2 em{font-family:'Playfair Display',Georgia,serif;font-weight:400;letter-spacing:-.005em}
.rb-editorial-hero h1 em{color:#ed314d}
.rb-editorial-intro{font-size:clamp(17px,1.65vw,23px);font-weight:400;line-height:1.5;max-width:695px;margin:clamp(37px,5.4vw,76px) 0 clamp(69px,9vw,133px)}
.rb-editorial-hero-footer{display:flex;justify-content:space-between;gap:20px;padding:18px 0 0;border-top:1px solid #68615d;font-size:10px;font-weight:700;letter-spacing:.16em;color:#c4beb5}
.rb-editorial-listing{background:var(--ivory);padding:clamp(76px,8vw,125px) 0 clamp(96px,10vw,160px)}
.rb-editorial-toolbar{display:flex;justify-content:space-between;align-items:flex-end;gap:30px;padding-bottom:26px;margin-bottom:40px;border-bottom:1px solid #b5afa5}
.rb-editorial-toolbar h2{margin:0;font-family:'Playfair Display',Georgia,serif;font-size:clamp(29px,3.1vw,47px);font-weight:600;letter-spacing:-.015em;line-height:1.08}
.rb-topic-nav{display:flex;align-items:center;gap:17px;max-width:100%;overflow-x:auto;padding-bottom:4px;scrollbar-width:thin}
.rb-topic-nav a{font-size:12px;white-space:nowrap;border-bottom:1px solid transparent;padding:5px 0;font-weight:600;color:#5d5852!important}
.rb-topic-nav a[aria-current="page"]{color:#b40f2a!important;border-color:currentColor}
.rb-topic-nav a:hover{color:var(--red)!important}
.rb-editorial-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:75px 28px}
.rb-article-card{display:flex;flex-direction:column;min-width:0;border-top:1px solid #ada79d;padding-top:15px}
.rb-article-image{display:flex;align-items:center;justify-content:center;aspect-ratio:1.35;overflow:hidden;background:#262521;color:#bdb5ac!important;font-size:13px;font-weight:700;letter-spacing:.22em}
.rb-article-image img{width:100%;height:100%;object-fit:cover;transition:transform .65s cubic-bezier(.2,.7,.2,1),filter .45s;filter:saturate(.84)}
.rb-article-card:hover .rb-article-image img{transform:scale(1.045);filter:saturate(1)}
.rb-article-card-copy{display:flex;flex-direction:column;align-items:flex-start;flex:1}
.rb-article-meta{width:100%;display:flex;justify-content:space-between;gap:13px;color:#6f6861;margin:21px 0 13px;font-size:10px;font-weight:700;letter-spacing:.075em;text-transform:uppercase}
.rb-article-meta time{white-space:nowrap}
.rb-article-card h3{font:600 clamp(21px,2.15vw,33px)/1.12 'Playfair Display',Georgia,serif;letter-spacing:-.015em;margin:0 0 17px}
.rb-article-card h3 a:hover{color:#b50f2a}
.rb-article-card p{font-size:14px;line-height:1.65;margin:0 0 28px;color:#514c46}
.rb-article-more{margin-top:auto;border-bottom:1px solid #222;padding:0 0 9px;display:flex;gap:24px;align-items:center;font-size:12px;font-weight:700}
.rb-article-more span{font-size:18px;line-height:1}
.rb-blog-pagination{margin-top:76px;border-top:1px solid #b5afa5;padding-top:27px}
.rb-blog-pagination .nav-links{display:flex;justify-content:center;gap:10px;align-items:center;flex-wrap:wrap}
.rb-blog-pagination .page-numbers{padding:9px 13px;border:1px solid #bfb9af;font-weight:700;font-size:12px}
.rb-blog-pagination .page-numbers.current{background:var(--red);border-color:var(--red);color:#fff}
.rb-editorial-empty{font-size:20px;padding:35px 0 70px}
.rb-editorial-empty a{text-decoration:underline!important}
.rb-editorial-outro{background:var(--red);color:white;padding:clamp(80px,9vw,138px) 0}
.rb-editorial-outro h2{font:600 clamp(39px,6vw,86px)/1.01 'Playfair Display',Georgia,serif;letter-spacing:-.015em;max-width:920px;margin:33px 0 55px}
.rb-editorial-outro .rb-arrowlink{color:white!important}
/* Secondary conversion links under each service description. */
.rb-service a.rb-service-action{margin-top:16px;padding:0;border:0;color:#a60d27;font-size:12px;font-weight:700}
.rb-service a.rb-service-action:hover{color:#5e0715}
/* Reading experience */
.rb-reading-hero{padding:clamp(72px,9vw,134px) 0 clamp(65px,7vw,105px);background:#171716;color:var(--ivory)}
.rb-reading-back{display:inline-flex;padding-bottom:9px;border-bottom:1px solid #89817c;font-size:13px;font-weight:600;color:#ddd4cd!important}
.rb-reading-kicker{display:flex;flex-wrap:wrap;align-items:center;gap:14px;margin:clamp(53px,7vw,102px) 0 25px;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.115em;color:#bfb6ad}
.rb-reading-kicker span:first-child{color:#fc6982}
.rb-reading-dot{width:3px;height:3px;border-radius:50%;background:#a59a90}
.rb-reading-hero h1{font:600 clamp(42px,6.6vw,97px)/1.03 'Playfair Display',Georgia,serif;letter-spacing:-.015em;margin:0;max-width:1220px}
.rb-reading-deck{font-size:clamp(18px,1.75vw,24px);line-height:1.55;color:#d6cec5;max-width:790px;margin:40px 0 0}
.rb-reading-cover{max-width:1430px;margin-top:clamp(35px,5vw,68px);margin-bottom:clamp(65px,8vw,119px)}
.rb-reading-cover img{display:block;width:100%;height:auto;max-height:720px;object-fit:cover}
.rb-reading-layout{display:grid;grid-template-columns:minmax(180px,.36fr) minmax(0,1fr);gap:clamp(38px,7.5vw,123px);align-items:start;margin-bottom:clamp(95px,11vw,155px)}
.rb-reading-aside{padding-top:14px;position:sticky;top:35px;display:flex;flex-direction:column;align-items:flex-start;gap:14px}
.rb-reading-aside-label{font-size:11px;font-weight:700;letter-spacing:.2em}
.rb-reading-aside-rule{display:block;width:42px;height:2px;background:var(--red)}
.rb-reading-aside p{font-size:13px;line-height:1.65;max-width:200px;color:#696159}
.rb-reading-aside a{font-size:13px;border-bottom:1px solid #333;padding-bottom:7px;font-weight:700}
.rb-reading-body{font-size:clamp(17px,1.4vw,20px);line-height:1.85;letter-spacing:-.01em;color:#292724;max-width:790px;min-width:0}
.rb-reading-body>*:first-child{margin-top:0}
.rb-reading-body p{margin:0 0 1.5em;max-width:none!important}
.rb-reading-body :is(h2,h3,h4){font-family:'Playfair Display',Georgia,serif;line-height:1.18;letter-spacing:-.015em;font-weight:600;scroll-margin-top:100px}
.rb-reading-body h2{font-size:clamp(28px,3.1vw,44px);margin:1.8em 0 .6em}
.rb-reading-body h3{font-size:clamp(23px,2.4vw,31px);margin:1.7em 0 .7em}
.rb-reading-body :is(ul,ol){padding-left:1.4em;margin:0 0 1.8em}
.rb-reading-body li{margin-bottom:.55em}
.rb-reading-body blockquote{border-left:4px solid var(--red);padding:14px 0 14px 24px;margin:2em 0;font-family:'Playfair Display',Georgia,serif;font-size:clamp(25px,3vw,40px);line-height:1.35}
.rb-reading-body img{max-width:100%;height:auto;margin:0 auto}
.rb-reading-body figure{margin:2.2em 0;max-width:100%}
.rb-reading-body figcaption{text-align:center;color:#71695f;font-size:12px;line-height:1.5;margin-top:9px}
.rb-reading-body :is(a:not(.rb-arrowlink)){text-decoration:underline;text-decoration-color:#b50f2a;text-underline-offset:3px;overflow-wrap:anywhere}
.rb-reading-body table{display:block;max-width:100%;overflow-x:auto}
.rb-reading-body iframe{max-width:100%}
.rb-reading-endnote{border-top:1px solid #b6b0a6;margin-top:65px;padding-top:30px}
.rb-reading-endnote p{font:500 clamp(24px,2.8vw,37px)/1.3 'Playfair Display',Georgia,serif;letter-spacing:-.015em;margin-bottom:30px}
.rb-reading-endnote .rb-arrowlink{text-decoration:none}
.rb-related-posts{background:var(--sand);padding:clamp(75px,8vw,128px) 0 clamp(100px,10vw,150px)}
.rb-related-heading{display:flex;flex-direction:column;gap:20px;border-bottom:1px solid #a9a196;padding-bottom:30px;margin-bottom:32px}
.rb-related-heading h2{font:600 clamp(36px,5vw,72px)/1.05 'Playfair Display',Georgia,serif;letter-spacing:-.015em;max-width:850px;margin:0}
.rb-related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px}
.rb-related-item{min-width:0}
.rb-related-item img{width:100%;height:auto;aspect-ratio:1.4;object-fit:cover;margin-bottom:17px;transition:filter .2s}
.rb-related-item a:hover img{filter:grayscale(.6)}
.rb-related-item span{font-size:11px;letter-spacing:.08em;color:#6c635a;font-weight:700}
.rb-related-item h3{font:600 clamp(19px,2vw,29px)/1.2 'Playfair Display',Georgia,serif;letter-spacing:-.015em;margin:12px 0 20px}
.rb-related-link{color:#ae0d27!important;border-bottom:1px solid currentColor;padding-bottom:6px}
@media(max-width:1150px){
 .rb-editorial-toolbar{align-items:flex-start;flex-direction:column}
 .rb-editorial-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .rb-reading-layout{grid-template-columns:180px minmax(0,1fr);gap:50px}
}
@media(max-width:760px){
 .rb-editorial-hero-inner{padding-top:72px}
 .rb-editorial-hero h1{font-size:clamp(50px,11.9vw,76px)}
 .rb-editorial-intro{margin:34px 0 75px}
 .rb-editorial-grid{grid-template-columns:1fr;gap:47px}
 .rb-article-card h3{font-size:clamp(25px,6vw,36px)}
 .rb-topic-nav{width:100%}
 .rb-reading-hero{padding:65px 0 75px}
 .rb-reading-kicker{margin-top:58px}
 .rb-reading-hero h1{font-size:clamp(39px,9vw,60px)}
 .rb-reading-layout{grid-template-columns:1fr}
 .rb-reading-aside{display:none}
 .rb-reading-body{font-size:17px;line-height:1.8}
 .rb-related-grid{grid-template-columns:1fr;gap:42px}
 .rb-related-item img{max-height:300px}
}
@media(max-width:490px){
 .rb-editorial-hero-footer{font-size:9px;letter-spacing:.08em}
 .rb-editorial-hero-footer span:last-child{max-width:96px;text-align:right}
 .rb-reading-kicker{gap:10px;font-size:10px;letter-spacing:.035em}
 .rb-reading-hero h1{font-size:clamp(36px,10.1vw,49px)}
 .rb-article-image{aspect-ratio:1.4}
}
/* Rebellum OS V3.2 — cabeçalho fixo e marca original */
.rb-header{position:sticky;top:0;z-index:1100;background:#111110;transition:box-shadow .25s ease,background-color .25s ease}
.rb-header.is-scrolled{background:rgba(17,17,16,.97);box-shadow:0 12px 35px rgba(0,0,0,.17);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}
.rb-logo-asset{display:inline-flex;align-items:center;justify-content:flex-start;width:clamp(158px,15.5vw,216px);height:52px;line-height:1;flex-shrink:0}
.rb-logo-asset .rb-logo-image{width:100%;height:auto;max-height:48px;object-fit:contain;object-position:left center;display:block}
.rb-footer .rb-logo-asset{width:clamp(188px,20vw,250px);height:auto}
.rb-footer .rb-logo-asset .rb-logo-image{max-height:56px}
.rb-header .rb-nav{min-height:80px}
html{scroll-padding-top:94px}
#aplicar,#solucoes,#metodo,#projetos,#abordagem{scroll-margin-top:92px}
body.admin-bar .rb-header{top:32px}
/* Formulário conversacional próprio — três etapas */
.rb-intake-form{gap:0}
.rb-intake-top{display:flex;justify-content:space-between;align-items:center;gap:10px;color:#fff;font:700 11px/1.5 'DM Sans',sans-serif;letter-spacing:.13em}
.rb-intake-count{font-variant-numeric:tabular-nums;white-space:nowrap}
.rb-intake-progress{margin:16px 0 36px;width:100%;height:2px;background:rgba(255,255,255,.36);position:relative;overflow:hidden}
.rb-intake-progress span{height:100%;display:block;width:33.333%;background:#fff;transition:width .32s ease}
.rb-intake-step{border:0;min-inline-size:0;margin:0;padding:0;display:flex;flex-direction:column;gap:18px}
.rb-intake-step[hidden]{display:none!important}
.rb-intake-step legend{display:block;float:left;width:100%;padding:0;margin:0 0 10px}
.rb-intake-step legend strong{display:block;font:500 clamp(29px,3.3vw,49px)/1.09 'Playfair Display',Georgia,serif;letter-spacing:-.015em;margin-top:12px}
.rb-intake-step-number{font:700 11px/1.6 'DM Sans',sans-serif;letter-spacing:.13em;display:block}
.rb-intake-helper{font-size:15px;line-height:1.6;margin:0 0 13px;color:rgba(255,255,255,.88)}
.rb-choice-grid{display:grid;grid-template-columns:1fr;gap:9px;clear:both}
.rb-intake-form .rb-choice{min-height:75px;position:relative;background:rgba(0,0,0,.11);border:1px solid rgba(255,255,255,.52);padding:19px 18px;display:flex;flex-direction:row;justify-content:space-between;align-items:center;gap:16px;cursor:pointer;transition:background-color .2s ease,border-color .2s ease}
.rb-choice>span:nth-of-type(1){flex:1;display:flex;flex-direction:column;gap:6px}
.rb-choice b{font-size:15px;font-weight:700;letter-spacing:-.02em}
.rb-choice small{font-size:12px;line-height:1.4;font-weight:400;color:rgba(255,255,255,.83)}
.rb-choice-arrow{font-size:20px;font-weight:400;line-height:1;flex:0 0 auto}
.rb-intake-form .rb-choice input[type=radio]{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}
.rb-choice:has(input:checked),.rb-choice:hover{background:#fff;color:#161615;border-color:#fff}
.rb-choice:has(input:checked) small,.rb-choice:hover small{color:#504a44}
.rb-choice:focus-within{outline:2px solid #fff;outline-offset:3px}
.rb-intake-label{font-size:13px;font-weight:700;display:flex;flex-direction:column;gap:11px}
.rb-intake-label :is(input,textarea){background:#fff;color:#161615;border:2px solid transparent;border-radius:0;min-height:56px;padding:15px;font:400 15px/1.5 'DM Sans',sans-serif}
.rb-intake-label textarea{min-height:144px;resize:vertical}
.rb-intake-label :is(input,textarea):focus{outline:2px solid #171717;outline-offset:-5px}
.rb-intake-label :is(input,textarea)::placeholder{color:#716d69;opacity:1}
.rb-intake-consent{display:flex!important;flex-direction:row!important;align-items:flex-start;gap:12px;line-height:1.55!important;font-size:12px!important;font-weight:400!important}
.rb-intake-consent input[type=checkbox]{appearance:auto!important;accent-color:#151515;flex:0 0 auto;width:20px;height:20px;min-height:20px;margin:1px 0 0}
.rb-intake-actions{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:14px;margin-top:14px}
.rb-intake-next,.rb-submit{border:1px solid #131313;background:#131313;color:#fff;display:inline-flex;align-items:center;justify-content:space-between;gap:40px;min-height:58px;padding:17px 20px;font-size:13px;font-weight:700;cursor:pointer;max-width:100%}
.rb-intake-next{align-self:flex-end;margin-top:10px}
.rb-intake-next:hover,.rb-submit:hover{background:#fff;color:#151515;border-color:#fff}
.rb-intake-back{border:0;background:transparent;padding:14px 0;color:#fff;text-decoration:underline;text-underline-offset:6px;font-size:13px;cursor:pointer}
.rb-intake-back:hover{opacity:.75}
.rb-intake-form:not(.rb-wizard-ready) [data-rb-next],
.rb-intake-form:not(.rb-wizard-ready) [data-rb-prev],
.rb-intake-form:not(.rb-wizard-ready) .rb-intake-progress{display:none!important}
.rb-intake-form:not(.rb-wizard-ready) .rb-intake-step{margin-top:22px}
.rb-intake-step .rb-submit{margin-top:0}
.rb-intake-form :is(button,input,textarea):focus-visible{outline:3px solid #fff;outline-offset:3px}
.rb-intake-step .rb-form-note{max-width:58ch}
@media(max-width:850px){
 .rb-logo-asset{width:175px;height:46px}
 .rb-header .rb-nav{min-height:70px}
 .rb-header .rb-navlinks{z-index:1120;box-shadow:0 22px 35px rgba(0,0,0,.2)}
}
@media(max-width:782px){body.admin-bar .rb-header{top:46px}}
@media(max-width:600px){body.admin-bar .rb-header{top:0}}
@media(max-width:570px){
 .rb-logo-asset{width:162px}
 .rb-intake-progress{margin-bottom:26px}
 .rb-intake-step legend strong{font-size:33px}
 .rb-intake-actions{align-items:stretch}
 .rb-intake-actions .rb-submit{flex:1}
 .rb-intake-next{align-self:stretch;justify-content:space-between}
 .rb-choice b{font-size:14px}
 .rb-choice small{font-size:12px}
}
@media(prefers-reduced-motion:reduce){.rb-article-image img,.rb-related-item img,.rb-header,.rb-intake-progress span{transition:none}}
