/* Proposta comercial Atlas. Mesmo visual do site: papel claro, azul-marinho e dourado,
   globo em traço fino, o losango da marca como marcador e movimentos curtos. */
@font-face {
  font-family: "Atlas Lumen Display";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(atlas-lumen-display.woff2) format("woff2");
}
@font-face {
  font-family: "Atlas Lumen Text";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(atlas-lumen-text.woff2) format("woff2");
}
:root {
  --paper: #f7f5f0;
  --paper-2: #efebe2;
  --card: #fffdf8;
  --navy: #2b416e;
  --navy-2: #3a5384;
  --night: #1d2a45;
  --gold: #cfa962;
  --gold-hi: #e6cb93;
  --gold-ink: #86672f;
  --ink: #222f4a;
  --mist: #5d687c;
  --mist-night: #b4bdcf;
  --green: #2f7a55;
  --red: #a4483a;
  --line: rgba(34, 47, 74, 0.13);
  --line-strong: rgba(34, 47, 74, 0.24);
  --line-night: rgba(255, 255, 255, 0.14);
  --navy-ink: #2b416e;
  --on-dark: #fffdf8;
  --field: #fff;
  --display: "Atlas Lumen Display", "Segoe UI", system-ui, sans-serif;
  --text: "Atlas Lumen Text", "Segoe UI", system-ui, sans-serif;
  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 30px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shell: 1180px;
  color-scheme: light;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  font-size: 112.5%;
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.0625rem;
  font-weight: 450;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
}
h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 680;
  letter-spacing: -0.018em;
  line-height: 1.1;
  margin: 0;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.3rem, 4.6vw, 3.7rem);
}
h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.75rem);
}
h3 {
  font-size: 1.22rem;
  line-height: 1.25;
}
h1 em,
h2 em {
  font-style: normal;
  color: var(--gold-ink);
}
p {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 8px;
}
.shell {
  width: min(var(--shell), calc(100% - 32px));
  margin-inline: auto;
}
.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--navy);
  color: var(--on-dark);
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 16px;
}
[hidden] {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.num {
  font-variant-numeric: tabular-nums;
}

/* Losango da marca como marcador */
.eyebrow::before,
.ticks li::before,
.chip-dot::before {
  content: "";
  display: inline-block;
  flex: none;
  width: 8px;
  height: 11px;
  background: currentColor;
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-ink);
}
.lead {
  font-size: 1.15rem;
  color: var(--mist);
  max-width: 62ch;
}

/* ---------- Botões ---------- */
.pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 8px 8px 8px 24px;
  min-height: 54px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 650;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background-color 0.25s, color 0.25s,
    border-color 0.25s;
}
.pill-arrow {
  display: grid;
  place-items: center;
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  transition: transform 0.45s var(--ease);
}
.pill-arrow::before,
.arrow {
  content: "";
  display: inline-block;
  flex: none;
  width: 20px;
  height: 20px;
  background: currentColor;
  -webkit-mask: url(seta.svg) center / contain no-repeat;
  mask: url(seta.svg) center / contain no-repeat;
}
.arrow-out {
  width: 0.95em;
  height: 0.95em;
  transform: rotate(-45deg);
}
.pill:hover {
  transform: translateY(-2px);
}
.pill:hover .pill-arrow {
  transform: translateX(3px) rotate(-45deg);
}
.pill:active {
  transform: translateY(0) scale(0.98);
}
.pill-navy {
  background: var(--navy);
  color: var(--on-dark);
  box-shadow: 0 14px 30px -16px rgba(43, 65, 110, 0.8);
}
.pill-navy .pill-arrow {
  background: var(--gold);
  color: var(--navy-ink);
}
.pill-navy:hover {
  background: var(--navy-2);
}
.pill-gold {
  background: var(--gold);
  color: var(--night);
  box-shadow: 0 14px 30px -16px rgba(207, 169, 98, 0.9);
}
.pill-gold .pill-arrow {
  background: var(--night);
  color: var(--gold-hi);
}
.pill-gold:hover {
  background: var(--gold-hi);
}
.pill-line {
  padding-right: 24px;
  border-color: var(--line-strong);
  color: var(--ink);
}
.pill-line:hover {
  border-color: var(--navy-ink);
  background: var(--card);
}
.pill-sm {
  min-height: 44px;
  padding: 5px 5px 5px 18px;
  font-size: 0.94rem;
}
.pill-sm.pill-line {
  padding-right: 18px;
}
.pill-sm .pill-arrow {
  width: 34px;
  height: 34px;
}

