:root {
  color-scheme: light;
  --bg: #f2f5f8;
  --surface: #ffffff;
  --surface-soft: #eef2f6;
  --surface-strong: #0d1720;
  --text: #141e28;
  --muted: #566070;
  --line: #d6dfe8;
  --brand: #8b0000;
  --brand-strong: #6f0000;
  --brand-light: rgba(139, 0, 0, 0.08);
  --accent: #1d5c7a;
  --ok: #177052;
  --shadow-sm: 0 2px 8px rgba(16, 24, 32, 0.06);
  --shadow: 0 8px 32px rgba(16, 24, 32, 0.1);
  --shadow-lg: 0 20px 56px rgba(16, 24, 32, 0.14);
  --radius: 10px;
  --transition: 200ms ease;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

/* ── Header ─────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(214, 223, 232, 0.9);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px);
}

.header-inner,
.section-inner,
.footer-inner,
.hero-content,
.hero-strip {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  height: 36px;
  width: auto;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 0.9rem;
}

.nav a {
  text-decoration: none;
  transition: color var(--transition);
  white-space: nowrap;
}

.nav a:hover {
  color: var(--brand);
}

.nav-access {
  height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  color: var(--text) !important;
  font-weight: 700;
  transition: border-color var(--transition), background var(--transition);
}

.nav-access:hover {
  border-color: var(--brand) !important;
  color: var(--brand) !important;
  background: var(--brand-light);
}

/* ── Hero ────────────────────────────────────────── */
.hero {
  min-height: calc(100vh - 72px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(110deg, rgba(10, 16, 22, 0.95) 0%, rgba(10, 16, 22, 0.82) 46%, rgba(10, 16, 22, 0.5) 100%),
    url("operation-center.svg");
  background-size: cover;
  background-position: center;
  color: #ffffff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 20% 50%, rgba(139, 0, 0, 0.22), transparent);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 140px;
  background: linear-gradient(180deg, transparent, rgba(10, 16, 22, 0.85));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 100px 0 120px;
}

.eyebrow {
  margin: 0 0 16px;
  color: #a9c9d8;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h1 {
  max-width: 860px;
  font-size: clamp(2.8rem, 6.5vw, 6rem);
}

h2 {
  font-size: clamp(1.9rem, 4vw, 3.2rem);
}

h3 {
  font-size: 1.08rem;
  letter-spacing: -0.01em;
}

.lead {
  max-width: 700px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  line-height: 1.65;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1.5px solid transparent;
  border-radius: var(--radius);
  background: var(--brand);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.button:hover {
  background: var(--brand-strong);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(139, 0, 0, 0.35);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.07);
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-1px);
  box-shadow: none;
}

.contact-button {
  min-width: 180px;
}

/* Hero strip */
.hero-strip {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.88rem;
}

.hero-strip span {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 22px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-strip span:first-child {
  border-left: 0;
  padding-left: 0;
}

.hero-strip svg {
  flex-shrink: 0;
  opacity: 0.7;
}

/* ── Sections ─────────────────────────────────────── */
section {
  padding: 90px 0;
}

.section-band {
  background: var(--surface);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.68fr);
  gap: 36px;
  align-items: end;
  margin-bottom: 48px;
}

.section-head p,
.copy-block p,
.contact-section p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.copy-block {
  display: grid;
  gap: 18px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.85fr);
  gap: 60px;
  align-items: start;
}

/* ── Cards (solucao) ─────────────────────────────── */
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.card {
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.card:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.card-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--brand-light);
  color: var(--brand);
  margin-bottom: 20px;
}

.card h3 {
  margin-bottom: 10px;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.65;
}

/* ── Diferenciais ────────────────────────────────── */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.diff-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 28px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.diff-item:hover {
  border-color: rgba(139, 0, 0, 0.3);
  box-shadow: var(--shadow);
}

.diff-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--brand-light);
  color: var(--brand);
  flex-shrink: 0;
}

.diff-item h3 {
  margin-bottom: 8px;
}

.diff-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.65;
}

/* ── Dark band (suporte) ─────────────────────────── */
.dark-band {
  background:
    radial-gradient(ellipse 70% 80% at 0% 50%, rgba(139, 0, 0, 0.2), transparent),
    var(--surface-strong);
  color: #ffffff;
}

.dark-band .eyebrow {
  color: #d9b9b9;
}

.dark-band .copy-block p {
  color: rgba(255, 255, 255, 0.72);
}

/* ── Process list ────────────────────────────────── */
.process-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.process-list li {
  counter-increment: steps;
  padding: 28px;
  border: 1.5px solid var(--line);
  border-top: 3px solid var(--brand);
  border-radius: 0 0 var(--radius) var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.process-list li::before {
  content: "0" counter(steps);
  display: block;
  margin-bottom: 24px;
  color: var(--brand);
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
}

.process-list strong,
.process-list span {
  display: block;
}

.process-list strong {
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.process-list span {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.65;
}

/* ── Contact ─────────────────────────────────────── */
.contact-section {
  background: var(--surface);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 40px;
  align-items: start;
}

.contact-lead {
  margin: 16px 0 0 !important;
}

.contact-card {
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.contact-card dl {
  display: grid;
  gap: 22px;
  margin: 0;
}

.contact-card dt {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.contact-card dd {
  margin: 6px 0 0;
  font-weight: 600;
  font-size: 0.97rem;
  line-height: 1.55;
}

.contact-card a {
  color: var(--brand);
  text-decoration: none;
}

.contact-card a:hover {
  text-decoration: underline;
}

/* ── Footer ─────────────────────────────────────── */
.site-footer {
  padding: 40px 0;
  background: #08111a;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-logo {
  height: 28px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links a {
  text-decoration: none;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: rgba(255, 255, 255, 0.9);
}

/* ── Legal pages ─────────────────────────────────── */
.legal-hero {
  padding: 74px 0 54px;
  background: var(--surface-strong);
  color: #ffffff;
}

.legal-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.72);
}

.legal-main {
  width: min(860px, calc(100% - 40px));
  margin: 0 auto;
  padding: 56px 0 80px;
}

.legal-main h2 {
  margin-top: 36px;
  font-size: 1.45rem;
}

.legal-main h2:first-child {
  margin-top: 0;
}

.legal-main p,
.legal-main li {
  color: var(--muted);
}

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 960px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
    min-height: auto;
  }

  .nav {
    width: 100%;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 72px 0 90px;
  }

  .hero-strip,
  .cards,
  .diff-grid,
  .process-list,
  .section-head,
  .split,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-strip span {
    min-height: 56px;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 12px 0;
  }

  .hero-strip span:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-left: 0;
  }

  .diff-item {
    gap: 16px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  h1 {
    font-size: 2.4rem;
  }

  section {
    padding: 64px 0;
  }

  .actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
    justify-content: center;
  }

  .cards {
    gap: 14px;
  }

  .diff-item {
    flex-direction: column;
    gap: 14px;
  }

  .diff-icon {
    width: 48px;
    height: 48px;
  }
}
