:root {
  --ink: #080b10;
  --ink-soft: #10141b;
  --paper: #f1f0ea;
  --lime: #c8ff3d;
  --lime-dark: #486300;
  --coral: #ff5c4d;
  --muted: #a5a79f;
  --line: rgba(241, 240, 234, 0.17);
  --dark-line: rgba(8, 11, 16, 0.16);
  --max: 1440px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--paper); font-family: Manrope, system-ui, sans-serif; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
::selection { background: var(--lime); color: var(--ink); }

.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 120; background: rgba(255,255,255,.08); }
.progress span { display: block; width: 0; height: 100%; background: var(--lime); }
.topbar { height: 76px; padding: 0 clamp(20px, 4vw, 72px); display: flex; align-items: center; justify-content: space-between; position: fixed; inset: 3px 0 auto; z-index: 100; background: rgba(8,11,16,.92); border-bottom: 1px solid transparent; transition: border-color .25s ease; }
.topbar.scrolled { border-color: var(--line); }
.brand { display: flex; align-items: center; gap: 14px; font: 500 11px DM Mono, monospace; letter-spacing: .11em; white-space: nowrap; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; background: var(--lime); color: var(--ink); font-weight: 700; font-size: 14px; }
.topbar nav { display: flex; gap: 30px; font-size: 12px; color: var(--muted); }
.topbar nav a:hover, .topbar nav a:focus-visible { color: var(--lime); }
.top-action { border: 1px solid var(--line); padding: 9px 12px; font-size: 12px; }
.top-action:hover { border-color: var(--lime); }
kbd { font: 10px DM Mono, monospace; margin-left: 8px; color: var(--muted); }

