/* ──────────────────────────────────────────────────────────────────────────────
   RotinaPro — design system web
   Dark editorial-luxury. Fraunces (display) · Schibsted Grotesk (corpo)
   · JetBrains Mono (números/eyebrows). Acento terracota #DA7756.
   ────────────────────────────────────────────────────────────────────────────── */

:root {
  --bg: #0c0c0a;
  --bg-raise: #121110;
  --surface: #161614;
  --surface-2: #1d1c19;
  --surface-3: #242220;
  --border: #2a2823;
  --border-soft: #201e1a;
  --ink: #f3eee7;
  --ink-dim: #b3ab9d;
  --ink-faint: #7d776b;
  --accent: #da7756;
  --accent-strong: #e98a67;
  --accent-deep: #b85c3e;
  --accent-soft: rgba(218, 119, 86, 0.13);
  --success: #97c186;
  --success-soft: rgba(151, 193, 134, 0.12);
  --danger: #e0655f;
  --danger-soft: rgba(224, 101, 95, 0.12);
  --warn: #d9a441;
  --warn-soft: rgba(217, 164, 65, 0.12);

  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Schibsted Grotesk", "Avenir Next", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Menlo, monospace;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-pop: 0 18px 50px -12px rgba(0, 0, 0, 0.65);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Reset ───────────────────────────────────────────────────────────────── */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

a {
  color: inherit;
  text-decoration: none;
}

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

::selection {
  background: var(--accent);
  color: var(--bg);
}

/* grão sutil em tudo */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}

/* ── Utilidades ──────────────────────────────────────────────────────────── */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.ico {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.ico-sm {
  width: 18px;
  height: 18px;
}

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

.mono {
  font-family: var(--font-mono);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ── Botões ──────────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1;
  padding: 0.78rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.18s var(--ease-out), background 0.18s, border-color 0.18s,
    color 0.18s, box-shadow 0.18s;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px) scale(0.99);
}

.btn--primary {
  background: var(--accent);
  color: #1a0f09;
  box-shadow: 0 8px 24px -10px rgba(218, 119, 86, 0.55);
}

.btn--primary:hover {
  background: var(--accent-strong);
  box-shadow: 0 10px 30px -10px rgba(218, 119, 86, 0.7);
}

.btn--outline {
  border-color: var(--border);
  color: var(--ink);
  background: transparent;
}

.btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent-strong);
}

.btn--ghost {
  color: var(--ink-dim);
  padding: 0.55rem 0.9rem;
}

.btn--ghost:hover {
  color: var(--ink);
  background: var(--surface-2);
}

.btn--danger {
  background: var(--danger-soft);
  color: var(--danger);
  border-color: rgba(224, 101, 95, 0.3);
}

.btn--danger:hover {
  background: rgba(224, 101, 95, 0.2);
}

.btn[disabled] {
  opacity: 0.5;
  pointer-events: none;
}

/* botão de ícone */
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  color: var(--ink-faint);
  transition: background 0.15s, color 0.15s;
}

.icon-btn:hover {
  background: var(--surface-3);
  color: var(--ink);
}

.icon-btn--danger:hover {
  background: var(--danger-soft);
  color: var(--danger);
}

/* ── Campos ──────────────────────────────────────────────────────────────── */

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.field__label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-dim);
}

.field__input {
  width: 100%;
  font: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.72rem 0.9rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.field__input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.field__input::placeholder {
  color: var(--ink-faint);
}

.field__input--area {
  min-height: 96px;
  resize: vertical;
}

.field__input--error {
  border-color: var(--danger);
}

.field__error {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: var(--danger);
}

select.field__input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237d776b' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.4rem;
}

input[type="date"].field__input,
input[type="time"].field__input,
input[type="datetime-local"].field__input {
  color-scheme: dark;
}

/* checkbox custom */
.field--check {
  flex-direction: row;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  user-select: none;
}

