/* ------------------------------------------------------------------
   Lit.ai brand layer — sits on top of the Ygency template (style.css).
   Palette (see /public/lit/ pallete font arial narrow7.png):
     Azul Escuro   #0B3D91   Azul Principal #007BFF   Ciano #00D1FF
     Verde Teal    #00C896   Verde Claro    #5AFFB7
   Default theme is dark (black background).
------------------------------------------------------------------- */

body {
  background: #000;
  --ygency-primary-font: Inter, system-ui, sans-serif;
  --ygency-secondary-font: "Arial Narrow", "Archivo Narrow", Arial, sans-serif;
  --ygency-primary-color: #5affb7;
  --ygency-primary-rgb: 90, 255, 183;
  --ygency-tertiary-color: #0b0f17;
  --ygency-tertiary-rgb: 11, 15, 23;
  --ygency-dark-color: #000;

  --lit-blue-dark: #0b3d91;
  --lit-blue: #007bff;
  --lit-cyan: #00d1ff;
  --lit-teal: #00c896;
  --lit-green: #5affb7;
  --lit-gradient: linear-gradient(
    120deg,
    #0b3d91 0%,
    #007bff 30%,
    #00d1ff 55%,
    #00c896 78%,
    #5affb7 100%
  );
  --lit-surface: #0b0f17;
  --lit-surface-2: #111827;
}

h1,
h2,
h3,
.h1,
.h2,
.h3 {
  letter-spacing: -0.01em;
}

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

.lit-gradient-bg {
  background: var(--lit-gradient);
}

/* ---------- Header ---------- */
.main-header .header-upper .container-1620 {
  padding-left: 48px;
  padding-right: 48px;
}
@media only screen and (max-width: 767px) {
  .main-header .header-upper .container-1620 {
    padding-left: 20px;
    padding-right: 20px;
  }
}
.main-header .logo img,
.main-header .mobile-logo img {
  height: 38px;
  width: auto;
}
.main-header.fixed-header .header-upper {
  background: rgba(0, 0, 0, 0.82);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin: 0;
}
.main-menu .navigation > li > a.router-link-exact-active {
  color: var(--ygency-primary-color);
}
.lit-login-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 30px;
  padding: 8px 22px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.6;
  color: #000 !important;
  background: var(--lit-gradient);
  transition: filter 0.3s, transform 0.3s;
  white-space: nowrap;
}
.lit-login-btn:hover {
  filter: brightness(1.12);
  transform: translateY(-1px);
}
@media only screen and (max-width: 991px) {
  .main-menu .navigation li.lit-login-mobile {
    border: none;
    padding: 15px 20px 20px;
  }
  .main-menu .navigation li.lit-login-mobile a.lit-login-btn {
    display: inline-flex;
    margin: 0;
    padding: 8px 22px;
    line-height: 1.6;
  }
  .lit-login-desktop {
    display: none;
  }
}
@media only screen and (min-width: 992px) {
  .lit-login-mobile {
    display: none !important;
  }
}

/* ---------- Hero ---------- */
.lit-hero .hero-two-image img {
  width: 100%;
  border-radius: 24px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: radial-gradient(
    circle at 50% 40%,
    rgba(0, 209, 255, 0.35),
    rgba(0, 0, 0, 0) 70%
  );
}
/* Título do topo: texto à esquerda, anel girando à direita. */
.hero-title.lit-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  font-size: clamp(40px, 6vw, 96px);
  line-height: 1.05;
}
.lit-inline-arrow {
  display: inline-block;
  width: clamp(80px, 16vw, 260px);
  vertical-align: middle;
  margin: 0 12px;
  border-radius: 0 !important;
}
.lit-spin {
  flex-shrink: 0;
  margin-right: clamp(10px, 5vw, 80px);
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 33px solid;
  border-color: var(--ygency-primary-color) var(--ygency-primary-color)
    transparent transparent;
  -webkit-animation: rotated_circle linear 10s infinite;
  animation: rotated_circle linear 10s infinite;
}
@media only screen and (max-width: 991px) {
  .lit-spin {
    width: 70px;
    height: 70px;
    border-width: 15px;
  }
}
@media only screen and (max-width: 767px) {
  .lit-inline-arrow {
    display: none;
  }
}
.lit-hero .authors-text {
  display: flex;
  align-items: center;
  gap: 14px;
}
.lit-hero .authors-text .text {
  margin-left: 0;
}
.lit-hero-badge {
  width: 34px;
  height: 34px;
  margin: 0 !important;
  flex-shrink: 0;
}

