/* =====================================================================
 * Khronos — Site (site-revamp)
 * Stylesheet único baseado no Khronos Design System.
 * Sem Bootstrap, sem jQuery. Vanilla CSS + custom properties.
 * ===================================================================== */

/* ---------- Web fonts ---------- */
/* Montserrat (brand) é carregada via <link> no <head> de cada página,
 * precedida de preconnect — evita a cadeia serial do @import (FCP). */
@font-face {
  font-family: "Open Sans";
  src: url("../fonts/OpenSans-Variable.ttf") format("truetype-variations");
  font-weight: 300 800;
  font-stretch: 75% 100%;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Open Sans";
  src: url("../fonts/OpenSans-Italic-Variable.ttf") format("truetype-variations");
  font-weight: 300 800;
  font-stretch: 75% 100%;
  font-style: italic;
  font-display: swap;
}

/* ---------- Tokens (Khronos DS) ---------- */
:root {
  /* Brand */
  --khr-teal: #437078;
  --khr-teal-dark: #244A55;
  --khr-teal-light: #6FA0A8;
  --khr-teal-ink: #1C3440;

  /* Neutrals */
  --khr-paper: #EEF2F4;
  --khr-paper-tint: #E1E8EC;
  --khr-white: #FFFFFF;
  --khr-line: #D6DEE2;
  --khr-line-strong: #A8B6BC;
  --khr-ink: #1C3440;
  --khr-ink-2: #4A6F78;
  --khr-ink-3: #586E76;
  --khr-black: #111111;

  /* Status */
  --khr-success: #4F8A6B;
  --khr-warning: #C98A3A;
  --khr-danger: #B0463A;

  /* Type — Montserrat (brand) + Open Sans (everything else). */
  --khr-font-brand: "Montserrat";
  --khr-font-sans: "Open Sans";

  /* Scale */
  --fs-12: 0.75rem;
  --fs-13: 0.8125rem;
  --fs-14: 0.875rem;
  --fs-16: 1rem;
  --fs-18: 1.125rem;
  --fs-22: 1.375rem;
  --fs-28: 1.75rem;
  --fs-36: 2.25rem;
  --fs-48: 3rem;
  --fs-64: 4rem;

  /* Radii (sharp by default) */
  --r-0: 0;
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 16px;
  --r-pill: 999px;

  /* Spacing */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 20px;
  --sp-6: 24px;
  --sp-8: 32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;
  --sp-20: 80px;
  --sp-24: 96px;

  /* Shadows */
  --sh-card: 0 1px 2px rgba(28, 52, 64, .06), 0 4px 12px rgba(28, 52, 64, .04);
  --sh-card-hover: 0 8px 28px rgba(28, 52, 64, .14), 0 2px 6px rgba(28, 52, 64, .08);
  --sh-elev: 0 18px 48px rgba(28, 52, 64, .22), 0 4px 10px rgba(28, 52, 64, .12);

  /* Motion */
  --ease-std: cubic-bezier(.2, 0, 0, 1);
  --ease-emp: cubic-bezier(.2, 0, .1, 1.2);
  --dur-fast: 120ms;
  --dur-base: 220ms;
  --dur-slow: 480ms;

  /* Layout */
  --container: 1380px;
  --container-md: 1080px;
  --container-sm: 800px;
  --container-nav: 1460px;
  --nav-h: 60px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 28px);
}

body {
  margin: 0;
  font-family: var(--khr-font-sans);
  font-size: var(--fs-16);
  line-height: 1.55;
  color: var(--khr-ink);
  background: var(--khr-paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img,
svg,
video,
iframe {
  display: block;
  max-width: 100%;
}

/* O relógio (clock) é dimensionado por `height` no CSS. Os atributos width/height
 * no HTML servem só para reservar espaço (aspect-ratio, evita CLS); a largura
 * real continua proporcional graças a width:auto. */
img[src$="khronos_clock_white.png"] {
  width: auto;
}

button {
  font: inherit;
  cursor: pointer;
}

a {
  color: var(--khr-teal);
  text-decoration: none;
}

a:hover {
  color: var(--khr-teal-dark);
}

ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-family: var(--khr-font-sans);
  color: var(--khr-teal-ink);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2rem, 4vw + .5rem, var(--fs-48));
  font-weight: 700;
}

h2 {
  font-size: clamp(1.6rem, 3vw + .4rem, var(--fs-36));
}

h3 {
  font-size: clamp(1.3rem, 2vw + .3rem, var(--fs-28));
}

h4 {
  font-size: var(--fs-22);
}

h5 {
  font-size: var(--fs-18);
}

p {
  margin: 0 0 var(--sp-4) 0;
  line-height: 1.65;
  color: var(--khr-ink-2);
  text-wrap: pretty;
}

.lead {
  font-size: var(--fs-18);
  color: var(--khr-ink);
}

.numeral {
  font-family: var(--khr-font-sans);
  font-weight: 300;
  font-stretch: 95%;
  letter-spacing: -.025em;
  font-feature-settings: "lnum" 1, "tnum" 1;
}

.serif {
  font-family: var(--khr-font-sans);
  font-style: italic;
  font-weight: 300;
}

/* ---------- Layout ---------- */
.container {
  width: min(var(--container), calc(100% - 70px));
  margin-inline: auto;
}

.container-md {
  width: min(var(--container-md), calc(100% - 70px));
  margin-inline: auto;
}

.container-sm {
  width: min(var(--container-sm), calc(100% - 70px));
  margin-inline: auto;
}

@media (max-width: 1450px) {

  .container,
  .container-md,
  .container-sm {
    width: calc(100% - 2 * clamp(28px, 5vw, 64px));
  }

  .nav-inner {
    width: calc(100% - 2 * clamp(16px, 3.5vw, 44px));
  }
}

main>section {
  padding: clamp(24px, 3vw, 32px) 0;
}

.section-tight {
  padding: clamp(24px, 4vw, 48px) 0;
}

/* ---------- Skip link ---------- */
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--khr-teal-ink);
  color: #fff;
  padding: 12px 16px;
  z-index: 1000;
}

.skip:focus {
  left: 12px;
  top: 12px;
}

/* A11y — foco visível por teclado (WCAG 2.4.7) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--khr-teal);
  outline-offset: 2px;
  border-radius: 2px;
}

input[type=range]:focus-visible {
  outline: 2px solid var(--khr-teal);
  outline-offset: 4px;
}

/* ===================================================================
 * NAV
 * =================================================================== */
/* Navbar suspenso (overlay fixo, absorve background da seção atrás via vidro) */
.nav {
  position: fixed;
  top: 12px;
  left: 0;
  right: 0;
  z-index: 50;
  width: 100%;
  background: transparent;
  pointer-events: none;
}

.nav-inner {
  pointer-events: auto;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  width: min(var(--container-nav), calc(100% - 40px));
  margin-inline: auto;
  padding: 0 20px;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(24px) saturate(60%) brightness(1.35);
  -webkit-backdrop-filter: blur(24px) saturate(60%) brightness(1.35);
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 12px;
  box-shadow: 0 6px 22px -10px rgba(28, 52, 64, .14), 0 1px 0 rgba(255, 255, 255, .7) inset;
  transition: background var(--dur-base) var(--ease-std), border-color var(--dur-base) var(--ease-std), box-shadow var(--dur-base) var(--ease-std);
}

.nav.is-scrolled .nav-inner {
  background: rgba(255, 255, 255, .96);
  border-color: rgba(214, 222, 226, .7);
  box-shadow: 0 12px 32px -12px rgba(28, 52, 64, .22), 0 1px 0 rgba(255, 255, 255, .7) inset;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  text-decoration: none;
}

.nav-brand img {
  height: 36px;
  width: auto;
  transition: transform var(--dur-base) var(--ease-emp);
}

.nav-brand:hover img {
  transform: scale(1.04);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(4px, 1.4vw, 18px);
  margin-left: var(--sp-6);
  flex: 1;
}

.nav-menu .nav-actions {
  margin-left: auto;
}

.nav-link {
  position: relative;
  padding: 8px 4px;
  color: var(--khr-ink-2);
  font-size: var(--fs-14);
  font-weight: 500;
  letter-spacing: .005em;
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-std);
  white-space: nowrap;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--khr-teal);
  transform: translateX(-50%) scale(0);
  transition: transform var(--dur-base) var(--ease-emp), background var(--dur-base) var(--ease-std);
}

.nav-link:hover {
  color: var(--khr-teal-dark);
}

.nav-link:hover::after {
  transform: translateX(-50%) scale(.6);
  background: rgba(67, 112, 120, .5);
}

.nav-link.is-active {
  color: var(--khr-teal-dark);
  font-weight: 600;
}

.nav-link.is-active::after {
  transform: translateX(-50%) scale(1);
  background: var(--khr-teal);
}

.nav-link .nav-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--khr-font-brand);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
  margin-left: 8px;
  padding: 3px 7px 3px 8px;
  min-height: 18px;
  border-radius: var(--r-pill);
  background: linear-gradient(135deg, var(--khr-teal) 0%, var(--khr-teal-light) 100%);
  color: #fff;
  vertical-align: middle;
  text-transform: uppercase;
  line-height: 1;
  box-shadow: 0 1px 3px rgba(67, 112, 120, .30), 0 0 0 1px rgba(255, 255, 255, .18) inset;
  transform: translateY(-1px);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-contact {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--khr-ink-2);
  font-size: var(--fs-14);
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-std), background var(--dur-fast) var(--ease-std);
}

.nav-contact:hover {
  color: var(--khr-teal-dark);
  background: rgba(67, 112, 120, .08);
}

.nav-contact svg {
  width: 16px;
  height: 16px;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px 9px 18px;
  font-size: var(--fs-14);
  font-weight: 600;
  background: linear-gradient(135deg, var(--khr-teal) 0%, var(--khr-teal-dark) 100%);
  color: #fff;
  border: 0;
  border-radius: var(--r-pill);
  text-decoration: none;
  margin-left: 4px;
  box-shadow: 0 4px 14px -4px rgba(36, 74, 85, .32), inset 0 1px 0 rgba(255, 255, 255, .14);
  transition: transform var(--dur-base) var(--ease-emp), box-shadow var(--dur-base) var(--ease-std);
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px -6px rgba(36, 74, 85, .42), inset 0 1px 0 rgba(255, 255, 255, .18);
  color: #fff;
}

.nav-cta:active {
  transform: translateY(0);
}

.nav-cta svg {
  width: 14px;
  height: 14px;
}

.nav-cta .nav-cta-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6FE3A4;
  box-shadow: 0 0 0 3px rgba(111, 227, 164, .25);
  display: inline-block;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--khr-line);
  border-radius: var(--r-pill);
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  color: var(--khr-ink);
  margin-left: auto;
  cursor: pointer;
  transition: border-color var(--dur-fast) var(--ease-std), color var(--dur-fast) var(--ease-std);
}

.nav-toggle:hover {
  border-color: var(--khr-teal);
  color: var(--khr-teal);
}

.nav-toggle svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 980px) {
  .nav-contact span {
    display: none;
  }

  .nav-contact {
    padding: 8px;
  }

  .nav-cta {
    padding: 9px 14px;
  }
}

@media (max-width: 880px) {
  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .nav-menu {
    position: absolute;
    top: calc(var(--nav-h) + 12px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: #fff;
    border: 1px solid rgba(214, 222, 226, .85);
    border-radius: 12px;
    padding: var(--sp-3);
    margin: 0;
    flex: initial;
    transform: translateY(-12px) scale(.98);
    opacity: 0;
    pointer-events: none;
    transform-origin: top right;
    transition: opacity var(--dur-base) var(--ease-std), transform var(--dur-base) var(--ease-emp);
    box-shadow: 0 16px 40px -12px rgba(28, 52, 64, .22);
  }

  .nav.is-open .nav-menu {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }

  .nav-link {
    padding: 12px 14px;
    font-size: var(--fs-16);
    border-radius: var(--r-sm);
    color: var(--khr-ink);
  }

  .nav-link::after {
    display: none;
  }

  .nav-link:hover {
    background: rgba(67, 112, 120, .06);
  }

  .nav-link.is-active {
    background: rgba(67, 112, 120, .10);
    color: var(--khr-teal-dark);
  }

  .nav-menu .nav-actions {
    margin: 8px 0 0;
    padding-top: 12px;
    border-top: 1px solid var(--khr-line);
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    width: 100%;
  }

  .nav-contact {
    display: inline-flex;
    justify-content: flex-start;
    padding: 12px 14px;
    border-radius: var(--r-sm);
  }

  .nav-contact span {
    display: inline;
  }

  .nav-cta {
    width: 100%;
    justify-content: center;
    padding: 14px 18px;
    margin-left: 0;
  }
}

/* ===================================================================
 * BUTTONS
 * =================================================================== */
.btn {
  --bg: var(--khr-teal);
  --fg: #fff;
  --bd: var(--khr-teal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-weight: 600;
  font-size: var(--fs-14);
  letter-spacing: .01em;
  background: var(--bg);
  color: var(--fg);
  border: 1px solid var(--bd);
  border-radius: var(--r-sm);
  transition: background var(--dur-base) var(--ease-std),
    color var(--dur-base) var(--ease-std),
    border-color var(--dur-base) var(--ease-std),
    transform var(--dur-fast) var(--ease-std),
    box-shadow var(--dur-base) var(--ease-std);
  text-decoration: none;
  cursor: pointer;
}

.btn:hover {
  --bg: var(--khr-teal-dark);
  --bd: var(--khr-teal-dark);
  color: #fff;
  box-shadow: 0 6px 16px rgba(36, 74, 85, .18);
}

.btn:active {
  transform: translateY(1px);
}

.btn-outline {
  --bg: transparent;
  --fg: var(--khr-teal);
  --bd: currentColor;
}

.btn-outline:hover {
  --bg: var(--khr-teal);
  --fg: #fff;
}

.btn-ghost {
  --bg: transparent;
  --fg: var(--khr-teal);
  --bd: transparent;
  padding: 10px 12px;
}

.btn-on-dark {
  --bg: #fff;
  --fg: var(--khr-teal-ink);
  --bd: #fff;
}

.btn-on-dark:hover {
  --bg: var(--khr-paper);
  --fg: var(--khr-teal-dark);
  --bd: var(--khr-paper);
}

.btn-lg {
  padding: 16px 28px;
  font-size: var(--fs-16);
}

.btn .arrow {
  transition: transform var(--dur-base) var(--ease-std);
}

.btn:hover .arrow {
  transform: translateX(3px);
}

/* ===================================================================
 * HERO
 * =================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(1200px 600px at 110% -10%, rgba(111, 160, 168, .35), transparent 60%),
    radial-gradient(900px 600px at -10% 110%, rgba(67, 112, 120, .45), transparent 60%),
    linear-gradient(180deg, #1c3440 0%, #244a55 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  width: 640px;
  height: 640px;
  right: -160px;
  top: -120px;
  background: url("../img/decor/clockface.svg") center/contain no-repeat;
  pointer-events: none;
}

/* Decor único de cada hero por página (identidade visual) */
.hero.hero-funcionalidades::after {
  width: 460px;
  height: 345px;
  right: -60px;
  top: 40px;
  background-image: url("../img/decor/grid-matrix.svg");
  opacity: .38;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding: max(calc(var(--nav-h)), clamp(96px, 9vw, 48px)) 0 clamp(64px, 10vw, 48px);
  position: relative;
  z-index: 1;
}

.hero:has(.ui-fan-wrap) .hero-grid {
  padding-bottom: 0;
}

.hero {
  margin-bottom: 32px;
}

.hero-grid.single {
  grid-template-columns: 1fr;
  text-align: center;
  max-width: 920px;
  margin-inline: auto;
}

.hero h1,
.hero h2 {
  color: #fff;
}

.hero p {
  color: rgba(255, 255, 255, .78);
}

.hero .lead {
  color: rgba(255, 255, 255, .86);
  font-size: clamp(var(--fs-16), 1.5vw, var(--fs-18));
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-top: var(--sp-6);
}

.hero-visual {
  position: relative;
}

@media (max-width: 880px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }
}

/* Promo bar — "Por tempo limitado" */
.promo {
  background: var(--khr-teal-dark);
  color: #fff;
  font-size: var(--fs-14);
  padding: 12px 16px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.promo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .06), transparent);
  transform: translateX(-100%);
  animation: shimmer 4.5s linear infinite;
}

@keyframes shimmer {
  to {
    transform: translateX(100%);
  }
}

.promo strong {
  color: #FFE08A;
  font-weight: 700;
}

.promo .promo-icon {
  display: inline-block;
  margin-right: 6px;
  transform: translateY(2px);
}

/* Chevron section header (signature motif) */
.chevron-header {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 12px 28px 12px 18px;
  background: var(--khr-teal-dark);
  color: #fff;
  font-family: var(--khr-font-brand);
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: var(--fs-12);
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%);
}

.chevron-header::after {
  content: "";
  position: absolute;
  right: -22px;
  top: 0;
  bottom: 0;
  width: 22px;
  background: var(--khr-teal-light);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%);
}

/* ===================================================================
 * CARDS
 * =================================================================== */
.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-8);
}

.section-head p {
  max-width: 60ch;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--sp-6);
}

.feature {
  position: relative;
  background: #fff;
  border: 1px solid var(--khr-line);
  border-radius: var(--r-md);
  padding: var(--sp-8) var(--sp-6);
  transition: transform var(--dur-base) var(--ease-std), box-shadow var(--dur-base) var(--ease-std), border-color var(--dur-base) var(--ease-std);
  overflow: hidden;
}

.feature::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--khr-teal), var(--khr-teal-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-slow) var(--ease-std);
}

.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-card-hover);
  border-color: var(--khr-teal-light);
}

.feature:hover::before {
  transform: scaleX(1);
}

.feature .ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  background: rgba(67, 112, 120, .08);
  color: var(--khr-teal);
  margin-bottom: var(--sp-5);
}

.feature .ico svg {
  width: 24px;
  height: 24px;
}

.feature h5 {
  font-size: var(--fs-18);
  margin-bottom: var(--sp-2);
  color: var(--khr-teal-ink);
}

.feature p {
  margin: 0;
  color: var(--khr-ink-2);
}

/* ===================================================================
 * STATS
 * =================================================================== */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--sp-6);
}

.stat {
  background: #fff;
  border: 1px solid var(--khr-line);
  border-radius: var(--r-md);
  padding: var(--sp-8);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  position: relative;
  overflow: hidden;
  transition: transform var(--dur-base) var(--ease-std), box-shadow var(--dur-base) var(--ease-std);
}

.stat:hover {
  transform: translateY(-2px);
  box-shadow: var(--sh-card-hover);
}

.stat .ico {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-sm);
  background: var(--khr-paper-tint);
  color: var(--khr-teal);
}

.stat .ico svg {
  width: 22px;
  height: 22px;
}

.stat .counter {
  font-family: var(--khr-font-sans);
  font-weight: 300;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--khr-teal-ink);
  letter-spacing: -.03em;
  line-height: 1;
  font-feature-settings: "lnum" 1, "tnum" 1;
}

.stat .counter::after {
  content: "+";
  font-size: .6em;
  color: var(--khr-teal-light);
  margin-left: 2px;
}

.stat .label {
  font-size: var(--fs-14);
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--khr-teal);
  font-weight: 600;
}

.stat p {
  margin: 0;
  font-size: var(--fs-14);
  color: var(--khr-ink-2);
}

/* ===================================================================
 * IRIUS CALLOUT
 * =================================================================== */
.callout {
  background: linear-gradient(135deg, var(--khr-teal-ink) 0%, var(--khr-teal-dark) 60%, var(--khr-teal) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.callout::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.callout::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 320px;
  right: -40px;
  bottom: -40px;
  background: url("../img/decor/tick-arc.svg") center/contain no-repeat;
  pointer-events: none;
}

.callout-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  position: relative;
  z-index: 1;
}

.callout h2,
.callout h3 {
  color: #fff;
}

.callout p {
  color: rgba(255, 255, 255, .8);
}

.callout .lockup {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-5);
}

.callout .lockup img {
  height: 36px;
}

.callout .lockup .plus {
  color: var(--khr-teal-light);
  font-size: var(--fs-28);
  font-family: var(--khr-font-sans);
  font-weight: 300;
}

.callout .lockup .brand-name {
  font-family: var(--khr-font-brand);
  font-size: var(--fs-28);
  letter-spacing: .04em;
  color: #fff;
}

@media (max-width: 880px) {
  .callout-grid {
    grid-template-columns: 1fr;
  }
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--sh-elev);
  border: 1px solid rgba(255, 255, 255, .1);
  background: #000;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ===================================================================
 * FOOTER
 * =================================================================== */
.footer {
  background: var(--khr-teal-ink);
  color: rgba(255, 255, 255, .78);
  padding: clamp(56px, 8vw, 96px) 0 var(--sp-12);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}

.footer::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  left: -20px;
  bottom: -40px;
  background: url("../img/decor/crosshatch.svg") center/contain no-repeat;
  pointer-events: none;
}

.footer h2 {
  color: #fff;
  margin-bottom: var(--sp-6);
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: var(--sp-3);
  margin: var(--sp-6) 0 var(--sp-8);
  position: relative;
  z-index: 1;
}

.footer-social a {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: var(--r-pill);
  color: #fff;
  transition: background var(--dur-base) var(--ease-std), border-color var(--dur-base) var(--ease-std), transform var(--dur-base) var(--ease-std);
}

