:root {
    --bg: #0a0a0a;
    --surface: #111111;
    --surface2: #1a1a1a;
    --gold: #c9a84c;
    --gold-dim: #8a6f2e;
    --text: #e8e4dc;
    --muted: #8b847c;
    --muted2: #6b6560;
    --border: rgba(201,168,76,0.16);
    --font-display: 'Bebas Neue', sans-serif;
    --font-body: 'DM Sans', sans-serif;
  }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }

  body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.7;
    overflow-x: hidden;
  }

  a { color: inherit; }

  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    min-height: 84px;
    padding: 1rem 2rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 2rem;
    border-bottom: 1px solid transparent;
    transition: all 0.4s;
  }

  nav.scrolled {
    background: rgba(10,10,10,0.95);
    border-color: var(--border);
    backdrop-filter: blur(12px);
  }

  .nav-logo {
    font-family: var(--font-display);
    font-size: 1.6rem;
    letter-spacing: 0.05em;
    color: var(--gold);
    text-decoration: none;
  }

  .nav-links {
    display: flex;
    gap: 1.15rem;
    list-style: none;
    justify-content: center;
    align-items: center;
    min-width: 0;
  }

  .nav-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color 0.3s;
    white-space: nowrap;
  }

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

  .nav-cta,
  .btn-primary {
    background: var(--gold);
    color: #000;
    padding: 0.85rem 2rem;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 700;
    transition: opacity 0.3s;
    display: inline-block;
    border: 0;
  }

  .nav-cta { padding: 0.5rem 1.25rem; }
  .nav-cta:hover, .btn-primary:hover { opacity: 0.85; }

  .btn-outline {
    border: 1px solid var(--gold-dim);
    color: var(--text);
    padding: 0.85rem 2rem;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
  }

  .btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
  }

  .hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
  }

  .hamburger span {
    width: 24px;
    height: 1px;
    background: var(--text);
    transition: all 0.3s;
  }

  .hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 7rem 2rem 5rem;
    position: relative;
    overflow: hidden;
  }

  .hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1208 48%, #0a0a0a 100%);
  }

  .hero-grid {
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
  }

  .hero-vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 22%, rgba(10,10,10,0.88) 100%);
  }

  .hero-content {
    position: relative;
    z-index: 2;
    max-width: 1080px;
  }

  .hero-tag,
  .section-tag {
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }

  .hero-tag::before,
  .section-tag::before {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background: var(--gold);
  }

  .hero-title {
    font-family: var(--font-display);
    font-size: clamp(4rem, 10vw, 9rem);
    line-height: 0.9;
    letter-spacing: 0.02em;
    color: var(--text);
    margin-bottom: 1.4rem;
  }

  .hero-title span { color: var(--gold); }

  .hero-sub {
    font-size: 1.08rem;
    color: var(--muted);
    max-width: 720px;
    margin-bottom: 2.2rem;
    line-height: 1.8;
  }

  .hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
  }

  .hero-scroll {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  .hero-scroll span {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted2);
    writing-mode: vertical-rl;
  }

  .hero-scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollLine 2s ease-in-out infinite;
  }

  @keyframes scrollLine {
    0%, 100% { opacity: 0.3; transform: scaleY(0.5); transform-origin: top; }
    50% { opacity: 1; transform: scaleY(1); }
  }

  .stats {
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 2.5rem 2rem;
    display: flex;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
  }

  .stat {
    text-align: center;
    padding: 1rem 3rem;
    border-right: 1px solid var(--border);
  }

  .stat:last-child { border-right: none; }

  .stat-num {
    font-family: var(--font-display);
    font-size: 2.7rem;
    color: var(--gold);
    letter-spacing: 0.05em;
    line-height: 1;
  }

  .stat-label {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--muted2);
    margin-top: 0.25rem;
  }

  section { padding: 5rem 2rem; }
  .container { max-width: 1120px; margin: 0 auto; }
  .narrow { max-width: 820px; }

  .section-title {
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 5vw, 4.5rem);
    line-height: 0.95;
    color: var(--text);
    margin-bottom: 1.5rem;
  }

  .section-intro {
    color: var(--muted);
    font-size: 1rem;
    max-width: 760px;
    margin-bottom: 3rem;
  }

  .about {
    background: var(--bg);
  }

  .about-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
  }

  .authority-card {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 2.2rem;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    overflow: hidden;
  }

  .authority-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
      radial-gradient(circle at 20% 20%, rgba(201,168,76,0.16), transparent 34%),
      linear-gradient(135deg, rgba(201,168,76,0.08), transparent);
  }

  .authority-content {
    position: relative;
    z-index: 2;
  }

  .authority-number {
    font-family: var(--font-display);
    color: var(--gold);
    font-size: 5rem;
    line-height: 0.85;
    margin-bottom: 0.75rem;
  }

  .authority-title {
    font-family: var(--font-display);
    color: var(--text);
    font-size: 2rem;
    line-height: 1;
    margin-bottom: 0.75rem;
  }

  .authority-text {
    color: var(--muted);
    font-size: 0.92rem;
  }

  .about-text p {
    color: var(--muted);
    margin-bottom: 1.25rem;
  }

  .pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 1.5rem;
  }

  .pill {
    border: 1px solid var(--border);
    color: var(--gold);
    padding: 0.35rem 0.7rem;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  .services {
    background: var(--surface);
  }

  .services-grid,
  .portfolio-grid,
  .shop-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border);
    margin-top: 3rem;
  }

  .service-card,
  .portfolio-card,
  .shop-card {
    background: var(--surface);
    padding: 2rem 1.5rem;
    transition: background 0.3s, transform 0.3s;
  }

  .service-card:hover,
  .portfolio-card:hover,
  .shop-card:hover {
    background: var(--surface2);
  }

  .service-num {
    font-family: var(--font-display);
    color: var(--gold-dim);
    font-size: 1.8rem;
    line-height: 1;
    margin-bottom: 1.2rem;
  }

  .service-card h3,
  .portfolio-card h3,
  .shop-card h3 {
    font-family: var(--font-display);
    color: var(--text);
    font-size: 1.5rem;
    line-height: 1;
    margin-bottom: 0.8rem;
  }

  .service-card p,
  .portfolio-card p,
  .shop-card p {
    color: var(--muted);
    font-size: 0.86rem;
  }

  .serie { background: var(--bg); }

  .serie-card {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 2.2rem;
    min-height: 360px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .serie-card-tag {
    display: inline-block;
    width: fit-content;
    color: var(--gold);
    border: 1px solid var(--border);
    padding: 0.25rem 0.6rem;
    font-size: 0.65rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
  }

  .serie-card h3 {
    font-family: var(--font-display);
    color: var(--text);
    font-size: 2.2rem;
    line-height: 1;
    margin-bottom: 1rem;
  }

  .serie-card p {
    color: var(--muted);
    font-size: 0.92rem;
    margin-bottom: 1.5rem;
  }

  .serie-points {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }

  .serie-points div {
    display: flex;
    gap: 0.9rem;
    align-items: center;
    border-top: 1px solid var(--border);
    padding-top: 0.75rem;
  }

  .serie-points strong {
    font-family: var(--font-display);
    color: var(--gold);
    font-size: 1.2rem;
    min-width: 2rem;
  }

  .serie-points span {
    color: var(--muted);
    font-size: 0.85rem;
  }


  .serie-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
  }

  .serie-visual {
    position: relative;
    aspect-ratio: 16/9;
    background: var(--surface2);
    overflow: hidden;
  }

  .serie-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(201,168,76,0.12), transparent);
  }

  .serie-visual-inner {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
  }

  .serie-icon {
    width: 64px;
    height: 64px;
    border: 1px solid var(--gold-dim);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .serie-icon svg {
    width: 32px;
    height: 32px;
    fill: var(--gold);
  }

  .serie-name {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--gold);
    letter-spacing: 0.1em;
  }

  .serie-corner {
    position: absolute;
    width: 20px;
    height: 20px;
    border-color: var(--gold-dim);
    border-style: solid;
  }

  .serie-corner.tl { top: 12px; left: 12px; border-width: 1px 0 0 1px; }
  .serie-corner.tr { top: 12px; right: 12px; border-width: 1px 1px 0 0; }
  .serie-corner.bl { bottom: 12px; left: 12px; border-width: 0 0 1px 1px; }
  .serie-corner.br { bottom: 12px; right: 12px; border-width: 0 1px 1px 0; }

  .serie-text p {
    color: var(--muted);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
  }

  .serie-episodes {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 2rem;
  }

  .episode {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    transition: border-color 0.3s;
  }

  .episode:hover { border-color: var(--gold-dim); }

  .ep-num {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--gold-dim);
    min-width: 2rem;
  }

  .ep-info { flex: 1; }
  .ep-title { font-size: 0.85rem; color: var(--text); }
  .ep-loc { font-size: 0.75rem; color: var(--muted2); }

  .portfolio,
  .shop {
    background: var(--surface);
  }

  .portfolio-tag,
  .shop-tag {
    display: inline-block;
    color: var(--gold);
    border: 1px solid var(--border);
    padding: 0.25rem 0.6rem;
    font-size: 0.65rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 1rem;
  }

  .shop-card {
    min-height: 245px;
    display: flex;
    flex-direction: column;
  }

  .shop-links {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin-top: auto;
    padding-top: 1.3rem;
  }

  .shop-link {
    border: 1px solid var(--border);
    color: var(--text);
    text-decoration: none;
    padding: 0.55rem 0.75rem;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: all 0.3s;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .shop-link:hover {
    border-color: var(--gold);
    color: var(--gold);
  }

  .shop-note {
    color: var(--muted2);
    font-size: 0.82rem;
    margin-top: 2rem;
    max-width: 780px;
  }

  .gear {
    background: var(--bg);
  }

  .gear-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1px;
    margin-top: 3rem;
    background: var(--border);
  }

  .gear-item {
    background: var(--bg);
    padding: 2rem 1.5rem;
    transition: background 0.3s;
  }

  .gear-item:hover { background: var(--surface); }

  .gear-cat {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.5rem;
  }

  .gear-name {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--text);
    line-height: 1.1;
    margin-bottom: 0.5rem;
  }

  .gear-desc {
    font-size: 0.8rem;
    color: var(--muted);
  }

  .cta {
    background:
      radial-gradient(circle at 20% 20%, rgba(201,168,76,0.16), transparent 30%),
      var(--surface);
    text-align: center;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }

  .cta .section-title,
  .cta .section-intro {
    margin-left: auto;
    margin-right: auto;
  }

  .redes { background: var(--bg); }

  .redes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    margin-top: 3rem;
  }

  .rede-card {
    border: 1px solid var(--border);
    padding: 2rem;
    text-decoration: none;
    transition: all 0.3s;
    display: block;
    position: relative;
    overflow: hidden;
  }

  .rede-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gold);
    opacity: 0;
    transition: opacity 0.3s;
  }

  .rede-card:hover::before { opacity: 0.04; }
  .rede-card:hover { border-color: var(--gold-dim); }

  .rede-platform {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.75rem;
  }

  .rede-handle {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--text);
    margin-bottom: 0.5rem;
  }

  .rede-desc {
    font-size: 0.8rem;
    color: var(--muted);
  }

  .rede-arrow {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    color: var(--gold-dim);
    font-size: 1.2rem;
    transition: transform 0.3s;
  }

  .rede-card:hover .rede-arrow { transform: translate(3px, -3px); }

  footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 3rem 2rem;
    text-align: center;
  }

  .footer-logo {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--gold);
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
  }

  .footer-tagline {
    font-size: 0.8rem;
    color: var(--muted2);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 2rem;
  }

  .footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
  }

  .footer-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    transition: color 0.3s;
  }

  .footer-links a:hover { color: var(--gold); }
  .footer-copy { font-size: 0.75rem; color: var(--muted2); }

  .fade-in {
    opacity: 1;
    transform: none;
  }

  html.js .fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }

  html.js .fade-in.visible {
    opacity: 1;
    transform: none;
  }

  @media (max-width: 980px) {
    .services-grid,
    .portfolio-grid,
    .shop-grid {
      grid-template-columns: repeat(2, 1fr);
    }

    .about-grid,
    .serie-grid {
      grid-template-columns: 1fr;
      gap: 2rem;
    }
  }

  @media (max-width: 768px) {
    nav {
      min-height: 74px;
      padding: 1rem 1.25rem;
      display: flex;
    }

    .nav-links {
      display: none;
      flex-direction: column;
      position: fixed;
      inset: 0;
      background: var(--bg);
      justify-content: center;
      align-items: center;
      gap: 2rem;
      font-size: 1.2rem;
    }

    .nav-links a {
      font-size: 0.95rem;
    }

    .nav-links.open { display: flex; }
    .hamburger { display: flex; }
    .nav-cta { display: none; }

    .hero { padding: 0 1.25rem 4rem; }
    .hero-title { font-size: clamp(3rem, 15vw, 5rem); }
    .hero-scroll { display: none; }

    .stats { gap: 0; }

    .stat {
      padding: 1rem 1.5rem;
      border-right: none;
      border-bottom: 1px solid var(--border);
      width: 50%;
    }

    .stat:nth-child(odd) { border-right: 1px solid var(--border); }
    .stat:last-child { border-bottom: none; }

    section { padding: 3.5rem 1.25rem; }

    .services-grid,
    .portfolio-grid,
    .shop-grid {
      grid-template-columns: 1fr;
    }
  }

  /* TOPO FINAL SIMPLIFICADO */
  nav#nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    min-height: 82px;
    padding: 0 2rem;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }

  nav#nav .nav-logo {
    white-space: nowrap;
  }

  .nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
  }

  .nav-link-simple {
    color: var(--muted);
    text-decoration: none;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: color 0.3s;
    white-space: nowrap;
  }

  .nav-link-simple:hover {
    color: var(--gold);
  }

  nav#nav .nav-cta {
    white-space: nowrap;
  }

  .hero {
    padding-top: 8rem !important;
  }

  @media (max-width: 768px) {
    nav#nav {
      min-height: 72px;
      padding: 0 1.25rem;
    }

    .nav-link-simple {
      display: none;
    }

    nav#nav .nav-cta {
      display: inline-block;
      padding: 0.45rem 0.9rem;
      font-size: 0.68rem;
    }

    .hero {
      padding-top: 7rem !important;
    }
  }
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  min-height: 82px;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10,10,10,0.95);
  border-bottom: 1px solid var(--border);
}

.nav-links {
  display: flex;
  gap: 1.2rem;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
}
