:root {
  --bg:#121821;
  --bg-panel:#171f29;
  --line:#2a3441;
  --text:#e8e3d8;
  --text-dim:#93a1ac;
  --accent:#cf9e52;
  --accent-soft:#cf9e521f;
  --mono:'IBM Plex Mono',monospace;
  --sans:'IBM Plex Sans',Arial,sans-serif;
  --display:'Space Grotesk',var(--sans);

}

* {
  box-sizing:border-box

}

html {
  scroll-behavior:smooth

}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto
  }
  * {
    animation-duration:.001ms!important;
    transition-duration:.001ms!important
  }

}

body {
  margin:0;
  background:var(--bg);
  color:var(--text);
  font:16px/1.65 var(--sans);

}

a {
  text-decoration:none;
  color:inherit

}

img {
  max-width:100%;
  display:block

}

:focus-visible {
  outline:2px solid var(--accent);
  outline-offset:3px

}

.leitor-tela {
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip:rect(0 0 0 0);
  white-space:nowrap

}

.pular-conteudo {
  position:absolute;
  left:1rem;
  top:-3rem;
  background:var(--accent);
  color:#161006;
  padding:.6rem 1rem;
  border-radius:4px;
  font-weight:600;
  z-index:20;
  transition:top .15s ease

}

.pular-conteudo:focus {
  top:1rem

}

header {
  height:72px;
  border-bottom:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 5%;
  position:sticky;
  top:0;
  background:#121821ee;
  backdrop-filter:blur(10px);
  z-index:30

}

.logo {
  font-family:var(--display);
  font-size:22px;
  font-weight:700

}

.logo span {
  color:var(--accent)

}

#navegacao {
  display:flex;
  gap:34px;
  font-size:14.5px

}

#navegacao a {
  color:var(--text-dim);
  position:relative;
  padding:4px 0

}

#navegacao a::after {
  content:"";
  position:absolute;
  left:0;
  bottom:-2px;
  width:0;
  height:1.5px;
  background:var(--accent);
  transition:width .18s ease

}

#navegacao a:hover {
  color:var(--text);
  text-decoration:underline;
  text-decoration-color:var(--accent);
  text-decoration-thickness:1px;
  text-underline-offset:6px

}

#navegacao a:hover::after,#navegacao a.ativo::after {
  width:100%

}

#navegacao a.ativo {
  color:var(--text)

}

.botao-menu {
  display:none;
  flex-direction:column;
  justify-content:center;
  gap:5px;
  width:38px;
  height:38px;
  background:none;
  border:1px solid var(--line);
  border-radius:6px;
  cursor:pointer

}

.botao-menu span {
  display:block;
  height:1.5px;
  width:18px;
  margin:0 auto;
  background:var(--text)

}

.progresso {
  position:sticky;
  top:72px;
  height:2px;
  background:var(--accent);
  width:0%;
  z-index:29;
  transform-origin:left

}

main {
  max-width:1150px;
  margin:auto

}

section {
  padding:90px 5%;
  border-top:1px solid var(--line);
  position:relative

}

section h2 {
  font-family:var(--display);
  font-size:36px;
  letter-spacing:-.5px;
  margin:0 0 22px

}

section>p {
  color:var(--text-dim);
  max-width:680px;
  font-size:16.5px

}

section:not(.inicio)::before {
  content:"";
  position:absolute;
  left:calc(5% - 18px);
  top:0;
  bottom:0;
  width:1px;
  background:var(--line)

}

section:not(.inicio)::after {
  content:"";
  position:absolute;
  left:calc(5% - 21px);
  top:90px;
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--accent)

}

@media(max-width:800px) {
  section:not(.inicio)::before,section:not(.inicio)::after {
    display:none
  }

}

.inicio {
  min-height:660px;
  padding:110px 5% 90px;
  display:grid;
  grid-template-columns:1.4fr .9fr;
  gap:60px;
  align-items:center;
  border-top:none

}

.status {
  display:flex;
  align-items:center;
  gap:8px;
  color:var(--text-dim);
  font:13px/1 var(--mono);
  margin:0 0 22px

}

.ponto {
  width:7px;
  height:7px;
  border-radius:50%;
  background:#6fce8f;
  box-shadow:0 0 0 3px #6fce8f22;
  flex:none

}

.inicio h1 {
  font-family:var(--display);
  font-size:clamp(42px,6vw,66px);
  line-height:1.02;
  letter-spacing:-2px;
  margin:0 0 10px;
  font-weight:700

}

.inicio h2 {
  font-size:18px;
  font-weight:500;
  color:var(--text-dim);
  margin:0 0 20px

}

.inicio p {
  color:#b7c0c7;
  max-width:520px;
  font-size:16px

}

.botoes {
  display:flex;
  gap:12px;
  margin-top:30px

}

.botoes a {
  border:1px solid var(--line);
  padding:11px 20px;
  border-radius:6px;
  font-weight:600;
  font-size:14.5px

}

.botoes .botao-principal {
  background:var(--accent);
  color:#171106;
  border-color:var(--accent)

}

