/* ════════════════════════════════════════
   TOKENS
════════════════════════════════════════ */
:root {
  --bg:       #0d0014;
  --bg2:      #130020;
  --grid:     rgba(180,100,255,0.12);
  --surface:  #1a0028;
  --surf2:    #210033;
  --border:   #7f00ff;
  --bord2:    rgba(127,0,255,0.3);

  --purple:   #bf5fff;
  --pink:     #ff4ddb;
  --green:    #00ff99;
  --yellow:   #ffe600;
  --cyan:     #00eeff;
  --white:    #f5edff;
  --muted:    #9b7cb8;

  --win-bar:  #2d0050;
  --win-btn-close: #ff4ddb;
  --win-btn-min:   #ffe600;
  --win-btn-max:   #00ff99;

  --font-main:  'Space Grotesk', sans-serif;
  --font-pixel: 'Pixelify Sans', monospace;
  --font-bold:  'Graduate', sans-serif;

  --nav-h: 56px;
}

[data-theme="light"] {
  --bg:       #f0e8ff;
  --bg2:      #e4d4ff;
  --grid:     rgba(100,0,200,0.08);
  --surface:  #ffffff;
  --surf2:    #f8f0ff;
  --border:   #8b00ff;
  --bord2:    rgba(139,0,255,0.25);

  --purple:   #8b00ff;
  --pink:     #e0008c;
  --green:    #00aa55;
  --yellow:   #cc9900;
  --cyan:     #0077aa;
  --white:    #1a0033;
  --muted:    #6644aa;

  --win-bar:  #c8a0ff;
  --win-btn-close: #e0008c;
  --win-btn-min:   #cc9900;
  --win-btn-max:   #00aa55;
}

[data-theme="light"] .phcard-body h4,
[data-theme="light"] .pcard-body h3,
[data-theme="light"] .proj-overlay-title,
[data-theme="light"] .phcard-body *,
[data-theme="light"] .pcard-body * {
  color: var(--white);
}

[data-theme="light"] .phcard-body,
[data-theme="light"] .pcard-body {
  background: var(--surface);
}

[data-theme="light"] .phcard-body h4,
[data-theme="light"] .pcard-body h3 {
  color: var(--white) !important;
}

[data-theme="light"] .phcard-body p,
[data-theme="light"] .pcard-body p {
  color: var(--muted) !important;
}

/* ════════════════════════════════════════
   RESET
════════════════════════════════════════ */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{
  scroll-behavior:smooth;
  min-height:100%;
  overflow-x:hidden;
}
body{
  font-family:var(--font-main);
  background:var(--bg);
  color:var(--white);
  line-height:1.6;
  overflow-x:hidden;
  transition:background .3s,color .3s;
  min-height:100%;
}
img,video{
  max-width:100%;
  height:auto;
}
iframe{
  max-width:100%;
}
/* Anti-overflow: tudo respeita a largura do pai (exceções abaixo) */
*{
  max-width:100%;
}
.marquee-track,
.marquee-track *{
  max-width:none !important;
}
.vault-player{
  height:220px;
  max-width:100%;
}
p,h1,h2,h3,h4,li,.hero-sub,.irow-val,.pd-win .win-body p{
  overflow-wrap:break-word;
  word-wrap:break-word;
}
a{color:inherit;text-decoration:none}
button{font-family:var(--font-main);cursor:pointer;border:none;background:none}
input,textarea{font-family:var(--font-main)}

/* GRID + GRAIN BG */
body::before{
  content:'';
  position:fixed;inset:0;
  pointer-events:none;
  z-index:0;
  background-image:
    linear-gradient(rgba(127,0,255,0.10) 1px,transparent 1px),
    linear-gradient(90deg,rgba(127,0,255,0.10) 1px,transparent 1px);
  background-size:40px 40px;
}
body::after{
  content:'';
  position:fixed;inset:0;
  pointer-events:none;
  z-index:0;
  opacity:.45;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='250' height='250'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.68' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='250' height='250' filter='url(%23n)' opacity='0.15'/%3E%3C/svg%3E");
  background-repeat:repeat;
  background-size:250px 250px;
}

::-webkit-scrollbar{width:5px}
::-webkit-scrollbar-track{background:var(--bg)}
::-webkit-scrollbar-thumb{background:var(--purple);border-radius:3px}

/* ════════════════════════════════════════
   NAV
════════════════════════════════════════ */
#navbar{
  position:fixed;top:0;left:0;right:0;
  height:var(--nav-h);
  z-index:200;
  display:flex;align-items:center;justify-content:space-between;
  padding:0 1.8rem;
  background:var(--bg2);
  border-bottom:2px solid var(--border);
  image-rendering:pixelated;
}

.nav-logo{
  display:flex;align-items:center;gap:.6rem;
  font-family:var(--font-pixel);
  font-size:1.1rem;
  color:var(--purple);
  letter-spacing:.04em;
  transition:color .2s;
}
.nav-logo:hover{color:var(--pink)}

/* TC Logo SVG inline */
.tc-logo-svg{
  width:36px;height:36px;
  color:var(--purple);
  transition:color .2s;
  flex-shrink:0;
}
.nav-logo:hover .tc-logo-svg{color:var(--pink)}

.nav-links{
  display:flex;list-style:none;gap:.2rem;
  position:relative;
}
.nav-links a{
  font-family:var(--font-pixel);
  font-size:.78rem;
  letter-spacing:.06em;
  padding:.35rem .9rem;
  border:1px solid transparent;
  color:var(--muted);
  transition:all .2s;
  text-transform:uppercase;
}
.nav-links a:hover,.nav-links a.active{
  color:var(--purple);
  border-color:var(--border);
  background:rgba(127,0,255,.12);
}

.nav-controls{display:flex;align-items:center;gap:.5rem}
.ctrl-btn{
  font-family:var(--font-pixel);
  font-size:.72rem;
  letter-spacing:.06em;
  padding:.3rem .75rem;
  border:1px solid var(--bord2);
  color:var(--muted);
  background:var(--surface);
  transition:all .2s;
  text-transform:uppercase;
}
.ctrl-btn:hover{border-color:var(--purple);color:var(--purple)}

.nav-burger{
  display:none;flex-direction:column;gap:4px;padding:4px;background:none;border:none;cursor:pointer
}
.nav-burger span{display:block;width:20px;height:2px;background:var(--white)}

/* ════════════════════════════════════════
   PAGES
════════════════════════════════════════ */
/* Empurra o footer para o fim da viewport em páginas com pouco conteúdo (ex.: contato) */
.site-shell{
  display:flex;
  flex-direction:column;
  min-height:100vh;
  min-height:100dvh;
}
#main{
  flex:1 1 auto;
  width:100%;
  padding-top:var(--nav-h);
  position:relative;
  z-index:1;
}
.page{display:none;animation:pgIn .35s ease}
.page.active{display:block}
@keyframes pgIn{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}

