/* =========================================================================
   Manual de Operacoes da Naia — Instituto Avalanche
   Register: brand. Dark premium. OKLCH navy + coral + cyan + dourado.
   ========================================================================= */

/* ---- Tokens ---- */
:root {
  /* Base / fundos */
  --bg:            oklch(0.18 0.035 255);
  --bg-deep:       oklch(0.14 0.03 255);
  --surface:       oklch(0.235 0.04 255);
  --surface-raised:oklch(0.285 0.045 255);
  --hairline:      oklch(0.36 0.035 252);

  /* Tinta */
  --ink:           oklch(0.96 0.01 250);
  --ink-muted:     oklch(0.74 0.022 250);
  --ink-faint:     oklch(0.66 0.025 252);

  /* Acentos */
  --coral:         oklch(0.66 0.2 22);
  --coral-soft:    oklch(0.66 0.2 22 / 0.14);
  --cyan:          oklch(0.78 0.13 205);
  --cyan-soft:     oklch(0.78 0.13 205 / 0.14);
  --gold:          oklch(0.83 0.12 85);

  /* Radius */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur:  420ms;

  /* Layout */
  --sidebar-w: 304px;
  --content-max: 70ch;

  /* Elevation */
  --sh-surface: 0 1px 0 oklch(0.4 0.04 252 / 0.4), 0 8px 24px oklch(0.1 0.03 255 / 0.5);
  --sh-raised:  0 1px 0 oklch(0.46 0.05 252 / 0.5), 0 14px 40px oklch(0.08 0.03 255 / 0.62);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: "Hanken Grotesk", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background-color: var(--bg);
  background-image:
    radial-gradient(900px 600px at 12% -8%, oklch(0.78 0.13 205 / 0.07), transparent 60%),
    radial-gradient(820px 560px at 92% 4%, oklch(0.66 0.2 22 / 0.06), transparent 58%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv01";
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }

::selection { background: var(--coral-soft); color: var(--ink); }

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

/* =========================================================================
   LAYOUT SHELL
   ========================================================================= */
.shell { display: flex; min-height: 100vh; }

/* ---- Sidebar ---- */
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--sidebar-w);
  background: linear-gradient(180deg, var(--bg-deep), oklch(0.155 0.032 255));
  border-right: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
  z-index: 40;
}

.sidebar__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 26px 26px 22px;
  border-bottom: 1px solid var(--hairline);
}
.brand-mark {
  position: relative;
  width: 38px; height: 38px;
  flex-shrink: 0;
  display: grid; place-items: center;
}
.brand-mark svg { width: 100%; height: 100%; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.18rem;
  letter-spacing: -0.01em;
}
.brand-text span {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.sidebar__nav {
  flex: 1;
  overflow-y: auto;
  padding: 16px 14px 28px;
  scrollbar-width: thin;
  scrollbar-color: var(--hairline) transparent;
}
.sidebar__nav::-webkit-scrollbar { width: 8px; }
.sidebar__nav::-webkit-scrollbar-thumb { background: var(--hairline); border-radius: 8px; }

.nav-group { margin-bottom: 6px; }
.nav-group__label {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 600;
  padding: 14px 12px 6px;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 12px;
  border-radius: var(--r-sm);
  color: var(--ink-muted);
  font-size: 0.94rem;
  font-weight: 500;
  line-height: 1.3;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.nav-link:hover { background: var(--surface); color: var(--ink); }
.nav-link__index {
  flex-shrink: 0;
  width: 22px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink-faint);
  text-align: right;
  transition: color var(--dur) var(--ease);
}
.nav-link.is-active {
  background: var(--surface-raised);
  color: var(--ink);
}
.nav-link.is-active .nav-link__index { color: var(--coral); }
.nav-link.is-active::before {
  content: "";
  position: absolute;
  left: 0;
  width: 3px; height: 18px;
  border-radius: 3px;
  background: var(--coral);
}
.nav-link { position: relative; }

/* collapsible "O que faz" group */
.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 9px 12px;
  border-radius: var(--r-sm);
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 600;
  transition: background-color var(--dur) var(--ease);
}
.nav-toggle:hover { background: var(--surface); }
.nav-toggle__chevron {
  transition: transform var(--dur) var(--ease);
  color: var(--ink-faint);
}
.nav-sublist[hidden] + * {}
.nav-collapsible { overflow: hidden; }
.nav-sublist {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows var(--dur) var(--ease);
}
.nav-sublist.is-closed { grid-template-rows: 0fr; }
.nav-sublist > div { min-height: 0; overflow: hidden; }
.nav-sublist .nav-link { font-size: 0.88rem; padding-left: 12px; }
.nav-toggle[aria-expanded="false"] .nav-toggle__chevron { transform: rotate(-90deg); }