.footer-social a:hover {
  background: var(--khr-teal);
  border-color: var(--khr-teal);
  transform: translateY(-2px);
}

.footer-social svg {
  width: 22px;
  height: 22px;
}

.footer-sub {
  font-size: var(--fs-12);
  color: rgba(255, 255, 255, .55);
  position: relative;
  z-index: 1;
}

.footer-sub a {
  color: rgba(255, 255, 255, .75);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ===================================================================
 * MD3-INSPIRED WIDGET MOCKUPS (replace screenshots)
 * =================================================================== */
.widget {
  --w-bg: #fff;
  --w-on: var(--khr-ink);
  --w-acc: var(--khr-teal);
  background: var(--w-bg);
  color: var(--w-on);
  border-radius: 20px;
  box-shadow: var(--sh-elev);
  overflow: hidden;
  font-family: var(--khr-font-sans);
  position: relative;
  transform: translateZ(0);
}

.widget.tilt {
  transform: perspective(1400px) rotateY(-6deg) rotateX(3deg);
}

/* App-shell widget (used in hero of index) */
.w-app {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 380px;
  border: 1px solid rgba(255, 255, 255, .12);
}

.w-app .topbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: var(--khr-teal-ink);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.w-app .topbar .dots {
  display: flex;
  gap: 6px;
}

.w-app .topbar .dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .22);
  display: inline-block;
}

.w-app .topbar .dots i:nth-child(1) {
  background: #ff5f56;
}

.w-app .topbar .dots i:nth-child(2) {
  background: #ffbd2e;
}

.w-app .topbar .dots i:nth-child(3) {
  background: #27c93f;
}

.w-app .topbar .url {
  flex: 1;
  background: rgba(255, 255, 255, .06);
  border-radius: var(--r-pill);
  padding: 6px 12px;
  font-size: var(--fs-12);
  font-family: var(--khr-font-brand);
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .65);
}

.w-app .body {
  display: grid;
  grid-template-columns: 220px 1fr;
  background: #fff;
  color: var(--khr-ink);
}

.w-app .side {
  background: var(--khr-paper);
  border-right: 1px solid var(--khr-line);
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.w-app .side .brand {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 4px 14px;
}

.w-app .side .brand .dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--khr-teal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 12px;
}

.w-app .side .brand .name {
  font-family: var(--khr-font-brand);
  font-size: 14px;
  letter-spacing: .12em;
  color: var(--khr-teal-ink);
}

.w-app .side .item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--r-pill);
  font-size: 13px;
  color: var(--khr-ink-2);
  transition: background var(--dur-base) var(--ease-std), color var(--dur-base) var(--ease-std);
}

.w-app .side .item .ic {
  width: 18px;
  height: 18px;
  color: var(--khr-ink-3);
}

.w-app .side .item.active {
  background: rgba(67, 112, 120, .12);
  color: var(--khr-teal-dark);
  font-weight: 600;
}

.w-app .side .item.active .ic {
  color: var(--khr-teal);
}

.w-app .main {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.w-app .main h6 {
  margin: 0;
  font-size: 14px;
  color: var(--khr-ink-3);
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.w-app .main .title {
  font-family: var(--khr-font-sans);
  font-weight: 400;
  font-size: 28px;
  color: var(--khr-teal-ink);
  line-height: 1.2;
}

.w-app .main .kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.w-app .main .kpi {
  background: var(--khr-paper);
  border: 1px solid var(--khr-line);
  border-radius: 14px;
  padding: 12px;
}

.w-app .main .kpi .l {
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--khr-ink-3);
}

.w-app .main .kpi .v {
  font-family: var(--khr-font-sans);
  font-size: 22px;
  color: var(--khr-teal-ink);
  font-weight: 400;
  letter-spacing: -.01em;
}

.w-app .main .row {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  background: var(--khr-paper);
  border: 1px solid var(--khr-line);
  border-radius: 12px;
  font-size: 12px;
}

.w-app .main .row .pill {
  padding: 2px 10px;
  border-radius: var(--r-pill);
  font-size: 11px;
  font-weight: 600;
}

.w-app .main .row .pill.ok {
  background: rgba(79, 138, 107, .14);
  color: var(--khr-success);
}

.w-app .main .row .pill.warn {
  background: rgba(201, 138, 58, .14);
  color: var(--khr-warning);
}

.w-app .fab {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: var(--khr-teal);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(36, 74, 85, .32);
  animation: fab-pulse 2.6s ease-in-out infinite;
}

@keyframes fab-pulse {

  0%,
  100% {
    box-shadow: 0 8px 18px rgba(36, 74, 85, .32), 0 0 0 0 rgba(67, 112, 120, .4);
  }

  50% {
    box-shadow: 0 8px 18px rgba(36, 74, 85, .32), 0 0 0 14px rgba(67, 112, 120, 0);
  }
}

@media (max-width: 720px) {
  .w-app .body {
    grid-template-columns: 1fr;
  }

  .w-app .side {
    display: none;
  }
}

/* Tablet widget (IRIUS assistant) */
.w-tablet {
  border-radius: 28px;
  background: #1c2329;
  padding: 14px;
  box-shadow: var(--sh-elev);
  position: relative;
}

.w-tablet::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 4px;
  width: 4px;
  height: 30px;
  background: #2c343a;
  border-radius: 4px;
  transform: translateY(-50%);
}

.w-tablet .screen {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  display: grid;
  grid-template-rows: auto 1fr;
}

.w-tablet .screen .top {
  background: var(--khr-teal-ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  font-family: var(--khr-font-brand);
  letter-spacing: .12em;
  font-size: 11px;
}

.w-tablet .screen .top .step {
  color: var(--khr-teal-light);
}

.w-tablet .screen .stage {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--khr-paper);
}

/* OCR card */
.w-doc {
  background: #fff;
  border: 1px solid var(--khr-line);
  border-radius: 12px;
  padding: 12px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
  font-size: 12px;
  position: relative;
}

.w-doc .pdf {
  width: 32px;
  height: 40px;
  background: linear-gradient(180deg, #f4f6f8, #e8edf0);
  border: 1px solid var(--khr-line);
  border-radius: 4px;
  position: relative;
}

.w-doc .pdf::before {
  content: "PDF";
  position: absolute;
  bottom: 3px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 8px;
  font-family: var(--khr-font-brand);
  color: var(--khr-danger);
  font-weight: 700;
}

.w-doc .bar {
  height: 6px;
  background: var(--khr-paper-tint);
  border-radius: var(--r-pill);
  position: relative;
  overflow: hidden;
}

.w-doc .bar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--khr-teal), var(--khr-teal-light));
  width: 72%;
  border-radius: inherit;
  animation: bar-shimmer 2.4s ease-in-out infinite;
}

@keyframes bar-shimmer {
  0% {
    width: 20%;
  }

  50% {
    width: 78%;
  }

  100% {
    width: 92%;
  }
}

/* Calendar grid (used inside tablet) */
.w-cal {
  background: #fff;
  border: 1px solid var(--khr-line);
  border-radius: 12px;
  overflow: hidden;
}

.w-cal .h {
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--khr-paper-tint);
  font-size: 11px;
  font-family: var(--khr-font-brand);
  letter-spacing: .12em;
  color: var(--khr-teal-ink);
  text-transform: uppercase;
}

.w-cal .g {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  padding: 10px;
}

.w-cal .g i {
  aspect-ratio: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: var(--khr-ink-2);
  border-radius: 6px;
  background: var(--khr-paper);
  font-style: normal;
}

.w-cal .g i.on {
  background: rgba(67, 112, 120, .18);
  color: var(--khr-teal-dark);
  font-weight: 700;
}

.w-cal .g i.alert {
  background: rgba(176, 70, 58, .14);
  color: var(--khr-danger);
  font-weight: 700;
}

.w-cal .g i.off {
  color: var(--khr-ink-3);
  opacity: .55;
}

/* Clock indicator (used in stats / decorative) */
.w-clock {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid var(--khr-line);
  position: relative;
  background:
    conic-gradient(from -90deg, var(--khr-teal) 0 70%, var(--khr-paper-tint) 70% 100%);
  display: grid;
  place-items: center;
}

.w-clock .inner {
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 1px var(--khr-line);
}

.w-clock .inner span {
  font-family: var(--khr-font-sans);
  font-size: 26px;
  color: var(--khr-teal-ink);
  font-weight: 400;
}

/* OCR snippet table */
.w-table {
  background: #fff;
  border: 1px solid var(--khr-line);
  border-radius: 12px;
  overflow: hidden;
  font-size: 11px;
}

.w-table .row {
  display: grid;
  grid-template-columns: 60px 1fr 1fr 60px;
  gap: 8px;
  padding: 7px 10px;
  border-bottom: 1px solid var(--khr-line);
}

.w-table .row:last-child {
  border-bottom: 0;
}

.w-table .row.h {
  background: var(--khr-paper-tint);
  font-family: var(--khr-font-brand);
  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--khr-teal-ink);
}

.w-table .row .ok {
  color: var(--khr-success);
}

.w-table .row .warn {
  color: var(--khr-warning);
}

.w-table .row .cell {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Plans pricing widget (replaces screenshot of plans table) */
.pricing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--sp-4);
}

.pricing .plan {
  background: #fff;
  border: 1px solid var(--khr-line);
  border-radius: var(--r-md);
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  position: relative;
  transition: transform var(--dur-base) var(--ease-std), box-shadow var(--dur-base) var(--ease-std), border-color var(--dur-base) var(--ease-std);
}

.pricing .plan:hover {
  transform: translateY(-3px);
  border-color: var(--khr-teal-light);
  box-shadow: var(--sh-card-hover);
}

.pricing .plan .tier {
  font-family: var(--khr-font-brand);
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: var(--fs-12);
  color: var(--khr-teal);
}

.pricing .plan .qty {
  font-family: var(--khr-font-sans);
  font-weight: 300;
  font-size: var(--fs-28);
  color: var(--khr-teal-ink);
}

.pricing .plan .price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: var(--khr-teal-ink);
}

.pricing .plan .price .currency {
  font-size: var(--fs-14);
  color: var(--khr-ink-2);
}

.pricing .plan .price .value {
  font-family: var(--khr-font-sans);
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: -.02em;
}

.pricing .plan .price .unit {
  font-size: var(--fs-12);
  color: var(--khr-ink-3);
  text-transform: uppercase;
  letter-spacing: .12em;
}

.pricing .plan .meta {
  font-size: var(--fs-12);
  color: var(--khr-ink-3);
}

.pricing .plan.featured {
  border-color: var(--khr-teal);
  box-shadow: 0 8px 24px rgba(36, 74, 85, .12);
}

.pricing .plan.featured::after {
  content: "POPULAR";
  position: absolute;
  top: -10px;
  right: 18px;
  background: var(--khr-teal);
  color: #fff;
  font-family: var(--khr-font-brand);
  font-size: 10px;
  letter-spacing: .14em;
  padding: 4px 10px;
  border-radius: var(--r-sm);
}

/* Segmented control (Pré-pago / Flex toggle) */
.segmented {
  display: inline-flex;
  background: var(--khr-paper-tint);
  border-radius: var(--r-pill);
  padding: 4px;
  gap: 0;
}

.segmented input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.segmented label {
  padding: 10px 22px;
  border-radius: var(--r-pill);
  font-size: var(--fs-14);
  font-weight: 600;
  color: var(--khr-ink-2);
  cursor: pointer;
  transition: background var(--dur-base) var(--ease-std), color var(--dur-base) var(--ease-std), box-shadow var(--dur-base) var(--ease-std);
}

.segmented input:checked+label {
  background: #fff;
  color: var(--khr-teal-dark);
  box-shadow: var(--sh-card);
}

/* Tabbed plan block */
.plan-block {
  background: var(--khr-paper-tint);
  border-radius: var(--r-lg);
  padding: clamp(24px, 4vw, 48px);
  margin-bottom: var(--sp-12);
  position: relative;
}

.plan-block .head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-3);
  text-align: center;
  margin-bottom: var(--sp-8);
}

.plan-block .head .lockup {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
}

.plan-block .head .lockup img {
  height: 28px;
}

.plan-block .head .lockup .mode {
  font-family: var(--khr-font-brand);
  letter-spacing: .14em;
  font-size: var(--fs-18);
  color: var(--khr-teal);
}

.plan-block .switch-row {
  display: flex;
  justify-content: center;
  margin-bottom: var(--sp-8);
}

.pricing-pane {
  display: none;
  animation: fade-up var(--dur-slow) var(--ease-std);
}

.pricing-pane.is-active {
  display: block;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.pricing-foot {
  margin-top: var(--sp-6);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--sp-3);
  font-size: var(--fs-12);
  color: var(--khr-ink-2);
}

/* Calculator */
.calc {
  background: #fff;
  border: 1px solid var(--khr-line);
  border-radius: var(--r-md);
  padding: var(--sp-8);
  max-width: 640px;
  margin-inline: auto;
}

.calc form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--sp-3);
}

.calc input[type=number] {
  font: inherit;
  padding: 14px 18px;
  border: 1px solid var(--khr-line);
  border-radius: var(--r-sm);
  background: var(--khr-paper);
  color: var(--khr-ink);
  transition: border-color var(--dur-base) var(--ease-std), background var(--dur-base) var(--ease-std), box-shadow var(--dur-base) var(--ease-std);
}

.calc input[type=number]:focus {
  outline: none;
  border-color: var(--khr-teal);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(67, 112, 120, .14);
}

.calc .result {
  margin-top: var(--sp-6);
  padding: var(--sp-5);
  background: var(--khr-paper);
  border: 1px solid var(--khr-line);
  border-radius: var(--r-sm);
  font-size: var(--fs-14);
  color: var(--khr-ink-2);
  min-height: 24px;
}

.calc .result strong {
  color: var(--khr-teal-dark);
}

@media (max-width: 600px) {
  .calc form {
    grid-template-columns: 1fr;
  }
}

/* Compare table (saiba-mais) */
.compare {
  background: #fff;
  border: 1px solid var(--khr-line);
  border-radius: var(--r-md);
  overflow: hidden;
}

.compare-row {
  display: grid;
  grid-template-columns: 1fr 120px 120px;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1px solid var(--khr-line);
  font-size: var(--fs-14);
  transition: background var(--dur-fast) var(--ease-std);
}

.compare-row:last-child {
  border-bottom: 0;
}

.compare-row:hover {
  background: var(--khr-paper);
}

.compare-row.h {
  background: var(--khr-teal-ink);
  color: #fff;
  font-family: var(--khr-font-brand);
  letter-spacing: .12em;
  font-size: var(--fs-12);
  text-transform: uppercase;
  position: sticky;
  top: var(--nav-h);
  z-index: 2;
}

.compare-row.h .col {
  text-align: center;
}

.compare-row.h .col img {
  height: 22px;
  display: inline-block;
}

.compare-row .ind {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-inline: auto;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
}

.compare-row .ind.yes {
  background: rgba(79, 138, 107, .14);
  color: var(--khr-success);
}

.compare-row .ind.no {
  background: rgba(176, 70, 58, .10);
  color: var(--khr-danger);
}

.compare-row .ind.maybe {
  background: rgba(201, 138, 58, .12);
  color: var(--khr-warning);
}

.compare-legend {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  justify-content: center;
  margin-top: var(--sp-4);
  font-size: var(--fs-14);
  color: var(--khr-ink-2);
}

.compare-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

@media (max-width: 720px) {
  .compare-row {
    grid-template-columns: 1fr 60px 60px;
    padding: 12px 14px;
    font-size: var(--fs-12);
  }
}

/* IRIUS slider */
.slider {
  position: relative;
  max-width: 760px;
  margin-inline: auto;
}

.slider-stage {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-md);
}

.slider-track {
  display: flex;
  transition: transform var(--dur-slow) var(--ease-std);
}

.slider-slide {
  flex: 0 0 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-4);
}

.slider-caption {
  font-size: var(--fs-14);
  color: var(--khr-ink-2);
  text-align: center;
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
  margin-top: var(--sp-5);
}

.slider-controls button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--khr-line);
  background: #fff;
  color: var(--khr-teal-dark);
  transition: background var(--dur-base) var(--ease-std), color var(--dur-base) var(--ease-std), border-color var(--dur-base) var(--ease-std), transform var(--dur-fast) var(--ease-std);
}

.slider-controls button:hover {
  background: var(--khr-teal);
  color: #fff;
  border-color: var(--khr-teal);
}

.slider-controls button:active {
  transform: scale(.94);
}

.slider-dots {
  display: inline-flex;
  gap: 8px;
}

.slider-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--khr-line-strong);
  transition: background var(--dur-base) var(--ease-std), width var(--dur-base) var(--ease-std);
}

.slider-dots i.is-active {
  background: var(--khr-teal);
  width: 22px;
  border-radius: var(--r-pill);
}

/* ===================================================================
 * IRIUS hero brand
 * =================================================================== */
.iris-mark {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-3);
}

.iris-mark img {
  height: 56px;
}

.iris-mark .name {
  font-family: var(--khr-font-brand);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  letter-spacing: .04em;
  color: #fff;
}

/* ===================================================================
 * Mission blocks (saiba-mais)
 * =================================================================== */
.mission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--sp-6);
}

.mission {
  background: #fff;
  border: 1px solid var(--khr-line);
  border-radius: var(--r-md);
  padding: var(--sp-8);
  position: relative;
  transition: transform var(--dur-base) var(--ease-std), box-shadow var(--dur-base) var(--ease-std), border-color var(--dur-base) var(--ease-std);
  overflow: hidden;
}

.mission::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, var(--khr-teal), var(--khr-teal-light));
}

.mission:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-card-hover);
  border-color: var(--khr-teal-light);
}

.mission h3 {
  font-family: var(--khr-font-brand);
  font-size: var(--fs-14);
  letter-spacing: .18em;
  color: var(--khr-teal);
  text-transform: uppercase;
  margin-bottom: var(--sp-5);
}

.mission .item {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: var(--sp-4);
}

.mission .item .num {
  font-family: var(--khr-font-sans);
  color: var(--khr-teal);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.4;
}

.mission .item h6 {
  font-size: var(--fs-16);
  margin: 0 0 4px;
  color: var(--khr-teal-ink);
}

.mission .item p {
  margin: 0;
  font-size: var(--fs-14);
}

/* Big feature list (saiba-mais "Saiba mais") */
.feature-stripe {
  background: linear-gradient(135deg, var(--khr-teal-dark) 0%, var(--khr-teal-ink) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.feature-stripe::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
}

.feature-stripe::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 110px;
  right: 32px;
  top: 32px;
  background: url("../img/decor/chevrons.svg") center/contain no-repeat;
  pointer-events: none;
}

.feature-stripe h2 {
  color: #fff;
}

.feature-stripe p,
.feature-stripe li {
  color: rgba(255, 255, 255, .82);
}

.feature-stripe .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  position: relative;
  z-index: 1;
}

.feature-stripe h5 {
  color: #fff;
  margin-bottom: var(--sp-4);
  font-size: var(--fs-18);
}

.feature-stripe ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-stripe ul li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  font-size: var(--fs-14);
  line-height: 1.55;
}

.feature-stripe ul li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--khr-teal-light);
  margin-top: 9px;
}

@media (max-width: 720px) {
  .feature-stripe .grid {
    grid-template-columns: 1fr;
  }
}

/* ===================================================================
 * Coverage tabs (saiba-mais — Funcionalidades + Relatórios)
 * =================================================================== */
.cov {
  background: #fff;
  border: 1px solid var(--khr-line);
}

.cov-tabs {
  display: flex;
  flex-wrap: wrap;
  background: var(--khr-teal-ink);
  border-bottom: 1px solid var(--khr-teal-ink);
}

.cov-tab {
  position: relative;
  flex: 1 1 0;
  min-width: 140px;
  padding: 18px 18px 16px;
  background: transparent;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .62);
  text-align: left;
  cursor: pointer;
  transition: background var(--dur-base) var(--ease-std), color var(--dur-base) var(--ease-std);
}

.cov-tab:last-child {
  border-right: 0;
}

.cov-tab:hover {
  color: #fff;
  background: rgba(255, 255, 255, .04);
}

.cov-tab .num {
  font-family: var(--khr-font-brand);
  font-size: 10px;
  letter-spacing: .22em;
  display: block;
  color: var(--khr-teal-light);
  margin-bottom: 6px;
}

.cov-tab .lbl {
  display: block;
  font-size: var(--fs-14);
  font-weight: 600;
  letter-spacing: .01em;
}

.cov-tab[aria-selected="true"] {
  background: var(--khr-paper);
  color: var(--khr-teal-ink);
}

.cov-tab[aria-selected="true"] .num {
  color: var(--khr-teal);
}

.cov-tab[aria-selected="true"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--khr-teal);
}

.cov-panel {
  display: none;
  padding: clamp(24px, 4vw, 48px);
}

.cov-panel.is-active {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: stretch;
  animation: fade-up var(--dur-slow) var(--ease-std);
}

.cov-panel .lead-col {
  display: flex;
  flex-direction: column;
}

.cov-panel .lead-col h3 {
  font-size: var(--fs-28);
  color: var(--khr-teal-ink);
  margin: 6px 0 var(--sp-4);
  letter-spacing: -.015em;
}

.cov-panel .lead-col p {
  color: var(--khr-ink-2);
}

.cov-panel .lead-col .index {
  margin-top: auto;
  padding-top: var(--sp-6);
  border-top: 1px solid var(--khr-line);
  font-family: var(--khr-font-brand);
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--khr-teal);
}

