/* =========================================================
   oRenanDnv — Portfólio
   Direção: dossiê técnico editorial + acentos cyberpunk.
   Amarelo #fcee0a, ciano #2ad4e6, preto #0a0b0d.
   ========================================================= */

:root {
  --bg: #0a0b0d;
  --bg-2: #07080a;
  --panel: #0e1115;
  --line: rgba(255, 255, 255, 0.1);
  --line-soft: rgba(255, 255, 255, 0.06);
  --line-strong: rgba(255, 255, 255, 0.2);
  --text: #eef1f5;
  --soft: #c2ccd8;
  --muted: #98a3b2;
  --muted-2: #6f7a89;
  --yellow: #fcee0a;
  --cyan: #2ad4e6;

  --font-display: "Chakra Petch", "Rajdhani", "Segoe UI", system-ui, sans-serif;
  --font-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --shell: 1240px;
  --gutter: 56px;
  --header-h: 64px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0; text-wrap: pretty; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; }
ul, ol, dl, dd { margin: 0; padding: 0; }
li { list-style: none; }

::selection { background: var(--yellow); color: var(--bg); }

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

.shell {
  width: min(var(--shell), calc(100% - var(--gutter)));
  margin-inline: auto;
}

.skip {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 300;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 16px;
  background: var(--yellow);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  transform: translateY(-200%);
  transition: transform 0.18s;
}
.skip:focus { transform: translateY(0); }

/* ---------- fundo ---------- */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.024) 1px, transparent 1px);
  background-size: 88px 88px;
  -webkit-mask-image: radial-gradient(ellipse 100% 70% at 50% -10%, #000 5%, transparent 80%);
  mask-image: radial-gradient(ellipse 100% 70% at 50% -10%, #000 5%, transparent 80%);
}

main, .site-header, .site-footer { position: relative; z-index: 1; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  width: min(var(--shell), calc(100% - 40px));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 44px;
}

.brand-mark {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  background: var(--yellow);
  color: var(--bg);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  clip-path: polygon(0 0, 100% 0, 100% 68%, 68% 100%, 0 100%);
}

.brand-text { display: grid; line-height: 1.15; }
.brand-text b {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.brand-text small {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}

.nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--muted);
  transition: color 0.18s;
}

.nav a i {
  font-style: normal;
  font-size: 9px;
  color: var(--muted-2);
  transition: color 0.18s;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav a:hover,
.nav a.is-active { color: var(--text); }
.nav a:hover i,
.nav a.is-active i { color: var(--yellow); }
.nav a:hover::after,
.nav a.is-active::after { transform: scaleX(1); }

.lang {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  padding: 2px;
  border: 1px solid var(--line);
}

.lang button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted-2);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.05em;
  padding: 8px 7px;
  min-width: 32px;
  cursor: pointer;
  transition: color 0.16s, background 0.16s;
}

.lang button:hover { color: var(--text); }
.lang button.is-active {
  background: var(--yellow);
  color: var(--bg);
  font-weight: 500;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
  cursor: pointer;
}

.burger { display: grid; gap: 5px; width: 18px; }
.burger i {
  display: block;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.22s, opacity 0.18s;
}
body.nav-open .burger i:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
body.nav-open .burger i:nth-child(2) { opacity: 0; }
body.nav-open .burger i:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100svh - var(--header-h));
  max-width: var(--shell);
  padding: clamp(64px, 9vw, 116px) 0 clamp(48px, 6vw, 76px);
}

.hero-rail {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow .dot {
  width: 6px;
  height: 6px;
  background: var(--yellow);
}
.eyebrow .sep { color: var(--line-strong); }
.eyebrow .muted { color: var(--muted-2); }

.hero-title {
  margin: 26px 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(58px, 11.4vw, 144px);
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: var(--text);
}

.hero-title::after {
  content: "";
  display: inline-block;
  width: 0.1em;
  height: 0.1em;
  margin-left: 0.06em;
  background: var(--yellow);
  vertical-align: baseline;
}

.hero-role {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
}

.hero-role::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--cyan);
}

.hero-lead {
  margin-top: 24px;
  max-width: 56ch;
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 12px 22px;
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.16s, border-color 0.16s, color 0.16s;
}

.btn-primary {
  background: var(--yellow);
  color: var(--bg);
  clip-path: polygon(0 0, 100% 0, 100% 64%, calc(100% - 11px) 100%, 0 100%);
}
.btn-primary:hover { background: #fff95c; }

.btn-ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--yellow); color: var(--yellow); }