/* ---------- Cabeçalho flutuante ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding: calc(12px + env(safe-area-inset-top, 0px)) 12px 0;
  pointer-events: none;
}
.header-bar {
  pointer-events: auto;
  width: min(1220px, 100%);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 8px 8px 8px 16px;
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 18px 44px -26px rgba(29, 42, 69, 0.35);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  transition: background-color 0.4s, box-shadow 0.4s;
}
.site-header.scrolled .header-bar {
  background: rgba(255, 253, 248, 0.82);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-right: auto;
  min-width: 0;
}
.brand img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.brand span {
  display: grid;
  gap: 3px;
  line-height: 1;
  min-width: 0;
}
.brand b {
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 760;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy-ink);
  white-space: nowrap;
}
.brand small {
  font-family: var(--display);
  font-size: 0.66rem;
  font-weight: 620;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.desktop-nav {
  display: flex;
  gap: 4px;
}
.desktop-nav a {
  position: relative;
  padding: 10px 12px;
  white-space: nowrap;
  text-decoration: none;
  font-weight: 650;
  font-size: 0.97rem;
  color: var(--mist);
  transition: color 0.2s;
}
.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 7px;
  height: 9px;
  margin-left: -3.5px;
  background: var(--gold);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  transform: scale(0);
  transition: transform 0.35s var(--ease);
}
.desktop-nav a:hover,
.desktop-nav a.active {
  color: var(--ink);
}
.desktop-nav a:hover::after,
.desktop-nav a.active::after {
  transform: scale(1);
}
.desktop-nav a.nav-master {
  color: var(--gold-ink);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.logout {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--mist);
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 999px;
}
.logout:hover {
  color: var(--ink);
  background: rgba(34, 47, 74, 0.06);
}
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: var(--navy);
  cursor: pointer;
  position: relative;
  flex: none;
}
.menu-toggle span {
  position: absolute;
  left: 13px;
  right: 13px;
  height: 2px;
  border-radius: 2px;
  background: var(--card);
}
.menu-toggle span:first-child {
  top: 17px;
}
.menu-toggle span:last-child {
  top: 25px;
  left: 19px;
}
.mobile-nav {
  position: fixed;
  z-index: 70;
  inset: 10px 10px auto;
  display: grid;
  gap: 2px;
  padding: 16px;
  border-radius: var(--r-lg);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px -20px rgba(29, 42, 69, 0.5);
  transform: translateY(-16px) scale(0.98);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.4s var(--ease), opacity 0.3s, visibility 0s 0.4s;
}
.mobile-nav.open {
  transform: none;
  opacity: 1;
  visibility: visible;
  transition: transform 0.45s var(--ease), opacity 0.3s;
}
.mobile-nav-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2px 6px 8px;
  font-family: var(--display);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy-ink);
}
.mobile-nav-top button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  font-size: 1.5rem;
  cursor: pointer;
}
.mobile-nav > a:not(.pill) {
  padding: 13px 8px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 620;
}
.mobile-nav .pill {
  margin-top: 12px;
  justify-content: space-between;
}
.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(29, 42, 69, 0.45);
  backdrop-filter: blur(4px);
}

/* ---------- Globo ---------- */
.globe {
  position: absolute;
  fill: none;
  stroke: var(--navy-ink);
  stroke-width: 1.1;
  opacity: 0.26;
  pointer-events: none;
}
.globe .parallels {
  stroke-dasharray: 2 6;
}
.globe .meridian {
  transform-box: fill-box;
  transform-origin: center;
  animation: turn 36s ease-in-out infinite alternate;
}
.globe .m1 { animation-delay: -6s; }
.globe .m2 { animation-delay: -12s; }
.globe .m3 { animation-delay: -18s; }
.globe .m4 { animation-delay: -24s; }
.globe .m5 { animation-delay: -30s; }
.globe .node {
  fill: var(--gold);
  stroke: none;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 140px 0 72px;
  overflow: hidden;
}
.hero .globe {
  width: 1000px;
  height: 1000px;
  left: calc(50% + 40px);
  top: -60px;
}
.hero > .shell {
  position: relative;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: 48px;
  align-items: center;
}
.hero-copy {
  display: grid;
  justify-items: start;
  gap: 22px;
}
.partner {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 6px 16px 6px 6px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--line);
  font-family: var(--display);
  font-weight: 650;
  font-size: 0.92rem;
  color: var(--navy-ink);
}
.partner img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}
.partner i {
  font-style: normal;
  color: var(--gold-ink);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

/* Cartão principal da empresa, com leve inclinação ao mouse */
.company-card {
  position: relative;
  padding: 30px;
  border-radius: var(--r-lg);
  background: var(--night);
  color: var(--on-dark);
  box-shadow: 0 40px 80px -40px rgba(29, 42, 69, 0.75);
  transform: perspective(1200px) rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg));
  transition: transform 0.6s var(--ease);
  will-change: transform;
}
.wordmark {
  display: grid;
  gap: 4px;
  padding-bottom: 20px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line-night);
}
.wordmark strong {
  font-family: var(--display);
  font-size: clamp(1.9rem, 3.4vw, 2.5rem);
  font-weight: 760;
  letter-spacing: 0.02em;
  line-height: 1;
  color: #fff;
  overflow-wrap: anywhere;
}
.wordmark span {
  font-size: 0.9rem;
  color: var(--mist-night);
}
.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 20px;
  margin: 0;
}
.facts div {
  min-width: 0;
}
.facts dt {
  font-family: var(--display);
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-hi);
  margin-bottom: 3px;
}
.facts dd {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.facts .wide {
  grid-column: 1 / -1;
}
.card-note {
  margin-top: 18px;
  font-size: 0.84rem;
  color: var(--mist-night);
}
.card-note a {
  color: var(--gold-hi);
}

/* Números do hero */
.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 44px;
}
.stat {
  padding: 22px 22px 20px;
  border-radius: var(--r-md);
  background: var(--card);
  border: 1px solid var(--line);
  min-width: 0;
}
.stat b {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  font-weight: 720;
  line-height: 1.1;
  color: var(--navy-ink);
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}
.stat span {
  display: block;
  margin-top: 6px;
  font-size: 0.92rem;
  color: var(--mist);
  line-height: 1.4;
}

/* ---------- Seções ---------- */
.section {
  padding: 96px 0;
  position: relative;
}
.section.alt {
  background: var(--paper-2);
}
.section.dark {
  background: var(--night);
  color: var(--on-dark);
}
.section.dark .lead {
  color: var(--mist-night);
}
.section.dark .eyebrow {
  color: var(--gold-hi);
}
.section.dark h2 em {
  color: var(--gold);
}
.section-head {
  display: grid;
  gap: 14px;
  margin-bottom: 40px;
  max-width: 760px;
}