/* ---------- Cards ---------- */
.lit-card {
  height: calc(100% - 30px);
  margin-bottom: 30px;
  padding: 38px 34px;
  border-radius: 20px;
  background: var(--lit-surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: border-color 0.3s, transform 0.3s;
}
.lit-card:hover {
  border-color: rgba(90, 255, 183, 0.45);
  transform: translateY(-4px);
}
.lit-card .lit-card-icon {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-size: 24px;
  color: #000;
  background: var(--lit-gradient);
  margin-bottom: 24px;
}
.lit-card h4,
.lit-card h5 {
  margin-bottom: 12px;
}
.lit-card p {
  margin-bottom: 0;
  line-height: 1.7;
}

/* ---------- Screenshot placeholder (substituir por print real) ---------- */
.lit-shot {
  position: relative;
  border-radius: 20px;
  padding: 14px;
  background: linear-gradient(#0b0f17, #0b0f17) padding-box,
    var(--lit-gradient) border-box;
  border: 1px solid transparent;
}
.lit-shot .lit-shot-bar {
  display: flex;
  gap: 7px;
  padding: 2px 4px 12px;
}
.lit-shot .lit-shot-bar span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}
.lit-shot img {
  display: block;
  width: 100%;
  border-radius: 10px;
}
.lit-shot .lit-shot-empty {
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  color: rgba(255, 255, 255, 0.45);
  background: repeating-linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.02) 0 12px,
      rgba(255, 255, 255, 0.04) 12px 24px
    ),
    #05070b;
  border: 1px dashed rgba(255, 255, 255, 0.15);
  font-size: 15px;
  line-height: 1.5;
}
.lit-shot .lit-shot-empty i {
  font-size: 34px;
  color: var(--lit-cyan);
}

/* ---------- Chips (integrações / modelos) ---------- */
.lit-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.lit-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 16px;
  color: #fff;
  background: var(--lit-surface);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.lit-chip i {
  color: var(--lit-green);
}
.lit-chips.center {
  justify-content: center;
}