.btn-sm { min-height: 44px; padding: 9px 16px; font-size: 11px; }
.btn-lg { min-height: 52px; padding: 15px 30px; font-size: 13.5px; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(40px, 6vw, 62px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stats > div {
  padding: 18px 20px 20px;
  border-left: 1px solid var(--line);
}
.stats > div:first-child { border-left: 0; padding-left: 0; }

.stat-value {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--text);
}
.stat-value span { color: var(--yellow); font-size: 21px; vertical-align: 5px; }
.stat-value--text {
  display: flex;
  align-items: center;
  min-height: 34px;
  color: var(--yellow);
}

.stat-label {
  margin-top: 9px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--soft);
}

.stat-sub {
  margin-top: 2px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.03em;
  color: var(--muted-2);
}

/* ---------- moldura de canto (só onde há destaque) ---------- */
.frame::before,
.frame::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  z-index: 3;
  pointer-events: none;
}
.frame::before {
  top: -1px;
  left: -1px;
  border-top: 2px solid var(--yellow);
  border-left: 2px solid var(--yellow);
}
.frame::after {
  right: -1px;
  bottom: -1px;
  border-right: 2px solid var(--cyan);
  border-bottom: 2px solid var(--cyan);
}

/* ---------- seções ---------- */
.section {
  padding: clamp(64px, 8vw, 104px) 0 clamp(48px, 6vw, 80px);
  border-top: 1px solid var(--line);
}

.section-head {
  padding-bottom: clamp(22px, 3vw, 34px);
  border-bottom: 1px solid var(--line);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yellow);
}

.section-head h2 {
  margin-top: 16px;
  max-width: 20ch;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(34px, 5.2vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.section-lead {
  margin-top: 16px;
  max-width: 60ch;
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
}

.mono-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yellow);
}
.mono-label::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
}

/* ---------- sobre ---------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: clamp(32px, 5vw, 64px);
  margin-top: clamp(30px, 4vw, 44px);
}

.about-text p {
  font-size: 16.5px;
  line-height: 1.8;
  color: var(--soft);
}
.about-text p + p { margin-top: 18px; }

.about-text > p:first-child::first-letter {
  float: left;
  padding: 5px 11px 0 0;
  font-family: var(--font-display);
  font-size: 62px;
  font-weight: 700;
  line-height: 0.78;
  color: var(--yellow);
}

.facts {
  display: grid;
  margin-top: 30px;
  border-top: 1px solid var(--line);
}

.facts > div {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 16px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--line);
}

.facts dt {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.facts dd {
  font-size: 13.5px;
  color: var(--soft);
}
.facts dd b {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--yellow);
}
.facts dd span { font-size: 11.5px; color: var(--muted); }

.about-side { padding-top: 2px; }

.mini-title {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.about-side .mini-title {
  padding-bottom: 12px;
  border-bottom: 2px solid var(--yellow);
  color: var(--soft);
}

.about-list { display: grid; margin-top: 4px; }
.about-list li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.about-list li > span {
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: var(--yellow);
  padding-top: 4px;
}
.about-list b {
  display: block;
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 600;
}
.about-list small {
  display: block;
  margin-top: 3px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--muted);
}

/* ---------- linguagens: índice, não cartões ---------- */
.langs {
  margin-top: clamp(44px, 6vw, 64px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.langs-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 20px;
}
.langs-head .mini-title { color: var(--soft); }
.langs-head p { font-size: 13px; color: var(--muted-2); }

.lang-cards {
  display: block;
  margin-top: 20px;
  border-top: 1px solid var(--line);
}

.lang-card {
  display: grid;
  grid-template-columns: 108px 172px minmax(0, 1fr);
  gap: 24px;
  align-items: baseline;
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
}

.lang-tag {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--muted-2);
}

.lang-card h4 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: color 0.16s;
}

.lang-card p {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--muted);
}

.lang-card:hover h4 { color: var(--yellow); }

