@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/site/fonts/inter-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/site/fonts/inter-latin-500-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/site/fonts/inter-latin-600-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/site/fonts/inter-latin-700-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 100;
  font-display: swap;
  src: url("/site/fonts/roboto-latin-100-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 200;
  font-display: swap;
  src: url("/site/fonts/roboto-latin-200-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("/site/fonts/roboto-latin-300-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/site/fonts/roboto-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/site/fonts/roboto-latin-700-normal.woff2") format("woff2");
}

/* MAAIA — tokens do design system
   Valores extraídos por amostragem de pixels de docs/design/references/whatsapp-web-reference.png
   e ajustados apenas onde o contraste AA exigia. */

:root {
  color-scheme: dark;

  /* superfícies */
  --c-void: #010401;
  --c-bg: #0b1614;
  --c-bg-deep: #0a1514;
  --c-topbar: #0c1e22;
  --c-raise-1: #0f1f1b;
  --c-raise-2: #102e2a;
  --c-raise-3: #133a33;
  --c-hover: #11231f;
  --c-selected: #132a25;
  --c-chip-on: #0c2b22;
  --c-card: #1a4735;
  --c-card-hover: #1f523f;
  --c-bubble-in: #142824;
  --c-bubble-out: #1a4735;
  --c-cta-fill: #15342a;

  /* linhas */
  --c-line: #253331;
  --c-line-soft: #1d2423;
  --c-line-top: #263536;
  --c-line-chip: #2b3a37;
  --c-line-strong: #34504a;

  /* verde */
  --c-brand: #1bc27a;
  --c-brand-hi: #2fdc8c;
  --c-brand-lo: #11a566;
  --c-brand-ink: #03251a;
  --c-teal: #3fb68f;
  --c-teal-2: #32b387;
  --c-mint: #a6f3a0;
  --c-sage: #8fc48f;
  --c-chip-ring: #2e9e72;

  /* texto */
  --c-text: #f3fbfa;
  --c-text-icon: #e6f2f4;
  --c-text-soft: #c9d6d3;
  --c-text-meta: #a9b6b4;
  --c-text-muted: #a4bfb4;
  --c-text-faint: #7f8d8a;
  --c-text-ghost: #788683;
  --c-display: #ede9e9;

  /* quarteto dos cartões (fundo do círculo / ícone) */
  --q-olive-bg: #386235;
  --q-olive-fg: #e5d96a;
  --q-stone-bg: #5f625b;
  --q-stone-fg: #e0242e;
  --q-leaf-bg: #236334;
  --q-leaf-fg: #7cf064;
  --q-sea-bg: #1d5153;
  --q-sea-fg: #52e2fb;

  /* estados */
  --c-danger: #ff6b72;
  --c-danger-bg: #3a1a1d;
  --c-warn: #e5d96a;
  --c-warn-bg: #2f2e17;
  --c-info: #52e2fb;
  --c-read: #53bdeb;

  /* tipografia */
  --f-ui: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-display: "Roboto", "Inter", system-ui, sans-serif;

  --t-11: 0.6875rem;
  --t-12: 0.75rem;
  --t-13: 0.8125rem;
  --t-14: 0.875rem;
  --t-15: 0.9375rem;
  --t-16: 1rem;
  --t-18: 1.125rem;
  --t-21: 1.3125rem;
  --t-26: 1.625rem;
  --t-34: 2.125rem;
  --t-50: 3.125rem;
  --t-display: clamp(2.25rem, 1.2rem + 3.6vw, 4.25rem);

  /* raios */
  --r-pill: 999px;
  --r-panel: 26px;
  --r-card: 16px;
  --r-field: 14px;
  --r-bubble: 14px;
  --r-sm: 8px;

  /* espaço (base 4) */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 20px;
  --s-6: 24px;
  --s-8: 32px;
  --s-10: 40px;
  --s-12: 48px;
  --s-16: 64px;
  --s-24: 96px;

  /* estrutura */
  --topbar-h: 88px;
  --sidebar-w: 388px;
  --context-w: 340px;
  --avatar: 52px;

  /* profundidade */
  --shadow-pop: 0 18px 48px -12px rgba(0, 0, 0, 0.6), 0 0 0 1px var(--c-line);
  --glow-brand: 0 0 0 4px rgba(27, 194, 122, 0.22);

  /* movimento */
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --d-fast: 140ms;
  --d-med: 240ms;
  --d-slow: 520ms;
}

@media (max-width: 1180px) {
  :root {
    --sidebar-w: 340px;
    --context-w: 300px;
  }
}

@media (max-width: 900px) {
  :root {
    --topbar-h: 64px;
    --avatar: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --d-fast: 0ms;
    --d-med: 0ms;
    --d-slow: 0ms;
  }
}


*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100dvh;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--f-ui);
  font-size: var(--t-15);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "cv11", "ss01";
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}

a {
  color: inherit;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--c-brand-hi);
  outline-offset: 2px;
}

::selection {
  background: rgba(27, 194, 122, 0.35);
  color: #fff;
}

.i {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.i-sm {
  width: 16px;
  height: 16px;
}

.i-xs {
  width: 14px;
  height: 14px;
}

.i-lg {
  width: 24px;
  height: 24px;
}

[hidden] {
  display: none !important;
}

.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;
}

