/* ==========================================================================
   FOCO EMPREENDIMENTOS — LUXURY ARCHITECTURAL DESIGN SYSTEM
   Alternating Light/Dark Contrast Rhythm & Emil Kowalski Design Engineering
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOKENS & VARIABLES
   -------------------------------------------------------------------------- */
:root {
  /* Dark Canvas Colors */
  --bg-dark: #0b0d11;
  --bg-dark-surface: #13161c;
  --bg-dark-elevated: #1a1e26;
  --bg-dark-card: rgba(22, 26, 34, 0.85);

  /* Light Canvas Colors (Warm Architectural Stone / Greige) */
  --bg-light: #f7f5f0;
  --bg-light-surface: #ffffff;
  --bg-light-elevated: #eeece6;
  --bg-light-stone: #ebe7df;
  
  /* Text Dark Mode */
  --text-primary: #fcfbf9;
  --text-secondary: #c2beb6;
  --text-muted: #828078;
  
  /* Text Light Mode */
  --text-light-title: #14161a;
  --text-light-body: #45474d;
  --text-light-muted: #6f7178;
  
  /* Luxury Gold Accents */
  --accent-gold: #c6a065;
  --accent-gold-light: #dfc292;
  --accent-gold-dark: #9e7a41;
  --accent-gold-glow: rgba(198, 160, 101, 0.22);
  --accent-bronze: #8c6d3d;
  
  /* Borders */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glass: rgba(255, 255, 255, 0.12);
  --border-gold: rgba(198, 160, 101, 0.35);
  --border-light: #e5e1d7;
  --border-light-subtle: #ede9e0;
  
  /* Shadows */
  --shadow-ambient: 0 20px 50px rgba(0, 0, 0, 0.5);
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-gold: 0 8px 30px rgba(198, 160, 101, 0.25);
  --shadow-light-card: 0 10px 30px rgba(0, 0, 0, 0.06);
  --shadow-light-hover: 0 18px 45px rgba(0, 0, 0, 0.1);
  
  /* Typography: Expansive, Architectural, Legible (Zero Squish) */
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-arch: 'Cinzel', serif;
  
  /* Emil Kowalski Animation Easing Curves */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --transition-fast: 160ms var(--ease-out);
  --transition-smooth: 320ms var(--ease-out);
  --transition-motion: 600ms var(--ease-out);
  
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --container-max: 1360px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  font-size: inherit;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* --------------------------------------------------------------------------
   3. NAVIGATION / HEADER (WITH CRISP VECTOR LOGO)
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 18px 0;
  transition: padding var(--transition-smooth), background var(--transition-smooth), backdrop-filter var(--transition-smooth), border-color var(--transition-smooth);
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  padding: 12px 0;
  background: rgba(11, 13, 17, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Brand Link & Crisp Scalable Logo */
.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo-symbol {
  height: 40px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4));
  transition: transform var(--transition-fast);
}

.brand-link:hover .brand-logo-symbol {
  transform: scale(1.04);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: #ffffff;
  text-transform: uppercase;
}

.brand-subtitle {
  font-family: var(--font-sans);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--accent-gold);
  text-transform: uppercase;
  margin-top: 4px;
}

/* Navigation Links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
  position: relative;
  padding: 6px 0;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent-gold);
  transition: width var(--transition-smooth);
}

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

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-header-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: rgba(198, 160, 101, 0.12);
  border: 1px solid var(--border-gold);
  color: var(--accent-gold-light);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-header-cta:hover {
  background: var(--accent-gold);
  color: #0b0d11;
  box-shadow: var(--shadow-gold);
  transform: translateY(-1px);
}

.btn-header-cta:active {
  transform: scale(0.97);
}

.btn-header-cta svg {
  width: 18px;
  height: 18px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition-fast);
}

/* --------------------------------------------------------------------------
   4. BUTTONS (EMIL KOWALSKI RESPONSIVE POLISH)
   -------------------------------------------------------------------------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 36px;
  background: var(--accent-gold);
  color: #0b0d11;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
  box-shadow: 0 4px 20px rgba(198, 160, 101, 0.3);
}

.btn-primary:hover {
  background: var(--accent-gold-light);
  box-shadow: 0 6px 30px rgba(198, 160, 101, 0.5);
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: scale(0.97);
}

.btn-primary svg,
.btn-secondary svg {
  flex-shrink: 0;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-glass);
  color: #ffffff;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius-sm);
  backdrop-filter: blur(10px);
  transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
}

.btn-secondary:active {
  transform: scale(0.97);
}

/* --------------------------------------------------------------------------
   5. HERO CINEMATIC (COM EFEITO DE MOVIMENTO ENTRANDO NA CASA & ZERO TRAVAMENTO)
   -------------------------------------------------------------------------- */
