/* ==========================================================================
   MINI LOOK FIDELIDADE — Área do cliente (login, cadastro e carteira)
   Camada visual única. Nenhuma regra de negócio depende deste arquivo.
   ========================================================================== */

:root {
  --cream: #f7f1e7;
  --cream-2: #efe5d5;
  --paper: #fffdf8;
  --paper-2: #fbf7ef;
  --line: #e6dac7;
  --line-2: #d8c8ae;
  --ink: #2b2119;
  --ink-2: #4f4133;
  --muted: #6f6152;
  --bronze: #8a5a2e;
  --bronze-2: #6f4622;
  --sand: #e8d8bf;
  --sand-2: #d9c09c;
  --green: #2e7350;
  --green-bg: #e5f0e8;
  --red: #a63d32;
  --red-bg: #f6e3df;
  --focus: rgba(138, 90, 46, 0.18);
  --shadow-sm: 0 1px 2px rgba(43, 33, 25, 0.06), 0 2px 8px rgba(43, 33, 25, 0.04);
  --shadow-md: 0 2px 4px rgba(43, 33, 25, 0.04), 0 14px 34px rgba(43, 33, 25, 0.08);
  --shadow-lg: 0 4px 10px rgba(43, 33, 25, 0.05), 0 30px 70px rgba(43, 33, 25, 0.12);
  --radius: 20px;
  --radius-sm: 14px;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  background: var(--cream);
  color: var(--ink);
  font: 400 15px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
}

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

a {
  color: inherit;
}

.hidden {
  display: none !important;
}

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

.kicker {
  display: inline-block;
  font: 700 11px/1 var(--sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bronze);
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.005em;
  cursor: pointer;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease,
    color 0.2s ease;
}

.btn:focus-visible,
.tabs button:focus-visible,
a:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px var(--focus);
}

.btn.primary {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 10px 24px rgba(43, 33, 25, 0.18);
}

.btn.primary:hover {
  background: var(--bronze-2);
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(111, 70, 34, 0.25);
}

.btn.primary:active {
  transform: translateY(0);
}

.btn.primary .ico {
  transition: transform 0.2s ease;
}

.btn.primary:hover .ico {
  transform: translateX(3px);
}

.btn.ghost {
  background: var(--paper);
  border-color: var(--line-2);
  color: var(--ink);
}

.btn.ghost:hover {
  border-color: var(--ink);
  background: #fff;
}

.full {
  width: 100%;
}

/* ---------- Tela de carregamento ---------- */
.loading {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 18px;
  background: var(--cream);
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.02em;
}

.loading::before {
  content: "";
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2.5px solid var(--line-2);
  border-top-color: var(--bronze);
  animation: spin 0.9s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ---------- Marca ---------- */
.lion-badge {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  flex: none;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.lion-badge img {
  width: 88%;
  height: 88%;
  object-fit: contain;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.wordmark {
  display: flex;
  flex-direction: column;
  gap: 3px;
  line-height: 1;
}

.wordmark b {
  font: 600 19px/1 var(--sans);
  letter-spacing: 0.28em;
  color: var(--ink);
}

.wordmark small {
  font: 600 10.5px/1 var(--sans);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bronze);
}

/* ---------- Cartão de membro (decorativo, 100% CSS) ---------- */
.member-card {
  position: relative;
  width: 100%;
  max-width: 360px;
  aspect-ratio: 1.586;
  border-radius: 22px;
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--ink);
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(255, 255, 255, 0.65), transparent 55%),
    linear-gradient(135deg, #f1e3cb 0%, #e3cba6 52%, #d4b48a 100%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow:
    0 30px 60px rgba(83, 56, 28, 0.22),
    0 8px 18px rgba(83, 56, 28, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  overflow: hidden;
  isolation: isolate;
}

.member-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: repeating-linear-gradient(
    115deg,
    rgba(255, 255, 255, 0) 0 14px,
    rgba(255, 255, 255, 0.07) 14px 15px
  );
}

.member-card::after {
  content: "";
  position: absolute;
  top: -40%;
  left: -60%;
  width: 50%;
  height: 180%;
  z-index: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: rotate(18deg);
  animation: cardSheen 6.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes cardSheen {
  0%,
  55% {
    left: -60%;
  }
  100% {
    left: 130%;
  }
}

.member-card__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}

.member-card__chip {
  width: 44px;
  height: 33px;
  border-radius: 8px;
  background:
    linear-gradient(90deg, transparent 47%, rgba(111, 70, 34, 0.25) 47% 53%, transparent 53%),
    linear-gradient(0deg, transparent 30%, rgba(111, 70, 34, 0.22) 30% 36%, transparent 36% 64%, rgba(111, 70, 34, 0.22) 64% 70%, transparent 70%),
    linear-gradient(135deg, #f6e7c8, #c9a46b);
  border: 1px solid rgba(111, 70, 34, 0.25);
}

.member-card__lion {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff url("ml-lion.png") center/86% no-repeat;
  box-shadow: 0 4px 12px rgba(83, 56, 28, 0.18);
}

.member-card__brand {
  position: relative;
  z-index: 1;
}

.member-card__brand b {
  display: block;
  font: 600 22px/1 var(--sans);
  letter-spacing: 0.3em;
}

.member-card__brand small {
  display: block;
  margin-top: 7px;
  font: 700 9.5px/1 var(--sans);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--bronze-2);
}

.member-card__foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  font: 600 11px/1.3 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
  position: relative;
  z-index: 1;
}

