:root {
  --navy: #0b1f3a;
  --blue: #155eef;
  --blue-dark: #1248b8;
  --sky: #eaf3ff;
  --text: #192b43;
  --muted: #64748b;
  --white: #fff;
  --border: #dce6f2;
  --shadow: 0 16px 40px rgb(11 31 58 / 9%);
  --radius: 18px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a { color: inherit; }

.container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

/* --- HEADER --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgb(255 255 255 / 94%);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.navigation {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  color: var(--navy);
  font-size: 1.25rem;
  font-weight: 800;
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  color: var(--text);
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
  transition: color .2s;
}

.nav-links a:hover { color: var(--blue); }

/* --- BOTÕES --- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 0;
  border-radius: 10px;
  background: var(--blue);
  color: #fff;
  font-size: .95rem;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s, transform .2s;
}

.button:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
}

.button-outline {
  background: transparent;
  color: var(--blue);
  border: 1px solid var(--blue);
}

.button-outline:hover {
  background: var(--sky);
  color: var(--blue-dark);
}

/* --- CABEÇALHO DA PÁGINA --- */
.page-header {
  padding: 64px 0 56px;
  background: linear-gradient(135deg, #f5f9ff 0%, #e0eeff 50%, #ffffff 100%);
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--blue);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }

.page-header h1 {
  max-width: 720px;
  margin: 0 auto 16px;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -.035em;
}

.page-header p {
  max-width: 600px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.08rem;
}

/* --- CATÁLOGO DE SOFTWARES --- */
.section { padding: 72px 0; }

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.software-item {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #f5f9ff;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}

.software-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: #b8ccf0;
}

/* 1 - Imagem do software */
.software-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 230px;
  padding: 24px;
  background: transparent;
  border-bottom: 1px solid var(--border);
}

.software-thumb img {
  max-width: 100%;
  max-height: 180px;
  width: auto;
  height: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.software-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px;
  background: transparent;
  text-align: center;
}

/* 2 - Nome do software */
.software-body h2 {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 1.25rem;
  line-height: 1.25;
}

/* 3 - Breve descrição */
.software-body p {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: .95rem;
  flex: 1;
}

/* 4 e 5 - Botões */
.software-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.software-actions .button {
  width: 100%;
}

@media (max-width: 960px) {
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .catalog-grid {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
  }
}

/* --- FOOTER SPLIT --- */
.footer-split {
  background: #1b1b42;
  color: #e2e4f0;
  padding: 64px 0 56px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Arial, sans-serif;
}

.footer-split .wrap {
  width: min(1120px, calc(100% - 40px));
  margin: auto;
}

.footer-split a {
  text-decoration: none;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 18px;
}

.footer-logo img {
  height: 46px;
  width: auto;
  display: block;
}

.footer-desc {
  margin: 0;
  max-width: 310px;
  font-size: 14px;
  line-height: 1.6;
  color: #d0d3e6;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}

.footer-nav a {
  font-size: 14px;
  font-weight: 500;
  color: #e2e4f0;
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: #ffffff;
}

.footer-divider {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  margin: 40px 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
}

.footer-left-bottom {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 42px;
}

.footer-socials-round {
  display: flex;
  gap: 12px;
}

.footer-socials-round a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
}

.footer-socials-round a:hover {
  background: rgba(255, 255, 255, 0.38);
  transform: translateY(-2px);
}

.footer-copyright {
  margin: 0;
  max-width: 240px;
  font-size: 13px;
  line-height: 1.6;
  color: #c5c8dc;
}

.footer-info-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 260px;
}

.footer-info-block h4 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 600;
  color: #9ea3c2;
}

.footer-info-block p {
  margin: 0 0 4px;
  font-size: 14px;
  line-height: 1.5;
  color: #e2e4f0;
}

@media (max-width: 680px) {
  .footer-top, .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-left-bottom {
    gap: 24px;
  }
}

/* --- EFEITO DE ROLAGEM SUAVE (SCROLL REVEAL) --- */
.software-item.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease-out, transform 0.55s ease-out;
  will-change: opacity, transform;
}

.software-item.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
