/* Centrosoft_ tokens */
:root {
  --paper: #ffffff;
  --ink: #4a4a45;
  --ink-soft: #6e6e66;
  --line: #e7e6e1;
  --tint: #f7f6f3;
  --orange: #ff6600;
  --font-sans: "Archivo", system-ui, sans-serif;
  --font-display: "Space Grotesk", "Archivo", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --wrap: 1160px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 1.0625rem;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--orange); color: #fff; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h2 { font-size: clamp(1.75rem, 3.4vw, 2.75rem); }
h2 mark, .decl mark {
  background: none;
  color: var(--orange);
}

/* ---------- topbar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease;
}
.topbar.scrolled { border-bottom-color: var(--line); }
.topbar-in {
  display: flex; align-items: center; justify-content: space-between;
  height: 112px;
  transition: height 0.25s ease;
}
.topbar.scrolled .topbar-in { height: 68px; }
.brand img {
  height: 54px; width: auto;
  transition: height 0.25s ease;
}
.topbar.scrolled .brand img { height: 26px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
}
.nav a:not(.btn):hover { border-bottom-color: var(--orange); }
.nav-toggle {
  display: none;
  background: none; border: 0; cursor: pointer;
  width: 40px; height: 40px;
  flex-direction: column; align-items: center; justify-content: center; gap: 7px;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 12px 24px;
  border: 2px solid var(--ink);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn-solid {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}
.btn-solid:hover { background: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.nav .btn { padding: 9px 18px; }

/* ---------- eyebrow / mono labels ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--ink-soft);
}
.eyebrow em { color: var(--orange); font-style: normal; }
.eyebrow-dark {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.55);
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 96px 0 72px; }
.hero-ghost {
  position: absolute;
  right: max(-8vw, -110px);
  top: 40%;
  transform: translateY(-50%);
  width: min(36vw, 470px);
  height: auto;
  opacity: 0.5;
  pointer-events: none;
}
.hero-ghost-left {
  right: auto;
  left: max(-16vw, -220px);
  top: auto;
  bottom: 32px;
  transform: none;
  width: min(44vw, 560px);
  opacity: 0.08;
}
.hero-title {
  font-size: clamp(2.6rem, 6.5vw, 5.2rem);
  font-weight: 700;
  margin: 20px 0 28px;
}
.hero-lede {
  max-width: 560px;
  font-size: 1.2rem;
  color: var(--ink-soft);
  margin-bottom: 36px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hl {
  background: var(--orange);
  color: #fff;
  padding: 2px 6px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.hl-ink { background: var(--ink); }

.cursor {
  color: var(--orange);
  animation: blink 1.1s steps(1) infinite;
}
.cursor-orange { color: var(--orange); }
@keyframes blink { 50% { opacity: 0; } }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: center;
  margin-top: 72px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.stat-logo {
  display: flex;
  align-items: center;
}
.stat-logo img {
  height: 38px;
  width: auto;
  transition: transform 0.2s ease;
}
.stat-logo-cigam img { height: 52px; }
.stat-logo:hover img,
.stat-logo:focus-visible img {
  transform: scale(1.1);
}
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
}
.stat strong::after { content: "_"; color: var(--orange); }
.stat span {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}

/* ---------- sections ---------- */
.sec { padding: 104px 0; }
.sec-rule { border-top: 1px solid var(--line); }

.sec-head {
  display: flex; align-items: baseline; gap: 16px;
}
.sec-label {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.sec-label::after {
  content: "_";
  color: var(--orange);
  font-weight: 700;
}
.sec-head-row { margin-bottom: 28px; }

.sec-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
}
.sec-grid .sec-head { flex-direction: column; gap: 8px; position: sticky; top: 108px; }
.sec-body h2 { margin-bottom: 28px; }
.sec-body p { max-width: 640px; color: var(--ink-soft); }
.sec-body p + p { margin-top: 18px; }

.sec-title { margin-bottom: 48px; }

/* ---------- product cards ---------- */
.band {
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}
.band-ghost {
  position: absolute;
  bottom: 0;
  left: max(24px, calc((100% - 1160px) / 2));
  width: 430px;
  transform: translateY(45%);
  filter: brightness(0) invert(1);
  opacity: 0.16;
  pointer-events: none;
}
.band-in { position: relative; }
@media (min-width: 901px) {
  .band-cigam .band-in { min-height: 560px; align-items: stretch; }
  .band-cigam .card-body { justify-content: space-between; }
}
.band-in {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 24px 56px;
  align-items: start;
}
.card-head,
.card-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.card-logo { display: flex; align-items: center; }
.card-logo img { height: 52px; width: auto; }

