:root {
  --ink: #07090d;
  --ink-2: #12151b;
  --navy: #07162d;
  --brand: #ff321f;
  --brand-2: #ff6b32;
  --paper: #f5f6f8;
  --white: #ffffff;
  --muted: #657080;
  --line: #dfe4ec;
  --radius: 8px;
  --shadow: 0 22px 70px rgba(7, 9, 13, 0.22);
  --font: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font);
  line-height: 1.5;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.skip-link {
  position: fixed;
  left: 14px;
  top: 14px;
  z-index: 100;
  transform: translateY(-140%);
  border-radius: 6px;
  padding: 10px 14px;
  color: #fff;
  background: var(--ink);
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(223, 228, 236, 0.86);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 26px;
}

.brand img {
  width: 198px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.desktop-nav a {
  border-radius: 6px;
  padding: 10px 12px;
  color: #303846;
  font-size: 14px;
  font-weight: 800;
}

.desktop-nav a:hover {
  color: var(--brand);
  background: rgba(255, 50, 31, 0.08);
}

.desktop-nav a.active {
  color: var(--brand);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 6px;
  padding: 0 18px;
  font-weight: 900;
}

.nav-cta,
.button-primary {
  color: #fff;
  background: var(--brand);
  box-shadow: 0 16px 36px rgba(255, 50, 31, 0.24);
}

.button-light {
  border: 1px solid var(--line);
  color: var(--ink);
  background: #fff;
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  gap: 5px;
  border: 1px solid rgba(7, 22, 45, 0.18);
  border-radius: 6px;
  color: #fff;
  background: var(--ink);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 82px 0 74px;
  color: #fff;
  background:
    radial-gradient(circle at 78% 16%, rgba(255, 50, 31, 0.26), transparent 30%),
    linear-gradient(135deg, #07090d 0%, #07162d 58%, #12151b 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
}

.hero::after {
  content: "art. 1";
  position: absolute;
  right: 8%;
  bottom: 2%;
  z-index: -1;
  color: rgba(255, 255, 255, 0.035);
  font-size: 180px;
  font-weight: 900;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 50, 31, 0.38);
  border-radius: 6px;
  padding: 0 11px;
  color: #ffb4a8;
  background: rgba(255, 50, 31, 0.1);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 820px;
  margin-bottom: 20px;
  font-size: 62px;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero p {
  max-width: 710px;
  margin-bottom: 28px;
  color: #e8edf5;
  font-size: 20px;
}

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

.legal-console {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.04)),
    rgba(7, 9, 13, 0.64);
  box-shadow: var(--shadow);
}

.legal-console::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 50, 31, 0.17), transparent);
  animation: panel-scan 7s linear infinite;
}

.console-top,
.case-card,
.console-grid,
.case-flow {
  position: relative;
  z-index: 1;
}

.console-top,
.case-card,
.case-flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.console-top {
  margin-bottom: 18px;
  color: #dce5f1;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.console-top strong {
  color: var(--brand-2);
}

.case-card {
  justify-content: flex-start;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.08);
}

.case-card svg {
  color: var(--brand);
}

.case-card strong {
  display: block;
  color: #fff;
}

.case-card small {
  color: #c5cfdd;
}

.console-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}

.console-grid div {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 6px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.06);
}

.console-grid b {
  display: block;
  color: #fff;
  font-size: 28px;
  line-height: 1;
}

.console-grid span {
  display: block;
  margin-top: 5px;
  color: #cbd5e3;
  font-size: 12px;
  font-weight: 800;
}

.case-flow {
  border: 1px solid rgba(255, 50, 31, 0.28);
  border-radius: 6px;
  padding: 13px;
  color: #fff;
  background: rgba(255, 50, 31, 0.08);
  font-size: 12px;
  font-weight: 900;
}

.case-flow i {
  flex: 1 1 22px;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
}

.proof-strip {
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.proof-grid div {
  min-height: 112px;
  border-left: 1px solid var(--line);
  padding: 22px;
}

.proof-grid div:last-child {
  border-right: 1px solid var(--line);
}

.proof-grid strong {
  display: block;
  color: var(--ink);
  font-size: 26px;
}

.proof-grid span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.section {
  padding: 82px 0;
}

section[id] {
  scroll-margin-top: 96px;
}

.split,
.system-grid,
.seo-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 42px;
  align-items: start;
}

