/* =============================================
   CSS CUSTOM PROPERTIES
   ============================================= */
:root {
  /* Colors */
  --color-primary: #1a1a1a;
  --color-secondary: #333;
  --color-text: #1a1a1a;
  --color-text-light: #666;
  --color-text-lighter: #999;
  --color-background: #f8f8f8;
  --color-white: #ffffff;
  --color-black: #000000;
  
  /* Typography */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Playfair Display', serif;
  
  /* Spacing */
  --spacing-xs: 8px;
  --spacing-sm: 20px;
  --spacing-md: 40px;
  --spacing-lg: 60px;
  --spacing-xl: 80px;
  
  /* Transitions */
  --transition-fast: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-medium: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.15);
  
  /* Header */
  --header-height: 70px;
  --header-height-mobile: 60px;
}

/* =============================================
   RESET & BASE STYLES
   ============================================= */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-primary);
  background-color: var(--color-background);
  color: var(--color-text);
  line-height: 1.6;
  letter-spacing: 0.3px;
}

/* =============================================
   HEADER
   ============================================= */

/* Main Header (All Pages) */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  transition: all var(--transition-fast);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0);
  will-change: box-shadow, background;
}

.main-header.scrolled {
  box-shadow: var(--shadow-sm);
  background: var(--color-white);
}

.header-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: opacity var(--transition-fast);
}

.header-logo:hover {
  opacity: 0.7;
}

.header-logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

/* Menu Toggle Button - 3 Dots */
.menu-toggle {
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
  padding: var(--spacing-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border-radius: 8px;
  transition: all var(--transition-fast);
}

.menu-toggle:hover {
  background: rgba(0, 0, 0, 0.04);
  transform: scale(1.05);
}

.menu-toggle:active {
  transform: scale(0.95);
}

.menu-toggle .dot {
  width: 5px;
  height: 5px;
  background: var(--color-primary);
  border-radius: 50%;
  transition: all var(--transition-fast);
}

.menu-toggle:hover .dot {
  background: var(--color-secondary);
  transform: scale(1.2);
}

/* Menu Active State */
.menu-toggle.active .dot:nth-child(1) {
  transform: translateX(-2px);
}

.menu-toggle.active .dot:nth-child(3) {
  transform: translateX(2px);
}

.menu-toggle.active:hover .dot {
  transform: scale(1.2);
}

.menu-toggle.active:hover .dot:nth-child(1) {
  transform: translateX(-3px) scale(1.2);
}

.menu-toggle.active:hover .dot:nth-child(3) {
  transform: translateX(3px) scale(1.2);
}

/* Menu Overlay */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  z-index: 998;
  transition: opacity var(--transition-medium), visibility var(--transition-medium);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Navigation Menu */
.nav-menu {
  position: fixed;
  top: var(--header-height);
  right: -280px;
  width: 280px;
  height: calc(100vh - var(--header-height));
  padding: var(--spacing-md) 0;
  z-index: 999;
  transition: right var(--transition-medium);
  overflow-y: auto;
}

.nav-menu.active {
  right: 0;
}

.nav-item {
  display: block;
  padding: 18px 35px;
  color: var(--color-black);
  text-decoration: none;
  font-family: var(--font-primary);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.3px;
  transition: all var(--transition-fast);
  border-left: 2px solid transparent;
  position: relative;
  opacity: 0;
  transform: translateX(20px);
  background: rgba(230, 230, 230, 0.4);
  border-left-color: var(--color-black);
  padding-left: 40px;
  font-weight: 500;
  will-change: transform, opacity;
}

.nav-menu.active .nav-item {
  opacity: 1;
  transform: translateX(0);
}

.nav-menu.active .nav-item:nth-child(1) { transition-delay: 0.05s; }
.nav-menu.active .nav-item:nth-child(2) { transition-delay: 0.1s; }
.nav-menu.active .nav-item:nth-child(3) { transition-delay: 0.15s; }

.nav-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 100%;
  background: rgba(0, 0, 0, 0.02);
  transition: width var(--transition-fast);
  z-index: -1;
}

.nav-item:hover::before {
  width: 100%;
}

