/* ==========================================================================
   MORETHSON COELHO - ENGENHARIA, ARQUITETURA E INTERIORES
   Design System & Styling
   ========================================================================== */

/* DESIGN TOKENS (Paleta de cores extraída da Logomarca) */
:root {
  /* Dark Slate Backgrounds */
  --bg-dark-base: #0E1210;
  --bg-dark-surface: #151B18;
  --bg-dark-card: #1C2420;
  --bg-dark-elevated: #242E29;

  /* Brand Sage Greens (Logomarca) */
  --sage-dark: #37433C;
  --sage-primary: #4F5D55;
  --sage-medium: #64766C;
  --sage-light: #899E91;
  --sage-soft: #A8BBB0;
  --sage-glow: rgba(137, 158, 145, 0.25);

  /* Brand Bronze/Gold Accent (Linhas do Logo) */
  --bronze-primary: #C49C6E;
  --bronze-hover: #D1A877;
  --bronze-light: #E5BE8F;
  --bronze-glow: rgba(196, 156, 110, 0.3);

  /* Text Colors */
  --text-main: #F4F6F5;
  --text-muted: #B0BDB7;
  --text-subtle: #798780;

  /* Glassmorphism & Borders */
  --glass-bg: rgba(14, 18, 16, 0.75);
  --glass-border: rgba(196, 156, 110, 0.18);
  --glass-border-sage: rgba(137, 158, 145, 0.2);

  /* Typography */
  --font-heading: 'Cormorant Garamond', 'Cinzel', serif;
  --font-cinzel: 'Cinzel', serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  /* Transitions */
  --transition-fast: 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-smooth: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* RESET & BASE */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-dark-base);
  color: var(--text-main);
  font-family: var(--font-body);
  overflow-x: hidden;
}

body {
  line-height: 1.6;
  background-color: var(--bg-dark-base);
  color: var(--text-main);
  overflow-x: hidden;
}

/* CUSTOM CURSOR */
.custom-cursor {
  position: fixed;
  width: 8px;
  height: 8px;
  background-color: var(--bronze-primary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease, width 0.3s ease, height 0.3s ease;
}

.cursor-follower {
  position: fixed;
  width: 32px;
  height: 32px;
  border: 1px solid var(--bronze-primary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease-out, width 0.3s ease, height 0.3s ease, border-color 0.3s ease;
}

/* SECTIONS & CONTAINERS */
.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 120px 0;
  position: relative;
}

.section-header {
  margin-bottom: 60px;
}

.section-header.center {
  text-align: center;
}

.section-subtitle {
  display: inline-block;
  font-family: var(--font-cinzel);
  font-size: 0.85rem;
  letter-spacing: 4px;
  color: var(--bronze-primary);
  font-weight: 600;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.2;
}

.title-line {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--bronze-primary), var(--sage-light));
  margin: 20px auto 0;
}

/* BUTTONS */
.btn-primary, .btn-primary-lg {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--sage-primary), var(--sage-dark));
  color: #FFF;
  border: 1px solid var(--glass-border-sage);
  padding: 12px 28px;
  border-radius: 2px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.btn-primary-lg {
  padding: 16px 36px;
  font-size: 0.95rem;
  background: linear-gradient(135deg, var(--bronze-primary), #9B784B);
  border-color: rgba(255, 255, 255, 0.2);
  color: #0E1210;
  font-weight: 700;
}

.btn-primary:hover, .btn-primary-lg:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px var(--bronze-glow);
  filter: brightness(1.1);
}

.btn-secondary-lg {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  padding: 16px 32px;
  border-radius: 2px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-secondary-lg:hover {
  background: rgba(196, 156, 110, 0.15);
  border-color: var(--bronze-primary);
  color: var(--bronze-light);
  transform: translateY(-3px);
}

/* ==========================================================================
   TELA DE ENTRADA (INTRO SCREEN - AUTO DISMISS VIA CSS + GPU)
   ========================================================================== */
@keyframes autoDismissIntro {
  0% {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  75% {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  100% {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

.intro-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10000;
  background-color: #000;
  overflow: hidden;
  transition: opacity 0.6s cubic-bezier(0.65, 0, 0.35, 1), visibility 0.6s ease;
  cursor: pointer;
}

.intro-screen.hide {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  display: none !important;
}

.btn-skip-intro {
  position: absolute;
  top: 30px;
  right: 30px;
  z-index: 10001;
  background: rgba(14, 18, 16, 0.75);
  color: var(--text-main);
  border: 1px solid var(--bronze-primary);
  padding: 12px 24px;
  font-family: var(--font-cinzel);
  font-size: 0.85rem;
  letter-spacing: 2px;
  cursor: pointer;
  border-radius: 2px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,0.6);
}

.btn-skip-intro:hover {
  background: var(--bronze-primary);
  color: #0E1210;
  transform: translateY(-2px);
}

#intro-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.intro-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(14, 18, 16, 0.55) 0%, rgba(14, 18, 16, 0.92) 100%);
}

.intro-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  max-width: 800px;
  animation: introFadeUp 1.2s ease forwards;
}

@keyframes introFadeUp {
  0% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}

.intro-logo-box {
  margin-bottom: 24px;
}

.intro-logo {
  max-width: 220px;
  height: auto;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.8));
}

.intro-subtitle {
  font-family: var(--font-cinzel);
  font-size: 0.85rem;
  letter-spacing: 6px;
  color: var(--bronze-primary);
  margin-bottom: 16px;
}

.intro-title {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 500;
  line-height: 1.15;
  color: var(--text-main);
  margin-bottom: 40px;
}

.btn-enter {
  background: linear-gradient(135deg, var(--bronze-primary), var(--sage-dark));
  color: #FFF;
  border: 1px solid var(--bronze-light);
  padding: 18px 48px;
  font-size: 1rem;
  font-family: var(--font-cinzel);
  font-weight: 600;
  letter-spacing: 3px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  transition: var(--transition-smooth);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.btn-enter:hover {
  background: var(--bronze-primary);
  color: #0E1210;
  transform: scale(1.05);
  box-shadow: 0 15px 50px var(--bronze-glow);
}

.scroll-hint {
  position: absolute;
  bottom: 40px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.mouse-icon {
  width: 22px;
  height: 36px;
  border: 2px solid var(--bronze-primary);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.mouse-icon .wheel {
  width: 3px;
  height: 8px;
  background-color: var(--bronze-primary);
  border-radius: 2px;
  animation: mouseWheel 1.5s infinite;
}

@keyframes mouseWheel {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(12px); }
}

/* ==========================================================================
   HEADER / NAVBAR FLUTUANTE
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  padding: 12px 0;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.nav-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  height: 144px;
  max-height: 160px;
  width: auto;
  transition: var(--transition-fast);
}

.navbar.scrolled .nav-logo {
  height: 110px;
}

.nav-logo:hover {
  filter: brightness(1.2);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 1px;
  transition: var(--transition-fast);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--bronze-primary);
  transition: var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--text-main);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
}

.nav-toggle .bar {
  width: 26px;
  height: 2px;
  background-color: var(--text-main);
  transition: var(--transition-fast);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 240px;
  padding-bottom: 80px;
}

.hero-bg-media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.hero-bg-video, .hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(14, 18, 16, 0.85) 0%, rgba(14, 18, 16, 0.95) 100%);
}

.hero-container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.hero-text-content {
  max-width: 850px;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(196, 156, 110, 0.12);
  color: var(--bronze-primary);
  border: 1px solid var(--glass-border);
  padding: 8px 20px;
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 24px;
  margin-bottom: 24px;
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: 3.8rem;
  line-height: 1.1;
  font-weight: 500;
  color: var(--text-main);
  margin-bottom: 24px;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  align-items: center;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border-sage);
  padding: 30px 40px;
  border-radius: 4px;
  max-width: 900px;
}

.stat-card {
  flex: 1;
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--bronze-primary);
}

.stat-plus {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--sage-light);
}

.stat-label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 50px;
  background-color: var(--glass-border-sage);
}

/* ==========================================================================
   SEÇÃO SOBRE O ESCRITÓRIO
   ========================================================================== */
.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.image-wrapper {
  position: relative;
}

.sobre-img-main {
  width: 100%;
  border-radius: 4px;
  display: block;
  box-shadow: 0 20px 50px rgba(0,0,0,0.6);
}

.image-border-decor {
  position: absolute;
  top: -15px;
  left: -15px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--bronze-primary);
  z-index: -1;
}

.experience-badge {
  position: absolute;
  bottom: -25px;
  right: -25px;
  background: var(--bg-dark-card);
  border: 1px solid var(--glass-border-sage);
  padding: 20px 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}

.experience-badge .years {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--bronze-primary);
  display: block;
}