.field--check input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.field--check__box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: transparent;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.field--check input:checked + .field--check__box {
  background: var(--accent);
  border-color: var(--accent);
  color: #1a0f09;
}

.field--check__label {
  font-size: 0.9rem;
  color: var(--ink-dim);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 1rem;
}

.form-grid > .full {
  grid-column: 1 / -1;
}

.form-foot {
  display: flex;
  justify-content: flex-end;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

/* ── Pills ───────────────────────────────────────────────────────────────── */

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  white-space: nowrap;
}

.pill--neutral {
  background: var(--surface-3);
  color: var(--ink-dim);
}

.pill--accent {
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.pill--success {
  background: var(--success-soft);
  color: var(--success);
}

.pill--danger {
  background: var(--danger-soft);
  color: var(--danger);
}

.pill--warn {
  background: var(--warn-soft);
  color: var(--warn);
}

/* ── Progresso ───────────────────────────────────────────────────────────── */

.progress {
  height: 7px;
  border-radius: 999px;
  background: var(--surface-3);
  overflow: hidden;
}

.progress__bar {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-deep), var(--accent-strong));
  transition: width 0.5s var(--ease-out);
}

/* ── Flash ───────────────────────────────────────────────────────────────── */

.flash-group {
  position: fixed;
  top: 1.2rem;
  right: 1.2rem;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.flash {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 260px;
  max-width: 380px;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  background: var(--surface-2);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-pop);
  font-size: 0.9rem;
  cursor: pointer;
  animation: flash-in 0.35s var(--ease-out);
}

@keyframes flash-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
}

.flash--info {
  color: var(--success);
}

.flash--error {
  color: var(--danger);
}

.flash span {
  color: var(--ink);
  flex: 1;
}

.flash__close {
  color: var(--ink-faint);
}

/* ── Modal ───────────────────────────────────────────────────────────────── */

.modal {
  position: fixed;
  inset: 0;
  z-index: 150;
}

.modal.hidden {
  display: none;
}

.modal__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8, 8, 6, 0.72);
  backdrop-filter: blur(6px);
}

.modal__panel-wrap {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 6vh 1rem 4vh;
  overflow-y: auto;
}

.modal__panel {
  position: relative;
  width: 100%;
  max-width: 540px;
  background: var(--bg-raise);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.7rem 1.7rem;
  box-shadow: var(--shadow-pop);
  animation: modal-pop 0.25s var(--ease-out);
}

@keyframes modal-pop {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.985);
  }
}

.modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2rem;
}

.modal__head h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 550;
}

.modal__close {
  color: var(--ink-faint);
}

.modal__close:hover {
  color: var(--ink);
}

/* ── Cabeçalho de página ─────────────────────────────────────────────────── */

.page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.8rem;
}

.page-head__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  font-weight: 550;
  letter-spacing: -0.01em;
}

.page-head__sub {
  color: var(--ink-faint);
  font-size: 0.92rem;
  margin-top: 0.3rem;
}

.page-head__actions {
  display: flex;
  gap: 0.6rem;
}

/* ── Tabela ──────────────────────────────────────────────────────────────── */

.table-wrap {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  overflow-x: auto;
  background: var(--surface);
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.table th {
  text-align: left;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border-soft);
}

.table td {
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--border-soft);
  vertical-align: middle;
  color: var(--ink-dim);
}

.table td:first-child {
  color: var(--ink);
}

.table tbody tr:last-child td {
  border-bottom: 0;
}

.table tbody tr {
  transition: background 0.12s;
}

.table tbody tr:hover {
  background: var(--surface-2);
}

.table__actions {
  text-align: right;
  white-space: nowrap;
}

/* ── Estado vazio ────────────────────────────────────────────────────────── */

.empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
  padding: 3.2rem 1rem;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  color: var(--ink-faint);
}

.empty__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--surface-2);
  color: var(--accent);
  margin-bottom: 0.3rem;
}

