@font-face {
  font-family: "Manrope";
  src: url("fonts/manrope-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

:root {
  --font: "Manrope", "Segoe UI", system-ui, sans-serif;

  --c-primary: #304dd0;
  --c-primary-hover: #253ca8;
  --c-accent-bg: #eaf0ff;
  --c-violet: #6740ab;
  --c-black: #000;
  --c-ink: #182036;
  --c-ink-2: #29354d;
  --c-muted: #55637b;
  --c-line: #dce3ef;
  --c-gray-bg: #f3f6fb;
  --c-white: #fff;
  --c-dark-card: #1c1c1f;
  --c-dark-pill: #323338;
  --c-dark-border: #7c7b7b;

  --s-done: #28967d;
  --s-working: #cc882a;
  --s-stuck: #bb527a;
  --s-blue: #5579ed;
  --s-purple: #9b78c9;
  --s-pink: #cd769d;

  --grad-brand: linear-gradient(120deg, #5579ed, #836ee8 55%, #5ad2b5);

  --r-pill: 160px;
  --r-xl: 28px;
  --r-l: 20px;
  --r-m: 12px;
  --r-s: 8px;

  --w-xl: 1360px;
  --w-l: 1280px;
  --w-m: 1184px;
  --w-footer: 1152px;
  --gutter: 40px;

  --shadow-card: 0 6px 24px rgb(34 53 108 / .07);
  --shadow-float: 0 16px 44px rgb(24 36 79 / .16);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: var(--c-ink);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 3px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- layout ---------- */
.container { width: 100%; margin-inline: auto; padding-inline: var(--gutter); }
.container--xl { max-width: calc(var(--w-xl) + 2 * var(--gutter)); }
.container--l { max-width: calc(var(--w-l) + 2 * var(--gutter)); }
.container--m { max-width: calc(var(--w-m) + 2 * var(--gutter)); }
.container--footer { max-width: calc(var(--w-footer) + 2 * var(--gutter)); }

.section { position: relative; padding-block: 120px; }
.section--dark { background: var(--c-black); color: var(--c-white); }
.section--gray { background: var(--c-gray-bg); }

@media (max-width: 991px) {
  :root { --gutter: 24px; }
  .section { padding-block: 72px; }
}
@media (max-width: 479px) {
  :root { --gutter: 16px; }
  .section { padding-block: 56px; }
}

/* ---------- tipografia ---------- */
.eyebrow { font-size: 16px; font-weight: 400; line-height: 1.4; margin-bottom: 16px; }
.section--dark .eyebrow { color: rgba(255, 255, 255, 0.72); }

.display-xl { font-size: 128px; line-height: 1; font-weight: 500; letter-spacing: -0.02em; }
.display-l  { font-size: 112px; line-height: 1; font-weight: 500; letter-spacing: -0.02em; }
.display-m  { font-size: 80px;  line-height: 1.2; font-weight: 400; letter-spacing: -0.01em; }
.h2-l       { font-size: 64px;  line-height: 1.1; font-weight: 500; }
.h2         { font-size: 52px;  line-height: 1.1; font-weight: 500; }
.h3         { font-size: 44px;  line-height: 1.1; font-weight: 400; }
.h4         { font-size: 32px;  line-height: 1.3; font-weight: 500; }
.lead       { font-size: 20px;  line-height: 1.6; color: var(--c-muted); }
.text-s     { font-size: 14px;  line-height: 1.5; }
.text-xs    { font-size: 12px;  line-height: 1.5; }
.text-center { text-align: center; }

@media (max-width: 991px) {
  .display-xl { font-size: 80px; }
  .display-l  { font-size: 72px; }
  .display-m  { font-size: 52px; }
  .h2-l       { font-size: 44px; }
  .h2         { font-size: 40px; }
  .h3         { font-size: 32px; }
}
@media (max-width: 479px) {
  .display-xl, .display-l { font-size: 48px; line-height: 1; }
  .display-m  { font-size: 33px; line-height: 1.2; }
  .h2-l, .h2  { font-size: 32px; line-height: 1.1; }
  .h3         { font-size: 26px; }
  .h4         { font-size: 22px; }
  .lead       { font-size: 16px; }
}

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 14px 32px;
  border-radius: var(--r-pill); border: 1px solid transparent;
  font-size: 16px; font-weight: 400; line-height: 1.25; white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn--s { min-height: 40px; padding: 10px 16px; font-size: 13px; font-weight: 750; }
.btn--primary { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.btn--primary:hover { background: var(--c-primary-hover); border-color: var(--c-primary-hover); }
.btn--outline { border-color: var(--c-primary); color: var(--c-primary); background: #fff; }
.btn--outline:hover { background: #f0f0ff; }
.btn--dark { background: #000; border-color: var(--c-ink-2); color: #fff; }
.btn--dark:hover { background: var(--c-ink-2); }
.btn--light { background: #fff; color: #000; border-color: #fff; }
.btn--light:hover { background: #ececec; }
.btn--ghost { background: transparent; color: #000; border-color: #000; }
.btn--ghost:hover { background: #000; color: #fff; }
.btn--ghost-dark { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
.btn--ghost-dark:hover { background: #fff; color: #000; }

.btn .icon-arrow, .icon-arrow { width: 14px; height: 14px; flex: none; }

.pill {
  display: inline-flex; align-items: center; min-height: 47px; padding: 12px 28px;
  border-radius: var(--r-pill); font-size: 14px; font-weight: 400;
  background: var(--c-dark-pill); color: #fff; border: 1px solid var(--c-dark-border);
  transition: background-color .2s var(--ease);
}
.pill[aria-selected="true"], .pill.is-active { background: var(--c-violet); border-color: var(--c-violet); font-weight: 500; }

.circle-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px;
  border-radius: 50%; border: 1.5px solid currentColor; transition: opacity .2s;
}
.circle-btn:disabled { opacity: .35; cursor: default; }

.text-link { display: inline-flex; align-items: center; gap: 6px; border-bottom: 1px solid currentColor; padding-bottom: 2px; font-size: 14px; }

/* ---------- avatares originais (formas geométricas, sem personagens) ---------- */
.avatar {
  --size: 48px;
  position: relative; display: inline-grid; place-items: center; flex: none;
  width: var(--size); height: var(--size); border-radius: 28%;
  font-weight: 500; font-size: calc(var(--size) * .36); color: #fff;
  background: var(--av, linear-gradient(135deg, #7c3aed, #ec4899));
  overflow: hidden;
}
.avatar::after { /* "rosto" abstrato: arco + dois pontos */
  content: ""; position: absolute; inset: 22% 22% 30%;
  border-radius: 50%; border: calc(var(--size) * .04) solid rgba(255, 255, 255, .55);
  border-top-color: transparent; border-left-color: transparent; transform: rotate(45deg);
}
.avatar--round { border-radius: 50%; }
.avatar--a { --av: linear-gradient(135deg, #6161ff, #00c2ff); }
.avatar--b { --av: linear-gradient(135deg, #ff7a59, #ffcb47); }
.avatar--c { --av: linear-gradient(135deg, #00c875, #00a1a1); }
.avatar--d { --av: linear-gradient(135deg, #a25ddc, #ff5ac4); }
.avatar--e { --av: linear-gradient(135deg, #1f2a44, #579bfc); }
.avatar--f { --av: linear-gradient(135deg, #fdab3d, #df2f4a); }

.avatar-stack { display: inline-flex; }
.avatar-stack .avatar { border: 2px solid #fff; }
.avatar-stack .avatar + .avatar { margin-left: -10px; }

/* ---------- primitivas de mockup (UI de quadro) ---------- */
.mock {
  background: #fff; color: var(--c-ink-2); border-radius: var(--r-m);
  box-shadow: var(--shadow-card); overflow: hidden; font-size: 12px;
}
.mock--dark { background: #2b2c30; color: #fff; }
.mock-table { width: 100%; border-collapse: collapse; }
.mock-table th { font-weight: 400; color: var(--c-muted); text-align: center; padding: 6px 8px; font-size: 11px; }
.mock-table td { border: 1px solid #e6e9ef; padding: 6px 8px; height: 30px; }
.status {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 96px; height: 24px; padding: 0 10px; font-size: 11px; color: #fff; border-radius: 2px;
}
.status--done { background: var(--s-done); }
.status--working { background: var(--s-working); }
.status--stuck { background: var(--s-stuck); }
.status--blue { background: var(--s-blue); }
.status--purple { background: var(--s-purple); }
.bar { display: block; height: 8px; border-radius: 8px; background: #e6e9ef; overflow: hidden; }
.bar > i { display: block; height: 100%; background: var(--s-blue); border-radius: inherit; }
.skeleton { display: block; height: 8px; border-radius: 8px; background: linear-gradient(90deg, #e9e3ff, #f4f0ff); }

/* ---------- animação de entrada ---------- */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (scripting: none) {
  .reveal { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- marquee ---------- */
.marquee { overflow: hidden; }
.marquee__track { display: flex; width: max-content; animation: marquee var(--marquee-speed, 30s) linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

.pular-conteudo {
  position: absolute; z-index: 100; top: 12px; left: 12px;
  padding: 10px 16px; border-radius: var(--r-s); background: #fff; color: var(--c-primary);
  font-weight: 750; box-shadow: var(--shadow-card);
}
.pular-conteudo:not(:focus) { transform: translateY(-200%); }
