/* Estrutura base compartilhada */

.container {
  max-width: 1560px;
  width: 100%;
  padding: 0 clamp(20px, 4.5vw, 72px);
  margin: 0 auto;
}

.header {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(8, 31, 86, 0.92) 0%, rgba(10, 49, 140, 0.86) 40%, rgba(53, 94, 59, 0.96) 100%);
  box-shadow: 0 22px 48px rgba(10, 23, 52, 0.22);
}

.header::after {
  content: "";
  position: absolute;
  inset: auto -140px -180px auto;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(237, 234, 25, 0.24), rgba(237, 234, 25, 0) 70%);
  pointer-events: none;
}

.header-content {
  position: relative;
  z-index: 1;
  min-height: 134px;
  color: white;
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  padding-bottom: 32px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1 1 60%;
  min-width: 0;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.brand-kicker {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 244, 173, 0.94);
}

.logo-de-novembro {
  width: 92px;
  height: 92px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
}

.header img {
  height: 100%;
  width: 100%;
  object-fit: contain;
}

.scouts-group-name {
  margin: 0;
  color: #fff;
  font-size: clamp(1.6rem, 2.1vw, 2.45rem);
  font-weight: 700;
  line-height: 1.05;
}

.scouts-group-tagline {
  max-width: 44ch;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.6;
  font-size: 0.98rem;
}

.header-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}

.header-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.95rem;
  font-weight: 500;
  backdrop-filter: blur(10px);
}

.header-pill i {
  color: var(--scout-yellow);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f4f260 0%, #edea19 100%);
  color: var(--scout-blue-deep);
  font-weight: 700;
  box-shadow: 0 14px 30px rgba(237, 234, 25, 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(237, 234, 25, 0.28);
}

.nav {
  position: relative;
  z-index: 3;
  margin-top: -22px;
  margin-bottom: 18px;
}

.nav-content {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.button-menu {
  flex: 1 1 160px;
  max-width: 210px;
  border-radius: 20px;
  background: rgba(10, 49, 140, 0.94);
  box-shadow: 0 16px 30px rgba(8, 31, 86, 0.14);
  transition: transform 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.button-menu a {
  color: white;
  font-weight: 600;
  display: block;
  padding: 14px 16px;
  text-align: center;
}

.button-menu:hover,
.button-menu.is-active {
  background: var(--scout-green);
  transform: translateY(-2px);
  box-shadow: 0 20px 36px rgba(31, 65, 39, 0.18);
}

.footer {
  width: 100%;
  margin-top: 72px;
  padding: 42px 20px 46px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  background:
    linear-gradient(135deg, rgba(8, 31, 86, 0.94) 0%, rgba(10, 49, 140, 0.86) 42%, rgba(53, 94, 59, 0.98) 100%);
  justify-content: center;
  align-items: center;
  text-align: center;
}

.icons {
  display: flex;
  gap: 20px;
}

.icons > a > i {
  color: white;
  transition: color 0.25s ease, transform 0.25s ease;
}

.icons > a > i:hover {
  color: var(--scout-yellow);
  transform: translateY(-2px);
}

.footer .logo-de-novembro {
  width: 78px;
  height: 78px;
  padding: 10px;
}

.footer > p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1rem;
  line-height: 1.6;
}

@media (max-width: 980px) {
  .header-content {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 28px;
  }

  .brand-lockup {
    width: 100%;
  }

  .header-actions {
    width: 100%;
    align-items: flex-start;
  }

  .nav {
    margin-top: 16px;
  }
}

@media (max-width: 760px) {
  .brand-lockup {
    align-items: flex-start;
  }

  .logo-de-novembro {
    width: 76px;
    height: 76px;
    border-radius: 22px;
  }

  .scouts-group-name {
    font-size: 1.55rem;
  }

  .scouts-group-tagline {
    font-size: 0.95rem;
  }

  .nav-content {
    flex-direction: column;
    width: 100%;
    gap: 8px;
  }

  .button-menu {
    flex: none;
    width: 100%;
    max-width: none;
    border-radius: 16px;
    box-shadow: 0 12px 24px rgba(8, 31, 86, 0.12);
  }

  .button-menu a {
    padding: 12px 16px;
  }

  .footer {
    padding-inline: 24px;
  }

  .footer > p {
    font-size: 0.95rem;
  }
}

@media (max-width: 540px) {
  .header-pill,
  .header-cta {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}