.nav-item:active {
  transform: scale(0.98);
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
  width: 100%;
  height: 100vh;
  margin-top: var(--header-height);
  overflow: hidden;
  position: relative;
  background: #f0f0f0;
}

.hero-image {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.5) 100%);
  top: 0;
  left: 0;
  backdrop-filter: blur(2px);
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: white;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 72px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-sm);
  letter-spacing: -1px;
  animation: slideUp 0.8s ease-out;
}

.hero-subtitle {
  font-family: var(--font-primary);
  font-size: 20px;
  font-weight: 300;
  letter-spacing: 0.5px;
  margin-bottom: var(--spacing-md);
  opacity: 0.95;
  animation: slideUp 0.8s ease-out 0.2s both;
}

.hero-cta {
  display: inline-block;
  padding: 16px 50px;
  background: var(--color-white);
  color: #111111;
  text-decoration: none;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1px;
  border-radius: 8px;
  transition: all var(--transition-fast);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  animation: slideUp 0.8s ease-out 0.4s both;
}

.hero-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  color: #111111;
}

.hero-logo {
  position: absolute;
  top: 50%;   /* centraliza verticalmente */
  left: 50%;  /* centraliza horizontalmente */
  transform: translate(-50%, -50%); /* ajuste fino para centralização */
}

.logo-img {
  width: 600px; /* ajuste o tamanho da logo */
  height: auto;
}

/* ANIMAÇÕES */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(20px); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes counterPop {
  0% {
    transform: scale(0.8);
    opacity: 0.5;
  }
  50% { transform: scale(1.1); }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes fadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* SEÇÕES */
section {
  padding: 100px var(--spacing-md);
}

/* Alternância de fundo para ritmo visual */
section:nth-child(3n) {
  background: var(--color-white);
}

section:nth-child(3n+2) {
  background: linear-gradient(135deg, var(--color-white) 0%, #f9f9f9 100%);
}

.sobre {
  background: var(--color-white);
  text-align: center;
}

.sobre h3 {
  font-family: var(--font-display);
  font-size: 48px;
  color: #111111;
  margin-bottom: var(--spacing-sm);
  font-weight: 600;
  line-height: 1.3;
}

/* STATS */
.stats {
  padding: var(--spacing-xl) var(--spacing-sm);
  background-color: var(--color-white);
}

.grid-container {
  max-width: 95%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  align-items: stretch;
}

.grid-item {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  background: var(--color-white);
  aspect-ratio: 3 / 4;
  will-change: transform;
}

.grid-image {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.grid-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-slow);
  will-change: transform;
}

.grid-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  padding: 30px;
  color: var(--color-white);
  transform: translateY(30px);
  opacity: 0;
  transition: all 0.5s ease;
}

.grid-overlay h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  margin-bottom: var(--spacing-xs);
  letter-spacing: 0.5px;
}

.grid-overlay p {
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.4px;
  opacity: 0.9;
}

.grid-item:hover .grid-image img {
  transform: scale(1.05);
}

.grid-item:hover .grid-overlay {
  transform: translateY(0);
  opacity: 1;
}

/* =============================================
   TEAM PREVIEW SECTION
   ============================================= */
.team-preview {
  padding: var(--spacing-xl) var(--spacing-md);
  background-color: var(--color-background);
  display: flex;
  justify-content: center;
  align-items: center;
}

.team-image-container {
  position: relative;
  max-width: 500px;
  width: 100%;
  aspect-ratio: 1;
  cursor: pointer;
  overflow: hidden;
  border-radius: 2px;
}

.team-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-slow);
  will-change: transform;
}

.team-click-indicator {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.5s ease;
}

.team-click-indicator p {
  color: var(--color-white);
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.5px;
  text-align: center;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.team-image-container:hover {
  background: rgba(0, 0, 0, 0.4);
}

.team-image-container:hover img {
  transform: scale(1.02);
}

.team-image-container:hover .team-click-indicator {
  background: rgba(0, 0, 0, 0.4);
}

.team-image-container:hover .team-click-indicator p {
  opacity: 1;
}

/* =============================================
   MODAL DO PROJETO
   ============================================= */
.project-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  animation: fadeIn 0.3s ease;
}

