/* Página: Integração de Sistemas — conexão, sistemas, fluxo de dados */

.int-page {
  --int-space: 96px;
  --int-ink: #0f172a;
  --int-muted: #475569;
  --int-line: #dbe4f0;
  --int-soft: #f3f6fb;
  --int-cyan: #22d3ee;
}

.int-page .eyebrow {
  color: var(--blue-600);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
}

.int-hero .eyebrow,
.int-cta .eyebrow,
.int-api .eyebrow,
.int-sides .eyebrow {
  color: #67e8f9;
}

.int-section {
  padding: var(--int-space) 0;
}

.int-lead {
  max-width: 58ch;
  color: var(--int-muted);
  margin: 0 0 40px;
  font-size: 16.5px;
  line-height: 1.7;
}

.int-hero h1,
.int-section h2,
.int-cta h2 {
  margin: 10px 0 18px;
  font-size: clamp(28px, 3.4vw, 42px);
  letter-spacing: -0.035em;
  line-height: 1.15;
  font-weight: 800;
}

.int-hero {
  background:
    radial-gradient(520px 280px at 88% 18%, rgba(34, 211, 238, 0.16), transparent 58%),
    linear-gradient(180deg, #041018 0%, #071a28 100%);
  color: #fff;
  padding: 52px 0 64px;
  overflow: hidden;
}

.int-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 48px;
  align-items: center;
}

.int-hero-copy h1 {
  margin: 8px 0 16px;
  font-size: clamp(30px, 4vw, 46px);
  max-width: 14ch;
}

.int-hero-copy h1 em {
  color: #22d3ee;
  font-style: italic;
  font-weight: 700;
}

.int-hero-impact {
  margin: 0 0 18px;
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.3;
  font-weight: 600;
  color: #a5f3fc;
  font-style: italic;
  max-width: 18ch;
}

.int-hero-lead {
  margin: 0 0 28px;
  max-width: 46ch;
  color: #cbd5e1;
  font-size: 16.5px;
  line-height: 1.65;
}

.int-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.int-hero-visual {
  min-height: 420px;
  position: relative;
  border-radius: 24px;
  border: 1px solid rgba(34, 211, 238, 0.18);
  background:
    radial-gradient(circle at 50% 48%, rgba(34, 211, 238, 0.1), transparent 52%),
    #0a1c2c;
  overflow: hidden;
}

.int-graph {
  position: relative;
  height: 420px;
}

.int-graph-node,
.int-graph-hub {
  position: absolute;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #10283a;
  border: 1px solid rgba(34, 211, 238, 0.28);
  min-width: 118px;
  z-index: 2;
}

.int-graph-node span,
.int-graph-hub span {
  font-size: 14px;
  font-weight: 700;
  color: #e2e8f0;
}

.int-graph-node small,
.int-graph-hub small {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #67e8f9;
}

.int-graph-hub {
  background: #123044;
  border-color: rgba(34, 211, 238, 0.55);
  box-shadow: 0 0 0 6px rgba(34, 211, 238, 0.08);
}

.int-graph-node--a { top: 18%; left: 10%; }
.int-graph-node--b { top: 18%; right: 10%; }
.int-graph-hub { top: 44%; left: 50%; transform: translateX(-50%); }
.int-graph-node--c { bottom: 14%; left: 50%; transform: translateX(-50%); }

