/* Navegação em vidro */
.header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 20;
  width: min(1160px, calc(100% - 48px));
  height: 76px;
  padding: 0 24px;
  transform: translateX(-50%);
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 999px;
  background: rgba(60, 35, 91, .46);
  box-shadow: 0 16px 38px rgba(29, 13, 48, .22), inset 0 1px 0 rgba(255,255,255,.25);
  backdrop-filter: blur(18px) saturate(145%);
  transition: transform .35s ease, opacity .35s ease;
}
.header.header-hidden { transform: translate(-50%, -145%); opacity: 0; pointer-events: none; }
.logo { display: grid; place-items: center; width: 150px; height: 62px; }
.logo img { width: 136px; height: 58px; object-fit: contain; filter: brightness(0) invert(1) drop-shadow(0 2px 4px rgba(24, 9, 46, .85)); opacity: 1; }
.header nav { color: rgba(255,255,255,.88); }
.header nav a { transition: color .2s ease; }
.header nav a:hover { color: #fff; }
.header nav a,
.link-light,
.text-button,
.cards a {
  position: relative;
  padding-bottom: 7px;
}
.header nav a::after,
.link-light::after,
.text-button::after,
.cards a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  border-radius: 99px;
  background: #ff9a8e;
  transition: transform .3s ease;
}
.header nav a:hover::after,
.link-light:hover::after,
.text-button:hover::after,
.cards a:hover::after {
  transform: scaleX(1);
}
.header nav a {
  padding-bottom: 0;
}
.header nav a::after {
  bottom: -8px;
}
.header-button {
  border: 1px solid rgba(255,255,255,.42);
  background: linear-gradient(135deg, #a974ed, #8056d0);
  box-shadow: 0 8px 18px rgba(42, 18, 74, .28), inset 0 1px 0 rgba(255,255,255,.32);
}
.header-button:hover { background: linear-gradient(135deg, #ff887a, #ee6358); }

/* Botões */
.button {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.2);
  background: linear-gradient(135deg, #a874ed, #7c50d0);
  box-shadow: 0 9px 22px rgba(86, 46, 142, .25), inset 0 1px 0 rgba(255,255,255,.24);
}
.button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -105%;
  width: 65%;
  height: 100%;
  transform: skewX(-22deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.32), transparent);
  transition: left .45s ease;
}
.button:hover::before { left: 135%; }
.button:hover { box-shadow: 0 12px 27px rgba(86, 46, 142, .33), inset 0 1px 0 rgba(255,255,255,.25); }
.button span { position: relative; z-index: 1; }
.button.coral { background: linear-gradient(135deg, #ff8a7d, #fa6258); box-shadow: 0 10px 22px rgba(220, 83, 72, .28), inset 0 1px 0 rgba(255,255,255,.25); }
.button.coral:hover { background: linear-gradient(135deg, #ff9f92, #ef544b); }

@media (max-width:850px) {
  .header { top: 12px; width: calc(100% - 30px); height: 64px; padding: 0 17px; }
  .header nav { top: 76px; border: 1px solid rgba(255,255,255,.3); border-radius: 20px; background: rgba(60, 35, 91, .9); backdrop-filter: blur(18px); }
  .menu-button { color: #fff; }
  .logo img { width: 87px; height: 58px; }
}
