/* =========================================================
   Landing Page Seja Parceiro
   Escopo isolado em .pagina-seja-parceiro
   ========================================================= */

.pagina-seja-parceiro {
  --lp-bg: #f4f8fc;
  --lp-ink: #031e36;
  --lp-muted: #496986;
  --lp-line: #d5e2ee;
  --lp-card: #ffffff;
  --lp-accent: #e8500a;
  --lp-blue: #4474a3;
  background: var(--lp-bg);
  color: var(--lp-ink);
}

.pagina-seja-parceiro a {
  text-decoration: none;
}

.lp-container {
  width: min(100% - 32px, 1180px);
  margin: 0 auto;
}

.lp-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(3, 30, 54, 0.96);
  border-bottom: 3px solid var(--lp-accent);
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 30px rgba(3, 30, 54, 0.2);
}

.lp-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 76px;
}

.lp-header__logo {
  display: inline-flex;
  align-items: center;
}

.lp-header__logo img {
  width: 360px;
  max-height: 68px;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.lp-header__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
}

.lp-header__nav a {
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.22);
}

.lp-header__nav a:hover {
  color: #ffcfb8;
}

.lp-header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 2px solid transparent;
  border-radius: 8px;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease;
}

.lp-btn:hover {
  transform: translateY(-1px);
}

.lp-btn--primary {
  background: var(--lp-accent);
  color: #ffffff;
  border-color: var(--lp-accent);
  box-shadow: 0 10px 24px rgba(232, 80, 10, 0.28);
}

.lp-btn--primary:hover {
  background: #c44008;
  border-color: #c44008;
}

.lp-btn--secondary {
  background: var(--lp-accent);
  color: #ffffff;
  border-color: var(--lp-accent);
  box-shadow: 0 10px 24px rgba(232, 80, 10, 0.28);
}

.lp-btn--secondary:hover {
  border-color: rgba(255, 255, 255, 0.78);
}

.lp-btn--light {
  background: #ffffff;
  color: var(--lp-blue);
  border-color: #ffffff;
}

.lp-btn--outline-light {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.46);
}

.lp-btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.78);
}

.lp-btn--large {
  min-height: 52px;
  padding-inline: 26px;
  font-size: 14px;
}

.lp-hero {
  position: relative;
  overflow: hidden;
  padding: 86px 0 96px;
  background:
    linear-gradient(135deg, rgba(3, 30, 54, 0.96), rgba(4, 51, 90, 0.9)),
    radial-gradient(
      circle at 85% 20%,
      rgba(154, 188, 224, 0.32),
      transparent 32%
    );
  color: #ffffff;
}

.lp-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(400px, 0.92fr);
  gap: 40px;
  align-items: center;
}

.lp-eyebrow {
  margin: 0 0 12px;
  color: var(--lp-accent);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lp-hero h1 {
  margin: 0;
  max-width: 700px;
  font-family: var(--font-display, var(--font-body));
  font-size: clamp(3.2rem, 7vw, 6.2rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.lp-hero__text {
  max-width: 610px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.18rem;
  line-height: 1.7;
}

.lp-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.lp-trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.lp-trust-strip li {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  font-weight: 800;
}

.lp-trust-strip li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--lp-accent);
}

.lp-hero__visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

.lp-dashboard-mock {
  position: absolute;
  inset: 58px 34px 42px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.lp-dashboard-mock--hero {
  position: static;
  inset: auto;
  width: 100%;
  height: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  object-fit: contain;
}

.lp-hero__brand-logo {
  width: min(100%, 220px);
  height: auto;
  max-height: 200px;
  margin-bottom: 16px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.lp-hero__brand-signature {
  display: grid;
  justify-items: center;
  margin-top: 22px;
  text-align: center;
}

.lp-hero__brand-signature strong {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
}

.lp-hero__brand-signature p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.78rem;
  line-height: 1.5;
}

.lp-card-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #fff0e8;
  color: var(--lp-accent);
  font-size: 24px;
  font-weight: 900;
}

.lp-section {
  padding: 88px 0;
}

.lp-section--soft {
  background: #ffffff;
}

.lp-section__head {
  max-width: 720px;
  margin-bottom: 36px;
}

.lp-section__head h2 {
  margin: 0;
  font-family: var(--font-display, var(--font-body));
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.lp-timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.lp-timeline__item {
  position: relative;
  min-height: 270px;
  padding: 24px;
  border: 1px solid var(--lp-line);
  border-radius: 8px;
  background: var(--lp-card);
  box-shadow: 0 18px 45px rgba(3, 30, 54, 0.08);
}

.lp-timeline__item:not(:last-child)::after {
  content: "↓";
  position: absolute;
  top: 50%;
  right: -17px;
  z-index: 3;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--lp-accent);
  color: #ffffff;
  transform: rotate(-90deg);
  font-weight: 900;
}

.lp-step {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--lp-ink);
  color: #ffffff;
  font-weight: 900;
}