.cov-list {
  display: flex;
  flex-direction: column;
}

.cov-list li {
  position: relative;
  padding: 12px 0 12px 28px;
  border-bottom: 1px solid var(--khr-line);
  font-size: var(--fs-14);
  line-height: 1.55;
  color: var(--khr-ink);
}

.cov-list li:first-child {
  padding-top: 0;
}

.cov-list li:first-child::before {
  top: 4px;
}

.cov-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.cov-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 14px;
  height: 14px;
  border: 1.5px solid var(--khr-teal);
  border-radius: 50%;
}

.cov-list li.dev::before {
  border-color: var(--khr-warning);
  border-style: dashed;
}

.cov-list li.dev::after {
  content: "em desenvolvimento";
  display: inline;
  margin-left: 8px;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--khr-warning);
}

@media (max-width: 760px) {
  .cov-tab {
    min-width: 50%;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
  }

  .cov-panel.is-active {
    grid-template-columns: 1fr;
  }
}

/* ===================================================================
 * Comparativo agrupado
 * =================================================================== */
.cmp {
  background: #fff;
  border: 1px solid var(--khr-line);
}

.cmp-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  background: var(--khr-paper);
  border-bottom: 1px solid var(--khr-line);
}

.cmp-legend {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: var(--fs-12);
  color: var(--khr-ink-2);
}

.cmp-legend .ind {
  width: 18px;
  height: 18px;
  font-size: 11px;
}

.cmp-summary {
  display: inline-flex;
  gap: var(--sp-6);
  font-family: var(--khr-font-brand);
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: 11px;
}

.cmp-summary b {
  color: var(--khr-teal-ink);
  font-family: var(--khr-font-sans);
  font-weight: 700;
  font-size: var(--fs-14);
  letter-spacing: 0;
}

.cmp-head {
  display: grid;
  grid-template-columns: 1fr 96px 96px;
  align-items: center;
  padding: 14px 22px;
  background: var(--khr-teal-ink);
  color: #fff;
  font-family: var(--khr-font-brand);
  letter-spacing: .14em;
  font-size: 11px;
  text-transform: uppercase;
  position: sticky;
  top: var(--nav-h);
  z-index: 3;
}

.cmp-head .col {
  text-align: center;
}

.cmp-head .col img {
  height: 22px;
  display: inline-block;
}

.cmp-group {
  /* sem border-top — o header do grupo já delimita visualmente via background */
  padding: 0;
  /* reseta o padding global de <section> */
}

.cmp-group-h {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  padding: 14px 22px 6px;
  gap: 16px;
  background: var(--khr-paper);
}

.cmp-group-h h4 {
  font-size: var(--fs-18);
  color: var(--khr-teal-ink);
  margin: 0;
  letter-spacing: -.01em;
}

.cmp-group-h .score {
  font-family: var(--khr-font-brand);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--khr-ink-2);
}

.cmp-group-h .score b {
  color: var(--khr-teal-ink);
  font-family: var(--khr-font-sans);
  font-weight: 700;
  font-size: var(--fs-14);
  letter-spacing: 0;
}

.cmp-row {
  display: grid;
  grid-template-columns: 1fr 96px 96px;
  align-items: center;
  padding: 12px 22px;
  border-bottom: 1px solid var(--khr-line);
  font-size: var(--fs-14);
  transition: background var(--dur-fast) var(--ease-std);
}

.cmp-row:last-child {
  border-bottom: 0;
}

.cmp-row:hover {
  background: var(--khr-paper);
}

.cmp-row .feat {
  color: var(--khr-ink);
}

.cmp-row .col {
  display: flex;
  justify-content: center;
}

.ind {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
}

.ind.yes {
  background: rgba(79, 138, 107, .14);
  color: var(--khr-success);
}

.ind.no {
  background: rgba(176, 70, 58, .10);
  color: var(--khr-danger);
}

.ind.maybe {
  background: rgba(201, 138, 58, .14);
  color: var(--khr-warning);
}

@media (max-width: 720px) {

  .cmp-head,
  .cmp-row {
    grid-template-columns: 1fr 56px 56px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .cmp-row {
    font-size: var(--fs-12);
  }
}

/* ===================================================================
 * Steps timeline (irius — Assistente sequencial)
 * =================================================================== */
.steps {
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 5vw, 80px);
  counter-reset: stp;
}

.step {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  position: relative;
}

.step:nth-child(even) {
  grid-template-columns: 1.05fr 1fr;
}

.step:nth-child(even) .step-text {
  order: 2;
}

.step:nth-child(even) .step-visual {
  order: 1;
}

.step-text {
  position: relative;
  padding-top: clamp(56px, 7vw, 88px);
}

.step-text::before {
  counter-increment: stp;
  content: "0" counter(stp);
  position: absolute;
  top: 0;
  left: 0;
  font-family: var(--khr-font-brand);
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 700;
  color: var(--khr-line);
  letter-spacing: .04em;
  line-height: 1;
  pointer-events: none;
}

.step-text h3 {
  margin: 0 0 14px;
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  letter-spacing: -.015em;
  color: var(--khr-teal-ink);
}

.step-text p {
  color: var(--khr-ink-2);
}

.step-text .checklist {
  margin-top: var(--sp-4);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.step-text .checklist li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  font-size: var(--fs-14);
  color: var(--khr-ink);
}

.step-text .checklist li svg {
  width: 16px;
  height: 16px;
  color: var(--khr-teal);
  margin-top: 4px;
}

.step-visual {
  position: relative;
}

@media (max-width: 880px) {

  .step,
  .step:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .step:nth-child(even) .step-text {
    order: initial;
  }

  .step:nth-child(even) .step-visual {
    order: initial;
  }

  .step-text {
    padding-top: 64px;
  }

  .step-text::before {
    font-size: 56px;
  }
}

/* ===================================================================
 * Problem strip (irius hero → problema → solução)
 * =================================================================== */
.problem {
  background: #fff;
  border-top: 1px solid var(--khr-line);
  border-bottom: 1px solid var(--khr-line);
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
}

.problem-cell {
  padding: clamp(28px, 4vw, 48px);
  border-right: 1px solid var(--khr-line);
  position: relative;
}

.problem-cell:last-child {
  border-right: 0;
}

.problem-cell .ic {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(176, 70, 58, .08);
  color: var(--khr-danger);
  border-radius: var(--r-sm);
  margin-bottom: var(--sp-4);
}

.problem-cell .ic svg {
  width: 22px;
  height: 22px;
}

.problem-cell h4 {
  font-size: var(--fs-18);
  color: var(--khr-teal-ink);
  margin-bottom: var(--sp-2);
}

.problem-cell p {
  margin: 0;
  font-size: var(--fs-14);
  color: var(--khr-ink-2);
}

.problem-cell .stat {
  margin-top: var(--sp-4);
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.problem-cell .stat .v {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--khr-danger);
  letter-spacing: -.02em;
  font-feature-settings: "lnum" 1, "tnum" 1;
}

.problem-cell .stat .u {
  font-size: var(--fs-12);
  color: var(--khr-ink-3);
  text-transform: uppercase;
  letter-spacing: .12em;
}

@media (max-width: 880px) {
  .problem-grid {
    grid-template-columns: 1fr;
  }

  .problem-cell {
    border-right: 0;
    border-bottom: 1px solid var(--khr-line);
  }

  .problem-cell:last-child {
    border-bottom: 0;
  }
}

/* Bridge (problema → solução) */
.bridge {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(40px, 6vw, 72px) 0;
  background: var(--khr-paper);
  border-bottom: 1px solid var(--khr-line);
}

.bridge .arrow {
  width: 1px;
  height: 56px;
  background: linear-gradient(180deg, transparent, var(--khr-teal-light));
}

.bridge .arrow::after {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid var(--khr-teal);
  border-bottom: 1.5px solid var(--khr-teal);
  transform: translate(-3px, 50px) rotate(45deg);
}

/* ===================================================================
 * Motion utilities (Reveal)
 * =================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms var(--ease-std), transform 700ms var(--ease-std);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: transform, opacity;
}

[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

[data-reveal="left"] {
  transform: translateX(-22px);
}

[data-reveal="right"] {
  transform: translateX(22px);
}

[data-reveal="left"].is-in,
[data-reveal="right"].is-in {
  transform: none;
}

[data-reveal="zoom"] {
  transform: scale(.96);
}

[data-reveal="zoom"].is-in {
  transform: none;
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* ===================================================================
 * NEW — Chevron divider
 * =================================================================== */
.chevron-divider {
  width: 100%;
  height: 18px;
  margin: 0;
  position: relative;
  pointer-events: none;
  --c1: var(--khr-teal-dark);
  --c2: var(--khr-teal-light);
}

.chevron-divider::before,
.chevron-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: 4px;
}

.chevron-divider::before {
  left: 50%;
  right: 0;
  background: var(--c1);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%);
  margin-left: 12px;
}

.chevron-divider::after {
  left: 0;
  right: 50%;
  background: var(--c2);
  clip-path: polygon(0 50%, 10px 0, 100% 0, 100% 100%, 10px 100%);
  margin-right: 12px;
}

.chevron-divider.alt {
  --c1: var(--khr-line);
  --c2: var(--khr-teal);
}

/* ===================================================================
 * NEW — Triple confidence ring
 * =================================================================== */
.rings {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 4vw, 56px);
  align-items: start;
  text-align: center;
}

.ring {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.ring-disc {
  --p: 90;
  width: clamp(160px, 18vw, 220px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(var(--khr-teal) calc(var(--p) * 1%), var(--khr-paper-tint) 0);
  display: grid;
  place-items: center;
  position: relative;
  box-shadow: var(--sh-card);
}

.ring-disc::before {
  content: "";
  position: absolute;
  inset: 12px;
  background: #fff;
  border-radius: 50%;
  border: 1px solid var(--khr-line);
}

.ring-disc .v {
  position: relative;
  z-index: 1;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 300;
  color: var(--khr-teal-ink);
  font-feature-settings: "lnum" 1, "tnum" 1;
  letter-spacing: -.03em;
  font-stretch: 92%;
}

.ring-disc .v sup {
  font-size: 0.45em;
  color: var(--khr-teal-light);
  margin-left: 2px;
}

.ring h5 {
  font-size: var(--fs-16);
  color: var(--khr-teal-ink);
  margin: 0;
}

.ring p {
  font-size: var(--fs-14);
  color: var(--khr-ink-2);
  margin: 4px 0 0;
}

@media (max-width: 760px) {
  .rings {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ===================================================================
 * NEW — Score discs (comparativo)
 * =================================================================== */
.score-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  max-width: 720px;
  margin: 0 auto var(--sp-12);
}

.score-disc {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.score-disc .disc {
  --p: 36;
  --c: var(--khr-danger);
  width: clamp(150px, 16vw, 200px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(var(--c) calc(var(--p) * 1%), var(--khr-paper-tint) 0);
  display: grid;
  place-items: center;
  position: relative;
}

.score-disc .disc::before {
  content: "";
  position: absolute;
  inset: 10px;
  background: #fff;
  border-radius: 50%;
  border: 1px solid var(--khr-line);
}

.score-disc .disc .num {
  position: relative;
  z-index: 1;
  font-size: clamp(1.8rem, 3.4vw, 2.4rem);
  font-weight: 700;
  color: var(--khr-teal-ink);
  font-feature-settings: "lnum" 1, "tnum" 1;
  letter-spacing: -.02em;
}

.score-disc .disc .num small {
  font-size: .55em;
  color: var(--khr-ink-3);
  font-weight: 400;
}

.score-disc.win .disc {
  --c: var(--khr-success);
}

.score-disc .label {
  font-family: var(--khr-font-brand);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--khr-teal);
}

.score-disc.win .label {
  color: var(--khr-success);
}

/* ===================================================================
 * NEW — Stamp (testemunhos institucionais)
 * =================================================================== */
.stamps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--sp-5);
}

.stamp {
  background: #fff;
  border: 1px solid var(--khr-line);
  border-left: 3px solid var(--khr-teal);
  padding: var(--sp-6) var(--sp-5) var(--sp-5);
  position: relative;
  transition: transform var(--dur-base) var(--ease-std), box-shadow var(--dur-base) var(--ease-std);
}

.stamp:hover {
  transform: translateY(-2px);
  box-shadow: var(--sh-card-hover);
}

.stamp .q {
  font-size: var(--fs-16);
  line-height: 1.55;
  color: var(--khr-ink);
  font-style: italic;
  font-weight: 300;
  margin: 0 0 var(--sp-4);
}

.stamp .q::before {
  content: "“";
  color: var(--khr-teal-light);
  font-size: 28px;
  line-height: 0;
  margin-right: 4px;
}

.stamp .meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: var(--fs-12);
}

.stamp .meta .name {
  font-weight: 700;
  color: var(--khr-teal-ink);
}

.stamp .meta .role {
  color: var(--khr-ink-2);
}

.stamp .meta .id {
  font-family: var(--khr-font-brand);
  font-size: 10px;
  letter-spacing: .16em;
  color: var(--khr-ink-3);
  text-transform: uppercase;
  margin-top: 6px;
}

/* TRT bar */
.trt-bar {
  background: #fff;
  border: 1px solid var(--khr-line);
  padding: var(--sp-5) var(--sp-6);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(10px, 1.5vw, 18px);
  justify-content: flex-start;
}

.trt-bar .lbl {
  font-family: var(--khr-font-brand);
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--khr-ink-3);
}

.trt-bar ul {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(12px, 2.4vw, 28px);
  align-items: baseline;
}

.trt-bar ul li {
  font-family: var(--khr-font-brand);
  font-size: 13px;
  letter-spacing: .12em;
  color: var(--khr-teal-dark);
  font-weight: 700;
}

.trt-bar ul li::after {
  content: "·";
  margin-left: clamp(12px, 2.4vw, 28px);
  color: var(--khr-line-strong);
  font-weight: 400;
}

.trt-bar ul li:last-child::after {
  content: "";
}

/* ===================================================================
 * NEW — Persona cards (planos)
 * =================================================================== */
.personas {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
  margin-bottom: var(--sp-6);
}

.persona {
  background: #fff;
  border: 1px solid var(--khr-line);
  padding: var(--sp-6);
  text-align: left;
  cursor: pointer;
  transition: transform var(--dur-base) var(--ease-std), border-color var(--dur-base) var(--ease-std), box-shadow var(--dur-base) var(--ease-std);
  font: inherit;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.persona:hover {
  transform: translateY(-2px);
  border-color: var(--khr-teal);
  box-shadow: var(--sh-card);
}

.persona.is-active {
  border-color: var(--khr-teal);
  box-shadow: 0 0 0 3px rgba(67, 112, 120, .12);
}

.persona .ico {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: rgba(67, 112, 120, .10);
  color: var(--khr-teal);
}

.persona .ico svg {
  width: 18px;
  height: 18px;
}

.persona h6 {
  margin: 0;
  font-size: var(--fs-16);
  color: var(--khr-teal-ink);
}

.persona .demand {
  font-size: var(--fs-14);
  color: var(--khr-ink-2);
}

.persona .demand b {
  font-size: 1.6rem;
  color: var(--khr-teal-dark);
  font-weight: 400;
  font-feature-settings: "lnum" 1, "tnum" 1;
  letter-spacing: -.02em;
  display: block;
  line-height: 1;
  margin-bottom: 4px;
}

.persona .demand .u {
  font-family: var(--khr-font-brand);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--khr-ink-3);
}

@media (max-width: 720px) {
  .personas {
    grid-template-columns: 1fr;
  }
}

/* ===================================================================
 * NEW — Range slider (planos)
 * =================================================================== */
.range-strip {
  background: #fff;
  border: 1px solid var(--khr-line);
  padding: var(--sp-5);
  margin-bottom: var(--sp-5);
}

.range-strip .head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: var(--sp-3);
}

.range-strip .head .lbl {
  font-family: var(--khr-font-brand);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--khr-teal);
}

.range-strip .head .vv {
  font-size: 1.6rem;
  color: var(--khr-teal-ink);
  font-weight: 400;
  font-feature-settings: "lnum" 1, "tnum" 1;
  letter-spacing: -.02em;
}

.range-strip .head .vv b {
  font-weight: 700;
}

.range-strip .head .vv .tier-name {
  display: inline-block;
  margin-left: 10px;
  padding: 4px 10px;
  background: var(--khr-paper-tint);
  border-radius: var(--r-pill);
  font-size: 11px;
  font-family: var(--khr-font-brand);
  letter-spacing: .14em;
  color: var(--khr-teal-dark);
  vertical-align: middle;
}

.range-strip input[type=range] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--khr-teal) 0%, var(--khr-teal) var(--p, 30%), var(--khr-paper-tint) var(--p, 30%));
  border-radius: var(--r-pill);
  outline: none;
}

.range-strip input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--khr-teal);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(28, 52, 64, .18);
  transition: transform var(--dur-fast) var(--ease-std);
}

.range-strip input[type=range]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.range-strip input[type=range]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--khr-teal);
  cursor: pointer;
}

.range-strip .ticks {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 10px;
  color: var(--khr-ink-3);
  font-family: var(--khr-font-brand);
  letter-spacing: .14em;
}

.tier-row.is-highlight {
  background: rgba(67, 112, 120, .08);
  position: relative;
}

.tier-row.is-highlight::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--khr-teal);
}

/* ===================================================================
 * NEW — Filter pill (comparator)
 * =================================================================== */
.cmp-filter {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 6px 6px 14px;
  background: #fff;
  border: 1px solid var(--khr-line);
  border-radius: var(--r-pill);
  font-size: var(--fs-12);
  color: var(--khr-ink-2);
  cursor: pointer;
  user-select: none;
  transition: border-color var(--dur-base) var(--ease-std), background var(--dur-base) var(--ease-std);
}

.cmp-filter input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.cmp-filter .sw {
  width: 32px;
  height: 18px;
  background: var(--khr-line);
  border-radius: var(--r-pill);
  position: relative;
  transition: background var(--dur-base) var(--ease-std);
}

.cmp-filter .sw::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .15);
  transition: transform var(--dur-base) var(--ease-std);
}

.cmp-filter:has(input:checked) {
  border-color: var(--khr-teal);
}

.cmp-filter:has(input:checked) .sw {
  background: var(--khr-teal);
}

.cmp-filter:has(input:checked) .sw::after {
  transform: translateX(14px);
}

.cmp.filter-on .cmp-row.both-yes {
  display: none;
}

/* "Why matters" sub-line in comparator group */
.cmp-why {
  margin: 0;
  padding: 0 22px 14px;
  background: var(--khr-paper);
  border-bottom: 1px solid var(--khr-line);
  font-size: 13px;
  font-style: italic;
  font-weight: 300;
  color: var(--khr-ink-2);
  line-height: 1.55;
}

/* ===================================================================
 * NEW — FAQ accordion
 * =================================================================== */
.faq {
  border-top: 1px solid var(--khr-line);
}

.faq details {
  border-bottom: 1px solid var(--khr-line);
  padding: 0;
}

.faq details summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 0;
  display: grid;
  grid-template-columns: 32px 1fr 24px;
  align-items: center;
  gap: 14px;
  color: var(--khr-teal-ink);
  font-weight: 600;
  font-size: var(--fs-16);
  transition: color var(--dur-fast) var(--ease-std);
}

.faq details summary::-webkit-details-marker {
  display: none;
}

.faq details summary:hover {
  color: var(--khr-teal);
}

.faq details summary .num {
  font-family: var(--khr-font-brand);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--khr-ink-3);
}

.faq details summary .chev {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--khr-line);
  border-radius: 50%;
  transition: transform var(--dur-base) var(--ease-std), background var(--dur-base) var(--ease-std), color var(--dur-base) var(--ease-std);
  color: var(--khr-ink-2);
}

.faq details[open] summary .chev {
  transform: rotate(90deg);
  background: var(--khr-teal);
  color: #fff;
  border-color: var(--khr-teal);
}

.faq details .body {
  padding: 0 0 22px 46px;
  color: var(--khr-ink-2);
  font-size: var(--fs-14);
  line-height: 1.65;
  max-width: 80ch;
}

.faq details .body p {
  margin: 0 0 10px;
}

/* ===================================================================
 * NEW — Timeline 8 minutos
 * =================================================================== */
.tline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
}

.tline::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, var(--khr-teal-light), var(--khr-teal));
}

.tline-step {
  text-align: center;
  padding: 0 12px;
  position: relative;
}

.tline-step .dot {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--khr-teal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
  font-family: var(--khr-font-brand);
  font-weight: 700;
  color: var(--khr-teal);
}

.tline-step h6 {
  font-size: var(--fs-16);
  color: var(--khr-teal-ink);
  margin: 0;
  line-height: 1.3;
  min-height: 2.6em;
  text-wrap: balance;
}

.tline-step .dur {
  display: block;
  font-family: var(--khr-font-brand);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--khr-teal);
  margin: 8px 0 10px;
}

.tline-step p {
  font-size: var(--fs-12);
  color: var(--khr-ink-2);
  margin: 0;
}

.tline-total {
  margin-top: var(--sp-8);
  text-align: center;
  font-family: var(--khr-font-brand);
  font-size: 11px;
  letter-spacing: .22em;
  color: var(--khr-ink-3);
  text-transform: uppercase;
}