.int-graph::before,
.int-graph::after {
  content: "";
  position: absolute;
  background: linear-gradient(90deg, transparent, #22d3ee, transparent);
  height: 2px;
  z-index: 1;
  opacity: 0.7;
}

.int-graph::before {
  top: 28%;
  left: 28%;
  right: 28%;
}

.int-graph::after {
  top: 58%;
  left: 50%;
  width: 2px;
  height: 22%;
  background: linear-gradient(180deg, #22d3ee, transparent);
}

@media (prefers-reduced-motion: no-preference) {
  .int-graph-hub {
    animation: int-pulse 3.2s ease-in-out infinite;
  }
}

@keyframes int-pulse {
  0%, 100% { box-shadow: 0 0 0 6px rgba(34, 211, 238, 0.08); }
  50% { box-shadow: 0 0 0 12px rgba(34, 211, 238, 0.16); }
}

.int-problem {
  background: #fff;
  color: var(--int-ink);
}

.int-problem h2,
.int-explain h2,
.int-bridge h2,
.int-scope h2,
.int-erp h2,
.int-own h2,
.int-benefits h2,
.int-vs h2,
.int-process h2,
.int-faq-section h2,
.int-limits h2 {
  max-width: 18ch;
  color: var(--navy-900);
}

.int-issue-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px 36px;
}

.int-issue-grid h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.int-issue-grid p {
  margin: 0;
  color: var(--int-muted);
  font-size: 15px;
  line-height: 1.65;
  max-width: 34ch;
}

.int-explain {
  background: var(--int-soft);
  color: var(--int-ink);
}

.int-explain-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px 56px;
  align-items: stretch;
}

.int-explain p {
  max-width: 52ch;
  color: var(--int-muted);
  font-size: 16.5px;
  line-height: 1.7;
}

.int-explain-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px 28px;
  border-radius: 20px;
  background: #071a28;
  color: #fff;
  border: 1px solid rgba(34, 211, 238, 0.22);
}

.int-explain-panel > p {
  margin: 0 0 18px;
  color: #67e8f9;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
}

.int-explain-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.int-explain-panel li {
  padding: 12px 0;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  font-weight: 650;
}

.int-explain-panel li:first-child {
  border-top: 0;
  padding-top: 0;
}

.int-bridge {
  background: #fff;
  color: var(--int-ink);
}

.int-bridge-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.int-path {
  border-radius: 20px;
  padding: 32px;
  border: 1px solid var(--int-line);
  min-height: 100%;
}

.int-path--before {
  background: #f7f8fa;
}

.int-path--after {
  background: #f0fbfd;
  border-color: #b6eaf3;
}

.int-path-label {
  margin: 0 0 22px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-600);
}

.int-path--before .int-path-label {
  color: #64748b;
}

.int-path ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.int-path li {
  position: relative;
  padding: 0 0 18px 22px;
  font-weight: 650;
}

.int-path li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #94a3b8;
}

.int-path li:last-child {
  padding-bottom: 0;
}

.int-sync {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
}

.int-sync span,
.int-sync b {
  display: grid;
  place-items: center;
  min-height: 72px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  padding: 10px;
}

.int-sync span {
  background: #fff;
  border: 1px solid #b6eaf3;
}

.int-sync b {
  background: #123044;
  color: #67e8f9;
  min-width: 96px;
}

.int-path--after p {
  margin: 0;
  color: var(--int-muted);
  font-size: 15px;
  line-height: 1.6;
}

.int-scope {
  background: var(--int-soft);
  color: var(--int-ink);
}

.int-chips {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.int-chips li {
  padding: 10px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--int-line);
  font-size: 14px;
  font-weight: 600;
}

.int-note {
  margin: 0;
  max-width: 58ch;
  color: var(--int-muted);
  font-size: 14.5px;
  line-height: 1.65;
}

.int-api {
  background:
    radial-gradient(480px 240px at 90% 10%, rgba(34, 211, 238, 0.12), transparent 55%),
    #071a28;
  color: #fff;
}

.int-api h2 {
  color: #fff;
  max-width: 16ch;
}

.int-api .int-lead {
  color: #cbd5e1;
}

.int-api-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.int-api-grid article {
  padding: 28px 26px;
  border-radius: 18px;
  border: 1px solid rgba(34, 211, 238, 0.2);
  background: rgba(16, 40, 58, 0.7);
}

.int-api-grid h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.int-api-grid p {
  margin: 0;
  color: #94a3b8;
  font-size: 15px;
  line-height: 1.65;
}