/* ---------- habilidades: lista numerada ---------- */
.skills-block {
  margin-top: clamp(44px, 6vw, 64px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.skills-grid {
  counter-reset: skill;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 16px;
  border-top: 1px solid var(--line);
}

.skill {
  counter-increment: skill;
  padding: 22px 28px 22px 0;
  border-bottom: 1px solid var(--line);
}
.skill:nth-child(even) {
  padding-left: 28px;
  border-left: 1px solid var(--line);
}

.skill h4 {
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.skill h4::before {
  content: counter(skill, decimal-leading-zero);
  display: inline-block;
  width: 30px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 400;
  color: var(--yellow);
  vertical-align: 2px;
}
.skill p {
  margin-top: 7px;
  max-width: 46ch;
  font-size: 12.8px;
  line-height: 1.65;
  color: var(--muted);
}

/* ---------- experiência ---------- */
.timeline {
  margin-top: clamp(28px, 4vw, 40px);
  border-top: 1px solid var(--line);
}

.tl-item {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 40px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.tl-tag {
  position: relative;
  padding-left: 16px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  line-height: 1.9;
  letter-spacing: 0.08em;
  color: var(--yellow);
}
.tl-tag::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 5px;
  height: 5px;
  background: var(--yellow);
}

.tl-body h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.tl-body p {
  margin-top: 9px;
  max-width: 68ch;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--muted);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
  transition: color 0.16s;
}
.link-arrow::after { content: "→"; transition: transform 0.16s; }
.link-arrow:hover { color: var(--yellow); }
.link-arrow:hover::after { transform: translateX(3px); }

/* ---------- projeto em destaque ---------- */
.featured {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(32px, 4vw, 52px);
  align-items: center;
  margin-top: clamp(28px, 4vw, 40px);
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid var(--line-strong);
  background: var(--panel);
  overflow: hidden;
}

.featured h3 {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.featured-sub {
  margin-top: 7px;
  font-size: 14px;
  color: var(--muted);
}

.featured-desc {
  margin-top: 18px;
  max-width: 56ch;
  font-size: 15px;
  line-height: 1.75;
  color: var(--soft);
}

.feature-list {
  counter-reset: feat;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 30px;
  margin-top: 26px;
  border-top: 1px solid var(--line);
}

.feature-list li {
  counter-increment: feat;
  position: relative;
  padding: 13px 0 13px 26px;
  border-bottom: 1px solid var(--line);
}
.feature-list li::before {
  content: counter(feat, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 15px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: var(--cyan);
}
.feature-list b {
  display: block;
  font-weight: 600;
  font-size: 13px;
  color: var(--text);
}
.feature-list span {
  display: block;
  margin-top: 2px;
  font-size: 12.4px;
  line-height: 1.55;
  color: var(--muted);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 22px;
}
.tags span {
  padding: 4px 9px;
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.03em;
  color: var(--muted);
}

.featured-note {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.03em;
  color: var(--muted-2);
}

.featured-visual { display: grid; place-items: center; }

.demo-phone {
  width: min(272px, 100%);
  padding: 8px;
  border: 1px solid var(--line-strong);
  background: #15181d;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55);
}

.demo-screen {
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: var(--bg);
}

.demo-shot { display: block; width: 100%; height: auto; }

/* ---------- hypixel: marca na fonte original ---------- */
.mc {
  font-family: "Silkscreen", var(--font-display);
  font-size: 0.92em;
  letter-spacing: 0.02em;
  color: #ffb02e;
  text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.5);
}

/* Grand Chase na grafia do logo, em ouro sólido */
.gc {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 700;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  color: #ffd23f;
  padding: 0 0.06em;
}

.brand-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.brand-logo--hyp {
  width: min(210px, 100%);
  height: auto;
  display: block;
}
.brand-logo--stat { height: 46px; width: auto; display: block; }

.subhead {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 18px;
  margin: clamp(44px, 6vw, 64px) 0 20px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.subhead h3 {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
}
.subhead p { font-size: 13px; color: var(--muted); }

/* subhead com logo: marca centralizada, mesmo porte da logo do Grand Chase */
.subhead--hyp {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}
.subhead--hyp .brand-line { justify-content: center; }
.subhead--hyp p { max-width: 560px; }

/* ---------- grand chase ---------- */
.gc-block {
  display: grid;
  grid-template-columns: 288px minmax(0, 1fr);
  gap: 42px;
  align-items: center;
  margin-top: 30px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.gc-num {
  padding-right: 30px;
  border-right: 1px solid var(--line);
}

.gc-logo {
  display: block;
  width: 100%;
  max-width: 266px;
  height: auto;
}

.gc-num small {
  display: block;
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.7;
  color: var(--muted-2);
}

.gc-body h3 {
  margin-top: 12px;
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.gc-body p {
  margin-top: 12px;
  max-width: 62ch;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--muted);
}

.gc-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px 22px;
  margin-top: 18px;
}

.gc-list li {
  position: relative;
  padding-left: 15px;
  font-size: 13px;
  color: var(--soft);
}
.gc-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 5px;
  height: 5px;
  background: var(--yellow);
}

/* ---------- hypixel ---------- */
.hyp {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  gap: 36px;
  align-items: start;
}

.hyp-copy h3 {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.hyp-copy p {
  margin-top: 12px;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--muted);
}

.hyp-steps {
  display: grid;
  gap: 8px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.hyp-steps li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 8px;
  align-items: baseline;
}
.hyp-steps span {
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: var(--yellow);
}
.hyp-steps b {
  font-size: 13px;
  font-weight: 400;
  color: var(--soft);
}

.hyp-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}
.hyp-shot { margin: 0; background: var(--bg); }
.hyp-shot.wide { grid-column: 1 / -1; }
.hyp-shot img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.hyp-shot figcaption {
  padding: 9px 12px;
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.hyp-note {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  line-height: 1.6;
  color: var(--muted-2);
}

/* ---------- dayz: janela compacta ---------- */
.win {
  border: 1px solid var(--line-strong);
  background: var(--panel);
}

.win-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 14px;
  border-bottom: 1px solid var(--line);
}

.win-dots { display: inline-flex; gap: 5px; }
.win-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--muted-2);
}
.win-dots i:first-child { background: var(--yellow); }

