/* Página produto LexImob (/produto) — cores da marca em destaque */
.lx-produto {
  --lx-produto-primary: var(--color-primary, #702020);
  --lx-produto-secondary: var(--color-secondary, #a8a8a8);
  --lx-produto-accent-warm: color-mix(in srgb, var(--lx-produto-primary) 18%, #fff7f0);
}

/* Nav: evita barra clara flutuando sobre a hero e os cards (sem sticky nesta landing) */
.lx-produto .lx-nav--shell {
  position: relative;
  z-index: 10;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 4px 20px rgba(12, 18, 34, 0.05);
}

/* ----- Hero impacto ----- */
.lx-produto-hero {
  position: relative;
  padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(3rem, 6.5vw, 5rem);
  overflow: hidden;
  scroll-margin-top: 0.5rem;
}
.lx-produto-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 120% 80% at 100% 0%, color-mix(in srgb, var(--lx-produto-primary) 22%, transparent) 0%, transparent 55%),
    radial-gradient(ellipse 90% 70% at 0% 100%, color-mix(in srgb, var(--lx-produto-secondary) 28%, transparent) 0%, transparent 50%),
    linear-gradient(165deg, #1a0508 0%, var(--lx-produto-primary) 38%, color-mix(in srgb, var(--lx-produto-primary) 65%, #0f0406) 100%);
}
.lx-produto-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -12deg,
    transparent,
    transparent 48px,
    rgba(255, 255, 255, 0.03) 48px,
    rgba(255, 255, 255, 0.03) 49px
  );
  pointer-events: none;
}
.lx-produto-hero__inner {
  position: relative;
  z-index: 1;
  max-width: min(1240px, 100%);
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2rem);
}
.lx-produto-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  margin-bottom: 1.1rem;
}
.lx-produto-hero__title {
  font-family: var(--font-brand, "Cormorant Garamond", Georgia, serif);
  font-size: clamp(2rem, 4.8vw, 3.05rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: #fff;
  margin: 0 0 1.15rem;
  max-width: min(42rem, 100%);
  text-shadow: 0 4px 36px rgba(0, 0, 0, 0.28);
  text-wrap: balance;
}
.lx-produto-hero__title-em {
  background: linear-gradient(
    120deg,
    #fff 0%,
    color-mix(in srgb, var(--lx-produto-secondary) 55%, #fff) 45%,
    rgba(255, 245, 240, 0.95) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.lx-produto-hero__lead {
  font-size: clamp(1.02rem, 1.9vw, 1.14rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.91);
  max-width: min(42rem, 100%);
  margin: 0 0 0.9rem;
}
.lx-produto-hero__complement {
  font-size: clamp(0.875rem, 1.45vw, 0.93rem);
  line-height: 1.52;
  color: rgba(255, 255, 255, 0.7);
  max-width: min(40rem, 100%);
  margin: 0 0 1.65rem;
}
.lx-produto-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: clamp(2rem, 4vw, 2.75rem);
}
.lx-produto-hero__actions .lx-btn {
  min-height: 2.75rem;
  padding-inline: 1.15rem;
}
.lx-produto-hero .lx-btn--ghost:hover {
  filter: brightness(1.08);
  background: rgba(255, 255, 255, 0.14) !important;
}
.lx-produto-hero__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  gap: 0.9rem;
  width: 100%;
  max-width: none;
}
.lx-produto-stat {
  padding: 1.05rem 1.2rem 1.15rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-height: 100%;
}
.lx-produto-stat__title {
  font-family: var(--font-ui, "Outfit", system-ui, sans-serif);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
  line-height: 1.28;
  margin: 0;
}
.lx-produto-stat__desc {
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.48;
  letter-spacing: 0;
  margin: 0;
}

/* ----- Seções ----- */
.lx-produto-section {
  padding: clamp(2.75rem, 6vw, 4rem) 0;
  scroll-margin-top: 1rem;
}
.lx-produto-section--tint {
  background: linear-gradient(180deg, var(--lx-produto-accent-warm) 0%, #fffefc 45%, #faf6f1 100%);
  border-top: 1px solid color-mix(in srgb, var(--lx-produto-primary) 12%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--lx-produto-primary) 8%, transparent);
}
.lx-produto-section--dark {
  background: linear-gradient(
    165deg,
    color-mix(in srgb, var(--lx-produto-primary) 94%, #000) 0%,
    color-mix(in srgb, var(--lx-produto-primary) 78%, #1a0508) 100%
  );
  color: rgba(255, 255, 255, 0.92);
}
.lx-produto-section--dark .lx-produto-section__kicker {
  color: rgba(255, 255, 255, 0.75);
}
.lx-produto-section--dark .lx-produto-section__title {
  color: #fff;
}
.lx-produto-section--dark .lx-produto-section__intro {
  color: rgba(255, 255, 255, 0.78);
}
.lx-produto-section--dark .lx-produto-section__head {
  max-width: 46rem;
}

.lx-produto-section__head {
  max-width: 44rem;
  margin-bottom: 2rem;
}
.lx-produto-section__kicker {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lx-produto-primary);
  margin-bottom: 0.5rem;
}
.lx-produto-section__title {
  font-family: var(--font-brand, "Cormorant Garamond", Georgia, serif);
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  font-weight: 700;
  margin: 0 0 0.65rem;
  color: #0c1222;
  letter-spacing: -0.02em;
}
.lx-produto-section__intro {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.65;
  color: #475569;
}
/* Alertas após envio do formulário de contato (produto) */
.lx-produto-flash-wrap {
  padding: 0.75rem clamp(1rem, 3vw, 1.5rem) 0;
  max-width: min(1240px, 100%);
  margin: 0 auto;
}
.lx-flash-list--produto {
  margin-bottom: 0;
}

/* Bloco contato (produto) */
.lx-produto-section--contact .lx-produto-section__head {
  max-width: 38rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  margin-bottom: 1.5rem;
}
.lx-produto-section--contact .lx-produto-section__intro {
  margin-left: auto;
  margin-right: auto;
}
.lx-produto-contact-form {
  max-width: 38rem;
  margin: 0 auto;
  text-align: left;
}
.lx-produto-contact-form .lx-form__actions {
  justify-content: center;
}

.lx-produto-section__intro--support {
  margin-top: 1.5rem;
  margin-bottom: 0;
  font-size: 0.96rem;
  line-height: 1.62;
  color: #526077;
}
.lx-produto-section__head--flow {
  margin-top: 2.25rem;
  margin-bottom: 1rem;
}
.lx-produto-section__title--flow {
  font-size: clamp(1.28rem, 2.2vw, 1.55rem);
  margin-bottom: 0;
}

/* Grid de pilares */
.lx-produto-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 1.25rem;
}
.lx-produto-pillar {
  position: relative;
  padding: 1.5rem 1.45rem 1.55rem;
  border-radius: 18px;
  border: 1px solid color-mix(in srgb, var(--lx-produto-primary) 18%, var(--color-border, #e2e8f0));
  background: linear-gradient(155deg, #fff 0%, color-mix(in srgb, var(--lx-produto-primary) 4%, #fff) 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 12px 36px rgba(64, 18, 20, 0.07);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.2s ease;
}
.lx-produto-pillar:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--lx-produto-primary) 35%, var(--color-border, #e2e8f0));
  box-shadow:
    0 1px 0 #fff inset,
    0 20px 48px rgba(64, 18, 20, 0.12);
}
.lx-produto-pillar__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--lx-produto-primary);
  background: color-mix(in srgb, var(--lx-produto-primary) 12%, #fff);
  border: 1px solid color-mix(in srgb, var(--lx-produto-primary) 22%, #fff);
}
.lx-produto-pillar__icon svg {
  width: 26px;
  height: 26px;
}
.lx-produto-pillar h3 {
  margin: 0 0 0.5rem;
  font-size: 1.08rem;
  font-weight: 700;
  color: #0c1222;
}
.lx-produto-pillar p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #64748b;
}

/* Integrações — cartões em faixa escura */
.lx-produto-int-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: 1rem;
}
.lx-produto-int-card {
  padding: 1.35rem 1.4rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: background 0.2s ease, border-color 0.2s ease;
}
.lx-produto-int-card:hover {
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255, 255, 255, 0.22);
}
.lx-produto-int-card__tag {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--lx-produto-secondary) 70%, #fff);
  margin-bottom: 0.45rem;
}
.lx-produto-int-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}
.lx-produto-int-card p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
}