.lp-timeline h3,
.lp-feature-card h3,
.lp-system-card h3,
.lp-security-card h3 {
  margin: 18px 0 8px;
  font-size: 1.18rem;
  line-height: 1.2;
}

.lp-timeline p,
.lp-feature-card p,
.lp-system-card p {
  margin: 0;
  color: var(--lp-muted);
  font-size: 1rem;
  line-height: 1.62;
}

.partner-categories {
  background: #edf4fa;
}

.partner-categories__intro {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--lp-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.partner-categories__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.partner-category {
  min-height: 390px;
  padding: 18px;
  border: 1px solid var(--lp-line);
  border-radius: 8px;
  background: var(--lp-card);
  box-shadow: 0 16px 40px rgba(3, 30, 54, 0.07);
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease,
    border-color 0.24s ease;
}

.partner-category:hover {
  transform: translateY(-6px);
  border-color: #9abce0;
  box-shadow: 0 24px 52px rgba(3, 30, 54, 0.12);
}

.partner-category__image {
  position: relative;
  height: 190px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--lp-line);
  border-radius: 8px;
  background: #f4f7fa;
  color: #66829c;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: center;
  overflow: hidden;
}

.partner-category__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.24s ease;
}

.partner-category:hover .partner-category__image img {
  transform: scale(1.03);
}

.partner-category__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(3, 30, 54, 0.86);
  color: #ffffff;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.partner-category h3 {
  margin: 20px 0 8px;
  font-size: 1.18rem;
  line-height: 1.25;
}

.partner-category p {
  margin: 0;
  color: var(--lp-muted);
  font-size: 0.95rem;
  line-height: 1.62;
}

.partner-categories__more {
  max-width: 860px;
  margin: 52px auto 0;
  padding-top: 38px;
  border-top: 1px solid var(--lp-line);
}

.partner-categories__more h3 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  line-height: 1.15;
}

.partner-categories__more > p {
  max-width: 760px;
  margin: 14px 0 24px;
  color: var(--lp-muted);
  line-height: 1.65;
}

.partner-categories__more ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 28px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.partner-categories__more li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--lp-ink);
  font-weight: 700;
}

.partner-categories__more li::before {
  content: "✓";
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(232, 80, 10, 0.1);
  color: var(--lp-accent);
  font-size: 0.75rem;
  font-weight: 900;
}

.partner-categories__cta {
  display: grid;
  justify-items: center;
  max-width: 860px;
  margin: 44px auto 0;
  padding: 38px;
  border-radius: 10px;
  background: var(--lp-ink);
  color: #ffffff;
  text-align: center;
}

.partner-categories__cta h3 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  line-height: 1.1;
}

.partner-categories__cta p {
  max-width: 680px;
  margin: 14px 0 24px;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.65;
}