.win-title {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--soft);
}

.win-meta {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: var(--muted-2);
}

.win-body {
  max-height: 248px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.win-row {
  display: grid;
  grid-template-columns: 1fr 88px 66px 18px;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 13px;
  transition: background 0.16s;
}
.win-row:last-child { border-bottom: 0; }
.win-row:hover { background: rgba(252, 238, 10, 0.05); }

.win-row b { font-weight: 500; color: var(--text); }
.win-row span {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.06em;
  color: var(--muted-2);
}
.win-row span.kind { color: var(--yellow); }
.win-row i {
  font-style: normal;
  font-size: 12px;
  text-align: right;
  color: var(--yellow);
}

.win-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border-top: 1px solid var(--line);
}
.win-foot p {
  max-width: 62ch;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
}

/* ---------- contato ---------- */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(32px, 5vw, 56px);
  align-items: end;
  margin-bottom: 4px;
  padding: clamp(36px, 5vw, 56px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.contact h2 {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: clamp(32px, 4.6vw, 52px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.02;
}
.contact-copy p {
  margin-top: 16px;
  max-width: 52ch;
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
}

.contact-note {
  max-width: 46ch;
  font-family: var(--font-mono);
  font-size: 10.5px;
  line-height: 1.7;
  letter-spacing: 0.03em;
  color: var(--yellow);
}

.contact-actions {
  display: grid;
  justify-items: end;
  gap: 14px;
  text-align: right;
}

.contact-channels {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* ---------- janela de contato ---------- */
.cmodal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 20px;
}
.cmodal[hidden] { display: none; }

.cmodal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 5, 7, 0.88);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.cmodal.is-open .cmodal-backdrop { opacity: 1; }

.cmodal-window {
  position: relative;
  width: min(580px, 100%);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--line-strong);
  background: var(--panel);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.7);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.cmodal.is-open .cmodal-window { opacity: 1; transform: none; }

.cmodal-window::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: var(--yellow);
}

.cmodal-bar {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px 8px 14px;
  border-bottom: 1px solid var(--line);
  background: #0c0e12;
}

.cmodal-hint {
  margin-left: auto;
  padding: 2px 5px;
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  color: var(--muted-2);
}

.cmodal-close {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.16s, background 0.16s, border-color 0.16s;
}
.cmodal-close svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}
.cmodal-close:hover {
  color: var(--bg);
  background: var(--yellow);
  border-color: var(--yellow);
}

.cmodal-body { padding: 28px; }

.cmodal-body h2 {
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: clamp(26px, 3.6vw, 34px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.cmodal-lead {
  margin-top: 10px;
  max-width: 54ch;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--muted);
}

.cmodal-grid {
  display: grid;
  margin-top: 22px;
  border-top: 1px solid var(--line);
}

.c-card {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) 16px;
  align-items: center;
  gap: 14px;
  min-height: 50px;
  padding: 11px 2px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  transition: border-color 0.16s, background 0.16s;
}

button.c-card {
  width: 100%;
  font: inherit;
  color: inherit;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  background: none;
  border-left: 0;
  border-right: 0;
  border-top: 0;
}

.c-card:hover,
.c-card:focus-visible {
  border-bottom-color: var(--yellow);
  background: rgba(252, 238, 10, 0.03);
}

.c-icon {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: var(--muted);
  transition: color 0.16s;
}
.c-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.c-card:hover .c-icon,
.c-card:focus-visible .c-icon { color: var(--yellow); }

.c-text { display: grid; gap: 1px; }

.c-name {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text);
}

.c-meta {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.01em;
  color: var(--muted-2);
}

