/* =========================================================
   ASSISTEC ERP - Sistema de Assistência Técnica + PDV SaaS
   Paleta: Azul tom sobre tom | Seções alternadas até footer
   ========================================================= */

:root {
  --at-light-bg: #eaf6ff;
  --at-light-bg-2: #dff0ff;
  --at-dark-1: #020918;
  --at-dark-2: #061c3b;
  --at-dark-3: #0b3b76;
  --at-blue: #1d74d8;
  --at-blue-2: #38bdf8;
  --at-cyan: #8bdcff;
  --at-text-dark: #061427;
  --at-text-muted: #405775;
  --at-text-light: #e8f4ff;
  --at-white: #ffffff;
  --at-border-light: rgba(12, 74, 142, 0.14);
  --at-border-dark: rgba(139, 220, 255, 0.22);
  --at-shadow-light: 0 18px 42px rgba(30, 116, 216, 0.12);
  --at-shadow-dark: 0 22px 55px rgba(0, 0, 0, 0.26);
  --at-radius-xl: 28px;
  --at-radius-lg: 22px;
  --at-radius-md: 16px;
  --at-transition: all 0.28s ease;
}

.assistec-page {
  width: 100%;
  overflow-x: hidden;
  background: var(--at-light-bg);
  color: var(--at-text-dark);
  font-family: "Montserrat", "Open Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.assistec-page *,
.assistec-page *::before,
.assistec-page *::after {
  box-sizing: border-box;
}

.assistec-section {
  position: relative;
  padding: 92px 0;
  overflow: hidden;
}

.assistec-light-section {
  background:
    radial-gradient(circle at 15% 0%, rgba(56, 189, 248, 0.20), transparent 42%),
    linear-gradient(180deg, var(--at-light-bg), var(--at-light-bg-2));
  color: var(--at-text-dark);
}

.assistec-dark-section {
  background:
    radial-gradient(circle at 12% 0%, rgba(56, 189, 248, 0.20), transparent 46%),
    radial-gradient(circle at 88% 100%, rgba(29, 116, 216, 0.22), transparent 48%),
    linear-gradient(135deg, var(--at-dark-1), var(--at-dark-2) 52%, var(--at-dark-3));
  color: var(--at-text-light);
}

.assistec-dark-section + footer,
.assistec-dark-section ~ #bottom-widget,
#bottom-widget,
footer {
  background: linear-gradient(135deg, var(--at-dark-1), var(--at-dark-2)) !important;
  color: var(--at-text-light) !important;
}

.assistec-section-header {
  max-width: 850px;
  margin: 0 auto 46px;
  text-align: center;
}

.assistec-section-tag,
.assistec-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.assistec-light-section .assistec-section-tag,
.assistec-light-section .assistec-kicker {
  background: rgba(29, 116, 216, 0.10);
  border: 1px solid rgba(29, 116, 216, 0.18);
  color: #0b4f99;
}

.assistec-dark-section .assistec-section-tag,
.assistec-dark-section .assistec-kicker {
  background: rgba(139, 220, 255, 0.12);
  border: 1px solid rgba(139, 220, 255, 0.24);
  color: var(--at-cyan);
}

.assistec-section-header h2,
.assistec-hero-title {
  margin: 16px 0 14px;
  font-weight: 900;
  line-height: 1.14;
  letter-spacing: -0.04em;
}

.assistec-section-header h2 {
  font-size: clamp(27px, 3.2vw, 43px);
}

.assistec-hero-title {
  font-size: clamp(34px, 4.6vw, 62px);
}

.assistec-light-section h2,
.assistec-light-section h3,
.assistec-light-section strong {
  color: var(--at-text-dark);
}

.assistec-dark-section h2,
.assistec-dark-section h3,
.assistec-dark-section strong {
  color: var(--at-white);
}

.assistec-section-header p,
.assistec-hero-subtitle {
  margin: 0;
  font-size: 16px;
  line-height: 1.78;
}

.assistec-light-section .assistec-section-header p,
.assistec-light-section .assistec-hero-subtitle,
.assistec-light-section p,
.assistec-light-section li {
  color: var(--at-text-muted);
}

.assistec-dark-section .assistec-section-header p,
.assistec-dark-section p,
.assistec-dark-section li {
  color: rgba(232, 244, 255, 0.86);
}

/* Hero */
.assistec-hero {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  padding: 110px 0 92px;
}

.assistec-hero-grid,
.assistec-split-grid,
.assistec-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 42px;
  align-items: center;
}

.assistec-hero-copy {
  max-width: 700px;
}

