:root,
html[data-tema="claro"] {
  color-scheme: light;
  /* Identidade Buriti — azuis SME */
  --ink: #0f1b2d;
  --ink-2: #16304a;
  --ink-3: #1a5f9e;
  --foam: #eef3fb;
  --paper: #ffffff;
  --line: rgba(15, 27, 45, 0.10);
  --line-strong: rgba(15, 27, 45, 0.16);
  --mint: #1a5f9e;          /* azul Buriti (substitui teal antigo) */
  --mint-2: #2f7ec4;
  --mint-soft: #dbe8f6;
  --sand: #c74634;          /* terracotta Buriti (acento) */
  --sand-soft: #fdeceb;
  --text: #0f1b2d;
  --muted: #4a5a6a;
  --max: 1520px;
  --gutter: clamp(1rem, 2.2vw, 1.75rem);
  --section-y: clamp(3.5rem, 6vw, 5.5rem);
  --header-h: 5.15rem;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 27, 45, 0.04), 0 16px 40px rgba(26, 95, 158, 0.10);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --header-bg: color-mix(in srgb, #fff 92%, transparent);
  --card-bg: #ffffff;
  --band-ink-bg: linear-gradient(160deg, #0f1b2d 0%, #16304a 48%, #1a5f9e 120%);
  --band-ink-fg: #f4f7fb;
  --band-ink-muted: rgba(244, 247, 251, 0.72);
}

html[data-tema="escuro"] {
  color-scheme: dark;
  --ink: #e9ebf2;
  --ink-2: #c9d0dc;
  --ink-3: #58a6ff;
  --foam: #0a0c11;
  --paper: #12161f;
  --line: rgba(233, 235, 242, 0.10);
  --line-strong: rgba(233, 235, 242, 0.18);
  --mint: #58a6ff;
  --mint-2: #79b8ff;
  --mint-soft: #161b27;
  --sand: #7ad3de;
  --sand-soft: #1a2030;
  --text: #e9ebf2;
  --muted: #8b95a8;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.35), 0 18px 42px rgba(0, 0, 0, 0.35);
  --header-bg: color-mix(in srgb, #12161f 92%, transparent);
  --card-bg: #12161f;
  --band-ink-bg: linear-gradient(160deg, #05070c 0%, #0e121a 45%, #16304a 120%);
  --band-ink-fg: #e9ebf2;
  --band-ink-muted: rgba(233, 235, 242, 0.70);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--foam);
  font-family: "Manrope", "Source Sans 3", system-ui, sans-serif;
  font-size: 1.05rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--mint); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
button { font: inherit; }

.wrap,
.wrap-wide {
  width: min(var(--max), calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: var(--header-bg, rgba(238, 243, 251, 0.92));
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .15rem .7rem;
  text-decoration: none;
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: 1.12rem;
  max-width: min(22rem, 48vw);
  line-height: 1.15;
}
.brand-mark {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 11px;
  display: grid;
  place-items: center;
  overflow: hidden;
  flex: 0 0 auto;
  box-shadow: 0 6px 14px rgba(14, 127, 108, 0.28);
}
.brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
}
.brand small {
  display: block;
  width: 100%;
  margin-left: calc(2.25rem + .7rem);
  font-size: .68rem;
  letter-spacing: .02em;
  text-transform: none;
  color: var(--mint);
  font-weight: 650;
  font-family: "Manrope", "Source Sans 3", system-ui, sans-serif;
}
.nav-flow {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .28rem;
  min-width: 0;
}
.nav-flow-label {
  margin: 0;
  font-size: .62rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--mint);
}
.nav-flow-list {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-flow-list li {
  display: flex;
  align-items: center;
  position: relative;
}
.nav-flow-list li:not(:last-child)::after {
  content: "";
  width: .7rem;
  height: 2px;
  margin: 0 .18rem;
  background: rgba(14, 127, 108, 0.28);
  border-radius: 999px;
  flex: 0 0 auto;
}
.nav-flow-list a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border-radius: 999px;
  text-decoration: none;
  color: var(--ink-3);
  border: 1px solid rgba(14, 127, 108, 0.14);
  background: rgba(255, 255, 255, 0.55);
  transition: color .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s var(--ease);
}
.nav-flow-list a svg {
  width: 1.28rem;
  height: 1.28rem;
  display: block;
}
.nav-flow-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.nav-flow-list a::before {
  content: attr(data-tip);
  position: absolute;
  top: calc(100% + .55rem);
  left: 50%;
  z-index: 60;
  width: max-content;
  max-width: 14rem;
  padding: .42rem .65rem;
  border-radius: 8px;
  background: var(--ink);
  color: #f4f7f6;
  font-size: .72rem;
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: .01em;
  text-align: center;
  white-space: normal;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -.2rem);
  transition: opacity .18s ease, transform .18s var(--ease);
  box-shadow: 0 10px 24px rgba(3, 22, 27, 0.22);
}
.nav-flow-list a::after {
  content: "";
  position: absolute;
  top: calc(100% + .28rem);
  left: 50%;
  z-index: 60;
  width: .55rem;
  height: .55rem;
  background: var(--ink);
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -.15rem) rotate(45deg);
  transition: opacity .18s ease, transform .18s var(--ease);
}
.nav-flow-list li:nth-last-child(-n+2) a::before {
  left: auto;
  right: 0;
  transform: translate(0, -.2rem);
}
.nav-flow-list li:nth-last-child(-n+2) a::after {
  left: auto;
  right: 1.05rem;
  transform: translate(0, -.15rem) rotate(45deg);
}
.nav-flow-list a:hover,
.nav-flow-list a:focus-visible {
  color: var(--mint);
  background: var(--mint-soft);
  border-color: rgba(14, 127, 108, 0.28);
  transform: translateY(-1px);
}
.nav-flow-list a:hover::before,
.nav-flow-list a:focus-visible::before,
.nav-flow-list a:hover::after,
.nav-flow-list a:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
}
.nav-flow-list a:hover::after,
.nav-flow-list a:focus-visible::after {
  transform: translate(-50%, 0) rotate(45deg);
}
.nav-flow-list li:nth-last-child(-n+2) a:hover::before,
.nav-flow-list li:nth-last-child(-n+2) a:focus-visible::before {
  transform: translate(0, 0);
}
.nav-flow-list li:nth-last-child(-n+2) a:hover::after,
.nav-flow-list li:nth-last-child(-n+2) a:focus-visible::after {
  transform: translate(0, 0) rotate(45deg);
}
.nav-flow-list a.is-done {
  color: #0e7f6c;
  background: rgba(216, 241, 234, 0.7);
  border-color: rgba(14, 127, 108, 0.2);
}
.nav-flow-list a.is-active,
.nav-flow-list a[aria-current="true"] {
  color: #03161b;
  background: var(--mint-2);
  border-color: transparent;
  box-shadow: 0 10px 22px rgba(14, 127, 108, 0.28);
}
.nav-flow-list a.is-active.is-done,
.nav-flow-list a[aria-current="true"] {
  color: #03161b;
  background: var(--mint-2);
}
.nav-flow-list li.is-active-step:not(:last-child)::after,
.nav-flow-list li.is-done-step:not(:last-child)::after {
  background: var(--mint-2);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  min-height: 3rem;
  padding: 0 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s var(--ease), background .2s ease, border-color .2s ease, opacity .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--mint-2); color: var(--ink); }
