:root {
  --blue: #166890;
  --ice-ink: #14324b;
  --ice-muted: #42617b;
  --ice-edge: #cce1ee;
  --ice-paper: #f3f9fc;
  --ice-blue: #24698d;
  --ice-accent: #d5eef9;
  --ice-art: url("bytevision-reflexos.jpg");
  --steel-base: #345a78;
  --steel-ink: #f8fcff;
  --steel-muted: #e2eff9;
  --steel-accent: #c6ebff;
  --steel-edge: #c6e8ff59;
  --steel-glass: linear-gradient(145deg,#d6eeff30,#9dcbe220);
  --steel-art: url("bytevision-vidro-ardosia.jpg");
  --brand-slate: #2f5065;
  --brand-nav: #f3faff;
  --brand-highlight: #a9e0fc;
  --brand-bar: linear-gradient(110deg,#274158e8,#304e6599 55%,#416a84a6),
    url("bytevision-barra-ardosia.png") center / 100% 100% no-repeat var(--brand-slate);
}

.site-header {
  color: var(--brand-nav);
  background: var(--brand-bar);
  border-color: #9bc5de71;
  box-shadow: inset 0 1px 0 #e4f6ff22,0 5px 18px #17384f26;
}
.wordmark {
  display: inline-block;
  width: clamp(168px,16vw,206px);
  max-width: 100%;
  line-height: 0;
}
.wordmark img,.console-signature img {
  display: block;
  width: 100%;
  height: auto;
}
.site-header .wordmark img,.access-header .wordmark img,.console-signature img {
  -webkit-mask-image: radial-gradient(ellipse 63% 75% at center,#000 80%,transparent 98%);
  mask-image: radial-gradient(ellipse 63% 75% at center,#000 80%,transparent 98%);
}
.site-header .main-nav a { color: var(--brand-nav); }
.site-header .main-nav a:hover { color: var(--brand-highlight); }
.header-actions .btn {
  color: var(--brand-nav);
  border-color: #a8cee685;
  border-radius: 10px;
  background: linear-gradient(155deg,#e6f7ff23,#d9f0fe0b);
  box-shadow: inset 0 1px 0 #fff3;
}
.header-actions .btn:hover { background: #d5eeff32; }
.header-actions .header-cta { color: var(--ice-ink); background: var(--ice-accent); border-color: #b2d9ed; }
.header-actions .header-cta:hover { background: #f1fbff; }

.hero { background: #315976; }
.hero-art img { object-position: 52% 56%; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(to top,#26485d6b,transparent 25%),
    linear-gradient(90deg,#153951ad 0%,#183b534d 38%,transparent 62%);
}
.hero-inner {
  min-height: clamp(525px,45vw,700px);
  padding-block: 65px 92px;
}
.hero-copy { max-width: 51%; }
.hero h1 {
  margin: 0 0 22px;
  font-size: clamp(3.65rem,6.15vw,6.8rem);
  font-weight: 600;
  line-height: .99;
  letter-spacing: -.07em;
}
.hero h1 span { color: #cbf0ff; }
.hero-copy > p {
  max-width: 39ch;
  font-size: clamp(1.03rem,1.35vw,1.22rem);
}
.hero-copy > p:not(.overline) { color: #f1faff; }
.hero-actions { margin-top: 30px; }
.hero-actions .btn { min-height: 49px; border-radius: 10px; }
.hero-actions .btn-primary {
  color: #102f47;
  background: linear-gradient(145deg,#e1f6ff,#a7def6);
  border-color: #e4f7ff;
  box-shadow: inset 0 1px 0 #fff,0 7px 26px #061f3c34;
}
.hero-actions .btn-primary:hover { background: #e8f8ff; }
.hero-actions .btn-glass {
  color: #f5fcff;
  background: linear-gradient(145deg,#e0f4ff2e,#8acafd14);
  border-color: #d2edff78;
}
.hero-actions .btn-glass:hover { background-color: #2b62848c; }

.product-strip {
  position: relative;
  scroll-margin-top: 30px;
  background: radial-gradient(ellipse at 50% 0%,#d6eaf5,transparent 83%),#f5fafd;
  border-color: var(--ice-edge);
}
.strip-inner {
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 16px;
  padding-block: 0 31px;
}
.strip-inner a,.strip-inner a:nth-child(n) {
  display: block;
  padding: 0;
  margin-top: -31px;
  overflow: hidden;
  border: 1px solid #deeff7;
  border-radius: 16px;
  color: var(--ice-ink);
  background: linear-gradient(152deg,#fffffff2,#ecf7fbbc);
  box-shadow: inset 0 1px 0 #fff,0 11px 24px #20456315;
  transition: box-shadow .18s,transform .18s;
}
.strip-inner a:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px #20456327;
}
.strip-inner img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.60;
  object-fit: cover;
  object-position: center;
  border-bottom: 1px solid #cbe8f7;
}
.strip-inner a span { display: block; padding: 14px 16px 15px; font-size: 1.05rem; }
.strip-inner small { color: var(--ice-muted); }

/* O azul da abertura reaparece nos blocos de conteúdo. */
.operations,.faq,.connections {
  color: var(--steel-ink);
  background: linear-gradient(118deg,#294c67f2,#355d7bd2 70%,#416786c9),var(--steel-art) center / cover var(--steel-base);
}
.connections .tone-intro h2 { color: var(--steel-ink); }
.connections .tone-intro h2 span { color: var(--steel-accent); }
.tone-intro > p:last-child { color: var(--steel-muted); }
.tone-intro .overline { color: var(--steel-accent); }
.flow-stage {
  border-color: var(--steel-edge);
  background: linear-gradient(110deg,#254459ed,#335778d6),var(--steel-art) center 75% / cover;
  box-shadow: inset 0 1px 0 #d8f0ff55,0 14px 30px #122f4347;
}
.flow-glass {
  border-color: #9cbdda5e;
  background: radial-gradient(ellipse at 15% 13%,#416680 0%,transparent 76%),linear-gradient(155deg,#304f6b,#213e55);
  box-shadow: inset 0 1px 0 #e8f5ff1e,0 6px 18px #030a1655;
}
.wire { stroke: #8fb8d5; }
.pulse { stroke: #b9f3ff; }
.flow-chip { fill: #294b65; stroke: #9cc2de; }
.flow-hub { fill: #386580; stroke: #b0dff7; }
.hub-shadow { fill: #25455d; }
.chip-label,.hub-label { fill: #f2f9ff; }
.node-icon { color: #afd9f6; }
.flow-copy { color: var(--steel-ink); }
.flow-copy p { color: var(--steel-muted); }
.motion-control { color: var(--steel-ink); background: #365d7e; border-color: #a2c6e1; }
.motion-control:hover { background: #41678c; }
.flow-tabs button { color: var(--steel-muted); border-color: var(--steel-edge); }
.flow-tabs button:hover { color: #ebf7ff; background: #98c9ff1c; }
.flow-tabs button[aria-selected=true] {
  color: #f1f9ff;
  border-color: #8cc5e9;
  box-shadow: inset 0 -2px 0 #8cc5e9;
  background: #9ecffb1a;
}

.faq { background-position: center, right 72%; }
.faq .overline { color: var(--steel-accent); }
.faq-list details,.faq-list details:last-child { border-color: var(--steel-edge); }
.faq-list summary::after { background: var(--steel-accent); }
.faq-list details p { color: var(--steel-muted); }
.faq-list details[open] { background: linear-gradient(90deg,#bbdbfa13,transparent); }
.faq-list summary:hover { color: var(--steel-accent); }

.platform {
  background: radial-gradient(ellipse at 82% 5%,#cfeaf6 0%,transparent 37%),linear-gradient(155deg,#f5fbfd,#eaf4fa);
}
.showcase-tabs button:hover { background: #e0eff6; }
.showcase-tabs button[aria-selected=true] {
  color: #174b68;
  border-color: #bdddec;
  background: linear-gradient(148deg,#f3fbff,#d8ecf6);
  box-shadow: inset 0 1px 0 #fff;
}
.console {
  position: relative;
  border: 5px solid #83abc4;
  border-top-color: #eaf8ff;
  border-left-color: #cfe9f8;
  border-bottom-color: #6b94af;
  border-radius: 22px;
  background: linear-gradient(135deg,#fbffffc9,#e2f3f8a3);
  box-shadow: 0 28px 64px -31px #1e638772,0 0 0 1px #699ab165,inset 0 1px 0 #fff;
  -webkit-backdrop-filter: blur(19px) saturate(130%);
  backdrop-filter: blur(19px) saturate(130%);
}
.console-bar {
  min-height: 45px;
  color: var(--brand-nav);
  background: var(--brand-bar);
  border-color: #a5cce2a0;
  box-shadow: inset 0 1px 0 #e4f6ff29;
}
.console-signature {
  display: flex;
  flex: none;
  align-items: center;
  gap: 6px;
  color: var(--brand-nav);
  font-size: .73rem;
}
.console-signature img { width: 94px; }
.console-signature span { color: var(--brand-highlight); }
.window-dots i { background: #add0e3; }
.console-rail {
  background: linear-gradient(160deg,#f5fcffb8,#d8ebf3c2);
  border-color: #b7d4e386;
}
.rail-link[aria-current=true],.rail-link:hover { background: #fffdfa; border-color: #b8dceb; }
.console-panels { background: radial-gradient(ellipse at 94% 4%,#e2f7ff,transparent 62%),#e3eff669; }
.metric,.chart-card,.data-list,.funnel,.messages {
  background: linear-gradient(147deg,#fcfeffe8,#edf8fdbc);
  border-color: #bfd9e6;
  box-shadow: inset 0 1px 0 #fff,0 3px 7px #2d53630a;
}
.activity { background: #e5f4fa; color: #244e69; }
.bars {
  background: repeating-linear-gradient(to top,transparent 0 31px,#c7e0eb80 31px 32px);
}
.bars i { background: linear-gradient(#a7d8ee,#cee9f6); border-top: 1px solid #a7cedf; }
.bars span:nth-child(6) i { background: linear-gradient(#337d9f,#7cc7e8); border-top-color: #3f89ae; }
.funnel li i { background: linear-gradient(to right,#4b98bf var(--fill),#deedf4 var(--fill)); }

/* Sistemas, projeto e rodapé */
.operations {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-position: center, right 42%;
}
.operations::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(circle,#83bcf12b 1px,transparent 1.5px) right top / 24px 24px;
  mask-image: linear-gradient(108deg,transparent 35%,#000 100%);
  pointer-events: none;
}
.sector-lead { position: relative; z-index: 1; display: block; padding-block: clamp(20px,5vw,60px); }
.operations .section-head { position: relative; max-width: 50%; }
.operations .overline { color: var(--steel-accent); }
.operations .section-copy { color: var(--steel-muted); }
.contact .overline { color: var(--ice-blue); }
.contact .section-copy { color: var(--ice-muted); }
.globe-stage {
  position: absolute;
  z-index: -1;
  inset: -13% auto auto 62%;
  width: clamp(465px,49vw,780px);
  height: auto;
  opacity: .74;
  pointer-events: none;
}
.globe-stage img { display: block; width: 100%; height: auto; }
.sector-grid {
  position: relative;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 12px;
  padding: 0;
  border: 0;
  margin-top: 28px;
}
.sector-grid article,.sector-grid article:nth-child(n) {
  padding: clamp(15px,2vw,24px);
  border: 1px solid var(--steel-edge);
  border-radius: 17px;
  background: var(--steel-glass);
  box-shadow: inset 0 1px 0 #e6f3ff24,0 7px 15px #040b141e;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.sector-grid p { color: var(--steel-muted); }
.sector-icon {
  color: #d0ebfb;
  background: linear-gradient(145deg,#9dc9eb32,#4f769b19);
  border-color: #a3c5e352;
  box-shadow: inset 0 1px 0 #dcefff24,0 4px 9px #07172835;
}
.location { background: linear-gradient(130deg,#f1f8fc,#fff 54%); border-color: var(--ice-edge); }
.location-media {
  grid-template-columns: repeat(2,minmax(0,1fr)) minmax(0,1.2fr);
  grid-template-rows: auto;
  gap: 10px;
  min-height: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
}
.location-photo,.map-frame {
  overflow: hidden;
  border: 1px solid var(--ice-edge);
  border-radius: 13px;
  box-shadow: 0 8px 23px #244e6b13;
}
.location-photo { aspect-ratio: 1; }
.location-photo img { object-position: center; }
.map-frame { min-height: 190px; }
@media (max-width: 1020px) {
  .location-layout { grid-template-columns: minmax(0,1fr); gap: 24px; }
}
@media (max-width: 630px) {
  .location-media { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .map-frame { grid-column: 1 / -1; min-height: 246px; }
}
.contact {
  color: var(--ice-ink);
  background: linear-gradient(110deg,#f3faff40,#e1f2fa48),var(--ice-art) center 64% / cover;
  border-block: 1px solid var(--ice-edge);
}
.brief-form {
  background: linear-gradient(145deg,#ffffffdb,#eaf7fd19),#e6f4fbc4;
  border: 1px solid #fff;
  box-shadow: 0 13px 34px #345f7e24,inset 0 1px 0 #fff;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
.site-footer {
  color: var(--ice-ink);
  background: linear-gradient(116deg,#eaf6fc,#d5ebf7);
  border-color: #c1deec;
}
.footer-brand .wordmark {
  width: 184px;
  overflow: hidden;
  border-radius: 10px;
  background: var(--brand-slate);
  box-shadow: 0 3px 12px #20517924;
}
.footer-body nav h2 { color: var(--ice-ink); }
.footer-brand p,.footer-body nav a,.footer-base { color: var(--ice-muted); }
.footer-body nav a:hover,.footer-base a { color: #145578; }
.footer-base { border-color: #b6d4e7; }

@media (max-width: 899px) {
  .hero h1 { font-size: clamp(3.35rem,6.65vw,4.7rem); }
  .hero-copy { max-width: 55%; }
  .strip-inner { gap: 10px; }
}
@media (max-width: 899px) {
  .sector-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .globe-stage { inset-inline-start: 55%; }
}
@media (min-width: 750px) and (max-width: 840px) {
  .site-header .header-cta { display: none; }
  .site-header .wordmark { width: 155px; }
}
@media (max-width: 749px) {
  .operations .section-head { max-width: 65%; }
  .sector-lead { padding-block: 12px 18px; }
  .globe-stage { inset: -13px auto auto 47%; width: 380px; opacity: .55; }
  .sector-grid { gap: 10px; margin-top: 17px; }
  .site-header .wordmark,.access-header .wordmark { width: clamp(126px,39vw,172px); }
  .header-actions .menu-toggle {
    color: var(--brand-nav);
    background: #d9edfa20;
    border-color: #a8cee685;
  }
  .console-signature img { width: 76px; }
  .hero-inner { align-items: start; min-height: 0; padding-block: 34px 0; }
  .hero-copy { width: 100%; max-width: 510px; padding-bottom: clamp(265px,63vw,395px); }
  .hero h1 { font-size: clamp(3.03rem,9.3vw,4.55rem); margin-bottom: 13px; }
  .hero-copy > p:not(.overline) { max-width: 36ch; }
  .hero-actions { margin-top: 20px; }
  .hero-actions .btn { min-height: 44px; }
  .hero-art {
    height: clamp(278px,65vw,410px);
    -webkit-mask-image: linear-gradient(to bottom,transparent,#000 61px);
    mask-image: linear-gradient(to bottom,transparent,#000 61px);
  }
  .hero-art img { object-position: center 59%; }
  .hero::after {
    background: linear-gradient(to bottom,#2b506c 41%,#2b506c94 55%,transparent 71%),
      linear-gradient(to top,#25557559,transparent 26%);
  }
  .product-strip { scroll-margin-top: 17px; }
  .strip-inner { grid-template-columns: repeat(2,minmax(0,1fr)); padding-block: 0 22px; gap: 12px; }
  .strip-inner a:nth-child(n) { margin-top: 0; border-radius: 12px; }
  .strip-inner a:nth-child(-n+2) { margin-top: -17px; }
  .strip-inner a span { padding: 10px 11px 12px; font-size: .97rem; }
}
@media (max-width: 375px) {
  .hero h1 { font-size: clamp(2.7rem,9.4vw,3.15rem); }
  .hero-actions .btn { padding-inline: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .strip-inner a:hover { transform: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .site-header,.access-header,.console-bar { background: var(--brand-slate); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .hero-actions .btn-glass { background: #29526e; }
  .sector-grid article,.sector-grid article:nth-child(n) { background: #34566f; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .brief-form { background: #f4fafd; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .console { background: #eef8fc; -webkit-backdrop-filter: none; backdrop-filter: none; }
}
