/* CSS Variables for Theme */
:root {
  --primary-color: #0b1114;
  /* Deep luxury dark */
  --secondary-color: #1a2226;
  /* Slightly lighter dark */
  --gold-color: #c9a461;
  /* Premium gold */
  --gold-hover: #e0b872;
  --text-white: #ffffff;
  --text-light: #e0e0e0;
  --text-gray: #a0aab2;
  --glass-bg: rgba(26, 34, 38, 0.7);
  --glass-border: rgba(255, 255, 255, 0.08);
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --font-serif: 'Cormorant Garamond', serif;
  --font-sans: 'Inter', sans-serif;

  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 8rem;
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE/Edge */
}

/* Completely Hide Scrollbar for Premium Immersive Experience */
::-webkit-scrollbar {
  display: none;
}



body {
  font-family: var(--font-sans);
  background-color: var(--primary-color);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Custom Cursor */
.cursor {
  width: 8px;
  height: 8px;
  background-color: var(--gold-color);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, background-color 0.3s;
}

.cursor-follower {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(201, 164, 97, 0.4);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.1s;
}

.cursor-hover .cursor {
  width: 12px;
  height: 12px;
  background-color: transparent;
  border: 2px solid var(--gold-color);
}

.cursor-hover .cursor-follower {
  transform: translate(-50%, -50%) scale(1.5);
  background: rgba(201, 164, 97, 0.1);
}

@media (min-width: 1025px) {

  body,
  body * {
    cursor: none;
  }
}

@media (max-width: 1024px) {

  .cursor,
  .cursor-follower {
    display: none;
  }
}

/* Typography */
h1,
h2,
h3,
h4,
.font-serif {
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--text-white);
  line-height: 1.2;
}

.text-gold {
  color: var(--gold-color);
}

.text-white {
  color: var(--text-white);
}

.text-gray {
  color: var(--text-gray);
}

/* Reusable Components */
.section-subtitle {
  color: var(--gold-color);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 1rem;
  font-weight: 500;
}

.section-title {
  font-size: clamp(2.5rem, 4vw, 4rem);
  margin-bottom: 1.5rem;
}

.section-header {
  margin-bottom: var(--spacing-lg);
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  border-radius: 2px;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background-color: var(--gold-color);
  color: var(--primary-color);
  border: 1px solid var(--gold-color);
}

.btn-primary:hover {
  background-color: var(--gold-hover);
  border-color: var(--gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(201, 164, 97, 0.2);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-white);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  border-color: var(--gold-color);
  color: var(--gold-color);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold-color);
  text-decoration: none;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 1rem;
  transition: var(--transition);
  margin-top: 1.5rem;
}

.link-arrow svg {
  transition: var(--transition);
}

.link-arrow:hover {
  color: var(--gold-hover);
}

.link-arrow:hover svg {
  transform: translateX(5px);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 0;
  z-index: 100;
  transition: var(--transition);
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  background-color: rgba(11, 17, 20, 0.9);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--glass-border);
  padding: 1rem 0;
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--text-white);
  text-decoration: none;
  z-index: 101;
}

.logo-gold,
.logo-agv {
  color: var(--gold-color);
}

.nav {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-link {
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  position: relative;
}

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

.nav-link:hover {
  color: var(--text-white);
}

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

.nav-link.active {
  color: var(--gold-color);
}

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

.btn-contact {
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--glass-border);
  border-radius: 2px;
}

.btn-contact::after {
  display: none;
}

.btn-contact:hover {
  border-color: var(--gold-color);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 101;
}

.mobile-menu-btn span {
  width: 30px;
  height: 2px;
  background-color: var(--text-white);
  transition: var(--transition);
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  height: 100dvh;
  min-height: 650px;
  display: flex;
  align-items: center;
  padding: 60px 5% 0;
  /* added padding to prevent header overlap */
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%;
  /* for parallax */
  background-image: url('https://images.unsplash.com/photo-1545324418-cc1a3fa10c00?q=80&w=2000&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  z-index: -2;
  transform: scale(1.3);
  filter: brightness(0) blur(20px);
  /* slightly scaled and blurred for entering animation */
}

/* GSAP Pre-animation states (Avoid FOUC) */
.header,
.hero-subtitle,
.title-line,
.hero-desc,
.hero-actions .btn,
.scroll-indicator,
.emp-breadcrumb,
.emp-badge,
.emp-title,
.emp-location,
.emp-delivery,
.emp-hero-actions > * {
  opacity: 0;
}

.emp-hero-bg img {
  transform: scale(1.18);
  filter: blur(12px);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right,
      rgba(11, 17, 20, 0.92) 0%,
      rgba(11, 17, 20, 0.7) 60%,
      rgba(11, 17, 20, 0.4) 100%);
  z-index: -1;
}