.int-erp,
.int-own,
.int-benefits,
.int-vs,
.int-process,
.int-limits {
  background: #fff;
  color: var(--int-ink);
}

.int-erp {
  background: var(--int-soft);
}

.int-erp-grid,
.int-own-grid,
.int-vs-grid,
.int-sides-grid,
.int-process-layout,
.int-faq-layout,
.int-cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 56px;
  align-items: stretch;
}

.int-erp p,
.int-own p,
.int-vs p,
.int-sides p,
.int-process-layout > div p {
  max-width: 52ch;
  color: var(--int-muted);
  font-size: 16.5px;
  line-height: 1.7;
}

.int-own a,
.int-vs a,
.int-faq-item a {
  color: var(--blue-600);
  text-underline-offset: 2px;
}

.int-erp-panel,
.int-cta-panel {
  padding: 28px 26px;
  border-radius: 20px;
  border: 1px solid var(--int-line);
  background: #fff;
}

.int-erp-panel {
  background: #071a28;
  color: #fff;
  border-color: rgba(34, 211, 238, 0.22);
}

.int-erp-panel > p {
  margin: 0 0 16px;
  color: #67e8f9 !important;
  font-size: 12px !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
}

.int-erp-panel ul,
.int-own-list,
.int-benefit-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.int-erp-panel li,
.int-own-list li,
.int-benefit-list li {
  position: relative;
  padding: 12px 0 12px 22px;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  font-weight: 650;
}

.int-own-list li,
.int-benefit-list li {
  border-color: var(--int-line);
  color: var(--navy-900);
}

.int-erp-panel li:first-child,
.int-own-list li:first-child,
.int-benefit-list li:first-child {
  border-top: 0;
  padding-top: 4px;
}

.int-erp-panel li::before,
.int-own-list li::before,
.int-benefit-list li::before,
.int-cta-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.15em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22d3ee;
}

.int-sides {
  background: #071a28;
  color: #fff;
}

.int-sides h2 {
  color: #fff;
  max-width: 16ch;
}

.int-sides p {
  color: #cbd5e1;
}

.int-sides-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 2px solid rgba(34, 211, 238, 0.28);
}

.int-sides-steps li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  padding: 0 0 22px 24px;
  position: relative;
}

.int-sides-steps li:last-child {
  padding-bottom: 0;
}

.int-sides-steps li::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #071a28;
  border: 2px solid #22d3ee;
}

.int-sides-steps span {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #67e8f9;
}

.int-sides-steps h3 {
  margin: 0 0 4px;
  font-size: 16px;
}

.int-sides-steps p {
  margin: 0;
  font-size: 14.5px !important;
  color: #94a3b8 !important;
}

.int-vs-cards {
  display: grid;
  gap: 16px;
}

.int-vs-cards article {
  padding: 24px 22px;
  border-radius: 18px;
  border: 1px solid var(--int-line);
  background: var(--int-soft);
}

.int-vs-cards h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.int-vs-cards p {
  margin: 0;
  font-size: 15px !important;
}

.int-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 2px solid #dbe7f5;
}

.int-timeline li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 8px 16px;
  padding: 0 0 28px 28px;
  position: relative;
}

.int-timeline li:last-child {
  padding-bottom: 0;
}

.int-timeline li::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #22d3ee;
}

.int-timeline span {
  font-size: 13px;
  font-weight: 800;
  color: var(--blue-600);
}

.int-timeline h3 {
  margin: 0 0 6px;
  font-size: 18px;
}

.int-timeline p {
  margin: 0;
  color: var(--int-muted);
  font-size: 15px;
  line-height: 1.6;
}

.int-faq-section {
  background: var(--int-soft);
  color: var(--int-ink);
}

.int-faq-intro p {
  max-width: 36ch;
  color: var(--int-muted);
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
}

.int-faq {
  display: grid;
  gap: 14px;
}

