@font-face {
  font-family: 'NB International Pro';
  src: url('https://cdn.jsdelivr.net/gh/tomgalle/virmo@master/css/fonts/NB-International-Pro-Light.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'NB International Pro';
  src: url('https://cdn.jsdelivr.net/gh/tomgalle/virmo@master/css/fonts/NB-International-Pro-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'NB International Pro';
  src: url('https://cdn.jsdelivr.net/gh/tomgalle/virmo@master/css/fonts/NB-International-Pro-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #080808;
  --surface: #111111;
  --surface-elevated: #171717;
  --ink: #f5f5f5;
  --ink-soft: #d4d4d4;
  --muted: #8a8a8a;
  --border: rgba(255, 255, 255, 0.11);
  --border-strong: rgba(255, 255, 255, 0.24);
  --blue: #2c1dfa;
  --blue-bright: #1a6aff;
  --accent-orange: #f05226;
  --font-main: 'NB International Pro', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font-main);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--bg);
  color: var(--ink);
}

a {
  color: inherit;
}

img, video {
  max-width: 100%;
}

/* ==========================================================================
   HOME — VIEWPORT-LOCKED FULLSCREEN HORIZONTAL CAROUSEL
   ========================================================================== */

body.is-home {
  overflow: hidden;
  width: 100vw;
  height: 100dvh;
  background-color: #000000;
  color: #ffffff;
  user-select: none;
  touch-action: none;
}

@media (hover: hover) and (pointer: fine) {
  body.has-figma-cursor,
  body.has-figma-cursor * {
    cursor: none !important;
  }
}

.home-shell {
  position: fixed;
  inset: 0;
  z-index: 1;
  isolation: isolate;
  width: 100vw;
  height: 100dvh;
  overflow: hidden;
  background-color: #000000;
}

body.is-modal-open .home-shell {
  pointer-events: none;
}

/* Larger Pure White Text-Only Overlay Header */
.home-nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 30px 44px;
  pointer-events: none;
  color: #ffffff;
}

.home-role {
  font-size: 14.5px;
  line-height: 1.48;
  font-weight: 300;
  letter-spacing: 0.01em;
  color: #ffffff;
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.72);
  pointer-events: auto;
  max-width: 360px;
}

.home-brand {
  position: absolute;
  left: 50%;
  top: 28px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #ffffff;
  filter: drop-shadow(0 2px 14px rgba(0, 0, 0, 0.55));
  pointer-events: auto;
  transition: opacity 0.2s ease;
}

.home-brand:hover {
  opacity: 0.96;
}

.home-logo-svg {
  height: 30px;
  width: auto;
  display: block;
}

/* Floating Tooltip on Guifa Logo ("AKA. Guilherme Farias") */
.logo-tooltip {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translate(-50%, -4px);
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(12, 12, 12, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 300;
  letter-spacing: 0.03em;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  transition: opacity 0.22s ease, transform 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

.home-brand:hover .logo-tooltip,
.home-brand:focus-visible .logo-tooltip,
.logo-link:hover .logo-tooltip,
.logo-link:focus-visible .logo-tooltip {
  opacity: 1;
  transform: translate(-50%, 0);
}

.home-nav-right {
  display: flex;
  align-items: center;
  gap: 32px;
  pointer-events: auto;
  padding-top: 4px;
}

.home-nav-link {
  font-size: 15px;
  line-height: 1.2;
  font-weight: 300;
  letter-spacing: 0.015em;
  color: #ffffff;
  text-decoration: none;
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.7);
  position: relative;
  padding-bottom: 4px;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.home-nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: #ffffff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.home-nav-link:hover::after {
  transform: scaleX(1);
}

/* Global Figma Cursors (Multiplayer Dart + Pointing Hand + Speech-Bubble Idle Pill) */
.figma-cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 25000;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(-200px, -200px, 0);
  transition: opacity 0.16s ease;
  will-change: transform, opacity;
}

.figma-cursor.is-visible {
  opacity: 1;
}

.figma-cursor-arrow {
  display: block;
  width: 22px;
  height: 22px;
  transform: translate(-3px, -2px);
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.55));
  transition: opacity 0.14s ease, transform 0.16s cubic-bezier(0.16, 1, 0.3, 1);
}