.member-card__foot span:last-child {
  text-align: right;
}

/* ==========================================================================
   LOGIN E CADASTRO
   ========================================================================== */
.auth {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
}

.auth-brand {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 40px clamp(32px, 5vw, 72px);
  background:
    radial-gradient(70% 60% at 100% 0%, rgba(255, 255, 255, 0.55), transparent 60%),
    radial-gradient(60% 50% at 0% 100%, rgba(217, 192, 156, 0.35), transparent 65%),
    var(--cream-2);
  border-right: 1px solid var(--line);
  overflow: hidden;
}

.auth-brand::after {
  content: "";
  position: absolute;
  right: -180px;
  bottom: -180px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  border: 1px solid rgba(138, 90, 46, 0.12);
  box-shadow:
    0 0 0 60px rgba(138, 90, 46, 0.035),
    0 0 0 120px rgba(138, 90, 46, 0.025);
  pointer-events: none;
}

.auth-brand__body {
  position: relative;
  z-index: 1;
  margin: auto 0;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.auth-brand .member-card {
  max-width: 330px;
  margin: 0 0 14px 6px;
  transform: rotate(-4deg);
  animation: floatCard 7s ease-in-out infinite;
}

@keyframes floatCard {
  0%,
  100% {
    transform: rotate(-4deg) translateY(0);
  }
  50% {
    transform: rotate(-3deg) translateY(-8px);
  }
}

.auth-brand h1 {
  margin: 4px 0 0;
  font: 500 clamp(36px, 3.6vw, 52px)/1.06 var(--display);
  letter-spacing: -0.02em;
  color: var(--ink);
}

.auth-brand h1 em {
  font-style: italic;
  color: var(--bronze);
}

.auth-brand__lead {
  margin: 0;
  max-width: 470px;
  font-size: 16.5px;
  color: var(--ink-2);
}

.perks {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.perks li {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  border-radius: var(--radius-sm);
  background: rgba(255, 253, 248, 0.72);
  border: 1px solid var(--line);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease;
}

.perks li:hover {
  transform: translateY(-3px);
  background: var(--paper);
  box-shadow: var(--shadow-md);
}

.perks .perk-ico {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: var(--ink);
  color: var(--sand);
}

.perks .perk-ico .ico {
  width: 18px;
  height: 18px;
}

.perks b {
  font-size: 14px;
  line-height: 1.3;
  color: var(--ink);
}

.perks span {
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--muted);
}

.auth-brand__foot {
  position: relative;
  z-index: 1;
  font-size: 12.5px;
  color: var(--muted);
}

/* Painel do formulário */
.auth-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 40px 24px;
  background: var(--cream);
}

.auth-card {
  width: min(468px, 100%);
  padding: 38px 36px 30px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--shadow-lg);
}

.auth-card__mobile-brand {
  display: none;
}