.hero-content {
  max-width: 800px;
  z-index: 1;
}

.hero-subtitle {
  color: var(--gold-color);
  font-family: var(--font-sans);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 1.1;
  margin-bottom: 2rem;
}

.title-line {
  display: block;
  overflow: hidden;
}

.hero-desc {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  color: var(--text-light);
  max-width: 600px;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-start;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 5%;
  display: flex;
  align-items: center;
  gap: 1rem;
  transform: rotate(-90deg);
  transform-origin: left center;
}

.scroll-text {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-gray);
}

.scroll-line {
  width: 50px;
  height: 1px;
  background-color: var(--glass-border);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background-color: var(--gold-color);
  animation: scrollAnim 2s infinite ease-in-out;
}

@keyframes scrollAnim {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(200%);
  }
}

/* Stats Section */
.stats {
  padding: 4rem 5%;
  background-color: var(--secondary-color);
  border-bottom: 1px solid var(--glass-border);
  position: relative;
  z-index: 10;
}

.stats-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.stat-card {
  text-align: center;
  padding: 2rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 4px;
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-5px);
  border-color: rgba(201, 164, 97, 0.3);
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  color: var(--gold-color);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-gray);
}

/* Sobre (About) Section */
.sobre {
  padding: var(--spacing-xl) 5%;
  background-color: var(--primary-color);
}

.sobre-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.sobre-image-container {
  position: relative;
}

.sobre-image-wrapper {
  overflow: hidden;
  border-radius: 2px;
  aspect-ratio: 4/5;
  position: relative;
}

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

.sobre-image-wrapper:hover .sobre-img {
  transform: scale(1.05);
}

.experience-badge {
  position: absolute;
  bottom: -40px;
  right: -40px;
  background-color: var(--gold-color);
  color: var(--primary-color);
  padding: 2rem;
  border-radius: 50%;
  width: 180px;
  height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  z-index: 2;
}

.badge-num {
  font-family: var(--font-serif);
  font-size: 3rem;
  line-height: 1;
  font-weight: 700;
}

.badge-text {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.sobre-text p {
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
  color: var(--text-gray);
}

/* Empreendimentos */
.empreendimentos {
  padding: var(--spacing-xl) 5%;
  background-color: var(--secondary-color);
}

.projects-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.project-card {
  position: relative;
  background: var(--primary-color);
  border-radius: 4px;
  overflow: hidden;
}

.project-image {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
}

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

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

.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 17, 20, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-link {
  display: inline-block;
  padding: 1rem 2rem;
  background: transparent;
  color: var(--text-white);
  border: 1px solid var(--gold-color);
  text-decoration: none;
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.875rem;
  transition: var(--transition);
  transform: translateY(20px);
}

.project-card:hover .project-link {
  transform: translateY(0);
}

.project-link:hover {
  background: var(--gold-color);
  color: var(--primary-color);
}

.project-info {
  padding: 2rem 1.5rem;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(11, 17, 20, 1) 0%, rgba(11, 17, 20, 0) 100%);
  z-index: 2;
  pointer-events: none;
}

.project-status {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(201, 164, 97, 0.2);
  color: var(--gold-color);
  border: 1px solid var(--gold-color);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 20px;
  margin-bottom: 1rem;
}

.project-status.completed {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-white);
  border-color: var(--glass-border);
}

.project-title {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.project-location {
  color: var(--text-gray);
  font-size: 0.875rem;
}

.projects-action {
  text-align: center;
  margin-top: 3rem;
}

/* Oportunidades */
.oportunidades {
  padding: var(--spacing-xl) 5%;
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.oportunidades-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('https://images.unsplash.com/photo-1512917774080-9991f1c4c750?q=80&w=2070&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  /* Simple parallax */
  z-index: -2;
}

.oportunidades::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(11, 17, 20, 0.8);
  z-index: -1;
}

.oportunidades-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.section-desc {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  line-height: 1.8;
}

/* Contato */
.contato {
  padding: var(--spacing-xl) 5%;
  background-color: var(--primary-color);
}

.contato-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-desc {
  color: var(--text-gray);
  font-size: 1.125rem;
  margin-bottom: 3rem;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.contact-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(201, 164, 97, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-color);
  flex-shrink: 0;
}

.contact-details h5 {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  text-transform: uppercase;
  color: var(--text-gray);
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.contact-link {
  display: block;
  color: var(--text-white);
  text-decoration: none;
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
  transition: var(--transition);
}

.contact-link:hover {
  color: var(--gold-color);
}

.contact-form {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 3rem;
  border-radius: 4px;
  backdrop-filter: blur(10px);
}

.contact-form h3 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--glass-border);
  padding: 1rem 1.5rem;
  color: var(--text-white);
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: var(--transition);
  border-radius: 2px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold-color);
  background: rgba(0, 0, 0, 0.4);
}

