/* Astryx components rendered at build time with Tudo Gráfica's palette. */
.tg-astryx {
  font-family: inherit;
  color-scheme: dark;
  --font-family-body: inherit;
}
.tg-service-menu {
  width: min(1320px, calc(100% - 48px));
  margin: 16px auto 0;
  border: 1px solid #ffffff35;
  border-radius: 14px;
  background: #17191d;
  color: #f8f8fa;
}
.tg-service-menu summary {
  cursor: pointer;
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 650;
}
.tg-service-menu nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 16px 18px;
}
.tg-service-menu a.tg-menu-link,
.tg-service-panel a.tg-service-link {
  min-height: 44px;
  height: auto;
  padding: 12px 16px;
  white-space: normal;
  text-align: left;
  line-height: 1.4;
  border: 1px solid #ffffff40;
  border-radius: 10px;
  background: #25282f;
  color: #fff;
  text-decoration: none;
  font: inherit;
  font-size: 14px;
  font-weight: 650;
}
.tg-service-menu a[aria-current=page] { border-color: #27cae8; }
.tg-service-panel { color: inherit; }
.tg-panel-heading { max-width: 740px; margin-bottom: 28px; }
.tg-panel-heading h2 { margin-bottom: 12px; }
.tg-service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.tg-service-grid .tg-service-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 26px;
  min-width: 0;
  border: 1px solid #ffffff35;
  border-top: 4px solid var(--tg-card-accent);
  border-radius: 16px;
  background: #191b20;
  color: #f8f8fa;
}
.tg-service-card h3 { font-size: 23px; line-height: 1.2; margin: 0; letter-spacing: -.02em; }
.tg-service-card p { font-size: 16px; line-height: 1.55; color: #c9ccd3; margin: 0 0 6px; }
.tg-service-card a.tg-service-link { margin-top: auto; width: 100%; }
.tg-panel-help { margin-top: 24px; font-size: 16px; line-height: 1.6; }
.tg-panel-help a { color: inherit; text-decoration: underline; text-underline-offset: 4px; }
.tg-astryx a:hover { border-color: #9fd5ed; }
.tg-astryx :focus-visible { outline: 3px solid #70d8f7; outline-offset: 4px; }
@media (max-width: 950px) { .tg-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .tg-service-menu { width: calc(100% - 32px); }
  .tg-service-menu nav { display: grid; grid-template-columns: 1fr; }
  .tg-service-grid { grid-template-columns: 1fr; }
  .tg-service-grid .tg-service-card { padding: 22px; }
  .tg-service-card h3 { font-size: 22px; }
}
