/*
 * Extra visuals for the pages Novidades, Central de ajuda and Privacidade e LGPD
 * (tools/site/pages/new_content.py). Flat components: 1px lines, no shadows.
 */

.nc-narrow {
  max-width: 920px;
  margin: 0 auto;
}

.nc-narrow .mk-h2 {
  margin-bottom: 0;
}

.nc-narrow .mk-sub {
  margin-bottom: 0;
}

/* Chips: tabs, regions, integrations, addresses */

.nc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nc-chips li {
  padding: 7px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-size: 0.86rem;
  line-height: 1.2;
}

.nc-chips li.on {
  border-color: #111;
  background: #111;
  color: #fff;
}

.nc-chips.nc-mono li {
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

/* Flat list of rows: address and result, DNS history */

.nc-rows {
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}

.nc-rows li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 16px;
  border-bottom: 1px solid #f1eee6;
  font-size: 0.88rem;
}

.nc-rows li:last-child {
  border-bottom: 0;
}

.nc-rows code {
  min-width: 0;
  overflow-wrap: anywhere;
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 0.78rem;
}

.nc-rows .mk-tag {
  flex: none;
}

/* Volume slider (billing) */

.nc-slider {
  padding: 18px 20px 20px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #fff;
}

.nc-slider-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.nc-slider-head small {
  color: #8a887f;
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nc-slider-head b {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: -0.03em;
}

.nc-track {
  position: relative;
  height: 6px;
  border-radius: 999px;
  background: #ece9e0;
}

.nc-track i {
  position: absolute;
  inset: 0 50% 0 0;
  border-radius: 999px;
  background: #111;
}

.nc-track b {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  border: 5px solid #ffe01b;
  border-radius: 50%;
  background: #111;
  transform: translate(-50%, -50%);
}

.nc-ticks {
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
  color: #6b6a63;
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 0.72rem;
}

/* Who is who (controller and processor) */

.nc-roles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.nc-role {
  padding: 16px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #fff;
  color: #111;
  font-size: 0.9rem;
  line-height: 1.4;
}

.nc-role small {
  display: block;
  margin-bottom: 8px;
  color: #8a887f;
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nc-role b {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.nc-role p {
  margin: 0;
  color: #55534c;
}

/* Consent box (form) */

.nc-consent {
  padding: 16px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #fff;
  color: #111;
  font-size: 0.9rem;
  line-height: 1.4;
}

.nc-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.nc-check i {
  flex: none;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 5px;
  background: #111;
  color: #fff;
}

.nc-check i svg {
  width: 14px;
  height: 14px;
}

.nc-consent-log {
  margin: 12px 0 0;
  padding-top: 12px;
  border-top: 1px solid #ece9e0;
  color: #6b6a63;
  font-family: "DM Mono", ui-monospace, monospace;
  font-size: 0.74rem;
}

/* Actions list (what the customer controls) */

.nc-actions {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nc-actions li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #fff;
  color: #111;
  font-size: 0.88rem;
}

.nc-actions .mk-tag {
  flex: none;
}

/* Help centre: links by subject */

.nc-linkgrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px 32px;
}

.nc-linkgroup h3 {
  margin: 0 0 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #111;
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.nc-linkgroup ul {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nc-linkgroup li {
  border-bottom: 1px solid var(--line);
}

.nc-linkgroup a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  color: var(--ink);
  font-size: 0.95rem;
  text-decoration: none;
}

.nc-linkgroup a svg {
  flex: none;
  width: 16px;
  height: 16px;
  color: var(--muted);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.nc-linkgroup a:hover svg {
  transform: translateX(4px);
  color: var(--ink);
}

.nc-callout {
  max-width: 920px;
  margin: 0 auto;
  padding: 20px 24px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--soft);
  color: #3d3d3a;
  font-size: 0.95rem;
}

.nc-callout p {
  margin: 0;
}

.nc-callout a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

#problemas {
  scroll-margin-top: 90px;
}

@media (max-width: 1000px) {
  .nc-linkgrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .nc-slider-head b {
    font-size: 1.2rem;
    white-space: nowrap;
  }

  .nc-linkgrid,
  .nc-roles {
    grid-template-columns: minmax(0, 1fr);
  }

  .nc-rows li {
    flex-wrap: wrap;
    gap: 6px 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nc-linkgroup a svg {
    transition: none;
  }
}

.ly-entry-body p .mk-more {
  display: flex;
  width: fit-content;
  margin-top: 10px;
}

.ly-step-body p .mk-more {
  display: inline-flex;
  margin: 4px 18px 0 0;
}
