/* DM10Fit LP — component-specific styles */

/* ─── Header ──────────────────────────────────────────────────────────── */
.hdr {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding-block: 14px;
  transition: background .25s ease, backdrop-filter .25s ease, border-color .25s ease;
  border-bottom: 1px solid transparent;
}
.hdr--scrolled {
  background: rgba(10,10,10,.75);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom-color: var(--line);
}
[data-theme="light"] .hdr--scrolled { background: rgba(255,255,255,.85); }
.hdr__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.hdr__brand { display: inline-flex; align-items: center; }
.hdr__brand img { height: 28px; width: auto; display: block; content: url("assets/logo-white.png"); }
[data-theme="light"] .hdr__brand img { content: url("assets/logo-bicolor.png"); }
.hdr__logo { max-width: 160px; }

.hdr__nav { display: flex; gap: 28px; }
.hdr__nav a { font-size: 14px; font-weight: 500; color: var(--text-mute); transition: color .15s; }
.hdr__nav a:hover { color: var(--text); }
.hdr__cta { display: flex; align-items: center; gap: 16px; }
.hdr__login { font-size: 14px; font-weight: 600; color: var(--text); }
.hdr .btn { padding: 12px 20px; font-size: 14px; }

/* Burger (mobile) */
.hdr__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 42px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: rgba(255,255,255,.04);
  cursor: pointer;
  padding: 0 10px;
}
.hdr__burger span {
  display: block; height: 2px; width: 100%;
  background: var(--text); border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.hdr--open .hdr__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hdr--open .hdr__burger span:nth-child(2) { opacity: 0; }
.hdr--open .hdr__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile dropdown */
.hdr__mobile {
  display: none;
  flex-direction: column;
  gap: 8px;
  padding: 0 var(--pad-x);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height .3s ease, opacity .25s ease, padding .3s ease;
}
.hdr__mobile.is-open {
  max-height: 70vh;
  opacity: 1;
  padding-top: 14px;
  padding-bottom: 18px;
}
.hdr--open {
  background: rgba(10,10,10,.96);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom-color: var(--line);
}
[data-theme="light"] .hdr--open { background: rgba(255,255,255,.97); }
.hdr__mobile-nav { display: flex; flex-direction: column; }
.hdr__mobile-nav a {
  font-size: 16px; font-weight: 600; color: var(--text);
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
}
.hdr__mobile .btn { margin-top: 12px; }

@media (max-width: 880px) {
  .hdr__nav { display: none; }
  .hdr__cta { display: none; }
  .hdr__burger { display: flex; }
  .hdr__mobile { display: flex; }
}

/* ─── Hero ─────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding-top: 140px;
  padding-bottom: 80px;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 30%, transparent 75%);
}
.hero__glow {
  position: absolute; top: -20%; left: 60%; width: 60vw; height: 60vw;
  background: radial-gradient(closest-side, rgba(240,203,31,.18), transparent 70%);
  filter: blur(10px);
}
.hero__blob {
  position: absolute; bottom: -30%; left: -10%; width: 50vw; height: 50vw;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(240,203,31,.08), transparent 70%);
  filter: blur(20px);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
  padding-top: 24px;
}
@media (max-width: 980px) { .hero__inner { grid-template-columns: 1fr; } }

.hero__left { display: flex; flex-direction: column; gap: 24px; }
.hero__title {
  font-size: clamp(40px, 5.8vw, 84px);
  margin: 6px 0 0;
}
.hero__title em { font-style: normal; color: var(--dm-yellow); }
.hero__sub {
  font-size: clamp(16px, 1.25vw, 19px);
  color: var(--text-mute);
  max-width: 56ch;
  margin: 0;
  line-height: 1.55;
}
.hero__sub strong { color: var(--text); font-weight: 700; }
.hero__bullets { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-direction: column; gap: 12px; }
.hero__bullets li { display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 500; }

.hero__trust { display: flex; align-items: center; gap: 16px; margin-top: 12px; padding-top: 24px; border-top: 1px solid var(--line); }
.hero__avatars { display: flex; }
.hero__avatars .av { width: 40px; height: 40px; border: 2px solid var(--bg); margin-right: -12px; overflow: hidden; background: #fff; }
.hero__avatars .av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero__stars { display: flex; align-items: center; gap: 4px; color: var(--dm-yellow); font-size: 14px; }
.hero__stars strong { color: var(--text); margin-left: 6px; }
.hero__trust-sub { font-size: 13px; color: var(--text-mute); }

.av { display: inline-block; border-radius: 50%; width: 32px; height: 32px; flex: none; }
.av--0 { background: linear-gradient(135deg, #FFD933, #C9A60E); }
.av--1 { background: linear-gradient(135deg, #4F4F4F, #1A1A1A); }
.av--2 { background: linear-gradient(135deg, #FF8A3D, #C13E18); }
.av--3 { background: linear-gradient(135deg, #6BAEFF, #2D5BAF); }

/* Lead form card */
.lead {
  background: linear-gradient(180deg, #1A1A1A, #111);
  border: 1px solid var(--line-2);
  border-radius: var(--r-xl);
  padding: 28px;
  display: flex; flex-direction: column; gap: 16px;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.6), 0 0 0 1px rgba(240,203,31,.06) inset;
  position: relative;
}
.lead::before {
  content: ''; position: absolute; inset: -1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(240,203,31,.3), transparent 30%);
  z-index: -1;
  filter: blur(0.5px);
}
.lead__head { display: flex; flex-direction: column; gap: 6px; padding-bottom: 6px; }
.lead__title { font-size: 28px; line-height: 1; }
.lead__sub { font-size: 14px; color: var(--text-mute); }
.lead__foot { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-mute); justify-content: center; }