/* ---- Main ---- */
.main {
  margin-left: var(--sidebar-w);
  flex: 1;
  min-width: 0;
}

/* ---- Mobile topbar (hidden on desktop) ---- */
.topbar { display: none; }
.scrim { display: none; }

/* =========================================================================
   SECTION SCAFFOLD
   ========================================================================= */
.section {
  padding: clamp(56px, 8vw, 116px) clamp(22px, 6vw, 92px);
  border-bottom: 1px solid var(--hairline);
  scroll-margin-top: 24px;
}
.section:last-of-type { border-bottom: none; }
.section__inner { max-width: 980px; margin: 0 auto; }
.measure { max-width: var(--content-max); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--gold);
  opacity: 0.7;
}

h1, h2, h3, h4 { font-family: "Bricolage Grotesque", system-ui, sans-serif; }

/* Section title (visually the big heading). Tag is h2 for hierarchy; look via class. */
.section .h-section {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
}
/* Subhead inside a section. Tag is h3 for hierarchy; look via class or bare h3. */
.section .h-sub {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.01em;
  margin-top: 2.4em;
  margin-bottom: 0.5em;
}
.section .h-sub:first-of-type { margin-top: 1.6em; }

.section p { color: var(--ink-muted); margin-top: 0.9em; max-width: var(--content-max); }
.section p:first-of-type { margin-top: 1.1em; }
.section .lead {
  font-size: clamp(1.18rem, 1.8vw, 1.42rem);
  line-height: 1.55;
  color: var(--ink);
  font-weight: 400;
  margin-top: 1.2em;
}
.section strong { color: var(--ink); font-weight: 600; }
.section a:not(.btn) { color: var(--cyan); }
.section a:not(.btn):hover { text-decoration: underline; text-underline-offset: 3px; }

/* lists */
.section ul.dotted, .section ol.steps {
  list-style: none;
  padding: 0;
  margin: 1.3em 0;
  max-width: var(--content-max);
}
.section ul.dotted li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 0.7em;
  color: var(--ink-muted);
}
.section ul.dotted li::before {
  content: "";
  position: absolute;
  left: 4px; top: 0.72em;
  width: 7px; height: 7px;
  border-radius: 2px;
  background: var(--cyan);
  transform: rotate(45deg);
}
.section ul.dotted li strong { color: var(--ink); }

.section ol.steps { counter-reset: step; }
.section ol.steps li {
  position: relative;
  padding-left: 48px;
  margin-bottom: 0.95em;
  min-height: 30px;
  color: var(--ink-muted);
}
.section ol.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0; top: 0.1em;
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--hairline);
  background: var(--surface);
  color: var(--gold);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.84rem;
  font-weight: 600;
}
.section ol.steps li strong { color: var(--ink); }

/* =========================================================================
   HERO
   ========================================================================= */
