*{box-sizing:border-box}html,body{width:100%;height:100%;margin:0}body{overflow:hidden;background:#0b0d0c;color:#fff;font-family:Manrope,Arial,sans-serif}button,a{font:inherit;color:inherit}button{border:0}.showroom{position:fixed;inset:0;background:#0b0d0c}.topbar{position:absolute;z-index:30;top:0;left:0;right:0;height:78px;display:flex;align-items:center;justify-content:space-between;padding:20px 28px;background:linear-gradient(180deg,rgba(0,0,0,.48),transparent);pointer-events:none}.brand,.top-actions{pointer-events:auto}.brand{color:#fff;text-decoration:none;font-size:17px;font-weight:700;letter-spacing:.28em}.top-actions{display:flex;align-items:center;gap:14px}.counter{display:flex;align-items:center;gap:8px;font-size:10px;color:rgba(255,255,255,.7);letter-spacing:.08em}.counter i{width:24px;height:1px;background:rgba(255,255,255,.38)}.system-button{display:flex;align-items:center;gap:10px;padding:11px 16px;border:1px solid rgba(255,255,255,.34);border-radius:999px;background:rgba(8,10,9,.42);text-decoration:none;font-size:12px;transition:.2s}.system-button:hover{background:#fff;color:#111}.hero,.stage,.image-track{position:absolute;inset:0}.stage{overflow:hidden;touch-action:pan-y;background:#0b0d0c}.image-track{overflow:hidden}.main-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;user-select:none;transform:translate3d(0,0,0) scale(1);backface-visibility:hidden}.main-image.from-right{transform:translate3d(100%,0,0)}.main-image.from-left{transform:translate3d(-100%,0,0)}.main-image.to-left{transform:translate3d(-100%,0,0)}.main-image.to-right{transform:translate3d(100%,0,0)}.main-image.moving{transition:transform .62s cubic-bezier(.22,.78,.18,1)}.image-shade{position:absolute;inset:0;z-index:3;pointer-events:none;background:linear-gradient(90deg,rgba(4,6,5,.9) 0%,rgba(4,6,5,.58) 18%,rgba(4,6,5,.10) 42%,rgba(4,6,5,0) 68%),linear-gradient(0deg,rgba(0,0,0,.62) 0%,transparent 30%)}.hero-copy{position:absolute;z-index:8;left:34px;top:50%;width:min(390px,27vw);transform:translateY(-54%);pointer-events:none}.eyebrow{margin:0 0 14px;font-size:10px;font-weight:700;letter-spacing:.2em;color:rgba(255,255,255,.68)}.hero-copy h1{margin:0;font-size:clamp(48px,5.4vw,96px);line-height:.92;letter-spacing:-.05em;font-weight:500}.tagline{max-width:355px;margin:22px 0 0;font-size:clamp(14px,1vw,18px);line-height:1.6;color:rgba(255,255,255,.76)}.copy-out-left{animation:copyOutL .18s ease both}.copy-out-right{animation:copyOutR .18s ease both}.copy-in-right{animation:copyInR .36s ease both}.copy-in-left{animation:copyInL .36s ease both}@keyframes copyOutL{to{opacity:0;transform:translate(-24px,-54%)}}@keyframes copyOutR{to{opacity:0;transform:translate(24px,-54%)}}@keyframes copyInR{from{opacity:0;transform:translate(24px,-54%)}}@keyframes copyInL{from{opacity:0;transform:translate(-24px,-54%)}}.detail-button{position:absolute;z-index:12;left:30px;top:112px;display:flex;align-items:center;gap:9px;height:44px;padding:0 13px;border:1px solid rgba(255,255,255,.3);border-radius:999px;background:rgba(8,10,9,.5);cursor:pointer;transition:.2s}.detail-button:hover{background:rgba(255,255,255,.15)}.detail-button svg{width:19px;fill:none;stroke:#fff;stroke-width:1.55}.detail-button span{font-size:11px}.media-tools{position:absolute;z-index:12;right:28px;top:50%;transform:translateY(-50%);display:grid;gap:7px}.media-tools button,.nav-arrow,.modal-close{display:grid;place-items:center;border:1px solid rgba(255,255,255,.28);background:rgba(8,10,9,.5);cursor:pointer;transition:background .2s,transform .2s}.media-tools button{width:42px;height:42px;border-radius:12px;font-size:20px}.media-tools button:hover,.nav-arrow:hover,.modal-close:hover{background:rgba(255,255,255,.16)}.nav-arrow{position:absolute;z-index:12;top:50%;width:48px;height:48px;border-radius:50%;font-size:31px;line-height:1}.nav-arrow.prev{left:30px;transform:translateY(125%)}.nav-arrow.next{right:30px;transform:translateY(125%)}.selector-wrap{position:absolute;z-index:16;left:28px;right:28px;bottom:18px;height:132px}.selector-head{height:22px;display:flex;align-items:center;justify-content:space-between;padding:0 2px 7px;font-size:9px;letter-spacing:.16em;color:rgba(255,255,255,.62)}.autoplay-status{display:flex;align-items:center;gap:7px}.autoplay-status i{width:5px;height:5px;border-radius:50%;background:#fff}.product-rail{height:110px;display:grid;grid-auto-flow:column;grid-auto-columns:minmax(140px,10.5vw);gap:10px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;scroll-snap-type:x proximity;cursor:grab;user-select:none;overscroll-behavior-x:contain}.product-rail::-webkit-scrollbar{display:none}.product-rail.dragging{cursor:grabbing;scroll-snap-type:none}.product-card{position:relative;height:100px;padding:0;overflow:hidden;border:1px solid rgba(255,255,255,.16);border-radius:14px;background:#171a18;opacity:.68;cursor:pointer;scroll-snap-align:start;transition:opacity .22s,border-color .22s,transform .22s}.product-card:hover,.product-card.active{opacity:1}.product-card.active{border-color:rgba(255,255,255,.82);transform:translateY(-2px)}.product-card img{width:100%;height:100%;object-fit:cover;display:block}.product-card::after{content:"";position:absolute;inset:45% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.82))}.product-card strong{position:absolute;z-index:2;left:9px;right:9px;bottom:7px;font-size:10px;font-weight:600;text-shadow:0 2px 8px #000}.product-card .index{position:absolute;z-index:2;top:7px;right:7px;font-size:9px;padding:5px 7px;border-radius:999px;background:rgba(0,0,0,.5)}.detail-modal{width:min(1180px,92vw);max-width:none;padding:0;border:1px solid rgba(255,255,255,.18);border-radius:22px;background:#0d100e;color:#fff;box-shadow:0 35px 90px rgba(0,0,0,.65)}.detail-modal::backdrop{background:rgba(0,0,0,.8)}.modal-shell{padding:18px}.modal-header{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:2px 2px 14px}.modal-kicker{font-size:9px;letter-spacing:.18em;color:rgba(255,255,255,.55)}.modal-header h2{margin:4px 0 0;font-size:28px;font-weight:500}.modal-close{width:42px;height:42px;border-radius:50%;font-size:24px}.modal-media{min-height:420px;max-height:76vh;display:grid;place-items:center;overflow:hidden;border-radius:16px;background:#f3f3f0}.modal-media img{width:100%;height:100%;max-height:76vh;object-fit:contain}.detail-fallback{color:#222;text-align:center;padding:60px 24px}.screen-warning{display:none}@media(min-width:768px) and (max-width:1180px){.hero-copy{left:24px;width:34vw}.detail-button{left:20px;top:96px}.media-tools{right:20px}.nav-arrow.prev{left:20px}.nav-arrow.next{right:20px}.selector-wrap{left:20px;right:20px}.product-rail{grid-auto-columns:145px}}@media(min-width:768px) and (max-height:760px){.topbar{height:62px;padding-top:12px;padding-bottom:12px}.hero-copy{top:45%}.selector-wrap{height:108px;bottom:8px}.product-rail{height:88px}.product-card{height:80px}.detail-button{top:76px}.media-tools button{width:38px;height:38px}.nav-arrow{width:42px;height:42px}}@media(max-width:767px),(max-height:540px){.showroom,.detail-modal{display:none!important}.screen-warning{position:fixed;inset:0;display:grid;place-items:center;padding:24px;background:#0b0d0c}.screen-warning-card{width:min(480px,100%);text-align:center}.screen-warning-logo{margin-bottom:42px;font-size:17px;font-weight:700;letter-spacing:.28em}.screen-warning h2{margin:0;font-size:clamp(28px,8vw,42px);line-height:1.08}.screen-warning p{margin:20px auto 28px;max-width:420px;color:rgba(255,255,255,.68);font-size:14px;line-height:1.65}.warning-button{display:inline-flex;align-items:center;gap:10px;padding:12px 17px;border:1px solid rgba(255,255,255,.46);border-radius:999px;color:#fff;text-decoration:none;background:rgba(255,255,255,.06)}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
/* Controles Foto / 3D. O renderizador só é montado quando solicitado. */
[hidden]{display:none!important}
.product-rail{touch-action:pan-y}
.nav-arrow.next{right:84px}
.brand img{display:block;width:140px;height:46px;object-fit:contain;filter:brightness(0) invert(1)}
.screen-warning-logo img{width:180px;max-height:72px;object-fit:contain;filter:brightness(0) invert(1)}
.media-switch{position:absolute;z-index:12;top:112px;right:28px;display:flex;gap:4px;padding:4px;border:1px solid rgba(255,255,255,.3);border-radius:999px;background:rgba(8,10,9,.75)}
.media-switch button{padding:9px 18px;border-radius:999px;background:transparent;font-size:12px;cursor:pointer}
.media-switch button[aria-pressed=true]{background:#fff;color:#111}
.media-switch button:focus-visible,button:focus-visible,a:focus-visible{outline:2px solid #fff;outline-offset:3px}
.model-stage{position:absolute;inset:0;z-index:4;background:radial-gradient(ellipse at center,#303831,#0b0d0c 75%)}
.model-stage canvas{display:block;width:100%;height:100%;touch-action:none}
.showing-model .hero-copy{top:32%;width:min(300px,24vw)}
.showing-model .hero-copy h1{font-size:clamp(32px,4vw,64px)}
.showing-model .tagline{display:none}
.media-status{position:absolute;z-index:11;left:50%;top:50%;transform:translate(-50%,-50%);max-width:460px;width:75%;margin:0;padding:20px 24px;border:1px solid rgba(255,255,255,.2);border-radius:16px;background:rgba(8,10,9,.88);font-size:14px;line-height:1.6;text-align:center;pointer-events:none}
.topbar .media-switch{position:absolute;top:50%;left:50%;right:auto;transform:translate(-50%,-50%);pointer-events:auto}
.topbar .media-switch button{min-width:76px;font-weight:700;letter-spacing:.1em}
.configuring .image-track,.configuring .image-shade{visibility:hidden}
.configuring .selector-wrap{height:182px}
.component-tabs{display:flex;align-items:center;gap:8px;margin:0 0 14px}
.component-tabs button{padding:10px 20px;border:1px solid rgba(255,255,255,.25);border-radius:999px;background:rgba(8,10,9,.6);color:rgba(255,255,255,.7);cursor:pointer;font-size:13px}
.component-tabs button[aria-selected=true]{color:#111;background:#fff;border-color:#fff}
.configuring .product-rail{grid-auto-columns:minmax(150px,200px)}
.configuring .hero-copy{top:110px;left:34px;transform:none;width:min(600px,70vw)}
.configuring .hero-copy h1{font-size:32px;letter-spacing:-.035em}
.configuring .hero-copy .eyebrow{margin-bottom:10px}
.configuring .hero-copy .tagline{display:block;max-width:600px;margin-top:12px;font-size:12px;line-height:1.5}
.configuring .model-stage{inset:200px 82px 214px 24px;border-radius:24px;background:radial-gradient(ellipse at center,#303831,#0b0d0c 75%)}
@media(min-width:768px) and (max-height:760px){
  .configuring .selector-wrap{height:158px}
  .configuring .hero-copy{top:76px}
  .configuring .hero-copy h1{font-size:26px}
  .configuring .hero-copy .eyebrow{display:none}
  .configuring .model-stage{inset:132px 76px 174px 20px}
}
/* Quarto Three.js e cores de tecido, com o canvas independente dos controles. */
.configuring .model-stage{background:#e8e5df;overflow:hidden}
.fabric-controls{position:absolute;z-index:12;top:105px;right:28px;display:grid;gap:10px}
.fabric-group{display:flex;align-items:center;gap:8px}
.fabric-group>span{width:65px;color:rgba(255,255,255,.8);font-size:11px}
.fabric-swatch{width:28px;height:28px;border-radius:50%;background:var(--fabric-color);border:2px solid rgba(255,255,255,.25);cursor:pointer;position:relative}
.fabric-swatch[aria-pressed=true]{border-color:#fff;box-shadow:0 0 0 3px rgba(255,255,255,.24)}
.fabric-swatch[aria-pressed=true]::after{content:'✓';position:absolute;inset:0;display:grid;place-items:center;color:#fff;font-size:15px;text-shadow:0 1px 3px #000}
.fabric-original{padding:5px 8px;border:1px solid rgba(255,255,255,.35);border-radius:999px;background:rgba(8,10,9,.6);font-size:10px;cursor:pointer}
.fabric-original[aria-pressed=true]{background:#fff;color:#111}
.scene-controls{position:absolute;z-index:12;top:87px;left:34px;display:flex;align-items:end;gap:10px}
.scene-controls label{display:grid;gap:4px;color:rgba(255,255,255,.72);font-size:10px;letter-spacing:.08em;text-transform:uppercase}
.scene-controls select{max-width:200px;min-width:150px;padding:9px 12px;border:1px solid rgba(255,255,255,.3);border-radius:9px;background:#171a18;color:#fff;font:500 12px Manrope,Arial,sans-serif;cursor:pointer}
.configuring .hero-copy{top:143px}
.configuring .model-stage{top:242px}
.configuring .product-rail{grid-auto-columns:minmax(140px,170px)}
@media(min-width:768px) and (max-height:760px){
  .scene-controls{top:67px;left:20px}
  .configuring .hero-copy{top:128px}
  .fabric-controls{top:73px;gap:8px}
  .fabric-swatch{width:24px;height:24px}
  .configuring .hero-copy{width:55vw}
  .configuring .model-stage{top:210px}
}
@media(max-width:767px),(max-height:540px){
  .showroom{display:block!important}
  .detail-modal{display:revert!important}
  .screen-warning{display:none!important}
  .topbar{height:66px;padding:10px 12px;background:linear-gradient(180deg,rgba(0,0,0,.55),transparent)}
  .brand img{width:92px;height:36px}
  .top-actions{gap:5px}
  .counter{display:none}
  .system-button{padding:9px 10px;font-size:11px}
  .system-button span:first-child{font-size:0}
  .system-button span:first-child::after{content:'Sistema';font-size:11px}
  .topbar .media-switch{padding:3px}
  .topbar .media-switch button{min-width:48px;padding:8px 10px;font-size:10px}
  .hero-copy{left:16px;top:48%;width:65vw}
  .hero-copy h1{font-size:48px}
  .tagline{font-size:13px;line-height:1.5;margin-top:14px}
  .detail-button{top:78px;left:16px;height:36px}
  .media-tools{right:12px;gap:6px}
  .media-tools button{width:34px;height:34px;font-size:18px;border-radius:10px}
  .nav-arrow{width:36px;height:36px;font-size:25px}
  .nav-arrow.prev{left:16px;transform:translateY(220%)}
  .nav-arrow.next{right:12px;transform:translateY(220%)}
  .selector-wrap{left:12px;right:12px;bottom:max(12px,env(safe-area-inset-bottom));height:112px}
  .selector-head{font-size:8px;letter-spacing:.04em;gap:8px}
  .product-rail{height:90px;grid-auto-columns:130px}
  .product-card{height:84px}
  .autoplay-status{display:none}
  .scene-controls{top:70px;left:12px;right:12px;gap:8px}
  .scene-controls label{min-width:0;flex:1;font-size:9px}
  .scene-controls select{width:100%;max-width:none;min-width:0;padding:7px 8px;font-size:11px}
  .configuring .hero-copy{top:133px;left:16px;width:calc(100% - 32px)}
  .configuring .hero-copy .eyebrow{display:none}
  .configuring .hero-copy h1{font-size:25px}
  .configuring .hero-copy .tagline{margin-top:8px;font-size:10px}
  .fabric-controls{top:198px;left:16px;right:auto;gap:8px}
  .fabric-group>span{width:60px;font-size:10px}
  .fabric-swatch{width:25px;height:25px}
  .configuring .model-stage{inset:280px 12px 175px;border-radius:16px}
  .configuring .media-tools{top:298px;right:20px;transform:none;gap:5px}
  .configuring .media-tools button{width:30px;height:30px;background:rgba(8,10,9,.72)}
  .configuring .selector-wrap{height:152px}
  .component-tabs{gap:6px;margin-bottom:10px}
  .component-tabs button{padding:9px 14px;font-size:12px}
  .configuring .product-rail{grid-auto-columns:minmax(110px,31vw)}
  .modal-media{min-height:240px}
  .modal-header h2{font-size:22px}
}
@media(max-height:540px) and (min-width:600px){
  .scene-controls{top:68px;right:auto;width:46vw}
  .configuring .hero-copy{top:128px;width:50vw}
  .fabric-controls{top:73px;left:auto;right:16px;gap:6px}
  .configuring .model-stage{inset:195px 58px 154px 12px}
  .configuring .media-tools{top:210px;right:14px}
  .configuring .selector-wrap{height:132px}
  .configuring .product-rail{height:74px;grid-auto-columns:150px}
  .configuring .product-card{height:68px}
  .component-tabs{margin-bottom:6px}
}