.assistec-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.assistec-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none !important;
  border: 1px solid transparent;
  transition: var(--at-transition);
  cursor: pointer;
}

.assistec-btn-primary {
  background: linear-gradient(135deg, var(--at-blue), var(--at-blue-2));
  color: var(--at-white) !important;
  box-shadow: 0 16px 34px rgba(29, 116, 216, 0.28);
}

.assistec-btn-primary:hover,
.assistec-btn-primary:focus {
  color: var(--at-white) !important;
  transform: translateY(-2px);
  box-shadow: 0 20px 44px rgba(29, 116, 216, 0.38);
}

.assistec-btn-outline {
  background: rgba(255, 255, 255, 0.64);
  border-color: rgba(29, 116, 216, 0.18);
  color: var(--at-text-dark) !important;
}

.assistec-btn-outline:hover,
.assistec-btn-outline:focus {
  background: var(--at-white);
  color: var(--at-text-dark) !important;
  transform: translateY(-2px);
}

.assistec-btn-full {
  width: 100%;
}

.assistec-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.assistec-metric-card {
  padding: 16px 14px;
  border-radius: var(--at-radius-md);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--at-border-light);
  box-shadow: var(--at-shadow-light);
}

.assistec-metric-card strong {
  display: block;
  font-size: 24px;
  line-height: 1;
  margin-bottom: 7px;
}

.assistec-metric-card span {
  display: block;
  color: var(--at-text-muted);
  font-size: 12px;
  line-height: 1.4;
}

.assistec-hero-visual {
  min-width: 0;
}

.assistec-browser-card,
.assistec-chart-panel,
.assistec-pdv-card,
.assistec-portal-demo,
.assistec-contact-card,
.assistec-location-card,
.assistec-content-card {
  border-radius: var(--at-radius-xl);
  overflow: hidden;
}

.assistec-browser-card {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--at-border-light);
  box-shadow: 0 24px 70px rgba(12, 74, 142, 0.18);
  padding: 18px;
}

.assistec-browser-top {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 0 16px;
}

.assistec-browser-top span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--at-blue-2);
  opacity: 0.72;
}

.assistec-browser-top small {
  margin-left: 8px;
  color: var(--at-text-muted);
  font-size: 12px;
}

.assistec-dashboard-preview {
  padding: 24px;
  border-radius: 24px;
  background: linear-gradient(135deg, #0b356e, #082143);
  color: var(--at-white);
}

.assistec-dashboard-header,
.assistec-pdv-header,
.assistec-chart-header,
.assistec-card-title-row,
.assistec-location-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.assistec-dashboard-header strong,
.assistec-pdv-header strong,
.assistec-chart-header strong {
  display: block;
  color: var(--at-white);
  font-size: 18px;
}

.assistec-dashboard-header small,
.assistec-pdv-header small,
.assistec-chart-header small {
  display: block;
  color: rgba(232, 244, 255, 0.72);
  margin-top: 3px;
}

.assistec-dashboard-header i {
  color: var(--at-cyan);
  font-size: 38px;
}

.assistec-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 24px 0;
}

.assistec-preview-card {
  min-width: 0;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.13);
}

.assistec-preview-card span,
.assistec-preview-card strong {
  display: block;
  overflow-wrap: anywhere;
}

.assistec-preview-card span {
  color: rgba(232, 244, 255, 0.75);
  font-size: 12px;
}

.assistec-preview-card strong {
  color: var(--at-white);
  font-size: 30px;
  margin-top: 5px;
}

.assistec-progress-list {
  display: grid;
  gap: 14px;
}

.assistec-progress-item span {
  display: block;
  margin-bottom: 7px;
  color: rgba(232, 244, 255, 0.86);
  font-size: 13px;
}

.assistec-progress-item div {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.assistec-progress-item em {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--at-blue-2), var(--at-cyan));
}

/* Cards */
.assistec-card-grid {
  display: grid;
  gap: 22px;
}

.assistec-card-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.assistec-card-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.assistec-card-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.assistec-feature-card,
.assistec-content-card,
.assistec-pdv-card,
.assistec-chart-panel,
.assistec-portal-demo,
.assistec-contact-card,
.assistec-location-card {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: normal;
}

.assistec-feature-card {
  min-height: 100%;
  padding: 28px 24px;
  border-radius: var(--at-radius-lg);
  transition: var(--at-transition);
}

.assistec-dark-section .assistec-feature-card,
.assistec-dark-section .assistec-contact-card,
.assistec-dark-section .assistec-location-card,
.assistec-dark-section .assistec-chart-panel {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--at-border-dark);
  box-shadow: var(--at-shadow-dark);
}