.hero {
  position: relative;
  border-bottom: 1px solid var(--hairline);
  padding: clamp(48px, 6vw, 96px) clamp(22px, 6vw, 92px) clamp(56px, 6vw, 100px);
  /* subtle ambient backdrop so a moldura nao fica solta num fundo chapado */
  background:
    radial-gradient(120% 90% at 88% 30%, oklch(0.2 0.04 255 / 0.55), transparent 60%),
    radial-gradient(90% 70% at 8% 80%, oklch(0.17 0.035 255 / 0.4), transparent 55%);
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  max-width: 1280px;
  margin: 0 auto;
}
.hero__content {
  max-width: 620px;
}
/* moldura premium ao redor da imagem — trio INTEIRO, nunca cortado */
.hero__frame {
  position: relative;
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  background:
    linear-gradient(180deg, oklch(0.2 0.038 255 / 0.7), oklch(0.155 0.032 255 / 0.7));
  box-shadow: var(--sh-raised);
  padding: clamp(8px, 1vw, 14px);
  overflow: hidden;
}
.hero__frame::before {
  /* fina linha de luz no topo, no estilo dos cards do site */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(180deg, oklch(0.6 0.05 252 / 0.4), transparent 28%);
  mix-blend-mode: screen;
}
.hero__frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: contain; /* trio completo: cabecas + garras + pes, SEM corte */
  border-radius: calc(var(--r-lg) - 8px);
  background: var(--bg-deep);
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px 7px 12px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: oklch(0.2 0.035 255 / 0.6);
  backdrop-filter: blur(6px);
  font-size: 0.76rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 26px;
}
.hero__badge .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}
.hero h1 {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: clamp(2.75rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.hero h1 .accent { color: var(--coral); }
.hero__sub {
  margin-top: 26px;
  font-size: clamp(1.1rem, 1.7vw, 1.36rem);
  line-height: 1.55;
  color: var(--ink-muted);
  max-width: 38ch;
}
.hero__cta {
  margin-top: 36px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* =========================================================================
   BUTTONS
   ========================================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  transition: transform var(--dur) var(--ease), background-color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  will-change: transform;
}
.btn--primary {
  background: var(--coral);
  color: oklch(0.16 0.03 30);
  box-shadow: 0 8px 26px oklch(0.66 0.2 22 / 0.32);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px oklch(0.66 0.2 22 / 0.42); }
.btn--ghost {
  border: 1px solid var(--hairline);
  color: var(--ink);
  background: oklch(0.22 0.038 255 / 0.5);
}
.btn--ghost:hover { border-color: var(--cyan); color: var(--ink); transform: translateY(-2px); }
.btn svg { width: 17px; height: 17px; }
@media (prefers-reduced-motion: reduce) {
  .btn:hover { transform: none; }
}

/* =========================================================================
   CALLOUT (dica)
   ========================================================================= */
.callout {
  margin: 1.9em 0;
  padding: 22px 24px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  background: var(--surface);
  box-shadow: var(--sh-surface);
  max-width: var(--content-max);
}
.callout__head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--ink);
  margin-bottom: 8px;
}
.callout__icon {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: 9px;
  background: var(--gold);
  color: oklch(0.2 0.04 85);
  flex-shrink: 0;
}
.callout__icon svg { width: 17px; height: 17px; }
.callout p { margin: 0; color: var(--ink-muted); }
.callout--cyan .callout__icon { background: var(--cyan); color: oklch(0.18 0.04 205); }

/* =========================================================================
   COMPARE (pedido raso vs com contexto)
   ========================================================================= */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 1.7em 0;
  max-width: var(--content-max);
}
.compare__card {
  padding: 20px 22px;
  border-radius: var(--r-md);
  border: 1px solid var(--hairline);
  background: var(--surface);
}
.compare__tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 11px;
}
.compare__card--weak .compare__tag { color: var(--ink-faint); }
.compare__card--strong { border-color: oklch(0.78 0.13 205 / 0.45); background: var(--cyan-soft); }
.compare__card--strong .compare__tag { color: var(--cyan); }
.compare__card p { margin: 0; color: var(--ink); font-size: 0.96rem; line-height: 1.5; }

/* =========================================================================
   COMMAND CHIP (signature component)
   ========================================================================= */
.commands {
  margin: 1.6em 0 0.4em;
  max-width: var(--content-max);
}
.cmd {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  border-radius: var(--r-md);
  background: var(--surface-raised);
  border: 1px solid var(--hairline);
  margin-bottom: 12px;
  transition: border-color var(--dur) var(--ease);
}
.cmd:hover { border-color: oklch(0.78 0.13 205 / 0.4); }
.cmd__icon {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 8px;
  display: grid; place-items: center;
  background: var(--cyan-soft);
  color: var(--cyan);
  margin-top: 2px;
}
.cmd__icon svg { width: 17px; height: 17px; }
.cmd__body { flex: 1; min-width: 0; }
.cmd__label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-faint);
  margin-bottom: 5px;
}
.cmd__text {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--ink);
  font-weight: 500;
  overflow-wrap: anywhere;
}
.cmd__copy {
  position: relative;
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 8px;
  border: 1px solid var(--hairline);
  display: grid; place-items: center;
  color: var(--ink-muted);
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
/* generous touch hit-area without enlarging the visual box */
.cmd__copy::after {
  content: "";
  position: absolute;
  inset: -6px;
}
.cmd__copy:hover { background: var(--surface); color: var(--ink); border-color: var(--cyan); }
.cmd__copy svg { width: 16px; height: 16px; }
.cmd__copy.is-copied { color: var(--cyan); border-color: var(--cyan); }

/* =========================================================================
   CAPABILITY PAGE (O que faz / Como faz / Por que / Como pedir)
   ========================================================================= */
.cap__head {
  display: flex;
  align-items: baseline;
  gap: clamp(12px, 1.6vw, 20px);
  margin-bottom: 6px;
}
.cap__num {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.4px var(--hairline);
  letter-spacing: -0.02em;
  flex-shrink: 0;
  transform: translateY(0.06em);
  user-select: none;
}
.cap__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  flex: 1; min-width: 0;
}