.section-intro {
  position: sticky;
  top: 110px;
}

.about-section {
  background:
    radial-gradient(circle at 85% 18%, rgba(255, 50, 31, 0.08), transparent 28%),
    #f5f6f8;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 44px;
  align-items: center;
}

.about-copy p {
  color: var(--muted);
  font-size: 17px;
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.institutional-panel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.institutional-panel div {
  min-height: 170px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(7, 9, 13, 0.08);
}

.institutional-panel strong {
  display: block;
  color: var(--ink);
  font-size: 22px;
}

.institutional-panel span {
  display: block;
  margin-top: 12px;
  color: var(--muted);
  font-weight: 800;
}

h2 {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 42px;
  line-height: 1.05;
}

.section-intro p,
.portfolio-head p,
.seo-grid p,
.contact-grid p {
  color: var(--muted);
  font-size: 17px;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.solution-grid article,
.portfolio-card,
.contact-box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.solution-grid article {
  min-height: 245px;
  padding: 24px;
}

.solution-grid svg {
  color: var(--brand);
}

.solution-grid h3 {
  margin: 24px 0 10px;
  font-size: 22px;
  line-height: 1.14;
}

.solution-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.system-band {
  position: relative;
  overflow: hidden;
  padding: 82px 0;
  color: #fff;
  background:
    radial-gradient(circle at 80% 12%, rgba(255, 50, 31, 0.22), transparent 30%),
    linear-gradient(90deg, #07090d, #111827);
}

.system-band h2 {
  color: #fff;
}

.system-band p {
  color: #d6deeb;
}

.module-board {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.module-board div {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  padding: 20px;
  background: rgba(255, 255, 255, 0.07);
}

.module-board strong {
  color: var(--brand-2);
  font-size: 13px;
}

.module-board span {
  display: block;
  margin-top: 10px;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}

.portfolio-section {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.portfolio-head {
  max-width: 760px;
  margin-bottom: 28px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.portfolio-card {
  position: relative;
  min-height: 198px;
  padding: 20px;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(255, 50, 31, 0.2), transparent 42%),
    linear-gradient(180deg, #17191d, #07090d);
  box-shadow: 0 18px 48px rgba(7, 9, 13, 0.14);
}

.portfolio-card::after {
  content: "Abrir";
  position: absolute;
  right: 16px;
  bottom: 16px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 900;
}

.portfolio-card span {
  display: inline-flex;
  border-radius: 5px;
  padding: 6px 8px;
  color: #fff;
  background: var(--brand);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.portfolio-card strong {
  display: block;
  margin: 48px 0 8px;
  font-size: 20px;
}

.portfolio-card small {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 800;
}

.seo-section {
  background: #fff;
}

.keyword-list {
  display: grid;
  gap: 10px;
}

.keyword-list span {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 14px 16px;
  color: var(--ink);
  background: #f9fafc;
  font-weight: 900;
}

.contact-section {
  padding: 78px 0;
  color: #fff;
  background:
    radial-gradient(circle at 82% 20%, rgba(255, 50, 31, 0.22), transparent 28%),
    linear-gradient(90deg, #07090d, #12151b);
}

.contact-section h2 {
  color: #fff;
}

.contact-section p {
  color: #d7dfeb;
}

.contact-box {
  display: grid;
  gap: 12px;
  padding: 24px;
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.07);
}

.contact-box a:not(.button) {
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  padding: 13px 14px;
  color: #eef3f9;
  background: rgba(255, 255, 255, 0.05);
  font-weight: 900;
  overflow-wrap: anywhere;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 92px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.footer-shell strong {
  display: block;
  color: var(--ink);
  font-size: 15px;
}

.footer-shell span {
  display: block;
  margin-top: 3px;
}

.footer-shell nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 16px;
}

.footer-shell a {
  color: var(--muted);
}

.footer-shell a:hover {
  color: var(--brand);
}

.page-hero {
  padding: 84px 0 72px;
  color: #fff;
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 50, 31, 0.2), transparent 30%),
    linear-gradient(135deg, #07090d 0%, #07162d 58%, #12151b 100%);
}

.page-hero h1 {
  max-width: 840px;
  margin-bottom: 18px;
  font-size: 54px;
  line-height: 1;
}

.page-hero p {
  max-width: 790px;
  margin-bottom: 0;
  color: #dfe7f2;
  font-size: 19px;
}

.policy-section {
  padding: 72px 0;
}

.policy-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.32fr) minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.policy-nav {
  position: sticky;
  top: 108px;
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  background: #fff;
}

.policy-nav a {
  border-radius: 6px;
  padding: 10px 12px;
  color: var(--muted);
  font-weight: 900;
}

.policy-nav a:hover {
  color: var(--brand);
  background: rgba(255, 50, 31, 0.08);
}

.policy-content {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  background: #fff;
}

.policy-content h2 {
  margin-top: 34px;
  font-size: 30px;
}

.policy-content h2:first-child {
  margin-top: 0;
}

.policy-content h3 {
  margin: 24px 0 8px;
  font-size: 20px;
}

.policy-content p,
.policy-content li {
  color: var(--muted);
}

.policy-content ul {
  margin: 12px 0 0;
  padding-left: 20px;
}

.policy-note {
  border-left: 4px solid var(--brand);
  margin: 28px 0;
  padding: 16px 18px;
  color: var(--ink);
  background: #fff3f1;
  font-weight: 900;
}

.about-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.6fr);
  gap: 34px;
  align-items: start;
}

.about-page-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  background: #fff;
}

.about-page-panel strong {
  display: block;
  margin-bottom: 10px;
  color: var(--brand);
  font-size: 14px;
  text-transform: uppercase;
}

.about-page-panel p {
  margin-bottom: 0;
  color: var(--muted);
}

@keyframes panel-scan {
  from {
    transform: translateX(-120%);
  }
  to {
    transform: translateX(120%);
  }
}

@media (max-width: 1040px) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .mobile-nav {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 10px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 18px 42px rgba(7, 9, 13, 0.12);
  }

  .mobile-nav.is-open {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .mobile-nav a {
    display: flex;
    align-items: center;
    min-height: 44px;
    border-radius: 6px;
    padding: 10px 12px;
    color: #303846;
    background: #f7f8fb;
    font-weight: 900;
  }

  .mobile-nav a.active {
    color: var(--brand);
  }

  .mobile-nav .mobile-cta {
    grid-column: 1 / -1;
    justify-content: center;
    color: #fff;
    background: var(--brand);
  }

  h1 {
    font-size: 50px;
  }

  h2 {
    font-size: 34px;
  }

  .hero-grid,
  .about-grid,
  .split,
  .system-grid,
  .seo-grid,
  .contact-grid,
  .policy-layout,
  .about-page-grid {
    grid-template-columns: 1fr;
  }

  .section-intro {
    position: static;
  }

  .proof-grid,
  .portfolio-grid,
  .institutional-panel {
    grid-template-columns: repeat(2, 1fr);
  }

  .policy-nav {
    position: static;
  }
}

@media (max-width: 680px) {
  .shell {
    width: min(100% - 28px, 1180px);
  }

  .nav-shell {
    min-height: 72px;
  }

  .brand img {
    width: 158px;
  }

  .nav-cta {
    display: none;
  }

  .mobile-nav {
    width: min(100% - 28px, 1180px);
  }

  .mobile-nav.is-open {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 54px 0 46px;
  }

  h1,
  .page-hero h1 {
    font-size: 40px;
  }

  .hero p {
    font-size: 18px;
  }

  .button,
  .hero-actions {
    width: 100%;
  }

  .legal-console {
    padding: 18px;
  }

  .console-grid,
  .solution-grid,
  .module-board,
  .proof-grid,
  .portfolio-grid,
  .institutional-panel {
    grid-template-columns: 1fr;
  }

  .section,
  .system-band,
  .contact-section,
  .page-hero,
  .policy-section {
    padding: 58px 0;
  }

  .policy-content {
    padding: 24px;
  }

  .policy-content h2 {
    font-size: 26px;
  }

  .footer-shell {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 20px 0;
  }

  .footer-shell nav {
    justify-content: flex-start;
  }
}