.figma-cursor-hand {
  position: absolute;
  top: 0;
  left: 0;
  width: 26px;
  height: 26px;
  transform: translate(-10px, -2px) scale(0.84);
  opacity: 0;
  filter: drop-shadow(0 3px 7px rgba(0, 0, 0, 0.52));
  transition: opacity 0.14s ease, transform 0.16s cubic-bezier(0.16, 1, 0.3, 1);
}

.figma-cursor.is-pointer .figma-cursor-arrow {
  opacity: 0;
  transform: translate(-3px, -2px) scale(0.76);
}

.figma-cursor.is-pointer .figma-cursor-hand {
  opacity: 1;
  transform: translate(-10px, -2px) scale(1);
}

.figma-cursor.is-down .figma-cursor-arrow {
  transform: translate(-3px, -2px) scale(0.88);
}

.figma-cursor.is-down.is-pointer .figma-cursor-hand {
  transform: translate(-10px, -2px) scale(0.9);
}

/* Figma Speech-Bubble Pill Badge (Opens beside cursor after 5s idle on Home) */
.figma-idle-badge {
  position: absolute;
  top: 22px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px 10px 14px;
  border-radius: 3px 999px 999px 999px;
  background: #2c1dfa;
  color: #ffffff;
  white-space: nowrap;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
  opacity: 0;
  transform: translate(-6px, -6px) scale(0.72);
  transform-origin: top left;
  transition: opacity 0.28s ease, transform 0.34s cubic-bezier(0.16, 1, 0.3, 1);
}

.figma-cursor.is-idle .figma-idle-badge {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

.scroll-cursor-icon {
  width: 20px;
  height: 28px;
  display: block;
  flex-shrink: 0;
}

.scroll-cursor-wheel {
  animation: guifaScrollDot 1.6s ease-in-out infinite;
}

@keyframes guifaScrollDot {
  0%, 100% { transform: translateY(0); opacity: 1; }
  60% { transform: translateY(5px); opacity: 0.35; }
}

.scroll-cursor-text {
  font-size: 12px;
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: 0.015em;
  color: #ffffff;
}

@media (hover: none), (pointer: coarse) {
  .figma-cursor {
    display: none;
  }
}

/* Horizontal Sliding Stage */
.home-stage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #000000;
}

.carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  will-change: transform;
  transition: transform 0.72s cubic-bezier(0.22, 1, 0.36, 1);
}

.slide-item {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #080808;
}

.slide-link {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  cursor: pointer;
}

.slide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.035);
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.slide-item.is-active .slide-img {
  transform: scale(1);
}

.home-scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 5;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.44) 0%, rgba(0, 0, 0, 0) 24%),
    linear-gradient(to top, rgba(0, 0, 0, 0.66) 0%, rgba(0, 0, 0, 0) 36%);
}

/* Larger Awards — Top-Right Corner */
.home-award-corner {
  position: absolute;
  top: 90px;
  right: 44px;
  z-index: 15;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  transition: opacity 0.28s ease, transform 0.34s cubic-bezier(0.16, 1, 0.3, 1);
}

.home-award-corner[hidden] {
  display: none;
}

.home-award-corner.is-transitioning {
  opacity: 0;
  transform: translateY(-6px);
}

.home-award-icon {
  height: 92px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.65));
}

/* Larger Case Name — Bottom-Left Corner, UPPERCASE */
.home-details {
  position: absolute;
  left: 44px;
  bottom: 118px;
  width: min(56vw, 840px);
  z-index: 12;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  color: #ffffff;
  text-shadow: 0 3px 32px rgba(0, 0, 0, 0.72);
}

.home-title {
  margin: 0;
  font-family: var(--font-main);
  font-size: clamp(46px, 5.6vw, 88px);
  line-height: 0.96;
  font-weight: 300;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  color: #ffffff;
  transition: opacity 0.26s ease, transform 0.34s cubic-bezier(0.16, 1, 0.3, 1);
}

.home-details.is-transitioning .home-title {
  opacity: 0;
  transform: translateY(10px);
}

/* Bottom Dock + Hover Zoom + Floating Case Caption + Short White Active Indicator */
.dock-wrap {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 18px;
  z-index: 25;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.dock {
  position: relative;
  width: fit-content;
  max-width: calc(100vw - 48px);
  border-radius: 14px;
  background: rgba(14, 14, 14, 0.44);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.36);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 10px 12px 9px;
  gap: 7px;
  pointer-events: auto;
  overflow: visible;
}

