:root {
  --navy: #0E1933;
  --navy2: #0a1426;
  --ink: #0b1322;
  --card: #152237;
  --card2: #101d33;
  --line: #243551;
  --orange: #FA6017;
  --cream: #FFF0D4;
  --blue: #3E5A86;
  --txt: #CBD6E4;
  --mute: #8595ac;
  --disp: 'Rubik', system-ui, sans-serif;
  --mono: 'Space Mono', monospace;
  --ease: cubic-bezier(.5, 0, .18, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

html,
body {
  height: 100%
}

body {
  font-family: var(--disp);
  background: var(--navy);
  color: var(--txt);
  overflow: hidden;
  -webkit-font-smoothing: antialiased
}

#app {
  position: fixed;
  inset: 0;
  overflow: hidden;
  background: var(--navy)
}

#app::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(120, 160, 210, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 160, 210, .05) 1px, transparent 1px),
    linear-gradient(rgba(120, 160, 210, .09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120, 160, 210, .09) 1px, transparent 1px);
  background-size: 46px 46px, 46px 46px, 230px 230px, 230px 230px;
}

#app::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(120% 80% at 50% 42%, transparent 55%, rgba(8, 14, 26, .65));
}

/* chrome */
.top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: clamp(50px, 7vh, 66px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 50px);
  z-index: 60;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 17, 33, .92) 0%, rgba(10, 17, 33, .6) 70%, transparent 100%)
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: .13em;
  font-size: clamp(11px, 1.1vw, 13px);
  color: var(--cream)
}

.brand img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(250, 96, 23, .35))
}

.topright {
  display: flex;
  align-items: center;
  gap: 14px;
  pointer-events: auto
}

.counter {
  font-family: var(--mono);
  font-size: clamp(12px, 1.15vw, 14px);
  color: var(--mute);
  letter-spacing: .08em;
  pointer-events: auto
}

.counter b {
  color: var(--orange)
}

.bot {
  display: flex;
  align-items: center;
  gap: 9px;
  pointer-events: auto
}

.bot button {
  font-family: var(--mono);
  color: var(--txt);
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line);
  border-radius: 8px;
  height: 38px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  transition: .18s;
  font-size: 12px
}

.bot button:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff
}

.bot button svg {
  width: 14px;
  height: 14px;
  fill: currentColor
}

.bot .ic {
  width: 42px;
  padding: 0;
  justify-content: center
}

.prog {
  position: fixed;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--orange);
  z-index: 61;
  transition: width .5s var(--ease);
  width: 0
}

.fab-wa {
  position: fixed;
  right: clamp(16px, 3vw, 32px);
  bottom: clamp(16px, 3vh, 28px);
  z-index: 70;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(250, 96, 23, .4);
  transition: .18s var(--ease)
}

.fab-wa svg {
  width: 28px;
  height: 28px;
  fill: #fff
}

.fab-wa:hover {
  background: #ff7530;
  transform: scale(1.06)
}

.screen {
  position: absolute;
  inset: 0;
  z-index: 5;
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s var(--ease);
}

.screen.on {
  opacity: 1;
  visibility: visible
}

/* ===== WHEEL / HOME ===== */
.wheel-area {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding-top: clamp(50px, 7vh, 66px);
  transition: transform .62s var(--ease), opacity .5s var(--ease);
  transform-origin: 50% 50%;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch
}

#stage.zoom .wheel-area {
  transform: scale(3.4);
  opacity: 0
}

.mapgrid {
  display: grid;
  grid-template-columns: clamp(190px, 17vw, 270px) 1fr clamp(190px, 17vw, 270px);
  min-height: 0;
  height: 100%
}

.wcanvas {
  position: relative;
  min-height: 0
}

.whead {
  position: relative;
  text-align: center;
  padding: clamp(10px, 1.8vh, 20px) 20px 0;
  z-index: 6
}

.whead .e {
  font-family: var(--mono);
  font-weight: 700;
  letter-spacing: .16em;
  font-size: clamp(11px, 1.2vw, 14px);
  color: var(--orange);
  text-transform: uppercase
}

.whead .h {
  color: #fff;
  font-weight: 700;
  font-size: clamp(15px, 1.7vw, 21px);
  margin-top: 6px;
  letter-spacing: -.01em
}

#spokes {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%
}

#spokes line {
  stroke: var(--line);
  stroke-width: 1.5;
  stroke-dasharray: 3 8;
  animation: flow 1.6s linear infinite
}