.cap-block { margin-top: 2.2em; }
.cap-block__label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.76rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--cyan);
  margin-bottom: 0.5em;
}
.cap-block__label .tick { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); }
.cap-block--why .cap-block__label { color: var(--gold); }
.cap-block--why .cap-block__label .tick { background: var(--gold); }
.cap-block--ask .cap-block__label { color: var(--coral); }
.cap-block--ask .cap-block__label .tick { background: var(--coral); }
.cap-block p:first-of-type { margin-top: 0; }

/* =========================================================================
   3 FASES (timeline)
   ========================================================================= */
.phases {
  display: grid;
  gap: 18px;
  margin: 1.8em 0;
}
@media (min-width: 880px) { .phases { grid-template-columns: repeat(3, 1fr); } }
.phase {
  position: relative;
  padding: 24px 22px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--hairline);
  box-shadow: var(--sh-surface);
}
.phase__num {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.08em;
}
.phase h3 {
  margin: 8px 0 0;
  font-size: 1.18rem;
}
.phase p { margin-top: 0.6em; font-size: 0.96rem; }
.phase__dot {
  position: absolute;
  top: 24px; right: 22px;
  width: 10px; height: 10px;
  border-radius: 50%;
}
.phase:nth-child(1) .phase__dot { background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.phase:nth-child(2) .phase__dot { background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.phase:nth-child(3) .phase__dot { background: var(--coral); box-shadow: 0 0 10px var(--coral); }

/* =========================================================================
   ORG / TEAM TEASER (Quem e a Naia -> equipe overview)
   ========================================================================= */
.org { margin: 1.8em 0; max-width: var(--content-max); }
.org__group { margin-bottom: 1.6em; }
.org__group-label {
  font-size: 0.76rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 0.7em;
}
.org__people { display: flex; flex-direction: column; gap: 2px; }
.org__person {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid oklch(0.36 0.035 252 / 0.4);
}
.org__person:last-child { border-bottom: none; }
.org__person b { color: var(--ink); font-weight: 600; flex-shrink: 0; min-width: 130px; }
.org__person span { color: var(--ink-muted); }

/* =========================================================================
   TEAM CARDS (A Equipe)
   ========================================================================= */
.team { display: flex; flex-direction: column; gap: 18px; margin-top: 2em; }
.team-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  padding: 26px 28px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--hairline);
  box-shadow: var(--sh-surface);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.team-card:hover { transform: translateY(-3px); border-color: oklch(0.78 0.13 205 / 0.35); box-shadow: var(--sh-raised); }
@media (prefers-reduced-motion: reduce) { .team-card:hover { transform: none; } }
.team-card__avatar {
  width: 60px; height: 60px;
  border-radius: 16px;
  display: grid; place-items: center;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--ink);
  background: linear-gradient(145deg, var(--surface-raised), oklch(0.24 0.05 255));
  border: 1px solid var(--hairline);
  flex-shrink: 0;
}
.team-card--lead .team-card__avatar { background: linear-gradient(145deg, oklch(0.4 0.16 22), oklch(0.32 0.14 22)); color: var(--ink); }
.team-card__name {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 1.28rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink);
}
.team-card__role {
  display: inline-block;
  margin-top: 4px;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  font-weight: 600;
  color: var(--cyan);
}
.team-card--lead .team-card__role { color: var(--coral); }
.team-card__rows { margin-top: 14px; display: flex; flex-direction: column; gap: 12px; }
.team-card__row { }
.team-card__row dt {
  font-size: 0.7rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-faint);
  margin-bottom: 3px;
}
.team-card__row dd { margin: 0; color: var(--ink-muted); font-size: 0.96rem; line-height: 1.5; }
.team-card__note {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: var(--r-sm);
  background: var(--bg-deep);
  border: 1px solid var(--hairline);
  color: var(--ink-muted);
  font-size: 0.9rem;
}

