/* ═══════════════════════════════════════════════════════
   SIMS - landing page de captação (/solucoes)
   Herda os tokens de style.css. Aqui só o que é da LP.
   ═══════════════════════════════════════════════════════ */

.lp { background: var(--paper); }

/* ── Header enxuto ── */
.lp-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 249, 247, .88);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(23, 20, 26, .08);
}
.lp-nav__inner {
  max-width: 1240px; margin: 0 auto; padding: 14px 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.lp-nav__logo img { height: 40px; width: auto; display: block; }
.lp-nav__cta { font-size: 14px; padding: 11px 20px; }

/* ── Hero ── */
.lp-hero { position: relative; overflow: hidden; padding: 56px 28px 72px; }
.lp-hero__mesh {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(23, 20, 26, .045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(23, 20, 26, .045) 1px, transparent 1px);
  background-size: 88px 88px;
  -webkit-mask-image: radial-gradient(120% 90% at 30% 20%, #000 30%, transparent 78%);
  mask-image: radial-gradient(120% 90% at 30% 20%, #000 30%, transparent 78%);
}
.lp-hero__inner {
  position: relative; z-index: 1;
  max-width: 1240px; margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: start;
}

.lp-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 15px 7px 11px; border-radius: 99px;
  background: #fff; border: 1px solid rgba(23, 20, 26, .12);
  font-size: 13px; font-weight: 600; color: var(--pink-deep);
  margin-bottom: 22px;
}
.lp-pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }

.lp-hero__title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(32px, 4.1vw, 54px); line-height: 1.08;
  letter-spacing: -.028em; margin-bottom: 20px; text-wrap: balance;
}
/* assinatura da marca: marca-texto rosa, igual ao site */
.lp-hero__title em {
  font-style: normal; position: relative; display: inline-block;
  color: inherit; z-index: 0;
}
.lp-hero__title em::after {
  content: ''; position: absolute; z-index: -1;
  left: -.05em; right: -.05em; bottom: .08em; height: .32em;
  background: var(--pink); opacity: .26;
  transform: skewX(-9deg) scaleX(0); transform-origin: left center;
  animation: lpMarcar .6s cubic-bezier(.22, 1, .36, 1) .5s forwards;
}
@keyframes lpMarcar { to { transform: skewX(-9deg) scaleX(1); } }

.lp-hero__sub {
  font-size: 18px; color: var(--ink-soft); line-height: 1.6;
  max-width: 540px; margin-bottom: 24px; text-wrap: pretty;
}
.lp-hero__wins { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 30px; }
.lp-hero__wins li {
  position: relative; padding-left: 28px;
  font-size: 15.5px; font-weight: 600; color: var(--ink);
}
.lp-hero__wins li::before {
  content: ''; position: absolute; left: 0; top: 7px;
  width: 15px; height: 8px; border-left: 2.4px solid var(--pink-deep);
  border-bottom: 2.4px solid var(--pink-deep); transform: rotate(-45deg);
}
.lp-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }
.lp-hero__cta .btn svg { margin-left: 8px; }

.lp-proof {
  display: flex; gap: 34px; flex-wrap: wrap;
  padding-top: 24px; border-top: 1px solid rgba(23, 20, 26, .12);
}
.lp-proof dt {
  font-family: var(--font-display); font-weight: 800; font-size: 29px;
  line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums;
}
.lp-proof dd {
  font-size: 11.5px; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-soft); margin-top: 6px;
}

/* ── Formulário ── */
.lp-form-wrap { position: sticky; top: 96px; }
.lp-form {
  background: #fff; border: 1px solid rgba(23, 20, 26, .12);
  border-top: 3px solid var(--pink);
  border-radius: var(--radius-lg); padding: 30px 28px 26px;
  box-shadow: var(--shadow-soft); position: relative;
}
.lp-form__kicker {
  font-size: 11px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--pink-deep); margin-bottom: 10px;
}
.lp-form__title {
  font-family: var(--font-display); font-weight: 800; font-size: 23px;
  line-height: 1.2; letter-spacing: -.02em; margin-bottom: 6px; text-wrap: balance;
}
.lp-form__sub { font-size: 14.5px; color: var(--ink-soft); margin-bottom: 22px; }