.submit-btn {
  width: 100%;
  margin-top: 1rem;
}

/* Footer */
.footer {
  background-color: #05080a;
  padding: 2rem 5%;
  border-top: 1px solid var(--glass-border);
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-gray);
  font-size: 0.875rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: var(--text-gray);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--gold-color);
}

/* ============================================
   PREMIUM ANIMATION AUGMENTATION CSS
   ============================================ */

/* 3D Perspective on all sections */
.stats,
.sobre,
.empreendimentos,
.oportunidades,
.contato {
  perspective: 1200px;
}

/* ---- CINEMATIC BARS ---- */
.hero-bar-top,
.hero-bar-bottom {
  position: absolute;
  left: 0;
  width: 100%;
  height: 12vh;
  background-color: var(--primary-color);
  z-index: 10;
  pointer-events: none;
}

.hero-bar-top {
  top: 0;
  transform-origin: top center;
}

.hero-bar-bottom {
  bottom: 0;
  transform-origin: bottom center;
}

/* ---- GRAIN OVERLAY ---- */
.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 128px 128px;
}

/* ---- FLOATING GOLD ORBS ---- */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  animation: orbFloat 8s ease-in-out infinite;
}

.hero-orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(201, 164, 97, 0.18) 0%, transparent 70%);
  top: -10%;
  right: 5%;
  animation-delay: 0s;
  opacity: 0.8;
}

.hero-orb-2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(201, 164, 97, 0.12) 0%, transparent 70%);
  bottom: 5%;
  right: 20%;
  animation-delay: -3s;
  animation-duration: 10s;
  opacity: 0.6;
}

.hero-orb-3 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(201, 164, 97, 0.15) 0%, transparent 70%);
  top: 30%;
  left: 55%;
  animation-delay: -6s;
  animation-duration: 12s;
  opacity: 0.5;
}

@keyframes orbFloat {

  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-30px) scale(1.05);
  }
}

/* ---- CARD SHEEN (specular highlight) ---- */
.card-sheen {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  border-radius: inherit;
  transition: background 0.2s ease;
}

/* Stat card 3D */
.stat-card {
  transform-style: preserve-3d;
  will-change: transform;
  position: relative;
}

/* Project card 3D */
.project-card {
  transform-style: preserve-3d;
  will-change: transform;
}

/* ---- GOLDEN BORDER GLOW ANIMATION ---- */
@keyframes borderGlow {

  0%,
  100% {
    box-shadow: 0 0 8px rgba(201, 164, 97, 0.2), 0 0 30px rgba(201, 164, 97, 0.05);
  }

  50% {
    box-shadow: 0 0 20px rgba(201, 164, 97, 0.4), 0 0 60px rgba(201, 164, 97, 0.15);
  }
}

.stat-card:hover {
  animation: borderGlow 2s ease-in-out infinite;
}

/* ---- BUTTON SWEEP EFFECT ---- */
.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.15) 50%, transparent 100%);
  transition: left 0.6s ease;
}

.btn:hover::before {
  left: 100%;
}

/* ---- IMAGE CLIP PATH INITIAL STATE (JS sets it, CSS ensures it is supported) ---- */
.sobre-image-wrapper {
  clip-path: inset(100% 0% 0% 0%);
}

/* ---- EXPERIENCE BADGE SPIN ON HOVER ---- */
.experience-badge {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.experience-badge:hover {
  transform: scale(1.08) rotate(5deg);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), 0 0 30px rgba(201, 164, 97, 0.3);
}

/* ---- GOLD DIVIDER BEFORE SUBTITLE ---- */
.section-subtitle::before {
  content: '';
  display: inline-block;
  width: 30px;
  height: 1px;
  background: var(--gold-color);
  vertical-align: middle;
  margin-right: 1rem;
}

/* ---- CONTACT ICON HOVER ---- */
.contact-icon {
  transition: var(--transition);
}

.contact-item:hover .contact-icon {
  background: rgba(201, 164, 97, 0.2);
  box-shadow: 0 0 20px rgba(201, 164, 97, 0.2);
  transform: scale(1.1) rotate(5deg);
}