.hero { min-height: 100svh; position: relative; display: flex; align-items: flex-end; overflow: hidden; border-bottom: 1px solid var(--line); padding: 130px clamp(24px,7vw,110px) clamp(150px,18vh,190px); }
.hero-media { position: absolute; inset: 0; background: url('../../images/hero-alex-dados.png') right center / cover no-repeat; }
.hero-shade { position: absolute; inset: 0; background: rgba(8,11,16,.08); }
.hero-shade::after { content: ""; position: absolute; inset: 0 46% 0 0; background: rgba(8,11,16,.58); }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 6.25vw 6.25vw; opacity: .16; }
.hero-content { position: relative; width: min(100%, var(--max)); margin: 0 auto; }
.eyebrow, .tag { font: 500 11px DM Mono, monospace; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow { margin: 0 0 28px; }
.eyebrow span { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--coral); margin-right: 9px; box-shadow: 0 0 0 6px rgba(255,92,77,.13); }
h1 { font-size: clamp(62px, 7.8vw, 122px); line-height: .86; letter-spacing: -.055em; margin: 0; max-width: 860px; }
h1 em, h2 em { color: var(--lime); font-style: normal; }
.hero-copy { font-size: clamp(17px, 1.5vw, 22px); line-height: 1.55; color: #d0d1cc; max-width: 620px; margin: 40px 0 0; }
.hero-actions, .community-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { min-height: 48px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: space-between; gap: 30px; border: 1px solid var(--line); font-size: 13px; font-weight: 700; }
.button.primary { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.button.primary:hover { background: var(--paper); border-color: var(--paper); }
.button.ghost:hover { border-color: var(--lime); color: var(--lime); }
.hero-meta { position: absolute; right: clamp(24px,7vw,110px); bottom: 54px; display: grid; grid-template-columns: repeat(3, auto); gap: clamp(24px,4vw,64px); }
.hero-meta div { display: flex; flex-direction: column; gap: 6px; }
.hero-meta strong { color: var(--lime); font-size: 28px; letter-spacing: -.04em; }
.hero-meta span { color: var(--muted); font: 10px DM Mono, monospace; text-transform: uppercase; }
.scroll-cue { position: absolute; right: 20px; top: 50%; display: flex; align-items: center; gap: 12px; transform: rotate(90deg) translateX(50%); transform-origin: right center; font: 10px DM Mono, monospace; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; }
.scroll-cue i { color: var(--lime); font-style: normal; font-size: 18px; }

.catalog-section { background: var(--paper); color: var(--ink); padding: clamp(90px,11vw,150px) clamp(24px,7vw,110px); }
.section-intro, .search-shell, .catalog-status, .catalog-grid, .empty-state, .load-more { width: min(100%, var(--max)); margin-left: auto; margin-right: auto; }
.section-intro { display: grid; grid-template-columns: 1.2fr .8fr; gap: 80px; align-items: end; }
.section-intro .tag, .paths-section .tag { color: var(--lime-dark); grid-column: 1/-1; margin: 0 0 -48px; }
.section-intro h2, .section-heading h2, .about-copy h2, .community-section h2 { font-size: clamp(46px,6.2vw,92px); letter-spacing: -.055em; line-height: .98; margin: 0; }
.section-intro h2 em, .paths-section h2 em { color: var(--lime-dark); }
.section-intro > p:last-child, .section-heading > p { font-size: 17px; line-height: 1.65; color: #555851; max-width: 570px; }
.search-shell { margin-top: 75px; border-top: 1px solid var(--dark-line); }
.search-box { min-height: 98px; display: grid; grid-template-columns: 90px 1fr auto; align-items: center; gap: 20px; border-bottom: 1px solid var(--dark-line); }
.search-box > span { font: 500 10px DM Mono, monospace; color: var(--lime-dark); letter-spacing: .1em; }
.search-box input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: clamp(22px,3vw,38px); font-weight: 700; letter-spacing: -.03em; }
.search-box input::placeholder { color: #a6a79f; }
.search-box kbd { border: 1px solid var(--dark-line); padding: 6px 9px; color: #6a6d66; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; padding: 24px 0; }
.filter-button { border: 1px solid var(--dark-line); background: transparent; padding: 9px 12px; cursor: pointer; font: 10px DM Mono, monospace; text-transform: uppercase; letter-spacing: .06em; }
.filter-button:hover, .filter-button.active { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.catalog-status { display: flex; justify-content: space-between; align-items: center; padding: 24px 0 16px; color: #656861; font: 10px DM Mono, monospace; text-transform: uppercase; }
.catalog-status button { border: 0; background: transparent; color: var(--lime-dark); cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.catalog-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--dark-line); border-left: 1px solid var(--dark-line); }
.catalog-card { min-height: 230px; padding: 26px; border-right: 1px solid var(--dark-line); border-bottom: 1px solid var(--dark-line); display: flex; flex-direction: column; position: relative; transition: background .2s ease, color .2s ease; }
.catalog-card:hover { background: var(--ink); color: var(--paper); }
.catalog-card .card-meta { display: flex; justify-content: space-between; color: #696c65; font: 10px DM Mono, monospace; text-transform: uppercase; }
.catalog-card:hover .card-meta { color: var(--lime); }
.catalog-card h3 { font-size: clamp(19px,2vw,27px); line-height: 1.18; letter-spacing: -.035em; margin: 32px 0 18px; }
.catalog-card .card-kind { margin-top: auto; color: #757870; font-size: 12px; }
.catalog-card i { position: absolute; right: 24px; bottom: 22px; font-style: normal; color: var(--lime-dark); }
.catalog-card:hover i { color: var(--lime); }
.empty-state { padding: 70px 20px; text-align: center; border: 1px solid var(--dark-line); }
.empty-state strong, .empty-state span { display: block; }
.empty-state strong { font-size: 24px; }
.empty-state span { color: #696c65; margin-top: 8px; }
.load-more { min-height: 56px; border: 1px solid var(--ink); background: transparent; color: var(--ink); margin-top: 28px; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 18px; font-weight: 700; }
.load-more:hover { background: var(--ink); color: var(--paper); }

.featured-section { padding: clamp(90px,11vw,150px) clamp(24px,7vw,110px); }
.section-heading { width: min(100%, var(--max)); margin: 0 auto 70px; display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 80px; }
.section-heading .tag { color: var(--lime); margin: 0 0 24px; }
.section-heading > p { color: var(--muted); }
.featured-grid { width: min(100%, var(--max)); margin: auto; display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.feature-card { min-height: 300px; padding: 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; position: relative; }
.feature-card.feature-lead { grid-column: span 2; grid-row: span 2; min-height: 600px; background: var(--lime); color: var(--ink); }
.feature-index { font: 10px DM Mono, monospace; color: var(--muted); }
.feature-lead .feature-index { color: var(--lime-dark); }
.feature-card div { margin-top: auto; }
.feature-card small { color: var(--coral); font: 10px DM Mono, monospace; text-transform: uppercase; }
.feature-lead small { color: var(--lime-dark); }
.feature-card h3 { font-size: clamp(25px,2.6vw,42px); letter-spacing: -.045em; line-height: 1.06; margin: 14px 0; }
.feature-lead h3 { font-size: clamp(42px,5vw,72px); }
.feature-card p { color: var(--muted); line-height: 1.55; max-width: 520px; }
.feature-lead p { color: #354600; font-size: 17px; }
.feature-card i { position: absolute; right: 24px; top: 22px; font-style: normal; color: var(--lime); }
.feature-lead i { color: var(--ink); }
.feature-card:not(.feature-lead):hover { background: var(--ink-soft); }

.paths-section { background: var(--paper); color: var(--ink); padding: clamp(90px,11vw,150px) clamp(24px,7vw,110px); }
.dark-text > p { color: #555851; }
.path-list { width: min(100%, var(--max)); margin: auto; border-top: 1px solid var(--dark-line); }
.path-row { width: 100%; display: grid; grid-template-columns: 70px 1.1fr 1fr 40px; gap: 25px; align-items: center; padding: 30px 8px; border: 0; border-bottom: 1px solid var(--dark-line); background: transparent; text-align: left; cursor: pointer; }
.path-row > span { font: 10px DM Mono, monospace; color: var(--lime-dark); }
.path-row strong { font-size: clamp(23px,3vw,42px); letter-spacing: -.045em; }
.path-row small { color: #666961; font-size: 13px; }
.path-row i { font-style: normal; font-size: 24px; color: var(--lime-dark); }
.path-row:hover { background: var(--lime); padding-left: 22px; padding-right: 22px; }

.about-section { width: min(100%, var(--max)); margin: auto; padding: clamp(90px,11vw,150px) clamp(24px,4vw,70px); display: grid; grid-template-columns: minmax(320px,.8fr) 1.2fr; gap: clamp(50px,8vw,120px); align-items: center; }
.about-photo { position: relative; border: 1px solid var(--line); }
.about-photo img { display: block; width: 100%; aspect-ratio: 1 / 1.05; object-fit: cover; object-position: center top; filter: grayscale(100%); }
.about-photo span { display: block; padding: 14px 16px; color: var(--lime); font: 10px DM Mono, monospace; text-transform: uppercase; }
.about-copy .tag { color: var(--lime); margin-bottom: 24px; }
.about-copy p:not(.tag) { color: #c0c1bc; line-height: 1.7; max-width: 720px; }
.about-links { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 8px; }
.about-links a { border: 1px solid var(--line); padding: 10px 12px; font: 11px DM Mono, monospace; }
.about-links a:hover { color: var(--ink); background: var(--lime); border-color: var(--lime); }

.community-section { padding: clamp(100px,13vw,180px) clamp(24px,7vw,110px); border-top: 1px solid var(--line); background: var(--ink-soft); }
.community-section > * { width: min(100%, var(--max)); margin-left: auto; margin-right: auto; }
.community-section .tag { color: var(--coral); }
.community-section h2 { margin-top: 28px; }
.outline { color: transparent; -webkit-text-stroke: 1.5px var(--paper); }
.footer { min-height: 120px; padding: 30px clamp(24px,4vw,72px); border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 30px; color: var(--muted); font: 10px DM Mono, monospace; }

@media (max-width: 980px) {
  .topbar nav { display: none; }
  .hero-shade::after { inset: 0 36% 0 0; }
  .hero-media { background-position: 72% center; }
  .hero-meta { left: 24px; right: 24px; }
  .scroll-cue { display: none; }
  .section-intro, .section-heading { grid-template-columns: 1fr; gap: 20px; }
  .section-intro .tag { margin: 0 0 10px; }
  .catalog-grid { grid-template-columns: repeat(2,1fr); }
  .featured-grid { grid-template-columns: repeat(2,1fr); }
  .feature-card.feature-lead { min-height: 500px; }
  .about-section { grid-template-columns: 1fr 1.2fr; }
}

@media (max-width: 680px) {
  .topbar { height: 66px; }
  .brand > span:last-child { display: none; }
  .hero { padding: 112px 20px 190px; align-items: flex-start; }
  .hero-media { background-image: url('../../images/hero-alex-dados.png'); background-size: auto 74%; background-position: right bottom; background-repeat: no-repeat; background-color: var(--ink); }
  .hero-shade { background: rgba(8,11,16,.18); }
  .hero-shade::after { inset: 0; background: rgba(8,11,16,.38); }
  .hero-grid { background-size: 54px 54px; }
  h1 { font-size: clamp(52px,14.5vw,62px); line-height: .9; }
  .hero-copy { max-width: 95%; }
  .hero-meta { grid-template-columns: repeat(3,1fr); gap: 12px; bottom: 32px; }
  .hero-meta { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .hero-meta div { min-width: 0; }
  .hero-meta strong { font-size: 22px; }
  .hero-meta span { font-size: 8px; white-space: normal; overflow-wrap: anywhere; }
  .hero-content, .hero-copy { min-width: 0; max-width: 100%; }
  .button { width: 100%; }
  .catalog-section, .featured-section, .paths-section { padding-left: 20px; padding-right: 20px; }
  .search-box { grid-template-columns: 1fr auto; min-height: 84px; }
  .search-box > span { display: none; }
  .search-box input { font-size: 21px; }
  .filters { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 18px; }
  .filter-button { white-space: nowrap; }
  .catalog-grid { grid-template-columns: 1fr; }
  .catalog-card { min-height: 200px; }
  .featured-grid { grid-template-columns: 1fr; }
  .feature-card.feature-lead { grid-column: auto; grid-row: auto; min-height: 430px; }
  .feature-card { min-height: 250px; }
  .path-row { grid-template-columns: 44px 1fr 30px; gap: 12px; }
  .path-row small { display: none; }
  .about-section { grid-template-columns: 1fr; padding-left: 20px; padding-right: 20px; }
  .about-photo { max-width: 420px; }
  .footer { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