.auth-card h2 {
  margin: 10px 0 6px;
  font: 500 34px/1.1 var(--display);
  letter-spacing: -0.02em;
  color: var(--ink);
}

.auth-card .sub {
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 15px;
}

/* Abas com indicador deslizante */
.tabs {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 5px;
  margin-bottom: 24px;
  border-radius: 15px;
  background: var(--cream);
  border: 1px solid var(--line);
}

.tabs::before {
  content: "";
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 5px;
  width: calc(50% - 5px);
  border-radius: 11px;
  background: var(--paper);
  box-shadow: 0 1px 2px rgba(43, 33, 25, 0.1), 0 4px 12px rgba(43, 33, 25, 0.07);
  transition: transform 0.3s cubic-bezier(0.3, 0.7, 0.2, 1);
}

.tabs:has(#registerTab.active)::before {
  transform: translateX(100%);
}

.tabs button {
  position: relative;
  z-index: 1;
  min-height: 42px;
  border: 0;
  background: none;
  border-radius: 11px;
  font-weight: 700;
  font-size: 14px;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s ease;
}

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

.tabs button.active {
  color: var(--ink);
}

/* Campos */
.auth-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 12px;
  animation: formIn 0.35s ease both;
}

@keyframes formIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
}

.auth-form > .field,
.auth-form > .btn,
.auth-form > .note {
  grid-column: 1 / -1;
}

.auth-form > .field.half {
  grid-column: span 1;
}

.auth-form > .btn {
  margin-top: 8px;
}

.field label {
  display: block;
  margin-bottom: 7px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-2);
}

.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.input-wrap > .ico {
  position: absolute;
  left: 15px;
  width: 18px;
  height: 18px;
  color: var(--muted);
  pointer-events: none;
  transition: color 0.2s ease;
}

.field input {
  width: 100%;
  height: 50px;
  padding: 0 14px 0 42px;
  border-radius: 13px;
  border: 1px solid var(--line-2);
  background: var(--paper-2);
  color: var(--ink);
  font-size: 15px;
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.field input[type="date"] {
  padding-right: 12px;
  -webkit-appearance: none;
  appearance: none;
  text-align: left;
}

.field input[type="date"]::-webkit-date-and-time-value {
  text-align: left;
}

.field input::placeholder {
  color: #9a8b7b;
}

.field input:hover {
  border-color: #c6b393;
}

.field input:focus {
  border-color: var(--bronze);
  background: #fff;
  box-shadow: 0 0 0 4px var(--focus);
}

.input-wrap:focus-within > .ico {
  color: var(--bronze);
}

.field input.has-toggle {
  padding-right: 48px;
}

.pass-toggle {
  position: absolute;
  right: 6px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 10px;
  background: none;
  color: var(--muted);
  cursor: pointer;
}

.pass-toggle:hover {
  color: var(--ink);
  background: var(--cream);
}

.pass-toggle .ico {
  width: 18px;
  height: 18px;
}

.pass-toggle .eye-off,
.pass-toggle[aria-pressed="true"] .eye-on {
  display: none;
}

.pass-toggle[aria-pressed="true"] .eye-off {
  display: block;
}

.note {
  text-wrap: balance;
  margin: 4px 0 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
  text-align: center;
}

.auth-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--muted);
}

.secure-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
}

.secure-badge .ico {
  width: 16px;
  height: 16px;
  color: var(--green);
}

.ig-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--paper);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-2);
  text-decoration: none;
  transition:
    border-color 0.2s ease,
    color 0.2s ease,
    background-color 0.2s ease;
}

.ig-link:hover {
  border-color: var(--ink);
  color: var(--ink);
  background: #fff;
}

.ig-link .ico {
  width: 16px;
  height: 16px;
}

/* Assinatura MAKROS */
.makros-signature {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px 8px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: #d8ccbb;
  font-size: 11.5px;
}

.makros-signature img {
  height: 26px;
  width: auto;
}

.makros-links {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.makros-signature .makros-links a {
  text-decoration: none;
  color: #f3eadc;
  font-weight: 600;
}

.makros-signature .makros-links a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.makros-links i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #8a7a68;
}