/* ════════════════════════════════════════
   WIN98 WINDOW COMPONENT
════════════════════════════════════════ */
.win{
  background:var(--surface);
  border:2px solid var(--border);
  box-shadow:4px 4px 0 var(--border);
  border-radius:0;
  position:relative;
  overflow:hidden;
}
.win-bar{
  background:var(--win-bar);
  border-bottom:2px solid var(--border);
  padding:.35rem .7rem;
  display:flex;align-items:center;justify-content:space-between;
  user-select:none;
}
.win-title{
  font-family:var(--font-pixel);
  font-size:.72rem;
  letter-spacing:.06em;
  color:var(--white);
  text-transform:uppercase;
  display:flex;align-items:center;gap:.5rem;
  min-width:0;
  flex:1;
}
.win-dots{display:flex;gap:.3rem;flex-shrink:0}
.win-dot{
  width:10px;height:10px;
  border-radius:50%;
  border:1px solid rgba(0,0,0,.3);
}
.wd-r{background:var(--win-btn-close)}
.wd-y{background:var(--win-btn-min)}
.wd-g{background:var(--win-btn-max)}
.win-body{padding:1.4rem}

/* ════════════════════════════════════════
   SPARKLES & DECORATIONS (SVG inline)
════════════════════════════════════════ */
.sparkle{
  position:absolute;pointer-events:none;
  animation:sparkSpin 6s linear infinite;
  color:var(--purple);
  opacity:.7;
}
@keyframes sparkSpin{
  0%,100%{opacity:.7;transform:scale(1) rotate(0deg)}
  50%{opacity:1;transform:scale(1.3) rotate(180deg)}
}
.sparkle-float{animation:floatY 4s ease-in-out infinite}
@keyframes floatY{0%,100%{transform:translateY(0)}50%{transform:translateY(-12px)}}

/* ════════════════════════════════════════
   BUTTONS
════════════════════════════════════════ */
.btn{
  font-family:var(--font-pixel);
  font-size:.8rem;
  letter-spacing:.08em;
  padding:.6rem 1.4rem;
  border:2px solid;
  cursor:pointer;
  display:inline-flex;align-items:center;gap:.5rem;
  transition:all .2s;
  text-transform:uppercase;
  position:relative;
}
.btn::after{content:'';position:absolute;bottom:-4px;right:-4px;width:100%;height:100%;border:2px solid;border-color:inherit;z-index:-1;transition:all .2s}
.btn:hover{transform:translate(-2px,-2px)}
.btn:hover::after{transform:translate(4px,4px)}

.btn-main{
  background:var(--purple);
  border-color:var(--purple);
  color:#000;
}
.btn-main::after{background:var(--pink);border-color:var(--pink)}

.btn-outline{
  background:transparent;
  border-color:var(--purple);
  color:var(--purple);
}
.btn-outline:hover{background:var(--purple);color:#000}

.btn-pink{
  background:var(--pink);
  border-color:var(--pink);
  color:#000;
}
.btn-pink::after{background:var(--yellow);border-color:var(--yellow)}

.btn-sm{
  font-size:.7rem;padding:.4rem 1rem;
  background:transparent;
  border-color:var(--bord2);
  color:var(--muted);
}
.btn-sm:hover{border-color:var(--purple);color:var(--purple)}

/* ════════════════════════════════════════
   HOME PAGE
════════════════════════════════════════ */
#page-home{min-height:100vh}

.hero{
  padding:3rem 2rem 2rem;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:2rem;
  align-items:center;
  min-height:calc(100vh - var(--nav-h));
  position:relative;
  max-width:1200px;
  margin:0 auto;
}

/* glitch heading */
.hero-heading{
  position:relative;
  font-family:var(--font-bold);
  font-size:clamp(3.5rem,7vw,6.5rem);
  line-height:.92;
  letter-spacing:-.02em;
  color:var(--white);
  margin-bottom:1.2rem;
}
.hero-heading span{
  display:block;
  color:var(--purple);
  -webkit-text-stroke:2px var(--pink);
  text-shadow:4px 4px 0 var(--pink), 8px 8px 0 rgba(0,238,255,.3);
}
.hero-heading em{
  font-style:normal;
  color:var(--pink);
  -webkit-text-stroke:1px var(--yellow);
}

.hero-sub{
  font-size:.95rem;
  color:var(--muted);
  margin-bottom:1.8rem;
  max-width:420px;
  line-height:1.7;
}

.hero-tag{
  display:inline-block;
  font-family:var(--font-pixel);
  font-size:.7rem;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:var(--green);
  border:1px solid var(--green);
  padding:.25rem .8rem;
  margin-bottom:1rem;
  background:rgba(0,255,153,.06);
}

.hero-btns{display:flex;gap:1rem;flex-wrap:wrap;margin-bottom:1.5rem}

.hero-socials{display:flex;gap:.6rem;flex-wrap:wrap}
.soc-btn{
  font-family:var(--font-pixel);
  font-size:.68rem;
  letter-spacing:.08em;
  text-transform:uppercase;
  padding:.3rem .8rem;
  border:1px solid var(--bord2);
  color:var(--muted);
  display:inline-flex;align-items:center;gap:.35rem;
  transition:all .2s;
  background:var(--surface);
}
.soc-btn:hover{border-color:var(--purple);color:var(--purple);transform:translateY(-2px)}

/* hero right — stacked windows */
.hero-right{position:relative;height:440px}

.hero-win-main{
  position:absolute;
  top:0;right:0;
  width:320px;
}
.hero-win-sub{
  position:absolute;
  bottom:20px;left:0;
  width:220px;
  z-index:2;
}
.hero-win-mini{
  position:absolute;
  top:160px;left:30px;
  width:180px;
  z-index:3;
}

.avatar-box{
  background:var(--surf2);
  height:220px;
  display:flex;align-items:center;justify-content:center;
  border-bottom:2px solid var(--bord2);
  position:relative;
  overflow:hidden;
}
.avatar-box::before{
  content:'';
  position:absolute;inset:0;
  background:linear-gradient(135deg,rgba(127,0,255,.15),rgba(255,77,219,.1));
}
.avatar-img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  position:relative;
  z-index:1;
}

/* sticker badges */
.sticker{
  position:absolute;
  font-family:var(--font-pixel);
  font-size:.65rem;
  letter-spacing:.06em;
  text-transform:uppercase;
  padding:.25rem .6rem;
  border:2px solid;
  background:var(--bg);
  animation:floatY 3.5s ease-in-out infinite;
  white-space:nowrap;
  z-index:10;
}
.stk1{color:var(--green);border-color:var(--green);top:30px;left:-20px;animation-delay:.2s}
.stk2{color:var(--yellow);border-color:var(--yellow);bottom:80px;right:-10px;animation-delay:.9s}
.stk3{color:var(--cyan);border-color:var(--cyan);top:200px;right:-15px;animation-delay:1.5s}