.empty__title {
  color: var(--ink-dim);
  font-weight: 600;
}

.empty__hint {
  font-size: 0.85rem;
}

/* ══════════════════════════════════════════════════════════════════════════
   LANDING
   ══════════════════════════════════════════════════════════════════════════ */

.body-landing {
  overflow-x: hidden;
}

.landing-container {
  width: min(1180px, calc(100% - 3rem));
  margin: 0 auto;
}

/* nav */
.lnav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.25s, border-color 0.25s, backdrop-filter 0.25s;
  border-bottom: 1px solid transparent;
}

.lnav.is-scrolled {
  background: rgba(12, 12, 10, 0.82);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--border-soft);
}

.lnav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.lnav__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
}

.lnav__brand em {
  font-style: italic;
  color: var(--accent);
}

/* logo oficial (R com raios, quadrado gradiente) */
.logo-mark {
  display: inline-block;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  flex-shrink: 0;
}

.logo-mark--lg {
  width: 52px;
  height: 52px;
  border-radius: 15px;
}

.lnav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-size: 0.9rem;
  color: var(--ink-dim);
}

.lnav__links a:hover {
  color: var(--ink);
}

.lnav__cta {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.lnav__burger {
  display: none;
  color: var(--ink);
}

/* hero */
.hero {
  position: relative;
  padding: 170px 0 90px;
}

.hero::before {
  content: "";
  position: absolute;
  top: -340px;
  right: -280px;
  width: 880px;
  height: 880px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(218, 119, 86, 0.16) 0%,
    rgba(218, 119, 86, 0.05) 38%,
    transparent 68%
  );
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -220px;
  left: -320px;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(151, 193, 134, 0.07) 0%,
    transparent 62%
  );
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.4rem;
}

.hero__eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--accent);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.7rem, 6vw, 4.6rem);
  font-weight: 480;
  line-height: 1.04;
  letter-spacing: -0.02em;
}

.hero__title em {
  font-style: italic;
  color: var(--accent);
  font-weight: 530;
}

.hero__sub {
  margin-top: 1.6rem;
  max-width: 32rem;
  font-size: 1.08rem;
  color: var(--ink-dim);
}

.hero__cta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2.4rem;
}

.hero__hint {
  margin-top: 1.1rem;
  font-size: 0.82rem;
  color: var(--ink-faint);
}

/* cartões flutuantes do hero */
.hero__visual {
  position: relative;
  min-height: 460px;
}

.hcard {
  position: absolute;
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.3rem 1.4rem;
  box-shadow: var(--shadow-pop);
}

.hcard--main {
  top: 30px;
  left: 0;
  width: 320px;
  animation: float-a 7s ease-in-out infinite;
}

.hcard--xp {
  top: 0;
  right: 10px;
  width: 200px;
  animation: float-b 8s ease-in-out infinite;
}

.hcard--streak {
  bottom: 40px;
  right: 0;
  width: 240px;
  animation: float-a 9s ease-in-out infinite reverse;
}

@keyframes float-a {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes float-b {
  0%,
  100% {
    transform: translateY(0) rotate(1.5deg);
  }
  50% {
    transform: translateY(-16px) rotate(1.5deg);
  }
}

.hcard__title {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 0.9rem;
}

.hcard__row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.5rem 0;
  font-size: 0.9rem;
  color: var(--ink-dim);
}

.hcard__row + .hcard__row {
  border-top: 1px solid var(--border-soft);
}

.hcard__check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 7px;
  flex-shrink: 0;
}

.hcard__check--done {
  background: var(--accent);
  color: #1a0f09;
}

.hcard__check--todo {
  border: 1.5px solid var(--border);
}

.hcard__row--done span {
  text-decoration: line-through;
  color: var(--ink-faint);
}

.hcard__big {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 550;
  color: var(--ink);
}

