/* Reconix — site institucional
   Fundo e estrutura: design system Web-Check (dark terminal).
   Acento de marca desta versão: #B4F342 (especificação Victor).
   Token extraído do Web-Check: #d6fb41. Não misturar os dois na UI. */

@font-face {
  font-family: "Hubot Sans";
  src: url("../fonts/HubotSans-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Hubot Sans";
  src: url("../fonts/HubotSans-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Hubot Sans";
  src: url("../fonts/HubotSans-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: PTMono;
  src: url("../fonts/PTMono-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@property --angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

:root {
  /* Página já é escura por design: declara ao navegador (e aos force-dark
     como o do Brave mobile) que não há nada para reverter — reduz a chance
     de o reescritor tocar nas cores. */
  color-scheme: dark;
  --primary: #b4f342;
  --bg: #111211;
  --bg-darker: #111927;
  --bg-line: #3a3b3a;
  --text: #ffffff;
  --text-2: rgba(255, 255, 255, 0.71);
  --text-3: rgba(255, 255, 255, 0.36);
  --ink: #111211;
  --radius: 3px;
  --nav-h: 64px;
  --wrap: 1120px;
  --measure: 66ch;
  --font: "Hubot Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: PTMono, ui-monospace, "Courier New", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  position: relative;
}

body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  height: 100svh;
  pointer-events: none;
  z-index: 0;
  background-image: radial-gradient(rgba(120, 120, 120, 0.45) 1px, transparent 1.4px);
  background-size: 32px 32px;
  mask-image: radial-gradient(circle at 50% 0%, black 0%, rgba(0, 0, 0, 0.6) 55%, transparent 100%);
  -webkit-mask-image: radial-gradient(circle at 50% 0%, black 0%, rgba(0, 0, 0, 0.6) 55%, transparent 100%);
}

#bg-rain {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100svh;
  z-index: 0;
  pointer-events: none;
  opacity: 1;
  mask-image: radial-gradient(circle at 50% 0%, black 0%, rgba(0, 0, 0, 0.7) 60%, transparent 100%);
  -webkit-mask-image: radial-gradient(circle at 50% 0%, black 0%, rgba(0, 0, 0, 0.7) 60%, transparent 100%);
}

a {
  color: inherit;
  text-underline-offset: 0.18em;
}

img {
  max-width: 100%;
  height: auto;
}

::selection {
  background: var(--primary);
  color: var(--ink);
}

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  z-index: 20;
  background: var(--primary);
  color: var(--ink);
  padding: 8px 12px;
  font-weight: 700;
}
.skip:focus {
  top: 12px;
}

.wrap {
  width: min(var(--wrap), calc(100% - 56px));
  margin-inline: auto;
}

@media (max-width: 480px) {
  :root { --wrap: 100%; }
  .wrap { width: calc(100% - 32px); }
  html { scroll-padding-top: calc(var(--nav-h) + 8px); }
}

.site-header,
main,
.lime-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: var(--bg);
  border-bottom: 1px solid var(--bg-line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  width: min(var(--wrap), calc(100% - 56px));
}

.navbar-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex: 0 0 auto;
  min-height: 44px;
}

.navbar-brand img {
  height: 32px;
  width: 32px;
  object-fit: contain;
  margin-right: 8px;
  display: block;
  flex: 0 0 32px;
}

.wordmark {
  font-weight: 700;
  font-size: 20px;
  line-height: 32px;
  letter-spacing: -0.03em;
}
.wordmark-base { color: #ffffff; }
.wordmark-x { color: #b4f342; }

.nav-panel {
  display: flex;
  align-items: center;
  gap: 4px 18px;
  margin-left: auto;
}

.nav-panel a {
  color: var(--text-2);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.nav-panel a:hover,
.nav-panel a[aria-current="page"] {
  color: var(--text);
}
.nav-panel a[aria-current="page"] {
  box-shadow: inset 0 -2px 0 var(--primary);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--text-3);
  border-radius: var(--radius);
  background: transparent;
  color: var(--text);
  font: 600 14px/1 var(--mono);
  letter-spacing: 0.04em;
  cursor: pointer;
}

.kicker {
  margin: 0 0 12px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
}

h1, h2, h3 {
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 8.5vw, 3.55rem);
  max-width: 16ch;
}

h2 {
  margin: 0;
  font-size: clamp(1.6rem, 2.4vw, 2rem);
}

h3 {
  margin: 0 0 8px;
  font-size: 1.35rem;
}

.lede {
  max-width: var(--measure);
  color: var(--text-2);
  font-size: 1.05rem;
  margin: 18px 0 0;
}

.grad {
  /* Cor sólida (mesma cor final do antigo gradiente branco → #b4f342).
     O trecho não usa mais background-clip: text / color transparent: os
     reescritores de dark mode (Brave Force Dark) pintam por cima do texto
     clipado e o deixam preto ilegível — texto opaco não é tocado (o H1
     branco sempre renderizou normal no Brave). Decisão do Victor em
     16/10: remover o gradiente em vez de trocar de efeito. */
  color: var(--primary);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(180px, 0.7fr);
  gap: 32px 48px;
  align-items: end;
  padding: 56px 0 28px;
}

.hero-mark {
  justify-self: end;
  width: min(280px, 100%);
  height: auto;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: var(--radius);
  font: 700 15px/1 var(--font);
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-fill {
  background: var(--primary);
  color: var(--ink);
}
.btn-fill:hover {
  filter: brightness(1.06);
}

.btn-line {
  color: var(--text);
  border: 2px solid rgba(255, 255, 255, 0.36);
  background:
    linear-gradient(var(--bg), var(--bg)) padding-box,
    conic-gradient(from var(--angle), rgba(255, 255, 255, 0.36) 0 72%, var(--primary) 84%, rgba(255, 255, 255, 0.36) 96%) border-box;
  animation: spin 3.5s linear infinite;
}
.btn-line:hover {
  color: var(--primary);
}

.pillar .index {
  animation: index-pulse 3.2s ease-in-out infinite;
}

@keyframes index-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

@keyframes spin {
  to { --angle: 360deg; }
}

.section {
  padding: 48px 0;
  border-top: 1px solid var(--bg-line);
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-bottom: 22px;
}
.section-head p {
  margin: 0;
  max-width: 42ch;
  color: var(--text-2);
}

.pillar {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 18px 28px;
  align-items: center;
  padding: 22px 0;
  border-top: 1px solid var(--bg-line);
  text-decoration: none;
}
.pillar:last-child {
  border-bottom: 1px solid var(--bg-line);
}
.pillar:hover h3 {
  color: var(--primary);
}
.index {
  font-family: var(--mono);
  color: var(--primary);
  font-size: 14px;
}
.pillar p {
  margin: 0;
  color: var(--text-2);
  max-width: 62ch;
}
.pillar .go {
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.pillar .go-arrow { display: none; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 48px;
}
.split article + article {
  border-left: 1px solid var(--bg-line);
  padding-left: 48px;
}
.split p,
.prose p {
  color: var(--text-2);
  margin: 0 0 12px;
}
.split a,
.prose a {
  color: var(--primary);
}
.prose .btn-fill,
.split .btn-fill {
  color: var(--ink);
}
.split article:nth-child(3) {
  grid-column: 1 / -1;
  border-left: 0;
  padding-left: 0;
  border-top: 1px solid var(--bg-line);
  padding-top: 22px;
}

.service-block {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 12px 32px;
  padding: 28px 0;
  border-top: 1px solid var(--bg-line);
}
.service-block h2 {
  font-size: 1.35rem;
}
.service-block ul {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
.service-block li {
  position: relative;
  padding-left: 16px;
  margin: 8px 0;
  color: var(--text-2);
}
.service-block li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
}
.service-block ol {
  margin: 12px 0 0;
  padding-left: 1.2em;
}
.service-block ol li {
  padding-left: 0.35em;
  list-style: decimal;
}
.service-block ol li::before {
  content: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.table-wrap {
  overflow-x: auto;
  margin-top: 12px;
}

.sanctions-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  text-align: left;
}
.sanctions-table th,
.sanctions-table td {
  padding: 12px 14px 12px 0;
  border-bottom: 1px solid var(--bg-line);
  vertical-align: top;
  color: var(--text-2);
}
.sanctions-table th {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  white-space: nowrap;
}
.sanctions-table td:first-child {
  color: var(--text);
  font-weight: 600;
}
.sanctions-table tbody tr:last-child td {
  border-bottom: 0;
}
.table-source {
  font-size: 13px;
  color: var(--text-3);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 32px 48px;
  align-items: start;
}

form {
  display: grid;
  gap: 14px;
}
label {
  display: grid;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
}
input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--bg-line);
  border-radius: var(--radius);
  background: var(--bg-darker);
  color: var(--text);
  font: 400 16px/1.4 var(--font);
  padding: 12px 12px;
  min-height: 48px;
}
textarea {
  min-height: 120px;
  resize: vertical;
}
input:focus,
select:focus,
textarea:focus {
  outline: 1px solid var(--primary);
  border-color: var(--primary);
}
.field-error {
  color: #fca016;
  font-size: 13px;
  font-weight: 400;
  min-height: 1.1em;
}
.form-note,
.form-status {
  margin: 0;
  color: var(--text-2);
  font-size: 14px;
}
.form-status[data-state="ok"] {
  color: var(--primary);
}
.form-status[data-state="err"] {
  color: #fca016;
}

.other-routes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 8px;
}
.other-routes a {
  color: var(--text-2);
  font-weight: 600;
}

.lime-footer {
  background: var(--primary);
  color: var(--ink);
  margin-top: 12px;
}
.lime-footer .wrap {
  min-height: 72px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  font-weight: 600;
}
.lime-footer a {
  color: var(--ink);
  font-weight: 700;
}
.lime-footer .muted {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 400;
}
.lime-footer .copy {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.06em;
}

.page-hero {
  padding: 48px 0 8px;
}

/* Service pages: short offer cards and decision-focused summaries. */
.offer-section .section-head {
  align-items: end;
}
.offer-grid,
.use-grid,
.compare-grid {
  display: grid;
  gap: 14px;
}
.offer-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.offer-card,
.compare-card {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--bg-line);
  background: rgba(255, 255, 255, 0.015);
}
.offer-card .index,
.use-item .index {
  margin: 0 0 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
}
.offer-card h3,
.use-item h3,
.compare-card h3,
.status-panel h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}
.offer-card ul {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
.offer-card li {
  position: relative;
  margin: 8px 0;
  padding-left: 16px;
  color: var(--text-2);
}
.offer-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
}
.offer-card .process-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}
.offer-card .process-list li {
  display: grid;
  gap: 3px;
  margin: 0;
  padding: 9px 0 0;
  border-top: 1px solid var(--bg-line);
}
.offer-card .process-list li::before {
  content: none;
}
.process-list strong {
  color: var(--text);
  font-size: 14px;
}
.process-list span,
.offer-card .card-note {
  color: var(--text-3);
  font-size: 13px;
}
.offer-card .card-note {
  margin: 12px 0 0;
}
.offer-card-wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0 24px;
}
.offer-card-wide .index {
  grid-column: 1 / -1;
}
.offer-card-wide h3,
.offer-card-wide > p:not(.index) {
  grid-column: 1;
}
.offer-card-wide .compact-list {
  grid-column: 2;
  grid-row: 2 / span 2;
  margin-top: 0;
}
.status-panel {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 16px 24px;
  align-items: start;
  margin-top: 22px;
  padding: 20px;
  border: 1px solid rgba(180, 243, 66, 0.42);
  background: rgba(180, 243, 66, 0.025);
}
.status-label,
.path-label {
  color: var(--primary);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.status-label {
  padding-top: 3px;
}
.status-panel p:last-child,
.use-item p:last-child,
.compare-card p:last-of-type {
  margin-bottom: 0;
}
.use-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.use-item {
  padding: 16px 0;
  border-top: 1px solid var(--bg-line);
}
.use-item h3 {
  font-size: 1.1rem;
}
.compare-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.path-label {
  margin: 0 0 10px;
}
.compare-card dl {
  display: grid;
  gap: 0;
  margin: 18px 0 0;
}
.compare-card dl > div {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid var(--bg-line);
}
.compare-card dt {
  color: var(--primary);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.compare-card dd {
  margin: 0;
  color: var(--text-2);
}
.section-action {
  margin-top: 24px;
}
.service-forward {
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--bg-line);
  font-size: 14px;
}

@media (max-width: 860px) {
  body { font-size: 15px; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-panel {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    margin: 0;
    padding: 8px 20px 16px;
    flex-direction: column;
    align-items: stretch;
    background: var(--bg);
    border-bottom: 1px solid var(--bg-line);
  }
  .nav-panel.is-open { display: flex; }
  .hero,
  .split,
  .contact,
  .pillar,
  .service-block,
  .section-head {
    grid-template-columns: 1fr;
  }
  .hero-mark { justify-self: center; width: min(220px, 70%); }
  .split article + article {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid var(--bg-line);
    padding-top: 22px;
  }
  .pillar .go { justify-content: flex-start; }
  .actions { margin-top: 22px; }
  .btn {
    width: 100%;
    min-height: 52px;
    padding: 0 16px;
    font-size: 16px;
  }
  .actions .btn { width: 100%; }
  input,
  select,
  textarea {
    font-size: 16px;
  }
  .lime-footer .wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px 0;
    padding: 14px 0;
  }
  .lime-footer a { min-height: 44px; display: inline-flex; align-items: center; }
  .sanctions-table { font-size: 14px; }
  .sanctions-table th,
  .sanctions-table td { padding: 10px 12px 10px 0; }
  .service-block { grid-template-columns: 1fr; gap: 6px; }
  .section { padding: 36px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 10px; }
}

@media (max-width: 600px) {
  .pillar .go {
    justify-self: start;
    width: fit-content;
    padding: 0 14px;
    border: 1px solid rgba(180, 243, 66, 0.55);
    border-radius: var(--radius);
    color: var(--primary);
    background: rgba(180, 243, 66, 0.025);
    gap: 8px;
    transition: background 180ms ease, border-color 180ms ease;
  }
  .pillar .go-arrow {
    display: inline;
    font-size: 16px;
    line-height: 1;
  }
  .pillar:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 4px;
    border-radius: var(--radius);
  }
}

@media (max-width: 600px) and (hover: hover) and (pointer: fine) {
  .pillar:hover .go {
    border-color: var(--primary);
    background: rgba(180, 243, 66, 0.08);
  }
}

@media (max-width: 860px) {
  .offer-grid,
  .use-grid,
  .compare-grid {
    grid-template-columns: 1fr;
  }
  .offer-card .process-list {
    grid-template-columns: 1fr;
  }
  .offer-card-wide {
    display: block;
  }
  .offer-card-wide .index,
  .offer-card-wide h3,
  .offer-card-wide > p:not(.index),
  .offer-card-wide .compact-list {
    grid-column: auto;
    grid-row: auto;
  }
  .status-panel {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn-line { animation: none; border-color: var(--text-3); background: transparent; }
  #bg-rain { display: none; }
  .pillar .index { animation: none; }
  .pillar .go { transition: none; }
}