.hero-cinematic-section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 680px;
  overflow: hidden;
  background-color: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Background Layers with Ambient Ken Burns Glide Motion */
.hero-layers {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  visibility: hidden;
  transform: scale(1);
  transition: opacity 1.2s var(--ease-out), visibility 1.2s var(--ease-out), transform 10s ease-out;
  will-change: transform, opacity;
  image-rendering: -webkit-optimize-contrast;
}

.hero-layer.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1.02);
}

.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(11, 13, 17, 0.7) 0%,
    rgba(11, 13, 17, 0.3) 40%,
    rgba(11, 13, 17, 0.55) 70%,
    rgba(11, 13, 17, 0.95) 100%
  );
}

.hero-ambient-grid {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 8vw 8vw;
}

.hero-crosshair {
  position: absolute;
  color: rgba(198, 160, 101, 0.4);
  font-family: monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  pointer-events: none;
  z-index: 4;
}

.crosshair-tl { top: 110px; left: 36px; }
.crosshair-tr { top: 110px; right: 36px; }
.crosshair-bl { bottom: 60px; left: 36px; }

/* Floating Content Viewport */
.hero-content-viewport {
  position: relative;
  z-index: 10;
  width: 100%;
  padding-top: 60px;
}

.hero-text-stage {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--transition-motion), transform var(--transition-motion);
  display: none;
}

.hero-text-stage.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: rgba(198, 160, 101, 0.15);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-gold-light);
  margin-bottom: 22px;
  backdrop-filter: blur(8px);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.015em;
  color: #ffffff;
  margin-bottom: 16px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.hero-subtitle {
  font-size: clamp(0.95rem, 1.4vw, 1.08rem);
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 28px;
  font-weight: 400;
  line-height: 1.6;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-cta-group .btn-primary {
  padding: 13px 28px;
  font-size: 0.92rem;
}

.hero-cta-group .btn-secondary {
  padding: 13px 26px;
  font-size: 0.92rem;
}

/* --------------------------------------------------------------------------
   HERO PAGINATION DOTS (NAVEGAÇÃO VISUAL EMBAIXO)
   -------------------------------------------------------------------------- */
.hero-pagination-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 15;
  background: rgba(11, 13, 17, 0.72);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 6px 14px;
  border-radius: 40px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
}

.hero-dot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 20px;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.dot-indicator {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transition: transform var(--transition-fast), background var(--transition-fast), box-shadow var(--transition-fast);
}

.dot-text {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--transition-fast);
  white-space: nowrap;
}

.hero-dot:hover .dot-indicator {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.15);
}

.hero-dot.active {
  background: rgba(198, 160, 101, 0.16);
}

.hero-dot.active .dot-indicator {
  background: var(--accent-gold);
  transform: scale(1.25);
  box-shadow: 0 0 10px var(--accent-gold);
}

.hero-dot.active .dot-text {
  color: var(--accent-gold-light);
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 10;
  cursor: pointer;
  transition: opacity var(--transition-fast);
}

.hero-scroll-indicator:hover {
  opacity: 0.75;
}

