/* ===== LTH SISTEMAS — tema escuro roxo ===== */
:root {
  --bg: #000000;
  --bg-alt: #0b0512;
  --surface: #1a0f2a;
  --surface-soft: #140b20;
  --primary: #6b3fa0;
  --primary-hover: #7d4cba;
  --accent: #a78bda;
  --text: #f5f2fa;
  --text-muted: #c9bfdd;
  --border: rgba(167, 139, 218, 0.25);
  --radius: 16px;
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Montserrat", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.container {
  width: min(1120px, 92%);
  margin-inline: auto;
}

img { max-width: 100%; display: block; }

/* ===== Botões ===== */
.btn {
  display: inline-block;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn--primary {
  background: var(--primary);
  color: #fff;
}
.btn--primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}
.btn--ghost {
  border-color: var(--accent);
  color: var(--accent);
}
.btn--ghost:hover {
  background: rgba(167, 139, 218, 0.12);
  transform: translateY(-2px);
}
.btn--full { width: 100%; border: none; font-family: inherit; }

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.9rem;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--text);
}
.brand__ticket {
  width: 52px;
  height: 32px;
  color: var(--accent);
  flex-shrink: 0;
}
.brand__name {
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 1.05rem;
}
.brand__name em {
  font-style: normal;
  font-weight: 700;
  color: var(--text);
}
.nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}
.nav__link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}
.nav__link:hover { color: var(--text); }
.nav__cta { padding: 0.6rem 1.4rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 50% at 80% 10%, rgba(107, 63, 160, 0.45), transparent),
    radial-gradient(ellipse 50% 40% at 15% 90%, rgba(167, 139, 218, 0.18), transparent),
    var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: calc(100dvh - var(--header-h, 76px));
  padding-block: 6rem 4rem;
  text-align: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    400px circle at var(--mx, 50%) var(--my, 35%),
    rgba(167, 139, 218, 0.20) 0%,
    rgba(167, 139, 218, 0.12) 20%,
    rgba(167, 139, 218, 0.05) 45%,
    rgba(167, 139, 218, 0.015) 70%,
    transparent 100%
  );
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 1;
}
.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  max-width: 20ch;
  margin-inline: auto;
}
.highlight { color: var(--accent); }
.hero__sub {
  max-width: 60ch;
  margin: 1.5rem auto 2.4rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}
.hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Seções ===== */
.section { padding-block: 5.5rem; }
.section--alt { background: var(--bg-alt); }
.section__tag {
  letter-spacing: 0.3em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.8rem;
}
.section__title {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 800;
  line-height: 1.2;
  max-width: 28ch;
}
.section__lead {
  color: var(--text-muted);
  max-width: 65ch;
  margin-top: 1rem;
}

/* ===== Sobre — mini cards ===== */
.cards-trio {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.4rem;
  margin-top: 2.8rem;
}
.mini-card {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.mini-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.mini-card__icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(167, 139, 218, 0.15);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
}
.mini-card__icon svg { width: 24px; height: 24px; }
.mini-card h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.mini-card p { color: var(--text-muted); font-size: 0.92rem; }

/* ===== Sistemas ===== */
.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.6rem;
  margin-top: 2.8rem;
}
.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.2rem 2rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--accent);
}
.product-card__badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(167, 139, 218, 0.14);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  margin-bottom: 1.1rem;
}
.product-card h3 { font-size: 1.4rem; margin-bottom: 0.7rem; }
.product-card__desc { color: var(--text-muted); margin-bottom: 1.3rem; }
.feature-list {
  list-style: none;
  margin-bottom: 1.8rem;
  flex-grow: 1;
}
.feature-list li {
  position: relative;
  padding-left: 1.7rem;
  margin-bottom: 0.55rem;
  color: var(--text);
  font-size: 0.95rem;
}
.feature-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.product-card__cta { align-self: flex-start; }

.product-card--wide {
  margin-top: 1.6rem;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.product-card--wide .product-card__desc { margin-bottom: 0; max-width: 60ch; }
.product-card--wide .product-card__cta { flex-shrink: 0; }

.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(167, 139, 218, 0.45), transparent);
}

/* ===== Contato ===== */
.contact {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2rem;
  margin-top: 2.6rem;
  align-items: start;
}
.contact__form {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group { margin-bottom: 1.1rem; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--text-muted);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s ease;
}
.form-group textarea { resize: vertical; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.form-success {
  margin-top: 1rem;
  color: #9fe3b0;
  font-weight: 600;
  text-align: center;
}
.form-error {
  margin-top: 1rem;
  color: #f2a5a5;
  font-weight: 600;
  text-align: center;
}
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}
.contact__card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}
.contact__card h3 { margin-bottom: 0.5rem; }
.contact__card p { color: var(--text-muted); font-size: 0.95rem; }
.contact__email {
  display: inline-block;
  margin: 0.9rem 0;
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
  word-break: break-all;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 2px;
}
.contact__email:hover { color: var(--primary-hover); border-color: var(--primary-hover); }
.contact__note { margin-top: 0.8rem; font-size: 0.85rem; }

/* ===== Footer ===== */
.footer {
  background: #000000;
  border-top: 1px solid var(--border);
  padding-top: 2.8rem;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.6rem;
  flex-wrap: wrap;
  padding-bottom: 2rem;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.footer__name { font-weight: 800; letter-spacing: 0.08em; }
.footer__nav {
  display: flex;
  gap: 1.4rem;
  flex-wrap: wrap;
}
.footer__nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
}
.footer__nav a:hover { color: var(--text); }
.footer__copy {
  border-top: 1px solid rgba(167, 139, 218, 0.12);
  padding-block: 1.2rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* ===== Animação de entrada ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ===== Responsivo ===== */
@media (max-width: 820px) {
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    display: none;
    padding: 0.6rem 4%;
  }
  .nav.is-open { display: flex; }
  .nav__link { padding: 0.9rem 0.4rem; border-bottom: 1px solid rgba(167, 139, 218, 0.1); }
  .nav__cta { margin: 0.9rem 0.4rem; text-align: center; }
  .nav-toggle { display: flex; }

  .hero { padding-block: 4.5rem 3rem; }
  .section { padding-block: 3.8rem; }
  .contact { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
}