/* big sparkle SVG decorations */
.deco-spark{
  position:absolute;
  pointer-events:none;
  color:var(--purple);
  opacity:.6;
}

/* ════════════════════════════════════════
   MARQUEE STRIP
════════════════════════════════════════ */
.marquee-wrap{
  overflow:hidden;
  overflow-x:hidden;
  width:100%;
  max-width:100%;
  border-top:2px solid var(--border);
  border-bottom:2px solid var(--border);
  padding:.7rem 0;
  background:var(--win-bar);
  position:relative;z-index:1;
}
.marquee-track{
  display:flex;gap:0;
  white-space:nowrap;
  animation:marquee 20s linear infinite;
  width:max-content;
}
.marquee-track span{
  font-family:var(--font-pixel);
  font-size:.75rem;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--purple);
  padding:0 1.8rem;
}
.marquee-track span.sep{color:var(--pink);padding:0 .5rem}
@keyframes marquee{from{transform:translateX(0)}to{transform:translateX(-50%)}}

/* ════════════════════════════════════════
   HOME SECTIONS
════════════════════════════════════════ */
.home-sec{
  padding:4rem 2rem;
  max-width:1100px;
  margin:0 auto;
  position:relative;
}
.home-sec-full{
  padding:3rem 2rem;
  position:relative;
  z-index:1;
}
/* Faixa full-width abaixo do carrossel (gradiente fora do max-width do .home-sec) */
.home-sobre-band{
  width:100%;
  box-sizing:border-box;
  border-top:1px solid rgba(255,255,255,.08);
  background:linear-gradient(180deg,rgba(125,78,255,.07) 0%,transparent 55%);
}
[data-theme="light"] .home-sobre-band{
  border-top-color:rgba(0,0,0,.1);
  background:linear-gradient(180deg,rgba(139,0,255,.07) 0%,transparent 55%);
}

.sec-label{
  font-family:var(--font-pixel);
  font-size:.68rem;
  letter-spacing:.2em;
  text-transform:uppercase;
  color:var(--pink);
  display:flex;align-items:center;gap:.6rem;
  margin-bottom:.6rem;
}
.sec-label::before{content:'✦';font-size:.5rem}

.sec-title{
  font-family:var(--font-bold);
  font-size:clamp(1.6rem,3vw,2.5rem);
  line-height:1;
  color:var(--white);
  margin-bottom:1.2rem;
}
.sec-title em{font-style:normal;color:var(--purple)}
#home-projetos .sec-title{margin-bottom:.45rem}
.sec-home-proj-hint{
  font-size:.82rem;
  color:var(--muted);
  line-height:1.5;
  max-width:36rem;
  margin:0 0 1rem;
}

.project-media-placeholder{
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(160deg, var(--surf2) 0%, var(--surface) 55%, rgba(127,0,255,.08) 100%);
}
.project-placeholder-ico{
  font-size:clamp(2.2rem,7vw,3.5rem);
  line-height:1;
  opacity:.9;
  user-select:none;
}

/* certificações — destaque na home */
.home-cert-sec{
  max-width:1100px;
  margin:0 auto;
  padding:2rem 0 1rem;
}
.home-cert-lead{
  font-size:.95rem;
  color:var(--muted);
  line-height:1.6;
  margin:-.4rem 0 1.8rem;
  max-width:42ch;
}
.home-cert-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1.2rem;
}
.home-cert-card{
  display:flex;
  flex-direction:column;
  align-items:stretch;
  text-decoration:none;
  color:inherit;
  transition:transform .2s, box-shadow .2s;
  overflow:hidden;
}
.home-cert-card:hover{
  transform:translate(-4px,-4px);
  color:inherit;
}
.home-cert-card:hover .win{
  box-shadow:6px 6px 0 var(--purple);
}
.home-cert-badge-wrap{
  background:linear-gradient(145deg,rgba(255,255,255,.06),rgba(255,77,219,.04));
  border-bottom:2px solid var(--border);
  padding:1.25rem 1rem;
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:140px;
}
.home-cert-badge-img{
  max-width:100%;
  max-height:120px;
  width:auto;
  height:auto;
  object-fit:contain;
  filter:drop-shadow(0 6px 12px rgba(0,0,0,.35));
}
.home-cert-card-body{
  padding:1rem 1.1rem 1.15rem;
  display:flex;
  flex-direction:column;
  gap:.35rem;
}
.home-cert-card-body strong{
  font-family:var(--font-bold);
  font-size:1rem;
  color:var(--white);
  line-height:1.25;
}
.home-cert-card-body span{
  font-family:var(--font-pixel);
  font-size:.62rem;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--muted);
}
.home-cert-cta{
  margin-top:1.75rem;
  display:flex;
  justify-content:center;
}

/* Ancoras da home (menu / scroll) */
#home-sobre,
#home-certificacoes,
#home-projetos,
#home-contato{
  scroll-margin-top:calc(var(--nav-h) + 1rem);
}

/* Contato na home — mesma linguagem do site (.win, tokens, botões) */
.home-contact-sec{padding-bottom:4rem}
.home-contact-win{
  max-width:680px;
  margin:0 auto;
  text-align:left;
}
.home-contact-body{
  padding-bottom:1.5rem;
  font-family:var(--font-main);
}
.home-contact-kicker{
  font-family:var(--font-pixel);
  font-size:.68rem;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--pink);
  margin:0 0 .55rem;
}
.home-contact-title{
  font-family:var(--font-bold);
  font-size:clamp(1.45rem,3vw,2.1rem);
  line-height:1.15;
  color:var(--white);
  margin:0 0 1rem;
}
.home-contact-text{
  font-family:var(--font-main);
  font-size:.92rem;
  line-height:1.75;
  color:var(--muted);
  margin:0 0 1.45rem;
  max-width:52ch;
}
.home-contact-text strong{
  font-family:var(--font-main);
  color:var(--purple);
  font-weight:600;
}
a.home-contact-inline{
  font-family:var(--font-main);
  color:var(--cyan);
  text-decoration:underline;
  text-underline-offset:3px;
  transition:color .15s;
}
a.home-contact-inline:hover{color:var(--pink)}
.home-contact-actions{
  display:flex;
  flex-wrap:wrap;
  gap:.85rem;
  margin-bottom:1.2rem;
}
a.home-contact-btn{text-decoration:none}
.home-contact-btn svg{flex-shrink:0;opacity:.95}

/* about home */
.about-home-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:2rem;
  align-items:start;
}
.about-text p{
  font-size:.92rem;
  color:var(--muted);
  line-height:1.75;
  margin-bottom:.9rem;
}
.about-text strong{color:var(--purple)}
.about-text .btn{margin-top:.5rem}

