:root {
  --wpai-primary: #555;
  --wpai-accent: #C20000;
  --wpai-text: #1f2937;
  --wpai-muted: #6b7280;
  --wpai-bg: #ffffff;
  --main-text: #000;
  --title-text: #1F88C2;
  --link: #BB3437;
  --link-hover: #ED3237;
  --subtitle: #BBCCDC;
  --panel: #F0F0F0;
  --wpa-azul: rgb(14, 31, 120);
  --wpa-vermelho: rgb(194, 0, 0);
  --ink: #1c1f26;
  --muted: #6b7280;
  --bg: #f7f8fc;
  --card: #fff;
  --line: #e5e7eb;
  --green: #1fbf75;
  --purple: #a855f7;
  --gold: #f59e0b;
  --blue: var(--wpa-azul)
}

body,
html {
  overflow-x: hidden !important
}

* {
  cursor: default;
  box-sizing: border-box
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  color: var(--wpai-text);
  background: var(--wpai-bg)
}

input[type=search],
input[type=text] {
  cursor: text !important
}

.tile,
.tile .text,
.wpa-news-card,
a,
button {
  cursor: pointer !important
}

a {
  color: var(--wpai-primary);
  text-decoration: none
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #f0f0f0;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: -20px;
  padding-top: 20px;
  padding-bottom: 20px
}

.header__bar {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 16px
}

.header__logo img {
  height: 50px;
  width: auto;
  display: block
}

.header__spacer {
  flex: 1
}

.site-search {
  position: relative;
  flex: 1;
  max-width: 500px;
  display: none
}

.site-search input[type=search] {
  width: 100%;
  padding: 10px 38px 10px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 14px
}

.site-search button {
  position: absolute;
  right: 4px;
  top: 4px;
  border: 0;
  background: #f3f4f6;
  border-radius: 6px;
  height: 30px;
  width: 30px;
  cursor: pointer
}

.cart {
  display: flex;
  align-items: center;
  gap: 6px
}

.cart a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  background: #fff
}

.cart .count {
  min-width: 18px;
  height: 18px;
  line-height: 18px;
  border-radius: 999px;
  background: var(--wpai-accent);
  color: #fff;
  font-size: 12px;
  text-align: center;
  padding: 0 5px
}

.nav {
  display: none
}

.nav--desktop {
  display: none
}

.menu-toggle {
  border: 1px solid #e5e7eb;
  background: #fff;
  border-radius: 8px;
  padding: 8px 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: #111;
  display: block;
  position: relative
}

.menu-toggle span::after,
.menu-toggle span::before {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: #111
}

.menu-toggle span::before {
  top: -6px
}

.menu-toggle span::after {
  top: 6px
}

.mobile-panel {
  display: none;
  border-top: 1px solid #e5e7eb;
  background: #fff
}

.mobile-panel.open {
  display: block
}

.mobile-panel .menu {
  list-style: none;
  margin: 0;
  padding: 6px 10px
}

.mobile-panel .menu>li {
  border-bottom: 1px dashed #eee
}

.mobile-panel .menu a {
  display: block;
  padding: 10px 6px;
  color: #111
}

.mobile-panel .sub-menu {
  padding-left: 16px
}

@media (min-width:900px) {
  .site-search {
    display: block
  }

  .menu-toggle {
    display: none
  }

  .nav--desktop {
    display: block
  }

  .nav--desktop .menu {
    display: flex;
    gap: 18px;
    list-style: none;
    margin: 0;
    padding: 0
  }

  .nav--desktop .menu>li>a {
    display: inline-flex;
    align-items: center;
    padding: 10px 8px;
    color: #111;
    border-radius: 8px
  }

  .nav--desktop .menu>li:hover>a {
    background: #f6f7f9
  }

  .nav--desktop .menu li {
    position: relative
  }

  .nav--desktop .menu .sub-menu {
    position: absolute;
    top: 110%;
    left: 0;
    min-width: 220px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 8px 6px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .06);
    display: none;
    z-index: 30
  }

  .nav--desktop .menu li:hover>.sub-menu {
    display: block
  }

  .nav--desktop .menu .sub-menu li a {
    display: block;
    padding: 8px 10px;
    border-radius: 8px;
    color: #111
  }

  .nav--desktop .menu .sub-menu li a:hover {
    background: #f6f7f9
  }
}