.hero__logos { margin-top: clamp(48px, 6vw, 90px); padding-top: 40px; border-top: 1px solid var(--line); }
.hero__logos-lbl { display: block; text-align: center; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-mute); margin-bottom: 24px; }
.hero__logos-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
@media (max-width: 760px) { .hero__logos-row { grid-template-columns: repeat(3, 1fr); } }
.placeholder-logo {
  height: 44px; display: flex; align-items: center; justify-content: center;
  border: 1px dashed var(--line-2); border-radius: 10px;
  font-family: var(--ff-display); font-weight: 800; font-size: 13px;
  color: var(--text-mute); letter-spacing: .04em; text-transform: uppercase;
  opacity: .6; transition: opacity .15s, color .15s;
}
.placeholder-logo:hover { opacity: 1; color: var(--dm-yellow); }
.placeholder-logo--star {
  opacity: 1;
  color: var(--dm-black);
  background: var(--dm-yellow);
  border: 1px solid var(--dm-yellow);
  box-shadow: 0 0 18px -2px rgba(240,203,31,.6), 0 0 0 1px rgba(240,203,31,.4);
  animation: logo-glow 2.6s ease-in-out infinite;
}
.placeholder-logo--star:hover { color: var(--dm-black); }
@keyframes logo-glow {
  0%, 100% { box-shadow: 0 0 14px -2px rgba(240,203,31,.45), 0 0 0 1px rgba(240,203,31,.3); }
  50%      { box-shadow: 0 0 26px 2px rgba(240,203,31,.75), 0 0 0 1px rgba(240,203,31,.5); }
}

/* ─── Problem ─────────────────────────────────────────────────────────── */
.problem__head { max-width: 880px; margin-bottom: 56px; }
.problem__title { font-size: clamp(40px, 5.4vw, 80px); margin: 12px 0 16px; }
.problem__sub { font-size: clamp(16px, 1.2vw, 20px); color: var(--text-mute); max-width: 60ch; margin: 0; }

.problem__stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  margin: 40px 0 64px;
}
@media (max-width: 880px) { .problem__stats { grid-template-columns: 1fr; } }
.stat {
  padding: 28px; border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px;
}
.stat__kpi { font-size: clamp(48px, 5vw, 72px); color: var(--dm-yellow); }
.stat__label { font-weight: 600; font-size: 17px; }
.stat__detail { font-size: 14px; color: var(--text-mute); margin-bottom: 12px; }
.stat__bar { height: 6px; background: var(--line); border-radius: 999px; overflow: hidden; }
.stat__bar span { display: block; height: 100%; background: var(--dm-yellow); border-radius: 999px; }

.problem__pains {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line);
  border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid var(--line);
}
@media (max-width: 880px) { .problem__pains { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .problem__pains { grid-template-columns: 1fr; } }
.pain {
  background: var(--bg); padding: 28px; display: flex; gap: 16px; align-items: flex-start;
  transition: background .2s ease;
}
.pain:hover { background: var(--surface); }
.pain__num { font-family: var(--ff-display); font-weight: 900; color: var(--dm-yellow); font-size: 14px; letter-spacing: .12em; min-width: 32px; }
.pain__t { font-size: 22px; margin-bottom: 8px; }
.pain__d { font-size: 14px; color: var(--text-mute); line-height: 1.5; }

/* ─── Demo ─────────────────────────────────────────────────────────────── */
.demo .section-head { margin-bottom: 36px; }
.demo__tabs {
  display: flex; gap: 8px; padding: 6px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-pill);
  width: max-content;
  margin-bottom: 32px;
  overflow-x: auto;
  max-width: 100%;
}
.demo__tab {
  background: transparent; border: 0; padding: 12px 22px;
  border-radius: var(--r-pill); color: var(--text-mute);
  font-weight: 600; font-size: 14px;
  white-space: nowrap;
  transition: background .15s, color .15s;
}
.demo__tab:hover { color: var(--text); }
.demo__tab.is-active { background: var(--dm-yellow); color: var(--dm-black); }