#spokes line.act {
  stroke: var(--orange)
}

#spokes circle.ring {
  fill: none;
  stroke: rgba(120, 160, 210, .14);
  stroke-width: 1.5;
  stroke-dasharray: 2 7
}

@keyframes flow {
  to {
    stroke-dashoffset: -22
  }
}

.center {
  position: absolute;
  transform: translate(-50%, -50%);
  width: clamp(178px, 19vw, 262px);
  height: clamp(178px, 19vw, 262px);
  border-radius: 50%;
  background: var(--ink);
  border: 1.5px solid var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(16px, 1.8vw, 26px);
  z-index: 5;
  cursor: pointer;
  transition: .22s var(--ease)
}

.center:hover {
  background: #101e39;
  box-shadow: 0 0 0 8px rgba(250, 96, 23, .08)
}

.center::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px dashed rgba(250, 96, 23, .35);
  border-radius: 50%
}

.center .cwrap {
  width: clamp(138px, 14.5vw, 200px)
}

.center .ci {
  font-family: var(--mono);
  font-size: clamp(10px, 1vw, 12px);
  letter-spacing: .14em;
  color: var(--orange);
  margin-bottom: 8px
}

.center b {
  display: block;
  color: #fff;
  font-weight: 800;
  font-size: clamp(15px, 1.6vw, 21px);
  line-height: 1.14
}

.center .cta {
  margin-top: 9px;
  font-family: var(--mono);
  font-size: clamp(9.5px, .95vw, 11px);
  color: var(--mute);
  letter-spacing: .06em
}

.center .cta b {
  display: inline;
  color: var(--orange);
  font-size: inherit;
  font-weight: 700
}

.node {
  position: absolute;
  transform: translate(-50%, -50%);
  z-index: 6;
  cursor: pointer
}

.node .circ {
  width: clamp(58px, 6.2vw, 84px);
  height: clamp(58px, 6.2vw, 84px);
  border-radius: 50%;
  background: var(--card);
  border: 1.5px solid var(--line);
  display: grid;
  place-items: center;
  transition: .22s var(--ease)
}

.node .circ svg {
  width: 40%;
  height: 40%;
  fill: var(--orange);
  transition: .22s
}

.node .nl {
  position: absolute;
  top: calc(100% + 9px);
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-weight: 700;
  font-size: clamp(11px, 1.15vw, 14px);
  color: #fff;
  text-align: center
}

.node:hover .circ,
.node.active .circ {
  background: var(--orange);
  border-color: var(--orange);
  transform: scale(1.06)
}

.node:hover .circ svg,
.node.active .circ svg {
  fill: #fff
}

/* side rails (home only) */
.rail {
  position: relative;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  padding: clamp(10px, 2vh, 26px) clamp(6px, 1vw, 14px);
  z-index: 6
}

.rail .rtag {
  font-family: var(--mono);
  font-weight: 700;
  letter-spacing: .14em;
  font-size: clamp(10px, 1vw, 12px);
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 2px
}

.rail p {
  font-size: clamp(12.5px, 1.15vw, 15px);
  line-height: 1.44;
  color: var(--txt)
}

.rail .addr {
  font-size: clamp(11px, 1vw, 13px);
  color: var(--mute);
  line-height: 1.4;
  margin-top: 2px
}

.rail ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 2px
}

.rail li {
  position: relative;
  padding-left: 20px;
  font-size: clamp(12px, 1.1vw, 14.5px);
  line-height: 1.34;
  color: var(--txt)
}

.rail li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .48em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--orange)
}

.rail .wabtn {
  margin-top: 6px;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: #fff;
  font-family: var(--mono);
  font-weight: 700;
  font-size: clamp(11px, 1vw, 13px);
  letter-spacing: .05em;
  padding: 10px 16px;
  border-radius: 9px;
  text-decoration: none;
  transition: .18s
}

.rail .wabtn:hover {
  background: #ff7530
}

.rail .wabtn svg {
  width: 15px;
  height: 15px;
  fill: #fff
}

.rail.left {
  align-items: flex-end;
  text-align: right
}

.rail.left li {
  padding-left: 0;
  padding-right: 20px
}

.rail.left li::before {
  left: auto;
  right: 0
}

.rail.left .wabtn {
  align-self: flex-end
}

