@import url('https://fonts.googleapis.com/css2?family=Saira:ital,wght@0,100..900;1,100..900&display=swap');

:root {
--bg: #0a0a0a;
--fg: #f4f4f0;
--muted: #b9b9b9;
--line: #1e1e1e;
--accent: #d6ff3f;      /* verde ácido */
--accent-2: #ff5c39;    /* laranja queimado */
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
background: var(--bg);
color: var(--fg);
font-family: "Saira", sans-serif;
font-size: 16px;
line-height: 1.5;
-webkit-font-smoothing: antialiased;
overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

/* ---------- grain overlay ---------- */
body::before {
content: "";
position: fixed;
inset: 0;
pointer-events: none;
z-index: 100;
opacity: 0.035;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.wrap {
max-width: 1280px;
margin: 0 auto;
padding: 40px 32px 120px;
}

/* ---------- header ---------- */
header {
display: flex;
    justify-content: space-between;
    align-items: flex-start;
    /* padding-bottom: 40px; */
    /* border-bottom: 1px solid var(--line); */
    margin: 80px 0 0 0;
    flex-wrap: wrap;
}

.logo {
font-size: clamp(40px, 5vw, 140px);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1;
    position: relative;
}

.logo .reg {
font-size: 0.3em;
vertical-align: super;
font-weight: 400;
color: var(--accent);
margin-left: 4px;
}

.logo::after {
content: "";
display: block;
width: 0;
height: 0px;
background: var(--accent);
margin-top: 8px;
animation: grow 1.2s cubic-bezier(0.6,0,0.2,1) forwards;
}

@keyframes grow {
to { width: 100%; }
}

.meta-header {
text-align: right;
font-size: 13px;
color: var(--muted);
letter-spacing: 0.02em;
line-height: 1.7;
padding-top: 8px;
}

.meta-header a {
color: var(--fg);
border-bottom: 1px solid var(--line);
transition: color .2s, border-color .2s;
}

.meta-header a:hover {
color: var(--accent);
border-color: var(--accent);
}

/* ---------- intro ---------- */
.intro {
font-size: clamp(20px, 2.6vw, 34px);
font-weight: 300;
letter-spacing: -0.02em;
line-height: 1.3;
max-width: 900px;
margin-bottom: 140px;
color: #bbb;
}

.intro em {
font-style: normal;
color: var(--accent);
}

.intro .dim {
color: var(--muted);
}

/* ---------- sections ---------- */
section {
margin-bottom: 120px;
position: relative;
}

.section-head {
display: flex;
align-items: baseline;
justify-content: space-between;
gap: 24px;
margin-bottom: 40px;
border-bottom: 1px solid var(--line);
padding-bottom: 16px;
}

.section-head h2 {
font-size: 12px;
font-weight: 500;
letter-spacing: 0.22em;
text-transform: uppercase;
color: var(--muted);
}

.section-head .num {
font-size: 12px;
color: var(--muted);
letter-spacing: 0.1em;
font-variant-numeric: tabular-nums;
}

/* ---------- list (rows, no thumbs) ---------- */
.items {
display: flex;
flex-direction: column;
}

.item {
display: grid;
grid-template-columns: 1fr auto;
align-items: center;
gap: 24px;
padding: 22px 0;
border-bottom: 1px solid var(--line);
position: relative;
transition: padding-left .35s cubic-bezier(0.6,0,0.2,1);
}

.item::before {
content: "→";
position: absolute;
left: -28px;
top: 50%;
transform: translateY(-50%) translateX(-8px);
color: var(--accent);
font-size: 18px;
opacity: 0;
transition: opacity .3s, transform .3s;
}

.item:hover {
padding-left: 20px;
}

.item:hover::before {
opacity: 1;
transform: translateY(-50%) translateX(0);
}

.item .name {
font-size: clamp(22px, 3.4vw, 44px);
font-weight: 500;
letter-spacing: -0.03em;
line-height: 1.05;
transition: color .3s;
}

.item:hover .name {
color: var(--accent);
}

.item .desc {
font-size: 13.5px;
color: var(--muted);
max-width: 340px;
text-align: right;
line-height: 1.5;
transition: color .3s;
}

.item:hover .desc {
color: var(--fg);
}

/* badge for external */
.item .name sup {
font-size: 0.32em;
color: var(--muted);
vertical-align: super;
margin-left: 8px;
font-weight: 400;
letter-spacing: 0.05em;
    display: none;
}

/* ---------- habitáculos (destaque) ---------- */

  .habita {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
  }

  .hab {
    background: var(--bg);
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 32px;
    min-height: 240px;
    position: relative;
    overflow: hidden;
    transition: background .3s;
  }

  .hab::after {
    content: "";
    position: absolute;
    bottom: 0; left: 0;
    height: 3px; width: 0;
    background: var(--accent);
    transition: width .4s cubic-bezier(0.6,0,0.2,1);
  }

  .hab:hover {
    background: #111;
  }

  .hab:hover::after {
    width: 100%;
  }

  .hab .idx {
    font-size: 12px;
    color: var(--muted);
    letter-spacing: 0.15em;
    font-variant-numeric: tabular-nums;
  }

  .hab .label {
    font-size: clamp(20px, 2vw, 26px);
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.1;
    transition: color .3s;
  }

  .hab:hover .label {
    color: var(--accent);
  }

  .hab .via {
    font-size: 13px;
    color: var(--muted);
    letter-spacing: 0.02em;
  }

  .hab .via a {
    color: var(--fg);
    border-bottom: 1px solid var(--line);
    transition: color .2s, border-color .2s;
    word-break: break-word;
  }

  .hab .via a:hover {
    color: var(--accent);
    border-color: var(--accent);
  }

  @media (max-width: 760px) {
    .habita { grid-template-columns: 1fr; }
    .hab { min-height: 160px; padding: 28px 24px; gap: 20px; }
  }

  /* ---------- "mais cousas" (variante compacta) ---------- */
  .items.alt .item {
    padding: 16px 0;
  }

  .items.alt .item .name {
    font-size: clamp(18px, 2vw, 26px);
    font-weight: 500;
  }

  .items.alt .item .desc {
    max-width: none;
    font-size: 14.5px;
    color: var(--fg);
  }

  .items.alt .item .desc::before {
    content: "— ";
    color: var(--muted);
    margin-right: 2px;
  }

  .items.alt .item:hover .desc {
    color: var(--accent);
  }

/* ---------- status ---------- */
.status {
margin-top: 140px;
padding-top: 40px;
border-top: 1px solid var(--line);
display: grid;
grid-template-columns: auto 1fr;
gap: 40px;
align-items: start;
}

.status .dot {
width: 10px; height: 10px;
border-radius: 50%;
background: var(--accent-2);
margin-top: 8px;
box-shadow: 0 0 0 0 var(--accent-2);
animation: pulse 2.4s infinite;
}

@keyframes pulse {
0%   { box-shadow: 0 0 0 0 rgba(255,92,57,0.6); }
70%  { box-shadow: 0 0 0 14px rgba(255,92,57,0); }
100% { box-shadow: 0 0 0 0 rgba(255,92,57,0); }
}

.status p {
font-size: 15px;
color: var(--muted);
max-width: 620px;
line-height: 1.65;
}

.status strong { color: var(--fg); font-weight: 500; }

.status a {
color: var(--fg);
border-bottom: 1px solid var(--line);
transition: color .2s, border-color .2s;
}

.status a:hover {
color: var(--accent);
border-color: var(--accent);
}

/* ---------- footer ---------- */
footer {
margin-top: 80px;
padding-top: 24px;
border-top: 1px solid var(--line);
display: flex;
justify-content: space-between;
font-size: 12px;
color: var(--muted);
letter-spacing: 0.08em;
text-transform: uppercase;
flex-wrap: wrap;
gap: 12px;
}

/* ---------- reveal animation ---------- */
.reveal {
/*opacity: 0;
transform: translateY(24px);
transition: opacity .8s cubic-bezier(0.2,0.6,0.2,1),
            transform .8s cubic-bezier(0.2,0.6,0.2,1);*/
}

.reveal.in {
opacity: 1;
transform: translateY(0);
}

/* ---------- responsive ---------- */
@media (max-width: 640px) {
.wrap { padding: 24px 20px 80px; }
header {/* margin-bottom: 56px; */}
.intro {/* margin-bottom: 80px; */}
section { margin-bottom: 80px; }
.item {
  grid-template-columns: 1fr;
  gap: 8px;
}
.item .desc { text-align: left; }
.status { grid-template-columns: 1fr; gap: 16px; }
}