.demo__viewport { position: relative; }
.browser {
  background: #0F0F0F;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 40px 120px -30px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.04) inset;
}
.browser__chrome {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 16px;
  background: #161616;
  border-bottom: 1px solid var(--line);
}
.browser__lights { display: flex; gap: 8px; }
.browser__lights span { width: 12px; height: 12px; border-radius: 50%; background: #3A3A3A; }
.browser__lights span:nth-child(1) { background: #FF5F57; }
.browser__lights span:nth-child(2) { background: #FEBC2E; }
.browser__lights span:nth-child(3) { background: #28C840; }
.browser__lights--ghost span { background: transparent !important; }
.browser__url {
  flex: 1; text-align: center; font-size: 13px; color: var(--text-mute);
  background: #0F0F0F; padding: 6px 14px; border-radius: var(--r-pill);
  border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  max-width: 480px; margin: 0 auto;
}
.browser__body { background: #FAFAFA; color: #1A1A1A; min-height: 580px; }
.browser__body--frame { background: #0B0C0F; min-height: 0; overflow: hidden; position: relative; }

/* Dashboard */
.dash { display: grid; grid-template-columns: 230px 1fr; min-height: 580px; }
@media (max-width: 760px) { .dash { grid-template-columns: 64px 1fr; } .dash__navitem span:last-child { display: none; } }
.dash__side { background: #0F0F0F; color: #F5F5F5; padding: 18px 14px; display: flex; flex-direction: column; gap: 4px; }
.dash__brand { padding: 6px 8px 18px; border-bottom: 1px solid rgba(255,255,255,.08); margin-bottom: 12px; }
.dash__brand img { height: 22px; content: url("assets/logo-white.png"); }
.dash__navitem {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 10px; color: rgba(255,255,255,.7);
  font-size: 13px; font-weight: 500;
}
.dash__navitem.is-active { background: rgba(240,203,31,.14); color: var(--dm-yellow); }
.dash__navicon { width: 18px; display: inline-block; text-align: center; opacity: .8; }
.dash__user { margin-top: auto; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.08); display: flex; gap: 10px; align-items: center; }
.dash__usern { font-size: 13px; font-weight: 600; }
.dash__userl { font-size: 11px; color: rgba(255,255,255,.5); }

.dash__main { padding: 22px 28px; display: flex; flex-direction: column; gap: 20px; background: #FAFAFA; min-width: 0; }
.dash__topbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.dash__crumb { font-size: 12px; color: #707070; letter-spacing: .04em; text-transform: uppercase; font-weight: 600; }
.dash__h1 { font-size: 24px; line-height: 1.1; margin-top: 4px; color: #0A0A0A; }
.dash__topactions { display: flex; gap: 8px; align-items: center; }
.dash__topactions .pill { background: #FFF; border-color: rgba(0,0,0,.08); color: #0A0A0A; font-size: 12px; }
.dash__topactions .btn { padding: 10px 16px; font-size: 13px; }
.dash__topactions .btn--ghost { color: #0A0A0A; border-color: rgba(0,0,0,.12); }

.kpi-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 760px) { .kpi-row { grid-template-columns: repeat(2, 1fr); } }
.kpi { background: #FFF; border: 1px solid rgba(0,0,0,.06); border-radius: 14px; padding: 14px 16px; }
.kpi__l { font-size: 11px; color: #707070; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.kpi__v { font-size: 22px; margin: 4px 0 2px; color: #0A0A0A; letter-spacing: -0.02em; }
.kpi__d { font-size: 11px; color: #707070; }

.dash__row { display: grid; grid-template-columns: 1.5fr 1fr; gap: 12px; }
@media (max-width: 1000px) { .dash__row { grid-template-columns: 1fr; } }
.dash__panel { background: #FFF; border: 1px solid rgba(0,0,0,.06); border-radius: 14px; padding: 16px; }
.dash__panel--chart { display: flex; flex-direction: column; }
.dash__panel-h { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 14px; }
.dash__panel-eyebrow { font-size: 11px; color: #707070; letter-spacing: .04em; text-transform: uppercase; font-weight: 600; }
.dash__panel-t { font-size: 15px; font-weight: 700; color: #0A0A0A; margin-top: 2px; }
.dash__link { font-size: 12px; color: #0A0A0A; font-weight: 600; }

.seg { display: flex; gap: 2px; background: #F0F0F0; padding: 3px; border-radius: 8px; }
.seg button { font: inherit; font-size: 11px; font-weight: 600; padding: 4px 10px; border: 0; border-radius: 6px; background: transparent; color: #707070; }
.seg button.is-active { background: #FFF; color: #0A0A0A; box-shadow: 0 1px 2px rgba(0,0,0,.06); }

.chart { display: grid; grid-template-columns: 50px 1fr; gap: 8px; height: 220px; }
.chart__y { display: flex; flex-direction: column; justify-content: space-between; font-size: 10px; color: #909090; text-align: right; padding-bottom: 24px; }
.chart__plot { display: grid; grid-template-columns: repeat(30, 1fr); gap: 4px; align-items: end; padding-bottom: 0; border-bottom: 1px solid rgba(0,0,0,.06); }
.chart__bar { background: transparent; border-radius: 2px 2px 0 0; min-height: 3%; position: relative; display: flex; align-items: flex-end; }
.chart__bartip { display: block; width: 100%; height: 100%; border-radius: 2px 2px 0 0; }

.cob-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.cob-list li { display: flex; align-items: center; gap: 10px; padding: 8px 4px; border-bottom: 1px solid #F0F0F0; }
.cob-list li:last-child { border-bottom: 0; }
.cob__info { flex: 1; min-width: 0; }
.cob__n { font-size: 13px; font-weight: 600; color: #0A0A0A; }
.cob__p { font-size: 11px; color: #707070; }
.cob__v { font-size: 13px; font-weight: 700; color: #0A0A0A; }
.cob__s { font-size: 10px; padding: 3px 7px; border-radius: 4px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.cob__s--pago { background: rgba(14, 174, 123, .14); color: #0E7A52; }
.cob__s--pendente { background: rgba(240, 203, 31, .2); color: #8a6e08; }
.cob__s--atrasado { background: rgba(255, 80, 80, .15); color: #B23A3A; }

.filt-row { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { background: #FFF; border: 1px solid rgba(0,0,0,.08); padding: 8px 14px; border-radius: var(--r-pill); font-size: 12px; font-weight: 600; color: #0A0A0A; }
.chip.is-active { background: #0A0A0A; color: #FFF; border-color: #0A0A0A; }

.tbl { width: 100%; border-collapse: collapse; }
.tbl th { text-align: left; font-size: 11px; color: #707070; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; padding: 12px 8px; border-bottom: 1px solid #F0F0F0; }
.tbl td { padding: 12px 8px; font-size: 13px; color: #0A0A0A; border-bottom: 1px solid #F5F5F5; }
.tbl__name { font-weight: 600; display: flex; align-items: center; gap: 10px; }
.tag { font-size: 10px; padding: 3px 7px; border-radius: 4px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.tag--ok { background: rgba(14, 174, 123, .14); color: #0E7A52; }
.tag--warn { background: rgba(240, 203, 31, .2); color: #8a6e08; }
.tag--bad { background: rgba(255, 80, 80, .15); color: #B23A3A; }

.evt-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; }
.evt { display: grid; grid-template-columns: 70px 110px 1fr auto; align-items: center; gap: 14px; padding: 12px 4px; border-bottom: 1px solid #F0F0F0; }
.evt:last-child { border-bottom: 0; }
.evt__time { font-family: var(--ff-mono); font-size: 12px; color: #707070; }
.evt__badge { font-size: 10px; font-weight: 700; padding: 4px 8px; border-radius: 4px; text-transform: uppercase; letter-spacing: .04em; text-align: center; }
.evt__badge--entrada { background: rgba(14, 174, 123, .14); color: #0E7A52; }
.evt__badge--saída,
.evt__badge--saida { background: rgba(0,0,0,.06); color: #5A5A5A; }
.evt__badge--bloqueado { background: rgba(255, 80, 80, .15); color: #B23A3A; }
.evt__name { font-size: 13px; font-weight: 600; color: #0A0A0A; }
.evt__plano { font-size: 12px; }

.ex-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; }
.ex-list li { display: flex; align-items: center; gap: 14px; padding: 12px 4px; border-bottom: 1px solid #F0F0F0; }
.ex-list li:last-child { border-bottom: 0; }
.ex__num { font-family: var(--ff-display); font-size: 12px; font-weight: 800; color: #707070; min-width: 28px; }
.ex__info { flex: 1; }
.ex__n { font-size: 14px; font-weight: 600; color: #0A0A0A; }
.ex__s { font-size: 12px; }
.ex__edit { background: transparent; border: 1px solid rgba(0,0,0,.08); border-radius: 8px; padding: 6px 12px; font-size: 12px; font-weight: 600; color: #0A0A0A; }

.meas { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.meas__item { padding: 14px; background: #FAFAFA; border-radius: 10px; }
.meas__l { font-size: 11px; color: #707070; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.meas__v { font-size: 22px; margin: 4px 0; color: #0A0A0A; }
.meas__d { font-size: 12px; font-weight: 700; color: #0E7A52 !important; }
.meas__note { margin-top: 12px; font-size: 12px; color: #707070; }
