/* FrancaCup — Layout
   Estrutura global, header, navegação, footer e responsivo base.
*/
.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.section {
  padding: 112px 0;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(20px, calc((100vw - var(--container)) / 2));
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    backdrop-filter 0.25s ease;
}

.header.is-scrolled,
.header.is-open {
  background: rgba(15, 17, 21, 0.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-soft);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 38px;
  height: 38px;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.035);
  overflow: hidden;
}

.brand-mark-logo img {
  width: 28px;
  height: 28px;
  display: block;
  object-fit: contain;
}

.brand-name {
  font-size: 15px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.nav a {
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--text);
}

.header-cta {
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--text);
  color: #0b0d11;
  font-weight: 800;
  font-size: 13px;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.header-cta:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--border-soft);
  background: transparent;
  border-radius: 12px;
  color: var(--text);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  margin: 5px auto;
  border-radius: 999px;
}


.footer {
  padding: 60px 0 28px;
  border-top: 1px solid var(--border-soft);
  background: rgba(0, 0, 0, 0.12);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.7fr 0.7fr;
  gap: 42px;
}

.footer-brand {
  margin-bottom: 16px;
}

.footer p {
  max-width: 360px;
}

.footer-links {
  display: grid;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted-2);
  font-size: 13px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border-soft);
}



@media (max-width: 820px) {
  .menu-toggle { display: block; }
  .header-cta { display: none; }

  .nav {
    position: absolute;
    top: 76px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--border-soft);
    background: rgba(15, 17, 21, 0.94);
    backdrop-filter: blur(18px);
    border-radius: 18px;
  }

  .nav.is-open { display: flex; }

  .nav a {
    width: 100%;
    padding: 14px 12px;
  }

  .section { padding: 84px 0; }

  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .container { width: min(100% - 28px, var(--container)); }
  .footer-bottom { flex-direction: column; }
}

/* Menu contextual da experiência Rush */
.nav-rush {
  gap: 20px;
}

.nav-rush a {
  white-space: nowrap;
}

.nav a.is-active {
  color: var(--text);
}

@media (max-width: 1080px) {
  .nav-rush {
    gap: 14px;
    font-size: 13px;
  }
}
