/* ════════════════════════════════════════════════════════════════
   UTMize — landing page
   Reaproveita os tokens de design do app (styles.css :root).
   Estrutura inspirada na seome.io, identidade visual GL Suite.
   ════════════════════════════════════════════════════════════════ */

.lp { background: var(--bg); color: var(--ink); overflow-x: hidden; }
.lp-wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 24px; }

.lp section { position: relative; }
.lp .hl { color: var(--brand); }
.lp strong { font-weight: 700; color: var(--ink); }

/* Reset do shell do app caso styles.css aplique min-height flex */
.lp.app { display: block; min-height: auto; }

/* ════════════ NAV ════════════ */
.lp-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 244, 239, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.lp-nav .lp-wrap { display: flex; align-items: center; gap: 18px; height: 66px; }
.lp-nav-logo { height: 26px; width: auto; display: block; }
.lp-nav-links { display: flex; align-items: center; gap: 4px; margin-left: 14px; }
.lp-nav-links a {
  font-size: 13.5px; font-weight: 600; color: var(--ink-2);
  padding: 8px 12px; border-radius: 999px; transition: color .14s, background .14s;
}
.lp-nav-links a:hover { color: var(--brand); background: var(--brand-soft); }
.lp-nav-right { display: flex; align-items: center; gap: 10px; margin-left: auto; }

/* Seletor de idioma */
.lp-lang { position: relative; }
.lp-lang-btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 11.5px; font-weight: 600; letter-spacing: .04em;
  color: var(--muted); background: var(--card); border: 1px solid var(--line);
  padding: 8px 11px; border-radius: 999px; transition: border-color .14s, color .14s;
}
.lp-lang-btn:hover { border-color: var(--ink); color: var(--ink); }
.lp-lang-btn svg { width: 13px; height: 13px; }
.lp-lang-menu {
  position: absolute; top: calc(100% + 8px); right: 0; min-width: 168px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r-sm);
  box-shadow: var(--shadow-lg); padding: 6px; display: none; flex-direction: column; gap: 2px;
}
.lp-lang-menu.open { display: flex; }
.lp-lang-menu button {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  font-size: 13px; font-weight: 600; color: var(--ink-2); text-align: left;
  background: none; border: 0; padding: 9px 11px; border-radius: 8px; transition: background .12s;
}
.lp-lang-menu button:hover { background: var(--line-2); }
.lp-lang-menu button.active { color: var(--brand); }
.lp-lang-menu button.active::after { content: "✓"; color: var(--brand); font-weight: 700; }
.lp-lang-menu .flag { font-size: 11px; font-family: var(--mono); color: var(--faint); letter-spacing: .05em; }

.lp-nav-cta { display: inline-flex; }
.lp-nav-login { font-size: 13.5px; font-weight: 600; color: var(--ink-2); padding: 8px 6px; }
.lp-nav-login:hover { color: var(--brand); }

.lp-burger { display: none; }
.lp-nav-mobile { display: none; }

/* ════════════ HERO ════════════ */
.lp-hero { padding: 76px 0 64px; }
.lp-hero .lp-wrap {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
}
.lp-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--brand);
  background: var(--brand-soft); padding: 6px 12px; border-radius: 999px; margin-bottom: 22px;
}
.lp-hero-eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.lp-hero h1 {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(36px, 5.2vw, 60px); line-height: 1.02; letter-spacing: -.045em;
}
.lp-hero-sub { font-size: clamp(15px, 1.5vw, 17px); color: var(--muted); margin-top: 22px; max-width: 46ch; line-height: 1.6; }
.lp-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.lp .btn.lg { padding: 14px 26px; font-size: 14.5px; }
.lp-hero-claims { display: flex; flex-direction: column; gap: 11px; margin-top: 34px; }
.lp-claim { display: flex; align-items: center; gap: 11px; font-size: 14px; color: var(--ink-2); font-weight: 500; }
.lp-claim svg { width: 19px; height: 19px; flex-shrink: 0; color: var(--pos); }