.hcard__big small {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent);
  letter-spacing: 0.1em;
}

.hcard__flame {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--accent);
}

/* marquee */
.marquee {
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  padding: 1.1rem 0;
  overflow: hidden;
  position: relative;
}

.marquee__track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: marquee 36s linear infinite;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

.marquee__item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-faint);
  white-space: nowrap;
}

.marquee__item::after {
  content: "◆";
  font-size: 0.5rem;
  color: var(--accent);
}

/* seções */
.lsection {
  padding: 110px 0;
  position: relative;
}

.lsection__head {
  max-width: 620px;
  margin-bottom: 3.4rem;
}

.lsection__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin-top: 1rem;
}

.lsection__title em {
  font-style: italic;
  color: var(--accent);
}

.lsection__sub {
  margin-top: 1.1rem;
  color: var(--ink-dim);
  font-size: 1.02rem;
}

/* bento de módulos */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}

.bento__cell {
  grid-column: span 2;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 1.7rem;
  transition: transform 0.25s var(--ease-out), border-color 0.25s;
}

.bento__cell:hover {
  transform: translateY(-4px);
  border-color: var(--accent-deep);
}

.bento__cell--wide {
  grid-column: span 3;
  background: linear-gradient(150deg, var(--accent-soft), var(--surface));
}

.bento__icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  color: var(--accent-strong);
  margin-bottom: 1.1rem;
}

.bento__title {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 560;
  margin-bottom: 0.45rem;
}

.bento__text {
  font-size: 0.9rem;
  color: var(--ink-dim);
}

/* passos */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  counter-reset: step;
}

.step {
  position: relative;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 2.4rem 1.8rem 1.9rem;
  background: var(--surface);
  overflow: hidden;
}

.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: -22px;
  right: 6px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 6.4rem;
  font-weight: 350;
  color: var(--surface-3);
  line-height: 1;
}

.step__title {
  position: relative;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 560;
  margin-bottom: 0.6rem;
}

.step__text {
  position: relative;
  color: var(--ink-dim);
  font-size: 0.93rem;
}

/* frase do dia */
.quote-band {
  background: linear-gradient(165deg, #15120f, #0c0c0a 70%);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  text-align: center;
  padding: 96px 0;
}

.quote-band__icon {
  display: inline-flex;
  color: var(--accent);
  margin-bottom: 1.6rem;
}

.quote-band__text {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 420;
  font-size: clamp(1.5rem, 3.2vw, 2.4rem);
  line-height: 1.3;
  max-width: 18ch;
  margin: 0 auto;
  letter-spacing: -0.01em;
}

.quote-band__author {
  margin-top: 1.6rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* stats */
.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.stat-block {
  text-align: center;
  padding: 2rem 1rem;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.stat-block__num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 480;
  color: var(--accent-strong);
}

.stat-block__label {
  margin-top: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* CTA final */
.cta-final {
  position: relative;
  text-align: center;
  padding: 130px 0 150px;
  overflow: hidden;
}

.cta-final::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -420px;
  transform: translateX(-50%);
  width: 900px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(
    ellipse,
    rgba(218, 119, 86, 0.2) 0%,
    transparent 65%
  );
  pointer-events: none;
}

.cta-final__title {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 480;
  line-height: 1.06;
  letter-spacing: -0.02em;
}

.cta-final__title em {
  font-style: italic;
  color: var(--accent);
}

.cta-final__sub {
  position: relative;
  margin: 1.4rem auto 0;
  max-width: 34rem;
  color: var(--ink-dim);
}

.cta-final__actions {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.6rem;
}

/* footer */
.lfooter {
  border-top: 1px solid var(--border-soft);
  padding: 3rem 0;
}

.lfooter__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.lfooter__copy {
  font-size: 0.82rem;
  color: var(--ink-faint);
}

.lfooter__links {
  display: flex;
  gap: 1.6rem;
  font-size: 0.85rem;
  color: var(--ink-dim);
}

.lfooter__links a:hover {
  color: var(--accent-strong);
}

/* reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

[data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

[data-reveal="2"].is-revealed {
  transition-delay: 0.12s;
}

[data-reveal="3"].is-revealed {
  transition-delay: 0.24s;
}

/* entrada do hero no load */
.hero [data-hero-stagger] {
  animation: hero-up 0.9s var(--ease-out) both;
}

.hero [data-hero-stagger="2"] {
  animation-delay: 0.12s;
}

.hero [data-hero-stagger="3"] {
  animation-delay: 0.24s;
}

.hero [data-hero-stagger="4"] {
  animation-delay: 0.36s;
}

@keyframes hero-up {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
}

/* ══════════════════════════════════════════════════════════════════════════
   PÁGINAS LEGAIS (privacidade, termos) E SUPORTE
   ══════════════════════════════════════════════════════════════════════════ */

.legal-nav {
  border-bottom: 1px solid var(--border-soft);
  background: rgba(12, 12, 10, 0.85);
  backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 50;
}

.legal-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.legal {
  padding: 64px 0 96px;
}

.legal__container {
  max-width: 760px;
}

.legal__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.08;
}

.legal__updated {
  margin-top: 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.legal__body {
  margin-top: 2.6rem;
}

.legal__body p,
.legal__body li {
  color: var(--ink-dim);
  font-size: 0.98rem;
  line-height: 1.75;
}

.legal__body p + p {
  margin-top: 1rem;
}

.legal__body h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 560;
  color: var(--ink);
  margin: 2.6rem 0 0.9rem;
}

.legal__body h3 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--ink);
  margin: 1.6rem 0 0.5rem;
}