.experience-badge .text {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.sobre-heading {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: var(--text-main);
}

.sobre-text {
  color: var(--text-muted);
  margin-bottom: 30px;
  font-size: 1.05rem;
}

.pilares-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pilar-card {
  display: flex;
  gap: 20px;
  background: var(--bg-dark-surface);
  border: 1px solid var(--glass-border);
  padding: 20px;
  border-radius: 4px;
  transition: var(--transition-fast);
}

.pilar-card:hover {
  border-color: var(--sage-light);
  transform: translateX(8px);
}

.pilar-icon {
  font-size: 1.8rem;
  color: var(--bronze-primary);
  min-width: 40px;
}

.pilar-info h4 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--text-main);
  margin-bottom: 4px;
}

.pilar-info p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ==========================================================================
   HISTÓRIA & FILOSOFIA
   ========================================================================== */
.historia-section {
  background-color: var(--bg-dark-surface);
  border-top: 1px solid var(--glass-border-sage);
  border-bottom: 1px solid var(--glass-border-sage);
}

.historia-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.manifesto-quote {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-style: italic;
  color: var(--bronze-light);
  line-height: 1.4;
  margin-bottom: 16px;
}

.manifesto-author {
  font-size: 0.9rem;
  color: var(--sage-light);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 40px;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 30px;
  border-left: 2px solid var(--sage-dark);
  padding-left: 30px;
}

.timeline-item {
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -37px;
  top: 6px;
  width: 12px;
  height: 12px;
  background-color: var(--bronze-primary);
  border-radius: 50%;
}

.timeline-item .year {
  font-family: var(--font-cinzel);
  font-weight: 700;
  color: var(--bronze-primary);
  font-size: 1.1rem;
}

.timeline-body h4 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--text-main);

}

.timeline-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.img-frame img {
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.8);
  border: 1px solid var(--glass-border);
}

/* ==========================================================================
   VÍDEO SCROLL EXPERIENCE (VÍDEO CONTROLADO PELO SCROLL)
   ========================================================================== */
.video-scroll-section {
  position: relative;
  height: 300vh; /* Permite 3 etapas de scroll suave */
  background-color: #000;
}

.video-scroll-sticky {
  position: sticky;
  top: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

#scroll-controlled-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-scroll-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(14, 18, 16, 0.4) 0%, rgba(14, 18, 16, 0.95) 100%);
}

.video-scroll-content {
  position: relative;
  z-index: 5;
  text-align: center;
  max-width: 800px;
  padding: 0 24px;
}

.v-step {
  display: none;
  animation: vStepFade 0.6s ease forwards;
}

.v-step.active {
  display: block;
}

@keyframes vStepFade {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.v-tag {
  font-family: var(--font-cinzel);
  font-size: 0.85rem;
  letter-spacing: 4px;
  color: var(--bronze-primary);
  display: block;
  margin-bottom: 16px;
}

.v-step h2 {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  color: var(--text-main);
  margin-bottom: 16px;
}

.v-step p {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.btn-scroll-to-gallery {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bronze-primary);
  color: #0E1210;
  padding: 14px 32px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 2px;
  transition: var(--transition-fast);
}

.btn-scroll-to-gallery:hover {
  background: var(--bronze-hover);
  transform: translateY(3px);
}

.scroll-progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 6;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--sage-primary), var(--bronze-primary));
  transition: width 0.1s ease-out;
}

/* ==========================================================================
   GALERIA DE PROJETOS
   ========================================================================== */
.galeria-filters {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.filter-btn {
  background: var(--bg-dark-surface);
  border: 1px solid var(--glass-border-sage);
  color: var(--text-muted);
  padding: 10px 24px;
  font-size: 0.9rem;
  font-family: var(--font-body);
  cursor: pointer;
  border-radius: 2px;
  transition: var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--sage-primary);
  color: #FFF;
  border-color: var(--sage-light);
  box-shadow: 0 4px 15px var(--sage-glow);
}

.galeria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 30px;
}

.project-card {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  background-color: var(--bg-dark-card);
  border: 1px solid var(--glass-border);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: var(--bronze-primary);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
}

.card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover .card-media img {
  transform: scale(1.08);
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 18, 16, 0.1) 0%, rgba(14, 18, 16, 0.92) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
}

.card-category {
  font-family: var(--font-cinzel);
  font-size: 0.75rem;
  letter-spacing: 2px;
  color: var(--bronze-primary);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--text-main);
  margin-bottom: 6px;
}

.card-location {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.btn-card-detail {
  align-self: flex-start;
  background: none;
  border: none;
  color: var(--sage-light);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-fast);
}

.project-card:hover .btn-card-detail {
  color: var(--bronze-primary);
  transform: translateX(4px);
}

.gallery-empty-state {
  grid-column: 1 / -1;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 48px 24px;
  border: 1px solid var(--glass-border-sage);
  background: var(--glass-bg);
  text-align: center;
}
.gallery-empty-state i { color: var(--bronze-primary); font-size: 2rem; }
.gallery-empty-state h3 { font-family: var(--font-heading); font-size: 1.7rem; color: var(--text-main); }
.gallery-empty-state p { color: var(--text-muted); }

/* ==========================================================================
   MODAL LIGHTBOX
   ========================================================================== */
.modal-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.modal-lightbox.active {
  opacity: 1;
  visibility: visible;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 10, 9, 0.9);
  backdrop-filter: blur(12px);
}

.modal-content {
  position: relative;
  z-index: 2;
  background: var(--bg-dark-card);
  border: 1px solid var(--glass-border-sage);
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 4px;
  padding: 40px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--bg-dark-surface);
  border: 1px solid var(--glass-border);
  color: var(--text-main);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  transition: var(--transition-fast);
}

.modal-close:hover {
  background: var(--bronze-primary);
  color: #0E1210;
}

/* ==========================================================================
   DEPOIMENTOS & CONTATO
   ========================================================================== */
.depoimentos-section {
  background-color: var(--bg-dark-surface);
}

.depoimento-card {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 40px;
  background: var(--bg-dark-card);
  border: 1px solid var(--glass-border);
  border-radius: 4px;
}

.quote-icon {
  font-size: 2.5rem;
  color: var(--bronze-primary);
  margin-bottom: 20px;
}

.depoimento-text {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-style: italic;
  color: var(--text-main);
  margin-bottom: 24px;
}

.depoimento-user h4 {
  font-size: 1.1rem;
  color: var(--bronze-light);
}

.depoimento-user span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* CONTATO */
.contato-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
}

.contato-logo {
  max-width: 180px;
  margin-bottom: 24px;
}

.contato-title {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  margin-bottom: 16px;
}

.contato-desc {
  color: var(--text-muted);
  margin-bottom: 36px;
}

.info-items {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.info-item i {
  font-size: 1.4rem;
  color: var(--bronze-primary);
  margin-top: 4px;
}

.info-item strong {
  display: block;
  color: var(--text-main);
  margin-bottom: 2px;
}

.info-item span {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-whatsapp-link {
  color: var(--text-muted);
  font-size: .95rem;
  text-decoration: none;
  transition: color .25s ease;
}
.contact-whatsapp-link:hover { color: var(--bronze-light); }

.contato-section .contact-whatsapp-link { font-size: .78rem; }

.contato-form {
  background: var(--bg-dark-surface);
  border: 1px solid var(--glass-border-sage);
  padding: 40px;
  border-radius: 4px;
}

.form-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin-bottom: 24px;
  color: var(--text-main);
}

.form-group {
  margin-bottom: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  background: var(--bg-dark-card);
  border: 1px solid var(--glass-border);
  color: var(--text-main);
  padding: 14px 16px;
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-fast);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--bronze-primary);
  box-shadow: 0 0 10px var(--bronze-glow);
}