/* ---------- Filtros ---------- */
.filters {
  display: grid;
  gap: 14px;
  padding: 18px;
  border-radius: var(--r-lg);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: 0 24px 50px -40px rgba(29, 42, 69, 0.5);
}
.filter-row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}
.search {
  position: relative;
}
.search input {
  width: 100%;
  min-height: 48px;
  padding: 10px 18px 10px 44px;
  border-radius: 999px;
  border: 1.5px solid var(--line-strong);
  background: var(--paper);
  transition: border-color 0.2s, background-color 0.2s;
}
.search input:focus {
  outline: none;
  border-color: var(--navy-ink);
  background: var(--field);
}
.search svg {
  position: absolute;
  left: 16px;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  stroke: var(--mist);
  fill: none;
  stroke-width: 2;
}
.segmented {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: var(--paper-2);
}
.segmented button {
  min-height: 40px;
  padding: 6px 15px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-family: var(--display);
  font-weight: 650;
  font-size: 0.9rem;
  color: var(--mist);
  cursor: pointer;
  transition: background-color 0.25s, color 0.25s, box-shadow 0.25s;
}
.segmented button[aria-pressed="true"] {
  background: var(--navy);
  color: var(--on-dark);
  box-shadow: 0 8px 18px -10px rgba(43, 65, 110, 0.9);
}
.segmented button:not([aria-pressed="true"]):hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.7);
}
.range {
  display: grid;
  gap: 4px;
}
.range label {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.86rem;
  color: var(--mist);
}
.range output {
  font-family: var(--display);
  font-weight: 700;
  color: var(--navy-ink);
  white-space: nowrap;
}
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 28px;
  background: transparent;
  cursor: pointer;
  --fill: 50%;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold) var(--fill), var(--line-strong) var(--fill));
}
input[type="range"]::-moz-range-track {
  height: 6px;
  border-radius: 999px;
  background: var(--line-strong);
}
input[type="range"]::-moz-range-progress {
  height: 6px;
  border-radius: 999px;
  background: var(--gold);
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  margin-top: -8px;
  border-radius: 50%;
  background: var(--navy);
  border: 3px solid var(--card);
  box-shadow: 0 4px 12px rgba(29, 42, 69, 0.35);
  transition: transform 0.2s var(--ease);
}
input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--navy);
  border: 3px solid var(--card);
}
input[type="range"]:active::-webkit-slider-thumb {
  transform: scale(1.15);
}
.dark input[type="range"]::-webkit-slider-runnable-track {
  background: linear-gradient(90deg, var(--gold) var(--fill), rgba(255, 255, 255, 0.2) var(--fill));
}
.dark input[type="range"]::-webkit-slider-thumb {
  background: var(--gold);
  border-color: var(--night);
}
.dark input[type="range"]::-moz-range-thumb {
  background: var(--gold);
  border-color: var(--night);
}
.dark .range label {
  color: var(--mist-night);
}
.dark .range output {
  color: var(--gold-hi);
}
details.more {
  border-top: 1px solid var(--line);
  padding-top: 10px;
}
details.more summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-family: var(--display);
  font-weight: 650;
  font-size: 0.92rem;
  color: var(--navy-ink);
  list-style: none;
  padding: 6px 4px;
}
details.more summary::-webkit-details-marker {
  display: none;
}
details.more summary::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.3s var(--ease);
}
details.more[open] summary::after {
  transform: rotate(-135deg) translateY(-2px);
}
.more-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  padding-top: 10px;
}
.field {
  display: grid;
  gap: 4px;
  font-size: 0.84rem;
  color: var(--mist);
  min-width: 0;
}
.field select {
  width: 100%;
  min-height: 44px;
  padding: 8px 36px 8px 14px;
  border-radius: 14px;
  border: 1.5px solid var(--line-strong);
  background: var(--paper)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%232b416e' stroke-width='2'/%3E%3C/svg%3E")
    right 14px center / 12px no-repeat;
  -webkit-appearance: none;
  appearance: none;
  color: var(--ink);
  cursor: pointer;
}
.field select:focus {
  outline: none;
  border-color: var(--navy-ink);
}
.check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--ink);
  cursor: pointer;
}
.check input {
  width: 18px;
  height: 18px;
  accent-color: var(--navy);
}
.filter-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 0.86rem;
  color: var(--mist);
}
.link-btn {
  border: 0;
  background: none;
  padding: 4px;
  color: var(--navy-ink);
  font-weight: 650;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--gold);
}

/* ---------- Indicadores ---------- */
.kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 22px 0;
}
.kpi {
  padding: 20px;
  border-radius: var(--r-md);
  background: var(--card);
  border: 1px solid var(--line);
  min-width: 0;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.kpi:hover,
.opp:hover,
.stat:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 40px -30px rgba(29, 42, 69, 0.6);
}
.kpi small {
  display: block;
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-ink);
}
.kpi b {
  display: block;
  margin: 6px 0 4px;
  font-family: var(--display);
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  font-weight: 720;
  line-height: 1.1;
  color: var(--navy-ink);
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}
.kpi span {
  font-size: 0.85rem;
  color: var(--mist);
}

/* Barras por estado */
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 18px;
  margin-bottom: 22px;
}
.panel {
  padding: 22px;
  border-radius: var(--r-md);
  background: var(--card);
  border: 1px solid var(--line);
  min-width: 0;
}
.panel h3 {
  margin-bottom: 14px;
  font-size: 1.05rem;
}
.bars {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.bars li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
}
.bars b {
  font-family: var(--display);
  color: var(--navy-ink);
}
.bar {
  height: 10px;
  border-radius: 999px;
  background: var(--paper-2);
  overflow: hidden;
}
.bar i {
  display: block;
  height: 100%;
  width: var(--w, 0%);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--navy), var(--navy-2));
  transform-origin: left;
  transition: width 0.9s var(--ease);
}
.bars li.is-focus .bar i {
  background: linear-gradient(90deg, var(--gold-ink), var(--gold));
}
.bars em {
  font-style: normal;
  color: var(--mist);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.size-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.size-list div {
  padding: 14px;
  border-radius: 14px;
  background: var(--paper);
  min-width: 0;
}
.size-list b {
  display: block;
  font-family: var(--display);
  font-size: 1.35rem;
  color: var(--navy-ink);
}
.size-list span {
  font-size: 0.82rem;
  color: var(--mist);
}

/* Lista de registros */
.records {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.rec {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 170px 150px 128px;
  gap: 18px;
  align-items: center;
  padding: 16px 18px;
  border-radius: 18px;
  background: var(--card);
  border: 1px solid var(--line);
  transition: border-color 0.25s, transform 0.35s var(--ease);
}
.rec:hover {
  border-color: var(--line-strong);
  transform: translateX(2px);
}
.rec-main {
  min-width: 0;
}
.rec-main h3 {
  font-family: var(--text);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0;
  margin: 6px 0 3px;
}
.rec-main p {
  font-size: 0.84rem;
  color: var(--mist);
  overflow-wrap: anywhere;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--paper-2);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mist);
  white-space: nowrap;
}
.tag.open {
  background: rgba(47, 122, 85, 0.12);
  color: var(--green);
}
.tag.gold {
  background: rgba(207, 169, 98, 0.2);
  color: var(--gold-ink);
}
.cell small {
  display: block;
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mist);
}
.cell b {
  display: block;
  font-family: var(--display);
  font-size: 1rem;
  color: var(--navy-ink);
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.cell span {
  font-size: 0.8rem;
  color: var(--mist);
}
.src {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1.5px solid var(--line-strong);
  font-family: var(--display);
  font-size: 0.86rem;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}
.src:hover {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--on-dark);
}
.list-foot {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}
.empty {
  padding: 28px;
  border-radius: 18px;
  border: 1.5px dashed var(--line-strong);
  text-align: center;
  color: var(--mist);
}

