/* ===== Páginas de estudo de caso: sites ===== */
.cs-hero{min-height:100svh;padding:calc(var(--f) + 26px) 0 clamp(60px,10vh,110px);display:flex;flex-direction:column}
.cs-kind{display:flex;gap:16px;font-size:.8125rem;font-weight:500;text-transform:uppercase;letter-spacing:.04em;color:var(--muted);margin-top:clamp(40px,10vh,110px)}
.cs-kind span+span::before{content:"·";margin-right:16px}
.cs-title{font-weight:500;text-transform:uppercase;letter-spacing:-.05em;line-height:.82;margin:14px 0 clamp(20px,4vh,40px) -.04em;white-space:nowrap}
.cs-title span{display:block;font-size:clamp(3rem,11vw,12rem)}
.cs-row{display:flex;justify-content:space-between;align-items:flex-end;gap:28px;flex-wrap:wrap;margin-bottom:clamp(36px,7vh,72px)}
.cs-sub{max-width:44ch;font-size:clamp(1.125rem,1rem + .5vw,1.5rem);line-height:1.35}
.js .cs-kind,.js .cs-title,.js .cs-row,.js .cs-shot{opacity:0;animation:up 1.1s var(--ease) forwards}
.js .cs-title{animation-delay:.08s}.js .cs-row{animation-delay:.25s}.js .cs-shot{animation-delay:.4s}

/* janela de navegador e celular */
.browser{background:#1b1a18;border-radius:10px;overflow:hidden;box-shadow:0 40px 80px -30px rgba(0,0,0,.8)}
.bar{display:flex;align-items:center;gap:7px;height:34px;padding:0 14px;background:#22211e}
.bar i{width:10px;height:10px;border-radius:50%;background:#45423c}
.bar span{margin-left:14px;flex:1;max-width:340px;height:20px;border-radius:6px;background:#2d2b27;color:#9a958a;font-size:11px;line-height:20px;padding:0 10px;font-weight:500}
.browser>img{width:100%;height:auto}
.phone{background:#111;border-radius:38px;padding:10px;box-shadow:0 40px 80px -30px rgba(0,0,0,.8),inset 0 0 0 1.5px #3a3833}
.phone .scr{border-radius:28px}

/* o projeto */
.cs-intro{display:grid;grid-template-columns:1fr 1fr;gap:clamp(24px,4vw,64px)}
.cs-intro p:first-child{grid-column:1/-1;font-size:clamp(1.4rem,2.2vw,2.2rem);font-weight:500;letter-spacing:-.03em;line-height:1.15;max-width:36ch;margin-bottom:12px}
.cs-intro p{max-width:46ch}
.cs-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px clamp(24px,4vw,56px);margin:clamp(48px,8vh,90px) 0 0}
.cs-facts dt{font-size:.8125rem;font-weight:500;text-transform:uppercase;letter-spacing:.04em;color:var(--accent);margin-bottom:6px}
.cs-facts dd{margin:0;font-size:clamp(1.1rem,1rem + .4vw,1.4rem);font-weight:500;letter-spacing:-.02em}

/* navegue: a faixa usa a cor do próprio projeto */
.tone-case{background:var(--cbg);color:var(--cink);margin-right:calc(-1*(var(--m) + var(--f)));padding:clamp(80px,13vh,140px) calc(var(--m) + var(--f)) clamp(80px,13vh,140px) clamp(20px,3vw,48px)}
.tone-case .shead h2{color:var(--cink)}
.cs-navlede{font-size:clamp(1.4rem,2.4vw,2.4rem);font-weight:500;letter-spacing:-.035em;line-height:1.1;max-width:26ch;margin-bottom:clamp(36px,6vh,64px)}
.devices{grid-column:1/-1!important;display:grid;grid-template-columns:minmax(0,1fr) clamp(220px,22vw,300px);gap:clamp(24px,4vw,64px);align-items:end}
.scr{overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;outline:none}
.scr:focus-visible{box-shadow:inset 0 0 0 2px var(--accent)}
.scr img{width:100%;height:auto;display:block}
.dev-d .scr{height:min(68svh,640px)}
.dev-m .scr{aspect-ratio:9/19.5}

/* destaques */
.hls{display:flex;flex-direction:column;gap:clamp(64px,12vh,140px)}
.hl{margin:0;display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:clamp(24px,4vw,64px);align-items:end}
.hl-r .hl-img{order:2}
.hl-img{border-radius:8px;overflow:hidden;box-shadow:0 30px 60px -30px rgba(0,0,0,.8)}
.hl-img img{width:100%;height:auto;transition:transform 1.2s var(--ease)}
.hl:hover .hl-img img{transform:scale(1.02)}
.hl figcaption{display:flex;flex-direction:column;gap:12px;padding-bottom:8px}
.hl-t{font-size:clamp(1.6rem,2.6vw,2.8rem);font-weight:500;text-transform:uppercase;letter-spacing:-.045em;line-height:.95}
.hl-d{color:var(--muted);max-width:36ch}

/* ficha */
.cs-ficha{display:grid;grid-template-columns:1fr 1fr;gap:clamp(28px,5vw,80px)}
.cs-h{font-size:.8125rem;font-weight:500;text-transform:uppercase;letter-spacing:.04em;color:var(--accent);margin-bottom:16px}
.deliv li{font-size:clamp(1.2rem,1rem + .7vw,1.75rem);font-weight:500;letter-spacing:-.03em;line-height:1.2;padding:8px 0}
.cs-credit{color:var(--muted);margin-bottom:16px;max-width:40ch}
.cs-credit a{color:var(--ink)}

@media (max-width:900px){
  .cs-title{white-space:normal}
  .cs-title span{font-size:clamp(2.6rem,14vw,5rem)!important;white-space:normal}
  .cs-intro,.cs-facts,.cs-ficha,.hl,.devices{grid-template-columns:1fr}
  .hl-r .hl-img{order:0}
  .tone-case{margin-left:calc(-1*(var(--m) + var(--f)));padding-left:calc(var(--m) + var(--f))}
  .dev-m{max-width:260px;margin:0 auto}
  .dev-d .scr{height:56svh}
}
@media (prefers-reduced-motion:reduce){.js .cs-kind,.js .cs-title,.js .cs-row,.js .cs-shot{opacity:1;animation:none}}
main>section.cs-hero{display:flex;flex-direction:column}
.hl-r{grid-template-columns:minmax(0,1fr) minmax(0,1.6fr)}.hl-r figcaption{order:1}@media (max-width:900px){.hl-r{grid-template-columns:1fr}}
.cs-kind{flex-wrap:wrap;gap:6px 16px}
