
/* ---------- VARIÁVEIS DE TEMA ---------- */
:root {
  --bg:  #0a0a0f;
  --sur: #12121a;
  --brd: #1e1e2e;
  --acc: #00dd77;
  --ac2: #0077ff;
  --txt: #e8e8f0;
  --mut: #6b6b80;
  --mono: 'Space Mono', monospace;
  --sans: 'Syne', sans-serif;
}

body.light {
  --bg:  #f2f2ee;
  --sur: #ffffff;
  --brd: #d4d4cc;
  --acc: #007a40;
  --ac2: #0055cc;
  --txt: #0e0e14;
  --mut: #7a7a8c;
}

/* ---------- RESET & BASE ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--txt);
  font-family: var(--sans);
  overflow-x: hidden;
  cursor: none;
  transition: background .3s, color .3s;
}

/* ---------- CURSOR PERSONALIZADO ---------- */
#cur {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  width: 22px;
  height: 22px;
  transform: translate(-50%, -50%);
  transition: width .2s, height .2s;
}

#cur::before,
#cur::after {
  content: '';
  position: absolute;
  background: var(--acc);
}

#cur::before {
  width: 100%;
  height: 1px;
  top: 50%;
  transform: translateY(-50%);
}

#cur::after {
  height: 100%;
  width: 1px;
  left: 50%;
  transform: translateX(-50%);
}

#dot {
  position: fixed;
  pointer-events: none;
  z-index: 10000;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--acc);
  transform: translate(-50%, -50%);
}

#ring {
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(0, 221, 119, .3);
  transform: translate(-50%, -50%);
  transition: width .3s, height .3s;
  clip-path: polygon(
    6px 0%, calc(100% - 6px) 0%,
    100% 6px, 100% calc(100% - 6px),
    calc(100% - 6px) 100%, 6px 100%,
    0% calc(100% - 6px), 0% 6px
  );
}


/* ---------- NAVEGAÇÃO ---------- */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s;
}

nav.sc {
  background: rgba(10, 10, 15, .92);
  border-color: var(--brd);
  backdrop-filter: blur(16px);
}

body.light nav.sc {
  background: rgba(242, 242, 238, .92);
}

.logo {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--acc);
  letter-spacing: .08em;
}

.logo span { color: var(--mut); }

.nr {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nl {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nl a {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--mut);
  text-decoration: none;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: color .2s;
}

.nl a:hover { color: var(--acc); }

/* Botão de tema */
#tb {
  background: none;
  border: 1px solid var(--brd);
  cursor: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 15px;
  transition: border-color .2s, transform .3s;
}

#tb:hover {
  border-color: var(--acc);
  transform: rotate(20deg);
}

/* ---------- HERO ---------- */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 130px 48px 80px;
  position: relative;
  overflow: hidden;
}

.hg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(0, 221, 119, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 221, 119, .04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black, transparent);
}

.gl {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
}

.gl1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0, 119, 255, .12), transparent 70%);
  top: 5%; right: -120px;
  animation: gf 8s ease-in-out infinite;
}

.gl2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0, 221, 119, .08), transparent 70%);
  bottom: 5%; left: -80px;
  animation: gf 11s ease-in-out infinite reverse;
}

@keyframes gf {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-28px); }
}

.htag {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--acc);
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.htag::before { content: '[ '; }
.htag::after  { content: ' ]'; }

.hname {
  font-size: clamp(38px, 6vw, 80px);
  font-weight: 800;
  color: var(--txt);
  margin-bottom: 14px;
  display: block;
  letter-spacing: -0.03em;
  line-height: 1;
  position: relative;
  width: fit-content;
}

.hname::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--acc), transparent);
  border-radius: 2px;
}
h1 {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.02em;
  margin-bottom: 26px;
  color: var(--mut);
}

.aw {
  color: var(--acc);
  position: relative;
  display: inline-block;
}