/* =========================================================================
   FECHAMENTO (closing) with texture
   ========================================================================= */
.closing {
  position: relative;
  background-color: var(--bg-deep);
  overflow: hidden;
}
.closing__texture {
  position: absolute; inset: 0; z-index: 0;
  opacity: 0.5;
  object-fit: cover;
  width: 100%; height: 100%;
}
.closing__texture-veil {
  position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(180deg, var(--bg-deep) 0%, oklch(0.15 0.03 255 / 0.6) 40%, var(--bg-deep) 100%);
}
.closing .section__inner { position: relative; z-index: 1; }
.recap {
  list-style: none;
  padding: 0;
  margin: 1.8em 0;
  display: grid;
  gap: 12px;
  max-width: var(--content-max);
}
.recap li {
  display: flex;
  gap: 14px;
  padding: 16px 18px;
  border-radius: var(--r-md);
  background: oklch(0.21 0.037 255 / 0.7);
  border: 1px solid var(--hairline);
  color: var(--ink-muted);
}
.recap li svg { flex-shrink: 0; width: 20px; height: 20px; color: var(--cyan); margin-top: 2px; }
.recap li strong { color: var(--ink); }

/* =========================================================================
   FOOTER
   ========================================================================= */
.footer {
  padding: 34px clamp(22px, 6vw, 92px);
  background: var(--bg-deep);
  border-top: 1px solid var(--hairline);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
.footer__brand { display: flex; align-items: center; gap: 11px; color: var(--ink-muted); font-size: 0.92rem; }
.footer__brand b { color: var(--ink); }
.footer small { color: var(--ink-faint); font-size: 0.82rem; }

/* =========================================================================
   ENTRANCE ANIMATIONS
   ========================================================================= */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 640ms var(--ease), transform 640ms var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Comfortable tap targets on touch devices (>= 44px) */
@media (pointer: coarse) {
  .nav-link { padding-top: 12px; padding-bottom: 12px; }
  .nav-toggle { padding-top: 13px; padding-bottom: 13px; }
  .cmd__copy { width: 44px; height: 44px; }
}

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1040px) {
  :root { --sidebar-w: 264px; }
}

@media (max-width: 860px) {
  .sidebar {
    transform: translateX(-100%);
    transition: transform var(--dur) var(--ease);
    width: min(320px, 86vw);
    box-shadow: 0 0 60px oklch(0.06 0.02 255 / 0.6);
  }
  .sidebar.is-open { transform: translateX(0); }
  .main { margin-left: 0; }

  .topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    position: sticky;
    top: 0;
    z-index: 30;
    padding: 13px 18px;
    background: oklch(0.16 0.032 255 / 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--hairline);
  }
  .topbar__brand { display: flex; align-items: center; gap: 10px; }
  .topbar__brand strong {
    font-family: "Bricolage Grotesque", system-ui, sans-serif;
    font-size: 1.05rem; font-weight: 700;
  }
  .topbar__brand .mk { width: 28px; height: 28px; }
  .menu-btn {
    display: grid; place-items: center;
    width: 42px; height: 42px;
    border-radius: 10px;
    border: 1px solid var(--hairline);
    background: var(--surface);
    color: var(--ink);
  }
  .menu-btn svg { width: 22px; height: 22px; }

  .scrim {
    display: block;
    position: fixed; inset: 0;
    z-index: 35;
    background: oklch(0.1 0.02 255 / 0.6);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--dur) var(--ease);
  }
  .scrim.is-open { opacity: 1; pointer-events: auto; }

  /* hero empilha: texto em cima, moldura com a imagem embaixo (trio inteiro) */
  .hero__inner {
    grid-template-columns: 1fr;
    gap: clamp(28px, 6vw, 44px);
  }
  .hero__content { max-width: 640px; }
}

@media (max-width: 640px) {
  .compare { grid-template-columns: 1fr; }
  .team-card { grid-template-columns: 1fr; gap: 14px; }
  .cap__head { gap: 12px; }
  .section .h-sub { margin-top: 2em; }
  .hero__frame { padding: 7px; }
}