.lp-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 15px; }
.lp-field label, .lp-field legend {
  font-size: 13px; font-weight: 700; color: var(--ink); padding: 0;
}
.lp-field legend span { font-weight: 500; color: var(--ink-soft); }
.lp-field input, .lp-field select {
  font-family: var(--font-body); font-size: 15.5px; color: var(--ink);
  padding: 12px 14px; border-radius: var(--radius);
  background: var(--paper); border: 1.6px solid rgba(23, 20, 26, .14);
  transition: border-color .18s ease, box-shadow .18s ease;
  min-height: 48px; width: 100%;
}
.lp-field select { cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' fill='none' stroke='%235B5560' stroke-width='2'%3E%3Cpath d='M1 1l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px;
}
.lp-field input::placeholder { color: rgba(91, 85, 96, .5); }
.lp-field input:focus, .lp-field select:focus {
  outline: none; border-color: var(--pink);
  box-shadow: 0 0 0 4px rgba(180, 81, 126, .12);
}
.lp-field input:focus-visible, .lp-field select:focus-visible {
  outline: 2px solid var(--pink); outline-offset: 2px;
}
.lp-field.is-bad input, .lp-field.is-bad select { border-color: #D9483B; }
.lp-err { font-size: 12px; color: #D9483B; font-style: normal; min-height: 0; }
.lp-field.is-bad .lp-err { min-height: 15px; }

.lp-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lp-row .lp-field { margin-bottom: 15px; }

.lp-field--chips { border: none; margin-bottom: 20px; }
.lp-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 4px; }
.lp-chip {
  font-family: var(--font-body); font-weight: 600; font-size: 13.5px;
  padding: 9px 14px; border-radius: 99px; cursor: pointer;
  background: var(--paper); color: var(--ink);
  border: 1.5px solid rgba(23, 20, 26, .14);
  transition: border-color .18s ease, background .18s ease, color .18s ease;
  touch-action: manipulation; min-height: 44px;
}
.lp-chip:hover { border-color: var(--pink); }
.lp-chip.is-on { background: var(--pink-deep); border-color: var(--pink-deep); color: #fff; }
.lp-chip:focus-visible { outline: 2px solid var(--pink); outline-offset: 2px; }

.lp-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

.lp-form__send { width: 100%; justify-content: center; margin-top: 4px; }
.lp-form__send[disabled] { opacity: .6; cursor: progress; }
.lp-form__legal { font-size: 12px; color: var(--ink-soft); margin-top: 12px; text-align: center; line-height: 1.5; }
.lp-form__legal a { color: var(--pink-deep); }

/* sucesso: cobre o formulário */
.lp-form__done {
  position: absolute; inset: 0; z-index: 3;
  background: #fff; border-radius: var(--radius-lg);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 34px 28px; gap: 12px;
}
.lp-form__done[hidden] { display: none; }
.lp-form__check {
  width: 68px; height: 68px; border-radius: 50%;
  background: #E9FBF2; color: #17A673; display: grid; place-items: center;
}
.lp-form__check svg { width: 34px; height: 34px; }
.lp-form__done h3 { font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing: -.02em; }
.lp-form__done p { font-size: 15px; color: var(--ink-soft); max-width: 300px; text-wrap: pretty; }
.lp-form__done .btn { margin-top: 6px; }

/* ── Faixa de ERPs ── */
.lp-erps { padding: 44px 28px; background: var(--paper-2); border-block: 1px solid rgba(23, 20, 26, .08); text-align: center; }
.lp-erps__label {
  font-size: 11.5px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-soft); margin-bottom: 22px;
}
.lp-erps__row {
  display: flex; flex-wrap: wrap; justify-content: center;
  align-items: center; gap: 38px; max-width: 1000px; margin: 0 auto;
}
.lp-erps__row img {
  height: 27px; width: auto; max-width: 118px; object-fit: contain;
  /* Silhueta escura: a faixa é prova, não vitrine de marcas.
     grayscale() apenas dessatura, então logo BRANCO continuava branco e
     desaparecia no fundo claro. brightness(0) força tudo para tinta. */
  filter: brightness(0) opacity(.45); transition: filter .2s ease;
}
.lp-erps__row img:hover { filter: none; opacity: 1; }
.lp-erps__note { font-size: 13.5px; color: var(--ink-soft); margin-top: 22px; max-width: 620px; margin-inline: auto; text-wrap: pretty; }

/* ── Blocos de seção ── */
.lp-sec { max-width: 1240px; margin: 0 auto; padding: 92px 28px; }
.lp-head { max-width: 760px; margin: 0 auto 46px; text-align: center; }
.lp-kicker {
  font-size: 11.5px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-soft); margin-bottom: 14px;
}
.lp-title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(26px, 3.2vw, 42px); line-height: 1.14;
  letter-spacing: -.022em; text-wrap: balance;
}
.lp-title em { font-style: normal; position: relative; display: inline-block; color: inherit; z-index: 0; }
.lp-title em::after {
  content: ''; position: absolute; z-index: -1;
  left: -.05em; right: -.05em; bottom: .08em; height: .3em;
  background: var(--pink); opacity: .24; transform: skewX(-9deg);
}
.lp-sub { font-size: 17px; color: var(--ink-soft); margin-top: 16px; text-wrap: pretty; }