.aw::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 0; right: 0;
  height: 3px;
  background: var(--acc);
  transform: scaleX(0);
  transform-origin: left;
  animation: lr .6s 1s forwards;
}

@keyframes lr { to { transform: scaleX(1); } }

.hd {
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.85;
  color: var(--mut);
  max-width: 520px;
  margin-bottom: 42px;
}

.hd strong { color: var(--txt); }

.hcta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Botões do hero */
.btn {
  padding: 13px 30px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: none;
  display: inline-block;
  border: none;
  clip-path: polygon(
    0 0, calc(100% - 10px) 0,
    100% 10px, 100% 100%,
    10px 100%, 0 calc(100% - 10px)
  );
  transition: transform .2s;
}

.btn:hover { transform: translateY(-2px); }
.bp { background: var(--acc); color: #000; }
.bg {   background: var(--acc); color: #000; border: 2px solid var(--brd); width: 80%;   justify-content: center;}
.bgt { background: transparent; color: var(--txt); border: 2px solid var(--brd); }
.bgt:hover { border-color: var(--acc); color: var(--acc); }
/* Indicador de scroll */
.hsc {
  position: absolute;
  bottom: 36px; left: 48px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--mut);
  letter-spacing: .15em;
  text-transform: uppercase;
}

.sl {
  width: 40px; height: 1px;
  background: var(--brd);
  position: relative;
  overflow: hidden;
}

.sl::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--acc);
  animation: sa 2s ease-in-out infinite;
  transform: translateX(-100%);
}

@keyframes sa {
  0%   { transform: translateX(-100%); }
  50%  { transform: translateX(0); }
  100% { transform: translateX(100%); }
}

/* ---------- BARRA DE ESTATÍSTICAS ---------- */
.sb {
  background: var(--sur);
  border-top: 1px solid var(--brd);
  border-bottom: 1px solid var(--brd);
  padding: 32px 48px;
  display: flex;
}

.si {
  flex: 1;
  padding: 0 36px;
  border-right: 1px solid var(--brd);
}

.si:first-child { padding-left: 0; }
.si:last-child  { border-right: none; }

.sn {
  font-size: 42px;
  font-weight: 800;
  color: var(--acc);
  line-height: 1;
  margin-bottom: 6px;
}

.sl2 {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--mut);
  text-transform: uppercase;
  letter-spacing: .12em;
}

/* ---------- SEÇÕES GENÉRICAS ---------- */
section { padding: 96px 48px; }

.sh { margin-bottom: 58px; }

.st {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--acc);
  text-transform: uppercase;
  letter-spacing: .2em;
  margin-bottom: 12px;
}

.st::before { content: '// '; }

h2 {
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.05;
}

/* ---------- SKILLS ---------- */
#skills { background: var(--bg); }

.sg {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 2px;
}

.sc2 {
  background: var(--sur);
  padding: 34px;
  border: 1px solid var(--brd);
  position: relative;
  overflow: hidden;
  transition: border-color .3s, transform .3s;
}

.sc2::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--cc, var(--acc));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s;
}

.sc2:hover::before { transform: scaleX(1); }

.sc2:hover {
  border-color: var(--cc, var(--acc));
  transform: translateY(-4px);
}

.si2 {
  font-size: 30px;
  margin-bottom: 18px;
  display: block;
  transition: transform .3s;
}

.sc2:hover .si2 { transform: scale(1.12) rotate(5deg); }
.sc2 h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.sc2 p  { font-family: var(--mono); font-size: 12px; color: var(--mut); line-height: 1.7; }

.tgs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.tg {
  padding: 3px 9px;
  border: 1px solid var(--brd);
  font-family: var(--mono);
  font-size: 10px;
  color: var(--mut);
  text-transform: uppercase;
  letter-spacing: .07em;
}

.tg.hi {
  border-color: var(--cc, var(--acc));
  color: var(--cc, var(--acc));
}

/* ---------- SOBRE ---------- */
#about { background: var(--sur); }