.skip-link {
  position: absolute;
  left: var(--s-4);
  top: -60px;
  z-index: 100;
  padding: var(--s-2) var(--s-4);
  border-radius: var(--r-pill);
  background: var(--c-brand);
  color: var(--c-brand-ink);
  font-weight: 600;
  text-decoration: none;
  transition: top var(--d-fast) var(--ease);
}

.skip-link:focus {
  top: var(--s-4);
}

.scroll-y {
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #24332f transparent;
}

.scroll-y::-webkit-scrollbar {
  width: 8px;
}

.scroll-y::-webkit-scrollbar-thumb {
  background: #24332f;
  border-radius: 8px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* MAAIA — componentes do design system */

/* ---------- marca ---------- */
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  min-width: 0;
}

.brand-mark {
  width: 52px;
  height: 52px;
  flex: none;
}

.brand-name {
  display: block;
  font-size: var(--t-21);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: #fff;
}

.brand-sub {
  display: block;
  font-size: var(--t-13);
  color: #e3eef0;
  line-height: 1.35;
  white-space: nowrap;
}

/* ---------- barra superior ---------- */
.topbar {
  position: relative;
  z-index: 20;
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  gap: var(--s-6);
  padding: 0 var(--s-6) 0 var(--s-6);
  background: var(--c-topbar);
  border-bottom: 1px solid var(--c-line-top);
}

.topbar .brand {
  width: calc(var(--sidebar-w) - 88px);
  flex: none;
}

.topbar-tools {
  display: flex;
  align-items: center;
  gap: 0;
  margin-left: auto;
}

.search {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--s-3);
  flex: 0 1 530px;
  min-width: 0;
  height: 52px;
  padding: 0 var(--s-5);
  border: 1px solid var(--c-line-top);
  border-radius: var(--r-pill);
  background: var(--c-topbar);
  transition: border-color var(--d-fast) var(--ease), box-shadow var(--d-fast) var(--ease);
}

.search .i {
  width: 22px;
  height: 22px;
  color: var(--c-text-icon);
}

.search input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: var(--t-15);
  color: var(--c-text);
}

.search input::placeholder {
  color: #dfeaec;
  opacity: 1;
}

.search:focus-within {
  border-color: var(--c-chip-ring);
  box-shadow: var(--glow-brand);
}

.search kbd {
  font-family: var(--f-ui);
  font-size: var(--t-11);
  color: var(--c-text-faint);
  border: 1px solid var(--c-line-chip);
  border-radius: 6px;
  padding: 1px 6px;
}

.icon-btn {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--r-pill);
  color: var(--c-text-icon);
  transition: background var(--d-fast) var(--ease), color var(--d-fast) var(--ease);
}

.icon-btn .i {
  width: 22px;
  height: 22px;
}

.icon-btn:hover,
.icon-btn[aria-expanded="true"] {
  background: rgba(230, 242, 244, 0.07);
}

.icon-btn[aria-current="page"],
.icon-btn.is-on {
  color: var(--c-brand-hi);
  background: rgba(27, 194, 122, 0.1);
}

.icon-btn .dot {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--c-brand);
  box-shadow: 0 0 0 2px var(--c-topbar);
}

.icon-btn .dot.is-off {
  background: var(--c-danger);
}

[data-tip] {
  position: relative;
}

[data-tip]::after {
  content: attr(data-tip);
  position: absolute;
  left: 50%;
  top: calc(100% + 8px);
  z-index: 40;
  translate: -50% -4px;
  padding: 6px 10px;
  border-radius: var(--r-sm);
  background: #e9f3f1;
  color: #0b1614;
  font-size: var(--t-12);
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--d-fast) var(--ease), translate var(--d-fast) var(--ease);
}

[data-tip]:hover::after,
[data-tip]:focus-visible::after {
  opacity: 1;
  translate: -50% 0;
  transition-delay: 280ms;
}

.profile-pill {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  height: 54px;
  padding: 4px var(--s-6) 4px 4px;
  margin-left: var(--s-6);
  border: 1px solid var(--c-line-top);
  border-radius: var(--r-pill);
  background: var(--c-topbar);
  font-size: var(--t-15);
  color: #f4fbfc;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color var(--d-fast) var(--ease);
}

.profile-pill:hover {
  border-color: var(--c-line-strong);
}

.profile-pill img,
.profile-pill .avatar {
  width: 44px;
  height: 44px;
}

/* ---------- seletor segmentado ---------- */
.seg {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  padding: 6px;
  border-radius: var(--r-pill);
  background: var(--c-raise-2);
}

.seg button,
.seg a {
  height: 40px;
  padding: 0 var(--s-4);
  border-radius: var(--r-pill);
  font-size: 0.90625rem;
  font-weight: 500;
  color: #e0eef1;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  transition: background var(--d-med) var(--ease), color var(--d-med) var(--ease);
}

.seg [aria-selected="true"],
.seg [aria-pressed="true"],
.seg .is-on {
  background: var(--c-raise-1);
  color: var(--c-teal);
}

.seg button:not([aria-selected="true"]):not([aria-pressed="true"]):hover {
  color: #fff;
}

/* ---------- chips ---------- */
.chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 14px;
  border: 1px solid var(--c-line-chip);
  border-radius: var(--r-pill);
  background: transparent;
  font-size: 0.84375rem;
  font-weight: 500;
  color: #fff;
  white-space: nowrap;
  transition: background var(--d-fast) var(--ease), border-color var(--d-fast) var(--ease);
}

.chip:hover {
  border-color: var(--c-line-strong);
}