.dock-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow: visible;
}

.thumb-btn {
  position: relative;
  width: 76px;
  height: 46px;
  flex: 0 0 76px;
  border-radius: 6px;
  border: 1.5px solid transparent;
  padding: 0;
  cursor: pointer;
  overflow: visible;
  background: transparent;
  opacity: 0.46;
  transition: opacity 0.2s ease, transform 0.26s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease;
}

.thumb-frame {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 6px;
  overflow: hidden;
  background: #141414;
  border: 1.5px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.24s ease;
}

.thumb-btn:hover {
  opacity: 1;
  transform: scale(1.24) translateY(-5px);
  z-index: 10;
}

.thumb-btn:hover .thumb-frame {
  border-color: rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

.thumb-btn.is-active {
  opacity: 1;
}

.thumb-btn.is-active .thumb-frame {
  border-color: #ffffff;
}

.thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.thumb-award-dot {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.9);
}

/* Hover Case Name Tooltip Above Dock Thumbnail */
.thumb-tooltip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translate(-50%, 4px) scale(0.84);
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #ffffff;
  font-family: var(--font-main);
  font-size: 10.5px;
  font-weight: 300;
  letter-spacing: 0.02em;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.55);
  transition: opacity 0.18s ease, transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.thumb-btn:hover .thumb-tooltip,
.thumb-btn:focus-visible .thumb-tooltip {
  opacity: 1;
  transform: translate(-50%, 0) scale(0.81);
}

/* Interactive Scrollbar Track + Short White Active Indicator Underneath Active Case */
.dock-indicator-track {
  position: relative;
  width: 100%;
  height: 14px;
  display: flex;
  align-items: center;
  pointer-events: auto;
  cursor: pointer;
  touch-action: none;
}

.dock-indicator-track::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  transform: translateY(-50%);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  transition: background 0.2s ease, height 0.2s ease;
}

.dock-indicator-track:hover::before,
.dock-indicator-track.is-dragging::before {
  background: rgba(255, 255, 255, 0.28);
  height: 3px;
}

.dock-active-bar {
  position: absolute;
  top: 50%;
  left: 0;
  width: 34px;
  height: 3.5px;
  margin-top: -1.75px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.45);
  transition: transform 0.36s cubic-bezier(0.22, 1, 0.36, 1), height 0.18s ease, margin-top 0.18s ease;
  will-change: transform;
}

.dock-indicator-track:hover .dock-active-bar,
.dock-indicator-track.is-dragging .dock-active-bar {
  height: 5px;
  margin-top: -2.5px;
}

.dock-indicator-track.is-dragging .dock-active-bar {
  transition: transform 0.08s linear, height 0.18s ease, margin-top 0.18s ease;
}

.home-state {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 24px;
  text-align: center;
  color: #ffffff;
}

.home-loader {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-top-color: #ffffff;
  animation: guifaSpin 0.7s linear infinite;
}

@keyframes guifaSpin {
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   INTERNAL PAGES — DARK MINIMAL EDITORIAL WITH WIDE MARGINS
   ========================================================================== */

.header-wrap {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  justify-content: center;
  padding: 28px clamp(32px, 10vw, 180px) 18px;
  background: linear-gradient(to bottom, rgba(8, 8, 8, 0.95) 0%, rgba(8, 8, 8, 0.7) 70%, rgba(8, 8, 8, 0) 100%);
  pointer-events: none;
}

.header-bar {
  width: 100%;
  max-width: 1440px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: auto;
}

.logo-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: #ffffff;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.logo-link:hover {
  opacity: 0.92;
}

.logo-svg {
  height: 28px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-item {
  font-size: 14.5px;
  line-height: 1.4;
  font-weight: 300;
  letter-spacing: 0.015em;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  position: relative;
  padding-bottom: 3px;
  transition: color 0.2s ease;
}

.nav-item:hover,
.nav-item.is-active {
  color: #ffffff;
}

.nav-item.is-active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: #ffffff;
}

.main {
  max-width: 1440px;
  margin: 0 auto;
  padding: 72px clamp(48px, 11vw, 190px) 128px;
  min-height: 70vh;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 56px;
}