.ag {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.at p {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--mut);
  line-height: 1.9;
  margin-bottom: 16px;
}

.at p strong { color: var(--txt); }

.ahl {
  margin-top: 32px;
  padding: 22px;
  border-left: 2px solid var(--acc);
  background: rgba(0, 180, 80, .05);
}

.ahl p {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--txt);
  line-height: 1.7;
}

/* Timeline */
.tl { position: relative; }

.tl::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 1px;
  background: var(--brd);
}

.ti {
  padding-left: 26px;
  margin-bottom: 32px;
  position: relative;
}

.ti::before {
  content: '';
  position: absolute;
  left: -4px; top: 6px;
  width: 9px; height: 9px;
  background: var(--acc);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(0, 200, 100, .2);
}

.ty {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--acc);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.tt { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.td { font-family: var(--mono); font-size: 12px; color: var(--mut); line-height: 1.7; }
.cv-btn {
  margin-top: 36px;
  gap: 10px;
}

/* ---------- PROJETOS ---------- */
#projects { background: var(--bg); }

.pg {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.pj {
  background: var(--sur);
  border: 1px solid var(--brd);
  padding: 38px 34px;
  transition: transform .3s, border-color .3s;
}

.pj:hover {
  transform: translateY(-4px);
  border-color: var(--pc, var(--ac2));
}

.pn {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--brd);
  letter-spacing: .1em;
  margin-bottom: 22px;
}

.pj h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.pj p  { font-family: var(--mono); font-size: 12px; color: var(--mut); line-height: 1.7; margin-bottom: 22px; }

.pt {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 24px;
}

.tbg {
  padding: 3px 9px;
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .07em;
  background: rgba(0, 119, 255, .1);
  border: 1px solid rgba(0, 119, 255, .2);
  color: var(--ac2);
}

.pl {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--pc, var(--ac2));
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .1em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap .2s;
}

.pl:hover  { gap: 14px; }
.pl::after { content: '→'; }
.pf { grid-column: span 2; }
.pj-soon {
  position: relative;
  overflow: hidden;
}

.pj-soon::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 8px,
    rgba(0, 174, 255,.03) 8px,
    rgba(0, 174, 255,.03) 16px
  );
  pointer-events: none;
}

.pj-soon h3,
.pj-soon p,
.pj-soon .pt {
  opacity: .45;
}

.soon-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  margin-bottom: 18px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: #00f7ff;
  border: 1px solid rgba(0, 174, 255,.07);
  background: rgba(0, 174, 255, 0.25);
  border-radius: 2px;
  position: relative;
  z-index: 1;
}

.soon-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00f7ff;
  animation: pulse-soon .9s ease-in-out infinite;
}

@keyframes pulse-soon {
  0%, 100% { opacity: 1;   transform: scale(1); }
  50%       { opacity: .4; transform: scale(.7); }
}
.pf { grid-column: span 2; }

/* ---------- CONTATO ---------- */
#contact {
  background: var(--sur);
  border-top: 1px solid var(--brd);
}

.ci {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.cil h2 { margin-bottom: 16px; }

.cil > p {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--mut);
  line-height: 1.8;
  margin-bottom: 36px;
}

.cls {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cl {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--txt);
  font-family: var(--mono);
  font-size: 13px;
  padding: 14px 18px;
  border: 1px solid var(--brd);
  transition: border-color .2s, color .2s, transform .2s;
}

.cl:hover {
  border-color: var(--acc);
  color: var(--acc);
  transform: translateX(6px);
}

/* Formulário */
.cf {
  display: flex;
  flex-direction: column;
  gap: 14px;
}


.fg {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.fg label {
   margin-top: 15px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--mut);
  text-transform: uppercase;
  letter-spacing: .12em;
}