.chip[aria-pressed="true"],
.chip.is-on {
  background: var(--c-chip-on);
  border-color: var(--c-chip-ring);
}

.chip .count {
  font-size: var(--t-12);
  color: var(--c-mint);
  font-variant-numeric: tabular-nums;
}

.chip .i {
  width: 18px;
  height: 18px;
}

/* ---------- avatar e contadores ---------- */
.avatar {
  position: relative;
  width: var(--avatar);
  height: var(--avatar);
  flex: none;
  border-radius: 50%;
  object-fit: cover;
  background: var(--c-raise-2);
}

.avatar-initials {
  display: grid;
  place-items: center;
  font-size: var(--t-16);
  font-weight: 600;
  color: var(--c-mint);
  background: var(--c-raise-3);
}

.avatar-wrap {
  position: relative;
  flex: none;
}

.avatar-tag {
  position: absolute;
  left: 50%;
  bottom: -7px;
  translate: -50% 0;
  padding: 0 7px;
  border: 1px solid var(--c-teal-2);
  border-radius: var(--r-pill);
  background: #0d2620;
  font-size: 9px;
  line-height: 14px;
  color: var(--c-teal);
  white-space: nowrap;
}

.badge {
  display: inline-grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: var(--r-pill);
  background: var(--c-brand);
  color: var(--c-brand-ink);
  font-size: 0.65625rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* ---------- item de conversa ---------- */
.chat-list {
  display: flex;
  flex-direction: column;
}

.chat-item {
  position: relative;
  display: grid;
  grid-template-columns: var(--avatar) 1fr auto;
  column-gap: 18px;
  align-items: center;
  width: 100%;
  padding: 16px 14px;
  border-radius: var(--r-card);
  text-align: left;
  text-decoration: none;
  color: inherit;
  transition: background var(--d-fast) var(--ease);
}

.chat-item:hover {
  background: var(--c-hover);
}

.chat-item[aria-current="true"] {
  background: var(--c-selected);
}

.chat-item .ci-body {
  min-width: 0;
  padding-top: 8px;
}

.chat-item .ci-name {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: var(--t-15);
  font-weight: 600;
  line-height: 1.3;
  color: #fff;
  overflow: hidden;
}

.chat-item .ci-name span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-item .ci-name .i {
  width: 15px;
  height: 15px;
  color: var(--c-teal-2);
}

.chat-item .ci-preview {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  font-size: 0.84375rem;
  line-height: 1.4;
  color: var(--c-text-faint);
  overflow: hidden;
}

.chat-item .ci-preview span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-item .ci-preview .i {
  width: 15px;
  height: 15px;
  color: var(--c-teal-2);
}

.chat-item .ci-side {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--s-2);
  min-width: 56px;
}