.legal__body ul {
  margin: 0.7rem 0;
  padding-left: 1.3rem;
}

.legal__body li {
  margin-bottom: 0.5rem;
}

.legal__body li::marker {
  color: var(--accent);
}

.legal__body a {
  color: var(--accent-strong);
  text-decoration: underline;
  text-decoration-color: rgba(218, 119, 86, 0.4);
  text-underline-offset: 3px;
}

.legal__body a:hover {
  text-decoration-color: var(--accent-strong);
}

.legal__body strong {
  color: var(--ink);
}

/* suporte */
.support__sub {
  margin-top: 1.1rem;
  color: var(--ink-dim);
  font-size: 1.05rem;
  max-width: 36rem;
}

.support__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-top: 2.8rem;
}

.support-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.support-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-soft);
  color: var(--accent-strong);
  margin-bottom: 1.2rem;
}

.support-card__icon svg {
  width: 26px;
  height: 26px;
}

.support-card__icon--whatsapp {
  background: rgba(37, 211, 102, 0.12);
  color: #25d366;
}

.support-card__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 560;
}

.support-card__text {
  margin: 0.6rem 0 1.4rem;
  color: var(--ink-dim);
  font-size: 0.92rem;
  flex: 1;
}

.support-card__hint {
  margin-top: 0.9rem;
  font-size: 0.78rem;
  color: var(--ink-faint);
  letter-spacing: 0.04em;
}

.btn--whatsapp {
  background: #25d366;
  color: #06130a;
  box-shadow: 0 8px 24px -10px rgba(37, 211, 102, 0.5);
}

.btn--whatsapp:hover {
  background: #3ae07a;
}

.support__faq {
  margin-top: 3.2rem;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: 1.8rem 2rem;
}

.support__faq h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 560;
  margin-bottom: 1rem;
}

.support__faq ul {
  padding-left: 1.2rem;
}

.support__faq li {
  color: var(--ink-dim);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 0.6rem;
}

.support__faq li::marker {
  color: var(--accent);
}

.support__faq strong {
  color: var(--ink);
}

@media (max-width: 720px) {
  .support__cards {
    grid-template-columns: 1fr;
  }
}