.scroll-text {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.scroll-mouse {
  width: 20px;
  height: 32px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  position: relative;
}

.scroll-wheel {
  width: 4px;
  height: 6px;
  background: var(--accent-gold);
  border-radius: 2px;
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  animation: mouseWheel 2s infinite ease-in-out;
}

@keyframes mouseWheel {
  0% { transform: translate(-50%, 0); opacity: 1; }
  60% { transform: translate(-50%, 10px); opacity: 0; }
  100% { transform: translate(-50%, 0); opacity: 0; }
}

/* --------------------------------------------------------------------------
   6. SECTION SYSTEM: ALTERNATING LIGHT / DARK CONTRAST RHYTHM
   -------------------------------------------------------------------------- */
.section-light {
  background-color: var(--bg-light);
  color: var(--text-light-body);
}

.section-dark {
  background-color: var(--bg-dark);
  color: var(--text-primary);
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 54px;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 12px;
}

.section-light .section-tag {
  color: var(--accent-gold-dark);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
}

.section-dark .section-title {
  color: #ffffff;
}

.section-light .section-title {
  color: var(--text-light-title);
}

.section-desc {
  font-size: 1.05rem;
  line-height: 1.7;
}

.section-dark .section-desc {
  color: var(--text-secondary);
}

.section-light .section-desc {
  color: var(--text-light-muted);
}

/* --------------------------------------------------------------------------
   7. SEÇÃO MANIFESTO / PROPOSTA DE VALOR (FUNDO CLARO WARM STONE)
   -------------------------------------------------------------------------- */
.section-manifesto {
  position: relative;
  padding: 110px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  background-color: #f8f7f4;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(198, 160, 101, 0.05) 0%, transparent 40%),
    linear-gradient(rgba(0, 0, 0, 0.016) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.016) 1px, transparent 1px);
  background-size: 100% 100%, 36px 36px, 36px 36px;
}

.manifesto-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.manifesto-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 2.85rem);
  font-weight: 800;
  line-height: 1.18;
  color: #111317;
  margin-bottom: 16px;
  letter-spacing: -0.015em;
}

.manifesto-subheadline {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.8vw, 1.35rem);
  font-weight: 500;
  line-height: 1.45;
  color: #3b3f47;
  margin-bottom: 22px;
  letter-spacing: -0.005em;
}

.manifesto-lead {
  font-size: 1.08rem;
  color: var(--text-light-body);
  line-height: 1.75;
  margin-bottom: 36px;
}

.manifesto-features-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 18px 22px;
  background: var(--bg-light-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.feature-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
  border-color: var(--accent-gold);
}

.feature-badge {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1;
  color: var(--accent-gold-dark);
  min-width: 95px;
  letter-spacing: -0.02em;
}

.feature-text h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-light-title);
  margin-bottom: 4px;
}

.feature-text p {
  font-size: 0.92rem;
  color: var(--text-light-muted);
  line-height: 1.5;
}

.manifesto-media {
  position: relative;
}

.manifesto-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
  border: 4px solid #ffffff;
}

.manifesto-photo {
  width: 100%;
  height: 520px;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.manifesto-image-card:hover .manifesto-photo {
  transform: scale(1.03);
}

.manifesto-photo-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  padding: 12px 20px;
  background: rgba(11, 13, 17, 0.88);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.photo-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-gold);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-gold);
}

/* --------------------------------------------------------------------------
   8. BEFORE & AFTER INTERACTIVE SLIDER (FUNDO ESCURO OBSIDIAN)
   -------------------------------------------------------------------------- */
.section-before-after {
  padding: 110px 0;
  position: relative;
  border-bottom: 1px solid var(--border-subtle);
  background-color: var(--bg-dark);
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(198, 160, 101, 0.08) 0%, transparent 60%),
    radial-gradient(rgba(198, 160, 101, 0.12) 1px, transparent 1px),
    linear-gradient(to right, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 100% 100%, 28px 28px, 56px 56px, 56px 56px;
  background-position: center top, center center, center center, center center;
}

.ba-slider-wrapper {
  position: relative;
  width: 100%;
  max-width: 1100px;
  height: 580px;
  margin: 0 auto;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-ambient);
  border: 1px solid var(--border-subtle);
  user-select: none;
  --ba-pos: 50%;
}

.ba-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  pointer-events: none;
}

.ba-image-after {
  z-index: 1;
}

.ba-image-before {
  z-index: 2;
  width: 100%;
  height: 100%;
  clip-path: inset(0 calc(100% - var(--ba-pos, 50%)) 0 0);
  border: none;
  will-change: clip-path;
}