/* ==========================================================================
   CARTEIRA DO CLIENTE
   ========================================================================== */
.wallet {
  min-height: 100vh;
  padding: 0 24px 40px;
  background:
    radial-gradient(60% 40% at 100% 0%, rgba(255, 255, 255, 0.6), transparent 70%),
    var(--cream);
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.topbar__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.topbar .btn {
  min-height: 42px;
  padding: 0 16px;
  font-size: 14px;
}

.topbar .btn .ico {
  width: 18px;
  height: 18px;
}

/* Destaque do saldo */
.hero-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  align-items: center;
  gap: 40px;
  margin-top: 28px;
  padding: clamp(28px, 4vw, 48px);
  border-radius: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  isolation: isolate;
}

.hero-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  width: 46%;
  height: 100%;
  background:
    radial-gradient(80% 70% at 70% 50%, rgba(232, 216, 191, 0.7), transparent 70%);
}

.hero-card h1 {
  margin: 12px 0 6px;
  font: 500 clamp(32px, 4vw, 46px)/1.08 var(--display);
  letter-spacing: -0.02em;
  color: var(--ink);
}

.hero-card__lead {
  margin: 0;
  color: var(--muted);
  font-size: 15.5px;
}

.balance-box {
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px dashed var(--line-2);
}

.balance-box__label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-2);
}

.balance-box__label .ico {
  width: 18px;
  height: 18px;
  color: var(--bronze);
}

.balance {
  margin: 8px 0 2px;
  font: 600 clamp(46px, 6.4vw, 72px)/1 var(--display);
  letter-spacing: -0.03em;
  color: var(--ink);
  font-variant-numeric: tabular-nums lining-nums;
}

.cycle-label {
  font-size: 13px;
  color: var(--muted);
}

.rule-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.rule-chips span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  border-radius: 999px;
  background: var(--cream);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
}

.rule-chips span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--bronze);
}

.rule-chips span + span::before {
  background: var(--green);
}

.legacy-progress {
  display: none;
}

.hero-card__visual {
  display: flex;
  justify-content: center;
  perspective: 900px;
}

.hero-card__visual .member-card {
  transform: rotate(3deg);
  transition: transform 0.5s cubic-bezier(0.3, 0.7, 0.2, 1);
}

.hero-card__visual .member-card:hover {
  transform: rotate(0deg) rotateY(-8deg) translateY(-4px) scale(1.02);
}

/* Painéis */
.wallet-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.panel {
  padding: 28px;
  border-radius: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s ease;
}

.panel:hover {
  box-shadow: var(--shadow-md);
}

.panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}

.panel-heading h3 {
  margin: 8px 0 0;
  font: 500 23px/1.15 var(--display);
  letter-spacing: -0.01em;
  color: var(--ink);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  background: var(--cream);
  border: 1px solid var(--line);
  color: var(--ink-2);
}

.pill .ico {
  width: 14px;
  height: 14px;
}

.pill.live {
  background: var(--green-bg);
  border-color: #cfe3d5;
  color: var(--green);
}

.pill.live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 1.8s ease-out infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(46, 115, 80, 0.45);
  }
  100% {
    box-shadow: 0 0 0 8px rgba(46, 115, 80, 0);
  }
}

.metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.metric {
  padding: 20px;
  border-radius: 18px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease;
}

.metric:hover {
  transform: translateY(-2px);
  border-color: var(--line-2);
}

.metric.accent {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.metric small {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--muted);
}

.metric.accent small {
  color: #cdbca5;
}

.metric strong {
  display: block;
  margin: 10px 0 6px;
  font: 600 28px/1.05 var(--display);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums lining-nums;
}

.metric span {
  font-size: 12px;
  color: var(--muted);
}

.metric.accent span {
  color: #b6a58d;
}

.panel .info-note {
  display: flex;
  gap: 12px;
  margin: 18px 0 0;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--cream);
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-2);
}

.panel .info-note .ico {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  color: var(--bronze);
}

.panel .info-note b {
  color: var(--ink);
}

/* Extrato (linhas geradas pelo script) */
#history {
  display: flex;
  flex-direction: column;
}