/* ══════════════════════════════════════════════════════════════════════════
   AUTH (login / login admin)
   ══════════════════════════════════════════════════════════════════════════ */

.auth {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

.auth__pane {
  position: relative;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  padding: 3rem;
  background: linear-gradient(155deg, #181410, #0c0c0a 75%);
  border-right: 1px solid var(--border-soft);
  overflow: hidden;
}

.auth__pane::before {
  content: "";
  position: absolute;
  top: -260px;
  left: -200px;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(218, 119, 86, 0.18) 0%,
    transparent 64%
  );
}

.auth__brand {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
}

.auth__brand em {
  font-style: italic;
  color: var(--accent);
}

.auth__quote {
  position: relative;
  max-width: 26rem;
}

.auth__quote-text {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.7rem;
  font-weight: 420;
  line-height: 1.32;
}

.auth__quote-author {
  margin-top: 1.2rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.auth__foot {
  position: relative;
  font-size: 0.8rem;
  color: var(--ink-faint);
}

.auth__form-pane {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
}

.auth__card {
  width: 100%;
  max-width: 400px;
}

.auth__card .logo-mark {
  margin-bottom: 1.8rem;
}

.auth__title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 520;
  letter-spacing: -0.015em;
}

.auth__sub {
  margin: 0.6rem 0 2rem;
  color: var(--ink-dim);
  font-size: 0.95rem;
}

.auth__alert {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--danger-soft);
  border: 1px solid rgba(224, 101, 95, 0.3);
  color: var(--danger);
  font-size: 0.88rem;
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.9rem;
  margin-bottom: 1.4rem;
}

.auth__legal {
  margin-top: 1.3rem;
  font-size: 0.76rem;
  line-height: 1.6;
  color: var(--ink-faint);
  text-align: center;
}

.auth__legal a {
  color: var(--ink-dim);
  text-decoration: underline;
  text-decoration-color: rgba(218, 119, 86, 0.4);
  text-underline-offset: 2px;
}

.auth__legal a:hover {
  color: var(--accent-strong);
}

.auth__links {
  margin-top: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.86rem;
  color: var(--ink-faint);
  text-align: center;
}

.auth__links a {
  color: var(--accent-strong);
}

.auth__links a:hover {
  text-decoration: underline;
}

@media (min-width: 920px) {
  .auth__pane {
    display: flex;
  }
}

/* ══════════════════════════════════════════════════════════════════════════
   SHELL (dashboard do usuário e admin)
   ══════════════════════════════════════════════════════════════════════════ */

.shell {
  display: grid;
  grid-template-columns: 248px 1fr;
  min-height: 100vh;
}

.shell__side {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--border-soft);
  background: var(--bg-raise);
  padding: 1.4rem 0.9rem;
  overflow-y: auto;
}

.shell__brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  padding: 0.4rem 0.7rem 1.4rem;
}

.shell__brand em {
  font-style: italic;
  color: var(--accent);
}

.shell__brand small {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-top: -2px;
}

.shell__brand-mark {
  display: inline-block;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  flex-shrink: 0;
}

.shell__nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.shell__nav-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.62rem 0.75rem;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-dim);
  transition: background 0.14s, color 0.14s;
}

.shell__nav-item:hover {
  background: var(--surface-2);
  color: var(--ink);
}