.botoes .botao-secundario:hover {
  border-color:var(--accent);
  color:var(--accent)

}

.botao-whatsapp {
  white-space:nowrap

}

.moldura-foto {
  display:flex;
  justify-content:center;
  align-items:center;

}

.foto-perfil {
  width:min(300px,100%);
  position:relative;
  background:var(--bg-panel);
  border:1px solid var(--line);
  padding:8px;

}

.foto-perfil::before,.foto-perfil::after {
  content:"";
  position:absolute;
  width:9px;
  height:9px;
  border:1px solid var(--line);
  z-index:2;
  pointer-events:none;

}

.foto-perfil::before {
  top:-1px;
  left:-1px;
  border-right:none;
  border-bottom:none;

}

.foto-perfil::after {
  bottom:-1px;
  right:-1px;
  border-left:none;
  border-top:none;

}

.foto-perfil:hover {
  border-color:var(--accent);

}

.foto-perfil:hover::before,.foto-perfil:hover::after {
  border-color:var(--accent);

}

.foto-perfil img {
  width:100%;
  height:auto;
  display:block;
  object-fit:cover;

}

.lista-servicos {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
  margin-top:35px

}

.servico {
  display:flex;
  gap:16px;
  align-items:flex-start;
  background:var(--bg-panel);
  border:1px solid var(--line);
  padding:20px;
  position:relative

}

.servico::before,.servico::after {
  content:"";
  position:absolute;
  width:9px;
  height:9px;
  border:1px solid var(--line)

}

.servico::before {
  top:-1px;
  left:-1px;
  border-right:none;
  border-bottom:none

}

.servico::after {
  bottom:-1px;
  right:-1px;
  border-left:none;
  border-top:none

}

.servico:hover {
  border-color:var(--accent)

}

.servico:hover::before,.servico:hover::after {
  border-color:var(--accent)

}

.icone-servico {
  width:40px;
  height:40px;
  flex:0 0 40px;
  display:grid;
  place-items:center;
  color:var(--accent)

}

.icone-servico svg {
  width:24px;
  height:24px

}

.servico h3 {
  margin:0 0 5px;
  font-size:16.5px;
  font-weight:600

}

.servico p {
  margin:0;
  color:var(--text-dim);
  font-size:14px

}

#stack {
  overflow:hidden;

}

.faixa-stack {
  width:100%;
  overflow:hidden;
  position:relative;
  padding:28px 0;
  mask-image:linear-gradient(to right,transparent,black 8%,black 92%,transparent);
  -webkit-mask-image:linear-gradient(to right,transparent,black 8%,black 92%,transparent);

}

.trilho-stack {
  display:flex;
  width:max-content;
  will-change:transform;
  animation:stackMove 28s linear infinite;

}

.conjunto-stack {
  display:flex;
  align-items:center;
  gap:clamp(38px,5vw,72px);
  padding:0 clamp(25px,4vw,55px);
  flex-shrink:0;

}

.conjunto-stack img {
  width:58px;
  height:58px;
  object-fit:contain;
  flex:0 0 58px;
  filter:drop-shadow(0 0 8px rgba(207,158,82,.16));
  transition:transform .25s ease,filter .25s ease;

}

.conjunto-stack img:hover {
  transform:scale(1.15);
  filter:drop-shadow(0 0 14px rgba(207,158,82,.55));

}

.observacao-stack {
  text-align:center;
  margin:4px auto 0;
  color:var(--text-dim);

}

@keyframes stackMove {
  from {
    transform:translateX(0)
  }
  to {
    transform:translateX(-50%)
  }

}

@media(max-width:800px) {
  .faixa-stack {
    width:360px;
    max-width:100%;
    margin:0 auto;
  }
  .conjunto-stack {
    gap:34px;
    padding:0 18px;
  }
  .conjunto-stack img {
    width:50px;
    height:50px;
    flex-basis:50px;
  }
  .trilho-stack {
    animation-duration:22s;
  }

}

@media(prefers-reduced-motion:reduce) {
  .trilho-stack {
    animation:none;
  }

}

.lista-projetos {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px

}

.lista-projetos article {
  background:var(--bg-panel);
  border:1px solid var(--line);
  padding:24px;
  position:relative;

}

.lista-projetos article::before,.lista-projetos article::after {
  content:"";
  position:absolute;
  width:9px;
  height:9px;
  border:1px solid var(--line);

}

.lista-projetos article::before {
  top:-1px;
  left:-1px;
  border-right:none;
  border-bottom:none;

}

.lista-projetos article::after {
  bottom:-1px;
  right:-1px;
  border-left:none;
  border-top:none;

}

.lista-projetos article:hover {
  border-color:var(--accent);

}

.lista-projetos article:hover::before,.lista-projetos article:hover::after {
  border-color:var(--accent);

}

.cartao-projeto {
  overflow:hidden

}

.imagem-projeto {
  width:100%;
  height:220px;
  object-fit:cover;
  object-position:center top;
  border:1px solid var(--line);
  margin-bottom:20px

}

.conteudo-projeto h3,.lista-projetos h3 {
  font-family:var(--display);
  font-size:22px;
  margin:0 0 8px

}