/* Larger Page Title for Todos os Cases & Autorais */
.page-heading {
  margin: 0;
  font-family: var(--font-main);
  font-size: clamp(46px, 5.4vw, 80px);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--ink);
}

/* ==========================================================================
   SINGLE-COLUMN EDITORIAL LIST (TODOS OS CASES & AUTORAIS)
   Large Title (+ | Award) on Left + Wider Same-Height Image on Right
   ========================================================================== */

.case-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}

.case-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: 26px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.25s ease;
}

.case-row:hover {
  border-bottom-color: rgba(255, 255, 255, 0.36);
}

.case-row-left {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
  flex: 1;
}

.case-row-title {
  margin: 0;
  font-family: var(--font-main);
  font-size: clamp(28px, 3.4vw, 52px);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--ink);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.case-row:hover .case-row-title {
  transform: translateX(8px);
}

.case-row-sep {
  font-size: clamp(24px, 2.8vw, 40px);
  font-weight: 300;
  line-height: 1;
  color: rgba(255, 255, 255, 0.32);
  flex-shrink: 0;
  user-select: none;
}

.case-row-award {
  height: 40px;
  width: auto;
  max-width: 112px;
  object-fit: contain;
  flex-shrink: 0;
  opacity: 0.94;
}

/* Wider Image Without Changing Height (Clean Panoramic Crop) */
.case-row-thumb {
  width: clamp(260px, 27vw, 400px);
  height: 112px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
  background: var(--surface);
}

.case-row-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.case-row:hover .case-row-img {
  transform: scale(1.05);
}

.skeleton-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}

.skeleton-title-bar {
  height: 38px;
  width: 44%;
  border-radius: 6px;
  background: linear-gradient(90deg, #121212 25%, #1d1d1d 50%, #121212 75%);
  background-size: 200% 100%;
  animation: guifaShimmer 1.3s ease-in-out infinite;
}

.skeleton-thumb-bar {
  width: clamp(240px, 26vw, 380px);
  height: 112px;
  border-radius: 6px;
  background: linear-gradient(90deg, #121212 25%, #1d1d1d 50%, #121212 75%);
  background-size: 200% 100%;
  animation: guifaShimmer 1.3s ease-in-out infinite;
}

@keyframes guifaShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ==========================================================================
   WIDER CASE & AUTORAL POPUP MODAL — LIGHTER BLUR + FLOATING TOP BAR
   ========================================================================== */

.case-modal {
  position: fixed;
  inset: 0;
  z-index: 9000;
  isolation: isolate;
  transform: translateZ(0);
  background: rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(14px, 2.4vh, 28px) clamp(12px, 2.8vw, 36px);
  overflow-y: auto;
  overscroll-behavior: contain;
  opacity: 0;
  transition: opacity 0.24s ease;
}

.case-modal.is-open {
  opacity: 1;
}

.case-modal[hidden] {
  display: none;
}

.case-modal-sheet {
  position: relative;
  width: 100%;
  max-width: min(1360px, 94vw);
  background: #0d0d0d;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.65);
  overflow: visible;
  transform: translateY(18px) scale(0.99);
  transition: transform 0.34s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--ink);
  user-select: text;
}

.case-modal.is-open .case-modal-sheet {
  transform: translateY(0) scale(1);
}

.case-modal-topbar-wrap {
  position: sticky;
  top: 16px;
  z-index: 20;
  padding: 16px clamp(16px, 2.5vw, 32px) 0;
  pointer-events: none;
}

.case-modal-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 14px 10px 22px;
  border-radius: 999px;
  background: rgba(16, 16, 16, 0.76);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.5);
  pointer-events: auto;
}

.case-modal-label {
  font-size: 13.5px;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.case-modal-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.case-modal-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.04);
  color: #ffffff;
  font-family: var(--font-main);
  font-size: 12.5px;
  font-weight: 300;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.case-modal-icon-btn:hover {
  background: #ffffff;
  border-color: #ffffff;
  color: #000000;
}

.case-modal-icon-btn.is-square {
  width: 36px;
  padding: 0;
}

.case-modal-icon-btn svg {
  width: 15px;
  height: 15px;
  display: block;
}