.container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0
}

.entry-title {
  font-size: clamp(28px, 2.5vw, 40px);
  margin: 12px 0 6px
}

.entry {
  line-height: 1.65
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  background: var(--wpai-primary);
  color: #fff;
  border-radius: 8px;
  border: none;
  padding: .6em 1em
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
  opacity: .9
}

.woocommerce .price {
  color: var(--wpai-accent);
  font-weight: 600
}

.woocommerce ul.products li.product a img {
  border-radius: 12px
}

.woocommerce .woocommerce-breadcrumb {
  display: none
}

.woocommerce .woocommerce-message {
  border-color: var(--wpai-primary)
}

.woocommerce .woocommerce-cart .actions .coupon .input-text {
  border-radius: 8px
}

.site-footer {
  border-top: 1px solid #e5e7eb;
  margin-top: 40px
}

.site-footer .inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 16px;
  color: #6b7280;
  font-size: 14px
}

#home-banner {
  background: url(/wp-content/themes/wpa-industria/banner_home_menor.jpg) left bottom no-repeat;
  background-size: cover;
  width: 100%;
  min-height: 400px;
  max-height: 450px;
  height: 30vw
}

#industry-banner {
  background: url(/wp-content/themes/wpa-industria/banner_industria.jpg) center center no-repeat;
  background-size: cover;
  width: 100%;
  height: 450px
}

#home-banner .frame {
  width: 40vw;
  height: fit-content;
  position: relative;
  margin-right: 6%;
  margin-left: auto;
  top: 50%;
  transform: translate(0, -50%)
}

#industry-banner .frame {
  position: relative;
  transform: translate(0, -50%);
  top: 50%;
  height: fit-content;
  width: 80vw;
  margin-left: auto;
  margin-right: auto;
  font-size: 120%
}

.frame {
  font-size: 90%;
  background: rgba(200, 200, 200, .8);
  padding: 20px;
  border-radius: 20px
}

.frame h1,
.frame p {
  text-align: justify
}

#funcionalidades {
  min-height: 250px
}

#rotate-words {
  font-size: 2em;
  font-family: Oswald, sans-serif;
  position: relative;
  min-height: 250px;
  height: fit-content;
  margin-left: auto;
  margin-right: auto;
  width: 60vw
}

#rotate-words .funcionalidade {
  position: absolute;
  height: 100%;
  padding-left: 160px;
  padding-top: 12%;
  padding-right: 5%;
  width: 100%;
  text-align: end
}

#rotate-words span {
  display: block;
  width: 100%;
  font-size: .7em;
  font-family: Rubik, sans-serif
}

#rotate-words div {
  opacity: 0;
  width: 100%;
  display: block;
  animation: rotate-word 32s linear infinite 0s
}

@keyframes rotate-word {
  0% {
    opacity: 0;
    transform: translateX(0);
    filter: blur(10px);
    transform: scale(1.2)
  }

  3% {
    opacity: 1;
    transform: translateX(0);
    filter: blur(0);
    transform: scale(.9)
  }

  12% {
    opacity: 1;
    transform: translateX(0);
    filter: blur(0);
    transform: scale(1)
  }

  16% {
    opacity: 0;
    transform: translateX(0);
    filter: blur(10px);
    transform: scale(1.2)
  }

  80% {
    opacity: 0
  }

  100% {
    opacity: 0
  }
}

#rotate-words div:nth-child(2) {
  animation-delay: 4s
}

#rotate-words div:nth-child(3) {
  animation-delay: 8s
}

#rotate-words div:nth-child(4) {
  animation-delay: 12s
}

#rotate-words div:nth-child(5) {
  animation-delay: 16s
}

#rotate-words div:nth-child(6) {
  animation-delay: 20s
}

#rotate-words div:nth-child(7) {
  animation-delay: 24s
}

#rotate-words div:nth-child(8) {
  animation-delay: 28s
}

@keyframes author {
  0% {
    opacity: 0;
    transform: translateY(100px);
    filter: blur(10px);
    transform: scaleY(2)
  }

  20% {
    opacity: 0;
    transform: translateY(200px);
    filter: blur(10px);
    transform: scaleY(2)
  }

  30% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
    transform: scaleY(1)
  }

  90% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
    transform: scaleY(.9)
  }

  100% {
    opacity: 0;
    transform: translateY(0);
    filter: blur(10px);
    transform: scale(2)
  }
}