.btn-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--bronze-primary), #9B784B);
  color: #0E1210;
  border: none;
  padding: 16px;
  font-family: var(--font-cinzel);
  font-weight: 700;
  letter-spacing: 2px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: var(--transition-smooth);
}

.btn-submit:hover {
  background: var(--bronze-hover);
  box-shadow: 0 8px 25px var(--bronze-glow);
}

.btn-submit:disabled {
  cursor: wait;
  opacity: .65;
}

.form-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.form-status {
  min-height: 1.2em;
  margin: 8px 0 0;
  font-size: .75rem;
  text-align: center;
}

.form-status.success { color: #9bc49b; }
.form-status.error { color: #e3a49d; }

.footer-bottom {
  margin-top: 80px;
  padding-top: 30px;
  border-top: 1px solid var(--glass-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-subtle);
  font-size: 0.85rem;
}

.footer-socials {
  display: flex;
  gap: 16px;
}

.footer-socials a {
  color: var(--text-muted);
  font-size: 1.1rem;
  transition: var(--transition-fast);
}

.footer-socials a:hover {
  color: var(--bronze-primary);
}

/* RESPONSIVIDADE */
@media (max-width: 992px) {
  .hero-headline { font-size: 2.8rem; }
  .sobre-grid, .historia-wrapper, .contato-grid { grid-template-columns: 1fr; }
  .image-border-decor { display: none; }
  .hero-stats { flex-direction: column; gap: 20px; }
  .stat-divider { width: 100%; height: 1px; }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--bg-dark-card);
    flex-direction: column;
    justify-content: center;
    transition: var(--transition-smooth);
    border-left: 1px solid var(--glass-border);
  }
  .nav-menu.active { right: 0; }
  .nav-toggle { display: flex; z-index: 1001; }
}

/* EXPERIÊNCIA IMERSIVA CONTROLADA PELO SCROLL */
body.scrollytelling-ready { height: 100dvh; overflow: hidden !important; }

.scrollytelling-ready .scroll-chapter {
  position: fixed;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100dvh;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(0, 10vh, 0) scale(.97);
  filter: blur(10px);
  transition: opacity .7s ease, transform .85s cubic-bezier(.16, 1, .3, 1), filter .7s ease, visibility .85s;
  scrollbar-width: thin;
  scrollbar-color: var(--bronze-primary) transparent;
}

.scrollytelling-ready .scroll-chapter.is-active {
  z-index: 3;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
}
.scrollytelling-ready .scroll-chapter.is-before { transform: translate3d(0, -8vh, 0) scale(1.04); }
.scrollytelling-ready .scroll-chapter.is-after { transform: translate3d(0, 10vh, 0) scale(.97); }
.scrollytelling-ready .hero-section { padding-top: 170px; padding-bottom: 45px; }
.scrollytelling-ready .section { padding-top: 125px; padding-bottom: 45px; }

.chapter-rail {
  position: fixed;
  z-index: 1000;
  right: 28px;
  top: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-family: var(--font-cinzel);
  font-size: .68rem;
  letter-spacing: 1px;
}
.chapter-track { position: relative; width: 1px; height: 70px; overflow: hidden; background: rgba(255,255,255,.18); }
.chapter-track span { display: block; width: 100%; height: 20%; background: var(--bronze-primary); transition: height .7s cubic-bezier(.16,1,.3,1); }
.chapter-dots { display: flex; flex-direction: column; gap: 10px; }
.chapter-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 1px solid var(--bronze-primary);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: transform .3s ease, background .3s ease;
}
.chapter-dot.is-active { background: var(--bronze-primary); transform: scale(1.45); }

.scroll-cue {
  position: fixed;
  z-index: 20;
  right: 72px;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: .68rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: opacity .4s ease;
}
.scroll-cue i { color: var(--bronze-primary); animation: cueMove 1.6s ease-in-out infinite; }
.scroll-cue.is-hidden { opacity: 0; }
@keyframes cueMove { 50% { transform: translateY(7px); } }

@media (min-width: 1200px) and (max-height: 900px) {
  .scrollytelling-ready .galeria-grid { grid-template-columns: repeat(4, 1fr); }
  .scrollytelling-ready .card-media { height: 300px; }
  .scrollytelling-ready .section-header { margin-bottom: 24px; }
  .scrollytelling-ready .galeria-filters { margin-bottom: 24px; }
}

@media (max-width: 992px) {
  .chapter-rail { right: 12px; }
  .chapter-count, .chapter-total, .chapter-track { display: none; }
  .chapter-dots { gap: 8px; }
  .chapter-dot { width: 6px; height: 6px; }
  .scroll-cue { right: 42px; bottom: 18px; }
  .scroll-cue span { display: none; }
  .scrollytelling-ready .hero-section { padding-top: 145px; }
  .scrollytelling-ready .section { padding-top: 110px; }
}

@media (prefers-reduced-motion: reduce) {
  .scrollytelling-ready .scroll-chapter { transition: opacity .15s linear, visibility .15s; transform: none !important; filter: none; }
  .scroll-cue i { animation: none; }
}

