/* ==========================================================================
   Campanha 360 — menu.css
   Header/menu styles extracted from site.css, for the sticky brand menu
   layered on top of main.css (bootstrap landing body).
   ========================================================================== */

:root {
  --brand: #487FFF;
  --brand-dark: #2f5fd6;
  --ink: #101828;
  --muted: #5b6472;
  --bg: #F4F6F9;
  --line: #E2E6EC;
  --radius: 8px;
  --font-display: 'Sora', ui-sans-serif, -apple-system, sans-serif;
  --font-body: 'DM Sans', ui-sans-serif, -apple-system, sans-serif;
  --ease: cubic-bezier(.22, .8, .3, 1);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  padding: 12px 16px;
  background: var(--brand);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
}
.skip-link:focus { left: 16px; top: 16px; }

/* ===== Header ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  transition: background .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
  font-family: var(--font-body);
}
.header.is-scrolled {
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, .08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .05);
}

/* Mesma largura/padding do .container Bootstrap do site */
.header .container.header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.brand__mark {
  width: 38px;
  height: 38px;
  border-radius: var(--radius);
  background: var(--brand);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--ink);
}
.brand__title b { font-weight: 300; color: var(--ink); }
.brand__title span { color: var(--brand); font-weight: 700; }
.brand__tagline {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}

.nav { display: flex; align-items: center; gap: 36px; }
.nav a {
  font-size: 17px;
  font-weight: 400;
  transition: color .15s var(--ease);
  position: relative;
}
.nav a:hover, .nav a.is-active { color: var(--ink); }

.header__actions { display: flex; align-items: center; gap: 12px; }
.header__actions a.link {
  font-size: 17px;
  font-weight: 400;
  color: var(--ink);
  padding: 0 6px;
}
.header__actions a.link:hover { color: var(--brand); }
.header__actions .btn {
  font-size: 17px;
  font-weight: 400;
}
.header__actions .btn--sm {
  font-size: 17px;
  font-weight: 400;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  transition: transform .2s var(--ease), opacity .2s var(--ease);
}
.nav-toggle.is-active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ===== Buttons (header minimal) ========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 24px;
  border-radius: 30px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  border: 1px solid transparent;
  transition: background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease), transform .12s var(--ease);
  white-space: nowrap;
}
.btn--primary {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}
.btn--primary:hover,
.btn--primary:focus {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  color: #fff;
  transform: translateY(-1px);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--ink); }
.btn--sm { height: 40px; padding: 0 18px; font-size: 14px; }

/* ===== Mobile menu ======================================================= */
@media (max-width: 992px) {
  .nav, .header__actions .link { display: none; }
  .header__actions a.btn--sm { display: none; }
  .nav-toggle { display: flex; }
  .header.is-menu-open .nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 20px 24px 24px;
    gap: 18px;
    align-items: flex-start;
  }
  .header.is-menu-open .header__actions {
    display: flex;
    position: absolute;
    top: calc(76px + 180px);
    left: 0;
    right: 0;
    background: #fff;
    padding: 0 24px 24px;
    flex-direction: column;
    align-items: stretch;
    border-bottom: 1px solid var(--line);
  }
  .header.is-menu-open .header__actions .link { display: block; padding: 10px 0; }
  .header.is-menu-open .header__actions a.btn--sm { display: flex; }
}

@media (max-width: 560px) {
  .shell { padding: 0 18px; }
}