/* ---------- Gateway flow diagram ---------- */
.lit-flow {
  display: grid;
  grid-template-columns: 1fr auto 1.1fr auto 1fr;
  align-items: center;
  gap: 18px;
}
.lit-flow-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.lit-flow-item {
  padding: 12px 18px;
  border-radius: 12px;
  background: var(--lit-surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font-weight: 500;
  font-size: 15px;
  line-height: 1.4;
  display: flex;
  align-items: center;
  gap: 10px;
}
.lit-flow-item i {
  color: var(--lit-cyan);
  width: 18px;
  text-align: center;
}
.lit-flow-arrow {
  font-size: 22px;
  color: var(--lit-teal);
}
.lit-flow-core {
  padding: 30px 26px;
  border-radius: 22px;
  text-align: center;
  background: linear-gradient(#070b12, #070b12) padding-box,
    var(--lit-gradient) border-box;
  border: 2px solid transparent;
  box-shadow: 0 0 60px rgba(0, 209, 255, 0.18);
}
.lit-flow-core img {
  width: 58px;
  margin-bottom: 12px;
}
.lit-flow-core h5 {
  margin-bottom: 14px;
}
.lit-flow-core ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.lit-flow-core li {
  font-size: 13px;
  line-height: 1.4;
  padding: 5px 12px;
  border-radius: 30px;
  color: #000;
  font-weight: 600;
  background: var(--lit-green);
}
@media only screen and (max-width: 991px) {
  .lit-flow {
    grid-template-columns: 1fr;
  }
  .lit-flow-arrow {
    transform: rotate(90deg);
    text-align: center;
  }
}

/* ---------- Key options (BYOK x Lit keys) ---------- */
.lit-option {
  height: calc(100% - 30px);
  margin-bottom: 30px;
  padding: 40px;
  border-radius: 22px;
  background: var(--lit-surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.lit-option .tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 14px;
  border-radius: 30px;
  margin-bottom: 18px;
  color: #000;
  background: var(--lit-cyan);
}
.lit-option.featured .tag {
  background: var(--lit-green);
}
.lit-option.featured {
  background: linear-gradient(var(--lit-surface), var(--lit-surface))
      padding-box,
    var(--lit-gradient) border-box;
  border: 1px solid transparent;
}
.lit-option ul {
  list-style: none;
  margin-top: 20px;
}
.lit-option li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 8px;
  line-height: 1.6;
}
.lit-option li:before {
  content: "\f00c";
  font-family: "Font Awesome 5 Pro";
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--lit-green);
}

/* ---------- Testimonials ---------- */
.lit-testimonial-photo img {
  width: 100%;
  border-radius: 24px;
  object-fit: cover;
  aspect-ratio: 1 / 1;
}

/* ---------- LitPedia hero ---------- */
.lit-pedia-hero .rotated-man:before {
  height: 80%;
  bottom: 10%;
  border-radius: 50%;
  background: radial-gradient(
    closest-side,
    rgba(0, 209, 255, 0.28),
    rgba(0, 123, 255, 0.12) 55%,
    transparent
  );
  filter: blur(10px);
}
.lit-pedia-hero .rotated-man img {
  max-height: 520px;
  width: auto;
}

/* ---------- Footer ---------- */
.main-footer .lit-footer-logo img {
  height: 40px;
  width: auto;
}
.main-footer .footer-left-title {
  font-family: var(--ygency-secondary-font);
}

/* ---------- Home enterprise ---------- */
/* Âncoras do menu (/#plataforma, /#seguranca…) não ficam sob o header fixo. */
section[id] {
  scroll-margin-top: 90px;
}
.lit-btns {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
}
.lit-hero .hero-two-content .sub-title {
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lit-cyan);
}
.lit-closing {
  font-family: var(--ygency-secondary-font);
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.3;
  color: #fff;
  font-weight: 600;
}

/* Prova enterprise */
.lit-proof {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--lit-surface);
}
.lit-proof .sub-title {
  display: block;
}
.lit-proof-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px 60px;
}
.lit-proof-logo {
  font-family: var(--ygency-secondary-font);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.55);
}