/* =========================================================================
   CAP BLOCK — labels das partes novas (how / plat)
   ========================================================================= */
.cap-block--how .cap-block__label { color: var(--cyan); }
.cap-block--how .cap-block__label .tick { background: var(--cyan); }
.cap-block--plat .cap-block__label { color: var(--gold); }
.cap-block--plat .cap-block__label .tick { background: var(--gold); }
/* bloco "Plataformas e como gerar o acesso": leve destaque de caixa */
.cap-block--plat {
  margin-top: 2.4em;
  padding: 22px 24px;
  border-radius: var(--r-md);
  background: oklch(0.21 0.035 255 / 0.5);
  border: 1px solid var(--hairline);
  border-left: 3px solid var(--gold);
}
.cap-block--plat > .cap-block__label { margin-bottom: 0.9em; }
.cap-block--plat p { font-size: 1rem; }

/* sub-lista dentro de um item numerado (steps li) ou de uma dotted */
.section ol.steps li > ul.dotted--sub,
.section ul.dotted li > ul.dotted--sub {
  margin: 0.65em 0 0.2em;
}
.section ul.dotted--sub { max-width: none; }
.section ul.dotted--sub li { margin-bottom: 0.45em; font-size: 0.97rem; }
.section ul.dotted--sub li::before { background: var(--coral); }

/* =========================================================================
   A EQUIPE — vitrine estilo dashboard (Naia hero + grupos + cards + modal)
   Cores por grupo via --grp. Paleta OKLCH do manual.
   ========================================================================= */
.team-vitrine { margin-top: 2.4em; }
.team-vitrine .grp-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--grp, var(--cyan));
  box-shadow: 0 0 10px var(--grp, var(--cyan));
  flex-shrink: 0;
}

/* chips compartilhados */
.team-vitrine .chip,
.team-modal .chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px;
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; border: 1px solid transparent; white-space: nowrap;
  font-family: "Hanken Grotesk", system-ui, sans-serif;
}
.team-vitrine .chip-dot, .team-modal .chip-dot { width: 6px; height: 6px; border-radius: 50%; }
.chip-ativo {
  background: oklch(0.78 0.16 150 / 0.16); color: oklch(0.84 0.16 150);
  border-color: oklch(0.78 0.16 150 / 0.3);
}
.chip-ativo .chip-dot { background: oklch(0.84 0.16 150); box-shadow: 0 0 7px oklch(0.84 0.16 150); }
.chip-hib {
  background: oklch(0.66 0.025 252 / 0.12); color: var(--ink-faint);
  border-color: var(--hairline);
}
.chip-hib .chip-dot { background: var(--ink-faint); }
.chip-opus {
  background: oklch(0.78 0.13 205 / 0.14); color: var(--cyan);
  border-color: oklch(0.78 0.13 205 / 0.28);
}
.chip-sonnet {
  background: oklch(0.83 0.12 85 / 0.14); color: var(--gold);
  border-color: oklch(0.83 0.12 85 / 0.28);
}
.chip-orq {
  background: var(--coral-soft); color: var(--coral);
  border-color: oklch(0.66 0.2 22 / 0.34);
}