/* footer (home only) */
.mapfooter {
  position: relative;
  z-index: 6;
  border-top: 1px solid var(--line);
  padding: clamp(12px, 1.6vh, 18px) clamp(20px, 4vw, 50px) clamp(24px, 4vh, 40px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  background: linear-gradient(180deg, transparent, rgba(8, 14, 26, .35))
}

.mapfooter .fitem {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: clamp(11.5px, 1.05vw, 13.5px);
  color: var(--mute);
  text-decoration: none;
  transition: .18s
}

.mapfooter .fitem:hover {
  color: var(--orange)
}

.mapfooter .fitem svg {
  width: 15px;
  height: 15px;
  fill: var(--orange);
  flex: none
}

.mapfooter .fcol {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 26px
}

.mapfooter .fcopy {
  font-family: var(--mono);
  font-size: 10.5px;
  color: #516180;
  letter-spacing: .03em
}

/* ===== DETAIL ===== */
.detail {
  display: flex;
  flex-direction: column;
  z-index: 20;
  transform: scale(.93);
  transition: opacity .42s var(--ease), transform .5s var(--ease);
  padding: clamp(72px, 11vh, 108px) clamp(40px, 5vw, 100px) clamp(48px, 7vh, 72px);
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch
}

.detail.on {
  transform: scale(1)
}

.eyebrow {
  font-family: var(--mono);
  font-weight: 700;
  letter-spacing: .2em;
  font-size: clamp(13px, 1.4vw, 18px);
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: clamp(8px, 1.4vh, 16px)
}

.eyebrow .n {
  color: var(--mute)
}

h2 {
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -.015em;
  color: #fff;
  font-size: clamp(30px, 4vw, 58px);
  margin-bottom: clamp(14px, 2.2vh, 28px)
}

.fill {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column
}

.o {
  color: var(--orange)
}

strong {
  color: #fff;
  font-weight: 700
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  position: relative
}

.card2 {
  background: var(--card2)
}

.icon {
  border-radius: 9px;
  background: var(--orange);
  display: grid;
  place-items: center;
  flex: none
}

.icon svg {
  fill: #fff
}

[data-anim] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s var(--ease), transform .55s var(--ease)
}

.detail.on [data-anim] {
  opacity: 1;
  transform: none;
  transition-delay: calc(var(--i, 0)*80ms + 160ms)
}

.lead {
  font-size: clamp(16px, 1.7vw, 23px);
  line-height: 1.44;
  color: var(--cream);
  max-width: 78ch;
  margin-bottom: clamp(16px, 2.4vh, 26px)
}

/* two-panel (Tráfego / Sites) */
.two {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2vw, 30px)
}

.panel {
  display: flex;
  flex-direction: column;
  padding: clamp(20px, 2.4vw, 38px)
}

.panel .ph {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: clamp(10px, 1.8vh, 18px)
}

.panel .ph .icon {
  width: clamp(44px, 4vw, 58px);
  height: clamp(44px, 4vw, 58px)
}

.panel .ph .icon svg {
  width: 52%;
  height: 52%
}

.panel .plbl {
  font-family: var(--mono);
  font-weight: 700;
  letter-spacing: .12em;
  font-size: clamp(11px, 1.1vw, 14px);
  color: var(--orange)
}

.panel h3 {
  color: #fff;
  font-size: clamp(19px, 2.1vw, 28px);
  font-weight: 800;
  line-height: 1.08
}

.panel p {
  font-size: clamp(14px, 1.55vw, 19px);
  line-height: 1.42
}

.solnote {
  margin-top: clamp(12px, 1.8vh, 20px);
  text-align: center;
  font-size: clamp(13px, 1.4vw, 18px);
  color: var(--cream);
  font-style: italic
}

/* pillar grid (flagship) */
.pilgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: clamp(12px, 1.5vw, 20px)
}

.pilcard {
  padding: clamp(15px, 1.8vw, 26px);
  display: flex;
  flex-direction: column
}

.pilcard .pn {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--mute);
  letter-spacing: .1em;
  margin-bottom: 4px
}

.pilcard h4 {
  color: #fff;
  font-size: clamp(15px, 1.5vw, 19px);
  font-weight: 700;
  margin-bottom: clamp(8px, 1.2vh, 12px);
  line-height: 1.14
}

.pilcard ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px
}

.pilcard li {
  position: relative;
  padding-left: 16px;
  font-size: clamp(11.5px, 1.1vw, 13.5px);
  line-height: 1.34;
  color: var(--txt)
}

.pilcard li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .5em;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: var(--orange)
}

