/* =========================================================
   Felipe Tardiolli 2026 — Homepage
   Base: Figma "Homepage - Felipe Tardiolli" (frame 1920)
   1rem = 10px no frame de 1920. Abaixo de 1920 a página
   escala junto (até 0.75), e abaixo de 1280 vira tablet/mobile.
   ========================================================= */
:root{
  --bg-dark:#0d0d0d;
  --paper:#f6f6f6;
  --blue:#0d78ff;
  --blue-2:#0065f1;
  --blue-3:#0c73f5;
  --portfolio:#006afe;
  --line-dark:#2b2b2b;
  --line-light:#d0d0d0;
  --ease:cubic-bezier(.16,1,.3,1);
  --ease-io:cubic-bezier(.76,0,.24,1);
  --ease-soft:cubic-bezier(.22,1,.36,1);
  --ease-fill:cubic-bezier(.33,1,.68,1);
  --font:Helvetica,"Helvetica Neue",Arial,sans-serif;
  --u:max(.75px, min(1px, calc(100vw / 1920)));
  --nh:calc(10.4rem + 1px);
}
html{font-size:calc(var(--u) * 10);-webkit-text-size-adjust:100%}
html.lenis,html.lenis body{height:auto}
.lenis.lenis-stopped{overscroll-behavior:none}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
body{background:var(--bg-dark);color:var(--paper);font-family:var(--font);font-weight:400;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;overflow-x:hidden}
a{color:inherit;text-decoration:none}
button,input{font:inherit;color:inherit;background:none;border:0}
button{cursor:pointer}
img{display:block;max-width:none}
::selection{background:var(--blue);color:#fff}
:focus-visible{outline:2px solid var(--blue);outline-offset:3px}
.w{width:160rem;margin-inline:auto;position:relative}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}

/* ---------- ruído (efeito Noise do frame no Figma: monotone, #747474 a 5%) ---------- */
.noise{position:fixed;inset:0;z-index:9990;pointer-events:none;background-size:240px 240px;image-rendering:pixelated}