/* ---------- Oportunidades ---------- */
.opps {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}
.opp {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 14px;
  padding: 22px;
  border-radius: var(--r-md);
  background: var(--card);
  border: 1px solid var(--line);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  min-width: 0;
}
.opp h3 {
  font-family: var(--text);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0;
}
.opp .org {
  font-size: 0.86rem;
  color: var(--mist);
  margin-top: 6px;
}
.opp-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.opp-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.countdown {
  font-family: var(--display);
  font-size: 0.86rem;
  font-weight: 650;
  color: var(--green);
}
.countdown.soon {
  color: var(--red);
}

/* ---------- Tabela de pregões disputados ---------- */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--card);
}
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 860px;
  font-size: 0.9rem;
}
th,
td {
  padding: 13px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
th {
  position: sticky;
  top: 0;
  background: var(--paper-2);
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mist);
  white-space: nowrap;
}
td.money {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
td .muted {
  display: block;
  font-size: 0.8rem;
  color: var(--mist);
}
tbody tr {
  transition: background-color 0.2s;
}
tbody tr:hover {
  background: rgba(207, 169, 98, 0.08);
}
tbody tr:last-child td {
  border-bottom: 0;
}
.disc {
  font-weight: 700;
  color: var(--green);
}
.table-note {
  margin-top: 12px;
  font-size: 0.86rem;
  color: var(--mist);
}
.competitors {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}
.competitors span {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--line);
  font-size: 0.86rem;
}
.competitors b {
  color: var(--navy-ink);
}

/* ---------- Simulador ---------- */
.sim {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 22px;
  align-items: stretch;
}
.sim-controls {
  display: grid;
  gap: 22px;
  align-content: start;
  padding: 26px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line-night);
  background: rgba(255, 255, 255, 0.04);
}
.sim .segmented {
  background: rgba(255, 255, 255, 0.08);
}
.sim .segmented button {
  color: var(--mist-night);
}
.sim .segmented button[aria-pressed="true"] {
  background: var(--gold);
  color: var(--night);
}
.sim-base {
  font-size: 0.9rem;
  color: var(--mist-night);
  padding-top: 16px;
  border-top: 1px solid var(--line-night);
}
.sim-base b {
  color: var(--on-dark);
  font-variant-numeric: tabular-nums;
}
.sim-results {
  display: grid;
  gap: 14px;
}
.result {
  padding: 26px;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-night);
  min-width: 0;
}
.result.main {
  background: var(--card);
  color: var(--ink);
  border-color: transparent;
}
.result small {
  display: block;
  font-family: var(--display);
  font-size: 0.74rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-hi);
}
.result.main small {
  color: var(--gold-ink);
}
.result b {
  display: block;
  margin: 8px 0 6px;
  font-family: var(--display);
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 740;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.result.main b {
  color: var(--navy-ink);
}
.result b.neg {
  color: var(--red);
}
.result p {
  font-size: 0.9rem;
  color: var(--mist-night);
}
.result.main p {
  color: var(--mist);
}
.result dl {
  display: grid;
  gap: 6px;
  margin: 14px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
}
.result dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.result dt {
  color: var(--mist);
}
.result dd {
  margin: 0;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* ---------- Ciclo ---------- */
.timeline {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: m;
}
.timeline li {
  position: relative;
  padding: 22px 18px 20px;
  border-radius: var(--r-md);
  background: var(--card);
  border: 1px solid var(--line);
  min-width: 0;
}
.timeline li::before {
  counter-increment: m;
  content: "Mês " counter(m);
  display: block;
  margin-bottom: 10px;
  font-family: var(--display);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-ink);
}
.timeline li.mark {
  background: var(--navy);
  color: var(--on-dark);
  border-color: var(--navy);
}
.timeline li.mark::before {
  color: var(--gold-hi);
}
.timeline h3 {
  font-size: 1.02rem;
  margin-bottom: 8px;
}
.timeline p {
  font-size: 0.86rem;
  color: var(--mist);
  line-height: 1.45;
}
.timeline li.mark p {
  color: var(--mist-night);
}
.deliverables {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 28px;
  margin-top: 40px;
}
.ticks {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ticks li {
  display: flex;
  gap: 12px;
  align-items: baseline;
  color: var(--ink);
}
.ticks li::before {
  color: var(--gold);
  transform: translateY(1px);
}

/* ---------- Investimento ---------- */
.offer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}
.price-card {
  position: relative;
  padding: 34px;
  border-radius: var(--r-lg);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: 0 40px 80px -50px rgba(29, 42, 69, 0.7);
  overflow: hidden;
}
.price-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--gold-ink), var(--gold), var(--gold-hi));
}
.price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
  font-family: var(--display);
  color: var(--navy-ink);
}
.price b {
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  font-weight: 760;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.price span {
  font-size: 1.1rem;
  color: var(--mist);
}
.terms {
  display: grid;
  gap: 12px;
  margin: 24px 0 26px;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}
.terms li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.98rem;
}
.terms li b {
  color: var(--navy-ink);
  text-align: right;
}
.price-card .pill {
  width: 100%;
  justify-content: space-between;
}

/* ---------- Rodapé ---------- */
.site-footer {
  padding: 56px 0 40px;
  background: var(--night);
  color: var(--mist-night);
  font-size: 0.9rem;
}
.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: start;
}
.site-footer details {
  border-top: 1px solid var(--line-night);
  border-bottom: 1px solid var(--line-night);
  padding: 4px 0;
  margin-top: 28px;
}
.site-footer summary {
  cursor: pointer;
  padding: 14px 0;
  font-family: var(--display);
  font-weight: 650;
  color: var(--on-dark);
}
.method {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 32px;
  padding: 6px 0 22px;
}
.method h3 {
  font-size: 0.95rem;
  color: var(--gold-hi);
  margin-bottom: 6px;
}
.method p,
.method li {
  font-size: 0.88rem;
  line-height: 1.55;
}
.method ul {
  margin: 0;
  padding-left: 18px;
}
.foot-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--on-dark);
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.foot-brand img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}
.copy {
  margin-top: 22px;
  font-size: 0.8rem;
}