.fg input,
.fg #mensagem {
 
  background: var(--bg);
  border: 1px solid var(--brd);
  color: var(--txt);
  font-family: var(--mono);
  font-size: 13px;
  padding: 13px 15px;
  outline: none;
  transition: border-color .2s;
  resize: none;
}
.fg #mensagem {

    margin-bottom: 10px;
}

.fg input:focus,
.fg #mensagem:focus { border-color: var(--acc); }

.fg #mensagem { min-height: 110px; }

.sbtn {
  width: 100%;
  margin-top: 25px;
  cursor: none;
  border: none;
  background: transparent; 
  color: var(--txt); 
  border: 2px solid gray; 
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 13px 30px;
  clip-path: polygon(
    0 0, calc(100% - 10px) 0,
    100% 10px, 100% 100%,
    10px 100%, 0 calc(100% - 10px)
  );
  transition: transform .2s;
}

.sbtn:hover { transform: translateY(-2px); border-color: var(--acc); color: var(--acc); } 

/* ---------- RODAPÉ ---------- */
footer {
  background: var(--bg);
  border-top: 1px solid var(--brd);
  padding: 28px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

footer p   { font-family: var(--mono); font-size: 12px; color: var(--mut); }
footer span { color: var(--acc); }

.bk {
  display: inline-block;
  width: 2px; height: 1em;
  background: var(--acc);
  margin-left: 2px;
  vertical-align: text-bottom;
  animation: bl 1s step-end infinite;
}

@keyframes bl { 50% { opacity: 0; } }

/* ---------- ANIMAÇÃO DE REVEAL ---------- */
.rv {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s, transform .7s;
}

.rv.on {
  opacity: 1;
  transform: none;
}

/* ---------- RESPONSIVO ---------- */
@media (max-width: 900px) {
  nav { padding: 16px 22px; }
  .nl { display: none; }
  section, #hero { padding: 72px 22px; }
  #hero { padding-top: 100px; }
  .sb { padding: 22px; flex-wrap: wrap; gap: 20px; }
  .si { border-right: none; padding: 0; flex: none; width: calc(50% - 10px); }
  .ag, .ci { grid-template-columns: 1fr; gap: 44px; }
  .pg { grid-template-columns: 1fr; }
  .pf { grid-column: span 1; }
  footer { flex-direction: column; gap: 10px; text-align: center; }
}
@media (max-width: 900px) {
  #cur, #dot, #ring { display: none; }
  body, button, a { cursor: auto; }
}


/* ---------- WRAPPER ---------- */
.ty-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 48px;
  position: relative;
  overflow: hidden;
}

/* ---------- GRADE DE FUNDO ---------- */
.ty-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(0, 221, 119, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 221, 119, .04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black, transparent);
}

/* ---------- GLOWS ---------- */
.ty-gl1 {
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0, 221, 119, .12), transparent 70%);
  top: -140px; left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  border-radius: 50%;
  animation: gf 8s ease-in-out infinite;
}

.ty-gl2 {
  position: absolute;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(0, 119, 255, .09), transparent 70%);
  bottom: -80px; left: 20%;
  pointer-events: none;
  border-radius: 50%;
  animation: gf 11s ease-in-out infinite reverse;
}

.ty-gl3 {
  position: absolute;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(0, 119, 255, .06), transparent 70%);
  top: 10%; right: 5%;
  pointer-events: none;
  border-radius: 50%;
  animation: gf 9s ease-in-out 2s infinite;
}

/* ---------- STATUS (canto superior esquerdo) ---------- */
.ty-status {
  position: absolute;
  top: 28px; left: 48px;
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  color: var(--mut);
  letter-spacing: .14em;
  text-transform: uppercase;
  z-index: 2;
}

.ty-status span { color: var(--acc); }

/* ---------- CARD CENTRAL ---------- */
.ty-card {
  position: relative;
  z-index: 1;
  background: var(--sur);
  border: 1px solid var(--brd);
  padding: 56px 64px;
  max-width: 560px;
  width: 100%;
  box-shadow: inset 0 2px 0 var(--acc);
  clip-path: polygon(
    0 0, calc(100% - 18px) 0,
    100% 18px, 100% 100%,
    18px 100%, 0 calc(100% - 18px)
  );
}