/* ---------- botões (Assets) ---------- */
.btn{--hb:var(--blue);--hc:#f6f6f6;position:relative;isolation:isolate;overflow:hidden;display:inline-flex;align-items:center;justify-content:center;padding:1.6rem 2.4rem;border-radius:5px;font-size:max(12px,1.4rem);line-height:max(14px,1.6rem);white-space:nowrap}
.btn::before{content:"";position:absolute;inset:-1px;z-index:-1;background:var(--hb);border-radius:inherit;transform:translateY(101%);transition:transform .42s var(--ease-fill)}
.btn:hover::before{transform:none}
.bl{display:block;height:max(14px,1.6rem);overflow:hidden}
.bl>span{display:flex;flex-direction:column;transition:transform .55s var(--ease)}
.bl>span>span{display:block;height:max(14px,1.6rem)}
.bl>span>span+span{color:var(--hc)}
.btn:hover .bl>span,.btn-mail:hover .bl>span{transform:translateY(-50%)}
.btn-dark{background:#1a1a1a;color:#f6f6f6}
.btn-light{background:#e9e9e9;color:#0b0b0b}
.btn-white{background:#f3f3f3;color:#181818;--hb:#1a1a1a}
.on-black .btn-white{--hb:var(--blue)}
.btn-mail{display:inline-flex;align-items:flex-end;position:relative}
.btn-mail .t{display:flex;align-items:center;width:26.8rem;height:4.9rem;padding:0 2.4rem;border-bottom:1px solid rgba(237,237,237,.65);font-size:max(12px,1.4rem);line-height:max(14px,1.6rem);color:#f6f6f6;cursor:text;transition:border-color .5s var(--ease)}
.btn-mail .t input{display:none;width:100%;height:100%;outline:none;font-size:max(12px,1.4rem);color:#f6f6f6}
.btn-mail .t input::placeholder{color:rgba(246,246,246,.45)}
.btn-mail.edit .t .bl{display:none}
.btn-mail.edit .t input{display:block}
.btn-mail.edit .t,.btn-mail:hover .t{border-color:#f6f6f6}
.btn-mail.err .t{border-color:#ff5a4e}
.btn-mail .sq{position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:center;justify-content:center;width:5rem;height:4.9rem;background:#1a1a1a;border-bottom:1px solid rgba(237,237,237,.65);border-radius:3px 3px 0 0}
.btn-mail .sq::before{content:"";position:absolute;inset:0;z-index:-1;background:var(--blue);transform:translateY(101%);transition:transform .42s var(--ease-fill)}
.btn-mail:hover .sq::before,.btn-mail.edit .sq::before{transform:none}
.btn-mail .sq i{width:5px;height:5px;background:#e7e7e7}
.totop{position:relative;isolation:isolate;overflow:hidden;width:8.8rem;height:8.8rem;border-radius:5px;background:#1a1a1a;display:grid;place-items:center;flex:none}
.totop::before{content:"";position:absolute;inset:0;z-index:-1;background:var(--blue);transform:translateY(101%);transition:transform .42s var(--ease-fill)}
.totop:hover::before{transform:none}
.totop .ar{width:1.9rem;height:1.9rem;overflow:hidden;transform:translate(.05rem,-.05rem)}
.totop .ar>span{display:flex;flex-direction:column;transition:transform .7s var(--ease)}
.totop .ar img{width:1.9rem;height:1.9rem}
.totop:hover .ar>span{transform:translateY(-50%)}

/* ---------- navbar fixa ---------- */
.top{position:relative}
.navbar{position:fixed;top:0;left:0;right:0;z-index:50;height:var(--nh);background:transparent;transition:background-color .35s var(--ease)}
/* fundo claro por baixo: logo e menu escuros, linha clara */
.navbar.ink .nav .logo img{filter:brightness(0);opacity:.95;transition:filter .35s}
.navbar.ink .burger i{background:#0c0c0c}
.navbar.ink .nav{border-color:var(--line-light)}
.nav{display:flex;align-items:center;justify-content:space-between;height:100%;border-bottom:1px solid var(--line-dark);transition:border-color .5s var(--ease)}
.navbar.on-work .nav{border-color:rgba(255,255,255,.25)}
.nav .logo{width:3.6rem;height:3.6rem;display:block}
.nav .logo img{width:100%;height:100%}
.burger{width:1.6rem;height:4rem;display:flex;flex-direction:column;gap:.5rem;align-items:center;justify-content:center}
.burger i{display:block;width:1.6rem;height:1px;background:#f6f6f6;transition:transform .5s var(--ease)}
.burger:hover i:first-child{transform:translateY(-1px)}
.burger:hover i:last-child{transform:translateY(1px)}
.nav-sp{height:var(--nh);flex:none}

/* ---------- itens (rodapé de cada dobra) ---------- */
.itens{display:flex;align-items:center;justify-content:space-between;padding:4.8rem 0;font-size:max(12px,1.4rem);line-height:max(15px,1.8rem);letter-spacing:-.065px;white-space:nowrap}
.itens div{display:flex;flex-direction:column;gap:1.2rem;align-items:flex-start}
.c3f{color:#3f3f3f}.c9a{color:#9a9897}

/* ---------- HERO ---------- */
.hero{background:var(--bg-dark);min-height:100vh;display:flex;flex-direction:column;overflow:hidden}
.hero>.w{flex:1;display:flex;flex-direction:column}
.all{margin-block:auto;display:flex;flex-direction:column}
.cima{display:flex;align-items:center;gap:4.9rem}
.wordmark{width:113.256rem;height:19.1094rem;flex:none;clip-path:inset(100% 0 0 0);transition:clip-path 1.4s var(--ease-io) .25s}
.wordmark img{width:100%;height:100%}
.ready .wordmark{clip-path:inset(0 0 -2% 0)}
.drag{position:relative;width:41.8rem;height:33.2rem;overflow:hidden;flex:none;touch-action:pan-y}
.cima .drag{border-left:1px solid var(--line-dark)}
/* continua a linha vertical da caixa até a navbar quando o bloco é centralizado */
.vline{position:absolute;top:var(--nh);width:1px;height:0;background:var(--line-dark);pointer-events:none}
.pill{position:absolute;left:0;top:0;display:flex;align-items:center;justify-content:center;padding:1.4rem 2.35rem;border-radius:5px;background:#121212;color:#4d4d4d;font-size:max(13px,1.4rem);line-height:max(17px,1.85rem);white-space:nowrap;user-select:none;-webkit-user-select:none;transition:background-color .35s,color .35s;will-change:transform}
.pill:hover,.pill.grab{background:#222;color:#fff}
.baixo{display:flex;align-items:center}
.dither{position:relative;overflow:hidden;flex:none;background:#404040}
.dither canvas{position:absolute;left:0;top:0;width:100%;height:100%;image-rendering:pixelated}
.hero .dither{width:34rem;height:34rem}
.htext{width:126rem;height:34rem;display:flex;align-items:flex-end;justify-content:space-between;padding:10.5rem 8.4rem;border-top:.813px solid var(--line-dark);border-bottom:.813px solid var(--line-dark)}
.htext p.lead{width:51.8rem;font-size:3.8rem;line-height:4.2297rem;letter-spacing:-.8134px;color:#f6f6f6;text-wrap:balance}
.lead .g7{color:#7c7c7c}
.htext .tag{font-size:max(12px,1.4rem);line-height:max(15px,1.8rem);letter-spacing:-.065px;color:#3f3f3f;white-space:nowrap}

/* ---------- PORTFOLIO (scroll horizontal) ---------- */
.work{position:relative}
.pin{position:sticky;top:0;height:100vh;overflow:hidden}
.track{display:flex;height:100%;width:max-content;will-change:transform}
.panel{width:100vw;height:100vh;flex:none;display:flex;flex-direction:column;overflow:hidden}
.panel>.w{flex:1;display:flex;flex-direction:column;min-height:0}
.p-blue{background:var(--portfolio)}
.p-black{background:#000}
.p-top{display:flex;align-items:center;justify-content:space-between;margin-top:4.6rem;white-space:nowrap}
.p-top h2{font-weight:400;font-size:6.4rem;line-height:6.4rem;letter-spacing:-.8134px;color:#f6f6f6}
.p-top>span{font-size:max(12px,1.4rem);line-height:max(14px,1.6rem);letter-spacing:-.06px;color:rgba(246,246,246,.8)}
.p-sp{flex:1;min-height:4rem}
.p-bot{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:4.6rem}
.p-bot p{width:62.6rem;font-size:2.2rem;line-height:2.8rem;letter-spacing:-.5px;color:rgba(246,246,246,.8);text-wrap:balance}
.itens-p{border-top:1px solid rgba(255,255,255,.25);height:14.3rem}
.itens-p .n{color:rgba(255,255,255,.3);transition:color .6s var(--ease-soft)}.itens-p .on .n{color:#fff}.itens-p .v{color:rgba(255,255,255,.45);transition:color .6s var(--ease-soft)}
.itens-p a:hover .v{color:#fff}
.idx-sp{height:14.3rem;flex:none}
.idx{position:absolute;left:0;right:0;bottom:0;z-index:5}
.idx-bar{position:absolute;left:0;top:-1px;height:1px;width:100%;background:#fff;transform-origin:left;transform:scaleX(0);will-change:transform}
.panel .w{will-change:transform}

/* ---------- ABOUT ---------- */
.about{background:var(--paper);color:#0c0c0c;padding:12rem 1rem}
.about .w{display:flex;align-items:flex-end;justify-content:space-between}
.a-left{height:106.2rem;display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start;border-right:1px solid var(--line-light)}
.lbl{font-size:max(12px,1.5rem);line-height:max(17px,2.25rem);letter-spacing:-.16px;white-space:nowrap}
.c5d{color:#5d5d5d}.c84{color:rgba(132,132,132,.75)}
.a-photo{display:flex;flex-direction:column;gap:1.2rem;align-items:flex-start}
.a-photo .ph{width:57.6rem;height:69.3rem;overflow:hidden;background:#d9d9d9}
.a-photo .ph img{width:100%;height:100%;object-fit:cover;transform:scale(1.08);transition:transform 1.6s var(--ease)}
.a-photo .ph.in img{transform:scale(1)}
/* foto do About: zoom + segue o mouse no hover, legenda fica azul */
.a-photo .ph{position:relative}
.a-photo .ph img{will-change:transform}
.a-photo .ph.in img{transition:transform 1.2s var(--ease)}
.a-photo .ph.in.hov img{transform:scale(1.08) translate(var(--px,0),var(--py,0));transition:transform .9s var(--ease)}

.a-right{width:84.1rem;display:flex;flex-direction:column;gap:3.2rem}
.a-all{display:flex;flex-direction:column;gap:2.2rem;align-items:flex-start}
.a-all h2{width:73.7rem;font-weight:400;font-size:5.4rem;line-height:5.8rem;letter-spacing:-.8134px;color:#0c0c0c;text-wrap:balance}
.a-all h2 .g7{color:#7c7c7c}
.a-all p{width:62.6rem;font-size:1.8rem;line-height:2.4rem;letter-spacing:-.5px;color:#474747;text-wrap:balance}
.stats{display:flex;flex-direction:column;gap:1.2rem}
.stat{display:flex;align-items:flex-end;justify-content:space-between;padding:3.2rem 0;border-bottom:1px solid var(--line-light);white-space:nowrap}
.stat .k{font-size:1.8rem;line-height:2.4rem;letter-spacing:-.5px;color:#474747}
.stat .n{display:block;height:10rem;letter-spacing:-2.1631px;color:#0c0c0c;font-size:13.2rem;line-height:10rem;transition:transform .9s var(--ease)}
.stat .n small{font-size:10rem;line-height:10rem;color:#7a7a7a;transition:color .6s var(--ease-soft)}
.stat .n small.yrs{font-size:8.4rem;color:#757575}
.stat:hover .n{transform:translateX(-2rem)}
.stat:hover .n small{color:var(--blue-2)}

/* ---------- EXPERIENCE ---------- */
.exp{background:var(--paper);color:#474747;padding:6rem 1rem 12rem}
.exp .w{display:flex;flex-direction:column;gap:3.2rem}
.e-head{display:flex;align-items:center;justify-content:space-between;height:7.1rem}
.e-head>div{flex:1 0 0;display:flex;align-items:center;min-width:1px}
.e-head h2{font-weight:400;font-size:5.4rem;line-height:5.8rem;letter-spacing:-.8134px;color:#0c0c0c;white-space:nowrap}
.e-head .l{padding-right:2.4rem}
.e-head .c{justify-content:center}.e-head .r{justify-content:flex-end;padding-left:2.4rem}
.e-head .r span{color:rgba(93,93,93,.65);white-space:pre}
.cards{display:flex;flex-direction:column}
.card{position:relative;isolation:isolate;display:flex;color:inherit;text-decoration:none;align-items:flex-end;justify-content:space-between;padding:3.2rem 0;border-bottom:1px solid var(--line-light);transition:padding .9s var(--ease-soft);font-size:1.6rem;line-height:2.4rem;letter-spacing:-.5px;white-space:nowrap}
.card::before{content:"";position:absolute;inset:0 0 -1px;z-index:-1;background:var(--blue);opacity:0;transition:opacity .7s var(--ease-soft)}
.card .c1{width:32.5rem;display:flex;flex-direction:column;gap:.8rem}
.card .c1 b{font-weight:400;font-size:2rem;color:#474747}
.card .c1 span,.card .c2,.card .c3{color:rgba(71,71,71,.65)}
.card .c1 b,.card .c1 span,.card .c2,.card .c3,.card .c3 span{transition:color .7s var(--ease-soft)}
.card .c2{width:83.7rem}
.card .c3{width:9.9rem;display:flex;gap:.8rem;justify-content:flex-end;white-space:pre}
.card .c3 .pr{color:var(--blue-3)}
.card .c3 .o3{color:rgba(71,71,71,.3)}
.card:hover{padding-inline:4.4rem}
.card:hover::before{opacity:1}
.card:hover .c1 b{color:#fff}
.card:hover .c1 span,.card:hover .c2,.card:hover .c3,.card:hover .c3 .o3{color:rgba(255,255,255,.65)}
.card:hover .c3 .pr{color:#fff}

/* ---------- FOOTER ---------- */
.foot{background:var(--bg-dark);height:92rem;overflow:hidden;position:relative}
.foot .w{height:100%}
.f-grid{position:absolute;left:0;right:0;top:8.6rem;border-top:1px solid var(--line-dark)}
.f-left{position:absolute;left:-.1rem;top:0;width:118.2rem;height:41.8rem;padding:3.2rem;display:flex;flex-direction:column;justify-content:space-between;border-right:1px solid var(--line-dark);border-bottom:1px solid var(--line-dark)}
.f-row{display:flex;align-items:flex-start;justify-content:space-between}
.f-cta{width:53.5rem;display:flex;flex-direction:column;gap:4.8rem}
.f-cta h2{font-weight:400;font-size:3.2rem;line-height:4rem;letter-spacing:-1px;color:#f6f6f6;white-space:nowrap}
.f-cta h2 .g7{color:#7c7c7c}
.f-btns{display:flex;gap:2rem;align-items:flex-end;justify-content:center}
/* tela baixa: o botão não encolhe (texto tem mínimo de 12px); quem cede espaço é o campo de e-mail */
@media (min-width:768px){.f-btns .btn{flex:none}.f-btns .btn-mail{flex:0 1 auto;min-width:0}.f-btns .btn-mail .t{min-width:0;flex:0 1 26.8rem}}
.f-logo{width:19.4rem;height:3.2733rem;clip-path:inset(100% 0 0 0);transition:clip-path 1.4s var(--ease-io)}
.f-logo.in{clip-path:inset(0 0 -4% 0)}
.f-logo img{width:100%;height:100%}
.f-logo .f-ic{display:none}
.f-itens{padding:0}
.f-redes{position:absolute;left:118.2rem;top:0;width:41.8rem;height:41.8rem;padding:3.2rem;display:flex;align-items:flex-start;justify-content:space-between}
.f-col{display:flex;flex-direction:column;gap:1.2rem;align-items:flex-start}
.f-col .h{font-size:max(12px,1.5rem);line-height:max(17px,2.25rem);letter-spacing:-.16px;color:#848484;padding-bottom:1rem;white-space:nowrap}
.f-col a{font-size:max(13px,1.6rem);line-height:max(15px,1.8rem);letter-spacing:-.16px;color:#f6f6f6;white-space:nowrap;transition:color .4s,transform .6s var(--ease)}
.f-col a:hover{color:var(--blue);transform:translateX(4px)}
.f-redes .drag{position:absolute;left:0;top:21.5rem;width:41.8rem;height:20.3rem}
.foot .dither{position:absolute;left:118.1rem;top:50.4rem;width:41.9rem;height:41.9rem}
.foot .dither canvas{height:41.6rem}
.slider{position:absolute;left:-.1rem;top:55.4rem;width:118.2rem;overflow:hidden;touch-action:pan-y;user-select:none;-webkit-user-select:none}
.marq{display:flex;width:max-content;will-change:transform}
.marq p{font-size:33.4178rem;line-height:33.4178rem;letter-spacing:-9px;color:#f6f6f6;white-space:nowrap;flex:none;padding-right:8rem}
.marq p span{color:var(--blue)}

/* ---------- MENU ---------- */
.menu{position:fixed;inset:0;z-index:80;visibility:hidden;pointer-events:none;transition:visibility 0s linear 1s}
.menu .ov{position:absolute;inset:0;background:rgba(13,13,13,.15);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);opacity:0;transition:opacity .8s var(--ease-io) .1s}
.menu .mp{position:absolute;top:0;right:0;width:50rem;height:100%;background:var(--paper);color:#0d0d0d;padding:8rem 2.4rem 8rem 4rem;display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start;transform:translateX(100%);transition:transform .95s var(--ease-io);overflow-y:auto}
.menu .mp{scrollbar-width:none}.menu .mp::-webkit-scrollbar{display:none}
.menu .mp>*{opacity:0;transform:translateX(3rem);transition:opacity .45s var(--ease),transform .6s var(--ease)}
.menu.open .mp>*{opacity:1;transform:none;transition:opacity .7s var(--ease) .35s,transform 1s var(--ease) .35s}
.menu.open{visibility:visible;pointer-events:auto;transition-delay:0s}
.menu.open .ov{transition-delay:0s}
.menu.open .ov{opacity:1}
.menu.open .mp{transform:none}
.m-close{position:absolute;left:35.6rem;top:4rem;width:2rem;height:2rem;display:block}
.m-close img{width:100%;height:100%;transition:transform .5s var(--ease)}
.m-close:hover img{transform:rotate(90deg)}
.m-links{display:flex;flex-direction:column;gap:2.2rem;width:43.6rem}
.m-links a{display:block;height:4.2rem;overflow:hidden;font-size:3.2rem;line-height:4.16rem;letter-spacing:-.4px;color:#0d0d0d;white-space:nowrap}
.m-links a>span{display:flex;flex-direction:column;transition:transform .6s var(--ease)}
.m-links a>span>span{height:4.2rem}
.m-links a>span>span+span{color:var(--blue)}
.m-links a:hover>span{transform:translateY(-4.2rem)}
.m-links a[aria-current]{color:var(--blue)}
.lang{display:flex;align-items:center;background:#e9e9e9;border:1px solid #e9e9e9;border-radius:5px}
.lang a{display:flex;align-items:center;justify-content:center;padding:1rem 1.6rem;border-radius:5px;font-size:max(10px,1rem);line-height:max(10px,1rem);background:#e9e9e9;color:#0d0d0d;border:1.5px solid transparent}
.lang a.on{background:#272727;color:#f6f6f6;border-color:#e9e9e9}
.m-foot{display:flex;gap:6.4rem;width:43.6rem}
.m-foot .f-col a{color:#0d0d0d}
.m-foot .f-col a:hover{color:var(--blue)}

/* ---------- pop-up do e-mail ---------- */
.pop{position:fixed;inset:0;z-index:90;display:grid;place-items:center;visibility:hidden;pointer-events:none;transition:visibility 0s linear .8s}
.pop .ov{position:absolute;inset:0;background:rgba(13,13,13,.35);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);opacity:0;transition:opacity .6s var(--ease)}
.pop .box{position:relative;width:min(52rem,calc(100vw - 40px));background:#1a1a1a;border-radius:5px;padding:4rem;display:flex;flex-direction:column;gap:2.4rem;align-items:flex-start;opacity:0;transform:translateY(3rem);transition:opacity .6s var(--ease),transform .8s var(--ease)}
.pop .box .h{font-size:max(12px,1.5rem);line-height:max(17px,2.25rem);letter-spacing:-.16px;color:#848484}
.pop .box h3{font-weight:400;font-size:3.2rem;line-height:4rem;letter-spacing:-1px;color:#f6f6f6}
.pop .box h3 span{color:#7c7c7c}
.pop .box p{font-size:max(13px,1.6rem);line-height:2.4rem;color:#9a9897;word-break:break-all}
.pop .box p b{font-weight:400;color:#f6f6f6}
.pop .box .x{position:absolute;right:2.4rem;top:2.4rem;width:2rem;height:2rem;filter:invert(1)}
.pop .box .x img{width:100%;height:100%;transition:transform .5s var(--ease)}
.pop .box .x:hover img{transform:rotate(90deg)}
.pop.open{visibility:visible;pointer-events:auto;transition-delay:0s}
.pop.open .ov{opacity:1}
.pop.open .box{opacity:1;transform:none}

/* ---------- transição de página (do wireframe) ---------- */
.pt{visibility:hidden;position:fixed;inset:0;z-index:100;background:var(--bg-dark);pointer-events:none;transform:translateY(100%);display:flex;color:#9a9897}
/* tela de transição (Figma "Tela load"): logo em cima, rodapé com copyright, Made in Brasil e hora */
.pt-in{display:flex;flex-direction:column;justify-content:space-between;padding:calc(8.2rem + 32px) 3.2rem}
.pt-top{display:flex;justify-content:space-between;align-items:flex-end;font-size:max(12px,1.4rem);line-height:max(15px,1.8rem);letter-spacing:-.065px}
.pt-logo{width:34.3rem;height:auto}
.pt-ic{display:none}
.pt-bot{display:flex;justify-content:space-between;align-items:center;font-size:max(12px,1.4rem);line-height:max(15px,1.8rem);letter-spacing:-.065px;white-space:nowrap}
.pt-loc{display:flex;gap:2rem}
html.boot .pt{transform:translateY(0);visibility:visible}
.pt.out,.pt.go{visibility:visible}
.pt.out{animation:ptout .9s var(--ease-io) both}
.pt.go{animation:ptin .6s var(--ease-io) both}
@keyframes ptout{from{transform:translateY(0)}to{transform:translateY(-100%)}}
@keyframes ptin{from{transform:translateY(100%)}to{transform:translateY(0)}}

/* ---------- animação de texto (do wireframe) ---------- */
.split .m{display:inline-block;overflow:hidden;vertical-align:top;padding-bottom:.08em;margin-bottom:-.08em}
.split .m>span{display:inline-block;transform:translateY(105%);transition:transform 1.1s var(--ease);transition-delay:var(--d,0s)}
.split.in .m>span{transform:none}
.rv{opacity:0;transform:translateY(3.6rem);transition:opacity 1.1s var(--ease),transform 1.1s var(--ease);transition-delay:var(--d,0s)}
.rv.in{opacity:1;transform:none}
.card.rv.in{transition:opacity 1.1s var(--ease),transform 1.1s var(--ease),padding .9s var(--ease-soft)}

/* ---------- cursor personalizado (Assets) ---------- */
.cur{position:fixed;left:0;top:0;z-index:9999;pointer-events:none;width:0;height:0;opacity:0;transition:opacity .25s;will-change:transform}
.cur.on{opacity:1}
.cur .ic{position:absolute;left:0;top:0}
.cur .ic>*{position:absolute;left:0;top:0;opacity:0}
.cur .you{position:absolute;left:22px;top:22px;padding:8px 16px;border-radius:24px;background:#0d78ff;border:2px solid #006df6;color:#fff;font-size:14px;line-height:24px;white-space:nowrap;transition:opacity .2s,transform .35s var(--ease)}
.cur .view{position:absolute;left:16px;top:20px;width:88px;height:88px;border-radius:5px;background:#1a1a1a;color:#fff;font-size:12px;line-height:22.5px;letter-spacing:-.16px;display:grid;place-items:center;transform:scale(0);transition:transform .4s var(--ease)}
.cur[data-s="arrow"] .i-arrow,.cur[data-s="select"] .i-hand,.cur[data-s="view"] .i-hand,.cur[data-s="grab"] .i-grab{opacity:1}
.cur[data-s="view"] .you{opacity:0;transform:scale(.6)}
.cur[data-s="view"] .view{transform:scale(1)}
@media (hover:hover) and (pointer:fine){
  /* seta/mão/arrastar = cursor nativo do sistema com os desenhos do Figma: zero atraso */
  html.has-cur,html.has-cur *{cursor:url(cur.svg) 5 5,auto!important;cursor:-webkit-image-set(url(cur.svg) 1x,url(cur2x.svg) 2x) 5 5,auto!important}
  html.has-cur a,html.has-cur a *,html.has-cur button,html.has-cur button *,html.has-cur select,html.has-cur [data-mail-foot] .t,html.has-cur [data-mail-foot] .t *,html.has-cur .pill,html.has-cur .pill *,html.has-cur [data-marq],html.has-cur [data-marq] *,html.has-cur [data-view] .card,html.has-cur [data-view] .card *,html.has-cur [data-view] .pf-c,html.has-cur [data-view] .pf-c *{cursor:url(hand.svg) 8 1,pointer!important;cursor:-webkit-image-set(url(hand.svg) 1x,url(hand2x.svg) 2x) 8 1,pointer!important}
  html.has-cur input:not([type=checkbox]):not([type=radio]),html.has-cur textarea,html.has-cur .edit .t,html.has-cur .edit .t *{cursor:text!important}
  html.has-cur.grabbing,html.has-cur.grabbing *{cursor:url(grab.svg) 7 8,grabbing!important;cursor:-webkit-image-set(url(grab.svg) 1x,url(grab2x.svg) 2x) 7 8,grabbing!important}
  html.has-cur .cur{display:none}
}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation:none!important;transition:none!important}
  .split .m>span,.rv{transform:none;opacity:1}
  .wordmark,.f-logo{clip-path:none}
  .pt{display:none}
}

/* =========================================================
   AJUSTES v2 — footer 100%, logo do footer, hover azul por palavra,
   cursor dividido, preloader, pop-ups e idiomas
   ========================================================= */
.m-only{display:none}
.m-br{display:none}

/* footer 100% da tela: linha de cima encosta na navbar */
.foot{height:max(100vh,calc(10.4rem + 43.1rem * var(--fu,1) + 41.7rem * var(--fb,1)))}
.f-grid{top:10.4rem}
.f-left,.f-redes{height:calc(43.1rem * var(--fu,1))}
.f-redes .drag{top:22.2rem;height:calc(20.3rem - 43.1rem * (1 - var(--fu,1)))}
.foot .dither{top:auto;bottom:-.3rem}
.slider{top:auto;bottom:calc(3.1rem * var(--fb,1))}
/* ---------- telas baixas (notebook): margens e textos continuam os da largura; só as alturas cedem ----------
   --hk (hero), --fu (bloco de cima do footer) e --fb (letreiro + dither do footer) são calculados no JS */
@media (min-width:1100px){
  /* Figma 1920 e 1440: bloco "All" logo abaixo da navbar (y 105); no footer o rodapé fica 162px abaixo do bloco de cima */
  .all{margin-block:0 auto}
  .f-left{justify-content:flex-start;gap:16.2rem}
  .cima .drag{height:calc(33.2rem * var(--hk,1))}
  .hero .dither{width:calc(34rem * var(--hk,1));height:calc(34rem * var(--hk,1))}
  .htext{flex:1 1 auto;height:calc(34rem * var(--hk,1));padding-block:clamp(2.4rem,calc(10.5rem - 17rem * (1 - var(--hk,1))),10.5rem)}
  .hero .itens{padding-block:calc(4.8rem * var(--hk,1))}
  html .foot .slider{width:calc(100% + .1rem - 41.9rem * var(--fb,1))}
  html .foot .dither{left:auto;right:0;width:calc(41.9rem * var(--fb,1));height:calc(41.9rem * var(--fb,1))}
  .foot .dither canvas{height:calc(41.6rem * var(--fb,1))}
  .marq p{font-size:calc(33.4178rem * var(--fb,1));line-height:calc(33.4178rem * var(--fb,1));letter-spacing:calc(-9px * var(--fb,1));padding-right:calc(8rem * var(--fb,1))}
}
/* logo do footer: revela por máscara (o clip-path impedia o observer de disparar) */
.f-logo{clip-path:none;overflow:hidden;transition:none}
.f-logo.in{clip-path:none}
.f-logo img{transform:translateY(105%);transition:transform 1.2s var(--ease)}
.f-logo.in img{transform:none}
/* cards do footer no tamanho do Figma (12px) */
.f-redes .pill{padding:1.2rem 2rem;font-size:max(13px,1.3rem);line-height:max(17px,1.7rem)}

/* texto cinza fica azul palavra por palavra no hover */
.hl .g7 .m>span{color:transparent;background:linear-gradient(to right,var(--blue) 50%,#7c7c7c 50%) 100% 0/200% 100% no-repeat;-webkit-background-clip:text;background-clip:text;transition:transform 1.1s var(--ease) var(--d,0s),background-position .42s var(--ease-fill) var(--ci,0s)}
.hl.hov .g7 .m>span{background-position:0 0}

/* entrada da hero depois do preloader */
.up{opacity:0;transform:translateY(17rem)}
.ready .up{opacity:1;transform:none;transition:transform 1.5s var(--ease) var(--ui,0s),opacity .9s var(--ease) var(--ui,0s)}
.wordmark{clip-path:none;transition:none}

/* ---------- entrada da hero: cursores do Figma montando a página ---------- */
.hero .up{transform:none}
.hero .up.on,[data-ih].on{opacity:1;transition:opacity .5s var(--ease)}
.intro [data-ih]:not(.on){opacity:0}
html.pre .navbar,html.pre .hero{opacity:0}
.it{position:fixed;inset:0;z-index:9000;pointer-events:none;font-family:ui-monospace,"SF Mono",Menlo,Consolas,monospace}
/* cursor dos agentes = mesmo cursor do site (Assets do Figma), pintado no tom de azul de cada um */
.ag{position:absolute;left:0;top:0;width:0;height:0;will-change:transform;--t:#fff}
.ag svg{position:absolute;left:0;top:0;width:22px;height:23px;transition:transform .12s;transform-origin:5px 5px}
.ag.down svg{transform:scale(.86)}
.ag span{position:absolute;left:22px;top:22px;padding:8px 16px;border-radius:24px;background:var(--c);color:var(--t);font:400 14px/24px var(--font);white-space:nowrap;box-shadow:0 1px 3px rgba(0,0,0,.18);transform-origin:0 0;animation:it-pop .35s var(--ease) both}
@keyframes it-pop{from{transform:scale(.4);opacity:0}}
.ib{position:absolute;border:1px solid var(--c);transition:opacity .4s}
.ib.set{border-style:dashed}
.ib.ln{border:0;background:var(--c)}
.ib i{position:absolute;width:6px;height:6px;background:#fff;border:1px solid var(--c);transition:opacity .25s}
.ib i:nth-child(1){left:-4px;top:-4px}.ib i:nth-child(2){right:-4px;top:-4px}.ib i:nth-child(3){left:-4px;bottom:-4px}.ib i:nth-child(4){right:-4px;bottom:-4px}
.ib.set i{opacity:0}
.ib .sk{position:absolute;inset:0;opacity:0;transition:opacity .3s;background:linear-gradient(100deg,transparent 30%,rgba(255,255,255,.06) 50%,transparent 70%) -100% 0/200% 100% no-repeat,color-mix(in srgb,var(--c) 12%,transparent);animation:it-sh 1s linear infinite}
.ib.fill .sk{opacity:1}
@keyframes it-sh{to{background-position:200% 0,0 0}}
.ib b{position:absolute;left:50%;top:calc(100% + 6px);transform:translateX(-50%);padding:1px 5px;border-radius:2px;background:var(--c);color:var(--t);font-size:10px;line-height:14px;font-weight:500;white-space:nowrap;transition:opacity .3s}
.ib.ln.v b{left:calc(100% + 6px);top:50%;transform:translateY(-50%)}
.ib em{position:absolute;left:-1px;bottom:calc(100% + 1px);padding:2px 6px;background:var(--c);color:var(--t);font-size:11px;line-height:15px;font-weight:500;font-style:normal;white-space:nowrap;transform-origin:0 100%;animation:it-pop .3s var(--ease) both}
.ib.done b{opacity:0}
.ib.ln.done{opacity:0}
.it.bye .ib{opacity:0}
.it-car{display:inline-block;width:2px;height:1em;margin-left:1px;vertical-align:-.12em;background:currentColor;animation:it-bl .5s steps(1) infinite}
@keyframes it-bl{50%{opacity:0}}
.it-ring{position:absolute;width:22px;height:22px;margin:-11px 0 0 -11px;border:1px solid var(--c);border-radius:50%;animation:it-ring .5s var(--ease) forwards}
@keyframes it-ring{from{transform:scale(.2);opacity:1}to{transform:scale(1);opacity:0}}
/* barra de ferramentas igual à do Figma (UI3) */
.it-bar{position:absolute;left:0;right:0;width:max-content;margin:0 auto;bottom:24px;display:flex;align-items:center;height:48px;padding:0 12px;gap:9px;border-radius:13px;background:#2c2c2c;box-shadow:0 0 0 1px #383838,0 6px 20px rgba(0,0,0,.35);transform:translateY(0);animation:it-up .6s var(--ease) both;transition:transform .6s var(--ease-io),opacity .6s}
.it.bye .it-bar{transform:translateY(88px);opacity:0}
@keyframes it-up{from{transform:translateY(88px)}}
.it-bar svg{display:block;fill:none;stroke:#fff;stroke-width:1;stroke-linejoin:round;stroke-linecap:round}
.it-bar .tl{display:flex;align-items:center}
.it-bar .tb{width:32px;height:32px;border-radius:5px;display:grid;place-items:center;transition:background-color .15s}
.it-bar .tb svg{width:24px;height:24px}
.it-bar .tl.on .tb{background:#0d99ff}
.it-bar .ch{width:16px;height:32px;display:grid;place-items:center}
.it-bar .ch svg{width:8px;height:8px}
.it-bar .sg{display:flex;align-items:center;gap:0;margin-left:3px;padding:3px;border-radius:7px;background:#383838}
.it-bar .sg i{width:30px;height:28px;border-radius:5px;display:grid;place-items:center}
.it-bar .sg i svg{width:24px;height:24px}
.it-bar .sg i.on{background:#2c2c2c}
.it-bar .sg i.on svg{stroke:#0d99ff}
@media (max-width:767px){.pt-in{padding:0;justify-content:center;align-items:center}.pt-top,.pt-bot{display:none}.pt-ic{display:block;width:64px;height:64px}.it-bar{display:none}.ag span{padding:6px 12px;font-size:12px;line-height:18px}}

/* ---------- cursor: seta/mão sem atraso, etiqueta acompanha com atraso ---------- */
.cur .you,.cur .view{display:none}
.cur-tag{position:fixed;left:0;top:0;z-index:9999;pointer-events:none;width:0;height:0;opacity:0;transition:opacity .25s}
.cur-tag.on{opacity:1}
.cur-tag .you{position:absolute;left:22px;top:22px;padding:8px 16px;border-radius:24px;background:#0d78ff;border:2px solid #006df6;color:#fff;font-size:14px;line-height:24px;white-space:nowrap;transition:opacity .2s,transform .35s var(--ease)}
.cur-tag .view{position:absolute;left:16px;top:20px;width:88px;height:88px;border-radius:5px;background:#1a1a1a;color:#fff;font-size:12px;line-height:22.5px;letter-spacing:-.16px;display:grid;place-items:center;transform:scale(0);transition:transform .4s var(--ease)}
.cur-tag[data-s="view"] .you{opacity:0;transform:scale(.6)}
.cur-tag[data-s="view"] .view{transform:scale(1)}

/* ---------- idioma ---------- */
.lang button{display:flex;align-items:center;justify-content:center;padding:1rem 1.6rem;border-radius:5px;font-size:max(10px,1rem);line-height:max(10px,1rem);background:#e9e9e9;color:#0d0d0d;border:1.5px solid transparent;transition:background-color .4s,color .4s}
.lang button.on{background:#272727;color:#f6f6f6;border-color:#e9e9e9}
.lang button:not(.on):hover{background:var(--blue);color:#f6f6f6}

/* ---------- pop-ups de e-mail ---------- */
.pop .box{width:52rem;padding:4rem;align-items:center;text-align:center;gap:2.4rem;max-height:calc(100vh - 40px);overflow:auto}
.pop .box .h{font-size:max(12px,1.5rem);line-height:2.25rem}
.pop .box h3{width:44rem}
.pop .box p{font-size:1.6rem;line-height:2.4rem;color:#9a9897}
.pop .box p b{color:#f6f6f6}
.box-form{align-items:stretch!important}
.box-form>.h,.box-form>h3{align-self:center}
.box-form h3{text-align:center}
.f2{display:flex;gap:2.4rem}
.fld{position:relative;display:flex;align-items:center;flex:1;min-width:0;height:4.9rem;border-bottom:1px solid rgba(237,237,237,.65);transition:border-color .4s}
.fld input,.fld select,.fld textarea,.btn-mail-l input{width:100%;height:100%;padding:1.6rem 2.4rem;background:none;border:0;outline:none;color:#f6f6f6;font:inherit;font-size:max(12px,1.3rem);line-height:1.6rem;text-align:left}
.fld input::placeholder,.fld textarea::placeholder,.btn-mail-l input::placeholder{color:#353535}
.fld:focus-within,.btn-mail-l:focus-within .t{border-color:#f6f6f6}
.fld.err,.btn-mail-l.err .t{border-color:#ff5a4e}
.fld.sel select{appearance:none;-webkit-appearance:none;cursor:pointer;padding-right:4rem}
.fld.sel select:invalid,.fld.sel select.ph{color:#353535}
.fld.sel option{background:#1a1a1a;color:#f6f6f6}
.fld.sel i{position:absolute;right:2.4rem;top:50%;width:1.2rem;height:1.2rem;margin-top:-.6rem;pointer-events:none;background:no-repeat center/0.6rem 1rem url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 6 10'%3E%3Cpath d='M1 1l4 4-4 4' fill='none' stroke='%23919191' stroke-width='1.4'/%3E%3C/svg%3E");transform:rotate(90deg)}
.fld.ta{height:8.6rem;align-items:flex-start}
.fld.ta textarea{resize:none;height:100%}
.btn-mail-l{display:flex;width:100%;align-items:flex-end}
.btn-mail-l .t{flex:1;width:auto;padding:0;cursor:text}
.btn-mail-l .t input{display:block}
.btn-mail-l .sq{background:#e9e9e9;width:5rem;transition:width .6s var(--ease)}
.btn-mail-l .sq i{background:#1a1a1a;transition:background-color .4s}
.btn-mail-l:hover .sq::before{transform:translateY(101%)}
.btn-mail-l .sq:hover{width:7.7rem}
.btn-mail-l .sq:hover::before{transform:none}
.btn-mail-l .sq i{transition:background-color .4s,opacity .25s}
.btn-mail-l .sq:hover i{opacity:0}
.btn-mail-l .sq span{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);opacity:0;color:#fff;font-size:max(11px,1.2rem);line-height:1.6rem;white-space:nowrap;transition:opacity .3s .1s}
.btn-mail-l .sq:hover span{opacity:1}
.btn-mail .sq{cursor:pointer}
.f-msg{margin:0;color:#ff5a4e;word-break:normal;overflow-wrap:break-word;font-size:max(12px,1.3rem);line-height:1.8rem;text-align:left}
.f-msg[hidden]{display:none}
.btn-mail-l.busy .sq{pointer-events:none;opacity:.6}
button.btn-mail{padding:0;text-align:left}

/* ---------- projetos: textos mais longos (DRAKKO, Stoff, Seven) ---------- */
.p-bot p.p-wide{width:80.7rem}
html[lang=pt-BR] .p-blue .p-bot p{width:78.8rem}

/* =========================================================
   DESKTOP M — base do Figma 1440 (conteúdo 1300) — 1100 a 1599
   ========================================================= */
@media (max-width:1599px) and (min-width:1100px){
  :root{--u:calc(100vw / 1440)}
  .w{width:130rem}
  .wordmark{width:83rem;height:14rem}
  .cima{gap:5.2rem}
  .htext{width:96rem;padding:10.5rem 6.4rem}
  .htext p.lead{width:39.9rem;font-size:3rem;line-height:3.6rem}
  .p-bot p{font-size:1.8rem;line-height:2.4rem;color:rgba(246,246,246,.8)}
  .p-bot p.p-wide{width:62.6rem}
  .a-left{width:37.7rem}
  .a-photo .ph{width:37.6rem}
  .card .c1{width:40.3rem}
  .card .c1 b{font-size:1.8rem}
  .card .c2{width:79.2rem;white-space:normal}
  .card .c2 span{display:block;max-width:45.1rem}
  .f-left{width:88.2rem}
  .f-redes{left:88.2rem}
  .foot .dither{left:88.1rem}
  .slider{width:88.2rem}
  /* notebook: no footer só o ícone no lugar do logo completo */
  .f-logo{width:3.6rem;height:3.6rem}
  .f-logo .f-wm{display:none}.f-logo .f-ic{display:block}
  /* notebook: tags da hero em 13px, texto da faixa centralizado na altura, X e social do menu na margem do site */
  .cima .drag .pill{font-size:13px;line-height:17px}
  /* Figma 1440: bloco "All" logo abaixo da navbar; faixa do texto com padding 105/64 alinhada embaixo (encolhe junto em tela baixa) */
  .all{margin-block:0 auto}
  .htext{padding:clamp(2.4rem,calc(10.5rem - 17rem * (1 - var(--hk,1))),10.5rem) 6.4rem}
  /* Figma 1440: footer com 920px (não estica até a altura da tela) */
  .foot{height:92rem}
  .f-grid{top:8.6rem}
  .f-left,.f-redes{height:41.8rem}
  .f-redes .drag{top:21.5rem;height:20.3rem}
  /* Figma 1440: 58px entre o texto do projeto e a linha do índice */
  .p-bot{margin-bottom:5.8rem}
  .menu .mp{padding-right:calc((100vw - 130rem) / 2)}
  .m-close{left:auto;right:calc((100vw - 130rem) / 2 - .2rem)}
  .m-foot{width:auto;align-self:stretch;justify-content:space-between}
}

/* =========================================================
   TABLET (768–1099)
   ========================================================= */
@media (max-width:1099px){
  html{font-size:10px}
  .w{width:calc(100% - 64px)}
  .vline{display:none}
  .cima{flex-direction:column;align-items:stretch;gap:0;padding:44px 0}
  .wordmark{width:100%;height:auto;aspect-ratio:1132.56/191.094}
  .cima .drag{width:100%;height:260px;border-left:0;border-top:1px solid var(--line-dark);margin-top:44px}
  .hero .dither{width:280px;height:280px}
  .htext{flex:1;width:auto;height:auto;flex-direction:column;align-items:flex-start;justify-content:flex-end;gap:24px;padding:32px 40px}
  .htext p.lead{width:auto;max-width:460px;font-size:30px;line-height:36px}
  .itens{gap:24px;flex-wrap:wrap}
  .p-top h2{font-size:52px;line-height:56px}
  .p-bot{gap:32px}
  .p-bot p,.p-bot p.p-wide{width:auto;max-width:560px;font-size:18px;line-height:24px}
  .itens-p{height:auto;padding:28px 0;overflow-x:auto;scrollbar-width:none;flex-wrap:nowrap;gap:40px}
  .itens-p::-webkit-scrollbar{display:none}
  .idx-sp{height:76px}
  .idx{left:32px;right:32px;width:auto}
  .about{padding:96px 0}
  .about .w{flex-direction:column-reverse;align-items:stretch;gap:64px}
  .a-left{height:auto;border-right:0;gap:24px;width:auto}
  .a-photo .ph{width:min(100%,576px);height:auto;aspect-ratio:576/693}
  .a-right{width:auto}
  .a-all h2{width:auto;max-width:737px;font-size:46px;line-height:50px}
  .a-all p{width:auto;max-width:626px}
  .stat .n{font-size:104px;line-height:84px;height:84px}
  .stat .n small{font-size:80px;line-height:84px}
  .stat .n small.yrs{font-size:64px}
  .exp{padding:48px 0 96px}
  .e-head{height:auto;flex-wrap:wrap;gap:12px}
  .e-head>div{flex:1 1 auto}
  .e-head .l{width:100%}
  .e-head h2{font-size:46px;line-height:50px;padding:0}
  .e-head .c{justify-content:flex-start}
  .card{flex-wrap:wrap;gap:12px 24px;white-space:normal;align-items:flex-start}
  .card .c1{width:auto;flex:1 1 280px}
  .card .c2{order:3;width:100%;max-width:760px}
  .card .c3{width:auto}
  .card:hover{padding-inline:24px}
  .foot{height:auto;padding:105px 0 0}
  .foot .w{height:auto;display:flex;flex-direction:column}
  .f-grid{position:static;display:flex;flex-direction:column;border-top:1px solid var(--line-dark)}
  .f-left{position:relative;left:0;width:100%;height:auto;gap:64px;border-right:0;padding:40px 0}
  .f-row{gap:32px;flex-wrap:wrap-reverse}
  .f-cta{width:auto;max-width:535px}
  .f-btns{justify-content:flex-start;flex-wrap:wrap}
  .f-logo{width:194px;height:33px}
  .f-itens{flex-wrap:wrap;gap:12px 32px;padding:0}
  .f-redes{position:relative;left:0;width:100%;height:auto;padding:40px 0 0;flex-wrap:wrap;gap:40px;justify-content:flex-start;border-bottom:1px solid var(--line-dark)}
  .f-redes .totop{margin-left:auto}
  .f-redes .drag{position:relative;top:0;width:100%;height:220px;margin-top:8px}
  .slider{position:relative;left:0;bottom:auto;width:100%;margin-top:40px}
  .marq p{font-size:200px;line-height:200px;letter-spacing:-6px;padding-right:48px}
  .foot .dither{position:relative;left:0;bottom:auto;width:min(100%,419px);height:auto;aspect-ratio:419/416;margin:32px 0 0 auto}
  .foot .dither canvas{height:100%}
  .m-close{left:auto;right:24px}
  .pop .box{width:min(520px,calc(100vw - 40px));padding:40px}
  .pop .box h3{width:auto}
}

/* =========================================================
   MOBILE (até 767) — Figma "Homepage Mobile 393"
   ========================================================= */
@media (max-width:767px){
  :root{--nh:105px}
  .w{width:calc(100% - 40px)}
  .m-only{display:inline-flex}
  .m-br{display:inline}.d-br{display:none}
  /* hero 100% da tela */
  .hero .all{margin-block:auto}
  .cima{padding:44px 0}
  .wordmark{width:100%;aspect-ratio:353/60}
  .cima .drag{display:none}
  .baixo{flex-direction:column;align-items:stretch}
  .hero .dither{width:100%;height:auto;aspect-ratio:353/212}
  .htext{flex-direction:row;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:22px 8px;padding:44px 0;border-top:1px solid var(--line-dark);border-bottom:1px solid var(--line-dark)}
  .htext p.lead{width:100%;max-width:none;font-size:26px;line-height:30px}
  .htext .btn{order:2}
  .htext .tag{order:3}
  .itens{display:flex;flex-wrap:nowrap;gap:12px;padding:44px 0;white-space:nowrap}
  .itens .i-hm{display:none}
  .hero .itens .c3f{font-size:12px}
  .hero .itens .c9a{font-size:13px}
  /* projetos */
  .p-top{margin-top:34px;gap:12px}
  .p-top h2{font-size:28px;line-height:28px;white-space:normal;max-width:181px}
  .p-sp{min-height:24px}
  .p-bot{flex-direction:column;align-items:flex-start;gap:20px;margin-bottom:43px}
  .card .c3:has(.pr){padding-left:5px}
  .p-bot p,.p-bot p.p-wide{text-wrap:wrap;width:100%;max-width:none;font-size:14px;line-height:18px;letter-spacing:-.5px;color:rgba(246,246,246,.8)!important}
  .idx-sp{height:113px}
  .idx{left:20px;right:20px;padding:32px 0;height:113px;overflow:hidden}
  .idx>a,.idx>div{display:none}
  .idx>.is-cur{display:block}
  /* about */
  .about{padding:64px 0}
  .about .w{display:flex;flex-direction:column;gap:64px}
  .a-left,.a-right{display:contents}
  .a-lab,.a-name{display:none}
  .a-all{order:1}
  .a-photo{order:2}
  .stats{order:3;gap:0}
  .a-all h2{font-size:26px;line-height:32px;max-width:none}
  .a-all p{font-size:14px;line-height:18px}
  .a-row{width:100%;display:flex;align-items:flex-end;justify-content:space-between}
  .a-row .lbl{font-size:14px}
  .a-photo .ph{width:100%;aspect-ratio:353/489}
  .stat{flex-direction:column-reverse;align-items:flex-start;gap:24px;padding:32px 0}
  .stat .k{font-size:14px;line-height:18px}
  .stat .n{font-size:120px;line-height:100px;height:100px}
  .stat .n small{font-size:100px;line-height:100px}
  .stat .n small.yrs{font-size:84px}
  .stat:hover .n{transform:none}
  /* experience */
  .exp{padding:64px 0}
  .e-head{gap:22px}
  .e-head h2{font-size:38px;line-height:38px}
  .e-head .c,.e-head .r{flex:1 1 0;padding:0}
  .e-head .lbl{font-size:14px}
  .card{flex-direction:column;flex-wrap:nowrap;gap:24px;padding:32px 0}
  .card .c1,.card .c2,.card .c3{width:100%;max-width:none;flex:none;order:0}
  .card .c1 b{font-size:18px;line-height:24px}
  .card .c2{font-size:14px;line-height:18px}
  .card .c3{justify-content:flex-start;font-size:16px;line-height:24px}
  .card:hover{padding-inline:24px}
  /* footer (não é 100% no mobile) */
  .foot{padding:66px 0 21px}
  .f-grid{border-top:0}
  .f-left{display:contents}
  .f-row{display:contents}
  .f-cta{order:1;max-width:none;gap:36px;padding-bottom:44px;border-bottom:1px solid var(--line-dark)}
  .f-cta h2{font-size:28px;line-height:30px;white-space:normal}
  .f-btns{flex-direction:column;align-items:stretch;gap:20px}
  .f-btns .btn{width:100%}
  .btn-mail{width:100%}
  .btn-mail .t{flex:1;width:auto}
  .f-logo{display:none}
  .f-redes{order:2;padding:44px 0 0;border:0;gap:0;justify-content:space-between;flex-wrap:nowrap}
  .f-redes .totop{margin-left:0}
  .f-redes .drag{display:none}
  .f-itens{order:3;padding:36px 0 44px;border-bottom:1px solid var(--line-dark)}
  .f-hm{display:none!important}
  .slider{order:4;margin-top:44px}
  .marq p{font-size:133.67px;line-height:134px;letter-spacing:-3.6px;padding-right:32px}
  .foot .dither{display:none}
  /* menu mobile */
  .menu .mp{width:100%;padding:164px 20px 80px}
  .m-links{gap:22px}
  .m-links a{height:28px;font-size:28px;line-height:28px}
  .m-links a>span>span{height:28px}
  .m-links a:hover>span{transform:translateY(-28px)}
  .m-close{left:auto;right:20px;top:42px}
  .lang button{padding:13.2px 21.1px;font-size:13.2px;line-height:13.2px;border-radius:6.6px}
  .lang{border-radius:6.6px}
  .m-links,.m-foot{width:100%}
  .m-foot{gap:64px}
  .pop .box{padding:32px 20px}
  .pop .box h3{font-size:26px;line-height:32px}
  .f2{flex-direction:column;gap:0}
}

/* =====================================================================
   PÁGINAS INTERNAS + componentes globais novos
   (a Home continua usando só site.css; aqui ficam os acréscimos)
   ===================================================================== */

/* ---------- footer saindo de baixo da última seção (todas as páginas) ---------- */
.rv-foot{overflow:hidden;isolation:isolate}
.rv-foot>.w{will-change:transform}
.rv-foot::after{content:"";position:absolute;inset:0;z-index:5;pointer-events:none;background:linear-gradient(#000 0,rgba(0,0,0,.55) 35%,rgba(0,0,0,0) 100%);opacity:calc(var(--sh,0) * .85)}

/* ---------- topo das páginas internas (About, Contact, Portfolio, 404) ---------- */
/* --r = "rem das páginas internas". No notebook (1100–1599) o conteúdo tem 130rem de largura em vez de 160rem,
   então tudo das páginas internas (textos, cards, espaçamentos) encolhe na mesma proporção do layout 1920 (130/160)
   — assim as quebras de linha e as proporções ficam iguais às do Figma 1920. */
:root{--r:1rem}
@media (min-width:1100px) and (max-width:1599px){:root{--r:.8125rem}}
/* números (06+, 120+...) do About e do Currículo encolhem junto com o resto da página no notebook */
@media (min-width:1100px) and (max-width:1599px){
  .ab .stats,.rs-stats{gap:calc(1.2 * var(--r))}
  .ab .stat,.rs-stats .stat{padding:calc(3.2 * var(--r)) 0}
  .ab .stat .k,.rs-stats .stat .k{font-size:calc(1.8 * var(--r));line-height:calc(2.4 * var(--r))}
  .ab .stat .n,.rs-stats .stat .n{font-size:calc(13.2 * var(--r));line-height:calc(10 * var(--r));height:calc(10 * var(--r))}
  .ab .stat .n small,.rs-stats .stat .n small{font-size:calc(10 * var(--r));line-height:calc(10 * var(--r))}
  .ab .stat .n small.yrs,.rs-stats .stat .n small.yrs{font-size:calc(8.4 * var(--r))}
}

.ph-hero{background:var(--paper);color:#0c0c0c;padding:calc(24 * var(--r)) 0 calc(6 * var(--r))}
.ph-hero h1{font-weight:400;font-size:calc(21.6 * var(--r));line-height:calc(20 * var(--r));letter-spacing:-.81px;color:#0c0c0c;white-space:nowrap}
.ph-hero h1 .split-pad,.ph-hero h1 .m{padding-bottom:.12em;margin-bottom:-.12em}
.ph-row{display:flex;align-items:flex-start;justify-content:space-between;gap:calc(2.2 * var(--r));margin-top:calc(6.4 * var(--r));padding-bottom:calc(3.2 * var(--r));border-bottom:1px solid #cdcdcd}
.ph-row .lbl{flex:1 0 0}
.ph-row .lbl:nth-child(2){text-align:center}
.ph-row .lbl:last-child{text-align:right}
.ph-row p{font-size:max(13px,calc(1.8 * var(--r)));line-height:calc(2.4 * var(--r));letter-spacing:-.5px;color:#474747}

/* ---------- About: sobre (galeria + texto + números) ---------- */
.ab{background:var(--paper);color:#0c0c0c;padding:calc(6 * var(--r)) 0 calc(12 * var(--r))}
.ab .w{display:flex;align-items:stretch;justify-content:space-between}
.ab-l{width:36.0625%;display:flex;flex-direction:column;justify-content:space-between;border-right:1px solid var(--line-light)}
.ab-top{height:calc(31 * var(--r));display:flex;flex-direction:column;justify-content:space-between;padding-bottom:calc(3.2 * var(--r))}
.ab-lb{display:flex;justify-content:space-between;padding-right:calc(3.2 * var(--r))}
.flags{width:100%;height:calc(4.22 * var(--r));overflow:hidden;-webkit-mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent)}
.flags-tr{display:flex;gap:calc(2.8 * var(--r));width:max-content;animation:flagx 38s linear infinite}
.flags-tr img{width:calc(4.22 * var(--r));height:calc(4.22 * var(--r));flex:none}
@keyframes flagx{to{transform:translateX(calc(-50% - calc(1.4 * var(--r))))}}
.ab-gal{display:flex;flex-direction:column;gap:calc(1.2 * var(--r));margin:0}
.ab-ph{position:relative;width:100%;aspect-ratio:576/915;overflow:hidden;background:#d9d9d9;touch-action:pan-y}
.ab-ph img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transform:scale(1.06);transition:opacity .9s var(--ease-soft),transform 1.4s var(--ease)}
.ab-ph img.on{opacity:1;transform:scale(1)}
.ab-ph.in.hov img.on{transform:scale(1.06) translate(var(--px,0),var(--py,0));transition:opacity .9s var(--ease-soft),transform .9s var(--ease)}
.ab-bot{display:flex;align-items:center;justify-content:space-between;height:calc(2.3 * var(--r));padding-right:calc(3.2 * var(--r))}
.dots{display:flex;gap:calc(1.2 * var(--r))}
.dots button{width:5px;height:5px;padding:0;background:#d9d9d9;cursor:pointer;transition:background-color .4s var(--ease-soft);position:relative}
.dots button::after{content:"";position:absolute;inset:-8px -6px}
.dots button.on{background:#0f78fd}
.ab-ig{color:rgba(132,132,132,.75);text-decoration:none;transition:color .4s var(--ease-soft)}
.ab-ig:hover{color:var(--blue)}
.ab-r{width:52.5625%;display:flex;flex-direction:column;gap:calc(3.2 * var(--r))}
.ab-all{display:flex;flex-direction:column;gap:calc(2.2 * var(--r));align-items:flex-start}
.ab-all h2{max-width:87.63%;font-weight:400;font-size:calc(5.4 * var(--r));line-height:calc(5.8 * var(--r));letter-spacing:-.8134px;color:#0c0c0c;text-wrap:balance}
.ab-all h2 .g7{color:#7c7c7c}
.ab-txt{display:flex;flex-direction:column;gap:calc(2.4 * var(--r));width:100%}
.ab-txt p{font-size:calc(1.8 * var(--r));line-height:calc(2.4 * var(--r));letter-spacing:-.5px;color:#474747}

/* ---------- About: Skills ---------- */
.sk{background:var(--paper);color:#0c0c0c;padding:calc(12 * var(--r)) 0}
.sk .w{display:flex;gap:calc(6.4 * var(--r));align-items:flex-start}
.sk-l{flex:1;min-width:0;display:flex;flex-direction:column;gap:calc(6.4 * var(--r))}
.sk-head{width:99.05%;height:calc(7.1 * var(--r));display:flex;align-items:center;justify-content:space-between}
.sk-head h2{font-weight:400;font-size:calc(5.4 * var(--r));line-height:calc(5.8 * var(--r));letter-spacing:-.8134px;color:#0c0c0c;white-space:nowrap}
.sk-g{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:calc(2 * var(--r)) calc(1.2 * var(--r))}
.sk-i{height:calc(10.1 * var(--r));display:flex;align-items:center;gap:calc(2.6 * var(--r));padding:calc(2.4 * var(--r));border-bottom:1px solid #cbcbcb}
.sk-i .ic{width:calc(5 * var(--r));height:calc(5 * var(--r));flex:none;display:flex;align-items:center;justify-content:center;background:#e8e8e8}
.sk-i .ic img{width:auto;height:auto;max-width:calc(3.2 * var(--r));max-height:calc(3.2 * var(--r))}
.sk-i .ic i{font-style:normal;font-size:calc(2.2 * var(--r));line-height:calc(1.8 * var(--r));color:#737373}
.sk-i .tx{flex:1;display:flex;flex-direction:column;gap:calc(.4 * var(--r))}
.sk-i .t1{display:flex;align-items:center;justify-content:space-between;gap:calc(.4 * var(--r))}
.sk-i .t1 b{font-weight:400;font-size:calc(2.4 * var(--r));line-height:calc(2.64 * var(--r));letter-spacing:-1px;color:#0c0c0c}
.sk-i .t1 span{font-size:calc(1.6 * var(--r));line-height:calc(2.24 * var(--r));letter-spacing:-.8px;color:#0c0c0c}
.sk-i .t2{font-size:calc(1.6 * var(--r));line-height:calc(2.24 * var(--r));color:rgba(71,71,71,.65)}
.sk-r{width:29.875%;flex:none;display:flex;flex-direction:column;border-left:1px solid var(--line-light)}
.sk-d{width:100%;aspect-ratio:476/132;background:#404040}
.sk-r .drag{width:100%;height:calc(34.4 * var(--r))}
/* tags claras (Skills) */
.drag.lt .pill{background:#e8e8e8;color:#737373;padding:calc(1.2 * var(--r)) calc(2 * var(--r));font-size:max(12px,calc(1.4 * var(--r)));line-height:max(15px,calc(1.6 * var(--r)))}
.drag.lt .pill:hover,.drag.lt .pill.grab{background:#0f78fc;color:#fff}
.drag.lt .pill.pi img{transition:filter .35s}
.drag.lt .pill.pi:hover img,.drag.lt .pill.pi.grab img{filter:brightness(0) invert(1)}
.drag .pill.pi{padding:calc(1.2 * var(--r))}
.drag .pill.pi img{display:block;width:calc(2.2 * var(--r));height:calc(2.2 * var(--r));pointer-events:none}
.drag .pill.pi.pi-l{padding:calc(1.5 * var(--r))}
.drag .pill.pi.pi-l img{width:calc(2.56 * var(--r));height:calc(2.65 * var(--r))}

/* ---------- Contact ---------- */
.ct{background:var(--paper);color:#0d0d0d;padding:calc(6 * var(--r)) 0 calc(12 * var(--r))}
.ct-in{display:flex;justify-content:space-between;align-items:stretch}
.ct-l{width:27.3125%;display:flex;flex-direction:column;gap:calc(4.4 * var(--r));border-right:1px solid var(--line-light)}
.ct-g{display:flex;flex-direction:column;align-items:flex-start;gap:calc(1.2 * var(--r))}
.ct-g .h{font-size:max(12px,calc(1.8 * var(--r)));line-height:calc(2.25 * var(--r));letter-spacing:-.16px;color:#848484;margin-bottom:calc(1 * var(--r))}
.ct-g a{font-size:max(14px,calc(2.2 * var(--r)));line-height:max(18px,calc(2.2 * var(--r)));letter-spacing:-.16px;color:#0d0d0d;white-space:nowrap;transition:color .4s,transform .6s var(--ease)}
.ct-g a:hover{color:var(--blue);transform:translateX(4px)}
.ct-form{width:32.5%;min-height:calc(38.5 * var(--r));display:flex;flex-direction:column;justify-content:center;gap:calc(2.4 * var(--r));padding:calc(4 * var(--r));border-radius:8px;background:rgba(228,228,228,.45)}
.ct-form .fld,.ct-form .btn-mail-l .t,.ct-form .btn-mail-l .sq{border-bottom-color:rgba(197,197,197,.65)}
.ct-form .fld input,.ct-form .fld select,.ct-form .fld textarea,.ct-form .btn-mail-l input{color:#0d0d0d}
.ct-form .fld input::placeholder,.ct-form .fld textarea::placeholder,.ct-form .btn-mail-l input::placeholder,.ct-form .fld.sel select.ph,.ct-form .fld.sel select:invalid{color:#7c7c7c}
.ct-form .fld.sel option{background:#f6f6f6;color:#0d0d0d}
.ct-form .fld:focus-within,.ct-form .btn-mail-l:focus-within .t{border-color:#0d0d0d}
.ct-form .fld.err,.ct-form .btn-mail-l.err .t{border-color:#ff5a4e}
.ct-form .btn-mail-l .sq{background:#026afb}
.ct-form .btn-mail-l .sq::before{background:#0d0d0d}
.ct-form .btn-mail-l .sq i{background:#fff}
.ct-form .f-msg{font-size:max(12px,calc(1.3 * var(--r)));line-height:calc(1.8 * var(--r));color:#d2392e}
.ct-map{position:relative;width:32.5%;min-height:calc(38.5 * var(--r));border-radius:8px;overflow:hidden;background:#e4e4e4}
.ct-map iframe{position:absolute;inset:0;width:100%;height:100%;border:0}

/* ---------- Portfolio ---------- */
.ph-yr{color:#474747}
.ph-yr span{color:rgba(71,71,71,.35)}
/* linha do hero com 3 itens: rótulo | anos (centro) | botão */
.ph-row3{display:grid;grid-template-columns:1fr auto 1fr;align-items:center}
.ph-row3 .ph-yr{text-align:center;font-size:max(13px,calc(1.6 * var(--r)));line-height:calc(2.4 * var(--r));letter-spacing:-.5px}
.ph-row3 .btn{justify-self:end}
.pf{background:var(--paper);color:#5d5d5d;padding:calc(6 * var(--r)) 0 calc(12 * var(--r))}
.pf-g{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:calc(3.2 * var(--r)) calc(1.6 * var(--r))}
.pf-c{display:flex;flex-direction:column;gap:calc(1.6 * var(--r));color:inherit}
.pf-im{position:relative;aspect-ratio:792/435;border-radius:5px;overflow:hidden;background:#d9d9d9;isolation:isolate}
/* nome do projeto que aparece no hover (por cima da imagem desfocada) */
.pf-nm{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;padding:0 calc(2 * var(--r));text-align:center;font-size:calc(8.128 * var(--r));line-height:calc(7.5 * var(--r));letter-spacing:-.31px;color:#fff;opacity:0;transform:translateY(calc(1.2 * var(--r)));transition:opacity .5s var(--ease),transform .7s var(--ease);pointer-events:none;z-index:1}
.pf-im>img{width:100%;height:100%;object-fit:cover;transition:transform .9s var(--ease),filter .6s var(--ease)}
.pf-in{display:flex;justify-content:space-between;align-items:flex-end;gap:calc(2 * var(--r))}
.pf-in div{display:flex;flex-direction:column;gap:calc(.8 * var(--r));min-width:0}
.pf-in div span,.pf-in>span{font-size:max(12px,calc(1.5 * var(--r)));line-height:calc(2.3 * var(--r));letter-spacing:-.16px;color:rgba(93,93,93,.5)}
.pf-in .y0{color:rgba(93,93,93,.3)}
.pf-in b{font-weight:400;font-size:max(16px,calc(2.4 * var(--r)));line-height:calc(2.3 * var(--r));letter-spacing:-.16px;color:#5d5d5d}
@media (hover:hover) and (pointer:fine){
  .pf-c:hover .pf-im>img{transform:scale(1.042);filter:blur(10px)}
  .pf-c:hover .pf-nm{opacity:1;transform:none}
}

/* ---------- Página de projeto (modelo) ---------- */
.btn-dot{gap:calc(1 * var(--r))}
.btn-dot::after{content:"";width:5px;height:5px;background:#0f78fc;flex:none;transition:background-color .42s var(--ease-fill)}
.btn-dot:hover::after{background:#fff}
.pj{background:var(--paper);color:#474747;padding:calc(20 * var(--r)) 0 calc(12 * var(--r))}
.pj-in{display:flex;justify-content:space-between;align-items:stretch}
.pj-l{width:33.25%;border-right:1px solid var(--line-light)}
.pj-st{position:sticky;top:var(--st,calc(20 * var(--r)));display:flex;flex-direction:column;align-items:flex-start;gap:calc(4.4 * var(--r));padding-right:calc(3.2 * var(--r))}
.pj-lb{width:100%;display:flex;justify-content:space-between;gap:calc(2 * var(--r));padding-bottom:calc(3.2 * var(--r))}
.pj-h{font-size:max(18px,calc(2.6 * var(--r)));line-height:max(24px,calc(3.2 * var(--r)));color:#474747}
.pj-cards{width:calc(100% + calc(3.2 * var(--r)));display:flex;flex-direction:column;gap:calc(.4 * var(--r))}
.pj-c{display:flex;justify-content:space-between;align-items:flex-end;gap:calc(2 * var(--r));padding:calc(3.2 * var(--r)) calc(3.2 * var(--r)) calc(3.2 * var(--r)) 0;border-bottom:1px solid var(--line-light);font-size:max(14px,calc(1.8 * var(--r)));line-height:calc(2.4 * var(--r));letter-spacing:-.5px;color:#474747}
.pj-c a{color:inherit;transition:color .4s}
.pj-c a:hover{color:var(--blue)}
.avail{display:inline-flex;align-items:center;gap:calc(1.6 * var(--r));padding:calc(1.8 * var(--r)) calc(2.4 * var(--r));border-radius:5px;background:#e8e8e8;color:#737373;font-size:max(12px,calc(1.5 * var(--r)));line-height:calc(1.6 * var(--r));white-space:nowrap}
.avail i{width:6px;height:6px;border-radius:50%;background:#3dbf36;box-shadow:0 0 0 4px rgba(61,191,54,.2);animation:avail 2.4s ease-in-out infinite}
@keyframes avail{50%{box-shadow:0 0 0 2px rgba(61,191,54,.12)}}
.pj-r{width:63.5%;display:flex;flex-direction:column;gap:calc(3.2 * var(--r))}
.pj-im{aspect-ratio:1016/642;border-radius:10px;overflow:hidden;background:#d9d9d9}
.pj-im img,.pj-im video{width:100%;height:100%;object-fit:cover;display:block}
.pj-2{display:flex;flex-direction:column;gap:calc(1.6 * var(--r))}
.pj-2 .pj-2r{display:flex;gap:calc(1.6 * var(--r))}
.pj-t{display:flex;justify-content:space-between;align-items:flex-start;gap:calc(3.2 * var(--r));padding:calc(3.2 * var(--r)) 0}
.pj-t h3{font-weight:400;font-size:max(24px,calc(3.2 * var(--r)));line-height:max(26px,calc(3.2 * var(--r)));letter-spacing:-.81px;color:#0c0c0c;white-space:nowrap}
.pj-p{width:74.5%;display:flex;flex-direction:column;gap:calc(2.4 * var(--r))}
.pj-p p{font-size:max(14px,calc(1.8 * var(--r)));line-height:calc(2.4 * var(--r));letter-spacing:-.5px;color:#474747}
.pj-live{align-items:center}
.pj-br{display:flex;flex-direction:column;gap:calc(1.2 * var(--r))}
.pj-bar{display:flex;align-items:center;gap:calc(.3 * var(--r));height:calc(5.8 * var(--r));padding:0 calc(2.4 * var(--r));border-radius:16px;background:#fff}
.pj-bar span{flex:1;font-size:max(14px,calc(1.8 * var(--r)));line-height:calc(2.16 * var(--r));color:rgba(12,12,12,.8);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pj-bar i{width:8px;height:8px;border-radius:50%;background:#fe5b60;flex:none}
.pj-bar i+i{background:#f5c901}.pj-bar i+i+i{background:#33c555}
.pj-prev{border-radius:16px}
.pj-half{flex:1;aspect-ratio:500/453}
.pj-2r{display:flex;gap:calc(1.6 * var(--r))}
/* páginas de projeto reais (geradas por tools/projects.py) */
.pj-g{display:flex;flex-direction:column;gap:calc(1.6 * var(--r))}
.pj-tl{aspect-ratio:1016/523;background:#fff}
.pj-hero{position:relative}
.pj-rib{position:absolute;top:0;right:5.12%;width:5.63%;z-index:1}
.pj-rib img{width:100%;height:auto;display:block}
.pj-bd{position:absolute;left:calc(2.1 * var(--r));bottom:calc(2.2 * var(--r));z-index:1;display:flex;flex-direction:column;align-items:flex-start;gap:calc(.7 * var(--r))}
.pj-bd a,.pj-bd>span{display:inline-flex;align-items:center;gap:calc(.5 * var(--r));padding:calc(1 * var(--r)) calc(1.4 * var(--r));border-radius:10px;background:#0f0f0f;border:1px solid #333;color:#fff;font-size:max(11px,calc(1.4 * var(--r)));line-height:calc(1.6 * var(--r));white-space:nowrap}
.pj-bd img{flex:none;width:calc(1.6 * var(--r));height:calc(1.6 * var(--r))}
.pj-bar{color:inherit}
.pj-p-sm{width:45.2%}
.pj-p-md{width:67.7%}
/* Live Preview: o site de verdade num iframe, em tamanho de desktop (1440) reduzido para caber na caixa.
   A imagem do Figma fica por baixo até o site carregar. */
.pj-frame{position:relative;background:#e9e9e9}
.pj-frame>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:top center}
.pj-frame iframe{position:absolute;top:0;left:0;border:0;width:var(--fw,1440px);height:calc(100% / var(--s,1));transform:scale(var(--s,1));transform-origin:0 0;background:#fff;opacity:0;transition:opacity .6s var(--ease)}
.pj-frame.on iframe{opacity:1}
.pj-btns{display:flex;flex-wrap:wrap;gap:calc(1.6 * var(--r));margin-top:calc(2 * var(--r))}
.btn-blue{background:#0d78ff;color:#f6f6f6;--hb:#0a62d4}
.btn-ic{gap:calc(1 * var(--r))}
.btn-ic img{width:calc(1.6 * var(--r));height:calc(1.6 * var(--r));transition:filter .42s var(--ease-fill)}
.btn-ic:hover img{filter:brightness(0) invert(1)}

/* ---------- Currículo ---------- */
.rs{padding-top:calc(24 * var(--r))}
.rs-lb .rs-mid{color:rgba(132,132,132,.65)}
.rs-name{font-weight:400;font-size:calc(7.8 * var(--r));line-height:calc(7.8 * var(--r));color:#2d2d2d;white-space:nowrap}
.rs .pj-c a,.rs .pj-c>span:first-child{color:#474747}
.rs .pj-c i{font-style:normal;color:rgba(71,71,71,.5);transition:color .4s}
.rs .pj-c a:hover,.rs .pj-c a:hover i{color:var(--blue)}
.rs-av{display:flex;flex-direction:column;align-items:flex-start;gap:calc(1.2 * var(--r))}
.rs-dl{display:inline-flex;align-items:center;gap:calc(1 * var(--r));padding:calc(1.6 * var(--r)) calc(2.4 * var(--r));border-radius:5px;background:#0d78ff;color:#f6f6f6;font-size:max(12px,calc(1.4 * var(--r)));line-height:calc(1.6 * var(--r));white-space:nowrap;transition:background-color .3s}
.rs-dl:hover{background:#0a62d4}
.rs-dl img{width:calc(1.6 * var(--r));height:calc(1.6 * var(--r))}
.rs-r{gap:calc(3.2 * var(--r))}
.rs-r .pj-t{padding:calc(3.2 * var(--r)) 0}
.rs-im{display:flex;gap:calc(1.6 * var(--r))}
.rs-g,.rs-ph{position:relative;border-radius:10px;overflow:hidden;background:#d9d9d9}
.rs-g{width:58.27%;aspect-ratio:592/453}
.rs-ph{flex:1}
.rs-g>img:first-child,.rs-ph img{width:100%;height:100%;object-fit:cover;display:block}
.rs-bh{position:absolute;top:0;right:5.57%;width:9.66%;height:auto}
.rs-bd{position:absolute;left:calc(2.1 * var(--r));bottom:calc(1.7 * var(--r));display:flex;flex-direction:column;align-items:flex-start;gap:calc(.7 * var(--r))}
.rs-bd span{display:inline-flex;align-items:center;gap:calc(.5 * var(--r));padding:calc(1 * var(--r)) calc(1.4 * var(--r));border-radius:10px;background:#0f0f0f;border:1px solid #333;color:#fff;font-size:max(11px,calc(1.4 * var(--r)));line-height:calc(1.6 * var(--r));white-space:nowrap}
.rs-bd img{width:calc(1.6 * var(--r));height:calc(1.6 * var(--r))}
.rs-hd{display:flex;justify-content:space-between;align-items:center;gap:calc(3.2 * var(--r));padding-top:calc(6.4 * var(--r))}
.rs-hd-l{align-items:flex-start}
.rs-hd h3{font-weight:400;font-size:max(24px,calc(3.2 * var(--r)));line-height:max(26px,calc(3.2 * var(--r)));letter-spacing:-.81px;color:#0c0c0c;white-space:nowrap}
.rs-hd p{font-size:max(14px,calc(1.8 * var(--r)));line-height:calc(2.4 * var(--r));letter-spacing:-.5px;color:#474747}
.rs-hd-l p{width:67.9%}
.rs-cs{display:flex;flex-direction:column}
.rs-c{display:flex;justify-content:space-between;align-items:flex-start;gap:calc(2 * var(--r));padding:calc(3.2 * var(--r)) 0;border-bottom:1px solid var(--line-light)}
.rs-c1{display:flex;flex-direction:column;gap:calc(3.2 * var(--r));min-width:0}
.rs-h{display:flex;flex-direction:column;gap:calc(.8 * var(--r))}
.rs-c b{font-weight:400;font-size:max(16px,calc(2 * var(--r)));line-height:calc(2.4 * var(--r));letter-spacing:-.5px;color:#474747}
.rs-h span,.rs-c1 p{font-size:max(13px,calc(1.6 * var(--r)));line-height:calc(2.4 * var(--r));letter-spacing:-.5px;color:rgba(71,71,71,.65)}
.rs-y{display:flex;gap:calc(.8 * var(--r));flex:none;font-size:max(13px,calc(1.6 * var(--r)));line-height:calc(2.4 * var(--r));letter-spacing:-.5px;white-space:nowrap}
.rs-y .y1{color:rgba(71,71,71,.65)}.rs-y .y2{color:rgba(71,71,71,.3)}.rs-y .pr{color:var(--blue-3)}
.rs-sk .rs-c1{gap:calc(1.2 * var(--r))}
.rs-pl{display:flex;flex-wrap:wrap;gap:calc(1.2 * var(--r)) calc(.8 * var(--r))}
.rs-pl span{padding:calc(1.2 * var(--r)) calc(2 * var(--r));border-radius:5px;background:#e8e8e8;color:#737373;font-size:max(12px,calc(1.4 * var(--r)));line-height:calc(1.6 * var(--r));white-space:nowrap}
.rs-tools{gap:calc(2 * var(--r)) calc(1.2 * var(--r))}
.rs-lang{display:flex;gap:calc(1.6 * var(--r))}
.rs-lang .rs-c{flex:1}
.rs-stats .stat:first-child{padding-top:0}
.rs-stats .stat .k{white-space:normal;max-width:55%}

/* PDF do currículo (resume.html?print): só o conteúdo, sem navbar, footer, menu e cursor */
html.print .navbar,html.print .foot,html.print .pt,html.print .menu,html.print .pop,html.print .cur,html.print .cur-tag,html.print .noise,html.print .rs-dl{display:none!important}
html.print body{background:var(--paper)}
html.print .rs{padding:calc(12 * var(--r)) 0}
html.print .pj-st{position:static}

/* ---------- 404 ---------- */
.e4{background:var(--paper);color:#0c0c0c;padding:calc(24 * var(--r)) 0 calc(6 * var(--r))}
.e4-sl{overflow:hidden;touch-action:pan-y;user-select:none;-webkit-user-select:none}
.e4 .marq p{font-size:calc(21.6 * var(--r));line-height:calc(20 * var(--r));letter-spacing:-.81px;color:#0c0c0c;padding-right:.27em;padding-bottom:calc(3.2 * var(--r))}
.e4 .marq p span{color:var(--blue)}

/* ---------- Política de Privacidade / Termos ---------- */
.lg{padding-top:calc(24 * var(--r))}
.lg-nav{gap:0;padding-right:0}
.lg-n{width:100%;display:flex;justify-content:space-between;align-items:flex-end;gap:calc(2 * var(--r));padding:calc(3.2 * var(--r)) calc(3.2 * var(--r)) calc(3.2 * var(--r)) 0;border-bottom:1px solid var(--line-light);font-size:max(14px,calc(1.8 * var(--r)));line-height:calc(2.4 * var(--r));letter-spacing:-.5px;color:#474747;transition:color .3s,padding .5s var(--ease)}
.lg-n .lbl{color:rgba(132,132,132,.75);transition:color .3s}
.lg-n:not(.on):hover{color:var(--blue)}
.lg-n.on{background:#0f78fc;color:#fff;padding-left:calc(3.2 * var(--r));border-bottom-color:transparent}
.lg-n.on .lbl{color:rgba(255,255,255,.75)}
.lg-t h1{font-weight:400;font-size:max(24px,calc(3.2 * var(--r)));line-height:max(26px,calc(3.2 * var(--r)));letter-spacing:-.81px;color:#0c0c0c;white-space:nowrap}
.lg-p{gap:calc(2.4 * var(--r))}
.lg-p p{overflow-wrap:anywhere}

/* ---------- Templates (lista) ---------- */
.tp .pf-im.tp-im{aspect-ratio:792/420}
.tp .pj-bd{left:calc(1.3 * var(--r));bottom:calc(1.3 * var(--r))}

/* ---------- Template interno (Galea) ---------- */
.tg{background:var(--paper);color:#0c0c0c;padding:calc(20 * var(--r)) 0 calc(12 * var(--r))}
.tg-in{width:min(calc(120 * var(--r)),calc(100% - 40px));margin:0 auto;display:flex;flex-direction:column;gap:calc(4 * var(--r))}
.tg-hd{display:flex;justify-content:space-between;align-items:flex-start;gap:calc(2 * var(--r))}
.tg-ti{display:flex;flex-direction:column;align-items:flex-start;gap:calc(1.5 * var(--r))}
.tg-ti h1{font-weight:400;font-size:max(24px,calc(3.2 * var(--r)));line-height:1;letter-spacing:-1.2px}
.tg-sub{font-weight:500;font-size:max(13px,calc(1.5 * var(--r)));line-height:calc(2.3 * var(--r));letter-spacing:-.1px;color:#5e5e5e}
.tg-tag{display:inline-flex;align-items:center;gap:calc(.5 * var(--r));font-size:max(12px,calc(1.2 * var(--r)));line-height:calc(1.8 * var(--r));color:#999}
.tg-bt{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:calc(1 * var(--r))}
.tg-bt .btn-blue{background:#0f78fc}
.tg-gal{display:flex;gap:calc(1 * var(--r))}
.tg-main{position:relative;width:80%;aspect-ratio:4/3;border-radius:20px;overflow:hidden;background:#000;isolation:isolate}
.tg-main::after{content:"";position:absolute;inset:0;border-radius:inherit;box-shadow:inset 0 0 0 1px rgba(0,0,0,.1);pointer-events:none}
.tg-main img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .5s var(--ease)}
.tg-main img.on{opacity:1}
.tg-th{flex:1;min-width:0;display:flex;flex-direction:column;gap:calc(1 * var(--r))}
.tg-th button{position:relative;display:block;aspect-ratio:230/173;border-radius:16px;overflow:hidden;background:#000;border:0;padding:0;opacity:.5;transition:opacity .35s}
.tg-th button.on,.tg-th button:hover{opacity:1}
.tg-th img{width:100%;height:100%;object-fit:cover;display:block}
.tg-tx{display:flex;flex-direction:column;align-items:flex-start;padding-top:calc(2 * var(--r));color:#484848}
.tg-tx h2{font-weight:400;font-size:max(22px,calc(2.8 * var(--r)));line-height:1.1;letter-spacing:-.84px;color:#0c0c0c;margin-bottom:calc(2 * var(--r))}
.tg-tx p{font-size:max(13px,calc(1.3 * var(--r)));line-height:max(20px,calc(2 * var(--r)))}
.tg-tx p+p{margin-top:calc(2 * var(--r))}
.tg-tx h3{font-weight:400;font-size:max(14px,calc(1.4 * var(--r)));line-height:calc(1.8 * var(--r));color:#0f0f0f;margin-top:calc(3 * var(--r))}
.tg-tx ul{list-style:none;margin:calc(1 * var(--r)) 0;padding-left:calc(2.4 * var(--r));display:flex;flex-direction:column;gap:calc(.5 * var(--r))}
.tg-tx li{position:relative;font-size:max(13px,calc(1.3 * var(--r)));line-height:max(20px,calc(2 * var(--r)))}
.tg-tx li::before{content:"•";position:absolute;left:calc(-1.4 * var(--r))}
.tg-cta{display:flex;flex-direction:column;align-items:flex-start;gap:calc(1 * var(--r));margin-top:calc(4 * var(--r))}
.tg-cta h2{margin-bottom:0}

/* ---------- tablet (768–1099) ---------- */
@media (max-width:1099px){
  .tg{padding:140px 0 96px}
  .tg-in{width:calc(100% - 64px)}
  .tg-hd{flex-direction:column}
  .tg-bt{justify-content:flex-start}
  .lg{padding-top:140px}
  .lg .lg-nav{gap:0}
  .e4{padding:180px 0 48px}
  .e4 .marq p{font-size:150px;line-height:140px;padding-bottom:24px}
  .rs{padding-top:140px}
  .rs-name{font-size:64px;line-height:64px}
  .rs-g{width:58.27%}
  .pf-g{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px 16px}
  .pj{padding:140px 0 96px}
  .pj-in{flex-direction:column;gap:48px}
  .pj-l,.pj-r{width:100%}
  .pj-l{border-right:0}
  .pj-st{position:static;padding-right:0;gap:32px}
  .pj-cards{width:100%}
  .pj-c{padding:24px 0}
  .pj-h{max-width:620px}
  .ct{padding:48px 0 96px}
  .ct-in{flex-wrap:wrap;gap:24px}
  .ct-l{width:100%;flex-direction:row;gap:48px;border-right:0;border-bottom:1px solid var(--line-light);padding-bottom:40px;margin-bottom:24px}
  .ct-g{flex:1}
  .ct-form{width:100%;min-height:0}
  .ct-map{width:100%;min-height:0;height:380px}
  .ph-hero{padding:180px 0 48px}
  .ph-hero h1{font-size:min(150px,18vw);line-height:.94em;white-space:normal}
  .ph-row{margin-top:48px}
  .ab{padding:48px 0 96px}
  .ab .w{flex-direction:column;align-items:stretch;gap:64px}
  .ab-l{width:auto;height:auto;border-right:0;gap:24px;order:2}
  .ab-r{width:auto;order:1}
  .ab-top{height:auto;gap:32px;padding-bottom:0}
  .ab-lb{padding-right:0}
  .flags{width:100%;height:42px}
  .flags-tr img{width:42px;height:42px}
  .ab-bot{padding-right:0;height:23px}
  .ab-all h2{max-width:737px;font-size:46px;line-height:50px}
  .ab-txt{width:auto;max-width:760px}
  .sk{padding:96px 0}
  .sk .w{flex-direction:column;gap:48px}
  .sk-l,.sk-head{width:100%}
  .sk-head{height:auto}
  .sk-head h2{font-size:46px;line-height:50px}
  .sk-g{grid-template-columns:repeat(2,minmax(0,1fr))}
  .sk-r{width:100%;border-left:0;border-top:1px solid var(--line-light)}
  .sk-d{width:100%;height:auto;aspect-ratio:476/132}
  .sk-r .drag{width:100%;height:300px}
}

/* ---------- celular (até 767) ---------- */
@media (max-width:767px){
  .tg{padding:137px 0 64px}   /* título 32px abaixo da linha do menu */
  .tg-in{width:calc(100% - 40px);gap:32px}
  .tg-bt{width:100%;flex-direction:column}
  .tg-bt .btn{width:100%;justify-content:center;padding:15px 24px}
  .tg-gal{flex-direction:column}
  .tg-main{width:100%;border-radius:14px}
  .tg-th{flex-direction:row;gap:8px}
  .tg-th button{flex:1;border-radius:10px}
  .tg-tx h2{font-size:24px}
  .tg-tx p,.tg-tx li{font-size:14px;line-height:21px}
  .tg-cta .btn{width:100%;justify-content:center;padding:15px 24px}
  .lg{padding-top:120px}
  .lg-n{padding:20px 20px 20px 0;font-size:15px}
  .lg-n.on{padding-left:20px}
  .lg-t{flex-direction:column;gap:20px}
  .e4{padding:150px 0 32px}
  .e4 .marq p{font-size:96px;line-height:92px;letter-spacing:-.5px;padding-bottom:20px}
  .rs{padding-top:120px}
  .rs-lb{flex-wrap:wrap;gap:4px 16px}
  .rs-lb .rs-mid{order:3;width:100%}
  .rs-name{font-size:44px;line-height:46px;white-space:normal}
  .rs-av .avail{white-space:normal;line-height:18px;align-items:center}
  .rs-av .avail span{font-size:13px}
  .rs-dl{width:100%;justify-content:center;padding:15px 24px}
  .rs-im{flex-direction:column}
  .rs-g{width:100%}
  .rs-ph{aspect-ratio:408/453}
  .rs-bd span{font-size:12px}
  .rs-hd{flex-direction:column;align-items:flex-start;gap:12px;padding-top:40px}
  .rs-hd p,.rs-hd-l p{width:auto;max-width:none!important;font-size:14px;line-height:20px}
  .rs-c{gap:16px;padding:24px 0}
  .rs-c:not(.rs-sk){flex-direction:column-reverse}
  .rs-c1{gap:16px}
  .rs-c1 p{font-size:14px;line-height:20px}
  .rs-pl span{font-size:12px;padding:10px 14px}
  .rs-lang{flex-direction:column;gap:0}
  .rs-stats .stat:first-child{padding-top:24px}
  .rs-stats .stat .k{max-width:none}
  .pf{padding:32px 0 64px}
  .pf-g{grid-template-columns:1fr;gap:32px}
  .ph-row3{grid-template-columns:1fr auto;row-gap:20px}
  .ph-row3 .btn{grid-column:1/-1;justify-self:stretch;padding:15px 24px}
  .pf-in b{font-size:20px;line-height:24px}
  .pf-in div span,.pf-in>span{font-size:13px;line-height:18px}
  .pj{padding:120px 0 64px}
  .pj-lb .lbl{font-size:13px}
  .pj-h{font-size:20px;line-height:26px}
  .pj-c{padding:20px 0;font-size:15px}
  .avail{padding:14px 20px}
  .pj-r{gap:24px}
  .pj-t{flex-direction:column;gap:16px;padding:16px 0}
  .pj-live{flex-direction:row;align-items:center}
  .pj-live h3{font-size:24px;line-height:26px;letter-spacing:-.5px}
  .pj-p{width:100%;gap:16px}
  .pj-p p{font-size:14px;line-height:20px}
  .pj-2 .pj-2r{flex-direction:column}
  .pj-2r{flex-direction:column;gap:8px}
  .pj-g{gap:8px}
  .pj-p-sm{width:100%}
  .pj-p-md{width:100%}
  /* celular: o preview mostra a imagem do site inteira (preenche a caixa) e tocar abre o site real.
     Site embutido ao vivo no celular fica pequeno no modo celular do Chrome e prende a rolagem. */
  .pj-frame{cursor:pointer}
  .pj-frame iframe{display:none}
  .pj-frame>img{object-fit:cover;object-position:top center}
  .pj-btns{margin-top:8px;gap:8px}
  .pj-btns .btn{flex:1 1 auto}
  .pj-rib{width:44px;right:20px}
  .pj-bd{left:12px;bottom:12px;gap:6px}
  .pj-bd a{font-size:12px;padding:8px 10px;line-height:14px}
  .tp .pj-bd{display:none}   /* página Templates: sem as tags no celular */
  .pj-bar{height:48px;padding:0 16px;border-radius:12px}
  .pj-bar span{font-size:14px}
  .pj-prev{border-radius:12px}
  .ct{padding:32px 0 64px}
  .ct-l{flex-direction:column;gap:32px;padding-bottom:32px;margin-bottom:8px}
  .ct-g{gap:4px}
  .ct-g .h{font-size:13px;line-height:18px;margin-bottom:8px}
  .ct-g a{font-size:18px;line-height:22px;padding:11px 0}
  .ct-form{padding:20px;gap:16px}
  .ct-form .f2{gap:16px}
  .ct-form .btn-mail-l{margin-top:24px}
  .ct-map{height:320px}
  .ph-hero{padding:150px 0 32px}
  .ph-hero h1{font-size:76px;line-height:72px;letter-spacing:-.5px}
  .ph-row{margin-top:32px;padding-bottom:20px;flex-wrap:wrap;gap:8px 16px}
  .ph-row .lbl{font-size:13px;line-height:18px;flex:0 1 auto}
  .ph-row .lbl:nth-child(2){order:3;width:100%;text-align:left}
  .ph-row p{font-size:14px;line-height:18px}
  .ab{padding:0 0 64px}
  .ph-row .ph-mid{display:none}
  .ab .w{gap:48px}
  .ab-lb .lbl,.ab-bot .lbl{font-size:13px}
  .flags{height:36px;-webkit-mask-image:none;mask-image:none}
  .flags-tr{gap:20px}
  .flags-tr img{width:36px;height:36px}
  .ab-ph{aspect-ratio:353/489}
  .dots{gap:14px}
  .dots button{width:6px;height:6px}
  .dots button::after{inset:-19px -7px}
  .ab-all{gap:20px}
  .ab-all h2{font-size:26px;line-height:32px;max-width:none}
  .ab-txt{gap:18px}
  .ab-txt p{font-size:14px;line-height:18px}
  .sk{padding:64px 0}
  .sk-l{gap:32px}
  .sk-head h2{font-size:38px;line-height:38px}
  .sk-head .lbl{font-size:14px}
  .sk-g{grid-template-columns:1fr;gap:0}
  .sk-i{height:auto;padding:20px 0;gap:16px}
  .sk-i .ic{width:44px;height:44px}
  .sk-i .ic img{max-width:26px;max-height:26px}
  .sk-i .ic i{font-size:18px;line-height:16px}
  .sk-i .t1 b{font-size:18px;line-height:22px;letter-spacing:-.5px}
  .sk-i .t1 span,.sk-i .t2{font-size:14px;line-height:18px}
  .sk-r .drag{height:370px}
}

/* slides do scroll horizontal da Home com imagem de fundo (Galea, Seven Tax) */
.panel.p-img{position:relative;background-color:#0d0d0d}
/* imagem de fundo do slide: versão desktop e versão mobile (do Figma) */
.panel.p-img .p-bg,.panel.p-img .p-bg img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.panel.p-img>.w{position:relative;z-index:1}

/* ---------- Social media (Datago, Dra. Lisandra): 2 carrosséis de posts ----------
   Figma: posts 362x453, 16px entre eles e entre as fileiras. A 1ª anda para a esquerda, a 2ª para a direita. */
.pj-mq{display:flex;flex-direction:column;gap:calc(1.6 * var(--r));overflow:hidden}
.mq-row{--w:calc(36.2 * var(--r));--g:calc(1.6 * var(--r));overflow:hidden}
.mq-tr{display:flex;gap:var(--g);width:max-content;will-change:transform}
.mq-row{touch-action:pan-y;-webkit-user-select:none;user-select:none;cursor:grab}
.mq-row[data-grab]{cursor:grabbing}
.mq-row[data-grab] .mq-it{pointer-events:none}
.mq-it{display:block;flex:none;width:var(--w);aspect-ratio:362/453;padding:0;background:#d9d9d9;overflow:hidden;cursor:inherit}
.mq-it img{-webkit-user-drag:none}
.mq-it img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .9s var(--ease)}
.mq-it:hover img{transform:scale(1.03)}
.mq-it:focus-visible{outline:2px solid var(--blue);outline-offset:-2px}
@media (max-width:767px){.pj-mq{gap:8px}.mq-row{--w:220px;--g:8px}}

/* lightbox (post aberto grande) */
.lbx{position:fixed;inset:0;z-index:95;display:grid;place-items:center;visibility:hidden;pointer-events:none;transition:visibility 0s linear .5s}
.lbx .ov{position:absolute;inset:0;background:rgba(13,13,13,.82);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);opacity:0;transition:opacity .5s var(--ease)}
.lbx img{position:relative;display:block;max-width:min(72.5rem,calc(100vw - 32px));max-height:calc(100vh - 14rem);width:auto;height:auto;opacity:0;transform:scale(.96);transition:opacity .5s var(--ease),transform .6s var(--ease)}
.lbx button{position:absolute;display:grid;place-items:center;width:4.8rem;height:4.8rem;min-width:44px;min-height:44px;border-radius:5px;background:#1a1a1a;color:#f6f6f6;font-size:2rem;line-height:1;opacity:0;transition:opacity .5s var(--ease),background .3s}
.lbx button:hover{background:var(--blue)}
.lbx .x{top:2.4rem;right:2.4rem}
.lbx .x img{width:1.6rem;height:1.6rem;min-width:14px;filter:invert(1);opacity:1;transform:none;max-height:none}
.lbx .pv{left:2.4rem;top:50%;margin-top:-2.4rem}
.lbx .nx{right:2.4rem;top:50%;margin-top:-2.4rem}
.lbx.on{visibility:visible;pointer-events:auto;transition:visibility 0s}
.lbx.on .ov,.lbx.on button{opacity:1}
.lbx.on>img{opacity:1;transform:none}
@media (max-width:767px){.lbx>img{max-height:calc(100vh - 160px)}.lbx .pv,.lbx .nx{top:auto;bottom:24px;margin:0}.lbx .pv{left:calc(50% - 52px)}.lbx .nx{right:calc(50% - 52px)}.lbx .x{top:16px;right:16px}}

/* ---------- aviso de cookies (primeira visita) ---------- */
.ck{position:fixed;left:2.4rem;bottom:2.4rem;z-index:80;width:min(44rem,calc(100vw - 32px));background:#1a1a1a;color:#9a9897;border-radius:5px;padding:2.4rem;display:flex;flex-direction:column;gap:2rem;opacity:0;transform:translateY(2rem);visibility:hidden;transition:opacity .6s var(--ease),transform .8s var(--ease),visibility 0s linear .8s}
.ck.on{opacity:1;transform:none;visibility:visible;transition:opacity .6s var(--ease),transform .8s var(--ease),visibility 0s}
.ck .h{font-size:max(12px,1.4rem);line-height:max(17px,2rem);color:#848484}
.ck p{font-size:max(13px,1.5rem);line-height:max(19px,2.2rem);letter-spacing:-.16px;color:#d6d6d6}
.ck p a{color:#f6f6f6;text-decoration:underline;text-underline-offset:2px}
.ck-b{display:flex;gap:.8rem}
.ck-b .btn{flex:1 1 0}
.ck .btn-dark{background:#2a2a2a}
.ck .btn-white{--hb:#2a2a2a;--hc:#f6f6f6}
@media (max-width:767px){.ck{left:16px;bottom:16px;padding:20px;gap:16px}.ck-b .btn{padding:14px 16px}}

/* mapa do contato antes de aceitar os cookies */
.ct-map .map-off{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1.6rem;width:100%;height:100%;background:#e9e9e9;color:#5d5d5d;text-align:center;padding:2.4rem;font-size:max(13px,1.5rem);line-height:max(19px,2.2rem)}

/* ---------- motions (ExCO: telas em pilha / DRAKKO: esteira) ----------
   O palco tem o tamanho do Figma (1016x642) e é reduzido para caber na caixa (--s vem do JS). */
.mo{position:relative}
.mo-stage{position:absolute;left:0;top:0;width:1016px;height:642px;transform:scale(var(--s,1));transform-origin:0 0;overflow:hidden}
.mo-stack{background:#fff}
.mo-card{position:absolute;left:249px;top:0;width:518px;aspect-ratio:518/266;transform-origin:50% 50%;will-change:transform}
.mo-card img{position:absolute;inset:0;width:100%!important;height:100%!important;object-fit:cover;opacity:0}
.mo-card img.on{opacity:1}
.mo-card::after{content:"";position:absolute;inset:0;z-index:-1;opacity:var(--sh,0);box-shadow:0 18px 40px rgba(0,0,0,.1),0 73px 73px rgba(0,0,0,.09),0 164px 99px rgba(0,0,0,.05),0 292px 117px rgba(0,0,0,.01)}
.mo-belt .mo-bg{position:absolute;inset:0;width:1016px!important;height:642px!important}
.mo-col{position:absolute;left:0;top:0;width:520px;height:4698px;transform-origin:0 0}
.mo-col.sh{box-shadow:0 129px 250px rgba(0,0,0,.1),0 517px 250px rgba(0,0,0,.09)}
.mo-tr{position:absolute;left:0;top:-4698px;width:520px;height:18792px;background-repeat:repeat-y;background-size:520px 4698px;will-change:transform}
.mo-slides{background:#e9e9e9}
.mo-slides .mo-sbg{position:absolute;left:-32px;top:-354px;width:1080px!important;height:1350px!important}
.mo-sl{position:absolute;left:0;top:0;width:566px;height:327px;transform-origin:0 0;will-change:transform}
.mo-sl img{width:100%!important;height:100%!important;display:block}

/* ---------- pop-up de download do template ---------- */
.box-dl{gap:2rem!important}
.box-dl .fld{flex:none}
.ck-ok{position:relative;display:flex;text-align:left;gap:1.2rem;align-items:flex-start;cursor:pointer;font-size:max(12px,1.3rem);line-height:max(17px,1.9rem);color:#9a9897;margin-top:.4rem}
.ck-ok input{position:absolute;opacity:0;width:1px;height:1px}
.ck-ok i{flex:none;width:1.8rem;height:1.8rem;min-width:16px;min-height:16px;margin-top:.1rem;border:1px solid rgba(237,237,237,.65);border-radius:3px;transition:background .3s,border-color .3s}
.ck-ok input:checked+i{background:var(--blue) no-repeat center/70% url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath d='M1 5l3.5 3.5L11 1' fill='none' stroke='%23fff' stroke-width='1.8'/%3E%3C/svg%3E");border-color:var(--blue)}
.ck-ok input:focus-visible+i{outline:2px solid var(--blue);outline-offset:2px}
.ck-ok.err i{border-color:#ff5a4e}
.ck-ok a{color:#f6f6f6;text-decoration:underline;text-underline-offset:2px}
.box-dl .dl-go{width:100%;margin-top:.8rem}
.box-dl .dl-go.busy{opacity:.6;pointer-events:none}
.box-dl .dl-go{--hb:var(--blue);--hc:#f6f6f6}