.assistec-light-card,
.assistec-light-section .assistec-feature-card,
.assistec-light-section .assistec-content-card,
.assistec-pdv-card,
.assistec-portal-demo {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--at-border-light);
  box-shadow: var(--at-shadow-light);
}

.assistec-feature-card:hover,
.assistec-content-card:hover,
.assistec-pdv-card:hover,
.assistec-location-card:hover {
  transform: translateY(-5px);
}

.assistec-icon {
  width: 58px;
  height: 58px;
  min-width: 58px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  background: linear-gradient(135deg, var(--at-cyan), var(--at-blue-2));
  color: var(--at-text-dark);
  font-size: 24px;
}

.assistec-feature-card h3,
.assistec-content-card h3,
.assistec-pdv-card h3,
.assistec-contact-card h3,
.assistec-location-card h3 {
  margin: 0 0 10px;
  font-size: 21px;
  line-height: 1.28;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.assistec-feature-card p,
.assistec-content-card p,
.assistec-contact-card p,
.assistec-location-card p {
  margin: 0;
  line-height: 1.68;
  overflow-wrap: anywhere;
}

/* Flow */
.assistec-flow-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 38px;
  padding: 22px;
  border-radius: var(--at-radius-lg);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--at-border-dark);
  box-shadow: var(--at-shadow-dark);
  overflow-x: auto;
}

.assistec-flow-step {
  min-width: 120px;
  text-align: center;
}

.assistec-flow-step strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--at-cyan);
  color: var(--at-text-dark) !important;
  margin-bottom: 8px;
}

.assistec-flow-step span {
  display: block;
  color: rgba(232, 244, 255, 0.86);
  font-weight: 800;
  font-size: 13px;
}

.assistec-flow-line {
  width: 54px;
  height: 1px;
  background: rgba(139, 220, 255, 0.38);
  flex: 0 0 auto;
}

/* Lists */
.assistec-check-list,
.assistec-location-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}

.assistec-check-list li,
.assistec-location-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  line-height: 1.58;
  overflow-wrap: anywhere;
}

.assistec-check-list i,
.assistec-location-list i {
  color: var(--at-blue);
  margin-top: 4px;
  min-width: 16px;
}

.assistec-card-title-row {
  justify-content: flex-start;
  align-items: flex-start;
  margin-bottom: 18px;
}

.assistec-card-title-row .assistec-icon,
.assistec-location-head .assistec-icon {
  margin-bottom: 0;
}

/* PDV */
.assistec-pdv-card,
.assistec-content-card,
.assistec-chart-panel,
.assistec-portal-demo,
.assistec-contact-card,
.assistec-location-card {
  padding: 30px;
}

.assistec-pdv-header {
  margin-bottom: 24px;
}

.assistec-pdv-header i {
  font-size: 38px;
  color: var(--at-blue);
}

.assistec-pdv-card label {
  display: block;
  font-weight: 900;
  color: var(--at-text-dark);
  margin-bottom: 8px;
}

.assistec-barcode-row,
.assistec-portal-form {
  display: flex;
  gap: 10px;
}

.assistec-barcode-row input,
.assistec-portal-form input,
.assistec-form .form-control {
  width: 100%;
  min-height: 50px;
  border-radius: 999px;
  border: 1px solid rgba(12, 74, 142, 0.22);
  background: rgba(255, 255, 255, 0.92);
  color: var(--at-text-dark);
  padding: 12px 18px;
  outline: none;
  box-shadow: none;
}

.assistec-form textarea.form-control {
  border-radius: 18px;
  min-height: 120px;
  resize: vertical;
}

.assistec-barcode-row button,
.assistec-portal-form button {
  min-height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, var(--at-blue), var(--at-blue-2));
  color: var(--at-white);
  font-weight: 900;
  white-space: nowrap;
}

.assistec-pdv-list {
  display: grid;
  gap: 10px;
  min-height: 110px;
  margin: 20px 0;
}

.assistec-pdv-empty,
.assistec-pdv-product {
  padding: 13px 14px;
  border-radius: 14px;
  background: rgba(29, 116, 216, 0.08);
  border: 1px solid rgba(29, 116, 216, 0.13);
  color: var(--at-text-muted);
}

.assistec-pdv-product {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: var(--at-text-dark);
  font-weight: 800;
}

.assistec-pdv-product span {
  overflow-wrap: anywhere;
}

.assistec-pdv-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid rgba(12, 74, 142, 0.13);
}

.assistec-pdv-total span {
  color: var(--at-text-muted);
  font-weight: 900;
}