.modal-content {
  background-color: var(--color-white);
  margin: auto;
  padding: 0;
  width: 90%;
  max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  animation: slideInModal 0.3s ease;
}

@keyframes slideInModal {
  from {
    transform: translateY(-50%) translateY(-30px);
    opacity: 0;
  }
  to {
    transform: translateY(-50%) translateY(0);
    opacity: 1;
  }
}

.close-modal {
  position: absolute;
  right: 25px;
  top: 15px;
  font-size: 32px;
  font-weight: 300;
  color: var(--color-primary);
  cursor: pointer;
  z-index: 10;
  transition: color var(--transition-fast);
}

.close-modal:hover {
  color: #555;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: var(--spacing-md);
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.4px;
  font-weight: 300;
}

/* =============================================
   PROJECT PAGE STYLES
   ============================================= */
.project-hero {
  width: 100%;
  height: 60vh;
  margin-top: var(--header-height);
  overflow: hidden;
  position: relative;
}

.project-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-intro {
  padding: var(--spacing-xl) var(--spacing-md);
  background-color: var(--color-white);
  text-align: center;
}

.project-title {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 500;
  margin-bottom: 15px;
  letter-spacing: 0.5px;
}

.project-meta {
  font-size: 14px;
  color: var(--color-text-lighter);
  margin-bottom: var(--spacing-md);
  letter-spacing: 0.4px;
}

/* Category grid */
.category-grid {
  padding: var(--spacing-xl) var(--spacing-md);
  background-color: var(--color-background);
}

.category-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-md);
}

.category-item {
  cursor: pointer;
  overflow: hidden;
  text-align: center;
  border: 2px solid transparent;
  border-radius: 8px;
  transition: all var(--transition-medium);
  padding: 12px;
  background: linear-gradient(135deg, rgba(240, 240, 240, 0) 0%, rgba(200, 200, 200, 0) 100%);
}

.category-item:hover {
  border-color: var(--color-secondary);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.category-item.active {
  border-color: transparent;
  box-shadow: none;
}

.category-item.active:hover {
  border-color: var(--color-secondary);
  box-shadow: var(--shadow-md);
}

.category-item.active .category-image-wrapper {
  opacity: 1;
}

.category-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-item:hover img {
  transform: scale(1.03);
}

.category-item.active img {
  transform: scale(1);
}

.category-item.disabled {
  cursor: not-allowed;
  opacity: 0.5;
  pointer-events: none;
}

.category-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 10px;
  letter-spacing: 0.3px;
  transition: color var(--transition-fast);
}

.category-item.active .category-name {
  color: var(--color-secondary);
  font-weight: 600;
}

.category-description {
  font-size: 13px;
  color: #505050;
  letter-spacing: 0.3px;
  transition: color var(--transition-fast);
  font-weight: 400;
}

.category-item.active .category-description {
  color: var(--color-secondary);
}

.category-image-wrapper {
  width: 100%;
  height: 300px;
  overflow: hidden;
  margin-bottom: 20px;
}

.category-single-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Gallery section */
.gallery-section {
  padding: var(--spacing-lg) var(--spacing-md);
  background-color: var(--color-white);
}

.gallery-grid {
  max-width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 4px;
  aspect-ratio: 16 / 9;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-slow);
  will-change: transform;
}

.gallery-item:hover img {
  transform: scale(1.02);
}

/* =============================================
   TEAM PAGE STYLES
   ============================================= */
.team-hero-section {
  width: 100%;
  height: 60vh;
  margin-top: var(--header-height);
  overflow: hidden;
  position: relative;
}

.team-hero-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-info-section {
  padding: var(--spacing-xl) var(--spacing-md);
  background-color: var(--color-white);
  max-width: 900px;
  margin: 0 auto;
}

.team-info-section h2 {
  font-family: var(--font-display);
  font-size: 42px;
  margin-bottom: 30px;
  font-weight: 500;
}

.team-info-section p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--color-text-light);
  margin-bottom: var(--spacing-sm);
}

.team-contact-section {
  padding: var(--spacing-xl) var(--spacing-md) 100px;
  background-color: var(--color-white);
  max-width: 1200px;
  margin: 0 auto;
}