/* ---- FORM INPUT GLOW ---- */
.contact-form input:focus,
.contact-form textarea:focus {
  box-shadow: 0 0 0 3px rgba(201, 164, 97, 0.08), 0 0 20px rgba(201, 164, 97, 0.1);
}

/* ---- PROJECT OVERLAY GRADIENT SWEEP ---- */
.project-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201, 164, 97, 0.08) 0%, transparent 50%, rgba(201, 164, 97, 0.04) 100%);
}

/* ---- UTILITY ---- */
.mt-4 {
  margin-top: 1.5rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {

  .sobre-container,
  .contato-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .experience-badge {
    bottom: -20px;
    right: 20px;
    width: 140px;
    height: 140px;
  }

  .stat-card,
  .project-card {
    transform-style: flat;
  }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80vw;
    height: 100vh;
    background: var(--primary-color);
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    transition: 0.5s ease-in-out;
    border-left: 1px solid var(--glass-border);
  }

  .nav.active {
    right: 0;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .stats-container {
    grid-template-columns: 1fr;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  /* Disable heavy effects on mobile */
  .hero-orb {
    display: none;
  }

  .hero-bar-top,
  .hero-bar-bottom {
    height: 8vh;
  }

  .sobre-image-wrapper {
    clip-path: none;
  }

  /* ---- HERO MOBILE FIXES ---- */

  /* Disable GSAP parallax transforms on mobile */
  .hero-bg {
    height: 100% !important;
    transform: none !important;
    background-attachment: scroll;
    will-change: auto;
  }

  /* Make overlay stronger for mobile portrait */
  .hero-overlay {
    background: linear-gradient(to bottom,
        rgba(11, 17, 20, 0.75) 0%,
        rgba(11, 17, 20, 0.85) 50%,
        rgba(11, 17, 20, 0.95) 100%);
  }

  /* Remove extra padding so it perfectly centers */
  .hero-content {
    padding-top: 0;
    width: 100%;
    max-width: 100%;
  }

  /* Hero title smaller on very small screens */
  .hero-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
    line-height: 1.15;
  }

  /* Stack buttons vertically and make them full-width */
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  /* Hide scroll indicator on mobile */
  .scroll-indicator {
    display: none;
  }
}

/* ============================================
   EMPREENDIMENTO PAGE SPECIFIC CSS
   ============================================ */

/* Progress Bar */
.emp-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(to right, var(--gold-color), #e0b872, var(--gold-color));
  z-index: 9999;
  pointer-events: none;
  box-shadow: 0 0 10px rgba(201, 164, 97, 0.6);
  transition: width 0.1s linear;
}

.empreendimento-page .header {
  background: rgba(11, 17, 20, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* --- HERO --- */
.emp-hero {
  position: relative;
  min-height: 100vh;
  /* Use min-height so it spans the screen but can grow if needed */
  display: flex;
  align-items: center;
  /* Center the content vertically between the header and the bottom */
  justify-content: flex-start;
  padding-top: 120px;
  padding-bottom: 100px;
  /* Buffer at the bottom for highlights overlap */
  overflow: hidden;
}

.emp-hero-bg {
  position: absolute;
  inset: -10%;
  z-index: 0;
}

.emp-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}

.emp-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      rgba(11, 17, 20, 0.98) 0%,
      rgba(11, 17, 20, 0.8) 35%,
      rgba(11, 17, 20, 0) 100%),
    linear-gradient(0deg,
      rgba(11, 17, 20, 1) 0%,
      rgba(11, 17, 20, 0) 40%,
      rgba(11, 17, 20, 0.6) 100%);
  z-index: 1;
}

.emp-hero-grain {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 110px;
}

.emp-hero-content {
  position: relative;
  z-index: 3;
  padding: 0 6% 0;
  /* Bottom padding removed because of center alignment */
  max-width: 850px;
  width: 100%;
}

.emp-breadcrumb {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  margin-bottom: 1.8rem;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

.emp-breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.emp-breadcrumb a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0%;
  height: 1px;
  background: var(--gold-color);
  transition: width 0.3s ease;
}

.emp-breadcrumb a:hover {
  color: var(--gold-color);
}

.emp-breadcrumb a:hover::after {
  width: 100%;
}

.emp-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 1.4rem;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(201, 164, 97, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(201, 164, 97, 0.1) inset;
  color: var(--gold-color);
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 0.75rem;
  font-family: var(--font-sans);
  font-weight: 500;
  border-radius: 50px;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}