.ba-badge {
  position: absolute;
  padding: 8px 16px;
  background: rgba(11, 13, 17, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 5;
}

.ba-badge.before {
  top: 24px;
  left: 24px;
  color: #ffb86c;
}

.ba-badge.after {
  top: 24px;
  right: 24px;
  color: var(--accent-gold-light);
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--ba-pos, 50%);
  width: 4px;
  background: var(--accent-gold);
  transform: translateX(-50%);
  cursor: ew-resize;
  z-index: 10;
  will-change: left;
}

.ba-handle-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  background: var(--accent-gold);
  color: #0b0d11;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
  border: 3px solid #ffffff;
  pointer-events: none;
  transition: transform var(--transition-fast);
}

.ba-slider-wrapper:hover .ba-handle-btn {
  transform: translate(-50%, -50%) scale(1.08);
}

.ba-controls {
  max-width: 1100px;
  margin: 24px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.ba-caption {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.ba-presets {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ba-preset-btn {
  padding: 8px 16px;
  background: var(--bg-dark-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.ba-preset-btn:hover {
  border-color: var(--border-gold);
  color: #ffffff;
}

.ba-preset-btn.active {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: #0b0d11;
}

/* --------------------------------------------------------------------------
   9. CURATED PORTFOLIO (FUNDO CLARO COM QUEBRA DE CONTRASTE & CARDS REFINADOS)
   -------------------------------------------------------------------------- */
.section-portfolio {
  padding: 110px 0;
  position: relative;
  border-bottom: 1px solid var(--border-light);
}

.portfolio-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.filter-btn {
  padding: 10px 22px;
  background: var(--bg-light-elevated);
  border: 1px solid var(--border-light);
  color: var(--text-light-body);
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}

.filter-btn:hover {
  border-color: var(--accent-gold-dark);
  color: var(--text-light-title);
  transform: translateY(-1px);
}

.filter-btn:active {
  transform: scale(0.97);
}

.filter-btn.active {
  background: var(--accent-gold-dark);
  border-color: var(--accent-gold-dark);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(158, 122, 65, 0.3);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 32px;
}

.portfolio-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-light-card);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-smooth);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.portfolio-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-light-hover);
}

.portfolio-thumb-wrap {
  position: relative;
  width: 100%;
  height: 270px;
  overflow: hidden;
  background-color: #f0eee8;
}

.portfolio-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.portfolio-card:hover .portfolio-thumb {
  transform: scale(1.06);
}

.portfolio-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 5px 12px;
  background: rgba(11, 13, 17, 0.85);
  backdrop-filter: blur(6px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent-gold-light);
  z-index: 2;
}

.portfolio-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.portfolio-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-light-title);
  margin-bottom: 12px;
  line-height: 1.3;
  transition: color var(--transition-fast);
}

.portfolio-card:hover .portfolio-name {
  color: var(--accent-gold-dark);
}

/* Redesigned Specification Pills (Clean, Modern, No Raw Dots) */
.portfolio-specs-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.spec-pill {
  font-size: 0.76rem;
  font-weight: 600;
  padding: 4px 10px;
  background: var(--bg-light-elevated);
  border: 1px solid var(--border-light-subtle);
  color: var(--text-light-body);
  border-radius: var(--radius-sm);
  letter-spacing: 0.02em;
}

.portfolio-desc {
  font-size: 0.92rem;
  color: var(--text-light-muted);
  line-height: 1.6;
  margin-bottom: 22px;
  flex-grow: 1;
}

.portfolio-action-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent-gold-dark);
  transition: gap var(--transition-fast);
  margin-top: auto;
}

.portfolio-card:hover .portfolio-action-link {
  gap: 12px;
}

/* --------------------------------------------------------------------------
   10. O MÉTODO FOCO: 5 ETAPAS (FUNDO ESCURO COM FOTOS ILUSTRATIVAS)
   -------------------------------------------------------------------------- */
