.spb-works-section{padding:72px 0 90px}.spb-works-section> .container>h1,.spb-works-section> .container>h2{max-width:820px}.spb-works-grid{display:grid;grid-template-columns:repeat(var(--spb-work-cols,3),minmax(0,1fr));gap:24px;margin-top:30px}.spb-work-card{overflow:hidden;background:#fff;border:1px solid #e5e9f2;border-radius:20px;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}.spb-work-card:hover{transform:translateY(-4px);box-shadow:0 22px 55px rgba(18,30,55,.11);border-color:#d8dfeb}.spb-work-card a{display:block;text-decoration:none;color:inherit;height:100%}.spb-work-card img,.spb-work-card-placeholder{display:block;width:100%;aspect-ratio:16/11;object-fit:cover;background:#f5f7fa}.spb-work-card> a>div{display:flex;flex-direction:column;align-items:flex-start;min-height:190px;padding:22px}.spb-work-card small{color:#727d91;text-transform:uppercase;font-size:11px;font-weight:800;letter-spacing:.09em}.spb-work-card h3{margin:7px 0 8px;font-size:22px;line-height:1.14}.spb-work-card p{margin:0;color:#667085;line-height:1.55;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.spb-work-card-link{margin-top:auto;padding-top:18px;font-weight:800;font-size:13px}.spb-works-empty{margin-top:30px;padding:42px;background:#f8fafc;border-radius:18px;display:flex;flex-direction:column;align-items:flex-start;gap:8px}.spb-work-cta{display:inline-flex;margin-top:12px;background:#0c2f59;color:#fff;border-radius:999px;padding:12px 20px;font-weight:800;text-decoration:none}

/* Página de projeto 5.8.0 */
.spb-work-hero{padding:72px 0 34px;background:linear-gradient(180deg,#f8fafc 0%,#fff 100%)}.spb-work-hero-copy{max-width:940px}.spb-work-hero .eyebrow{display:inline-flex;margin-bottom:14px}.spb-work-hero h1{margin:0;max-width:980px;font-size:clamp(38px,5vw,68px);line-height:1.02;letter-spacing:-.04em}.spb-work-meta{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}.spb-work-meta span{display:inline-flex;align-items:center;gap:7px;padding:8px 12px;border:1px solid #e2e7ef;border-radius:999px;background:#fff;color:#556176;font-size:13px;font-weight:700}.spb-work-hero .lead{max-width:780px;margin:22px 0 0;color:#667085;font-size:19px;line-height:1.62}.spb-work-body{padding:18px 0 96px}.spb-work-gallery-shell{max-width:1180px;margin:0 auto}.spb-work-gallery-stage{position:relative;overflow:hidden;border:1px solid #e2e7ef;border-radius:24px;background:#f4f6f9;box-shadow:0 18px 50px rgba(23,36,62,.07)}.spb-work-gallery-slide{display:none;width:100%;height:min(68vw,720px);min-height:460px;padding:0;border:0;background:transparent;cursor:zoom-in}.spb-work-gallery-slide.is-active{display:block}.spb-work-gallery-slide img{display:block;width:100%;height:100%;object-fit:contain;background:#f4f6f9}.spb-work-gallery-arrow{position:absolute;z-index:3;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:50px;height:50px;padding:0;border:1px solid rgba(15,27,51,.12);border-radius:999px;background:rgba(255,255,255,.94);box-shadow:0 8px 24px rgba(15,27,51,.14);font-size:34px;line-height:1;color:#111827;cursor:pointer;transition:transform .15s ease,background .15s ease}.spb-work-gallery-arrow:hover{background:#fff;transform:translateY(-50%) scale(1.04)}.spb-work-gallery-prev{left:20px}.spb-work-gallery-next{right:20px}.spb-work-gallery-bottom{position:absolute;z-index:3;left:50%;bottom:16px;transform:translateX(-50%);display:flex;align-items:center;gap:12px;padding:8px 10px;border-radius:999px;background:rgba(15,23,42,.72);backdrop-filter:blur(8px)}.spb-work-gallery-dots{display:flex;align-items:center;gap:6px}.spb-work-gallery-dots button{width:7px;height:7px;padding:0;border:0;border-radius:999px;background:rgba(255,255,255,.42);cursor:pointer;transition:width .2s ease,background .2s ease}.spb-work-gallery-dots button.is-active{width:22px;background:#fff}.spb-work-gallery-counter{color:#fff;font-size:11px;font-weight:800;white-space:nowrap}.spb-work-gallery-thumbs{display:flex;gap:10px;overflow-x:auto;padding:14px 2px 4px;scrollbar-width:thin}.spb-work-gallery-thumbs button{flex:0 0 112px;height:78px;padding:3px;border:2px solid transparent;border-radius:12px;background:#fff;cursor:pointer;overflow:hidden;transition:border-color .15s ease,opacity .15s ease}.spb-work-gallery-thumbs button:not(.is-active){opacity:.66}.spb-work-gallery-thumbs button.is-active{border-color:#111827;opacity:1}.spb-work-gallery-thumbs img{display:block;width:100%;height:100%;object-fit:cover;border-radius:8px}.spb-work-info-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(260px,.65fr);gap:24px;align-items:start;max-width:1180px;margin:42px auto 0}.spb-work-panel{padding:30px;border:1px solid #e5e9f2;border-radius:22px;background:#fff}.spb-work-panel h2{margin:0 0 15px;font-size:27px;letter-spacing:-.02em}.spb-work-description{color:#56627a;line-height:1.8;overflow-wrap:anywhere}.spb-work-description>*:first-child{margin-top:0}.spb-work-description>*:last-child{margin-bottom:0}.spb-work-description img,.spb-work-description figure,.spb-work-description video,.spb-work-description iframe{display:none!important}.spb-work-facts{display:grid;gap:16px}.spb-work-fact{display:grid;gap:4px;padding-bottom:15px;border-bottom:1px solid #edf0f5}.spb-work-fact:last-child{padding-bottom:0;border-bottom:0}.spb-work-fact small{font-size:10px;letter-spacing:.09em;text-transform:uppercase;color:#8a94a6;font-weight:800}.spb-work-fact strong{font-size:15px;color:#202a3c}.spb-work-products{display:flex;gap:8px;flex-wrap:wrap}.spb-work-products a{padding:7px 11px;background:#f2f4f7;border-radius:999px;text-decoration:none;color:inherit;font-size:12px;font-weight:800}.spb-work-video-section{max-width:1180px;margin:42px auto 0}.spb-work-section-title{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:16px}.spb-work-section-title h2{margin:0;font-size:30px}.spb-work-section-title p{margin:0;color:#667085}.spb-work-video-frame{overflow:hidden;width:100%;aspect-ratio:16/9;border-radius:22px;background:#0b0d12;box-shadow:0 18px 50px rgba(8,12,22,.14)}.spb-work-video-frame video,.spb-work-video-frame iframe{display:block;width:100%;height:100%;border:0;object-fit:contain;background:#0b0d12}.spb-related-works{padding:76px 0 96px;background:#f8fafc}.spb-related-works .spb-work-section-title{margin-bottom:0}

/* Lightbox */
.spb-lightbox-lock{overflow:hidden!important}.spb-lightbox{position:fixed;inset:0;height:100svh;height:100dvh;height:var(--sb-vv-height,100dvh);max-height:var(--sb-vv-height,100dvh);z-index:99999;display:none;align-items:center;justify-content:center;padding:70px 90px;background:rgba(7,9,13,.94);backdrop-filter:blur(9px)}.spb-lightbox.open{display:flex}.spb-lightbox figure{display:grid!important;margin:0!important;max-width:min(1280px,88vw)!important;max-height:calc(var(--sb-vv-height,100dvh) - 110px)!important;place-items:center;gap:10px}.spb-lightbox figure img{display:block!important;max-width:100%!important;max-height:calc(var(--sb-vv-height,100dvh) - 150px)!important;width:auto!important;height:auto!important;object-fit:contain!important;border-radius:12px!important;background:#fff;box-shadow:0 24px 80px rgba(0,0,0,.38)}.spb-lightbox figcaption{color:#fff;font-size:12px;text-align:center;opacity:.74}.spb-lightbox-close,.spb-lightbox-prev,.spb-lightbox-next{position:absolute;border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.1);color:#fff;border-radius:999px;display:grid;place-items:center;cursor:pointer;backdrop-filter:blur(4px)}.spb-lightbox-close{right:24px;top:22px;width:46px;height:46px;font-size:30px;line-height:1}.spb-lightbox-prev,.spb-lightbox-next{top:50%;transform:translateY(-50%);width:52px;height:52px;font-size:38px}.spb-lightbox-prev{left:22px}.spb-lightbox-next{right:22px}.spb-lightbox-counter{position:absolute;left:50%;bottom:22px;transform:translateX(-50%);padding:6px 10px;border-radius:999px;background:rgba(0,0,0,.45);color:#fff;font-size:11px}.spb-lightbox button:hover{background:rgba(255,255,255,.18)}

@media(max-width:900px){.spb-works-grid{grid-template-columns:repeat(2,1fr)}.spb-work-info-grid{grid-template-columns:1fr}.spb-work-gallery-slide{height:min(80vw,620px);min-height:380px}.spb-work-hero{padding-top:54px}}
@media(max-width:600px){.spb-works-grid{grid-template-columns:1fr}.spb-work-hero{padding:40px 0 22px}.spb-work-hero h1{font-size:clamp(34px,10vw,48px)}.spb-work-body{padding-top:8px}.spb-work-gallery-stage{border-radius:16px}.spb-work-gallery-slide{height:74vw;min-height:270px}.spb-work-gallery-prev{left:9px}.spb-work-gallery-next{right:9px}.spb-work-gallery-arrow{width:42px;height:42px;font-size:29px}.spb-work-gallery-thumbs button{flex-basis:82px;height:58px}.spb-work-info-grid{margin-top:28px}.spb-work-panel{padding:22px;border-radius:18px}.spb-work-video-section{margin-top:30px}.spb-work-video-frame{border-radius:16px}.spb-lightbox{padding:64px 14px}.spb-lightbox-prev,.spb-lightbox-next{width:42px;height:42px;font-size:30px}.spb-lightbox-prev{left:8px}.spb-lightbox-next{right:8px}.spb-lightbox-close{right:10px;top:10px}.spb-related-works{padding:54px 0 70px}}

/* 5.8.1 · galeria desktop compacta e delicada */
@media(min-width:901px){
  .spb-work-gallery-shell{max-width:1040px;display:grid;grid-template-columns:minmax(0,1fr) 112px;gap:14px;align-items:start}
  .spb-work-gallery-stage{grid-column:1;grid-row:1}
  .spb-work-gallery-slide{height:min(52vw,580px);min-height:420px}
  .spb-work-gallery-thumbs{grid-column:2;grid-row:1;display:flex;flex-direction:column;gap:9px;overflow-y:auto;overflow-x:hidden;max-height:min(52vw,580px);padding:2px 5px 2px 0}
  .spb-work-gallery-thumbs button{flex:0 0 78px;width:106px;height:78px}
}
.spb-work-products-wrap{display:grid;gap:9px}
.spb-work-products-wrap:not(.is-expanded) .spb-work-products{max-height:96px;overflow:hidden}
.spb-products-more{justify-self:start;border:0;background:transparent;padding:0;color:inherit;font:inherit;font-size:12px;font-weight:800;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.spb-work-style-visual .spb-work-card{position:relative}
.spb-work-style-visual .spb-work-card>a>div{position:absolute;left:12px;right:12px;bottom:12px;min-height:0;padding:14px 16px;border-radius:14px;background:rgba(12,28,69,.92);color:#fff;backdrop-filter:blur(8px)}
.spb-work-style-visual .spb-work-card h3{margin:4px 0;color:#fff}.spb-work-style-visual .spb-work-card p,.spb-work-style-visual .spb-work-card-link{display:none}.spb-work-style-visual .spb-work-card small{color:rgba(255,255,255,.72)}
