@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700&family=Space+Grotesk:wght@400;600;700&display=swap');
.roomatch-case{box-sizing:border-box;max-width:1080px;margin:auto;padding:clamp(16px,4vw,44px);background:#181123;color:#f8f3ff;font:400 1rem/1.6 Nunito,Arial,sans-serif}
.roomatch-case section{margin:0 0 clamp(36px,7vw,70px)}
.roomatch-case section:last-child{margin-bottom:0}
.roomatch-case h1,.roomatch-case h2,.roomatch-case h3{font-family:"Space Grotesk",Arial,sans-serif;letter-spacing:-.035em;line-height:1.1;color:#e9d8ff}
.roomatch-case h1{font-size:clamp(40px,8vw,100px);margin:8px 0}
.roomatch-case h2{font-size:clamp(27px,4vw,44px);margin:0 0 16px}
.roomatch-case h3{font-size:1.2rem;margin:0 0 8px}
.roomatch-case p{margin:0 0 14px;max-width:72ch}
.rm-hero{background:#2d1843;border-radius:22px;padding:clamp(18px,4vw,36px);display:flow-root}
.rm-hero small{font-weight:700;letter-spacing:.08em}
.roomatch-case .rm-hero img{float:right;width:min(40%,280px);margin:0 0 12px 18px;border-radius:14px}
.rm-cards,.rm-flow,.rm-wire,.rm-swatches,.rm-fonts,.rm-screens{display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr))}
.rm-cards > div,.rm-flow li,.rm-fonts > div,.rm-components,.rm-swatches > div{background:#2d1843;border-radius:14px;padding:15px}
.rm-cards p,.rm-components p{margin:0}
.rm-flow{padding:0;list-style-position:inside}
.rm-wire{align-items:start}
.wf-phone{position:relative;background:#f9f9f9;color:#222;border:2px solid #bbb;border-radius:20px;padding:10px;display:flex;flex-direction:column;gap:7px;min-height:340px;font-size:.76rem;box-sizing:border-box}
.wf-head{display:flex;justify-content:space-between;font-weight:800;font-size:.95rem}
.wf-nav{margin-top:auto;padding-top:7px;border-top:1px solid #bbb;text-align:center;white-space:nowrap;font-size:.82rem}
.wf-box,.wf-cta,.wf-bubbles > div{padding:7px;border:1px solid #ccc;border-radius:8px}
.wf-cta{background:#444;color:white;text-align:center}
.wf-line{display:block;background:#bbb;height:4px;margin-top:5px;border-radius:4px}
.wf-line.short{width:70%}
.wf-chips{display:flex;flex-wrap:wrap;gap:4px}
.wf-chips span{background:#e4e4e4;border-radius:10px;padding:2px 5px}
.wf-photo{flex:1;min-height:180px;background:#d6d6d6;border:1px solid #aaa;border-radius:13px;padding:8px;display:flex;flex-direction:column;align-items:flex-end;justify-content:space-between}
.wf-photo > span{background:#444;color:white;border-radius:10px;padding:3px 6px}
.wf-photo-info{align-self:stretch}
.wf-photo-info .wf-chips{margin-top:6px}
.wf-actions{text-align:center;font-size:1.2rem}
.wf-profile-photo{background:#d6d6d6;border-radius:10px;padding:24px 8px 8px;font-weight:700}
.wf-bubbles{display:grid;gap:7px;margin-bottom:12px}
.wf-bubbles > div{width:80%;background:#eee}
.wf-bubbles > div:nth-child(even){justify-self:end;background:#d6d6d6}
.wf-stage{position:relative;aspect-ratio:860/1864}
.wf-stage .wf-phone{height:100%;min-height:0}
.wf-stage .wf-photo{min-height:0}
.roomatch-case .wf-final{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;opacity:0;border-radius:20px;transition:opacity .24s ease}
@media(hover:hover){.wf-stage:hover .wf-final{opacity:1}}
@media(prefers-reduced-motion:reduce){.roomatch-case .wf-final{transition:none}}
.rm-fonts{margin-bottom:12px}
.rm-fonts span{display:block;font-size:clamp(20px,4vw,34px)}
.rm-fonts > div:first-child span{font-family:"Space Grotesk",Arial,sans-serif}
.rm-swatches{grid-template-columns:repeat(auto-fit,minmax(min(100%,112px),1fr));margin-bottom:12px}
.rm-swatches i{display:block;height:48px;border-radius:8px;margin-bottom:8px}
.rm-swatches code{display:block}
.rm-screens figure{margin:0;min-width:0}
.roomatch-case .rm-screens img{width:100%;height:auto;max-height:420px;object-fit:contain;object-position:top;display:block;background:#2d1843;border-radius:12px}
.rm-screens figcaption{font:inherit;font-size:.88rem;margin-top:6px;text-transform:none;letter-spacing:0}
.rm-component-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0}
.rm-component-gallery figure{min-width:0;margin:0}
.rm-component-gallery figure > div{display:grid;place-items:center;min-height:130px;padding:12px;background:#fbfaf8;border-radius:12px}
.roomatch-case .rm-component-gallery img{width:100%;height:auto;max-height:140px;object-fit:contain}
.roomatch-case .rm-component-afinidade img{width:min(100%,88px)}
.rm-component-navegacao,.rm-component-preferencias{grid-column:span 1}
.rm-component-gallery figcaption,.rm-screens figcaption{font:inherit;font-size:.88rem;margin-top:7px;text-transform:none;letter-spacing:0}
.rm-result-feature{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:clamp(20px,5vw,52px);margin:24px 0 34px;padding:clamp(20px,5vw,48px);border-radius:22px;background:radial-gradient(ellipse at 25% 50%,#67329c,#2d1843 68%)}
.rm-device{box-sizing:border-box;width:min(100%,245px);justify-self:center;padding:7px;background:#16101c;border:2px solid #a992b7;border-radius:25px;box-shadow:0 15px 30px #120a1f99}
.rm-device a{display:block;border-radius:17px;overflow:hidden}
.roomatch-case .rm-device img{display:block;width:100%;height:auto}
.rm-result-group{margin-top:26px}
.rm-result-group .rm-screens{grid-template-columns:repeat(auto-fit,minmax(min(100%,140px),1fr));gap:14px}
.rm-result-group .rm-screens figure{padding:10px;border-radius:14px;background:#2d1843}
.roomatch-case .rm-result-group img{height:clamp(210px,44vw,370px);max-height:none;object-position:center;background:#21132e}
@media(max-width:560px){
 .rm-component-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}
 .rm-component-navegacao{grid-column:span 2}
 .rm-result-feature{grid-template-columns:1fr;text-align:center}
 .rm-result-feature p{margin-inline:auto}
}

.case-original-art{display:block;width:min(100%,740px);margin-inline:auto}
.roomatch-case .case-original-art img{display:block;width:100%;height:auto;border-radius:14px}
.case-carousel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px;flex-wrap:wrap}
.case-carousel-head h2{margin:0}
.case-carousel-controls{display:flex;align-items:center;gap:10px;font-variant-numeric:tabular-nums}
.case-carousel-controls button{display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid #ffffff35;border-radius:50%;background:#ffffff16;color:inherit;font:400 28px/1 Arial,sans-serif;cursor:pointer}
.case-carousel-controls button:disabled{opacity:.4;cursor:default}
.case-carousel-controls button:not(:disabled):hover{background:#ffffff30}
.case-carousel-count{min-width:3.4ch;text-align:center;font-size:.9rem}
.case-carousel-window{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin;border-radius:18px;background:#ffffff09}
.case-carousel-window > a{box-sizing:border-box;display:grid;place-items:center;flex:0 0 100%;min-width:0;height:clamp(235px,61vw,560px);padding:clamp(10px,2.4vw,24px);scroll-snap-align:start}
.roomatch-case .case-carousel-window img{display:block;width:100%;height:100%;min-height:0;max-height:100%;object-fit:contain}
.wf-stage:focus .wf-final,.adoleta-wf-stage:focus .wf-final,.rfid-wf-stage:focus .wf-final{opacity:1}