.tline-total b {
  display: block;
  font-family: var(--khr-font-sans);
  font-weight: 300;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  color: var(--khr-teal-dark);
  letter-spacing: -.03em;
  margin-top: 8px;
  font-feature-settings: "lnum" 1, "tnum" 1;
}

@media (max-width: 980px) {
  .tline {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 32px;
  }

  .tline::before {
    display: none;
  }
}

@media (max-width: 640px) {
  .tline {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .tline-step {
    text-align: left;
    display: grid;
    grid-template-columns: 56px 1fr;
    grid-template-rows: auto auto auto;
    column-gap: 14px;
    row-gap: 2px;
    align-items: start;
    padding: 0;
  }

  .tline-step .dot {
    grid-column: 1;
    grid-row: 1 / span 3;
    margin: 0;
    align-self: start;
  }

  .tline-step h6 {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    line-height: 1.3;
  }

  .tline-step .dur {
    grid-column: 2;
    grid-row: 2;
    margin: 0;
  }

  .tline-step p {
    grid-column: 2;
    grid-row: 3;
    margin-top: 4px;
  }
}

/* ===================================================================
 * NEW — Stat extended (with context line)
 * =================================================================== */
.stat .ctx {
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px dashed var(--khr-line);
  font-family: var(--khr-font-brand);
  font-size: 10px;
  letter-spacing: .14em;
  color: var(--khr-teal);
  text-transform: uppercase;
}

.stat .ctx b {
  color: var(--khr-teal-dark);
  font-family: var(--khr-font-sans);
  font-weight: 700;
  font-size: var(--fs-12);
  letter-spacing: 0;
  text-transform: none;
}

/* ===================================================================
 * NEW — Hover stamp on features (§ number)
 * =================================================================== */
.feature[data-num]::after {
  content: "§" attr(data-num);
  position: absolute;
  top: 16px;
  right: 18px;
  font-family: var(--khr-font-brand);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--khr-ink-3);
  opacity: 0;
  transition: opacity var(--dur-base) var(--ease-std);
}

.feature:hover[data-num]::after {
  opacity: 1;
}

/* ===================================================================
 * NEW — Compatibility matrix (irius)
 * =================================================================== */
.compat {
  background: #fff;
  border: 1px solid var(--khr-line);
}

.compat-group {
  border-bottom: 1px solid var(--khr-line);
}

.compat-group:last-child {
  border-bottom: 0;
}

.compat-group-h {
  padding: 16px 22px 8px;
  background: var(--khr-paper);
  font-family: var(--khr-font-brand);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--khr-teal);
}

.compat-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
}

.compat-item {
  padding: 14px 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--khr-line);
}

.compat-item .ind {
  width: 22px;
  height: 22px;
  font-size: 12px;
}

.compat-item .name {
  font-weight: 600;
  color: var(--khr-teal-ink);
  font-size: var(--fs-14);
}

.compat-item .note {
  font-size: var(--fs-12);
  color: var(--khr-ink-3);
  margin-left: auto;
}

/* ===================================================================
 * NEW — Footer 3-column
 * =================================================================== */
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  text-align: left;
  position: relative;
  z-index: 1;
  padding-bottom: var(--sp-10);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  margin-bottom: var(--sp-6);
}

.footer-col h6 {
  font-family: var(--khr-font-brand);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
  margin: 0 0 var(--sp-5);
  font-weight: 500;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul a {
  color: rgba(255, 255, 255, .78);
  font-size: var(--fs-14);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-std);
}

.footer-col ul a:hover {
  color: #fff;
}

.footer-brand {
  color: rgba(255, 255, 255, .78);
  font-size: var(--fs-14);
  line-height: 1.65;
}

.footer-brand .logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: var(--sp-3);
}

.footer-brand .logo img {
  height: 28px;
}

.footer-brand .lockup-text {
  font-family: var(--khr-font-brand);
  letter-spacing: .14em;
  color: #fff;
  font-size: 14px;
}

.footer-brand .cnpj {
  font-family: var(--khr-font-brand);
  font-size: 11px;
  letter-spacing: .12em;
  color: rgba(255, 255, 255, .45);
  margin-top: 16px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
  text-align: left;
}

.footer-bottom .meta {
  font-size: var(--fs-12);
  color: rgba(255, 255, 255, .45);
}

.footer-bottom .meta a {
  color: rgba(255, 255, 255, .65);
}

.footer-bottom .footer-social {
  margin: 0;
}

.footer-bottom .footer-social a {
  width: 40px;
  height: 40px;
}

.footer-bottom .footer-social svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ===================================================================
 * NEW — Decorative timestamps watermark
 * =================================================================== */
.timestamps-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: .04;
  font-family: var(--khr-font-brand);
  letter-spacing: .12em;
  color: var(--khr-teal-ink);
  user-select: none;
}

.timestamps-bg span {
  position: absolute;
  font-size: clamp(10px, 1.2vw, 14px);
  white-space: nowrap;
}

/* ===================================================================
 * NEW — Promo countdown
 * =================================================================== */
.promo .countdown {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 10px;
  padding: 2px 10px;
  background: rgba(255, 255, 255, .10);
  border-radius: var(--r-pill);
  font-family: var(--khr-font-brand);
  font-size: 11px;
  letter-spacing: .14em;
}

.promo .countdown b {
  color: #FFE08A;
  font-weight: 700;
  font-family: var(--khr-font-sans);
  letter-spacing: 0;
}

/* ===================================================================
 * NEW — Analog clock (decorative)
 * =================================================================== */
.analog-clock {
  width: 100%;
  aspect-ratio: 1;
  position: relative;
}

.analog-clock circle.face {
  fill: #fff;
  stroke: var(--khr-line);
  stroke-width: 1;
}

.analog-clock circle.outer {
  fill: var(--khr-paper-tint);
}

.analog-clock .tick {
  stroke: var(--khr-ink-3);
  stroke-width: .5;
}

.analog-clock .tick-major {
  stroke: var(--khr-teal-dark);
  stroke-width: 1.2;
}

.analog-clock .hand {
  stroke-linecap: round;
  stroke: var(--khr-teal-ink);
  transform-origin: 50% 50%;
  animation: hand-tick 60s steps(60) infinite;
}

.analog-clock .hand-min {
  stroke-width: 2.4;
  animation-duration: 3600s;
}

.analog-clock .hand-hr {
  stroke-width: 3;
  stroke: var(--khr-teal-dark);
  animation-duration: 43200s;
}

.analog-clock .hand-sec {
  stroke-width: 1;
  stroke: var(--khr-teal);
  animation-duration: 60s;
}

.analog-clock .pin {
  fill: var(--khr-teal-dark);
}

@keyframes hand-tick {
  to {
    transform: rotate(360deg);
  }
}

.analog-clock .label-mono {
  font-family: var(--khr-font-brand);
  font-size: 8px;
  letter-spacing: .18em;
  fill: var(--khr-ink-3);
}

/* ===================================================================
 * NEW — Article/post cards (recursos)
 * =================================================================== */
.posts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--sp-5);
}

.post {
  background: #fff;
  border: 1px solid var(--khr-line);
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  transition: transform var(--dur-base) var(--ease-std), box-shadow var(--dur-base) var(--ease-std), border-color var(--dur-base) var(--ease-std);
}

.post:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-card-hover);
  border-color: var(--khr-teal-light);
}

.post .post-tag {
  font-family: var(--khr-font-brand);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--khr-teal);
}

.post h3 {
  font-size: var(--fs-22);
  color: var(--khr-teal-ink);
  letter-spacing: -.015em;
  margin: 0;
}

.post p {
  font-size: var(--fs-14);
  color: var(--khr-ink-2);
  margin: 0;
}

.post .meta {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  font-family: var(--khr-font-brand);
  font-size: 10px;
  letter-spacing: .14em;
  color: var(--khr-ink-3);
}

/* ===================================================================
 * NEW — Changelog entries (atualizações)
 * =================================================================== */
.changelog {
  display: grid;
  gap: var(--sp-8);
}

.cl-entry {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: clamp(20px, 4vw, 48px);
  align-items: start;
  border-top: 1px solid var(--khr-line);
  padding-top: var(--sp-8);
}

.cl-entry:first-child {
  border-top: 0;
  padding-top: 0;
}

.cl-entry .when {
  font-family: var(--khr-font-brand);
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--khr-teal);
  text-transform: uppercase;
}

.cl-entry .when .version {
  display: block;
  font-family: var(--khr-font-sans);
  font-weight: 300;
  font-size: 2.4rem;
  color: var(--khr-teal-ink);
  letter-spacing: -.02em;
  margin-top: 4px;
  font-feature-settings: "lnum" 1, "tnum" 1;
}

.cl-body h3 {
  font-size: var(--fs-22);
  color: var(--khr-teal-ink);
  margin: 0 0 var(--sp-3);
}

.cl-body ul li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--khr-line);
  font-size: var(--fs-14);
  color: var(--khr-ink);
}

.cl-body ul li:last-child {
  border-bottom: 0;
}

.cl-body .tag {
  font-family: var(--khr-font-brand);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: var(--r-pill);
  align-self: center;
  white-space: nowrap;
  line-height: 1.2;
}

.cl-body .tag.new {
  background: rgba(67, 112, 120, .12);
  color: var(--khr-teal-dark);
}

.cl-body .tag.fix {
  background: rgba(201, 138, 58, .14);
  color: var(--khr-warning);
}

.cl-body .tag.impr {
  background: rgba(79, 138, 107, .14);
  color: var(--khr-success);
}

@media (max-width: 720px) {
  .cl-entry {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   widgets v2 — revamp 2026-05
   Extensões da home (.w-home), cards de produtos, trio de visões (Lista/Quadro/Calendário)
   e callout do IRIUS.
   ========================================================================== */

/* --- Home widget: saudação + KPI strip + painel de tarefas --- */
.w-app.w-home .main {
  padding: 18px 20px;
  gap: 12px;
}

.w-app.w-home .greet h6 {
  font-family: var(--khr-font-brand);
  font-size: 18px;
  color: var(--khr-teal-ink);
  font-weight: 600;
  letter-spacing: -.01em;
  text-transform: none;
  margin: 0 0 2px;
}

.w-app.w-home .greet .subgreet {
  margin: 0;
  font-size: 12px;
  color: var(--khr-ink-3);
}

/* Pílula "Uso do Plano" (PillGraph) */
.w-app.w-home .main .credits-pill {
  background: #fff;
  border: 1px solid var(--khr-line);
  border-radius: var(--r-md);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.w-app.w-home .main .credits-h {
  font-family: var(--khr-font-brand);
  font-weight: 600;
  font-size: 12px;
  color: var(--khr-teal-dark);
  letter-spacing: .04em;
}

.w-app.w-home .main .pill-graph {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.w-app.w-home .main .pg-h {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: 11px;
  color: var(--khr-ink);
}

.w-app.w-home .main .pg-title {
  font-family: var(--khr-font-brand);
  font-weight: 600;
  color: #000;
  font-size: 11px;
  letter-spacing: .02em;
  margin-right: 4px;
}

.w-app.w-home .main .pg-used {
  font-weight: 600;
  font-family: var(--khr-font-sans);
  font-feature-settings: "lnum" 1, "tnum" 1;
}

.w-app.w-home .main .pg-total {
  color: rgba(0, 0, 0, .55);
  font-size: 11px;
  font-feature-settings: "lnum" 1, "tnum" 1;
}

.w-app.w-home .main .pg-track {
  background: #F1F3F5;
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .04);
}

.w-app.w-home .main .pg-fill {
  height: 100%;
  border-radius: 999px;
  transition: width var(--dur-slow) var(--ease-std);
}

.w-app.w-home .main .pg-fill.safe {
  background: var(--khr-success);
}

.w-app.w-home .main .pg-fill.warn {
  background: var(--khr-warning);
}

.w-app.w-home .main .pg-fill.crit {
  background: var(--khr-danger);
}

.w-app.w-home .main .pg-used.warn {
  color: var(--khr-warning);
}

.w-app.w-home .main .pg-used.crit {
  color: var(--khr-danger);
}

.w-app.w-home .main .panel {
  background: #fff;
  border: 1px solid var(--khr-line);
  border-radius: var(--r-md);
  overflow: hidden;
}

.w-app.w-home .main .panel-h {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--khr-teal-ink);
  border-bottom: 1px solid var(--khr-line);
  background: var(--khr-paper);
}

.w-app.w-home .main .panel-h-meta {
  font-weight: 400;
  font-size: 11px;
  color: var(--khr-ink-3);
}

.w-app.w-home .main .task {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 8px 12px;
  border-bottom: 1px solid var(--khr-line);
}

.w-app.w-home .main .task:last-child {
  border-bottom: 0;
}

.w-app.w-home .main .task-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c, var(--khr-teal));
}

.w-app.w-home .main .task-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.w-app.w-home .main .task-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--khr-teal-ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.w-app.w-home .main .task-meta {
  font-size: 10px;
  color: var(--khr-ink-3);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.w-app.w-home .main .task-prazo {
  font-family: var(--khr-font-sans);
  font-size: 11px;
  color: var(--khr-ink-2);
  padding: 2px 8px;
  border-radius: var(--r-pill);
  background: var(--khr-paper-tint);
  font-feature-settings: "lnum" 1, "tnum" 1;
}

/* --- Cartões de produto (Khronos + 3 IRIUS) --- */
.product-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-5);
}

@media (max-width: 1120px) {
  .product-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .product-cards {
    grid-template-columns: 1fr;
  }
}

.product-card {
  background: #fff;
  border: 1px solid var(--khr-line);
  border-radius: var(--r-md);
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  transition: transform var(--dur-base) var(--ease-std), box-shadow var(--dur-base) var(--ease-std), border-color var(--dur-base) var(--ease-std);
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--khr-teal);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--dur-base) var(--ease-std);
}

.product-card.irius::before {
  background: linear-gradient(90deg, var(--khr-teal), var(--khr-teal-light));
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-card-hover);
  border-color: var(--khr-teal-light);
}

.product-card:hover::before {
  transform: scaleX(1);
}

.product-card .tag {
  display: inline-block;
  font-family: var(--khr-font-brand);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--khr-teal-dark);
  padding: 3px 9px;
  border-radius: var(--r-pill);
  background: rgba(67, 112, 120, .12);
  align-self: flex-start;
  line-height: 1.2;
}

.product-card.irius .tag {
  background: rgba(67, 112, 120, .14);
  color: var(--khr-teal-dark);
}

.product-card h5 {
  margin: 0;
  font-size: var(--fs-22);
  color: var(--khr-teal-ink);
  font-family: var(--khr-font-brand);
  font-weight: 700;
  letter-spacing: -.01em;
}

.product-card .objective {
  margin: 0;
  font-size: var(--fs-14);
  color: var(--khr-ink);
  line-height: 1.45;
}

.product-card .gain {
  margin: 0;
  font-size: var(--fs-14);
  color: var(--khr-ink-2);
  line-height: 1.45;
  padding-top: var(--sp-2);
  border-top: 1px dashed var(--khr-line);
}

.product-card .card-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--khr-font-brand);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--khr-teal-dark);
  text-decoration: none;
  padding-top: var(--sp-2);
}

.product-card .card-link svg {
  transition: transform var(--dur-fast) var(--ease-std);
}

.product-card:hover .card-link svg {
  transform: translateX(3px);
}

/* --- Trio de visões: Lista / Quadro / Calendário --- */
.views-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}

@media (max-width: 980px) {
  .views-trio {
    grid-template-columns: 1fr;
  }
}

.view-card {
  background: #fff;
  border: 1px solid var(--khr-line);
  border-radius: var(--r-md);
  padding: var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  transition: transform var(--dur-base) var(--ease-std), box-shadow var(--dur-base) var(--ease-std);
}

.view-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-card-hover);
}

.view-card>header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: var(--sp-2);
}

.view-card .view-ico {
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  background: rgba(67, 112, 120, .12);
  color: var(--khr-teal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.view-card .view-ico svg {
  width: 18px;
  height: 18px;
}

.view-card h5 {
  margin: 0;
  font-size: var(--fs-18);
  color: var(--khr-teal-ink);
}

.view-card .view-plan {
  margin-left: auto;
  font-family: var(--khr-font-brand);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: var(--r-pill);
  background: rgba(67, 112, 120, .12);
  color: var(--khr-teal-dark);
  line-height: 1.2;
}

.view-card .view-mock {
  background: var(--khr-paper);
  border: 1px solid var(--khr-line);
  border-radius: var(--r-sm);
  padding: 10px;
  min-height: 180px;
}

.view-card p {
  margin: 0;
  font-size: var(--fs-14);
  color: var(--khr-ink-2);
}

/* Lista mini */
.w-list-mini {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.w-list-mini .li {
  display: grid;
  grid-template-columns: 8px 1fr auto;
  gap: 8px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--khr-line);
  border-radius: var(--r-sm);
  padding: 8px 10px;
}

.w-list-mini .li-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c, var(--khr-teal));
}

.w-list-mini .li-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--khr-teal-ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.w-list-mini .li-prazo {
  font-size: 11px;
  color: var(--khr-ink-2);
  font-feature-settings: "lnum" 1, "tnum" 1;
}

/* Board mini */
.w-board-mini {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.w-board-mini .col {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.w-board-mini .col-h {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  font-weight: 600;
  color: var(--khr-teal-ink);
  padding: 6px 8px;
  border-top: 3px solid var(--c, var(--khr-teal));
  background: #fff;
  border-radius: 3px 3px 0 0;
}

.w-board-mini .col-h b {
  font-family: var(--khr-font-sans);
  font-weight: 400;
  background: rgba(67, 112, 120, .12);
  padding: 1px 6px;
  border-radius: var(--r-pill);
  font-size: 10px;
  color: var(--khr-teal-dark);
}

.w-board-mini .card {
  background: #fff;
  border: 1px solid var(--khr-line);
  border-radius: var(--r-sm);
  padding: 6px 8px;
  font-size: 11px;
  font-weight: 500;
  color: var(--khr-teal-ink);
}

.w-board-mini .card.faded {
  opacity: .55;
}

/* Calendar mini */
.w-cal-mini {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.w-cal-mini .cal-h {
  font-family: var(--khr-font-brand);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--khr-teal-dark);
  text-align: center;
}

.w-cal-mini .cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
}

.w-cal-mini .cal-d {
  background: #fff;
  border: 1px solid var(--khr-line);
  border-radius: 3px;
  font-size: 10px;
  color: var(--khr-ink-2);
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-feature-settings: "lnum" 1, "tnum" 1;
}

.w-cal-mini .cal-d.off {
  background: transparent;
  border-color: transparent;
}

.w-cal-mini .cal-d.today {
  background: var(--khr-teal-ink);
  color: #fff;
  border-color: var(--khr-teal-ink);
  font-weight: 600;
}

.w-cal-mini .cal-d.has-1 {
  background: rgba(67, 112, 120, .14);
  color: var(--khr-teal-dark);
  border-color: rgba(67, 112, 120, .30);
  font-weight: 600;
}

.w-cal-mini .cal-d.has-2 {
  background: rgba(201, 138, 58, .18);
  color: var(--khr-warning);
  border-color: rgba(201, 138, 58, .30);
  font-weight: 600;
}

.w-cal-mini .cal-d.has-3 {
  background: rgba(176, 70, 58, .16);
  color: var(--khr-danger);
  border-color: rgba(176, 70, 58, .30);
  font-weight: 600;
}

/* --- Callout: pílulas dos sub-produtos IRIUS --- */
.callout .irius-pills {
  list-style: none;
  margin: var(--sp-4) 0 var(--sp-5);
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  max-width: 640px;
}

@media (max-width: 640px) {
  .callout .irius-pills {
    grid-template-columns: 1fr;
  }
}

.callout .irius-pills li {
  display: flex;
}

.callout .irius-pills a {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  text-decoration: none;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--r-sm);
  padding: 10px 14px;
  transition: background var(--dur-fast) var(--ease-std), border-color var(--dur-fast) var(--ease-std), transform var(--dur-fast) var(--ease-std);
}

.callout .irius-pills a:hover {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .32);
  transform: translateY(-2px);
}

.callout .irius-pills strong {
  color: #fff;
  font-family: var(--khr-font-brand);
  font-size: 14px;
  letter-spacing: .04em;
}

.callout .irius-pills span {
  color: rgba(255, 255, 255, .75);
  font-size: 12px;
  margin-top: 2px;
}

/* ==========================================================================
   widgets v2 — Iteração 2: saiba-mais.html
   ========================================================================== */

/* --- Movimentações processuais (timeline) --- */
.movs-wrap {
  background: #fff;
  border: 1px solid var(--khr-line);
  border-radius: var(--r-md);
  padding: var(--sp-6);
  max-width: 900px;
  margin: 0 auto;
}

.w-movimentos-timeline {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.w-movimentos-timeline .mov-month {
  font-family: var(--khr-font-brand);
  font-size: var(--fs-12);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--khr-ink-3);
  padding: 12px 0 4px;
  border-top: 1px solid var(--khr-line);
}

.w-movimentos-timeline .mov-month:first-child {
  border-top: 0;
  padding-top: 0;
}

.w-movimentos-timeline .mov {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 14px;
  align-items: center;
  background: var(--khr-paper);
  border: 1px solid var(--khr-line);
  border-radius: var(--r-sm);
  overflow: hidden;
  min-height: 72px;
}

.w-movimentos-timeline .mov-when {
  background: var(--khr-teal-dark);
  color: #fff;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 8px;
  font-family: var(--khr-font-sans);
  font-feature-settings: "lnum" 1, "tnum" 1;
}