/* Destaque IA */
.lx-produto-ai-spotlight {
  margin-top: 2rem;
  padding: 1.75rem 1.5rem;
  border-radius: 20px;
  border: 2px solid color-mix(in srgb, var(--lx-produto-secondary) 45%, transparent);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.04) 100%
  );
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}
.lx-produto-ai-spotlight__title {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.lx-produto-ai-spotlight p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
}

/* Lista operação */
.lx-produto-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.45rem;
  align-items: center;
  justify-content: flex-start;
  margin-top: 0.25rem;
  row-gap: 0.65rem;
}
.lx-produto-flow__step {
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  background: color-mix(in srgb, var(--lx-produto-primary) 9%, #fff);
  color: var(--lx-produto-primary);
  border: 1px solid color-mix(in srgb, var(--lx-produto-primary) 18%, transparent);
  line-height: 1.3;
}
.lx-produto-flow__arrow {
  color: color-mix(in srgb, var(--lx-produto-primary) 38%, #94a3b8);
  font-weight: 600;
  font-size: 0.85rem;
  user-select: none;
  padding: 0 0.1rem;
}

/* CTA final */
.lx-produto-cta {
  position: relative;
  padding: clamp(2.75rem, 6vw, 4rem) 0;
  text-align: center;
  overflow: hidden;
  color: #fff;
}
.lx-produto-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 120%, color-mix(in srgb, var(--lx-produto-primary) 55%, transparent), transparent 55%),
    linear-gradient(
      145deg,
      #140406 0%,
      var(--lx-produto-primary) 45%,
      color-mix(in srgb, var(--lx-produto-primary) 72%, #000) 100%
    );
}
.lx-produto-cta__inner {
  position: relative;
  z-index: 1;
  max-width: min(42rem, 100%);
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 1.5rem);
}
.lx-produto-cta__title {
  font-family: var(--font-brand, "Cormorant Garamond", Georgia, serif);
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 700;
  margin: 0 0 0.65rem;
}
.lx-produto-cta__text {
  margin: 0 0 1.35rem;
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
}
.lx-produto-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
}

/* Nav produto — mais âncoras */
.lx-nav--produto .lx-nav__links {
  gap: 0.35rem 0.85rem;
}
@media (max-width: 720px) {
  .lx-nav--produto .lx-nav__link[href="#integracoes"] {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lx-produto-pillar:hover {
    transform: none;
  }
}