/* Visual do hero — mock do painel */
.lp-hero-visual { position: relative; }
.lp-mock {
  background: var(--rail); border-radius: var(--r-lg); padding: 18px;
  box-shadow: var(--shadow-lg); border: 1px solid #1f1f27;
  transform: perspective(1600px) rotateY(-8deg) rotateX(2deg);
}
.lp-mock-bar { display: flex; align-items: center; gap: 6px; padding: 2px 4px 14px; }
.lp-mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: #2e2e38; display: block; }
.lp-mock-bar span {
  margin-left: 10px; font-family: var(--mono); font-size: 10px; color: var(--rail-dim);
  letter-spacing: .04em;
}
.lp-mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 12px; }
.lp-mk {
  background: var(--rail-2); border: 1px solid var(--rail-line); border-radius: 12px; padding: 12px 13px;
}
.lp-mk-label { font-family: var(--mono); font-size: 8.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--rail-dim); }
.lp-mk-value { font-family: var(--display); font-weight: 800; font-size: 22px; color: #fff; letter-spacing: -.03em; margin-top: 7px; line-height: 1; }
.lp-mk-value .u { font-size: 12px; color: var(--brand-lite); }
.lp-mk-trend { font-family: var(--mono); font-size: 9px; color: #34d399; margin-top: 6px; }
.lp-mock-chart {
  background: var(--rail-2); border: 1px solid var(--rail-line); border-radius: 12px;
  padding: 14px 14px 10px; height: 158px; display: flex; flex-direction: column;
}
.lp-mock-chart .t { font-family: var(--mono); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; color: var(--rail-dim); margin-bottom: auto; }
.lp-bars { display: flex; align-items: flex-end; gap: 7px; height: 96px; }
.lp-bars i { flex: 1; background: linear-gradient(180deg, var(--brand-lite), var(--brand)); border-radius: 4px 4px 0 0; display: block; opacity: .9; }
.lp-bars i:last-child { background: linear-gradient(180deg, #34d399, #059669); }
.lp-mock-tag {
  position: absolute; right: -14px; bottom: 26px;
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow-lg); padding: 11px 14px; display: flex; align-items: center; gap: 10px;
}
.lp-mock-tag .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--pos); box-shadow: 0 0 0 4px var(--pos-soft); }
.lp-mock-tag b { font-family: var(--display); font-size: 13px; }
.lp-mock-tag small { display: block; font-size: 10.5px; color: var(--muted); font-family: var(--mono); }

/* ════════════ FAIXA DE CONFIANÇA ════════════ */
.lp-trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 0; }
.lp-trust .lp-wrap { display: flex; align-items: center; justify-content: center; gap: 12px; text-align: center; }
.lp-trust p { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: var(--muted); }
.lp-trust .sq { width: 7px; height: 7px; background: var(--brand); border-radius: 2px; flex-shrink: 0; }

/* ════════════ SEÇÕES GENÉRICAS ════════════ */
.lp-section { padding: 92px 0; }
.lp-section.tight { padding: 72px 0; }
.section-head { max-width: 640px; margin: 0 auto 52px; text-align: center; }
.section-head .eyebrow { justify-content: center; }
.section-head h2 {
  font-family: var(--display); font-weight: 800; font-size: clamp(28px, 3.4vw, 42px);
  letter-spacing: -.04em; line-height: 1.05;
}
.section-head p { font-size: 15.5px; color: var(--muted); margin-top: 14px; line-height: 1.6; }