.lp-grid {
  display: grid;
  gap: 18px;
}

.lp-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lp-grid--five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.lp-feature-card,
.lp-system-card,
.lp-security-card {
  min-height: 210px;
  padding: 24px;
  border: 1px solid var(--lp-line);
  border-radius: 8px;
  background: var(--lp-card);
  box-shadow: 0 16px 40px rgba(3, 30, 54, 0.07);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.lp-feature-card:hover,
.lp-system-card:hover,
.lp-security-card:hover {
  transform: translateY(-4px);
  border-color: #9abce0;
  box-shadow: 0 22px 52px rgba(3, 30, 54, 0.11);
}

.lp-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.lp-flow__item {
  position: relative;
  display: grid;
  align-content: center;
  min-height: 150px;
  padding: 22px;
  border-radius: 8px;
  background: var(--lp-ink);
  color: #ffffff;
}

.lp-flow__item:not(:last-child)::after {
  content: "↓";
  position: absolute;
  top: 50%;
  right: -16px;
  z-index: 2;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--lp-accent);
  transform: rotate(-90deg);
}

.lp-flow__item span {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-weight: 900;
}

.lp-system-mock {
  position: relative;
  aspect-ratio: 16 / 10;
  height: 190px;
  min-height: 190px;
  padding: 6px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid #d5e2ee;
  box-shadow: 0 10px 24px rgba(3, 30, 54, 0.08);
  overflow: hidden;
}

.lp-system-mock img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 6px;
  transition: transform 0.22s ease;
}

.lp-system-card {
  display: flex;
  min-height: 330px;
  flex-direction: column;
  padding: 18px;
}

.lp-system-card h3 {
  margin: 18px 0 8px;
}

.lp-system-card:hover .lp-system-mock img {
  transform: scale(1.02);
}

.lp-security-card {
  min-height: 170px;
  text-align: center;
}

.lp-security-card .lp-card-icon {
  margin: 0 auto;
}

.lp-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--lp-line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(3, 30, 54, 0.08);
}

.lp-comparison {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.lp-comparison caption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.lp-comparison th,
.lp-comparison td {
  padding: 20px;
  border-bottom: 1px solid var(--lp-line);
  text-align: left;
  vertical-align: top;
}

.lp-comparison thead th {
  background: var(--lp-ink);
  color: #ffffff;
  font-size: 0.95rem;
}

.lp-comparison tbody th {
  width: 24%;
  color: var(--lp-ink);
}

.lp-comparison tbody td:nth-child(2) {
  color: #6b7d8f;
}

.lp-comparison tbody td:nth-child(3) {
  color: #0d5d42;
  font-weight: 800;
}

.lp-faq {
  display: grid;
  gap: 12px;
}

.lp-faq__item {
  border: 1px solid var(--lp-line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(3, 30, 54, 0.06);
}

.lp-faq__item summary {
  min-height: 64px;
  padding: 20px 56px 20px 20px;
  list-style: none;
  cursor: pointer;
  font-weight: 900;
  position: relative;
}

.lp-faq__item summary::-webkit-details-marker {
  display: none;
}

.lp-faq__item summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  color: var(--lp-accent);
  font-size: 1.5rem;
  line-height: 1;
}

.lp-faq__item[open] summary::after {
  content: "-";
}

.lp-faq__item p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--lp-muted);
  font-size: 1rem;
  line-height: 1.65;
}

.lp-final-cta {
  padding: 88px 0;
  background: var(--lp-ink);
  color: #ffffff;
}

.lp-final-cta__inner {
  display: grid;
  justify-items: center;
  text-align: center;
}