.funcionalidade p {
  color: var(--title-text);
  line-height: normal;
  margin: 0
}

.funcionalidade span {
  color: var(--link)
}

.apontamentos {
  background: url(/wp-content/themes/wpa-industria/apontamentos.png) 0 center no-repeat
}

.composicao {
  background: url(/wp-content/themes/wpa-industria/composicao.png) 0 center no-repeat
}

.controle {
  background: url(/wp-content/themes/wpa-industria/controle.png) 0 center no-repeat
}

.inventarios {
  background: url(/wp-content/themes/wpa-industria/inventarios.png) 0 center no-repeat
}

.movimentacoes {
  background: url(/wp-content/themes/wpa-industria/movimentacoes.png) 0 center no-repeat
}

.orcamentos {
  background: url(/wp-content/themes/wpa-industria/orcamentos.png) 0 center no-repeat
}

.ordens {
  background: url(/wp-content/themes/wpa-industria/ordens.png) 0 center no-repeat
}

.requisicoes {
  background: url(/wp-content/themes/wpa-industria/requisicoes.png) 0 center no-repeat
}

.pricing {
  padding: 40px;
  background: #f8f8f8;
  text-align: center;
  font-family: Arial, sans-serif
}

.pricing h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #222
}

.toggle-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px
}

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0
}

.slider {
  position: absolute;
  cursor: pointer;
  background-color: #ccc;
  border-radius: 24px;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  transition: .4s
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: #fff;
  border-radius: 50%;
  transition: .4s
}

input:checked+.slider {
  background-color: #c20000
}

input:checked+.slider:before {
  transform: translateX(26px)
}

.pricing-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px
}

.card {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  width: 260px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
  transition: transform .3s ease, box-shadow .3s ease
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .12)
}

.card h3 {
  color: #c20000;
  font-size: 1.4rem;
  margin-bottom: 10px
}

.card .license {
  color: #555;
  font-size: .9rem;
  margin-bottom: 15px
}

.card .price {
  font-size: 1.6rem;
  font-weight: 700;
  color: #0e1f78;
  margin-bottom: 20px;
  display: none
}

.card .price span {
  display: block;
  font-size: .9rem;
  font-weight: 400;
  color: #666
}

.card button {
  background: #c20000;
  color: #fff;
  border: none;
  padding: 10px 15px;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background .3s ease
}

.card button:hover {
  background: #a00000
}

.highlight {
  background: #fff7f7;
  border: 2px solid #c20000;
  position: relative
}

.badge {
  background: #c20000;
  color: #fff;
  font-size: .8rem;
  padding: 4px 8px;
  position: absolute;
  top: -10px;
  right: -10px;
  border-radius: 4px
}

@media (max-width:600px) {
  .pricing-container {
    flex-direction: column;
    align-items: center
  }
}

.wpa-news {
  --wpa-accent: var(--wpai-accent);
  --wpa-accent-contrast: #fff;
  --wpa-card-bg: #ffffff;
  --wpa-card-border: #e6e9ef;
  --wpa-text: #1f2937;
  --wpa-muted: #6b7280
}

.wpa-news-header {
  position: relative;
  margin: 32px 0 24px;
  height: 72px
}

.wpa-news-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 10px;
  background: var(--wpa-accent);
  opacity: .25;
  border-radius: 8px;
  z-index: 0
}

.wpa-news-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: var(--wpa-accent);
  color: var(--wpa-accent-contrast);
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: .2px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: none
}

.wpa-news-badge span {
  line-height: 1
}

.wpa-news-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
  padding-left: 20px;
  padding-right: 20px
}

@media (max-width:768px) {
  .wpa-news-grid {
    grid-template-columns: 1fr
  }
}

@media (min-width:769px) and (max-width:1024px) {
  .wpa-news-grid {
    grid-template-columns: repeat(6, 1fr)
  }
}

.wpa-news-card {
  grid-column: span 4;
  background: var(--wpa-card-bg);
  border: 1px solid var(--wpa-card-border);
  border-radius: 16px;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease
}

@media (max-width:1024px) {
  .wpa-news-card {
    grid-column: span 6
  }
}