.receipt {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 4px 14px 56px;
  border-bottom: 1px solid var(--line);
  animation: formIn 0.35s ease both;
}

.receipt:last-child {
  border-bottom: 0;
}

.receipt::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 50%;
  width: 38px;
  height: 38px;
  margin-top: -19px;
  border-radius: 12px;
  background-color: var(--green-bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232e7350' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 8h13l-1 12.5h-11L5.5 8Z'/%3E%3Cpath d='M9 11V7a3 3 0 0 1 6 0v4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px;
}

.receipt:has(.negative)::before {
  background-color: var(--red-bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a63d32' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='8' width='18' height='13' rx='2'/%3E%3Cpath d='M12 8v13M3 12h18M12 8S10 3 7.5 3.5 7 8 12 8Zm0 0s2-5 4.5-4.5S17 8 12 8Z'/%3E%3C/svg%3E");
}

.receipt > div b {
  display: block;
  font-size: 14.5px;
  color: var(--ink);
}

.receipt small {
  display: block;
  margin-top: 2px;
  font-size: 12.5px;
  color: var(--muted);
}

.receipt > b {
  font-size: 15px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.positive {
  color: var(--green);
}

.negative {
  color: var(--red);
}

.empty {
  padding: 34px 16px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  border: 1px dashed var(--line-2);
  border-radius: 16px;
  background: var(--paper-2);
}

/* Rodapé */
.client-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

.client-footer a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.client-footer a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 60;
  max-width: min(440px, calc(100vw - 32px));
  padding: 14px 20px;
  border-radius: 14px;
  background: var(--ink);
  color: var(--paper);
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 16px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ==========================================================================
   RESPONSIVO
   ========================================================================== */
@media (max-height: 820px) and (min-width: 961px) {
  .auth-brand .member-card {
    display: none;
  }
}

@media (max-width: 1100px) {
  .perks {
    grid-template-columns: 1fr;
  }
  .perks li {
    flex-direction: row;
    align-items: center;
  }
  .perks li span {
    display: none;
  }
}

@media (max-width: 960px) {
  .auth {
    grid-template-columns: 1fr;
  }
  .auth-brand {
    display: none;
  }
  .auth-panel {
    justify-content: flex-start;
    padding: 28px 16px 32px;
  }
  .auth-card__mobile-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 22px;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--line);
  }
  .hero-card {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .hero-card::before {
    width: 100%;
    height: 45%;
    top: auto;
    bottom: 0;
  }
  .hero-card__visual {
    order: -1;
    justify-content: flex-start;
  }
  .hero-card__visual .member-card {
    max-width: 300px;
  }
  .wallet-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 14.5px;
  }
  .auth-card {
    padding: 26px 20px 22px;
    border-radius: 22px;
  }
  .auth-card h2 {
    font-size: 29px;
  }
  .auth-form {
    grid-template-columns: 1fr;
  }
  .auth-form > .field.half {
    grid-column: 1 / -1;
  }
  .auth-card__foot {
    flex-direction: column-reverse;
    gap: 14px;
  }
  .makros-signature {
    flex-wrap: wrap;
    justify-content: center;
    border-radius: 18px;
    text-align: center;
  }
  .wallet {
    padding: 0 16px 32px;
  }
  .topbar {
    padding: 16px 0;
  }
  .topbar .wordmark small,
  .topbar .ig-link span,
  .topbar .btn span {
    display: none;
  }
  .topbar .wordmark b {
    font-size: 16px;
  }
  .topbar .lion-badge {
    width: 44px;
    height: 44px;
  }
  .topbar .ig-link {
    width: 42px;
    height: 42px;
    padding: 0;
    justify-content: center;
  }
  .topbar .btn {
    width: 42px;
    padding: 0;
  }
  .hero-card {
    margin-top: 18px;
    padding: 24px 20px;
    border-radius: 22px;
  }
  .hero-card__visual,
  .hero-card::before {
    display: none;
  }
  .balance-box {
    margin-top: 22px;
    padding-top: 20px;
  }
  .panel {
    padding: 22px 18px;
    border-radius: 20px;
  }
  .metrics {
    grid-template-columns: 1fr;
  }
  .client-footer {
    flex-direction: column;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