.section-method {
  padding: 110px 0;
  position: relative;
  border-bottom: 1px solid var(--border-subtle);
  background-color: #0b0d11;
  background-image: 
    radial-gradient(circle at 80% 20%, rgba(198, 160, 101, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(198, 160, 101, 0.04) 0%, transparent 50%),
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 48px 48px, 48px 48px;
}

.method-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.method-card {
  position: relative;
  background: var(--bg-dark-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.method-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-ambient);
}

.method-card-media {
  position: relative;
  width: 100%;
  height: 175px;
  overflow: hidden;
  background: #1b1e26;
}

.method-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

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

.method-step-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 4px 10px;
  background: rgba(11, 13, 17, 0.9);
  backdrop-filter: blur(6px);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-gold-light);
  z-index: 2;
}

.method-card-body {
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.method-card-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
  line-height: 1.35;
}

.method-card-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 18px;
  flex-grow: 1;
}

.method-action-tag {
  padding: 10px 14px;
  background: rgba(198, 160, 101, 0.08);
  border-left: 3px solid var(--accent-gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.8rem;
  color: var(--accent-gold-light);
  line-height: 1.45;
}

/* --------------------------------------------------------------------------
   11. BASTIDORES DA OBRA: VÍDEO DO CANTEIRO (FUNDO CLARO WARM STONE)
   -------------------------------------------------------------------------- */
.section-video {
  padding: 110px 0;
  position: relative;
  border-bottom: 1px solid var(--border-light);
  background-color: #f8f7f4;
  background-image: 
    radial-gradient(circle at 90% 80%, rgba(198, 160, 101, 0.06) 0%, transparent 45%),
    linear-gradient(rgba(0, 0, 0, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.018) 1px, transparent 1px);
  background-size: 100% 100%, 40px 40px, 40px 40px;
}

.video-container-box {
  display: grid;
  grid-template-columns: minmax(300px, 360px) 1fr;
  gap: 60px;
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.05);
}

.video-frame-wrap {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
  background: #000000;
  aspect-ratio: 9 / 16;
  max-width: 360px;
  margin: 0 auto;
  border: 5px solid #14171d;
}

.video-element {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-controls-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
  cursor: pointer;
  transition: opacity var(--transition-fast);
}

.video-play-btn {
  width: 68px;
  height: 68px;
  background: var(--accent-gold);
  color: #0b0d11;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  border: 3px solid #ffffff;
  transition: transform var(--transition-fast), background var(--transition-fast);
}

.video-controls-overlay:hover .video-play-btn {
  transform: scale(1.1);
  background: var(--accent-gold-light);
}

.video-text-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.8vw, 2.5rem);
  font-weight: 700;
  color: var(--text-light-title);
  line-height: 1.25;
  margin-bottom: 16px;
}

.video-text-content p {
  font-size: 1rem;
  color: var(--text-light-body);
  line-height: 1.7;
  margin-bottom: 24px;
}

.video-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.video-bullet-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.94rem;
  color: var(--text-light-title);
  font-weight: 500;
}

.video-bullet-item svg {
  color: var(--accent-gold-dark);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   12. PERGUNTAS FREQUENTES (FAQ) (FUNDO ESCURO GRAPHITE)
   -------------------------------------------------------------------------- */
.section-faq {
  padding: 110px 0;
  position: relative;
  border-bottom: 1px solid var(--border-subtle);
  background-color: #11141a;
  background-image: 
    radial-gradient(circle at 50% 100%, rgba(198, 160, 101, 0.07) 0%, transparent 60%),
    radial-gradient(rgba(198, 160, 101, 0.1) 1px, transparent 1px);
  background-size: 100% 100%, 32px 32px;
}

.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-dark-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item.active {
  border-color: var(--border-gold);
}

.faq-question {
  width: 100%;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 600;
  color: #ffffff;
  transition: color var(--transition-fast);
}

.faq-question:hover {
  color: var(--accent-gold-light);
}

.faq-icon {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-smooth);
  color: var(--accent-gold);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-motion), padding var(--transition-motion);
  padding: 0 28px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  padding-bottom: 24px;
}

/* --------------------------------------------------------------------------
   13. FOOTER CTA BANNER & SITE FOOTER
   -------------------------------------------------------------------------- */