@media (max-width:768px) {
  .wpa-news-card {
    grid-column: span 12
  }
}

.wpa-news-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, .06)
}

.wpa-news-thumb,
.wpa-news-thumb img {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover
}

.wpa-news-thumb--placeholder {
  width: 100%;
  height: 200px;
  background: #f3f4f6
}

.wpa-news-content {
  padding: 16px 16px 18px;
  color: var(--wpa-text)
}

.wpa-news-title {
  margin: 0 0 6px;
  font-size: 1.05rem;
  line-height: 1.3
}

.wpa-news-title a {
  color: inherit;
  text-decoration: none
}

.wpa-news-title a:hover {
  text-decoration: underline
}

.wpa-news-meta {
  display: block;
  font-size: .85rem;
  color: var(--wpa-muted);
  margin-bottom: 10px
}

.wpa-news-excerpt {
  margin: 0 0 14px;
  color: var(--wpa-text)
}

.wpa-news-readmore {
  display: inline-block;
  font-weight: 600;
  text-decoration: none;
  color: var(--wpa-accent)
}

.wpa-news-readmore:hover {
  text-decoration: underline
}

.wpa-news-empty {
  color: var(--wpa-muted);
  margin-top: 8px;
  text-align: center
}

.type-page,
.type-post {
  padding: 5%
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  text-decoration: none
}

nav ul li {
  display: inline-block;
  margin: 0 15px;
  text-decoration: none
}

nav ul li a {
  position: relative;
  text-decoration: none;
  color: #0e1f78;
  font-weight: 500;
  transition: color .3s ease;
  padding-bottom: 3px;
  text-decoration: none
}

nav ul li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 3px;
  left: 0;
  bottom: 0;
  background-color: #c20000;
  transition: width .3s ease;
  text-decoration: none
}

nav ul li a:focus,
nav ul li a:hover {
  color: #c20000;
  text-decoration: none
}

nav ul li a:focus::after,
nav ul li a:hover::after {
  width: 100%
}

@media (max-width:768px) {
  nav ul li {
    display: block;
    margin: 10px 0
  }
}

@media (max-width:600px) {
  #home-banner {
    background: url(/wp-content/themes/wpa-industria/bannerwpa_mobile.jpg) 0 0 no-repeat;
    height: 100vh;
    max-height: 650px;
    background-size: cover
  }

  #home-banner .frame {
    width: 90vw;
    height: fit-content;
    position: relative;
    margin-right: 5%;
    margin-left: auto;
    top: 25%;
    transform: translate(0, -50%);
    font-size: 70%
  }

  #industry-banner {
    background-size: cover;
    width: 100%;
    height: 70vh;
    max-height: 480px;
    background-position: 0 0;
    animation: deslizar-fundo 20s linear infinite
  }

  #industry-banner .frame {
    width: 90vw;
    font-size: 90%
  }

  @keyframes deslizar-fundo {
    0% {
      background-position: 0 0
    }

    100% {
      background-position: 100% 0
    }
  }

  #functionalidades .container {
    font-size: 90%
  }

  #rotate-words,
  #rotate-words p,
  #rotate-words span {
    text-align: end !important;
    width: 100% !important
  }

  #rotate-words .funcionalidade {
    position: absolute;
    padding: 0;
    height: 100%;
    padding-left: 140px;
    padding-right: 10px;
    width: 100%;
    background-color: #fff;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center
  }

  .funcionalidade p {
    font-size: 55%
  }

  .functionalidade span {
    font-size: 60%
  }
}

.novidades-section {
  padding: 48px 24px
}

.novidades-head {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 36px
}

.novidades-badge {
  position: relative;
  z-index: 2;
  display: inline-block;
  padding: 12px 28px;
  border-radius: 999px;
  background: #c20000;
  color: #fff;
  font-weight: 700;
  letter-spacing: .2px
}

.novidades-bar {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  height: 6px;
  background: #0e1f78;
  border-radius: 4px
}

.novidades-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px
}

@media (max-width:1024px) {
  .novidades-grid {
    grid-template-columns: repeat(8, 1fr)
  }
}

@media (max-width:640px) {
  .novidades-grid {
    grid-template-columns: repeat(4, 1fr)
  }
}

.novidade-card {
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .06)
}

@media (max-width:1024px) {
  .novidade-card {
    grid-column: span 4
  }
}