.pilcard li b {
  color: #fff
}

.ask {
  position: relative;
  display: flex;
  gap: 18px;
  align-items: center;
  background: var(--ink);
  border: 1.5px solid var(--orange);
  border-radius: 14px;
  padding: clamp(14px, 1.8vw, 26px);
  margin-top: clamp(12px, 1.8vh, 18px)
}

.ask .icon {
  width: clamp(42px, 3.8vw, 54px);
  height: clamp(42px, 3.8vw, 54px)
}

.ask .icon svg {
  width: 50%;
  height: 50%
}

.ask .lbl {
  font-family: var(--mono);
  font-weight: 700;
  letter-spacing: .14em;
  font-size: clamp(11px, 1.1vw, 13px);
  color: var(--orange);
  margin-bottom: 5px
}

.ask p {
  color: #fff;
  font-weight: 700;
  font-size: clamp(14px, 1.6vw, 21px);
  line-height: 1.28
}

/* portfolio image grid */
.imggrid {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 1.8vw, 24px)
}

.imggrid.two2 {
  grid-template-columns: 1fr 1fr
}

.imgcard {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0
}

.imgcard .ph {
  height: clamp(200px, 32vh, 360px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--card2);
  overflow: hidden
}

.imgcard img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain
}

.imgcard .cap {
  padding: 12px clamp(14px, 1.6vw, 20px);
  font-family: var(--mono);
  font-size: clamp(11px, 1.05vw, 13px);
  color: var(--mute);
  letter-spacing: .06em;
  border-top: 1px solid var(--line)
}

.imgcard .cap b {
  color: #fff
}

/* video carousel */
.vcarousel {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1.6vh, 16px)
}

.vstage {
  position: relative;
  width: 100%;
  max-width: 560px;
  height: clamp(220px, 48vh, 440px);
  display: flex;
  align-items: center;
  justify-content: center
}

.vstage video {
  max-width: 100%;
  max-height: 100%;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #000;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45)
}

.vnav {
  display: flex;
  align-items: center;
  gap: 16px
}

.vnav button {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--line);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: .18s
}

.vnav button:hover {
  background: var(--orange);
  border-color: var(--orange)
}

.vnav button svg {
  width: 16px;
  height: 16px;
  fill: currentColor
}

.vlabel {
  font-family: var(--mono);
  font-size: clamp(11px, 1.1vw, 13px);
  color: var(--mute);
  letter-spacing: .05em;
  text-align: center;
  min-width: 170px
}

.vlabel b {
  color: var(--orange)
}

@media (max-width:980px) {
  .mapgrid {
    grid-template-columns: 1fr
  }

  .rail {
    display: none
  }
}

@media (max-width:920px) {

  .two,
  .pilgrid,
  .imggrid {
    grid-template-columns: 1fr
  }

  .pilgrid {
    grid-template-rows: none
  }
}

@media (max-width:640px) {
  .top {
    height: auto;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 14px;
    padding-top: 10px;
    padding-bottom: 8px
  }

  .brand {
    order: 1
  }

  .topright {
    order: 2;
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 6px
  }

  .bot {
    flex-wrap: wrap;
    justify-content: center
  }

  .node .nl {
    white-space: normal;
    max-width: 84px;
    line-height: 1.15
  }

  .wheel-area {
    padding-top: clamp(96px, 20vh, 128px)
  }

  .detail {
    padding-top: clamp(96px, 20vh, 128px)
  }
}

@media (max-width:400px) {
  .center {
    width: clamp(128px, 40vw, 178px);
    height: clamp(128px, 40vw, 178px);
    padding: 10px
  }

  .center .cwrap {
    width: clamp(96px, 32vw, 138px)
  }

  .center .ci {
    font-size: 9px;
    margin-bottom: 4px
  }

  .center b {
    font-size: 13px;
    line-height: 1.1
  }

  .center .cta {
    margin-top: 5px;
    font-size: 8.5px
  }

  .node .circ {
    width: clamp(44px, 12vw, 58px);
    height: clamp(44px, 12vw, 58px)
  }

  .node .nl {
    max-width: 68px
  }
}

@media (prefers-reduced-motion:reduce) {
  * {
    animation: none !important
  }

  .wheel-area {
    transition: opacity .2s !important;
    transform: none !important
  }

  #stage.zoom .wheel-area {
    transform: none;
    opacity: 0
  }

  [data-anim] {
    opacity: 1 !important;
    transform: none !important
  }
}