/* =========================================================
   Página Sistema ERP — complementa o style.css
   ========================================================= */

/* hero em duas colunas: texto à esquerda, computador à direita */
.erp-hero { padding: 110px 0 90px; }
.erp-hero__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; }
.erp-hero__content { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.erp-hero__title { font-size: clamp(40px, 5.6vw, 68px); line-height: 1.06; }
.erp-hero__text { color: var(--muted); font-size: 17px; max-width: 500px; }
.erp-hero__media { position: relative; }
.erp-hero__media::before { /* brilho azul atrás do computador */
  content: ""; position: absolute; inset: 10% 5% 5% 10%; z-index: -1;
  background: radial-gradient(closest-side, rgba(18, 150, 206, .45), transparent);
  filter: blur(20px);
}
.erp-hero__media img { width: 100%; height: auto; max-width: 560px; margin-left: auto; }

/* funcionalidades: 4 cartões */
.erp-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.erp-card {
  background: var(--card); border: 1px solid var(--line); border-radius: 20px;
  padding: 28px 24px; display: flex; flex-direction: column; gap: 12px;
  transition: border-color .3s, transform .3s;
}
.erp-card:hover { border-color: rgba(42, 222, 255, .45); transform: translateY(-4px); }
.erp-card__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(180deg, var(--blue-mid), var(--blue-dark)); }
.erp-card__icon svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.erp-card h3 { font-family: var(--font-body); font-size: 19px; }
.erp-card p { color: var(--muted); font-size: 15px; }

/* por que escolher: painel azul com dashboard */
.erp-why { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.erp-why .h2 { margin: 0 0 18px; text-align: left; max-width: none; }
.erp-why__text { color: rgba(255, 255, 255, .92); font-size: 16px; margin-bottom: 30px; }
.erp-why__list { display: grid; gap: 18px; margin: 0 0 34px; padding: 0; list-style: none; }
.erp-why__list li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; }
.erp-why__list svg { width: 24px; height: 24px; margin-top: 2px; fill: #fff; }
.erp-why__list strong { display: block; font-size: 17px; }
.erp-why__list span { color: rgba(255, 255, 255, .88); font-size: 15px; }
.erp-why__media img { width: 100%; height: auto; max-width: 500px; margin: auto; filter: drop-shadow(0 30px 50px rgba(0, 30, 70, .45)); }
.btn--light { background: #fff; color: var(--blue-dark); font-weight: 700; }
.btn--light:hover { box-shadow: 0 10px 30px rgba(0, 30, 70, .35); }

/* destaques: 4 itens numerados */
.erp-highlights { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 960px; margin: auto; }
.erp-highlight { display: grid; grid-template-columns: auto 1fr; gap: 20px; padding: 28px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); }
.erp-highlight__num { font-family: var(--font-title); font-size: 34px; line-height: 1; }
.erp-highlight h3 { font-family: var(--font-body); font-size: 19px; margin-bottom: 8px; }
.erp-highlight p { color: var(--muted); font-size: 15px; }

/* chamada final */
.erp-cta { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.erp-cta .btns { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }


/* área do cliente: portal + 2ª via */
.erp-access { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 960px; margin: auto; }
.erp-access__card {
  background: var(--card); border: 1px solid var(--line); border-radius: 20px;
  padding: 32px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
  transition: border-color .3s, transform .3s;
}
.erp-access__card:hover { border-color: rgba(42, 222, 255, .45); transform: translateY(-4px); }
.erp-access__card h3 { font-family: var(--font-body); font-size: 22px; }
.erp-access__card p { color: var(--muted); font-size: 15px; flex: 1; }
.erp-access__card .btn { margin-top: 6px; }
@media (max-width: 760px) { .erp-access { grid-template-columns: 1fr; } }

@media (max-width: 960px) {
  .erp-hero__grid, .erp-why { grid-template-columns: 1fr; }
  .erp-hero__content { align-items: center; text-align: center; }
  .erp-hero__media img { margin: auto; }
  .erp-cards { grid-template-columns: repeat(2, 1fr); }
  .erp-why__media { order: -1; }
}
@media (max-width: 560px) {
  .erp-hero { padding: 120px 0 70px; }
  .erp-cards, .erp-highlights { grid-template-columns: 1fr; }
}