.btn-primary:hover { background: #45c9a6; color: var(--ink); }
.btn-dark { background: var(--ink); color: #f4fffb; }
.btn-dark:hover { background: var(--ink-2); color: #fff; }
.btn-ghost {
  background: transparent;
  color: #f4fffb;
  border-color: rgba(244, 255, 251, 0.32);
}
.btn-ghost:hover { border-color: #fff; color: #fff; }
.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-outline:hover { border-color: var(--mint); color: var(--mint); }
.btn-disabled,
a.btn-disabled {
  opacity: .55;
  cursor: not-allowed;
  pointer-events: none;
  text-decoration: none;
  color: var(--muted);
  background: #e8eeec;
  border-color: transparent;
}

/* Hero full bleed */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: grid;
  align-items: end;
  color: #f4fffb;
  overflow: hidden;
  background: var(--ink);
}
.hero-media {
  position: absolute;
  inset: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: .72;
  filter: saturate(.98) contrast(1.02) brightness(1);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 22, 27, 0.82) 0%, rgba(3, 22, 27, 0.55) 42%, rgba(3, 22, 27, 0.18) 100%),
    linear-gradient(180deg, rgba(3, 22, 27, 0.12) 0%, rgba(3, 22, 27, 0.55) 58%, rgba(3, 22, 27, 0.78) 100%);
}
.hero .wrap {
  position: relative;
  z-index: 1;
  padding: clamp(4rem, 8vh, 6rem) 0 clamp(3.5rem, 7vh, 5rem);
  display: grid;
  align-content: end;
  width: min(var(--max), calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
}
.hero-copy {
  max-width: min(48rem, 100%);
}
.eyebrow {
  display: inline-block;
  margin: 0 0 1rem;
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--sand);
}
.hero h1 {
  margin: 0 0 1rem;
  font-family: "Manrope", sans-serif;
  font-size: clamp(2.4rem, 5.2vw, 3.85rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
  font-weight: 700;
  max-width: 18ch;
  text-shadow: 0 2px 24px rgba(3, 22, 27, 0.4);
}
.hero .lede {
  margin: 0 0 1.35rem;
  font-size: clamp(1.08rem, 1.8vw, 1.22rem);
  color: rgba(244, 255, 251, 0.9);
  max-width: min(46rem, 100%);
  font-weight: 400;
  text-shadow: 0 1px 18px rgba(3, 22, 27, 0.45);
}
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; }

.hero-path {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  gap: .45rem;
  align-items: stretch;
  margin: 0;
  max-width: min(52rem, 100%);
}
.hero-path-item {
  display: grid;
  gap: .2rem;
  padding: .7rem .85rem;
  border-radius: 12px;
  background: rgba(3, 22, 27, 0.28);
  border: 1px solid rgba(244, 255, 251, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 10px 28px rgba(3, 22, 27, 0.18);
  color: inherit;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease, transform .2s var(--ease), box-shadow .2s ease;
}
.hero-path-item:hover {
  background: rgba(3, 22, 27, 0.42);
  border-color: rgba(23, 165, 139, 0.55);
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(3, 22, 27, 0.28);
}
.hero-path-item.is-accent {
  background: rgba(14, 127, 108, 0.28);
  border-color: rgba(23, 165, 139, 0.5);
}
.hero-path-label {
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--mint-2);
}
.hero-path-item strong {
  font-family: "Manrope", sans-serif;
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #f4fffb;
}
.hero-path-item em {
  font-style: normal;
  font-size: .76rem;
  line-height: 1.3;
  color: rgba(244, 255, 251, 0.72);
}
.hero-path-arrow {
  width: 0.9rem;
  height: 0.9rem;
  align-self: center;
  border-right: 2px solid var(--mint-2);
  border-top: 2px solid var(--mint-2);
  transform: rotate(45deg);
  opacity: .8;
}
.adapt-block {
  margin-top: 2.4rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--line);
}
.adapt-block h3 {
  margin: 0 0 .7rem;
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  letter-spacing: -0.025em;
  color: var(--ink);
}
.adapt-block .lead { margin-bottom: 1.25rem; }