.emp-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(201, 164, 97, 0.4), transparent);
  transform: skewX(-20deg);
  animation: badgeSweep 3s infinite;
}

@keyframes badgeSweep {
  0% {
    left: -100%;
  }

  30%,
  100% {
    left: 200%;
  }
}

.emp-title {
  font-family: var(--font-serif);
  font-size: clamp(3.5rem, 7vw, 6.5rem);
  color: var(--text-white);
  line-height: 1.05;
  margin-bottom: 1.2rem;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.8));
  letter-spacing: -1px;
}

.emp-title span.highlight {
  background: linear-gradient(135deg, #ffd78a 0%, #aa8033 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.emp-location {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.emp-location::before {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--gold-color);
}

.emp-delivery {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 400;
  margin-bottom: 3rem;
  letter-spacing: 1px;
}

.emp-hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

/* --- HIGHLIGHTS BAR --- */
.emp-highlights-bar {
  background: rgba(11, 17, 20, 0.6);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(201, 164, 97, 0.05) inset;
  padding: 0;
  overflow: hidden;
  position: relative;
  z-index: 10;
  max-width: 1200px;
  margin: -3rem auto 0;
  border-radius: 16px;
  /* prevent overflow on narrow screens */
  width: calc(100% - 2 * 5%);
}

.emp-highlights-inner {
  display: flex;
  width: 100%;
}

.highlight-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 1.8rem 1.5rem;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  flex: 1;
  text-align: center;
  transition: background-color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
  /* changed from 'all' to prevent GSAP conflict */
  position: relative;
  overflow: hidden;
}

.highlight-stat::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gold-color);
  transition: top 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.highlight-stat:last-child {
  border-right: none;
}

.highlight-stat:hover {
  background: rgba(255, 255, 255, 0.02);
}

.highlight-stat:hover::after {
  top: calc(100% - 3px);
}

.highlight-stat-value {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--gold-color);
  line-height: 1;
  text-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.highlight-stat-label {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
}

/* --- DETAILS SECTION --- */
.emp-details {
  padding: 5rem 5% var(--spacing-xl);
  background: var(--primary-color);
  position: relative;
}

.emp-container {
  max-width: 1400px;
  margin: 0 auto;
}

.emp-details-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 8rem;
  align-items: center;
}

.emp-section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 4vw, 4.2rem);
  color: var(--text-white);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.emp-divider {
  width: 80px;
  height: 2px;
  background: var(--gold-color);
  margin: 2rem 0;
  border-radius: 2px;
}

.emp-desc p {
  font-family: var(--font-sans);
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  margin-bottom: 1.8rem;
  font-weight: 300;
}

.emp-link-arrow {
  margin-top: 1rem;
  font-size: 1.1rem;
}

.emp-features-title {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold-color);
  margin-bottom: 2.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-weight: 600;
}

.emp-features-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, rgba(201, 164, 97, 0.3), transparent);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.feature-item {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.5rem 1.5rem;
  border-radius: 12px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  transition: background 0.5s ease, box-shadow 0.5s ease, border-color 0.5s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.feature-item::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 12px;
  padding: 1.5px;
  background: linear-gradient(135deg, rgba(201, 164, 97, 0.8) 0%, transparent 50%, rgba(201, 164, 97, 0.3) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.feature-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(201, 164, 97, 0.1) inset;
  background: linear-gradient(145deg, rgba(201, 164, 97, 0.06) 0%, rgba(201, 164, 97, 0.02) 100%);
}

.feature-item:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 1.6rem;
  height: 1.6rem;
  min-width: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 3px 10px rgba(201, 164, 97, 0.35));
  color: var(--gold-color);
  transition: transform 0.4s ease;
}

.feature-item:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
}

.feature-text {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.4;
}

/* --- GALLERY & CAROUSEL --- */
.emp-gallery {
  padding: 8rem 0 0;
  background: linear-gradient(to bottom, var(--primary-color) 0%, var(--secondary-color) 100%);
  overflow: hidden;
}

.emp-gallery-header {
  padding: 0 5%;
  margin-bottom: 4rem;
}

/* ── Carousel Shell ── */
.emp-carousel {
  position: relative;
  width: 100%;
}

/* ── Stage (main slide area) ── */
.emp-carousel-stage {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 420px;
  max-height: 780px;
  overflow: hidden;
  background: #050a0d;
}

.emp-carousel-track {
  display: flex;
  height: 100%;
  width: 100%;
  will-change: transform;
  transition: transform 0.85s cubic-bezier(0.77, 0, 0.175, 1);
}