.w-movimentos-timeline .mov-when .d {
  font-size: 13px;
  opacity: .85;
}

.w-movimentos-timeline .mov-when .h {
  font-size: 18px;
  font-weight: 600;
  margin-top: 2px;
}

.w-movimentos-timeline .mov-body {
  padding: 8px 0;
  min-width: 0;
}

.w-movimentos-timeline .mov-body h6 {
  margin: 0 0 2px;
  font-size: var(--fs-14);
  color: var(--khr-teal-ink);
  font-weight: 600;
}

.w-movimentos-timeline .mov-body p {
  margin: 0;
  font-size: var(--fs-12);
  color: var(--khr-ink-2);
  line-height: 1.4;
}

.w-movimentos-timeline .mov-org {
  font-size: var(--fs-12);
  color: var(--khr-ink-3);
  padding: 0 14px 0 8px;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .w-movimentos-timeline .mov {
    grid-template-columns: 80px 1fr;
  }

  .w-movimentos-timeline .mov-org {
    grid-column: 1 / -1;
    padding: 0 14px 10px;
  }
}

/* --- Parâmetros de apuração: grid de áreas + mock --- */
.params-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--sp-8);
  align-items: stretch;
}

@media (max-width: 980px) {
  .params-grid {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

.params-areas {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

@media (max-width: 540px) {
  .params-areas {
    grid-template-columns: 1fr;
  }
}

.param-area {
  background: #fff;
  border: 1px solid var(--khr-line);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  transition: border-color var(--dur-base) var(--ease-std), background var(--dur-base) var(--ease-std);
}

.param-area:hover {
  border-color: var(--khr-teal-light);
  background: var(--khr-paper-tint);
}

.param-area h6 {
  margin: 0 0 4px;
  font-size: var(--fs-14);
  color: var(--khr-teal-dark);
  font-weight: 600;
}

.param-area p {
  margin: 0;
  font-size: var(--fs-12);
  color: var(--khr-ink-2);
  line-height: 1.4;
}

.params-mock {
  display: flex;
  flex-direction: column;
  align-self: stretch;
}

@media (max-width: 980px) {
  .params-mock {
    align-self: auto;
  }
}

/* --- Mock de tabela de apuração --- */
.w-apuracao-table {
  background: #fff;
  border: 1px solid var(--khr-line);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--sh-card);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.w-apuracao-table .apt-foot {
  margin-top: auto;
}

.w-apuracao-table .apt-h {
  padding: 14px 16px;
  background: var(--khr-teal-ink);
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.w-apuracao-table .apt-title {
  font-weight: 600;
  font-size: var(--fs-14);
}

.w-apuracao-table .apt-meta {
  font-size: 11px;
  opacity: .75;
}

.w-apuracao-table .apt-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--khr-line);
}

.w-apuracao-table .apt-kpi {
  background: #fff;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.w-apuracao-table .apt-kpi .l {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--khr-ink-3);
}

.w-apuracao-table .apt-kpi .v {
  font-family: var(--khr-font-sans);
  font-size: 16px;
  font-weight: 400;
  color: var(--khr-teal-ink);
  font-feature-settings: "lnum" 1, "tnum" 1;
}

.w-apuracao-table .apt-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 9px 14px;
  font-size: 12px;
  border-top: 1px solid var(--khr-line);
}

.w-apuracao-table .apt-totals {
  padding: 10px 14px 4px;
  border-top: 2px solid var(--khr-teal);
  background: var(--khr-paper);
}

.w-apuracao-table .apt-totals-label {
  font-family: var(--khr-font-brand);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--khr-teal-dark);
}

.w-apuracao-table .apt-row.apt-row-h {
  font-family: var(--khr-font-brand);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--khr-ink-3);
  background: var(--khr-paper);
}

.w-apuracao-table .apt-row .num {
  font-family: var(--khr-font-sans);
  font-feature-settings: "lnum" 1, "tnum" 1;
  color: var(--khr-teal-dark);
  font-weight: 500;
}

.w-apuracao-table .apt-row .pill {
  padding: 2px 8px;
  border-radius: var(--r-pill);
  font-size: 10px;
  font-weight: 600;
}

.w-apuracao-table .apt-row .pill.ok {
  background: rgba(79, 138, 107, .14);
  color: var(--khr-success);
}

.w-apuracao-table .apt-row .pill.warn {
  background: rgba(201, 138, 58, .14);
  color: var(--khr-warning);
}

.w-apuracao-table .apt-foot {
  padding: 10px 14px;
  background: var(--khr-paper);
  font-size: 11px;
  color: var(--khr-warning);
  border-top: 1px solid var(--khr-line);
}

/* --- Da apuração ao laudo: cartões de exportação + stack visual --- */
.export-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
  margin-bottom: var(--sp-8);
}

@media (max-width: 980px) {
  .export-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .export-grid {
    grid-template-columns: 1fr;
  }
}

.export-card {
  background: #fff;
  border: 1px solid var(--khr-line);
  border-radius: var(--r-md);
  padding: var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform var(--dur-base) var(--ease-std), box-shadow var(--dur-base) var(--ease-std), border-color var(--dur-base) var(--ease-std);
}

.export-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-card-hover);
  border-color: var(--khr-teal-light);
}

.export-card .export-ico {
  width: 38px;
  height: 38px;
  border-radius: var(--r-sm);
  background: rgba(67, 112, 120, .12);
  color: var(--khr-teal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.export-card .export-ico svg {
  width: 18px;
  height: 18px;
}

.export-card h6 {
  margin: 0;
  font-size: var(--fs-16);
  color: var(--khr-teal-ink);
}

.export-card p {
  margin: 0;
  font-size: var(--fs-12);
  color: var(--khr-ink-2);
  line-height: 1.45;
}

.export-card .export-plan {
  margin-top: auto;
  align-self: flex-start;
  font-family: var(--khr-font-brand);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: var(--r-pill);
  background: rgba(67, 112, 120, .12);
  color: var(--khr-teal-dark);
  line-height: 1.2;
}

.w-relatorio-stack {
  background: var(--khr-paper-tint);
  border: 1px solid var(--khr-line);
  border-radius: var(--r-md);
  padding: var(--sp-5) var(--sp-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  flex-wrap: wrap;
}

.w-relatorio-stack .rel-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--khr-font-brand);
  font-size: var(--fs-14);
  color: var(--khr-teal-ink);
  font-weight: 600;
}

.w-relatorio-stack .rel-check {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(79, 138, 107, .16);
  color: var(--khr-success);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.w-relatorio-stack .rel-btns {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.w-relatorio-stack .rel-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  background: #fff;
  border: 1px solid var(--khr-line);
  border-radius: var(--r-sm);
  font-family: var(--khr-font-brand);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--khr-teal-dark);
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-std), border-color var(--dur-fast) var(--ease-std);
}

.w-relatorio-stack .rel-btn:hover {
  background: var(--khr-teal);
  border-color: var(--khr-teal);
  color: #fff;
}

/* --- Onde o IRIUS entra (callout claro com pílulas) --- */
.irius-where {
  background: linear-gradient(135deg, #fff 0%, var(--khr-paper-tint) 100%);
  border: 1px solid var(--khr-line);
  border-radius: var(--r-md);
  padding: var(--sp-8);
  display: grid;
  grid-template-columns: 1fr 1.2fr auto;
  gap: var(--sp-6);
  align-items: center;
}

@media (max-width: 980px) {
  .irius-where {
    grid-template-columns: 1fr;
    gap: var(--sp-5);
    text-align: left;
  }
}

.irius-where .iw-eyebrow {
  display: inline-block;
  font-family: var(--khr-font-brand);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--khr-teal);
  padding: 3px 9px;
  border-radius: var(--r-pill);
  background: rgba(67, 112, 120, .12);
  margin-bottom: 8px;
  line-height: 1.2;
}

.irius-where h3 {
  margin: 0 0 6px;
  font-size: var(--fs-28);
  color: var(--khr-teal-ink);
}

.irius-where p {
  margin: 0;
  font-size: var(--fs-14);
  color: var(--khr-ink-2);
  line-height: 1.5;
}

.irius-where .iw-pills {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

@media (max-width: 540px) {
  .irius-where .iw-pills {
    grid-template-columns: 1fr;
  }
}

.irius-where .iw-pills li {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--khr-line);
  border-radius: var(--r-sm);
  padding: 8px 12px;
}

.irius-where .iw-pills strong {
  font-family: var(--khr-font-brand);
  font-size: 13px;
  color: var(--khr-teal-dark);
  letter-spacing: .02em;
}

.irius-where .iw-pills span {
  font-size: 11px;
  color: var(--khr-ink-2);
  margin-top: 1px;
}

/* ==========================================================================
   widgets v2 — Iteração 2 (ajustes): mosaico hero, section-plan-chip, visões expandidas
   ========================================================================== */

/* --- UI Fan: leque com 3 UIs (full-width, em escala de tela) --- */
.ui-fan-wrap {
  margin-top: 0;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: clamp(40px, 5vw, 64px) clamp(40px, 5vw, 120px);
  overflow: hidden;
}

.ui-fan {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  align-items: center;
  perspective: 4400px;
  max-width: 1900px;
  margin-inline: auto;
}

.ui-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 28px -18px rgba(0, 0, 0, .25), 0 4px 12px -8px rgba(28, 52, 64, .14);
  overflow: hidden;
  border: 1px solid rgba(214, 222, 226, .5);
  transition: transform var(--dur-slow) var(--ease-emp);
  transform-style: preserve-3d;
  will-change: transform;
  aspect-ratio: 16 / 9;
  display: flex;
  flex-direction: column;
  container-type: inline-size;
  container-name: uicard;
}

/* Container queries: todos os elementos internos escalam com o tamanho do .ui-card */
.ui-card .ui-topbar {
  background: var(--khr-paper);
  border-bottom: 1px solid var(--khr-line);
  padding: 1.8cqw 2.6cqw;
  display: flex;
  align-items: center;
  gap: 1.8cqw;
  flex-shrink: 0;
}

.ui-card .ui-dots {
  display: flex;
  gap: 1cqw;
  flex-shrink: 0;
}

.ui-card .ui-dots i {
  width: 1.6cqw;
  height: 1.6cqw;
  min-width: 6px;
  min-height: 6px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .2);
  display: inline-block;
}

.ui-card .ui-dots i:nth-child(1) {
  background: #ff5f56;
}

.ui-card .ui-dots i:nth-child(2) {
  background: #ffbd2e;
}

.ui-card .ui-dots i:nth-child(3) {
  background: #27c93f;
}

.ui-card .ui-url {
  font-family: var(--khr-font-brand);
  font-size: clamp(8px, 1.7cqw, 13px);
  color: var(--khr-ink-3);
  background: #fff;
  border: 1px solid var(--khr-line);
  border-radius: var(--r-pill);
  padding: .6cqw 2cqw;
  flex: 1;
  text-align: center;
  letter-spacing: .04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ui-card .ui-body {
  display: grid;
  grid-template-columns: 8.5cqw 1fr;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.ui-card .ui-mini-side {
  background: var(--khr-paper);
  border-right: 1px solid var(--khr-line);
  padding: 2.4cqw 1.3cqw;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.3cqw;
  overflow: hidden;
}

.ui-card .ui-mini-brand {
  width: 5cqw;
  height: 5cqw;
  min-width: 22px;
  min-height: 22px;
  border-radius: 50%;
  background: var(--khr-teal);
  color: #fff;
  font-family: var(--khr-font-brand);
  font-weight: 700;
  font-size: clamp(10px, 2.1cqw, 16px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.8cqw;
}

.ui-card .ui-mini-item {
  width: 5.3cqw;
  height: .9cqw;
  min-height: 4px;
  border-radius: 4px;
  background: rgba(67, 112, 120, .18);
}

.ui-card .ui-mini-item.is-active {
  background: var(--khr-teal);
  box-shadow: 0 0 0 .4cqw rgba(67, 112, 120, .16);
}

.ui-card .ui-mini-main {
  padding: 2.4cqw 2.9cqw 2.9cqw;
  display: flex;
  flex-direction: column;
  gap: 1.8cqw;
  min-width: 0;
  overflow: hidden;
}

.ui-card .ui-mini-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1cqw;
  flex-shrink: 0;
}

.ui-card .ui-mini-title {
  font-family: var(--khr-font-brand);
  font-size: clamp(11px, 2.2cqw, 17px);
  font-weight: 700;
  color: var(--khr-teal-ink);
  letter-spacing: .02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.ui-card .ui-mini-chip {
  font-family: var(--khr-font-brand);
  font-size: clamp(9px, 1.6cqw, 12px);
  font-weight: 600;
  padding: .7cqw 1.6cqw;
  border-radius: var(--r-pill);
  background: var(--khr-teal);
  color: #fff;
  letter-spacing: .04em;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Posicionamentos do leque — em escala de tela, perspectiva sutil */
.ui-card.ui-left {
  grid-column: 1;
  transform: perspective(4400px) rotateY(14deg) translateX(16%) translateZ(-70px) scale(1.0);
  filter: brightness(.92);
  z-index: 1;
}

.ui-card.ui-right {
  grid-column: 3;
  transform: perspective(4400px) rotateY(-14deg) translateX(-16%) translateZ(-70px) scale(1.0);
  filter: brightness(.92);
  z-index: 1;
}

.ui-card.ui-center {
  grid-column: 2;
  transform: translateZ(0) scale(1.18);
  box-shadow: 0 22px 48px -22px rgba(0, 0, 0, .30), 0 10px 22px -10px rgba(28, 52, 64, .18);
  z-index: 2;
}

@media (max-width: 980px) {
  .ui-fan-wrap {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding: 0 4%;
    overflow: visible;
    margin-top: var(--sp-4);
  }

  .ui-fan {
    grid-template-columns: 1fr;
    gap: 16px;
    perspective: none;
    max-width: 100%;
  }

  .ui-card,
  .ui-card.ui-left,
  .ui-card.ui-right,
  .ui-card.ui-center {
    transform: none;
    grid-column: 1;
    filter: none;
    scale: 1;
  }

  .ui-card.ui-left,
  .ui-card.ui-right {
    display: none;
  }
}

/* Mini Calendar (UI Fan) */
.ui-mini-cal {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: .5cqw;
  flex: 1;
  min-height: 0;
}

.ui-mini-cal .cd-d {
  background: var(--khr-paper);
  border-radius: .6cqw;
  font-size: clamp(9px, 1.8cqw, 14px);
  color: var(--khr-ink-3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-feature-settings: "lnum" 1, "tnum" 1;
  min-height: 0;
}

.ui-mini-cal .cd-d.cd-off {
  background: transparent;
}

.ui-mini-cal .cd-d.cd-today {
  background: var(--khr-teal-ink);
  color: #fff;
  font-weight: 600;
}

.ui-mini-cal .cd-d.cd-has-1 {
  background: rgba(67, 112, 120, .18);
  color: var(--khr-teal-dark);
  font-weight: 600;
}

.ui-mini-cal .cd-d.cd-has-2 {
  background: rgba(201, 138, 58, .22);
  color: var(--khr-warning);
  font-weight: 600;
}

.ui-mini-cal .cd-d.cd-has-3 {
  background: rgba(176, 70, 58, .20);
  color: var(--khr-danger);
  font-weight: 600;
}

/* Mini Board (UI Fan central) */
.ui-mini-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.3cqw;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.ui-mini-board .col {
  display: flex;
  flex-direction: column;
  gap: .8cqw;
  min-width: 0;
  overflow: hidden;
}

.ui-mini-board .col-h {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .6cqw;
  font-family: var(--khr-font-brand);
  font-size: clamp(8px, 1.5cqw, 12px);
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--khr-teal-ink);
  padding: .9cqw 1.3cqw;
  border-top: .4cqw solid var(--c, var(--khr-teal));
  background: #fff;
  border-radius: .5cqw .5cqw 0 0;
  min-width: 0;
}

.ui-mini-board .col-h span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.ui-mini-board .col-h b {
  background: rgba(67, 112, 120, .14);
  padding: .15cqw 1cqw;
  border-radius: var(--r-pill);
  font-size: clamp(8px, 1.5cqw, 12px);
  color: var(--khr-teal-dark);
  flex-shrink: 0;
}

.ui-mini-board .card {
  background: #fff;
  border: 1px solid var(--khr-line);
  border-radius: .7cqw;
  padding: 1cqw 1.3cqw;
  display: flex;
  flex-direction: column;
  gap: .4cqw;
  min-width: 0;
  overflow: hidden;
}

.ui-mini-board .card-name {
  font-size: clamp(9px, 1.65cqw, 13px);
  font-weight: 600;
  color: var(--khr-teal-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ui-mini-board .card-meta {
  font-size: clamp(8px, 1.4cqw, 11px);
  color: var(--khr-ink-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ui-mini-board .card.faded {
  background: transparent;
  border-style: dashed;
  text-align: center;
  font-size: clamp(9px, 1.5cqw, 12px);
  color: var(--khr-ink-3);
  padding: 1.8cqw 1.3cqw;
  display: block;
}

/* Mini Table de Apuração (UI Fan direita) */
.ui-mini-table {
  background: var(--khr-paper-tint);
  border-radius: .8cqw;
  overflow: hidden;
  flex: 1;
  min-height: 0;
}

.ui-mini-table .row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 1cqw;
  padding: .9cqw 1.8cqw;
  font-size: clamp(9px, 1.7cqw, 13px);
  color: var(--khr-ink);
  border-top: 1px solid rgba(214, 222, 226, .6);
  font-feature-settings: "lnum" 1, "tnum" 1;
}

.ui-mini-table .row:first-child {
  border-top: 0;
}

.ui-mini-table .row.row-h {
  font-family: var(--khr-font-brand);
  font-size: clamp(8px, 1.4cqw, 11px);
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--khr-ink-3);
  background: #fff;
}

.ui-mini-table .row .num {
  color: var(--khr-teal-dark);
  font-weight: 600;
}

.ui-mini-totals {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.3cqw 2.1cqw;
  background: var(--khr-teal-dark);
  color: #fff;
  border-radius: .8cqw;
}

.ui-mini-totals .ll {
  font-family: var(--khr-font-brand);
  font-size: clamp(9px, 1.5cqw, 12px);
  text-transform: uppercase;
  letter-spacing: .06em;
  opacity: .85;
}

.ui-mini-totals .vv {
  font-family: var(--khr-font-sans);
  font-size: clamp(13px, 2.4cqw, 19px);
  font-weight: 600;
  font-feature-settings: "lnum" 1, "tnum" 1;
}

/* --- Capabilities strip: wireframe horizontal das 4 frentes (abaixo do hero text) --- */
.capabilities-strip {
  margin-top: var(--sp-8);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

@media (max-width: 1100px) {
  .capabilities-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .capabilities-strip {
    grid-template-columns: 1fr;
  }
}

.cap-card {
  background: rgba(255, 255, 255, .94);
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: var(--r-md);
  padding: 18px 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
  box-shadow: 0 8px 28px -16px rgba(28, 52, 64, .5), 0 1px 0 rgba(255, 255, 255, .6) inset;
  backdrop-filter: saturate(180%) blur(8px);
  -webkit-backdrop-filter: saturate(180%) blur(8px);
  transition: transform var(--dur-base) var(--ease-std), box-shadow var(--dur-base) var(--ease-std);
}

.cap-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px -16px rgba(28, 52, 64, .6), 0 1px 0 rgba(255, 255, 255, .7) inset;
}

.cap-card.cap-card-irius {
  background: linear-gradient(135deg, var(--khr-teal-dark) 0%, var(--khr-teal) 100%);
  border-color: rgba(255, 255, 255, .18);
}

.cap-card-irius .cap-h .cap-ico {
  background: rgba(255, 255, 255, .16);
  color: #fff;
}

.cap-card-irius .cap-eyebrow {
  color: rgba(255, 255, 255, .7);
}

.cap-card-irius h6 {
  color: #fff;
}

.cap-card-irius .cap-list li {
  color: rgba(255, 255, 255, .86);
}

.cap-card-irius .cap-list li::before {
  background: rgba(255, 255, 255, .8);
}

.cap-card-irius .cap-link {
  color: #fff;
}

.cap-h {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.cap-ico {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(67, 112, 120, .14);
  color: var(--khr-teal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cap-ico svg {
  width: 18px;
  height: 18px;
}

.cap-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.cap-eyebrow {
  font-family: var(--khr-font-brand);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--khr-teal);
}

.cap-h h6 {
  margin: 0;
  font-size: var(--fs-14);
  color: var(--khr-teal-ink);
  font-weight: 700;
  line-height: 1.25;
}

.cap-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cap-list li {
  position: relative;
  padding-left: 16px;
  font-size: var(--fs-12);
  color: var(--khr-ink);
  line-height: 1.45;
}

.cap-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--khr-teal);
}

.cap-link {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--khr-font-brand);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--khr-teal-dark);
  text-decoration: none;
  padding-top: 6px;
  border-top: 1px dashed var(--khr-line);
  width: 100%;
  justify-content: space-between;
}

.cap-card-irius .cap-link {
  border-top-color: rgba(255, 255, 255, .20);
}

.cap-link svg {
  transition: transform var(--dur-fast) var(--ease-std);
}

.cap-card:hover .cap-link svg {
  transform: translateX(3px);
}

/* Legacy: w-features-mosaic (mantido caso outras páginas usem futuramente) */
.w-features-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 10px;
  padding: 14px;
  background: #fff;
  border-radius: var(--r-md);
  box-shadow: var(--sh-elev);
  border: 1px solid rgba(214, 222, 226, .5);
  aspect-ratio: 1 / .9;
}

.mosaic-tile {
  background: var(--khr-paper);
  border: 1px solid var(--khr-line);
  border-radius: var(--r-sm);
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
  min-width: 0;
}

.mosaic-tile .mt-head {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--khr-teal-dark);
  flex-shrink: 0;
}

.mosaic-tile .mt-ico {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(67, 112, 120, .16);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mosaic-tile .mt-ico svg {
  width: 12px;
  height: 12px;
}

.mosaic-tile .mt-name {
  font-family: var(--khr-font-brand);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.mosaic-tile .mt-body {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Mosaic — variantes por feat */
.mosaic-tile[data-feat="gestao"] .w-board-mini {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

.mosaic-tile[data-feat="gestao"] .w-board-mini .col {
  gap: 3px;
}

.mosaic-tile[data-feat="gestao"] .w-board-mini .col-h {
  font-size: 9px;
  padding: 4px 6px;
  border-top-width: 2px;
}

.mosaic-tile[data-feat="gestao"] .w-board-mini .col-h b {
  font-size: 9px;
  padding: 0 4px;
}

.mosaic-tile[data-feat="gestao"] .w-board-mini .card {
  font-size: 10px;
  padding: 4px 6px;
}

.mosaic-tile .mt-mov .mt-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px;
  align-items: center;
  background: #fff;
  border-radius: 4px;
  padding: 4px 8px 4px 4px;
}

.mosaic-tile .mt-mov .mt-when {
  background: var(--khr-teal-dark);
  color: #fff;
  border-radius: 3px;
  padding: 3px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-feature-settings: "lnum" 1, "tnum" 1;
  min-width: 38px;
}

.mosaic-tile .mt-mov .mt-when b {
  font-size: 9px;
  font-weight: 600;
}

.mosaic-tile .mt-mov .mt-when span {
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
}

.mosaic-tile .mt-mov .mt-text {
  font-size: 10px;
  color: var(--khr-teal-ink);
  font-weight: 500;
}

.mosaic-tile .mt-apur {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

.mosaic-tile .mt-apur .mt-kpi {
  background: #fff;
  border-radius: 4px;
  padding: 6px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mosaic-tile .mt-apur .mt-kpi .l {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--khr-ink-3);
}

.mosaic-tile .mt-apur .mt-kpi .v {
  font-size: 11px;
  font-family: var(--khr-font-sans);
  color: var(--khr-teal-ink);
  font-feature-settings: "lnum" 1, "tnum" 1;
}

.mosaic-tile .mt-irius {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 4px;
  align-items: flex-start;
}

.mosaic-tile .mt-irius .irius-chip {
  font-family: var(--khr-font-brand);
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--r-pill);
  background: linear-gradient(135deg, var(--khr-teal), var(--khr-teal-light));
  color: #fff;
}

@media (max-width: 760px) {
  .w-features-mosaic {
    aspect-ratio: 1 / .85;
  }

  .mosaic-tile .mt-irius .irius-chip {
    font-size: 9px;
    padding: 2px 7px;
  }
}

/* --- Chip de plano dentro de section-head --- */
.section-head-plan h2 {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.section-plan-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--khr-font-brand);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: linear-gradient(135deg, var(--khr-teal) 0%, var(--khr-teal-light) 100%);
  color: #fff;
  line-height: 1.2;
  box-shadow: 0 2px 6px rgba(67, 112, 120, .25);
  vertical-align: middle;
}

.section-plan-chip-inline {
  font-size: 9px;
  padding: 3px 7px;
  margin-left: 6px;
  box-shadow: 0 1px 3px rgba(67, 112, 120, .20);
  vertical-align: middle;
  transform: translateY(-1px);
}

/* --- Expansão das visões: 3 sub-blocos detalhados --- */
.views-detail {
  margin-top: var(--sp-12);
  display: flex;
  flex-direction: column;
  gap: var(--sp-12);
}

.view-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: var(--sp-8);
  align-items: center;
}

.view-detail.vd-reverse .vd-text {
  order: 2;
}

.view-detail.vd-reverse .vd-mock {
  order: 1;
}

@media (max-width: 980px) {

  .view-detail,
  .view-detail.vd-reverse {
    grid-template-columns: 1fr;
    gap: var(--sp-6);
  }

  .view-detail.vd-reverse .vd-text,
  .view-detail.vd-reverse .vd-mock {
    order: initial;
  }
}

.vd-text .vd-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--khr-font-brand);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--khr-teal);
  margin-bottom: var(--sp-3);
}