@media (max-width: 860px) {
  .hero-path {
    grid-template-columns: 1fr;
  }
  .hero-path-arrow {
    justify-self: center;
    transform: rotate(135deg);
  }
}

/* Full-bleed sections */
.band {
  width: 100%;
  border-bottom: 1px solid var(--line);
}
.band-ink {
  background: var(--band-ink-bg);
  color: var(--band-ink-fg);
  border-bottom: 0;
}
.band-ink .muted,
.band-ink .lead { color: var(--band-ink-muted); }
.band-soft { background: var(--foam); }
.band-paper { background: var(--paper); }

.section {
  padding: var(--section-y) 0;
}
.band[id],
.band > .section[id],
section[id] {
  scroll-margin-top: calc(var(--header-h) + .75rem);
}
.section-head {
  margin: 0 0 1.75rem;
  max-width: min(64rem, 100%);
}
.kicker {
  display: inline-block;
  margin: 0 0 .7rem;
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--mint);
}
.band-ink .kicker { color: var(--mint-2); }
.section h2 {
  margin: 0 0 .85rem;
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.7rem, 2.8vw, 2.35rem);
  letter-spacing: -0.035em;
  line-height: 1.15;
  font-weight: 700;
  color: inherit;
  max-width: min(40ch, 100%);
}
.band-soft h2,
.band-paper h2 { color: var(--ink); }
.lead {
  margin: 0 0 0;
  max-width: min(64rem, 100%);
  color: var(--muted);
  font-size: 1.05rem;
}
.section > .kicker + h2 + .lead,
.section > .section-head {
  margin-bottom: 1.75rem;
}
.section > .kicker + h2 + .lead {
  display: block;
  margin-bottom: 1.75rem;
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: flow;
}
.flow-steps > li {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.15rem 1.2rem 1.25rem;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  counter-increment: flow;
  position: relative;
}
.flow-body {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  height: 100%;
  min-width: 0;
}
.flow-body::before {
  content: counter(flow, decimal-leading-zero);
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .04em;
  color: rgba(14, 127, 108, 0.45);
}
.flow-actors {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  padding-right: 2rem;
}
.actor {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-width: 0;
  padding: .4rem .65rem .4rem .4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--foam);
}
.actor-ico {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.actor-ico svg {
  width: 1.05rem;
  height: 1.05rem;
}
.actor-text {
  display: grid;
  gap: .05rem;
  min-width: 0;
  line-height: 1.15;
}
.actor-text strong {
  font-family: "Manrope", sans-serif;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.actor-text em {
  font-style: normal;
  font-size: .68rem;
  font-weight: 650;
  color: var(--muted);
}
.actor-sme {
  background: var(--mint-soft);
  border-color: rgba(14, 127, 108, 0.18);
}
.actor-sme .actor-ico { background: #0e7f6c; color: #f4fffb; }
.actor-school {
  background: #e8f1f3;
  border-color: rgba(20, 58, 66, 0.12);
}
.actor-school .actor-ico { background: #143a42; color: #f4fffb; }
.actor-teacher {
  background: #e3f6ef;
  border-color: rgba(23, 165, 139, 0.22);
}
.actor-teacher .actor-ico { background: #0e7f6c; color: #f4fffb; }
.actor-family {
  background: var(--sand-soft);
  border-color: rgba(184, 137, 26, 0.22);
}
.actor-family .actor-ico { background: #b8891a; color: #fff8e8; }
.actor-ops {
  background: #eef2f7;
  border-color: rgba(40, 60, 90, 0.14);
}
.actor-ops .actor-ico { background: #3a5166; color: #f4fffb; }
.actor-cabinet {
  background: #f3ebe0;
  border-color: rgba(140, 90, 30, 0.18);
}
.actor-cabinet .actor-ico { background: #8a5a1e; color: #fff8e8; }
.actor-council {
  background: #eceff8;
  border-color: rgba(70, 80, 130, 0.16);
}
.actor-council .actor-ico { background: #4d5b8c; color: #f4fffb; }
.flow-steps h3 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: 1.08rem;
  color: var(--ink);
}
.flow-steps p {
  margin: 0;
  color: var(--muted);
  font-size: .95rem;
}

/* Facts strip */
.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 0;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink-2);
}
.fact {
  padding: 1.45rem 1.35rem;
  border-right: 1px solid rgba(255,255,255,.08);
  text-align: left;
  min-height: 7.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.fact:last-child { border-right: 0; }
.band-ink > .facts {
  margin: -0.5rem auto var(--section-y);
}
.fact strong {
  display: block;
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -0.04em;
  color: #fff;
  margin-bottom: .25rem;
}
.fact span {
  color: rgba(244, 255, 251, 0.68);
  font-size: .9rem;
}

/* Product cards */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
  align-items: stretch;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
  align-items: stretch;
}
.card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
  box-shadow: var(--shadow);
}
.card .pill-row { margin-top: auto; padding-top: 1rem; }
.card h3 {
  margin: 0 0 .55rem;
  font-family: "Manrope", sans-serif;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
  font-weight: 650;
  color: var(--ink);
}
.card p,
.card li { color: var(--muted); }
.card ul { margin: 0; padding-left: 1.05rem; }
.card li + li { margin-top: .35rem; }
.card-ico {
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: .9rem;
  background: var(--mint-soft);
  color: var(--mint);
}
.card-ico svg {
  width: 1.25rem;
  height: 1.25rem;
}
.band-ink .card {
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.1);
  box-shadow: none;
}
.band-ink .card h3 { color: #fff; }
.band-ink .card p,
.band-ink .card li { color: rgba(244,255,251,.72); }
.band-ink .card-ico {
  background: #0e7f6c;
  color: #f4fffb;
}
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-top: 1rem;
}
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 1.85rem;
  padding: 0 .7rem;
  border-radius: 999px;
  background: var(--mint-soft);
  color: #176a59;
  font-size: .76rem;
  font-weight: 750;
}

/* Feature with device */
.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(1.25rem, 3vw, 2.25rem);
  align-items: center;
}
.feature-row-follow { margin-top: 2.25rem; }
.feature-row.reverse { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.feature-row.reverse .feature-copy { order: 2; }
.feature-row.reverse .device { order: 1; }
.feature-copy,
.feature-row .device {
  min-width: 0;
}
.feature-copy .lead { margin-bottom: 1.25rem; }

/* Browser device frame — fixes print presentation */
.device {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: #0a2227;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: var(--shadow);
}
.device-bar {
  display: flex;
  align-items: center;
  gap: .45rem;
  height: 2.35rem;
  padding: 0 .9rem;
  background: #102f35;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.device-bar i {
  width: .55rem;
  height: .55rem;
  border-radius: 50%;
  background: rgba(255,255,255,.22);
  display: block;
}
.device-bar i:nth-child(1) { background: #ff5f57; }
.device-bar i:nth-child(2) { background: #febc2e; }
.device-bar i:nth-child(3) { background: #28c840; }
.device-bar span {
  margin-left: .5rem;
  flex: 1;
  height: 1.25rem;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  color: rgba(244,255,251,.55);
  font-size: .7rem;
  display: flex;
  align-items: center;
  padding: 0 .75rem;
  overflow: hidden;
  white-space: nowrap;
}
.device-screen {
  aspect-ratio: 16 / 9;
  background: #06181c;
  overflow: hidden;
}
.device-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* Album full width */
.album-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1.5rem;
}
.album-head .lead { margin: 0; }
.album-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.album-item {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  border-radius: 16px;
  overflow: hidden;
  transition: transform .25s var(--ease);
}
.album-item:hover,
.album-item:focus-visible {
  transform: translateY(-4px);
  outline: none;
}
.album-item .device { pointer-events: none; }
.album-item .meta {
  padding: .85rem .1rem 0;
  margin-top: auto;
}
.album-item .meta strong {
  display: block;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  font-size: 1rem;
  letter-spacing: -0.02em;
}
.album-item .meta span {
  color: var(--muted);
  font-size: .86rem;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: stretch;
  justify-content: center;
  padding: 0;
  background: rgba(4, 14, 16, 0.92);
  backdrop-filter: blur(12px);
}
.lightbox.is-open { display: flex; }
.lightbox-dialog {
  width: min(1280px, 100%);
  height: 100%;
  max-height: 100svh;
  display: grid;
  grid-template-columns: 1.4fr 0.85fr;
  background: var(--paper);
  overflow: hidden;
}
.lightbox-media {
  position: relative;
  background: #071c20;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}
.lightbox-media .device {
  width: min(100%, 920px);
}
.lightbox-side {
  display: flex;
  flex-direction: column;
  padding: 1.75rem 1.5rem;
  overflow: auto;
  border-left: 1px solid var(--line);
}
.lightbox-side .index {
  margin: 0 0 .55rem;
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--mint);
}
.lightbox-side h3 {
  margin: 0 0 .7rem;
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.15;
}
.lightbox-side .desc {
  margin: 0 0 1.15rem;
  color: var(--muted);
}
.lightbox-side h4 {
  margin: 0 0 .5rem;
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink);
}
.lightbox-side .pros {
  margin: 0 0 1.4rem;
  padding-left: 1.05rem;
  color: var(--text);
}
.lightbox-side .pros li + li { margin-top: .4rem; }
.lightbox-nav {
  margin-top: auto;
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
}
.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  width: 2.6rem;
  height: 2.6rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: 1.35rem;
  cursor: pointer;
}
.lightbox-close:hover { background: rgba(255,255,255,.22); }
body.album-open { overflow: hidden; }

/* Test environments */
.test-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.test-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.35rem 1.35rem 1.25rem;
  border-radius: var(--radius);
  border: 1px dashed var(--line-strong);
  background: #f8fbfa;
}
.test-card .btn { margin-top: auto; }
.test-card h3 {
  margin: 0 0 .4rem;
  font-family: "Manrope", sans-serif;
  font-size: 1.05rem;
  color: var(--ink);
}
.test-card p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: .92rem;
  min-height: 2.8rem;
}
.test-card .url {
  display: block;
  margin-bottom: .9rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .78rem;
  color: var(--ink-3);
  word-break: break-all;
}
.badge-soon {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 800;
  color: #8a6a12;
  background: #f7e7b4;
  border-radius: 999px;
  padding: .25rem .55rem;
}

/* Plugins / docs / team */
.plugin-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .85rem;
}
.plugin {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.15rem 1.2rem;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line);
}
.plugin .tag {
  display: inline-block;
  margin-bottom: .35rem;
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--mint);
}
.plugin h3 {
  margin: 0 0 .35rem;
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
}
.plugin h3 a { color: var(--ink); text-decoration: none; }
.plugin h3 a:hover { color: var(--mint); }
.plugin p { margin: 0; color: var(--muted); font-size: .88rem; }