.hobby-chips{
  display:flex;flex-wrap:wrap;gap:.6rem;
  margin-top:1.2rem;
}
.hchip{
  font-family:var(--font-pixel);
  font-size:.7rem;
  letter-spacing:.06em;
  text-transform:uppercase;
  padding:.3rem .8rem;
  border:2px solid;
  display:flex;align-items:center;gap:.4rem;
  transition:all .2s;
  cursor:default;
}
.hchip:hover{transform:translateY(-2px) rotate(-1deg)}
.hc-1{color:var(--white);border-color:var(--white)}
.hc-2{color:var(--green);border-color:var(--green)}
.hc-3{color:var(--pink);border-color:var(--pink)}
.hc-4{color:var(--yellow);border-color:var(--yellow)}
.hc-5{color:var(--cyan);border-color:var(--cyan)}

/* mojo dojo win */
.mojo-win{max-width:680px;margin:0 auto}
.mojo-body{
  padding:1.8rem;
  display:flex;gap:1.5rem;align-items:flex-start;
}
.mojo-logo-wrap{flex-shrink:0}
.mojo-logo{width:72px;height:72px;display:block;object-fit:contain}
.mojo-txt h3{
  font-family:var(--font-bold);
  font-size:1.4rem;
  color:var(--purple);
  margin-bottom:.5rem;
}
.mojo-txt p{font-size:.88rem;color:var(--muted);line-height:1.7}
.mojo-pill{
  display:inline-block;
  margin-top:.8rem;
  font-family:var(--font-pixel);
  font-size:.65rem;
  letter-spacing:.1em;
  text-transform:uppercase;
  color:var(--pink);
  border:1px solid var(--pink);
  padding:.2rem .6rem;
  background:rgba(255,77,219,.06);
}
/* Mesmo estilo/animação do btn-outline do hero, só que compacto no card Mojo */
.btn.btn-outline.mojo-outline-btn{
  margin-top:.5rem;
  font-size:.65rem;
  letter-spacing:.06em;
  padding:.32rem .75rem;
  align-self:flex-start;
}
/* proj home cards */
.proj-home-row{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:1.35rem;
  margin-top:1.5rem;
  align-items:stretch;
}
.phcard{
  cursor:pointer;
  transition:all .2s;
  display:flex;
  min-height:0;
  height:100%;
}
.phcard .win{
  display:flex;
  flex-direction:column;
  flex:1;
  width:100%;
  min-height:100%;
}
.phcard:hover{transform:translate(-3px,-3px)}
.phcard:hover .win{box-shadow:6px 6px 0 var(--purple)}
.phcard-top{
  padding:0;
  background:var(--surface);
  border-bottom:2px solid var(--bord2);
}
.project-media{
  position:relative;
  width:100%;
  overflow:hidden;
}
.project-media-home{height:clamp(200px,22vw,260px);flex-shrink:0}
.project-media-grid{height:clamp(200px,20vw,250px);flex-shrink:0}
.project-thumb{
  width:100%;
  height:100%;
  object-fit:cover;
  background:var(--surface);
  transition:transform .4s ease, filter .3s ease;
  cursor:zoom-in;
  display:block;
}
.phcard .project-thumb,
.pcard .project-thumb{
  filter:brightness(.85);
}
.phcard:hover .project-thumb,
.pcard:hover .project-thumb{
  transform:scale(1.05);
  filter:brightness(1);
}
.project-thumb-fit{
  object-fit:contain;
  padding:.35rem;
  box-sizing:border-box;
}
.project-media::after{
  content:'🔍';
  font-size:2rem;
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  opacity:0;
  transition:opacity .2s;
  pointer-events:none;
}
.phcard:hover .project-media::after,.pcard:hover .project-media::after{opacity:1}
.project-grad{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  padding:.8rem;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:.45rem;
  background:linear-gradient(to top, rgba(13,0,20,0.85) 0%, transparent 60%);
}
.project-title{
  font-family:var(--font-bold);
  font-size:1.05rem;
  color:var(--white);
  margin:0;
  line-height:1;
  transition:color .2s;
}
.phcard:hover .project-title,.pcard:hover .project-title{color:var(--purple)}
.phcard-badge{
  font-family:var(--font-pixel);
  font-size:.62rem;
  letter-spacing:.08em;
  text-transform:uppercase;
  padding:.2rem .5rem;
  border:1px solid;
  background:rgba(0,0,0,.6);
}
.pbadge-purple{color:var(--purple);border-color:var(--purple)}
.pbadge-green{color:var(--green);border-color:var(--green)}
.pbadge-pink{color:var(--pink);border-color:var(--pink)}
.pbadge-yellow{color:var(--yellow);border-color:var(--yellow)}
.pbadge-cyan{color:var(--cyan);border-color:var(--cyan)}
.phcard-body{
  padding:1rem 1.2rem 1.2rem;
  flex:1;
  display:flex;
  flex-direction:column;
}
.phcard-body h4{
  font-family:var(--font-bold);
  font-size:1rem;
  color:var(--white);
  margin-bottom:.3rem;
}
.phcard-body p{font-size:.8rem;color:var(--muted);line-height:1.5}

/* ════════════════════════════════════════
   INNER PAGE HERO
════════════════════════════════════════ */
.pg-hero{
  padding:3.5rem 2rem 2rem;
  max-width:900px;
  margin:0 auto;
  position:relative;
}
.pg-hero-label{
  font-family:var(--font-pixel);
  font-size:.7rem;
  letter-spacing:.15em;
  text-transform:uppercase;
  color:var(--pink);
  margin-bottom:.6rem;
  display:flex;align-items:center;gap:.5rem;
}
.pg-hero-label::before{content:'✦';font-size:.5rem}
.pg-hero h1{
  font-family:var(--font-bold);
  font-size:clamp(2.5rem,6vw,5rem);
  line-height:.95;
  color:var(--white);
  margin-bottom:.6rem;
}
.pg-hero h1 span{color:var(--purple)}
.pg-hero p{font-size:.95rem;color:var(--muted)}

/* ════════════════════════════════════════
   SOBRE PAGE
════════════════════════════════════════ */
.sobre-layout{
  display:grid;
  grid-template-columns:1fr 300px;
  gap:1.8rem;
  padding:1.5rem 2rem 5rem;
  max-width:1100px;
  margin:0 auto;
  align-items:start;
}

.sobre-win{margin-bottom:1.5rem}
.sobre-win .win-body p{
  font-size:.9rem;color:var(--muted);line-height:1.75;margin-bottom:.8rem
}
.sobre-win .win-body p strong{color:var(--white)}
.sobre-win .win-body p em{color:var(--purple);font-style:normal}
.sobre-win .win-body h3{
  font-family:var(--font-bold);
  font-size:1.1rem;color:var(--white);
  margin-bottom:.8rem;
  display:flex;align-items:center;gap:.5rem;
}

