/* ============================================================
   SGLM — Landing page layout
   Marketing surface built on the Justiça e Liberdade tokens.
   Generous, editorial spacing (the app itself is compact).
   ============================================================ */

html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); }
a { color: var(--gold-deep); text-decoration: none; }
a:hover { color: var(--ink); }

.lp { overflow-x: hidden; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 32px; }
.wrap-narrow { max-width: 820px; margin: 0 auto; padding: 0 32px; }

.eyebrow {
  font-family: var(--f-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow.on-dark { color: var(--gold-soft); }
.eyebrow .rule { width: 28px; height: 1px; background: currentColor; opacity: 0.6; }

.serif { font-family: var(--f-display); }
.mono  { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.italead {
  font-family: var(--f-display);
  font-style: italic;
  color: var(--ink-soft);
  font-weight: 500;
}

/* ---------- Top nav ---------- */
.lp-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245,241,232,0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.lp-nav .row {
  display: flex; align-items: center; gap: 24px;
  height: 66px;
}
.lp-brand { display: flex; align-items: center; gap: 12px; }
.lp-brand .mark {
  width: 44px; height: 44px; object-fit: contain; box-sizing: border-box;
  background: #0b1322; border-radius: 50%; padding: 6px;
  border: 1px solid var(--gold);
  box-shadow: 0 1px 4px rgba(14,31,61,0.14);
}
.lp-brand .txt { display: flex; flex-direction: column; }
.lp-brand .txt .t {
  font-family: var(--f-display); font-weight: 700; font-size: 17px;
  line-height: 1; letter-spacing: -0.01em;
}
.lp-brand .txt .s {
  font-size: 9.5px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); margin-top: 4px;
}
.lp-nav .links { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.lp-nav .links a {
  font-size: 13.5px; font-weight: 500; color: var(--ink-soft);
  letter-spacing: 0.01em;
}
.lp-nav .links a:hover { color: var(--ink); }
.lp-nav .actions { display: flex; align-items: center; gap: 10px; }
@media (max-width: 900px) {
  .lp-nav .links { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(120% 90% at 78% 8%, rgba(184,146,61,0.16) 0%, rgba(184,146,61,0) 55%),
    #0b1322;
  color: #ece6d4;
  border-bottom: 1px solid #05080f;
  overflow: hidden;
}
.hero .seal-wm {
  position: absolute; right: -140px; top: 50%; transform: translateY(-50%);
  width: 720px; height: 720px; opacity: 0.06; pointer-events: none;
}
.hero .inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px;
  align-items: center;
  padding: 92px 0 96px;
}
.hero h1 {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 58px;
  line-height: 1.04;
  letter-spacing: -0.015em;
  margin: 22px 0 0;
  color: #f4eeda;
}
.hero h1 em { color: var(--gold-soft); font-style: italic; }
.hero .lead {
  font-family: var(--f-display); font-style: italic;
  font-size: 21px; line-height: 1.5; color: #c9c3b0;
  margin-top: 22px; max-width: 30em;
}
.hero .cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero .trust {
  display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 30px;
  font-size: 12.5px; color: #9aa2b4;
}
.hero .trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero .trust .g { color: var(--gold-soft); }

/* Hero screenshot frame */
.shot-frame {
  border: 1px solid rgba(184,146,61,0.32);
  border-radius: 8px;
  background: #11192a;
  box-shadow: 0 30px 70px rgba(0,0,0,0.5);
  overflow: hidden;
}
.shot-frame .bar {
  height: 34px; display: flex; align-items: center; gap: 7px;
  padding: 0 14px; border-bottom: 1px solid rgba(255,255,255,0.08);
  background: #0e1626;
}
.shot-frame .bar i { width: 9px; height: 9px; border-radius: 50%; background: #37415a; }
.shot-frame .bar .u {
  margin-left: 12px; font-family: var(--f-mono); font-size: 10.5px;
  color: #6f7790; letter-spacing: 0.04em;
}
.shot-frame img { display: block; width: 100%; }
.hero .shot-frame { transform: perspective(1600px) rotateY(-6deg); }

@media (max-width: 980px) {
  .hero .inner { grid-template-columns: 1fr; gap: 40px; padding: 64px 0 72px; }
  .hero h1 { font-size: 42px; }
  .hero .shot-frame { transform: none; }
  .hero .seal-wm { opacity: 0.04; }
}

/* ---------- Section frame ---------- */
.sect { padding: 92px 0; }
.sect.tight { padding: 68px 0; }
.sect.paper { background: var(--bg-elev); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sect-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.sect-head.left { margin-left: 0; text-align: left; }
.sect-head h2 {
  font-family: var(--f-display); font-weight: 600;
  font-size: 40px; line-height: 1.08; letter-spacing: -0.015em;
  margin-top: 16px; color: var(--ink);
}
.sect-head p {
  font-family: var(--f-display); font-style: italic;
  font-size: 19px; color: var(--ink-soft); margin-top: 16px; line-height: 1.5;
}

/* ---------- Trust strip ---------- */
.strip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line); border-radius: 6px; background: var(--bg-elev);
  overflow: hidden;
}
.strip .cell { padding: 26px 24px; border-left: 1px solid var(--line-soft); }
.strip .cell:first-child { border-left: none; }
.strip .cell .v {
  font-family: var(--f-display); font-weight: 600; font-size: 34px;
  line-height: 1; color: var(--ink); letter-spacing: -0.01em;
}
.strip .cell .k {
  font-size: 12px; color: var(--ink-soft); margin-top: 8px; line-height: 1.4;
}
@media (max-width: 760px) {
  .strip { grid-template-columns: repeat(2, 1fr); }
  .strip .cell:nth-child(3) { border-left: none; }
  .strip .cell:nth-child(odd) { border-left: none; }
  .strip .cell:nth-child(n+3) { border-top: 1px solid var(--line-soft); }
}

/* ---------- Módulos grid ---------- */
.mods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mod {
  border: 1px solid var(--line); border-radius: 6px; background: var(--bg-elev);
  padding: 28px 26px; transition: border-color .16s ease, transform .16s ease, box-shadow .16s ease;
}
.mod:hover { border-color: var(--ink-soft); transform: translateY(-2px); box-shadow: var(--shadow-pop); }
.mod .glyph {
  width: 46px; height: 46px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg); border: 1px solid var(--line); color: var(--gold-deep);
  margin-bottom: 18px;
}
.mod .lbl {
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); font-weight: 600;
}
.mod h3 {
  font-family: var(--f-display); font-weight: 600; font-size: 22px;
  margin: 7px 0 10px; letter-spacing: -0.01em; color: var(--ink);
}
.mod p { font-size: 13.5px; line-height: 1.6; color: var(--ink-soft); }
.mod ul { list-style: none; margin: 14px 0 0; padding: 0; }
.mod ul li {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 12.5px; color: var(--ink-soft); padding: 3px 0;
}
.mod ul li svg { color: var(--gold-deep); flex-shrink: 0; margin-top: 2px; }
@media (max-width: 900px) { .mods { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .mods { grid-template-columns: 1fr; } }

/* ---------- Carousel (Recursos) ---------- */
.carousel { position: relative; max-width: 1000px; margin: 0 auto; }
.carousel-viewport { overflow: hidden; border-radius: 8px; }
.carousel-track { display: flex; transition: transform .5s cubic-bezier(.4,0,.2,1); }
.carousel-slide { min-width: 100%; padding: 4px; }
.carousel-card {
  border: 1px solid var(--line); border-radius: 8px; overflow: hidden;
  background: var(--bg-elev); box-shadow: var(--shadow-pop);
}
.carousel-card .frame { background: #0e1626; overflow: hidden; }
.carousel-card .frame .bar {
  height: 32px; display: flex; align-items: center; gap: 7px;
  padding: 0 14px; border-bottom: 1px solid rgba(255,255,255,0.08); background: #0b1322;
}
.carousel-card .frame .bar i { width: 8px; height: 8px; border-radius: 50%; background: #37415a; }
.carousel-card .frame .bar .u {
  margin-left: 12px; font-family: var(--f-mono); font-size: 10px;
  color: #6f7790; letter-spacing: 0.04em;
}
.carousel-card .frame img { display: block; width: 100%; height: 430px; object-fit: cover; object-position: top left; }
.carousel-card .cap {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 24px;
  padding: 22px 28px 24px; border-top: 1px solid var(--line-soft);
}
.carousel-card .cap .l {
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-deep); font-weight: 600;
}
.carousel-card .cap h4 {
  font-family: var(--f-display); font-weight: 600; font-size: 24px;
  margin: 7px 0 8px; letter-spacing: -0.01em;
}
.carousel-card .cap p { font-size: 13.5px; line-height: 1.55; color: var(--ink-soft); max-width: 40em; }
.carousel-card .cap .count {
  flex-shrink: 0; font-family: var(--f-mono); font-size: 12px; color: var(--muted);
  padding-top: 4px; font-variant-numeric: tabular-nums;
}
.carousel-arrow {
  position: absolute; top: 40%; transform: translateY(-50%); z-index: 3;
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-elev); border: 1px solid var(--line); color: var(--ink);
  box-shadow: var(--shadow-pop); transition: background .16s ease, border-color .16s ease, transform .16s ease;
}
.carousel-arrow:hover { background: var(--ink); color: #f4eeda; border-color: var(--ink); }
.carousel-arrow:active { transform: translateY(-50%) scale(0.94); }
.carousel-arrow.prev { left: -22px; }
.carousel-arrow.next { right: -22px; }
.carousel-dots { display: flex; justify-content: center; gap: 9px; margin-top: 26px; }
.carousel-dots button {
  width: 9px; height: 9px; border-radius: 50%; border: none; cursor: pointer; padding: 0;
  background: var(--line); transition: background .2s ease, width .2s ease, border-radius .2s ease;
}
.carousel-dots button.on { background: var(--gold); width: 26px; border-radius: 999px; }
@media (max-width: 1080px) {
  .carousel-arrow.prev { left: 8px; }
  .carousel-arrow.next { right: 8px; }
}
@media (max-width: 680px) {
  .carousel-card .frame img { height: 240px; }
  .carousel-card .cap { flex-direction: column; gap: 8px; padding: 18px 20px 20px; }
  .carousel-card .cap h4 { font-size: 20px; }
}

/* ---------- Security ---------- */
.sec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sec-item { display: flex; gap: 16px; }
.sec-item .g {
  width: 42px; height: 42px; flex-shrink: 0; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(214,183,112,0.4); color: var(--gold-soft);
  background: rgba(184,146,61,0.08);
}
.sec-item h4 { font-family: var(--f-display); font-weight: 600; font-size: 18px; margin-bottom: 6px; }
.sec-item p { font-size: 13px; line-height: 1.55; color: var(--ink-soft); }
@media (max-width: 820px) { .sec-grid { grid-template-columns: 1fr; } }

/* ---------- Pricing ---------- */
.price-toggle {
  display: inline-flex; align-items: center; gap: 4px;
  border: 1px solid var(--line); border-radius: 999px; padding: 4px;
  background: var(--bg-elev); margin: 0 auto 44px; justify-self: center;
}
.price-toggle button {
  border: none; background: transparent; cursor: pointer;
  font-family: var(--f-ui); font-size: 13px; font-weight: 500; color: var(--ink-soft);
  padding: 8px 20px; border-radius: 999px; transition: all .16s ease;
  display: inline-flex; align-items: center; gap: 8px;
}
.price-toggle button.on { background: var(--ink); color: #f4eeda; }
.price-toggle .save { font-size: 10.5px; letter-spacing: 0.02em; color: var(--gold-deep); font-weight: 600; }
.price-toggle button.on .save { color: var(--gold-soft); }

.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; max-width: 820px; margin: 0 auto; }
.plan {
  border: 1px solid var(--line); border-radius: 8px; background: var(--bg-elev);
  padding: 34px 32px; display: flex; flex-direction: column;
}
.plan.feat { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), var(--shadow-pop); position: relative; }
.plan.feat .ribbon {
  position: absolute; top: -12px; left: 32px;
  background: var(--gold); color: #0b1322; font-size: 10px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; padding: 5px 12px; border-radius: 3px;
}
.plan .pname {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted); font-weight: 600;
}
.plan .amount { display: flex; align-items: baseline; gap: 8px; margin: 18px 0 4px; }
.plan .amount .cur { font-family: var(--f-mono); font-size: 20px; color: var(--ink-soft); }
.plan .amount .val {
  font-family: var(--f-display); font-weight: 600; font-size: 52px; line-height: 1;
  letter-spacing: -0.02em; color: var(--ink); font-variant-numeric: tabular-nums;
}
.plan .amount .per { font-size: 13px; color: var(--muted); }
.plan .sub { font-size: 12.5px; color: var(--ink-soft); min-height: 20px; }
.plan .sub b { color: var(--gold-deep); }
.plan .divider { height: 1px; background: var(--line-soft); margin: 24px 0; }
.plan ul { list-style: none; margin: 0 0 26px; padding: 0; flex: 1; }
.plan ul li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13.5px; color: var(--ink); padding: 7px 0; line-height: 1.4;
}
.plan ul li svg { color: var(--gold-deep); flex-shrink: 0; margin-top: 2px; }
.plan .btn { justify-content: center; width: 100%; }
.plan .note { text-align: center; font-size: 11.5px; color: var(--muted); margin-top: 12px; }
@media (max-width: 720px) { .plans { grid-template-columns: 1fr; } }