.chat-item .ci-time {
  font-size: var(--t-11);
  color: var(--c-text-meta);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.chat-item .ci-side .slot {
  min-height: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ---------- títulos de saudação ---------- */
.greeting {
  font-family: var(--f-display);
  font-weight: 200;
  font-size: 2.875rem;
  line-height: 1.12;
  letter-spacing: -0.005em;
  color: var(--c-display);
}

.greeting b,
.greeting strong {
  font-weight: 700;
  color: #f1eded;
}

.greeting-xl {
  font-size: var(--t-display);
}

.lede {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.5;
  color: var(--c-text-ghost);
}

.lede-bright {
  color: var(--c-text-soft);
}

.h-section {
  font-family: var(--f-display);
  font-weight: 200;
  font-size: var(--t-34);
  line-height: 1.15;
  color: var(--c-display);
}

.h-section b {
  font-weight: 700;
}

.h-card {
  font-size: var(--t-18);
  font-weight: 600;
  line-height: 1.3;
}

/* ---------- botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 44px;
  padding: 0 var(--s-6);
  border-radius: var(--r-pill);
  font-size: var(--t-15);
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--d-fast) var(--ease), border-color var(--d-fast) var(--ease), color var(--d-fast) var(--ease), transform var(--d-fast) var(--ease);
}

.btn:active {
  transform: scale(0.98);
}

.btn .i {
  width: 20px;
  height: 20px;
}

.btn-cta {
  border: 1.5px solid var(--c-sage);
  background: var(--c-cta-fill);
  color: #f4fffb;
  padding: 0 var(--s-6) 0 var(--s-5);
}

.btn-cta:hover {
  background: #1a3f32;
  border-color: #a8dca8;
}

.btn-primary {
  background: var(--c-brand);
  color: var(--c-brand-ink);
  font-weight: 600;
}

.btn-primary:hover {
  background: var(--c-brand-hi);
}

.btn-ghost {
  border: 1px solid var(--c-line-chip);
  color: #fff;
}

.btn-ghost:hover {
  border-color: var(--c-line-strong);
  background: rgba(255, 255, 255, 0.03);
}

.btn-quiet {
  color: var(--c-text-soft);
  padding: 0 var(--s-3);
}

.btn-quiet:hover {
  color: #fff;
}

.btn-danger {
  border: 1px solid #6b2a2f;
  color: var(--c-danger);
}

.btn-sm {
  height: 36px;
  padding: 0 var(--s-4);
  font-size: var(--t-14);
}

.btn-lg {
  height: 52px;
  padding: 0 var(--s-8);
  font-size: var(--t-16);
}

.btn-block {
  width: 100%;
}

.btn[disabled],
.btn[aria-disabled="true"] {
  opacity: 0.45;
  pointer-events: none;
}

.btn .spinner {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid currentColor;
  border-right-color: transparent;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    rotate: 360deg;
  }
}

.link {
  color: var(--c-teal);
  text-decoration: underline;
  text-decoration-color: rgba(63, 182, 143, 0.4);
  text-underline-offset: 3px;
}

.link:hover {
  color: var(--c-brand-hi);
  text-decoration-color: currentColor;
}

/* ---------- painel e cartões ---------- */
.panel {
  border: 1.5px solid var(--c-line);
  border-radius: var(--r-panel);
  padding: var(--s-8) var(--s-8);
  background: rgba(10, 21, 20, 0.55);
  backdrop-filter: blur(2px);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 30px;
}

.action-card {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 94px;
  padding: var(--s-4) var(--s-5);
  border-radius: var(--r-card);
  background: var(--c-card);
  text-align: left;
  text-decoration: none;
  color: inherit;
  transition: background var(--d-fast) var(--ease), transform var(--d-med) var(--ease);
}

a.action-card:hover,
button.action-card:hover {
  background: var(--c-card-hover);
}

.action-card .ac-title {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: var(--t-15);
  font-weight: 500;
  line-height: 1.3;
  color: #fff;
}

.action-card .ac-count {
  color: var(--c-mint);
  font-variant-numeric: tabular-nums;
}

.action-card .ac-sub {
  margin-top: 3px;
  font-size: 0.84375rem;
  line-height: 1.35;
  color: var(--c-text-muted);
}

.qicon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  flex: none;
  border-radius: 50%;
}

.qicon .i {
  width: 22px;
  height: 22px;
}

.q-stone .i {
  stroke-width: 2.1;
}

.qicon-sm {
  width: 40px;
  height: 40px;
}

.qicon-sm .i {
  width: 18px;
  height: 18px;
}

.q-olive {
  background: var(--q-olive-bg);
  color: var(--q-olive-fg);
}

.q-stone {
  background: var(--q-stone-bg);
  color: var(--q-stone-fg);
}

.q-leaf {
  background: var(--q-leaf-bg);
  color: var(--q-leaf-fg);
}

.q-sea {
  background: var(--q-sea-bg);
  color: var(--q-sea-fg);
}

.q-mist {
  background: var(--c-raise-3);
  color: var(--c-mint);
}

.q-brand {
  background: var(--c-brand);
  color: var(--c-brand-ink);
}

/* cartão de escolha (onboarding, preferências) */
.choice {
  position: relative;
  cursor: pointer;
}

.choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice .action-card {
  border: 1.5px solid transparent;
  height: 100%;
}

.choice:hover .action-card {
  background: var(--c-card-hover);
}

.choice input:checked + .action-card {
  border-color: var(--c-mint);
  background: #1d523d;
}

.choice input:focus-visible + .action-card {
  outline: 2px solid var(--c-brand-hi);
  outline-offset: 3px;
}

.choice.is-soon {
  cursor: not-allowed;
  opacity: 0.55;
}

.choice.is-soon:hover .action-card {
  background: var(--c-card);
}

.choice .check {
  margin-left: auto;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  flex: none;
  border: 1.5px solid #5f8a78;
  border-radius: 50%;
  color: transparent;
  transition: background var(--d-fast) var(--ease), border-color var(--d-fast) var(--ease);
}

.choice .check .i {
  width: 16px;
  height: 16px;
  stroke-width: 2.5;
}

.choice input:checked + .action-card .check {
  background: var(--c-mint);
  border-color: var(--c-mint);
  color: var(--c-brand-ink);
}

.choice input[type="checkbox"] + .action-card .check {
  border-radius: 8px;
}

/* ---------- formulários ---------- */
.field {
  display: grid;
  gap: var(--s-2);
  min-width: 0;
}

.field-label {
  font-size: var(--t-14);
  font-weight: 500;
  color: var(--c-text-soft);
}

.field-hint {
  font-size: var(--t-13);
  color: var(--c-text-faint);
}

.field-error {
  display: none;
  align-items: center;
  gap: 6px;
  font-size: var(--t-13);
  color: var(--c-danger);
}

.field.is-invalid .field-error {
  display: flex;
}

.input {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  height: 52px;
  padding: 0 var(--s-4);
  border: 1px solid var(--c-line-top);
  border-radius: var(--r-field);
  background: var(--c-topbar);
  transition: border-color var(--d-fast) var(--ease), box-shadow var(--d-fast) var(--ease);
}

.input > .i {
  color: var(--c-text-faint);
}

.input input,
.input select {
  flex: 1;
  width: 100%;
  min-width: 0;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: var(--t-16);
  color: var(--c-text);
}

.input select {
  appearance: none;
  cursor: pointer;
}

.input select option {
  background: var(--c-topbar);
}

.input input::placeholder {
  color: #5f6f6b;
}

.input:focus-within {
  border-color: var(--c-chip-ring);
  box-shadow: var(--glow-brand);
}

.field.is-invalid .input {
  border-color: #9b3a41;
  box-shadow: 0 0 0 4px rgba(255, 107, 114, 0.14);
}

.input .reveal {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-right: -8px;
  border-radius: 50%;
  color: var(--c-text-faint);
}

.input .reveal:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.check-row {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  font-size: var(--t-14);
  color: var(--c-text-soft);
  cursor: pointer;
}

.check-row input {
  appearance: none;
  width: 22px;
  height: 22px;
  flex: none;
  margin: 0;
  border: 1.5px solid #4c6a60;
  border-radius: 7px;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.check-row input:checked {
  background: var(--c-brand);
  border-color: var(--c-brand);
}

.check-row input:checked::after {
  content: "";
  width: 10px;
  height: 6px;
  border-left: 2.5px solid var(--c-brand-ink);
  border-bottom: 2.5px solid var(--c-brand-ink);
  rotate: -45deg;
  translate: 0 -1px;
}

.switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 26px;
  flex: none;
}

.switch input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: pointer;
  z-index: 1;
}