.hobby-grid{
  display:grid;grid-template-columns:1fr 1fr;gap:.8rem;
  margin-top:.8rem;
}
.hobby-card{
  border:2px solid var(--bord2);
  padding:.9rem;
  background:var(--surf2);
  transition:all .2s;
}
.hobby-card:hover{border-color:var(--purple);transform:translate(-2px,-2px);box-shadow:4px 4px 0 var(--purple)}
.hobby-card .hico{font-size:1.5rem;display:block;margin-bottom:.3rem}
.hobby-card strong{display:block;font-size:.85rem;color:var(--white);margin-bottom:.15rem}
.hobby-card span{font-size:.75rem;color:var(--muted)}

/* side cards */
.side-win{margin-bottom:1.2rem}
.info-rows{display:flex;flex-direction:column;gap:.6rem}
.irow{display:flex;flex-direction:column;gap:.15rem;padding:.5rem 0;border-bottom:1px solid var(--bord2)}
.irow:last-child{border-bottom:none}
.irow-key{font-family:var(--font-pixel);font-size:.62rem;letter-spacing:.1em;text-transform:uppercase;color:var(--pink)}
.irow-val{font-size:.82rem;color:var(--muted)}
.irow-val.open{color:var(--green);font-weight:700}

.tag-cloud{display:flex;flex-wrap:wrap;gap:.4rem}
.tag{
  font-family:var(--font-pixel);
  font-size:.65rem;
  letter-spacing:.06em;
  text-transform:uppercase;
  padding:.25rem .6rem;
  border:1px solid var(--bord2);
  color:var(--muted);
  transition:all .2s;
  cursor:default;
}
.tag:hover{border-color:var(--purple);color:var(--purple)}
.tag.t-pink{border-color:rgba(255,77,219,.3);color:var(--pink)}
.tag.t-pink:hover{border-color:var(--pink)}

.cert-rows{display:flex;flex-direction:column;gap:.8rem}
.cert-r{display:flex;align-items:flex-start;gap:.7rem;padding:.6rem 0;border-bottom:1px solid var(--bord2)}
.cert-r:last-child{border-bottom:none}
a.cert-r-link{
  color:inherit;
  text-decoration:none;
  cursor:pointer;
  transition:all .2s;
  padding:.65rem;
  border:2px solid transparent;
  background:var(--surf2);
}
a.cert-r-link:hover{
  border-color:var(--purple);
  box-shadow:4px 4px 0 var(--purple);
  transform:translate(-2px,-2px);
}
.cert-badge-img{
  width:72px;
  height:72px;
  object-fit:cover;
  flex-shrink:0;
  border:2px solid var(--bord2);
  background:var(--surface);
}
.cert-meta{display:flex;flex-direction:column;gap:.15rem}
.cert-r strong{display:block;font-size:.8rem;color:var(--white);line-height:1.3;margin-bottom:.1rem}
.cert-r span{font-size:.72rem;color:var(--muted)}

/* timeline */
.timeline{position:relative;padding-left:1.2rem}
.timeline::before{content:'';position:absolute;left:0;top:0;bottom:0;width:2px;background:linear-gradient(180deg,var(--purple),transparent)}
.tl-item{position:relative;padding-left:1.5rem;margin-bottom:1.5rem}
.tl-item::before{
  content:'';position:absolute;left:-1.2rem;top:6px;
  width:8px;height:8px;
  background:var(--purple);
  border:2px solid var(--bg);
  box-shadow:0 0 8px var(--purple);
}
.tl-role{font-family:var(--font-bold);font-size:.95rem;color:var(--white);margin-bottom:.15rem}
.tl-co{font-family:var(--font-pixel);font-size:.65rem;letter-spacing:.08em;text-transform:uppercase;color:var(--purple);margin-bottom:.15rem}
.tl-period{font-size:.72rem;color:var(--muted);margin-bottom:.4rem}
.tl-desc{font-size:.82rem;color:var(--muted);line-height:1.6}

/* music vault */
.vault-body{
  background:var(--surface);
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:1rem;
}
.vault-main-btn{
  min-width:min(100%,340px);
  justify-content:center;
}
.vault-status{
  min-height:1.3rem;
  font-family:var(--font-pixel);
  font-size:.72rem;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--pink);
}
.vault-status.is-active{animation:vaultBlink .45s steps(2,end) infinite}
.vault-result{
  width:100%;
  display:none;
  flex-direction:column;
  gap:.8rem;
}
.vault-result.show{display:flex}
.vault-song-info{
  margin:0;
  font-family:var(--font-pixel);
  font-size:.78rem;
  letter-spacing:.05em;
  color:var(--purple);
  opacity:0;
}
.vault-song-info.song-in{animation:vaultSongIn .4s ease forwards}
.vault-player{
  width:100%;
  height:220px;
  border:0;
  background:var(--bg2);
}
.vault-again-btn{
  align-self:flex-start;
  display:none;
}

@keyframes vaultSongIn{
  from{opacity:0;transform:translateY(10px)}
  to{opacity:1;transform:translateY(0)}
}
@keyframes vaultBlink{
  0%,49%{opacity:1}
  50%,100%{opacity:.2}
}

#lightbox {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
}
#lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.92);
  cursor: zoom-out;
}
#lightbox-content {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}
#lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border: 2px solid var(--border);
  box-shadow: 0 0 40px rgba(127,0,255,0.4);
  cursor: zoom-in;
  transition: transform 0.3s ease;
}
#lightbox-img.zoomed {
  transform: scale(1.8);
  cursor: zoom-out;
}
#lightbox-close {
  position: absolute;
  top: .6rem;
  right: 0;
  background: none;
  border: 1px solid var(--border);
  color: var(--white);
  font-size: 1rem;
  width: 32px;
  height: 32px;
  cursor: pointer;
  font-family: var(--font-pixel);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  z-index: 3;
  pointer-events: auto;
}
#lightbox-close:hover {
  border-color: var(--pink);
  color: var(--pink);
}
#lightbox-caption {
  font-family: var(--font-pixel);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ════════════════════════════════════════
   PROJETOS PAGE
════════════════════════════════════════ */
.proj-layout{
  padding:1.5rem 2rem 5rem;
  max-width:1100px;
  margin:0 auto;
}
.proj-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:1.4rem;
  align-items:stretch;
}
.pcard{
  cursor:pointer;
  transition:all .2s;
  display:flex;
  min-height:0;
  height:100%;
}
.pcard .win{
  display:flex;
  flex-direction:column;
  flex:1;
  width:100%;
  min-height:100%;
}
.pcard:hover{transform:translate(-3px,-3px)}
.pcard:hover .win{box-shadow:6px 6px 0 var(--purple)}
.pcard-top{
  padding:0;
  background:var(--surface);
  border-bottom:2px solid var(--bord2);
}
.pcard-body{
  padding:1.2rem 1.5rem 1.5rem;
  flex:1;
  display:flex;
  flex-direction:column;
}
.pcard-body p{font-size:.82rem;color:var(--muted);margin-bottom:.9rem;line-height:1.5}
.pcard-tags{display:flex;flex-wrap:wrap;gap:.35rem;margin-bottom:.9rem}
.ptag{
  font-family:var(--font-pixel);font-size:.6rem;
  letter-spacing:.06em;text-transform:uppercase;
  padding:.18rem .5rem;
  border:1px solid var(--bord2);color:var(--muted);
}