.shell__nav-item--active {
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.shell__side-foot {
  border-top: 1px solid var(--border-soft);
  padding-top: 0.7rem;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.shell__main {
  padding: 2.3rem 2.6rem 4rem;
  min-width: 0;
}

/* cartões de estatística */
.stat-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1rem;
  margin-bottom: 1.8rem;
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 1.2rem 1.3rem;
}

.stat-card__label {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.stat-card__label .ico,
.stat-card__label .ico-sm {
  color: var(--accent);
}

.stat-card__value {
  margin-top: 0.55rem;
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 530;
  line-height: 1;
}

.stat-card__hint {
  margin-top: 0.4rem;
  font-size: 0.78rem;
  color: var(--ink-faint);
}

/* painel/cartão genérico */
.panel {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 1.4rem;
}

.panel + .panel {
  margin-top: 1.2rem;
}

.panel__title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 560;
  margin-bottom: 1rem;
}

.panel__title .ico,
.panel__title .ico-sm {
  color: var(--accent);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  align-items: start;
}

/* checklist do dia */
.check-list {
  display: flex;
  flex-direction: column;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.78rem 0.4rem;
  border-bottom: 1px solid var(--border-soft);
}

.check-item:last-child {
  border-bottom: 0;
}

.check-item__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  color: transparent;
  transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.1s;
  flex-shrink: 0;
}

.check-item__toggle:hover {
  border-color: var(--accent);
}

.check-item__toggle:active {
  transform: scale(0.92);
}

.check-item--done .check-item__toggle {
  background: var(--accent);
  border-color: var(--accent);
  color: #1a0f09;
}

.check-item__body {
  flex: 1;
  min-width: 0;
}

.check-item__title {
  font-size: 0.95rem;
  font-weight: 500;
}

.check-item--done .check-item__title {
  text-decoration: line-through;
  color: var(--ink-faint);
}

.check-item__meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.76rem;
  color: var(--ink-faint);
  margin-top: 0.12rem;
}

.check-item--overdue .check-item__title {
  color: var(--danger);
}

/* contadores de trabalho */
.counter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
}

.counter {
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 1.4rem 1rem 1.2rem;
}

.counter__value {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 520;
  line-height: 1;
}

.counter__label {
  margin: 0.5rem 0 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.counter__btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  padding: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-strong);
  transition: background 0.15s, border-color 0.15s;
}

.counter__btn:hover {
  background: var(--accent-soft);
  border-color: var(--accent-deep);
}

/* leads em colunas */
.lead-cols {
  display: grid;
  grid-template-columns: repeat(5, minmax(180px, 1fr));
  gap: 0.9rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.lead-col__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  padding: 0.2rem 0.2rem 0.7rem;
}

.lead-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 0.85rem 0.95rem;
  margin-bottom: 0.7rem;
}

.lead-card__name {
  font-weight: 600;
  font-size: 0.9rem;
}

.lead-card__phone {
  font-size: 0.78rem;
  color: var(--ink-faint);
  margin-top: 0.15rem;
}

.lead-card__actions {
  display: flex;
  gap: 0.3rem;
  margin-top: 0.6rem;
}

/* nível / evolução */
.level-hero {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  background: linear-gradient(150deg, var(--accent-soft), var(--surface));
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  margin-bottom: 1.4rem;
}

.level-hero__badge {
  width: 76px;
  height: 76px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  background: var(--accent);
  color: #1a0f09;
  flex-shrink: 0;
}

.level-hero__name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 550;
}

.level-hero__xp {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--ink-dim);
  margin: 0.35rem 0 0.7rem;
}

.badge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.9rem;
}

.badge-card {
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 1.3rem 0.9rem;
}

.badge-card--locked {
  opacity: 0.42;
  filter: grayscale(0.9);
}

.badge-card__icon {
  font-size: 1.8rem;
  line-height: 1;
}

.badge-card__name {
  margin-top: 0.6rem;
  font-weight: 600;
  font-size: 0.88rem;
}

.badge-card__desc {
  margin-top: 0.25rem;
  font-size: 0.74rem;
  color: var(--ink-faint);
}

/* lista financeira */
.fin-row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.75rem 0.3rem;
  border-bottom: 1px solid var(--border-soft);
}

.fin-row:last-child {
  border-bottom: 0;
}

.fin-row__icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.fin-row__icon--in {
  background: var(--success-soft);
  color: var(--success);
}

