/* GoldenBaiak 2.0 — Tema MyAAC sobre a identidade Dragão Dourado */
@font-face {
  font-family: 'Belwe';
  src: url('fonts/Belwe-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('fonts/Poppins-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('fonts/Poppins-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('fonts/Poppins-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --gb-gold: #e6b855;
  --gb-gold-bright: #ffd97d;
  --gb-gold-dim: #9c7a32;
  --gb-bg: #0c0a08;
  --gb-panel: rgba(16, 13, 10, 0.90);
  --gb-panel-soft: rgba(24, 19, 14, 0.86);
  --gb-border: rgba(230, 184, 85, 0.28);
  --gb-text: #efe7d6;
  --gb-muted: #b8ab92;
  --gb-accent-red: #8e2424;
}

* { box-sizing: border-box; }

body.gb-body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  color: var(--gb-text);
  background:
    linear-gradient(180deg, rgba(10, 8, 6, 0.72) 0%, rgba(10, 8, 6, 0.55) 35%, rgba(10, 8, 6, 0.88) 100%),
    url('art/dragon/painted-valley.webp') center top / cover fixed no-repeat;
  background-color: var(--gb-bg);
}

a { color: var(--gb-gold); text-decoration: none; transition: color 0.15s ease; }
a:hover { color: var(--gb-gold-bright); }

/* Header Flutuante */
.gb-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(12, 10, 8, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gb-border);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.55);
}

.gb-header-inner {
  max-width: 1220px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.gb-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Belwe', Georgia, serif;
  font-size: 1.35rem;
  color: var(--gb-gold-bright);
  letter-spacing: 0.4px;
}

.gb-brand img {
  height: 40px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(230, 184, 85, 0.35));
}

.gb-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.gb-nav a {
  padding: 8px 13px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--gb-text);
  border: 1px solid transparent;
}

.gb-nav a:hover {
  color: var(--gb-gold-bright);
  background: rgba(230, 184, 85, 0.1);
  border-color: rgba(230, 184, 85, 0.22);
}

.gb-cta-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.gb-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.88rem;
  border: 1px solid var(--gb-gold);
  background: linear-gradient(180deg, #e7ba56 0%, #b88424 100%);
  color: #16110a;
  box-shadow: 0 4px 14px rgba(230, 184, 85, 0.25);
}

.gb-btn:hover {
  color: #16110a;
  filter: brightness(1.08);
}

.gb-btn-outline {
  background: rgba(230, 184, 85, 0.08);
  color: var(--gb-gold-bright);
  border-color: var(--gb-border);
  box-shadow: none;
}

.gb-btn-outline:hover {
  color: var(--gb-gold-bright);
  background: rgba(230, 184, 85, 0.16);
}

/* Hero Marca Central */
.gb-hero {
  max-width: 1220px;
  margin: 26px auto 18px;
  padding: 0 20px;
  text-align: center;
}

.gb-hero-logo {
  max-width: 390px;
  width: 78%;
  height: auto;
  filter: drop-shadow(0 10px 28px rgba(0, 0, 0, 0.75));
}

.gb-status-bar {
  margin: 14px auto 0;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--gb-panel);
  border: 1px solid var(--gb-border);
  font-size: 0.88rem;
}

.gb-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  margin-right: 6px;
}
.gb-dot.online { background: #4ade80; box-shadow: 0 0 8px #4ade80; }
.gb-dot.offline { background: #f87171; box-shadow: 0 0 8px #f87171; }

/* Layout Principal */
.gb-shell {
  max-width: 1220px;
  margin: 18px auto 48px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

@media (max-width: 900px) {
  .gb-shell { grid-template-columns: 1fr; }
}

.gb-card {
  background: var(--gb-panel);
  border: 1px solid var(--gb-border);
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
}

.gb-sidebar-section + .gb-sidebar-section {
  margin-top: 16px;
}

.gb-sidebar h3 {
  margin: 0 0 10px;
  font-family: 'Belwe', Georgia, serif;
  font-size: 1.05rem;
  color: var(--gb-gold-bright);
  border-bottom: 1px solid var(--gb-border);
  padding-bottom: 6px;
}

.gb-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.gb-menu-list a {
  display: block;
  padding: 7px 10px;
  border-radius: 7px;
  color: var(--gb-text);
  font-size: 0.9rem;
}

.gb-menu-list a:hover {
  background: rgba(230, 184, 85, 0.12);
  color: var(--gb-gold-bright);
}

/* Conteúdo MyAAC */
.gb-main h1, .gb-main h2, .gb-main .CaptionInnerContainer {
  font-family: 'Belwe', Georgia, serif;
  color: var(--gb-gold-bright);
}

.gb-main table {
  width: 100%;
  border-collapse: collapse;
  margin: 10px 0;
}

.gb-main th, .gb-main td {
  padding: 8px 10px;
  border-bottom: 1px solid rgba(230, 184, 85, 0.14);
}

.gb-main input[type="text"],
.gb-main input[type="password"],
.gb-main input[type="email"],
.gb-main select,
.gb-main textarea {
  background: #14100c;
  color: var(--gb-text);
  border: 1px solid var(--gb-border);
  border-radius: 6px;
  padding: 7px 10px;
}

.gb-main input[type="submit"],
.gb-main button {
  cursor: pointer;
  background: linear-gradient(180deg, #e7ba56 0%, #b88424 100%);
  color: #16110a;
  font-weight: 600;
  border: 1px solid var(--gb-gold);
  border-radius: 7px;
  padding: 8px 15px;
}

.gb-footer {
  border-top: 1px solid var(--gb-border);
  background: rgba(10, 8, 6, 0.92);
  padding: 20px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--gb-muted);
}
