/* Header / navegacao */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  display: flex;
  align-items: center;
  background: rgba(248, 246, 244, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-header);
  z-index: 500;
  transition: background var(--transition-fast);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6em;
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--color-text);
}

.brand img {
  height: 44px;
  width: auto;
}

.main-nav {
  display: none;
}

.main-nav ul {
  display: flex;
  gap: 1.8rem;
  align-items: center;
}

.main-nav a {
  font-weight: 700;
  font-size: 0.95rem;
  position: relative;
  padding: 0.4em 0;
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width var(--transition-fast);
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
  width: 100%;
}

.header-cta {
  display: none;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  border-radius: 2px;
  background: var(--color-text);
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--color-maroon);
  color: var(--color-text-on-dark);
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  transform: translateY(-100%);
  transition: transform var(--transition-base);
}

.mobile-nav.is-open {
  transform: translateY(0);
}

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  text-align: center;
}

.mobile-nav a {
  font-size: 1.4rem;
  font-weight: 700;
}

.mobile-nav-close {
  position: absolute;
  top: 1.4rem;
  right: 1.4rem;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 1.8rem;
}

@media (min-width: 1024px) {
  .main-nav {
    display: block;
  }
  .header-cta {
    display: inline-flex;
  }
  .nav-toggle {
    display: none;
  }
}

/* Footer */
.site-footer {
  background: var(--color-text);
  color: var(--color-text-on-dark);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.7em;
  font-weight: 900;
  font-size: 1.2rem;
  margin-bottom: 0.8em;
}

.footer-brand img {
  height: 40px;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  margin-bottom: 1em;
  color: var(--color-gold);
}

.footer-col ul li {
  margin-bottom: 0.7em;
}

.footer-col a:hover {
  color: var(--color-gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.5rem;
  font-size: 0.85rem;
  color: rgba(248, 246, 244, 0.6);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
}

/* Section spacing generico */
.section {
  padding: clamp(3rem, 8vw, 6rem) 0;
}

.section-alt {
  background: var(--color-surface);
}

.section-dark {
  background: var(--color-maroon);
  color: var(--color-text-on-dark);
}

.section-dark .section-header p {
  color: rgba(248, 246, 244, 0.75);
}

.grid {
  display: grid;
  gap: 1.8rem;
}

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

@media (min-width: 768px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
}