.fin-row__icon--out {
  background: var(--danger-soft);
  color: var(--danger);
}

.fin-row__desc {
  flex: 1;
  min-width: 0;
}

.fin-row__title {
  font-size: 0.92rem;
  font-weight: 500;
}

.fin-row__meta {
  font-size: 0.75rem;
  color: var(--ink-faint);
}

.fin-row__amount {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 600;
}

.fin-row__amount--in {
  color: var(--success);
}

.fin-row__amount--out {
  color: var(--danger);
}

/* agenda – lista por dia */
.agenda-day {
  margin-bottom: 1.6rem;
}

.agenda-day__head {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  margin-bottom: 0.6rem;
}

.agenda-day__date {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 580;
}

.agenda-day__weekday {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* metas */
.goal-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 1.2rem 1.3rem;
  margin-bottom: 0.9rem;
}

.goal-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.8rem;
  margin-bottom: 0.7rem;
}

.goal-card__text {
  font-weight: 600;
}

.goal-card--done .goal-card__text {
  text-decoration: line-through;
  color: var(--ink-faint);
}

.goal-card__nums {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--ink-faint);
  margin-top: 0.45rem;
}

/* admin: visão geral */
.admin-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1rem;
}

/* responsivo */
@media (max-width: 1080px) {
  .bento__cell,
  .bento__cell--wide {
    grid-column: span 3;
  }

  .stats-band {
    grid-template-columns: repeat(2, 1fr);
  }

  .two-col {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 880px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero__visual {
    min-height: 420px;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .lnav__links {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg-raise);
    border-bottom: 1px solid var(--border-soft);
    padding: 0.6rem 1.5rem 1.2rem;
  }

  .lnav__links.is-open {
    display: flex;
  }

  .lnav__links a {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border-soft);
  }

  .lnav__burger {
    display: inline-flex;
  }

  .shell {
    grid-template-columns: 1fr;
  }

  .shell__side {
    position: static;
    height: auto;
    flex-direction: row;
    align-items: center;
    gap: 0.4rem;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid var(--border-soft);
    padding: 0.7rem 1rem;
  }

  .shell__brand {
    padding: 0 0.6rem 0 0;
  }

  .shell__brand-name {
    display: none;
  }

  .shell__nav {
    flex-direction: row;
    flex: 1;
  }

  .shell__nav-item span {
    display: none;
  }

  .shell__side-foot {
    flex-direction: row;
    border-top: 0;
    padding-top: 0;
  }

  .shell__main {
    padding: 1.4rem 1.2rem 3rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .lead-cols {
    grid-template-columns: repeat(5, 220px);
  }
}

@media (max-width: 560px) {
  .stats-band {
    grid-template-columns: 1fr;
  }

  .bento__cell,
  .bento__cell--wide {
    grid-column: span 6;
  }

  .hero {
    padding-top: 130px;
  }

  .hero__cta {
    flex-direction: column;
    align-items: stretch;
  }

  .page-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

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

  html {
    scroll-behavior: auto;
  }
}

/* ── Logs de IA (painel admin) ─────────────────────────────────────────────── */
.kv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0.9rem 1.2rem;
}

.kv {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.kv__k {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.kv__v {
  font-size: 0.92rem;
  color: var(--ink);
  word-break: break-word;
}

.log-block {
  margin-top: 1.2rem;
}

.log-block__title {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 0.45rem;
}

.log-block--error .log-block__title {
  color: var(--danger);
}

.log-block__empty {
  font-size: 0.85rem;
  color: var(--ink-faint);
  font-style: italic;
}

.code-block {
  margin: 0;
  max-height: 320px;
  overflow: auto;
  padding: 0.9rem 1rem;
  background: var(--bg);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--ink-dim);
  white-space: pre-wrap;
  word-break: break-word;
}

.log-block--error .code-block {
  border-color: var(--danger-soft);
  color: var(--danger);
}