.switch span {
  position: absolute;
  inset: 0;
  border-radius: var(--r-pill);
  background: #2a3a37;
  transition: background var(--d-med) var(--ease);
}

.switch span::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #d9e4e1;
  transition: translate var(--d-med) var(--ease), background var(--d-med) var(--ease);
}

.switch input:checked + span {
  background: var(--c-brand);
}

.switch input:checked + span::after {
  translate: 20px 0;
  background: #fff;
}

.switch input:focus-visible + span {
  outline: 2px solid var(--c-brand-hi);
  outline-offset: 2px;
}

/* ---------- etiquetas de estado ---------- */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 24px;
  padding: 0 10px;
  border-radius: var(--r-pill);
  font-size: var(--t-12);
  font-weight: 500;
  white-space: nowrap;
  border: 1px solid transparent;
}

.tag .i {
  width: 13px;
  height: 13px;
}

.tag-ai {
  color: var(--q-sea-fg);
  background: rgba(29, 81, 83, 0.55);
}

.tag-human {
  color: var(--c-mint);
  background: rgba(26, 71, 53, 0.9);
}

.tag-paused {
  color: var(--c-text-soft);
  background: #1f2b29;
}

.tag-urgent {
  color: #ffb3b7;
  background: var(--c-danger-bg);
}

.tag-wait {
  color: var(--q-olive-fg);
  background: rgba(56, 98, 53, 0.45);
}

.tag-check {
  color: var(--c-warn);
  background: var(--c-warn-bg);
  border-color: rgba(229, 217, 106, 0.28);
}

.tag-done {
  color: var(--q-sea-fg);
  background: rgba(29, 81, 83, 0.45);
}

.tag-new {
  color: #fff;
  background: #24433a;
}

.tag-line {
  border-color: var(--c-line-chip);
  color: var(--c-text-soft);
}

/* ---------- mensagens ---------- */
.day-sep {
  align-self: center;
  margin: var(--s-4) 0;
  padding: 5px 14px;
  border-radius: var(--r-pill);
  background: #12221f;
  font-size: var(--t-12);
  color: var(--c-text-meta);
}

.bubble {
  position: relative;
  max-width: min(560px, 78%);
  padding: 8px 12px 6px;
  border-radius: var(--r-bubble);
  font-size: var(--t-15);
  line-height: 1.45;
  color: #f1f7f6;
  overflow-wrap: anywhere;
}

.bubble-in {
  align-self: flex-start;
  background: var(--c-bubble-in);
  border-top-left-radius: 4px;
}

.bubble-out {
  align-self: flex-end;
  background: var(--c-bubble-out);
  border-top-right-radius: 4px;
}

.bubble + .bubble-in,
.bubble + .bubble-out {
  margin-top: 2px;
}

.bubble-author {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 2px;
  font-size: var(--t-12);
  font-weight: 600;
  color: var(--q-sea-fg);
}

.bubble-author.is-human {
  color: var(--c-mint);
}

.bubble-author .i {
  width: 13px;
  height: 13px;
}

.msg-meta {
  float: right;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 6px 0 -2px 12px;
  font-size: var(--t-11);
  color: rgba(225, 240, 236, 0.62);
  font-variant-numeric: tabular-nums;
}

.msg-meta .i {
  width: 15px;
  height: 15px;
}

.msg-meta .is-read {
  color: var(--c-read);
}

.msg-meta .is-fail {
  color: var(--c-danger);
}

.msg-fail {
  display: flex;
  align-items: center;
  gap: 8px;
  align-self: flex-end;
  margin-top: 4px;
  font-size: var(--t-13);
  color: var(--c-danger);
}

.msg-fail button {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sys-pill {
  align-self: center;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 90%;
  margin: var(--s-3) 0;
  padding: 8px 14px;
  border: 1px solid var(--c-line);
  border-radius: var(--r-pill);
  background: rgba(12, 30, 34, 0.85);
  font-size: var(--t-13);
  color: var(--c-text-soft);
}

.sys-pill .i {
  width: 16px;
  height: 16px;
  color: var(--c-mint);
}

.sys-pill b {
  color: #fff;
  font-weight: 600;
}

.doc-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 260px;
  padding: 10px 12px;
  margin: 2px 0 4px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.22);
  text-align: left;
  color: inherit;
}

.doc-chip .doc-ico {
  display: grid;
  place-items: center;
  width: 40px;
  height: 46px;
  border-radius: 6px;
  background: #e85a5a;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.doc-chip .doc-ico.xml {
  background: #3b8fd9;
}

.doc-chip .doc-ico.img {
  background: #8a63d2;
}

.doc-chip .doc-name {
  font-size: var(--t-14);
  font-weight: 500;
  color: #fff;
}

.doc-chip .doc-info {
  font-size: var(--t-12);
  color: rgba(225, 240, 236, 0.62);
}

.audio-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 260px;
  padding: 6px 2px;
}