@media (max-width:640px) {
  .novidade-card {
    grid-column: span 4
  }
}

.novidade-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, .08)
}

.novidade-thumb {
  display: block;
  aspect-ratio: 16/9;
  background: #f2f4f8
}

.novidade-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block
}

.novidade-thumb.placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #f2f4f8 0, #e9edf3 50%, #f2f4f8 100%)
}

.novidade-body {
  padding: 16px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px
}

.novidade-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #6b7280;
  font-size: 13px
}

.novidade-chip {
  display: inline-block;
  padding: 3px 8px;
  font-size: 12px;
  border-radius: 999px;
  background: rgba(14, 31, 120, .08);
  color: #0e1f78;
  font-weight: 600
}

.novidade-title {
  margin: 0;
  font-size: 18px;
  line-height: 1.3;
  color: #111827
}

.novidade-title a {
  color: inherit;
  text-decoration: none
}

.novidade-title a:hover {
  text-decoration: underline
}

.novidade-excerpt {
  margin: 0;
  color: #4b5563;
  font-size: 14px
}

.novidade-readmore {
  align-self: flex-start;
  margin-top: 6px;
  font-weight: 700;
  font-size: 14px;
  color: #c20000;
  text-decoration: none
}

.novidade-readmore:hover {
  text-decoration: underline
}

.novidades-empty {
  grid-column: 1/-1;
  text-align: center;
  color: #6b7280;
  padding: 24px 0
}

.map-title {
  font: 800 22px/1.2 system-ui;
  color: var(--wpa-azul);
  margin: 0 0 10px
}

.map-note {
  color: var(--muted);
  font: 500 13px/1.4 system-ui;
  margin: 0 0 12px
}

.radial-map {
  position: relative;
  width: 100%;
  margin: auto;
  height: clamp(420px, 100vh, 560px);
  background: radial-gradient(120% 120% at 50% 40%, #fff 0, #f3f5fb 65%, #eef2f8 100%);
  border-radius: 24px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .08), inset 0 1px 0 #fff;
  --n: 7;
  --start: -90deg;
  --orbit-base: clamp(220px, 32vw, 340px);
  --orbit-gap: clamp(-140px, -18vw, -50px);
  --orbit: clamp(160px, calc(var(--orbit-base) + var(--orbit-gap)), 520px)
}

.hub {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: clamp(130px, 20vmin, 180px);
  height: clamp(130px, 20vmin, 180px);
  border-radius: clamp(20px, 8vmin, 50px);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 22px;
  background: linear-gradient(180deg, #1f88c2, #086a9e);
  color: #fff;
  font: 800 clamp(18px, 2vmin, 22px)/1 system-ui;
  letter-spacing: .3px;
  box-shadow: inset 0 -8px 0 rgba(0, 0, 0, .4), 0 18px 36px rgba(0, 0, 0, .18)
}

.hub small {
  display: block;
  font: 600 12px/1.2 system-ui;
  opacity: .9;
  margin-top: 6px
}

.spoke {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--orbit);
  height: 2px;
  margin-top: -1px;
  background: rgba(14, 31, 120, .12);
  transform-origin: left center;
  --angle: calc(var(--start) + var(--i)*360deg/var(--n));
  transform: rotate(var(--angle))
}

.orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  --angle: calc(var(--start) + var(--i)*360deg/var(--n));
  transform: translate(-50%, -50%) rotate(var(--angle)) translateX(var(--orbit)) rotate(calc(-1 * var(--angle)))
}

.node {
  width: clamp(112px, 17vmin, 150px);
  text-decoration: none;
  color: inherit;
  display: block
}

.tile {
  border-radius: 16px;
  border: none !important;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: none !important;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  width: clamp(130px, 20vmin, 180px);
  height: clamp(130px, 20vmin, 180px);
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-size: 96% 96% !important;
  background-color: transparent !important;
  transform-origin: center;
  will-change: transform
}

.tile:hover {
  background-size: 100% 100% !important
}

.tile .text {
  width: 100%;
  line-height: 16px;
  display: block;
  margin-block: 0 !important;
  margin: 0 !important;
  padding: 6vh 1vh 0 1vh !important;
  color: #fff;
  font-family: sans-serif;
  font-weight: 700;
  text-align: center;
  text-shadow: 0 0 10px #000;
  text-decoration: none !important
}

