/* ═══════════════════════════════════════════════════════════════
   Vorty Life — design system (alinhado a vorty.pages.dev)
═══════════════════════════════════════════════════════════════ */
:root {
  --bg: #0a0a0e;
  --bg-elev: #14141b;
  --bg-surface: #1c1c26;
  --border: #26262f;
  --border-strong: #3a3a46;
  --fg: #f5f2ec;
  --fg-muted: #9a97a3;
  --fg-subtle: #56535e;

  --violet: #4F1FFF;
  --violet-light: #7c5cff;
  --violet-deep: #3a14cc;
  --orange: #FF8000;
  --orange-light: #ffa340;
  --orange-deep: #cc6600;
  --success: #4ade80;

  --grad: linear-gradient(90deg, #4F1FFF 0%, #FF8000 100%);
  --grad-d: linear-gradient(135deg, #4F1FFF 0%, #FF8000 100%);
  --grad-r: linear-gradient(270deg, #4F1FFF 0%, #FF8000 100%);
  --grad-vortex: linear-gradient(115deg, #4F1FFF 0%, #8039EB 30%, #F67A0D 65%, #FF8000 100%);

  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --ease-soft: cubic-bezier(.4, 0, .2, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);

  --f-display: 'Manrope', system-ui, sans-serif;
  --f-body: 'Inter', system-ui, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, monospace;

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 20px;
  --r-2xl: 28px;
  --r-full: 999px;

  --pad: clamp(20px, 4vw, 64px);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: clip;
  width: 100%;
}

body {
  font-family: var(--f-body);
  background: var(--bg);
  color: var(--fg);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'ss01', 'cv02', 'cv03', 'cv11';
  overflow-x: clip;
  min-height: 100dvh;
  width: 100%;
  position: relative;
}

a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; font-family: inherit; color: inherit; background: none; }
input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
img, svg { display: block; max-width: 100%; }

h1, h2, h3 {
  font-family: var(--f-display);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
}

.grad,
.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ═══════════════════════════════════════════════════════════════
   AMBIENT BACKGROUND
═══════════════════════════════════════════════════════════════ */
.ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.ambient::before,
.ambient::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
}

.ambient::before {
  top: -20%;
  right: -10%;
  width: 60vmin;
  height: 60vmin;
  background: radial-gradient(circle, #4F1FFF55 0%, #4F1FFF20 35%, transparent 70%);
}

.ambient::after {
  bottom: -10%;
  left: -10%;
  width: 50vmin;
  height: 50vmin;
  background: radial-gradient(circle, #FF800040 0%, #FF800015 40%, transparent 75%);
}

.grid-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, #ffffff05 1px, transparent 1px),
    linear-gradient(to bottom, #ffffff05 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 70%);
  mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 70%);
}

.app-shell {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

/* ═══════════════════════════════════════════════════════════════
   NAV — pilula glass com brand + links + CTAs (estilo Vorty)
═══════════════════════════════════════════════════════════════ */
.nav {
  position: sticky;
  top: 16px;
  z-index: 50;
  align-self: start;
  margin: 16px auto 0;
  width: calc(100% - 32px);
  max-width: 1280px;
  padding: 4px 8px 4px 20px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  background: #14141b80;
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  border: 1px solid #26262f80;
  border-radius: var(--r-full);
  box-shadow: 0 8px 40px #00000040;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.01em;
}

.nav__brand-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.nav__brand-text { letter-spacing: 0.02em; }

.nav__center {
  display: flex;
  justify-content: center;
  gap: 4px;
  align-items: center;
}

.nav__link {
  font-family: var(--f-display);
  font-size: 14px;
  color: var(--fg-muted);
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--r-full);
  letter-spacing: -0.005em;
  transition: color 0.2s, background 0.2s;
  border: none;
  background: none;
}

.nav__link:hover {
  color: var(--fg);
  background: var(--bg-surface);
}

.nav__link.is-active { color: var(--fg); background: var(--bg-surface); }

.nav__right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__logout {
  font-family: var(--f-display);
  font-size: 14px;
  color: var(--fg-muted);
  font-weight: 500;
  padding: 10px 16px;
  border-radius: var(--r-full);
  transition: color 0.2s;
}

.nav__logout:hover { color: var(--violet-light); }

.nav__cta {
  padding: 12px 24px;
  border-radius: var(--r-full);
  background: var(--grad);
  color: #fff;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.005em;
  transition: all 0.25s var(--ease-soft);
  box-shadow: 0 4px 20px #4F1FFF40;
  white-space: nowrap;
}

.nav__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 40px #4F1FFF80, 0 0 0 1px #FF800040;
}

.nav__burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: transparent;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
}

.nav__burger span {
  width: 18px;
  height: 2px;
  background: var(--fg);
  border-radius: 1px;
  transition: all 0.3s var(--ease-soft);
}

.nav__burger--open span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.nav__burger--open span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

.nav__mobile-menu {
  position: fixed;
  top: 0;
  left: 16px;
  right: 16px;
  z-index: 49;
  background: linear-gradient(180deg, #1a0d3e 0%, #0f0a28 50%, #0a0a0e 100%);
  border: 1px solid #4F1FFF40;
  border-radius: 28px;
  padding: 80px 12px 16px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: max-height 0.45s var(--ease-soft), opacity 0.3s, visibility 0.3s, padding 0.45s var(--ease-soft);
  box-shadow: 0 20px 80px #4F1FFF30, 0 0 0 1px #4F1FFF20;
}

.nav__mobile-menu--open {
  max-height: calc(100vh - 32px);
  opacity: 1;
  visibility: visible;
  padding: 80px 12px 20px;
}

.nav__mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav__mobile-menu a {
  display: block;
  font-family: var(--f-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--fg);
  padding: 16px 20px;
  border-radius: 14px;
  letter-spacing: -0.01em;
  transition: background 0.2s, color 0.2s;
  border-bottom: 1px solid #ffffff10;
}

.nav__mobile-menu li:last-child a { border-bottom: 0; }

.nav__mobile-menu a:hover,
.nav__mobile-menu a:active {
  background: #4F1FFF20;
  color: var(--violet-light);
}

@media (max-width: 900px) {
  .nav__center { display: none; }
  .nav__logout { display: none; }
  .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .nav { grid-template-columns: auto 1fr auto; }
  .nav__center-spacer { display: block; }
}

@media (min-width: 901px) {
  .nav__burger { display: none !important; }
  .nav__mobile-menu { display: none; }
}

/* ═══════════════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  padding: clamp(28px, 5vh, 64px) clamp(20px, 4vw, 64px) clamp(24px, 4vh, 48px);
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  overflow: hidden;
}

.hero__bars {
  position: absolute;
  right: -6%;
  top: 50%;
  width: min(50vmin, 520px);
  height: min(50vmin, 520px);
  transform: translateY(-50%);
  opacity: 0.6;
  filter: drop-shadow(0 0 80px #4F1FFF60) drop-shadow(0 0 30px #FF800040);
  pointer-events: none;
  z-index: 0;
}

.hero__bars img,
.hero__bars svg { width: 100%; height: 100%; }

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 12px;
  border: 1px solid #FF800040;
  background: rgba(255, 128, 0, 0.06);
  border-radius: var(--r-full);
  font-family: var(--f-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--orange);
  margin-bottom: 24px;
}

.hero__eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 12px var(--orange);
}

.hero__title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(34px, 6.5vw, 72px);
  line-height: 1;
  letter-spacing: -0.035em;
  margin-bottom: 20px;
}

.hero__sub {
  font-size: clamp(14px, 1.7vw, 17px);
  color: var(--fg-muted);
  max-width: 560px;
  line-height: 1.55;
  margin-bottom: 32px;
}

.hero__sub strong { color: var(--fg); font-weight: 600; }

.hero__ctas {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

/* ═══════════════════════════════════════════════════════════════
   HERO STATS LINE — numeros grandes gradient
═══════════════════════════════════════════════════════════════ */
.hero__stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

@media (min-width: 720px) {
  .hero__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 28px 48px;
  }
}

.hero__stat {
  flex: 0 0 auto;
  min-width: 0;
}

.hero__stat-num {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1;
  letter-spacing: -0.035em;
  margin-bottom: 6px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.hero__stat-num small {
  font-size: 0.5em;
  font-weight: 600;
  color: var(--fg-muted);
  letter-spacing: -0.01em;
}

.hero__stat-num .grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero__stat-label {
  font-family: var(--f-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--fg-subtle);
}

@media (max-width: 600px) {
  .hero__bars { right: -30%; opacity: 0.28; width: min(70vw, 360px); height: min(70vw, 360px); }
  .hero__title { font-size: clamp(30px, 9vw, 44px); }
  .hero__content { max-width: 100%; }
  .hero__ctas { gap: 8px; }
  .hero__ctas .btn { padding: 14px 22px; font-size: 14px; flex: 1 1 auto; }
}

/* ═══════════════════════════════════════════════════════════════
   BOTOES
═══════════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 17px 30px;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.005em;
  border-radius: var(--r-full);
  cursor: pointer;
  transition: all 0.25s var(--ease-soft);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn--primary {
  background: var(--grad-d);
  color: #fff;
  box-shadow: 0 6px 24px #4F1FFF40;
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 60px #4F1FFF50;
}

.btn--primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.btn--ghost {
  color: var(--fg);
  border: 1px solid var(--border-strong);
  background: transparent;
}

.btn--ghost:hover {
  background: var(--bg-surface);
  border-color: var(--fg-muted);
}

.btn__arrow { transition: transform 0.2s; }
.btn:hover .btn__arrow { transform: translateX(4px); }

.w-full { width: 100%; }

/* ═══════════════════════════════════════════════════════════════
   MARQUEE — ticker estilo Vorty
═══════════════════════════════════════════════════════════════ */
.marquee {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  background: rgba(10, 10, 14, 0.4);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.marquee__track {
  display: flex;
  gap: 48px;
  animation: marquee 45s linear infinite;
  width: max-content;
}

.marquee__item {
  display: flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(18px, 2.2vw, 28px);
  letter-spacing: -0.015em;
  color: var(--fg-muted);
}

.marquee__item:nth-child(even) { color: var(--fg); }

.marquee__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
  box-shadow: 0 0 20px var(--orange);
}

@keyframes marquee {
  to { transform: translate3d(-50%, 0, 0); }
}

/* ═══════════════════════════════════════════════════════════════
   SECTIONS
═══════════════════════════════════════════════════════════════ */
.section {
  position: relative;
  z-index: 1;
  padding: clamp(16px, 2.5vh, 32px) clamp(20px, 4vw, 64px);
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}

.section--tight {
  padding-top: clamp(10px, 1.5vh, 20px);
  padding-bottom: clamp(10px, 1.5vh, 20px);
}

.section__head {
  margin: 0 auto clamp(18px, 2.5vh, 32px);
  max-width: 760px;
  text-align: center;
}

.section__head .section__eyebrow,
.section__head .section__title,
.section__head .section__sub {
  margin-left: auto;
  margin-right: auto;
}

.section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 10px;
  border: 1px solid #FF800040;
  background: rgba(255, 128, 0, 0.06);
  border-radius: var(--r-full);
  font-family: var(--f-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--orange);
  margin-bottom: 20px;
}

.section__eyebrow::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 10px var(--orange);
}