.vd-text h3 {
  margin: 0 0 var(--sp-4);
  font-size: clamp(1.3rem, 1.8vw, 1.55rem);
  color: var(--khr-teal-ink);
  letter-spacing: -.01em;
  line-height: 1.3;
  text-wrap: balance;
}

.vd-text {
  min-width: 0;
}

.vd-mock {
  min-width: 0;
}

.vd-text>p {
  margin: 0 0 var(--sp-5);
  font-size: var(--fs-16);
  color: var(--khr-ink-2);
  line-height: 1.55;
}

.vd-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.vd-features li {
  position: relative;
  padding-left: 22px;
  font-size: var(--fs-14);
  color: var(--khr-ink);
  line-height: 1.5;
}

.vd-features li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--khr-teal);
  box-shadow: 0 0 0 4px rgba(67, 112, 120, .10);
}

.vd-features strong {
  color: var(--khr-teal-dark);
  font-weight: 600;
}

/* Mock — Lista detalhada */
.w-list-detail {
  background: #fff;
  border: 1px solid var(--khr-line);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--sh-card);
}

.w-list-detail .ld-toolbar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--khr-line);
  background: var(--khr-paper);
  font-size: 11px;
  flex-wrap: wrap;
}

.w-list-detail .ld-chip {
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: #fff;
  border: 1px solid var(--khr-line);
  color: var(--khr-ink-2);
  font-weight: 500;
}

.w-list-detail .ld-chip.is-active {
  background: var(--khr-teal);
  color: #fff;
  border-color: var(--khr-teal);
}

.w-list-detail .ld-search {
  margin-left: auto;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  background: #fff;
  border: 1px solid var(--khr-line);
  color: var(--khr-ink-3);
  font-size: 11px;
}

.w-list-detail .ld-row {
  display: grid;
  grid-template-columns: 1.4fr 1.4fr auto 60px;
  gap: 12px;
  align-items: center;
  padding: 10px 14px;
  border-top: 1px solid var(--khr-line);
  font-size: 12px;
}

.w-list-detail .ld-row-h {
  background: var(--khr-paper);
  font-family: var(--khr-font-brand);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--khr-ink-3);
}

.w-list-detail .ld-row:not(.ld-row-h):hover {
  background: var(--khr-paper-tint);
}

.w-list-detail .ld-name {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--khr-teal-ink);
  font-weight: 600;
}

.w-list-detail .ld-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c, var(--khr-teal));
}

.w-list-detail .ld-av {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--khr-teal-light);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 600;
}

/* Mock — Board detalhado */
.w-board-detail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  background: var(--khr-paper);
  border: 1px solid var(--khr-line);
  border-radius: var(--r-md);
  padding: 10px;
  box-shadow: var(--sh-card);
}

.w-board-detail .bd-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.w-board-detail .bd-h {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--khr-font-brand);
  font-size: 10px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--khr-teal-ink);
  padding: 6px 8px;
  border-top: 3px solid var(--c, var(--khr-teal));
  background: #fff;
  border-radius: 3px 3px 0 0;
  font-weight: 600;
}

.w-board-detail .bd-h b {
  background: rgba(67, 112, 120, .12);
  padding: 1px 6px;
  border-radius: var(--r-pill);
  font-size: 10px;
  color: var(--khr-teal-dark);
  font-weight: 600;
}

.w-board-detail .bd-card {
  background: #fff;
  border: 1px solid var(--khr-line);
  border-radius: var(--r-sm);
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.w-board-detail .bd-card.faded {
  background: var(--khr-paper);
  border-style: dashed;
  text-align: center;
  font-size: 11px;
  color: var(--khr-ink-3);
  align-items: center;
  padding: 12px 10px;
}

.w-board-detail .bd-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--khr-teal-ink);
}

.w-board-detail .bd-meta {
  font-size: 10px;
  color: var(--khr-ink-3);
}

.w-board-detail .bd-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4px;
  font-size: 10px;
  color: var(--khr-ink-2);
}

.w-board-detail .bd-av {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--khr-teal-light);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 600;
}

@media (max-width: 640px) {
  .w-board-detail {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mock — Calendário detalhado */
.w-cal-detail {
  background: #fff;
  border: 1px solid var(--khr-line);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--sh-card);
}

.w-cal-detail .cd-toolbar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--khr-line);
  background: var(--khr-paper);
}

.w-cal-detail .cd-arrow {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--khr-line);
  background: #fff;
  color: var(--khr-teal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
}

.w-cal-detail .cd-title {
  font-family: var(--khr-font-brand);
  font-size: 13px;
  font-weight: 600;
  color: var(--khr-teal-dark);
  letter-spacing: .02em;
}

.w-cal-detail .cd-spacer {
  flex: 1;
}

.w-cal-detail .cd-toggle {
  padding: 3px 10px;
  border-radius: var(--r-pill);
  font-size: 10px;
  font-family: var(--khr-font-brand);
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: var(--khr-teal);
  color: #fff;
}

.w-cal-detail .cd-toggle.is-off {
  background: #fff;
  border: 1px solid var(--khr-line);
  color: var(--khr-ink-2);
}

.w-cal-detail .cd-weeknames {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  padding: 8px 12px 4px;
  font-family: var(--khr-font-brand);
  font-size: 10px;
  text-align: center;
  color: var(--khr-ink-3);
  letter-spacing: .08em;
}

.w-cal-detail .cd-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  padding: 0 12px 12px;
}

.w-cal-detail .cd-d {
  background: var(--khr-paper);
  border: 1px solid var(--khr-line);
  border-radius: 4px;
  min-height: 48px;
  padding: 4px 6px;
  font-size: 11px;
  color: var(--khr-ink-2);
  font-feature-settings: "lnum" 1, "tnum" 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.w-cal-detail .cd-d.cd-off {
  background: transparent;
  border-color: transparent;
}

.w-cal-detail .cd-d .cd-n {
  font-weight: 500;
}

.w-cal-detail .cd-d .cd-count {
  align-self: flex-end;
  font-family: var(--khr-font-sans);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
}

.w-cal-detail .cd-d.cd-today {
  background: var(--khr-teal-ink);
  border-color: var(--khr-teal-ink);
  color: #fff;
}

.w-cal-detail .cd-d.cd-today .cd-count {
  color: #fff;
}

.w-cal-detail .cd-d.cd-has-1 {
  background: rgba(67, 112, 120, .14);
  border-color: rgba(67, 112, 120, .30);
  color: var(--khr-teal-dark);
}

.w-cal-detail .cd-d.cd-has-1 .cd-count {
  color: var(--khr-teal-dark);
}

.w-cal-detail .cd-d.cd-has-2 {
  background: rgba(201, 138, 58, .18);
  border-color: rgba(201, 138, 58, .30);
  color: var(--khr-warning);
}

.w-cal-detail .cd-d.cd-has-2 .cd-count {
  color: var(--khr-warning);
}

.w-cal-detail .cd-d.cd-has-3 {
  background: rgba(176, 70, 58, .16);
  border-color: rgba(176, 70, 58, .30);
  color: var(--khr-danger);
}

.w-cal-detail .cd-d.cd-has-3 .cd-count {
  color: var(--khr-danger);
}

/* --------------------------------------------------------------------------
   Iteração 2b (2026-06): trabalho em equipe + timbre do laudo
   -------------------------------------------------------------------------- */

/* --- Bloco "A sua equipe" dentro da Gestão (faceta destacada) --- */
.team-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: var(--sp-16) 0 var(--sp-6);
}

.team-head-ico {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--khr-teal) 0%, var(--khr-teal-dark) 100%);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px -4px rgba(36, 74, 85, .40);
}

.team-head-ico svg {
  width: 24px;
  height: 24px;
}

.team-head-titles {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.team-head-eyebrow {
  font-family: var(--khr-font-brand);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--khr-teal);
}

.team-head h3 {
  margin: 0;
  font-size: clamp(1.3rem, 1.8vw, 1.55rem);
  color: var(--khr-teal-ink);
  letter-spacing: -.01em;
  line-height: 1.25;
  text-wrap: balance;
}

.team-panel {
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--khr-line);
  border-radius: var(--r-lg);
  background: linear-gradient(165deg, rgba(67, 112, 120, .07) 0%, rgba(67, 112, 120, .015) 55%);
}

@media (max-width: 560px) {
  .team-head {
    gap: 12px;
  }

  .team-head-ico {
    width: 40px;
    height: 40px;
  }

  .team-head-ico svg {
    width: 20px;
    height: 20px;
  }
}

/* --- Widget: equipe (usuários + papéis + responsáveis) --- */
.w-team {
  background: #fff;
  border: 1px solid var(--khr-line);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--sh-card);
  display: flex;
  flex-direction: column;
}

.tm-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--khr-line);
}

.tm-title {
  font-size: var(--fs-14);
  font-weight: 700;
  color: var(--khr-teal-ink);
}

.tm-add {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--khr-font-brand);
  font-size: 11px;
  font-weight: 600;
  color: var(--khr-teal);
  border: 1px solid var(--khr-teal-light);
  border-radius: var(--r-pill);
  padding: 4px 10px;
}

.tm-users {
  display: flex;
  flex-direction: column;
}

.tm-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  border-bottom: 1px solid var(--khr-line);
}

.tm-av {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--khr-teal);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
  font-family: var(--khr-font-brand);
}

.tm-av-2 {
  background: var(--khr-teal-light);
}

.tm-av-3 {
  background: var(--khr-warning);
}

.tm-u-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.tm-u-info b {
  font-size: var(--fs-13);
  color: var(--khr-ink);
  font-weight: 600;
}

.tm-u-info span {
  font-size: 11px;
  color: var(--khr-ink-3);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tm-role {
  font-family: var(--khr-font-brand);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .03em;
  padding: 3px 9px;
  border-radius: var(--r-pill);
  background: rgba(138, 160, 168, .16);
  color: var(--khr-ink-2);
  white-space: nowrap;
}

.tm-role-admin {
  background: rgba(67, 112, 120, .14);
  color: var(--khr-teal-dark);
}

.tm-assign {
  padding: 12px 16px;
  background: var(--khr-paper);
}

.tm-assign-h {
  display: block;
  font-family: var(--khr-font-brand);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--khr-ink-3);
  margin-bottom: 8px;
}

.tm-plan {
  font-family: var(--khr-font-brand);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--khr-teal);
  background: rgba(67, 112, 120, .12);
  padding: 1px 6px;
  border-radius: var(--r-pill);
  margin-left: 4px;
  text-transform: none;
}

.tm-assign-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.tm-task {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.tm-task b {
  font-size: var(--fs-13);
  color: var(--khr-ink);
  font-weight: 600;
}

.tm-task span {
  font-size: 11px;
  color: var(--khr-ink-3);
}

.tm-avatars {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.tm-av-sm {
  width: 26px;
  height: 26px;
  font-size: 10px;
  border: 2px solid var(--khr-paper);
}

.tm-avatars .tm-av-sm+.tm-av-sm {
  margin-left: -8px;
}

.tm-more {
  margin-left: -8px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--khr-paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: var(--khr-ink-2);
  font-family: var(--khr-font-brand);
}

/* --- Widget: timbre do laudo (cabeçalho com identidade) --- */
.w-timbre {
  background: var(--khr-paper);
  border: 1px solid var(--khr-line);
  border-radius: var(--r-md);
  padding: var(--sp-5);
  box-shadow: var(--sh-card);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tb-doc {
  background: #fff;
  border: 1px solid var(--khr-line);
  border-radius: var(--r-sm);
  padding: 16px 18px;
  box-shadow: 0 2px 8px rgba(28, 52, 64, .06);
}

.tb-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--khr-teal-dark);
}

.tb-logo {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--khr-teal-dark);
  font-family: var(--khr-font-brand);
  font-weight: 800;
  font-size: 9px;
  line-height: 1.05;
  letter-spacing: .04em;
}

.tb-org {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.tb-main {
  font-size: var(--fs-14);
  color: var(--khr-teal-ink);
  font-weight: 700;
  letter-spacing: -.01em;
}

.tb-sec {
  font-size: 11px;
  color: var(--khr-ink-2);
}

.tb-add {
  font-size: 10px;
  color: var(--khr-ink-3);
}

.tb-contacts {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: right;
  font-size: 9.5px;
  color: var(--khr-ink-3);
  font-feature-settings: "tnum" 1;
  white-space: nowrap;
}

.tb-title {
  margin-top: 12px;
  text-align: center;
  font-family: var(--khr-font-brand);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--khr-teal-dark);
}

.tb-lines {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 12px;
}

.tb-lines i {
  height: 6px;
  border-radius: 3px;
  background: var(--khr-paper-tint);
  display: block;
}

.tb-lines i.sm {
  width: 60%;
}

.tb-control {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  font-size: 11px;
  color: var(--khr-ink-2);
  background: #fff;
  border: 1px solid var(--khr-line);
  border-radius: var(--r-pill);
  padding: 5px 12px;
}

.tb-control b {
  color: var(--khr-teal-ink);
}

.tb-c-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--khr-success);
  color: #fff;
}

.tb-c-tag {
  font-family: var(--khr-font-brand);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--khr-teal);
  background: rgba(67, 112, 120, .12);
  padding: 1px 7px;
  border-radius: var(--r-pill);
}

@media (max-width: 460px) {
  .tb-header {
    grid-template-columns: auto 1fr;
  }

  .tb-contacts {
    grid-column: 1 / -1;
    text-align: left;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 4px 10px;
  }
}

/* ==========================================================================
   widgets v2 — Iteração 3: irius.html (IRIUS)
   ========================================================================== */

/* --- Decor único do hero IRIUS --- */
.hero.hero-irius::after {
  width: 700px;
  height: 700px;
  right: -120px;
  top: -60px;
  background-image: url("../img/decor/circuit-nodes.svg");
  opacity: .48;
}

/* --- Quick jumps no hero IRIUS (3 cartões densos: Extração / Assistente / Flow) --- */
.irius-quickjumps {
  list-style: none;
  margin: var(--sp-8) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1080px;
  margin-inline: auto;
}

.irius-quickjumps li {
  display: flex;
}

@media (max-width: 880px) {
  .irius-quickjumps {
    grid-template-columns: 1fr;
    max-width: 520px;
  }
}

.irius-quickjumps a {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto auto;
  column-gap: 14px;
  row-gap: 4px;
  width: 100%;
  text-decoration: none;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 12px;
  padding: 22px 22px 20px;
  text-align: left;
  transition: background var(--dur-base) var(--ease-std), border-color var(--dur-base) var(--ease-std), transform var(--dur-base) var(--ease-emp), box-shadow var(--dur-base) var(--ease-std);
}

.irius-quickjumps a:hover {
  background: rgba(255, 255, 255, .14);
  border-color: rgba(255, 255, 255, .4);
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -20px rgba(0, 0, 0, .6);
}

.irius-quickjumps .iq-ico {
  grid-column: 1;
  grid-row: 1;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .18) 0%, rgba(255, 255, 255, .06) 100%);
  border: 1px solid rgba(255, 255, 255, .22);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.irius-quickjumps .iq-ico svg {
  width: 20px;
  height: 20px;
}

.irius-quickjumps strong {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  color: #fff;
  font-family: var(--khr-font-brand);
  font-size: var(--fs-22);
  letter-spacing: -.01em;
  font-weight: 700;
  line-height: 1.1;
}

.irius-quickjumps .iq-desc {
  grid-column: 1 / -1;
  grid-row: 2;
  margin-top: var(--sp-3);
  font-size: var(--fs-14);
  color: rgba(255, 255, 255, .78);
  line-height: 1.5;
}

.irius-quickjumps .iq-cta {
  grid-column: 1 / -1;
  grid-row: 3;
  margin-top: var(--sp-3);
  padding-top: var(--sp-3);
  border-top: 1px solid rgba(255, 255, 255, .14);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--khr-font-brand);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .82);
}

.irius-quickjumps .iq-cta svg {
  transition: transform var(--dur-fast) var(--ease-std);
}

.irius-quickjumps a:hover .iq-cta {
  color: #fff;
}

.irius-quickjumps a:hover .iq-cta svg {
  transform: translateX(3px);
}

/* --- OGA: Objetivo / Ganho / Funcionamento (sub-blocos das seções dos produtos) --- */
.oga-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: var(--sp-4);
}

.oga-block {
  background: var(--khr-paper);
  border-left: 3px solid var(--khr-teal);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  padding: 10px 14px;
}

.oga-block .oga-label {
  display: inline-block;
  font-family: var(--khr-font-brand);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--khr-teal);
  margin-bottom: 4px;
}

.oga-block p {
  margin: 0;
  font-size: var(--fs-14);
  color: var(--khr-ink);
  line-height: 1.5;
}

/* --- Widget: IRIUS Extração (dropzone + classificação + tarefas) --- */
.w-irius-extract {
  background: #fff;
  border: 1px solid var(--khr-line);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--sh-card);
  display: flex;
  flex-direction: column;
}