/* Cantos decorativos do card */
.ty-card::before {
  content: '';
  position: absolute;
  top: 14px; right: -1px;
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--acc), transparent);
}

.ty-card::after {
  content: '';
  position: absolute;
  top: -1px; right: 14px;
  height: 1px; width: 40px;
  background: linear-gradient(to left, var(--acc), transparent);
}

/* ---------- ÍCONE CHECK ANIMADO ---------- */
.ty-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 32px;
  position: relative;
}

.ty-icon::before {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 221, 119, .12), transparent 70%);
  animation: icon-pulse 2s ease-in-out 1s infinite;
}

@keyframes icon-pulse {
  0%, 100% { transform: scale(1);    opacity: 1;  }
  50%       { transform: scale(1.2); opacity: .5; }
}

.ty-icon svg {
  width: 80px; height: 80px;
  position: relative; z-index: 1;
}

.check-circle {
  stroke-dasharray: 220;
  stroke-dashoffset: 220;
  animation: draw-circle .8s cubic-bezier(.4,0,.2,1) forwards;
}

.check-mark {
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
  animation: draw-check .4s ease .75s forwards;
}

@keyframes draw-circle { to { stroke-dashoffset: 0; } }
@keyframes draw-check  { to { stroke-dashoffset: 0; } }

/* ---------- TAG ---------- */
.ty-tag {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  color: var(--acc);
  letter-spacing: .22em;
  text-transform: uppercase;
  margin-bottom: 18px;
  display: inline-block;
  padding: 4px 12px;
  border: 1px solid rgba(0, 221, 119, .3);
  background: rgba(0, 221, 119, .06);
}

.ty-tag::before { content: '// '; }

/* ---------- TÍTULO ---------- */
.ty-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(32px, 5vw, 58px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.05;
  margin-bottom: 20px;
  color: var(--txt);
}

.ty-title span {
  color: var(--acc);
  position: relative;
  display: inline-block;
}

.ty-title span::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 0; right: 0;
  height: 2px;
  background: var(--acc);
  transform: scaleX(0);
  transform-origin: left;
  animation: lr .5s ease 1.1s forwards;
}

/* ---------- DESCRICAO ---------- */
.ty-desc {
  font-family: 'Space Mono', monospace;
  font-size: 13px;
  color: var(--mut);
  line-height: 1.9;
  margin-bottom: 40px;
}

.ty-desc strong { color: var(--txt); }

/* ---------- DIVISOR ---------- */
.ty-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brd), transparent);
  margin-bottom: 40px;
}

/* ---------- BOTAO VOLTAR ---------- */
.ty-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-family: 'Space Mono', monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-decoration: none;
  text-transform: uppercase;
  color: #000;
  background: var(--acc);
  cursor: none;
  clip-path: polygon(
    0 0, calc(100% - 10px) 0,
    100% 10px, 100% 100%,
    10px 100%, 0 calc(100% - 10px)
  );
  transition: transform .2s, gap .2s;
}

.ty-btn:hover      { transform: translateY(-3px); gap: 18px; }
.ty-btn::before    { content: '←'; transition: transform .2s; }
.ty-btn:hover::before { transform: translateX(-3px); }

/* ---------- RODAPE ---------- */
.ty-footer {
  position: absolute;
  bottom: 28px;
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  color: var(--mut);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ty-footer::before {
  content: '';
  display: inline-block;
  width: 24px; height: 1px;
  background: var(--brd);
}

.ty-footer span { color: var(--acc); }

/* ---------- RESPONSIVO ---------- */
@media (max-width: 600px) {
  .ty-card   { padding: 36px 24px; }
  .ty-status { display: none; }
  .ty-footer { font-size: 10px; }
}