/* ---------- Contact form ---------- */
.contact { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.contact .aside h2 {
  font-family: var(--f-display); font-weight: 600; font-size: 34px;
  letter-spacing: -0.015em; margin-top: 14px; line-height: 1.1;
}
.contact .aside p { font-family: var(--f-display); font-style: italic; font-size: 18px; color: var(--ink-soft); margin-top: 14px; line-height: 1.5; }
.contact .aside .facts { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.contact .aside .facts .f { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; color: var(--ink-soft); }
.contact .aside .facts .f svg { color: var(--gold-deep); flex-shrink: 0; margin-top: 2px; }
.form-card { border: 1px solid var(--line); border-radius: 8px; background: var(--bg-elev); padding: 32px; box-shadow: var(--shadow-card); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.form-card .field { margin-bottom: 0; }
.form-card label {
  display: block; font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); font-weight: 600; margin-bottom: 6px;
}
.form-card input, .form-card select, .form-card textarea {
  width: 100%; font-family: var(--f-ui); font-size: 14px; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line); border-radius: 4px;
  padding: 10px 12px; transition: border-color .14s ease, background .14s ease;
}
.form-card input:focus, .form-card select:focus, .form-card textarea:focus {
  outline: none; border-color: var(--ink); background: var(--bg-elev);
}
.form-card textarea { resize: vertical; min-height: 96px; }
.form-thanks { text-align: center; padding: 28px 12px; }
.form-thanks .seal { width: 58px; height: 58px; margin: 0 auto 16px; opacity: 0.9; }
.form-thanks h3 { font-family: var(--f-display); font-weight: 600; font-size: 26px; margin-bottom: 10px; }
.form-thanks p { font-size: 14px; color: var(--ink-soft); line-height: 1.55; max-width: 30em; margin: 0 auto; }
@media (max-width: 860px) {
  .contact { grid-template-columns: 1fr; gap: 36px; }
  .form-grid { grid-template-columns: 1fr; }
}

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(100% 120% at 50% 0%, rgba(184,146,61,0.14) 0%, rgba(184,146,61,0) 60%),
    #0b1322;
  color: #ece6d4; text-align: center; padding: 84px 0; position: relative; overflow: hidden;
}
.cta-band .seal-wm { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 460px; opacity: 0.05; }
.cta-band h2 {
  font-family: var(--f-display); font-weight: 600; font-size: 42px;
  letter-spacing: -0.015em; position: relative; z-index: 1; line-height: 1.1;
}
.cta-band p { font-family: var(--f-display); font-style: italic; font-size: 19px; color: #c9c3b0; margin-top: 16px; position: relative; z-index: 1; }
.cta-band .cta-row { justify-content: center; margin-top: 30px; position: relative; z-index: 1; display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.lp-foot { background: var(--bg-elev); border-top: 1px solid var(--line); padding: 52px 0 30px; }
.lp-foot .top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.lp-foot .brand-col { max-width: 320px; }
.lp-foot .brand-col p { font-size: 12.5px; color: var(--ink-soft); line-height: 1.6; margin-top: 14px; }
.lp-foot .cols { display: flex; gap: 64px; flex-wrap: wrap; }
.lp-foot .col h5 { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 14px; }
.lp-foot .col a { display: block; font-size: 13px; color: var(--ink-soft); padding: 5px 0; }
.lp-foot .col a:hover { color: var(--ink); }
.lp-foot .base {
  margin-top: 44px; padding-top: 22px; border-top: 1px dashed var(--line);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 11.5px; color: var(--muted);
}
.lp-foot .dev-by {
  margin-top: 16px; text-align: center;
  font-size: 12px; color: var(--muted); letter-spacing: 0.01em;
}
.lp-foot .dev-by a {
  color: var(--gold-deep); font-weight: 600;
  transition: color .2s ease, text-shadow .2s ease;
}
.lp-foot .dev-by a:hover {
  color: var(--gold);
  text-shadow: 0 0 8px rgba(184,146,61,0.55), 0 0 20px rgba(184,146,61,0.35);
}

/* ---------- Floating WhatsApp ---------- */
.wa-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  display: inline-flex; align-items: center; justify-content: center;
  background: #1e7d4f; color: #fff; border: none; cursor: pointer;
  width: 56px; height: 56px; padding: 0; border-radius: 50%;
  box-shadow: 0 8px 22px rgba(30,125,79,0.4);
  transition: transform .16s ease, box-shadow .16s ease;
  text-decoration: none;
}
.wa-fab:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(30,125,79,0.5); color: #fff; }

/* Buttons on dark grounds: ensure ghost is legible */
.hero .btn.ghost, .cta-band .btn.ghost { color: #ece6d4; border-color: rgba(236,230,212,0.35); }
.hero .btn.ghost:hover, .cta-band .btn.ghost:hover { background: rgba(236,230,212,0.08); border-color: rgba(236,230,212,0.6); }