.c-arrow {
  font-style: normal;
  font-size: 12px;
  color: var(--muted-2);
  transition: color 0.16s, transform 0.16s;
}
.c-card:hover .c-arrow,
.c-card:focus-visible .c-arrow {
  color: var(--yellow);
  transform: translateX(2px);
}

.cmodal-foot {
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.03em;
  color: var(--yellow);
}

body.modal-open { overflow: hidden; }

/* ---------- rodapé ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
}

.footer-cta {
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(10, 11, 13, 0.97) 0%, rgba(10, 11, 13, 0.9) 55%, rgba(10, 11, 13, 0.72) 100%),
    url("hero.jpg") center 40% / cover no-repeat;
}

.footer-cta-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: clamp(56px, 7vw, 84px) 0;
}

.footer-cta h3 {
  max-width: 24ch;
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.04;
}

.footer-cta p {
  max-width: 52ch;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--muted);
}

.footer-cta .btn { margin-top: 10px; }

.cv-note {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.footer-base { padding: 36px 0 28px; }

.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand b {
  display: block;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
}
.footer-brand small {
  display: block;
  margin-top: 2px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 26px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  transition: color 0.16s;
}
.footer-links a:hover { color: var(--yellow); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--muted-2);
}
.footer-mark { color: rgba(252, 238, 10, 0.6); }

/* ---------- responsivo ---------- */
@media (max-width: 1120px) {
  .hero-rail { display: none; }
}

@media (max-width: 1040px) {
  :root { --gutter: 44px; }
  .hero { min-height: 0; padding-top: 72px; }
  .featured { grid-template-columns: 1fr; }
  .featured-visual { order: -1; }
  .demo-phone { width: 240px; }
  .gc-block { grid-template-columns: 1fr; gap: 24px; padding: 28px 0; }
  .gc-num {
    padding: 0 0 20px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .hyp { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; gap: 28px; }
  .contact-actions { justify-items: start; text-align: left; }
}

@media (max-width: 860px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stats > div { padding: 16px 16px 18px; }
  .stats > div:nth-child(odd) { padding-left: 0; border-left: 0; }
  .stats > div:nth-child(n + 3) { border-top: 1px solid var(--line); }
}

@media (max-width: 900px) {
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    z-index: 80;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 8px 20px 16px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
  }
  .nav.open { display: flex; }
  .nav a {
    padding: 14px 0;
    font-size: 13px;
    border-bottom: 1px solid var(--line-soft);
  }
  .nav a::after { display: none; }
  .nav a.is-active { color: var(--yellow); }
  .nav-toggle { display: grid; }
  .lang { margin-left: auto; }
  .about-grid { grid-template-columns: 1fr; gap: 34px; }
  .about-side { max-width: 520px; }
  .lang-card { grid-template-columns: 88px 148px minmax(0, 1fr); gap: 16px; }
}

@media (max-width: 700px) {
  :root { --gutter: 36px; }
  .hero-title { font-size: clamp(50px, 15vw, 78px); }
  .hero-lead { font-size: 15.5px; }
  .stat-value { font-size: 28px; }
  .stat-value--text { min-height: 28px; }
  .brand-logo--stat { height: 40px; }
  .brand-logo--hyp { width: 200px; }
  .tl-item { grid-template-columns: 1fr; gap: 10px; padding: 24px 0; }
  .feature-list { grid-template-columns: 1fr; }
  .skills-grid { grid-template-columns: 1fr; }
  .skill,
  .skill:nth-child(even) { padding: 18px 0; border-left: 0; }
  .facts { grid-template-columns: 1fr; }
  .gc-list { grid-template-columns: 1fr; }
  .hyp-gallery { grid-template-columns: 1fr; }
  .hyp-shot.wide { grid-column: auto; }
  .win-row { grid-template-columns: 1fr 18px; }
  .win-row .kind,
  .win-row .win-size { display: none; }
  .featured { padding: 20px; }
  .section { padding: 56px 0 44px; }
  .cmodal { padding: 10px; }
  .cmodal-window { max-height: calc(100vh - 20px); }
  .cmodal-hint { display: none; }
  .cmodal-body { padding: 22px 18px 24px; }
  .brand-text small { display: none; }
  .about-text > p:first-child::first-letter { font-size: 48px; padding-right: 8px; }
  .footer-bottom { justify-content: flex-start; }
}

@media (max-width: 560px) {
  .lang-card { grid-template-columns: 1fr; gap: 4px; padding: 16px 0; }
  .lang-card h4 { font-size: 19px; }
}

@media (max-width: 420px) {
  .brand-text { display: none; }
  .lang button { padding: 7px 5px; min-width: 30px; }
}

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