.emp-carousel-slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  overflow: hidden;
  cursor: zoom-in;
}

.emp-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 8s linear;
  transform: scale(1.07);
}

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

/* Gradient overlay on slide */
.emp-carousel-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(5, 10, 13, 0.7) 0%, transparent 40%),
    linear-gradient(to right, rgba(5, 10, 13, 0.3) 0%, transparent 60%);
  pointer-events: none;
}

/* ── Slide Counter ── */
.emp-carousel-counter {
  position: absolute;
  bottom: 5.5rem;
  left: 2.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 10;
  font-family: var(--font-sans);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  letter-spacing: 2px;
}

#empSlideNum {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: var(--gold-color);
  line-height: 1;
}

.emp-carousel-sep {
  width: 40px;
  height: 1px;
  background: linear-gradient(to right, var(--gold-color), transparent);
}

/* ── Navigation Arrows ── */
.emp-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(11, 17, 20, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(201, 164, 97, 0.3);
  color: var(--gold-color);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.emp-carousel-btn:hover {
  background: rgba(201, 164, 97, 0.15);
  border-color: rgba(201, 164, 97, 0.7);
  box-shadow: 0 0 25px rgba(201, 164, 97, 0.3);
  transform: translateY(-50%) scale(1.08);
}

.emp-carousel-prev {
  left: 1.5rem;
}

.emp-carousel-next {
  right: 1.5rem;
}

/* ── Dot Indicators ── */
.emp-carousel-dots {
  position: absolute;
  bottom: 1.8rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.6rem;
  z-index: 10;
}

.emp-carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  transition: background 0.4s, width 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-radius 0.4s;
  padding: 0;
}

.emp-carousel-dot.is-active {
  width: 28px;
  border-radius: 4px;
  background: var(--gold-color);
  box-shadow: 0 0 12px rgba(201, 164, 97, 0.6);
}

/* ── Expand Button ── */
.emp-carousel-expand {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 10;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(11, 17, 20, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
  opacity: 0;
}

.emp-carousel-stage:hover .emp-carousel-expand {
  opacity: 1;
}

.emp-carousel-expand:hover {
  background: rgba(201, 164, 97, 0.15);
  border-color: rgba(201, 164, 97, 0.5);
  color: var(--gold-color);
}

/* ── Thumbnail Strip ── */
.emp-carousel-thumbs {
  display: flex;
  gap: 0.75rem;
  padding: 1.25rem 3%;
  background: rgba(5, 10, 13, 0.8);
  overflow-x: auto;
  scrollbar-width: none;
}

.emp-carousel-thumbs::-webkit-scrollbar {
  display: none;
}

.emp-carousel-thumb {
  flex: 0 0 120px;
  height: 78px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.35s, transform 0.35s, opacity 0.35s;
  opacity: 0.5;
}

.emp-carousel-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s;
}

.emp-carousel-thumb:hover {
  opacity: 0.8;
  transform: scale(1.03);
}

.emp-carousel-thumb:hover img {
  transform: scale(1.07);
}

.emp-carousel-thumb.is-active {
  border-color: var(--gold-color);
  opacity: 1;
  box-shadow: 0 0 16px rgba(201, 164, 97, 0.4);
}

/* Legacy gallery-item kept for consistency */
.gallery-item {
  width: 420px;
  height: 550px;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease;
}

/* Lightbox */
.emp-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(5, 8, 10, 0.97);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.emp-lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.lb-img {
  max-width: 85vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 4px;
}

.lb-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.lb-close:hover {
  background: rgba(201, 164, 97, 0.2);
  border-color: var(--gold-color);
  box-shadow: 0 0 20px rgba(201, 164, 97, 0.3);
  transform: scale(1.1);
}

.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.lb-nav:hover {
  background: rgba(201, 164, 97, 0.2);
  border-color: var(--gold-color);
  box-shadow: 0 0 20px rgba(201, 164, 97, 0.3);
  transform: translateY(-50%) scale(1.1);
}

.lb-prev {
  left: 2rem;
}

.lb-next {
  right: 2rem;
}

/* --- LOCATION SECTION --- */
.emp-location-section {
  padding: 8rem 5%;
  background: var(--primary-color);
  border-top: 1px solid rgba(255, 255, 255, 0.02);
  position: relative;
}

.emp-location-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50vw;
  height: 100%;
  background: radial-gradient(circle at center, rgba(201, 164, 97, 0.03) 0%, transparent 70%);
  pointer-events: none;
}

.emp-location-header {
  max-width: 650px;
  position: relative;
  z-index: 2;
}