.acao-projeto {
  margin-top:18px

}

.acao-projeto a {
  margin-top:0

}

.lista-projetos p {
  color:var(--text-dim);
  font-size:14.5px

}

.lista-projetos .etiqueta {
  display:inline-block;
  font:12px var(--mono);
  color:var(--accent);
  margin-top:8px

}

.lista-projetos a {
  display:inline-block;
  color:var(--text);
  font-weight:600;
  margin-top:18px;
  border-bottom:1px solid var(--accent)

}

.lista-projetos a:hover {
  color:var(--accent)

}

.projeto-vazio {
  border-style:dashed;
  opacity:.75

}

.lista-formacao p {
  display:flex;
  justify-content:space-between;
  border-bottom:1px solid var(--line);
  padding:18px 0;
  margin:0

}

.lista-formacao span {
  color:var(--text-dim);
  font:13px var(--mono)

}

.links-contato {
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:24px;
  align-items:center

}

.links-contato a {
  border:1px solid var(--line);
  padding:10px 18px;
  border-radius:6px;
  font-weight:600;
  font-size:14px

}

.links-contato a:hover {
  border-color:var(--accent);
  color:var(--accent)

}

.botao-copiar {
  border:1px solid var(--line);
  background:none;
  color:var(--text-dim);
  padding:10px 18px;
  border-radius:6px;
  font:14px var(--sans);
  cursor:pointer

}

.botao-copiar:hover {
  border-color:var(--accent);
  color:var(--accent)

}

.botao-copiar.copiado {
  border-color:#6fce8f;
  color:#6fce8f

}

footer {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:16px;
  border-top:1px solid var(--line);
  padding:26px;
  color:var(--text-dim);
  font-size:13px

}

.voltar-topo {
  background:none;
  border:1px solid var(--line);
  color:var(--text-dim);
  width:30px;
  height:30px;
  border-radius:6px;
  cursor:pointer;
  line-height:1

}

.voltar-topo:hover {
  border-color:var(--accent);
  color:var(--accent)

}

@media(max-width:800px) {
  header {
    height:64px;
    padding:0 5%;
  }
  .progresso {
    top:64px;
  }
  #navegacao {
    position:fixed;
    top:64px;
    left:0;
    right:0;
    background:var(--bg);
    border-bottom:1px solid var(--line);
    flex-direction:column;
    gap:0;
    max-height:0;
    overflow:hidden;
    transition:max-height .22s ease
  }
  #navegacao.aberto {
    max-height:340px
  }
  #navegacao a {
    padding:15px 6%;
    border-top:1px solid var(--line)
  }
  #navegacao a::after {
    display:none
  }
  .botao-menu {
    display:flex
  }
  main {
    width:100%;
  }
  section {
    padding:64px 6%;
  }
  .inicio {
    min-height:auto;
    grid-template-columns:1fr;
    padding:68px 6% 64px;
    gap:38px;
    text-align:left;
  }
  .conteudo-inicio {
    min-width:0;
  }
  .inicio h1 {
    font-size:clamp(38px,12vw,54px);
    letter-spacing:-1px;
  }
  .inicio h2 {
    font-size:17px;
  }
  .inicio p {
    font-size:15px;
  }
  .botoes {
    flex-wrap:wrap;
  }
  .botoes a {
    flex:1 1 180px;
    text-align:center;
  }
  .botao-whatsapp {
    white-space:normal;
  }
  .moldura-foto {
    order:2;
    justify-content:center;
  }
  .foto-perfil {
    width:min(270px,82vw);
  }
  .lista-servicos,.lista-projetos {
    grid-template-columns:1fr;
  }
  .servico {
    padding:18px;
  }
  .imagem-projeto {
    height:auto;
    max-height:240px;
  }
  .lista-formacao p {
    gap:16px;
    align-items:flex-start;
  }
  .lista-formacao p b {
    max-width:70%;
  }
  .links-contato {
    flex-direction:column;
    align-items:stretch;
  }
  .links-contato a {
    text-align:center;
  }
  .faixa-stack {
    width:100%;
    padding:22px 0;
  }
  .conjunto-stack {
    gap:30px;
    padding:0 18px;
  }
  .conjunto-stack img {
    width:48px;
    height:48px;
    flex-basis:48px;
  }
  .trilho-stack {
    animation-duration:22s;
  }
  section h2 {
    font-size:29px;
  }

}

@media(max-width:420px) {
  body {
    font-size:15px;
  }
  .inicio {
    padding-top:52px;
  }
  .inicio h1 {
    font-size:40px;
  }
  .inicio h2 {
    font-size:16px;
  }
  .foto-perfil {
    width:min(235px,80vw);
  }
  .botoes a {
    flex-basis:100%;
  }
  .servico {
    gap:12px;
  }
  .icone-servico {
    width:34px;
    height:34px;
    flex-basis:34px;
  }
  .icone-servico svg {
    width:22px;
    height:22px;
  }
  .lista-formacao p {
    display:block;
  }
  .lista-formacao span {
    display:block;
    margin-top:4px;
  }

}