/* PRANCHA DE PROJETO EM TELA INTEIRA */
.modal-lightbox { padding: 6vh 5vw; }
.modal-content {
  width: min(90vw, 1380px);
  max-width: 1380px;
  height: 88dvh;
  max-height: 920px;
  margin-inline: auto;
  overflow: hidden;
  padding: 0;
}
.modal-close { top: 18px; right: 18px; z-index: 5; }
.modal-project-nav { position: fixed; z-index: 4; top: 50%; width: 42px; height: 76px; padding: 0; border: 0; color: var(--bronze-light); background: transparent; cursor: pointer; transform: translateY(-50%); transition: color .25s ease, transform .25s ease; }
.modal-project-nav i { display: none; }
.modal-project-nav::before { content: ''; position: absolute; top: 50%; display: block; width: 24px; height: 24px; border-top: 2px solid currentColor; transition: filter .25s ease; }
.modal-project-nav::after { display: none; }
.modal-project-prev { left: max(2px, calc((100vw - min(1380px, 90vw)) / 2 - 42px)); }
.modal-project-prev::before { left: 10px; border-left: 2px solid currentColor; transform: translateY(-50%) rotate(-45deg); }
.modal-project-next { right: max(2px, calc((100vw - min(1380px, 90vw)) / 2 - 42px)); }
.modal-project-next::before { right: 10px; border-right: 2px solid currentColor; transform: translateY(-50%) rotate(45deg); }
.modal-project-nav:hover { color: #efd09f; transform: translateY(-50%) scale(1.06); }
.modal-project-nav:hover::before { filter: drop-shadow(0 0 6px rgba(218,175,122,.8)); }
.modal-lightbox.single-project .modal-project-nav { display: none; }
.modal-body { height: 100%; }
.project-showcase { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(340px, .85fr); height: 100%; }
.project-cover { position: relative; min-width: 0; overflow: hidden; border-right: 1px solid var(--glass-border-sage); background: #080a09; }
.project-cover-main { display: block; width: 100%; height: 100%; overflow: hidden; padding: 0; border: 0; background: #080a09; cursor: zoom-in; }
.project-cover-main img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.16,1,.3,1); }
.project-cover-main:hover img { transform: scale(1.025); }
.project-cover-main > span { position: absolute; left: 24px; bottom: 24px; display: flex; align-items: center; gap: 9px; padding: 10px 15px; color: #fff; background: rgba(8,10,9,.74); border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(8px); font-size: .72rem; letter-spacing: 1px; text-transform: uppercase; }
.project-cover-arrow { position: absolute; z-index: 4; top: 50%; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; color: #fff; background: rgba(8,10,9,.7); backdrop-filter: blur(8px); cursor: pointer; transform: translateY(-50%); transition: color .25s ease, background .25s ease, border-color .25s ease, transform .25s ease; }
.project-cover-arrow:hover { border-color: var(--bronze-primary); color: #0e1210; background: var(--bronze-primary); transform: translateY(-50%) scale(1.08); }
.project-cover-prev { left: 22px; }
.project-cover-next { right: 22px; }
.project-panel { display: flex; flex-direction: column; min-width: 0; height: 100%; padding: clamp(30px, 4vh, 54px) clamp(26px, 3vw, 48px) 26px; }
.project-heading { padding-right: 42px; }
.project-kicker { color: var(--bronze-primary); font-family: var(--font-cinzel); font-size: .7rem; letter-spacing: 2px; }
.project-heading h2 { margin: 8px 0; color: #fff; font-family: var(--font-heading); font-size: clamp(2rem, 3.5vh, 3rem); line-height: 1.02; }
.project-heading p { color: var(--text-muted); font-size: .86rem; }
.project-heading p i, .project-highlights i { color: var(--bronze-primary); }
.project-description { flex: 0 0 auto; margin-top: clamp(18px, 3vh, 32px); }
.project-description h3, .project-highlights h3, .project-gallery h3 { margin-bottom: 7px; color: #fff; font-family: var(--font-heading); font-size: 1.05rem; }
.project-description p { display: block; overflow: visible; color: var(--text-muted); font-size: .92rem; line-height: 1.58; -webkit-line-clamp: unset; -webkit-box-orient: initial; }
.project-highlights { margin-top: clamp(14px, 2vh, 24px); }
.project-highlights ul { display: grid; gap: 5px; margin: 0; padding: 0; list-style: none; }
.project-highlights li { color: var(--text-main); font-size: .82rem; }
.project-highlights i { margin-right: 8px; }
.project-gallery { flex: 0 0 auto; min-height: 0; margin-top: clamp(18px, 2.5vh, 28px); padding-top: 16px; border-top: 1px solid rgba(196,156,110,.18); }
.project-gallery-title { display: flex; align-items: center; justify-content: space-between; }
.project-gallery-title span { color: var(--text-subtle); font-size: .72rem; }
.project-thumbs { display: grid; grid-template-columns: repeat(var(--thumb-columns, 4), minmax(0,1fr)); gap: 9px; max-height: none; overflow: visible; }
.project-thumb { aspect-ratio: 1.5; overflow: hidden; padding: 0; border: 1px solid var(--glass-border); background: #080a09; cursor: pointer; }
.project-thumb:hover, .project-thumb.is-active { border-color: var(--bronze-primary); }
.project-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.project-thumb:hover img { transform: scale(1.08); }
.project-panel.is-content-dense .project-description { margin-top: 14px; }
.project-panel.is-content-dense .project-description p { font-size: .85rem; line-height: 1.45; }
.project-panel.is-content-dense .project-gallery { padding-top: 10px; }
.project-panel.is-content-dense .project-thumb { aspect-ratio: 1.55; }
.project-panel.is-content-very-dense .project-description { margin-top: 10px; }
.project-panel.is-content-very-dense .project-description p { font-size: .78rem; line-height: 1.35; }
.project-panel.is-content-very-dense .project-highlights { display: none; }
.project-panel.is-content-very-dense .project-gallery { padding-top: 7px; }
.project-panel.is-content-very-dense .project-thumb { aspect-ratio: 1.7; }

.image-viewer { position: fixed; inset: 0; z-index: 11000; display: grid; place-items: center; padding: 24px; opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease; }
.image-viewer.active { opacity: 1; visibility: visible; }
.viewer-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: rgba(3,5,4,.96); cursor: zoom-out; }
.viewer-stage { position: relative; z-index: 2; display: grid; grid-template-columns: 64px minmax(0,1fr) 64px; align-items: center; width: min(96vw, 1700px); height: 94dvh; pointer-events: none; }
.viewer-stage > * { pointer-events: auto; }
.viewer-stage img { grid-column: 2; max-width: 100%; max-height: 86dvh; justify-self: center; object-fit: contain; box-shadow: 0 18px 70px rgba(0,0,0,.7); }
.viewer-topbar { position: absolute; z-index: 3; top: 0; right: 0; left: 0; display: flex; align-items: center; justify-content: flex-end; gap: 18px; color: #fff; font-family: var(--font-cinzel); font-size: .76rem; }
.viewer-close, .viewer-arrow { display: grid; place-items: center; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; color: #fff; background: rgba(14,18,16,.75); cursor: pointer; transition: background .25s ease, color .25s ease; }
.viewer-close { width: 44px; height: 44px; }
.viewer-arrow { width: 48px; height: 48px; }
.viewer-arrow:hover, .viewer-close:hover { color: #0e1210; background: var(--bronze-primary); }
.viewer-prev { grid-column: 1; justify-self: start; }
.viewer-next { grid-column: 3; justify-self: end; }

@media (max-width: 760px) {
  .modal-lightbox { padding: 24px 18px; }
  .modal-content { width: 100%; height: calc(100dvh - 48px); max-height: none; margin-inline: auto; }
  .project-showcase { grid-template-columns: 1fr; grid-template-rows: minmax(210px, 42dvh) minmax(0,1fr); }
  .project-cover { border-right: 0; border-bottom: 1px solid var(--glass-border-sage); }
  .project-cover-main > span { left: 14px; bottom: 14px; }
  .project-cover-arrow { width: 38px; height: 38px; }
  .project-cover-prev { left: 10px; }
  .project-cover-next { right: 10px; }
  .project-panel { padding: 18px 18px 14px; }
  .project-heading { padding-right: 38px; }
  .project-heading h2 { font-size: clamp(1.6rem, 6vw, 2.15rem); }
  .project-description { margin-top: 12px; }
  .project-description p { font-size: .8rem; line-height: 1.4; -webkit-line-clamp: unset; }
  .project-highlights { display: none; }
  .project-gallery { margin-top: 14px; padding-top: 12px; }
  .project-thumbs { display: grid; grid-template-columns: repeat(var(--thumb-columns, 4), minmax(0,1fr)); max-height: none; overflow: visible; }
  .project-thumb { flex: none; aspect-ratio: 1.4; }
  .modal-close { top: 12px; right: 12px; width: 36px; height: 36px; }
  .modal-project-nav { width: 46px; height: 68px; }
  .modal-project-nav::before { width: 22px; height: 22px; }
  .modal-project-prev { left: 4px; }
  .modal-project-next { right: 4px; }
  .viewer-stage { grid-template-columns: 44px minmax(0,1fr) 44px; width: 100%; }
  .viewer-arrow { width: 38px; height: 38px; }
  .viewer-stage img { max-height: 78dvh; }
}

/* EXCELÊNCIA RECONHECIDA — TELA COMPLETA */
.scrollytelling-ready .depoimentos-section {
  overflow: hidden;
  padding: 150px 0 24px;
}
.depoimentos-section > .container { display: flex; flex-direction: column; justify-content: center; height: 100%; }
.depoimentos-section .section-header { margin-bottom: 22px; }
.depoimentos-section .section-subtitle { margin-bottom: 5px; font-size: .66rem; }
.depoimentos-section .section-title { font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.05; }
.depoimentos-section .title-line { margin-top: 9px; }
.depoimentos-section .depoimento-card { padding: clamp(28px, 5vh, 52px); }

/* CONTATO — CONTEÚDO COMPACTO ABAIXO DO CABEÇALHO */
.scrollytelling-ready .contato-section { padding: 142px 0 12px; }
.contato-section > .container { display: flex; flex-direction: column; height: 100%; min-height: 0; }
.contato-section .contato-grid { flex: 1 1 auto; align-items: center; gap: 38px; min-height: 0; }
.contato-section .contato-logo { max-width: 125px; margin-bottom: 8px; }
.contato-section .contato-title { margin-bottom: 8px; font-size: clamp(1.75rem, 3vw, 2.25rem); line-height: 1.05; }
.contato-section .contato-desc { margin-bottom: 16px; font-size: .86rem; line-height: 1.45; }
.contato-section .info-items { gap: 12px; }
.contato-section .info-item { gap: 12px; }
.contato-section .info-item i { font-size: 1.1rem; }
.contato-section .info-item strong { font-size: .84rem; }
.contato-section .info-item span { font-size: .78rem; }
.contato-section .contato-form { padding: 18px 22px; }
.contato-section .form-title { margin-bottom: 12px; font-size: 1.35rem; }
.contato-section .form-group { margin-bottom: 9px; }
.contato-section .form-row { gap: 12px; }
.contato-section .form-group label { margin-bottom: 4px; font-size: .66rem; }
.contato-section .form-group input,
.contato-section .form-group select,
.contato-section .form-group textarea { padding: 9px 11px; font-size: .82rem; }
.contato-section .form-group textarea { height: 66px; resize: none; }
.contato-section .btn-submit { padding: 11px; font-size: .76rem; }
.contato-section .footer-bottom { flex: 0 0 auto; margin-top: 9px; padding-top: 9px; font-size: .68rem; }

@media (max-width: 760px) {
  .scrollytelling-ready .depoimentos-section { padding: 142px 18px 20px; }
  .depoimentos-section .section-header { margin-bottom: 14px; }
  .depoimentos-section .section-title { font-size: clamp(1.45rem, 6vw, 1.9rem); }
  .depoimentos-section .depoimento-card { padding: 24px 18px; }
  .depoimentos-section .depoimento-text { font-size: 1.15rem; }

  .scrollytelling-ready .contato-section { padding: 142px 18px 16px; }
  .contato-section .contato-grid { display: block; }
  .contato-section .contato-info-col { margin-bottom: 14px; }
  .contato-section .contato-logo { display: none; }
  .contato-section .contato-desc { margin-bottom: 10px; }
  .contato-section .info-items { display: none; }
  .contato-section .contato-form { padding: 14px; }
  .contato-section .form-row .form-group label { min-height: 1em; white-space: nowrap; }
  .contato-section label[for="phone"] { text-align: left; letter-spacing: .65px; }
  .contato-section .footer-bottom { display: none; }
}

/* NOVA ABERTURA — SCROLLYTELLING */
.scrollytelling-ready .hero-section { padding: 0; overflow: hidden; background: #090d0b; }
.hero-section .story-backgrounds { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.story-bg { position: absolute; z-index: 0; inset: -3%; background-position: center; background-size: cover; opacity: 0; transform: scale(1.08); filter: saturate(.78); transition: opacity .12s linear, transform 1.8s cubic-bezier(.16,1,.3,1), filter 1.1s ease; }
.story-bg.is-active { opacity: 1; transform: scale(1); filter: saturate(.92); }
.story-project-transition { position: absolute; z-index: 1; inset: 0; visibility: hidden; overflow: hidden; pointer-events: none; }
.story-project-transition.is-running { visibility: visible; }
.story-project-cover { position: absolute; inset: -3%; background-position: center; background-size: cover; filter: saturate(.92); clip-path: inset(50% 50% 50% 50%); }
.story-project-transition.is-plan-up .story-project-cover { animation: projectPlanRevealUp 1.25s cubic-bezier(.72,0,.22,1) both; }
.story-project-transition.is-plan-down .story-project-cover { animation: projectPlanRevealDown 1.25s cubic-bezier(.72,0,.22,1) both; }
.story-project-transition.is-plan-side .story-project-cover { animation: projectPlanRevealSide 1.25s cubic-bezier(.72,0,.22,1) both; }
.story-project-line { position: absolute; top: 50%; left: 50%; width: 0; height: 0; color: #e2b980; }
.story-project-line::before,
.story-project-line::after { content: ''; position: absolute; background: currentColor; box-shadow: 0 0 8px rgba(226,185,128,.9), 0 0 24px rgba(196,156,110,.5); }
.story-project-line::before { top: 0; left: -50vw; width: 100vw; height: 1px; transform: scaleX(0); }
.story-project-line::after { bottom: 0; left: 0; width: 1px; height: 50vh; transform: scaleY(0); transform-origin: center bottom; }
.story-project-transition.is-running .story-project-line::before { animation: projectPlanSides 1.25s cubic-bezier(.65,0,.22,1) both; }
.story-project-transition.is-running .story-project-line::after { animation: projectPlanUp 1.25s cubic-bezier(.65,0,.22,1) both; }
.story-project-transition.is-plan-down .story-project-line::after { top: 0; bottom: auto; transform-origin: center top; animation-name: projectPlanDown; }
.story-project-transition.is-plan-side .story-project-line::before { left: 0; width: 50vw; transform-origin: left center; animation-name: projectPlanSideOut; }
.story-project-transition.is-plan-side.is-backward .story-project-line::before { right: 0; left: auto; transform-origin: right center; }
.story-project-transition.is-plan-side .story-project-line::after { top: -50vh; bottom: auto; height: 100vh; transform-origin: center; animation-name: projectPlanVerticalFirst; }
.story-project-tick { position: absolute; display: block; height: 1px; background: currentColor; box-shadow: 0 0 7px rgba(226,185,128,.75); transform: scaleX(0); }
.story-project-tick::after { content: ''; position: absolute; width: 1px; height: 8vh; background: currentColor; box-shadow: 0 0 7px rgba(226,185,128,.65); }
.story-project-tick.tick-top { top: -25vh; left: 0; width: 24vw; transform-origin: left center; }
.story-project-tick.tick-top::after { right: 0; bottom: 0; }
.story-project-tick.tick-bottom { top: -13vh; right: 0; width: 29vw; transform-origin: right center; }
.story-project-tick.tick-bottom::after { left: 0; top: 0; height: 6vh; }
.story-project-tick.tick-center { top: -5px; left: -5px; width: 10px; height: 10px; border: 1px solid currentColor; background: rgba(8,12,10,.9); transform: scale(0) rotate(45deg); }
.story-project-tick.tick-center::after { display: none; }
.story-project-transition.is-plan-down .tick-top { top: 25vh; }
.story-project-transition.is-plan-down .tick-bottom { top: 13vh; }
.story-project-transition.is-plan-down .tick-top::after { top: 0; bottom: auto; }
.story-project-transition.is-plan-side .tick-top { top: -16vh; left: 0; width: 31vw; transform-origin: left center; }
.story-project-transition.is-plan-side .tick-bottom { top: 16vh; right: auto; left: 0; width: 24vw; transform-origin: left center; }
.story-project-transition.is-running .tick-top { animation: projectPlanBranch 1.25s cubic-bezier(.65,0,.22,1) both; }
.story-project-transition.is-running .tick-bottom { animation: projectPlanBranch 1.25s .08s cubic-bezier(.65,0,.22,1) both; }
.story-project-transition.is-running .tick-center { animation: projectPlanOrigin 1.25s ease both; }
.story-project-label { position: absolute; top: calc(50% + 18px); left: 50%; display: flex; align-items: center; gap: 10px; padding: 7px 11px; color: #ead1b1; background: rgba(8,12,10,.82); border: 1px solid rgba(196,156,110,.3); font-family: var(--font-cinzel); letter-spacing: 2px; white-space: nowrap; opacity: 0; transform: translateX(-50%); }
.story-project-label span { color: var(--bronze-primary); font-size: .56rem; }
.story-project-label b { font-size: .54rem; font-weight: 500; }
.story-project-transition.is-running .story-project-label { animation: projectPlanLabel 1.25s ease both; }
@keyframes projectPlanRevealUp { 0%,12% { clip-path: inset(50% 50% 50% 50%); } 40% { clip-path: inset(49.6% 0 49.6% 0); } 72% { clip-path: inset(0 0 50% 0); } 100% { clip-path: inset(0); } }
@keyframes projectPlanRevealDown { 0%,12% { clip-path: inset(50% 50% 50% 50%); } 40% { clip-path: inset(49.6% 0 49.6% 0); } 72% { clip-path: inset(50% 0 0 0); } 100% { clip-path: inset(0); } }
@keyframes projectPlanRevealSide { 0%,12% { clip-path: inset(50% 50% 50% 50%); } 40% { clip-path: inset(0 49.6% 0 49.6%); } 72% { clip-path: inset(0 0 0 50%); } 100% { clip-path: inset(0); } }
@keyframes projectPlanSides { 0%,7% { opacity: 0; transform: scaleX(0); } 12% { opacity: 1; } 48%,82% { opacity: 1; transform: scaleX(1); } 100% { opacity: 0; transform: scaleX(1); } }
@keyframes projectPlanUp { 0%,20% { opacity: 0; transform: scaleY(0); } 27% { opacity: 1; } 68%,82% { opacity: 1; transform: scaleY(1); } 100% { opacity: 0; transform: scaleY(1); } }
@keyframes projectPlanDown { 0%,20% { opacity: 0; transform: scaleY(0); } 27% { opacity: 1; } 68%,82% { opacity: 1; transform: scaleY(1); } 100% { opacity: 0; transform: scaleY(1); } }
@keyframes projectPlanVerticalFirst { 0%,7% { opacity: 0; transform: scaleY(0); } 14% { opacity: 1; } 48%,82% { opacity: 1; transform: scaleY(1); } 100% { opacity: 0; transform: scaleY(1); } }
@keyframes projectPlanSideOut { 0%,20% { opacity: 0; transform: scaleX(0); } 27% { opacity: 1; } 70%,84% { opacity: 1; transform: scaleX(1); } 100% { opacity: 0; transform: scaleX(1); } }
@keyframes projectPlanBranch { 0%,35% { opacity: 0; transform: scaleX(0); } 42% { opacity: 1; } 74%,84% { opacity: 1; transform: scaleX(1); } 100% { opacity: 0; transform: scaleX(1); } }
@keyframes projectPlanOrigin { 0%,5% { opacity: 0; transform: scale(0) rotate(45deg); } 14%,75% { opacity: 1; transform: scale(1) rotate(45deg); } 100% { opacity: 0; transform: scale(.6) rotate(45deg); } }
@keyframes projectPlanLabel { 0%,18% { opacity: 0; transform: translate(-50%,7px); } 28%,72% { opacity: 1; transform: translate(-50%,0); } 92%,100% { opacity: 0; transform: translate(-50%,-5px); } }

/* PASSAGEM 03 — O ESCRITÓRIO */
.office-plan-transition { position: fixed; z-index: 1200; inset: 0; visibility: hidden; overflow: hidden; pointer-events: none; }
.office-plan-transition.is-running { visibility: visible; }
.office-plan-panel { position: absolute; inset: 0; background: radial-gradient(circle at 50% 50%, rgba(25,32,28,.98), rgba(7,11,9,.99) 68%); clip-path: inset(50% 50% 50% 50%); }
.office-plan-transition.is-running .office-plan-panel { animation: officePlanPanel 1.55s cubic-bezier(.72,0,.22,1) both; }
.office-plan-drawing { position: absolute; z-index: 2; inset: 0; color: #dfb47c; }
.office-axis, .office-branch { position: absolute; display: block; background: currentColor; box-shadow: 0 0 9px rgba(223,180,124,.85), 0 0 24px rgba(196,156,110,.4); opacity: 0; }
.office-axis-horizontal { top: 50%; left: 0; width: 100%; height: 1px; transform: scaleX(0); }
.office-axis-vertical { top: 0; left: 50%; width: 1px; height: 100%; transform: scaleY(0); }
.office-branch-left { top: 34%; left: 18%; width: 32%; height: 1px; transform: scaleX(0); transform-origin: right center; }
.office-branch-left::after, .office-branch-right::after { content: ''; position: absolute; width: 1px; height: 14vh; background: currentColor; }
.office-branch-left::after { left: 0; top: 0; }
.office-branch-right { top: 66%; left: 50%; width: 28%; height: 1px; transform: scaleX(0); transform-origin: left center; }
.office-branch-right::after { right: 0; bottom: 0; }
.office-origin { position: absolute; z-index: 3; top: calc(50% - 5px); left: calc(50% - 5px); width: 10px; height: 10px; border: 1px solid currentColor; color: #dfb47c; background: #0a0e0c; opacity: 0; transform: scale(0) rotate(45deg); }
.office-plan-transition.is-running .office-axis-horizontal { animation: officeAxisHorizontal 1.55s cubic-bezier(.65,0,.22,1) both; }
.office-plan-transition.is-running .office-axis-vertical { animation: officeAxisVertical 1.55s cubic-bezier(.65,0,.22,1) both; }
.office-plan-transition.is-running .office-branch { animation: officeBranch 1.55s cubic-bezier(.65,0,.22,1) both; }
.office-plan-transition.is-running .office-origin { animation: officeOrigin 1.55s ease both; }
.office-plan-label { position: absolute; z-index: 3; top: calc(50% + 20px); left: 50%; display: flex; gap: 11px; align-items: center; padding: 8px 12px; border: 1px solid rgba(196,156,110,.35); color: #ead1b1; background: rgba(8,12,10,.88); font-family: var(--font-cinzel); letter-spacing: 2px; opacity: 0; transform: translateX(-50%); }
.office-plan-label span { color: var(--bronze-primary); font-size: .58rem; }
.office-plan-label b { font-size: .58rem; font-weight: 500; white-space: nowrap; }
.office-plan-transition.is-running .office-plan-label { animation: officeLabel 1.55s ease both; }
@keyframes officePlanPanel { 0%,8% { clip-path: inset(50% 50% 50% 50%); } 30% { clip-path: inset(49.6% 0 49.6% 0); } 50%,65% { clip-path: inset(0); } 100% { clip-path: inset(0 0 100% 0); } }
@keyframes officeAxisHorizontal { 0%,7% { opacity: 0; transform: scaleX(0); } 15%,54% { opacity: 1; transform: scaleX(1); } 72%,100% { opacity: 0; transform: scaleX(1); } }
@keyframes officeAxisVertical { 0%,18% { opacity: 0; transform: scaleY(0); } 27%,55% { opacity: 1; transform: scaleY(1); } 72%,100% { opacity: 0; transform: scaleY(1); } }
@keyframes officeBranch { 0%,28% { opacity: 0; transform: scaleX(0); } 37%,57% { opacity: 1; transform: scaleX(1); } 72%,100% { opacity: 0; transform: scaleX(1); } }
@keyframes officeOrigin { 0%,5% { opacity: 0; transform: scale(0) rotate(45deg); } 14%,56% { opacity: 1; transform: scale(1) rotate(45deg); } 72%,100% { opacity: 0; transform: scale(.6) rotate(45deg); } }
@keyframes officeLabel { 0%,22% { opacity: 0; transform: translate(-50%,7px); } 32%,57% { opacity: 1; transform: translate(-50%,0); } 70%,100% { opacity: 0; transform: translate(-50%,-5px); } }
.story-vignette { position: absolute; z-index: 2; inset: 0; background: linear-gradient(90deg, rgba(7,11,9,.96) 0%, rgba(7,11,9,.74) 43%, rgba(7,11,9,.2) 72%, rgba(7,11,9,.52) 100%), linear-gradient(0deg, rgba(7,11,9,.82) 0%, transparent 42%, rgba(7,11,9,.32) 100%); }
.story-grain { position: absolute; z-index: 3; inset: 0; opacity: .16; pointer-events: none; background-image: radial-gradient(rgba(255,255,255,.28) .5px, transparent .5px); background-size: 5px 5px; mix-blend-mode: soft-light; }
.story-container { position: relative; z-index: 2; display: grid; align-items: center; height: 100%; padding-top: 110px; padding-bottom: 125px; }
.story-scenes { position: relative; width: min(900px, 74vw); min-height: 430px; }
.story-scene { position: absolute; inset: 0 auto auto 0; width: 100%; height: 100%; opacity: 0; visibility: hidden; transform: translateY(48px); filter: blur(8px); transition: opacity .65s ease, transform .85s cubic-bezier(.16,1,.3,1), filter .65s ease, visibility .85s; }
.story-scene.is-active { opacity: 1; visibility: visible; transform: translateY(0); filter: blur(0); }
.story-scene.is-leaving { opacity: 0; transform: translateY(-38px); }
.story-eyebrow { display: block; margin-bottom: 20px; color: var(--bronze-light); font-family: var(--font-cinzel); font-size: .74rem; letter-spacing: 4px; }
.story-number { position: absolute; left: -104px; top: -6px; color: rgba(196,156,110,.42); font-family: var(--font-cinzel); font-size: 1rem; letter-spacing: 2px; }
.story-scene h1, .story-scene h2 { max-width: 850px; margin: 0 0 25px; color: #f7f5ef; font-family: var(--font-heading); font-size: clamp(3.5rem, 6.8vw, 7rem); font-weight: 400; line-height: .91; letter-spacing: -.035em; text-wrap: balance; }
.story-scene h1 { font-size: clamp(3.15rem, 5.8vw, 6rem); }
.story-scene h2 { font-size: clamp(3.4rem, 6.3vw, 6.6rem); }
.story-scene h1 em, .story-scene h2 em { color: var(--bronze-light); font-weight: 400; font-style: italic; }
.story-scene p { max-width: 610px; margin: 0; color: rgba(244,246,245,.76); font-size: clamp(.92rem, 1.25vw, 1.08rem); line-height: 1.72; }
.story-cta { position: absolute; bottom: 0; left: 0; display: inline-flex; align-items: center; gap: 20px; margin: 0; padding-bottom: 8px; border-bottom: 1px solid var(--bronze-primary); color: #fff; font-size: .76rem; letter-spacing: 2px; text-decoration: none; text-transform: uppercase; transition: gap .3s ease, color .3s ease; }
.story-scene[data-story-scene="0"] .story-cta { bottom: -14px; }
.story-cta:hover { gap: 28px; color: var(--bronze-light); }
.story-brandline { position: absolute; z-index: 3; top: 50%; right: auto; left: 24px; display: flex; align-items: center; gap: 18px; color: rgba(255,255,255,.42); font-family: var(--font-cinzel); font-size: .58rem; letter-spacing: 3px; writing-mode: vertical-rl; transform: translateY(-50%) rotate(180deg); transform-origin: center; }
.story-brandline span + span::before { content: ''; display: inline-block; width: 1px; height: 38px; margin: 0 0 18px; background: var(--bronze-primary); }
.story-metrics { position: absolute; z-index: 2; left: 0; bottom: 35px; display: flex; gap: 48px; }
.story-metrics > div { display: flex; align-items: baseline; gap: 10px; }
.story-metrics strong { color: var(--bronze-light); font-family: var(--font-heading); font-size: 1.55rem; font-weight: 500; }
.story-metrics span { color: rgba(255,255,255,.55); font-size: .64rem; letter-spacing: 1px; text-transform: uppercase; }
.story-progress { position: absolute; z-index: 4; right: 70px; bottom: 34px; left: 50%; display: grid; grid-template-columns: repeat(4,1fr); gap: 0; }
.story-step { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; align-items: center; gap: 6px 12px; padding: 0; border: 0; color: rgba(255,255,255,.42); background: none; text-align: left; cursor: pointer; }
.story-step span { grid-row: 1; font-family: var(--font-cinzel); font-size: .62rem; }
.story-step i { grid-row: 1; width: 100%; height: 1px; background: rgba(255,255,255,.18); transition: background .45s ease; }
.story-step b { grid-column: 1 / -1; color: inherit; font-size: .58rem; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase; }
.story-step.is-active { color: var(--bronze-light); }
.story-step.is-active i { background: var(--bronze-primary); box-shadow: 0 0 12px rgba(196,156,110,.55); }
.story-scroll-hint { position: absolute; z-index: 4; right: 28px; bottom: 165px; display: flex; flex-direction: column; align-items: center; gap: 12px; color: rgba(255,255,255,.5); font-size: .55rem; letter-spacing: 2px; text-transform: uppercase; writing-mode: vertical-rl; }
.story-scroll-hint i { color: var(--bronze-primary); animation: cueMove 1.6s ease-in-out infinite; }
.scroll-cue { display: none; }

@media (max-width: 992px) {
  .story-container { padding: 125px 24px 150px; }
  .story-scenes { width: calc(100vw - 72px); min-height: 390px; }
  .story-scene h1, .story-scene h2 { font-size: clamp(3rem, 10vw, 5rem); }
  .story-scene h1 { font-size: clamp(2.75rem, 9vw, 4.5rem); }
  .story-number, .story-brandline { display: none; }
  .story-progress { right: 30px; bottom: 34px; left: 30px; }
  .story-metrics { left: 24px; bottom: 88px; gap: 20px; }
  .story-metrics > div { display: block; }
  .story-metrics span { display: block; margin-top: 3px; font-size: .52rem; }
  .story-scroll-hint { display: none; }
}

@media (max-width: 560px) {
  .story-container { padding-top: 120px; }
  .story-scenes { min-height: 365px; }
  .story-scene h1, .story-scene h2 { margin-bottom: 20px; font-size: clamp(2.65rem, 12vw, 4rem); line-height: .94; }
  .story-scene h1 { font-size: clamp(2.35rem, 10.5vw, 3.55rem); }
  .story-eyebrow { margin-bottom: 16px; font-size: .61rem; letter-spacing: 2.5px; }
  .story-scene p { max-width: 92%; font-size: .84rem; line-height: 1.55; }
  .story-metrics { right: 24px; justify-content: space-between; }
  .story-metrics strong { font-size: 1.15rem; }
  .story-step b { display: none; }
  .story-progress { bottom: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  .story-bg, .story-scene { transition: opacity .15s linear, visibility .15s; transform: none !important; filter: none; }
}

/* O ESCRITÓRIO — COMPOSIÇÃO COMPLETA SEM ROLAGEM */
.scrollytelling-ready .sobre-section {
  overflow: hidden;
  padding: 150px 0 24px;
}
.sobre-section > .container {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}
.sobre-section .section-header {
  flex: 0 0 auto;
  margin-bottom: 14px;
}
.sobre-section .section-subtitle { margin-bottom: 5px; font-size: .66rem; }
.sobre-section .section-title { max-width: 900px; margin: 0 auto; font-size: clamp(1.75rem, 3vw, 2.55rem); line-height: 1.05; }
.sobre-section .title-line { margin-top: 9px; }
.sobre-section .sobre-grid {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(330px, .8fr);
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 14px 18px;
  align-items: stretch;
  min-height: 0;
}
.sobre-section .sobre-image-col { min-height: 0; }
.sobre-section .image-wrapper { height: 100%; min-height: 0; }
.sobre-section .sobre-img-main { width: 100%; height: 100%; min-height: 0; object-fit: cover; object-position: center 55%; }
.sobre-section .image-border-decor { top: -7px; left: -7px; }
.sobre-section .experience-badge { right: 14px; bottom: 14px; padding: 11px 18px; background: rgba(14,18,16,.86); backdrop-filter: blur(8px); }
.sobre-section .experience-badge .years { font-size: 1.75rem; }
.sobre-section .experience-badge .text { font-size: .6rem; }
.sobre-section .sobre-text-col { display: contents; }
.sobre-section .sobre-text {
  grid-column: 2;
  grid-row: 1;
  display: block;
  align-self: stretch;
  overflow: hidden;
  margin: 0;
  padding: 18px 20px;
  border: 1px solid var(--glass-border);
  background: var(--bg-dark-surface);
  color: var(--text-muted);
  font-size: clamp(.86rem, 1.1vw, 1rem);
  line-height: 1.58;
  text-align: justify;
  text-wrap: pretty;
  hyphens: auto;
  white-space: normal;
}
.sobre-section .pilares-container {
  grid-column: 1 / -1;
  grid-row: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.sobre-section .pilar-card { min-height: 104px; gap: 13px; margin: 0; padding: 14px 16px; }
.sobre-section .pilar-card:hover { transform: translateY(-4px); }
.sobre-section .pilar-icon { min-width: 30px; font-size: 1.35rem; }
.sobre-section .pilar-info h4 { margin-bottom: 3px; font-size: 1.02rem; }
.sobre-section .pilar-info p { display: -webkit-box; overflow: hidden; font-size: .73rem; line-height: 1.38; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

@media (max-width: 760px) {
  .scrollytelling-ready .sobre-section { padding: 142px 18px 16px; }
  .sobre-section .section-header { margin-bottom: 10px; }
  .sobre-section .section-subtitle { font-size: .58rem; }
  .sobre-section .section-title { font-size: clamp(1.35rem, 5.4vw, 1.75rem); }
  .sobre-section .sobre-grid {
    flex: 0 0 auto;
    grid-template-columns: 1fr;
    grid-template-rows: clamp(112px, 17dvh, 145px) auto auto;
    gap: 9px;
  }
  .sobre-section .sobre-image-col { grid-column: 1; grid-row: 1; }
  .sobre-section .image-wrapper { height: 100%; }
  .sobre-section .sobre-img-main {
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: center 58%;
  }
  .sobre-section .sobre-text {
    grid-column: 1;
    grid-row: 2;
    display: block;
    align-self: auto;
    overflow: visible;
    padding: 12px 13px;
    font-size: clamp(.7rem, 2.9vw, .8rem);
    line-height: 1.42;
    text-align: left;
  }
  .sobre-section .pilares-container { grid-column: 1; grid-row: 3; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .sobre-section .pilar-card {
    min-height: 66px;
    gap: 7px;
    align-items: center;
    padding: 8px 7px;
    border-color: rgba(196, 156, 110, .2);
    background: rgba(20, 27, 23, .46);
    box-shadow: none;
  }
  .sobre-section .pilar-card:hover { transform: none; }
  .sobre-section .pilar-icon { min-width: 19px; font-size: .9rem; }
  .sobre-section .pilar-info h4 { margin: 0; font-size: clamp(.68rem, 2.6vw, .8rem); line-height: 1.22; }
  .sobre-section .pilar-info p { display: none; }
  .sobre-section .experience-badge { right: 9px; bottom: 9px; padding: 7px 11px; }
  .sobre-section .experience-badge .years { font-size: 1.25rem; }
}

@media (max-width: 760px) and (max-height: 700px) {
  .scrollytelling-ready .sobre-section { padding-top: 112px; }
  .sobre-section .section-header { margin-bottom: 7px; }
  .sobre-section .sobre-grid { grid-template-rows: 102px auto auto; gap: 6px; }
  .sobre-section .sobre-text { padding: 8px 10px; font-size: .62rem; line-height: 1.3; }
  .sobre-section .pilar-card { min-height: 48px; padding: 5px; }
}

@media (max-height: 700px) and (min-width: 761px) {
  .scrollytelling-ready .sobre-section { padding-top: 135px; }
  .sobre-section .section-title { font-size: 1.7rem; }
  .sobre-section .section-header { margin-bottom: 9px; }
  .sobre-section .pilar-card { min-height: 88px; padding: 10px 13px; }
}

/* GALERIA — TÍTULO LIVRE DO CABEÇALHO */
.scrollytelling-ready .galeria-section {
  overflow-x: hidden;
  padding: 150px 0 22px;
}
.galeria-section .section-header { margin-bottom: 18px; }
.galeria-section .section-subtitle { margin-bottom: 5px; font-size: .66rem; }
.galeria-section .section-title { font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.05; }
.galeria-section .title-line { margin-top: 9px; }
.galeria-section .galeria-filters { margin-bottom: 18px; }

@media (max-width: 760px) {
  .scrollytelling-ready .galeria-section { padding: 142px 18px 18px; }
  .galeria-section .section-header { margin-bottom: 12px; }
  .galeria-section .section-title { font-size: clamp(1.45rem, 6vw, 1.9rem); }
  .galeria-section .galeria-filters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
    max-width: 340px;
    margin: 0 auto 14px;
  }
  .galeria-section .filter-btn { width: 100%; padding: 9px 10px; font-size: .74rem; line-height: 1.25; }
  .galeria-section .filter-btn:last-child { grid-column: 1 / -1; justify-self: center; width: calc(50% - 4px); }
  .scrollytelling-ready .galeria-grid {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    min-width: 0;
    gap: 18px;
  }
  .galeria-section .project-card { width: 100%; min-width: 0; }
}

/* DESKTOP COM POUCA ALTURA — 1366×768 E RESOLUÇÕES SEMELHANTES */
@media (min-width: 993px) and (max-width: 1440px) and (max-height: 820px) {
  .navbar { padding: 8px 0; }
  .navbar.scrolled { padding: 6px 0; }
  .nav-logo { height: 96px; }
  .navbar.scrolled .nav-logo { height: 82px; }
  .nav-menu { gap: 24px; }
  .nav-link { font-size: .78rem; }

  .scrollytelling-ready .section,
  .scrollytelling-ready .sobre-section,
  .scrollytelling-ready .galeria-section,
  .scrollytelling-ready .depoimentos-section {
    padding-top: 108px;
    padding-bottom: 14px;
  }
  .scrollytelling-ready .contato-section { padding: 104px 0 8px; }
  .scrollytelling-ready .section-header { margin-bottom: 10px; }
  .scrollytelling-ready .section-subtitle { margin-bottom: 3px; font-size: .58rem; }
  .scrollytelling-ready .section-title { font-size: 1.85rem; line-height: 1.02; }
  .scrollytelling-ready .title-line { margin-top: 6px; }

  .story-container { padding: 82px 46px 88px; }
  .story-scenes { width: min(780px, 68vw); min-height: 330px; }
  .story-scene h1,
  .story-scene h2 { margin-bottom: 16px; font-size: clamp(3rem, 5.3vw, 4.65rem); line-height: .92; }
  .story-scene h1 { font-size: clamp(2.75rem, 4.75vw, 4.15rem); }
  .story-scene p { max-width: 560px; font-size: .88rem; line-height: 1.52; }
  .story-eyebrow { margin-bottom: 12px; font-size: .62rem; }
  .story-cta { margin: 0; }
  .story-number { display: none; }
  .story-metrics { bottom: 22px; gap: 28px; }
  .story-metrics strong { font-size: 1.3rem; }
  .story-progress { right: 58px; bottom: 22px; }
  .story-scroll-hint { display: none; }

  .sobre-section .sobre-grid { gap: 10px 16px; }
  .sobre-section .sobre-text { padding: 13px 16px; font-size: .76rem; line-height: 1.4; }
  .sobre-section .pilares-container { gap: 8px; }
  .sobre-section .pilar-card { min-height: 78px; gap: 10px; padding: 9px 12px; }
  .sobre-section .pilar-icon { font-size: 1.1rem; }
  .sobre-section .pilar-info h4 { font-size: .88rem; }
  .sobre-section .pilar-info p { font-size: .65rem; line-height: 1.25; }
  .sobre-section .experience-badge { padding: 8px 13px; }
  .sobre-section .experience-badge .years { font-size: 1.35rem; }

  .galeria-section .galeria-filters { gap: 9px; margin-bottom: 10px; }
  .galeria-section .filter-btn { padding: 7px 13px; font-size: .7rem; }
  .scrollytelling-ready .galeria-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .scrollytelling-ready .card-media { height: 230px; }
  .card-category { font-size: .62rem; }
  .card-title { font-size: 1.25rem; }
  .card-location { font-size: .7rem; }

  .depoimentos-section .depoimento-card { max-width: 720px; padding: 24px 30px; }
  .depoimentos-section .quote-icon { margin-bottom: 12px; font-size: 1.8rem; }
  .depoimentos-section .depoimento-text { margin-bottom: 16px; font-size: 1.25rem; line-height: 1.35; }

  .contato-section .contato-grid { gap: 26px; }
  .contato-section .contato-logo { max-width: 90px; margin-bottom: 4px; }
  .contato-section .contato-title { font-size: 1.55rem; }
  .contato-section .contato-desc { margin-bottom: 10px; font-size: .74rem; line-height: 1.35; }
  .contato-section .info-items { gap: 7px; }
  .contato-section .info-item { gap: 9px; }
  .contato-section .info-item i { font-size: .9rem; }
  .contato-section .info-item strong { font-size: .72rem; }
  .contato-section .info-item span,
  .contato-section .contact-whatsapp-link { font-size: .68rem; }
  .contato-section .contato-form { padding: 13px 18px; }
  .contato-section .form-title { margin-bottom: 8px; font-size: 1.12rem; }
  .contato-section .form-group { margin-bottom: 6px; }
  .contato-section .form-group input,
  .contato-section .form-group select,
  .contato-section .form-group textarea { padding: 7px 9px; font-size: .74rem; }
  .contato-section .form-group textarea { height: 48px; }
  .contato-section .btn-submit { padding: 8px; font-size: .7rem; }
  .contato-section .footer-bottom { margin-top: 5px; padding-top: 5px; font-size: .6rem; }

  .modal-content { height: 88dvh; }
  .project-panel { padding: 24px 26px 18px; }
  .project-heading h2 { font-size: 1.8rem; }
  .project-description { margin-top: 14px; }
  .project-description p { font-size: .82rem; line-height: 1.42; -webkit-line-clamp: unset; }
  .project-highlights { margin-top: 12px; }
  .project-highlights li { font-size: .74rem; }
  .project-gallery { margin-top: 14px; padding-top: 12px; }
  .project-thumbs { max-height: none; }
}
