/* ============================================================
   RGT — Um método. Dois mundos.
   Gateway (preto) · Engenharia (blueprint/âmbar) · Jurídico (parecer/cobre)
   Âmbar↔Engenharia e Cobre↔Jurídico vêm do design system RGT.
   ============================================================ */

:root {
  --sans: "Geist", -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "Cascadia Mono", monospace;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
}

/* Tema Engenharia — prancha técnica */
body.eng {
  --bg: #0B0E13;
  --bg-raise: #111520;
  --text: #E8EAF0;
  --muted: #96A0B5;
  --line: rgba(150, 160, 181, 0.16);
  --grid-line: rgba(122, 152, 220, 0.07);
  --accent: #F59E0B;
  --accent-soft: rgba(245, 158, 11, 0.55);
  --on-accent: #171208;
}

/* Tema Jurídico — parecer de alto padrão */
body.jur {
  --bg: #14100B;
  --bg-raise: #1C1710;
  --text: #F1E9DC;
  --muted: #A2947D;
  --line: rgba(162, 148, 125, 0.18);
  --grid-line: rgba(200, 126, 69, 0.06);
  --accent: #C97E45;
  --accent-soft: rgba(201, 126, 69, 0.55);
  --on-accent: #FFF6EC;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  color-scheme: dark;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  font-family: var(--sans);
  background: var(--bg, #070707);
  color: var(--text, #EDEDED);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

body.eng ::selection { background: #F59E0B; color: #0B0E13; }
body.jur ::selection { background: #C97E45; color: #14100B; }

.container {
  max-width: 74rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ============ Reveal ============ */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: calc(var(--d, 0) * 90ms);
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============ Botões ============ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-weight: 600;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.btn-accent { background: var(--accent); color: var(--on-accent); }
.btn-accent:hover { transform: translateY(-1px); filter: brightness(1.08); }

.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent-soft); color: var(--accent); }

.btn-sm { font-size: 0.8125rem; padding: 0.45rem 1rem; }
.btn-lg { font-size: 0.9375rem; padding: 0.85rem 1.75rem; letter-spacing: 0.01em; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; padding-top: 1.75rem; }

/* ============================================================
   GATEWAY
   ============================================================ */

body.gateway {
  background: #070707;
  color: #EDEDED;
  overflow-x: hidden;
}

.gate {
  display: flex;
  min-height: 100dvh;
  position: relative;
}

/* Placa central da marca */
.gate-brand {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 6;
  pointer-events: none;
  text-align: center;
  background: #070707;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 2rem 2.75rem;
}

.gate-logo { height: 2.75rem; width: auto; margin: 0 auto; }

.gate-descriptor {
  font-family: var(--mono);
  font-size: 0.5625rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: #8A8A8A;
  margin-top: 0.75rem;
}

.gate-claim {
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: #FFFFFF;
  margin-top: 1.1rem;
}

.gate-hint {
  font-family: var(--mono);
  font-size: 0.5625rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #666;
  margin-top: 0.9rem;
}

/* Painéis */
.panel {
  position: relative;
  flex: 1;
  display: flex;
  align-items: flex-end;
  padding: clamp(1.75rem, 4vw, 3.5rem);
  padding-bottom: clamp(4.5rem, 8vw, 6rem);
  overflow: hidden;
  transition: flex 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.panel:hover, .panel:focus-visible { flex: 1.5; }

.panel-eng { background: #0B0E13; border-right: 1px solid rgba(255, 255, 255, 0.08); }
.panel-jur { background: #120E08; }

.panel-grid {
  position: absolute;
  inset: -5%;
  background-image:
    linear-gradient(rgba(122, 152, 220, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(122, 152, 220, 0.07) 1px, transparent 1px);
  background-size: 44px 44px;
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.panel-lines {
  position: absolute;
  inset: -5%;
  background-image: repeating-linear-gradient(
    180deg,
    transparent 0,
    transparent 43px,
    rgba(201, 126, 69, 0.09) 43px,
    rgba(201, 126, 69, 0.09) 44px
  );
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.panel:hover .panel-grid,
.panel:hover .panel-lines { transform: scale(1.04); }

.panel-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 30rem;
}

.panel-eyebrow {
  font-family: var(--mono);
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: #777;
}

.panel-word {
  font-size: clamp(2.4rem, 6.5vw, 6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.95;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(245, 158, 11, 0.6);
  transition: color 0.5s ease;
}

.panel-eng:hover .panel-word { color: #F59E0B; }

.panel-word-serif {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.01em;
  -webkit-text-stroke: 1px rgba(201, 126, 69, 0.65);
}

.panel-jur:hover .panel-word-serif { color: #C97E45; }

.panel-tag {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9375rem;
  line-height: 1.55;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.45s ease 0.08s, transform 0.45s ease 0.08s;
}

.panel:hover .panel-tag { opacity: 1; transform: none; }

.panel-cta {
  font-family: var(--mono);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
}

.panel-eng .panel-cta { color: #F59E0B; }
.panel-jur .panel-cta { color: #C97E45; }

.panel-cta .arrow { display: inline-block; transition: transform 0.3s ease; }
.panel:hover .panel-cta .arrow { transform: translateX(6px); }

.panel-coord {
  position: absolute;
  font-family: var(--mono);
  font-size: 0.5625rem;
  color: rgba(255, 255, 255, 0.22);
  z-index: 2;
}
.panel-coord-a { top: 1.25rem; left: 1.5rem; }
.panel-coord-b { top: 1.25rem; right: 1.5rem; }

/* Sem hover (touch): mostra tudo */
@media (hover: none) {
  .panel-tag { opacity: 1; transform: none; }
  .panel-word { color: #F59E0B; }
  .panel-word-serif { color: #C97E45; }
}

/* Faixa manifesto */
.gate-marquee {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 7;
  background: #070707;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.marquee-track {
  display: flex;
  white-space: nowrap;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.marquee-track span {
  font-family: var(--mono);
  font-size: 0.5625rem;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: #7A7A7A;
  padding: 0.65rem 0;
}

@keyframes marquee { to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* Gateway no mobile: empilha */
@media (max-width: 760px) {
  .gate { flex-direction: column; }
  .panel { min-height: 50dvh; border-right: none; }
  .panel-eng { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  .panel-word { font-size: clamp(2.75rem, 13vw, 4rem); }
  .gate-brand { padding: 1.4rem 1.9rem; width: max-content; }
  .gate-claim { font-size: 1.05rem; }
}

/* ============================================================
   BARRA (eng + jur)
   ============================================================ */

.bar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.bar-inner {
  max-width: 74rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 3.75rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.bar-logo { height: 1.5rem; width: auto; }

/* Lockup de vertical — padrão dos assets oficiais da plataforma/aulas
   (logo-eng-white.png): wordmark + descritor mono uppercase na cor da vertical */
.bar-brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.bar-lockup {
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  white-space: nowrap;
  padding-top: 0.15rem; /* descritor levemente abaixo do centro, como no asset */
}

.bar-vertical {
  font-family: var(--mono);
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
  border-left: 1px solid var(--line);
  padding-left: 1.25rem;
  white-space: nowrap;
}
.bar-vertical b { color: var(--accent); font-weight: 500; }

.bar-nav {
  display: flex;
  gap: 1.5rem;
  margin-left: auto;
}

.bar-nav a {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.15s ease;
}
.bar-nav a:hover { color: var(--text); }

.bar-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: auto;
}
.bar-nav + .bar-actions { margin-left: 0; }

.bar-switch {
  font-family: var(--mono);
  font-size: 0.6875rem;
  color: var(--muted);
  transition: color 0.15s ease;
  white-space: nowrap;
}
.bar-switch:hover { color: var(--accent); }

@media (max-width: 980px) { .bar-nav { display: none; } }
@media (max-width: 560px) { .bar-vertical { display: none; } }

/* ============================================================
   TIPOGRAFIA COMPARTILHADA (eng + jur)
   ============================================================ */

h1 {
  font-size: clamp(2.75rem, 7vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.12;
  margin-bottom: 2.25rem;
}

.lead {
  font-size: clamp(1.0625rem, 1.8vw, 1.25rem);
  color: var(--muted);
  line-height: 1.65;
  max-width: 40rem;
}

.body-text {
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 1.1rem;
  max-width: 38rem;
}
.body-text strong { color: var(--text); font-weight: 600; }

.hero-eyebrow {
  font-family: var(--mono);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--accent);
  margin-bottom: 2rem;
}

/* ============================================================
   ENGENHARIA
   ============================================================ */

body.eng h1 em { font-style: normal; color: var(--accent); }

.eng .hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.blueprint {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px),
    linear-gradient(rgba(122, 152, 220, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(122, 152, 220, 0.045) 1px, transparent 1px);
  background-size: 220px 220px, 220px 220px, 44px 44px, 44px 44px;
  pointer-events: none;
}

.crosshair {
  position: absolute;
  font-family: var(--mono);
  font-size: 1rem;
  color: rgba(122, 152, 220, 0.35);
  pointer-events: none;
}
.crosshair-tl { top: 1.25rem; left: 1.5rem; }
.crosshair-tr { top: 1.25rem; right: 1.5rem; }
.crosshair-bl { bottom: 1.25rem; left: 1.5rem; }

.eng .hero-inner {
  position: relative;
  padding-top: clamp(5rem, 11vw, 8.5rem);
  padding-bottom: clamp(6rem, 12vw, 9rem);
}

.dimension {
  display: flex;
  align-items: center;
  width: min(30rem, 85%);
  margin: 2rem 0 2.25rem;
  color: var(--accent);
}

.dim-tick { width: 1px; height: 0.8rem; background: var(--accent); flex-shrink: 0; }

.dim-label {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--mono);
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  white-space: nowrap;
}
.dim-label::before, .dim-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--accent);
  opacity: 0.55;
}

/* Carimbo de prancha */
.carimbo {
  position: absolute;
  right: 1.5rem;
  bottom: 1.5rem;
  display: grid;
  grid-template-columns: 1.7fr 0.65fr 0.65fr;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(6px);
  max-width: 30rem;
}

.carimbo-cell {
  padding: 0.5rem 0.8rem;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.carimbo-cell:nth-child(-n+3) { border-top: none; }
.carimbo-cell:nth-child(3n+1) { border-left: none; }

.carimbo-cell span {
  display: block;
  font-family: var(--mono);
  font-size: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
}
.carimbo-cell b {
  display: block;
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
}

@media (max-width: 1180px) {
  .carimbo {
    position: static;
    margin: 3.5rem 1.5rem 0;
    max-width: none;
  }
  .eng .hero-inner { padding-bottom: 0; }
  .eng .hero { padding-bottom: 1.5rem; }
}

/* Folhas */
.sheet {
  position: relative;
  overflow: hidden;
  padding: clamp(4.5rem, 9vw, 7rem) 0;
  border-bottom: 1px solid var(--line);
}

.ghost-num {
  position: absolute;
  top: 0;
  right: -1rem;
  font-size: clamp(9rem, 26vw, 22rem);
  font-weight: 800;
  line-height: 0.8;
  color: color-mix(in srgb, var(--text) 3.5%, transparent);
  pointer-events: none;
  user-select: none;
}

.sheet-head {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.sheet-num {
  font-family: var(--mono);
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  color: var(--accent);
  white-space: nowrap;
}

.sheet-rule { flex: 1; height: 1px; background: var(--line); }

.sheet-name {
  font-family: var(--mono);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: var(--muted);
  white-space: nowrap;
}

/* Gargalo */
.drain-list {
  list-style: none;
  max-width: 42rem;
}

.drain-list li {
  display: flex;
  gap: 1.1rem;
  padding: 1.1rem 0;
  border-bottom: 1px dashed var(--line);
  font-size: 1.0625rem;
  color: var(--text);
}

.drain-num {
  font-family: var(--mono);
  font-size: 0.8125rem;
  color: var(--accent);
  padding-top: 0.2rem;
  flex-shrink: 0;
}

.pull {
  font-size: clamp(1.5rem, 3.2vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-top: 3rem;
  max-width: 46rem;
}
.pull em { font-style: normal; color: var(--accent); }

/* Split 2 colunas */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } }

/* Escada do método */
.ladder {
  list-style: none;
  max-width: 52rem;
}

.ladder li {
  display: flex;
  gap: 1.75rem;
  padding: 1.9rem 0;
  border-bottom: 1px solid var(--line);
}

.ladder li:nth-child(2) { margin-left: 5%; }
.ladder li:nth-child(3) { margin-left: 10%; }
.ladder li:nth-child(4) { margin-left: 15%; }
.ladder li:nth-child(5) { margin-left: 20%; }

@media (max-width: 720px) {
  .ladder li { margin-left: 0 !important; }
}

.ladder-num {
  font-family: var(--mono);
  font-size: 1.75rem;
  color: var(--accent);
  line-height: 1;
  min-width: 3.25rem;
  padding-top: 0.2rem;
}

.ladder h3 {
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.4rem;
}

.ladder p {
  color: var(--muted);
  font-size: 0.9375rem;
  max-width: 34rem;
}

/* Grade de aplicações (compartilhada, tema via vars) */
.app-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

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

.app-card {
  background: var(--bg);
  padding: 1.75rem;
  transition: background-color 0.2s ease;
}
.app-card:hover { background: var(--bg-raise); }

.app-card h3 {
  font-size: 1.0313rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}

.app-card p {
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.65;
}

/* Sigilo (eng) */
.sigilo {
  margin-top: 2.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  border: 1px solid var(--accent-soft);
  background: color-mix(in srgb, var(--accent) 6%, transparent);
  padding: 1.5rem 1.75rem;
}

.sigilo-mark {
  width: 0.625rem;
  height: 0.625rem;
  background: var(--accent);
  margin-top: 0.45rem;
  flex-shrink: 0;
}

.sigilo p { color: var(--muted); max-width: 44rem; }
.sigilo b { color: var(--accent); }

/* Adesão (eng) */
.split-cta { grid-template-columns: 1.15fr 0.85fr; }
@media (max-width: 880px) { .split-cta { grid-template-columns: 1fr; } }

.resp-box {
  border: 1px solid var(--line);
  background: var(--bg-raise);
  padding: 2rem;
}

.resp-label {
  font-family: var(--mono);
  font-size: 0.5625rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.resp-name { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; }

.resp-desc {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-top: 0.9rem;
}

.badge-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.25rem; }

.badge {
  font-family: var(--mono);
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  border: 1px solid var(--accent-soft);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
}

.sheet-last { border-bottom: none; }

/* ============================================================
   JURÍDICO
   ============================================================ */

body.jur h1,
body.jur h2 {
  font-family: var(--serif);
  font-weight: 550;
  letter-spacing: -0.015em;
}

body.jur h1 {
  font-size: clamp(2.5rem, 6.2vw, 4.75rem);
  line-height: 1.06;
}
body.jur h1 em { font-style: italic; color: var(--accent); }

.jur .hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.ledger {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    180deg,
    transparent 0,
    transparent 47px,
    var(--grid-line) 47px,
    var(--grid-line) 48px
  );
  pointer-events: none;
}

.jur .hero-inner {
  position: relative;
  padding-top: clamp(5rem, 11vw, 8.5rem);
  padding-bottom: clamp(4.5rem, 9vw, 7rem);
}

.hero-rule {
  width: 6rem;
  height: 2px;
  background: var(--accent);
  margin: 2.25rem 0;
}

.hero-ementa {
  margin-top: 3.5rem;
  max-width: 44rem;
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--muted);
  border-left: 2px solid var(--accent);
  padding-left: 1.4rem;
}
.hero-ementa b {
  color: var(--text);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 550;
}

/* Cláusulas */
.clause {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.clause-grid {
  display: grid;
  grid-template-columns: 15rem 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

@media (max-width: 880px) {
  .clause-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}

.clause-num {
  display: block;
  font-family: var(--serif);
  font-size: clamp(3.5rem, 6vw, 5.5rem);
  font-weight: 400;
  line-height: 0.9;
  color: var(--accent);
}

.clause-side h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  margin: 1rem 0 0;
}

.marginalia {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--accent);
  border-left: 1px solid var(--line);
  padding-left: 1.25rem;
  max-width: 28rem;
  margin-top: 1.75rem;
}

/* Princípios (§) */
.tenet-list { list-style: none; max-width: 44rem; }

.tenet-list li {
  display: flex;
  gap: 1.4rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--line);
}
.tenet-list li:last-child { border-bottom: none; }

.tenet-num {
  font-family: var(--mono);
  font-size: 0.8125rem;
  color: var(--accent);
  min-width: 2.9rem;
  padding-top: 0.25rem;
}

.tenet-list h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.4rem;
}

.tenet-list p {
  color: var(--muted);
  font-size: 0.9375rem;
  max-width: 34rem;
}

.jur .app-card h3 {
  font-family: var(--serif);
  font-weight: 550;
  font-size: 1.125rem;
}

/* Do sigilo */
.clause-dark { background: #0E0A05; }

.pull-serif {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3.4vw, 2.5rem);
  font-weight: 500;
  line-height: 1.25;
  margin-bottom: 1.75rem;
  max-width: 40rem;
}
.pull-serif em { color: var(--accent); }

/* Premiação / destaque de prova (compartilhado, tema via vars) */
.award {
  margin-top: 2rem;
  max-width: 38rem;
  border: 1px solid var(--accent-soft);
  background: color-mix(in srgb, var(--accent) 7%, transparent);
  padding: 1.4rem 1.6rem;
}

.award-label {
  display: block;
  font-family: var(--mono);
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.award p { color: var(--muted); font-size: 0.9375rem; line-height: 1.7; }
.award p b { color: var(--text); font-weight: 600; }

/* De quem responde */
.resp-name-serif {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.5vw, 2.75rem);
  font-weight: 550;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}

/* Da adesão */
.clause-last { border-bottom: none; }

.adesao-title {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  font-weight: 550;
  margin-bottom: 1.1rem;
}

.conclusao {
  margin-top: 3rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1875rem;
  color: var(--text);
}

.conclusao-local {
  display: block;
  font-family: var(--mono);
  font-style: normal;
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--muted);
  margin-top: 0.6rem;
}

/* ============================================================
   FOOTER (eng + jur)
   ============================================================ */

.footer {
  background: #060606;
  border-top: 1px solid var(--line, rgba(255,255,255,0.1));
  padding: 3.5rem 0 2rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
}

@media (max-width: 880px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-inner { grid-template-columns: 1fr; } }

.footer-logo { height: 2rem; width: auto; }

/* Lockup da marca-mãe — padrão do logo-ia-aplicada: wordmark — descritor mono */
.footer-lockup {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-lockup span {
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.45);
  white-space: nowrap;
  padding-top: 0.15rem;
}

.footer-brand p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.45);
  max-width: 16rem;
  line-height: 1.6;
}

.footer-head {
  font-family: var(--mono);
  font-size: 0.5625rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 0.9rem;
}

.footer-col a {
  display: block;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
  padding: 0.25rem 0;
  transition: color 0.15s ease;
}
.footer-col a:hover { color: var(--accent, #fff); }

.footer-bottom {
  margin-top: 2.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
}

.footer-bottom p {
  font-family: var(--mono);
  font-size: 0.625rem;
  color: rgba(255, 255, 255, 0.3);
}