/* ── Dor ── */
.lp-pain__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }
.lp-pain__card {
  background: #fff; border: 1px solid rgba(23, 20, 26, .1);
  border-radius: var(--radius); padding: 28px 26px; position: relative;
}
.lp-pain__n {
  font-family: var(--font-display); font-weight: 800; font-size: 13px;
  color: var(--pink); letter-spacing: .04em; display: block; margin-bottom: 12px;
}
.lp-pain__card h3 {
  font-family: var(--font-display); font-weight: 700; font-size: 18px;
  line-height: 1.3; margin-bottom: 9px; letter-spacing: -.012em; text-wrap: balance;
}
.lp-pain__card p { font-size: 15px; color: var(--ink-soft); line-height: 1.6; }

/* ── Produtos ── */
.lp-prod { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.lp-prod__card {
  background: #fff; border: 1px solid rgba(23, 20, 26, .1);
  border-radius: var(--radius); padding: 26px 24px;
  display: flex; flex-direction: column;
  transition: border-color .2s ease;
}
.lp-prod__card:hover { border-color: rgba(23, 20, 26, .26); }
.lp-prod__card--wide { grid-column: span 2; background: var(--paper-2); }
.lp-prod__card--hero { border-top: 3px solid var(--pink); }
.lp-prod__tag {
  font-size: 10.5px; font-weight: 700; letter-spacing: .13em;
  text-transform: uppercase; color: var(--pink-deep); margin-bottom: 11px;
}
.lp-prod__card h3 {
  font-family: var(--font-display); font-weight: 700; font-size: 19px;
  line-height: 1.26; margin-bottom: 10px; letter-spacing: -.015em; text-wrap: balance;
}
.lp-prod__card p { font-size: 15px; color: var(--ink-soft); line-height: 1.6; }
.lp-prod__list {
  list-style: none; margin-top: 16px; display: grid;
  grid-template-columns: 1fr 1fr; gap: 8px 18px;
}
.lp-prod__list li {
  font-size: 14px; font-weight: 600; color: var(--ink);
  position: relative; padding-left: 16px;
}
.lp-prod__list li::before {
  content: ''; position: absolute; left: 0; top: 9px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--pink);
}
.lp-prod__hi {
  margin-top: auto; padding-top: 16px;
  font-family: var(--font-display); font-weight: 700; font-size: 15.5px;
  color: var(--ink) !important; line-height: 1.3;
}
.lp-prod__note {
  margin-top: 30px; text-align: center; font-size: 16px;
  color: var(--ink-soft); max-width: 720px; margin-inline: auto; text-wrap: pretty;
}
.lp-prod__note strong { color: var(--ink); }