/* ---------- Login ---------- */
.login-page {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 24px 16px;
  position: relative;
  overflow: hidden;
}
.login-page .globe {
  width: 980px;
  height: 980px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.2;
}
.login-card {
  position: relative;
  width: min(440px, 100%);
  padding: 34px 30px 30px;
  border-radius: var(--r-lg);
  background: rgba(255, 253, 248, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 40px 90px -50px rgba(29, 42, 69, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  text-align: center;
  animation: rise 0.9s var(--ease) both;
}
.login-card img {
  mix-blend-mode: multiply;
  width: 180px;
  height: auto;
  margin: 0 auto 18px;
  object-fit: contain;
}
.login-card h1 {
  font-size: 1.7rem;
  margin-bottom: 8px;
}
.login-card p {
  color: var(--mist);
  font-size: 0.98rem;
}
.login-form {
  display: grid;
  gap: 12px;
  margin-top: 22px;
  text-align: left;
}
.login-form label {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--mist);
}
.pass {
  position: relative;
}
.pass input {
  width: 100%;
  min-height: 54px;
  padding: 10px 56px 10px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--line-strong);
  background: var(--field);
  font-size: 1.05rem;
  letter-spacing: 0.06em;
}
.pass input:focus {
  outline: none;
  border-color: var(--navy-ink);
  box-shadow: 0 0 0 4px rgba(207, 169, 98, 0.3);
}
.pass button {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: var(--mist);
}
.pass button svg {
  width: 20px;
  height: 20px;
  margin: auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}
.login-form .pill {
  width: 100%;
  justify-content: space-between;
  margin-top: 4px;
}
.login-error {
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(164, 72, 58, 0.1);
  color: var(--red);
  font-size: 0.9rem;
}
.login-foot {
  margin-top: 18px;
  font-size: 0.8rem;
  color: var(--mist);
}