.ie-drop {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 24px 16px;
  border: 2px dashed var(--khr-line);
  border-radius: var(--r-sm);
  margin: 16px;
  background: var(--khr-paper);
  text-align: center;
}

.ie-drop-ico {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(67, 112, 120, .14);
  color: var(--khr-teal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.ie-drop-text {
  font-size: var(--fs-14);
  color: var(--khr-teal-ink);
  font-weight: 500;
}

.ie-drop-hint {
  font-size: var(--fs-12);
  color: var(--khr-ink-3);
  font-family: var(--khr-font-brand);
  letter-spacing: .06em;
}

.ie-classify {
  margin: 0 16px 16px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--khr-teal-light);
  border-radius: var(--r-sm);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ie-c-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.ie-c-name {
  font-size: var(--fs-14);
  font-weight: 600;
  color: var(--khr-teal-ink);
}

.ie-c-type {
  font-family: var(--khr-font-brand);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  padding: 3px 9px;
  border-radius: var(--r-pill);
  background: rgba(67, 112, 120, .12);
  color: var(--khr-teal-dark);
}

.ie-c-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-12);
  font-weight: 500;
  padding: 4px 0;
  border-top: 1px dashed var(--khr-line);
  padding-top: 8px;
}

.ie-c-high {
  color: var(--khr-success);
}

.ie-c-high svg {
  background: var(--khr-success);
  color: #fff;
  border-radius: 50%;
  padding: 2px;
}

.ie-tasks {
  border-top: 1px solid var(--khr-line);
}

.ie-t-row {
  display: grid;
  grid-template-columns: 1.4fr 100px 110px;
  gap: 12px;
  padding: 9px 16px;
  font-size: var(--fs-12);
  border-top: 1px solid var(--khr-line);
  align-items: center;
}

.ie-t-row .ie-t-pill {
  justify-self: start;
}

.ie-t-date {
  font-family: var(--khr-font-sans);
  font-feature-settings: "lnum" 1, "tnum" 1;
  font-size: 11px;
  color: var(--khr-ink-3);
  letter-spacing: .01em;
}

.ie-t-row:first-child {
  border-top: 0;
}

.ie-t-row.ie-t-h {
  font-family: var(--khr-font-brand);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--khr-ink-3);
  background: var(--khr-paper);
}

.ie-t-pill {
  font-family: var(--khr-font-brand);
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--r-pill);
  letter-spacing: .04em;
}

.ie-t-pill.ok {
  background: rgba(79, 138, 107, .16);
  color: var(--khr-success);
}

.ie-t-pill.proc {
  background: rgba(67, 112, 120, .12);
  color: var(--khr-teal-dark);
}

/* --- Widget: IRIUS Assistente (chat) --- */
.w-irius-chat {
  background: var(--khr-paper);
  border: 1px solid var(--khr-line);
  border-radius: var(--r-md);
  padding: var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--sh-card);
}

.ic-bubble {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 92%;
}

.ic-bubble.ic-user {
  flex-direction: row-reverse;
  align-self: flex-end;
}

.ic-bubble.ic-user span:first-child {
  background: var(--khr-teal);
  color: #fff;
  padding: 10px 14px;
  border-radius: 14px 14px 4px 14px;
  font-size: var(--fs-14);
  line-height: 1.45;
}

.ic-bubble .ic-av {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--khr-teal-light);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 600;
  flex-shrink: 0;
}

.ic-bubble.ic-ai {
  align-self: flex-start;
}

.ic-bubble.ic-ai .ic-ico {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--khr-teal) 0%, var(--khr-teal-light) 100%);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ic-body {
  background: #fff;
  border: 1px solid var(--khr-line);
  border-radius: 14px 14px 14px 4px;
  padding: 10px 14px;
  font-size: var(--fs-14);
  line-height: 1.5;
  color: var(--khr-ink);
}

.ic-body p {
  margin: 0 0 6px;
}

.ic-body p:last-of-type {
  margin-bottom: 0;
}

.ic-body strong {
  color: var(--khr-teal-dark);
}

.ic-sources {
  display: block;
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px dashed var(--khr-line);
  font-size: 11px;
  color: var(--khr-ink-3);
  font-family: var(--khr-font-brand);
  letter-spacing: .04em;
}

.ic-shimmer {
  background: #fff;
  border: 1px solid var(--khr-line);
  border-radius: 14px 14px 14px 4px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 220px;
}

.ic-shimmer i {
  display: block;
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--khr-paper) 0%, var(--khr-paper-tint) 50%, var(--khr-paper) 100%);
  background-size: 200% 100%;
  animation: ic-shim 1.4s ease-in-out infinite;
}

.ic-shimmer i:nth-child(1) {
  width: 80%;
}

.ic-shimmer i:nth-child(2) {
  width: 95%;
}

.ic-shimmer i:nth-child(3) {
  width: 60%;
}

@keyframes ic-shim {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

/* --- Widget: IRIUS Flow (3 cards + prompt + CTA) --- */
.w-irius-flow {
  background: #fff;
  border: 1px solid var(--khr-line);
  border-radius: var(--r-md);
  padding: var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--sh-card);
}

.if-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.if-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 8px;
  border-radius: var(--r-sm);
  background: var(--khr-paper);
  border: 1px solid var(--khr-line);
  font-size: 11px;
  font-weight: 600;
  color: var(--khr-teal-dark);
  font-family: var(--khr-font-brand);
  letter-spacing: .02em;
  text-align: center;
}

.if-card.if-c-active {
  background: linear-gradient(135deg, var(--khr-teal-dark) 0%, var(--khr-teal) 100%);
  color: #fff;
  border-color: var(--khr-teal);
}

.if-card .if-c-ico {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(67, 112, 120, .16);
  color: var(--khr-teal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.if-card.if-c-active .if-c-ico {
  background: rgba(255, 255, 255, .18);
  color: #fff;
}

.if-prompt {
  background: var(--khr-paper);
  border-radius: var(--r-sm);
  padding: 12px 14px;
}

.if-prompt-h {
  font-family: var(--khr-font-brand);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--khr-teal);
  margin-bottom: 6px;
}

.if-prompt-text {
  margin: 0;
  font-size: var(--fs-13);
  color: var(--khr-ink);
  line-height: 1.5;
  font-style: italic;
}

.if-attach {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 11px;
  color: var(--khr-ink-3);
  font-family: var(--khr-font-brand);
}

.if-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--khr-teal) 0%, var(--khr-teal-dark) 100%);
  color: #fff;
  border: 0;
  border-radius: var(--r-sm);
  padding: 12px 18px;
  font-family: var(--khr-font-brand);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  cursor: pointer;
  box-shadow: 0 4px 12px -4px rgba(36, 74, 85, .30);
  transition: transform var(--dur-fast) var(--ease-emp), box-shadow var(--dur-fast) var(--ease-std);
}

.if-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px -6px rgba(36, 74, 85, .42);
}

/* --- Widget: IRIUS Insights (credits pill + donut + sparkline) --- */
.w-irius-insights {
  background: var(--khr-paper);
  border: 1px solid var(--khr-line);
  border-radius: var(--r-md);
  padding: var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--sh-card);
}

.ii-pill {
  background: #fff;
  border: 1px solid var(--khr-line);
  border-radius: var(--r-md);
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ii-pill-h {
  font-family: var(--khr-font-brand);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--khr-teal-dark);
}

.ii-pill-bar {
  height: 10px;
  background: var(--khr-paper);
  border-radius: var(--r-pill);
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .04);
}

.ii-pill-fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--khr-teal) 0%, var(--khr-teal-light) 100%);
  border-radius: var(--r-pill);
}

.ii-pill-row {
  display: flex;
  justify-content: space-between;
  font-size: var(--fs-12);
  color: var(--khr-ink-2);
}

.ii-pill-row b {
  color: var(--khr-teal-ink);
  font-weight: 600;
}

.ii-pill-rem {
  color: var(--khr-ink-3);
  font-family: var(--khr-font-brand);
  letter-spacing: .04em;
  font-size: 11px;
}

.ii-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

@media (max-width: 540px) {
  .ii-grid {
    grid-template-columns: 1fr;
  }
}

.ii-card {
  background: #fff;
  border: 1px solid var(--khr-line);
  border-radius: var(--r-md);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ii-card-h {
  font-family: var(--khr-font-brand);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--khr-teal-dark);
}

.ii-donut {
  display: flex;
  justify-content: center;
  align-items: center;
}

.ii-donut-svg {
  width: 100px;
  height: 100px;
}

.ii-legend {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 11px;
  color: var(--khr-ink-2);
}

.ii-legend .ii-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c, var(--khr-teal));
  margin-right: 6px;
  vertical-align: middle;
}

.ii-spark {
  width: 100%;
  height: 60px;
  flex: 1;
}

.ii-foot {
  font-size: var(--fs-12);
  color: var(--khr-ink-2);
  text-align: center;
}

.ii-foot b {
  color: var(--khr-success);
  font-weight: 700;
}

/* --- Billing IRIUS (Como é cobrado) --- */
.irius-billing {
  background: linear-gradient(135deg, var(--khr-teal-ink) 0%, var(--khr-teal-dark) 100%);
  border-radius: var(--r-md);
  padding: var(--sp-8);
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
  position: relative;
  overflow: hidden;
}

.irius-billing::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.irius-billing>* {
  position: relative;
  z-index: 1;
}

.ib-eyebrow {
  display: inline-block;
  font-family: var(--khr-font-brand);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .72);
  margin-bottom: 8px;
}

.irius-billing h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: var(--fs-28);
  letter-spacing: -.01em;
}

.irius-billing p {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, .82);
  line-height: 1.6;
}

.irius-billing p strong {
  color: #fff;
}

.irius-billing .ib-table {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--r-sm);
  overflow: hidden;
}

.ib-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 12px;
  padding: 10px 16px;
  border-top: 1px solid rgba(255, 255, 255, .10);
  font-size: var(--fs-14);
  color: rgba(255, 255, 255, .92);
}

.ib-row:first-child {
  border-top: 0;
}

.ib-row.ib-row-h {
  font-family: var(--khr-font-brand);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
  background: rgba(255, 255, 255, .04);
}

.irius-billing .btn {
  align-self: flex-start;
}

.irius-billing .btn:not(.btn-on-dark) {
  background: #fff;
  color: var(--khr-teal-dark);
  border-color: #fff;
}

.irius-billing .btn:not(.btn-on-dark):hover {
  background: var(--khr-paper);
  color: var(--khr-teal-ink);
}

@media (max-width: 720px) {
  .ib-row {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .ib-row>span:nth-child(3) {
    grid-column: 1 / -1;
    color: rgba(255, 255, 255, .7);
    font-size: 12px;
  }
}

/* --------------------------------------------------------------------------
   Iteração 3b (2026-06): frentes IRIUS detalhadas — revisão · espaço · plano
   -------------------------------------------------------------------------- */

/* --- Widget: IRIUS Extração — revisão assistida --- */
.w-irius-review {
  background: #fff;
  border: 1px solid var(--khr-line);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--sh-card);
  display: flex;
  flex-direction: column;
}

.rv-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--khr-line);
}

.rv-file {
  font-size: var(--fs-14);
  font-weight: 600;
  color: var(--khr-teal-ink);
}

.rv-chip {
  font-family: var(--khr-font-brand);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .04em;
  padding: 3px 9px;
  border-radius: var(--r-pill);
  background: rgba(201, 138, 58, .16);
  color: var(--khr-warning);
  white-space: nowrap;
}

.rv-progress {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: var(--khr-paper);
}

.rv-bar {
  flex: 1;
  height: 6px;
  background: #fff;
  border-radius: var(--r-pill);
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .05);
}

.rv-bar-fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--khr-teal) 0%, var(--khr-teal-light) 100%);
  border-radius: var(--r-pill);
}

.rv-count {
  font-size: 11px;
  color: var(--khr-ink-3);
  font-family: var(--khr-font-brand);
  letter-spacing: .02em;
  white-space: nowrap;
}

.rv-grid {
  padding: 12px 16px 4px;
}

.rv-g-row {
  display: grid;
  grid-template-columns: 46px repeat(4, 1fr);
  gap: 6px;
  padding: 5px 0;
  font-size: 11px;
  color: var(--khr-ink);
  font-feature-settings: "tnum" 1;
  align-items: center;
}

.rv-g-row.rv-g-h {
  font-family: var(--khr-font-brand);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--khr-ink-3);
}

.rv-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: var(--r-sm);
  background: rgba(201, 138, 58, .18);
  color: var(--khr-warning);
  font-weight: 700;
}

.rv-issues {
  padding: 8px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rv-issue {
  border: 1px solid var(--khr-line);
  border-left-width: 3px;
  border-radius: var(--r-sm);
  padding: 9px 12px;
  background: var(--khr-paper);
}

.rv-issue.rv-warn {
  border-left-color: var(--khr-warning);
}

.rv-issue.rv-done {
  border-left-color: var(--khr-success);
  background: rgba(79, 138, 107, .07);
}

.rv-i-head {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rv-i-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--khr-warning);
}

.rv-i-ico.rv-i-ok {
  color: var(--khr-success);
}

.rv-i-title {
  font-size: var(--fs-14);
  font-weight: 600;
  color: var(--khr-teal-ink);
  flex: 1;
}

.rv-i-page {
  font-size: 10px;
  color: var(--khr-ink-3);
  font-family: var(--khr-font-brand);
  white-space: nowrap;
}

.rv-i-resolved {
  font-size: 11px;
  color: var(--khr-success);
  font-style: italic;
  white-space: nowrap;
}

.rv-i-meta {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  color: var(--khr-ink-3);
  font-family: var(--khr-font-brand);
  letter-spacing: .03em;
}

.rv-i-vals {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 7px;
}

.rv-v {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: var(--r-sm);
  background: rgba(138, 160, 168, .18);
  color: var(--khr-ink-2);
}

.rv-v.rv-v-alt {
  background: rgba(67, 112, 120, .14);
  color: var(--khr-teal-dark);
  font-weight: 600;
}

.rv-i-actions {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}

.rv-act {
  font-family: var(--khr-font-brand);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  border: 1px solid var(--khr-line-strong);
  color: var(--khr-ink-2);
}

.rv-act.rv-act-primary {
  background: var(--khr-teal);
  border-color: var(--khr-teal);
  color: #fff;
}

@media (max-width: 380px) {
  .rv-g-row {
    gap: 4px;
    font-size: 10px;
  }
}

/* --- Widget: IRIUS Assistente — espaço de trabalho (lateral + chat) --- */
.w-irius-shell {
  background: #fff;
  border: 1px solid var(--khr-line);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--sh-card);
  display: grid;
  grid-template-columns: 128px 1fr;
}

.sh-rail {
  background: var(--khr-paper);
  border-right: 1px solid var(--khr-line);
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sh-logo {
  font-family: var(--khr-font-brand);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .02em;
  color: var(--khr-teal);
  padding: 2px 6px 8px;
}

.sh-nav {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 7px;
  border-radius: var(--r-sm);
  font-size: 11px;
  font-weight: 500;
  color: var(--khr-ink-2);
}

.sh-nav svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

.sh-nav.sh-nav-active {
  background: rgba(67, 112, 120, .12);
  color: var(--khr-teal-dark);
  font-weight: 600;
}

.sh-recent-h {
  font-family: var(--khr-font-brand);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--khr-ink-3);
  padding: 12px 7px 4px;
}

.sh-recent {
  font-size: 11px;
  color: var(--khr-ink-2);
  padding: 4px 7px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sh-chat {
  padding: var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--khr-paper);
}

@media (max-width: 460px) {
  .w-irius-shell {
    grid-template-columns: 1fr;
  }

  .sh-rail {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
    border-right: 0;
    border-bottom: 1px solid var(--khr-line);
  }

  .sh-logo {
    width: 100%;
    padding-bottom: 2px;
  }

  .sh-recent-h,
  .sh-recent {
    display: none;
  }
}

/* --- Widget: IRIUS Flow — plano de execução (stepper) --- */
.w-irius-plan {
  background: #fff;
  border: 1px solid var(--khr-line);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--sh-card);
  display: flex;
  flex-direction: column;
}

.pl-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px 0;
}

.pl-title {
  font-size: var(--fs-14);
  font-weight: 700;
  color: var(--khr-teal-ink);
}

.pl-chip {
  font-family: var(--khr-font-brand);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .04em;
  padding: 3px 9px;
  border-radius: var(--r-pill);
  background: rgba(67, 112, 120, .14);
  color: var(--khr-teal-dark);
  white-space: nowrap;
}

.pl-progress {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 12px;
  border-bottom: 1px solid var(--khr-line);
}

.pl-bar {
  flex: 1;
  height: 5px;
  background: var(--khr-paper);
  border-radius: var(--r-pill);
  overflow: hidden;
}

.pl-bar-fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--khr-teal) 0%, var(--khr-teal-light) 100%);
  border-radius: var(--r-pill);
}

.pl-count {
  font-size: 11px;
  color: var(--khr-ink-3);
  font-family: var(--khr-font-brand);
  white-space: nowrap;
}

.pl-steps {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
}

.pl-group {
  border: 1px solid var(--khr-line);
  border-radius: var(--r-sm);
  overflow: hidden;
  background: var(--khr-paper);
}

.pl-g-bar {
  display: block;
  height: 3px;
  background: var(--khr-line-strong);
}

.pl-done .pl-g-bar,
.pl-reports .pl-g-bar {
  background: var(--khr-success);
}

.pl-running .pl-g-bar {
  background: var(--khr-teal);
}

.pl-g-label {
  display: block;
  font-size: var(--fs-14);
  font-weight: 600;
  color: var(--khr-teal-ink);
  padding: 7px 12px 5px;
}

.pl-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  font-size: 12px;
  color: var(--khr-ink);
  border-top: 1px solid var(--khr-line);
  background: #fff;
}

.pl-row.pl-pending {
  color: var(--khr-ink-3);
}

.pl-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  border-radius: 50%;
}

.pl-ico.pl-ok {
  color: var(--khr-success);
}

.pl-ico.pl-run {
  background: var(--khr-teal);
}

.pl-ico.pl-run::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
}

.pl-ico.pl-wait {
  border: 1.5px solid var(--khr-line-strong);
}

.pl-ico.pl-doc {
  color: var(--khr-success);
}

.pl-act {
  margin-left: auto;
  font-family: var(--khr-font-brand);
  font-size: 10px;
  font-weight: 600;
  color: var(--khr-teal);
}

.pl-conn {
  width: 1.5px;
  height: 14px;
  background: var(--khr-line-strong);
  margin: 0 auto;
}

/* --- Widget: IRIUS Assistente — jurisprudência na conversa --- */
.w-juris {
  background: var(--khr-paper);
  border: 1px solid var(--khr-line);
  border-radius: var(--r-md);
  padding: var(--sp-5);
  box-shadow: var(--sh-card);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.jr-step {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  font-family: var(--khr-font-brand);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--khr-teal-dark);
  background: rgba(67, 112, 120, .10);
  border-radius: var(--r-pill);
  padding: 3px 10px;
  margin-bottom: 8px;
}

.jr-step svg {
  color: var(--khr-teal);
  flex-shrink: 0;
}

.jr-cite {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 8px;
  padding: 8px 10px;
  background: var(--khr-paper);
  border-left: 3px solid var(--khr-teal);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}

.jr-badge {
  font-family: var(--khr-font-brand);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .03em;
  color: #fff;
  border-radius: var(--r-sm);
  padding: 2px 7px;
  flex-shrink: 0;
}

.jr-tst {
  background: var(--khr-teal-dark);
}

.jr-trt {
  background: var(--khr-teal-light);
}

.jr-cite-body {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.jr-cite-body b {
  font-size: var(--fs-13);
  color: var(--khr-teal-ink);
  font-weight: 700;
}

.jr-cite-body span {
  font-size: 11px;
  color: var(--khr-ink-2);
  line-height: 1.4;
}

/* ==========================================================================
   widgets v2 — Iteração 4: planos.html (5 planos mensais)
   ========================================================================== */

/* Decor único do hero Planos */
.hero.hero-planos::after {
  width: 560px;
  height: 380px;
  right: -60px;
  top: 60px;
  background-image: url("../img/decor/pricing-stairs.svg");
  opacity: .42;
}

/* --- Persona com recomendação de plano --- */
.persona-rec {
  margin-top: var(--sp-3);
  padding-top: var(--sp-3);
  border-top: 1px dashed var(--khr-line);
  display: block;
  font-family: var(--khr-font-brand);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .02em;
  color: var(--khr-ink-3);
}

.persona-rec strong {
  color: var(--khr-teal-dark);
  font-weight: 700;
}

/* --- 5 cartões de plano --- */
.plan-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  align-items: stretch;
}

@media (max-width: 1280px) {
  .plan-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 880px) {
  .plan-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .plan-cards {
    grid-template-columns: 1fr;
  }
}

.plan-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--khr-line);
  border-radius: var(--r-md);
  padding: var(--sp-6) var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  box-shadow: var(--sh-card);
  transition: transform var(--dur-base) var(--ease-std), box-shadow var(--dur-base) var(--ease-std), border-color var(--dur-base) var(--ease-std);
}

.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-card-hover);
  border-color: var(--khr-teal-light);
}