.section__title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.section__sub {
  margin-top: 14px;
  color: var(--fg-muted);
  font-size: clamp(14px, 1.5vw, 16px);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════════
   PALAVRA do dia — versiculo card
═══════════════════════════════════════════════════════════════ */
.verse-card {
  position: relative;
  padding: 28px 28px 24px;
  background: rgba(20, 20, 27, 0.55);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.verse-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--grad);
  opacity: 0.6;
}

.verse-card__quote-mark {
  font-family: var(--f-display);
  font-size: 56px;
  line-height: 0.5;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  -webkit-user-select: none;
  user-select: none;
}

.verse-card__text {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(16px, 1.9vw, 19px);
  line-height: 1.4;
  letter-spacing: -0.012em;
  color: var(--fg);
}

.verse-card__ref {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--orange);
  text-transform: uppercase;
}

/* ═══════════════════════════════════════════════════════════════
   FOCO DO DIA — grid (chart full top, check | tip bottom)
═══════════════════════════════════════════════════════════════ */
.focus-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 900px) {
  .focus-grid {
    grid-template-columns: 1fr 1fr;
  }
  .focus-grid > .chart-card {
    grid-column: 1 / -1;
  }
}

/* Chart card */
.chart-card {
  position: relative;
  padding: 24px 24px 20px;
  background: rgba(20, 20, 27, 0.55);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  min-height: 240px;
}