/* ---------- Área Estratégia ---------- */
.intel-hero {
  padding: 130px 0 40px;
}
.intel-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
}
.tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: var(--paper-2);
  overflow-x: auto;
  scrollbar-width: none;
  margin-top: 28px;
  width: max-content;
  max-width: 100%;
}
.tabs::-webkit-scrollbar {
  display: none;
}
.tabs button {
  flex: none;
  min-height: 42px;
  padding: 6px 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-family: var(--display);
  font-weight: 650;
  font-size: 0.92rem;
  color: var(--mist);
  cursor: pointer;
  transition: background-color 0.25s, color 0.25s;
}
.tabs button[aria-selected="true"] {
  background: var(--navy);
  color: var(--on-dark);
}
.tab-panel {
  padding: 32px 0 90px;
}
.tab-panel[hidden] {
  display: none;
}
.script {
  display: grid;
  gap: 16px;
}
.step {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 18px;
  padding: 24px;
  border-radius: var(--r-md);
  background: var(--card);
  border: 1px solid var(--line);
}
.step-n {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold-hi);
  font-family: var(--display);
  font-weight: 760;
  font-size: 1.1rem;
}
.step h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 6px;
}
.step h3 small {
  font-family: var(--text);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold-ink);
}
.step > div > p {
  color: var(--mist);
  margin-bottom: 12px;
}
.qs {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.qs label {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--paper);
  cursor: pointer;
  transition: background-color 0.2s, opacity 0.2s;
}
.qs input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--green);
}
.qs label:has(input:checked) {
  opacity: 0.6;
}
.qs label:has(input:checked) span {
  text-decoration: line-through;
  text-decoration-color: var(--gold);
}
.qs em {
  display: block;
  font-style: normal;
  font-size: 0.82rem;
  color: var(--gold-ink);
  margin-top: 2px;
}
.say {
  margin-top: 10px;
  padding: 14px 16px;
  border-left: 3px solid var(--gold);
  border-radius: 0 12px 12px 0;
  background: rgba(207, 169, 98, 0.1);
  font-size: 0.95rem;
}
.notes {
  width: 100%;
  min-height: 90px;
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1.5px solid var(--line-strong);
  background: var(--field);
  resize: vertical;
  font-size: 0.92rem;
}
.notes:focus {
  outline: none;
  border-color: var(--navy-ink);
}
.script-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
  font-size: 0.88rem;
  color: var(--mist);
}
.intel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.note-card {
  padding: 20px 22px;
  border-radius: var(--r-md);
  background: var(--card);
  border: 1px solid var(--line);
  border-left-width: 5px;
  min-width: 0;
}
.note-card h3 {
  font-size: 1rem;
  margin: 6px 0 6px;
}
.note-card p,
.note-card li {
  font-size: 0.93rem;
  color: var(--ink);
}
.note-card ul {
  margin: 6px 0 0;
  padding-left: 18px;
}
.kind {
  font-family: var(--display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.k-fato { border-left-color: var(--green); }
.k-fato .kind { color: var(--green); }
.k-interp { border-left-color: var(--navy-2); }
.k-interp .kind { color: var(--navy-2); }
.k-risco { border-left-color: var(--red); }
.k-risco .kind { color: var(--red); }
.k-pend { border-left-color: var(--gold); }
.k-pend .kind { color: var(--gold-ink); }
.k-rec { border-left-color: var(--night); background: var(--night); color: var(--on-dark); }
.k-rec .kind { color: var(--gold-hi); }
.k-rec p,
.k-rec li { color: var(--on-dark); }
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 18px;
  font-size: 0.84rem;
  color: var(--mist);
}
.legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.legend i {
  width: 12px;
  height: 12px;
  border-radius: 3px;
}
.sources {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.92rem;
}
.sources a {
  color: var(--navy-ink);
  text-decoration-color: var(--gold);
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}
.banner-master {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--night);
  color: var(--gold-hi);
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ---------- Movimento ---------- */
.load-in {
  animation: rise 0.9s var(--ease) both;
}
.hero-copy > .load-in:nth-child(2) { animation-delay: 0.07s; }
.hero-copy > .load-in:nth-child(3) { animation-delay: 0.14s; }
.hero-copy > .load-in:nth-child(4) { animation-delay: 0.21s; }
.hero-copy > .load-in:nth-child(5) { animation-delay: 0.28s; }
.company-card.load-in { animation-delay: 0.18s; }
.will-reveal {
  opacity: 0;
  transform: translateY(24px);
}
.will-reveal.in {
  opacity: 1;
  transform: none;
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
  transition-delay: var(--delay, 0s);
}
.flash {
  animation: flash 0.6s var(--ease);
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
}
@keyframes turn {
  from { transform: scaleX(1); }
  to { transform: scaleX(-1); }
}
@keyframes flash {
  from { opacity: 0.35; }
}

/* ---------- Barras de rolagem ---------- */
html {
  scrollbar-color: rgba(43, 65, 110, 0.4) transparent;
  scrollbar-width: thin;
}
@supports selector(::-webkit-scrollbar) {
  ::-webkit-scrollbar { width: 12px; height: 12px; background: transparent; }
  ::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
  ::-webkit-scrollbar-track { margin: 14px; background: transparent; }
  ::-webkit-scrollbar-thumb { min-height: 44px; border: 3px solid transparent; border-radius: 999px; background-color: rgba(43, 65, 110, 0.32); background-clip: padding-box; }
  ::-webkit-scrollbar-thumb:hover { background-color: rgba(43, 65, 110, 0.55); }
  ::-webkit-scrollbar-thumb:active { background-color: var(--gold-ink); }
  ::-webkit-scrollbar-corner { background: transparent; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .desktop-nav {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .header-actions .pill {
    display: none;
  }
  .hero-inner,
  .offer,
  .sim,
  .split {
    grid-template-columns: 1fr;
  }
  .hero .globe {
    left: 30%;
    top: 120px;
  }
  .timeline {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .more-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .rec {
    grid-template-columns: minmax(0, 1fr) 150px 140px;
  }
  .rec .rec-link {
    grid-column: 1 / -1;
    justify-self: start;
  }
}
@media (max-width: 720px) {
  body {
    font-size: 1rem;
  }
  .hero {
    padding: 112px 0 56px;
  }
  .section {
    padding: 68px 0;
  }
  .section-head {
    margin-bottom: 28px;
  }
  .stats,
  .size-list {
    grid-template-columns: 1fr;
  }
  .stats {
    margin-top: 28px;
  }
  .filter-row {
    grid-template-columns: 1fr;
  }
  .segmented {
    width: 100%;
  }
  .segmented button {
    flex: 1 1 auto;
  }
  .more-grid {
    grid-template-columns: 1fr 1fr;
  }
  .kpis {
    gap: 10px;
  }
  .bars li {
    grid-template-columns: 34px minmax(0, 1fr);
    row-gap: 2px;
  }
  .bars em {
    grid-column: 2;
    font-size: 0.82rem;
    white-space: normal;
  }
  .kpi {
    padding: 16px;
  }
  .rec {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .rec-main {
    grid-column: 1 / -1;
  }
  .timeline {
    grid-template-columns: 1fr;
  }
  .deliverables,
  .intel-grid,
  .method,
  .foot-grid {
    grid-template-columns: 1fr;
  }
  .company-card,
  .price-card,
  .sim-controls,
  .result {
    padding: 22px;
  }
  .facts {
    grid-template-columns: 1fr;
  }
  .opps {
    grid-template-columns: 1fr;
  }
  .step {
    grid-template-columns: 1fr;
    padding: 20px;
  }
  .step-n {
    width: 44px;
    height: 44px;
  }
  .brand small {
    max-width: 150px;
  }
  .logout {
    display: none;
  }
}
@media (max-width: 380px) {
  .more-grid,
  .kpis {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .globe .meridian {
    animation: none;
  }
  .will-reveal {
    opacity: 1;
    transform: none;
  }
  .company-card {
    transform: none !important;
  }
}
@media print {
  .site-header,
  .filters,
  .list-foot {
    display: none;
  }
  .will-reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Modo escuro ---------- */
html[data-theme="dark"] {
  --paper: #0f1729;
  --paper-2: #141f36;
  --card: #1a2742;
  --navy: #3b5a99;
  --navy-2: #4b6cb0;
  --night: #0a1121;
  --gold-ink: #dcbc7c;
  --ink: #ebe7de;
  --mist: #aab5c9;
  --mist-night: #b4bdcf;
  --green: #66c493;
  --red: #ec8f7f;
  --line: rgba(255, 255, 255, 0.11);
  --line-strong: rgba(255, 255, 255, 0.24);
  --navy-ink: #bccdf0;
  --field: #111b31;
  color-scheme: dark;
}
html[data-theme="dark"] .header-bar {
  background: rgba(22, 33, 56, 0.62);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 18px 44px -26px rgba(0, 0, 0, 0.7);
}
html[data-theme="dark"] .site-header.scrolled .header-bar {
  background: rgba(22, 33, 56, 0.86);
}
html[data-theme="dark"] .logout:hover,
html[data-theme="dark"] .segmented button:not([aria-pressed="true"]):hover {
  background: rgba(255, 255, 255, 0.08);
}
html[data-theme="dark"] .globe {
  opacity: 0.2;
}
html[data-theme="dark"] .pill-navy .pill-arrow {
  color: var(--night);
}
html[data-theme="dark"] .menu-toggle span {
  background: var(--on-dark);
}
html[data-theme="dark"] .mobile-nav-top button {
  color: var(--ink);
}
html[data-theme="dark"] {
  scrollbar-color: rgba(188, 205, 240, 0.35) transparent;
}
html[data-theme="dark"] ::-webkit-scrollbar-thumb {
  background-color: rgba(188, 205, 240, 0.3);
}
/* Troca de tema suave, sem animar a página inteira no carregamento */
html.theme-anim body,
html.theme-anim body * {
  transition: background-color 0.45s var(--ease), border-color 0.45s var(--ease), color 0.3s !important;
}

/* Botão de tema */
.theme-toggle {
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  background: transparent;
  color: var(--navy-ink);
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: border-color 0.25s, background-color 0.25s, transform 0.35s var(--ease);
}
.theme-toggle:hover {
  border-color: var(--navy-ink);
  transform: rotate(-12deg);
}
.theme-toggle:active {
  transform: scale(0.92);
}
.theme-toggle svg {
  position: absolute;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  transition: transform 0.55s var(--ease), opacity 0.35s;
}
.theme-toggle .moon {
  transform: translateY(26px) rotate(-60deg);
  opacity: 0;
}
html[data-theme="dark"] .theme-toggle .sun {
  transform: translateY(-26px) rotate(60deg);
  opacity: 0;
}
html[data-theme="dark"] .theme-toggle .moon {
  transform: none;
  opacity: 1;
  color: var(--gold);
}
.mobile-nav .theme-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 8px;
  border-bottom: 1px solid var(--line);
  font-family: var(--display);
  font-weight: 620;
}

/* ---------- Botões: brilho, toque e seta que atravessa ---------- */
.pill,
.segmented button,
.src,
.link-btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.pill::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.38) 48%, transparent 66%);
  transform: translateX(-120%);
  pointer-events: none;
}
.pill-line::before {
  background: linear-gradient(105deg, transparent 30%, rgba(207, 169, 98, 0.22) 48%, transparent 66%);
}
.pill:hover::before {
  transform: translateX(120%);
  transition: transform 0.85s var(--ease);
}
.pill:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 34px -18px rgba(29, 42, 69, 0.7);
}
.pill:hover .pill-arrow {
  transform: scale(1.08);
}
.pill:hover .pill-arrow::before {
  animation: arrow-through 0.6s var(--ease);
}
.pill:active {
  transform: translateY(0) scale(0.96);
  transition-duration: 0.12s;
}
.segmented button:active,
.src:active,
.link-btn:active,
.tabs button:active {
  transform: scale(0.95);
}
.segmented button,
.src,
.tabs button {
  transition: background-color 0.25s, color 0.25s, box-shadow 0.25s, transform 0.2s var(--ease);
}
.src:hover .arrow {
  animation: arrow-out-through 0.55s var(--ease);
}
.ripple {
  position: absolute;
  z-index: -1;
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.22;
  pointer-events: none;
  animation: ripple 0.65s var(--ease) forwards;
}
@keyframes arrow-through {
  0% { transform: none; }
  45% { transform: translateX(150%); opacity: 0; }
  46% { transform: translateX(-150%); opacity: 0; }
  100% { transform: none; opacity: 1; }
}
@keyframes arrow-out-through {
  0% { transform: rotate(-45deg); }
  45% { transform: rotate(-45deg) translateX(160%); opacity: 0; }
  46% { transform: rotate(-45deg) translateX(-160%); opacity: 0; }
  100% { transform: rotate(-45deg); opacity: 1; }
}
@keyframes ripple {
  to { transform: scale(var(--rs, 30)); opacity: 0; }
}

/* ---------- Entrada mergulhando no globo ---------- */
.dive-veil {
  display: none;
}
html.dive .dive-veil {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 200;
  overflow: hidden;
  background: #f7f5f0;
  pointer-events: none;
  animation: veil-out 0.75s ease 1.05s forwards;
}
html.dive .dive-veil .globe {
  width: 980px;
  height: 980px;
  max-width: none;
  left: 50%;
  top: 50%;
  margin: -490px 0 0 -490px;
  stroke: #2b416e;
  opacity: 0.2;
  transform-origin: 50% 50%;
  animation: globe-dive 1.6s cubic-bezier(0.65, 0, 0.25, 1) forwards;
}
html.dive .dive-veil .globe .node {
  fill: #cfa962;
}
html.dive .site-header,
html.dive main {
  animation: dive-in 1.15s var(--ease) 0.95s both;
}
html.dive .load-in {
  animation-delay: 1.1s;
}
html.dive .hero-copy > .load-in:nth-child(2) { animation-delay: 1.17s; }
html.dive .hero-copy > .load-in:nth-child(3) { animation-delay: 1.24s; }
html.dive .hero-copy > .load-in:nth-child(4) { animation-delay: 1.31s; }
html.dive .company-card.load-in { animation-delay: 1.28s; }
@keyframes globe-dive {
  0% { transform: scale(1); opacity: 0.2; }
  35% { opacity: 0.55; }
  100% { transform: scale(7); opacity: 0; }
}
@keyframes veil-out {
  to { opacity: 0; visibility: hidden; }
}
@keyframes dive-in {
  from { opacity: 0; transform: scale(1.05); }
  to { opacity: 1; transform: none; }
}

/* ---------- Prontidão para licitar ---------- */
.ready {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}
.ready-groups {
  display: grid;
  gap: 14px;
  min-width: 0;
}
.ready-group {
  padding: 22px 22px 10px;
  border-radius: var(--r-lg);
  background: var(--card);
  border: 1px solid var(--line);
}
.ready-group h3 {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 6px;
}
.ready-group h3 small {
  font-family: var(--text);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--mist);
  white-space: nowrap;
}
.ready-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px 18px;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.ready-group h3 + .ready-item {
  border-top: 0;
}
.ready-item b {
  display: block;
  font-weight: 650;
  line-height: 1.35;
}
.ready-item span {
  display: block;
  margin-top: 2px;
  font-size: 0.86rem;
  color: var(--mist);
  line-height: 1.45;
}
.ready-item .segmented button {
  min-height: 38px;
  padding: 6px 13px;
  font-size: 0.84rem;
}
.ready-item .segmented button[data-v="sim"][aria-pressed="true"] {
  background: var(--green);
}
.ready-item .segmented button[data-v="ajustar"][aria-pressed="true"] {
  background: var(--gold);
  color: var(--night);
}
.ready-item .segmented button[data-v="nao"][aria-pressed="true"] {
  background: var(--red);
}
.ready-score {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 18px;
  padding: 26px;
  border-radius: var(--r-lg);
  background: var(--night);
  color: var(--on-dark);
  box-shadow: 0 40px 80px -50px rgba(29, 42, 69, 0.7);
}
.ready-score .eyebrow {
  margin: 0;
  color: var(--gold-hi);
}
.gauge {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
}
.gauge svg {
  width: 132px;
  height: 132px;
  transform: rotate(-90deg);
}
.gauge circle {
  fill: none;
  stroke-width: 12;
  stroke-linecap: round;
}
.gauge .g-track {
  stroke: rgba(255, 255, 255, 0.1);
}
.gauge .g-adj {
  stroke: var(--gold);
  opacity: 0.45;
  transition: stroke-dashoffset 0.8s var(--ease);
}
.gauge .g-ready {
  stroke: var(--gold);
  transition: stroke-dashoffset 0.8s var(--ease);
}
.gauge-wrap {
  position: relative;
  width: 132px;
  height: 132px;
}
.gauge-wrap b {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: 2.1rem;
  font-weight: 740;
  font-variant-numeric: tabular-nums;
}
.gauge-text strong {
  display: block;
  font-family: var(--display);
  font-size: 1.2rem;
  line-height: 1.25;
}
.gauge-text p {
  margin-top: 6px;
  font-size: 0.9rem;
  color: var(--mist-night);
}
.ready-bars {
  display: grid;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--line-night);
}
.ready-bars div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 12px;
  font-size: 0.9rem;
}
.ready-bars b {
  font-variant-numeric: tabular-nums;
  color: var(--gold-hi);
}
.ready-bars i {
  grid-column: 1 / -1;
  height: 8px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}
