/* ── components/layout.css — nav & footer compartilhados ── */
@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,600&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --bg-0: #0A0A0A;
  --bg-2: #161616;
  --fg: #F5F5F0;
  --fg-dim: #8a8a82;
  --fg-mute: #55554f;
  --line: #1f1f1f;
  --line-2: #2a2a27;
  --accent: #ebbe38;
  --ease: cubic-bezier(.22,.61,.36,1);
}

.container { max-width: 1360px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 720px) { .container { padding: 0 20px; } }

/* NAV */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 20px 0; background: transparent; transition: background .3s, border .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(10,10,10,.72); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%); border-bottom-color: var(--line); }
.nav .row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { font-family: 'Bricolage Grotesque', serif; font-weight: 600; font-size: 20px; letter-spacing: -.01em; display: flex; align-items: center; gap: 8px; color: var(--fg); text-decoration: none; }
.logo .star { color: var(--accent); display: inline-block; transform-origin: center; animation: spin 12s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { font-size: 13.5px; color: var(--fg-dim); transition: color .2s; text-decoration: none; }
.nav-links a:hover { color: var(--fg); }
.nav-right { display: flex; align-items: center; gap: 16px; }
.cta-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 13px; color: var(--fg); transition: all .2s; text-decoration: none; }
.cta-btn:hover { border-color: var(--accent); color: var(--accent); }
.cta-btn .arrow { transition: transform .2s; }
.cta-btn:hover .arrow { transform: translate(2px, -2px); }
.burger { display: none; cursor: pointer; }

/* LANG SWITCHER */
.lang { display: flex; background: var(--bg-2); border: 1px solid var(--line); border-radius: 999px; padding: 3px; font-family: 'JetBrains Mono', monospace; font-size: 11px; }
.lang button { padding: 5px 10px; border-radius: 999px; color: var(--fg-dim); letter-spacing: .05em; background: transparent; border: 0; cursor: pointer; font: inherit; transition: all .2s; }
.lang button.on { background: var(--accent); color: #0A0A0A; font-weight: 600; }
@media (max-width: 900px) {
  .cta-btn { display: none; }
  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--bg-0);
    z-index: 99;
    align-items: center;
    justify-content: center;
    gap: 32px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 28px; color: var(--fg); }
  .nav-links a:hover { color: var(--accent); }
  .burger { display: inline-flex; color: var(--fg-dim); font-size: 12px; font-family: 'JetBrains Mono', monospace; letter-spacing: .08em; }
}

/* FOOTER */
footer { padding: 40px 0 60px; border-top: 1px solid var(--line); }
.foot { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; font-family: 'JetBrains Mono', monospace; font-size: 11.5px; color: var(--fg-mute); }
.foot .links { display: flex; gap: 20px; }
.foot .links a { color: var(--fg-mute); text-decoration: none; }
.foot .links a:hover { color: var(--accent); }
