/* Tokens copiados de AZ-SiteCorp/siteV2/css/tokens.css (fonte da identidade
   visual: AZ-Hub/_old/MOODBOARD - AZ Resultados.pdf).
   Cópia pontual, não referência viva — se a paleta mudar lá, atualizar aqui
   manualmente (mesmo padrão de "referência confinada a um lugar só"). */
:root {
  --az-blue:    #175179;
  --az-teal:    #96ccd4;
  --az-mint:    #d1f5dc;
  --az-cream:   #f9f5ce;
  --az-orange:  #eb8a5c;
  --az-magenta: #a64a8b;
  --az-wa:      #25d366;
  --az-wa-dark: #1da851;
  --az-ink:     #0c1d2c;
  --az-ink-2:   #3a4a59;
  --az-ink-3:   #6f7c89;
  --az-paper:   #fbfaf6;
  --az-mist:    #f1efe8;
  --az-line:    #e6e1d4;
  --az-font-display: 'Montserrat', system-ui, sans-serif;
  --az-font-body:    'Roboto', system-ui, sans-serif;
  --az-font-wa:      'Nunito', 'Montserrat', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--az-font-body);
  color: var(--az-ink);
  background: var(--az-paper);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; }

/* ---------- Header ---------- */
.gw-header {
  position: relative;
  padding: 24px 0;
  border-bottom: 1px solid var(--az-line);
  background: var(--az-paper);
}
.gw-header__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.gw-logo-link { display: block; }
.gw-logo { display: block; height: 26px; width: auto; }
.gw-nav {
  display: flex;
  gap: 32px;
  align-items: center;
  font-family: var(--az-font-display);
  font-size: 15px;
  font-weight: 500;
  color: var(--az-ink-2);
}
.gw-nav a { color: inherit; }
.gw-nav a:hover { color: var(--az-blue); }
.gw-nav__ext { color: var(--az-ink-3) !important; font-size: 14px; }

.gw-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 16px 26px;
  border-radius: 999px;
  background: var(--az-wa);
  color: #fff;
  font-family: var(--az-font-wa);
  font-weight: 700;
  font-size: 16px;
  transition: transform .15s, background .15s;
}
.gw-wa-btn:hover { background: #1fbb59; transform: translateY(-2px); }
.gw-wa-btn svg { display: block; flex-shrink: 0; }
.gw-wa-btn--header {
  padding: 12px 18px;
  font-size: 15px;
  letter-spacing: -0.01em;
}
.gw-wa-btn--header:hover { background: var(--az-wa-dark); transform: translateY(-1px); }

/* ---------- Split hero ---------- */
.gw-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 91px);
}

.gw-panel {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.gw-panel--venda {
  background: var(--az-paper);
  justify-content: flex-end;
  padding: 72px 56px 72px 40px;
}
.gw-panel--portal {
  background: var(--az-ink);
  color: #fff;
  justify-content: flex-start;
  padding: 72px 40px 72px 56px;
}
.gw-panel__content { position: relative; width: 100%; }
.gw-panel--venda .gw-panel__content { max-width: 530px; }
.gw-panel--portal .gw-panel__content { max-width: 460px; }

.gw-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.gw-glow--venda {
  background: radial-gradient(700px 460px at 15% -10%, rgba(150,204,212,0.20), transparent 62%);
}
.gw-glow--portal {
  background: radial-gradient(620px 420px at 80% 110%, rgba(150,204,212,0.16), transparent 62%);
}

.gw-bars {
  position: absolute;
  right: -30px;
  top: 0;
  bottom: 0;
  width: 340px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  opacity: .075;
  pointer-events: none;
}
.gw-bars span { display: block; width: 20px; border-radius: 999px; background: #fff; }
.gw-bars span:nth-child(1) { height: 46%; }
.gw-bars span:nth-child(2) { height: 78%; }
.gw-bars span:nth-child(3) { height: 58%; }
.gw-bars span:nth-child(4) { height: 38%; }
.gw-bars span:nth-child(5) { height: 88%; }
.gw-bars span:nth-child(6) { height: 58%; }

.gw-eyebrow {
  font-family: var(--az-font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.gw-eyebrow__dash { width: 32px; height: 2px; display: block; background: currentColor; }
.gw-eyebrow--magenta { color: var(--az-magenta); }
.gw-eyebrow--orange { color: var(--az-orange); }

.gw-h1 {
  font-family: var(--az-font-display);
  font-size: 44px;
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--az-ink);
  margin: 0 0 24px;
  text-wrap: balance;
}
.gw-h1 em { font-style: italic; font-weight: 700; color: var(--az-blue); }

.gw-p1 {
  font-size: 18px;
  line-height: 1.55;
  color: var(--az-ink-2);
  margin: 0 0 32px;
}

.gw-ctas { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.gw-btn { display: inline-flex; align-items: center; gap: 10px; }

.gw-btn-primary {
  padding: 18px 26px;
  border-radius: 999px;
  background: var(--az-orange);
  color: var(--az-ink);
  font-family: var(--az-font-display);
  font-size: 16.5px;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(235,138,92,.35);
  transition: transform .15s, box-shadow .15s;
}
.gw-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(235,138,92,.45); }

.gw-attend { font-size: 13px; line-height: 1.5; color: var(--az-ink-3); margin: 20px 0 0; }

.gw-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--az-font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--az-teal);
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(150,204,212,.10);
  margin-bottom: 24px;
}
.gw-chip__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--az-teal);
  box-shadow: 0 0 0 4px rgba(150,204,212,.18);
  animation: gw-pulse 2.4s ease-in-out infinite;
}
@keyframes gw-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(.85); }
}