.chart-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--grad);
  opacity: 0.5;
}

/* Estado vazio (todos os dias com 0 total) */
.chart--empty .chart__col { opacity: 0.55; }

.chart-empty {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  padding: 24px;
}

.chart-empty__msg {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
  text-align: center;
  background: rgba(10, 10, 14, 0.85);
  padding: 8px 16px;
  border-radius: var(--r-full);
  border: 1px solid var(--border);
}

.chart-card__inner {
  position: relative;
}

.chart-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.chart-card__title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.015em;
}

.chart-card__sub {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
  text-transform: uppercase;
}

.chart {
  display: flex;
  gap: 8px;
  align-items: flex-end;
  height: 140px;
  position: relative;
}

.chart__col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  height: 100%;
  cursor: default;
}

.chart__bar-wrap {
  flex: 1;
  width: 100%;
  display: flex;
  align-items: flex-end;
  position: relative;
}

.chart__bar {
  width: 100%;
  background: linear-gradient(180deg, #4F1FFF 0%, #FF8000 100%);
  border-radius: 6px 6px 0 0;
  min-height: 2px;
  transition: opacity 0.3s var(--ease-soft);
  position: relative;
  box-shadow: 0 -4px 16px #4F1FFF35;
}

.chart__bar--empty {
  background: var(--bg-surface);
  border: 1px dashed var(--border-strong);
  box-shadow: none;
}

.chart__bar--partial { opacity: 0.45; }

.chart__col:hover .chart__bar { opacity: 0.85; }

.chart__col--today .chart__bar::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 8px 8px 0 0;
  border: 1.5px solid var(--orange);
  pointer-events: none;
}