/* ── Como funciona ── */
.lp-how { background: var(--paper-2); max-width: none; }
.lp-how > * { max-width: 1240px; margin-inline: auto; }
.lp-how__steps {
  list-style: none; display: grid;
  grid-template-columns: repeat(4, 1fr); gap: var(--gap);
}
.lp-how__steps li { position: relative; padding-top: 22px; border-top: 2px solid rgba(23, 20, 26, .14); }
.lp-how__n {
  position: absolute; top: -17px; left: 0;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--ink); color: var(--paper);
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 14px;
}
.lp-how__steps h3 {
  font-family: var(--font-display); font-weight: 700; font-size: 17px;
  margin-bottom: 8px; letter-spacing: -.012em; margin-top: 10px;
}
.lp-how__steps p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.55; }

/* ── Provedores ── */
/* Carrossel de uma linha só: a grade de 23 cartões ocupava meia tela e
   deixava buracos nas sobras da última fileira. */
.lp-isps { overflow: hidden; }
.lp-isps__rail {
  position: relative; width: 100vw; left: 50%; margin-left: -50vw;
  overflow: hidden;
  /* esfumaça as pontas para a fita não "cortar" na borda */
  -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
}
.lp-isps__track {
  display: flex; gap: 14px; width: max-content;
  animation: ispsAnda 64s linear infinite;
}
.lp-isps__rail:hover .lp-isps__track { animation-play-state: paused; }
/* a lista é duplicada no JS; -50% fecha o ciclo sem salto */
@keyframes ispsAnda { to { transform: translateX(-50%); } }
.lp-isps__item {
  flex: 0 0 auto; width: 158px;
  background: #fff; border: 1px solid rgba(23, 20, 26, .1);
  border-radius: var(--radius); padding: 20px 14px;
  display: flex; align-items: center; justify-content: center; min-height: 86px;
}
.lp-isps__item img { max-height: 40px; max-width: 112px; width: auto; object-fit: contain; }

/* ── FAQ ── */
.lp-faq__list { max-width: 820px; margin: 0 auto; }
.lp-faq__item { border-bottom: 1px solid rgba(23, 20, 26, .12); }
.lp-faq__item summary {
  cursor: pointer; list-style: none; padding: 22px 36px 22px 0;
  font-family: var(--font-display); font-weight: 700; font-size: 17px;
  letter-spacing: -.012em; position: relative; text-wrap: balance;
}
.lp-faq__item summary::-webkit-details-marker { display: none; }
.lp-faq__item summary::after {
  content: ''; position: absolute; right: 6px; top: 50%;
  width: 11px; height: 11px; margin-top: -7px;
  border-right: 2.2px solid var(--pink-deep); border-bottom: 2.2px solid var(--pink-deep);
  transform: rotate(45deg); transition: transform .22s ease;
}
.lp-faq__item[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.lp-faq__item summary:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; border-radius: 4px; }
.lp-faq__item p { font-size: 15.5px; color: var(--ink-soft); line-height: 1.65; padding-bottom: 24px; max-width: 700px; text-wrap: pretty; }