/* ════════════════════════════════════════
   PROJECT DETAIL
════════════════════════════════════════ */
.pd-back{padding:1.5rem 2rem 0;max-width:1100px;margin:0 auto}
.pd-layout{
  padding:1.5rem 2rem 5rem;
  max-width:900px;margin:0 auto;
}
.pd-header{
  display:flex;align-items:flex-start;gap:1.5rem;
  margin-bottom:1.5rem;
}
.pd-preview{
  margin-bottom:1.75rem;
}
.pd-preview .pd-preview-inner{
  padding:0;
  background:var(--surface);
  border-top:2px solid var(--bord2);
}
.pd-preview-media{
  position:relative;
  width:100%;
  height:clamp(220px,36vw,420px);
  overflow:hidden;
}
.pd-preview-media::after{
  content:'🔍';
  font-size:1.75rem;
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  opacity:0;
  transition:opacity .2s;
  pointer-events:none;
  text-shadow:0 0 12px rgba(0,0,0,.6);
}
.pd-preview:hover .pd-preview-media::after{opacity:1}
.pd-preview-img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:top center;
  display:block;
  cursor:zoom-in;
  background:var(--surface);
  transition:transform .35s ease, filter .2s;
}
.pd-preview:hover .pd-preview-img{
  transform:scale(1.03);
  filter:brightness(1.06);
}
.pd-icon{font-size:3.5rem;flex-shrink:0}
.pd-title{font-family:var(--font-bold);font-size:2.2rem;color:var(--white);margin-bottom:.3rem;line-height:1}
.pd-sub{font-size:.9rem;color:var(--muted)}
.pd-tags{display:flex;flex-wrap:wrap;gap:.4rem;margin-top:.6rem}
.pd-grid{
  display:grid;
  grid-template-columns:1fr 240px;
  gap:1.5rem;align-items:start;
}
.pd-win{margin-bottom:1.2rem}
.pd-win .win-body p{font-size:.88rem;color:var(--muted);line-height:1.7;margin-bottom:.6rem}
.pd-win .win-body h3{font-family:var(--font-bold);font-size:1rem;color:var(--white);margin-bottom:.7rem}
.pd-win .win-body ul{padding-left:1rem}
.pd-win .win-body ul li{font-size:.85rem;color:var(--muted);margin-bottom:.3rem}
.gh-link{
  display:flex;align-items:center;justify-content:center;gap:.5rem;
  font-family:var(--font-pixel);font-size:.75rem;
  letter-spacing:.08em;text-transform:uppercase;
  padding:.75rem 1rem;
  border:2px solid var(--purple);
  color:var(--purple);
  background:rgba(127,0,255,.07);
  margin-bottom:.8rem;
  transition:all .2s;
}
.gh-link:hover{background:var(--purple);color:#000}

/* ════════════════════════════════════════
   CONTATO PAGE
════════════════════════════════════════ */
.contato-layout{
  padding:1.5rem 2rem 5rem;
  max-width:560px;
  margin:0 auto;
}
.cmt-win{margin-bottom:1.2rem}
.cmt-item{
  display:flex;align-items:center;gap:1rem;
  padding:.9rem;
  border:2px solid var(--bord2);
  background:var(--surf2);
  margin-bottom:.7rem;
  transition:all .2s;
  color:inherit;text-decoration:none;
}
.cmt-item:hover{border-color:var(--purple);transform:translateX(4px)}
.cmt-ico{
  width:38px;height:38px;
  display:flex;align-items:center;justify-content:center;
  border:2px solid var(--bord2);
  font-size:1rem;flex-shrink:0;
}
.cmt-item strong{display:block;font-size:.85rem;color:var(--white);margin-bottom:.1rem}
.cmt-item span{font-size:.78rem;color:var(--muted)}

/* ════════════════════════════════════════
   CERTIFICADOS (página)
════════════════════════════════════════ */
#page-certificados .win[href]:hover{
  border-color:var(--purple);
  transform:translate(-3px,-3px);
  box-shadow:4px 4px 0 var(--purple);
}
.cert-page-pad{
  padding-left:2rem;
  padding-right:2rem;
}
.cert-badges-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:1.2rem;
}
.cert-cats-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,200px),1fr));
  gap:1rem;
}

/* ════════════════════════════════════════
   FOOTER
════════════════════════════════════════ */
footer{
  flex-shrink:0;
  border-top:2px solid var(--border);
  background:var(--bg2);
  padding:1.5rem 2rem;
  position:relative;z-index:1;
}
.footer-inner{
  display:flex;align-items:center;justify-content:space-between;
  flex-wrap:wrap;gap:1rem;
  max-width:1100px;margin:0 auto;
}
.footer-brand{
  display:flex;align-items:center;gap:.6rem;
  font-family:var(--font-pixel);font-size:.8rem;
  letter-spacing:.06em;color:var(--purple);
}
.footer-brand .tc-logo-svg{width:28px;height:28px}
.footer-copy{font-family:var(--font-pixel);font-size:.65rem;letter-spacing:.06em;color:var(--muted)}
.footer-links{display:flex;gap:.8rem}
.footer-links a{
  font-family:var(--font-pixel);font-size:.65rem;
  letter-spacing:.08em;text-transform:uppercase;
  color:var(--muted);transition:color .2s;
}
.footer-links a:hover{color:var(--purple)}

/* ════════════════════════════════════════
   FAQ + BOTAO VOLTAR
════════════════════════════════════════ */
#btn-voltar{
  position:fixed;
  bottom:2rem;
  left:2rem;
  z-index:500;
  font-family:var(--font-pixel);
  font-size:.72rem;
  letter-spacing:.1em;
  text-transform:uppercase;
  padding:.5rem 1rem;
  background:var(--surface);
  border:2px solid var(--border);
  color:var(--purple);
  cursor:pointer;
  transition:all .2s;
  box-shadow:3px 3px 0 var(--border);
}
#btn-voltar:hover{
  border-color:var(--pink);
  color:var(--pink);
  box-shadow:3px 3px 0 var(--pink);
  transform:translate(-1px,-1px);
}
.faq-item{
  margin-bottom:.8rem;
  transition:all .2s;
}
.faq-item:hover{border-color:var(--purple)}
.faq-question .win-bar{border-bottom:none !important}
.faq-question:hover .win-title{color:var(--purple)}
.faq-arrow{
  font-size:.7rem;
  color:var(--muted);
  transition:transform .3s ease;
  flex-shrink:0;
  margin-left:1rem;
}
.faq-item.open .faq-arrow{
  transform:rotate(180deg);
  color:var(--purple);
}
.faq-item.open{
  border-color:var(--purple);
  box-shadow:4px 4px 0 var(--purple);
}
.faq-answer{border-top:1px solid var(--bord2)}
.faq-answer .win-body p{
  font-size:.9rem;
  color:var(--muted);
  line-height:1.75;
}

