/* MDQ Projetos: copia do CSS das paginas de projeto e da grade de cards (00-css-global.css e 11-projects.html).
   Carrega ANTES do CSS adicional do tema, entao o CSS global continua mandando. */
body .mdq-page{position:relative;z-index:10;overflow-x:clip}
body .mdq-page.dark{background:#000;color:#fff}
body .mdq-page.dark::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background-image:radial-gradient(circle,rgba(255,255,255,.18) 1px,transparent 1px);background-size:24px 24px;background-position:12px 12px}
body .mdq.js .reveal{opacity:0;transform:translateY(24px);transition:opacity .8s var(--ease),transform .8s var(--ease)}
body .mdq.js .reveal.in{opacity:1;transform:none}
body .mdq .pd{display:block}
body .mdq .pd-side{border-right:0;background:#fff;color:#000;z-index:20}
body .mdq .pd-side-in{padding:1.5rem;display:flex;flex-direction:column}
body .mdq .pd-side h1{font-weight:700;text-transform:uppercase;letter-spacing:-.05em;line-height:.85;font-size:3rem;margin-bottom:1.5rem}
body .mdq .pd-side .sum{margin-bottom:2.5rem;color:rgba(0,0,0,.7)}
body .mdq .pd-side .btn{margin-top:2.5rem;padding-top:1rem}
body .mdq .pd-hero{position:relative;width:100%;height:50vh;border-bottom:1px solid #000;overflow:hidden}
body .mdq .pd-quote{padding:5rem 1.5rem;border-bottom:1px solid #000}
body .mdq .pd-quote blockquote{font-style:italic;font-size:1.875rem;line-height:1.15;text-wrap:balance}
body .mdq .pd-quote blockquote .q{color:var(--blue);font-size:3.75rem;line-height:1}
body .mdq .pd-quote .by{margin-top:2rem}
body .mdq .pd-shot{position:relative;width:100%;overflow:hidden;border-bottom:1px solid #000;height:50vh}
body .mdq .pd-shot.alt{height:60vh}
body .mdq .pd-approach{padding:5rem 1.5rem;border-bottom:1px solid #000}
body .mdq .pd-approach .txt p+p{margin-top:1.5rem}
body .mdq .pd-approach .txt{color:rgba(0,0,0,.7)}
body .mdq .pd-more{padding:4rem 1.5rem}
body .mdq .more-grid{display:grid;grid-template-columns:1fr;border-top:1px solid #000}
body .mdq .more-grid a{display:flex;align-items:center;justify-content:space-between;gap:3rem;padding:2rem 0;border-bottom:1px solid #000;transition:color .15s}
body .mdq .more-grid a:hover{color:var(--blue)}
body .mdq .more-grid span{font-weight:700;text-transform:uppercase;letter-spacing:-.05em;font-size:1.875rem;line-height:2.25rem}
body .mdq .more-grid .ic{width:28px;height:28px;transition:transform .15s}
body .mdq .more-grid a:hover .ic{transform:rotate(45deg)}
@media (prefers-reduced-motion:reduce){body .mdq.js .reveal{transition:none}}
@media (min-width:768px){body .mdq .pd{display:flex}body .mdq .pd-side{position:fixed;top:64px;left:0;bottom:0;width:33.3333%;overflow-y:auto;border-right:0;scrollbar-width:none;-ms-overflow-style:none}body.admin-bar .mdq .pd-side{top:96px}body .mdq .pd-side::-webkit-scrollbar{display:none}body .mdq .pd-side-in{padding:2.5rem;min-height:100%}body .mdq .pd-side .btn{margin-top:auto}body .mdq .pd-main{width:66.6667%;margin-left:33.3333%}body .mdq .pd-hero{height:80vh}body .mdq .pd-quote{padding:8rem 4rem}body .mdq .pd-quote blockquote{font-size:3rem}body .mdq .pd-shot{height:80vh}body .mdq .pd-shot.alt{height:100vh}body .mdq .pd-approach{padding:8rem 4rem}body .mdq .pd-approach .txt{grid-column:span 6}body .mdq .pd-more{padding:6rem 4rem}body .mdq .more-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body .mdq .more-grid span{font-size:2.25rem;line-height:2.5rem}}
@media (min-width:768px) and (max-width:781px){body.admin-bar .mdq .pd-side{top:110px}}
body .mdq .pd-gal{--g:.75rem;display:flex;flex-direction:column;gap:var(--g);padding:var(--g)}
body .mdq .pd-row{display:flex;gap:var(--g);align-items:flex-start}
body .mdq .pd-row .pd-img{margin:0;min-width:0;flex:var(--ar) 1 0;overflow:hidden}
body .mdq .pd-row.one .pd-img{flex:1 1 100%}
body .mdq .pd-row.solo .pd-img{flex:0 0 70%}
body .mdq .pd-img img{display:block;width:100%;height:auto;max-width:100%}
@media(min-width:768px){body .mdq .pd-gal{--g:1rem}body .mdq .pd-row.solo .pd-img{flex-basis:62%}}
body .mdq .pd-main{background:#fff}
body .mdq .pd-side .sum{font-size:1rem;line-height:1.5;margin-bottom:2rem}
body .mdq .pd-hero .media{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
body .mdq .pd-gal{--g:.75rem;padding:var(--g) var(--g) 2rem}
body .mdq .pd-txt{min-width:0}
body .mdq .pd-gal>.pd-txt{padding:2rem .5rem;max-width:44rem;font-size:1.25rem;line-height:1.35}
body .mdq .pd-row.split{flex-direction:column;align-items:stretch;gap:1.5rem;padding:1.5rem 0}
body .mdq .pd-row.split .pd-txt{font-size:1.25rem;line-height:1.35;padding:0 .5rem}
body .mdq .pd-row.split .pd-img{flex:none;width:100%}
body .mdq .pd-cap{font-size:.75rem;line-height:1.1rem;color:rgba(0,0,0,.65);margin-top:.5rem}
body .mdq .pd-cap-row{padding:0 .25rem}
body .mdq .pd-cap-row.r{text-align:right}
body .mdq .pd-svc h3{font-size:.875rem;line-height:1.25rem;font-weight:700;margin-top:1.25rem}
body .mdq .pd-svc h3:first-child{margin-top:0}
body .mdq .pd-svc ul{margin-top:.25rem}
body .mdq .pd-svc li{font-size:.875rem;line-height:1.3rem;padding-left:.9rem;position:relative}
body .mdq .pd-svc li:before{content:"\2022";position:absolute;left:0}
body .mdq .pd-vidwrap{flex:1 1 100%;min-width:0}
body .mdq .pd-vid{position:relative;width:100%;aspect-ratio:var(--ar,16/9);background:#000;overflow:hidden}
body .mdq .pd-vid img,body .mdq .pd-vid video,body .mdq .pd-vid iframe{position:absolute;inset:0;width:100%;height:100%;border:0;object-fit:cover;display:block}
body .mdq .pd-play{position:absolute;left:50%;top:50%;width:72px;height:72px;margin:-36px 0 0 -36px;border-radius:50%;border:0;background:rgba(255,255,255,.92);cursor:pointer;display:flex;align-items:center;justify-content:center;transition:transform .2s}
body .mdq .pd-play:hover{transform:scale(1.08)}
body .mdq .pd-play svg{width:28px;height:28px;fill:#000;margin-left:3px}
body .mdq .pd-vid.on .pd-play{display:none}
body .mdq .pd-closing{border-top:1px solid #000;padding:3rem 1.25rem 3.5rem}
body .mdq .pd-closing p{font-weight:700;font-size:1rem;line-height:1.35;max-width:28rem}
body .mdq .pd-attr{margin-top:3rem}
body .mdq .pd-attr p{font-size:.8125rem;line-height:1.3rem}
body .mdq .pd-attr .names{max-width:34rem;color:rgba(0,0,0,.65)}
@media(min-width:768px){body .mdq .pd-gal{--g:1rem}body .mdq .pd-gal>.pd-txt{padding:3rem 1.5rem;font-size:1.75rem;line-height:1.25}body .mdq .pd-row.split{flex-direction:row;align-items:center;gap:2.5rem;padding:2rem .5rem}body .mdq .pd-row.split .pd-txt{flex:1 1 0;font-size:1.25rem;line-height:1.4;padding:0}body .mdq .pd-row.split .pd-img{flex:0 0 var(--iw,50%);width:auto}body .mdq .pd-closing{padding:4rem 2.5rem 5rem}body .mdq .pd-closing p{font-size:1.125rem}}
body .mdq .pd-row.pair .pd-img,body .mdq .pd-row.wide .pd-img{flex:1 1 0;margin:0;min-width:0;overflow:hidden;background:#F2F2F0}
body .mdq .pd-row.pair .pd-img{aspect-ratio:4/5}
body .mdq .pd-row.wide .pd-img{aspect-ratio:3/2}
body .mdq .pd-row.pair .pd-img img,body .mdq .pd-row.wide .pd-img img{width:100%;height:100%;object-fit:cover}
body .mdq .pd-note{background:#F2F2F0;padding:3rem 1.5rem;font-size:1.25rem;line-height:1.4}
body .mdq .pd-note p{max-width:40rem}
body .mdq .pd-note p+p{margin-top:1.25rem}
body .mdq .pd-hero-vid .media{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
@media(max-width:599px){body .mdq .pd-row.pair{flex-direction:column}body .mdq .pd-row.pair .pd-img{flex:none;width:100%}}
@media(min-width:768px){body .mdq .pd-note{padding:6rem 4rem;font-size:1.5rem}}
body .mdq .pd-row.pair .pd-img.fit img,body .mdq .pd-row.wide .pd-img.fit img{object-fit:contain}
body .mdq .pd-row.pair{align-items:stretch}
body .mdq .pd-row.pair>.pd-note.cell{flex:1 1 0;min-width:0;display:flex;flex-direction:column;justify-content:flex-end;padding:2rem;font-size:.9375rem;line-height:1.45}
body .mdq .pd-note .pd-svc{margin-top:2rem}
body .mdq .pd-note.cell .pd-svc{margin-top:0}
body .mdq .pd-note.close p{font-size:1.5rem;line-height:1.2;max-width:36rem}
body .mdq .pd-note .pd-attr{margin-top:2rem;font-size:.875rem}
body .mdq .pd-ed .pd-row.wide+.pd-cap-row{margin-top:-.25rem}
@media(max-width:599px){body .mdq .pd-row.pair>.pd-note.cell{flex:none;width:100%}}
@media(min-width:768px){body .mdq .pd-note.close p{font-size:2.25rem}body .mdq .pd-row.pair>.pd-note.cell{padding:2.5rem}}
body .mdq .pd-gal .pd-img,body .mdq .pd-gal .pd-vid,body .mdq .pd-gal .pd-note{border-radius:6px;overflow:hidden}
body .mdq .pd-gal .pd-img img{border-radius:6px}
@media(min-width:768px){body .mdq .pd-gal>.pd-note{width:calc(50% - var(--g) / 2);padding:2.5rem;font-size:1.125rem}body .mdq .pd-gal>.pd-note>p,body .mdq .pd-gal>.pd-note>.pd-svc,body .mdq .pd-gal>.pd-note>.pd-attr{max-width:none;width:auto}body .mdq .pd-gal>.pd-note.close p{font-size:1.75rem}}
body .mdq .pd-ed .pd-hero{width:auto;margin:.75rem .75rem 0;border-bottom:0;border-radius:6px}
@media(min-width:768px){body .mdq .pd-ed .pd-hero{margin:1rem 1rem 0}}
@media(min-width:768px){body:has(.pd-ed){overflow-x:hidden}body .mdq-page:has(.pd-ed){width:100vw;max-width:none;margin-left:calc(50% - 50vw);margin-right:0}body .mdq .pd-ed .pd-gal{--g:.5rem}body .mdq .pd-ed .pd-hero{margin:.5rem .5rem 0}}
/* grade */
body .mdq .pg{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2rem 1rem}
body .mdq .pg-card{display:block;min-width:0;color:#000}
body .mdq .pg-img{position:relative;aspect-ratio:4/3;overflow:hidden;background:#ECECEC}
body .mdq .pg-img img,body .mdq .pg-img video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;transition:transform .6s var(--ease)}
body .mdq .pg-card:hover .pg-img img,body .mdq .pg-card:hover .pg-img video{transform:scale(1.04)}
body .mdq .pg-info{display:flex;align-items:flex-start;justify-content:space-between;gap:2.5rem;padding-top:.875rem}
body .mdq .pg-info>div{min-width:0}
body .mdq .pg-info h3{font-weight:700;text-transform:uppercase;letter-spacing:-.04em;line-height:1;font-size:1.25rem;transition:color .15s}
body .mdq .pg-meta{margin-top:.4rem;font-size:.75rem;line-height:1rem;text-transform:uppercase;letter-spacing:.05em;opacity:.6}
body .mdq .pg-go{flex-shrink:0;margin-left:auto}
body .mdq .pg-go .ic{width:22px;height:22px;display:block;transition:transform .15s}
body .mdq .pg-card:hover .pg-go .ic{transform:rotate(45deg)}
body .mdq .pg-card:hover h3{color:var(--blue)}
body .mdq .pg-cta{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;border:1px solid #000;aspect-ratio:4/3;align-self:start;padding:1rem;color:#000;min-width:0}
body .mdq .pg-cta .big{font-weight:700;text-transform:uppercase;letter-spacing:-.05em;font-size:1.5rem;line-height:1.1;color:rgba(0,0,0,.25);transition:color .15s}
body .mdq .pg-cta:hover .big{color:var(--blue)}
body .mdq .pg-cta .lab{margin-top:.75rem;opacity:.5}
body .mdq .pg.dark .pg-card{color:#fff}
body .mdq .pg.dark .pg-card:hover h3{color:#fff}
body .mdq .pg.dark .pg-img{background:#1a1a1a}
body .mdq .pg.home{grid-template-columns:minmax(0,1fr)}
body .mdq .ph.pg-head{padding:3rem 1.25rem 2rem}
body .mdq .ph.pg-head .h-proj{font-size:14vw}
body .mdq .pg-wrap{padding-top:2.5rem;padding-bottom:4rem}
@media(min-width:768px){
  body .mdq .pg{grid-template-columns:repeat(3,minmax(0,1fr));gap:3rem 1.5rem}
  body .mdq .pg.home{grid-template-columns:repeat(3,minmax(0,1fr))}
  body .mdq .pg-info h3{font-size:1.5rem}
  body .mdq .pg-cta{grid-column:span 2;aspect-ratio:2.74;align-self:start}
  body .mdq .pg-cta .big{font-size:3rem}
  body .mdq .ph.pg-head{padding:4rem 2.5rem 2.5rem}
  body .mdq .ph.pg-head .h-proj{font-size:min(6vw,5.5rem)}
  body .mdq .pg-wrap{padding-top:3.5rem;padding-bottom:6rem}
}
@media(min-width:768px){body .mdq .pg-cta{grid-column:span 1;aspect-ratio:4/3}body .mdq .pg-cta .big{font-size:2rem}}
.mdqp-sprite{position:absolute;width:0;height:0;overflow:hidden}

/* ---------- Página Packaging (1.2) ---------- */
body .mdq .pk2{--pk2-line:rgba(255,255,255,.25);--pk2-dim:rgba(255,255,255,.55)}
body .mdq:not(.dark) .pk2{--pk2-line:rgba(0,0,0,.2);--pk2-dim:rgba(0,0,0,.55)}
body .mdq .pk2 a{color:inherit;text-decoration:none}
body .mdq .pk2-h1{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
body .mdq .pk2-hero{display:grid;grid-template-columns:1fr;gap:1.25rem;padding-bottom:3rem}
body .mdq .pk2-txt{display:contents}
body .mdq .pk2-tag{order:1;font-size:22px;line-height:1.2;font-weight:500;letter-spacing:-.01em;max-width:34rem;margin:0}
body .mdq .pk2-img{order:2;display:block;aspect-ratio:4/3;border-radius:6px;overflow:hidden;background:rgba(127,127,127,.12)}
body .mdq .pk2-img img,body .mdq .pk2-img video,body .mdq .pk2-cimg img,body .mdq .pk2-cimg video{width:100%;height:100%;object-fit:cover;display:block}
body .mdq .pk2-name{order:3;display:block}
body .mdq .pk2-kicker{display:flex;align-items:center;gap:.35rem;font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--pk2-dim);margin-bottom:.9rem}
body .mdq .pk2-kicker .ic{width:12px;height:12px;stroke:currentColor;fill:none;stroke-width:2}
body .mdq .pk2-title{display:block;font-size:56px;line-height:.85;font-weight:700;letter-spacing:-.04em;text-transform:uppercase}
body .mdq .pk2-meta{order:4;display:flex;flex-wrap:wrap;gap:.75rem 1.5rem;margin:0}
body .mdq .pk2-meta div{font-size:13px;line-height:1.35}
body .mdq .pk2-meta dt{font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:var(--pk2-dim)}
body .mdq .pk2-meta dd{margin:0}
body .mdq .pk2-sep{display:flex;justify-content:space-between;border-top:1px solid var(--pk2-line);padding-top:.75rem;margin-bottom:1.5rem;font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--pk2-dim)}
body .mdq .pk2-sep p{margin:0}
body .mdq .pk2-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.75rem .75rem}
body .mdq .pk2-card{display:block}
body .mdq .pk2-cimg{aspect-ratio:4/3;border-radius:6px;overflow:hidden;background:rgba(127,127,127,.12)}
body .mdq .pk2-cimg img{transition:transform .6s cubic-bezier(.2,.7,.2,1)}
body .mdq .pk2-card:hover .pk2-cimg img{transform:scale(1.03)}
body .mdq .pk2-info{display:flex;flex-direction:column;gap:.25rem;margin-top:.7rem}
body .mdq .pk2-info h3{font-size:14px;line-height:1.2;font-weight:700;text-transform:uppercase;letter-spacing:-.01em;margin:0}
body .mdq .pk2-info p{font-size:12px;line-height:1.35;color:var(--pk2-dim);margin:0}
@media(min-width:768px){
 body .mdq .pk2-hero{grid-template-columns:minmax(0,1fr) 44px minmax(0,1.55fr);gap:1.5rem}
 body .mdq .pk2-txt{display:flex;flex-direction:column;justify-content:space-between;gap:2rem}
 body .mdq .pk2-txt,body .mdq .pk2-tag,body .mdq .pk2-name,body .mdq .pk2-meta,body .mdq .pk2-img{order:0}
 body .mdq .pk2-tag{font-size:clamp(22px,2.1vw,30px);line-height:1.15}
 body .mdq .pk2-title{font-size:clamp(56px,6.6vw,112px)}
 body .mdq .pk2-meta{flex-direction:column;flex-wrap:nowrap;justify-content:space-between;align-items:center;padding:.25rem 0}
 body .mdq .pk2-meta div{writing-mode:vertical-rl;transform:rotate(180deg);white-space:nowrap;font-size:11px}
 body .mdq .pk2-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:2.5rem 1rem}
 body .mdq .pk2-info{flex-direction:row;justify-content:space-between;align-items:flex-start;gap:1rem}
 body .mdq .pk2-info p{font-size:11px;text-align:right;max-width:60%}
}
