/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  /* Navy – extraído da logo */
  --navy-900: #111d33;
  --navy-800: #1a2744;
  --navy-700: #1e3257;
  --navy-600: #24406e;
  --navy-400: #4a6fa5;
  --navy-100: #d6deec;
  --navy-50:  #eef1f7;

  /* Gold – extraído da logo */
  --gold-700: #8a6d2a;
  --gold-600: #a07d2c;
  --gold-500: #b8953a;
  --gold-400: #c9a84c;
  --gold-200: #e8d4a0;
  --gold-50:  #faf5e8;

  --gray-900: #111827;
  --gray-700: #374151;
  --gray-500: #6b7280;
  --gray-300: #d1d5db;
  --gray-100: #f3f4f6;
  --gray-50:  #f9fafb;
  --white:    #ffffff;

  --green-500: #16a34a;

  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.12);
  --transition: .2s ease;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-300);
  transition: box-shadow var(--transition);
}

.header.scrolled { box-shadow: var(--shadow-md); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  white-space: nowrap;
  flex-shrink: 0;
}

.logo__img {
  height: 52px;
  width: auto;
  display: block;
}

/* Nav */
.nav { display: flex; gap: 8px; }

.nav__link {
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 500;
  color: var(--navy-800);
  transition: background var(--transition), color var(--transition);
}

.nav__link:hover {
  background: var(--gold-50);
  color: var(--gold-600);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: var(--radius-sm);
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--navy-800);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 88vh;
  display: flex;
  align-items: center;
  background: linear-gradient(140deg, var(--navy-900) 0%, var(--navy-800) 55%, var(--navy-700) 100%);
  overflow: hidden;
  position: relative;
}

/* Subtle gold diagonal stripe */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(184,149,58,.08) 100%);
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 80px;
  align-items: center;
  padding-top: 100px;
  padding-bottom: 100px;
  position: relative;
}

.hero__eyebrow {
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 18px;
}

.hero__title {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero__title span { color: var(--gold-400); }

.hero__subtitle {
  font-size: 1.1rem;
  font-weight: 300;
  color: rgba(255,255,255,.72);
  max-width: 480px;
  margin-bottom: 40px;
  line-height: 1.75;
}

/* Logo card no hero */
.hero__graphic {
  flex-shrink: 0;
  align-self: center;
}

.hero__logo-img {
  width: 200px;
  height: 200px;
  object-fit: contain;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 8px 48px rgba(0,0,0,.28);
  display: block;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: .95rem;
  font-weight: 600;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
  border: none;
}

.btn--primary {
  background: var(--gold-500);
  color: var(--white);
  box-shadow: 0 2px 12px rgba(184,149,58,.35);
}

.btn--primary:hover {
  background: var(--gold-600);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(184,149,58,.4);
}

/* ============================================================
   SECTIONS (shared)
   ============================================================ */
.section { padding: 96px 0; }
.section--alt { background: var(--gray-50); }

.section__header {
  text-align: center;
  margin-bottom: 60px;
}

.section__tag {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 10px;
}

.section__title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--navy-800);
  line-height: 1.2;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.about__text p {
  margin-bottom: 18px;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--gray-700);
}

.about__text p:last-child { margin-bottom: 0; }

.about__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.info-card {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: var(--shadow-sm);
}

.info-card__label {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gray-500);
}

.info-card__value {
  font-size: .95rem;
  font-weight: 600;
  color: var(--navy-800);
}

.info-card__value--active { color: var(--green-500); }

/* ============================================================
   ACTIVITIES
   ============================================================ */
.activities__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 24px;
}

.activity-card {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}

.activity-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.activity-card--main {
  background: var(--navy-800);
  border-color: var(--navy-700);
  color: var(--white);
}

.activity-card--main .activity-card__code  { color: var(--gold-200); }
.activity-card--main .activity-card__desc  { color: rgba(255,255,255,.65); }
.activity-card--main .activity-card__title { color: var(--white); }
.activity-card--main .activity-card__icon  { color: var(--gold-400); }

.activity-card__badge {
  display: inline-flex;
  align-items: center;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 20px;
  background: var(--gold-500);
  color: var(--white);
}

.activity-card__badge--sec {
  background: var(--gold-50);
  color: var(--gold-600);
}

.activity-card__icon {
  width: 40px;
  height: 40px;
  color: var(--navy-600);
  margin-bottom: 16px;
}

.activity-card__icon svg { width: 100%; height: 100%; }

.activity-card__code {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--gray-500);
  margin-bottom: 6px;
}

.activity-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-800);
  margin-bottom: 12px;
  line-height: 1.3;
}

.activity-card__desc {
  font-size: .9rem;
  line-height: 1.65;
  color: var(--gray-500);
}

/* ============================================================
   PARTNERS
   ============================================================ */
.partners__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.partner-card {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 0 1 calc(33.333% - 12px);
  min-width: 260px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), border-color var(--transition);
}

.partner-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--gold-400);
}

.partner-card__avatar {
  width: 50px;
  height: 50px;
  background: var(--navy-50);
  color: var(--navy-700);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .05em;
  flex-shrink: 0;
  border: 1px solid var(--navy-100);
}

.partner-card__name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy-800);
  margin-bottom: 4px;
}

.partner-card__role {
  display: inline-block;
  font-size: .78rem;
  font-weight: 500;
  padding: 2px 10px;
  border-radius: 20px;
  background: var(--gray-100);
  color: var(--gray-500);
}

.partner-card__role--admin {
  background: var(--gold-50);
  color: var(--gold-600);
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  max-width: 840px;
  margin: 0 auto;
}

.contact-item {
  flex: 0 1 360px;
  display: flex;
  gap: 18px;
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  align-items: flex-start;
}

.contact-item__icon {
  width: 40px;
  height: 40px;
  background: var(--gold-50);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-500);
  flex-shrink: 0;
}

.contact-item__icon svg { width: 20px; height: 20px; }

.contact-item__label {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 4px;
}

.contact-item__value {
  font-size: .95rem;
  font-weight: 500;
  color: var(--navy-800);
  line-height: 1.5;
}

.contact-item__value--link {
  color: var(--gold-600);
  transition: color var(--transition);
}

.contact-item__value--link:hover { color: var(--gold-700); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy-900);
  color: rgba(255,255,255,.55);
  padding: 48px 0;
  border-top: 2px solid var(--gold-700);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.footer__logo-wrap {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 16px 28px;
  margin-bottom: 8px;
}

.footer__logo {
  height: 56px;
  width: auto;
  display: block;
}

.footer__meta { font-size: .85rem; }
.footer__copy { font-size: .8rem; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__graphic { display: none; }

  .about__grid { grid-template-columns: 1fr; gap: 40px; }
  .activities__grid { grid-template-columns: 1fr; }
  .activity-card--main { order: -1; }
}

@media (max-width: 720px) {
  .section { padding: 72px 0; }

  .nav { display: none; flex-direction: column; }
  .nav.open {
    display: flex;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-300);
    padding: 16px 24px;
    gap: 4px;
    box-shadow: var(--shadow-md);
  }
  .nav__link { padding: 10px 14px; }

  .nav-toggle { display: flex; }

  .partner-card { flex: 0 1 100%; min-width: unset; }
  .about__cards { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero__title { font-size: 2rem; }
  .logo__img { height: 42px; }
}