.assistec-pdv-total strong {
  font-size: 26px;
  color: var(--at-text-dark);
}

/* Finance */
.assistec-finance-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
}

.assistec-chart-header {
  margin-bottom: 18px;
}

.assistec-chart-header span {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(139, 220, 255, 0.14);
  color: var(--at-cyan);
  font-weight: 900;
}

.assistec-chart-panel canvas {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
}

/* Portal */
.assistec-portal-demo {
  margin-top: 30px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 20px;
  align-items: center;
}

.assistec-portal-copy h3 {
  margin: 0 0 8px;
}

.assistec-status-result {
  grid-column: 1 / -1;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(29, 116, 216, 0.08);
  border: 1px solid rgba(29, 116, 216, 0.13);
  color: var(--at-text-muted);
  overflow-wrap: anywhere;
}

/* Contact */
.assistec-contact-section {
  padding-bottom: 96px;
}

.assistec-contact-grid {
  align-items: stretch;
}

.assistec-contact-card,
.assistec-location-card {
  height: 100%;
}

.assistec-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.assistec-form .form-group {
  margin-bottom: 14px;
}

.assistec-dark-section .assistec-form .form-control {
  background: rgba(255, 255, 255, 0.94);
  color: var(--at-text-dark);
  border-color: rgba(139, 220, 255, 0.26);
}

.assistec-dark-section .assistec-form .form-control::placeholder {
  color: rgba(64, 87, 117, 0.82);
}

.assistec-dark-section .jc-form-privacy {
  color: rgba(232, 244, 255, 0.88);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(139, 220, 255, 0.20);
}

.assistec-dark-section .jc-form-privacy a {
  color: var(--at-white);
}

.assistec-location-head {
  justify-content: flex-start;
  align-items: flex-start;
  margin-bottom: 22px;
}

.assistec-location-head h3 {
  margin: 0 0 6px;
}

.assistec-map-frame {
  width: 100%;
  height: 310px;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(139, 220, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.22);
}

.assistec-map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.assistec-location-list i {
  color: var(--at-cyan);
}

.validation {
  color: #ffb4c1;
  font-size: 12px;
  margin-top: 4px;
}

/* Responsivo */
@media (max-width: 1199px) {
  .assistec-card-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .assistec-section {
    padding: 74px 0;
  }

  .assistec-hero {
    min-height: auto;
    padding-top: 86px;
  }

  .assistec-hero-grid,
  .assistec-split-grid,
  .assistec-contact-grid,
  .assistec-finance-grid,
  .assistec-portal-demo {
    grid-template-columns: 1fr;
  }

  .assistec-hero-copy {
    max-width: 100%;
    text-align: center;
  }

  .assistec-hero-actions {
    justify-content: center;
  }

  .assistec-card-grid-3 {
    grid-template-columns: 1fr;
  }

  .assistec-flow-panel {
    justify-content: flex-start;
  }
}

@media (max-width: 767px) {
  .assistec-section {
    padding: 58px 0;
  }

  .assistec-hero {
    padding-top: 60px;
  }

  .assistec-section-header {
    margin-bottom: 32px;
  }

  .assistec-hero-title {
    font-size: 32px;
  }

  .assistec-hero-subtitle,
  .assistec-section-header p {
    font-size: 15px;
  }

  .assistec-card-grid-4,
  .assistec-card-grid-2,
  .assistec-card-grid-3,
  .assistec-metrics {
    grid-template-columns: 1fr;
  }

  .assistec-dashboard-grid,
  .assistec-form-row {
    grid-template-columns: 1fr;
  }

  .assistec-barcode-row,
  .assistec-portal-form,
  .assistec-hero-actions {
    flex-direction: column;
  }

  .assistec-barcode-row button,
  .assistec-portal-form button,
  .assistec-btn {
    width: 100%;
  }

  .assistec-feature-card,
  .assistec-content-card,
  .assistec-pdv-card,
  .assistec-chart-panel,
  .assistec-portal-demo,
  .assistec-contact-card,
  .assistec-location-card {
    padding: 22px;
  }

  .assistec-dashboard-preview {
    padding: 20px;
  }

  .assistec-flow-step {
    min-width: 102px;
  }

  .assistec-flow-line {
    width: 28px;
  }

  .assistec-map-frame {
    height: 250px;
  }
}

@media (max-width: 420px) {
  .assistec-hero-title {
    font-size: 29px;
  }

  .assistec-section-header h2 {
    font-size: 25px;
  }

  .assistec-browser-card {
    padding: 12px;
  }

  .assistec-pdv-product {
    flex-direction: column;
  }
}