.ready-bars i::before {
  content: "";
  display: block;
  height: 100%;
  width: var(--w, 0%);
  border-radius: inherit;
  background: var(--gold);
  transition: width 0.8s var(--ease);
}
.ready-bars .adj i::before {
  background: rgba(207, 169, 98, 0.55);
}
.ready-missing {
  font-size: 0.9rem;
  color: var(--mist-night);
}
.ready-missing ul {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}
.ready-missing li {
  display: flex;
  gap: 10px;
  color: var(--on-dark);
}
.ready-missing li::before {
  content: "";
  flex: none;
  width: 7px;
  height: 10px;
  margin-top: 7px;
  background: var(--gold);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}
.ready-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.ready-tools .link-btn {
  color: var(--mist-night);
}
.ready-tools .copied {
  font-size: 0.85rem;
  color: var(--gold-hi);
}
@media (max-width: 1080px) {
  .ready {
    grid-template-columns: 1fr;
  }
  .ready-score {
    position: static;
  }
}
@media (max-width: 720px) {
  .ready-group {
    padding: 18px 16px 6px;
  }
  .ready-item {
    grid-template-columns: 1fr;
  }
  .ready-item .segmented {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
  }
  .ready-item .segmented button {
    padding: 6px 4px;
  }
  .gauge {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 16px;
  }
  .gauge svg,
  .gauge-wrap {
    width: 112px;
    height: 112px;
  }
  .gauge-wrap b {
    font-size: 1.75rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  html.dive .dive-veil {
    display: none;
  }
  html.dive .site-header,
  html.dive main {
    animation: none;
  }
  .pill::before,
  .ripple {
    display: none;
  }
}
@media print {
  .dive-veil,
  .theme-toggle,
  .ready-tools {
    display: none !important;
  }
}

/* Cabeçalho com a letra maior: menu compacto e troca para o menu móvel mais cedo */
.desktop-nav a {
  padding: 10px 9px;
  font-size: 0.88rem;
}
.header-bar {
  gap: 16px;
}
@media (max-width: 1320px) {
  .desktop-nav {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
}
html[data-theme="dark"] .ready-item .segmented button[data-v="sim"][aria-pressed="true"],
html[data-theme="dark"] .ready-item .segmented button[data-v="nao"][aria-pressed="true"] {
  color: var(--night);
}

/* ---------- WhatsApp flutuante, igual ao site ---------- */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  z-index: 40;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  box-shadow: 0 16px 34px -10px rgba(37, 211, 102, 0.7);
  transition: transform 0.35s var(--ease);
}
.whatsapp-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: ring 2.6s var(--ease) infinite;
}
.whatsapp-float:hover {
  transform: scale(1.08) rotate(-6deg);
}
.whatsapp-float svg {
  width: 28px;
  height: 28px;
}
@keyframes ring {
  0% { transform: scale(1); opacity: 0.9; }
  100% { transform: scale(1.55); opacity: 0; }
}
@media (max-width: 720px) {
  .whatsapp-float {
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    width: 54px;
    height: 54px;
  }
}
@media print {
  .whatsapp-float {
    display: none;
  }
}