.emp-location-header .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 2.5rem;
}

.emp-location-desc {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  margin-top: 1.5rem;
  font-weight: 300;
}

/* --- CONTACT SECTION --- */
.emp-contact {
  padding: var(--spacing-xl) 5%;
  background: var(--secondary-color);
  border-top: 1px solid rgba(255, 255, 255, 0.02);
}

.emp-contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 8rem;
  align-items: center;
}

.emp-contact-desc {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.15rem;
  line-height: 1.8;
  margin: 1.5rem 0 3rem;
  font-weight: 300;
}

.emp-phones {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.emp-phone-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-white);
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 500;
  padding: 1.5rem 2rem;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.emp-phone-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gold-color);
  transform: scaleY(0);
  transition: transform 0.4s ease;
  transform-origin: bottom;
}

.emp-phone-link svg {
  color: var(--gold-color);
  flex-shrink: 0;
  transition: transform 0.4s;
}

.emp-phone-link:hover {
  border-color: rgba(201, 164, 97, 0.4);
  background: rgba(201, 164, 97, 0.05);
  transform: translateX(10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(201, 164, 97, 0.1) inset;
}

.emp-phone-link:hover::before {
  transform: scaleY(1);
}

.emp-phone-link:hover svg {
  transform: scale(1.2) rotate(-10deg);
  filter: drop-shadow(0 0 10px rgba(201, 164, 97, 0.5));
}

.emp-cta-card {
  background: linear-gradient(145deg, rgba(201, 164, 97, 0.05) 0%, rgba(201, 164, 97, 0.01) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(201, 164, 97, 0.3);
  border-radius: 16px;
  padding: 4rem 3rem;
  text-align: center;
  transition: background 0.5s ease, border-color 0.5s ease, box-shadow 0.5s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
}

.emp-cta-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(201, 164, 97, 0.8) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.5s ease;
  mix-blend-mode: color-dodge;
  pointer-events: none;
}

.emp-cta-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  transform: skewX(-20deg);
  transition: left 0.7s;
}

.emp-cta-card:hover {
  border-color: rgba(201, 164, 97, 0.8);
  transform: translateY(-10px);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6), 0 0 40px rgba(201, 164, 97, 0.2) inset;
}

.emp-cta-card:hover::after {
  opacity: 0.15;
}

.emp-cta-card:hover::before {
  left: 150%;
}

.emp-cta-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, rgba(201, 164, 97, 0.12) 0%, transparent 100%);
  border: 1px solid rgba(201, 164, 97, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--gold-color);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.4s ease;
}

.emp-cta-card:hover .emp-cta-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 15px 30px rgba(201, 164, 97, 0.3);
}

.emp-cta-card h3 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  margin-bottom: 1.2rem;
}

.emp-cta-card p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  font-size: 1.05rem;
  font-weight: 300;
}

/* --- FLOATING CTA (WhatsApp) --- */
.floating-cta {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 500;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px) scale(0.9);
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1), transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-cta.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

/* The pill (desktop) */
.btn-float {
  /* Remove gold styling – use WhatsApp green */
  background: #25D366 !important;
  border: none !important;
  color: #fff !important;
  padding: 0.9rem 1.75rem 0.9rem 1.35rem;
  border-radius: 50px;
  box-shadow:
    0 4px 24px rgba(37, 211, 102, 0.45),
    0 1px 8px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: none;
  white-space: nowrap;
  animation: waPulse 2.8s infinite;
  transition: background 0.3s, box-shadow 0.3s, transform 0.3s !important;
}

.btn-float:hover {
  background: #1ebe5b !important;
  box-shadow:
    0 6px 32px rgba(37, 211, 102, 0.6),
    0 2px 10px rgba(0, 0, 0, 0.4) !important;
  transform: translateY(-3px) scale(1.04) !important;
}

/* Override the generic .btn::before sweep that doesn't look good in green */
.btn-float::before {
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
}

.btn-float svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  fill: #fff;
  filter: none;
}

.btn-float .wa-label {
  line-height: 1;
}

