/* Artteonze – Shared Styles */

  :root {
    --bg-deep: #1a0a2e;
    --bg-section: #221240;
    --bg-card: #2d1654;
    --purple-glow: #8365CE;
    --purple-light: #9B7FD4;
    --teal: #29C1B2;
    --teal-bright: #3DDECF;
    --teal-dark: #1FA898;
    --white: #ffffff;
    --text-primary: #EDE6F7;
    --text-muted: #A898C8;
    --card-border: rgba(155,127,212,0.2);
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }

  body {
    font-family: 'Montserrat', sans-serif;
    background: var(--bg-deep);
    color: var(--text-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
  }

  /* ── NAV ── */
  .sticky-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(15, 8, 25, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(41, 193, 178, 0.2);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 6px 0;
  }

  .sticky-nav a {
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 8px 18px;
    border-radius: 100px;
    transition: background 0.25s, color 0.25s;
    border-right: 1px solid rgba(41, 193, 178, 0.2);
  }

  .sticky-nav a:last-child {
    border-right: none;
  }

  .sticky-nav a:hover, .sticky-nav a.active {
    background: rgba(41, 193, 178, 0.15);
    color: var(--teal-bright);
  }

  .nav-logo {
    height: 28px;
    width: auto;
    opacity: 0.9;
    transition: opacity 0.2s;
    display: block;
  }
  .nav-logo-link {
    display: flex;
    align-items: center;
    padding: 8px 18px;
    border-right: 1px solid rgba(41, 193, 178, 0.2);
    text-decoration: none;
  }
  .nav-logo-link:hover .nav-logo {
    opacity: 1;
  }

  /* ── NAV LINKS WRAPPER ── */
  .nav-links {
    display: flex;
    align-items: center;
  }

  .nav-links a {
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 8px 18px;
    border-radius: 100px;
    transition: background 0.25s, color 0.25s;
    border-right: 1px solid rgba(41, 193, 178, 0.2);
  }

  .nav-links a:last-child {
    border-right: none;
  }

  .nav-links a:hover,
  .nav-links a.active {
    background: rgba(41, 193, 178, 0.15);
    color: var(--teal-bright);
  }

  /* ── HAMBURGER BUTTON ── */
  .nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin-right: 14px;
    border-radius: 8px;
    transition: background 0.2s;
  }

  .nav-hamburger:hover {
    background: rgba(41, 193, 178, 0.15);
  }

  .nav-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--teal-bright);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
  }

  .nav-hamburger[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-hamburger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }
  .nav-hamburger[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* ── MOBILE NAV ── */
  @media (max-width: 680px) {
    .sticky-nav {
      flex-wrap: wrap;
      justify-content: space-between;
      padding: 4px 0;
    }

    /* Garante logo + hamburger na mesma linha, links abaixo */
    .nav-logo-link  { order: 1; }
    .nav-hamburger  { order: 2; display: flex; }
    .nav-links      { order: 3; }

    .nav-links {
      display: none;
      width: 100%;
      flex-direction: column;
      align-items: stretch;
      padding: 8px 0 12px;
      border-top: 1px solid rgba(41, 193, 178, 0.15);
    }

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

    .nav-links a {
      border-right: none;
      border-bottom: 1px solid rgba(41, 193, 178, 0.1);
      border-radius: 0;
      padding: 13px 24px;
      text-align: center;
      font-size: 0.82rem;
    }

    .nav-links a:last-child {
      border-bottom: none;
    }
  }