/* ---- Hero da Naia ---- */
.naia-hero {
  position: relative; width: 100%; text-align: left;
  display: flex; gap: 26px; align-items: center;
  background:
    radial-gradient(560px 300px at 0% 0%, var(--coral-soft), transparent 70%),
    var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: 28px; margin-bottom: 28px;
  box-shadow: var(--sh-surface);
  cursor: pointer; overflow: hidden;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.naia-hero:hover { transform: translateY(-2px); border-color: oklch(0.66 0.2 22 / 0.4); box-shadow: var(--sh-raised); }
@media (prefers-reduced-motion: reduce) { .naia-hero:hover { transform: none; } }
.naia-hero-avatar {
  width: 124px; height: 124px; flex: 0 0 124px;
  border-radius: 22px; overflow: hidden;
  border: 2px solid oklch(0.66 0.2 22 / 0.45);
  box-shadow: 0 0 0 4px var(--coral-soft), 0 16px 40px -16px oklch(0.08 0.03 255 / 0.7);
  background: var(--surface-raised);
}
.naia-hero-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.naia-hero-body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.naia-hero-name {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 1.5rem; font-weight: 700; color: var(--ink); letter-spacing: -0.02em;
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.naia-hero-role {
  color: var(--coral); font-size: 0.74rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em; margin-top: 7px;
}
.naia-hero-bio { color: var(--ink-muted); font-size: 0.95rem; line-height: 1.55; margin-top: 12px; max-width: 60ch; }
.naia-hero-badges { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }

/* ---- Grupo ---- */
.team-group { margin-bottom: 30px; }
.team-group[data-grp="Comando"]  { --grp: var(--coral); }
.team-group[data-grp="Producao"] { --grp: oklch(0.7 0.16 300); }
.team-group[data-grp="Trafego"]  { --grp: var(--gold); }
.team-group[data-grp="SDR"]      { --grp: oklch(0.8 0.15 158); }
.team-group-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.team-group-name {
  font-size: 0.74rem; font-weight: 700; color: var(--ink);
  text-transform: uppercase; letter-spacing: 0.12em;
}
.team-group-line { flex: 1 1 auto; height: 1px; background: linear-gradient(90deg, var(--hairline), transparent); }
.team-group-count {
  font-size: 0.7rem; color: var(--ink-faint);
  font-family: "JetBrains Mono", ui-monospace, monospace; font-variant-numeric: tabular-nums;
}

/* ---- Grid + card ---- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 16px; }
.team-card {
  position: relative; width: 100%; text-align: left;
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: var(--r-md); padding: 18px;
  box-shadow: var(--sh-surface); cursor: pointer;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.team-card[data-grp="Comando"]  { --grp: var(--coral); }
.team-card[data-grp="Producao"] { --grp: oklch(0.7 0.16 300); }
.team-card[data-grp="Trafego"]  { --grp: var(--gold); }
.team-card[data-grp="SDR"]      { --grp: oklch(0.8 0.15 158); }
.team-card::before {
  content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 3px;
  border-radius: 0 3px 3px 0; background: var(--grp, var(--cyan)); opacity: 0.85;
}
.team-card:hover { transform: translateY(-2px); border-color: color-mix(in oklab, var(--grp) 40%, var(--hairline)); box-shadow: var(--sh-raised); }
@media (prefers-reduced-motion: reduce) { .team-card:hover { transform: none; } }
.team-avatar {
  width: 62px; height: 62px; flex: 0 0 62px;
  border-radius: 16px; overflow: hidden; border: 1px solid var(--hairline);
  background: var(--surface-raised); display: flex; align-items: center; justify-content: center;
}
.team-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team-avatar-ini {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 1.5rem; font-weight: 700; color: var(--ink);
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(150deg, var(--grp, var(--cyan)), color-mix(in oklab, var(--grp, var(--cyan)) 55%, #000));
}
.team-card-body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.team-name { font-size: 1.02rem; font-weight: 650; color: var(--ink); letter-spacing: -0.01em; line-height: 1.25; }
.team-role { color: var(--ink-faint); font-size: 0.68rem; margin-top: 4px; text-transform: uppercase; letter-spacing: 0.06em; line-height: 1.3; }
.team-bio {
  color: var(--ink-muted); font-size: 0.85rem; line-height: 1.5; margin-top: 10px;
  display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.team-foot { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--hairline); }

/* ---- Modal de bio ---- */
.team-modal {
  position: fixed; inset: 0; z-index: 90;
  display: none; align-items: center; justify-content: center; padding: 24px;
}
.team-modal.is-open { display: flex; }
.team-modal__scrim { position: absolute; inset: 0; background: oklch(0.1 0.02 255 / 0.72); backdrop-filter: blur(4px); }
.team-modal__card {
  position: relative; z-index: 1; width: 100%; max-width: 680px;
  max-height: 88vh; overflow-y: auto;
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: var(--r-lg); padding: 30px;
  box-shadow: 0 40px 120px -40px oklch(0.05 0.03 255 / 0.9);
  animation: tbm-in var(--dur) var(--ease);
}
@keyframes tbm-in { from { opacity: 0; transform: translateY(14px) scale(0.985); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .team-modal__card { animation: none; } }
.team-modal__x {
  position: absolute; top: 16px; right: 16px;
  width: 38px; height: 38px; border-radius: 10px;
  display: grid; place-items: center; color: var(--ink-muted);
  border: 1px solid var(--hairline); background: var(--surface-raised);
}
.team-modal__x:hover { color: var(--ink); border-color: var(--coral); }
.team-modal__x svg { width: 20px; height: 20px; }

.tbm-hero { display: flex; gap: 18px; align-items: center; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--hairline); }
.tbm-avatar {
  width: 88px; height: 88px; flex: 0 0 88px; border-radius: 20px; overflow: hidden;
  border: 2px solid color-mix(in oklab, var(--grp, var(--cyan)) 45%, var(--hairline));
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--grp, var(--cyan)) 14%, transparent);
  background: var(--surface-raised); display: flex; align-items: center; justify-content: center;
}
.tbm-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tbm-name { font-family: "Bricolage Grotesque", system-ui, sans-serif; font-size: 1.4rem; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; }
.tbm-role { color: var(--grp, var(--coral)); font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; margin-top: 5px; }
.tbm-group { display: inline-flex; align-items: center; gap: 7px; margin-top: 8px; font-size: 0.7rem; color: var(--ink-faint); text-transform: uppercase; letter-spacing: 0.08em; }
.tbm-group .chip-dot { width: 7px; height: 7px; border-radius: 50%; }
.tbm-chips { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.tbm-content { display: flex; flex-direction: column; gap: 22px; }
.tbm-sec { display: flex; flex-direction: column; gap: 11px; }
.tbm-sec-title {
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-faint); display: flex; align-items: center; gap: 9px;
}
.tbm-sec-title::after { content: ""; flex: 1 1 auto; height: 1px; background: linear-gradient(90deg, color-mix(in oklab, var(--grp, var(--cyan)) 30%, transparent), transparent); }
.tbm-resumo { color: var(--ink); font-size: 1.02rem; line-height: 1.6; margin: 0; }
.tbm-fluxo {
  color: var(--ink-muted); font-size: 0.94rem; line-height: 1.58; margin: 0;
  padding: 13px 15px; border-radius: var(--r-sm);
  background: color-mix(in oklab, var(--grp, var(--cyan)) 7%, var(--surface-raised));
  border: 1px solid color-mix(in oklab, var(--grp, var(--cyan)) 16%, transparent);
}
.tbm-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.tbm-list li { display: flex; gap: 11px; align-items: flex-start; color: var(--ink-muted); font-size: 0.94rem; line-height: 1.5; }
.tbm-li-ico { flex: 0 0 20px; width: 20px; height: 20px; margin-top: 1px; display: flex; align-items: center; justify-content: center; border-radius: 7px; }
.tbm-li-ico svg { width: 13px; height: 13px; }
.tbm-skills li {
  background: var(--surface-raised); border: 1px solid var(--hairline);
  border-left: 2px solid var(--grp, var(--cyan));
  padding: 10px 13px; border-radius: 11px; color: var(--ink); font-weight: 500;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.tbm-skills li:hover { border-color: color-mix(in oklab, var(--grp, var(--cyan)) 45%, var(--hairline)); transform: translateX(2px); }
.tbm-skills .tbm-li-ico { color: var(--grp, var(--cyan)); background: color-mix(in oklab, var(--grp, var(--cyan)) 16%, transparent); }
.tbm-does .tbm-li-ico { color: var(--grp, var(--cyan)); opacity: 0.75; }
.tbm-plats { display: flex; flex-wrap: wrap; gap: 8px; }
.tbm-plat {
  font-size: 0.74rem; font-weight: 600; padding: 6px 12px; border-radius: 999px;
  color: color-mix(in oklab, var(--grp, var(--cyan)) 78%, var(--ink));
  background: color-mix(in oklab, var(--grp, var(--cyan)) 11%, transparent);
  border: 1px solid color-mix(in oklab, var(--grp, var(--cyan)) 28%, transparent);
  white-space: nowrap; transition: background 0.15s ease, transform 0.15s ease;
}
.tbm-plat:hover { background: color-mix(in oklab, var(--grp, var(--cyan)) 20%, transparent); transform: translateY(-1px); }

@media (max-width: 640px) {
  .naia-hero { flex-direction: column; align-items: flex-start; }
  .team-grid { grid-template-columns: 1fr; }
  .tbm-hero { flex-direction: column; align-items: flex-start; text-align: left; }
  .tbm-sec-title::after { display: none; }
  .team-modal { padding: 14px; }
  .team-modal__card { padding: 22px; }
}