@keyframes waPulse {
  0% {
    box-shadow: 0 4px 24px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.45);
  }

  65% {
    box-shadow: 0 4px 24px rgba(37, 211, 102, 0.45), 0 0 0 14px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 4px 24px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {

  .emp-highlights-bar {
    width: calc(100% - 2 * 4%);
    margin-left: auto;
    margin-right: auto;
  }

  .emp-details-grid,
  .emp-contact-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  /* Reduce extreme desktop gap */
  .emp-details-grid {
    gap: 3rem;
  }

  .emp-contact-inner {
    gap: 3rem;
  }

  .emp-highlights-inner {
    flex-wrap: wrap;
  }

  .highlight-stat {
    flex: 1 1 50%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 1.5rem 1rem;
  }

  .emp-carousel-stage {
    height: 55vh;
  }

  .emp-carousel-btn {
    width: 46px;
    height: 46px;
  }

  .emp-hero-content {
    padding: 0 4%;
  }
}

@media (max-width: 768px) {

  /* ── Hero ── */
  .emp-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
    letter-spacing: -0.5px;
  }

  .emp-hero {
    align-items: center;
    padding-top: 90px;
    padding-bottom: 60px;
    min-height: 100svh;
  }

  .emp-hero-content {
    padding: 0 5%;
    max-width: 100%;
  }

  .emp-hero-overlay {
    background: linear-gradient(to top,
        rgba(11, 17, 20, 1) 0%,
        rgba(11, 17, 20, 0.85) 45%,
        rgba(11, 17, 20, 0.4) 100%);
  }

  /* Hide scroll indicator on empreendimento mobile */
  .empreendimento-page .scroll-indicator {
    display: none;
  }

  .emp-breadcrumb {
    font-size: 0.75rem;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin-bottom: 1.2rem;
  }

  .emp-badge {
    font-size: 0.65rem;
    padding: 0.4rem 1rem;
    margin-bottom: 1.2rem;
  }

  .emp-location {
    font-size: 0.8rem;
    letter-spacing: 2px;
  }

  .emp-hero-actions {
    flex-direction: column;
    gap: 0.75rem;
  }

  .emp-hero-actions .btn,
  .emp-hero-actions .magnetic-wrap {
    width: 100%;
  }

  .emp-hero-actions .btn {
    text-align: center;
    justify-content: center;
  }

  /* ── Highlights bar ── */
  .emp-highlights-bar {
    width: calc(100% - 2 * 5%);
    margin-top: 2rem;
    border-radius: 12px;
  }

  .highlight-stat {
    flex: 1 1 50%;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 1.4rem 1rem;
  }

  .highlight-stat:nth-child(even) {
    border-left: 1px solid rgba(255, 255, 255, 0.06);
  }

  .highlight-stat-value {
    font-size: 1.8rem;
  }

  /* ── Details ── */
  .emp-details {
    padding: 4rem 5% 4rem;
  }

  .emp-section-title {
    font-size: clamp(2rem, 6vw, 2.8rem);
  }

  .emp-desc p {
    font-size: 1.05rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .feature-item {
    padding: 1.25rem;
  }

  /* ── Gallery ── */
  .emp-gallery {
    padding: 4rem 0 0;
  }

  .emp-gallery-header {
    padding: 0 5%;
    margin-bottom: 2rem;
  }

  .gallery-item {
    width: 280px;
    height: 360px;
  }

  .emp-carousel-stage {
    height: 56vw;
    min-height: 240px;
  }

  .emp-carousel-btn {
    width: 38px;
    height: 38px;
  }

  .emp-carousel-prev {
    left: 0.6rem;
  }

  .emp-carousel-next {
    right: 0.6rem;
  }

  .emp-carousel-counter {
    bottom: 4.5rem;
    left: 1rem;
  }

  #empSlideNum {
    font-size: 1.8rem;
  }

  .emp-carousel-thumb {
    flex: 0 0 72px;
    height: 48px;
  }

  /* ── Lightbox ── */
  .lb-prev {
    left: 0.5rem;
  }

  .lb-next {
    right: 0.5rem;
  }

  .lb-img {
    max-width: 95vw;
    max-height: 80vh;
  }

  /* ── Location ── */
  .emp-location-section {
    padding: 4rem 5%;
  }

  /* ── Contact ── */
  .emp-contact {
    padding: 4rem 5%;
  }

  .emp-cta-card {
    padding: 2.5rem 1.75rem;
  }

  .emp-cta-card h3 {
    font-size: 1.8rem;
  }

  .emp-phone-link {
    font-size: 1.05rem;
    padding: 1.2rem 1.25rem;
  }

  /* ── Floating WA button: icon-only circle on mobile ── */
  .floating-cta {
    bottom: 1.25rem;
    right: 1.25rem;
  }

  .btn-float .wa-label {
    display: none;
  }

  .btn-float {
    width: 58px;
    height: 58px;
    padding: 0;
    border-radius: 50% !important;
    justify-content: center;
    animation: waPulse 2.8s infinite;
  }

  .btn-float svg {
    width: 26px;
    height: 26px;
  }
}