.chart__value {
  font-family: var(--f-mono);
  font-size: 10px;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
  height: 14px;
  display: flex;
  align-items: center;
}

.chart__col--today .chart__value { color: var(--orange); font-weight: 600; }

.chart__label {
  font-family: var(--f-mono);
  font-size: 10px;
  color: var(--fg-subtle);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.chart__col--today .chart__label { color: var(--fg); }

/* Checklist card */
.check-card {
  position: relative;
  padding: 24px 22px 20px;
  background: rgba(20, 20, 27, 0.55);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.check-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.check-card__title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.015em;
}

.check-card__count {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
  text-transform: uppercase;
}

.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  margin-bottom: 14px;
  max-height: 280px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border-strong) transparent;
}

.check-list::-webkit-scrollbar { width: 6px; }
.check-list::-webkit-scrollbar-track { background: transparent; }
.check-list::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 3px; }

.check-item {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--r-md);
  transition: background 0.2s;
  cursor: pointer;
}

.check-item:hover {
  background: rgba(255, 255, 255, 0.03);
}

.check-item__hora {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--orange);
  font-weight: 600;
  padding-top: 4px;
  min-width: 38px;
  white-space: nowrap;
}

.check-item__hora--empty {
  color: var(--fg-subtle);
  font-weight: 400;
}