/* ════════════ PROBLEMA ════════════ */
.lp-problem { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lp-problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.lp-prob {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); padding: 26px 24px;
}
.lp-prob-icon {
  width: 42px; height: 42px; border-radius: 12px; background: var(--neg-soft); color: var(--neg);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.lp-prob-icon svg { width: 21px; height: 21px; }
.lp-prob h3 { font-family: var(--display); font-size: 17px; font-weight: 700; letter-spacing: -.02em; }
.lp-prob p { font-size: 13.5px; color: var(--muted); margin-top: 9px; line-height: 1.6; }

/* ════════════ COMO FUNCIONA ════════════ */
.lp-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.lp-step { position: relative; padding-top: 8px; }
.lp-step-n {
  width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 800; font-size: 18px; margin-bottom: 18px;
}
.lp-step:nth-child(1) .lp-step-n { background: var(--brand); }
.lp-step h3 { font-family: var(--display); font-size: 16px; font-weight: 700; letter-spacing: -.02em; }
.lp-step p { font-size: 13.5px; color: var(--muted); margin-top: 9px; line-height: 1.6; }
.lp-step::after {
  content: ""; position: absolute; top: 22px; left: 56px; right: -9px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 12px);
}
.lp-step:last-child::after { display: none; }

/* ════════════ RECURSOS ════════════ */
.lp-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.lp-feat {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 28px 26px;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.lp-feat:hover { border-color: #d8d8d2; box-shadow: var(--shadow); transform: translateY(-3px); }
.lp-feat-icon {
  width: 46px; height: 46px; border-radius: 13px; background: var(--brand-soft); color: var(--brand);
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.lp-feat-icon svg { width: 23px; height: 23px; }
.lp-feat h3 { font-family: var(--display); font-size: 18px; font-weight: 700; letter-spacing: -.02em; }
.lp-feat p { font-size: 14px; color: var(--muted); margin-top: 10px; line-height: 1.6; }

/* ════════════ PLANOS ════════════ */
.lp-pricing { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lp-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.lp-plan {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 28px;
  display: flex; flex-direction: column; position: relative;
}
.lp-plan.featured {
  background: var(--rail); border-color: var(--rail); color: #fff;
  box-shadow: var(--shadow-lg); transform: scale(1.025);
}
.lp-plan-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--brand); color: #fff; font-family: var(--mono); font-size: 10px;
  font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px; white-space: nowrap;
}
.lp-plan-name { font-family: var(--display); font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
.lp-plan-desc { font-size: 13px; color: var(--muted); margin-top: 8px; line-height: 1.5; min-height: 38px; }
.lp-plan.featured .lp-plan-desc { color: var(--faint); }
.lp-plan-price { margin: 22px 0 4px; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.lp-plan-price .amount { font-family: var(--display); font-weight: 800; font-size: 38px; letter-spacing: -.04em; line-height: 1; }
.lp-plan-price .period { font-size: 13px; color: var(--muted); font-weight: 600; }
.lp-plan.featured .lp-plan-price .period { color: var(--faint); }
.lp-plan-alt { font-family: var(--mono); font-size: 11.5px; color: var(--muted); min-height: 17px; }
.lp-plan.featured .lp-plan-alt { color: var(--brand-lite); }
.lp-plan-list { list-style: none; margin: 22px 0 26px; display: flex; flex-direction: column; gap: 12px; }
.lp-plan-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: var(--ink-2); line-height: 1.45; }
.lp-plan.featured .lp-plan-list li { color: #e6e6ea; }
.lp-plan-list svg { width: 17px; height: 17px; flex-shrink: 0; color: var(--brand); margin-top: 1px; }
.lp-plan.featured .lp-plan-list svg { color: var(--brand-lite); }
.lp-plan .btn { margin-top: auto; }
.lp-plan.featured .btn.ghost { background: transparent; border-color: rgba(255,255,255,.22); color: #fff; }
.lp-plan.featured .btn.ghost:hover { border-color: #fff; background: rgba(255,255,255,.06); }
/* Plano-base único: centraliza um só card com largura confortável. */
.lp-plans--single { grid-template-columns: minmax(0, 420px); justify-content: center; }
/* Dois cards (produto individual + GL Suite PRO): centralizados e alinhados. */
.lp-plans--duo { grid-template-columns: repeat(2, minmax(0, 400px)); justify-content: center; }
.lp-plan-annual-note { display: block; margin-top: 4px; opacity: .85; }

/* ════════════ FAQ ════════════ */
.lp-faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.lp-faq-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.lp-faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  text-align: left; background: none; border: 0; padding: 20px 22px;
  font-family: var(--display); font-size: 15.5px; font-weight: 700; color: var(--ink); letter-spacing: -.01em;
}
.lp-faq-q .ic { flex-shrink: 0; width: 22px; height: 22px; color: var(--brand); transition: transform .2s; }
.lp-faq-item.open .lp-faq-q .ic { transform: rotate(45deg); }
.lp-faq-a { max-height: 0; overflow: hidden; transition: max-height .26s ease; }
.lp-faq-a p { padding: 0 22px 22px; font-size: 14px; color: var(--muted); line-height: 1.65; }

/* ════════════ CTA FINAL ════════════ */
.lp-final { background: var(--rail); color: #fff; }
.lp-final .lp-wrap { text-align: center; max-width: 720px; }
.lp-final h2 { font-family: var(--display); font-weight: 800; font-size: clamp(28px, 3.6vw, 44px); letter-spacing: -.04em; line-height: 1.05; }
.lp-final p { font-size: 16px; color: var(--rail-text); margin-top: 16px; line-height: 1.6; }
.lp-final-actions { display: flex; flex-wrap: wrap; gap: 13px; justify-content: center; margin-top: 32px; }
.lp-final .btn.ghost { background: transparent; border-color: rgba(255,255,255,.22); color: #fff; }
.lp-final .btn.ghost:hover { border-color: #fff; background: rgba(255,255,255,.06); }

/* ════════════ RODAPÉ ════════════ */
.lp-footer { background: var(--ink); color: var(--rail-text); padding: 58px 0 34px; }
.lp-footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-bottom: 38px; border-bottom: 1px solid var(--rail-line); }
.lp-footer-brand img { height: 26px; margin-bottom: 16px; }
.lp-footer-brand p { font-size: 13.5px; line-height: 1.6; max-width: 38ch; color: var(--rail-dim); }
.lp-footer-col h4 { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--rail-dim); margin-bottom: 16px; }
.lp-footer-col a { display: block; font-size: 13.5px; color: var(--rail-text); padding: 5px 0; transition: color .14s; }
.lp-footer-col a:hover { color: #fff; }
.lp-footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 24px; flex-wrap: wrap; }
.lp-footer-bottom p { font-size: 12px; color: var(--rail-dim); font-family: var(--mono); }

/* ════════════ RESPONSIVO ════════════ */
@media (max-width: 940px) {
  .lp-hero .lp-wrap { grid-template-columns: 1fr; gap: 44px; }
  .lp-hero-visual { max-width: 440px; }
  .lp-mock { transform: none; }
  .lp-mock-tag { right: 10px; }
  .lp-problem-grid, .lp-features, .lp-plans { grid-template-columns: 1fr; }
  .lp-steps { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .lp-step::after { display: none; }
  .lp-plan.featured { transform: none; }
  .lp-footer-top { grid-template-columns: 1fr 1fr; }
  .lp-footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  .lp-nav-links, .lp-nav-login { display: none; }
  .lp-burger {
    display: inline-flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; border-radius: 999px; border: 1px solid var(--line);
    background: var(--card); color: var(--ink);
  }
  .lp-nav-mobile {
    display: none; position: absolute; top: 66px; left: 0; right: 0;
    background: var(--card); border-bottom: 1px solid var(--line); padding: 14px 24px 20px;
    flex-direction: column; gap: 4px;
  }
  .lp-nav-mobile.open { display: flex; }
  .lp-nav-mobile a { font-size: 15px; font-weight: 600; color: var(--ink-2); padding: 11px 8px; border-radius: 8px; }
  .lp-nav-mobile a:hover { background: var(--line-2); color: var(--brand); }
  .lp-section { padding: 64px 0; }
  .lp-hero { padding: 48px 0 40px; }
  .lp-steps { grid-template-columns: 1fr; }
  .lp-footer-top { grid-template-columns: 1fr; gap: 28px; }
}