.int-faq-item {
  background: #fff;
  border: 1px solid var(--int-line);
  border-radius: 16px;
  padding: 6px 6px 6px 4px;
}

.int-faq-item h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 650;
}

.int-faq-item button {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  color: inherit;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
  padding: 16px 48px 16px 18px;
  position: relative;
}

.int-faq-item button::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--blue-600);
  border-bottom: 2px solid var(--blue-600);
  transform: translateY(-70%) rotate(45deg);
}

.int-faq-item button[aria-expanded="true"]::after {
  transform: translateY(-20%) rotate(225deg);
}

.int-faq-item button:focus-visible {
  outline: 2px solid var(--blue-600);
  outline-offset: 2px;
  border-radius: 10px;
}

.int-faq-item [role="region"] {
  padding: 0 18px 18px;
}

.int-faq-item [role="region"] p {
  margin: 0;
  color: var(--int-muted);
  font-size: 15px;
  line-height: 1.65;
}

.int-cta {
  background:
    radial-gradient(480px 220px at 12% 0%, rgba(34, 211, 238, 0.14), transparent 55%),
    #041018;
  color: #fff;
  padding: var(--int-space) 0;
}

.int-cta h2 {
  color: #fff;
  max-width: 16ch;
}

.int-cta-inner > div:first-child {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.int-cta p {
  max-width: 46ch;
  color: #cbd5e1;
  margin: 0 0 24px;
  font-size: 16.5px;
  line-height: 1.7;
}

.int-cta-panel {
  background: rgba(16, 40, 58, 0.78);
  border: 1px solid rgba(34, 211, 238, 0.18);
}

.int-cta-kicker {
  margin: 0 0 18px !important;
  color: #67e8f9 !important;
  font-size: 13px !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
}

.int-cta-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.int-cta-panel li {
  position: relative;
  padding: 12px 0 12px 22px;
  border-top: 1px solid rgba(148, 163, 184, 0.16);
  font-weight: 600;
  font-size: 15px;
  color: #e2e8f0;
}

.int-cta-panel li:first-child {
  border-top: 0;
  padding-top: 4px;
}

.int-cta-panel li:first-child::before {
  top: 0.7em;
}

#como-funciona {
  scroll-margin-top: calc(var(--header-h) + 12px);
}

@media (prefers-reduced-motion: reduce) {
  .int-graph-hub {
    animation: none;
  }
}

@media (max-width: 1100px) {
  .int-issue-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 960px) {
  .int-page {
    --int-space: 72px;
  }

  .int-hero-grid,
  .int-explain-grid,
  .int-bridge-grid,
  .int-api-grid,
  .int-erp-grid,
  .int-own-grid,
  .int-vs-grid,
  .int-sides-grid,
  .int-process-layout,
  .int-faq-layout,
  .int-cta-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .int-hero-copy h1,
  .int-section h2,
  .int-cta h2,
  .int-api h2,
  .int-sides h2 {
    max-width: none;
  }

  .int-graph {
    height: 380px;
  }

  .int-hero-visual {
    min-height: 380px;
  }
}

@media (max-width: 720px) {
  .int-page {
    --int-space: 56px;
  }

  .int-issue-grid,
  .int-sync {
    grid-template-columns: 1fr;
  }

  .int-hero {
    padding: 32px 0 40px;
  }

  .int-hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .int-graph {
    height: 420px;
  }

  .int-graph-node--a,
  .int-graph-node--b {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }

  .int-graph-node--a { top: 8%; }
  .int-graph-node--b { top: auto; bottom: 8%; }
  .int-graph-hub { top: 42%; }
  .int-graph-node--c { display: none; }

  .int-graph::before {
    top: auto;
    bottom: 28%;
    left: 50%;
    right: auto;
    width: 2px;
    height: 18%;
    background: linear-gradient(180deg, #22d3ee, transparent);
  }

  .int-graph::after {
    top: 22%;
    height: 16%;
  }
}