.check-item__main {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.check-item__obs {
  font-size: 12px;
  color: var(--fg-muted);
  line-height: 1.4;
  word-break: break-word;
}

.check-item.is-done .check-item__obs {
  color: var(--fg-subtle);
}

.check-item__box {
  margin-top: 2px;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border: 1.5px solid var(--border-strong);
  border-radius: 6px;
  display: grid;
  place-items: center;
  transition: all 0.2s var(--ease-soft);
  background: rgba(20, 20, 27, 0.6);
}

.check-item__box::after {
  content: '';
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: var(--grad-d);
  transform: scale(0);
  transition: transform 0.2s var(--ease-spring);
}

.check-item.is-done .check-item__box {
  border-color: var(--violet);
}

.check-item.is-done .check-item__box::after {
  transform: scale(1);
}

.check-item__text {
  flex: 1;
  font-size: 14px;
  color: var(--fg);
  line-height: 1.4;
  word-break: break-word;
}

.check-item.is-done .check-item__text {
  color: var(--fg-subtle);
  text-decoration: line-through;
  text-decoration-color: var(--fg-subtle);
}

.check-item__del {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  color: var(--fg-subtle);
  opacity: 0;
  transition: opacity 0.2s, color 0.2s, background 0.2s;
  font-size: 16px;
  line-height: 1;
}

.check-item:hover .check-item__del { opacity: 1; }
.check-item__del:hover { color: #ff8b95; background: rgba(255, 71, 87, 0.1); }

.check-empty {
  text-align: center;
  padding: 32px 12px;
  color: var(--fg-subtle);
  font-size: 13px;
  font-family: var(--f-mono);
  letter-spacing: 0.02em;
}

.check-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--border);
  padding-top: 14px;
  margin-top: 14px;
}

.check-form__row {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: nowrap;
}

.check-form__row .input {
  padding: 11px 14px;
  font-size: 14px;
  flex: 1;
  min-width: 0;
}

.check-form__row .input--time {
  flex: 0 0 100px;
  font-family: var(--f-mono);
  letter-spacing: 0.04em;
}

.check-form .input--obs {
  font-size: 13px;
  resize: none;
  min-height: 40px;
  max-height: 100px;
  font-family: var(--f-body);
  padding: 10px 14px;
  width: 100%;
}

.check-form__btn {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  background: var(--grad-d);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 600;
  line-height: 1;
  box-shadow: 0 4px 14px #4F1FFF40;
  transition: all 0.2s var(--ease-soft);
}

.check-form__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 22px #4F1FFF60;
}

.check-form__btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* ═══════════════════════════════════════════════════════════════
   TIP CARD — dica de post do dia
═══════════════════════════════════════════════════════════════ */
.tip-card {
  position: relative;
  padding: 28px 26px 24px;
  background: linear-gradient(135deg, rgba(79, 31, 255, 0.12) 0%, rgba(255, 128, 0, 0.08) 100%), rgba(20, 20, 27, 0.55);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tip-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--grad);
  opacity: 0.7;
}

.tip-card__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 10px;
  border: 1px solid #FF800040;
  background: rgba(255, 128, 0, 0.06);
  border-radius: var(--r-full);
  font-family: var(--f-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--orange);
  align-self: flex-start;
}

.tip-card__eyebrow::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 10px var(--orange);
}

.tip-card__gancho {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--fg);
}

.tip-card__corpo {
  font-size: 14px;
  line-height: 1.6;
  color: var(--fg-muted);
  flex: 1;
}

.tip-card__actions {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}

.tip-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--r-full);
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  color: var(--fg);
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: -0.005em;
  transition: all 0.2s var(--ease-soft);
}