#a11y-btn-wrap{
  position:fixed;
  bottom:2rem;
  right:2rem;
  z-index:600;
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:.5rem;
}
#a11y-toggle{
  width:44px;
  height:44px;
  border-radius:50%;
  background:var(--purple2, #7f00ff);
  border:2px solid var(--border);
  color:#fff;
  font-size:1.2rem;
  cursor:pointer;
  box-shadow:0 4px 12px rgba(127,0,255,.4);
  transition:all .2s;
  display:flex;
  align-items:center;
  justify-content:center;
}
#a11y-toggle:hover{
  transform:scale(1.1);
  box-shadow:0 6px 18px rgba(127,0,255,.6);
}
#a11y-panel{
  background:var(--surface);
  border:2px solid var(--border);
  box-shadow:4px 4px 0 var(--border);
  padding:1rem;
  min-width:220px;
  display:flex;
  flex-direction:column;
  gap:.8rem;
}
.a11y-title{
  font-family:var(--font-pixel);
  font-size:.7rem;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--purple);
  padding-bottom:.5rem;
  border-bottom:1px solid var(--bord2);
}
.a11y-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:.8rem;
  font-family:var(--font-pixel);
  font-size:.65rem;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--muted);
}
.a11y-controls{
  display:flex;
  gap:.3rem;
}
.a11y-controls button{
  background:var(--surf2);
  border:1px solid var(--bord2);
  color:var(--white);
  padding:.25rem .5rem;
  font-family:var(--font-pixel);
  font-size:.65rem;
  cursor:pointer;
  transition:all .2s;
}
.a11y-controls button:hover{
  border-color:var(--purple);
  color:var(--purple);
}
.a11y-switch{
  position:relative;
  display:inline-block;
  width:36px;
  height:20px;
  flex-shrink:0;
}
.a11y-switch input{
  opacity:0;
  width:0;
  height:0;
}
.a11y-slider{
  position:absolute;
  cursor:pointer;
  inset:0;
  background:var(--surf2);
  border:1px solid var(--bord2);
  transition:.3s;
}
.a11y-slider::before{
  content:'';
  position:absolute;
  width:12px;
  height:12px;
  left:3px;
  top:3px;
  background:var(--muted);
  transition:.3s;
}
.a11y-switch input:checked + .a11y-slider{
  background:rgba(127,0,255,.2);
  border-color:var(--purple);
}
.a11y-switch input:checked + .a11y-slider::before{
  transform:translateX(16px);
  background:var(--purple);
}
body.a11y-grayscale .site-shell{
  filter:grayscale(100%);
}
body.a11y-high-contrast .site-shell{
  filter:contrast(150%) brightness(1.1);
}
body.a11y-no-anim *,
body.a11y-no-anim *::before,
body.a11y-no-anim *::after{
  animation-duration:.001ms !important;
  transition-duration:.001ms !important;
}

/* ════════════════════════════════════════
   REVEAL
════════════════════════════════════════ */
.reveal{
  opacity:0;transform:translateY(20px);
  transition:opacity .6s ease,transform .6s ease;
}
.reveal.vis{opacity:1 !important;transform:translateY(0) !important}
/* fallback: if JS fails, show content */
.page.active .reveal{opacity:1;transform:translateY(0)}
.page.active .reveal.anim{opacity:0;transform:translateY(20px)}

/* ════════════════════════════════════════
   RESPONSIVE (consolidado: 1024 → 768 → 480 → 360)
════════════════════════════════════════ */

@media (max-width:1024px){
  .hero{gap:1.5rem}
  .pg-hero{padding-top:3rem;padding-bottom:1.75rem}
  .sobre-layout{grid-template-columns:1fr minmax(220px,280px);gap:1.4rem}
}