.case-modal-body {
  padding: clamp(20px, 3vw, 36px) clamp(20px, 3.2vw, 40px) clamp(36px, 4.5vw, 56px);
}

/* ==========================================================================
   CASE / AUTORAL CONTENT
   ========================================================================== */

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 300;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 24px;
  transition: color 0.2s ease;
}

.back-link:hover {
  color: #ffffff;
}

.case-top-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.case-title {
  margin: 0;
  font-size: clamp(32px, 4.4vw, 58px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.case-award-badge {
  height: 68px;
  width: auto;
  object-fit: contain;
}

.case-intro-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 40px;
  padding: 24px 0 36px;
  border-top: 1px solid var(--border);
  align-items: start;
}

.case-intro-grid.is-single {
  grid-template-columns: 1fr;
  max-width: 780px;
}

.case-para {
  margin: 0 0 14px;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.65;
  color: var(--ink-soft);
}

.case-para:last-child {
  margin-bottom: 0;
}

.meta-heading {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 10px;
}

.credits-inline p {
  margin: 0 0 6px;
  font-size: 13.5px;
  font-weight: 300;
  line-height: 1.55;
  color: var(--muted);
}

.credits-inline p:last-child {
  margin-bottom: 0;
}

.frame-16x9 {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface);
}

.frame-16x9 img,
.frame-16x9 video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-16x9 {
  margin-bottom: 36px;
}

.gallery-intro {
  max-width: 760px;
  margin: 0 0 28px;
}

.gallery-intro h2 {
  margin: 0 0 8px;
  font-size: 26px;
  font-weight: 400;
  color: var(--ink);
}

.gallery-intro h3 {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 300;
  color: var(--muted);
}

.gallery-intro p {
  margin: 0;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.65;
  color: var(--ink-soft);
}

.gallery-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.gallery-item {
  cursor: default;
}

.next-wrap {
  margin-top: 64px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
}

.next-card {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 32px;
  align-items: center;
  padding: 24px;
  border-radius: 12px;
  background: var(--surface);
  text-decoration: none;
  color: var(--ink);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.next-card:hover {
  border-color: var(--border-strong);
  background: var(--surface-elevated);
  transform: translateY(-2px);
}

.next-kicker {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.next-title {
  margin: 0 0 18px;
  font-size: clamp(22px, 2.8vw, 34px);
  font-weight: 300;
  line-height: 1.1;
}

/* ==========================================================================
   SOBRE MIM — DARK MONOCHROME CLIENT LOGOS MARQUEE
   ========================================================================== */

.about-hero {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 56px;
  align-items: start;
  margin-bottom: 72px;
}

.about-heading {
  margin: 0 0 24px;
  font-size: clamp(36px, 4.4vw, 60px);
  font-weight: 300;
  line-height: 1.06;
  letter-spacing: -0.025em;
}

.about-para {
  margin: 0 0 18px;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.65;
  color: var(--ink-soft);
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.action-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 300;
  border: 1px solid var(--border-strong);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.action-pill:hover {
  background: #ffffff;
  border-color: #ffffff;
  color: #000000;
}

.action-pill-primary {
  background: #ffffff;
  border-color: #ffffff;
  color: #000000;
}

.action-pill-primary:hover {
  background: var(--blue-bright);
  border-color: var(--blue-bright);
  color: #ffffff;
}

.portrait-wrap {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
}

.portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
  display: block;
}

.resume-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  padding: 48px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 64px;
}

.resume-col-title {
  margin: 0 0 20px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.resume-item {
  margin-bottom: 20px;
}

.resume-item:last-child {
  margin-bottom: 0;
}

.resume-name {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 400;
  color: var(--ink);
}

.resume-sub {
  margin: 0;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.45;
  color: var(--muted);
}

.clients-section {
  overflow: hidden;
}

.clients-title {
  margin: 0 0 32px;
  font-size: 30px;
  font-weight: 300;
}

.clients-marquee {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.marquee-row {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  mask-image: linear-gradient(to right, transparent 0%, #000000 8%, #000000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000000 8%, #000000 92%, transparent 100%);
}

.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  will-change: transform;
  animation: guifaMarquee 32s linear infinite;
}

.marquee-row.is-right .marquee-track {
  animation-duration: 36s;
  animation-direction: reverse;
}

.marquee-row:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 44px;
  padding-right: 44px;
}

.marquee-item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 132px;
  width: 132px;
  height: 52px;
}

.client-logo {
  width: 120px;
  height: 44px;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.84;
  transition: opacity 0.2s ease, transform 0.25s ease;
}

.client-logo-svg {
  display: block;
  width: auto;
  height: 36px;
  max-width: 128px;
  color: #ffffff;
  opacity: 0.84;
  transition: opacity 0.2s ease, transform 0.25s ease;
}

.client-logo-svg.is-emblem {
  height: 44px;
}

.marquee-item:hover .client-logo,
.marquee-item:hover .client-logo-svg {
  opacity: 1;
  transform: scale(1.06);
}

@keyframes guifaMarquee {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
    flex-wrap: wrap;
    width: 100%;
  }
  .marquee-group[aria-hidden="true"] {
    display: none;
  }
}