/* Links da licitação e do edital lado a lado */
.links,
.rec-link {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
}
td.links { display: table-cell; white-space: nowrap; }
td.links .src { display: flex; width: max-content; }
td.links .src + .src { margin-top: 6px; }
.opp-foot .links { margin-left: auto; }
td .muted { display: block; }

/* Preços fechados */
#precos {
  border-top: 1px solid var(--line);
}
.pf-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
  margin: 0 0 22px;
}
.pf-cards:empty {
  display: none;
}
.pf-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
  border-radius: var(--r-md);
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold-ink);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.pf-card:hover,
.pf-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 22px 40px -30px rgba(29, 42, 69, 0.6);
  border-color: var(--line-strong);
}
.pf-card small {
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-ink);
}
.pf-card b {
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 720;
  line-height: 1.1;
  color: var(--navy-ink);
  font-variant-numeric: tabular-nums;
}
.pf-card b span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--mist);
}
.pf-card em {
  font-style: normal;
  font-size: 0.9rem;
  color: var(--ink);
}
.pf-card > span {
  font-size: 0.82rem;
  color: var(--mist);
}
.price-filter {
  margin: 0 0 14px;
}
.price-filter .segmented {
  flex-wrap: wrap;
}
.price-table td b {
  color: var(--navy-ink);
}
.price-filter.filter-row {
  display: block;
}
/* Muitos estados no filtro (recorte Brasil): estados numa linha própria */
@media (min-width: 1001px) {
  .filter-row:has(#fUf > button:nth-child(8)) {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  }
}
.filter-row:has(#fUf > button:nth-child(8)) #fUf {
  grid-column: 1 / -1;
  order: 3;
  border-radius: 22px;
}
