/* common.css | Identidade compartilhada The Game Society */

@font-face {
  font-family: 'Janna LT';
  src: url('../fonts/JannaLTRegular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --pb-bg: #050504;
  --pb-surface: #0d0c0a;
  --pb-surface-soft: #17140f;
  --pb-surface-glass: rgba(13, 12, 10, 0.78);
  --pb-border-soft: rgba(232, 206, 143, 0.12);
  --pb-border-strong: rgba(232, 206, 143, 0.26);
  --pb-text-main: #fbf6e8;
  --pb-text-muted: #b9ad91;
  --pb-text-soft: #81765f;
  --pb-accent: #d6ad55;
  --pb-accent-bright: #ffe5a1;
  --pb-accent-deep: #8a632d;
  --pb-accent-soft: rgba(214, 173, 85, 0.14);
  --pb-accent-strong: rgba(214, 173, 85, 0.34);
  --pb-success-soft: rgba(88, 179, 117, 0.16);
  --pb-danger-soft: rgba(255, 83, 112, 0.18);
  --pb-radius-xl: 8px;
  --pb-radius-lg: 8px;
  --pb-radius-md: 8px;
  --pb-radius-pill: 999px;
  --pb-shadow-soft: 0 24px 80px rgba(0, 0, 0, 0.72);
  --pb-glow: 0 0 28px rgba(214, 173, 85, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Janna LT', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #050504;
  color: var(--pb-text-main);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  opacity: 0;
  transition: opacity 420ms ease;
}

body.pb-page-loaded {
  opacity: 1;
}

body.pb-page-leaving {
  opacity: 0;
}

a {
  color: inherit;
}

.pb-shell {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, rgba(214, 173, 85, 0.07), transparent 24rem),
    linear-gradient(135deg, #070705 0%, #020202 58%, #0b0906 100%);
}

.pb-nav {
  border-bottom: 1px solid rgba(232, 206, 143, 0.12);
  backdrop-filter: blur(18px);
  background: rgba(5, 5, 4, 0.88);
}

.tgs-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
  text-decoration: none;
}

.tgs-brand-logo {
  width: 118px;
  height: 48px;
  object-fit: contain;
  border: 1px solid rgba(232, 206, 143, 0.2);
  border-radius: 6px;
  background: url('/furniture/image/tgs/logo.jpeg') center center no-repeat #10100A;
  box-shadow: 0 0 22px rgba(214, 173, 85, 0.12);
  background-size: cover;
}

.tgs-brand-wordmark,
.pb-logo-text {
  color: var(--pb-accent-bright);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  line-height: 1.05;
  max-width: 11.5rem;
  white-space: normal;
  text-transform: uppercase;
}

.tgs-nav-links {
  align-items: center;
  gap: 1.3rem;
}

.tgs-nav-links a {
  color: var(--pb-text-muted);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 160ms ease;
}

.tgs-nav-links a:hover {
  color: var(--pb-accent-bright);
}

.tgs-nav-cta {
  flex: 0 0 auto;
}

.pb-logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, #f7df9b, #b68135 52%, #1a1711);
  box-shadow: 0 0 0 1px rgba(251, 246, 232, 0.16), var(--pb-glow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pb-logo-mark span {
  color: #050504;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
}

.pb-btn-ghost,
.pb-btn-secondary {
  border-radius: var(--pb-radius-pill);
  border: 1px solid rgba(232, 206, 143, 0.34);
  background: rgba(18, 16, 12, 0.72);
  color: var(--pb-text-main);
  padding: 0.62rem 1rem;
  font-size: 0.86rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  column-gap: 0.35rem;
  text-decoration: none;
  min-height: 44px;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.pb-btn-primary {
  border-radius: var(--pb-radius-pill);
  border: 1px solid rgba(255, 229, 161, 0.4);
  background: linear-gradient(135deg, #ffe5a1, #c8963d 54%, #7a5525);
  color: #060504;
  padding: 0.68rem 1.35rem;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 14px 36px rgba(214, 173, 85, 0.28);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  column-gap: 0.35rem;
  text-decoration: none;
  min-height: 44px;
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.pb-btn-primary:hover,
.pb-btn-secondary:hover,
.pb-btn-ghost:hover {
  color: var(--pb-text-main);
  transform: translateY(-1px);
}

.pb-btn-primary:hover {
  color: #040302;
  filter: brightness(1.08);
  box-shadow: 0 18px 46px rgba(214, 173, 85, 0.36);
}

.pb-btn-secondary:hover,
.pb-btn-ghost:hover {
  border-color: rgba(255, 229, 161, 0.62);
  background: rgba(33, 28, 18, 0.82);
}

.pb-section {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.pb-section-label {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pb-text-soft);
}

.pb-heading-xl,
.pb-heading-lg {
  font-family: 'Janna LT', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.05;
  font-weight: 400;
  margin-bottom: 0.9rem;
}

.pb-heading-xl {
  font-size: 2.1rem;
}

.pb-heading-lg {
  font-size: 1.7rem;
}

.pb-copy {
  font-size: 1rem;
  color: var(--pb-text-muted);
  max-width: 62ch;
}

.pb-card {
  background: linear-gradient(180deg, rgba(23, 20, 15, 0.92), rgba(8, 8, 7, 0.96));
  border-radius: var(--pb-radius-lg);
  border: 1px solid var(--pb-border-soft);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  row-gap: 0.6rem;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.62);
  transition: transform 160ms ease-out, box-shadow 160ms ease-out, border-color 160ms ease-out, background 160ms ease-out;
  height: 100%;
}

.pb-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.82);
  border-color: rgba(255, 229, 161, 0.34);
  background: linear-gradient(180deg, rgba(40, 32, 18, 0.96), rgba(8, 8, 7, 0.98));
}

.pb-hero-card {
  border-radius: var(--pb-radius-xl);
  background:
    linear-gradient(120deg, rgba(214, 173, 85, 0.16), transparent 42%),
    linear-gradient(180deg, rgba(22, 19, 14, 0.96), rgba(5, 5, 4, 0.98));
}

.pb-chip {
  border-radius: var(--pb-radius-pill);
  padding: 0.16rem 0.68rem;
  border: 1px solid rgba(232, 206, 143, 0.24);
  color: var(--pb-text-soft);
  font-size: 0.72rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  width: fit-content;
}

.pb-chip-success {
  background: var(--pb-success-soft);
  border-color: rgba(111, 216, 146, 0.24);
  color: #c6f6d5;
}

.pb-chip-accent {
  background: var(--pb-accent-soft);
  border-color: var(--pb-accent-strong);
  color: var(--pb-accent-bright);
}

.pb-card-title {
  font-weight: 400;
  font-size: 1.02rem;
  margin-bottom: 0;
}

.pb-card-meta,
.pb-list li,
.pb-form-note {
  font-size: 0.88rem;
  color: var(--pb-text-muted);
}

.pb-kpi {
  border-radius: 8px;
  border: 1px solid rgba(232, 206, 143, 0.14);
  background: rgba(5, 5, 4, 0.68);
  padding: 0.95rem;
  min-height: 100%;
}

.pb-kpi strong {
  display: block;
  font-size: 1.16rem;
  color: var(--pb-text-main);
  margin-bottom: 0.2rem;
}

.pb-divider-soft {
  border: 0;
  border-top: 1px solid rgba(232, 206, 143, 0.16);
  margin: 1rem 0;
}

.pb-link {
  color: var(--pb-text-main);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
}

.pb-link:hover {
  color: var(--pb-accent-bright);
}

.pb-badge-soft {
  border-radius: var(--pb-radius-pill);
  padding: 0.26rem 0.72rem;
  font-size: 0.74rem;
  background: rgba(18, 16, 12, 0.82);
  border: 1px solid rgba(232, 206, 143, 0.28);
  color: var(--pb-text-muted);
  display: inline-flex;
  align-items: center;
  width: fit-content;
}

.pb-form-surface {
  background: rgba(5, 5, 4, 0.74);
  color: var(--pb-text-main);
  border: 1px solid rgba(232, 206, 143, 0.24);
  border-radius: 8px;
  min-height: 46px;
  padding: 0.72rem 0.9rem;
}

.pb-form-surface:focus {
  background: rgba(5, 5, 4, 0.92);
  color: var(--pb-text-main);
  border-color: rgba(255, 229, 161, 0.65);
  box-shadow: 0 0 0 0.2rem rgba(214, 173, 85, 0.14);
}

.pb-form-surface::placeholder {
  color: #7a715f;
}

.form-check-input {
  background-color: rgba(5, 5, 4, 0.95);
  border-color: rgba(232, 206, 143, 0.34);
}

.form-check-input:checked {
  background-color: var(--pb-accent);
  border-color: var(--pb-accent);
}

.pb-footer-meta {
  font-size: 0.74rem;
  color: var(--pb-text-soft);
}

.pb-hit-area {
  cursor: pointer;
}

.pb-hit-area:active {
  transform: translateY(1px);
}

.pb-footer {
  border-top: 1px solid rgba(232, 206, 143, 0.12);
  margin-top: 1.5rem;
  padding: 1.2rem 0 2rem;
  color: var(--pb-text-soft);
  font-size: 0.78rem;
  background: #050504;
}

.tgs-motion-ready [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity 700ms ease, transform 700ms ease;
}

.tgs-motion-ready [data-reveal='left'] {
  transform: translate3d(-34px, 0, 0);
}

.tgs-motion-ready [data-reveal='right'] {
  transform: translate3d(34px, 0, 0);
}

.tgs-motion-ready [data-reveal='scale'] {
  transform: translate3d(0, 28px, 0) scale(0.98);
}

.tgs-motion-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.tgs-motion-ready [data-float][data-reveal].is-visible {
  transform: translate3d(0, var(--tgs-hero-shift, 0), 0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .tgs-motion-ready [data-reveal],
  .tgs-motion-ready [data-reveal].is-visible,
  .tgs-motion-ready [data-float][data-reveal].is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 575.98px) {
  .tgs-brand {
    gap: 0.45rem;
  }

  .tgs-brand-logo {
    width: 86px;
    height: 36px;
  }

  .tgs-brand-wordmark {
    display: none;
  }

  .tgs-nav-cta {
    padding-right: 0.78rem;
    padding-left: 0.78rem;
    min-height: 38px;
    font-size: 0.76rem;
  }
}

@media (max-width: 1199.98px) {
  .tgs-brand-wordmark {
    display: none;
  }
}

@media (min-width: 768px) {
  .pb-heading-xl {
    font-size: 2.8rem;
  }

  .pb-heading-lg {
    font-size: 2.15rem;
  }
}

@media (min-width: 1200px) {
  .pb-heading-xl {
    font-size: 3.45rem;
  }
}

@media (min-width: 992px) {
  .pb-sticky-side {
    position: sticky;
    top: 96px;
  }
}