.audio-chip .play {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #fff;
}

.audio-chip .wave {
  flex: 1;
  height: 26px;
  background: repeating-linear-gradient(90deg, rgba(225, 240, 236, 0.55) 0 2px, transparent 2px 5px);
  clip-path: polygon(0 40%, 5% 20%, 10% 55%, 15% 10%, 20% 45%, 25% 25%, 30% 60%, 35% 15%, 40% 35%, 45% 5%, 50% 50%, 55% 20%, 60% 40%, 65% 10%, 70% 55%, 75% 30%, 80% 45%, 85% 20%, 90% 50%, 95% 35%, 100% 45%, 100% 55%, 95% 65%, 90% 50%, 85% 80%, 80% 55%, 75% 70%, 70% 45%, 65% 90%, 60% 60%, 55% 80%, 50% 50%, 45% 95%, 40% 65%, 35% 85%, 30% 40%, 25% 75%, 20% 55%, 15% 90%, 10% 45%, 5% 80%, 0 60%);
}

.transcript {
  margin-top: 6px;
  padding: 8px 10px;
  border-left: 2px solid var(--c-teal-2);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.18);
  font-size: var(--t-13);
  color: var(--c-text-soft);
}

.transcript small {
  display: block;
  margin-bottom: 2px;
  font-size: var(--t-11);
  color: var(--c-text-meta);
}

/* ---------- faixas, avisos e camadas ---------- */
.banner {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: 10px var(--s-5);
  font-size: var(--t-14);
  border-bottom: 1px solid var(--c-line);
}

.banner .i {
  width: 18px;
  height: 18px;
}

.banner .btn {
  margin-left: auto;
}

.banner-danger {
  background: var(--c-danger-bg);
  color: #ffd2d4;
}

.banner-warn {
  background: var(--c-warn-bg);
  color: #f2ecb5;
}

.banner-info {
  background: #0f2a2c;
  color: #c9f3fb;
}

.toast-region {
  position: fixed;
  left: 50%;
  bottom: var(--s-6);
  z-index: 80;
  translate: -50% 0;
  display: grid;
  gap: var(--s-2);
  justify-items: center;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: 12px 18px;
  border-radius: var(--r-pill);
  background: #e9f3f1;
  color: #0b1614;
  font-size: var(--t-14);
  font-weight: 500;
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.55);
  pointer-events: auto;
  animation: toast-in var(--d-med) var(--ease);
}

.toast .i {
  width: 18px;
  height: 18px;
  color: var(--c-brand-lo);
}

.toast button {
  margin-left: var(--s-2);
  font-weight: 600;
  color: var(--c-brand-lo);
}

@keyframes toast-in {
  from {
    opacity: 0;
    translate: 0 10px;
  }
}

.popover {
  position: absolute;
  z-index: 50;
  min-width: 260px;
  padding: var(--s-2);
  border-radius: var(--r-card);
  background: #10211f;
  box-shadow: var(--shadow-pop);
  animation: pop-in var(--d-fast) var(--ease);
}

.popover[hidden] {
  display: none;
}

@keyframes pop-in {
  from {
    opacity: 0;
    translate: 0 -6px;
  }
}

.menu-item {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  width: 100%;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: var(--t-14);
  color: var(--c-text);
  text-align: left;
  text-decoration: none;
}

.menu-item:hover {
  background: var(--c-hover);
}

.menu-item .i {
  color: var(--c-text-meta);
}

.menu-sep {
  height: 1px;
  margin: 6px 4px;
  background: var(--c-line);
}

.pop-title {
  padding: 10px 12px 6px;
  font-size: var(--t-13);
  font-weight: 600;
  color: var(--c-text-meta);
}

.scrim {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(1, 6, 5, 0.66);
  backdrop-filter: blur(3px);
  display: grid;
  place-items: center;
  padding: var(--s-4);
  animation: fade-in var(--d-med) var(--ease);
}

.scrim[hidden] {
  display: none;
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
}

.dialog {
  width: min(520px, 100%);
  max-height: calc(100dvh - 32px);
  overflow: auto;
  padding: var(--s-8);
  border: 1.5px solid var(--c-line);
  border-radius: var(--r-panel);
  background: #0d1b19;
  box-shadow: var(--shadow-pop);
}

/* ---------- carregamento ---------- */
.skeleton {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #13211f;
}

.skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  translate: -100% 0;
  background: linear-gradient(90deg, transparent, rgba(166, 243, 160, 0.05), transparent);
  animation: shimmer 1.4s infinite;
}

@keyframes shimmer {
  to {
    translate: 100% 0;
  }
}

.progress {
  height: 6px;
  border-radius: var(--r-pill);
  background: #1b2f2b;
  overflow: hidden;
}

.progress > span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--c-brand-lo), var(--c-mint));
  transition: width var(--d-slow) var(--ease);
}

/* ---------- fundo com brilho no rodapé ---------- */
.curtain {
  position: relative;
  isolation: isolate;
  background: var(--c-bg);
}

.curtain::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(120% 55% at 50% 115%, rgba(27, 194, 122, 0.07), transparent 70%);
  pointer-events: none;
}

.curtain-vivid::before {
  filter: brightness(1.3) saturate(1.1);
}

.proto-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: var(--s-2);
  padding: 6px 12px;
  border: 1px dashed var(--c-line-strong);
  border-radius: var(--r-pill);
  font-size: var(--t-12);
  color: var(--c-text-meta);
}

