/* Estilos exclusivos da pagina work.html — extraidos do <style> inline.
   Carregado DEPOIS de global-mdecals.css, entao a cascata nao muda. */

    .page-hero {
      padding: 150px 40px 40px;
      background: #000;
      color: #fff;
      border-bottom: 1px solid #1a1a1a;
      text-align: center;
    }
    .page-hero .wrap {
      max-width: 1200px;
      margin: 0 auto;
    }
    .hero-eyebrow {
      font-family: var(--f-display);
      color: var(--c-lime);
      font-size: 1.05rem;
      font-weight: 600;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      margin-bottom: 14px;
      display: inline-flex;
      align-items: center;
      gap: 10px;
    }
    .page-title {
      font-family: var(--f-display);
      font-size: clamp(3rem, 5.5vw, 5.5rem);
      font-weight: 800;
      line-height: 0.92;
      text-transform: uppercase;
      margin: 0 0 16px 0;
      letter-spacing: -0.02em;
    }
    .page-title .lime {
      color: var(--c-lime);
    }
    .page-desc {
      font-size: 1.1rem;
      line-height: 1.5;
      color: #888888;
      max-width: 600px;
      margin: 0 auto;
    }

    /* FILTER BAR */
    .filter-bar {
      background: #0b0b0b;
      padding: 24px 40px;
      position: sticky;
      top: 80px;
      z-index: 90;
      border-bottom: 1px solid #1f1f1f;
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
    }
    .filter-wrap {
      max-width: 1440px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 14px;
    }
    .main-filters {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      justify-content: center;
      align-items: center;
    }
    .filter-btn {
      background: #141414;
      color: #ccc;
      border: 1px solid #2a2a2a;
      padding: 10px 22px;
      font-family: var(--f-display);
      font-size: 0.92rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      cursor: pointer;
      border-radius: 4px;
      transition: all 0.2s ease;
    }
    .filter-btn:hover {
      border-color: var(--c-lime);
      color: var(--c-lime);
    }
    .filter-btn.active {
      background: var(--c-lime);
      color: #000;
      border-color: var(--c-lime);
      font-weight: 700;
    }

    .sub-filters {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      justify-content: center;
      align-items: center;
      padding-top: 6px;
    }
    .sub-filter-btn {
      background: transparent;
      color: #888;
      border: 1px solid #222;
      padding: 6px 14px;
      font-family: var(--f-display);
      font-size: 0.8rem;
      font-weight: 500;
      text-transform: uppercase;
      letter-spacing: 0.04em;
      cursor: pointer;
      border-radius: 20px;
      transition: all 0.2s ease;
    }
    .sub-filter-btn:hover {
      color: #fff;
      border-color: #444;
    }
    .sub-filter-btn.active {
      background: rgba(204, 255, 0, 0.12);
      color: var(--c-lime);
      border-color: var(--c-lime);
    }

    /* PURE GALLERY GRID */
    .gallery-section {
      background: #050505;
      padding: 40px 40px 100px;
      min-height: 600px;
    }
    .gallery-wrap {
      max-width: 1440px;
      margin: 0 auto;
    }
    .gallery-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
      gap: 16px;
    }
    .gallery-item {
      position: relative;
      aspect-ratio: 4 / 3;
      overflow: hidden;
      border-radius: 6px;
      background: #111;
      cursor: pointer;
    }
    .gallery-item img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: transform 0.4s ease;
    }
    .gallery-item:hover img {
      transform: scale(1.08);
    }
    .gallery-item-overlay {
      position: absolute;
      top: 0; left: 0; right: 0; bottom: 0;
      background: rgba(0, 0, 0, 0.35);
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      transition: opacity 0.3s ease;
    }
    .gallery-item:hover .gallery-item-overlay {
      opacity: 1;
    }
    .zoom-icon {
      width: 44px;
      height: 44px;
      border-radius: 50%;
      background: var(--c-lime);
      color: #000;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.2rem;
      transform: scale(0.8);
      transition: transform 0.3s ease;
    }
    .gallery-item:hover .zoom-icon {
      transform: scale(1);
    }

    /* LOAD MORE & COUNTER */
    .load-more-bar {
      margin-top: 50px;
      text-align: center;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 14px;
    }
    .counter-text {
      font-family: var(--f-body);
      font-size: 0.9rem;
      color: #666;
    }
    .btn-load-more {
      background: var(--c-lime);
      color: #000;
      border: 2px solid var(--c-lime);
      padding: 14px 40px;
      font-family: var(--f-display);
      font-size: 1rem;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      cursor: pointer;
      border-radius: 4px;
      transition: all 0.25s ease;
    }
    .btn-load-more:hover {
      background: transparent;
      color: var(--c-lime);
    }

    /* LIGHTBOX MODAL */
    .lightbox-modal {
      position: fixed;
      top: 0; left: 0; right: 0; bottom: 0;
      background: rgba(0, 0, 0, 0.95);
      z-index: 999;
      display: none;
      align-items: center;
      justify-content: center;
      padding: 20px;
      backdrop-filter: blur(10px);
    }
    .lightbox-modal.active {
      display: flex;
    }
    .lightbox-content {
      max-width: 1200px;
      width: 100%;
      position: relative;
      display: flex;
      flex-direction: column;
      align-items: center;
    }
    .lightbox-close {
      position: absolute;
      top: -45px;
      right: 0;
      background: transparent;
      border: none;
      color: #fff;
      font-size: 2.5rem;
      cursor: pointer;
      line-height: 1;
      transition: color 0.2s;
    }
    .lightbox-close:hover {
      color: var(--c-lime);
    }
    .lightbox-body {
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 100%;
      max-height: 82vh;
    }
    .lightbox-img {
      max-width: 100%;
      max-height: 82vh;
      object-fit: contain;
      border-radius: 6px;
      box-shadow: 0 10px 40px rgba(0,0,0,0.8);
    }
    .lightbox-nav {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background: rgba(0, 0, 0, 0.6);
      color: #fff;
      border: 1px solid rgba(255, 255, 255, 0.2);
      width: 50px;
      height: 50px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.6rem;
      cursor: pointer;
      transition: all 0.2s ease;
      user-select: none;
    }
    .lightbox-nav:hover {
      background: var(--c-lime);
      color: #000;
      border-color: var(--c-lime);
    }
    .lightbox-prev { left: -25px; }
    .lightbox-next { right: -25px; }

    .lightbox-counter {
      margin-top: 16px;
      font-family: var(--f-display);
      font-size: 0.95rem;
      color: #888;
      letter-spacing: 0.05em;
    }

    @media(max-width: 768px) {
      .page-hero { padding: 130px 20px 30px; }
      .filter-bar { padding: 16px 20px; top: 70px; }
      .gallery-section { padding: 24px 16px 60px; }
      .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
      .lightbox-prev { left: 10px; }
      .lightbox-next { right: 10px; }
    }