.node:hover .tile {
  transform: translateY(-2px);
  border-color: #d7dce6
}

.node:focus-within,
.node:hover {
  z-index: 10
}

@media (hover:hover) and (pointer:fine) {
  .node:hover .tile {
    transform: translateY(-2px) scale(var(--tile-scale))
  }
}

.node:focus-visible .tile,
.node:focus-within .tile {
  transform: translateY(-2px) scale(var(--tile-scale));
  outline: 0
}

.node:focus-visible .tile::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 18px;
  pointer-events: none
}

@media (prefers-reduced-motion:reduce) {
  .tile {
    transition: none
  }
}

.icon {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 16px
}

.g .icon {
  background: var(--green)
}

.p .icon {
  background: var(--purple)
}

.y .icon {
  background: var(--gold)
}

.b .icon {
  background: var(--blue)
}

.label {
  font: 600 13px/1.2 system-ui;
  color: #1f2937
}

.leaf .tile {
  opacity: .92;
  pointer-events: none
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  place-items: center;
  background: rgba(15, 23, 42, .18);
  backdrop-filter: blur(2px);
  z-index: 80
}

.modal:target {
  display: grid
}

.modal .sheet {
  width: min(560px, 92vw);
  max-height: 80vh;
  overflow: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .25);
  transform: scale(.96);
  opacity: 0;
  transition: transform .25s ease, opacity .25s ease
}

.modal:target .sheet {
  transform: scale(1);
  opacity: 1
}

.sheet h3 {
  margin: 0 0 8px;
  color: var(--wpa-vermelho);
  font: 800 20px/1.2 system-ui
}

.sheet .bc {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px
}

.sheet .bc a {
  background: #eef2ff;
  color: var(--wpa-azul);
  text-decoration: none;
  border-radius: 999px;
  padding: 6px 10px;
  font: 600 13px/1 system-ui
}

.sheet .bc span {
  font: 600 13px/1 system-ui;
  opacity: .6
}

.sheet .items {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px
}

.sheet .item {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px dashed #e5e7eb;
  border-radius: 12px;
  padding: 10px;
  background: #fff
}

.sheet .item .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #94a3b8
}

.sheet .close {
  position: sticky;
  top: 0;
  margin: -6px -6px 8px auto;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  text-decoration: none;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #777
}

details.node-mini {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 8px;
  background: #fff
}

summary.mini {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer
}

summary.mini::-webkit-details-marker {
  display: none
}

.mini .icon {
  width: 22px;
  height: 22px;
  border-radius: 8px;
  font-size: 12px
}

.children {
  margin-top: 8px;
  margin-left: 10px;
  border-left: 2px dashed #eceef4;
  padding-left: 12px;
  display: grid;
  gap: 8px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height .45s ease, opacity .3s ease
}

details[open]>.children {
  max-height: 640px;
  opacity: 1
}

.site-article h1{
  font-size: 4vw;
  padding-left: 1vw;
  padding-top: 1vw;
}

.site-article .lead-media,
.site-article img {
  width: 100%;
  max-width: 30vw;
  min-width: 25vw;
  height: auto;
}

.header__logo, .header__logo img{
  cursor: pointer !important;
}

@media screen and (max-width:768px) {

  .site-article .lead-media,
  .site-article img {
    width: 100%;
    max-width: 100vw;
    min-width: 85vw;
    height: auto;
  }

  .hub {
    width: clamp(110px, 20vmin, 180px) !important;
    height: clamp(109px, 20vmin, 180px) !important;
    padding: 10px !important
  }

  .tile {
    transform: scale(.8) !important;
    width: clamp(120px, 20vmin, 180px) !important;
    height: clamp(120px, 20vmin, 180px) !important;
    background-size: 100% 100% !important
  }

  .node {
    width: clamp(120px, 20vmin, 130px) !important
  }

  .radial-map {
    --start: -10deg !important;
    --orbit-base: clamp(-90px, -80vw, -200px) !important;
    --orbit-gap: 0px !important;
    --orbit: clamp(132px, calc(var(--orbit-base) + var(--orbit-gap)), 220px) !important;
    height: clamp(80vmin, 100vmin, 60vh) !important
  }

  .tile .text {
    padding: 5vh 0px 0px 0px !important
  }
}