.team-contact-section a {
  display: inline-block;
  transition: all var(--transition-fast);
  cursor: pointer;
}

.team-contact-section a:hover {
  transform: translateY(-5px);
}

/* =============================================
   RESPONSIVE DESIGN
   ============================================= */
@media (max-width: 1024px) {
  .grid-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: var(--spacing-lg) 30px;
  }

  .category-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .main-header {
    padding: 0;
  }

  .header-content {
    padding: 0 30px;
  }
}

@media (max-width: 768px) {
  .projects-grid {
    padding: var(--spacing-lg) var(--spacing-sm);
  }

  .grid-container {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .grid-item {
    aspect-ratio: 3 / 4;
  }

  .team-preview {
    padding: var(--spacing-lg) var(--spacing-sm);
  }

  .team-image-container {
    max-width: 100%;
  }

  .main-header {
    height: var(--header-height-mobile);
  }

  .header-content {
    padding: 0 var(--spacing-sm);
  }

  .header-logo img {
    height: 44px;
  }

  .menu-toggle {
    width: 36px;
    height: 36px;
    padding: 6px;
  }

  .menu-toggle .dot {
    width: 4px;
    height: 4px;
  }

  .nav-menu {
    width: 100%;
    right: -100%;
    top: var(--header-height-mobile);
    height: calc(100vh - var(--header-height-mobile));
    padding: 30px 0;
  }

  .hero {
    margin-top: var(--header-height-mobile);
  }

  .project-hero {
    margin-top: var(--header-height-mobile);
    height: 40vh;
  }

  .category-container {
    grid-template-columns: 1fr;
  }

  .category-item img {
    height: 250px;
  }

  .project-intro,
  .category-grid,
  .gallery-section,
  .team-info-section,
  .team-contact-section {
    padding: var(--spacing-lg) var(--spacing-sm);
  }

  .project-title {
    font-size: 32px;
  }

  .team-hero-section {
    margin-top: var(--header-height-mobile);
    height: 40vh;
  }

  .team-info-section h2 {
    font-size: 32px;
  }

  .team-contact-section {
    padding: var(--spacing-lg) 30px var(--spacing-xl);
  }

  .team-contact-section h3 {
    font-size: 28px !important;
    margin-bottom: var(--spacing-md) !important;
  }

  .team-contact-section > div {
    gap: var(--spacing-lg) !important;
  }
}

/* =============================================
   AOS ANIMATIONS
   ============================================= */
[data-aos="fade-up"] {
  opacity: 0;
}

/* =============================================
   UTILITY
   ============================================= */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* Visually hidden - para acessibilidade */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* =============================================
   PROJECT DETAIL PAGE STYLES
   ============================================= */
.project-detail-section {
  padding: var(--spacing-lg) var(--spacing-md);
  background-color: var(--color-white);
  max-width: 1000px;
  margin: 0 auto;
}

.project-detail-header {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.project-detail-header h1 {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 500;
  margin-bottom: 15px;
  letter-spacing: 0.5px;
}

.project-location {
  font-size: 15px;
  color: var(--color-text-lighter);
  letter-spacing: 0.4px;
}

.category-detail {
  display: flex;
  justify-content: center;
  margin-bottom: 50px;
}

.category-badge {
  display: inline-block;
  padding: 12px 30px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--color-secondary);
}

.category-content {
  margin-bottom: var(--spacing-lg);
}

.category-description {
  margin-bottom: var(--spacing-md);
}

.category-description h2 {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 500;
  margin-bottom: var(--spacing-sm);
  letter-spacing: 0.5px;
}

.category-intro {
  font-size: 18px;
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: 30px;
}

.category-details-text {
  padding: var(--spacing-md);
  border-radius: 4px;
}

.category-details-text p {
  font-size: 15px;
  line-height: 1.9;
  color: #555;
  margin: 0;
}

/* Gallery Full */
.project-gallery-full {
  padding: var(--spacing-lg) var(--spacing-md);
  background-color: var(--color-background);
}

.project-gallery-full h3 {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 500;
  text-align: center;
  margin-bottom: var(--spacing-md);
  letter-spacing: 0.5px;
}

.gallery-grid-full {
  max-width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 50px var(--spacing-md);
}

.gallery-item {
  overflow: hidden;
  border-radius: 2px;
  position: relative;
  transition: all var(--transition-medium);
  aspect-ratio: 3 / 4;
  min-height: 700px;
  width: 100%;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-slow);
  will-change: transform;
}

