.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid var(--rule);
  background: radial-gradient(ellipse at 92% 28%, #141d3b, var(--bg) 65%);
}
.hero-layout {
  position: relative;
  display: grid;
  align-items: center;
  min-height: clamp(34rem, 52vw, 43rem);
}
.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 43rem;
  padding-block: 4rem 4.6rem;
}
.hero-label {
  display: flex;
  align-items: center;
  gap: .65rem;
  color: #afc9fb;
}
.hero-label::before {
  content: "";
  width: 1.15rem;
  height: 1px;
  background: #95a9ff;
}
.hero h1 {
  margin-block: 1.1rem 1.45rem;
  max-width: 10ch;
  font-size: clamp(3.75rem, 7.4vw, 7rem);
  line-height: .92;
  letter-spacing: -.075em;
}
.hero h1 span {
  color: #b7adff;
  background: linear-gradient(95deg, #a0c9ff, #c7a9ff);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-copy .standfirst { max-width: 25rem; }
.hero-copy .primary {
  background: #c8d4ff;
  border-color: #c8d4ff;
  color: #111936;
}
.hero-copy .primary:hover { background: #e0e6ff; border-color: #e0e6ff; }
.hero-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:2rem}
.hero-copy{min-width:0}
.hero-copy .standfirst{max-width:30rem}
.workspace-art{position:relative;margin:0;min-width:0;perspective:1000px;isolation:isolate;padding:2.5rem 0}
.workspace-art::before{content:"";position:absolute;z-index:-1;inset:-10% -12%;background:radial-gradient(ellipse at 42% 32%,#3473e531,transparent 59%),radial-gradient(ellipse at 72% 72%,#9453ef36,transparent 62%);pointer-events:none}
.workspace-depth{position:relative;transform:rotateX(var(--tilt-x,4deg)) rotateY(var(--tilt-y,-7deg));transition:transform .28s ease-out;transform-style:preserve-3d;padding-bottom:4.8rem}
.editor-window,.output-window{border:1px solid #5c6b9e90;box-shadow:0 24px 55px #02031085,inset 0 1px #dce4ff16}
.editor-window{width:95%;border-radius:14px;background:linear-gradient(145deg,#19243b,#10182b 54%,#18142f);overflow:hidden}
.editor-chrome,.output-title{display:flex;align-items:center;justify-content:space-between}
.editor-chrome{padding:.8rem 1rem;border-bottom:1px solid #61709444;background:#a8bafa09;color:#c9d7f8;font:.8rem var(--mono)}
.chrome-dots{display:flex;gap:5px}.chrome-dots i{width:7px;height:7px;border-radius:50%;background:#82c4ff}.chrome-dots i:nth-child(2){background:#a99bff}.chrome-dots i:last-child{background:#c68af6}
.editor-code{padding:1.2rem .8rem 3.8rem;counter-reset:lines}
.editor-code code{display:block;white-space:pre;counter-increment:lines;font:clamp(.7rem,1.04vw,.89rem)/1.95 var(--mono);color:#c7d4eb}
.editor-code code::before{content:counter(lines);display:inline-block;text-align:center;width:2rem;margin-right:.55rem;color:#7989a8}
.editor-code b{color:#cc9fff;font-weight:500}.editor-code em{color:#88dafa;font-style:normal}.editor-code q{color:#abe2cf;quotes:'"' '"'}
.output-window{position:absolute;right:0;bottom:0;width:min(87%,22rem);padding:1rem 1.15rem;border-radius:12px;background:linear-gradient(125deg,#17233a,#1e1934);transform:translateZ(24px)}
.output-title{margin-bottom:.65rem;color:#eef2ff;font-weight:600}.output-title strong{font:600 1.3rem var(--mono);color:#b8b5ff}
.plot-row{display:grid;grid-template-columns:8.2rem 1fr 1ch;align-items:center;gap:.55rem;color:#bdc9e2;font:.75rem/1.8 var(--mono)}
.plot-row i{height:4px;border-radius:5px;background:linear-gradient(to right,#62b8fd,#b59bff) left center/var(--fill) 100% no-repeat,#ffffff0d}
#projetos{scroll-margin-top:1rem}
@media(max-width:53rem){.hero-layout{grid-template-columns:1fr;gap:0}.hero-copy{padding:3rem 0 0}.workspace-art{width:min(100%,35rem);justify-self:center;margin:0 auto;padding:1.5rem 0 3rem}.editor-code code{font-size:clamp(.62rem,2.4vw,.85rem)}}
@media(max-width:36rem){.workspace-depth{padding-bottom:6rem;transform:none}.hero-copy{padding-top:2.4rem}.output-window{transform:none;padding:.8rem;width:min(94%,20rem)}.editor-code{padding:.7rem .28rem 2.5rem}.editor-code code::before{width:1.2rem;margin-right:.35rem}.plot-row{grid-template-columns:7.5rem 1fr 1ch;font-size:.7rem}}
@media(prefers-reduced-motion:reduce){.workspace-depth{transform:none;transition:none}}
@media(min-width:53.01rem){.hero .hero-copy h1{font-size:clamp(3.25rem,6.1vw,5.65rem)}}
.workspace-art::before{mask-image:radial-gradient(ellipse,#000 35%,transparent 72%)}
.editor-window{background:radial-gradient(ellipse at 8% 0%,#293c62aa,transparent 55%),linear-gradient(135deg,#121e32,#0c1020 75%);box-shadow:inset 0 1px #a8c5ff45,0 5px 0 -1px #222c44,0 7px 0 -2px #51618670,0 32px 60px #0007}
.editor-chrome{justify-content:flex-start;gap:1.35rem;background:#09112085;padding-block:.62rem}
.file-tab{border-bottom:2px solid #7badff;padding:.35rem .7rem;color:#ecf2ff}
.editor-language{margin-left:auto;color:#9daecb}
.editor-code{background:repeating-linear-gradient(90deg,transparent 0 21px,#a7b8ff05 21px 22px);background-size:90px 100%;background-repeat:no-repeat;background-position:3.25rem 0}
.editor-code code:last-child{background:linear-gradient(90deg,#5e8be520,transparent);border-radius:3px}
.output-window{background:linear-gradient(130deg,#1d3048f7,#211c35fa);border-color:#97acff74;box-shadow:inset 0 1px #ccdaff2e,0 16px 38px #030514aa}
a.plot-row{text-decoration:none;border-radius:5px;padding:.24rem .25rem;transition:background .15s}
a.plot-row:hover,a.plot-row:focus-visible{background:#bac6ff16;color:#fff}
@media(min-width:54rem){.editor-code code{font-size:clamp(.8rem,1.12vw,.98rem)}}
.hero .hero-copy h1.forum-title{max-width:13ch;font-size:clamp(2.45rem,5.3vw,5rem);line-height:1.04;text-wrap:balance}
.forum-title span{white-space:nowrap}
.editor-code .code-profile{text-decoration:underline;text-decoration-color:#7fc3c277;text-underline-offset:.22em}
.editor-code .code-profile:hover{text-decoration-color:#abe2cf}
.workspace-depth{padding-bottom:6.75rem}
@media(max-width:36rem){.workspace-depth{padding-bottom:7rem}}