/* Cards do Gateway com micro-demo no lugar da foto */
.lit-demo-card .content {
  padding-bottom: 20px;
}
.lit-demo {
  margin: 0 20px 20px;
  padding: 14px;
  border-radius: 12px;
  background: #05070b;
  border: 1px solid rgba(0, 209, 255, 0.18);
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  line-height: 1.4;
}
.lit-demo-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: rgba(255, 255, 255, 0.8);
}
.lit-demo-row > span:first-child {
  flex-shrink: 0;
  min-width: 0;
}
.lit-demo-row em {
  font-style: normal;
  font-weight: 600;
  white-space: nowrap;
  color: var(--lit-cyan);
}
.lit-demo-row.ok em {
  color: var(--lit-green);
}
.lit-demo-row.block em,
.lit-demo-row.warn em {
  color: #ffb86b;
}
.lit-demo-row.muted {
  color: rgba(255, 255, 255, 0.4);
}
.lit-demo-row.muted em {
  color: rgba(255, 255, 255, 0.4);
}
.lit-demo-row.log {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
}
.lit-demo-bar {
  flex: 1;
  height: 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.lit-demo-bar b {
  display: block;
  height: 100%;
  border-radius: 6px;
  background: var(--lit-gradient);
}
.lit-demo-row.warn .lit-demo-bar b {
  background: linear-gradient(90deg, var(--lit-cyan), #ffb86b);
}

/* Fluxo animado: requisição → Gateway → modelo */
.lit-flow-live .lit-flow-arrow {
  position: relative;
  width: 60px;
  height: 2px;
  font-size: 0;
  background: rgba(0, 200, 150, 0.25);
}
.lit-flow-live .lit-flow-arrow:after {
  content: "";
  position: absolute;
  top: -3px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lit-green);
  box-shadow: 0 0 12px var(--lit-green);
  animation: lit-flow-dot 2.2s linear infinite;
}
.lit-flow-live .lit-flow-arrow + .lit-flow-core + .lit-flow-arrow:after {
  animation-delay: 1.1s;
}
@keyframes lit-flow-dot {
  from {
    left: 0;
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  to {
    left: calc(100% - 8px);
    opacity: 0;
  }
}
@media only screen and (max-width: 991px) {
  .lit-flow-live .lit-flow-arrow {
    width: 2px;
    height: 40px;
    margin: 0 auto;
    transform: none;
  }
  .lit-flow-live .lit-flow-arrow:after {
    top: 0;
    left: -3px;
    animation-name: lit-flow-dot-v;
  }
  @keyframes lit-flow-dot-v {
    from {
      top: 0;
      opacity: 0;
    }
    15% {
      opacity: 1;
    }
    85% {
      opacity: 1;
    }
    to {
      top: calc(100% - 8px);
      opacity: 0;
    }
  }
}
@media (prefers-reduced-motion: reduce) {
  .lit-flow-live .lit-flow-arrow:after {
    animation: none;
    display: none;
  }
}

/* Independência tecnológica */
.lit-pillar {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.lit-pillar p {
  margin: 0;
}
.lit-pillar-tag {
  flex-shrink: 0;
  min-width: 170px;
  font-family: var(--ygency-secondary-font);
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--lit-green);
}

/* LitPedia: captura → organiza → conecta → entrega */
.lit-steps {
  list-style: none;
  counter-reset: lit-step;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
}
.lit-steps li {
  counter-increment: lit-step;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 14px;
  color: #fff;
  background: var(--lit-surface);
  border: 1px solid rgba(0, 209, 255, 0.3);
}
.lit-steps li:before {
  content: counter(lit-step, decimal-leading-zero);
  color: var(--lit-green);
}

/* Implantação */
.lit-step-number {
  font-family: var(--ygency-secondary-font);
  font-size: 56px;
  font-weight: 700;
  line-height: 1;
  margin-right: 20px;
  color: var(--ygency-primary-color);
}

/* Resultados */
.lit-result {
  height: calc(100% - 30px);
  margin-bottom: 30px;
  padding: 34px 30px;
  border-top: 2px solid var(--lit-green);
  background: linear-gradient(180deg, rgba(90, 255, 183, 0.06), transparent);
}
.lit-result i {
  font-size: 26px;
  color: var(--lit-green);
  margin-bottom: 18px;
}
.lit-result h3 {
  margin-bottom: 12px;
}
.lit-result p {
  margin: 0;
}

/* CTA final */
.lit-cta-final {
  align-items: center !important;
  text-align: center;
  padding-top: 80px;
  padding-bottom: 80px;
}
.lit-cta-final .section-title h2 {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.lit-cta-note {
  font-size: 15px;
  opacity: 0.75;
}

/* Header: Login secundário ao lado do CTA comercial */
.lit-demo-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 22px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.6;
  color: #000 !important;
  background: var(--lit-gradient);
  white-space: nowrap;
  transition: filter 0.3s, transform 0.3s;
}
.lit-demo-btn:hover {
  filter: brightness(1.12);
  transform: translateY(-1px);
}
.lit-login-btn.secondary {
  color: #fff !important;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  margin-left: 14px;
}
.lit-login-btn.secondary:hover {
  border-color: var(--lit-green);
  filter: none;
}
@media only screen and (min-width: 992px) {
  .lit-login-desktop {
    display: flex;
    align-items: center;
    margin-left: 30px;
  }
}
@media only screen and (max-width: 991px) {
  .main-menu .navigation li.lit-login-mobile {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }
  .main-menu .navigation li.lit-login-mobile a {
    display: inline-flex !important;
    margin: 0 !important;
    padding: 8px 22px !important;
    line-height: 1.6 !important;
  }
}
.lit-live-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--lit-green);
}
.lit-live-tag:before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lit-green);
  box-shadow: 0 0 10px var(--lit-green);
}