.tip-card__btn:hover {
  background: var(--bg-elev);
  border-color: var(--violet);
  color: var(--violet-light);
}

.tip-card__btn.is-copied {
  border-color: var(--success);
  color: var(--success);
  background: rgba(74, 222, 128, 0.08);
}

/* Skeleton — estado vazio do tip-card e similar */
@keyframes skeletonPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.75; }
}

.skeleton {
  display: block;
  background: linear-gradient(90deg, var(--bg-elev) 0%, var(--bg-surface) 50%, var(--bg-elev) 100%);
  border-radius: 6px;
  animation: skeletonPulse 1.6s ease-in-out infinite;
}

.skeleton--line { height: 14px; margin-bottom: 8px; }
.skeleton--line:last-child { margin-bottom: 0; }
.skeleton--title { height: 22px; width: 70%; margin-bottom: 14px; }
.skeleton--w-90 { width: 90%; }
.skeleton--w-70 { width: 70%; }
.skeleton--w-50 { width: 50%; }

/* Toast de feedback */
.toast {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  padding: 12px 22px;
  background: var(--bg-elev);
  border: 1px solid var(--violet);
  color: var(--fg);
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 13px;
  border-radius: var(--r-full);
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s var(--ease-soft);
  z-index: 200;
  box-shadow: 0 12px 40px #00000080, 0 0 0 1px #4F1FFF30;
  pointer-events: none;
}

.toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ═══════════════════════════════════════════════════════════════
   HABITS — cards de habitos do dia
═══════════════════════════════════════════════════════════════ */
.habits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}

@media (min-width: 1024px) {
  .habits-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.habit-card {
  position: relative;
  padding: 22px 16px 18px;
  background: rgba(20, 20, 27, 0.55);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.3s var(--ease-soft);
  overflow: hidden;
  font-family: inherit;
  color: inherit;
  width: 100%;
}

.habit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-soft);
}

.habit-card:hover {
  border-color: var(--violet);
  transform: translateY(-3px);
  background: rgba(28, 28, 38, 0.7);
}

.habit-card:hover::before { transform: scaleX(1); }

.habit-card.is-done {
  border-color: var(--success);
  background: rgba(74, 222, 128, 0.05);
}

.habit-card.is-done::before {
  background: var(--success);
  transform: scaleX(1);
  opacity: 0.7;
}

.habit-card__icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(10, 10, 14, 0.55);
  border: 1px solid var(--border);
  color: var(--habit-color, var(--violet));
  transition: all 0.3s var(--ease-soft);
}

.habit-card.is-done .habit-card__icon {
  border-color: var(--success);
  background: rgba(74, 222, 128, 0.1);
  color: var(--success);
}

.habit-card__icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.habit-card__name {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.01em;
  color: var(--fg);
}

.habit-card__meta {
  font-family: var(--f-mono);
  font-size: 10px;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.habit-card__check {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--success);
  color: #0a0a0e;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  opacity: 0;
  transform: scale(0);
  transition: opacity 0.25s var(--ease-soft), transform 0.3s var(--ease-spring);
  box-shadow: 0 4px 12px rgba(74, 222, 128, 0.4);
}

.habit-card.is-done .habit-card__check {
  opacity: 1;
  transform: scale(1);
}

.habits-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.habits-meta__streak {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px 4px 10px;
  border: 1px solid #FF800040;
  background: rgba(255, 128, 0, 0.06);
  border-radius: var(--r-full);
  color: var(--orange);
  font-weight: 600;
}

.habits-meta__streak::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 10px var(--orange);
}

/* ═══════════════════════════════════════════════════════════════
   PILLARS — modulos do app
═══════════════════════════════════════════════════════════════ */
.pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pillars { grid-template-columns: repeat(3, 1fr); } }

.pillar {
  position: relative;
  padding: 32px 28px;
  background: rgba(20, 20, 27, 0.55);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: all 0.4s var(--ease-soft);
  cursor: pointer;
}