.doc-card .btn { margin-top: auto; }
.docs-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.doc-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  gap: .7rem;
  padding: 1.35rem;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line);
}
.doc-card h3 {
  margin: 0;
  font-family: "Manrope", sans-serif;
}
.doc-card p {
  margin: 0;
  flex: 1;
  color: var(--muted);
  font-size: .93rem;
}

.coop {
  display: grid;
  gap: 1.15rem;
}
.coop-banner {
  padding: 1.4rem 1.45rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(14, 127, 108, 0.1), rgba(184, 137, 26, 0.08));
  border: 1px solid rgba(14, 127, 108, 0.22);
}
.coop-banner h3 {
  margin: 0 0 .55rem;
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  letter-spacing: -0.025em;
  color: var(--ink);
}
.coop-banner p:not(.kicker) {
  margin: 0 0 1rem;
  max-width: 48rem;
  color: var(--muted);
}
.coop-banner .btn { margin-top: .15rem; }
.team .pill-row { margin: .85rem 0 1rem; }
.team .btn { margin-top: auto; }

.team {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.team article {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: .85rem;
  align-content: start;
  height: 100%;
}
.team-logo {
  height: 2.5rem;
  width: auto;
  object-fit: contain;
  object-position: left;
}
.team h3 {
  margin: 0;
  font-family: "Manrope", sans-serif;
}
.team p { margin: 0; color: var(--muted); }

.cta-final {
  text-align: left;
}
.cta-final h2 { color: #fff; }
.cta-final .lead {
  color: rgba(244,255,251,.72);
  max-width: min(54rem, 100%);
}

.decision-flow {
  list-style: none;
  margin: 1.6rem 0 1.5rem;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  gap: .55rem;
  align-items: stretch;
}
.decision-step {
  min-width: 0;
  display: flex;
  align-items: center;
}
.decision-card {
  width: 100%;
  min-height: 10rem;
  display: flex;
  flex-direction: column;
  gap: .55rem;
  padding: 1.05rem 1.1rem 1.15rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(244, 255, 251, 0.14);
  color: inherit;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease, transform .2s var(--ease);
}
.decision-card:hover {
  background: rgba(23, 165, 139, 0.16);
  border-color: rgba(23, 165, 139, 0.55);
  transform: translateY(-2px);
}
.decision-card.is-cta {
  background: var(--mint-2);
  border-color: transparent;
  color: var(--ink);
}
.decision-card.is-cta:hover {
  background: #45c9a6;
  border-color: transparent;
}
.decision-num {
  font-family: "Manrope", sans-serif;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--mint-2);
}
.decision-card.is-cta .decision-num { color: var(--ink); }
.decision-ico {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(23, 165, 139, 0.22);
  color: var(--mint-2);
}
.decision-card.is-cta .decision-ico {
  background: rgba(3, 22, 27, 0.14);
  color: var(--ink);
}
.decision-ico svg {
  width: 1.15rem;
  height: 1.15rem;
}
.decision-card strong {
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #f4fffb;
}
.decision-card.is-cta strong { color: var(--ink); }
.decision-card em {
  margin-top: auto;
  font-style: normal;
  font-size: .84rem;
  line-height: 1.35;
  color: rgba(244, 255, 251, 0.62);
}
.decision-card.is-cta em { color: rgba(3, 22, 27, 0.72); }
.decision-arrow {
  display: block;
  width: 1.15rem;
  height: 1.15rem;
  border-right: 2px solid var(--mint-2);
  border-top: 2px solid var(--mint-2);
  transform: rotate(45deg);
  opacity: .85;
}
.decision-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
  margin-top: .15rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(244, 255, 251, 0.1);
}
.decision-action {
  display: flex;
  align-items: center;
  gap: .75rem;
  min-width: 0;
  padding: .85rem .95rem;
  border-radius: 14px;
  border: 1px solid rgba(244, 255, 251, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: inherit;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease, transform .2s var(--ease);
}
.decision-action:hover {
  background: rgba(23, 165, 139, 0.14);
  border-color: rgba(23, 165, 139, 0.5);
  transform: translateY(-1px);
}
.decision-action.is-primary {
  background: var(--mint-2);
  border-color: transparent;
  color: var(--ink);
}
.decision-action.is-primary:hover {
  background: #45c9a6;
  border-color: transparent;
}
.decision-action-ico {
  flex: 0 0 auto;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(23, 165, 139, 0.2);
  color: var(--mint-2);
}
.decision-action.is-primary .decision-action-ico {
  background: rgba(3, 22, 27, 0.12);
  color: var(--ink);
}
.decision-action-ico svg {
  width: 1.1rem;
  height: 1.1rem;
}
.decision-action-copy {
  display: grid;
  gap: .1rem;
  min-width: 0;
  line-height: 1.2;
}
.decision-action-copy strong {
  font-family: "Manrope", sans-serif;
  font-size: .92rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #f4fffb;
}
.decision-action.is-primary .decision-action-copy strong { color: var(--ink); }
.decision-action-copy em {
  font-style: normal;
  font-size: .76rem;
  color: rgba(244, 255, 251, 0.58);
}
.decision-action.is-primary .decision-action-copy em { color: rgba(3, 22, 27, 0.7); }

@media (max-width: 1020px) {
  .decision-flow {
    grid-template-columns: 1fr;
    gap: .7rem;
  }
  .decision-step[aria-hidden="true"] {
    justify-content: center;
    min-height: .9rem;
  }
  .decision-arrow {
    transform: rotate(135deg);
  }
  .decision-actions {
    grid-template-columns: 1fr;
  }
}

.site-footer {
  background: #071317;
  color: rgba(244, 255, 251, 0.62);
  font-size: .84rem;
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(12rem, 1fr) minmax(16rem, 1.35fr) minmax(14rem, 1.1fr);
  gap: 1.75rem 2rem;
  padding: 1.75rem 0 1.5rem;
  align-items: start;
}
.footer-col { min-width: 0; }
.footer-name {
  margin: 0 0 .45rem;
  font-family: "Manrope", sans-serif;
  font-size: .98rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #f4fffb;
}
.footer-desc {
  margin: 0 0 .7rem;
  max-width: 26rem;
  line-height: 1.5;
  color: rgba(244, 255, 251, 0.58);
}
.footer-legal {
  margin: 0;
  font-size: .75rem;
  color: rgba(244, 255, 251, 0.42);
}
.footer-heading {
  margin: 0 0 .7rem;
  font-size: .66rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--mint-2);
}
.footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: .55rem;
}
.footer-col a {
  color: rgba(244, 255, 251, 0.78);
  text-decoration: none;
  font-weight: 600;
}
.footer-col a:hover { color: #fff; }
.org-list { gap: .7rem; }
.org {
  display: flex;
  align-items: center;
  gap: .7rem;
  min-width: 0;
}
.org-ico {
  flex: 0 0 auto;
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #f4fffb;
  overflow: hidden;
}
.org-ico img {
  width: 1.7rem;
  height: 1.7rem;
  object-fit: contain;
}
.org-text {
  display: grid;
  gap: .1rem;
  min-width: 0;
  line-height: 1.2;
}
.org-text strong {
  font-family: "Manrope", sans-serif;
  font-size: .88rem;
  font-weight: 700;
  color: #f4fffb;
}
.org-text em {
  font-style: normal;
  font-size: .74rem;
  font-weight: 550;
  color: rgba(244, 255, 251, 0.48);
}
.contact-actions {
  display: grid;
  gap: .75rem;
}
.contact-card {
  display: grid;
  gap: .45rem;
  padding: .55rem .55rem .6rem;
  border-radius: 16px;
  border: 1px solid rgba(244, 255, 251, 0.1);
  background: rgba(255, 255, 255, 0.03);
}
.contact-btn {
  display: flex;
  align-items: center;
  gap: .7rem;
  min-width: 0;
  padding: .45rem .35rem .35rem .4rem;
  border-radius: 12px;
  border: 0;
  background: transparent;
  text-decoration: none;
  transition: background .2s ease;
}
.contact-btn:hover {
  background: rgba(23, 165, 139, 0.12);
}
.contact-btn-ico {
  flex: 0 0 auto;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #f4fffb;
  overflow: hidden;
}
.contact-btn-ico img {
  width: 1.35rem;
  height: 1.35rem;
  object-fit: contain;
}
.contact-btn-copy {
  display: grid;
  gap: .08rem;
  min-width: 0;
  line-height: 1.2;
}
.contact-btn-copy strong {
  font-family: "Manrope", sans-serif;
  font-size: .84rem;
  font-weight: 700;
  color: #f4fffb;
}
.contact-btn-copy em {
  font-style: normal;
  font-size: .72rem;
  color: rgba(244, 255, 251, 0.48);
}
.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  padding: 0 .35rem .15rem .4rem;
}
.social-btn {
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: rgba(244, 255, 251, 0.62);
  background: rgba(244, 255, 251, 0.05);
  border: 1px solid rgba(244, 255, 251, 0.1);
  text-decoration: none;
  transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s var(--ease);
}
.social-btn:hover {
  color: #f4fffb;
  background: rgba(23, 165, 139, 0.22);
  border-color: rgba(23, 165, 139, 0.45);
  transform: translateY(-1px);
}
.social-btn svg {
  width: .95rem;
  height: .95rem;
  display: block;
}
.footer-bar {
  border-top: 1px solid rgba(255,255,255,.06);
  background: #041014;
}
.footer-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: .35rem .75rem;
  padding: .9rem 0;
  font-size: .76rem;
  color: rgba(244, 255, 251, 0.45);
}
.footer-bar-inner p { margin: 0; }

