* {
  box-sizing: border-box;
}
html {
  color-scheme: dark;
  --bg: #090d1a;
  --panel: #101626;
  --rail: #0c1020;
  --line: #263045;
  --fg: #f1f3fb;
  --muted: #a3adc4;
  --accent: #b5b3ff;
  --active: #23263e;
  --grid: #ffffff09;
  --btn: #c6c3ff;
  --radius: 12px;
  font:
    16px Inter,
    "Segoe UI",
    sans-serif;
}
html[data-theme="light"] {
  color-scheme: light;
  --bg: #f4f3ff;
  --panel: #fcfcff;
  --rail: #fbfaff;
  --line: #d5d2f3;
  --fg: #111132;
  --muted: #575d80;
  --accent: #5130bd;
  --active: #e7e1ff;
  --grid: #7973bf14;
  --btn: #cdbdff;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
}
a,
button,
select,
input,
textarea {
  font: inherit;
  color: inherit;
}
a {
  text-decoration: none;
}
button,
select {
  cursor: pointer;
}
button,
.button,
select,
input,
textarea {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 14px;
}
button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 600;
  font-size: 0.88rem;
}
button:hover,
a:hover {
  filter: brightness(1.14);
}
:focus-visible {
  outline: 2px solid #8784ff;
  outline-offset: 3px;
}
.primary {
  background: var(--btn);
  color: #1b193b;
  border-color: transparent;
}
.skip {
  position: fixed;
  top: -90px;
}
.skip:focus {
  top: 8px;
  z-index: 12;
}
aside {
  position: fixed;
  inset: 0 auto 0 0;
  width: 235px;
  background: var(--rail);
  border-right: 1px solid var(--line);
  padding: 30px 17px 18px;
  display: flex;
  flex-direction: column;
  z-index: 4;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font:
    600 1.25rem Manrope,
    "Segoe UI",
    sans-serif;
  letter-spacing: -0.065em;
  margin: 0 3px 42px;
}
.brand img {
  width: 33px;
  border-radius: 50%;
}
.label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
aside .label {
  margin: 0 12px 10px;
}
aside nav {
  display: grid;
  gap: 4px;
  margin-bottom: 25px;
}
.navlink {
  padding: 11px 13px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 0.9rem;
  border-radius: 7px;
}
.navlink.active {
  background: var(--active);
  color: var(--accent);
}
.navlink:hover,
.tool:hover,
.phase:hover {
  background: var(--active);
}
.foot {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding: 16px 8px 0;
}
.foot select {
  width: 100%;
  margin-top: 8px;
}
.shell {
  margin-left: 235px;
}
header {
  height: 69px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 3.4vw, 60px);
  font-size: 0.85rem;
}
.row,
.actions,
.headrow,
.meta,
.crumb {
  display: flex;
  align-items: center;
  gap: 12px;
}
.headrow {
  justify-content: space-between;
  margin: 29px 0 15px;
}
.muted,
small,
.crumb {
  color: var(--muted);
}
main {
  max-width: 1540px;
  margin: auto;
  padding: 26px clamp(20px, 3.4vw, 60px) 70px;
}
.hero {
  isolation: isolate;
  position: relative;
  overflow: hidden;
  border: 1px solid #33344d;
  border-radius: 14px;
  background: #04051b;
  color: #f7f8fc;
  padding: clamp(24px, 3vw, 48px);
  min-height: 285px;
  display: flex;
  align-items: center;
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0 0 0 38%;
  z-index: -1;
  background: url("assets/identidade.jpg") center/cover no-repeat;
  mask-image: linear-gradient(90deg, transparent, #000 19%);
}
.hero-visual {
  display: none;
}
.hero .label {
  color: #bcb9ef;
}
.hero h1 {
  font:
    500 clamp(2.15rem, 3.25vw, 3.65rem)/1.08 Manrope,
    "Segoe UI",
    sans-serif;
  letter-spacing: -0.055em;
  margin: 12px 0;
}
.hero p {
  max-width: 39ch;
  color: #c0c4d7;
  margin: 0 0 22px;
}
.meta {
  border-top: 1px solid #ffffff24;
  margin-top: 24px;
  padding-top: 13px;
  gap: 20px;
  font-size: 0.78rem;
  color: #c6c9de;
  width: fit-content;
}
.meta span,
.link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.meta svg {
  width: 15px;
}
.link {
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 600;
}
.headrow h2,
h2 {
  margin: 0;
  font:
    600 1.42rem Manrope,
    "Segoe UI",
    sans-serif;
  letter-spacing: -0.035em;
}
.phases {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
}
.phase,
.panel,
.tool,
.listitem {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}
.phase {
  overflow: hidden;
}
.art {
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #050619;
  border-bottom: 1px solid var(--line);
}
.phaseArt {
  display: block;
  width: 100%;
  height: auto;
  max-height: 345px;
  object-fit: contain;
  object-position: center;
}
.phase .art {
  aspect-ratio: 460 / 324;
}
.phase .phaseArt {
  height: 100%;
  max-height: none;
}
.phasebody,
.tool,
.panel,
.listitem {
  padding: 18px;
}
.phasebody {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.phasebody strong,
.tool strong {
  display: block;
  font-size: 1.04rem;
  margin-bottom: 4px;
}
.phasebody small,
.tool small {
  font-size: 0.8rem;
}
.tools {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
}
.tool {
  display: flex;
  gap: 12px;
  align-items: center;
}
.chip {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--active);
  color: var(--accent);
}
h1 {
  font-family: Manrope, "Segoe UI", sans-serif;
  letter-spacing: -0.05em;
  font-size: 2.5rem;
  margin: 12px 0;
}
p {
  line-height: 1.55;
}
.stack {
  display: grid;
  gap: 13px;
}
.listitem {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.panel {
  margin: 14px 0;
}
.panel h3 {
  margin: 0 0 12px;
}
label.field {
  display: grid;
  gap: 7px;
  margin: 14px 0;
  font-size: 0.9rem;
}
textarea {
  resize: vertical;
  min-height: 90px;
}
.actions {
  flex-wrap: wrap;
}
.badge {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 0.75rem;
  color: var(--muted);
}
.video {
  background: #050619 url("assets/identidade.jpg") center/cover;
  height: 250px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: white;
}
.video span {
  padding: 8px 15px;
  background: #101327eb;
  border-radius: 6px;
}
.tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 18px 0;
}
.tabs .on {
  color: var(--accent);
  background: var(--active);
}
dialog {
  width: min(430px, 92vw);
  max-height: 85vh;
  overflow: auto;
  border: 1px solid var(--line);
  padding: 24px;
  border-radius: 14px;
  background: var(--panel);
  color: var(--fg);
}
dialog::backdrop {
  background: #020414b8;
}
.close {
  float: right;
}
#notice:not(:empty) {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--active);
  padding: 12px 18px;
  border-radius: 8px;
  z-index: 8;
}
.bar {
  height: 5px;
  background: var(--active);
  border-radius: 5px;
  margin: 12px 0;
}
.bar i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #25d4f1, #a778ef);
}
#mobile {
  display: none;
}
.mobileOnly {
  display: none;
}
@media (max-width: 1100px) {
  aside {
    width: 202px;
    padding-inline: 12px;
  }
  .shell {
    margin-left: 202px;
  }
  .tools {
    gap: 8px;
  }
  .tool {
    padding: 13px;
  }
  .hero:before {
    left: 42%;
  }
}
@media (max-width: 800px) {
  aside {
    display: none;
  }
  .shell {
    margin: 0;
  }
  header {
    height: 57px;
  }
  main {
    padding: 17px 16px 85px;
  }
  .mobileOnly {
    display: inline-flex;
  }
  #mobile {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    justify-content: space-around;
    background: var(--rail);
    border-top: 1px solid var(--line);
    z-index: 5;
    padding: 6px 0 max(6px, env(safe-area-inset-bottom));
  }
  #mobile a,
  #mobile button {
    border: 0;
    background: none;
    font-size: 0.71rem;
    display: grid;
    justify-items: center;
    gap: 3px;
    padding: 4px;
    color: var(--muted);
  }
  .phases {
    grid-template-columns: repeat(2, 1fr);
  }
  .tools {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 23px;
  }
  .crumb > span:first-child {
    display: none;
  }
  .actions {
    gap: 7px;
  }
}
@media (max-width: 520px) {
  .hero {
    min-height: 0;
    padding: 28px 24px;
    border-radius: 18px;
  }
  .hero:before {
    display: none;
  }
  .hero > div {
    width: 100%;
    min-width: 0;
  }
  .hero-visual {
    display: block;
    width: 100%;
    aspect-ratio: 1.55;
    margin: 8px 0 12px;
    background: url("assets/identidade.jpg") center / 165% auto no-repeat;
    mask-image: radial-gradient(ellipse, #000 40%, transparent 74%);
  }
  .hero h1 {
    font-size: clamp(1.8rem, 8.2vw, 2.5rem);
    max-width: 100%;
    margin: 18px 0 14px;
  }
  .hero p {
    font-size: 1rem;
    max-width: 100%;
    margin-bottom: 0;
  }
  .hero .label {
    font-size: 0.64rem;
  }
  .hero .meta {
    display: grid;
    grid-template-columns: 1fr 1fr 1.3fr;
    width: 100%;
    gap: 0;
    margin-top: 22px;
    padding-top: 18px;
    font-size: clamp(0.62rem, 2.8vw, 0.85rem);
  }
  .hero .meta span {
    justify-content: center;
    gap: 5px;
    white-space: nowrap;
  }
  .hero .meta span + span {
    border-left: 1px solid #ffffff24;
  }
  .hero .meta svg {
    flex-shrink: 0;
    width: 16px;
  }
  .headrow h2 {
    font-size: 1.22rem;
  }

  .phasebody {
    padding: 12px;
  }
  .listitem,
  .actions {
    flex-wrap: wrap;
  }
  .crumb svg {
    display: none;
  }
  #notice:not(:empty) {
    bottom: 72px;
  }
  .hero .actions {
    display: grid;
    gap: 10px;
  }
  .hero .actions > * {
    width: 100%;
    min-height: 46px;
    font-size: 0.94rem;
  }
  .headrow {
    gap: 8px;
  }
  .headrow .link {
    font-size: 0.77rem;
  }
}
@font-face {
  font-family: Inter;
  src: url("assets/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: Manrope;
  src: url("assets/manrope.ttf") format("truetype");
  font-weight: 200 800;
  font-display: swap;
}
.hero .button:not(.primary) {
  background: #161a30;
  color: #eeeeff;
  border-color: #333954;
}
html[data-theme="light"] body {
  background: radial-gradient(ellipse at 75% 10%, #eeecff 0, transparent 58%), #f7f7ff;
}
html[data-theme="light"] aside {
  background: linear-gradient(150deg, #fff, #f7f6ff);
}
html[data-theme="light"] header {
  background: #ffffff70;
}
html[data-theme="light"] .navlink.active {
  background: linear-gradient(110deg, #eee7ff, #e1dcff);
  color: #4c2abe;
}
html[data-theme="light"] .hero {
  color: var(--fg);
  border-color: #c8c1f7;
  background: linear-gradient(115deg, #e6e8ff, #eeedff 38%, #c8bffa);
  min-height: 320px;
}
html[data-theme="light"] .hero:before {
  inset: 0 0 0 48%;
  background: url("assets/destaque-claro.png") center / cover no-repeat;
  mask-image: linear-gradient(90deg, transparent, #000 25%);
}
html[data-theme="light"] .hero .label {
  color: #5630bc;
}
html[data-theme="light"] .hero p {
  color: #555d83;
}
html[data-theme="light"] .primary {
  color: #171133;
  border: 1px solid #bba5f3;
  background: linear-gradient(135deg, #ddccff, #bdacfa);
  box-shadow: inset 0 1px 0 #ffffff80, 0 4px 12px #6d56b90c;
}
html[data-theme="light"] .hero .button:not(.primary) {
  color: #171133;
  background: #ffffffc9;
  border-color: #bdb7ec;
}
html[data-theme="light"] .hero .meta {
  color: #23224f;
  border-top-color: #bbb7e8;
}
html[data-theme="light"] .panel,
html[data-theme="light"] .tool,
html[data-theme="light"] .phase {
  background: linear-gradient(135deg, #fff, #faf9ff);
  box-shadow: 0 8px 24px #51419808;
}
html[data-theme="light"] .phase .art {
  aspect-ratio: 1.68;
}
html[data-theme="light"] .art {
  background: #e7e7ff;
  border-bottom-color: #d7d4f5;
}
html[data-theme="light"] .phase .phaseArt {
  object-fit: cover;
}
html[data-theme="light"] .chip {
  background: linear-gradient(135deg, #e9e2ff, #dfd7ff);
  color: #5d36d5;
}
html[data-theme="light"] .bar {
  background: #e0ddfc;
}
html[data-theme="light"] .tool:hover,
html[data-theme="light"] .phase:hover {
  border-color: #b3a5ef;
}
@media (min-width: 1101px) {
  html[data-theme="light"] aside { width: 260px; }
  html[data-theme="light"] .shell { margin-left: 260px; }
}
@media (max-width: 520px) {
  html[data-theme="light"] .hero {
    min-height: 0;
    background: linear-gradient(145deg, #e7e8ff, #f2efff 45%, #e1dbff);
  }
  html[data-theme="light"] .hero-visual {
    background: url("assets/simbolo-claro.png") center / auto 100% no-repeat;
    mask-image: radial-gradient(ellipse, #000 45%, transparent 73%);
  }
  html[data-theme="light"] .hero .meta span + span {
    border-left-color: #c7c1e9;
  }
}
html[data-theme="light"] .hero p {
  font-size: 1.1rem;
}
html[data-theme="light"] .headrow h2 {
  font-size: 1.6rem;
}
html[data-theme="light"] .phasebody strong,
html[data-theme="light"] .tool strong {
  font-size: 1.12rem;
}
@media (min-width: 801px) {
  html[data-theme="light"] .hero .meta { font-size: .9rem; }
  html[data-theme="light"] .navlink { font-size: 1rem; }
}
@media (max-width: 520px) {
  html[data-theme="light"] .hero p { font-size: 1rem; }
  html[data-theme="light"] .headrow h2 { font-size: 1.22rem; }
  html[data-theme="light"] .hero-visual {
    width: min(100%, 240px);
    aspect-ratio: 1;
    margin: 8px auto 12px;
    background-size: 100% 100%;
    mask-image: radial-gradient(ellipse, #000 64%, transparent 74%);
  }
}