.pillar:hover {
  border-color: var(--violet);
  transform: translateY(-6px);
  background: rgba(28, 28, 38, 0.7);
}

.pillar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-soft);
}

.pillar:hover::before { transform: scaleX(1); }

.pillar__num {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--orange);
  letter-spacing: 0.1em;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pillar__num::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.pillar__title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.pillar__body {
  font-size: 14px;
  line-height: 1.6;
  color: var(--fg-muted);
}

/* ═══════════════════════════════════════════════════════════════
   FORMS
═══════════════════════════════════════════════════════════════ */
.label {
  display: block;
  font-family: var(--f-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--fg-muted);
  margin-bottom: 10px;
  font-weight: 600;
}

.input {
  width: 100%;
  padding: 16px 18px;
  background: rgba(20, 20, 27, 0.6);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  color: var(--fg);
  font-size: 15px;
  font-family: var(--f-body);
  transition: all 0.2s var(--ease-soft);
}

.input:focus {
  outline: none;
  border-color: var(--violet);
  background: rgba(28, 28, 38, 0.8);
  box-shadow: 0 0 0 3px #4F1FFF20;
}

.input::placeholder { color: var(--fg-subtle); }

.error-msg {
  margin-top: 14px;
  padding: 12px 16px;
  background: rgba(255, 71, 87, 0.1);
  border: 1px solid rgba(255, 71, 87, 0.25);
  color: #ff8b95;
  border-radius: var(--r-md);
  font-size: 13px;
  display: none;
  font-family: var(--f-mono);
}

.error-msg.is-visible { display: block; }

/* ═══════════════════════════════════════════════════════════════
   LOGIN
═══════════════════════════════════════════════════════════════ */
.login-shell {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.login-card {
  width: 100%;
  max-width: 420px;
  padding: 44px 36px;
  background: rgba(20, 20, 27, 0.55);
  -webkit-backdrop-filter: blur(28px) saturate(140%);
  backdrop-filter: blur(28px) saturate(140%);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 80px #00000060, 0 0 0 1px #4F1FFF15;
}

.login-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--grad);
}

.login-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: 36px;
}

.login-logo {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: var(--grad-d);
  display: grid;
  place-items: center;
  box-shadow: 0 16px 40px #4F1FFF50, 0 0 0 1px #FF800040;
  padding: 12px;
}

.login-logo img,
.login-logo svg { width: 100%; height: 100%; }

.login-title {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.login-sub {
  font-size: 13px;
  color: var(--fg-muted);
  font-family: var(--f-mono);
  letter-spacing: 0.02em;
}

/* ═══════════════════════════════════════════════════════════════
   TABBAR mobile (visivel apenas <901px)
═══════════════════════════════════════════════════════════════ */
.tabbar {
  display: flex;
  background: rgba(20, 20, 27, 0.85);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  border-top: 1px solid var(--border);
  padding: 8px 0 max(8px, env(safe-area-inset-bottom));
  position: sticky;
  bottom: 0;
  z-index: 30;
}

.tabbar__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 0;
  font-family: var(--f-display);
  font-size: 11px;
  font-weight: 600;
  color: var(--fg-subtle);
  letter-spacing: -0.005em;
  transition: color 0.2s;
}

.tabbar__item.is-active { color: var(--fg); }

.tabbar__icon { font-size: 18px; line-height: 1; }

.tabbar__item.is-active .tabbar__icon {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

@media (min-width: 901px) {
  .tabbar { display: none; }
}

/* ═══════════════════════════════════════════════════════════════
   UTILITIES
═══════════════════════════════════════════════════════════════ */
.mono { font-family: var(--f-mono); }
.muted { color: var(--fg-muted); }
.subtle { color: var(--fg-subtle); }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }

@keyframes reveal {
  from { opacity: 0; transform: translate3d(0, 12px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

.reveal {
  opacity: 0;
  animation: reveal 0.7s var(--ease-out) forwards;
}