.gallery-item:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-slow);
  will-change: transform;
}

.gallery-item:hover video {
  transform: scale(1.08);
}

/* Layout vertical para I. House e F. House */
.gallery-vertical-layout {
  grid-template-columns: 1fr !important;
  max-width: 100%;
  gap: 0 !important;
  padding: 0 !important;
}

.gallery-vertical-layout .gallery-item {
  min-height: 100vh;
  border-radius: 0;
  aspect-ratio: auto;
}

/* Responsividade */
@media (max-width: 1024px) {
  .gallery-grid-full {
    grid-template-columns: repeat(2, 1fr); /* 2 colunas */
  }
}

@media (max-width: 600px) {
  .gallery-grid-full {
    grid-template-columns: 1fr; /* 1 coluna */
  }
}

/* Other Categories Section */
.other-categories-section {
  padding: var(--spacing-lg) var(--spacing-md);
  background-color: var(--color-white);
}

.other-categories-section h3 {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 500;
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.other-categories-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-md);
}

.other-category-card {
  cursor: pointer;
  transition: all var(--transition-fast);
}

.other-category-card:hover {
  transform: translateY(-5px);
}

.other-category-image {
  width: 100%;
  height: 300px;
  background-size: cover;
  background-position: center;
  margin-bottom: 25px;
  border-radius: 4px;
  transition: all var(--transition-slow);
}

.other-category-card:hover .other-category-image {
  transform: scale(1.02);
}

.other-category-card h4 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
}

.other-category-card p {
  font-size: 14px;
  color: #888;
  line-height: 1.6;
  margin: 0;
}

/* Back to Projects */
.back-to-projects {
  padding: var(--spacing-lg) var(--spacing-md);
  background-color: var(--color-background);
  text-align: center;
}

.back-button {
  display: inline-block;
  font-size: 14px;
  color: var(--color-secondary);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.5px;
  padding: 12px 30px;
  border: 1px solid var(--color-secondary);
  border-radius: 4px;
  transition: all var(--transition-fast);
}

.back-button:hover {
  background: var(--color-secondary);
  color: var(--color-white);
}

/* Responsive */
@media (max-width: 768px) {
  .project-detail-section {
    padding: var(--spacing-lg) var(--spacing-sm);
  }

  .project-detail-header h1 {
    font-size: 36px;
  }

  .category-description h2 {
    font-size: 26px;
  }

  .category-intro {
    font-size: 15px;
  }

  .category-details-text {
    padding: 25px;
  }

  .project-gallery-full,
  .other-categories-section {
    padding: var(--spacing-lg) var(--spacing-sm);
  }

  .project-gallery-full h3,
  .other-categories-section h3 {
    font-size: 28px;
  }

  .gallery-grid-full {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .other-categories-grid {
    grid-template-columns: 1fr;
  }

  .other-category-image {
    height: 250px;
  }

  .back-to-projects {
    padding: 50px var(--spacing-sm);
  }

  .team-contact-section h3 {
    font-size: 28px !important;
  }

  .team-contact-section > div {
    gap: 50px !important;
    padding: 0 var(--spacing-sm);
  }

  .team-contact-section a > div {
    width: 60px !important;
    height: 60px !important;
  }

  .team-contact-section a > div svg {
    width: 30px !important;
    height: 30px !important;
  }

  .team-contact-section a > p {
    font-size: 12px !important;
  }
}

/* Icone arrastável */
#drawCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.draggable {
  width: 200px;
  position: absolute;
  top: 250px;
  left: 550px;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
}

.draggable:active {
  cursor: grabbing;
}

/* Desativar clique em todos os cards de Interiores
.category-item[data-category="interiors"] {
  pointer-events: none;
  cursor: default;
  opacity: 0.6;
} */

/* Desativar Scroll quando menu aberto */
body.menu-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
}