.footer-cta-banner {
  padding: 90px 0;
  background: linear-gradient(180deg, var(--bg-dark) 0%, #08090c 100%);
  position: relative;
}

.footer-cta-box {
  background: radial-gradient(circle at 50% 50%, rgba(198, 160, 101, 0.14) 0%, rgba(19, 22, 28, 0.9) 70%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 70px 48px;
  text-align: center;
  box-shadow: var(--shadow-ambient);
  max-width: 960px;
  margin: 0 auto;
}

.footer-cta-box h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 18px;
}

.footer-cta-box p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 36px;
  line-height: 1.65;
}

.site-footer {
  background: #08090c;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 70px 0 0;
  color: var(--text-secondary);
}

.footer-content {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 50px;
}

.footer-brand p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 380px;
  margin-top: 18px;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: 0.92rem;
  color: var(--text-secondary);
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.footer-col a:hover {
  color: var(--accent-gold);
  transform: translateX(3px);
}

.footer-col a svg {
  flex-shrink: 0;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 26px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
}

/* --------------------------------------------------------------------------
   MOURA TORRES AGENCY FOOTER BAR (DEDICATED SUB-BAR)
   -------------------------------------------------------------------------- */
.footer-agency-bar {
  background: #040507;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 20px 0;
}

.footer-agency-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.agency-credit-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.agency-logo-link {
  display: inline-flex;
  align-items: center;
  transition: transform var(--transition-fast), filter var(--transition-fast);
}

.agency-logo-img {
  height: 28px !important;
  max-height: 28px !important;
  width: auto !important;
  max-width: 170px !important;
  object-fit: contain;
  display: inline-block;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.6));
  transition: transform var(--transition-fast), filter var(--transition-fast);
}

.agency-logo-link:hover .agency-logo-img {
  transform: scale(1.05);
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.45));
}

/* --------------------------------------------------------------------------
   14. LIGHTBOX MODAL
   -------------------------------------------------------------------------- */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(8, 9, 12, 0.92);
  backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
}

.lightbox-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  position: relative;
  max-width: 980px;
  width: 100%;
  background: var(--bg-dark-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
  transform: scale(0.95);
  transition: transform var(--transition-smooth);
}

.lightbox-modal.active .lightbox-content {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  background: rgba(11, 13, 17, 0.8);
  border: 1px solid var(--border-glass);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 10;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.lightbox-close:hover {
  background: var(--accent-gold);
  color: #0b0d11;
  transform: scale(1.05);
}

.lightbox-img {
  width: 100%;
  max-height: 540px;
  object-fit: cover;
}

.lightbox-details {
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-dark-elevated);
}

.lightbox-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.lightbox-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   15. FLOATING WHATSAPP
   -------------------------------------------------------------------------- */
.floating-whatsapp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  background: #25d366;
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.floating-whatsapp:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 40px rgba(37, 211, 102, 0.55);
}

.floating-whatsapp:active {
  transform: scale(0.96);
}

.floating-whatsapp svg {
  width: 22px;
  height: 22px;
}

/* --------------------------------------------------------------------------
   16. RESPONSIVE MEDIA QUERIES
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .manifesto-grid,
  .video-container-box {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .manifesto-photo {
    height: 400px;
  }
  
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
  
  .hero-milestones {
    display: none;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 76px;
    left: 0;
    width: 100%;
    background: rgba(11, 13, 17, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 32px;
    gap: 20px;
    border-bottom: 1px solid var(--border-subtle);
    transform: translateY(-120%);
    opacity: 0;
    transition: transform var(--transition-smooth), opacity var(--transition-smooth);
    pointer-events: none;
  }
  
  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  
  .method-cards-grid {
    grid-template-columns: 1fr;
  }
  
  .ba-slider-wrapper {
    height: 380px;
  }
  
  .ba-controls {
    flex-direction: column;
    align-items: stretch;
  }
  
  .ba-presets {
    justify-content: center;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  
  .lightbox-details {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .footer-agency-bar {
    padding-bottom: 84px;
  }
  
  .footer-agency-inner {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .brand-subtitle {
    display: none;
  }
  
  .brand-title {
    font-size: 1.15rem;
  }

  .btn-header-cta {
    padding: 8px 12px;
  }
}

/* Emil Kowalski Hover Query Guard */
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover,
  .btn-secondary:hover,
  .filter-btn:hover {
    transition: transform 160ms var(--ease-out), background 160ms var(--ease-out);
  }
}