/* ==========================================================================
   LIGHTBOX (16:9)
   ========================================================================== */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10050;
  background: rgba(6, 6, 6, 0.96);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px 32px;
}

.lightbox[hidden] {
  display: none;
}

.lb-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 300;
}

.lb-btn {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: #ffffff;
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 300;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.lb-btn:hover {
  background: #ffffff;
  color: #000000;
}

.lb-stage {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
}

.lb-img {
  max-width: 100%;
  max-height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
}

.lb-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
}

/* ==========================================================================
   DARK MINIMAL FOOTER (NO BLUE BACKGROUND)
   ========================================================================== */

.footer {
  background: var(--bg);
  color: var(--ink);
  border-top: 1px solid var(--border);
  padding: 72px clamp(48px, 11vw, 190px) 48px;
}

.footer-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.7fr;
  gap: 40px;
}

.footer-title {
  margin: 0 0 18px;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 300;
  line-height: 1.08;
  color: var(--ink);
}

.footer-cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 24px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 300;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.footer-cta:hover {
  background: #ffffff;
  border-color: #ffffff;
  color: #000000;
}

.footer-text {
  margin: 18px 0 0;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.65;
  color: var(--muted);
}

.footer-col-title {
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 14px;
  font-weight: 300;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-bottom {
  max-width: 1440px;
  margin: 48px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  font-weight: 300;
  color: var(--muted);
}

.empty-state {
  padding: 64px 20px;
  text-align: center;
  color: var(--muted);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 900px) {
  .home-nav {
    padding: 20px 18px;
    align-items: center;
  }
  .home-role {
    display: none;
  }
  .home-brand {
    position: static;
    transform: none;
  }
  .home-logo-svg {
    height: 24px;
  }
  .home-nav-right {
    gap: 14px;
  }
  .home-nav-link {
    font-size: 12.5px;
  }
  .home-award-corner {
    top: 70px;
    right: 18px;
  }
  .home-award-icon {
    height: 60px;
  }
  .home-details {
    left: 18px;
    right: 18px;
    bottom: 106px;
    width: auto;
  }
  .home-title {
    font-size: clamp(32px, 9vw, 52px);
  }
  .dock {
    overflow-x: auto;
  }
  .thumb-btn {
    width: 60px;
    height: 36px;
    flex-basis: 60px;
  }
  .header-wrap {
    padding: 20px 20px 12px;
  }
  .nav-links {
    gap: 14px;
  }
  .nav-item {
    font-size: 12.5px;
  }
  .main {
    padding: 40px 24px 72px;
  }
  .page-heading {
    font-size: clamp(34px, 9vw, 48px);
  }
  .case-row {
    gap: 18px;
    padding: 20px 0;
  }
  .case-row-title {
    font-size: clamp(22px, 6vw, 32px);
  }
  .case-row-sep {
    font-size: 20px;
  }
  .case-row-award {
    height: 28px;
  }
  .case-row-thumb {
    width: 140px;
    height: 76px;
  }
  .case-intro-grid,
  .about-hero,
  .resume-grid,
  .next-card,
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .marquee-group {
    gap: 28px;
    padding-right: 28px;
  }
  .marquee-item {
    flex: 0 0 108px;
    width: 108px;
    height: 44px;
  }
  .client-logo {
    width: 98px;
    height: 36px;
  }
  .client-logo-svg {
    height: 30px;
  }
  .footer {
    padding: 56px 24px 40px;
  }
}