.proto-note:hover {
  color: #fff;
  border-color: var(--c-teal-2);
}

/* ---------- QR ---------- */
.qr {
  position: relative;
  width: 232px;
  aspect-ratio: 1;
  padding: 14px;
  border-radius: 18px;
  background: #f4fbf9;
}

.qr svg {
  width: 100%;
  height: 100%;
}

.qr .qr-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 46px;
  height: 46px;
  translate: -50% -50%;
  border-radius: 50%;
  box-shadow: 0 0 0 5px #f4fbf9;
}

.qr.is-expired svg {
  opacity: 0.12;
}

/* ---------- utilitários de layout ---------- */
.stack {
  display: flex;
  flex-direction: column;
}

.row {
  display: flex;
  align-items: center;
}

.gap-2 {
  gap: var(--s-2);
}

.gap-3 {
  gap: var(--s-3);
}

.gap-4 {
  gap: var(--s-4);
}

.gap-6 {
  gap: var(--s-6);
}

.muted {
  color: var(--c-text-faint);
}

.meta {
  font-size: var(--t-13);
  color: var(--c-text-meta);
}

.num {
  font-variant-numeric: tabular-nums;
}

/* MAAIA — estrutura compartilhada por acesso e configuração
   (mesma barra, lista lateral e palco do ambiente de atendimento) */

.shell {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.shell .topbar {
  position: sticky;
  top: 0;
}

.topbar-end {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  margin-left: auto;
  font-size: var(--t-14);
  color: var(--c-text-soft);
}

.shell-body {
  flex: 1;
  display: grid;
  grid-template-columns: var(--sidebar-w) minmax(0, 1fr);
  min-height: 0;
}

.shell-side {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: var(--s-6) 10px var(--s-6) var(--s-6);
  border-right: 1px solid var(--c-line-soft);
  background: var(--c-bg);
}

.side-title {
  margin: 0 14px var(--s-3) 0;
  font-size: var(--t-14);
  font-weight: 600;
  color: var(--c-text-soft);
}

.side-title + .side-sub {
  margin: -6px 14px var(--s-4) 0;
  font-size: var(--t-13);
  color: var(--c-text-faint);
}

.shell-side .chat-list {
  margin-left: -14px;
}

.chat-item .qicon {
  width: var(--avatar);
  height: var(--avatar);
}

.chat-item.is-done .ci-preview {
  color: var(--c-text-faint);
}

.chat-item .ci-check {
  color: var(--c-teal-2);
}

.chat-item .ci-step {
  font-size: var(--t-11);
  color: var(--c-text-meta);
}

.side-foot {
  margin: auto 14px 0 0;
  padding-top: var(--s-6);
  font-size: var(--t-13);
  color: var(--c-text-faint);
}

.shell-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  padding: clamp(40px, 9vh, 104px) var(--s-6) var(--s-16);
}

.stage-head {
  max-width: 720px;
  text-align: center;
}

.stage-head .lede {
  margin-top: var(--s-5);
}

.stage-panel {
  width: min(480px, 100%);
  margin-top: clamp(32px, 6vh, 56px);
}

.stage-panel.panel {
  padding: var(--s-8);
}

.stage-after {
  margin-top: var(--s-6);
  font-size: var(--t-15);
  color: var(--c-text-soft);
  text-align: center;
}

@media (max-width: 1180px) {
  .shell .topbar .brand-sub {
    display: none;
  }

  .shell .topbar .brand {
    width: auto;
  }
}

@media (max-width: 900px) {
  .shell-body {
    grid-template-columns: minmax(0, 1fr);
  }

  .shell-side {
    display: none;
  }

  .shell .topbar {
    padding: 0 var(--s-4);
  }

  .shell .topbar .brand-mark {
    width: 40px;
    height: 40px;
  }

  .topbar-end .hint {
    display: none;
  }

  .shell-stage {
    padding: var(--s-8) var(--s-4) var(--s-12);
  }

  .shell-stage .greeting {
    font-size: var(--t-34);
  }

  .stage-panel.panel {
    padding: var(--s-6) var(--s-5);
  }
}

/* MAAIA — entrar, criar conta e recuperar senha */

.auth-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--s-5);
}

.auth-form .row-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  flex-wrap: wrap;
}

.auth-form .btn-block {
  margin-top: var(--s-2);
}

.form-alert {
  display: flex;
  gap: var(--s-3);
  padding: var(--s-3) var(--s-4);
  border-radius: 12px;
  background: var(--c-danger-bg);
  font-size: var(--t-14);
  color: #ffd2d4;
}

.form-alert .i {
  color: var(--c-danger);
  margin-top: 2px;
}

.form-alert a {
  color: #fff;
}

.pw-rules {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: 2px;
  font-size: var(--t-13);
  color: var(--c-text-faint);
}

.pw-rules li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.pw-rules li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
}

.pw-rules li.is-ok {
  color: var(--c-mint);
}

.pw-rules li.is-ok::before {
  background: currentColor;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--s-5) var(--s-4);
}

.state {
  display: grid;
  justify-items: center;
  gap: var(--s-4);
  text-align: center;
}

.state .qicon {
  width: 64px;
  height: 64px;
}

.state .qicon .i {
  width: 28px;
  height: 28px;
}

.state h2 {
  font-size: var(--t-21);
  font-weight: 600;
}

.state p {
  font-size: var(--t-15);
  color: var(--c-text-soft);
  max-width: 36ch;
}

