:root {
  --navy:        #004D80;
  --navy-dark:   #003560;
  --navy-light:  #0060a0;
  --navy-glow:   rgba(0, 77, 128, 0.18);
  --gold:        #f79527;
  --gold-soft:   rgba(254, 174, 0, 0.12);
  --gold-border: rgba(254, 174, 0, 0.35);

  /* Superfícies */
  --bg:      #EEF1F6;
  --surface: #ffffff;

  /* Bordas — use sempre --border */
  --border:  #e0e4ed;

  /* Texto */
  --text:  #12192b;
  --muted: #7a859a;

  /* Layout admin */
  --sidebar-w: 240px;
  --header-h:  60px;

  /* Cores semânticas */
  --green:  #22c55e;
  --red:    #ef4444;
  --yellow: #f59e0b;

  /* Misc */
  --ease-out:  cubic-bezier(0.22, 1, 0.36, 1);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
}

/* ── Reset ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Gradiente de fundo (landing e worcap25) */
body.has-bg-glow::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% -10%, rgba(0,77,128,0.13) 0%, transparent 65%),
    radial-gradient(ellipse 40% 30% at 80%  90%, rgba(254,174,0,0.07) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* ── Header ──────────────────────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 200;
  height: 64px;
  background: rgba(0,53,96,0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  padding: 0 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1.5px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 20%, var(--gold) 80%, transparent 100%);
  opacity: 0.85;
}

.logo { height: 55px; }

.header-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.header-nav a {
  text-decoration: none;
  color: rgba(255,255,255,0.82);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding: 7px 13px;
  border-radius: 7px;
  transition: color 0.2s, background 0.2s;
}
.header-nav a:hover { color: #fff; background: rgba(255,255,255,0.08); }

.header-nav .divider {
  width: 1px; height: 18px;
  background: rgba(255,255,255,0.2);
  margin: 0 8px;
}

/* ── Footer ──────────────────────────────────────────────────── */
footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.75);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 2rem 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 32px;
}

.footer-brand-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.footer-brand-sub {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-brand-desc {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
  max-width: 280px;
}

.footer-brand-desc-orange {
  font-size: 0.82rem;
  color: var(--gold);
  line-height: 1.6;
  max-width: 280px;
}


.footer-col-title {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 14px;
}

.footer-col a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  margin-bottom: 8px;
  transition: color 0.18s;
}
.footer-col a:hover { color: #fff; }

.footer-col i { font-size: 1rem; color: rgba(255,255,255,0.75); }

.footer-divider {
  border: none;
  border-top: 0.5px solid rgba(255,255,255,0.1);
  margin: 0;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
}

.footer-socials { display: flex; gap: 8px; }

.footer-social-pill {
  padding: 4px 12px;
  border: 0.5px solid rgba(255,255,255,0.18);
  border-radius: 20px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: border-color 0.18s, color 0.18s, background 0.18s;
}
.footer-social-pill:hover {
  border-color: rgba(255,255,255,0.45);
  color: #fff;
  background: rgba(255,255,255,0.06);
}

/* ── Responsivo ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .header { padding: 0 1rem; }
  .header-nav { gap: 0; }
  .header-nav a { font-size: 0.78rem; padding: 6px 8px; }
  .header-nav .divider { margin: 0 4px; }
  .footer-top { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 0.75rem; }
}

@media (max-width: 400px) {
  .logo { height: 40px; }
  .header-nav a { font-size: 0.72rem; padding: 5px 6px; }
}
