@scope (.v8-home) {
:scope {
  color-scheme: dark;
  --navy: #0b1e3a;
  --page: #02142d;
  --panel: #071e40;
  --border: #176292;
  --blue: #0f8cff;
  --gold: #ffc63d;
  --on-gold: #081426;
  --gold-fill: linear-gradient(to bottom, #f9e7b2 0%, #fbbf3e 7%, #fca233 46%, #f48525 100%);
  --text: #fff;
  --muted: #dbe5f1;
  --cyan: #8be8ff;
  --sidebar: clamp(12.3rem,20vw,16.5rem);
  font-family: Montserrat, 'Segoe UI', Arial, sans-serif;
  background: var(--page);
  color: var(--text);
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
button,input { font: inherit; }
button,summary { cursor: pointer; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #a0edff; outline-offset: 3px; }
[id] { scroll-margin-block: 1rem; }
:target:not(#inicio):not(#conteudo) { outline: 2px solid var(--blue); outline-offset: 3px; }
h1,h2,h3,p { margin: 0; }
p { line-height: 1.46; color: var(--muted); }
h2 { font-size: clamp(1.15rem,2vw,1.6rem); line-height: 1.18; }
h3 { font-size: .94rem; line-height: 1.25; }
.visually-hidden,.skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; z-index: 10; top: .6rem; left: .6rem; background: var(--panel); padding: .75rem; }
.top { display: grid; grid-template-columns: var(--sidebar) minmax(9rem,1fr) auto; gap: .85rem; align-items: center; background: linear-gradient(100deg,#031b3e,#061732); border-bottom: 1px solid var(--border); padding: .38rem .85rem; }
.brand { display: inline-block; }
.brand img { width: min(100%,13rem); height: auto; }
.search { display: flex; background: linear-gradient(110deg,#061a3d,#083d88); border: 1px solid var(--blue); border-radius: .5rem; }
.search input { flex: 1; min-width: 0; color: var(--text); border: 0; background: transparent; border-radius: .5rem; padding: .64rem .85rem; }
.search input::placeholder { color: #dae8fa; }
.search button { border: 0; background: transparent; color: var(--text); padding: 0 .85rem; font-size: 1.35rem; }
.top-actions,.actions { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem; }
.top-actions > a { text-decoration: none; padding: .6rem .25rem; font-size: .88rem; }
.top-actions > a:hover { text-decoration: underline; }
.button {
  display: inline-flex; justify-content: center; align-items: center; min-height: 42px;
  border: 1px solid var(--blue); border-radius: .45rem; background: #031d40;
  color: var(--text); text-decoration: none; padding: .52rem .8rem; text-align: center;
  font-size: .86rem; font-weight: 700; line-height: 1.2;
}
.button:hover { border-color: var(--cyan); background: #082c59; }
.button.gold { background: var(--gold-fill); color: var(--on-gold); border-color: var(--gold); }
.button.gold:hover { filter: brightness(1.1); }
.mobile-menu { display: none; }
.layout { display: grid; grid-template-columns: var(--sidebar) minmax(0,1fr); }
.sidebar { padding: .6rem .5rem 1.4rem; border-right: 1px solid var(--border); background: radial-gradient(ellipse at 15% 91%,#07479855,transparent 33%),linear-gradient(150deg,#051c3d,#041731); }
.sidebar nav { display: grid; gap: .13rem; }
.sidebar-login { justify-self: stretch; margin: .65rem .25rem 0; }
.nav-link,.sidebar summary { min-height: 40px; display: flex; align-items: center; gap: .65rem; padding: .48rem .56rem; border-radius: .42rem; font-size: .88rem; text-decoration: none; }
.nav-link span,.sidebar summary span { display: inline-grid; place-items: center; width: 1.45rem; flex: 0 0 1.45rem; font-size: 1.35rem; line-height: 1; }
.sidebar summary { list-style: none; }
.sidebar summary::-webkit-details-marker { display: none; }
.sidebar summary::after { content: '›'; margin-inline-start: auto; }
.sidebar details[open] > summary::after { transform: rotate(90deg); }
.nav-link:hover,.sidebar summary:hover { background: #0c2c58; }
.submenu { display: grid; border-left: 1px solid var(--border); margin: 0 0 .4rem 1.2rem; padding: .2rem .2rem .2rem .55rem; }
.submenu a,.submenu button { padding: .52rem .18rem; color: var(--cyan); text-decoration: none; font-size: .8rem; }
.submenu a:hover,.submenu button:hover { text-decoration: underline; }
.sidebar a[aria-current],.mobile-menu[aria-expanded="true"] {
  background: var(--gold-fill); color: var(--on-gold); font-weight: 750;
}
.submenu a[aria-current] { border-radius: .35rem; padding-inline: .45rem; }
.text-button { color: inherit; background: none; border: 0; padding: 0; text-align: left; text-decoration: underline; }
.side-note { margin: 1rem .25rem; padding: .8rem; border: 1px solid var(--border); border-radius: .55rem; background: #07234c; font-size: .87rem; }
.side-note span { color: var(--cyan); font-size: 1.8rem; float: left; margin-right: .5rem; }
.side-note p { clear: both; padding-top: .55rem; }
.sidebar-brand {
  display: grid; justify-items: center; margin: .8rem .25rem 0;
  padding: .48rem; border: 1px solid #258ad1; border-radius: .65rem;
  background: radial-gradient(ellipse at 50% 15%, #155c9c, #072b5b 62%, #041c3f);
}
.sidebar-brand img { width: min(100%, 13rem); height: auto; }
main { min-width: 0; padding: 0 .8rem .55rem; }
.hero {
  display: grid; grid-template-columns: minmax(0,2fr) minmax(0,3fr);
  gap: clamp(.85rem,2vw,1.75rem); align-items: center; padding-block: .65rem;
}
.hero-copy { min-width: 0; padding: .65rem .25rem; }
.hero-visual {
  position: relative; overflow: hidden; min-width: 0; aspect-ratio: 354.304 / 224.256;
  border: 1px solid var(--border); border-radius: .55rem; background: #071a37;
}
/* The original art is a page mockup. This window shows only its photograph. */
.hero-art { position: absolute; inset: 0 auto auto 0; width: 289.0174%; max-width: none; height: auto; transform: translate(-65.4%, -3.5%); }
.hero h1 { font-size: clamp(1.45rem,2.2vw,2.55rem); line-height: 1.1; letter-spacing: -.035em; }
.hero em { color: var(--gold); font-style: normal; }
@supports (background-clip: text) { .hero em { background: var(--gold-fill); background-clip: text; color: transparent; } }
.hero p { max-width: 29rem; margin: .5rem 0 .8rem; font-size: clamp(.9rem,1.15vw,1rem); }
.benefits { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .45rem; padding: 0; margin: .25rem 0 .55rem; list-style: none; }
.benefits li { display: flex; align-items: center; gap: .5rem; padding: .4rem .25rem; font-size: .83rem; }
.benefits li span { display: grid; place-items: center; width: 2.05rem; height: 2.05rem; flex: 0 0 2.05rem; border-radius: 50%; color: var(--cyan); background: #094280; }
.panel { background: linear-gradient(125deg,#041a39,#061e45); border: 1px solid var(--border); border-radius: .55rem; padding: .52rem; margin-bottom: .36rem; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: .4rem; margin: 0 0 .5rem; }
.section-head > div { display: flex; align-items: baseline; flex-wrap: wrap; gap: .26rem .7rem; }
.section-head p,.section-head > a { font-size: .83rem; }
.section-head > a,.card a { color: var(--cyan); text-underline-offset: .17em; }
.cards { display: grid; gap: .4rem; }
.four { grid-template-columns: repeat(4,minmax(0,1fr)); }
.five { grid-template-columns: repeat(5,minmax(0,1fr)); }
.three { grid-template-columns: repeat(3,minmax(0,1fr)); }
.tone-blue { --tone: #278bff; --glow: #073573; --ink: #a2d0ff; }
.tone-teal { --tone: #0bc8d8; --glow: #063944; --ink: #8cf5ff; }
.tone-purple { --tone: #a268ff; --glow: #292060; --ink: #dec3ff; }
.tone-gold { --tone: #986013; --ink: var(--on-gold); }
.card,.offer { border: 1px solid var(--tone); border-radius: .52rem; padding: .62rem; background: radial-gradient(ellipse at 0 0,var(--glow),#071a37 94%); min-width: 0; }
.card { display: flex; gap: .52rem; align-items: flex-start; }
.card p,.offer p,.offer li { font-size: .82rem; overflow-wrap: anywhere; }
.card p,.offer p { margin-top: .32rem; }
.card a { display: inline-block; margin-top: .48rem; font-size: .8rem; }
.icon { display: inline-grid; place-items: center; flex: 0 0 auto; width: 2.55rem; height: 2.55rem; color: var(--ink,#b0e6ff); border-radius: 50%; border: 1px solid var(--tone,#299bff); box-shadow: inset 0 0 .8rem var(--glow,#0a4895),0 0 .45rem var(--glow,#0a4895); font-size: 1.45rem; line-height: 1; }
.offer { display: flex; flex-direction: column; align-items: flex-start; }
.offer h3 { margin-top: .45rem; }
.offer ul { list-style: none; margin: .5rem 0 .7rem; padding: 0; display: grid; gap: .25rem; color: var(--muted); }
.offer li::before { content: '✓ '; color: var(--ink); }
.offer > .button,.availability { margin-top: auto; width: 100%; }
.card.tone-gold,.offer.tone-gold { background: var(--gold-fill); color: var(--on-gold); }
.tone-gold p,.tone-gold ul,.card.tone-gold a { color: var(--on-gold); }
.tone-gold .icon { background: var(--navy); color: var(--gold); box-shadow: none; }
.tone-gold .button.gold { border-color: var(--on-gold); }
.availability { display: block; border: 1px solid var(--tone); color: var(--ink); border-radius: .42rem; padding: .52rem .45rem; text-align: center; font-size: .82rem; font-weight: 700; }
.journey { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: .55rem; padding: 0; margin: 0; list-style: none; counter-reset: step; }
.journey li { display: flex; align-items: flex-start; gap: .45rem; counter-increment: step; }
.journey h3::before { content: counter(step) '. '; }
.journey p { margin-top: .23rem; font-size: .78rem; }
.journey .teal { --tone:#14e0e4; --ink:#94ffff; }
.journey .purple { --tone:#ae76ff; --ink:#d0acff; }
.journey .amber { --tone:#ffc63d; --ink:#ffe382; }
.faq { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .34rem .65rem; align-items: start; }
.faq details,.tools { background: #06224a; }
.faq details { border: 1px solid var(--border); border-radius: .42rem; }
.faq summary,.tools summary { padding: .48rem .6rem; font-weight: 650; font-size: .88rem; }
.faq p { padding: 0 .65rem .65rem; font-size: .85rem; }
.tool-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .5rem; padding: .5rem; }
.tool-grid > div { padding: .55rem; background: #041a39; border-radius: .35rem; }
.tool-grid p { font-size: .85rem; margin-top: .3rem; }
.full { padding: 0 .75rem .55rem; }
.conversion { display: grid; grid-template-columns: minmax(6rem,23%) 1fr auto; gap: .8rem; align-items: center; border: 1px solid var(--border); border-radius: .56rem; overflow: hidden; background: linear-gradient(110deg,#061a37,#052f69); padding-right: .7rem; margin-bottom: .42rem; }
.conversion-art { align-self: stretch; width: 100%; height: 100%; min-height: 5rem; object-fit: cover; object-view-box: inset(74.2% 74.6% 19.9% 1.2%); }
.conversion p { padding: .28rem 0; font-size: .86rem; }
.live { border: 1px solid var(--gold); border-radius: .48rem; overflow: hidden; }
.live header { background: var(--gold-fill); color: var(--on-gold); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .2rem .7rem; padding: .32rem .62rem; }
.live header > div { display: flex; align-items: baseline; flex-wrap: wrap; gap: .12rem .65rem; }
.live header p { color: #271b06; font-size: .82rem; }
.live header .button { min-height: 36px; }
.live-figure { margin: 0; background: #041938; }
.live-figure img { width: 100%; height: auto; }
.live-figure figcaption { color: var(--muted); padding: .55rem .65rem; font-size: .84rem; line-height: 1.45; }
dialog.live-dialog { width: min(96vw, 96rem); }
.live-dialog > p { margin-bottom: .55rem; }
.live-scroll { overflow: auto; max-height: 65vh; border: 1px solid var(--border); }
.live-scroll img { width: 100%; height: auto; min-width: 70rem; max-width: none; }
.footer { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: .8rem; padding: 1rem; border-top: 1px solid var(--gold); background: #041938; }
.footer > div { display: grid; align-content: start; gap: .35rem; border-right: 1px solid var(--border); padding-right: .6rem; }
.footer > div:last-child { border-right: 0; }
.footer h2 { font-size: .9rem; }
.footer a,.footer button,.footer small { font-size: .82rem; }
.footer a:not(.brand) { text-decoration: none; }
.footer a:hover,.footer button:hover { text-decoration: underline; }
dialog { width: min(92vw,34rem); max-height: 85vh; padding: 1.2rem; border: 1px solid var(--blue); border-radius: .67rem; background: #0b2346; color: var(--text); }
dialog::backdrop { background: #010b1ed9; }
.dialog-head { display: flex; gap: .7rem; align-items: center; justify-content: space-between; margin-bottom: .75rem; }
dialog ul { padding-left: 1.2rem; }
dialog li { margin-top: .6rem; }
dialog a { color: var(--cyan); }
@media (min-width: 1300px) { .layout,.top,.full,.footer { width: min(100%,106rem); margin-inline: auto; } }
@media (max-width: 1170px) { .four,.five { grid-template-columns: repeat(auto-fit,minmax(min(100%,9.25rem),1fr)); } .card,.journey li { flex-direction: column; } }
@media (max-width: 880px) { .conversion { grid-template-columns: minmax(4.5rem,20%) 1fr; } .conversion .actions { grid-column: 2; padding-bottom: .6rem; } .conversion-art { grid-row: 1 / span 2; } }
@media (max-width: 740px) {
  .top { grid-template-columns: minmax(0,1fr) auto; gap: .5rem; }
  .search,.top-actions { grid-column: 1 / -1; }
  .mobile-menu { display: inline-flex; }
  .layout { display: block; }
  .sidebar { border-right: 0; border-bottom: 1px solid var(--border); padding-bottom: .5rem; }
  .side-note { display: none; }
  main { padding: 0 .55rem .45rem; }
  .hero { grid-template-columns: minmax(0,1fr); }
  .benefits,.three { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .journey { grid-template-columns: repeat(auto-fit,minmax(6.4rem,1fr)); }
  .tool-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .full { padding-inline: .55rem; }
  .footer { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 390px) { .faq,.three,.tool-grid { grid-template-columns: 1fr; } .top-actions .button { padding-inline: .5rem; } }
@media (forced-colors: active) { .hero em { color: CanvasText; background: none; } }
.live-modes { display: flex; gap: .45rem; flex-wrap: wrap; padding: .5rem .58rem; }
.live-modes button[aria-pressed="true"] { background: var(--gold-fill); color: var(--on-gold); border-color: var(--gold); }
.live-image-window { overflow: hidden; }
.live-figure[data-view="licitacoes"] .live-image-window { aspect-ratio: 1470 / 330; }
.live-figure[data-view="licitacoes"] img { transform: translateY(-3.55%); }
.live-figure[data-view="oportunidades"] .live-image-window { aspect-ratio: 1470 / 272; }
.live-figure[data-view="oportunidades"] img { transform: translateY(-34.86%); }
.live-figure[data-view="linha"] .live-image-window { aspect-ratio: 1470 / 336; }
.live-figure[data-view="linha"] img { transform: translateY(-60.93%); }

.top-actions { min-width: 0; }
.top-actions .button { white-space: normal; }
@media (min-width: 741px) and (max-width: 1080px) {
  .top { grid-template-columns: auto minmax(0,1fr); }
  .top-actions { grid-column: 1 / -1; }
}
.lab-preview-bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: .35rem .7rem; padding: .35rem .85rem; border-bottom: 1px solid var(--gold);
  background: #061a37; color: var(--text); font-size: .8rem;
}
.lab-preview-bar p { margin: 0; color: inherit; }
.lab-preview-bar a { color: var(--gold); }
.lab-preview-bar .button { min-height: 34px; }

:scope .hero { background: none; min-height: 0; }
:scope header { position: static; }
:scope img { display: block; }
}
body:has(.v8-home) .v8-legacy-events { display: none; }