@media (max-width: 1020px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-about { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
    padding-top: 1.4rem;
  }
  .footer-contacts { grid-column: 1 / -1; }
}


.footer-linkish {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--mint-2);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-linkish:hover { color: #fff; }
.footer-bar a { color: var(--mint-2); text-decoration: none; }
.footer-bar a:hover { color: #fff; }

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  padding: 1rem var(--gutter) 1.15rem;
  background: rgba(7, 19, 23, 0.96);
  border-top: 1px solid rgba(255,255,255,.1);
  color: rgba(244,255,251,.78);
  box-shadow: 0 -18px 40px rgba(3, 22, 27, 0.35);
}
.cookie-banner[hidden] { display: none !important; }
.cookie-banner-inner {
  width: min(var(--max), calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.25rem;
}
.cookie-copy {
  flex: 1 1 18rem;
  min-width: 0;
}
.cookie-copy p {
  margin: 0;
  font-size: .9rem;
  line-height: 1.45;
}
.cookie-copy p + p { margin-top: .35rem; }
.cookie-copy strong { color: #fff; }
.cookie-copy a { color: var(--mint-2); }
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
}
.cookie-banner .btn-outline {
  color: #f4fffb;
  border-color: rgba(244,255,251,.28);
}
.cookie-banner .btn-outline:hover {
  border-color: #fff;
  color: #fff;
}
.cookie-banner .btn-dark {
  background: var(--mint-2);
  color: var(--ink);
}
.cookie-banner .btn-dark:hover {
  background: #45c9a6;
  color: var(--ink);
}

.legal-page {
  background: var(--paper);
  min-height: calc(100svh - var(--header-h) - 4rem);
}
.legal-page h1 {
  margin: 0 0 1rem;
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  letter-spacing: -0.035em;
  color: var(--ink);
  max-width: 18ch;
}
.legal-block {
  margin: 0 0 1.6rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--line);
}
.legal-block h2 {
  margin: 0 0 .55rem;
  font-family: "Manrope", sans-serif;
  font-size: 1.15rem;
  color: var(--ink);
}
.legal-block p,
.legal-block li {
  color: var(--muted);
  max-width: 48rem;
}
.legal-block ul {
  margin: .4rem 0 0;
  padding-left: 1.15rem;
}
.legal-block li + li { margin-top: .35rem; }
.legal-block code {
  font-size: .85em;
  padding: .1rem .35rem;
  border-radius: 6px;
  background: var(--foam);
}
.legal-back {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin: 1.5rem 0 0;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1100px) {
  .flow-steps { grid-template-columns: 1fr; }
}
@media (max-width: 1020px) {
  .nav-flow { display: none; }
  .facts,
  .grid-3,
  .grid-2,
  .feature-row,
  .feature-row.reverse,
  .album-grid,
  .test-grid,
  .plugin-grid,
  .docs-row,
  .team,
  .lightbox-dialog {
    grid-template-columns: 1fr;
  }
  .feature-row.reverse .feature-copy,
  .feature-row.reverse .device { order: initial; }
  .fact {
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
    min-height: 0;
  }
  .album-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lightbox-media { padding: 1rem; }
}
@media (max-width: 640px) {
  .album-grid,
  .facts { grid-template-columns: 1fr; }
}


@media (min-width: 1400px) {
  .flow-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-3,
  .album-grid,
  .plugin-grid,
  .docs-row,
  .test-grid { gap: 1.25rem; }
}


/* —— Tema Buriti + toggle —— */
.tema-toggle {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--card-bg);
  color: var(--mint);
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform .15s var(--ease), border-color .15s var(--ease), color .15s var(--ease);
}
.tema-toggle:hover { transform: translateY(-1px); border-color: var(--mint); color: var(--ink); }
.tema-toggle svg { width: 18px; height: 18px; display: block; }
html[data-tema="escuro"] .tema-toggle .ico-lua { display: none; }
html[data-tema="claro"] .tema-toggle .ico-sol,
html:not([data-tema]) .tema-toggle .ico-sol { display: none; }
html[data-tema="escuro"] .tema-toggle .ico-sol { display: block; }

html[data-tema="escuro"] .site-header {
  border-bottom-color: var(--line);
  background: var(--header-bg);
}
html[data-tema="escuro"] .card,
html[data-tema="escuro"] .plugin,
html[data-tema="escuro"] .fact {
  background: var(--card-bg);
  border-color: var(--line);
}
html[data-tema="escuro"] .band-paper { background: var(--foam); }
html[data-tema="escuro"] .pill {
  background: var(--mint-soft);
  color: var(--mint-2);
  border-color: var(--line);
}
html[data-tema="escuro"] .hero {
  background: radial-gradient(900px 420px at 12% -10%, rgba(47, 126, 196, 0.22), transparent 58%), var(--foam);
}
html[data-tema="escuro"] a:hover { color: var(--mint-2); }
.plugin .tag-laguna {
  background: color-mix(in srgb, var(--mint) 16%, transparent);
  color: var(--mint);
  border: 1px solid color-mix(in srgb, var(--mint) 28%, transparent);
}
.plugins-legenda {
  display: flex; flex-wrap: wrap; gap: .5rem .75rem;
  margin: 0 0 1rem; color: var(--muted); font-size: .92rem;
}
.plugins-legenda strong { color: var(--text); }
