:root {
  color-scheme: dark;
  --ink: #121416;
  --panel: #1a1d20;
  --paper: #f4f1ec;
  --white: #fffaf6;
  --muted: #aaa8a7;
  --line: #363638;
  --red: #a82031;
  --bright: #ff7584;
  --body: "DM Sans", system-ui, sans-serif;
  --heading: var(--body);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 104px; }
body { margin: 0; background: var(--ink); color: var(--white); font: 1rem/1.6 var(--body); }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #f25b70; outline-offset: 4px; }
p { margin: 0 0 1rem; }
h1, h2, h3 { margin: 0 0 .66em; font-family: var(--heading); overflow-wrap: break-word; }
h1, h2 { letter-spacing: -.06em; font-weight: 800; }
h1 { font-size: clamp(2.65rem, 5.2vw, 5.25rem); line-height: 1.03; margin-bottom: 1.5rem; }
h2 { font-size: clamp(2rem, 4vw, 3.6rem); line-height: 1.08; max-width: 18ch; margin-bottom: .45em; }
h3 { font-size: 1.24rem; line-height: 1.22; letter-spacing: -.025em; }
svg { width: 1.35rem; height: 1.35rem; flex: 0 0 auto; }
.wrap { width: min(100% - 80px, 1320px); margin-inline: auto; }
.skip { position: fixed; top: .75rem; left: 1rem; z-index: 10; transform: translateY(-160%); padding: .6rem 1rem; background: var(--paper); color: var(--ink); }
.skip:focus { transform: none; }
.top { position: sticky; z-index: 5; top: 0; background: #121416; border-bottom: 1px solid #ffffff20; }
.nav { display: flex; min-height: 76px; align-items: center; justify-content: space-between; gap: 1.3rem; }
.kvm-logo-w { display: block; width: 126px; height: 46px; flex-shrink: 0; background-position: center; background-size: contain; background-repeat: no-repeat; }
.nav nav { display: flex; align-items: center; gap: clamp(.8rem, 2vw, 2rem); }
.nav nav a { font-size: .91rem; color: #e1dedc; padding-block: .5rem; }
.nav nav a:is(:hover,[aria-current]) { color: var(--bright); }
.menu { display: none; }
.btn { display: inline-flex; justify-content: center; align-items: center; border: 1px solid transparent; border-radius: .45rem; background: var(--red); color: white; font-weight: 700; padding: .76rem 1.2rem; min-height: 46px; text-align: center; transition: background .18s ease, box-shadow .18s ease; }
.btn:hover { background: #841525; box-shadow: 0 3px 16px #89152536; }
.btn.sm { font-size: .88rem; white-space: nowrap; padding: .62rem 1rem; }
.hero2 { position: relative; isolation: isolate; background-size: cover; background-position: center 40%; }
.hero2::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #111214fa 0%, #151217dc 28%, #1711197a 69%, #14141582 100%), linear-gradient(0deg, #121416 0%, transparent 44%); }
.hero2 .wrap { min-height: clamp(580px, 48vw, 730px); padding-block: clamp(58px, 8vw, 118px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 365px); align-items: center; gap: clamp(36px, 7vw, 112px); }
.hero2 .eyebrow { color: #f5d9d7; text-transform: uppercase; letter-spacing: .14em; font-size: .85rem; font-weight: 700; display: flex; align-items: center; gap: .8rem; margin-bottom: 1.3rem; }
.eyebrow span { width: 28px; height: 2px; background: #e95a6d; }
.hero2 h1 em { font-style: normal; color: #ff8e9b; display: block; }
.hero2 .sub { font-size: clamp(1rem, 1.55vw, 1.23rem); color: #eee8e6; max-width: 49ch; margin-bottom: 0; }
.lead-form { color-scheme: light; color: #222; background: var(--paper); border: 1px solid #ffffff8c; border-top: 4px solid var(--red); border-radius: .85rem; padding: clamp(19px, 2.5vw, 32px); display: grid; gap: .8rem; box-shadow: 0 20px 44px #0003; }
.lead-form h3 { font-size: 1.46rem; margin: 0 0 .2rem; }
.lead-form label { display: grid; gap: .24rem; font-size: .88rem; font-weight: 700; }
.lead-form input, .lead-form select { border: 1px solid #c9c3bd; border-radius: .38rem; background: #fffcf8; color: #242326; width: 100%; min-height: 44px; padding: .6rem .68rem; font-size: .9rem; font-weight: 400; }
.lead-form .fine { color: #535050; text-align: center; font-size: .88rem; margin: 0; }
.proof { background: #1b1c1e; border-block: 1px solid #343436; }
.track { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); gap: clamp(8px, 2vw, 24px); align-items: center; padding: 1.4rem 0; }
.track i { min-width: 0; display: block; height: 34px; background-position: center; background-size: contain; background-repeat: no-repeat; filter: grayscale(1) brightness(0) invert(1); opacity: .75; }
.s { padding-block: clamp(56px, 7.2vw, 110px); }
.s.alt { background: var(--paper); color: var(--ink); color-scheme: light; --muted: #56524f; --line: #d9d1cb; }
.lead { color: var(--muted); max-width: 63ch; font-size: 1.12rem; margin-bottom: 1.85rem; }
.sel { display: grid; grid-template-columns: minmax(225px, .34fr) minmax(0, 1fr); gap: 1.2rem; }
.opts { display: grid; gap: .55rem; align-content: start; }
.opt { background: #1a1c20; border: 1px solid var(--line); color: var(--white); padding: .8rem 1rem; min-height: 65px; border-radius: .5rem; text-align: left; }
.opt b, .opt span { display: block; }
.opt span { color: #b9b5b6; font-size: .88rem; line-height: 1.35; }
.opt:hover { border-color: var(--bright); }
.opt.on { background: #3d1b22; border-color: #b94b5c; box-shadow: inset 3px 0 #ef6677; }
.pnl { background: #1a1c20; border: 1px solid var(--line); border-radius: .75rem; padding: 1rem; height: 100%; }
.pbx { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); gap: clamp(14px, 2.6vw, 40px); height: 100%; }
.pph, .ph, .im, .cimg { background-size: cover; background-position: center; }
.pph { position: relative; display: flex; align-items: end; min-height: 240px; border-radius: .45rem; overflow: hidden; isolation: isolate; }
.pph::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(0deg, #110d13e8, transparent 56%); }
.pph span { padding: .85rem 1rem; font-weight: 700; }
.pcol { padding: .5rem .4rem; display: flex; flex-direction: column; justify-content: center; gap: .75rem; }
.ckp, .needs { padding: 0; margin: 0 0 1rem; list-style: none; display: grid; gap: .55rem; }
.ckp li, .needs li { display: flex; align-items: flex-start; gap: .65rem; }
.ckp svg, .needs svg { color: var(--bright); margin-top: .13rem; }
.alt .needs svg { color: var(--red); }
.tcar { position: relative; }
.tcs { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 32px)/3); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-color: #a82031 #ded8d0; padding: 5px 4px 12px; }
.tile { display: block; scroll-snap-align: start; border: 1px solid var(--line); border-radius: .7rem; overflow: hidden; background: #fffcf8; color: var(--ink); }
.tile .im { aspect-ratio: 16 / 9; }
.tile .tx, .cbody { padding: 1.2rem; }
.tile p, .cbody p { margin: 0; color: var(--muted); }
.tile:hover h3 { color: var(--red); }
.ar { position: absolute; z-index: 1; top: 31%; width: 44px; height: 44px; border: 1px solid #91898a; border-radius: 50%; background: #17191b; color: white; font-size: 1.55rem; line-height: 1; display: grid; place-items: center; }
.ar.l { left: -17px; }
.ar.r { right: -17px; }
.ar:hover { background: var(--red); }
.ctarow { margin-top: 1.8rem; }
.stp { display: grid; gap: 0; border-top: 1px solid var(--line); }
.stp .it { border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 48px minmax(150px,.5fr) minmax(0,1fr); align-items: baseline; gap: 1rem; padding: 1.25rem 0; }
.stp h3, .stp p { margin: 0; }
.stp p { color: var(--muted); }
.stp .n { color: var(--bright); font-weight: 800; font-size: 1.2rem; }
.alt .stp .n { color: var(--red); }
.split, .endsec, .fin { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: center; gap: clamp(24px, 5vw, 76px); }
.split .ph { min-height: 340px; height: 100%; border-radius: .75rem; }
.numgrid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.numgrid div { padding: .8rem 0; border-top: 1px solid var(--line); }
.numgrid b, .numgrid span { display: block; }
.numgrid b { font: 800 clamp(1.8rem, 3.5vw, 3.2rem)/1.1 var(--heading); letter-spacing: -.05em; color: var(--red); }
.numgrid span { color: var(--muted); margin-top: .4rem; }
.car { overflow: hidden; border: 1px solid var(--line); border-radius: .75rem; }
.trk { display: flex; align-items: stretch; }
.case { flex: 0 0 100%; min-width: 0; background: #1b1d20; }
.alt .case { background: #fffcf8; }
.cimg { aspect-ratio: 2 / 1; background-position: center 40%; }
.dots { display: flex; flex-wrap: wrap; margin-top: .5rem; }
.dot { height: 44px; width: 44px; border: 0; background: transparent; display: grid; place-items: center; }
.dot span { width: 8px; height: 8px; border-radius: 100%; background: #878085; }
.dot.on span { width: 22px; border-radius: 10px; background: #c84053; }
.wrap:has(> .faq) { display: grid; grid-template-columns: minmax(180px,.58fr) minmax(0,1fr); gap: clamp(20px,5vw,80px); }
.wrap:has(> .faq) h2 { text-align: start !important; margin: 0 !important; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: .8rem; padding: 1rem 0; min-height: 60px; font-weight: 700; }
.faq summary:hover { color: var(--bright); }
.faq summary::-webkit-details-marker { display: none; }
.faq-chevron { width: 1rem; height: 1rem; color: var(--bright); transition: transform .2s; }
.faq details[open] summary svg { transform: rotate(180deg); }
.faq details p { padding: 0 0 1rem 1.8rem; color: var(--muted); margin: 0; }
main > section:has(.fin) { background: #26181d; color: var(--white); border-top: 1px solid #663641; }
.fin { max-width: 1020px; margin-inline: auto; }
.fin p:not(.fine) { color: #e5d7d8; font-size: 1.13rem; }
.icg, .cgrid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(230px,100%),1fr)); gap: 1rem; }
.icg .it, .cgrid .it { margin: 0; border: 1px solid var(--line); padding: 1.2rem; border-radius: .6rem; }
.icg p { color: var(--muted); margin: 0; }
.icg i, .cgrid i { color: var(--bright); display: block; margin-bottom: .7rem; }
.alt .icg i { color: var(--red); }
.cgrid b { display: block; }
.cgrid a { text-decoration: underline; text-underline-offset: 3px; }
.tbl { overflow-x: auto; border: 1px solid var(--line); border-radius: .65rem; }
.tbl table { border-collapse: collapse; width: 100%; min-width: 590px; }
.tbl :is(th,td) { text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); padding: .85rem; }
.tbl th { background: #161719; color: var(--white); }
footer { border-top: 1px solid #ffffff24; padding-block: 2.5rem; color: #d0caca; }
.fcols { display: flex; justify-content: space-between; align-items: center; gap: 1.25rem; }
.fcols p, .fcols address { margin: 0; font-style: normal; font-size: .9rem; }
.fcols a:hover { color: var(--bright); }
@media (max-width: 1010px) {
  .nav { display: grid; grid-template-columns: auto 1fr auto; }
  .menu { display: grid; place-items: center; justify-self: end; padding: 0; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: .4rem; background: var(--panel); color: white; }
  .nav nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--ink); padding: .75rem max(20px,4vw); border-bottom: 1px solid var(--line); }
  .nav nav.open { display: grid; gap: 0; }
  .nav nav a { padding: .75rem; }
  .track { grid-template-columns: repeat(6,minmax(0,1fr)); row-gap: .95rem; }
  .tcs { grid-auto-columns: calc((100% - 16px)/2); }
}
@media (max-width: 760px) {
  .wrap { width: min(100% - 40px, 1320px); }
  .nav { min-height: 66px; gap: .55rem; }
  .nav .kvm-logo-w { width: 94px; }
  .hero2 .wrap { grid-template-columns: minmax(0,1fr); gap: 2rem; min-height: 0; padding-block: 3.3rem; }
  .hero2::before { background: linear-gradient(180deg,#141216ad,#171318ef 55%,#121416); }
  .hero2 { background-position: 60% top; }
  .hero2 .lead-form { max-width: 470px; }
  .sel, .split, .endsec, .fin, .wrap:has(> .faq) { grid-template-columns: minmax(0,1fr); }
  .opts { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .pbx { grid-template-columns: minmax(0,1fr); }
  .pph { min-height: 190px; }
  .split .ph { min-height: 240px; order: -1; }
  .stp .it { grid-template-columns: 28px minmax(0,1fr); gap: .35rem .8rem; }
  .stp p { grid-column: 2; }
  .fcols { flex-wrap: wrap; }
}
@media (max-width: 470px) {
  .nav .btn { padding-inline: .55rem; font-size: .79rem; }
  .track { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .track i { height: 26px; }
  .tcs { grid-auto-columns: 86%; }
  .ar { top: 28%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}


/* The layout keeps the mockup's content and uses its burgundy accent. */
:root {
  --kvm-blue: #0C334E;
  --kvm-graphite: #122029;
  --kvm-wine: #711B24;
  color-scheme: light;
  --ink: var(--kvm-graphite);
  --panel: #f6f8fa;
  --paper: #f0f3f5;
  --white: #fdfefe;
  --muted: #575553;
  --line: #dcd6d1;
  --red: var(--kvm-wine);
  --bright: var(--kvm-wine);
  --heading: var(--body);
}
body { background: #fdfefe; color: var(--ink); }
.wrap { width: min(100% - 88px, 1320px); }
.top { background: #fffdfaee; border-color: #e0e8ed; backdrop-filter: blur(12px); }
.nav { min-height: 76px; }
.nav .kvm-logo { display: block; width: 130px; height: 45px; flex-shrink: 0; background-position: center; background-size: contain; background-repeat: no-repeat; }
.nav nav a { color: #3f3c3b; }
.nav nav a:hover, .nav nav a[aria-current] { color: var(--red); }
.nav nav a[aria-current] { box-shadow: inset 0 -1px var(--red); }
.btn { background: var(--kvm-wine); border-radius: .62rem; box-shadow: none; }
.btn:hover { background: #54141b; box-shadow: none; }
h1, h2 { letter-spacing: -.055em; }
h2 { max-width: 22ch; text-wrap: balance; }
h3 { letter-spacing: -.027em; }
.hero2 {
  background-image: none !important;
  width: min(100% - 40px, 1520px);
  margin: 16px auto 0;
  background-color: var(--kvm-graphite);
  color: #fdfefe;
  border-radius: 1.45rem;
  overflow: hidden;
}
.hero2::before { content: none; }
.hero-photo {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-size: cover;
  background-position: center 40%;
}
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,#122029ed 0%,#122029d9 27%,#0c334ea3 53%,#711b2457 100%),linear-gradient(0deg,#122029a8,transparent 55%);
}
.hero2 .wrap {
  min-height: clamp(470px, 46vw, 670px);
  grid-template-columns: minmax(0, 1fr) minmax(290px, 370px);
  gap: clamp(26px, 5vw, 94px);
  padding-block: clamp(42px, 6vw, 92px);
}
.hero2 h1 { font-size: clamp(2.55rem, 5vw, 5.05rem); max-width: 15ch; line-height: 1.045; margin-bottom: 1.15rem; }
body:not([data-page="home"]) .hero2 h1 { font-size: clamp(2.4rem, 4.25vw, 4.5rem); max-width: 18ch; }
.hero2 .sub { max-width: 50ch; color: #f2eae9; }
.lead-form {
  border: 1px solid #fff8;
  border-radius: 1rem;
  padding: clamp(20px,2.5vw,32px);
  gap: .8rem;
  background: #fdfefe;
  color: #231e20;
}
.lead-form label { font-size: .89rem; }
.lead-form input, .lead-form select { background: #f0f4f6; border-color: #dcd3cc; border-radius: .48rem; }
.lead-form .fine { font-size: .83rem; }
.proof { background: #fdfefe; border-top: 0; border-bottom: 1px solid #e0e8ed; }
.track { padding-block: 1.7rem; }
.track i { filter: grayscale(1); opacity: .78; }
.track i:nth-child(n+13) { display: none; }
.s { padding-block: clamp(55px, 6.6vw, 100px); }
.s.alt { background: #f0f3f5; --muted: #575553; --line: #ddd5ce; }
.lead { margin-bottom: 1.75rem; }
.selsec { background: #fdfefe; }
.sel { grid-template-columns: minmax(0,1fr); gap: 14px; }
.opts { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.opt {
  min-width: 0;
  min-height: 118px;
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 5px;
  align-content: start;
  padding: 1rem;
  border-radius: .8rem;
  border-color: #ded7d0;
  background: #f0f4f6;
  color: #2b2728;
  transition: background-color .2s ease,border-color .2s ease;
}
.opt b { display: block; font-size: 1.04rem; line-height: 1.25; }
.opt span { color: #5d5552; font-size: .92rem; }
.opt-icon { color: #6a5959; margin-bottom: .4rem; }
.opt.on { background: #fff; border-color: #d9b8bb; box-shadow: 0 4px 14px #412e2111; }
.opt.on .opt-icon { color: var(--kvm-wine); }
.opt.on::after {
  content: "";
  position: absolute;
  inset: 0 14px auto;
  height: 2px;
  background: var(--kvm-wine);
  border-radius: 3px;
}
.opt:hover { border-color: #a8757a; }
.selsec .opt:hover { border-color: #ded7d0; }
.selsec .opt.on:hover { border-color: #d9b8bb; }
.pnl { padding: 0; border: 0; border-radius: 1.1rem; background: transparent; }
.pbx { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; min-height: 315px; }
.pph {
  grid-column: 2;
  grid-row: 1;
  min-height: 270px;
  border-radius: 1.1rem;
  background-position: center 45%;
}
.pph span { padding: .95rem 1rem; color: #fff; }
.pcol {
  grid-column: 1;
  grid-row: 1;
  border-radius: 1.1rem;
  border: 1px solid #e2d8d1;
  background: #eef3f6;
  padding: clamp(22px,3vw,46px);
  gap: .8rem;
}
.ckp { gap: .65rem; }
.ckp svg, .needs svg { color: var(--kvm-wine); }
body[data-page="equipamentos"] .sel { grid-template-columns: minmax(220px,.31fr) minmax(0,1fr); gap: 15px; }
body[data-page="equipamentos"] .opts { grid-template-columns: minmax(0,1fr); gap: 8px; }
body[data-page="equipamentos"] .opt { min-height: 0; grid-template-columns: auto minmax(0,1fr); grid-template-rows: auto auto; column-gap: 10px; }
body[data-page="equipamentos"] .opt svg { grid-row: span 2; margin: 0; }
body[data-page="equipamentos"] .pbx { grid-template-columns: minmax(0,1fr); gap: 0; overflow: hidden; border: 1px solid #e2d8d1; border-radius: 1rem; }
body[data-page="equipamentos"] .pbx > * { grid-column: auto; grid-row: auto; border: 0; border-radius: 0; }
body[data-page="equipamentos"] .pph { min-height: 275px; }

.split { gap: clamp(22px, 4vw, 58px); }
.split .ph { border-radius: 1.05rem; }
.stp { border: 1px solid #e4d6cd; border-radius: 1.1rem; padding: clamp(12px,2.5vw,35px); background: linear-gradient(135deg,#e3edf4,#f0f4f7 65%,#f3e8eb); }
.stp .it {
  grid-template-columns: 42px minmax(155px,.5fr) minmax(0,1fr);
  padding: 1.05rem;
  border: 1px solid #fff8;
  border-radius: .65rem;
  background: #ffffffbd;
}
.stp .it + .it { margin-top: 7px; }
.stp .n { color: var(--kvm-wine); }
.endsec { gap: clamp(22px,4vw,54px); align-items: start; }
.numgrid { gap: 8px; }
.numgrid div {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 116px;
  padding: 15px;
  border: 1px solid #dce6eb;
  border-radius: .75rem;
  background: #fdfefe;
}
.numgrid div:nth-child(2) { background: #efe3e5; }
.numgrid div:nth-child(3) { background: #e0edf3; }
.numgrid div:nth-child(4) { background: var(--kvm-blue); border-color: var(--kvm-blue); }
.numgrid div:nth-child(4) :is(b,span) { color: #fdfefe; }
.numgrid b { font-size: clamp(1.65rem,3.1vw,2.85rem); }
.car { border-radius: 1.05rem; border-color: #ddd5ce; background: white; }
.case, .alt .case { background: #fdfefe; }
.cimg { aspect-ratio: 1.75; }
.cbody { padding: clamp(18px,2.5vw,34px); }
.faq-chevron { color: var(--kvm-wine); }
main > section:has(.fin) { background: var(--kvm-blue); color: #fdfefe; border: 0; }
.fin { gap: clamp(22px, 6vw, 96px); }
.fin p:not(.fine):not(.ok) { color: #d6e5ef; }
.icg .it, .cgrid .it { background: #fdfefe; border-radius: .9rem; }
.tbl th { background: #e8dfd8; color: #332a2b; }
footer { color: #dbe7ef; background: var(--kvm-graphite); }
.fcols { align-items: center; }
.fcols > span { font-size: .9rem; }
.footer-social { display: flex; flex-wrap: wrap; gap: .4rem .95rem; }
.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 44px;
  color: #e2edf4;
  font-size: .9rem;
  font-weight: 600;
}
.footer-social svg { width: 18px; height: 18px; flex: 0 0 18px; }
.footer-social a:is(:hover, :focus-visible) { color: #fff; text-decoration: underline; }

/* Elastic Gallery from 21st.dev, with native links and focus. */
.tcs.elastic { display: flex; gap: 8px; padding: 4px; }
.elastic .tile {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  min-width: 0;
  min-height: clamp(305px,31vw,405px);
  flex: 1 1 0;
  color: #fff;
  border-color: #2d2634;
  border-radius: .72rem;
  background: var(--kvm-graphite);
  transition: flex .48s cubic-bezier(.25,1,.5,1);
}
.elastic .tile .im { position: absolute; z-index: -3; inset: 0; aspect-ratio: auto; transition: transform .45s ease; }
.elastic .tile::after { content: ""; position: absolute; z-index: -2; inset: 0; background: linear-gradient(0deg,#122029 1%,#122029ba 38%,#12202918 85%); }
.elastic .tile:hover .im, .elastic .tile:focus-visible .im { transform: scale(1.05); }
.elastic .tile h3 { color: white; margin-bottom: .35rem; }
.elastic .tile p { color: #f3e9ec; max-width: 37ch; font-size: .95rem; line-height: 1.45; }
.elastic .tile:focus-visible { outline-offset: -4px; }
.spotlight-card { position: relative; isolation: isolate; }
.spotlight-card::before {
  content: "";
  pointer-events: none;
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(175px circle at var(--spot-x,50%) var(--spot-y,50%),#bb536033,transparent 75%);
  opacity: 0;
  transition: opacity .2s ease;
}
.spotlight-card:is(:hover,:focus-visible)::before { opacity: 1; }
.selsec .spotlight-card:hover:not(:focus-visible)::before { opacity: 0; }
@media (min-width: 1100px) {
  .elastic .tile:first-child,
  .elastic:has(.tile:is(:hover,:focus-visible)) .tile:is(:hover,:focus-visible) { flex-grow: 2.35; }
  .elastic:has(.tile:not(:first-child):is(:hover,:focus-visible)) .tile:first-child { flex-grow: 1; }
  .elastic .tile:not(:first-child):not(:hover):not(:focus-visible) p,
  .elastic:has(.tile:not(:first-child):is(:hover,:focus-visible)) .tile:first-child p { display: none; }
  .elastic .tile .tx { padding: clamp(.75rem,1.4vw,1.25rem); }
  .elastic .tile h3 { font-size: clamp(.98rem,1.5vw,1.35rem); }
  .tcar:has(.elastic) > .ar { display: none; }
}
@media (max-width: 1099px) {
  .tcs.elastic { display: grid; gap: 13px; grid-auto-columns: calc((100% - 26px)/3); }
}
@media (max-width: 1010px) {
  .nav nav { background: #fdfefe; }
  .menu { color: #2f2930; }
}
@media (max-width: 900px) {
  .wrap { width: min(100% - 48px,1320px); }
  .tcs.elastic { grid-auto-columns: calc((100% - 13px)/2); }
}
@media (max-width: 760px) {
  .nav { min-height: 65px; }
  .nav .kvm-logo { width: 94px; }
  .hero2 { width: calc(100% - 24px); border-radius: 1rem; margin-top: 10px; }
  .hero2 .wrap { width: calc(100% - 34px); grid-template-columns: minmax(0,1fr); min-height: 0; padding-block: 2.6rem 1.2rem; gap: 1.4rem; }
  .hero2 .sub { font-size: 1rem; }
  .hero-photo { background-position: 65% top; }
  .hero-photo::after { background: linear-gradient(180deg,#12202999,#122029ed 58%,var(--kvm-graphite)); }
  .opts { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .opt { min-height: 100px; padding: .73rem; }
  .opt span { font-size: .84rem; }
  .opt b { font-size: .95rem; }
  .opt-icon { margin-bottom: .25rem; }
  .pbx { grid-template-columns: minmax(0,1fr); gap: 8px; }
  .pbx > * { grid-column: auto; grid-row: auto; }
  .pph { min-height: 210px; }
  body[data-page="equipamentos"] .sel { grid-template-columns: minmax(0,1fr); }
  body[data-page="equipamentos"] .opts { grid-template-columns: repeat(2,minmax(0,1fr)); }
  body[data-page="equipamentos"] .opt { grid-template-columns: 1fr; grid-template-rows: auto auto 1fr; }
  body[data-page="equipamentos"] .opt svg { grid-row: auto; }
  .stp .it { grid-template-columns: 24px minmax(0,1fr); padding: .75rem; }
  .fcols { gap: .85rem; }
}
@media (max-width: 460px) {
  .wrap { width: calc(100% - 38px); }
  .hero2 h1, body:not([data-page="home"]) .hero2 h1 { font-size: clamp(2rem,9vw,2.6rem); }
  .tcs.elastic { grid-auto-columns: 86%; }
}
@media (prefers-reduced-motion: reduce) {
  .elastic .tile .im { transform: none !important; }
}
.hero-location { white-space: nowrap; }

.inquiry {
  background: #fdfefe;
  border-top: 1px solid #e0e8ed;
}
.inquiry-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .93fr);
  align-items: start;
  gap: clamp(26px, 7vw, 105px);
}
.inquiry-info { min-width: 0; }
.inquiry-intro { margin-bottom: clamp(2rem, 4.75vw, 4.6rem); }
.inquiry-intro h2 { max-width: 17ch; font-weight: 700; }
.inquiry-intro p { max-width: 46ch; font-size: 1.12rem; color: var(--muted); }
.inquiry-questions h3 { font-size: 1.14rem; margin-bottom: .5rem; }
.inquiry-questions .faq { border-top: 0; }
.inquiry .faq summary {
  min-height: 64px;
  justify-content: space-between;
  gap: 1rem;
  font-weight: 500;
  color: #524d4e;
}
.inquiry .faq summary:hover, .inquiry .faq details[open] summary { color: var(--red); }
.inquiry .faq details p { padding-inline: 0 1.2rem; }
.faq-indicator { width: 16px; height: 16px; flex: 0 0 16px; position: relative; }
.faq-indicator::before, .faq-indicator::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 13px;
  height: 1.5px;
  background: currentColor;
  transform: translate(-50%, -50%);
}
.faq-indicator::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .18s ease; }
details[open] .faq-indicator::after { transform: translate(-50%, -50%) rotate(0); }
.inquiry-frame {
  min-width: 0;
  padding: clamp(9px, 1.05vw, 16px);
  background: #dce7ed;
  border: 1px solid #ccdce5;
  border-radius: 2rem;
}
.inquiry-frame .lead-form {
  padding: clamp(20px, 4.4vw, 64px);
  border-radius: 1.4rem;
  border: 1px solid #e2eaf0;
  box-shadow: none;
  gap: 1.05rem;
}
.inquiry-frame .lead-form h3 {
  text-align: center;
  font-size: clamp(1.45rem, 2.4vw, 2.16rem);
  font-weight: 700;
  margin-bottom: .8rem;
}
.inquiry-frame .lead-form :is(input,select) {
  min-height: 51px;
  border-radius: 1.6rem;
  padding-inline: .95rem;
  background: #edf2f5;
}
.inquiry-frame .lead-form .btn { justify-self: center; border-radius: 2rem; padding-inline: 1.38rem; margin-top: .25rem; }
@media (max-width: 760px) {
  .inquiry-layout { grid-template-columns: minmax(0,1fr); gap: 1.65rem; }
  .inquiry-intro { margin-bottom: 1.7rem; }
  .inquiry-frame { border-radius: 1.25rem; }
  .inquiry-frame .lead-form { border-radius: .9rem; }
}

.inquiry-questions-cards { scroll-margin-top: 100px; }
.inquiry-questions-cards h3 { margin-bottom: .9rem; }
.inquiry-questions-cards .faq { display: grid; gap: .5rem; }
.inquiry-questions-cards .faq details {
  border: 1px solid #dbe4e9;
  border-radius: 14px;
  background: #f7f9fa;
  transition: border-color .18s ease, background-color .18s ease;
}
.inquiry-questions-cards .faq details:hover { border-color: #a7bdcc; }
.inquiry-questions-cards .faq details[open] {
  border-color: #bccfdc;
  background: #f0f5f8;
}
.inquiry .inquiry-questions-cards .faq summary {
  min-height: 56px;
  padding: .85rem clamp(.9rem, 2vw, 1.25rem);
  border-radius: 13px;
  color: #122029;
  font-weight: 650;
  line-height: 1.4;
}
.inquiry-questions-cards .faq summary:focus-visible {
  outline: 2px solid #0c334e;
  outline-offset: 2px;
}
.inquiry-questions-cards .faq-chevron {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  color: #0c334e;
  transition: transform .18s ease;
}
.inquiry .inquiry-questions-cards .faq details[open] summary { color: #711b24; }
.inquiry .inquiry-questions-cards .faq details p {
  padding: 0 clamp(.9rem, 2vw, 1.25rem) 1rem;
  line-height: 1.6;
}
@media (prefers-reduced-motion: reduce) {
  .inquiry-questions-cards .faq details,
  .inquiry-questions-cards .faq-chevron { transition: none; }
}

.whatsapp-float:not([hidden]) {
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 30;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 50%;
  background: #13764a;
  color: #fff;
  box-shadow: 0 5px 18px #12202933;
  cursor: pointer;
}
.whatsapp-float:hover { background: #0f603c; }
.whatsapp-float svg { width: 28px; height: 28px; }
.whatsapp-dialog {
  position: fixed;
  inset: auto max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) auto;
  width: min(390px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  margin: 0;
  padding: 25px;
  border: 1px solid #dbe5ec;
  border-radius: 18px;
  background: #fff;
  color: #122029;
}
.whatsapp-dialog::backdrop { background: #12202965; }
.whatsapp-dialog h2 { font-size: 1.45rem; margin: 0 28px 1rem 0; }
.whatsapp-dialog form, .whatsapp-dialog label { display: grid; gap: .4rem; }
.whatsapp-dialog form { gap: .85rem; }
.whatsapp-dialog input {
  width: 100%;
  min-height: 44px;
  border: 1px solid #c8d6df;
  border-radius: 9px;
  padding: .55rem .75rem;
  background: #f0f5f8;
  color: #122029;
  font: inherit;
}
.whatsapp-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #122029;
  font: 1.6rem/1 var(--body);
  cursor: pointer;
}


/* Arrow Fill Button by Hyperiux (21st.dev), adapted to native links and form buttons.
   Original circular fill, clipped label and paired arrows. */
.btn.arrow-fill {
  --arrow-size: 32px;
  --arrow-edge: 6px;
  --arrow-start: 1.12rem;
  --arrow-end: calc(var(--arrow-size) + var(--arrow-edge) + .75rem);
  --arrow-clip: calc((100% - var(--arrow-size)) / 2) var(--arrow-edge) calc((100% - var(--arrow-size)) / 2) calc(100% - var(--arrow-edge) - var(--arrow-size));
  --arrow-ease: 450ms cubic-bezier(.785,.135,.15,.86);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-width: 0;
  max-width: 100%;
  min-height: 46px;
  padding-inline: var(--arrow-start) var(--arrow-end);
  border: 1px solid var(--kvm-wine);
  border-radius: 999px;
  background: var(--kvm-wine);
  color: #fff;
  white-space: normal;
}
.btn.arrow-fill:hover { background: var(--kvm-wine); color: #fff; box-shadow: none; }
.btn.arrow-fill:focus-visible { outline: 2px solid #0c334e; outline-offset: 3px; }
.nexa-nav .btn.arrow-fill.sm {
  --arrow-size: 27px;
  --arrow-edge: 5px;
  --arrow-start: .72rem;
  font-size: clamp(.74rem, 2.55vw, .88rem);
  min-height: 44px;
}
.inquiry-frame .lead-form .btn.arrow-fill { padding-inline: var(--arrow-start) var(--arrow-end); }
.arrow-fill-label { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-width: 0; }
.arrow-fill-surface, .arrow-fill-duplicate, .arrow-fill-icon { position: absolute; pointer-events: none; }
.arrow-fill-surface { inset: var(--arrow-clip); background: #fff; border-radius: inherit; transition: inset var(--arrow-ease); }
.arrow-fill-duplicate {
  inset: 0;
  display: grid;
  place-items: center;
  padding-inline: var(--arrow-start) var(--arrow-end);
  color: var(--kvm-wine);
  clip-path: inset(var(--arrow-clip));
  transition: clip-path var(--arrow-ease);
}
.arrow-fill-icon {
  top: 50%;
  right: var(--arrow-edge);
  width: var(--arrow-size);
  height: var(--arrow-size);
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  background: #fff;
  color: var(--kvm-wine);
}
.btn.arrow-fill .arrow-fill-icon svg {
  grid-area: 1 / 1;
  width: 16px;
  height: 16px;
  transition: transform var(--arrow-ease);
}
.arrow-fill-icon svg:nth-child(2) { transform: translateX(-115%) scale(.55); }
.arrow-fill:is(:focus-visible,:active) .arrow-fill-surface { inset: 0; }
.arrow-fill:is(:focus-visible,:active) .arrow-fill-duplicate { clip-path: inset(0); }
.arrow-fill:is(:focus-visible,:active) .arrow-fill-icon svg:first-child { transform: translateX(115%) scale(.55); }
.arrow-fill:is(:focus-visible,:active) .arrow-fill-icon svg:nth-child(2) { transform: none; }
@media (hover: hover) {
  .arrow-fill:hover .arrow-fill-surface { inset: 0; }
  .arrow-fill:hover .arrow-fill-duplicate { clip-path: inset(0); }
  .arrow-fill:hover .arrow-fill-icon svg:first-child { transform: translateX(115%) scale(.55); }
  .arrow-fill:hover .arrow-fill-icon svg:nth-child(2) { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .arrow-fill-surface, .arrow-fill-duplicate, .btn.arrow-fill .arrow-fill-icon svg { transition: none; }
}
@media (max-width: 480px) {
  .nexa-nav .nav { gap: .35rem; }
  .nexa-nav .btn.arrow-fill.sm {
    --arrow-size: 23px;
    --arrow-start: .48rem;
    --arrow-end: calc(var(--arrow-size) + var(--arrow-edge) + .35rem);
  }
}

/* Fine section and card separators shared by the public pages. */
main > section:not([data-kvm-marquee]) + section:not([data-kvm-marquee]) { border-block-start: 1px solid rgb(0 0 0 / 10%); }
main :is(.tile, .opt, .pbx, .pcol, .case, .numgrid > div, .stp .it, .icg .it, .cgrid .it, .studio-features li, .inquiry-questions .faq details, .inquiry-frame, .contact-form) {
  outline: 1px solid rgb(0 0 0 / 10%);
  outline-offset: -1px;
}
main .opt:focus-visible { outline: 2px solid #0c334e; outline-offset: 2px; }
html.lenis, html.lenis body { height: auto; }

@media (prefers-reduced-motion: no-preference) {
  .kvm-scroll-reveal {
    animation: kvm-scroll-in 1050ms cubic-bezier(.22,1,.36,1) var(--kvm-reveal-delay, 0ms) backwards;
  }
  .kvm-scroll-reveal:is(:focus, :focus-within) { animation: none; }
}
@keyframes kvm-scroll-in {
  from { opacity: .32; translate: 0 12px; }
  to { opacity: 1; translate: 0 0; }
}
