/*
Theme Name: Rebellum OS — V3
Text Domain: rebellum-os-v3
Description: Tema editorial independente da Rebellum Studio.
Version: 1.0.1
Requires at least: 6.0
Requires PHP: 7.4
*/
:root{--sand:#ebe5da;--ink:#111110;--red:#D1001C;--cream:#eee9e0;--ivory:#f5f1e9;--grey:#a6a09a}
*,*:before,*:after{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:75px}body.rb-site{margin:0;background:var(--ivory);font-family:'DM Sans',Arial,sans-serif;color:var(--ink);-webkit-font-smoothing:antialiased}body.rb-site a{color:inherit;text-decoration:none}body.rb-site img{max-width:100%;display:block}body.rb-site button,body.rb-site input,body.rb-site select,body.rb-site textarea{font:inherit}body.rb-site :focus-visible{outline:2px solid #f5506a;outline-offset:4px}::selection{background:var(--red);color:white}.rb-shell{max-width:1510px;padding-inline:clamp(23px,5.6vw,93px);margin-inline:auto}.skip-link{position:absolute;top:-500px}.skip-link:focus{top:12px;left:12px;background:white;color:black!important;padding:12px;z-index:90}
.rb-header{background:var(--ink);color:#f8f3ec;position:relative;z-index:10}.rb-nav{height:80px;border-bottom:1px solid #494541;display:flex;align-items:center;justify-content:space-between;gap:20px}.rb-logo{font-family:'Playfair Display',Georgia,serif;font-size:30px;letter-spacing:-.015em;font-weight:700;white-space:nowrap}.rb-logo span{color:#f12443}.rb-navlinks{display:flex;align-items:center;gap:clamp(20px,2.5vw,42px)}.rb-navlinks a{font-size:13px;font-weight:600}.rb-navlinks a:hover,.rb-footer-links a:hover{opacity:.64}.rb-navlinks .rb-nav-cta{border:1px solid #bab5ae;padding:12px 14px;display:flex;gap:32px}.rb-menu-toggle{display:none;background:none;border:0;color:white;padding:10px}.rb-menu-toggle span{height:1px;width:25px;background:currentColor;display:block;margin:6px 0}
.rb-hero{background:var(--ink);color:#f5f0e9;min-height:min(870px,93svh);display:flex;align-items:center;position:relative;overflow:hidden}.rb-hero-inner{width:100%;padding-block:65px}.rb-opening{font-size:clamp(13px,1.35vw,18px);letter-spacing:-.02em;margin:0 0 clamp(65px,8vw,115px)}.rb-hero h1{font-family:'Playfair Display',Georgia,serif;font-weight:600;font-size:clamp(65px,10.7vw,168px);line-height:1.08;letter-spacing:-.015em;margin:0}.rb-hero h1 span{color:#f11c3d}.rb-hero-bottom{border-top:1px solid #6e6963;display:flex;justify-content:space-between;gap:50px;align-items:flex-end;margin-top:clamp(62px,7vw,95px);padding-top:27px}.rb-hero-bottom p{font-size:clamp(17px,1.5vw,22px);line-height:1.5;max-width:505px;margin:0;letter-spacing:-.03em}.rb-arrowlink{font-size:14px;font-weight:600;display:inline-flex;gap:30px;align-items:center;border-bottom:1px solid currentColor;padding-bottom:10px;white-space:nowrap}.rb-arrowlink span{font-size:23px}.rb-arrowlink:hover{gap:43px}.rb-vertical{position:absolute;right:3vw;top:44%;writing-mode:vertical-rl;font-size:10px;letter-spacing:.18em;opacity:.5}.rb-rule-red{height:12px;background:var(--red)}
.rb-problem{padding-block:clamp(105px,13vw,205px);background:var(--ivory)}.rb-problem-inner{display:grid;grid-template-columns:1.15fr .85fr;align-items:center;gap:clamp(48px,9vw,144px)}.rb-problem h2,.rb-section-title h2,.rb-method h2,.rb-contact h2{font-family:'Playfair Display',Georgia,serif;font-weight:600;letter-spacing:-.015em;line-height:1.08;margin:0}.rb-problem h2{font-size:clamp(47px,5.6vw,90px)}.rb-problem em,.rb-section-title em,.rb-work h2 em,.rb-method em,.rb-contact em,.rb-quote em{font-family:'Playfair Display',Georgia,serif;font-weight:400;letter-spacing:-.005em}.rb-problem em{color:#b70d28}.rb-problem-copy p{font-size:clamp(18px,1.7vw,25px);line-height:1.59;letter-spacing:-.03em;margin:0 0 40px}.rb-arrowlink.dark{color:#121212}
.rb-manifesto{background:var(--red);color:#fff;padding:clamp(95px,12vw,170px) 0}.rb-manifesto h2{font-family:'Playfair Display',Georgia,serif;font-size:clamp(72px,11.8vw,183px);font-weight:600;letter-spacing:-.015em;line-height:1.08;margin:0}.rb-manifesto h2 em{font-family:'Playfair Display',Georgia,serif;font-weight:400;font-size:1.12em;letter-spacing:-.005em}.rb-manifesto-base{display:flex;justify-content:space-between;gap:55px;align-items:flex-end;margin-top:75px}.rb-manifesto-base p{font-size:19px;line-height:1.6;max-width:475px;margin:0}
.rb-solutions{background:var(--sand);padding-block:clamp(105px,12vw,175px)}.rb-section-title,.rb-work-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:48px;margin-bottom:65px}.rb-section-title h2{font-size:clamp(52px,6.5vw,104px)}.rb-section-title p,.rb-work-heading p{font-size:16px;line-height:1.6;max-width:350px;margin:0}.rb-services{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-block:1px solid #8d877e}.rb-service{min-height:440px;display:flex;flex-direction:column;padding:25px 35px 42px 0}.rb-service+.rb-service{border-left:1px solid #8d877e;padding-left:35px}.rb-index{font-size:12px;font-weight:600}.rb-symbol{height:140px;width:175px;display:flex;align-items:center}.rb-symbol svg{max-height:117px;width:100%}.rb-service h3{font-family:'Playfair Display',Georgia,serif;font-size:clamp(31px,3vw,50px);line-height:1.08;letter-spacing:-.015em;font-weight:600;margin:0 0 16px}.rb-service p{font-size:15px;line-height:1.57;margin:0 0 30px;max-width:330px}.rb-service a{font-size:13px;font-weight:700;border-bottom:1px solid #1e1e1e;padding-bottom:9px;display:inline-flex;gap:16px;margin-top:auto;align-self:flex-start}.rb-service a:hover{color:var(--red)}
.rb-work{background:#161615;color:#f6f1e9;padding-block:clamp(110px,12vw,170px) clamp(125px,13vw,180px)}.rb-work h2{font-family:'Playfair Display',Georgia,serif;font-size:clamp(64px,8vw,132px);font-weight:600;letter-spacing:-.015em;line-height:1.08;margin:0}.rb-work-heading p{color:#c8c1b8}.rb-work-grid{display:grid;grid-template-columns:1fr 1fr;gap:70px 28px}.rb-work-card:nth-child(even){transform:translateY(82px)}.rb-image{aspect-ratio:1.28/1;overflow:hidden;background:#b9afa4}.rb-image img{height:100%!important;width:100%;object-fit:cover;filter:saturate(.8);transition:transform .7s ease,filter .4s}.rb-work-card a:hover img{transform:scale(1.06);filter:saturate(1)}.rb-work-caption{border-top:1px solid #79746c;padding-top:17px;margin-top:17px;display:flex;justify-content:space-between;gap:12px;align-items:baseline}.rb-work-caption h3{font-family:'Playfair Display',Georgia,serif;font-size:clamp(19px,2vw,28px);font-weight:500;letter-spacing:-.015em;margin:0}.rb-work-caption span{font-size:12px;color:#c2bcb3}.rb-work-more{display:flex;justify-content:space-between;align-items:flex-end;gap:45px;border-top:1px solid #79746c;margin-top:151px;padding-top:25px}.rb-work-more p{color:#bdb8b0;font-size:14px;line-height:1.6;max-width:580px;margin:0}
.rb-method{background:var(--ivory);padding-block:clamp(110px,13vw,185px)}.rb-method-inner{display:grid;grid-template-columns:.9fr 1.1fr;gap:clamp(60px,8vw,125px)}.rb-method h2{font-size:clamp(58px,7.3vw,117px);line-height:.92;margin-bottom:40px}.rb-method p{font-size:18px;line-height:1.63;max-width:420px;margin:0 0 32px}.rb-method-list{list-style:none;padding:0;margin:0;border-top:1px solid #b7afa3}.rb-method-list li{padding:26px 0;display:grid;grid-template-columns:50px 1fr 20px;gap:12px;align-items:center;border-bottom:1px solid #b7afa3}.rb-method-list span{font-size:12px}.rb-method-list strong{display:block;font-family:'Playfair Display',Georgia,serif;font-size:clamp(21px,2vw,29px);font-weight:500;letter-spacing:-.015em;margin-bottom:5px}.rb-method-list small{font-size:13px;color:#56524d}.rb-method-list b{font-weight:400;font-size:23px}.rb-quote{background:var(--sand);padding-block:clamp(110px,12vw,175px)}.rb-quote blockquote{font-family:'Playfair Display',Georgia,serif;font-size:clamp(44px,6.3vw,94px);font-weight:500;line-height:1.05;letter-spacing:-.015em;margin:0}.rb-quote em{color:#b50e29}
.rb-contact{background:var(--red);color:white;padding-block:clamp(105px,12vw,165px)}.rb-contact-grid{display:grid;grid-template-columns:1fr .82fr;gap:clamp(50px,8vw,120px)}.rb-contact h2{font-size:clamp(59px,7vw,113px);line-height:.9;margin-bottom:45px}.rb-contact-grid>div>p{font-size:19px;line-height:1.6;max-width:420px}.rb-form{display:flex;flex-direction:column;gap:20px}.rb-form label{display:flex;flex-direction:column;gap:10px;font-size:13px;font-weight:700}.rb-form input,.rb-form select,.rb-form textarea{border:1px solid #fff;background:#fff;border-radius:0;color:#161616;padding:16px 15px;min-height:55px;width:100%}.rb-form textarea{min-height:105px;resize:vertical}.rb-form-row{display:grid;grid-template-columns:1fr 1fr;gap:15px}.rb-form-note{font-size:12px;line-height:1.6;margin:0;opacity:.86}.rb-submit{margin-top:6px;background:#101010;color:white;border:1px solid #101010;padding:18px 20px;min-height:60px;display:flex;justify-content:space-between;align-items:center;font-size:14px;font-weight:700;cursor:pointer}.rb-submit:hover{background:white;color:#111;border-color:white}.rb-submit span{font-size:20px}.rb-form-status{padding:22px;background:#fff;color:#151515;margin-bottom:25px}.rb-form-status p{margin:8px 0 0}.rb-honeypot{position:absolute;left:-10000px;height:1px;width:1px;overflow:hidden}
.rb-footer{background:#111110;color:#f4eee6;padding-block:65px 23px}.rb-footer-top{display:flex;justify-content:space-between;align-items:center;gap:35px;border-bottom:1px solid #64605a;padding-bottom:65px}.rb-footer-links{display:flex;flex-wrap:wrap;gap:27px}.rb-footer-links a{font-size:13px}.rb-footer-bottom{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;padding-top:21px;font-size:12px;color:#aba49b}.rb-standard{min-height:60vh;background:var(--ivory);padding-block:105px}.rb-standard h1{font-family:'Playfair Display',Georgia,serif;font-size:clamp(49px,7vw,95px);letter-spacing:-.015em;line-height:1.08}.rb-standard article{max-width:910px;line-height:1.73}.rb-standard article p{max-width:80ch}.rb-standard article a{text-decoration:underline}.rb-article-list{list-style:none;padding:0}.rb-article-list li{border-bottom:1px solid #aaa;padding-block:25px}
@media(max-width:850px){.rb-navlinks{display:none;position:absolute;top:70px;left:0;right:0;background:#131313;padding:20px 25px 30px;flex-direction:column;align-items:stretch}.rb-navlinks.is-open{display:flex}.rb-navlinks a{font-size:16px;padding:8px 0}.rb-menu-toggle{display:block}.rb-nav{height:70px}.rb-hero h1{font-size:clamp(58px,12vw,98px)}.rb-problem-inner,.rb-method-inner,.rb-contact-grid{grid-template-columns:1fr;gap:45px}.rb-section-title,.rb-work-heading,.rb-manifesto-base{flex-direction:column;align-items:flex-start;gap:25px}.rb-services{grid-template-columns:1fr}.rb-service,.rb-service+.rb-service{padding:27px 0 35px;min-height:0;border-left:0}.rb-service+.rb-service{border-top:1px solid #aaa}.rb-symbol{height:90px;width:130px}.rb-work-card:nth-child(even){transform:translateY(35px)}.rb-work-more{margin-top:100px}.rb-footer-top{align-items:flex-start;flex-direction:column}}
@media(max-width:570px){.rb-shell{padding-inline:23px}.rb-hero{min-height:86svh}.rb-opening{margin-bottom:85px}.rb-hero h1{font-size:clamp(47px,13.6vw,76px)}.rb-hero-bottom{flex-direction:column;align-items:flex-start;gap:24px}.rb-vertical{display:none}.rb-problem,.rb-solutions,.rb-method{padding-block:85px}.rb-problem h2{font-size:46px}.rb-manifesto{padding-block:92px}.rb-manifesto h2{font-size:clamp(52px,12.6vw,78px)}.rb-manifesto-base{margin-top:50px}.rb-section-title{margin-bottom:32px}.rb-section-title h2{font-size:51px}.rb-service h3{font-size:41px}.rb-work{padding-block:90px 108px}.rb-work h2{font-size:66px}.rb-work-grid{grid-template-columns:1fr;gap:38px}.rb-work-card:nth-child(even){transform:none}.rb-work-more{margin-top:60px;flex-direction:column;align-items:flex-start}.rb-method h2{font-size:65px}.rb-method-list li{grid-template-columns:31px 1fr 20px}.rb-method-list strong{font-size:22px}.rb-quote{padding-block:94px}.rb-quote blockquote{font-size:48px}.rb-contact{padding-block:90px}.rb-contact h2{font-size:55px}.rb-form-row{grid-template-columns:1fr;gap:18px}.rb-footer-top{padding-bottom:40px}.rb-footer-bottom{flex-direction:column}}
/* Portfólio editorial autônomo (página legada preservada no banco). */
.rb-portfolio-page .rb-work h1{font-family:'Playfair Display',Georgia,serif;font-size:clamp(64px,8vw,132px);font-weight:600;letter-spacing:-.015em;line-height:1.08;margin:0}
.rb-portfolio-page .rb-work h1 em{font-family:'Playfair Display',Georgia,serif;font-weight:400;letter-spacing:-.005em}
.rb-portfolio-page .rb-portfolio-eyebrow{font-size:12px;font-weight:700;letter-spacing:.14em;color:#c8c1b8;margin:0 0 30px}
.rb-portfolio-page .rb-work-caption h2{font-family:'Playfair Display',Georgia,serif;font-size:clamp(19px,2vw,28px);font-weight:500;letter-spacing:-.015em;line-height:1.2;margin:0}
@media(max-width:570px){.rb-portfolio-page .rb-work h1{font-size:clamp(55px,13vw,76px)}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