.lp-final-cta h2 {
  max-width: 820px;
  margin: 0 0 18px;
  font-family: var(--font-display, var(--font-body));
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.lp-final-cta__text {
  max-width: 680px;
  margin: 0 0 30px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
  line-height: 1.65;
}

.lp-footer {
  padding: 34px 0;
  background: #021626;
  color: rgba(255, 255, 255, 0.78);
}

.lp-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.lp-footer strong {
  display: block;
  color: #ffffff;
  font-size: 1.1rem;
}

.lp-footer p {
  margin: 4px 0 0;
}

.lp-footer__links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.lp-footer__links button {
  border: 0;
  padding: 0;
  background: transparent;
  color: #ffffff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.pagina-seja-parceiro .lead-check a {
  color: #1f4fd7;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .lp-header__inner {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 14px 0;
  }

  .lp-header__nav,
  .lp-header__actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .lp-hero__grid,
  .lp-grid--three,
  .lp-grid--five,
  .partner-categories__grid,
  .lp-timeline,
  .lp-flow {
    grid-template-columns: 1fr 1fr;
  }

  .lp-hero__grid {
    gap: 42px;
  }

  .lp-timeline__item:not(:last-child)::after,
  .lp-flow__item:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 720px) {
  .lp-container {
    width: min(100% - 24px, 1180px);
  }

  .lp-header__inner {
    grid-template-columns: auto 1fr;
    min-height: 64px;
    padding: 8px 0;
  }

  .lp-header__logo img {
    width: 132px;
  }

  .lp-header__nav {
    display: none;
  }

  .lp-header__actions {
    justify-content: flex-end;
    gap: 0;
  }

  .lp-header__actions .lp-btn--secondary {
    display: none;
  }

  .lp-header__actions .lp-btn--primary {
    width: auto;
    min-height: 40px;
    padding-inline: 14px;
    font-size: 12px;
  }

  .lp-hero__actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .lp-btn {
    width: 100%;
  }

  .lp-hero {
    padding: 56px 0 70px;
  }

  .lp-hero__grid,
  .lp-grid--three,
  .lp-grid--five,
  .partner-categories__grid,
  .lp-timeline,
  .lp-flow {
    grid-template-columns: 1fr;
  }

  .lp-hero__visual {
    min-height: 390px;
  }

  .lp-dashboard-mock--hero {
    height: auto;
  }

  .lp-hero__brand-logo {
    width: min(58vw, 180px);
    max-height: 48px;
    margin-bottom: 14px;
  }

  .lp-hero__brand-signature strong {
    font-size: 0.64rem;
  }

  .lp-hero__brand-signature p {
    max-width: 290px;
    font-size: 0.75rem;
  }

  .partner-category {
    min-height: 0;
  }

  .partner-categories__cta {
    padding: 30px 20px;
  }

  .partner-categories__more ul {
    grid-template-columns: 1fr;
  }

  .lp-section,
  .lp-final-cta {
    padding: 64px 0;
  }

  .lp-footer__inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pagina-seja-parceiro *,
  .pagina-seja-parceiro *::before,
  .pagina-seja-parceiro *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

.lead-auth-grid {
  /* Grid própria: alternar login/cadastro nunca reposiciona campos comerciais. */
  min-height: 0;
}

.lead-auth-help,
.lead-auth-status { color: var(--lp-muted); font-size: 0.82rem; line-height: 1.45; }
.lead-auth-status:not(:empty) { margin-top: 12px; padding: 10px 12px; border-radius: 8px; background: #eef6ff; }
.lead-auth-switch { display: flex; justify-content: flex-end; align-items: center; gap: 8px; margin-top: 10px; color: var(--lp-muted); font-size: 0.9rem; }
.lead-auth-switch button { border: 0; padding: 0; background: transparent; color: #1f4fd7; font: inherit; font-weight: 800; text-decoration: underline; cursor: pointer; }


#leadSimplesPasswordField[hidden],
#leadSimplesPasswordConfirmField[hidden],
.lead-auth-switch[hidden] { display: none !important; }

@media (min-width: 641px) {
  #leadSimplesPasswordField,
  #leadSimplesPasswordConfirmField { align-self: start; }
}