@media (max-width:768px){
  section:not(.hero),
  .pg-hero,
  .sobre-layout,
  .proj-layout,
  .pd-layout,
  .pd-back,
  .contato-layout,
  .home-sec,
  .home-sec-full,
  .home-sobre-band,
  .mojo-section,
  .cert-page-pad,
  footer{
    padding-left:1.2rem !important;
    padding-right:1.2rem !important;
  }

  #navbar{
    padding-left:1rem;
    padding-right:1rem;
  }
  .nav-links{
    display:none;
    position:absolute;
    top:var(--nav-h);
    left:0;
    right:0;
    width:100%;
    flex-direction:column;
    align-items:stretch;
    background:var(--bg2);
    border-bottom:2px solid var(--border);
    padding:1rem;
    z-index:999;
    gap:0;
    box-shadow:0 8px 24px rgba(0,0,0,.35);
  }
  .nav-links.open{display:flex !important}
  .nav-links li{width:100%}
  .nav-links a{
    display:block;
    width:100%;
    padding:.9rem 1rem;
    box-sizing:border-box;
  }
  .nav-burger{display:flex !important}
  .nav-controls{gap:.35rem;flex-shrink:0}
  .ctrl-btn{
    width:32px;
    height:32px;
    padding:0;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    font-size:.65rem;
    line-height:1;
    overflow:hidden;
    flex-shrink:0;
  }

  .hero{
    grid-template-columns:1fr;
    grid-template-rows:auto auto;
    align-items:stretch;
    padding:2rem 1.2rem 1.5rem;
    min-height:auto;
    gap:1.5rem;
  }
  .hero .deco-spark{display:none}

  .hero-left{
    order:1;
    width:100%;
    max-width:100%;
    min-width:0;
    padding:0;
  }
  .hero-right{
    order:2;
    display:flex;
    flex-direction:column;
    gap:.8rem;
    position:relative;
    width:100%;
    max-width:100%;
    min-width:0;
    height:auto;
    padding:0 0 2rem;
  }
  .hero-win-main,
  .hero-win-sub,
  .hero-win-mini{
    position:static;
    width:100%;
    max-width:100%;
    top:auto;
    right:auto;
    bottom:auto;
    left:auto;
    z-index:auto;
  }
  .hero-right .avatar-box{height:160px}
  .hero-right .sticker.stk1,
  .hero-right .sticker.stk2,
  .hero-right .sticker.stk3{display:none !important}

  .hero-heading{
    font-size:clamp(2.8rem,10vw,4rem);
    word-break:break-word;
    overflow-wrap:break-word;
  }
  .hero-sub{max-width:100%}
  .hero-btns{
    flex-direction:column;
    width:100%;
    align-items:stretch;
  }
  .hero-btns .btn{
    width:100%;
    justify-content:center;
  }
  .hero-socials{
    justify-content:center;
    flex-wrap:wrap;
    width:100%;
  }

  .marquee-wrap{
    overflow-x:hidden;
    width:100%;
    max-width:100%;
  }

  .about-home-grid{grid-template-columns:1fr}
  .mojo-win{max-width:100%}
  .mojo-body{
    flex-direction:column;
    align-items:center;
    text-align:center;
  }
  .mojo-txt{text-align:center}
  .btn.btn-outline.mojo-outline-btn{align-self:center}
  .hobby-chips{justify-content:center}

  .proj-home-row,
  .proj-grid{
    grid-template-columns:1fr;
    gap:1.1rem;
  }
  .proj-home-row > *,
  .proj-grid > *{
    min-width:0;
  }

  .sobre-layout{
    grid-template-columns:1fr;
    padding-bottom:4rem;
  }
  .sobre-side{order:-1}
  .sobre-main .sobre-win,
  .sobre-side .side-win{margin-bottom:1rem}

  .hobby-grid{
    grid-template-columns:1fr 1fr;
    gap:.65rem;
  }

  .cert-badges-grid{grid-template-columns:1fr !important}
  .cert-cats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}

  .contato-layout{
    display:grid;
    grid-template-columns:1fr;
    width:100%;
    max-width:100%;
    box-sizing:border-box;
  }
  .cmt-win{width:100%;max-width:100%}

  .pd-grid{grid-template-columns:1fr}
  .pd-header{
    flex-direction:column;
    align-items:flex-start;
    gap:1rem;
  }
  .pd-icon{font-size:2.5rem}
  .pd-title{font-size:1.6rem}

  .vault-body{
    width:100%;
    max-width:100%;
    align-items:stretch;
  }
  .vault-player{
    width:100% !important;
    max-width:100%;
    height:220px;
  }
  .vault-main-btn,
  .vault-again-btn,
  .vault-body .btn.btn-outline{
    width:100%;
    max-width:100%;
    justify-content:center;
    align-self:stretch;
  }

  .home-cert-grid{
    grid-template-columns:1fr;
    max-width:100%;
    margin:0 auto;
  }

  .footer-inner{
    flex-direction:column;
    text-align:center;
    gap:.8rem;
  }
  .footer-links{
    justify-content:center;
    flex-wrap:wrap;
  }

  #lightbox-img{
    max-width:95vw;
    max-height:75vh;
  }
  #lightbox-img.zoomed{transform:scale(1.4)}
  #lightbox-close{
    top:-2rem;
    font-size:.85rem;
  }
  #a11y-btn-wrap{
    bottom:5rem;
    right:1rem;
  }
  #a11y-panel{min-width:190px}
}

@media (min-width:481px) and (max-width:768px){
  .proj-home-row,
  .proj-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media (max-width:480px){
  .nav-logo > span{display:none}
  .nav-logo::before{
    content:'✦';
    font-family:var(--font-pixel);
    font-size:1.05rem;
    color:var(--purple);
  }

  .hero-left{text-align:center}
  .hero-tag{margin:0 auto 1rem}
  .hero-sub{
    margin-left:auto;
    margin-right:auto;
    max-width:100%;
  }

  .pg-hero h1{font-size:clamp(2rem,8vw,3rem)}
  .sec-title{font-size:clamp(1.4rem,6vw,2rem)}
  .win-title{
    font-size:.62rem;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
  }

  .hobby-grid{grid-template-columns:1fr}

  .cert-cats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}

  #page-certificados .cert-badges-grid > a.win > .win-body{
    flex-direction:column !important;
    text-align:center;
    align-items:center !important;
  }

  .proj-home-row,
  .proj-grid{grid-template-columns:1fr}

  .home-contact-actions{flex-direction:column}
  .home-contact-btn{width:100%;justify-content:center}
}

@media (max-width:360px){
  #navbar{padding-left:.65rem;padding-right:.65rem}
  .ctrl-btn{
    width:30px;
    height:30px;
    font-size:.6rem;
  }
  .marquee-track span{padding:0 1rem;font-size:.68rem}
  .mojo-wip-logo{width:min(88vw,220px)}
}

/* ════════════════════════════════════════
   MOJO — página temporária (mojo.html)
════════════════════════════════════════ */
body.mojo-wip-body{
  min-height:100vh;
  display:flex;
  flex-direction:column;
}
.mojo-wip-header{
  position:sticky;
  top:0;
  z-index:10;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:.75rem 1.25rem;
  background:var(--bg2);
  border-bottom:2px solid var(--border);
}
.mojo-wip-back{
  font-family:var(--font-pixel);
  font-size:.72rem;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--pink);
  text-decoration:none;
  transition:color .15s;
}
.mojo-wip-back:hover{color:var(--cyan)}
.mojo-wip-header-ctrl{display:flex;gap:.5rem;align-items:center}
.mojo-wip-main{
  flex:1;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:2rem 1.25rem 3rem;
  position:relative;
  z-index:1;
}
.mojo-wip-win{
  width:100%;
  max-width:640px;
  margin:0 auto;
}
.mojo-wip-body-inner{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  padding:clamp(1.5rem,4vw,2.5rem) clamp(1.25rem,4vw,2rem) clamp(2rem,5vw,3rem);
}
.mojo-wip-logo{
  width:min(85vw,280px);
  max-width:100%;
  height:auto;
  object-fit:contain;
  margin-bottom:1.25rem;
  filter:drop-shadow(0 12px 28px rgba(127,0,255,.4));
}
.mojo-wip-kicker{
  font-family:var(--font-pixel);
  font-size:.72rem;
  letter-spacing:.2em;
  text-transform:uppercase;
  color:var(--pink);
  margin-bottom:.75rem;
}
.mojo-wip-title{
  font-family:var(--font-bold);
  font-size:clamp(2.2rem,8vw,3.8rem);
  line-height:1.05;
  color:var(--white);
  margin-bottom:1.25rem;
}
.mojo-wip-title em{
  font-style:normal;
  color:var(--purple);
}
.mojo-wip-lead{
  font-family:var(--font-main);
  font-size:clamp(1rem,2.8vw,1.15rem);
  line-height:1.75;
  color:var(--muted);
  max-width:42ch;
  margin-bottom:1rem;
}
.mojo-wip-lead strong{color:var(--purple);font-weight:600}
a.btn.mojo-wip-ig{
  margin-top:1.35rem;
  margin-bottom:.35rem;
  text-decoration:none;
}
.mojo-wip-ig-ico{flex-shrink:0;opacity:.95}
.mojo-wip-note{
  font-family:var(--font-main);
  font-size:.88rem;
  line-height:1.65;
  color:var(--muted);
  opacity:.9;
  max-width:40ch;
}