.plan-card.pc-popular {
  border-color: var(--khr-teal);
  border-width: 2px;
  background: linear-gradient(180deg, rgba(67, 112, 120, .04) 0%, #fff 60%);
  transform: translateY(-8px);
}

.plan-card.pc-popular:hover {
  transform: translateY(-12px);
}

.plan-card.pc-complete {
  background: linear-gradient(160deg, var(--khr-teal-ink) 0%, var(--khr-teal-dark) 100%);
  border-color: var(--khr-teal-dark);
  color: #fff;
}

.plan-card.pc-complete:hover {
  border-color: var(--khr-teal);
}

.plan-card.pc-complete .pc-desc {
  color: rgba(255, 255, 255, .78);
}

.plan-card.pc-complete .pc-amount {
  color: #fff;
}

.plan-card.pc-complete .pc-currency,
.plan-card.pc-complete .pc-period {
  color: rgba(255, 255, 255, .65);
}

.plan-card.pc-complete .pc-features li {
  color: rgba(255, 255, 255, .86);
  border-bottom-color: rgba(255, 255, 255, .10);
}

.plan-card.pc-complete .pc-features li strong {
  color: #fff;
}

.pc-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--khr-font-brand);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  background: var(--khr-teal);
  color: #fff;
  white-space: nowrap;
  box-shadow: 0 4px 10px -2px rgba(36, 74, 85, .30);
}

.plan-card.pc-complete .pc-badge {
  background: linear-gradient(135deg, var(--khr-teal-light) 0%, #fff 100%);
  color: var(--khr-teal-ink);
}

.pc-h {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pc-name {
  font-family: var(--khr-font-brand);
  font-size: var(--fs-22);
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--khr-teal-ink);
}

.plan-card.pc-complete .pc-name {
  color: #fff;
}

.pc-desc {
  margin: 0;
  font-size: var(--fs-12);
  color: var(--khr-ink-3);
}

.pc-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-family: var(--khr-font-sans);
  font-feature-settings: "lnum" 1, "tnum" 1;
  padding-bottom: var(--sp-3);
  border-bottom: 1px solid var(--khr-line);
}

.plan-card.pc-complete .pc-price {
  border-bottom-color: rgba(255, 255, 255, .14);
}

.pc-currency {
  font-size: var(--fs-14);
  color: var(--khr-ink-2);
  font-weight: 600;
}

.pc-amount {
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  font-weight: 600;
  color: var(--khr-teal-ink);
  letter-spacing: -.02em;
}

.pc-period {
  font-size: var(--fs-12);
  color: var(--khr-ink-3);
}

.pc-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.pc-features li {
  padding: 8px 0;
  font-size: var(--fs-14);
  color: var(--khr-ink);
  border-bottom: 1px dashed var(--khr-line);
}

.pc-features li:last-child {
  border-bottom: 0;
}

.pc-features li strong {
  color: var(--khr-teal-dark);
  font-family: var(--khr-font-sans);
  font-weight: 700;
  font-feature-settings: "lnum" 1, "tnum" 1;
}

.pc-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 18px;
  background: var(--khr-teal);
  color: #fff;
  border-radius: var(--r-sm);
  font-family: var(--khr-font-brand);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .02em;
  text-decoration: none;
  transition: background var(--dur-fast) var(--ease-std), transform var(--dur-fast) var(--ease-std);
}

.pc-cta:hover {
  background: var(--khr-teal-dark);
  color: #fff;
  transform: translateY(-1px);
}

.pc-cta svg {
  transition: transform var(--dur-fast) var(--ease-std);
}

.pc-cta:hover svg {
  transform: translateX(3px);
}

.plan-card.pc-popular .pc-cta {
  background: var(--khr-teal-dark);
}

.plan-card.pc-complete .pc-cta {
  background: #fff;
  color: var(--khr-teal-ink);
}

.plan-card.pc-complete .pc-cta:hover {
  background: var(--khr-paper-tint);
  color: var(--khr-teal-ink);
}

.plan-note {
  margin: var(--sp-8) auto 0;
  text-align: center;
  max-width: 720px;
  font-size: var(--fs-14);
  color: var(--khr-ink-2);
}

.plan-note strong {
  color: var(--khr-teal-dark);
}

/* --- Excedente do IRIUS (card explicativo) --- */
.excedente-card {
  background: linear-gradient(135deg, #fff 0%, var(--khr-paper-tint) 100%);
  border: 1px solid var(--khr-line);
  border-radius: var(--r-md);
  padding: var(--sp-8);
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: var(--sp-8);
  align-items: center;
}

@media (max-width: 880px) {
  .excedente-card {
    grid-template-columns: 1fr;
    gap: var(--sp-5);
  }
}

.ex-eyebrow {
  display: inline-block;
  font-family: var(--khr-font-brand);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--khr-teal);
  padding: 3px 9px;
  border-radius: var(--r-pill);
  background: rgba(67, 112, 120, .12);
  margin-bottom: 8px;
  line-height: 1.2;
}

.excedente-card h3 {
  margin: 0 0 8px;
  font-size: var(--fs-22);
  color: var(--khr-teal-ink);
  line-height: 1.25;
}

.excedente-card p {
  margin: 0;
  font-size: var(--fs-14);
  color: var(--khr-ink-2);
  line-height: 1.55;
}

.excedente-card p strong {
  color: var(--khr-teal-dark);
}

.ex-formula {
  background: #fff;
  border: 1px solid var(--khr-line);
  border-radius: var(--r-md);
  padding: var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: var(--sh-card);
}

.ex-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 8px;
  align-items: baseline;
  font-size: var(--fs-14);
  color: var(--khr-ink);
}

.ex-row .ex-op {
  grid-column: 1;
  font-family: var(--khr-font-brand);
  color: var(--khr-teal);
  font-weight: 700;
  font-size: var(--fs-16);
}

.ex-row .ex-label {
  grid-column: 2;
  color: var(--khr-ink-2);
}

.ex-row.ex-row-add .ex-label {
  grid-column: 2;
}

.ex-row .ex-value {
  grid-column: 3;
  font-family: var(--khr-font-sans);
  font-feature-settings: "lnum" 1, "tnum" 1;
  color: var(--khr-teal-ink);
}

.ex-row.ex-row-total {
  margin-top: 6px;
  padding-top: 10px;
  border-top: 2px solid var(--khr-teal);
}

.ex-row.ex-row-total .ex-label {
  font-family: var(--khr-font-brand);
  font-weight: 700;
  color: var(--khr-teal-dark);
}

.ex-row.ex-row-total .ex-value {
  font-size: var(--fs-18);
  font-weight: 600;
  color: var(--khr-teal-dark);
}

.ex-hint {
  margin-top: 6px;
  font-size: 11px;
  color: var(--khr-ink-3);
  font-style: italic;
}

/* --- Matriz comparativa de features --- */
.feature-matrix {
  background: #fff;
  border: 1px solid var(--khr-line);
  border-radius: var(--r-md);
  overflow-x: auto;
  box-shadow: var(--sh-card);
}

.fm-head,
.fm-row {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) repeat(4, minmax(90px, 1fr));
  gap: 0;
  align-items: stretch;
  width: 100%;
  min-width: 760px;
}

.fm-head {
  background: var(--khr-teal-ink);
  color: #fff;
}

.fm-head .fm-h-feat,
.fm-head .fm-h-plan {
  padding: 14px 12px;
  font-family: var(--khr-font-brand);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
}

.fm-head .fm-h-feat {
  text-align: left;
}

.fm-head .fm-h-popular small,
.fm-head .fm-h-complete small {
  display: block;
  margin-top: 2px;
  font-size: 9px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .7);
  font-weight: 500;
}

.fm-row {
  padding: 0;
  border-top: 1px solid var(--khr-line);
  font-size: var(--fs-14);
}

.fm-row>span {
  padding: 10px 12px;
  text-align: center;
  color: var(--khr-ink);
  font-feature-settings: "lnum" 1, "tnum" 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fm-row .fm-feat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-align: left;
  justify-content: flex-start;
  font-weight: 500;
  color: var(--khr-teal-ink);
  white-space: nowrap;
}

.fm-row .fm-ck {
  color: var(--khr-success);
  font-weight: 700;
}

.fm-row .fm-no {
  color: var(--khr-ink-3);
  font-weight: 400;
}

/* Colunas destacadas (Select e Supreme) — separado por contexto */
/* Header sobre teal-ink: rgba branca para criar contraste sutil */
.fm-head .fm-h-popular {
  background: rgba(255, 255, 255, .08);
}

.fm-head .fm-h-complete {
  background: rgba(255, 255, 255, .14);
}

/* Body sobre branco: rgba teal para criar contraste sutil */
.fm-row>span:nth-child(4) {
  background: rgba(67, 112, 120, .04);
}

.fm-row>span:nth-child(5) {
  background: rgba(67, 112, 120, .08);
}

.fm-section {
  width: 100%;
  min-width: 760px;
  padding: 10px 14px;
  background: var(--khr-paper);
  font-family: var(--khr-font-brand);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--khr-teal-dark);
  border-top: 1px solid var(--khr-line);
  box-sizing: border-box;
}

/* --- Simulador --- */
.plan-simulator {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--sp-6);
  background: var(--khr-paper);
  border: 1px solid var(--khr-line);
  border-radius: var(--r-md);
  padding: var(--sp-6);
  align-items: stretch;
}

@media (max-width: 880px) {
  .plan-simulator {
    grid-template-columns: 1fr;
  }
}

.ps-form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
  justify-content: center;
}

.ps-input {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ps-input label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--khr-font-brand);
  font-size: var(--fs-14);
  font-weight: 600;
  color: var(--khr-teal-ink);
}

.ps-out {
  font-family: var(--khr-font-sans);
  font-feature-settings: "lnum" 1, "tnum" 1;
  font-size: var(--fs-18);
  font-weight: 700;
  color: var(--khr-teal);
}

.ps-input input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--khr-teal) 0%, var(--khr-teal-light) 100%);
  border-radius: var(--r-pill);
  outline: none;
}

.ps-input input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--khr-teal);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(28, 52, 64, .20);
  transition: transform var(--dur-fast) var(--ease-emp);
}

.ps-input input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.ps-input input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--khr-teal);
  cursor: pointer;
}

.ps-scale {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--khr-ink-3);
  font-family: var(--khr-font-brand);
  font-feature-settings: "lnum" 1, "tnum" 1;
  letter-spacing: .04em;
}

.ps-result {
  background: #fff;
  border: 1px solid var(--khr-line);
  border-radius: var(--r-md);
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  box-shadow: var(--sh-card);
  text-align: center;
}

.ps-eyebrow {
  font-family: var(--khr-font-brand);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--khr-teal);
}

.ps-plan-name {
  font-family: var(--khr-font-brand);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--khr-teal-ink);
  letter-spacing: -.02em;
  line-height: 1.1;
}

.ps-plan-meta {
  font-size: var(--fs-12);
  color: var(--khr-ink-3);
}

.ps-totals {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: var(--sp-3);
  margin-top: var(--sp-3);
  border-top: 1px dashed var(--khr-line);
}

.ps-total-line {
  display: flex;
  justify-content: space-between;
  font-size: var(--fs-14);
  color: var(--khr-ink-2);
}

.ps-total-line em {
  font-style: normal;
  color: var(--khr-ink-3);
  font-size: 11px;
}

.ps-total-line .ps-val {
  font-family: var(--khr-font-sans);
  font-feature-settings: "lnum" 1, "tnum" 1;
  color: var(--khr-teal-ink);
  font-weight: 500;
}

.ps-total-line.ps-total-final {
  margin-top: 6px;
  padding-top: 10px;
  border-top: 2px solid var(--khr-teal);
}

.ps-total-line.ps-total-final span {
  color: var(--khr-teal-dark);
  font-weight: 700;
  font-family: var(--khr-font-brand);
  font-size: var(--fs-14);
}

.ps-val-final {
  font-size: var(--fs-22) !important;
  font-weight: 600 !important;
}

.ps-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 18px;
  background: var(--khr-teal);
  color: #fff;
  border-radius: var(--r-sm);
  font-family: var(--khr-font-brand);
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
  margin-top: var(--sp-3);
  transition: background var(--dur-fast) var(--ease-std);
}

.ps-cta:hover {
  background: var(--khr-teal-dark);
  color: #fff;
}

/* --- Benefícios comuns (grid de 4) --- */
.benefits-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-5);
}

@media (max-width: 880px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .benefits-grid {
    grid-template-columns: 1fr;
  }
}

.benefit {
  background: #fff;
  border: 1px solid var(--khr-line);
  border-radius: var(--r-md);
  padding: var(--sp-5);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

.bf-ico {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(67, 112, 120, .12);
  color: var(--khr-teal);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.bf-ico svg {
  width: 20px;
  height: 20px;
}

.benefit h6 {
  margin: 0;
  font-size: var(--fs-16);
  color: var(--khr-teal-ink);
}

.benefit p {
  margin: 0;
  font-size: var(--fs-12);
  color: var(--khr-ink-2);
  line-height: 1.5;
}

/* ==========================================================================
   widgets v2 — Iteração 5: confianca.html (segurança + LGPD)
   ========================================================================== */

/* Decor único do hero Confiança */
.hero.hero-confianca::after {
  width: 420px;
  height: 450px;
  right: -40px;
  top: 30px;
  background-image: url("../img/decor/shield-trace.svg");
  opacity: .45;
}

/* --- Audit log (trilha de auditoria por usuário) --- */
.audit-log {
  background: #fff;
  border: 1px solid var(--khr-line);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--sh-card);
}

.al-h,
.al-row {
  display: grid;
  grid-template-columns: 90px 140px 1fr 180px;
  gap: 14px;
  align-items: center;
  padding: 11px 16px;
  border-top: 1px solid var(--khr-line);
}

.al-h {
  background: var(--khr-paper);
  border-top: 0;
  font-family: var(--khr-font-brand);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--khr-ink-3);
}

.al-row {
  font-size: var(--fs-14);
  color: var(--khr-ink);
}

.al-row:hover {
  background: var(--khr-paper-tint);
}

.al-when {
  display: flex;
  flex-direction: column;
  font-family: var(--khr-font-sans);
  font-feature-settings: "lnum" 1, "tnum" 1;
  line-height: 1.15;
}

.al-when b {
  font-weight: 600;
  color: var(--khr-teal-ink);
  font-size: 13px;
}

.al-when span {
  font-size: 11px;
  color: var(--khr-ink-3);
}

.al-who {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--khr-teal-ink);
  font-weight: 500;
}

.al-av {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--khr-teal-light);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 600;
  font-family: var(--khr-font-brand);
}

.al-what {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.al-action {
  display: inline-block;
  font-family: var(--khr-font-brand);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: var(--r-pill);
  line-height: 1.2;
}

.al-action-edit {
  background: rgba(201, 138, 58, .16);
  color: var(--khr-warning);
}

.al-action-export {
  background: rgba(67, 112, 120, .14);
  color: var(--khr-teal-dark);
}

.al-action-create {
  background: rgba(79, 138, 107, .16);
  color: var(--khr-success);
}

.al-action-login {
  background: rgba(111, 160, 168, .18);
  color: var(--khr-teal);
}

.al-action-print {
  background: rgba(176, 70, 58, .14);
  color: var(--khr-danger);
}

.al-where {
  font-family: var(--khr-font-sans);
  font-feature-settings: "lnum" 1, "tnum" 1;
  font-size: var(--fs-12);
  color: var(--khr-ink-3);
}

.audit-foot {
  margin: var(--sp-4) 0 0;
  text-align: center;
  font-size: var(--fs-12);
  color: var(--khr-ink-3);
  font-style: italic;
}

@media (max-width: 880px) {
  .al-h {
    display: none;
  }

  .al-row {
    grid-template-columns: 90px 1fr;
    gap: 10px 14px;
    row-gap: 4px;
    padding: 12px 14px;
  }

  .al-when {
    grid-column: 1;
    grid-row: 1 / span 3;
  }

  .al-who {
    grid-column: 2;
    grid-row: 1;
  }

  .al-what {
    grid-column: 2;
    grid-row: 2;
    font-size: var(--fs-12);
  }

  .al-where {
    grid-column: 2;
    grid-row: 3;
  }
}

/* --- DPO card --- */
.dpo-card {
  background: linear-gradient(135deg, #fff 0%, var(--khr-paper-tint) 100%);
  border: 1px solid var(--khr-line);
  border-left: 4px solid var(--khr-teal);
  border-radius: var(--r-md);
  padding: var(--sp-7) var(--sp-8);
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.dpo-card .dpo-eyebrow {
  display: inline-block;
  font-family: var(--khr-font-brand);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--khr-teal);
  padding: 3px 9px;
  border-radius: var(--r-pill);
  background: rgba(67, 112, 120, .12);
  align-self: flex-start;
  line-height: 1.2;
}

.dpo-card h3 {
  margin: 0;
  font-size: var(--fs-22);
  color: var(--khr-teal-ink);
  letter-spacing: -.01em;
}

.dpo-card p {
  margin: 0;
  font-size: var(--fs-14);
  color: var(--khr-ink);
  line-height: 1.6;
}

.dpo-card a {
  color: var(--khr-teal-dark);
  text-decoration: underline;
  text-decoration-color: rgba(67, 112, 120, .4);
  text-underline-offset: 3px;
}

.dpo-card a:hover {
  text-decoration-color: var(--khr-teal-dark);
}

/* ==========================================================================
   widgets v2 — Iteração 6: atualizacoes.html (changelog)
   ========================================================================== */

/* Decor único do hero Atualizações */
.hero.hero-atualizacoes::after {
  width: 540px;
  height: 400px;
  right: -40px;
  top: 60px;
  background-image: url("../img/decor/version-timeline.svg");
  opacity: .42;
}

/* Lista do changelog (refinamentos) */
.cl-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-8);
}

.cl-divider {
  border: 0;
  border-top: 1px dashed var(--khr-line);
  margin: var(--sp-4) 0 0;
}

.cl-prev-label {
  margin: 0 0 var(--sp-2);
  font-family: var(--khr-font-brand);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--khr-ink-3);
}

/* Entrada destacada para versões "Major" */
.cl-entry.cl-major .when .version {
  color: var(--khr-teal-dark);
  font-weight: 600;
}

.cl-major-pill {
  display: inline-block;
  margin-top: 6px;
  font-family: var(--khr-font-brand);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: linear-gradient(135deg, var(--khr-teal) 0%, var(--khr-teal-light) 100%);
  color: #fff;
  line-height: 1.2;
  align-self: flex-start;
}

.cl-entry.cl-major .when {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Cartão CTA do final */
.cl-cta {
  background: linear-gradient(135deg, var(--khr-teal-ink) 0%, var(--khr-teal-dark) 100%);
  border-radius: var(--r-md);
  padding: var(--sp-7) var(--sp-8);
  color: #fff;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--sp-5);
  align-items: center;
  position: relative;
  overflow: hidden;
}

.cl-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.cl-cta>* {
  position: relative;
  z-index: 1;
}

.cl-cta h3 {
  margin: 0 0 6px;
  color: #fff;
  font-size: var(--fs-22);
  letter-spacing: -.01em;
}

.cl-cta p {
  margin: 0;
  color: rgba(255, 255, 255, .82);
  font-size: var(--fs-14);
  line-height: 1.55;
}

.cl-cta .btn {
  background: #fff;
  color: var(--khr-teal-dark);
  border-color: #fff;
}

.cl-cta .btn:hover {
  background: var(--khr-paper-tint);
  color: var(--khr-teal-ink);
  border-color: var(--khr-paper-tint);
}

@media (max-width: 720px) {
  .cl-cta {
    grid-template-columns: 1fr;
    gap: var(--sp-4);
  }
}

/* --- Roadmap (placeholders) --- */
.roadmap-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-5);
}

@media (max-width: 720px) {
  .roadmap-list {
    grid-template-columns: 1fr;
  }
}

.roadmap-item {
  background: #fff;
  border: 1px solid var(--khr-line);
  border-radius: var(--r-md);
  padding: var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color var(--dur-base) var(--ease-std), transform var(--dur-base) var(--ease-std);
}

.roadmap-item:hover {
  border-color: var(--khr-teal-light);
  transform: translateY(-2px);
}

.roadmap-item .rm-h {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.rm-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--khr-font-brand);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  line-height: 1.2;
}

.rm-status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, .04);
}

.rm-status-dev {
  background: rgba(79, 138, 107, .16);
  color: var(--khr-success);
}

.rm-status-plan {
  background: rgba(67, 112, 120, .14);
  color: var(--khr-teal-dark);
}

.rm-status-study {
  background: rgba(138, 160, 168, .18);
  color: var(--khr-ink-2);
}

.rm-eta {
  font-family: var(--khr-font-brand);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--khr-ink-3);
}

.roadmap-item h4 {
  margin: 4px 0 0;
  font-size: var(--fs-16);
  color: var(--khr-teal-ink);
  font-weight: 600;
  letter-spacing: -.005em;
  line-height: 1.3;
}

.roadmap-item p {
  margin: 0;
  font-size: var(--fs-14);
  color: var(--khr-ink-2);
  line-height: 1.5;
}

.roadmap-foot {
  margin: var(--sp-6) 0 0;
  text-align: center;
  font-size: var(--fs-14);
  color: var(--khr-ink-2);
}

.roadmap-foot a {
  color: var(--khr-teal-dark);
  text-decoration: underline;
  text-decoration-color: rgba(67, 112, 120, .4);
  text-underline-offset: 2px;
}

.roadmap-foot a:hover {
  text-decoration-color: var(--khr-teal-dark);
}