/* faixas coloridas */
.band-cigam,
.band-maax {
  color: #fff;
}
.band-cigam { background: var(--orange); }
.band-maax { background: var(--ink); }
.band-cigam .card-logo img {
  filter: brightness(0) invert(1);
  height: 88px;
}
.band-maax .card-logo img { height: 84px; }
.band-cigam .card-body > p,
.band-maax .card-body > p { color: rgba(255, 255, 255, 0.88); }
.band-cigam .card-cursor { color: #fff; }
.band-cigam .mini { border-color: rgba(74, 74, 69, 0.55); }
.band-cigam .mini strong { color: #fff; }
.band-cigam .mini strong::before { color: rgba(74, 74, 69, 0.75); }
.band-cigam .band-ghost {
  filter: brightness(0);
  opacity: 0.22;
}
.band-cigam .band-stats strong::after { color: var(--ink); }
.band-cigam .band-stats span { color: rgba(255, 255, 255, 0.85); }
.band-cigam .chips li { border-color: rgba(255, 255, 255, 0.45); color: #fff; }
.band-cigam .card-link,
.band-maax .card-link { color: #fff; }
.band-cigam .card-link::after { color: var(--ink); }
.band-cigam .card-link:hover { color: var(--ink); }
.band-maax .card-link:hover { color: var(--orange); }
.band-maax .sublist li { color: rgba(255, 255, 255, 0.88); }
.band-maax .sublist strong { color: #fff; }

.band-gov { background: var(--tint); }
.band-gov .band-ghost {
  filter: none;
  opacity: 0.16;
  transform: translateY(62%);
}
.band-gov .mini { border-color: var(--line); }
.band-gov .mini strong { color: var(--orange); }
.band-gov .mini strong::before { color: var(--ink-soft); }
.band-gov .mini span { color: var(--ink-soft); }
.gov-logo {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}
.gov-logo span { color: var(--orange); }
.card-cursor {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 0.5;
  color: var(--orange);
  animation: blink 1.1s steps(1) infinite;
}
.card-note {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}
.card-note-gov { color: var(--ink-soft); }

.minis {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.mini {
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 16px 20px;
}
.mini:last-child:nth-child(odd) { grid-column: 1 / -1; }
.mini strong {
  display: block;
  margin-bottom: 4px;
  color: var(--orange);
}
.mini strong::before {
  content: ">";
  font-family: var(--font-mono);
  color: rgba(255, 255, 255, 0.55);
  margin-right: 8px;
}
.mini span {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.82);
}

.band-stats {
  display: flex;
  gap: 36px;
  margin-top: 10px;
}
.band-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.1;
}
.band-stats strong::after { content: "_"; color: var(--orange); }
.band-stats span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.card-cta {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.btn-band {
  border-color: #fff;
  color: #fff;
}
.btn-band:hover { background: #fff; color: var(--orange); }
.band-maax .btn-solid:hover {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
}
.card h3 { font-size: 1.4rem; }
.card > p { color: var(--ink-soft); font-size: 1rem; }

.chips { list-style: none; display: flex; gap: 10px; flex-wrap: wrap; }
.chips li {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  padding: 6px 12px;
  border: 1px solid var(--line);
  color: var(--ink-soft);
}
.sublist { list-style: none; display: grid; gap: 10px; }
.sublist li {
  font-size: 0.98rem;
  color: var(--ink-soft);
  padding-left: 18px;
  position: relative;
}
.sublist li::before {
  content: ">";
  position: absolute; left: 0;
  font-family: var(--font-mono);
  color: var(--orange);
}
.sublist strong { color: var(--ink); }

.card-link {
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
}
.card-link::after { content: "_"; color: var(--orange); }
.card-link:hover { color: var(--orange); }


/* ---------- manifesto ---------- */
.decl {
  list-style: none;
  margin-top: 40px;
}
.decl li {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2.3rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  text-wrap: balance;
}
.signature {
  margin-top: 72px;
  display: flex;
  align-items: center;
  gap: 56px;
  flex-wrap: wrap;
}
.signature-name {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}
.signature-note {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

/* ---------- presença ---------- */
.places {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 8px;
}
.place { border-left: 3px solid var(--orange); padding-left: 22px; }
.place p + p { margin-top: 10px; }
.place p { color: var(--ink-soft); font-size: 0.98rem; }
.place a { color: var(--ink); font-weight: 600; text-decoration: none; }
.place a:hover { color: var(--orange); }
.place-code {
  font-family: var(--font-mono);
  font-size: 1.3rem !important;
  font-weight: 600;
  color: var(--ink) !important;
  letter-spacing: 0.1em;
}
.flag {
  display: inline-block;
  width: 22px;
  height: 22px;
  vertical-align: -4px;
  margin-right: 8px;
}

/* ---------- contato ---------- */
.sec-contact { text-align: center; padding-bottom: 140px; }
.sec-contact h2 { font-size: clamp(2.2rem, 5.5vw, 4rem); }
.sec-contact > .wrap > p { color: var(--ink-soft); margin: 18px 0 36px; }
.contact-actions {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
}

/* ---------- footer ---------- */
.footer-cut { display: block; width: 100%; height: 72px; margin-bottom: -1px; }
.footer { background: var(--ink); color: rgba(255, 255, 255, 0.65); }
.footer-in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  padding-top: 20px; padding-bottom: 44px;
  font-size: 0.9rem;
}
.footer-brand {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.footer-logo {
  height: 28px;
  width: auto;
}

/* ---------- reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .cursor, .card-cursor { animation: none; }
  .topbar, .topbar-in, .brand img, .stat-logo img { transition: none; }
}

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .sec { padding: 72px 0; }
  .sec-grid { grid-template-columns: 1fr; gap: 28px; }
  .sec-grid .sec-head { position: static; flex-direction: row; align-items: baseline; }
  .places { grid-template-columns: 1fr; }
  .band { padding: 48px 0; }
  .band-in { grid-template-columns: 1fr; }
  .band-ghost { display: none; }
  .minis { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); margin-top: 48px; }
  .stats::after {
    content: "";
    grid-column: 1 / -1;
    grid-row: 2;
    height: 1px;
    background: var(--line);
  }
  .hero { padding: 64px 0 48px; }
  .hero-ghost { opacity: 0.3; }
  .hero-ghost-left { display: none; }
}

@media (max-width: 720px) {
  .nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 18px;
    display: none;
  }
  .nav.open { display: flex; }
  .nav-toggle { display: flex; }
}