/* ── CTA final ── */
.lp-final { background: var(--plum-950); color: var(--paper); padding: 96px 28px; text-align: center; }
.lp-final__inner { max-width: 760px; margin: 0 auto; }
.lp-final h2 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(27px, 3.4vw, 44px); line-height: 1.14;
  letter-spacing: -.022em; margin-bottom: 18px; text-wrap: balance;
}
.lp-final h2 em { font-style: normal; position: relative; display: inline-block; z-index: 0; }
.lp-final h2 em::after {
  content: ''; position: absolute; z-index: -1;
  left: -.05em; right: -.05em; bottom: .08em; height: .3em;
  background: var(--pink); opacity: .5; transform: skewX(-9deg);
}
.lp-final p { font-size: 17px; color: rgba(251, 244, 235, .75); margin-bottom: 30px; text-wrap: pretty; }
.lp-final .btn--primary { background: var(--orange); color: var(--plum-950); }
.lp-final .btn--primary:hover { background: var(--orange-deep); }
.lp-final__alt { font-size: 15px; margin-top: 22px; margin-bottom: 0; }
.lp-final__alt a { color: var(--orange); font-weight: 600; }

/* ── Rodapé ── */
.lp-foot { background: var(--plum-900); color: rgba(251, 244, 235, .64); padding: 40px 28px; }
.lp-foot__inner {
  max-width: 1240px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.lp-foot img { height: 36px; width: auto; }
.lp-foot p { font-size: 13px; line-height: 1.6; }
.lp-foot__links { display: flex; gap: 20px; flex-wrap: wrap; }
.lp-foot__links a { color: rgba(251, 244, 235, .8); font-size: 13.5px; text-decoration: none; }
.lp-foot__links a:hover { color: var(--orange); text-decoration: underline; }

/* ── Barra fixa (mobile) ── */
.lp-sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: none; align-items: center; justify-content: space-between; gap: 14px;
  padding: 11px 16px calc(11px + env(safe-area-inset-bottom));
  background: rgba(250, 249, 247, .96);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(23, 20, 26, .1);
}
.lp-sticky[hidden] { display: none; }
.lp-sticky span { font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.lp-sticky .btn { padding: 12px 20px; font-size: 14.5px; }

/* ═══════════════ RESPONSIVO ═══════════════ */
@media (max-width: 1000px) {
  .lp-hero__inner { grid-template-columns: 1fr; gap: 44px; }
  .lp-form-wrap { position: static; }
  .lp-prod { grid-template-columns: repeat(2, 1fr); }
  .lp-prod__card--wide { grid-column: span 2; }
  .lp-how__steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
}
@media (max-width: 680px) {
  .lp-hero { padding: 36px 20px 56px; }
  .lp-nav__inner { padding: 12px 20px; }
  .lp-nav__logo img { height: 34px; }
  .lp-nav__cta { display: none; }
  .lp-sec { padding: 68px 20px; }
  .lp-erps { padding: 36px 20px; }
  .lp-erps__row { gap: 26px; }
  .lp-erps__row img { height: 22px; max-width: 94px; }
  .lp-pain__grid, .lp-prod, .lp-how__steps { grid-template-columns: 1fr; }
  .lp-prod__card--wide { grid-column: span 1; }
  .lp-prod__list { grid-template-columns: 1fr; }
  .lp-row { grid-template-columns: 1fr; gap: 0; }
  .lp-form { padding: 26px 20px 22px; }
  .lp-proof { gap: 24px; }
  .lp-proof dt { font-size: 25px; }
  .lp-final, .lp-foot { padding-inline: 20px; }
  .lp-foot__inner { flex-direction: column; text-align: center; }
  /* barra fixa só no mobile, e o rodapé ganha folga para ela */
  .lp-sticky { display: flex; }
  .lp-foot { padding-bottom: 96px; }
}
@media (prefers-reduced-motion: reduce) {
  .lp-hero__title em::after { animation: none; transform: skewX(-9deg) scaleX(1); }
  .lp-faq__item summary::after { transition: none; }
  /* quem pediu menos movimento não deve levar uma fita andando sozinha:
     o carrossel vira uma faixa parada, rolável no dedo/teclado */
  .lp-isps__track { animation: none; }
  .lp-isps__rail { overflow-x: auto; scrollbar-width: thin; }
}