.gw-h2 {
  font-family: var(--az-font-display);
  font-size: 34px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 16px;
}
.gw-p2 { font-size: 17px; line-height: 1.6; color: rgba(255,255,255,0.7); margin: 0 0 32px; }

.gw-login-btn {
  justify-content: center;
  width: 100%;
  padding: 20px 24px;
  border-radius: 999px;
  background: var(--az-paper);
  color: var(--az-ink);
  font-family: var(--az-font-display);
  font-size: 17px;
  font-weight: 700;
  box-shadow: 0 12px 32px rgba(0,0,0,.28);
  transition: transform .15s, box-shadow .15s;
}
.gw-login-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(0,0,0,.36); }

/* ---------- "Por que a AZ" ---------- */
.gw-porque {
  padding: 104px 0;
  background: var(--az-mist);
  color: var(--az-ink);
  border-top: 1px solid var(--az-line);
}
.gw-porque__inner { max-width: 1180px; margin: 0 auto; padding: 0 64px; }
.gw-porque__title {
  font-family: var(--az-font-display);
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--az-ink);
  margin: 0;
  max-width: 820px;
  text-wrap: balance;
}
.gw-porque__list { margin-top: 56px; }
.gw-porque__item {
  display: grid;
  grid-template-columns: 80px 1fr 1fr;
  gap: 40px;
  padding: 32px 0;
  border-top: 1px solid var(--az-line);
  align-items: start;
}
.gw-porque__item--last { border-bottom: 1px solid var(--az-line); }
.gw-porque__num {
  font-family: var(--az-font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--az-orange);
}
.gw-porque__item-title {
  font-family: var(--az-font-display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--az-ink);
  line-height: 1.15;
}
.gw-porque__item-desc { font-size: 16px; line-height: 1.55; color: var(--az-ink-2); padding-top: 6px; }

/* ---------- Footer ---------- */
.gw-footer {
  background: var(--az-ink);
  color: #fff;
  padding: 48px 0 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.gw-footer__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.gw-footer__brand { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.gw-footer__logo { display: block; height: 24px; filter: brightness(0) invert(1); }
.gw-footer__brand p { font-size: 15px; line-height: 1.5; color: rgba(255,255,255,0.65); margin: 0; }
.gw-footer__links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}
.gw-footer__links a { color: rgba(255,255,255,0.5); }
.gw-footer__links a:hover { color: #fff; }

/* ---------- Picker de organizações ---------- */
.gw-picker-body { background: var(--az-ink); }
.gw-picker {
  min-height: calc(100vh - 91px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
}
.gw-picker__card { width: 100%; max-width: 460px; }
.gw-picker__title {
  font-family: var(--az-font-display);
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 12px;
}
.gw-picker__subtitle { font-size: 16px; line-height: 1.55; color: rgba(255,255,255,0.7); margin: 0 0 32px; }
.gw-picker__list { display: flex; flex-direction: column; gap: 14px; }
.gw-picker__item { justify-content: space-between; }
.gw-picker__admin {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.14);
}
.gw-picker__admin-label {
  font-family: var(--az-font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--az-teal);
  margin: 0 0 14px;
}
.gw-picker__admin-btn {
  justify-content: space-between;
  width: 100%;
  padding: 16px 22px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  font-family: var(--az-font-display);
  font-size: 15px;
  font-weight: 700;
  transition: background .15s, border-color .15s;
}
.gw-picker__admin-btn:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.5); }

/* ---------- Responsivo ---------- */
@media (max-width: 900px) {
  .gw-split { grid-template-columns: 1fr; min-height: 0; }
  .gw-panel--portal { order: -1; }
  .gw-panel--venda, .gw-panel--portal { padding: 56px 32px; justify-content: flex-start; }
  .gw-panel--venda .gw-panel__content, .gw-panel--portal .gw-panel__content { max-width: none; }
  .gw-bars { display: none; }
  .gw-porque { display: none; }
  .gw-nav__servicos { display: none; }
  .gw-nav { gap: 24px; }
}

@media (max-width: 700px) {
  .gw-header__inner, .gw-footer__inner { padding-left: 20px; padding-right: 20px; }
  .gw-nav { display: none; }
  .gw-wa-btn--header { padding: 13px 16px; font-size: 14px; min-height: 44px; }
  .gw-logo { height: 19px; }
  .gw-panel--venda, .gw-panel--portal { padding: 44px 20px; }
  .gw-h1 { font-size: 34px; line-height: 1.1; letter-spacing: -0.02em; }
  .gw-h2 { font-size: 26px; }
  .gw-p1, .gw-p2 { font-size: 16px; }
  .gw-ctas { align-items: stretch; }
  .gw-btn { justify-content: center; width: 100%; min-height: 48px; }
  .gw-footer__inner { flex-direction: column; align-items: flex-start; gap: 24px; }
  .gw-footer__links { flex-wrap: wrap; gap: 14px; }
}