.state .btn {
  margin-top: var(--s-2);
}

.state .stack {
  width: 100%;
  gap: var(--s-2);
}

.next-list {
  width: 100%;
  margin-top: var(--s-2);
  text-align: left;
}

.next-list li {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: 10px 0;
  border-top: 1px solid var(--c-line-soft);
  font-size: var(--t-14);
  color: var(--c-text-soft);
}

.next-list li:first-child {
  border-top: 0;
}

.next-list .qicon {
  width: 34px;
  height: 34px;
}

.next-list .qicon .i {
  width: 16px;
  height: 16px;
}

@media (max-width: 560px) {
  .form-grid-2 {
    grid-template-columns: minmax(0, 1fr);
  }
}

.login-ways {
  margin-bottom: var(--s-6);
  padding: 5px;
}

.login-ways button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 10px;
  font-size: var(--t-14);
}

.ddi-fixed {
  flex: none;
  font-size: var(--t-15);
  color: var(--c-text-soft);
}

.otp-lead {
  margin-bottom: var(--s-4);
  font-size: var(--t-15);
  color: var(--c-text-soft);
}

.otp {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--s-2);
}

.otp input {
  width: 100%;
  height: 58px;
  border: 1px solid var(--c-line-top);
  border-radius: var(--r-field);
  background: var(--c-topbar);
  font-size: var(--t-26);
  font-weight: 600;
  text-align: center;
  font-variant-numeric: tabular-nums;
  color: #fff;
  outline: 0;
}

.otp input:focus {
  border-color: var(--c-chip-ring);
  box-shadow: var(--glow-brand);
}

.field.is-invalid .otp input {
  border-color: #9b3a41;
}

.otp-more {
  margin-top: var(--s-2);
}

.wa-step,
.link-step {
  display: grid;
  gap: var(--s-5);
}

.wa-step[hidden],
.link-step[hidden] {
  display: none;
}

@media (max-width: 420px) {
  .login-ways button .i {
    display: none;
  }
}

.invite-panel {
  width: min(600px, 100%);
}

.invite-card {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  padding-bottom: var(--s-4);
  border-bottom: 1px solid var(--c-line-soft);
}

.invite-who {
  font-weight: 600;
}

.invite-can {
  display: grid;
  gap: 6px;
  margin: var(--s-4) 0 var(--s-6);
  font-size: var(--t-14);
  color: var(--c-text-soft);
}

.invite-can li {
  display: flex;
  align-items: center;
  gap: var(--s-2);
}

.invite-can .i {
  color: var(--c-mint);
}

.invite-can .is-no {
  color: var(--c-text-faint);
}

.invite-can .is-no .i {
  color: var(--c-text-faint);
}

.invite-ways {
  display: grid;
  gap: var(--s-2);
  margin: 0;
  padding: 0;
  border: 0;
}

.invite-ways legend {
  margin-bottom: var(--s-2);
}

.invite-ways .action-card {
  min-height: 68px;
  padding: var(--s-3) var(--s-4);
  gap: var(--s-3);
}

.proto-links {
  font-size: var(--t-13);
  color: var(--c-text-faint);
}

/* termos e privacidade */
.legal {
  align-items: stretch;
}

.legal .stage-head {
  align-self: center;
}

.legal-draft {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  align-self: center;
  margin-top: var(--s-6);
  padding: 8px 14px;
  border-radius: var(--r-pill);
  background: var(--c-warn-bg);
  font-size: var(--t-13);
  color: #f2ecb5;
}

.legal-doc {
  width: min(760px, 100%);
  align-self: center;
  margin-top: var(--s-6);
  padding: var(--s-8);
  scroll-margin-top: 110px;
}

.legal-doc h2 {
  margin-bottom: var(--s-4);
  font-size: var(--t-21);
  font-weight: 600;
}

.legal-short {
  display: grid;
  gap: var(--s-3);
}

.legal-short li {
  position: relative;
  padding-left: var(--s-6);
  font-size: var(--t-16);
  line-height: 1.55;
  color: var(--c-text-soft);
}

.legal-short li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.6em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-mint);
}

.legal-full {
  margin-top: var(--s-6);
  border-top: 1px solid var(--c-line-soft);
}

.legal-full summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--s-4) 0;
  font-weight: 500;
  color: var(--c-teal);
  cursor: pointer;
  list-style: none;
}

.legal-full summary::-webkit-details-marker {
  display: none;
}

.legal-full[open] summary .i {
  rotate: 180deg;
}

.legal-full ol {
  display: grid;
  gap: var(--s-3);
  padding-left: var(--s-6);
  list-style: decimal;
  font-size: var(--t-14);
  line-height: 1.6;
  color: var(--c-text-soft);
}

.legal-full b {
  color: #fff;
}

.legal-nav a {
  text-decoration: none;
}

@media (max-width: 900px) {
  .legal-doc {
    padding: var(--s-5);
  }
}

.plan-line {
  display: flex;
  gap: var(--s-3);
  align-items: flex-start;
  padding: var(--s-3) var(--s-4);
  border-radius: var(--r-field);
  background: rgba(255, 255, 255, 0.04);
  font-size: var(--t-13);
  line-height: 1.5;
  color: var(--c-text-soft);
}

.plan-line .i {
  flex: none;
  margin-top: 1px;
  color: var(--c-mint);
}

.plan-line b {
  color: #fff;
  font-weight: 600;
}
